-
Notifications
You must be signed in to change notification settings - Fork 9.3k
/
definition.xml
287 lines (277 loc) · 14.5 KB
/
definition.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<components xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_definition.xsd">
<dataSource class="Magento\Ui\Component\DataSource"/>
<listing sorting="true" class="Magento\Ui\Component\Listing" component="uiComponent">
<argument name="data" xsi:type="array">
<item name="template" xsi:type="string">templates/listing/default</item>
<item name="save_parameters_in_session" xsi:type="string">1</item>
<item name="client_root" xsi:type="string">mui/index/render</item>
</argument>
</listing>
<paging class="Magento\Ui\Component\Paging" component="Magento_Ui/js/grid/paging/paging" displayArea="bottom">
<settings>
<storageConfig>
<namespace>current.paging</namespace>
<provider>ns = ${ $.ns }, index = bookmarks</provider>
</storageConfig>
</settings>
</paging>
<filters class="Magento\Ui\Component\Filters" component="Magento_Ui/js/grid/filters/filters" displayArea="dataGridFilters">
<argument name="data" xsi:type="array">
<item name="observers" xsi:type="array">
<item name="column" xsi:type="string">column</item>
</item>
</argument>
<settings>
<dataScope>filters</dataScope>
<storageConfig>
<namespace>current.filters</namespace>
<provider>ns = ${ $.ns }, index = bookmarks</provider>
</storageConfig>
</settings>
</filters>
<filterSearch class="Magento\Ui\Component\Filters\Type\Search" component="Magento_Ui/js/grid/search/search" displayArea="dataGridFilters">
<settings>
<storageConfig>
<namespace>current.search</namespace>
<provider>ns = ${ $.ns }, index = bookmarks</provider>
</storageConfig>
</settings>
</filterSearch>
<filterSelect class="Magento\Ui\Component\Filters\Type\Select" template="ui/grid/filters/field"/>
<filterRange class="Magento\Ui\Component\Filters\Type\Range" component="Magento_Ui/js/grid/filters/range"/>
<filterInput class="Magento\Ui\Component\Filters\Type\Input"/>
<filterDate class="Magento\Ui\Component\Filters\Type\Date"/>
<container class="Magento\Ui\Component\Container" component="uiComponent">
<argument name="data" xsi:type="array">
<item name="template" xsi:type="string">templates/container/default</item>
</argument>
</container>
<massaction class="Magento\Ui\Component\MassAction" component="Magento_Ui/js/grid/massactions" displayArea="bottom"/>
<actions class="Magento\Ui\Component\Control\Action" component="Magento_Ui/js/grid/columns/actions"/>
<action class="Magento\Ui\Component\Action" component="uiComponent"/>
<columns class="Magento\Ui\Component\Listing\Columns" component="Magento_Ui/js/grid/listing">
<settings>
<componentType>columns</componentType>
<storageConfig>
<namespace>current</namespace>
<provider>ns = ${ $.ns }, index = bookmarks</provider>
</storageConfig>
<childDefaults>
<param name="storageConfig" xsi:type="array">
<item name="provider" xsi:type="string">ns = ${ $.ns }, index = bookmarks</item>
<item name="root" xsi:type="string">columns.${ $.index }</item>
<item name="namespace" xsi:type="string">current.${ $.storageConfig.root }</item>
</param>
</childDefaults>
</settings>
</columns>
<column class="Magento\Ui\Component\Listing\Columns\Column" component="Magento_Ui/js/grid/columns/column">
<settings>
<componentType>column</componentType>
<dataType>text</dataType>
</settings>
</column>
<actionsColumn class="Magento\Ui\Component\Listing\Columns\Column" component="Magento_Ui/js/grid/columns/actions">
<settings>
<dataType>actions</dataType>
<label translate="true">Action</label>
</settings>
</actionsColumn>
<selectionsColumn class="Magento\Ui\Component\MassAction\Columns\Column" component="Magento_Ui/js/grid/columns/multiselect"/>
<component class="Magento\Ui\Component\Container" component="uiComponent"/>
<form class="Magento\Ui\Component\Form">
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/form</item>
</item>
<item name="template" xsi:type="string">templates/form/default</item>
</argument>
</form>
<fieldset class="Magento\Ui\Component\Form\Fieldset">
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/components/fieldset</item>
</item>
</argument>
</fieldset>
<field class="Magento\Ui\Component\Form\Field"/>
<!-- Form elements -->
<radioset class="Magento\Ui\Component\Form\Element\RadioSet" component="Magento_Ui/js/form/element/checkbox-set" template="ui/form/element/checkbox-set">
<settings>
<elementTmpl/>
<multiple>false</multiple>
</settings>
</radioset>
<checkboxset class="Magento\Ui\Component\Form\Element\CheckboxSet" component="Magento_Ui/js/form/element/checkbox-set" template="ui/form/element/checkbox-set">
<settings>
<elementTmpl/>
<multiple>true</multiple>
</settings>
</checkboxset>
<wysiwyg class="Magento\Ui\Component\Form\Element\Wysiwyg" component="Magento_Ui/js/form/element/wysiwyg" template="ui/content/content">
<settings>
<elementTmpl>ui/content/content</elementTmpl>
</settings>
</wysiwyg>
<actionDelete class="Magento\Ui\Component\Form\Element\ActionDelete" component="Magento_Ui/js/dynamic-rows/action-delete" template="ui/dynamic-rows/cells/action-delete"/>
<input class="Magento\Ui\Component\Form\Element\Input" component="Magento_Ui/js/form/element/abstract" template="ui/form/field"/>
<hidden class="Magento\Ui\Component\Form\Element\Hidden" component="Magento_Ui/js/form/element/abstract" template="ui/form/element/hidden"/>
<checkbox class="Magento\Ui\Component\Form\Element\Checkbox" component="Magento_Ui/js/form/element/single-checkbox" template="ui/form/field"/>
<select class="Magento\Ui\Component\Form\Element\Select" component="Magento_Ui/js/form/element/select" template="ui/form/field"/>
<multiselect class="Magento\Ui\Component\Form\Element\MultiSelect" component="Magento_Ui/js/form/element/multiselect" template="ui/form/field">
<argument name="data" xsi:type="array">
<item name="template" xsi:type="string">ui/form/element/multiselect</item>
</argument>
<settings>
<size>6</size>
</settings>
</multiselect>
<textarea class="Magento\Ui\Component\Form\Element\Textarea" component="Magento_Ui/js/form/element/textarea" template="ui/form/field"/>
<multiline class="Magento\Ui\Component\Form\Element\Multiline" component="Magento_Ui/js/form/components/group"/>
<range class="Magento\Ui\Component\Form\Element\Range" component="Magento_Ui/js/grid/filters/range"/>
<fileUploader class="Magento\Ui\Component\Form\Element\DataType\Media" component="Magento_Ui/js/form/element/file-uploader" template="ui/form/element/uploader/uploader"/>
<imageUploader class="Magento\Ui\Component\Form\Element\DataType\Media\Image" component="Magento_Ui/js/form/element/image-uploader" template="ui/form/element/uploader/image">
<settings>
<initialMediaGalleryOpenSubpath>wysiwyg</initialMediaGalleryOpenSubpath>
</settings>
</imageUploader>
<colorPicker class="Magento\Ui\Component\Form\Element\ColorPicker" component="Magento_Ui/js/form/element/color-picker" template="ui/form/field">
<settings>
<elementTmpl>ui/form/element/color-picker</elementTmpl>
<colorFormat>rgb</colorFormat>
<colorPickerMode>full</colorPickerMode>
</settings>
</colorPicker>
<urlInput class="Magento\Ui\Component\Form\Element\UrlInput" component="Magento_Ui/js/form/element/url-input" template="ui/form/element/url-input">
<settings>
<settingTemplate>ui/form/element/urlInput/setting</settingTemplate>
<typeSelectorTemplate>ui/form/element/urlInput/typeSelector</typeSelectorTemplate>
<isDisplayAdditionalSettings>true</isDisplayAdditionalSettings>
</settings>
</urlInput>
<!-- Form elements -->
<!-- Form element data types -->
<text class="Magento\Ui\Component\Form\Element\DataType\Text">
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/text</item>
</item>
</argument>
</text>
<number class="Magento\Ui\Component\Form\Element\DataType\Number"/>
<price class="Magento\Ui\Component\Form\Element\DataType\Price"/>
<image class="Magento\Ui\Component\Form\Element\DataType\Media" component="Magento_Ui/js/form/element/media" template="ui/form/field">
<settings>
<elementTmpl>ui/form/element/media</elementTmpl>
</settings>
</image>
<file class="Magento\Ui\Component\Form\Element\DataType\Media" component="Magento_Ui/js/form/element/media" template="ui/form/field">
<settings>
<elementTmpl>ui/form/element/media</elementTmpl>
</settings>
</file>
<date class="Magento\Ui\Component\Form\Element\DataType\Date" component="Magento_Ui/js/form/element/date" template="ui/form/field"/>
<boolean class="Magento\Ui\Component\Form\Element\DataType\Boolean" template="ui/form/field">
<argument name="data" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/element/abstract</item>
</item>
</argument>
<settings>
<elementTmpl>ui/form/element/input</elementTmpl>
</settings>
</boolean>
<email class="Magento\Ui\Component\Form\Element\DataType\Email" component="Magento_Ui/js/form/element/abstract" template="ui/form/field">
<settings>
<elementTmpl>ui/form/element/email</elementTmpl>
</settings>
</email>
<insertForm class="Magento\Ui\Component\Container" component="Magento_Ui/js/form/components/insert-form">
<settings>
<updateUrl path="mui/index/render"/>
<renderUrl path="mui/index/render"/>
<autoRender>false</autoRender>
<dataLinks>
<imports>false</imports>
<exports>false</exports>
</dataLinks>
<realTimeLink>false</realTimeLink>
</settings>
</insertForm>
<insertListing class="Magento\Ui\Component\Container" component="Magento_Ui/js/form/components/insert-listing">
<settings>
<updateUrl path="mui/index/render"/>
<renderUrl path="mui/index/render"/>
<autoRender>false</autoRender>
<dataLinks>
<imports>true</imports>
<exports>false</exports>
</dataLinks>
<realTimeLink>true</realTimeLink>
</settings>
</insertListing>
<!-- Form element data types -->
<tab class="Magento\Ui\Component\Layout\Tabs\Tab">
<argument name="data" xsi:type="array">
<item name="template" xsi:type="string">templates/layout/tabs/tab/default</item>
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/components/area</item>
</item>
</argument>
</tab>
<!-- navigation -->
<nav class="Magento\Ui\Component\Layout\Tabs\Nav">
<argument name="data" xsi:type="array">
<item name="template" xsi:type="string">ui/tab</item>
<item name="js_config" xsi:type="array">
<item name="component" xsi:type="string">Magento_Ui/js/form/components/tab_group</item>
</item>
</argument>
</nav>
<!-- bookmark -->
<bookmark class="Magento\Ui\Component\Bookmark" component="Magento_Ui/js/grid/controls/bookmarks/bookmarks" displayArea="dataGridActions">
<settings>
<storageConfig>
<namespace>${ $.ns }</namespace>
<param name="saveUrl" xsi:type="url" path="mui/bookmark/save"/>
<param name="deleteUrl" xsi:type="url" path="mui/bookmark/delete"/>
</storageConfig>
</settings>
</bookmark>
<exportButton class="Magento\Ui\Component\ExportButton" component="Magento_Ui/js/grid/export" displayArea="dataGridActions">
<settings>
<options>
<option name="csv" xsi:type="array">
<item name="value" xsi:type="string">csv</item>
<item name="label" xsi:type="string" translate="true">CSV</item>
<item name="url" xsi:type="string">mui/export/gridToCsv</item>
</option>
<option name="xml" xsi:type="array">
<item name="value" xsi:type="string">xml</item>
<item name="label" xsi:type="string" translate="true">Excel XML</item>
<item name="url" xsi:type="string">mui/export/gridToXml</item>
</option>
</options>
</settings>
</exportButton>
<modal class="Magento\Ui\Component\Container" component="Magento_Ui/js/modal/modal-component">
<settings>
<options>
<option name="type" xsi:type="string">slide</option>
</options>
</settings>
</modal>
<columnsControls class="Magento\Ui\Component\Container" component="Magento_Ui/js/grid/controls/columns"/>
<listingToolbar class="Magento\Ui\Component\Container" component="Magento_Ui/js/grid/toolbar"/>
<dynamicRows class="Magento\Ui\Component\Container" component="Magento_Ui/js/dynamic-rows/dynamic-rows" template="ui/dynamic-rows/templates/default">
</dynamicRows>
<htmlContent class="Magento\Ui\Component\HtmlContent" component="Magento_Ui/js/form/components/html"/>
<button class="Magento\Ui\Component\Container" component="Magento_Ui/js/form/components/button"/>
</components>