<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xmlComponent>
    <id>1e6cedc2-82df-4bae-a4eb-32882ca3fe0b</id>
    <name>EditableOneToMany</name>
    <category>fields</category>
    <icon>META-INF/components/icons/fields/EditableOnetoMany.png</icon>
    <localization>META-INF/components/localization/fields/editable-one-to-many</localization>
    <documentation>META-INF/components/docs/component/fields/EditableOneToMany.html</documentation>
    <internal>false</internal>
    <versions>
        <studioVersion>3.178.0</studioVersion>
        <packageVersions>
            <entry>
                <key>ru.cg.webbpm.packages.base.resources</key>
                <value>3.178.2</value>
            </entry>
        </packageVersions>
    </versions>
    <rootObject id="8e1d9023-42c0-4960-9c59-02f4f0c2e4dd">
        <prototypeId>9d1b5af1-0b8f-4b1b-b9a5-c2e6acf72d91</prototypeId>
        <componentRootId>8e1d9023-42c0-4960-9c59-02f4f0c2e4dd</componentRootId>
        <name>EditableOneToMany</name>
        <container>true</container>
        <childrenReordered>false</childrenReordered>
        <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
        <scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
        <scripts id="87f3fefa-b77b-4137-aab6-b2bcd83ce380"/>
        <scripts id="ef21ca22-3f81-4484-ba6f-58d670c12d4f"/>
        <scripts id="277e6fbc-9e2e-4080-bf20-5d8be18e6764"/>
        <scripts id="c8cc250e-70c0-4502-863e-5312562fb1e0">
            <classRef type="JAVA">
                <className>EditableOneToManyFieldDefaultValue</className>
                <packageName>component.field.loading</packageName>
            </classRef>
            <enabled>true</enabled>
            <expanded>true</expanded>
            <removed>true</removed>
        </scripts>
        <scripts id="caf879f4-8acd-4411-86f0-013f703dc4a6">
            <classRef type="JAVA">
                <className>EditableOneToManyFieldValueByEvent</className>
                <packageName>component.field.loading</packageName>
            </classRef>
            <enabled>true</enabled>
            <expanded>true</expanded>
            <removed>true</removed>
        </scripts>
        <children id="b0dafafd-d841-4ffd-8015-f3d6a26dd35a">
            <prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
            <componentRootId>b0dafafd-d841-4ffd-8015-f3d6a26dd35a</componentRootId>
            <name>Горизонтальный контейнер</name>
            <container>true</container>
            <childrenReordered>false</childrenReordered>
            <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
            <scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
            <scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
            <scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
            <scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
            <children id="76f41ce9-b1b6-4836-bc25-329798bc52bb">
                <prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
                <componentRootId>76f41ce9-b1b6-4836-bc25-329798bc52bb</componentRootId>
                <name>Кнопка "Создать"</name>
                <container>false</container>
                <childrenReordered>false</childrenReordered>
                <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
                    <properties>
                        <entry>
                            <key>caption</key>
                            <value>
<simple>"Создать"</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="93e2dbc1-7894-4213-9c1c-e36a4a14ed18">
                    <classRef type="TS">
                        <className>OpenDialog</className>
                        <packageName>component.complex.common</packageName>
                    </classRef>
                    <enabled>true</enabled>
                    <expanded>true</expanded>
                    <properties>
                        <entry>
                            <key>dialog</key>
                            <value>
<simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="1a61ce19-fc1a-4364-8a4f-2d50c4c33a77">
                    <classRef type="TS">
                        <className>CreateRow</className>
                        <packageName>component.complex.editableonetomany</packageName>
                    </classRef>
                    <enabled>true</enabled>
                    <expanded>true</expanded>
                    <properties>
                        <entry>
                            <key>dialog</key>
                            <value>
<simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>dialogTitle</key>
                            <value>
<simple>"Создание записи"</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>form</key>
                            <value>
