devextreme-react 25.1.7 → 25.2.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/cjs/accordion.d.ts +100 -100
  2. package/cjs/accordion.js +103 -103
  3. package/cjs/action-sheet.d.ts +79 -79
  4. package/cjs/action-sheet.js +91 -91
  5. package/cjs/autocomplete.d.ts +651 -651
  6. package/cjs/autocomplete.js +347 -347
  7. package/cjs/bar-gauge.d.ts +698 -698
  8. package/cjs/bar-gauge.js +410 -410
  9. package/cjs/box.d.ts +77 -77
  10. package/cjs/box.js +90 -90
  11. package/cjs/bullet.d.ts +205 -205
  12. package/cjs/bullet.js +155 -155
  13. package/cjs/button-group.d.ts +64 -64
  14. package/cjs/button-group.js +91 -91
  15. package/cjs/button.d.ts +30 -30
  16. package/cjs/button.js +61 -61
  17. package/cjs/calendar.d.ts +33 -33
  18. package/cjs/calendar.js +68 -68
  19. package/cjs/card-view.d.ts +2749 -2687
  20. package/cjs/card-view.js +1439 -1411
  21. package/cjs/chart.d.ts +4467 -4467
  22. package/cjs/chart.js +1569 -1569
  23. package/cjs/chat.d.ts +349 -190
  24. package/cjs/chat.js +215 -180
  25. package/cjs/check-box.d.ts +30 -30
  26. package/cjs/check-box.js +59 -59
  27. package/cjs/circular-gauge.d.ts +720 -720
  28. package/cjs/circular-gauge.js +427 -427
  29. package/cjs/color-box.d.ts +645 -625
  30. package/cjs/color-box.js +345 -323
  31. package/cjs/common/ai-integration.d.ts +3 -3
  32. package/cjs/common/ai-integration.js +7 -7
  33. package/cjs/common/charts.d.ts +3 -3
  34. package/cjs/common/charts.js +8 -8
  35. package/cjs/common/core/animation.d.ts +3 -3
  36. package/cjs/common/core/animation.js +11 -11
  37. package/cjs/common/core/environment.d.ts +3 -3
  38. package/cjs/common/core/environment.js +9 -9
  39. package/cjs/common/core/events.d.ts +3 -3
  40. package/cjs/common/core/events.js +10 -10
  41. package/cjs/common/core/index.d.ts +6 -6
  42. package/cjs/common/core/index.js +32 -32
  43. package/cjs/common/core/localization.d.ts +3 -3
  44. package/cjs/common/core/localization.js +13 -13
  45. package/cjs/common/data/custom-store.d.ts +3 -3
  46. package/cjs/common/data/custom-store.js +9 -9
  47. package/cjs/common/data.d.ts +3 -3
  48. package/cjs/common/data.js +25 -25
  49. package/cjs/common/export/excel.d.ts +3 -3
  50. package/cjs/common/export/excel.js +8 -8
  51. package/cjs/common/export/index.d.ts +4 -4
  52. package/cjs/common/export/index.js +30 -30
  53. package/cjs/common/export/pdf.d.ts +3 -3
  54. package/cjs/common/export/pdf.js +8 -8
  55. package/cjs/common/grids.d.ts +3 -3
  56. package/cjs/common/grids.js +4 -4
  57. package/cjs/common/index.d.ts +9 -9
  58. package/cjs/common/index.js +38 -38
  59. package/cjs/context-menu.d.ts +350 -350
  60. package/cjs/context-menu.js +295 -295
  61. package/cjs/core/component-base.d.ts +39 -39
  62. package/cjs/core/component-base.js +348 -344
  63. package/cjs/core/component.d.ts +42 -42
  64. package/cjs/core/component.js +85 -83
  65. package/cjs/core/config.d.ts +9 -9
  66. package/cjs/core/config.js +16 -16
  67. package/cjs/core/configuration/comparer.d.ts +12 -12
  68. package/cjs/core/configuration/comparer.js +101 -96
  69. package/cjs/core/configuration/config-node.d.ts +17 -33
  70. package/cjs/core/configuration/config-node.js +107 -105
  71. package/cjs/core/configuration/react/element.d.ts +36 -36
  72. package/cjs/core/configuration/react/element.js +52 -52
  73. package/cjs/core/configuration/react/templates.d.ts +7 -7
  74. package/cjs/core/configuration/react/templates.js +61 -61
  75. package/cjs/core/configuration/tree.d.ts +22 -22
  76. package/cjs/core/configuration/tree.js +118 -117
  77. package/cjs/core/configuration/utils.d.ts +16 -16
  78. package/cjs/core/configuration/utils.js +39 -38
  79. package/cjs/core/const.d.ts +3 -3
  80. package/cjs/core/const.js +78 -78
  81. package/cjs/core/contexts.d.ts +25 -25
  82. package/cjs/core/contexts.js +22 -21
  83. package/cjs/core/extension-component.d.ts +26 -26
  84. package/cjs/core/extension-component.js +66 -64
  85. package/cjs/core/helpers.d.ts +30 -30
  86. package/cjs/core/helpers.js +65 -64
  87. package/cjs/core/nested-option.d.ts +15 -15
  88. package/cjs/core/nested-option.js +60 -59
  89. package/cjs/core/options-manager.d.ts +35 -36
  90. package/cjs/core/options-manager.js +227 -223
  91. package/cjs/core/template-manager.d.ts +5 -5
  92. package/cjs/core/template-manager.js +164 -163
  93. package/cjs/core/template-wrapper.d.ts +5 -5
  94. package/cjs/core/template-wrapper.js +121 -120
  95. package/cjs/core/template.d.ts +21 -21
  96. package/cjs/core/template.js +33 -33
  97. package/cjs/core/types.d.ts +80 -64
  98. package/cjs/core/types.js +4 -4
  99. package/cjs/core/use-option-scanning.d.ts +9 -9
  100. package/cjs/core/use-option-scanning.js +50 -50
  101. package/cjs/core/widget-config.d.ts +11 -11
  102. package/cjs/core/widget-config.js +78 -76
  103. package/cjs/data-grid.d.ts +3897 -3551
  104. package/cjs/data-grid.js +1610 -1492
  105. package/cjs/date-box.d.ts +755 -753
  106. package/cjs/date-box.js +354 -354
  107. package/cjs/date-range-box.d.ts +759 -757
  108. package/cjs/date-range-box.js +355 -355
  109. package/cjs/diagram.d.ts +661 -661
  110. package/cjs/diagram.js +478 -478
  111. package/cjs/draggable.d.ts +43 -43
  112. package/cjs/draggable.js +78 -78
  113. package/cjs/drawer.d.ts +30 -30
  114. package/cjs/drawer.js +67 -67
  115. package/cjs/drop-down-box.d.ts +645 -625
  116. package/cjs/drop-down-box.js +349 -327
  117. package/cjs/drop-down-button.d.ts +560 -560
  118. package/cjs/drop-down-button.js +306 -306
  119. package/cjs/file-manager.d.ts +302 -302
  120. package/cjs/file-manager.js +233 -233
  121. package/cjs/file-uploader.d.ts +39 -39
  122. package/cjs/file-uploader.js +59 -59
  123. package/cjs/filter-builder.d.ts +216 -216
  124. package/cjs/filter-builder.js +156 -156
  125. package/cjs/form.d.ts +1020 -990
  126. package/cjs/form.js +527 -513
  127. package/cjs/funnel.d.ts +898 -898
  128. package/cjs/funnel.js +479 -479
  129. package/cjs/gallery.d.ts +79 -79
  130. package/cjs/gallery.js +92 -92
  131. package/cjs/gantt.d.ts +1029 -798
  132. package/cjs/gantt.js +564 -497
  133. package/cjs/html-editor.d.ts +480 -480
  134. package/cjs/html-editor.js +302 -302
  135. package/cjs/index.d.ts +87 -87
  136. package/cjs/index.js +198 -198
  137. package/cjs/linear-gauge.d.ts +734 -734
  138. package/cjs/linear-gauge.js +432 -432
  139. package/cjs/list.d.ts +416 -416
  140. package/cjs/list.js +196 -196
  141. package/cjs/load-indicator.d.ts +26 -26
  142. package/cjs/load-indicator.js +53 -53
  143. package/cjs/load-panel.d.ts +270 -253
  144. package/cjs/load-panel.js +237 -224
  145. package/cjs/lookup.d.ts +483 -483
  146. package/cjs/lookup.js +339 -339
  147. package/cjs/map.d.ts +156 -156
  148. package/cjs/map.js +164 -164
  149. package/cjs/menu.d.ts +355 -355
  150. package/cjs/menu.js +296 -296
  151. package/cjs/multi-view.d.ts +77 -77
  152. package/cjs/multi-view.js +92 -92
  153. package/cjs/number-box.d.ts +142 -142
  154. package/cjs/number-box.js +110 -110
  155. package/cjs/pagination.d.ts +22 -22
  156. package/cjs/pagination.js +60 -60
  157. package/cjs/pie-chart.d.ts +1449 -1449
  158. package/cjs/pie-chart.js +637 -637
  159. package/cjs/pivot-grid-field-chooser.d.ts +133 -133
  160. package/cjs/pivot-grid-field-chooser.js +125 -125
  161. package/cjs/pivot-grid.d.ts +350 -350
  162. package/cjs/pivot-grid.js +235 -235
  163. package/cjs/polar-chart.d.ts +3176 -3176
  164. package/cjs/polar-chart.js +1199 -1199
  165. package/cjs/popover.d.ts +331 -331
  166. package/cjs/popover.js +288 -288
  167. package/cjs/popup.d.ts +293 -293
  168. package/cjs/popup.js +262 -262
  169. package/cjs/progress-bar.d.ts +31 -31
  170. package/cjs/progress-bar.js +59 -59
  171. package/cjs/radio-group.d.ts +56 -56
  172. package/cjs/radio-group.js +90 -90
  173. package/cjs/range-selector.d.ts +2446 -2446
  174. package/cjs/range-selector.js +961 -961
  175. package/cjs/range-slider.d.ts +82 -82
  176. package/cjs/range-slider.js +107 -107
  177. package/cjs/recurrence-editor.d.ts +30 -30
  178. package/cjs/recurrence-editor.js +59 -59
  179. package/cjs/resizable.d.ts +33 -33
  180. package/cjs/resizable.js +60 -60
  181. package/cjs/responsive-box.d.ts +133 -133
  182. package/cjs/responsive-box.js +134 -134
  183. package/cjs/sankey.d.ts +610 -610
  184. package/cjs/sankey.js +352 -352
  185. package/cjs/scheduler.d.ts +1619 -549
  186. package/cjs/scheduler.js +775 -320
  187. package/cjs/scroll-view.d.ts +29 -29
  188. package/cjs/scroll-view.js +53 -53
  189. package/cjs/select-box.d.ts +674 -654
  190. package/cjs/select-box.js +374 -352
  191. package/cjs/slider.d.ts +82 -82
  192. package/cjs/slider.js +107 -107
  193. package/cjs/sortable.d.ts +47 -47
  194. package/cjs/sortable.js +78 -78
  195. package/cjs/sparkline.d.ts +205 -205
  196. package/cjs/sparkline.js +155 -155
  197. package/cjs/speech-to-text.d.ts +72 -0
  198. package/cjs/speech-to-text.js +94 -0
  199. package/cjs/speed-dial-action.d.ts +27 -27
  200. package/cjs/speed-dial-action.js +53 -53
  201. package/cjs/splitter.d.ts +85 -85
  202. package/cjs/splitter.js +90 -90
  203. package/cjs/stepper.d.ts +82 -82
  204. package/cjs/stepper.js +92 -92
  205. package/cjs/switch.d.ts +30 -30
  206. package/cjs/switch.js +59 -59
  207. package/cjs/tab-panel.d.ts +97 -97
  208. package/cjs/tab-panel.js +101 -101
  209. package/cjs/tabs.d.ts +90 -90
  210. package/cjs/tabs.js +94 -94
  211. package/cjs/tag-box.d.ts +675 -655
  212. package/cjs/tag-box.js +379 -357
  213. package/cjs/text-area.d.ts +40 -40
  214. package/cjs/text-area.js +59 -59
  215. package/cjs/text-box.d.ts +122 -122
  216. package/cjs/text-box.js +97 -97
  217. package/cjs/tile-view.d.ts +73 -73
  218. package/cjs/tile-view.js +90 -90
  219. package/cjs/toast.d.ts +255 -255
  220. package/cjs/toast.js +232 -232
  221. package/cjs/toolbar.d.ts +91 -91
  222. package/cjs/toolbar.js +99 -99
  223. package/cjs/tooltip.d.ts +283 -283
  224. package/cjs/tooltip.js +260 -260
  225. package/cjs/tree-list.d.ts +3453 -3093
  226. package/cjs/tree-list.js +1409 -1291
  227. package/cjs/tree-map.d.ts +586 -586
  228. package/cjs/tree-map.js +382 -382
  229. package/cjs/tree-view.d.ts +290 -290
  230. package/cjs/tree-view.js +145 -145
  231. package/cjs/validation-group.d.ts +25 -25
  232. package/cjs/validation-group.js +53 -53
  233. package/cjs/validation-summary.d.ts +66 -66
  234. package/cjs/validation-summary.js +90 -90
  235. package/cjs/validator.d.ts +271 -271
  236. package/cjs/validator.js +243 -243
  237. package/cjs/vector-map.d.ts +987 -987
  238. package/cjs/vector-map.js +487 -487
  239. package/esm/accordion.js +73 -73
  240. package/esm/action-sheet.js +61 -61
  241. package/esm/autocomplete.js +302 -302
  242. package/esm/bar-gauge.js +359 -359
  243. package/esm/box.js +60 -60
  244. package/esm/bullet.js +119 -119
  245. package/esm/button-group.js +61 -61
  246. package/esm/button.js +32 -32
  247. package/esm/calendar.js +39 -39
  248. package/esm/card-view.js +1332 -1306
  249. package/esm/chart.js +1447 -1447
  250. package/esm/chat.js +176 -143
  251. package/esm/check-box.js +30 -30
  252. package/esm/circular-gauge.js +374 -374
  253. package/esm/color-box.js +300 -279
  254. package/esm/common/ai-integration.js +3 -3
  255. package/esm/common/charts.js +3 -3
  256. package/esm/common/core/animation.js +3 -3
  257. package/esm/common/core/environment.js +3 -3
  258. package/esm/common/core/events.js +3 -3
  259. package/esm/common/core/index.js +6 -6
  260. package/esm/common/core/localization.js +3 -3
  261. package/esm/common/data/custom-store.js +3 -3
  262. package/esm/common/data.js +3 -3
  263. package/esm/common/export/excel.js +3 -3
  264. package/esm/common/export/index.js +4 -4
  265. package/esm/common/export/pdf.js +3 -3
  266. package/esm/common/grids.js +3 -3
  267. package/esm/common/index.js +9 -9
  268. package/esm/context-menu.js +251 -251
  269. package/esm/core/component-base.js +318 -314
  270. package/esm/core/component.js +59 -57
  271. package/esm/core/config.js +13 -13
  272. package/esm/core/configuration/comparer.js +97 -92
  273. package/esm/core/configuration/config-node.js +80 -78
  274. package/esm/core/configuration/react/element.js +47 -47
  275. package/esm/core/configuration/react/templates.js +57 -57
  276. package/esm/core/configuration/tree.js +110 -109
  277. package/esm/core/configuration/utils.js +32 -31
  278. package/esm/core/const.js +75 -75
  279. package/esm/core/contexts.js +19 -18
  280. package/esm/core/extension-component.js +39 -37
  281. package/esm/core/helpers.js +57 -56
  282. package/esm/core/nested-option.js +35 -34
  283. package/esm/core/options-manager.js +222 -218
  284. package/esm/core/template-manager.js +137 -136
  285. package/esm/core/template-wrapper.js +95 -94
  286. package/esm/core/template.js +29 -29
  287. package/esm/core/types.js +3 -3
  288. package/esm/core/use-option-scanning.js +46 -46
  289. package/esm/core/widget-config.js +73 -71
  290. package/esm/data-grid.js +1486 -1375
  291. package/esm/date-box.js +308 -308
  292. package/esm/date-range-box.js +309 -309
  293. package/esm/diagram.js +423 -423
  294. package/esm/draggable.js +48 -48
  295. package/esm/drawer.js +38 -38
  296. package/esm/drop-down-box.js +304 -283
  297. package/esm/drop-down-button.js +263 -263
  298. package/esm/file-manager.js +192 -192
  299. package/esm/file-uploader.js +30 -30
  300. package/esm/filter-builder.js +121 -121
  301. package/esm/form.js +475 -462
  302. package/esm/funnel.js +423 -423
  303. package/esm/gallery.js +62 -62
  304. package/esm/gantt.js +505 -442
  305. package/esm/html-editor.js +259 -259
  306. package/esm/index.js +87 -87
  307. package/esm/linear-gauge.js +378 -378
  308. package/esm/list.js +160 -160
  309. package/esm/load-indicator.js +24 -24
  310. package/esm/load-panel.js +196 -184
  311. package/esm/lookup.js +294 -294
  312. package/esm/map.js +128 -128
  313. package/esm/menu.js +252 -252
  314. package/esm/multi-view.js +62 -62
  315. package/esm/number-box.js +78 -78
  316. package/esm/pagination.js +31 -31
  317. package/esm/pie-chart.js +573 -573
  318. package/esm/pivot-grid-field-chooser.js +91 -91
  319. package/esm/pivot-grid.js +193 -193
  320. package/esm/polar-chart.js +1099 -1099
  321. package/esm/popover.js +245 -245
  322. package/esm/popup.js +221 -221
  323. package/esm/progress-bar.js +30 -30
  324. package/esm/radio-group.js +60 -60
  325. package/esm/range-selector.js +871 -871
  326. package/esm/range-slider.js +75 -75
  327. package/esm/recurrence-editor.js +30 -30
  328. package/esm/resizable.js +31 -31
  329. package/esm/responsive-box.js +101 -101
  330. package/esm/sankey.js +304 -304
  331. package/esm/scheduler.js +713 -281
  332. package/esm/scroll-view.js +24 -24
  333. package/esm/select-box.js +328 -307
  334. package/esm/slider.js +75 -75
  335. package/esm/sortable.js +48 -48
  336. package/esm/sparkline.js +119 -119
  337. package/esm/speech-to-text.js +63 -0
  338. package/esm/speed-dial-action.js +24 -24
  339. package/esm/splitter.js +60 -60
  340. package/esm/stepper.js +62 -62
  341. package/esm/switch.js +30 -30
  342. package/esm/tab-panel.js +71 -71
  343. package/esm/tabs.js +64 -64
  344. package/esm/tag-box.js +333 -312
  345. package/esm/text-area.js +30 -30
  346. package/esm/text-box.js +66 -66
  347. package/esm/tile-view.js +60 -60
  348. package/esm/toast.js +192 -192
  349. package/esm/toolbar.js +69 -69
  350. package/esm/tooltip.js +218 -218
  351. package/esm/tree-list.js +1297 -1186
  352. package/esm/tree-map.js +332 -332
  353. package/esm/tree-view.js +112 -112
  354. package/esm/validation-group.js +24 -24
  355. package/esm/validation-summary.js +60 -60
  356. package/esm/validator.js +203 -203
  357. package/esm/vector-map.js +432 -432
  358. package/package.json +14 -18
  359. package/speech-to-text/package.json +6 -0
  360. package/cjs/defer-rendering.d.ts +0 -217
  361. package/cjs/defer-rendering.js +0 -194
  362. package/defer-rendering/package.json +0 -6
  363. package/esm/defer-rendering.js +0 -156
