devextreme-react 23.2.6 → 24.1.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 (311) hide show
  1. package/cjs/accordion.d.ts +35 -48
  2. package/cjs/accordion.js +63 -118
  3. package/cjs/action-sheet.d.ts +27 -43
  4. package/cjs/action-sheet.js +54 -95
  5. package/cjs/autocomplete.d.ts +62 -192
  6. package/cjs/autocomplete.js +181 -352
  7. package/cjs/bar-gauge.d.ts +80 -292
  8. package/cjs/bar-gauge.js +210 -353
  9. package/cjs/box.d.ts +25 -42
  10. package/cjs/box.js +53 -113
  11. package/cjs/bullet.d.ts +35 -80
  12. package/cjs/bullet.js +82 -148
  13. package/cjs/button-group.d.ts +17 -43
  14. package/cjs/button-group.js +54 -112
  15. package/cjs/button.d.ts +14 -19
  16. package/cjs/button.js +36 -88
  17. package/cjs/calendar.d.ts +14 -24
  18. package/cjs/calendar.js +41 -180
  19. package/cjs/chart.d.ts +297 -1146
  20. package/cjs/chart.js +707 -1059
  21. package/cjs/check-box.d.ts +14 -16
  22. package/cjs/check-box.js +34 -101
  23. package/cjs/circular-gauge.d.ts +86 -287
  24. package/cjs/circular-gauge.js +226 -332
  25. package/cjs/color-box.d.ts +59 -175
  26. package/cjs/color-box.js +165 -312
  27. package/cjs/common/charts.d.ts +2 -2
  28. package/cjs/common/charts.js +2 -2
  29. package/cjs/common/data/custom-store.d.ts +2 -2
  30. package/cjs/common/data/custom-store.js +2 -2
  31. package/cjs/common/grids.d.ts +2 -2
  32. package/cjs/common/grids.js +2 -2
  33. package/cjs/common/index.d.ts +2 -2
  34. package/cjs/common/index.js +2 -2
  35. package/cjs/context-menu.d.ts +71 -148
  36. package/cjs/context-menu.js +151 -279
  37. package/cjs/core/component-base.d.ts +18 -47
  38. package/cjs/core/component-base.js +261 -185
  39. package/cjs/core/component.d.ts +26 -13
  40. package/cjs/core/component.js +73 -58
  41. package/cjs/core/config.d.ts +2 -2
  42. package/cjs/core/config.js +2 -2
  43. package/cjs/core/configuration/comparer.d.ts +2 -2
  44. package/cjs/core/configuration/comparer.js +10 -10
  45. package/cjs/core/configuration/config-node.d.ts +2 -3
  46. package/cjs/core/configuration/config-node.js +2 -2
  47. package/cjs/core/configuration/react/element.d.ts +12 -4
  48. package/cjs/core/configuration/react/element.js +4 -5
  49. package/cjs/core/configuration/react/templates.d.ts +2 -2
  50. package/cjs/core/configuration/react/templates.js +2 -8
  51. package/cjs/core/configuration/react/tree.d.ts +2 -2
  52. package/cjs/core/configuration/react/tree.js +13 -9
  53. package/cjs/core/configuration/tree.d.ts +2 -2
  54. package/cjs/core/configuration/tree.js +5 -6
  55. package/cjs/core/configuration/utils.d.ts +2 -2
  56. package/cjs/core/configuration/utils.js +2 -2
  57. package/cjs/core/extension-component.d.ts +14 -7
  58. package/cjs/core/extension-component.js +69 -29
  59. package/cjs/core/helpers.d.ts +4 -3
  60. package/cjs/core/helpers.js +8 -9
  61. package/cjs/core/nested-option.d.ts +3 -5
  62. package/cjs/core/nested-option.js +16 -34
  63. package/cjs/core/options-manager.d.ts +3 -2
  64. package/cjs/core/options-manager.js +30 -18
  65. package/cjs/core/template-manager.d.ts +2 -2
  66. package/cjs/core/template-manager.js +20 -16
  67. package/cjs/core/template-wrapper.d.ts +2 -2
  68. package/cjs/core/template-wrapper.js +18 -14
  69. package/cjs/core/template.d.ts +3 -7
  70. package/cjs/core/template.js +4 -61
  71. package/cjs/core/types.d.ts +8 -8
  72. package/cjs/core/types.js +2 -2
  73. package/cjs/core/widget-config.d.ts +2 -2
  74. package/cjs/core/widget-config.js +23 -6
  75. package/cjs/data-grid.d.ts +317 -1057
  76. package/cjs/data-grid.js +752 -1112
  77. package/cjs/date-box.d.ts +65 -202
  78. package/cjs/date-box.js +179 -386
  79. package/cjs/date-range-box.d.ts +65 -203
  80. package/cjs/date-range-box.js +181 -373
  81. package/cjs/defer-rendering.d.ts +41 -93
  82. package/cjs/defer-rendering.js +93 -151
  83. package/cjs/diagram.d.ts +92 -307
  84. package/cjs/diagram.js +263 -408
  85. package/cjs/draggable.d.ts +17 -30
  86. package/cjs/draggable.js +45 -89
  87. package/cjs/drawer.d.ts +14 -23
  88. package/cjs/drawer.js +40 -102
  89. package/cjs/drop-down-box.d.ts +59 -175
  90. package/cjs/drop-down-box.js +169 -319
  91. package/cjs/drop-down-button.d.ts +58 -160
  92. package/cjs/drop-down-button.js +157 -256
  93. package/cjs/file-manager.d.ts +50 -128
  94. package/cjs/file-manager.js +123 -220
  95. package/cjs/file-uploader.d.ts +14 -16
  96. package/cjs/file-uploader.js +34 -127
  97. package/cjs/filter-builder.d.ts +32 -86
  98. package/cjs/filter-builder.js +86 -147
  99. package/cjs/form.d.ts +94 -347
  100. package/cjs/form.js +273 -398
  101. package/cjs/funnel.d.ts +95 -358
  102. package/cjs/funnel.js +239 -412
  103. package/cjs/gallery.d.ts +29 -44
  104. package/cjs/gallery.js +55 -107
  105. package/cjs/gantt.d.ts +89 -294
  106. package/cjs/gantt.js +252 -420
  107. package/cjs/html-editor.d.ts +50 -164
  108. package/cjs/html-editor.js +143 -262
  109. package/cjs/index.d.ts +3 -2
  110. package/cjs/index.js +5 -3
  111. package/cjs/linear-gauge.d.ts +89 -288
  112. package/cjs/linear-gauge.js +226 -335
  113. package/cjs/list.d.ts +49 -118
  114. package/cjs/list.js +115 -277
  115. package/cjs/load-indicator.d.ts +14 -12
  116. package/cjs/load-indicator.js +30 -56
  117. package/cjs/load-panel.d.ts +47 -99
  118. package/cjs/load-panel.js +111 -221
  119. package/cjs/lookup.d.ts +62 -182
  120. package/cjs/lookup.js +174 -364
  121. package/cjs/map.d.ts +32 -80
  122. package/cjs/map.js +85 -164
  123. package/cjs/menu.d.ts +69 -171
  124. package/cjs/menu.js +153 -286
  125. package/cjs/multi-view.d.ts +29 -44
  126. package/cjs/multi-view.js +55 -101
  127. package/cjs/number-box.d.ts +23 -53
  128. package/cjs/number-box.js +62 -183
  129. package/cjs/pie-chart.d.ts +119 -481
  130. package/cjs/pie-chart.js +309 -520
  131. package/cjs/pivot-grid-field-chooser.d.ts +29 -61
  132. package/cjs/pivot-grid-field-chooser.js +67 -129
  133. package/cjs/pivot-grid.d.ts +53 -137
  134. package/cjs/pivot-grid.js +125 -225
  135. package/cjs/polar-chart.d.ts +228 -882
  136. package/cjs/polar-chart.js +544 -828
  137. package/cjs/popover.d.ts +56 -142
  138. package/cjs/popover.js +150 -270
  139. package/cjs/popup.d.ts +48 -124
  140. package/cjs/popup.js +136 -261
  141. package/cjs/progress-bar.d.ts +14 -16
  142. package/cjs/progress-bar.js +34 -98
  143. package/cjs/radio-group.d.ts +17 -42
  144. package/cjs/radio-group.js +53 -132
  145. package/cjs/range-selector.d.ts +194 -671
  146. package/cjs/range-selector.js +455 -646
  147. package/cjs/range-slider.d.ts +23 -51
  148. package/cjs/range-slider.js +60 -145
  149. package/cjs/recurrence-editor.d.ts +14 -16
  150. package/cjs/recurrence-editor.js +34 -95
  151. package/cjs/resizable.d.ts +14 -17
  152. package/cjs/resizable.js +35 -75
  153. package/cjs/responsive-box.d.ts +34 -71
  154. package/cjs/responsive-box.js +78 -122
  155. package/cjs/sankey.d.ts +71 -240
  156. package/cjs/sankey.js +180 -321
  157. package/cjs/scheduler.d.ts +29 -96
  158. package/cjs/scheduler.js +127 -290
  159. package/cjs/scroll-view.d.ts +14 -12
  160. package/cjs/scroll-view.js +30 -82
  161. package/cjs/select-box.d.ts +62 -193
  162. package/cjs/select-box.js +186 -366
  163. package/cjs/slider.d.ts +23 -51
  164. package/cjs/slider.js +60 -142
  165. package/cjs/sortable.d.ts +17 -30
  166. package/cjs/sortable.js +45 -110
  167. package/cjs/sparkline.d.ts +35 -80
  168. package/cjs/sparkline.js +82 -183
  169. package/cjs/speed-dial-action.d.ts +14 -12
  170. package/cjs/speed-dial-action.js +30 -54
  171. package/cjs/splitter.d.ts +79 -0
  172. package/cjs/splitter.js +99 -0
  173. package/cjs/switch.d.ts +14 -16
  174. package/cjs/switch.js +34 -98
  175. package/cjs/tab-panel.d.ts +31 -46
  176. package/cjs/tab-panel.js +61 -140
  177. package/cjs/tabs.d.ts +33 -46
  178. package/cjs/tabs.js +57 -138
  179. package/cjs/tag-box.d.ts +62 -194
  180. package/cjs/tag-box.js +191 -390
  181. package/cjs/text-area.d.ts +14 -16
  182. package/cjs/text-area.js +34 -141
  183. package/cjs/text-box.d.ts +20 -45
  184. package/cjs/text-box.js +55 -182
  185. package/cjs/tile-view.d.ts +25 -42
  186. package/cjs/tile-view.js +53 -112
  187. package/cjs/toast.d.ts +47 -106
  188. package/cjs/toast.js +117 -223
  189. package/cjs/toolbar.d.ts +27 -44
  190. package/cjs/toolbar.js +59 -92
  191. package/cjs/tooltip.d.ts +53 -124
  192. package/cjs/tooltip.js +133 -243
  193. package/cjs/tree-list.d.ts +274 -909
  194. package/cjs/tree-list.js +644 -996
  195. package/cjs/tree-map.d.ts +77 -257
  196. package/cjs/tree-map.js +191 -326
  197. package/cjs/tree-view.d.ts +34 -81
  198. package/cjs/tree-view.js +82 -229
  199. package/cjs/validation-group.d.ts +14 -12
  200. package/cjs/validation-group.js +30 -51
  201. package/cjs/validation-summary.d.ts +25 -42
  202. package/cjs/validation-summary.js +53 -71
  203. package/cjs/validator.d.ts +48 -142
  204. package/cjs/validator.js +142 -187
  205. package/cjs/vector-map.d.ts +92 -347
  206. package/cjs/vector-map.js +244 -384
  207. package/esm/accordion.js +58 -117
  208. package/esm/action-sheet.js +49 -94
  209. package/esm/autocomplete.js +176 -351
  210. package/esm/bar-gauge.js +205 -352
  211. package/esm/box.js +48 -112
  212. package/esm/bullet.js +77 -147
  213. package/esm/button-group.js +49 -111
  214. package/esm/button.js +31 -87
  215. package/esm/calendar.js +36 -179
  216. package/esm/chart.js +702 -1058
  217. package/esm/check-box.js +29 -100
  218. package/esm/circular-gauge.js +221 -331
  219. package/esm/color-box.js +160 -311
  220. package/esm/common/charts.js +2 -2
  221. package/esm/common/data/custom-store.js +2 -2
  222. package/esm/common/grids.js +2 -2
  223. package/esm/common/index.js +2 -2
  224. package/esm/context-menu.js +146 -278
  225. package/esm/core/component-base.js +256 -184
  226. package/esm/core/component.js +69 -58
  227. package/esm/core/config.js +2 -2
  228. package/esm/core/configuration/comparer.js +2 -2
  229. package/esm/core/configuration/config-node.js +2 -2
  230. package/esm/core/configuration/react/element.js +5 -5
  231. package/esm/core/configuration/react/templates.js +2 -8
  232. package/esm/core/configuration/react/tree.js +3 -3
  233. package/esm/core/configuration/tree.js +2 -2
  234. package/esm/core/configuration/utils.js +2 -2
  235. package/esm/core/extension-component.js +45 -29
  236. package/esm/core/helpers.js +7 -8
  237. package/esm/core/nested-option.js +11 -33
  238. package/esm/core/options-manager.js +22 -10
  239. package/esm/core/template-manager.js +3 -3
  240. package/esm/core/template-wrapper.js +2 -2
  241. package/esm/core/template.js +4 -42
  242. package/esm/core/types.js +2 -2
  243. package/esm/core/widget-config.js +23 -6
  244. package/esm/data-grid.js +748 -1112
  245. package/esm/date-box.js +174 -385
  246. package/esm/date-range-box.js +176 -372
  247. package/esm/defer-rendering.js +88 -150
  248. package/esm/diagram.js +258 -407
  249. package/esm/draggable.js +40 -88
  250. package/esm/drawer.js +35 -101
  251. package/esm/drop-down-box.js +164 -318
  252. package/esm/drop-down-button.js +152 -255
  253. package/esm/file-manager.js +118 -219
  254. package/esm/file-uploader.js +29 -126
  255. package/esm/filter-builder.js +81 -146
  256. package/esm/form.js +268 -397
  257. package/esm/funnel.js +234 -411
  258. package/esm/gallery.js +50 -106
  259. package/esm/gantt.js +247 -419
  260. package/esm/html-editor.js +138 -261
  261. package/esm/index.js +3 -2
  262. package/esm/linear-gauge.js +221 -334
  263. package/esm/list.js +110 -276
  264. package/esm/load-indicator.js +25 -55
  265. package/esm/load-panel.js +106 -220
  266. package/esm/lookup.js +169 -363
  267. package/esm/map.js +80 -163
  268. package/esm/menu.js +148 -285
  269. package/esm/multi-view.js +50 -100
  270. package/esm/number-box.js +57 -182
  271. package/esm/pie-chart.js +304 -519
  272. package/esm/pivot-grid-field-chooser.js +62 -128
  273. package/esm/pivot-grid.js +120 -224
  274. package/esm/polar-chart.js +539 -827
  275. package/esm/popover.js +145 -269
  276. package/esm/popup.js +131 -260
  277. package/esm/progress-bar.js +29 -97
  278. package/esm/radio-group.js +48 -131
  279. package/esm/range-selector.js +450 -645
  280. package/esm/range-slider.js +55 -144
  281. package/esm/recurrence-editor.js +29 -94
  282. package/esm/resizable.js +30 -74
  283. package/esm/responsive-box.js +73 -121
  284. package/esm/sankey.js +175 -320
  285. package/esm/scheduler.js +122 -289
  286. package/esm/scroll-view.js +25 -81
  287. package/esm/select-box.js +181 -365
  288. package/esm/slider.js +55 -141
  289. package/esm/sortable.js +40 -109
  290. package/esm/sparkline.js +77 -182
  291. package/esm/speed-dial-action.js +25 -53
  292. package/esm/splitter.js +69 -0
  293. package/esm/switch.js +29 -97
  294. package/esm/tab-panel.js +56 -139
  295. package/esm/tabs.js +52 -137
  296. package/esm/tag-box.js +186 -389
  297. package/esm/text-area.js +29 -140
  298. package/esm/text-box.js +50 -181
  299. package/esm/tile-view.js +48 -111
  300. package/esm/toast.js +112 -222
  301. package/esm/toolbar.js +54 -91
  302. package/esm/tooltip.js +128 -242
  303. package/esm/tree-list.js +639 -995
  304. package/esm/tree-map.js +186 -325
  305. package/esm/tree-view.js +77 -228
  306. package/esm/validation-group.js +25 -50
  307. package/esm/validation-summary.js +48 -70
  308. package/esm/validator.js +137 -186
  309. package/esm/vector-map.js +239 -383
  310. package/package.json +4 -4
  311. package/splitter/package.json +6 -0