<simple>{"objectId":"409769e2-d898-47fc-a347-344ef4171e66","packageName":"component.complex.editableonetomany","className":"EditableOneToManyFieldForm","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
            </children>
            <children id="ed5e59c0-15cb-4525-b140-3f2a90d298b8">
                <prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
                <componentRootId>ed5e59c0-15cb-4525-b140-3f2a90d298b8</componentRootId>
                <name>Кнопка "Рекдактировать"</name>
                <container>false</container>
                <childrenReordered>false</childrenReordered>
                <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
                    <properties>
                        <entry>
                            <key>caption</key>
                            <value>
<simple>"Редактировать"</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>disabled</key>
                            <value>
<simple>true</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="de0d38e3-0f4d-474e-b51c-38a6c85cae1b">
                    <classRef type="TS">
                        <className>OpenDialog</className>
                        <packageName>component.complex.common</packageName>
                    </classRef>
                    <enabled>true</enabled>
                    <expanded>true</expanded>
                    <properties>
                        <entry>
                            <key>dialog</key>
                            <value>
<simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="868f18f6-e34e-49b0-9fe4-6d4817f3492c">
                    <classRef type="TS">
                        <className>EditRow</className>
                        <packageName>component.complex.editableonetomany</packageName>
                    </classRef>
                    <enabled>true</enabled>
                    <expanded>true</expanded>
                    <properties>
                        <entry>
                            <key>dialog</key>
                            <value>
<simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>dialogTitle</key>
                            <value>
<simple>"Редактирование записи"</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>field</key>
                            <value>
<simple>{"objectId":"d69f5bca-83ff-40d8-bdcd-3b811f4b2a25","packageName":"component.complex.editableonetomany","className":"EditableOneToManyField","type":"TS"}</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>form</key>
                            <value>
<simple>{"objectId":"409769e2-d898-47fc-a347-344ef4171e66","packageName":"component.complex.editableonetomany","className":"EditableOneToManyFieldForm","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
            </children>
            <children id="2a544d0d-3c31-4404-a956-e05dc4195201">
                <prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
                <componentRootId>2a544d0d-3c31-4404-a956-e05dc4195201</componentRootId>
                <name>Кнопка "Удалить"</name>
                <container>false</container>
                <childrenReordered>false</childrenReordered>
                <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
                    <properties>
                        <entry>
                            <key>caption</key>
                            <value>
<simple>"Удалить"</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>confirmationText</key>
                            <value>
<simple>"Вы действительно хотите удалить запись?"</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>disabled</key>
                            <value>
<simple>true</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="86effe0e-556a-4b9a-b872-cf8336e27c37">
                    <classRef type="TS">
                        <className>RemoveRow</className>
                        <packageName>component.complex.editableonetomany</packageName>
                    </classRef>
                    <enabled>true</enabled>
                    <expanded>true</expanded>
                    <properties>
                        <entry>
                            <key>field</key>
                            <value>
<simple>{"objectId":"d69f5bca-83ff-40d8-bdcd-3b811f4b2a25","packageName":"component.complex.editableonetomany","className":"EditableOneToManyField","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
            </children>
        </children>
        <children id="d69f5bca-83ff-40d8-bdcd-3b811f4b2a25">
            <prototypeId>f7e68bb8-4be2-40fc-9b04-c733cc2dd2ff</prototypeId>
            <componentRootId>d69f5bca-83ff-40d8-bdcd-3b811f4b2a25</componentRootId>
            <name>Редактируемая таблица</name>
            <container>false</container>
            <expanded>false</expanded>
            <childrenReordered>false</childrenReordered>
            <scripts id="e0320880-4176-46b9-b6a5-5c28e567a9b2">
                <properties>
                    <entry>
                        <key>form</key>
                        <value>
                            <simple>{"objectId":"409769e2-d898-47fc-a347-344ef4171e66","packageName":"component.complex.editableonetomany","className":"EditableOneToManyFieldForm","type":"TS"}</simple>
                        </value>
                    </entry>
                    <entry>
                        <key>headerHeight</key>
                        <value>
                            <simple>40.0</simple>
                        </value>
                    </entry>
                    <entry>
                        <key>rowHeight</key>
                        <value>
                            <simple>40.0</simple>
                        </value>
                    </entry>
                </properties>
            </scripts>
            <scripts id="d982d839-b23b-492f-ac6f-afbfe7df611e"/>
            <scripts id="b87eccde-0549-49be-b2ec-bcd0bb4a0ad2"/>
            <scripts id="2c1290d8-0c91-41aa-9a48-e5216749a800">
                <properties>
                    <entry>
                        <key>service</key>
                        <value>
                            <complex>
<entry>
    <key>dao</key>
    <value>
        <implRef type="JAVA">
            <className>EditableOneToManyDaoImpl</className>
            <packageName>dao.complex.editableonetomany</packageName>
        </implRef>
    </value>
</entry>
                            </complex>
                        </value>
                    </entry>
                </properties>
            </scripts>
            <scripts id="35b92257-486c-4455-83cf-1d8c9e91ec34">
                <classRef type="JAVA">
                    <className>EditableOneToManyFieldDataConverter</className>
                    <packageName>component.field.dataconvert.complex.editableonetomany</packageName>
                </classRef>
                <enabled>true</enabled>
                <expanded>true</expanded>
            </scripts>
            <scripts id="a18d413a-789c-463b-bc58-d0a68b257162">
                <classRef type="TS">
                    <className>EnableButtonWhenSelected</className>
                    <packageName>component.complex.common</packageName>
                </classRef>
                <enabled>true</enabled>
                <expanded>true</expanded>
                <properties>
                    <entry>
                        <key>button</key>
                        <value>
                            <simple>{"objectId":"ed5e59c0-15cb-4525-b140-3f2a90d298b8","packageName":"component.button","className":"Button","type":"TS"}</simple>
                        </value>
                    </entry>
                </properties>
            </scripts>
            <scripts id="d46c56b7-97be-468f-935e-b7ecfd8ed447">
                <classRef type="TS">
                    <className>EnableButtonWhenSelected</className>
                    <packageName>component.complex.common</packageName>
                </classRef>
                <enabled>true</enabled>
                <expanded>true</expanded>
                <properties>
                    <entry>
                        <key>button</key>
                        <value>
                            <simple>{"objectId":"2a544d0d-3c31-4404-a956-e05dc4195201","packageName":"component.button","className":"Button","type":"TS"}</simple>
                        </value>
                    </entry>
                </properties>
            </scripts>
            <scripts id="67b43abd-0d6a-4fb1-b2f1-b886377dd7c6">
                <properties>
                    <entry>
                        <key>loadType</key>
                        <value>
                            <simple>"BY_SERVICE"</simple>
                        </value>
                    </entry>
                    <entry>
                        <key>service</key>
                        <value>
                            <implRef type="JAVA">
<className>EditableOneToManyDefaultValueServiceImpl</className>
<packageName>service.field</packageName>
                            </implRef>
                        </value>
                    </entry>
                </properties>
            </scripts>
            <scripts id="ce6a757b-fc1e-439e-bcf2-02f7f41eda46"/>
        </children>
        <children id="a5848add-1dcf-45d2-8918-12d2aaf7f827">
            <prototypeId>86f297f1-ab3d-40e0-ac2f-89cc944b7f0a</prototypeId>
            <componentRootId>a5848add-1dcf-45d2-8918-12d2aaf7f827</componentRootId>
            <name>Диалог</name>
            <container>true</container>
            <childrenReordered>false</childrenReordered>
            <scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c"/>
            <scripts id="48d405ee-5991-4027-bfee-113a895bf8f8"/>
            <scripts id="b463917a-16fc-42db-9c92-9c1027e9232e"/>
            <scripts id="24a13b10-fec4-420e-aa2e-5af0ec41326a"/>
            <scripts id="5f57bb31-85b0-4692-9f1f-d6369dea6e95"/>
            <children id="409769e2-d898-47fc-a347-344ef4171e66">
                <prototypeId>e7ce7145-85ad-4e82-9723-a5427c02596a</prototypeId>
                <componentRootId>409769e2-d898-47fc-a347-344ef4171e66</componentRootId>
                <name>Form</name>
                <container>true</container>
                <childrenReordered>false</childrenReordered>
                <scripts id="fa5b9412-b3b2-45da-9ddd-9283fcf839da">
                    <properties>
                        <entry>
                            <key>dialog</key>
                            <value>
<simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
                            </value>
                        </entry>
                        <entry>
                            <key>editableOneToManyField</key>
                            <value>
<simple>{"objectId":"d69f5bca-83ff-40d8-bdcd-3b811f4b2a25","packageName":"component.complex.editableonetomany","className":"EditableOneToManyField","type":"TS"}</simple>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="c9ad0f6c-3b87-4561-a70b-57d60b08028f">
                    <properties>
                        <entry>
                            <key>formService</key>
                            <value>
<implRef type="JAVA">
    <className>EditableOneToManyFormService</className>
    <packageName>service.complex.editableonetomany</packageName>
</implRef>
                            </value>
                        </entry>
                    </properties>
                </scripts>
                <scripts id="851e23bd-7c91-465c-b08b-6ba69d16cd35"/>
                <scripts id="61160ec3-4381-4e33-8d19-d21265f54486"/>
                <scripts id="ead6d229-88fb-4553-b00b-be405231f1b7"/>
                <scripts id="fe5ea874-3b64-4e2f-b4b9-f2ff20bac70d"/>
            </children>
            <children id="2a3c6be1-0c3e-49b1-bb67-fb2e3e505bdc">
                <prototypeId>d7d54cfb-26b5-4dba-b56f-b6247183c24d</prototypeId>
                <componentRootId>2a3c6be1-0c3e-49b1-bb67-fb2e3e505bdc</componentRootId>
                <name>Панель кнопок</name>
                <container>true</container>
                <childrenReordered>false</childrenReordered>
                <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
                <scripts id="b6068710-0f31-48ec-8e03-c0c1480a40c0"/>
                <scripts id="fe04d7fb-6c5b-46c4-b723-667732d81f4f"/>
                <scripts id="5c566210-2a60-4048-a2d1-84c7dd023248"/>
                <scripts id="3171b2e1-b4af-4335-95fa-1b2592604b84"/>
                <children id="f3a28c50-0f5e-48e4-9c2b-4f5d68c24d3b">
                    <prototypeId>9e5db033-bf13-4a8b-b89f-98cc01b28e45</prototypeId>
                    <componentRootId>f3a28c50-0f5e-48e4-9c2b-4f5d68c24d3b</componentRootId>
                    <name>Кнопка сохранения</name>
                    <container>false</container>
                    <childrenReordered>false</childrenReordered>
                    <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
                        <properties>
                            <entry>
<key>caption</key>
<value>
    <simple>"Ок"</simple>
</value>
                            </entry>
                            <entry>
<key>form</key>
<value>
    <simple>{"objectId":"409769e2-d898-47fc-a347-344ef4171e66","packageName":"component.complex.editableonetomany","className":"EditableOneToManyFieldForm","type":"TS"}</simple>
</value>
                            </entry>
                        </properties>
                    </scripts>
                    <scripts id="7911546e-2cbd-4f91-a26c-260be72f2167">
                        <classRef type="TS">
                            <className>HideDialog</className>
                            <packageName>component.complex.common</packageName>
                        </classRef>
                        <enabled>true</enabled>
                        <expanded>true</expanded>
                        <removed>true</removed>
                    </scripts>
                </children>
                <children id="d24af1ab-01a0-42ca-a70b-08d812e2f122">
                    <prototypeId>fd7e47b9-dce1-4d14-9f3a-580c79f59579</prototypeId>
                    <componentRootId>d24af1ab-01a0-42ca-a70b-08d812e2f122</componentRootId>
                    <name>Кнопка отмены</name>
                    <container>false</container>
                    <childrenReordered>false</childrenReordered>
                    <scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
                        <properties>
                            <entry>
<key>caption</key>
<value>
    <simple>"Отмена"</simple>
</value>
                            </entry>
                        </properties>
                    </scripts>
                    <scripts id="913dcd9c-f029-4208-a036-e973b13720fb">
                        <classRef type="TS">
                            <className>HideDialog</className>
                            <packageName>component.complex.common</packageName>
                        </classRef>
                        <enabled>true</enabled>
                        <expanded>true</expanded>
                        <properties>
                            <entry>
<key>dialog</key>
<value>
    <simple>{"objectId":"a5848add-1dcf-45d2-8918-12d2aaf7f827","packageName":"component","className":"Dialog","type":"TS"}</simple>
</value>
                            </entry>
                        </properties>
                    </scripts>
                </children>
            </children>
        </children>
    </rootObject>
</xmlComponent>