package/esm/data-grid.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.7
4
- * Build date: Mon Nov 10 2025
3
+ * Version: 25.2.2-beta
4
+ * Build date: Thu Nov 20 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,1376 +11,1487 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
- "use client";
15
- import * as React from "react";
16
- import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
17
- import dxDataGrid from "devextreme/ui/data_grid";
18
- import { Component as BaseComponent } from "./core/component";
19
- import NestedOption from "./core/nested-option";
20
- const DataGrid = memo(forwardRef((props, ref) => {
21
- const baseRef = useRef(null);
22
- useImperativeHandle(ref, () => ({
23
- instance() {
24
- return baseRef.current?.getInstance();
25
- }
26
- }), []);
27
- const subscribableOptions = useMemo(() => (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "selectedRowKeys", "selectionFilter", "filterBuilder.value", "filterBuilderPopup.height", "filterBuilderPopup.position", "filterBuilderPopup.visible", "filterBuilderPopup.width", "filterPanel.filterEnabled", "editing.form.formData", "editing.popup.height", "editing.popup.position", "editing.popup.visible", "editing.popup.width", "searchPanel.text"]), []);
28
- const independentEvents = useMemo(() => (["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"]), []);
29
- const defaults = useMemo(() => ({
30
- defaultColumns: "columns",
31
- defaultEditing: "editing",
32
- defaultFilterValue: "filterValue",
33
- defaultFocusedColumnIndex: "focusedColumnIndex",
34
- defaultFocusedRowIndex: "focusedRowIndex",
35
- defaultFocusedRowKey: "focusedRowKey",
36
- defaultGroupPanel: "groupPanel",
37
- defaultPaging: "paging",
38
- defaultSelectedRowKeys: "selectedRowKeys",
39
- defaultSelectionFilter: "selectionFilter",
40
- }), []);
41
- const expectedChildren = useMemo(() => ({
42
- column: { optionName: "columns", isCollectionItem: true },
43
- columnChooser: { optionName: "columnChooser", isCollectionItem: false },
44
- columnFixing: { optionName: "columnFixing", isCollectionItem: false },
45
- dataGridHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
46
- dataGridSelection: { optionName: "selection", isCollectionItem: false },
47
- editing: { optionName: "editing", isCollectionItem: false },
48
- export: { optionName: "export", isCollectionItem: false },
49
- filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
50
- filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
51
- filterPanel: { optionName: "filterPanel", isCollectionItem: false },
52
- filterRow: { optionName: "filterRow", isCollectionItem: false },
53
- grouping: { optionName: "grouping", isCollectionItem: false },
54
- groupPanel: { optionName: "groupPanel", isCollectionItem: false },
55
- headerFilter: { optionName: "headerFilter", isCollectionItem: false },
56
- keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
57
- loadPanel: { optionName: "loadPanel", isCollectionItem: false },
58
- masterDetail: { optionName: "masterDetail", isCollectionItem: false },
59
- pager: { optionName: "pager", isCollectionItem: false },
60
- paging: { optionName: "paging", isCollectionItem: false },
61
- remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
62
- rowDragging: { optionName: "rowDragging", isCollectionItem: false },
63
- scrolling: { optionName: "scrolling", isCollectionItem: false },
64
- searchPanel: { optionName: "searchPanel", isCollectionItem: false },
65
- selection: { optionName: "selection", isCollectionItem: false },
66
- sortByGroupSummaryInfo: { optionName: "sortByGroupSummaryInfo", isCollectionItem: true },
67
- sorting: { optionName: "sorting", isCollectionItem: false },
68
- stateStoring: { optionName: "stateStoring", isCollectionItem: false },
69
- summary: { optionName: "summary", isCollectionItem: false },
70
- toolbar: { optionName: "toolbar", isCollectionItem: false }
71
- }), []);
72
- const templateProps = useMemo(() => ([
73
- {
74
- tmplOption: "dataRowTemplate",
75
- render: "dataRowRender",
76
- component: "dataRowComponent"
77
- },
78
- {
79
- tmplOption: "rowTemplate",
80
- render: "rowRender",
81
- component: "rowComponent"
82
- },
83
- ]), []);
84
- return (React.createElement((BaseComponent), {
85
- WidgetClass: dxDataGrid,
86
- ref: baseRef,
87
- useRequestAnimationFrameFlag: true,
88
- subscribableOptions,
89
- independentEvents,
90
- defaults,
91
- expectedChildren,
92
- templateProps,
93
- ...props,
94
- }));
95
- }));
96
- const _componentAnimation = (props) => {
97
- return React.createElement((NestedOption), {
98
- ...props,
99
- elementDescriptor: {
100
- OptionName: "animation",
101
- ExpectedChildren: {
102
- hide: { optionName: "hide", isCollectionItem: false },
103
- show: { optionName: "show", isCollectionItem: false }
104
- },
105
- },
106
- });
107
- };
108
- const Animation = Object.assign(_componentAnimation, {
109
- componentType: "option",
110
- });
111
- const _componentAsyncRule = (props) => {
112
- return React.createElement((NestedOption), {
113
- ...props,
114
- elementDescriptor: {
115
- OptionName: "validationRules",
116
- IsCollectionItem: true,
117
- PredefinedProps: {
118
- type: "async"
119
- },
120
- },
121
- });
122
- };
123
- const AsyncRule = Object.assign(_componentAsyncRule, {
124
- componentType: "option",
125
- });
126
- const _componentAt = (props) => {
127
- return React.createElement((NestedOption), {
128
- ...props,
129
- elementDescriptor: {
130
- OptionName: "at",
131
- },
132
- });
133
- };
134
- const At = Object.assign(_componentAt, {
135
- componentType: "option",
136
- });
137
- const _componentBoundaryOffset = (props) => {
138
- return React.createElement((NestedOption), {
139
- ...props,
140
- elementDescriptor: {
141
- OptionName: "boundaryOffset",
142
- },
143
- });
144
- };
145
- const BoundaryOffset = Object.assign(_componentBoundaryOffset, {
146
- componentType: "option",
147
- });
148
- const _componentButton = (props) => {
149
- return React.createElement((NestedOption), {
150
- ...props,
151
- elementDescriptor: {
152
- OptionName: "buttons",
153
- IsCollectionItem: true,
154
- TemplateProps: [{
155
- tmplOption: "template",
156
- render: "render",
157
- component: "component"
158
- }],
159
- },
160
- });
161
- };
162
- const Button = Object.assign(_componentButton, {
163
- componentType: "option",
164
- });
165
- const _componentChange = (props) => {
166
- return React.createElement((NestedOption), {
167
- ...props,
168
- elementDescriptor: {
169
- OptionName: "changes",
170
- IsCollectionItem: true,
171
- },
172
- });
173
- };
174
- const Change = Object.assign(_componentChange, {
175
- componentType: "option",
176
- });
177
- const _componentColCountByScreen = (props) => {
178
- return React.createElement((NestedOption), {
179
- ...props,
180
- elementDescriptor: {
181
- OptionName: "colCountByScreen",
182
- },
183
- });
184
- };
185
- const ColCountByScreen = Object.assign(_componentColCountByScreen, {
186
- componentType: "option",
187
- });
188
- const _componentCollision = (props) => {
189
- return React.createElement((NestedOption), {
190
- ...props,
191
- elementDescriptor: {
192
- OptionName: "collision",
193
- },
194
- });
195
- };
196
- const Collision = Object.assign(_componentCollision, {
197
- componentType: "option",
198
- });
199
- const _componentColumn = (props) => {
200
- return React.createElement((NestedOption), {
201
- ...props,
202
- elementDescriptor: {
203
- OptionName: "columns",
204
- IsCollectionItem: true,
205
- DefaultsProps: {
206
- defaultFilterValue: "filterValue",
207
- defaultFilterValues: "filterValues",
208
- defaultGroupIndex: "groupIndex",
209
- defaultSelectedFilterOperation: "selectedFilterOperation",
210
- defaultSortIndex: "sortIndex",
211
- defaultSortOrder: "sortOrder",
212
- defaultVisible: "visible",
213
- defaultVisibleIndex: "visibleIndex"
214
- },
215
- ExpectedChildren: {
216
- AsyncRule: { optionName: "validationRules", isCollectionItem: true },
217
- button: { optionName: "buttons", isCollectionItem: true },
218
- columnHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
219
- columnLookup: { optionName: "lookup", isCollectionItem: false },
220
- CompareRule: { optionName: "validationRules", isCollectionItem: true },
221
- CustomRule: { optionName: "validationRules", isCollectionItem: true },
222
- EmailRule: { optionName: "validationRules", isCollectionItem: true },
223
- format: { optionName: "format", isCollectionItem: false },
224
- formItem: { optionName: "formItem", isCollectionItem: false },
225
- headerFilter: { optionName: "headerFilter", isCollectionItem: false },
226
- lookup: { optionName: "lookup", isCollectionItem: false },
227
- NumericRule: { optionName: "validationRules", isCollectionItem: true },
228
- PatternRule: { optionName: "validationRules", isCollectionItem: true },
229
- RangeRule: { optionName: "validationRules", isCollectionItem: true },
230
- RequiredRule: { optionName: "validationRules", isCollectionItem: true },
231
- StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
232
- validationRule: { optionName: "validationRules", isCollectionItem: true }
233
- },
234
- TemplateProps: [{
235
- tmplOption: "cellTemplate",
236
- render: "cellRender",
237
- component: "cellComponent"
238
- }, {
239
- tmplOption: "editCellTemplate",
240
- render: "editCellRender",
241
- component: "editCellComponent"
242
- }, {
243
- tmplOption: "groupCellTemplate",
244
- render: "groupCellRender",
245
- component: "groupCellComponent"
246
- }, {
247
- tmplOption: "headerCellTemplate",
248
- render: "headerCellRender",
249
- component: "headerCellComponent"
250
- }],
251
- },
252
- });
253
- };
254
- const Column = Object.assign(_componentColumn, {
255
- componentType: "option",
256
- });
257
- const _componentColumnChooser = (props) => {
258
- return React.createElement((NestedOption), {
259
- ...props,
260
- elementDescriptor: {
261
- OptionName: "columnChooser",
262
- ExpectedChildren: {
263
- columnChooserSearch: { optionName: "search", isCollectionItem: false },
264
- columnChooserSelection: { optionName: "selection", isCollectionItem: false },
265
- position: { optionName: "position", isCollectionItem: false },
266
- search: { optionName: "search", isCollectionItem: false },
267
- selection: { optionName: "selection", isCollectionItem: false }
268
- },
269
- },
270
- });
271
- };
272
- const ColumnChooser = Object.assign(_componentColumnChooser, {
273
- componentType: "option",
274
- });
275
- const _componentColumnChooserSearch = (props) => {
276
- return React.createElement((NestedOption), {
277
- ...props,
278
- elementDescriptor: {
279
- OptionName: "search",
280
- },
281
- });
282
- };
283
- const ColumnChooserSearch = Object.assign(_componentColumnChooserSearch, {
284
- componentType: "option",
285
- });
286
- const _componentColumnChooserSelection = (props) => {
287
- return React.createElement((NestedOption), {
288
- ...props,
289
- elementDescriptor: {
290
- OptionName: "selection",
291
- },
292
- });
293
- };
294
- const ColumnChooserSelection = Object.assign(_componentColumnChooserSelection, {
295
- componentType: "option",
296
- });
297
- const _componentColumnFixing = (props) => {
298
- return React.createElement((NestedOption), {
299
- ...props,
300
- elementDescriptor: {
301
- OptionName: "columnFixing",
302
- ExpectedChildren: {
303
- columnFixingTexts: { optionName: "texts", isCollectionItem: false },
304
- icons: { optionName: "icons", isCollectionItem: false },
305
- texts: { optionName: "texts", isCollectionItem: false }
306
- },
307
- },
308
- });
309
- };
310
- const ColumnFixing = Object.assign(_componentColumnFixing, {
311
- componentType: "option",
312
- });
313
- const _componentColumnFixingTexts = (props) => {
314
- return React.createElement((NestedOption), {
315
- ...props,
316
- elementDescriptor: {
317
- OptionName: "texts",
318
- },
319
- });
320
- };
321
- const ColumnFixingTexts = Object.assign(_componentColumnFixingTexts, {
322
- componentType: "option",
323
- });
324
- const _componentColumnHeaderFilter = (props) => {
325
- return React.createElement((NestedOption), {
326
- ...props,
327
- elementDescriptor: {
328
- OptionName: "headerFilter",
329
- ExpectedChildren: {
330
- columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
331
- search: { optionName: "search", isCollectionItem: false }
332
- },
333
- },
334
- });
335
- };
336
- const ColumnHeaderFilter = Object.assign(_componentColumnHeaderFilter, {
337
- componentType: "option",
338
- });
339
- const _componentColumnHeaderFilterSearch = (props) => {
340
- return React.createElement((NestedOption), {
341
- ...props,
342
- elementDescriptor: {
343
- OptionName: "search",
344
- },
345
- });
346
- };
347
- const ColumnHeaderFilterSearch = Object.assign(_componentColumnHeaderFilterSearch, {
348
- componentType: "option",
349
- });
350
- const _componentColumnLookup = (props) => {
351
- return React.createElement((NestedOption), {
352
- ...props,
353
- elementDescriptor: {
354
- OptionName: "lookup",
355
- },
356
- });
357
- };
358
- const ColumnLookup = Object.assign(_componentColumnLookup, {
359
- componentType: "option",
360
- });
361
- const _componentCompareRule = (props) => {
362
- return React.createElement((NestedOption), {
363
- ...props,
364
- elementDescriptor: {
365
- OptionName: "validationRules",
366
- IsCollectionItem: true,
367
- PredefinedProps: {
368
- type: "compare"
369
- },
370
- },
371
- });
372
- };
373
- const CompareRule = Object.assign(_componentCompareRule, {
374
- componentType: "option",
375
- });
376
- const _componentCursorOffset = (props) => {
377
- return React.createElement((NestedOption), {
378
- ...props,
379
- elementDescriptor: {
380
- OptionName: "cursorOffset",
381
- },
382
- });
383
- };
384
- const CursorOffset = Object.assign(_componentCursorOffset, {
385
- componentType: "option",
386
- });
387
- const _componentCustomOperation = (props) => {
388
- return React.createElement((NestedOption), {
389
- ...props,
390
- elementDescriptor: {
391
- OptionName: "customOperations",
392
- IsCollectionItem: true,
393
- TemplateProps: [{
394
- tmplOption: "editorTemplate",
395
- render: "editorRender",
396
- component: "editorComponent"
397
- }],
398
- },
399
- });
400
- };
401
- const CustomOperation = Object.assign(_componentCustomOperation, {
402
- componentType: "option",
403
- });
404
- const _componentCustomRule = (props) => {
405
- return React.createElement((NestedOption), {
406
- ...props,
407
- elementDescriptor: {
408
- OptionName: "validationRules",
409
- IsCollectionItem: true,
410
- PredefinedProps: {
411
- type: "custom"
412
- },
413
- },
414
- });
415
- };
416
- const CustomRule = Object.assign(_componentCustomRule, {
417
- componentType: "option",
418
- });
419
- const _componentDataGridHeaderFilter = (props) => {
420
- return React.createElement((NestedOption), {
421
- ...props,
422
- elementDescriptor: {
423
- OptionName: "headerFilter",
424
- ExpectedChildren: {
425
- dataGridHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
426
- dataGridHeaderFilterTexts: { optionName: "texts", isCollectionItem: false },
427
- search: { optionName: "search", isCollectionItem: false },
428
- texts: { optionName: "texts", isCollectionItem: false }
429
- },
430
- },
431
- });
432
- };
433
- const DataGridHeaderFilter = Object.assign(_componentDataGridHeaderFilter, {
434
- componentType: "option",
435
- });
436
- const _componentDataGridHeaderFilterSearch = (props) => {
437
- return React.createElement((NestedOption), {
438
- ...props,
439
- elementDescriptor: {
440
- OptionName: "search",
441
- },
442
- });
443
- };
444
- const DataGridHeaderFilterSearch = Object.assign(_componentDataGridHeaderFilterSearch, {
445
- componentType: "option",
446
- });
447
- const _componentDataGridHeaderFilterTexts = (props) => {
448
- return React.createElement((NestedOption), {
449
- ...props,
450
- elementDescriptor: {
451
- OptionName: "texts",
452
- },
453
- });
454
- };
455
- const DataGridHeaderFilterTexts = Object.assign(_componentDataGridHeaderFilterTexts, {
456
- componentType: "option",
457
- });
458
- const _componentDataGridSelection = (props) => {
459
- return React.createElement((NestedOption), {
460
- ...props,
461
- elementDescriptor: {
462
- OptionName: "selection",
463
- },
464
- });
465
- };
466
- const DataGridSelection = Object.assign(_componentDataGridSelection, {
467
- componentType: "option",
468
- });
469
- const _componentEditing = (props) => {
470
- return React.createElement((NestedOption), {
471
- ...props,
472
- elementDescriptor: {
473
- OptionName: "editing",
474
- DefaultsProps: {
475
- defaultChanges: "changes",
476
- defaultEditColumnName: "editColumnName",
477
- defaultEditRowKey: "editRowKey"
478
- },
479
- ExpectedChildren: {
480
- change: { optionName: "changes", isCollectionItem: true },
481
- editingTexts: { optionName: "texts", isCollectionItem: false },
482
- form: { optionName: "form", isCollectionItem: false },
483
- popup: { optionName: "popup", isCollectionItem: false },
484
- texts: { optionName: "texts", isCollectionItem: false }
485
- },
486
- },
487
- });
488
- };
489
- const Editing = Object.assign(_componentEditing, {
490
- componentType: "option",
491
- });
492
- const _componentEditingTexts = (props) => {
493
- return React.createElement((NestedOption), {
494
- ...props,
495
- elementDescriptor: {
496
- OptionName: "texts",
497
- },
498
- });
499
- };
500
- const EditingTexts = Object.assign(_componentEditingTexts, {
501
- componentType: "option",
502
- });
503
- const _componentEmailRule = (props) => {
504
- return React.createElement((NestedOption), {
505
- ...props,
506
- elementDescriptor: {
507
- OptionName: "validationRules",
508
- IsCollectionItem: true,
509
- PredefinedProps: {
510
- type: "email"
511
- },
512
- },
513
- });
514
- };
515
- const EmailRule = Object.assign(_componentEmailRule, {
516
- componentType: "option",
517
- });
518
- const _componentExport = (props) => {
519
- return React.createElement((NestedOption), {
520
- ...props,
521
- elementDescriptor: {
522
- OptionName: "export",
523
- ExpectedChildren: {
524
- exportTexts: { optionName: "texts", isCollectionItem: false },
525
- texts: { optionName: "texts", isCollectionItem: false }
526
- },
527
- },
528
- });
529
- };
530
- const Export = Object.assign(_componentExport, {
531
- componentType: "option",
532
- });
533
- const _componentExportTexts = (props) => {
534
- return React.createElement((NestedOption), {
535
- ...props,
536
- elementDescriptor: {
537
- OptionName: "texts",
538
- },
539
- });
540
- };
541
- const ExportTexts = Object.assign(_componentExportTexts, {
542
- componentType: "option",
543
- });
544
- const _componentField = (props) => {
545
- return React.createElement((NestedOption), {
546
- ...props,
547
- elementDescriptor: {
548
- OptionName: "fields",
549
- IsCollectionItem: true,
550
- ExpectedChildren: {
551
- fieldLookup: { optionName: "lookup", isCollectionItem: false },
552
- format: { optionName: "format", isCollectionItem: false },
553
- lookup: { optionName: "lookup", isCollectionItem: false }
554
- },
555
- TemplateProps: [{
556
- tmplOption: "editorTemplate",
557
- render: "editorRender",
558
- component: "editorComponent"
559
- }],
560
- },
561
- });
562
- };
563
- const Field = Object.assign(_componentField, {
564
- componentType: "option",
565
- });
566
- const _componentFieldLookup = (props) => {
567
- return React.createElement((NestedOption), {
568
- ...props,
569
- elementDescriptor: {
570
- OptionName: "lookup",
571
- },
572
- });
573
- };
574
- const FieldLookup = Object.assign(_componentFieldLookup, {
575
- componentType: "option",
576
- });
577
- const _componentFilterBuilder = (props) => {
578
- return React.createElement((NestedOption), {
579
- ...props,
580
- elementDescriptor: {
581
- OptionName: "filterBuilder",
582
- DefaultsProps: {
583
- defaultValue: "value"
584
- },
585
- ExpectedChildren: {
586
- customOperation: { optionName: "customOperations", isCollectionItem: true },
587
- field: { optionName: "fields", isCollectionItem: true },
588
- filterOperationDescriptions: { optionName: "filterOperationDescriptions", isCollectionItem: false },
589
- groupOperationDescriptions: { optionName: "groupOperationDescriptions", isCollectionItem: false }
590
- },
591
- },
592
- });
593
- };
594
- const FilterBuilder = Object.assign(_componentFilterBuilder, {
595
- componentType: "option",
596
- });
597
- const _componentFilterBuilderPopup = (props) => {
598
- return React.createElement((NestedOption), {
599
- ...props,
600
- elementDescriptor: {
601
- OptionName: "filterBuilderPopup",
602
- DefaultsProps: {
603
- defaultHeight: "height",
604
- defaultPosition: "position",
605
- defaultVisible: "visible",
606
- defaultWidth: "width"
607
- },
608
- ExpectedChildren: {
609
- animation: { optionName: "animation", isCollectionItem: false },
610
- position: { optionName: "position", isCollectionItem: false },
611
- toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
612
- },
613
- TemplateProps: [{
614
- tmplOption: "contentTemplate",
615
- render: "contentRender",
616
- component: "contentComponent"
617
- }, {
618
- tmplOption: "titleTemplate",
619
- render: "titleRender",
620
- component: "titleComponent"
621
- }],
622
- },
623
- });
624
- };
625
- const FilterBuilderPopup = Object.assign(_componentFilterBuilderPopup, {
626
- componentType: "option",
627
- });
628
- const _componentFilterOperationDescriptions = (props) => {
629
- return React.createElement((NestedOption), {
630
- ...props,
631
- elementDescriptor: {
632
- OptionName: "filterOperationDescriptions",
633
- },
634
- });
635
- };
636
- const FilterOperationDescriptions = Object.assign(_componentFilterOperationDescriptions, {
637
- componentType: "option",
638
- });
639
- const _componentFilterPanel = (props) => {
640
- return React.createElement((NestedOption), {
641
- ...props,
642
- elementDescriptor: {
643
- OptionName: "filterPanel",
644
- DefaultsProps: {
645
- defaultFilterEnabled: "filterEnabled"
646
- },
647
- ExpectedChildren: {
648
- filterPanelTexts: { optionName: "texts", isCollectionItem: false },
649
- texts: { optionName: "texts", isCollectionItem: false }
650
- },
651
- },
652
- });
653
- };
654
- const FilterPanel = Object.assign(_componentFilterPanel, {
655
- componentType: "option",
656
- });
657
- const _componentFilterPanelTexts = (props) => {
658
- return React.createElement((NestedOption), {
659
- ...props,
660
- elementDescriptor: {
661
- OptionName: "texts",
662
- },
663
- });
664
- };
665
- const FilterPanelTexts = Object.assign(_componentFilterPanelTexts, {
666
- componentType: "option",
667
- });
668
- const _componentFilterRow = (props) => {
669
- return React.createElement((NestedOption), {
670
- ...props,
671
- elementDescriptor: {
672
- OptionName: "filterRow",
673
- ExpectedChildren: {
674
- operationDescriptions: { optionName: "operationDescriptions", isCollectionItem: false }
675
- },
676
- },
677
- });
678
- };
679
- const FilterRow = Object.assign(_componentFilterRow, {
680
- componentType: "option",
681
- });
682
- const _componentForm = (props) => {
683
- return React.createElement((NestedOption), {
684
- ...props,
685
- elementDescriptor: {
686
- OptionName: "form",
687
- DefaultsProps: {
688
- defaultFormData: "formData"
689
- },
690
- ExpectedChildren: {
691
- colCountByScreen: { optionName: "colCountByScreen", isCollectionItem: false }
692
- },
693
- },
694
- });
695
- };
696
- const Form = Object.assign(_componentForm, {
697
- componentType: "option",
698
- });
699
- const _componentFormat = (props) => {
700
- return React.createElement((NestedOption), {
701
- ...props,
702
- elementDescriptor: {
703
- OptionName: "format",
704
- },
705
- });
706
- };
707
- const Format = Object.assign(_componentFormat, {
708
- componentType: "option",
709
- });
710
- const _componentFormItem = (props) => {
711
- return React.createElement((NestedOption), {
712
- ...props,
713
- elementDescriptor: {
714
- OptionName: "formItem",
715
- ExpectedChildren: {
716
- AsyncRule: { optionName: "validationRules", isCollectionItem: true },
717
- CompareRule: { optionName: "validationRules", isCollectionItem: true },
718
- CustomRule: { optionName: "validationRules", isCollectionItem: true },
719
- EmailRule: { optionName: "validationRules", isCollectionItem: true },
720
- label: { optionName: "label", isCollectionItem: false },
721
- NumericRule: { optionName: "validationRules", isCollectionItem: true },
722
- PatternRule: { optionName: "validationRules", isCollectionItem: true },
723
- RangeRule: { optionName: "validationRules", isCollectionItem: true },
724
- RequiredRule: { optionName: "validationRules", isCollectionItem: true },
725
- StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
726
- validationRule: { optionName: "validationRules", isCollectionItem: true }
727
- },
728
- TemplateProps: [{
729
- tmplOption: "template",
730
- render: "render",
731
- component: "component"
732
- }],
733
- },
734
- });
735
- };
736
- const FormItem = Object.assign(_componentFormItem, {
737
- componentType: "option",
738
- });
739
- const _componentFrom = (props) => {
740
- return React.createElement((NestedOption), {
741
- ...props,
742
- elementDescriptor: {
743
- OptionName: "from",
744
- ExpectedChildren: {
745
- position: { optionName: "position", isCollectionItem: false }
746
- },
747
- },
748
- });
749
- };
750
- const From = Object.assign(_componentFrom, {
751
- componentType: "option",
752
- });
753
- const _componentGrouping = (props) => {
754
- return React.createElement((NestedOption), {
755
- ...props,
756
- elementDescriptor: {
757
- OptionName: "grouping",
758
- ExpectedChildren: {
759
- groupingTexts: { optionName: "texts", isCollectionItem: false },
760
- texts: { optionName: "texts", isCollectionItem: false }
761
- },
762
- },
763
- });
764
- };
765
- const Grouping = Object.assign(_componentGrouping, {
766
- componentType: "option",
767
- });
768
- const _componentGroupingTexts = (props) => {
769
- return React.createElement((NestedOption), {
770
- ...props,
771
- elementDescriptor: {
772
- OptionName: "texts",
773
- },
774
- });
775
- };
776
- const GroupingTexts = Object.assign(_componentGroupingTexts, {
777
- componentType: "option",
778
- });
779
- const _componentGroupItem = (props) => {
780
- return React.createElement((NestedOption), {
781
- ...props,
782
- elementDescriptor: {
783
- OptionName: "groupItems",
784
- IsCollectionItem: true,
785
- ExpectedChildren: {
786
- valueFormat: { optionName: "valueFormat", isCollectionItem: false }
787
- },
788
- },
789
- });
790
- };
791
- const GroupItem = Object.assign(_componentGroupItem, {
792
- componentType: "option",
793
- });
794
- const _componentGroupOperationDescriptions = (props) => {
795
- return React.createElement((NestedOption), {
796
- ...props,
797
- elementDescriptor: {
798
- OptionName: "groupOperationDescriptions",
799
- },
800
- });
801
- };
802
- const GroupOperationDescriptions = Object.assign(_componentGroupOperationDescriptions, {
803
- componentType: "option",
804
- });
805
- const _componentGroupPanel = (props) => {
806
- return React.createElement((NestedOption), {
807
- ...props,
808
- elementDescriptor: {
809
- OptionName: "groupPanel",
810
- DefaultsProps: {
811
- defaultVisible: "visible"
812
- },
813
- },
814
- });
815
- };
816
- const GroupPanel = Object.assign(_componentGroupPanel, {
817
- componentType: "option",
818
- });
819
- const _componentHeaderFilter = (props) => {
820
- return React.createElement((NestedOption), {
821
- ...props,
822
- elementDescriptor: {
823
- OptionName: "headerFilter",
824
- ExpectedChildren: {
825
- columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
826
- dataGridHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
827
- dataGridHeaderFilterTexts: { optionName: "texts", isCollectionItem: false }
828
- },
829
- },
830
- });
831
- };
832
- const HeaderFilter = Object.assign(_componentHeaderFilter, {
833
- componentType: "option",
834
- });
835
- const _componentHide = (props) => {
836
- return React.createElement((NestedOption), {
837
- ...props,
838
- elementDescriptor: {
839
- OptionName: "hide",
840
- ExpectedChildren: {
841
- from: { optionName: "from", isCollectionItem: false },
842
- to: { optionName: "to", isCollectionItem: false }
843
- },
844
- },
845
- });
846
- };
847
- const Hide = Object.assign(_componentHide, {
848
- componentType: "option",
849
- });
850
- const _componentIcons = (props) => {
851
- return React.createElement((NestedOption), {
852
- ...props,
853
- elementDescriptor: {
854
- OptionName: "icons",
855
- },
856
- });
857
- };
858
- const Icons = Object.assign(_componentIcons, {
859
- componentType: "option",
860
- });
861
- const _componentItem = (props) => {
862
- return React.createElement((NestedOption), {
863
- ...props,
864
- elementDescriptor: {
865
- OptionName: "items",
866
- IsCollectionItem: true,
867
- TemplateProps: [{
868
- tmplOption: "menuItemTemplate",
869
- render: "menuItemRender",
870
- component: "menuItemComponent"
871
- }, {
872
- tmplOption: "template",
873
- render: "render",
874
- component: "component"
875
- }],
876
- },
877
- });
878
- };
879
- const Item = Object.assign(_componentItem, {
880
- componentType: "option",
881
- });
882
- const _componentKeyboardNavigation = (props) => {
883
- return React.createElement((NestedOption), {
884
- ...props,
885
- elementDescriptor: {
886
- OptionName: "keyboardNavigation",
887
- },
888
- });
889
- };
890
- const KeyboardNavigation = Object.assign(_componentKeyboardNavigation, {
891
- componentType: "option",
892
- });
893
- const _componentLabel = (props) => {
894
- return React.createElement((NestedOption), {
895
- ...props,
896
- elementDescriptor: {
897
- OptionName: "label",
898
- TemplateProps: [{
899
- tmplOption: "template",
900
- render: "render",
901
- component: "component"
902
- }],
903
- },
904
- });
905
- };
906
- const Label = Object.assign(_componentLabel, {
907
- componentType: "option",
908
- });
909
- const _componentLoadPanel = (props) => {
910
- return React.createElement((NestedOption), {
911
- ...props,
912
- elementDescriptor: {
913
- OptionName: "loadPanel",
914
- },
915
- });
916
- };
917
- const LoadPanel = Object.assign(_componentLoadPanel, {
918
- componentType: "option",
919
- });
920
- const _componentLookup = (props) => {
921
- return React.createElement((NestedOption), {
922
- ...props,
923
- elementDescriptor: {
924
- OptionName: "lookup",
925
- },
926
- });
927
- };
928
- const Lookup = Object.assign(_componentLookup, {
929
- componentType: "option",
930
- });
931
- const _componentMasterDetail = (props) => {
932
- return React.createElement((NestedOption), {
933
- ...props,
934
- elementDescriptor: {
935
- OptionName: "masterDetail",
936
- TemplateProps: [{
937
- tmplOption: "template",
938
- render: "render",
939
- component: "component"
940
- }],
941
- },
942
- });
943
- };
944
- const MasterDetail = Object.assign(_componentMasterDetail, {
945
- componentType: "option",
946
- });
947
- const _componentMy = (props) => {
948
- return React.createElement((NestedOption), {
949
- ...props,
950
- elementDescriptor: {
951
- OptionName: "my",
952
- },
953
- });
954
- };
955
- const My = Object.assign(_componentMy, {
956
- componentType: "option",
957
- });
958
- const _componentNumericRule = (props) => {
959
- return React.createElement((NestedOption), {
960
- ...props,
961
- elementDescriptor: {
962
- OptionName: "validationRules",
963
- IsCollectionItem: true,
964
- PredefinedProps: {
965
- type: "numeric"
966
- },
967
- },
968
- });
969
- };
970
- const NumericRule = Object.assign(_componentNumericRule, {
971
- componentType: "option",
972
- });
973
- const _componentOffset = (props) => {
974
- return React.createElement((NestedOption), {
975
- ...props,
976
- elementDescriptor: {
977
- OptionName: "offset",
978
- },
979
- });
980
- };
981
- const Offset = Object.assign(_componentOffset, {
982
- componentType: "option",
983
- });
984
- const _componentOperationDescriptions = (props) => {
985
- return React.createElement((NestedOption), {
986
- ...props,
987
- elementDescriptor: {
988
- OptionName: "operationDescriptions",
989
- },
990
- });
991
- };
992
- const OperationDescriptions = Object.assign(_componentOperationDescriptions, {
993
- componentType: "option",
994
- });
995
- const _componentPager = (props) => {
996
- return React.createElement((NestedOption), {
997
- ...props,
998
- elementDescriptor: {
999
- OptionName: "pager",
1000
- },
1001
- });
1002
- };
1003
- const Pager = Object.assign(_componentPager, {
1004
- componentType: "option",
1005
- });
1006
- const _componentPaging = (props) => {
1007
- return React.createElement((NestedOption), {
1008
- ...props,
1009
- elementDescriptor: {
1010
- OptionName: "paging",
1011
- DefaultsProps: {
1012
- defaultPageIndex: "pageIndex",
1013
- defaultPageSize: "pageSize"
1014
- },
1015
- },
1016
- });
1017
- };
1018
- const Paging = Object.assign(_componentPaging, {
1019
- componentType: "option",
1020
- });
1021
- const _componentPatternRule = (props) => {
1022
- return React.createElement((NestedOption), {
1023
- ...props,
1024
- elementDescriptor: {
1025
- OptionName: "validationRules",
1026
- IsCollectionItem: true,
1027
- PredefinedProps: {
1028
- type: "pattern"
1029
- },
1030
- },
1031
- });
1032
- };
1033
- const PatternRule = Object.assign(_componentPatternRule, {
1034
- componentType: "option",
1035
- });
1036
- const _componentPopup = (props) => {
1037
- return React.createElement((NestedOption), {
1038
- ...props,
1039
- elementDescriptor: {
1040
- OptionName: "popup",
1041
- DefaultsProps: {
1042
- defaultHeight: "height",
1043
- defaultPosition: "position",
1044
- defaultVisible: "visible",
1045
- defaultWidth: "width"
1046
- },
1047
- ExpectedChildren: {
1048
- animation: { optionName: "animation", isCollectionItem: false },
1049
- position: { optionName: "position", isCollectionItem: false },
1050
- toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
1051
- },
1052
- TemplateProps: [{
1053
- tmplOption: "contentTemplate",
1054
- render: "contentRender",
1055
- component: "contentComponent"
1056
- }, {
1057
- tmplOption: "titleTemplate",
1058
- render: "titleRender",
1059
- component: "titleComponent"
1060
- }],
1061
- },
1062
- });
1063
- };
1064
- const Popup = Object.assign(_componentPopup, {
1065
- componentType: "option",
1066
- });
1067
- const _componentPosition = (props) => {
1068
- return React.createElement((NestedOption), {
1069
- ...props,
1070
- elementDescriptor: {
1071
- OptionName: "position",
1072
- ExpectedChildren: {
1073
- at: { optionName: "at", isCollectionItem: false },
1074
- boundaryOffset: { optionName: "boundaryOffset", isCollectionItem: false },
1075
- collision: { optionName: "collision", isCollectionItem: false },
1076
- my: { optionName: "my", isCollectionItem: false },
1077
- offset: { optionName: "offset", isCollectionItem: false }
1078
- },
1079
- },
1080
- });
1081
- };
1082
- const Position = Object.assign(_componentPosition, {
1083
- componentType: "option",
1084
- });
1085
- const _componentRangeRule = (props) => {
1086
- return React.createElement((NestedOption), {
1087
- ...props,
1088
- elementDescriptor: {
1089
- OptionName: "validationRules",
1090
- IsCollectionItem: true,
1091
- PredefinedProps: {
1092
- type: "range"
1093
- },
1094
- },
1095
- });
1096
- };
1097
- const RangeRule = Object.assign(_componentRangeRule, {
1098
- componentType: "option",
1099
- });
1100
- const _componentRemoteOperations = (props) => {
1101
- return React.createElement((NestedOption), {
1102
- ...props,
1103
- elementDescriptor: {
1104
- OptionName: "remoteOperations",
1105
- },
1106
- });
1107
- };
1108
- const RemoteOperations = Object.assign(_componentRemoteOperations, {
1109
- componentType: "option",
1110
- });
1111
- const _componentRequiredRule = (props) => {
1112
- return React.createElement((NestedOption), {
1113
- ...props,
1114
- elementDescriptor: {
1115
- OptionName: "validationRules",
1116
- IsCollectionItem: true,
1117
- PredefinedProps: {
1118
- type: "required"
1119
- },
1120
- },
1121
- });
1122
- };
1123
- const RequiredRule = Object.assign(_componentRequiredRule, {
1124
- componentType: "option",
1125
- });
1126
- const _componentRowDragging = (props) => {
1127
- return React.createElement((NestedOption), {
1128
- ...props,
1129
- elementDescriptor: {
1130
- OptionName: "rowDragging",
1131
- ExpectedChildren: {
1132
- cursorOffset: { optionName: "cursorOffset", isCollectionItem: false }
1133
- },
1134
- TemplateProps: [{
1135
- tmplOption: "dragTemplate",
1136
- render: "dragRender",
1137
- component: "dragComponent"
1138
- }],
1139
- },
1140
- });
1141
- };
1142
- const RowDragging = Object.assign(_componentRowDragging, {
1143
- componentType: "option",
1144
- });
1145
- const _componentScrolling = (props) => {
1146
- return React.createElement((NestedOption), {
1147
- ...props,
1148
- elementDescriptor: {
1149
- OptionName: "scrolling",
1150
- },
1151
- });
1152
- };
1153
- const Scrolling = Object.assign(_componentScrolling, {
1154
- componentType: "option",
1155
- });
1156
- const _componentSearch = (props) => {
1157
- return React.createElement((NestedOption), {
1158
- ...props,
1159
- elementDescriptor: {
1160
- OptionName: "search",
1161
- },
1162
- });
1163
- };
1164
- const Search = Object.assign(_componentSearch, {
1165
- componentType: "option",
1166
- });
1167
- const _componentSearchPanel = (props) => {
1168
- return React.createElement((NestedOption), {
1169
- ...props,
1170
- elementDescriptor: {
1171
- OptionName: "searchPanel",
1172
- DefaultsProps: {
1173
- defaultText: "text"
1174
- },
1175
- },
1176
- });
1177
- };
1178
- const SearchPanel = Object.assign(_componentSearchPanel, {
1179
- componentType: "option",
1180
- });
1181
- const _componentSelection = (props) => {
1182
- return React.createElement((NestedOption), {
1183
- ...props,
1184
- elementDescriptor: {
1185
- OptionName: "selection",
1186
- },
1187
- });
1188
- };
1189
- const Selection = Object.assign(_componentSelection, {
1190
- componentType: "option",
1191
- });
1192
- const _componentShow = (props) => {
1193
- return React.createElement((NestedOption), {
1194
- ...props,
1195
- elementDescriptor: {
1196
- OptionName: "show",
1197
- ExpectedChildren: {
1198
- from: { optionName: "from", isCollectionItem: false },
1199
- to: { optionName: "to", isCollectionItem: false }
1200
- },
1201
- },
1202
- });
1203
- };
1204
- const Show = Object.assign(_componentShow, {
1205
- componentType: "option",
1206
- });
1207
- const _componentSortByGroupSummaryInfo = (props) => {
1208
- return React.createElement((NestedOption), {
1209
- ...props,
1210
- elementDescriptor: {
1211
- OptionName: "sortByGroupSummaryInfo",
1212
- IsCollectionItem: true,
1213
- },
1214
- });
1215
- };
1216
- const SortByGroupSummaryInfo = Object.assign(_componentSortByGroupSummaryInfo, {
1217
- componentType: "option",
1218
- });
1219
- const _componentSorting = (props) => {
1220
- return React.createElement((NestedOption), {
1221
- ...props,
1222
- elementDescriptor: {
1223
- OptionName: "sorting",
1224
- },
1225
- });
1226
- };
1227
- const Sorting = Object.assign(_componentSorting, {
1228
- componentType: "option",
1229
- });
1230
- const _componentStateStoring = (props) => {
1231
- return React.createElement((NestedOption), {
1232
- ...props,
1233
- elementDescriptor: {
1234
- OptionName: "stateStoring",
1235
- },
1236
- });
1237
- };
1238
- const StateStoring = Object.assign(_componentStateStoring, {
1239
- componentType: "option",
1240
- });
1241
- const _componentStringLengthRule = (props) => {
1242
- return React.createElement((NestedOption), {
1243
- ...props,
1244
- elementDescriptor: {
1245
- OptionName: "validationRules",
1246
- IsCollectionItem: true,
1247
- PredefinedProps: {
1248
- type: "stringLength"
1249
- },
1250
- },
1251
- });
1252
- };
1253
- const StringLengthRule = Object.assign(_componentStringLengthRule, {
1254
- componentType: "option",
1255
- });
1256
- const _componentSummary = (props) => {
1257
- return React.createElement((NestedOption), {
1258
- ...props,
1259
- elementDescriptor: {
1260
- OptionName: "summary",
1261
- ExpectedChildren: {
1262
- groupItem: { optionName: "groupItems", isCollectionItem: true },
1263
- summaryTexts: { optionName: "texts", isCollectionItem: false },
1264
- texts: { optionName: "texts", isCollectionItem: false },
1265
- totalItem: { optionName: "totalItems", isCollectionItem: true }
1266
- },
1267
- },
1268
- });
1269
- };
1270
- const Summary = Object.assign(_componentSummary, {
1271
- componentType: "option",
1272
- });
1273
- const _componentSummaryTexts = (props) => {
1274
- return React.createElement((NestedOption), {
1275
- ...props,
1276
- elementDescriptor: {
1277
- OptionName: "texts",
1278
- },
1279
- });
1280
- };
1281
- const SummaryTexts = Object.assign(_componentSummaryTexts, {
1282
- componentType: "option",
1283
- });
1284
- const _componentTexts = (props) => {
1285
- return React.createElement((NestedOption), {
1286
- ...props,
1287
- elementDescriptor: {
1288
- OptionName: "texts",
1289
- },
1290
- });
1291
- };
1292
- const Texts = Object.assign(_componentTexts, {
1293
- componentType: "option",
1294
- });
1295
- const _componentTo = (props) => {
1296
- return React.createElement((NestedOption), {
1297
- ...props,
1298
- elementDescriptor: {
1299
- OptionName: "to",
1300
- ExpectedChildren: {
1301
- position: { optionName: "position", isCollectionItem: false }
1302
- },
1303
- },
1304
- });
1305
- };
1306
- const To = Object.assign(_componentTo, {
1307
- componentType: "option",
1308
- });
1309
- const _componentToolbar = (props) => {
1310
- return React.createElement((NestedOption), {
1311
- ...props,
1312
- elementDescriptor: {
1313
- OptionName: "toolbar",
1314
- ExpectedChildren: {
1315
- item: { optionName: "items", isCollectionItem: true }
1316
- },
1317
- },
1318
- });
1319
- };
1320
- const Toolbar = Object.assign(_componentToolbar, {
1321
- componentType: "option",
1322
- });
1323
- const _componentToolbarItem = (props) => {
1324
- return React.createElement((NestedOption), {
1325
- ...props,
1326
- elementDescriptor: {
1327
- OptionName: "toolbarItems",
1328
- IsCollectionItem: true,
1329
- TemplateProps: [{
1330
- tmplOption: "menuItemTemplate",
1331
- render: "menuItemRender",
1332
- component: "menuItemComponent"
1333
- }, {
1334
- tmplOption: "template",
1335
- render: "render",
1336
- component: "component"
1337
- }],
1338
- },
1339
- });
1340
- };
1341
- const ToolbarItem = Object.assign(_componentToolbarItem, {
1342
- componentType: "option",
1343
- });
1344
- const _componentTotalItem = (props) => {
1345
- return React.createElement((NestedOption), {
1346
- ...props,
1347
- elementDescriptor: {
1348
- OptionName: "totalItems",
1349
- IsCollectionItem: true,
1350
- ExpectedChildren: {
1351
- valueFormat: { optionName: "valueFormat", isCollectionItem: false }
1352
- },
1353
- },
1354
- });
1355
- };
1356
- const TotalItem = Object.assign(_componentTotalItem, {
1357
- componentType: "option",
1358
- });
1359
- const _componentValidationRule = (props) => {
1360
- return React.createElement((NestedOption), {
1361
- ...props,
1362
- elementDescriptor: {
1363
- OptionName: "validationRules",
1364
- IsCollectionItem: true,
1365
- PredefinedProps: {
1366
- type: "required"
1367
- },
1368
- },
1369
- });
1370
- };
1371
- const ValidationRule = Object.assign(_componentValidationRule, {
1372
- componentType: "option",
1373
- });
1374
- const _componentValueFormat = (props) => {
1375
- return React.createElement((NestedOption), {
1376
- ...props,
1377
- elementDescriptor: {
1378
- OptionName: "valueFormat",
1379
- },
1380
- });
1381
- };
1382
- const ValueFormat = Object.assign(_componentValueFormat, {
1383
- componentType: "option",
1384
- });
1385
- export default DataGrid;
1386
- export { DataGrid, Animation, AsyncRule, At, BoundaryOffset, Button, Change, ColCountByScreen, Collision, Column, ColumnChooser, ColumnChooserSearch, ColumnChooserSelection, ColumnFixing, ColumnFixingTexts, ColumnHeaderFilter, ColumnHeaderFilterSearch, ColumnLookup, CompareRule, CursorOffset, CustomOperation, CustomRule, DataGridHeaderFilter, DataGridHeaderFilterSearch, DataGridHeaderFilterTexts, DataGridSelection, Editing, EditingTexts, EmailRule, Export, ExportTexts, Field, FieldLookup, FilterBuilder, FilterBuilderPopup, FilterOperationDescriptions, FilterPanel, FilterPanelTexts, FilterRow, Form, Format, FormItem, From, Grouping, GroupingTexts, GroupItem, GroupOperationDescriptions, GroupPanel, HeaderFilter, Hide, Icons, Item, KeyboardNavigation, Label, LoadPanel, Lookup, MasterDetail, My, NumericRule, Offset, OperationDescriptions, Pager, Paging, PatternRule, Popup, Position, RangeRule, RemoteOperations, RequiredRule, RowDragging, Scrolling, Search, SearchPanel, Selection, Show, SortByGroupSummaryInfo, Sorting, StateStoring, StringLengthRule, Summary, SummaryTexts, Texts, To, Toolbar, ToolbarItem, TotalItem, ValidationRule, ValueFormat };
14
+ "use client";
15
+ import * as React from "react";
16
+ import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
17
+ import dxDataGrid from "devextreme/ui/data_grid";
18
+ import { Component as BaseComponent } from "./core/component";
19
+ import NestedOption from "./core/nested-option";
20
+ const DataGrid = memo(forwardRef((props, ref) => {
21
+ const baseRef = useRef(null);
22
+ useImperativeHandle(ref, () => ({
23
+ instance() {
24
+ return baseRef.current?.getInstance();
25
+ }
26
+ }), []);
27
+ const subscribableOptions = useMemo(() => (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "selectedRowKeys", "selectionFilter", "filterBuilder.value", "filterBuilderPopup.height", "filterBuilderPopup.position", "filterBuilderPopup.visible", "filterBuilderPopup.width", "filterPanel.filterEnabled", "editing.form.formData", "editing.popup.height", "editing.popup.position", "editing.popup.visible", "editing.popup.width", "searchPanel.text"]), []);
28
+ const independentEvents = useMemo(() => (["onAdaptiveDetailRowPreparing", "onAIColumnRequestCreating", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"]), []);
29
+ const defaults = useMemo(() => ({
30
+ defaultColumns: "columns",
31
+ defaultEditing: "editing",
32
+ defaultFilterValue: "filterValue",
33
+ defaultFocusedColumnIndex: "focusedColumnIndex",
34
+ defaultFocusedRowIndex: "focusedRowIndex",
35
+ defaultFocusedRowKey: "focusedRowKey",
36
+ defaultGroupPanel: "groupPanel",
37
+ defaultPaging: "paging",
38
+ defaultSelectedRowKeys: "selectedRowKeys",
39
+ defaultSelectionFilter: "selectionFilter",
40
+ }), []);
41
+ const expectedChildren = useMemo(() => ({
42
+ column: { optionName: "columns", isCollectionItem: true },
43
+ columnChooser: { optionName: "columnChooser", isCollectionItem: false },
44
+ columnFixing: { optionName: "columnFixing", isCollectionItem: false },
45
+ dataGridHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
46
+ dataGridSelection: { optionName: "selection", isCollectionItem: false },
47
+ editing: { optionName: "editing", isCollectionItem: false },
48
+ export: { optionName: "export", isCollectionItem: false },
49
+ filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
50
+ filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
51
+ filterPanel: { optionName: "filterPanel", isCollectionItem: false },
52
+ filterRow: { optionName: "filterRow", isCollectionItem: false },
53
+ grouping: { optionName: "grouping", isCollectionItem: false },
54
+ groupPanel: { optionName: "groupPanel", isCollectionItem: false },
55
+ headerFilter: { optionName: "headerFilter", isCollectionItem: false },
56
+ keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
57
+ loadPanel: { optionName: "loadPanel", isCollectionItem: false },
58
+ masterDetail: { optionName: "masterDetail", isCollectionItem: false },
59
+ pager: { optionName: "pager", isCollectionItem: false },
60
+ paging: { optionName: "paging", isCollectionItem: false },
61
+ remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
62
+ rowDragging: { optionName: "rowDragging", isCollectionItem: false },
63
+ scrolling: { optionName: "scrolling", isCollectionItem: false },
64
+ searchPanel: { optionName: "searchPanel", isCollectionItem: false },
65
+ selection: { optionName: "selection", isCollectionItem: false },
66
+ sortByGroupSummaryInfo: { optionName: "sortByGroupSummaryInfo", isCollectionItem: true },
67
+ sorting: { optionName: "sorting", isCollectionItem: false },
68
+ stateStoring: { optionName: "stateStoring", isCollectionItem: false },
69
+ summary: { optionName: "summary", isCollectionItem: false },
70
+ toolbar: { optionName: "toolbar", isCollectionItem: false }
71
+ }), []);
72
+ const templateProps = useMemo(() => ([
73
+ {
74
+ tmplOption: "dataRowTemplate",
75
+ render: "dataRowRender",
76
+ component: "dataRowComponent"
77
+ },
78
+ {
79
+ tmplOption: "rowTemplate",
80
+ render: "rowRender",
81
+ component: "rowComponent"
82
+ },
83
+ ]), []);
84
+ return (React.createElement((BaseComponent), {
85
+ WidgetClass: dxDataGrid,
86
+ ref: baseRef,
87
+ useRequestAnimationFrameFlag: true,
88
+ subscribableOptions,
89
+ independentEvents,
90
+ defaults,
91
+ expectedChildren,
92
+ templateProps,
93
+ ...props,
94
+ }));
95
+ }));
96
+ const _componentAI = (props) => {
97
+ return React.createElement((NestedOption), {
98
+ ...props,
99
+ elementDescriptor: {
100
+ OptionName: "ai",
101
+ ExpectedChildren: {
102
+ editorOptions: { optionName: "editorOptions", isCollectionItem: false }
103
+ },
104
+ },
105
+ });
106
+ };
107
+ const AI = Object.assign(_componentAI, {
108
+ componentType: "option",
109
+ });
110
+ const _componentAIOptions = (props) => {
111
+ return React.createElement((NestedOption), {
112
+ ...props,
113
+ elementDescriptor: {
114
+ OptionName: "aiOptions",
115
+ },
116
+ });
117
+ };
118
+ const AIOptions = Object.assign(_componentAIOptions, {
119
+ componentType: "option",
120
+ });
121
+ const _componentAnimation = (props) => {
122
+ return React.createElement((NestedOption), {
123
+ ...props,
124
+ elementDescriptor: {
125
+ OptionName: "animation",
126
+ ExpectedChildren: {
127
+ hide: { optionName: "hide", isCollectionItem: false },
128
+ show: { optionName: "show", isCollectionItem: false }
129
+ },
130
+ },
131
+ });
132
+ };
133
+ const Animation = Object.assign(_componentAnimation, {
134
+ componentType: "option",
135
+ });
136
+ const _componentAsyncRule = (props) => {
137
+ return React.createElement((NestedOption), {
138
+ ...props,
139
+ elementDescriptor: {
140
+ OptionName: "validationRules",
141
+ IsCollectionItem: true,
142
+ PredefinedProps: {
143
+ type: "async"
144
+ },
145
+ },
146
+ });
147
+ };
148
+ const AsyncRule = Object.assign(_componentAsyncRule, {
149
+ componentType: "option",
150
+ });
151
+ const _componentAt = (props) => {
152
+ return React.createElement((NestedOption), {
153
+ ...props,
154
+ elementDescriptor: {
155
+ OptionName: "at",
156
+ },
157
+ });
158
+ };
159
+ const At = Object.assign(_componentAt, {
160
+ componentType: "option",
161
+ });
162
+ const _componentBoundaryOffset = (props) => {
163
+ return React.createElement((NestedOption), {
164
+ ...props,
165
+ elementDescriptor: {
166
+ OptionName: "boundaryOffset",
167
+ },
168
+ });
169
+ };
170
+ const BoundaryOffset = Object.assign(_componentBoundaryOffset, {
171
+ componentType: "option",
172
+ });
173
+ const _componentButton = (props) => {
174
+ return React.createElement((NestedOption), {
175
+ ...props,
176
+ elementDescriptor: {
177
+ OptionName: "buttons",
178
+ IsCollectionItem: true,
179
+ ExpectedChildren: {
180
+ options: { optionName: "options", isCollectionItem: false }
181
+ },
182
+ TemplateProps: [{
183
+ tmplOption: "template",
184
+ render: "render",
185
+ component: "component"
186
+ }],
187
+ },
188
+ });
189
+ };
190
+ const Button = Object.assign(_componentButton, {
191
+ componentType: "option",
192
+ });
193
+ const _componentChange = (props) => {
194
+ return React.createElement((NestedOption), {
195
+ ...props,
196
+ elementDescriptor: {
197
+ OptionName: "changes",
198
+ IsCollectionItem: true,
199
+ },
200
+ });
201
+ };
202
+ const Change = Object.assign(_componentChange, {
203
+ componentType: "option",
204
+ });
205
+ const _componentColCountByScreen = (props) => {
206
+ return React.createElement((NestedOption), {
207
+ ...props,
208
+ elementDescriptor: {
209
+ OptionName: "colCountByScreen",
210
+ },
211
+ });
212
+ };
213
+ const ColCountByScreen = Object.assign(_componentColCountByScreen, {
214
+ componentType: "option",
215
+ });
216
+ const _componentCollision = (props) => {
217
+ return React.createElement((NestedOption), {
218
+ ...props,
219
+ elementDescriptor: {
220
+ OptionName: "collision",
221
+ },
222
+ });
223
+ };
224
+ const Collision = Object.assign(_componentCollision, {
225
+ componentType: "option",
226
+ });
227
+ const _componentColumn = (props) => {
228
+ return React.createElement((NestedOption), {
229
+ ...props,
230
+ elementDescriptor: {
231
+ OptionName: "columns",
232
+ IsCollectionItem: true,
233
+ DefaultsProps: {
234
+ defaultFilterValue: "filterValue",
235
+ defaultFilterValues: "filterValues",
236
+ defaultGroupIndex: "groupIndex",
237
+ defaultSelectedFilterOperation: "selectedFilterOperation",
238
+ defaultSortIndex: "sortIndex",
239
+ defaultSortOrder: "sortOrder",
240
+ defaultVisible: "visible",
241
+ defaultVisibleIndex: "visibleIndex"
242
+ },
243
+ ExpectedChildren: {
244
+ ai: { optionName: "ai", isCollectionItem: false },
245
+ AsyncRule: { optionName: "validationRules", isCollectionItem: true },
246
+ button: { optionName: "buttons", isCollectionItem: true },
247
+ columnButton: { optionName: "buttons", isCollectionItem: true },
248
+ columnHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
249
+ columnLookup: { optionName: "lookup", isCollectionItem: false },
250
+ CompareRule: { optionName: "validationRules", isCollectionItem: true },
251
+ CustomRule: { optionName: "validationRules", isCollectionItem: true },
252
+ EmailRule: { optionName: "validationRules", isCollectionItem: true },
253
+ format: { optionName: "format", isCollectionItem: false },
254
+ formItem: { optionName: "formItem", isCollectionItem: false },
255
+ headerFilter: { optionName: "headerFilter", isCollectionItem: false },
256
+ lookup: { optionName: "lookup", isCollectionItem: false },
257
+ NumericRule: { optionName: "validationRules", isCollectionItem: true },
258
+ PatternRule: { optionName: "validationRules", isCollectionItem: true },
259
+ RangeRule: { optionName: "validationRules", isCollectionItem: true },
260
+ RequiredRule: { optionName: "validationRules", isCollectionItem: true },
261
+ StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
262
+ validationRule: { optionName: "validationRules", isCollectionItem: true }
263
+ },
264
+ TemplateProps: [{
265
+ tmplOption: "cellTemplate",
266
+ render: "cellRender",
267
+ component: "cellComponent"
268
+ }, {
269
+ tmplOption: "editCellTemplate",
270
+ render: "editCellRender",
271
+ component: "editCellComponent"
272
+ }, {
273
+ tmplOption: "groupCellTemplate",
274
+ render: "groupCellRender",
275
+ component: "groupCellComponent"
276
+ }, {
277
+ tmplOption: "headerCellTemplate",
278
+ render: "headerCellRender",
279
+ component: "headerCellComponent"
280
+ }],
281
+ },
282
+ });
283
+ };
284
+ const Column = Object.assign(_componentColumn, {
285
+ componentType: "option",
286
+ });
287
+ const _componentColumnButton = (props) => {
288
+ return React.createElement((NestedOption), {
289
+ ...props,
290
+ elementDescriptor: {
291
+ OptionName: "buttons",
292
+ IsCollectionItem: true,
293
+ TemplateProps: [{
294
+ tmplOption: "template",
295
+ render: "render",
296
+ component: "component"
297
+ }],
298
+ },
299
+ });
300
+ };
301
+ const ColumnButton = Object.assign(_componentColumnButton, {
302
+ componentType: "option",
303
+ });
304
+ const _componentColumnChooser = (props) => {
305
+ return React.createElement((NestedOption), {
306
+ ...props,
307
+ elementDescriptor: {
308
+ OptionName: "columnChooser",
309
+ ExpectedChildren: {
310
+ columnChooserSearch: { optionName: "search", isCollectionItem: false },
311
+ columnChooserSelection: { optionName: "selection", isCollectionItem: false },
312
+ position: { optionName: "position", isCollectionItem: false },
313
+ search: { optionName: "search", isCollectionItem: false },
314
+ selection: { optionName: "selection", isCollectionItem: false }
315
+ },
316
+ },
317
+ });
318
+ };
319
+ const ColumnChooser = Object.assign(_componentColumnChooser, {
320
+ componentType: "option",
321
+ });
322
+ const _componentColumnChooserSearch = (props) => {
323
+ return React.createElement((NestedOption), {
324
+ ...props,
325
+ elementDescriptor: {
326
+ OptionName: "search",
327
+ },
328
+ });
329
+ };
330
+ const ColumnChooserSearch = Object.assign(_componentColumnChooserSearch, {
331
+ componentType: "option",
332
+ });
333
+ const _componentColumnChooserSelection = (props) => {
334
+ return React.createElement((NestedOption), {
335
+ ...props,
336
+ elementDescriptor: {
337
+ OptionName: "selection",
338
+ },
339
+ });
340
+ };
341
+ const ColumnChooserSelection = Object.assign(_componentColumnChooserSelection, {
342
+ componentType: "option",
343
+ });
344
+ const _componentColumnFixing = (props) => {
345
+ return React.createElement((NestedOption), {
346
+ ...props,
347
+ elementDescriptor: {
348
+ OptionName: "columnFixing",
349
+ ExpectedChildren: {
350
+ columnFixingTexts: { optionName: "texts", isCollectionItem: false },
351
+ icons: { optionName: "icons", isCollectionItem: false },
352
+ texts: { optionName: "texts", isCollectionItem: false }
353
+ },
354
+ },
355
+ });
356
+ };
357
+ const ColumnFixing = Object.assign(_componentColumnFixing, {
358
+ componentType: "option",
359
+ });
360
+ const _componentColumnFixingTexts = (props) => {
361
+ return React.createElement((NestedOption), {
362
+ ...props,
363
+ elementDescriptor: {
364
+ OptionName: "texts",
365
+ },
366
+ });
367
+ };
368
+ const ColumnFixingTexts = Object.assign(_componentColumnFixingTexts, {
369
+ componentType: "option",
370
+ });
371
+ const _componentColumnHeaderFilter = (props) => {
372
+ return React.createElement((NestedOption), {
373
+ ...props,
374
+ elementDescriptor: {
375
+ OptionName: "headerFilter",
376
+ ExpectedChildren: {
377
+ columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
378
+ search: { optionName: "search", isCollectionItem: false }
379
+ },
380
+ },
381
+ });
382
+ };
383
+ const ColumnHeaderFilter = Object.assign(_componentColumnHeaderFilter, {
384
+ componentType: "option",
385
+ });
386
+ const _componentColumnHeaderFilterSearch = (props) => {
387
+ return React.createElement((NestedOption), {
388
+ ...props,
389
+ elementDescriptor: {
390
+ OptionName: "search",
391
+ },
392
+ });
393
+ };
394
+ const ColumnHeaderFilterSearch = Object.assign(_componentColumnHeaderFilterSearch, {
395
+ componentType: "option",
396
+ });
397
+ const _componentColumnLookup = (props) => {
398
+ return React.createElement((NestedOption), {
399
+ ...props,
400
+ elementDescriptor: {
401
+ OptionName: "lookup",
402
+ },
403
+ });
404
+ };
405
+ const ColumnLookup = Object.assign(_componentColumnLookup, {
406
+ componentType: "option",
407
+ });
408
+ const _componentCompareRule = (props) => {
409
+ return React.createElement((NestedOption), {
410
+ ...props,
411
+ elementDescriptor: {
412
+ OptionName: "validationRules",
413
+ IsCollectionItem: true,
414
+ PredefinedProps: {
415
+ type: "compare"
416
+ },
417
+ },
418
+ });
419
+ };
420
+ const CompareRule = Object.assign(_componentCompareRule, {
421
+ componentType: "option",
422
+ });
423
+ const _componentCursorOffset = (props) => {
424
+ return React.createElement((NestedOption), {
425
+ ...props,
426
+ elementDescriptor: {
427
+ OptionName: "cursorOffset",
428
+ },
429
+ });
430
+ };
431
+ const CursorOffset = Object.assign(_componentCursorOffset, {
432
+ componentType: "option",
433
+ });
434
+ const _componentCustomOperation = (props) => {
435
+ return React.createElement((NestedOption), {
436
+ ...props,
437
+ elementDescriptor: {
438
+ OptionName: "customOperations",
439
+ IsCollectionItem: true,
440
+ TemplateProps: [{
441
+ tmplOption: "editorTemplate",
442
+ render: "editorRender",
443
+ component: "editorComponent"
444
+ }],
445
+ },
446
+ });
447
+ };
448
+ const CustomOperation = Object.assign(_componentCustomOperation, {
449
+ componentType: "option",
450
+ });
451
+ const _componentCustomRule = (props) => {
452
+ return React.createElement((NestedOption), {
453
+ ...props,
454
+ elementDescriptor: {
455
+ OptionName: "validationRules",
456
+ IsCollectionItem: true,
457
+ PredefinedProps: {
458
+ type: "custom"
459
+ },
460
+ },
461
+ });
462
+ };
463
+ const CustomRule = Object.assign(_componentCustomRule, {
464
+ componentType: "option",
465
+ });
466
+ const _componentDataGridHeaderFilter = (props) => {
467
+ return React.createElement((NestedOption), {
468
+ ...props,
469
+ elementDescriptor: {
470
+ OptionName: "headerFilter",
471
+ ExpectedChildren: {
472
+ dataGridHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
473
+ dataGridHeaderFilterTexts: { optionName: "texts", isCollectionItem: false },
474
+ search: { optionName: "search", isCollectionItem: false },
475
+ texts: { optionName: "texts", isCollectionItem: false }
476
+ },
477
+ },
478
+ });
479
+ };
480
+ const DataGridHeaderFilter = Object.assign(_componentDataGridHeaderFilter, {
481
+ componentType: "option",
482
+ });
483
+ const _componentDataGridHeaderFilterSearch = (props) => {
484
+ return React.createElement((NestedOption), {
485
+ ...props,
486
+ elementDescriptor: {
487
+ OptionName: "search",
488
+ },
489
+ });
490
+ };
491
+ const DataGridHeaderFilterSearch = Object.assign(_componentDataGridHeaderFilterSearch, {
492
+ componentType: "option",
493
+ });
494
+ const _componentDataGridHeaderFilterTexts = (props) => {
495
+ return React.createElement((NestedOption), {
496
+ ...props,
497
+ elementDescriptor: {
498
+ OptionName: "texts",
499
+ },
500
+ });
501
+ };
502
+ const DataGridHeaderFilterTexts = Object.assign(_componentDataGridHeaderFilterTexts, {
503
+ componentType: "option",
504
+ });
505
+ const _componentDataGridSelection = (props) => {
506
+ return React.createElement((NestedOption), {
507
+ ...props,
508
+ elementDescriptor: {
509
+ OptionName: "selection",
510
+ },
511
+ });
512
+ };
513
+ const DataGridSelection = Object.assign(_componentDataGridSelection, {
514
+ componentType: "option",
515
+ });
516
+ const _componentEditing = (props) => {
517
+ return React.createElement((NestedOption), {
518
+ ...props,
519
+ elementDescriptor: {
520
+ OptionName: "editing",
521
+ DefaultsProps: {
522
+ defaultChanges: "changes",
523
+ defaultEditColumnName: "editColumnName",
524
+ defaultEditRowKey: "editRowKey"
525
+ },
526
+ ExpectedChildren: {
527
+ change: { optionName: "changes", isCollectionItem: true },
528
+ editingTexts: { optionName: "texts", isCollectionItem: false },
529
+ form: { optionName: "form", isCollectionItem: false },
530
+ popup: { optionName: "popup", isCollectionItem: false },
531
+ texts: { optionName: "texts", isCollectionItem: false }
532
+ },
533
+ },
534
+ });
535
+ };
536
+ const Editing = Object.assign(_componentEditing, {
537
+ componentType: "option",
538
+ });
539
+ const _componentEditingTexts = (props) => {
540
+ return React.createElement((NestedOption), {
541
+ ...props,
542
+ elementDescriptor: {
543
+ OptionName: "texts",
544
+ },
545
+ });
546
+ };
547
+ const EditingTexts = Object.assign(_componentEditingTexts, {
548
+ componentType: "option",
549
+ });
550
+ const _componentEditorOptions = (props) => {
551
+ return React.createElement((NestedOption), {
552
+ ...props,
553
+ elementDescriptor: {
554
+ OptionName: "editorOptions",
555
+ DefaultsProps: {
556
+ defaultValue: "value"
557
+ },
558
+ ExpectedChildren: {
559
+ button: { optionName: "buttons", isCollectionItem: true },
560
+ editorOptionsButton: { optionName: "buttons", isCollectionItem: true }
561
+ },
562
+ },
563
+ });
564
+ };
565
+ const EditorOptions = Object.assign(_componentEditorOptions, {
566
+ componentType: "option",
567
+ });
568
+ const _componentEditorOptionsButton = (props) => {
569
+ return React.createElement((NestedOption), {
570
+ ...props,
571
+ elementDescriptor: {
572
+ OptionName: "buttons",
573
+ IsCollectionItem: true,
574
+ ExpectedChildren: {
575
+ options: { optionName: "options", isCollectionItem: false }
576
+ },
577
+ },
578
+ });
579
+ };
580
+ const EditorOptionsButton = Object.assign(_componentEditorOptionsButton, {
581
+ componentType: "option",
582
+ });
583
+ const _componentEmailRule = (props) => {
584
+ return React.createElement((NestedOption), {
585
+ ...props,
586
+ elementDescriptor: {
587
+ OptionName: "validationRules",
588
+ IsCollectionItem: true,
589
+ PredefinedProps: {
590
+ type: "email"
591
+ },
592
+ },
593
+ });
594
+ };
595
+ const EmailRule = Object.assign(_componentEmailRule, {
596
+ componentType: "option",
597
+ });
598
+ const _componentExport = (props) => {
599
+ return React.createElement((NestedOption), {
600
+ ...props,
601
+ elementDescriptor: {
602
+ OptionName: "export",
603
+ ExpectedChildren: {
604
+ exportTexts: { optionName: "texts", isCollectionItem: false },
605
+ texts: { optionName: "texts", isCollectionItem: false }
606
+ },
607
+ },
608
+ });
609
+ };
610
+ const Export = Object.assign(_componentExport, {
611
+ componentType: "option",
612
+ });
613
+ const _componentExportTexts = (props) => {
614
+ return React.createElement((NestedOption), {
615
+ ...props,
616
+ elementDescriptor: {
617
+ OptionName: "texts",
618
+ },
619
+ });
620
+ };
621
+ const ExportTexts = Object.assign(_componentExportTexts, {
622
+ componentType: "option",
623
+ });
624
+ const _componentField = (props) => {
625
+ return React.createElement((NestedOption), {
626
+ ...props,
627
+ elementDescriptor: {
628
+ OptionName: "fields",
629
+ IsCollectionItem: true,
630
+ ExpectedChildren: {
631
+ fieldLookup: { optionName: "lookup", isCollectionItem: false },
632
+ format: { optionName: "format", isCollectionItem: false },
633
+ lookup: { optionName: "lookup", isCollectionItem: false }
634
+ },
635
+ TemplateProps: [{
636
+ tmplOption: "editorTemplate",
637
+ render: "editorRender",
638
+ component: "editorComponent"
639
+ }],
640
+ },
641
+ });
642
+ };
643
+ const Field = Object.assign(_componentField, {
644
+ componentType: "option",
645
+ });
646
+ const _componentFieldLookup = (props) => {
647
+ return React.createElement((NestedOption), {
648
+ ...props,
649
+ elementDescriptor: {
650
+ OptionName: "lookup",
651
+ },
652
+ });
653
+ };
654
+ const FieldLookup = Object.assign(_componentFieldLookup, {
655
+ componentType: "option",
656
+ });
657
+ const _componentFilterBuilder = (props) => {
658
+ return React.createElement((NestedOption), {
659
+ ...props,
660
+ elementDescriptor: {
661
+ OptionName: "filterBuilder",
662
+ DefaultsProps: {
663
+ defaultValue: "value"
664
+ },
665
+ ExpectedChildren: {
666
+ customOperation: { optionName: "customOperations", isCollectionItem: true },
667
+ field: { optionName: "fields", isCollectionItem: true },
668
+ filterOperationDescriptions: { optionName: "filterOperationDescriptions", isCollectionItem: false },
669
+ groupOperationDescriptions: { optionName: "groupOperationDescriptions", isCollectionItem: false }
670
+ },
671
+ },
672
+ });
673
+ };
674
+ const FilterBuilder = Object.assign(_componentFilterBuilder, {
675
+ componentType: "option",
676
+ });
677
+ const _componentFilterBuilderPopup = (props) => {
678
+ return React.createElement((NestedOption), {
679
+ ...props,
680
+ elementDescriptor: {
681
+ OptionName: "filterBuilderPopup",
682
+ DefaultsProps: {
683
+ defaultHeight: "height",
684
+ defaultPosition: "position",
685
+ defaultVisible: "visible",
686
+ defaultWidth: "width"
687
+ },
688
+ ExpectedChildren: {
689
+ animation: { optionName: "animation", isCollectionItem: false },
690
+ position: { optionName: "position", isCollectionItem: false },
691
+ toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
692
+ },
693
+ TemplateProps: [{
694
+ tmplOption: "contentTemplate",
695
+ render: "contentRender",
696
+ component: "contentComponent"
697
+ }, {
698
+ tmplOption: "titleTemplate",
699
+ render: "titleRender",
700
+ component: "titleComponent"
701
+ }],
702
+ },
703
+ });
704
+ };
705
+ const FilterBuilderPopup = Object.assign(_componentFilterBuilderPopup, {
706
+ componentType: "option",
707
+ });
708
+ const _componentFilterOperationDescriptions = (props) => {
709
+ return React.createElement((NestedOption), {
710
+ ...props,
711
+ elementDescriptor: {
712
+ OptionName: "filterOperationDescriptions",
713
+ },
714
+ });
715
+ };
716
+ const FilterOperationDescriptions = Object.assign(_componentFilterOperationDescriptions, {
717
+ componentType: "option",
718
+ });
719
+ const _componentFilterPanel = (props) => {
720
+ return React.createElement((NestedOption), {
721
+ ...props,
722
+ elementDescriptor: {
723
+ OptionName: "filterPanel",
724
+ DefaultsProps: {
725
+ defaultFilterEnabled: "filterEnabled"
726
+ },
727
+ ExpectedChildren: {
728
+ filterPanelTexts: { optionName: "texts", isCollectionItem: false },
729
+ texts: { optionName: "texts", isCollectionItem: false }
730
+ },
731
+ },
732
+ });
733
+ };
734
+ const FilterPanel = Object.assign(_componentFilterPanel, {
735
+ componentType: "option",
736
+ });
737
+ const _componentFilterPanelTexts = (props) => {
738
+ return React.createElement((NestedOption), {
739
+ ...props,
740
+ elementDescriptor: {
741
+ OptionName: "texts",
742
+ },
743
+ });
744
+ };
745
+ const FilterPanelTexts = Object.assign(_componentFilterPanelTexts, {
746
+ componentType: "option",
747
+ });
748
+ const _componentFilterRow = (props) => {
749
+ return React.createElement((NestedOption), {
750
+ ...props,
751
+ elementDescriptor: {
752
+ OptionName: "filterRow",
753
+ ExpectedChildren: {
754
+ operationDescriptions: { optionName: "operationDescriptions", isCollectionItem: false }
755
+ },
756
+ },
757
+ });
758
+ };
759
+ const FilterRow = Object.assign(_componentFilterRow, {
760
+ componentType: "option",
761
+ });
762
+ const _componentForm = (props) => {
763
+ return React.createElement((NestedOption), {
764
+ ...props,
765
+ elementDescriptor: {
766
+ OptionName: "form",
767
+ DefaultsProps: {
768
+ defaultFormData: "formData"
769
+ },
770
+ ExpectedChildren: {
771
+ colCountByScreen: { optionName: "colCountByScreen", isCollectionItem: false }
772
+ },
773
+ },
774
+ });
775
+ };
776
+ const Form = Object.assign(_componentForm, {
777
+ componentType: "option",
778
+ });
779
+ const _componentFormat = (props) => {
780
+ return React.createElement((NestedOption), {
781
+ ...props,
782
+ elementDescriptor: {
783
+ OptionName: "format",
784
+ },
785
+ });
786
+ };
787
+ const Format = Object.assign(_componentFormat, {
788
+ componentType: "option",
789
+ });
790
+ const _componentFormItem = (props) => {
791
+ return React.createElement((NestedOption), {
792
+ ...props,
793
+ elementDescriptor: {
794
+ OptionName: "formItem",
795
+ ExpectedChildren: {
796
+ aiOptions: { optionName: "aiOptions", isCollectionItem: false },
797
+ AsyncRule: { optionName: "validationRules", isCollectionItem: true },
798
+ CompareRule: { optionName: "validationRules", isCollectionItem: true },
799
+ CustomRule: { optionName: "validationRules", isCollectionItem: true },
800
+ EmailRule: { optionName: "validationRules", isCollectionItem: true },
801
+ label: { optionName: "label", isCollectionItem: false },
802
+ NumericRule: { optionName: "validationRules", isCollectionItem: true },
803
+ PatternRule: { optionName: "validationRules", isCollectionItem: true },
804
+ RangeRule: { optionName: "validationRules", isCollectionItem: true },
805
+ RequiredRule: { optionName: "validationRules", isCollectionItem: true },
806
+ StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
807
+ validationRule: { optionName: "validationRules", isCollectionItem: true }
808
+ },
809
+ TemplateProps: [{
810
+ tmplOption: "template",
811
+ render: "render",
812
+ component: "component"
813
+ }],
814
+ },
815
+ });
816
+ };
817
+ const FormItem = Object.assign(_componentFormItem, {
818
+ componentType: "option",
819
+ });
820
+ const _componentFrom = (props) => {
821
+ return React.createElement((NestedOption), {
822
+ ...props,
823
+ elementDescriptor: {
824
+ OptionName: "from",
825
+ ExpectedChildren: {
826
+ position: { optionName: "position", isCollectionItem: false }
827
+ },
828
+ },
829
+ });
830
+ };
831
+ const From = Object.assign(_componentFrom, {
832
+ componentType: "option",
833
+ });
834
+ const _componentGrouping = (props) => {
835
+ return React.createElement((NestedOption), {
836
+ ...props,
837
+ elementDescriptor: {
838
+ OptionName: "grouping",
839
+ ExpectedChildren: {
840
+ groupingTexts: { optionName: "texts", isCollectionItem: false },
841
+ texts: { optionName: "texts", isCollectionItem: false }
842
+ },
843
+ },
844
+ });
845
+ };
846
+ const Grouping = Object.assign(_componentGrouping, {
847
+ componentType: "option",
848
+ });
849
+ const _componentGroupingTexts = (props) => {
850
+ return React.createElement((NestedOption), {
851
+ ...props,
852
+ elementDescriptor: {
853
+ OptionName: "texts",
854
+ },
855
+ });
856
+ };
857
+ const GroupingTexts = Object.assign(_componentGroupingTexts, {
858
+ componentType: "option",
859
+ });
860
+ const _componentGroupItem = (props) => {
861
+ return React.createElement((NestedOption), {
862
+ ...props,
863
+ elementDescriptor: {
864
+ OptionName: "groupItems",
865
+ IsCollectionItem: true,
866
+ ExpectedChildren: {
867
+ valueFormat: { optionName: "valueFormat", isCollectionItem: false }
868
+ },
869
+ },
870
+ });
871
+ };
872
+ const GroupItem = Object.assign(_componentGroupItem, {
873
+ componentType: "option",
874
+ });
875
+ const _componentGroupOperationDescriptions = (props) => {
876
+ return React.createElement((NestedOption), {
877
+ ...props,
878
+ elementDescriptor: {
879
+ OptionName: "groupOperationDescriptions",
880
+ },
881
+ });
882
+ };
883
+ const GroupOperationDescriptions = Object.assign(_componentGroupOperationDescriptions, {
884
+ componentType: "option",
885
+ });
886
+ const _componentGroupPanel = (props) => {
887
+ return React.createElement((NestedOption), {
888
+ ...props,
889
+ elementDescriptor: {
890
+ OptionName: "groupPanel",
891
+ DefaultsProps: {
892
+ defaultVisible: "visible"
893
+ },
894
+ },
895
+ });
896
+ };
897
+ const GroupPanel = Object.assign(_componentGroupPanel, {
898
+ componentType: "option",
899
+ });
900
+ const _componentHeaderFilter = (props) => {
901
+ return React.createElement((NestedOption), {
902
+ ...props,
903
+ elementDescriptor: {
904
+ OptionName: "headerFilter",
905
+ ExpectedChildren: {
906
+ columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
907
+ dataGridHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
908
+ dataGridHeaderFilterTexts: { optionName: "texts", isCollectionItem: false }
909
+ },
910
+ },
911
+ });
912
+ };
913
+ const HeaderFilter = Object.assign(_componentHeaderFilter, {
914
+ componentType: "option",
915
+ });
916
+ const _componentHide = (props) => {
917
+ return React.createElement((NestedOption), {
918
+ ...props,
919
+ elementDescriptor: {
920
+ OptionName: "hide",
921
+ ExpectedChildren: {
922
+ from: { optionName: "from", isCollectionItem: false },
923
+ to: { optionName: "to", isCollectionItem: false }
924
+ },
925
+ },
926
+ });
927
+ };
928
+ const Hide = Object.assign(_componentHide, {
929
+ componentType: "option",
930
+ });
931
+ const _componentIcons = (props) => {
932
+ return React.createElement((NestedOption), {
933
+ ...props,
934
+ elementDescriptor: {
935
+ OptionName: "icons",
936
+ },
937
+ });
938
+ };
939
+ const Icons = Object.assign(_componentIcons, {
940
+ componentType: "option",
941
+ });
942
+ const _componentIndicatorOptions = (props) => {
943
+ return React.createElement((NestedOption), {
944
+ ...props,
945
+ elementDescriptor: {
946
+ OptionName: "indicatorOptions",
947
+ },
948
+ });
949
+ };
950
+ const IndicatorOptions = Object.assign(_componentIndicatorOptions, {
951
+ componentType: "option",
952
+ });
953
+ const _componentItem = (props) => {
954
+ return React.createElement((NestedOption), {
955
+ ...props,
956
+ elementDescriptor: {
957
+ OptionName: "items",
958
+ IsCollectionItem: true,
959
+ TemplateProps: [{
960
+ tmplOption: "menuItemTemplate",
961
+ render: "menuItemRender",
962
+ component: "menuItemComponent"
963
+ }, {
964
+ tmplOption: "template",
965
+ render: "render",
966
+ component: "component"
967
+ }],
968
+ },
969
+ });
970
+ };
971
+ const Item = Object.assign(_componentItem, {
972
+ componentType: "option",
973
+ });
974
+ const _componentKeyboardNavigation = (props) => {
975
+ return React.createElement((NestedOption), {
976
+ ...props,
977
+ elementDescriptor: {
978
+ OptionName: "keyboardNavigation",
979
+ },
980
+ });
981
+ };
982
+ const KeyboardNavigation = Object.assign(_componentKeyboardNavigation, {
983
+ componentType: "option",
984
+ });
985
+ const _componentLabel = (props) => {
986
+ return React.createElement((NestedOption), {
987
+ ...props,
988
+ elementDescriptor: {
989
+ OptionName: "label",
990
+ TemplateProps: [{
991
+ tmplOption: "template",
992
+ render: "render",
993
+ component: "component"
994
+ }],
995
+ },
996
+ });
997
+ };
998
+ const Label = Object.assign(_componentLabel, {
999
+ componentType: "option",
1000
+ });
1001
+ const _componentLoadPanel = (props) => {
1002
+ return React.createElement((NestedOption), {
1003
+ ...props,
1004
+ elementDescriptor: {
1005
+ OptionName: "loadPanel",
1006
+ ExpectedChildren: {
1007
+ indicatorOptions: { optionName: "indicatorOptions", isCollectionItem: false }
1008
+ },
1009
+ },
1010
+ });
1011
+ };
1012
+ const LoadPanel = Object.assign(_componentLoadPanel, {
1013
+ componentType: "option",
1014
+ });
1015
+ const _componentLookup = (props) => {
1016
+ return React.createElement((NestedOption), {
1017
+ ...props,
1018
+ elementDescriptor: {
1019
+ OptionName: "lookup",
1020
+ },
1021
+ });
1022
+ };
1023
+ const Lookup = Object.assign(_componentLookup, {
1024
+ componentType: "option",
1025
+ });
1026
+ const _componentMasterDetail = (props) => {
1027
+ return React.createElement((NestedOption), {
1028
+ ...props,
1029
+ elementDescriptor: {
1030
+ OptionName: "masterDetail",
1031
+ TemplateProps: [{
1032
+ tmplOption: "template",
1033
+ render: "render",
1034
+ component: "component"
1035
+ }],
1036
+ },
1037
+ });
1038
+ };
1039
+ const MasterDetail = Object.assign(_componentMasterDetail, {
1040
+ componentType: "option",
1041
+ });
1042
+ const _componentMy = (props) => {
1043
+ return React.createElement((NestedOption), {
1044
+ ...props,
1045
+ elementDescriptor: {
1046
+ OptionName: "my",
1047
+ },
1048
+ });
1049
+ };
1050
+ const My = Object.assign(_componentMy, {
1051
+ componentType: "option",
1052
+ });
1053
+ const _componentNumericRule = (props) => {
1054
+ return React.createElement((NestedOption), {
1055
+ ...props,
1056
+ elementDescriptor: {
1057
+ OptionName: "validationRules",
1058
+ IsCollectionItem: true,
1059
+ PredefinedProps: {
1060
+ type: "numeric"
1061
+ },
1062
+ },
1063
+ });
1064
+ };
1065
+ const NumericRule = Object.assign(_componentNumericRule, {
1066
+ componentType: "option",
1067
+ });
1068
+ const _componentOffset = (props) => {
1069
+ return React.createElement((NestedOption), {
1070
+ ...props,
1071
+ elementDescriptor: {
1072
+ OptionName: "offset",
1073
+ },
1074
+ });
1075
+ };
1076
+ const Offset = Object.assign(_componentOffset, {
1077
+ componentType: "option",
1078
+ });
1079
+ const _componentOperationDescriptions = (props) => {
1080
+ return React.createElement((NestedOption), {
1081
+ ...props,
1082
+ elementDescriptor: {
1083
+ OptionName: "operationDescriptions",
1084
+ },
1085
+ });
1086
+ };
1087
+ const OperationDescriptions = Object.assign(_componentOperationDescriptions, {
1088
+ componentType: "option",
1089
+ });
1090
+ const _componentOptions = (props) => {
1091
+ return React.createElement((NestedOption), {
1092
+ ...props,
1093
+ elementDescriptor: {
1094
+ OptionName: "options",
1095
+ TemplateProps: [{
1096
+ tmplOption: "template",
1097
+ render: "render",
1098
+ component: "component"
1099
+ }],
1100
+ },
1101
+ });
1102
+ };
1103
+ const Options = Object.assign(_componentOptions, {
1104
+ componentType: "option",
1105
+ });
1106
+ const _componentPager = (props) => {
1107
+ return React.createElement((NestedOption), {
1108
+ ...props,
1109
+ elementDescriptor: {
1110
+ OptionName: "pager",
1111
+ },
1112
+ });
1113
+ };
1114
+ const Pager = Object.assign(_componentPager, {
1115
+ componentType: "option",
1116
+ });
1117
+ const _componentPaging = (props) => {
1118
+ return React.createElement((NestedOption), {
1119
+ ...props,
1120
+ elementDescriptor: {
1121
+ OptionName: "paging",
1122
+ DefaultsProps: {
1123
+ defaultPageIndex: "pageIndex",
1124
+ defaultPageSize: "pageSize"
1125
+ },
1126
+ },
1127
+ });
1128
+ };
1129
+ const Paging = Object.assign(_componentPaging, {
1130
+ componentType: "option",
1131
+ });
1132
+ const _componentPatternRule = (props) => {
1133
+ return React.createElement((NestedOption), {
1134
+ ...props,
1135
+ elementDescriptor: {
1136
+ OptionName: "validationRules",
1137
+ IsCollectionItem: true,
1138
+ PredefinedProps: {
1139
+ type: "pattern"
1140
+ },
1141
+ },
1142
+ });
1143
+ };
1144
+ const PatternRule = Object.assign(_componentPatternRule, {
1145
+ componentType: "option",
1146
+ });
1147
+ const _componentPopup = (props) => {
1148
+ return React.createElement((NestedOption), {
1149
+ ...props,
1150
+ elementDescriptor: {
1151
+ OptionName: "popup",
1152
+ DefaultsProps: {
1153
+ defaultHeight: "height",
1154
+ defaultPosition: "position",
1155
+ defaultVisible: "visible",
1156
+ defaultWidth: "width"
1157
+ },
1158
+ ExpectedChildren: {
1159
+ animation: { optionName: "animation", isCollectionItem: false },
1160
+ position: { optionName: "position", isCollectionItem: false },
1161
+ toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
1162
+ },
1163
+ TemplateProps: [{
1164
+ tmplOption: "contentTemplate",
1165
+ render: "contentRender",
1166
+ component: "contentComponent"
1167
+ }, {
1168
+ tmplOption: "titleTemplate",
1169
+ render: "titleRender",
1170
+ component: "titleComponent"
1171
+ }],
1172
+ },
1173
+ });
1174
+ };
1175
+ const Popup = Object.assign(_componentPopup, {
1176
+ componentType: "option",
1177
+ });
1178
+ const _componentPosition = (props) => {
1179
+ return React.createElement((NestedOption), {
1180
+ ...props,
1181
+ elementDescriptor: {
1182
+ OptionName: "position",
1183
+ ExpectedChildren: {
1184
+ at: { optionName: "at", isCollectionItem: false },
1185
+ boundaryOffset: { optionName: "boundaryOffset", isCollectionItem: false },
1186
+ collision: { optionName: "collision", isCollectionItem: false },
1187
+ my: { optionName: "my", isCollectionItem: false },
1188
+ offset: { optionName: "offset", isCollectionItem: false }
1189
+ },
1190
+ },
1191
+ });
1192
+ };
1193
+ const Position = Object.assign(_componentPosition, {
1194
+ componentType: "option",
1195
+ });
1196
+ const _componentRangeRule = (props) => {
1197
+ return React.createElement((NestedOption), {
1198
+ ...props,
1199
+ elementDescriptor: {
1200
+ OptionName: "validationRules",
1201
+ IsCollectionItem: true,
1202
+ PredefinedProps: {
1203
+ type: "range"
1204
+ },
1205
+ },
1206
+ });
1207
+ };
1208
+ const RangeRule = Object.assign(_componentRangeRule, {
1209
+ componentType: "option",
1210
+ });
1211
+ const _componentRemoteOperations = (props) => {
1212
+ return React.createElement((NestedOption), {
1213
+ ...props,
1214
+ elementDescriptor: {
1215
+ OptionName: "remoteOperations",
1216
+ },
1217
+ });
1218
+ };
1219
+ const RemoteOperations = Object.assign(_componentRemoteOperations, {
1220
+ componentType: "option",
1221
+ });
1222
+ const _componentRequiredRule = (props) => {
1223
+ return React.createElement((NestedOption), {
1224
+ ...props,
1225
+ elementDescriptor: {
1226
+ OptionName: "validationRules",
1227
+ IsCollectionItem: true,
1228
+ PredefinedProps: {
1229
+ type: "required"
1230
+ },
1231
+ },
1232
+ });
1233
+ };
1234
+ const RequiredRule = Object.assign(_componentRequiredRule, {
1235
+ componentType: "option",
1236
+ });
1237
+ const _componentRowDragging = (props) => {
1238
+ return React.createElement((NestedOption), {
1239
+ ...props,
1240
+ elementDescriptor: {
1241
+ OptionName: "rowDragging",
1242
+ ExpectedChildren: {
1243
+ cursorOffset: { optionName: "cursorOffset", isCollectionItem: false }
1244
+ },
1245
+ TemplateProps: [{
1246
+ tmplOption: "dragTemplate",
1247
+ render: "dragRender",
1248
+ component: "dragComponent"
1249
+ }],
1250
+ },
1251
+ });
1252
+ };
1253
+ const RowDragging = Object.assign(_componentRowDragging, {
1254
+ componentType: "option",
1255
+ });
1256
+ const _componentScrolling = (props) => {
1257
+ return React.createElement((NestedOption), {
1258
+ ...props,
1259
+ elementDescriptor: {
1260
+ OptionName: "scrolling",
1261
+ },
1262
+ });
1263
+ };
1264
+ const Scrolling = Object.assign(_componentScrolling, {
1265
+ componentType: "option",
1266
+ });
1267
+ const _componentSearch = (props) => {
1268
+ return React.createElement((NestedOption), {
1269
+ ...props,
1270
+ elementDescriptor: {
1271
+ OptionName: "search",
1272
+ },
1273
+ });
1274
+ };
1275
+ const Search = Object.assign(_componentSearch, {
1276
+ componentType: "option",
1277
+ });
1278
+ const _componentSearchPanel = (props) => {
1279
+ return React.createElement((NestedOption), {
1280
+ ...props,
1281
+ elementDescriptor: {
1282
+ OptionName: "searchPanel",
1283
+ DefaultsProps: {
1284
+ defaultText: "text"
1285
+ },
1286
+ },
1287
+ });
1288
+ };
1289
+ const SearchPanel = Object.assign(_componentSearchPanel, {
1290
+ componentType: "option",
1291
+ });
1292
+ const _componentSelection = (props) => {
1293
+ return React.createElement((NestedOption), {
1294
+ ...props,
1295
+ elementDescriptor: {
1296
+ OptionName: "selection",
1297
+ },
1298
+ });
1299
+ };
1300
+ const Selection = Object.assign(_componentSelection, {
1301
+ componentType: "option",
1302
+ });
1303
+ const _componentShow = (props) => {
1304
+ return React.createElement((NestedOption), {
1305
+ ...props,
1306
+ elementDescriptor: {
1307
+ OptionName: "show",
1308
+ ExpectedChildren: {
1309
+ from: { optionName: "from", isCollectionItem: false },
1310
+ to: { optionName: "to", isCollectionItem: false }
1311
+ },
1312
+ },
1313
+ });
1314
+ };
1315
+ const Show = Object.assign(_componentShow, {
1316
+ componentType: "option",
1317
+ });
1318
+ const _componentSortByGroupSummaryInfo = (props) => {
1319
+ return React.createElement((NestedOption), {
1320
+ ...props,
1321
+ elementDescriptor: {
1322
+ OptionName: "sortByGroupSummaryInfo",
1323
+ IsCollectionItem: true,
1324
+ },
1325
+ });
1326
+ };
1327
+ const SortByGroupSummaryInfo = Object.assign(_componentSortByGroupSummaryInfo, {
1328
+ componentType: "option",
1329
+ });
1330
+ const _componentSorting = (props) => {
1331
+ return React.createElement((NestedOption), {
1332
+ ...props,
1333
+ elementDescriptor: {
1334
+ OptionName: "sorting",
1335
+ },
1336
+ });
1337
+ };
1338
+ const Sorting = Object.assign(_componentSorting, {
1339
+ componentType: "option",
1340
+ });
1341
+ const _componentStateStoring = (props) => {
1342
+ return React.createElement((NestedOption), {
1343
+ ...props,
1344
+ elementDescriptor: {
1345
+ OptionName: "stateStoring",
1346
+ },
1347
+ });
1348
+ };
1349
+ const StateStoring = Object.assign(_componentStateStoring, {
1350
+ componentType: "option",
1351
+ });
1352
+ const _componentStringLengthRule = (props) => {
1353
+ return React.createElement((NestedOption), {
1354
+ ...props,
1355
+ elementDescriptor: {
1356
+ OptionName: "validationRules",
1357
+ IsCollectionItem: true,
1358
+ PredefinedProps: {
1359
+ type: "stringLength"
1360
+ },
1361
+ },
1362
+ });
1363
+ };
1364
+ const StringLengthRule = Object.assign(_componentStringLengthRule, {
1365
+ componentType: "option",
1366
+ });
1367
+ const _componentSummary = (props) => {
1368
+ return React.createElement((NestedOption), {
1369
+ ...props,
1370
+ elementDescriptor: {
1371
+ OptionName: "summary",
1372
+ ExpectedChildren: {
1373
+ groupItem: { optionName: "groupItems", isCollectionItem: true },
1374
+ summaryTexts: { optionName: "texts", isCollectionItem: false },
1375
+ texts: { optionName: "texts", isCollectionItem: false },
1376
+ totalItem: { optionName: "totalItems", isCollectionItem: true }
1377
+ },
1378
+ },
1379
+ });
1380
+ };
1381
+ const Summary = Object.assign(_componentSummary, {
1382
+ componentType: "option",
1383
+ });
1384
+ const _componentSummaryTexts = (props) => {
1385
+ return React.createElement((NestedOption), {
1386
+ ...props,
1387
+ elementDescriptor: {
1388
+ OptionName: "texts",
1389
+ },
1390
+ });
1391
+ };
1392
+ const SummaryTexts = Object.assign(_componentSummaryTexts, {
1393
+ componentType: "option",
1394
+ });
1395
+ const _componentTexts = (props) => {
1396
+ return React.createElement((NestedOption), {
1397
+ ...props,
1398
+ elementDescriptor: {
1399
+ OptionName: "texts",
1400
+ },
1401
+ });
1402
+ };
1403
+ const Texts = Object.assign(_componentTexts, {
1404
+ componentType: "option",
1405
+ });
1406
+ const _componentTo = (props) => {
1407
+ return React.createElement((NestedOption), {
1408
+ ...props,
1409
+ elementDescriptor: {
1410
+ OptionName: "to",
1411
+ ExpectedChildren: {
1412
+ position: { optionName: "position", isCollectionItem: false }
1413
+ },
1414
+ },
1415
+ });
1416
+ };
1417
+ const To = Object.assign(_componentTo, {
1418
+ componentType: "option",
1419
+ });
1420
+ const _componentToolbar = (props) => {
1421
+ return React.createElement((NestedOption), {
1422
+ ...props,
1423
+ elementDescriptor: {
1424
+ OptionName: "toolbar",
1425
+ ExpectedChildren: {
1426
+ item: { optionName: "items", isCollectionItem: true }
1427
+ },
1428
+ },
1429
+ });
1430
+ };
1431
+ const Toolbar = Object.assign(_componentToolbar, {
1432
+ componentType: "option",
1433
+ });
1434
+ const _componentToolbarItem = (props) => {
1435
+ return React.createElement((NestedOption), {
1436
+ ...props,
1437
+ elementDescriptor: {
1438
+ OptionName: "toolbarItems",
1439
+ IsCollectionItem: true,
1440
+ TemplateProps: [{
1441
+ tmplOption: "menuItemTemplate",
1442
+ render: "menuItemRender",
1443
+ component: "menuItemComponent"
1444
+ }, {
1445
+ tmplOption: "template",
1446
+ render: "render",
1447
+ component: "component"
1448
+ }],
1449
+ },
1450
+ });
1451
+ };
1452
+ const ToolbarItem = Object.assign(_componentToolbarItem, {
1453
+ componentType: "option",
1454
+ });
1455
+ const _componentTotalItem = (props) => {
1456
+ return React.createElement((NestedOption), {
1457
+ ...props,
1458
+ elementDescriptor: {
1459
+ OptionName: "totalItems",
1460
+ IsCollectionItem: true,
1461
+ ExpectedChildren: {
1462
+ valueFormat: { optionName: "valueFormat", isCollectionItem: false }
1463
+ },
1464
+ },
1465
+ });
1466
+ };
1467
+ const TotalItem = Object.assign(_componentTotalItem, {
1468
+ componentType: "option",
1469
+ });
1470
+ const _componentValidationRule = (props) => {
1471
+ return React.createElement((NestedOption), {
1472
+ ...props,
1473
+ elementDescriptor: {
1474
+ OptionName: "validationRules",
1475
+ IsCollectionItem: true,
1476
+ PredefinedProps: {
1477
+ type: "required"
1478
+ },
1479
+ },
1480
+ });
1481
+ };
1482
+ const ValidationRule = Object.assign(_componentValidationRule, {
1483
+ componentType: "option",
1484
+ });
1485
+ const _componentValueFormat = (props) => {
1486
+ return React.createElement((NestedOption), {
1487
+ ...props,
1488
+ elementDescriptor: {
1489
+ OptionName: "valueFormat",
1490
+ },
1491
+ });
1492
+ };
1493
+ const ValueFormat = Object.assign(_componentValueFormat, {
1494
+ componentType: "option",
1495
+ });
1496
+ export default DataGrid;
1497
+ export { DataGrid, AI, AIOptions, Animation, AsyncRule, At, BoundaryOffset, Button, Change, ColCountByScreen, Collision, Column, ColumnButton, ColumnChooser, ColumnChooserSearch, ColumnChooserSelection, ColumnFixing, ColumnFixingTexts, ColumnHeaderFilter, ColumnHeaderFilterSearch, ColumnLookup, CompareRule, CursorOffset, CustomOperation, CustomRule, DataGridHeaderFilter, DataGridHeaderFilterSearch, DataGridHeaderFilterTexts, DataGridSelection, Editing, EditingTexts, EditorOptions, EditorOptionsButton, EmailRule, Export, ExportTexts, Field, FieldLookup, FilterBuilder, FilterBuilderPopup, FilterOperationDescriptions, FilterPanel, FilterPanelTexts, FilterRow, Form, Format, FormItem, From, Grouping, GroupingTexts, GroupItem, GroupOperationDescriptions, GroupPanel, HeaderFilter, Hide, Icons, IndicatorOptions, Item, KeyboardNavigation, Label, LoadPanel, Lookup, MasterDetail, My, NumericRule, Offset, OperationDescriptions, Options, Pager, Paging, PatternRule, Popup, Position, RangeRule, RemoteOperations, RequiredRule, RowDragging, Scrolling, Search, SearchPanel, Selection, Show, SortByGroupSummaryInfo, Sorting, StateStoring, StringLengthRule, Summary, SummaryTexts, Texts, To, Toolbar, ToolbarItem, TotalItem, ValidationRule, ValueFormat };