package/esm/tree-list.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.2.6
4
- * Build date: Wed May 01 2024
3
+ * Version: 24.1.2-beta
4
+ * Build date: Mon May 13 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -12,351 +12,142 @@
12
12
  */
13
13
 
14
14
  "use client";
15
- var __extends = (this && this.__extends) || (function () {
16
- var extendStatics = function (d, b) {
17
- extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
- return extendStatics(d, b);
21
- };
22
- return function (d, b) {
23
- if (typeof b !== "function" && b !== null)
24
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
15
+ var __assign = (this && this.__assign) || function () {
16
+ __assign = Object.assign || function(t) {
17
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18
+ s = arguments[i];
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
+ t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
26
+ import * as React from "react";
27
+ import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
30
28
  import dxTreeList from "devextreme/ui/tree_list";
31
- import * as PropTypes from "prop-types";
32
29
  import { Component as BaseComponent } from "./core/component";
33
30
  import NestedOption from "./core/nested-option";
34
- var TreeList = /** @class */ (function (_super) {
35
- __extends(TreeList, _super);
36
- function TreeList() {
37
- var _this = _super !== null && _super.apply(this, arguments) || this;
38
- _this._WidgetClass = dxTreeList;
39
- _this.subscribableOptions = ["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "expandedRowKeys", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys"];
40
- _this.independentEvents = ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onNodesInitialized", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"];
41
- _this._defaults = {
42
- defaultColumns: "columns",
43
- defaultEditing: "editing",
44
- defaultExpandedRowKeys: "expandedRowKeys",
45
- defaultFilterPanel: "filterPanel",
46
- defaultFilterValue: "filterValue",
47
- defaultFocusedColumnIndex: "focusedColumnIndex",
48
- defaultFocusedRowIndex: "focusedRowIndex",
49
- defaultFocusedRowKey: "focusedRowKey",
50
- defaultPaging: "paging",
51
- defaultSearchPanel: "searchPanel",
52
- defaultSelectedRowKeys: "selectedRowKeys"
53
- };
54
- _this._expectedChildren = {
55
- column: { optionName: "columns", isCollectionItem: true },
56
- columnChooser: { optionName: "columnChooser", isCollectionItem: false },
57
- columnFixing: { optionName: "columnFixing", isCollectionItem: false },
58
- editing: { optionName: "editing", isCollectionItem: false },
59
- filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
60
- filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
61
- filterPanel: { optionName: "filterPanel", isCollectionItem: false },
62
- filterRow: { optionName: "filterRow", isCollectionItem: false },
63
- headerFilter: { optionName: "headerFilter", isCollectionItem: false },
64
- keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
65
- loadPanel: { optionName: "loadPanel", isCollectionItem: false },
66
- pager: { optionName: "pager", isCollectionItem: false },
67
- paging: { optionName: "paging", isCollectionItem: false },
68
- remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
69
- rowDragging: { optionName: "rowDragging", isCollectionItem: false },
70
- scrolling: { optionName: "scrolling", isCollectionItem: false },
71
- searchPanel: { optionName: "searchPanel", isCollectionItem: false },
72
- selection: { optionName: "selection", isCollectionItem: false },
73
- sorting: { optionName: "sorting", isCollectionItem: false },
74
- stateStoring: { optionName: "stateStoring", isCollectionItem: false },
75
- toolbar: { optionName: "toolbar", isCollectionItem: false },
76
- treeListHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
77
- treeListSelection: { optionName: "selection", isCollectionItem: false }
78
- };
79
- return _this;
80
- }
81
- Object.defineProperty(TreeList.prototype, "instance", {
82
- get: function () {
83
- return this._instance;
84
- },
85
- enumerable: false,
86
- configurable: true
87
- });
88
- return TreeList;
89
- }(BaseComponent));
90
- TreeList.propTypes = {
91
- accessKey: PropTypes.string,
92
- activeStateEnabled: PropTypes.bool,
93
- allowColumnReordering: PropTypes.bool,
94
- allowColumnResizing: PropTypes.bool,
95
- autoExpandAll: PropTypes.bool,
96
- autoNavigateToFocusedRow: PropTypes.bool,
97
- cacheEnabled: PropTypes.bool,
98
- cellHintEnabled: PropTypes.bool,
99
- columnAutoWidth: PropTypes.bool,
100
- columnChooser: PropTypes.object,
101
- columnFixing: PropTypes.object,
102
- columnHidingEnabled: PropTypes.bool,
103
- columnMinWidth: PropTypes.number,
104
- columnResizingMode: PropTypes.oneOfType([
105
- PropTypes.string,
106
- PropTypes.oneOf([
107
- "nextColumn",
108
- "widget"
109
- ])
110
- ]),
111
- columns: PropTypes.array,
112
- columnWidth: PropTypes.oneOfType([
113
- PropTypes.number,
114
- PropTypes.oneOfType([
115
- PropTypes.string,
116
- PropTypes.oneOf([
117
- "auto"
118
- ])
119
- ])
120
- ]),
121
- customizeColumns: PropTypes.func,
122
- dataStructure: PropTypes.oneOfType([
123
- PropTypes.string,
124
- PropTypes.oneOf([
125
- "plain",
126
- "tree"
127
- ])
128
- ]),
129
- dateSerializationFormat: PropTypes.string,
130
- disabled: PropTypes.bool,
131
- editing: PropTypes.object,
132
- elementAttr: PropTypes.object,
133
- errorRowEnabled: PropTypes.bool,
134
- expandedRowKeys: PropTypes.array,
135
- expandNodesOnFiltering: PropTypes.bool,
136
- filterBuilder: PropTypes.object,
137
- filterBuilderPopup: PropTypes.object,
138
- filterMode: PropTypes.oneOfType([
139
- PropTypes.string,
140
- PropTypes.oneOf([
141
- "fullBranch",
142
- "withAncestors",
143
- "matchOnly"
144
- ])
145
- ]),
146
- filterPanel: PropTypes.object,
147
- filterRow: PropTypes.object,
148
- filterSyncEnabled: PropTypes.oneOfType([
149
- PropTypes.bool,
150
- PropTypes.oneOfType([
151
- PropTypes.string,
152
- PropTypes.oneOf([
153
- "auto"
154
- ])
155
- ])
156
- ]),
157
- filterValue: PropTypes.oneOfType([
158
- PropTypes.array,
159
- PropTypes.func,
160
- PropTypes.string
161
- ]),
162
- focusedColumnIndex: PropTypes.number,
163
- focusedRowEnabled: PropTypes.bool,
164
- focusedRowIndex: PropTypes.number,
165
- hasItemsExpr: PropTypes.oneOfType([
166
- PropTypes.func,
167
- PropTypes.string
168
- ]),
169
- headerFilter: PropTypes.object,
170
- height: PropTypes.oneOfType([
171
- PropTypes.func,
172
- PropTypes.number,
173
- PropTypes.string
174
- ]),
175
- highlightChanges: PropTypes.bool,
176
- hint: PropTypes.string,
177
- hoverStateEnabled: PropTypes.bool,
178
- itemsExpr: PropTypes.oneOfType([
179
- PropTypes.func,
180
- PropTypes.string
181
- ]),
182
- keyboardNavigation: PropTypes.object,
183
- keyExpr: PropTypes.oneOfType([
184
- PropTypes.func,
185
- PropTypes.string
186
- ]),
187
- loadPanel: PropTypes.object,
188
- noDataText: PropTypes.string,
189
- onAdaptiveDetailRowPreparing: PropTypes.func,
190
- onCellClick: PropTypes.func,
191
- onCellDblClick: PropTypes.func,
192
- onCellHoverChanged: PropTypes.func,
193
- onCellPrepared: PropTypes.func,
194
- onContentReady: PropTypes.func,
195
- onContextMenuPreparing: PropTypes.func,
196
- onDataErrorOccurred: PropTypes.func,
197
- onDisposing: PropTypes.func,
198
- onEditCanceled: PropTypes.func,
199
- onEditCanceling: PropTypes.func,
200
- onEditingStart: PropTypes.func,
201
- onEditorPrepared: PropTypes.func,
202
- onEditorPreparing: PropTypes.func,
203
- onFocusedCellChanged: PropTypes.func,
204
- onFocusedCellChanging: PropTypes.func,
205
- onFocusedRowChanged: PropTypes.func,
206
- onFocusedRowChanging: PropTypes.func,
207
- onInitialized: PropTypes.func,
208
- onInitNewRow: PropTypes.func,
209
- onKeyDown: PropTypes.func,
210
- onNodesInitialized: PropTypes.func,
211
- onOptionChanged: PropTypes.func,
212
- onRowClick: PropTypes.func,
213
- onRowCollapsed: PropTypes.func,
214
- onRowCollapsing: PropTypes.func,
215
- onRowDblClick: PropTypes.func,
216
- onRowExpanded: PropTypes.func,
217
- onRowExpanding: PropTypes.func,
218
- onRowInserted: PropTypes.func,
219
- onRowInserting: PropTypes.func,
220
- onRowPrepared: PropTypes.func,
221
- onRowRemoved: PropTypes.func,
222
- onRowRemoving: PropTypes.func,
223
- onRowUpdated: PropTypes.func,
224
- onRowUpdating: PropTypes.func,
225
- onRowValidating: PropTypes.func,
226
- onSaved: PropTypes.func,
227
- onSaving: PropTypes.func,
228
- onSelectionChanged: PropTypes.func,
229
- onToolbarPreparing: PropTypes.func,
230
- pager: PropTypes.object,
231
- paging: PropTypes.object,
232
- parentIdExpr: PropTypes.oneOfType([
233
- PropTypes.func,
234
- PropTypes.string
235
- ]),
236
- remoteOperations: PropTypes.oneOfType([
237
- PropTypes.object,
238
- PropTypes.oneOfType([
239
- PropTypes.string,
240
- PropTypes.oneOf([
241
- "auto"
242
- ])
243
- ])
244
- ]),
245
- renderAsync: PropTypes.bool,
246
- repaintChangesOnly: PropTypes.bool,
247
- rowAlternationEnabled: PropTypes.bool,
248
- rowDragging: PropTypes.object,
249
- rtlEnabled: PropTypes.bool,
250
- scrolling: PropTypes.object,
251
- searchPanel: PropTypes.object,
252
- selectedRowKeys: PropTypes.array,
253
- selection: PropTypes.object,
254
- showBorders: PropTypes.bool,
255
- showColumnHeaders: PropTypes.bool,
256
- showColumnLines: PropTypes.bool,
257
- showRowLines: PropTypes.bool,
258
- sorting: PropTypes.object,
259
- stateStoring: PropTypes.object,
260
- syncLookupFilterValues: PropTypes.bool,
261
- tabIndex: PropTypes.number,
262
- toolbar: PropTypes.object,
263
- twoWayBindingEnabled: PropTypes.bool,
264
- visible: PropTypes.bool,
265
- width: PropTypes.oneOfType([
266
- PropTypes.func,
267
- PropTypes.number,
268
- PropTypes.string
269
- ]),
270
- wordWrapEnabled: PropTypes.bool
271
- };
272
- var Animation = /** @class */ (function (_super) {
273
- __extends(Animation, _super);
274
- function Animation() {
275
- return _super !== null && _super.apply(this, arguments) || this;
276
- }
277
- Animation.OptionName = "animation";
278
- Animation.ExpectedChildren = {
31
+ var TreeList = memo(forwardRef(function (props, ref) {
32
+ var baseRef = useRef(null);
33
+ useImperativeHandle(ref, function () { return ({
34
+ instance: function () {
35
+ var _a;
36
+ return (_a = baseRef.current) === null || _a === void 0 ? void 0 : _a.getInstance();
37
+ }
38
+ }); }, [baseRef.current]);
39
+ var subscribableOptions = useMemo(function () { return (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "expandedRowKeys", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys"]); }, []);
40
+ var independentEvents = useMemo(function () { return (["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onNodesInitialized", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"]); }, []);
41
+ var defaults = useMemo(function () { return ({
42
+ defaultColumns: "columns",
43
+ defaultEditing: "editing",
44
+ defaultExpandedRowKeys: "expandedRowKeys",
45
+ defaultFilterPanel: "filterPanel",
46
+ defaultFilterValue: "filterValue",
47
+ defaultFocusedColumnIndex: "focusedColumnIndex",
48
+ defaultFocusedRowIndex: "focusedRowIndex",
49
+ defaultFocusedRowKey: "focusedRowKey",
50
+ defaultPaging: "paging",
51
+ defaultSearchPanel: "searchPanel",
52
+ defaultSelectedRowKeys: "selectedRowKeys",
53
+ }); }, []);
54
+ var expectedChildren = useMemo(function () { return ({
55
+ column: { optionName: "columns", isCollectionItem: true },
56
+ columnChooser: { optionName: "columnChooser", isCollectionItem: false },
57
+ columnFixing: { optionName: "columnFixing", isCollectionItem: false },
58
+ editing: { optionName: "editing", isCollectionItem: false },
59
+ filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
60
+ filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
61
+ filterPanel: { optionName: "filterPanel", isCollectionItem: false },
62
+ filterRow: { optionName: "filterRow", isCollectionItem: false },
63
+ headerFilter: { optionName: "headerFilter", isCollectionItem: false },
64
+ keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
65
+ loadPanel: { optionName: "loadPanel", isCollectionItem: false },
66
+ pager: { optionName: "pager", isCollectionItem: false },
67
+ paging: { optionName: "paging", isCollectionItem: false },
68
+ remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
69
+ rowDragging: { optionName: "rowDragging", isCollectionItem: false },
70
+ scrolling: { optionName: "scrolling", isCollectionItem: false },
71
+ searchPanel: { optionName: "searchPanel", isCollectionItem: false },
72
+ selection: { optionName: "selection", isCollectionItem: false },
73
+ sorting: { optionName: "sorting", isCollectionItem: false },
74
+ stateStoring: { optionName: "stateStoring", isCollectionItem: false },
75
+ toolbar: { optionName: "toolbar", isCollectionItem: false },
76
+ treeListHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
77
+ treeListSelection: { optionName: "selection", isCollectionItem: false }
78
+ }); }, []);
79
+ return (React.createElement((BaseComponent), __assign({ WidgetClass: dxTreeList, ref: baseRef, subscribableOptions: subscribableOptions, independentEvents: independentEvents, defaults: defaults, expectedChildren: expectedChildren }, props)));
80
+ }));
81
+ var _componentAnimation = memo(function (props) {
82
+ return React.createElement((NestedOption), __assign({}, props));
83
+ });
84
+ var Animation = Object.assign(_componentAnimation, {
85
+ OptionName: "animation",
86
+ ExpectedChildren: {
279
87
  hide: { optionName: "hide", isCollectionItem: false },
280
88
  show: { optionName: "show", isCollectionItem: false }
281
- };
282
- return Animation;
283
- }(NestedOption));
284
- var AsyncRule = /** @class */ (function (_super) {
285
- __extends(AsyncRule, _super);
286
- function AsyncRule() {
287
- return _super !== null && _super.apply(this, arguments) || this;
288
- }
289
- AsyncRule.OptionName = "validationRules";
290
- AsyncRule.IsCollectionItem = true;
291
- AsyncRule.PredefinedProps = {
89
+ },
90
+ });
91
+ var _componentAsyncRule = memo(function (props) {
92
+ return React.createElement((NestedOption), __assign({}, props));
93
+ });
94
+ var AsyncRule = Object.assign(_componentAsyncRule, {
95
+ OptionName: "validationRules",
96
+ IsCollectionItem: true,
97
+ PredefinedProps: {
292
98
  type: "async"
293
- };
294
- return AsyncRule;
295
- }(NestedOption));
296
- var At = /** @class */ (function (_super) {
297
- __extends(At, _super);
298
- function At() {
299
- return _super !== null && _super.apply(this, arguments) || this;
300
- }
301
- At.OptionName = "at";
302
- return At;
303
- }(NestedOption));
304
- var BoundaryOffset = /** @class */ (function (_super) {
305
- __extends(BoundaryOffset, _super);
306
- function BoundaryOffset() {
307
- return _super !== null && _super.apply(this, arguments) || this;
308
- }
309
- BoundaryOffset.OptionName = "boundaryOffset";
310
- return BoundaryOffset;
311
- }(NestedOption));
312
- var Button = /** @class */ (function (_super) {
313
- __extends(Button, _super);
314
- function Button() {
315
- return _super !== null && _super.apply(this, arguments) || this;
316
- }
317
- Button.OptionName = "buttons";
318
- Button.IsCollectionItem = true;
319
- Button.TemplateProps = [{
99
+ },
100
+ });
101
+ var _componentAt = memo(function (props) {
102
+ return React.createElement((NestedOption), __assign({}, props));
103
+ });
104
+ var At = Object.assign(_componentAt, {
105
+ OptionName: "at",
106
+ });
107
+ var _componentBoundaryOffset = memo(function (props) {
108
+ return React.createElement((NestedOption), __assign({}, props));
109
+ });
110
+ var BoundaryOffset = Object.assign(_componentBoundaryOffset, {
111
+ OptionName: "boundaryOffset",
112
+ });
113
+ var _componentButton = memo(function (props) {
114
+ return React.createElement((NestedOption), __assign({}, props));
115
+ });
116
+ var Button = Object.assign(_componentButton, {
117
+ OptionName: "buttons",
118
+ IsCollectionItem: true,
119
+ TemplateProps: [{
320
120
  tmplOption: "template",
321
121
  render: "render",
322
- component: "component",
323
- keyFn: "keyFn"
324
- }];
325
- return Button;
326
- }(NestedOption));
327
- var Change = /** @class */ (function (_super) {
328
- __extends(Change, _super);
329
- function Change() {
330
- return _super !== null && _super.apply(this, arguments) || this;
331
- }
332
- Change.OptionName = "changes";
333
- Change.IsCollectionItem = true;
334
- return Change;
335
- }(NestedOption));
336
- var ColCountByScreen = /** @class */ (function (_super) {
337
- __extends(ColCountByScreen, _super);
338
- function ColCountByScreen() {
339
- return _super !== null && _super.apply(this, arguments) || this;
340
- }
341
- ColCountByScreen.OptionName = "colCountByScreen";
342
- return ColCountByScreen;
343
- }(NestedOption));
344
- var Collision = /** @class */ (function (_super) {
345
- __extends(Collision, _super);
346
- function Collision() {
347
- return _super !== null && _super.apply(this, arguments) || this;
348
- }
349
- Collision.OptionName = "collision";
350
- return Collision;
351
- }(NestedOption));
352
- var Column = /** @class */ (function (_super) {
353
- __extends(Column, _super);
354
- function Column() {
355
- return _super !== null && _super.apply(this, arguments) || this;
356
- }
357
- Column.OptionName = "columns";
358
- Column.IsCollectionItem = true;
359
- Column.DefaultsProps = {
122
+ component: "component"
123
+ }],
124
+ });
125
+ var _componentChange = memo(function (props) {
126
+ return React.createElement((NestedOption), __assign({}, props));
127
+ });
128
+ var Change = Object.assign(_componentChange, {
129
+ OptionName: "changes",
130
+ IsCollectionItem: true,
131
+ });
132
+ var _componentColCountByScreen = memo(function (props) {
133
+ return React.createElement((NestedOption), __assign({}, props));
134
+ });
135
+ var ColCountByScreen = Object.assign(_componentColCountByScreen, {
136
+ OptionName: "colCountByScreen",
137
+ });
138
+ var _componentCollision = memo(function (props) {
139
+ return React.createElement((NestedOption), __assign({}, props));
140
+ });
141
+ var Collision = Object.assign(_componentCollision, {
142
+ OptionName: "collision",
143
+ });
144
+ var _componentColumn = memo(function (props) {
145
+ return React.createElement((NestedOption), __assign({}, props));
146
+ });
147
+ var Column = Object.assign(_componentColumn, {
148
+ OptionName: "columns",
149
+ IsCollectionItem: true,
150
+ DefaultsProps: {
360
151
  defaultFilterValue: "filterValue",
361
152
  defaultFilterValues: "filterValues",
362
153
  defaultSelectedFilterOperation: "selectedFilterOperation",
@@ -364,8 +155,8 @@ var Column = /** @class */ (function (_super) {
364
155
  defaultSortOrder: "sortOrder",
365
156
  defaultVisible: "visible",
366
157
  defaultVisibleIndex: "visibleIndex"
367
- };
368
- Column.ExpectedChildren = {
158
+ },
159
+ ExpectedChildren: {
369
160
  AsyncRule: { optionName: "validationRules", isCollectionItem: true },
370
161
  button: { optionName: "buttons", isCollectionItem: true },
371
162
  columnHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
@@ -383,332 +174,273 @@ var Column = /** @class */ (function (_super) {
383
174
  RequiredRule: { optionName: "validationRules", isCollectionItem: true },
384
175
  StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
385
176
  validationRule: { optionName: "validationRules", isCollectionItem: true }
386
- };
387
- Column.TemplateProps = [{
177
+ },
178
+ TemplateProps: [{
388
179
  tmplOption: "cellTemplate",
389
180
  render: "cellRender",
390
- component: "cellComponent",
391
- keyFn: "cellKeyFn"
181
+ component: "cellComponent"
392
182
  }, {
393
183
  tmplOption: "editCellTemplate",
394
184
  render: "editCellRender",
395
- component: "editCellComponent",
396
- keyFn: "editCellKeyFn"
185
+ component: "editCellComponent"
397
186
  }, {
398
187
  tmplOption: "headerCellTemplate",
399
188
  render: "headerCellRender",
400
- component: "headerCellComponent",
401
- keyFn: "headerCellKeyFn"
402
- }];
403
- return Column;
404
- }(NestedOption));
405
- var ColumnChooser = /** @class */ (function (_super) {
406
- __extends(ColumnChooser, _super);
407
- function ColumnChooser() {
408
- return _super !== null && _super.apply(this, arguments) || this;
409
- }
410
- ColumnChooser.OptionName = "columnChooser";
411
- ColumnChooser.ExpectedChildren = {
189
+ component: "headerCellComponent"
190
+ }],
191
+ });
192
+ var _componentColumnChooser = memo(function (props) {
193
+ return React.createElement((NestedOption), __assign({}, props));
194
+ });
195
+ var ColumnChooser = Object.assign(_componentColumnChooser, {
196
+ OptionName: "columnChooser",
197
+ ExpectedChildren: {
412
198
  columnChooserSearch: { optionName: "search", isCollectionItem: false },
413
199
  columnChooserSelection: { optionName: "selection", isCollectionItem: false },
414
200
  position: { optionName: "position", isCollectionItem: false },
415
201
  search: { optionName: "search", isCollectionItem: false },
416
202
  selection: { optionName: "selection", isCollectionItem: false }
417
- };
418
- return ColumnChooser;
419
- }(NestedOption));
420
- var ColumnChooserSearch = /** @class */ (function (_super) {
421
- __extends(ColumnChooserSearch, _super);
422
- function ColumnChooserSearch() {
423
- return _super !== null && _super.apply(this, arguments) || this;
424
- }
425
- ColumnChooserSearch.OptionName = "search";
426
- return ColumnChooserSearch;
427
- }(NestedOption));
428
- var ColumnChooserSelection = /** @class */ (function (_super) {
429
- __extends(ColumnChooserSelection, _super);
430
- function ColumnChooserSelection() {
431
- return _super !== null && _super.apply(this, arguments) || this;
432
- }
433
- ColumnChooserSelection.OptionName = "selection";
434
- return ColumnChooserSelection;
435
- }(NestedOption));
436
- var ColumnFixing = /** @class */ (function (_super) {
437
- __extends(ColumnFixing, _super);
438
- function ColumnFixing() {
439
- return _super !== null && _super.apply(this, arguments) || this;
440
- }
441
- ColumnFixing.OptionName = "columnFixing";
442
- ColumnFixing.ExpectedChildren = {
203
+ },
204
+ });
205
+ var _componentColumnChooserSearch = memo(function (props) {
206
+ return React.createElement((NestedOption), __assign({}, props));
207
+ });
208
+ var ColumnChooserSearch = Object.assign(_componentColumnChooserSearch, {
209
+ OptionName: "search",
210
+ });
211
+ var _componentColumnChooserSelection = memo(function (props) {
212
+ return React.createElement((NestedOption), __assign({}, props));
213
+ });
214
+ var ColumnChooserSelection = Object.assign(_componentColumnChooserSelection, {
215
+ OptionName: "selection",
216
+ });
217
+ var _componentColumnFixing = memo(function (props) {
218
+ return React.createElement((NestedOption), __assign({}, props));
219
+ });
220
+ var ColumnFixing = Object.assign(_componentColumnFixing, {
221
+ OptionName: "columnFixing",
222
+ ExpectedChildren: {
443
223
  columnFixingTexts: { optionName: "texts", isCollectionItem: false },
444
224
  texts: { optionName: "texts", isCollectionItem: false }
445
- };
446
- return ColumnFixing;
447
- }(NestedOption));
448
- var ColumnFixingTexts = /** @class */ (function (_super) {
449
- __extends(ColumnFixingTexts, _super);
450
- function ColumnFixingTexts() {
451
- return _super !== null && _super.apply(this, arguments) || this;
452
- }
453
- ColumnFixingTexts.OptionName = "texts";
454
- return ColumnFixingTexts;
455
- }(NestedOption));
456
- var ColumnHeaderFilter = /** @class */ (function (_super) {
457
- __extends(ColumnHeaderFilter, _super);
458
- function ColumnHeaderFilter() {
459
- return _super !== null && _super.apply(this, arguments) || this;
460
- }
461
- ColumnHeaderFilter.OptionName = "headerFilter";
462
- ColumnHeaderFilter.ExpectedChildren = {
225
+ },
226
+ });
227
+ var _componentColumnFixingTexts = memo(function (props) {
228
+ return React.createElement((NestedOption), __assign({}, props));
229
+ });
230
+ var ColumnFixingTexts = Object.assign(_componentColumnFixingTexts, {
231
+ OptionName: "texts",
232
+ });
233
+ var _componentColumnHeaderFilter = memo(function (props) {
234
+ return React.createElement((NestedOption), __assign({}, props));
235
+ });
236
+ var ColumnHeaderFilter = Object.assign(_componentColumnHeaderFilter, {
237
+ OptionName: "headerFilter",
238
+ ExpectedChildren: {
463
239
  columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
464
240
  search: { optionName: "search", isCollectionItem: false }
465
- };
466
- return ColumnHeaderFilter;
467
- }(NestedOption));
468
- var ColumnHeaderFilterSearch = /** @class */ (function (_super) {
469
- __extends(ColumnHeaderFilterSearch, _super);
470
- function ColumnHeaderFilterSearch() {
471
- return _super !== null && _super.apply(this, arguments) || this;
472
- }
473
- ColumnHeaderFilterSearch.OptionName = "search";
474
- return ColumnHeaderFilterSearch;
475
- }(NestedOption));
476
- var ColumnLookup = /** @class */ (function (_super) {
477
- __extends(ColumnLookup, _super);
478
- function ColumnLookup() {
479
- return _super !== null && _super.apply(this, arguments) || this;
480
- }
481
- ColumnLookup.OptionName = "lookup";
482
- return ColumnLookup;
483
- }(NestedOption));
484
- var CompareRule = /** @class */ (function (_super) {
485
- __extends(CompareRule, _super);
486
- function CompareRule() {
487
- return _super !== null && _super.apply(this, arguments) || this;
488
- }
489
- CompareRule.OptionName = "validationRules";
490
- CompareRule.IsCollectionItem = true;
491
- CompareRule.PredefinedProps = {
241
+ },
242
+ });
243
+ var _componentColumnHeaderFilterSearch = memo(function (props) {
244
+ return React.createElement((NestedOption), __assign({}, props));
245
+ });
246
+ var ColumnHeaderFilterSearch = Object.assign(_componentColumnHeaderFilterSearch, {
247
+ OptionName: "search",
248
+ });
249
+ var _componentColumnLookup = memo(function (props) {
250
+ return React.createElement((NestedOption), __assign({}, props));
251
+ });
252
+ var ColumnLookup = Object.assign(_componentColumnLookup, {
253
+ OptionName: "lookup",
254
+ });
255
+ var _componentCompareRule = memo(function (props) {
256
+ return React.createElement((NestedOption), __assign({}, props));
257
+ });
258
+ var CompareRule = Object.assign(_componentCompareRule, {
259
+ OptionName: "validationRules",
260
+ IsCollectionItem: true,
261
+ PredefinedProps: {
492
262
  type: "compare"
493
- };
494
- return CompareRule;
495
- }(NestedOption));
496
- var CursorOffset = /** @class */ (function (_super) {
497
- __extends(CursorOffset, _super);
498
- function CursorOffset() {
499
- return _super !== null && _super.apply(this, arguments) || this;
500
- }
501
- CursorOffset.OptionName = "cursorOffset";
502
- return CursorOffset;
503
- }(NestedOption));
504
- var CustomOperation = /** @class */ (function (_super) {
505
- __extends(CustomOperation, _super);
506
- function CustomOperation() {
507
- return _super !== null && _super.apply(this, arguments) || this;
508
- }
509
- CustomOperation.OptionName = "customOperations";
510
- CustomOperation.IsCollectionItem = true;
511
- CustomOperation.TemplateProps = [{
263
+ },
264
+ });
265
+ var _componentCursorOffset = memo(function (props) {
266
+ return React.createElement((NestedOption), __assign({}, props));
267
+ });
268
+ var CursorOffset = Object.assign(_componentCursorOffset, {
269
+ OptionName: "cursorOffset",
270
+ });
271
+ var _componentCustomOperation = memo(function (props) {
272
+ return React.createElement((NestedOption), __assign({}, props));
273
+ });
274
+ var CustomOperation = Object.assign(_componentCustomOperation, {
275
+ OptionName: "customOperations",
276
+ IsCollectionItem: true,
277
+ TemplateProps: [{
512
278
  tmplOption: "editorTemplate",
513
279
  render: "editorRender",
514
- component: "editorComponent",
515
- keyFn: "editorKeyFn"
516
- }];
517
- return CustomOperation;
518
- }(NestedOption));
519
- var CustomRule = /** @class */ (function (_super) {
520
- __extends(CustomRule, _super);
521
- function CustomRule() {
522
- return _super !== null && _super.apply(this, arguments) || this;
523
- }
524
- CustomRule.OptionName = "validationRules";
525
- CustomRule.IsCollectionItem = true;
526
- CustomRule.PredefinedProps = {
280
+ component: "editorComponent"
281
+ }],
282
+ });
283
+ var _componentCustomRule = memo(function (props) {
284
+ return React.createElement((NestedOption), __assign({}, props));
285
+ });
286
+ var CustomRule = Object.assign(_componentCustomRule, {
287
+ OptionName: "validationRules",
288
+ IsCollectionItem: true,
289
+ PredefinedProps: {
527
290
  type: "custom"
528
- };
529
- return CustomRule;
530
- }(NestedOption));
531
- var Editing = /** @class */ (function (_super) {
532
- __extends(Editing, _super);
533
- function Editing() {
534
- return _super !== null && _super.apply(this, arguments) || this;
535
- }
536
- Editing.OptionName = "editing";
537
- Editing.DefaultsProps = {
291
+ },
292
+ });
293
+ var _componentEditing = memo(function (props) {
294
+ return React.createElement((NestedOption), __assign({}, props));
295
+ });
296
+ var Editing = Object.assign(_componentEditing, {
297
+ OptionName: "editing",
298
+ DefaultsProps: {
538
299
  defaultChanges: "changes",
539
300
  defaultEditColumnName: "editColumnName",
540
301
  defaultEditRowKey: "editRowKey"
541
- };
542
- Editing.ExpectedChildren = {
302
+ },
303
+ ExpectedChildren: {
543
304
  change: { optionName: "changes", isCollectionItem: true },
544
305
  editingTexts: { optionName: "texts", isCollectionItem: false },
545
306
  form: { optionName: "form", isCollectionItem: false },
546
307
  popup: { optionName: "popup", isCollectionItem: false },
547
308
  texts: { optionName: "texts", isCollectionItem: false }
548
- };
549
- return Editing;
550
- }(NestedOption));
551
- var EditingTexts = /** @class */ (function (_super) {
552
- __extends(EditingTexts, _super);
553
- function EditingTexts() {
554
- return _super !== null && _super.apply(this, arguments) || this;
555
- }
556
- EditingTexts.OptionName = "texts";
557
- return EditingTexts;
558
- }(NestedOption));
559
- var EmailRule = /** @class */ (function (_super) {
560
- __extends(EmailRule, _super);
561
- function EmailRule() {
562
- return _super !== null && _super.apply(this, arguments) || this;
563
- }
564
- EmailRule.OptionName = "validationRules";
565
- EmailRule.IsCollectionItem = true;
566
- EmailRule.PredefinedProps = {
309
+ },
310
+ });
311
+ var _componentEditingTexts = memo(function (props) {
312
+ return React.createElement((NestedOption), __assign({}, props));
313
+ });
314
+ var EditingTexts = Object.assign(_componentEditingTexts, {
315
+ OptionName: "texts",
316
+ });
317
+ var _componentEmailRule = memo(function (props) {
318
+ return React.createElement((NestedOption), __assign({}, props));
319
+ });
320
+ var EmailRule = Object.assign(_componentEmailRule, {
321
+ OptionName: "validationRules",
322
+ IsCollectionItem: true,
323
+ PredefinedProps: {
567
324
  type: "email"
568
- };
569
- return EmailRule;
570
- }(NestedOption));
571
- var Field = /** @class */ (function (_super) {
572
- __extends(Field, _super);
573
- function Field() {
574
- return _super !== null && _super.apply(this, arguments) || this;
575
- }
576
- Field.OptionName = "fields";
577
- Field.IsCollectionItem = true;
578
- Field.ExpectedChildren = {
325
+ },
326
+ });
327
+ var _componentField = memo(function (props) {
328
+ return React.createElement((NestedOption), __assign({}, props));
329
+ });
330
+ var Field = Object.assign(_componentField, {
331
+ OptionName: "fields",
332
+ IsCollectionItem: true,
333
+ ExpectedChildren: {
579
334
  fieldLookup: { optionName: "lookup", isCollectionItem: false },
580
335
  format: { optionName: "format", isCollectionItem: false },
581
336
  lookup: { optionName: "lookup", isCollectionItem: false }
582
- };
583
- Field.TemplateProps = [{
337
+ },
338
+ TemplateProps: [{
584
339
  tmplOption: "editorTemplate",
585
340
  render: "editorRender",
586
- component: "editorComponent",
587
- keyFn: "editorKeyFn"
588
- }];
589
- return Field;
590
- }(NestedOption));
591
- var FieldLookup = /** @class */ (function (_super) {
592
- __extends(FieldLookup, _super);
593
- function FieldLookup() {
594
- return _super !== null && _super.apply(this, arguments) || this;
595
- }
596
- FieldLookup.OptionName = "lookup";
597
- return FieldLookup;
598
- }(NestedOption));
599
- var FilterBuilder = /** @class */ (function (_super) {
600
- __extends(FilterBuilder, _super);
601
- function FilterBuilder() {
602
- return _super !== null && _super.apply(this, arguments) || this;
603
- }
604
- FilterBuilder.OptionName = "filterBuilder";
605
- FilterBuilder.DefaultsProps = {
341
+ component: "editorComponent"
342
+ }],
343
+ });
344
+ var _componentFieldLookup = memo(function (props) {
345
+ return React.createElement((NestedOption), __assign({}, props));
346
+ });
347
+ var FieldLookup = Object.assign(_componentFieldLookup, {
348
+ OptionName: "lookup",
349
+ });
350
+ var _componentFilterBuilder = memo(function (props) {
351
+ return React.createElement((NestedOption), __assign({}, props));
352
+ });
353
+ var FilterBuilder = Object.assign(_componentFilterBuilder, {
354
+ OptionName: "filterBuilder",
355
+ DefaultsProps: {
606
356
  defaultValue: "value"
607
- };
608
- FilterBuilder.ExpectedChildren = {
357
+ },
358
+ ExpectedChildren: {
609
359
  customOperation: { optionName: "customOperations", isCollectionItem: true },
610
360
  field: { optionName: "fields", isCollectionItem: true },
611
361
  filterOperationDescriptions: { optionName: "filterOperationDescriptions", isCollectionItem: false },
612
362
  groupOperationDescriptions: { optionName: "groupOperationDescriptions", isCollectionItem: false }
613
- };
614
- return FilterBuilder;
615
- }(NestedOption));
616
- var FilterBuilderPopup = /** @class */ (function (_super) {
617
- __extends(FilterBuilderPopup, _super);
618
- function FilterBuilderPopup() {
619
- return _super !== null && _super.apply(this, arguments) || this;
620
- }
621
- FilterBuilderPopup.OptionName = "filterBuilderPopup";
622
- FilterBuilderPopup.DefaultsProps = {
363
+ },
364
+ });
365
+ var _componentFilterBuilderPopup = memo(function (props) {
366
+ return React.createElement((NestedOption), __assign({}, props));
367
+ });
368
+ var FilterBuilderPopup = Object.assign(_componentFilterBuilderPopup, {
369
+ OptionName: "filterBuilderPopup",
370
+ DefaultsProps: {
623
371
  defaultHeight: "height",
624
372
  defaultPosition: "position",
625
373
  defaultVisible: "visible",
626
374
  defaultWidth: "width"
627
- };
628
- FilterBuilderPopup.TemplateProps = [{
375
+ },
376
+ TemplateProps: [{
629
377
  tmplOption: "contentTemplate",
630
378
  render: "contentRender",
631
- component: "contentComponent",
632
- keyFn: "contentKeyFn"
379
+ component: "contentComponent"
633
380
  }, {
634
381
  tmplOption: "titleTemplate",
635
382
  render: "titleRender",
636
- component: "titleComponent",
637
- keyFn: "titleKeyFn"
638
- }];
639
- return FilterBuilderPopup;
640
- }(NestedOption));
641
- var FilterOperationDescriptions = /** @class */ (function (_super) {
642
- __extends(FilterOperationDescriptions, _super);
643
- function FilterOperationDescriptions() {
644
- return _super !== null && _super.apply(this, arguments) || this;
645
- }
646
- FilterOperationDescriptions.OptionName = "filterOperationDescriptions";
647
- return FilterOperationDescriptions;
648
- }(NestedOption));
649
- var FilterPanel = /** @class */ (function (_super) {
650
- __extends(FilterPanel, _super);
651
- function FilterPanel() {
652
- return _super !== null && _super.apply(this, arguments) || this;
653
- }
654
- FilterPanel.OptionName = "filterPanel";
655
- FilterPanel.DefaultsProps = {
383
+ component: "titleComponent"
384
+ }],
385
+ });
386
+ var _componentFilterOperationDescriptions = memo(function (props) {
387
+ return React.createElement((NestedOption), __assign({}, props));
388
+ });
389
+ var FilterOperationDescriptions = Object.assign(_componentFilterOperationDescriptions, {
390
+ OptionName: "filterOperationDescriptions",
391
+ });
392
+ var _componentFilterPanel = memo(function (props) {
393
+ return React.createElement((NestedOption), __assign({}, props));
394
+ });
395
+ var FilterPanel = Object.assign(_componentFilterPanel, {
396
+ OptionName: "filterPanel",
397
+ DefaultsProps: {
656
398
  defaultFilterEnabled: "filterEnabled"
657
- };
658
- FilterPanel.ExpectedChildren = {
399
+ },
400
+ ExpectedChildren: {
659
401
  filterPanelTexts: { optionName: "texts", isCollectionItem: false },
660
402
  texts: { optionName: "texts", isCollectionItem: false }
661
- };
662
- return FilterPanel;
663
- }(NestedOption));
664
- var FilterPanelTexts = /** @class */ (function (_super) {
665
- __extends(FilterPanelTexts, _super);
666
- function FilterPanelTexts() {
667
- return _super !== null && _super.apply(this, arguments) || this;
668
- }
669
- FilterPanelTexts.OptionName = "texts";
670
- return FilterPanelTexts;
671
- }(NestedOption));
672
- var FilterRow = /** @class */ (function (_super) {
673
- __extends(FilterRow, _super);
674
- function FilterRow() {
675
- return _super !== null && _super.apply(this, arguments) || this;
676
- }
677
- FilterRow.OptionName = "filterRow";
678
- FilterRow.ExpectedChildren = {
403
+ },
404
+ });
405
+ var _componentFilterPanelTexts = memo(function (props) {
406
+ return React.createElement((NestedOption), __assign({}, props));
407
+ });
408
+ var FilterPanelTexts = Object.assign(_componentFilterPanelTexts, {
409
+ OptionName: "texts",
410
+ });
411
+ var _componentFilterRow = memo(function (props) {
412
+ return React.createElement((NestedOption), __assign({}, props));
413
+ });
414
+ var FilterRow = Object.assign(_componentFilterRow, {
415
+ OptionName: "filterRow",
416
+ ExpectedChildren: {
679
417
  operationDescriptions: { optionName: "operationDescriptions", isCollectionItem: false }
680
- };
681
- return FilterRow;
682
- }(NestedOption));
683
- var Form = /** @class */ (function (_super) {
684
- __extends(Form, _super);
685
- function Form() {
686
- return _super !== null && _super.apply(this, arguments) || this;
687
- }
688
- Form.OptionName = "form";
689
- Form.DefaultsProps = {
418
+ },
419
+ });
420
+ var _componentForm = memo(function (props) {
421
+ return React.createElement((NestedOption), __assign({}, props));
422
+ });
423
+ var Form = Object.assign(_componentForm, {
424
+ OptionName: "form",
425
+ DefaultsProps: {
690
426
  defaultFormData: "formData"
691
- };
692
- Form.ExpectedChildren = {
427
+ },
428
+ ExpectedChildren: {
693
429
  colCountByScreen: { optionName: "colCountByScreen", isCollectionItem: false }
694
- };
695
- return Form;
696
- }(NestedOption));
697
- var Format = /** @class */ (function (_super) {
698
- __extends(Format, _super);
699
- function Format() {
700
- return _super !== null && _super.apply(this, arguments) || this;
701
- }
702
- Format.OptionName = "format";
703
- return Format;
704
- }(NestedOption));
705
- var FormItem = /** @class */ (function (_super) {
706
- __extends(FormItem, _super);
707
- function FormItem() {
708
- return _super !== null && _super.apply(this, arguments) || this;
709
- }
710
- FormItem.OptionName = "formItem";
711
- FormItem.ExpectedChildren = {
430
+ },
431
+ });
432
+ var _componentFormat = memo(function (props) {
433
+ return React.createElement((NestedOption), __assign({}, props));
434
+ });
435
+ var Format = Object.assign(_componentFormat, {
436
+ OptionName: "format",
437
+ });
438
+ var _componentFormItem = memo(function (props) {
439
+ return React.createElement((NestedOption), __assign({}, props));
440
+ });
441
+ var FormItem = Object.assign(_componentFormItem, {
442
+ OptionName: "formItem",
443
+ ExpectedChildren: {
712
444
  AsyncRule: { optionName: "validationRules", isCollectionItem: true },
713
445
  CompareRule: { optionName: "validationRules", isCollectionItem: true },
714
446
  CustomRule: { optionName: "validationRules", isCollectionItem: true },
@@ -720,434 +452,346 @@ var FormItem = /** @class */ (function (_super) {
720
452
  RequiredRule: { optionName: "validationRules", isCollectionItem: true },
721
453
  StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
722
454
  validationRule: { optionName: "validationRules", isCollectionItem: true }
723
- };
724
- FormItem.TemplateProps = [{
455
+ },
456
+ TemplateProps: [{
725
457
  tmplOption: "template",
726
458
  render: "render",
727
- component: "component",
728
- keyFn: "keyFn"
729
- }];
730
- return FormItem;
731
- }(NestedOption));
732
- var From = /** @class */ (function (_super) {
733
- __extends(From, _super);
734
- function From() {
735
- return _super !== null && _super.apply(this, arguments) || this;
736
- }
737
- From.OptionName = "from";
738
- From.ExpectedChildren = {
459
+ component: "component"
460
+ }],
461
+ });
462
+ var _componentFrom = memo(function (props) {
463
+ return React.createElement((NestedOption), __assign({}, props));
464
+ });
465
+ var From = Object.assign(_componentFrom, {
466
+ OptionName: "from",
467
+ ExpectedChildren: {
739
468
  position: { optionName: "position", isCollectionItem: false }
740
- };
741
- return From;
742
- }(NestedOption));
743
- var GroupOperationDescriptions = /** @class */ (function (_super) {
744
- __extends(GroupOperationDescriptions, _super);
745
- function GroupOperationDescriptions() {
746
- return _super !== null && _super.apply(this, arguments) || this;
747
- }
748
- GroupOperationDescriptions.OptionName = "groupOperationDescriptions";
749
- return GroupOperationDescriptions;
750
- }(NestedOption));
751
- var HeaderFilter = /** @class */ (function (_super) {
752
- __extends(HeaderFilter, _super);
753
- function HeaderFilter() {
754
- return _super !== null && _super.apply(this, arguments) || this;
755
- }
756
- HeaderFilter.OptionName = "headerFilter";
757
- return HeaderFilter;
758
- }(NestedOption));
759
- var Hide = /** @class */ (function (_super) {
760
- __extends(Hide, _super);
761
- function Hide() {
762
- return _super !== null && _super.apply(this, arguments) || this;
763
- }
764
- Hide.OptionName = "hide";
765
- Hide.ExpectedChildren = {
469
+ },
470
+ });
471
+ var _componentGroupOperationDescriptions = memo(function (props) {
472
+ return React.createElement((NestedOption), __assign({}, props));
473
+ });
474
+ var GroupOperationDescriptions = Object.assign(_componentGroupOperationDescriptions, {
475
+ OptionName: "groupOperationDescriptions",
476
+ });
477
+ var _componentHeaderFilter = memo(function (props) {
478
+ return React.createElement((NestedOption), __assign({}, props));
479
+ });
480
+ var HeaderFilter = Object.assign(_componentHeaderFilter, {
481
+ OptionName: "headerFilter",
482
+ });
483
+ var _componentHide = memo(function (props) {
484
+ return React.createElement((NestedOption), __assign({}, props));
485
+ });
486
+ var Hide = Object.assign(_componentHide, {
487
+ OptionName: "hide",
488
+ ExpectedChildren: {
766
489
  from: { optionName: "from", isCollectionItem: false },
767
490
  to: { optionName: "to", isCollectionItem: false }
768
- };
769
- return Hide;
770
- }(NestedOption));
771
- var Item = /** @class */ (function (_super) {
772
- __extends(Item, _super);
773
- function Item() {
774
- return _super !== null && _super.apply(this, arguments) || this;
775
- }
776
- Item.OptionName = "items";
777
- Item.IsCollectionItem = true;
778
- Item.TemplateProps = [{
491
+ },
492
+ });
493
+ var _componentItem = memo(function (props) {
494
+ return React.createElement((NestedOption), __assign({}, props));
495
+ });
496
+ var Item = Object.assign(_componentItem, {
497
+ OptionName: "items",
498
+ IsCollectionItem: true,
499
+ TemplateProps: [{
779
500
  tmplOption: "menuItemTemplate",
780
501
  render: "menuItemRender",
781
- component: "menuItemComponent",
782
- keyFn: "menuItemKeyFn"
502
+ component: "menuItemComponent"
783
503
  }, {
784
504
  tmplOption: "template",
785
505
  render: "render",
786
- component: "component",
787
- keyFn: "keyFn"
788
- }];
789
- return Item;
790
- }(NestedOption));
791
- var KeyboardNavigation = /** @class */ (function (_super) {
792
- __extends(KeyboardNavigation, _super);
793
- function KeyboardNavigation() {
794
- return _super !== null && _super.apply(this, arguments) || this;
795
- }
796
- KeyboardNavigation.OptionName = "keyboardNavigation";
797
- return KeyboardNavigation;
798
- }(NestedOption));
799
- var Label = /** @class */ (function (_super) {
800
- __extends(Label, _super);
801
- function Label() {
802
- return _super !== null && _super.apply(this, arguments) || this;
803
- }
804
- Label.OptionName = "label";
805
- Label.TemplateProps = [{
506
+ component: "component"
507
+ }],
508
+ });
509
+ var _componentKeyboardNavigation = memo(function (props) {
510
+ return React.createElement((NestedOption), __assign({}, props));
511
+ });
512
+ var KeyboardNavigation = Object.assign(_componentKeyboardNavigation, {
513
+ OptionName: "keyboardNavigation",
514
+ });
515
+ var _componentLabel = memo(function (props) {
516
+ return React.createElement((NestedOption), __assign({}, props));
517
+ });
518
+ var Label = Object.assign(_componentLabel, {
519
+ OptionName: "label",
520
+ TemplateProps: [{
806
521
  tmplOption: "template",
807
522
  render: "render",
808
- component: "component",
809
- keyFn: "keyFn"
810
- }];
811
- return Label;
812
- }(NestedOption));
813
- var LoadPanel = /** @class */ (function (_super) {
814
- __extends(LoadPanel, _super);
815
- function LoadPanel() {
816
- return _super !== null && _super.apply(this, arguments) || this;
817
- }
818
- LoadPanel.OptionName = "loadPanel";
819
- return LoadPanel;
820
- }(NestedOption));
821
- var Lookup = /** @class */ (function (_super) {
822
- __extends(Lookup, _super);
823
- function Lookup() {
824
- return _super !== null && _super.apply(this, arguments) || this;
825
- }
826
- Lookup.OptionName = "lookup";
827
- return Lookup;
828
- }(NestedOption));
829
- var My = /** @class */ (function (_super) {
830
- __extends(My, _super);
831
- function My() {
832
- return _super !== null && _super.apply(this, arguments) || this;
833
- }
834
- My.OptionName = "my";
835
- return My;
836
- }(NestedOption));
837
- var NumericRule = /** @class */ (function (_super) {
838
- __extends(NumericRule, _super);
839
- function NumericRule() {
840
- return _super !== null && _super.apply(this, arguments) || this;
841
- }
842
- NumericRule.OptionName = "validationRules";
843
- NumericRule.IsCollectionItem = true;
844
- NumericRule.PredefinedProps = {
523
+ component: "component"
524
+ }],
525
+ });
526
+ var _componentLoadPanel = memo(function (props) {
527
+ return React.createElement((NestedOption), __assign({}, props));
528
+ });
529
+ var LoadPanel = Object.assign(_componentLoadPanel, {
530
+ OptionName: "loadPanel",
531
+ });
532
+ var _componentLookup = memo(function (props) {
533
+ return React.createElement((NestedOption), __assign({}, props));
534
+ });
535
+ var Lookup = Object.assign(_componentLookup, {
536
+ OptionName: "lookup",
537
+ });
538
+ var _componentMy = memo(function (props) {
539
+ return React.createElement((NestedOption), __assign({}, props));
540
+ });
541
+ var My = Object.assign(_componentMy, {
542
+ OptionName: "my",
543
+ });
544
+ var _componentNumericRule = memo(function (props) {
545
+ return React.createElement((NestedOption), __assign({}, props));
546
+ });
547
+ var NumericRule = Object.assign(_componentNumericRule, {
548
+ OptionName: "validationRules",
549
+ IsCollectionItem: true,
550
+ PredefinedProps: {
845
551
  type: "numeric"
846
- };
847
- return NumericRule;
848
- }(NestedOption));
849
- var Offset = /** @class */ (function (_super) {
850
- __extends(Offset, _super);
851
- function Offset() {
852
- return _super !== null && _super.apply(this, arguments) || this;
853
- }
854
- Offset.OptionName = "offset";
855
- return Offset;
856
- }(NestedOption));
857
- var OperationDescriptions = /** @class */ (function (_super) {
858
- __extends(OperationDescriptions, _super);
859
- function OperationDescriptions() {
860
- return _super !== null && _super.apply(this, arguments) || this;
861
- }
862
- OperationDescriptions.OptionName = "operationDescriptions";
863
- return OperationDescriptions;
864
- }(NestedOption));
865
- var Pager = /** @class */ (function (_super) {
866
- __extends(Pager, _super);
867
- function Pager() {
868
- return _super !== null && _super.apply(this, arguments) || this;
869
- }
870
- Pager.OptionName = "pager";
871
- return Pager;
872
- }(NestedOption));
873
- var Paging = /** @class */ (function (_super) {
874
- __extends(Paging, _super);
875
- function Paging() {
876
- return _super !== null && _super.apply(this, arguments) || this;
877
- }
878
- Paging.OptionName = "paging";
879
- Paging.DefaultsProps = {
552
+ },
553
+ });
554
+ var _componentOffset = memo(function (props) {
555
+ return React.createElement((NestedOption), __assign({}, props));
556
+ });
557
+ var Offset = Object.assign(_componentOffset, {
558
+ OptionName: "offset",
559
+ });
560
+ var _componentOperationDescriptions = memo(function (props) {
561
+ return React.createElement((NestedOption), __assign({}, props));
562
+ });
563
+ var OperationDescriptions = Object.assign(_componentOperationDescriptions, {
564
+ OptionName: "operationDescriptions",
565
+ });
566
+ var _componentPager = memo(function (props) {
567
+ return React.createElement((NestedOption), __assign({}, props));
568
+ });
569
+ var Pager = Object.assign(_componentPager, {
570
+ OptionName: "pager",
571
+ });
572
+ var _componentPaging = memo(function (props) {
573
+ return React.createElement((NestedOption), __assign({}, props));
574
+ });
575
+ var Paging = Object.assign(_componentPaging, {
576
+ OptionName: "paging",
577
+ DefaultsProps: {
880
578
  defaultPageIndex: "pageIndex",
881
579
  defaultPageSize: "pageSize"
882
- };
883
- return Paging;
884
- }(NestedOption));
885
- var PatternRule = /** @class */ (function (_super) {
886
- __extends(PatternRule, _super);
887
- function PatternRule() {
888
- return _super !== null && _super.apply(this, arguments) || this;
889
- }
890
- PatternRule.OptionName = "validationRules";
891
- PatternRule.IsCollectionItem = true;
892
- PatternRule.PredefinedProps = {
580
+ },
581
+ });
582
+ var _componentPatternRule = memo(function (props) {
583
+ return React.createElement((NestedOption), __assign({}, props));
584
+ });
585
+ var PatternRule = Object.assign(_componentPatternRule, {
586
+ OptionName: "validationRules",
587
+ IsCollectionItem: true,
588
+ PredefinedProps: {
893
589
  type: "pattern"
894
- };
895
- return PatternRule;
896
- }(NestedOption));
897
- var Popup = /** @class */ (function (_super) {
898
- __extends(Popup, _super);
899
- function Popup() {
900
- return _super !== null && _super.apply(this, arguments) || this;
901
- }
902
- Popup.OptionName = "popup";
903
- Popup.DefaultsProps = {
590
+ },
591
+ });
592
+ var _componentPopup = memo(function (props) {
593
+ return React.createElement((NestedOption), __assign({}, props));
594
+ });
595
+ var Popup = Object.assign(_componentPopup, {
596
+ OptionName: "popup",
597
+ DefaultsProps: {
904
598
  defaultHeight: "height",
905
599
  defaultPosition: "position",
906
600
  defaultVisible: "visible",
907
601
  defaultWidth: "width"
908
- };
909
- Popup.ExpectedChildren = {
602
+ },
603
+ ExpectedChildren: {
910
604
  animation: { optionName: "animation", isCollectionItem: false },
911
605
  position: { optionName: "position", isCollectionItem: false },
912
606
  toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
913
- };
914
- Popup.TemplateProps = [{
607
+ },
608
+ TemplateProps: [{
915
609
  tmplOption: "contentTemplate",
916
610
  render: "contentRender",
917
- component: "contentComponent",
918
- keyFn: "contentKeyFn"
611
+ component: "contentComponent"
919
612
  }, {
920
613
  tmplOption: "titleTemplate",
921
614
  render: "titleRender",
922
- component: "titleComponent",
923
- keyFn: "titleKeyFn"
924
- }];
925
- return Popup;
926
- }(NestedOption));
927
- var Position = /** @class */ (function (_super) {
928
- __extends(Position, _super);
929
- function Position() {
930
- return _super !== null && _super.apply(this, arguments) || this;
931
- }
932
- Position.OptionName = "position";
933
- return Position;
934
- }(NestedOption));
935
- var RangeRule = /** @class */ (function (_super) {
936
- __extends(RangeRule, _super);
937
- function RangeRule() {
938
- return _super !== null && _super.apply(this, arguments) || this;
939
- }
940
- RangeRule.OptionName = "validationRules";
941
- RangeRule.IsCollectionItem = true;
942
- RangeRule.PredefinedProps = {
615
+ component: "titleComponent"
616
+ }],
617
+ });
618
+ var _componentPosition = memo(function (props) {
619
+ return React.createElement((NestedOption), __assign({}, props));
620
+ });
621
+ var Position = Object.assign(_componentPosition, {
622
+ OptionName: "position",
623
+ });
624
+ var _componentRangeRule = memo(function (props) {
625
+ return React.createElement((NestedOption), __assign({}, props));
626
+ });
627
+ var RangeRule = Object.assign(_componentRangeRule, {
628
+ OptionName: "validationRules",
629
+ IsCollectionItem: true,
630
+ PredefinedProps: {
943
631
  type: "range"
944
- };
945
- return RangeRule;
946
- }(NestedOption));
947
- var RemoteOperations = /** @class */ (function (_super) {
948
- __extends(RemoteOperations, _super);
949
- function RemoteOperations() {
950
- return _super !== null && _super.apply(this, arguments) || this;
951
- }
952
- RemoteOperations.OptionName = "remoteOperations";
953
- return RemoteOperations;
954
- }(NestedOption));
955
- var RequiredRule = /** @class */ (function (_super) {
956
- __extends(RequiredRule, _super);
957
- function RequiredRule() {
958
- return _super !== null && _super.apply(this, arguments) || this;
959
- }
960
- RequiredRule.OptionName = "validationRules";
961
- RequiredRule.IsCollectionItem = true;
962
- RequiredRule.PredefinedProps = {
632
+ },
633
+ });
634
+ var _componentRemoteOperations = memo(function (props) {
635
+ return React.createElement((NestedOption), __assign({}, props));
636
+ });
637
+ var RemoteOperations = Object.assign(_componentRemoteOperations, {
638
+ OptionName: "remoteOperations",
639
+ });
640
+ var _componentRequiredRule = memo(function (props) {
641
+ return React.createElement((NestedOption), __assign({}, props));
642
+ });
643
+ var RequiredRule = Object.assign(_componentRequiredRule, {
644
+ OptionName: "validationRules",
645
+ IsCollectionItem: true,
646
+ PredefinedProps: {
963
647
  type: "required"
964
- };
965
- return RequiredRule;
966
- }(NestedOption));
967
- var RowDragging = /** @class */ (function (_super) {
968
- __extends(RowDragging, _super);
969
- function RowDragging() {
970
- return _super !== null && _super.apply(this, arguments) || this;
971
- }
972
- RowDragging.OptionName = "rowDragging";
973
- RowDragging.ExpectedChildren = {
648
+ },
649
+ });
650
+ var _componentRowDragging = memo(function (props) {
651
+ return React.createElement((NestedOption), __assign({}, props));
652
+ });
653
+ var RowDragging = Object.assign(_componentRowDragging, {
654
+ OptionName: "rowDragging",
655
+ ExpectedChildren: {
974
656
  cursorOffset: { optionName: "cursorOffset", isCollectionItem: false }
975
- };
976
- RowDragging.TemplateProps = [{
657
+ },
658
+ TemplateProps: [{
977
659
  tmplOption: "dragTemplate",
978
660
  render: "dragRender",
979
- component: "dragComponent",
980
- keyFn: "dragKeyFn"
981
- }];
982
- return RowDragging;
983
- }(NestedOption));
984
- var Scrolling = /** @class */ (function (_super) {
985
- __extends(Scrolling, _super);
986
- function Scrolling() {
987
- return _super !== null && _super.apply(this, arguments) || this;
988
- }
989
- Scrolling.OptionName = "scrolling";
990
- return Scrolling;
991
- }(NestedOption));
992
- var Search = /** @class */ (function (_super) {
993
- __extends(Search, _super);
994
- function Search() {
995
- return _super !== null && _super.apply(this, arguments) || this;
996
- }
997
- Search.OptionName = "search";
998
- return Search;
999
- }(NestedOption));
1000
- var SearchPanel = /** @class */ (function (_super) {
1001
- __extends(SearchPanel, _super);
1002
- function SearchPanel() {
1003
- return _super !== null && _super.apply(this, arguments) || this;
1004
- }
1005
- SearchPanel.OptionName = "searchPanel";
1006
- SearchPanel.DefaultsProps = {
661
+ component: "dragComponent"
662
+ }],
663
+ });
664
+ var _componentScrolling = memo(function (props) {
665
+ return React.createElement((NestedOption), __assign({}, props));
666
+ });
667
+ var Scrolling = Object.assign(_componentScrolling, {
668
+ OptionName: "scrolling",
669
+ });
670
+ var _componentSearch = memo(function (props) {
671
+ return React.createElement((NestedOption), __assign({}, props));
672
+ });
673
+ var Search = Object.assign(_componentSearch, {
674
+ OptionName: "search",
675
+ });
676
+ var _componentSearchPanel = memo(function (props) {
677
+ return React.createElement((NestedOption), __assign({}, props));
678
+ });
679
+ var SearchPanel = Object.assign(_componentSearchPanel, {
680
+ OptionName: "searchPanel",
681
+ DefaultsProps: {
1007
682
  defaultText: "text"
1008
- };
1009
- return SearchPanel;
1010
- }(NestedOption));
1011
- var Selection = /** @class */ (function (_super) {
1012
- __extends(Selection, _super);
1013
- function Selection() {
1014
- return _super !== null && _super.apply(this, arguments) || this;
1015
- }
1016
- Selection.OptionName = "selection";
1017
- return Selection;
1018
- }(NestedOption));
1019
- var Show = /** @class */ (function (_super) {
1020
- __extends(Show, _super);
1021
- function Show() {
1022
- return _super !== null && _super.apply(this, arguments) || this;
1023
- }
1024
- Show.OptionName = "show";
1025
- return Show;
1026
- }(NestedOption));
1027
- var Sorting = /** @class */ (function (_super) {
1028
- __extends(Sorting, _super);
1029
- function Sorting() {
1030
- return _super !== null && _super.apply(this, arguments) || this;
1031
- }
1032
- Sorting.OptionName = "sorting";
1033
- return Sorting;
1034
- }(NestedOption));
1035
- var StateStoring = /** @class */ (function (_super) {
1036
- __extends(StateStoring, _super);
1037
- function StateStoring() {
1038
- return _super !== null && _super.apply(this, arguments) || this;
1039
- }
1040
- StateStoring.OptionName = "stateStoring";
1041
- return StateStoring;
1042
- }(NestedOption));
1043
- var StringLengthRule = /** @class */ (function (_super) {
1044
- __extends(StringLengthRule, _super);
1045
- function StringLengthRule() {
1046
- return _super !== null && _super.apply(this, arguments) || this;
1047
- }
1048
- StringLengthRule.OptionName = "validationRules";
1049
- StringLengthRule.IsCollectionItem = true;
1050
- StringLengthRule.PredefinedProps = {
683
+ },
684
+ });
685
+ var _componentSelection = memo(function (props) {
686
+ return React.createElement((NestedOption), __assign({}, props));
687
+ });
688
+ var Selection = Object.assign(_componentSelection, {
689
+ OptionName: "selection",
690
+ });
691
+ var _componentShow = memo(function (props) {
692
+ return React.createElement((NestedOption), __assign({}, props));
693
+ });
694
+ var Show = Object.assign(_componentShow, {
695
+ OptionName: "show",
696
+ });
697
+ var _componentSorting = memo(function (props) {
698
+ return React.createElement((NestedOption), __assign({}, props));
699
+ });
700
+ var Sorting = Object.assign(_componentSorting, {
701
+ OptionName: "sorting",
702
+ });
703
+ var _componentStateStoring = memo(function (props) {
704
+ return React.createElement((NestedOption), __assign({}, props));
705
+ });
706
+ var StateStoring = Object.assign(_componentStateStoring, {
707
+ OptionName: "stateStoring",
708
+ });
709
+ var _componentStringLengthRule = memo(function (props) {
710
+ return React.createElement((NestedOption), __assign({}, props));
711
+ });
712
+ var StringLengthRule = Object.assign(_componentStringLengthRule, {
713
+ OptionName: "validationRules",
714
+ IsCollectionItem: true,
715
+ PredefinedProps: {
1051
716
  type: "stringLength"
1052
- };
1053
- return StringLengthRule;
1054
- }(NestedOption));
1055
- var Texts = /** @class */ (function (_super) {
1056
- __extends(Texts, _super);
1057
- function Texts() {
1058
- return _super !== null && _super.apply(this, arguments) || this;
1059
- }
1060
- Texts.OptionName = "texts";
1061
- return Texts;
1062
- }(NestedOption));
1063
- var To = /** @class */ (function (_super) {
1064
- __extends(To, _super);
1065
- function To() {
1066
- return _super !== null && _super.apply(this, arguments) || this;
1067
- }
1068
- To.OptionName = "to";
1069
- return To;
1070
- }(NestedOption));
1071
- var Toolbar = /** @class */ (function (_super) {
1072
- __extends(Toolbar, _super);
1073
- function Toolbar() {
1074
- return _super !== null && _super.apply(this, arguments) || this;
1075
- }
1076
- Toolbar.OptionName = "toolbar";
1077
- Toolbar.ExpectedChildren = {
717
+ },
718
+ });
719
+ var _componentTexts = memo(function (props) {
720
+ return React.createElement((NestedOption), __assign({}, props));
721
+ });
722
+ var Texts = Object.assign(_componentTexts, {
723
+ OptionName: "texts",
724
+ });
725
+ var _componentTo = memo(function (props) {
726
+ return React.createElement((NestedOption), __assign({}, props));
727
+ });
728
+ var To = Object.assign(_componentTo, {
729
+ OptionName: "to",
730
+ });
731
+ var _componentToolbar = memo(function (props) {
732
+ return React.createElement((NestedOption), __assign({}, props));
733
+ });
734
+ var Toolbar = Object.assign(_componentToolbar, {
735
+ OptionName: "toolbar",
736
+ ExpectedChildren: {
1078
737
  item: { optionName: "items", isCollectionItem: true }
1079
- };
1080
- return Toolbar;
1081
- }(NestedOption));
1082
- var ToolbarItem = /** @class */ (function (_super) {
1083
- __extends(ToolbarItem, _super);
1084
- function ToolbarItem() {
1085
- return _super !== null && _super.apply(this, arguments) || this;
1086
- }
1087
- ToolbarItem.OptionName = "toolbarItems";
1088
- ToolbarItem.IsCollectionItem = true;
1089
- ToolbarItem.TemplateProps = [{
738
+ },
739
+ });
740
+ var _componentToolbarItem = memo(function (props) {
741
+ return React.createElement((NestedOption), __assign({}, props));
742
+ });
743
+ var ToolbarItem = Object.assign(_componentToolbarItem, {
744
+ OptionName: "toolbarItems",
745
+ IsCollectionItem: true,
746
+ TemplateProps: [{
1090
747
  tmplOption: "menuItemTemplate",
1091
748
  render: "menuItemRender",
1092
- component: "menuItemComponent",
1093
- keyFn: "menuItemKeyFn"
749
+ component: "menuItemComponent"
1094
750
  }, {
1095
751
  tmplOption: "template",
1096
752
  render: "render",
1097
- component: "component",
1098
- keyFn: "keyFn"
1099
- }];
1100
- return ToolbarItem;
1101
- }(NestedOption));
1102
- var TreeListHeaderFilter = /** @class */ (function (_super) {
1103
- __extends(TreeListHeaderFilter, _super);
1104
- function TreeListHeaderFilter() {
1105
- return _super !== null && _super.apply(this, arguments) || this;
1106
- }
1107
- TreeListHeaderFilter.OptionName = "headerFilter";
1108
- TreeListHeaderFilter.ExpectedChildren = {
753
+ component: "component"
754
+ }],
755
+ });
756
+ var _componentTreeListHeaderFilter = memo(function (props) {
757
+ return React.createElement((NestedOption), __assign({}, props));
758
+ });
759
+ var TreeListHeaderFilter = Object.assign(_componentTreeListHeaderFilter, {
760
+ OptionName: "headerFilter",
761
+ ExpectedChildren: {
1109
762
  search: { optionName: "search", isCollectionItem: false },
1110
763
  texts: { optionName: "texts", isCollectionItem: false },
1111
764
  treeListHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
1112
765
  treeListHeaderFilterTexts: { optionName: "texts", isCollectionItem: false }
1113
- };
1114
- return TreeListHeaderFilter;
1115
- }(NestedOption));
1116
- var TreeListHeaderFilterSearch = /** @class */ (function (_super) {
1117
- __extends(TreeListHeaderFilterSearch, _super);
1118
- function TreeListHeaderFilterSearch() {
1119
- return _super !== null && _super.apply(this, arguments) || this;
1120
- }
1121
- TreeListHeaderFilterSearch.OptionName = "search";
1122
- return TreeListHeaderFilterSearch;
1123
- }(NestedOption));
1124
- var TreeListHeaderFilterTexts = /** @class */ (function (_super) {
1125
- __extends(TreeListHeaderFilterTexts, _super);
1126
- function TreeListHeaderFilterTexts() {
1127
- return _super !== null && _super.apply(this, arguments) || this;
1128
- }
1129
- TreeListHeaderFilterTexts.OptionName = "texts";
1130
- return TreeListHeaderFilterTexts;
1131
- }(NestedOption));
1132
- var TreeListSelection = /** @class */ (function (_super) {
1133
- __extends(TreeListSelection, _super);
1134
- function TreeListSelection() {
1135
- return _super !== null && _super.apply(this, arguments) || this;
1136
- }
1137
- TreeListSelection.OptionName = "selection";
1138
- return TreeListSelection;
1139
- }(NestedOption));
1140
- var ValidationRule = /** @class */ (function (_super) {
1141
- __extends(ValidationRule, _super);
1142
- function ValidationRule() {
1143
- return _super !== null && _super.apply(this, arguments) || this;
1144
- }
1145
- ValidationRule.OptionName = "validationRules";
1146
- ValidationRule.IsCollectionItem = true;
1147
- ValidationRule.PredefinedProps = {
766
+ },
767
+ });
768
+ var _componentTreeListHeaderFilterSearch = memo(function (props) {
769
+ return React.createElement((NestedOption), __assign({}, props));
770
+ });
771
+ var TreeListHeaderFilterSearch = Object.assign(_componentTreeListHeaderFilterSearch, {
772
+ OptionName: "search",
773
+ });
774
+ var _componentTreeListHeaderFilterTexts = memo(function (props) {
775
+ return React.createElement((NestedOption), __assign({}, props));
776
+ });
777
+ var TreeListHeaderFilterTexts = Object.assign(_componentTreeListHeaderFilterTexts, {
778
+ OptionName: "texts",
779
+ });
780
+ var _componentTreeListSelection = memo(function (props) {
781
+ return React.createElement((NestedOption), __assign({}, props));
782
+ });
783
+ var TreeListSelection = Object.assign(_componentTreeListSelection, {
784
+ OptionName: "selection",
785
+ });
786
+ var _componentValidationRule = memo(function (props) {
787
+ return React.createElement((NestedOption), __assign({}, props));
788
+ });
789
+ var ValidationRule = Object.assign(_componentValidationRule, {
790
+ OptionName: "validationRules",
791
+ IsCollectionItem: true,
792
+ PredefinedProps: {
1148
793
  type: "required"
1149
- };
1150
- return ValidationRule;
1151
- }(NestedOption));
794
+ },
795
+ });
1152
796
  export default TreeList;
1153
797
  export { TreeList, Animation, AsyncRule, At, BoundaryOffset, Button, Change, ColCountByScreen, Collision, Column, ColumnChooser, ColumnChooserSearch, ColumnChooserSelection, ColumnFixing, ColumnFixingTexts, ColumnHeaderFilter, ColumnHeaderFilterSearch, ColumnLookup, CompareRule, CursorOffset, CustomOperation, CustomRule, Editing, EditingTexts, EmailRule, Field, FieldLookup, FilterBuilder, FilterBuilderPopup, FilterOperationDescriptions, FilterPanel, FilterPanelTexts, FilterRow, Form, Format, FormItem, From, GroupOperationDescriptions, HeaderFilter, Hide, Item, KeyboardNavigation, Label, LoadPanel, Lookup, My, NumericRule, Offset, OperationDescriptions, Pager, Paging, PatternRule, Popup, Position, RangeRule, RemoteOperations, RequiredRule, RowDragging, Scrolling, Search, SearchPanel, Selection, Show, Sorting, StateStoring, StringLengthRule, Texts, To, Toolbar, ToolbarItem, TreeListHeaderFilter, TreeListHeaderFilterSearch, TreeListHeaderFilterTexts, TreeListSelection, ValidationRule };