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/cjs/data-grid.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
  *
@@ -13,24 +13,24 @@
13
13
 
14
14
  "use client";
15
15
  "use strict";
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = function (d, b) {
18
- extendStatics = Object.setPrototypeOf ||
19
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
20
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
21
- return extendStatics(d, b);
16
+ var __assign = (this && this.__assign) || function () {
17
+ __assign = Object.assign || function(t) {
18
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
19
+ s = arguments[i];
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
+ t[p] = s[p];
22
+ }
23
+ return t;
22
24
  };
23
- return function (d, b) {
24
- if (typeof b !== "function" && b !== null)
25
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
26
- extendStatics(d, b);
27
- function __() { this.constructor = d; }
28
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29
- };
30
- })();
25
+ return __assign.apply(this, arguments);
26
+ };
31
27
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
32
28
  if (k2 === undefined) k2 = k;
33
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
29
+ var desc = Object.getOwnPropertyDescriptor(m, k);
30
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
31
+ desc = { enumerable: true, get: function() { return m[k]; } };
32
+ }
33
+ Object.defineProperty(o, k2, desc);
34
34
  }) : (function(o, m, k, k2) {
35
35
  if (k2 === undefined) k2 = k;
36
36
  o[k2] = m[k];
@@ -53,346 +53,159 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
53
53
  Object.defineProperty(exports, "__esModule", { value: true });
54
54
  exports.Hide = exports.HeaderFilter = exports.GroupPanel = exports.GroupOperationDescriptions = exports.GroupItem = exports.GroupingTexts = exports.Grouping = exports.From = exports.FormItem = exports.Format = exports.Form = exports.FilterRow = exports.FilterPanelTexts = exports.FilterPanel = exports.FilterOperationDescriptions = exports.FilterBuilderPopup = exports.FilterBuilder = exports.FieldLookup = exports.Field = exports.ExportTexts = exports.Export = exports.EmailRule = exports.EditingTexts = exports.Editing = exports.DataGridSelection = exports.DataGridHeaderFilterTexts = exports.DataGridHeaderFilterSearch = exports.DataGridHeaderFilter = exports.CustomRule = exports.CustomOperation = exports.CursorOffset = exports.CompareRule = exports.ColumnLookup = exports.ColumnHeaderFilterSearch = exports.ColumnHeaderFilter = exports.ColumnFixingTexts = exports.ColumnFixing = exports.ColumnChooserSelection = exports.ColumnChooserSearch = exports.ColumnChooser = exports.Column = exports.Collision = exports.ColCountByScreen = exports.Change = exports.Button = exports.BoundaryOffset = exports.At = exports.AsyncRule = exports.Animation = exports.DataGrid = void 0;
55
55
  exports.ValueFormat = exports.ValidationRule = exports.TotalItem = exports.ToolbarItem = exports.Toolbar = exports.To = exports.Texts = exports.SummaryTexts = exports.Summary = exports.StringLengthRule = exports.StateStoring = exports.Sorting = exports.SortByGroupSummaryInfo = exports.Show = exports.Selection = exports.SearchPanel = exports.Search = exports.Scrolling = exports.RowDragging = exports.RequiredRule = exports.RemoteOperations = exports.RangeRule = exports.Position = exports.Popup = exports.PatternRule = exports.Paging = exports.Pager = exports.OperationDescriptions = exports.Offset = exports.NumericRule = exports.My = exports.MasterDetail = exports.Lookup = exports.LoadPanel = exports.Label = exports.KeyboardNavigation = exports.Item = void 0;
56
+ var React = __importStar(require("react"));
57
+ var react_1 = require("react");
56
58
  var data_grid_1 = __importDefault(require("devextreme/ui/data_grid"));
57
- var PropTypes = __importStar(require("prop-types"));
58
59
  var component_1 = require("./core/component");
59
60
  var nested_option_1 = __importDefault(require("./core/nested-option"));
60
- var DataGrid = /** @class */ (function (_super) {
61
- __extends(DataGrid, _super);
62
- function DataGrid() {
63
- var _this = _super !== null && _super.apply(this, arguments) || this;
64
- _this._WidgetClass = data_grid_1.default;
65
- _this.useRequestAnimationFrameFlag = true;
66
- _this.subscribableOptions = ["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys", "selectionFilter"];
67
- _this.independentEvents = ["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"];
68
- _this._defaults = {
69
- defaultColumns: "columns",
70
- defaultEditing: "editing",
71
- defaultFilterPanel: "filterPanel",
72
- defaultFilterValue: "filterValue",
73
- defaultFocusedColumnIndex: "focusedColumnIndex",
74
- defaultFocusedRowIndex: "focusedRowIndex",
75
- defaultFocusedRowKey: "focusedRowKey",
76
- defaultGroupPanel: "groupPanel",
77
- defaultPaging: "paging",
78
- defaultSearchPanel: "searchPanel",
79
- defaultSelectedRowKeys: "selectedRowKeys",
80
- defaultSelectionFilter: "selectionFilter"
81
- };
82
- _this._expectedChildren = {
83
- column: { optionName: "columns", isCollectionItem: true },
84
- columnChooser: { optionName: "columnChooser", isCollectionItem: false },
85
- columnFixing: { optionName: "columnFixing", isCollectionItem: false },
86
- dataGridHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
87
- dataGridSelection: { optionName: "selection", isCollectionItem: false },
88
- editing: { optionName: "editing", isCollectionItem: false },
89
- export: { optionName: "export", isCollectionItem: false },
90
- filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
91
- filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
92
- filterPanel: { optionName: "filterPanel", isCollectionItem: false },
93
- filterRow: { optionName: "filterRow", isCollectionItem: false },
94
- grouping: { optionName: "grouping", isCollectionItem: false },
95
- groupPanel: { optionName: "groupPanel", isCollectionItem: false },
96
- headerFilter: { optionName: "headerFilter", isCollectionItem: false },
97
- keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
98
- loadPanel: { optionName: "loadPanel", isCollectionItem: false },
99
- masterDetail: { optionName: "masterDetail", isCollectionItem: false },
100
- pager: { optionName: "pager", isCollectionItem: false },
101
- paging: { optionName: "paging", isCollectionItem: false },
102
- remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
103
- rowDragging: { optionName: "rowDragging", isCollectionItem: false },
104
- scrolling: { optionName: "scrolling", isCollectionItem: false },
105
- searchPanel: { optionName: "searchPanel", isCollectionItem: false },
106
- selection: { optionName: "selection", isCollectionItem: false },
107
- sortByGroupSummaryInfo: { optionName: "sortByGroupSummaryInfo", isCollectionItem: true },
108
- sorting: { optionName: "sorting", isCollectionItem: false },
109
- stateStoring: { optionName: "stateStoring", isCollectionItem: false },
110
- summary: { optionName: "summary", isCollectionItem: false },
111
- toolbar: { optionName: "toolbar", isCollectionItem: false }
112
- };
113
- _this._templateProps = [{
114
- tmplOption: "dataRowTemplate",
115
- render: "dataRowRender",
116
- component: "dataRowComponent",
117
- keyFn: "dataRowKeyFn"
118
- }, {
119
- tmplOption: "rowTemplate",
120
- render: "rowRender",
121
- component: "rowComponent",
122
- keyFn: "rowKeyFn"
123
- }];
124
- return _this;
125
- }
126
- Object.defineProperty(DataGrid.prototype, "instance", {
127
- get: function () {
128
- return this._instance;
61
+ var DataGrid = (0, react_1.memo)((0, react_1.forwardRef)(function (props, ref) {
62
+ var baseRef = (0, react_1.useRef)(null);
63
+ (0, react_1.useImperativeHandle)(ref, function () { return ({
64
+ instance: function () {
65
+ var _a;
66
+ return (_a = baseRef.current) === null || _a === void 0 ? void 0 : _a.getInstance();
67
+ }
68
+ }); }, [baseRef.current]);
69
+ var subscribableOptions = (0, react_1.useMemo)(function () { return (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys", "selectionFilter"]); }, []);
70
+ var independentEvents = (0, react_1.useMemo)(function () { return (["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"]); }, []);
71
+ var defaults = (0, react_1.useMemo)(function () { return ({
72
+ defaultColumns: "columns",
73
+ defaultEditing: "editing",
74
+ defaultFilterPanel: "filterPanel",
75
+ defaultFilterValue: "filterValue",
76
+ defaultFocusedColumnIndex: "focusedColumnIndex",
77
+ defaultFocusedRowIndex: "focusedRowIndex",
78
+ defaultFocusedRowKey: "focusedRowKey",
79
+ defaultGroupPanel: "groupPanel",
80
+ defaultPaging: "paging",
81
+ defaultSearchPanel: "searchPanel",
82
+ defaultSelectedRowKeys: "selectedRowKeys",
83
+ defaultSelectionFilter: "selectionFilter",
84
+ }); }, []);
85
+ var expectedChildren = (0, react_1.useMemo)(function () { return ({
86
+ column: { optionName: "columns", isCollectionItem: true },
87
+ columnChooser: { optionName: "columnChooser", isCollectionItem: false },
88
+ columnFixing: { optionName: "columnFixing", isCollectionItem: false },
89
+ dataGridHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
90
+ dataGridSelection: { optionName: "selection", isCollectionItem: false },
91
+ editing: { optionName: "editing", isCollectionItem: false },
92
+ export: { optionName: "export", isCollectionItem: false },
93
+ filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
94
+ filterBuilderPopup: { optionName: "filterBuilderPopup", isCollectionItem: false },
95
+ filterPanel: { optionName: "filterPanel", isCollectionItem: false },
96
+ filterRow: { optionName: "filterRow", isCollectionItem: false },
97
+ grouping: { optionName: "grouping", isCollectionItem: false },
98
+ groupPanel: { optionName: "groupPanel", isCollectionItem: false },
99
+ headerFilter: { optionName: "headerFilter", isCollectionItem: false },
100
+ keyboardNavigation: { optionName: "keyboardNavigation", isCollectionItem: false },
101
+ loadPanel: { optionName: "loadPanel", isCollectionItem: false },
102
+ masterDetail: { optionName: "masterDetail", isCollectionItem: false },
103
+ pager: { optionName: "pager", isCollectionItem: false },
104
+ paging: { optionName: "paging", isCollectionItem: false },
105
+ remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
106
+ rowDragging: { optionName: "rowDragging", isCollectionItem: false },
107
+ scrolling: { optionName: "scrolling", isCollectionItem: false },
108
+ searchPanel: { optionName: "searchPanel", isCollectionItem: false },
109
+ selection: { optionName: "selection", isCollectionItem: false },
110
+ sortByGroupSummaryInfo: { optionName: "sortByGroupSummaryInfo", isCollectionItem: true },
111
+ sorting: { optionName: "sorting", isCollectionItem: false },
112
+ stateStoring: { optionName: "stateStoring", isCollectionItem: false },
113
+ summary: { optionName: "summary", isCollectionItem: false },
114
+ toolbar: { optionName: "toolbar", isCollectionItem: false }
115
+ }); }, []);
116
+ var templateProps = (0, react_1.useMemo)(function () { return ([
117
+ {
118
+ tmplOption: "dataRowTemplate",
119
+ render: "dataRowRender",
120
+ component: "dataRowComponent"
121
+ },
122
+ {
123
+ tmplOption: "rowTemplate",
124
+ render: "rowRender",
125
+ component: "rowComponent"
129
126
  },
130
- enumerable: false,
131
- configurable: true
132
- });
133
- return DataGrid;
134
- }(component_1.Component));
127
+ ]); }, []);
128
+ return (React.createElement((component_1.Component), __assign({ WidgetClass: data_grid_1.default, ref: baseRef, useRequestAnimationFrameFlag: true, subscribableOptions: subscribableOptions, independentEvents: independentEvents, defaults: defaults, expectedChildren: expectedChildren, templateProps: templateProps }, props)));
129
+ }));
135
130
  exports.DataGrid = DataGrid;
136
- DataGrid.propTypes = {
137
- accessKey: PropTypes.string,
138
- activeStateEnabled: PropTypes.bool,
139
- allowColumnReordering: PropTypes.bool,
140
- allowColumnResizing: PropTypes.bool,
141
- autoNavigateToFocusedRow: PropTypes.bool,
142
- cacheEnabled: PropTypes.bool,
143
- cellHintEnabled: PropTypes.bool,
144
- columnAutoWidth: PropTypes.bool,
145
- columnChooser: PropTypes.object,
146
- columnFixing: PropTypes.object,
147
- columnHidingEnabled: PropTypes.bool,
148
- columnMinWidth: PropTypes.number,
149
- columnResizingMode: PropTypes.oneOfType([
150
- PropTypes.string,
151
- PropTypes.oneOf([
152
- "nextColumn",
153
- "widget"
154
- ])
155
- ]),
156
- columns: PropTypes.array,
157
- columnWidth: PropTypes.oneOfType([
158
- PropTypes.number,
159
- PropTypes.oneOfType([
160
- PropTypes.string,
161
- PropTypes.oneOf([
162
- "auto"
163
- ])
164
- ])
165
- ]),
166
- customizeColumns: PropTypes.func,
167
- dateSerializationFormat: PropTypes.string,
168
- disabled: PropTypes.bool,
169
- editing: PropTypes.object,
170
- elementAttr: PropTypes.object,
171
- errorRowEnabled: PropTypes.bool,
172
- export: PropTypes.object,
173
- filterBuilder: PropTypes.object,
174
- filterBuilderPopup: PropTypes.object,
175
- filterPanel: PropTypes.object,
176
- filterRow: PropTypes.object,
177
- filterSyncEnabled: PropTypes.oneOfType([
178
- PropTypes.bool,
179
- PropTypes.oneOfType([
180
- PropTypes.string,
181
- PropTypes.oneOf([
182
- "auto"
183
- ])
184
- ])
185
- ]),
186
- filterValue: PropTypes.oneOfType([
187
- PropTypes.array,
188
- PropTypes.func,
189
- PropTypes.string
190
- ]),
191
- focusedColumnIndex: PropTypes.number,
192
- focusedRowEnabled: PropTypes.bool,
193
- focusedRowIndex: PropTypes.number,
194
- grouping: PropTypes.object,
195
- groupPanel: PropTypes.object,
196
- headerFilter: PropTypes.object,
197
- height: PropTypes.oneOfType([
198
- PropTypes.func,
199
- PropTypes.number,
200
- PropTypes.string
201
- ]),
202
- highlightChanges: PropTypes.bool,
203
- hint: PropTypes.string,
204
- hoverStateEnabled: PropTypes.bool,
205
- keyboardNavigation: PropTypes.object,
206
- keyExpr: PropTypes.oneOfType([
207
- PropTypes.array,
208
- PropTypes.string
209
- ]),
210
- loadPanel: PropTypes.object,
211
- masterDetail: PropTypes.object,
212
- noDataText: PropTypes.string,
213
- onAdaptiveDetailRowPreparing: PropTypes.func,
214
- onCellClick: PropTypes.func,
215
- onCellDblClick: PropTypes.func,
216
- onCellHoverChanged: PropTypes.func,
217
- onCellPrepared: PropTypes.func,
218
- onContentReady: PropTypes.func,
219
- onContextMenuPreparing: PropTypes.func,
220
- onDataErrorOccurred: PropTypes.func,
221
- onDisposing: PropTypes.func,
222
- onEditCanceled: PropTypes.func,
223
- onEditCanceling: PropTypes.func,
224
- onEditingStart: PropTypes.func,
225
- onEditorPrepared: PropTypes.func,
226
- onEditorPreparing: PropTypes.func,
227
- onExporting: PropTypes.func,
228
- onFocusedCellChanged: PropTypes.func,
229
- onFocusedCellChanging: PropTypes.func,
230
- onFocusedRowChanged: PropTypes.func,
231
- onFocusedRowChanging: PropTypes.func,
232
- onInitialized: PropTypes.func,
233
- onInitNewRow: PropTypes.func,
234
- onKeyDown: PropTypes.func,
235
- onOptionChanged: PropTypes.func,
236
- onRowClick: PropTypes.func,
237
- onRowCollapsed: PropTypes.func,
238
- onRowCollapsing: PropTypes.func,
239
- onRowDblClick: PropTypes.func,
240
- onRowExpanded: PropTypes.func,
241
- onRowExpanding: PropTypes.func,
242
- onRowInserted: PropTypes.func,
243
- onRowInserting: PropTypes.func,
244
- onRowPrepared: PropTypes.func,
245
- onRowRemoved: PropTypes.func,
246
- onRowRemoving: PropTypes.func,
247
- onRowUpdated: PropTypes.func,
248
- onRowUpdating: PropTypes.func,
249
- onRowValidating: PropTypes.func,
250
- onSaved: PropTypes.func,
251
- onSaving: PropTypes.func,
252
- onSelectionChanged: PropTypes.func,
253
- onToolbarPreparing: PropTypes.func,
254
- pager: PropTypes.object,
255
- paging: PropTypes.object,
256
- remoteOperations: PropTypes.oneOfType([
257
- PropTypes.bool,
258
- PropTypes.object,
259
- PropTypes.oneOfType([
260
- PropTypes.string,
261
- PropTypes.oneOf([
262
- "auto"
263
- ])
264
- ])
265
- ]),
266
- renderAsync: PropTypes.bool,
267
- repaintChangesOnly: PropTypes.bool,
268
- rowAlternationEnabled: PropTypes.bool,
269
- rowDragging: PropTypes.object,
270
- rtlEnabled: PropTypes.bool,
271
- scrolling: PropTypes.object,
272
- searchPanel: PropTypes.object,
273
- selectedRowKeys: PropTypes.array,
274
- selection: PropTypes.object,
275
- selectionFilter: PropTypes.oneOfType([
276
- PropTypes.array,
277
- PropTypes.func,
278
- PropTypes.string
279
- ]),
280
- showBorders: PropTypes.bool,
281
- showColumnHeaders: PropTypes.bool,
282
- showColumnLines: PropTypes.bool,
283
- showRowLines: PropTypes.bool,
284
- sortByGroupSummaryInfo: PropTypes.array,
285
- sorting: PropTypes.object,
286
- stateStoring: PropTypes.object,
287
- summary: PropTypes.object,
288
- syncLookupFilterValues: PropTypes.bool,
289
- tabIndex: PropTypes.number,
290
- toolbar: PropTypes.object,
291
- twoWayBindingEnabled: PropTypes.bool,
292
- visible: PropTypes.bool,
293
- width: PropTypes.oneOfType([
294
- PropTypes.func,
295
- PropTypes.number,
296
- PropTypes.string
297
- ]),
298
- wordWrapEnabled: PropTypes.bool
299
- };
300
- var Animation = /** @class */ (function (_super) {
301
- __extends(Animation, _super);
302
- function Animation() {
303
- return _super !== null && _super.apply(this, arguments) || this;
304
- }
305
- Animation.OptionName = "animation";
306
- Animation.ExpectedChildren = {
131
+ var _componentAnimation = (0, react_1.memo)(function (props) {
132
+ return React.createElement((nested_option_1.default), __assign({}, props));
133
+ });
134
+ var Animation = Object.assign(_componentAnimation, {
135
+ OptionName: "animation",
136
+ ExpectedChildren: {
307
137
  hide: { optionName: "hide", isCollectionItem: false },
308
138
  show: { optionName: "show", isCollectionItem: false }
309
- };
310
- return Animation;
311
- }(nested_option_1.default));
139
+ },
140
+ });
312
141
  exports.Animation = Animation;
313
- var AsyncRule = /** @class */ (function (_super) {
314
- __extends(AsyncRule, _super);
315
- function AsyncRule() {
316
- return _super !== null && _super.apply(this, arguments) || this;
317
- }
318
- AsyncRule.OptionName = "validationRules";
319
- AsyncRule.IsCollectionItem = true;
320
- AsyncRule.PredefinedProps = {
142
+ var _componentAsyncRule = (0, react_1.memo)(function (props) {
143
+ return React.createElement((nested_option_1.default), __assign({}, props));
144
+ });
145
+ var AsyncRule = Object.assign(_componentAsyncRule, {
146
+ OptionName: "validationRules",
147
+ IsCollectionItem: true,
148
+ PredefinedProps: {
321
149
  type: "async"
322
- };
323
- return AsyncRule;
324
- }(nested_option_1.default));
150
+ },
151
+ });
325
152
  exports.AsyncRule = AsyncRule;
326
- var At = /** @class */ (function (_super) {
327
- __extends(At, _super);
328
- function At() {
329
- return _super !== null && _super.apply(this, arguments) || this;
330
- }
331
- At.OptionName = "at";
332
- return At;
333
- }(nested_option_1.default));
153
+ var _componentAt = (0, react_1.memo)(function (props) {
154
+ return React.createElement((nested_option_1.default), __assign({}, props));
155
+ });
156
+ var At = Object.assign(_componentAt, {
157
+ OptionName: "at",
158
+ });
334
159
  exports.At = At;
335
- var BoundaryOffset = /** @class */ (function (_super) {
336
- __extends(BoundaryOffset, _super);
337
- function BoundaryOffset() {
338
- return _super !== null && _super.apply(this, arguments) || this;
339
- }
340
- BoundaryOffset.OptionName = "boundaryOffset";
341
- return BoundaryOffset;
342
- }(nested_option_1.default));
160
+ var _componentBoundaryOffset = (0, react_1.memo)(function (props) {
161
+ return React.createElement((nested_option_1.default), __assign({}, props));
162
+ });
163
+ var BoundaryOffset = Object.assign(_componentBoundaryOffset, {
164
+ OptionName: "boundaryOffset",
165
+ });
343
166
  exports.BoundaryOffset = BoundaryOffset;
344
- var Button = /** @class */ (function (_super) {
345
- __extends(Button, _super);
346
- function Button() {
347
- return _super !== null && _super.apply(this, arguments) || this;
348
- }
349
- Button.OptionName = "buttons";
350
- Button.IsCollectionItem = true;
351
- Button.TemplateProps = [{
167
+ var _componentButton = (0, react_1.memo)(function (props) {
168
+ return React.createElement((nested_option_1.default), __assign({}, props));
169
+ });
170
+ var Button = Object.assign(_componentButton, {
171
+ OptionName: "buttons",
172
+ IsCollectionItem: true,
173
+ TemplateProps: [{
352
174
  tmplOption: "template",
353
175
  render: "render",
354
- component: "component",
355
- keyFn: "keyFn"
356
- }];
357
- return Button;
358
- }(nested_option_1.default));
176
+ component: "component"
177
+ }],
178
+ });
359
179
  exports.Button = Button;
360
- var Change = /** @class */ (function (_super) {
361
- __extends(Change, _super);
362
- function Change() {
363
- return _super !== null && _super.apply(this, arguments) || this;
364
- }
365
- Change.OptionName = "changes";
366
- Change.IsCollectionItem = true;
367
- return Change;
368
- }(nested_option_1.default));
180
+ var _componentChange = (0, react_1.memo)(function (props) {
181
+ return React.createElement((nested_option_1.default), __assign({}, props));
182
+ });
183
+ var Change = Object.assign(_componentChange, {
184
+ OptionName: "changes",
185
+ IsCollectionItem: true,
186
+ });
369
187
  exports.Change = Change;
370
- var ColCountByScreen = /** @class */ (function (_super) {
371
- __extends(ColCountByScreen, _super);
372
- function ColCountByScreen() {
373
- return _super !== null && _super.apply(this, arguments) || this;
374
- }
375
- ColCountByScreen.OptionName = "colCountByScreen";
376
- return ColCountByScreen;
377
- }(nested_option_1.default));
188
+ var _componentColCountByScreen = (0, react_1.memo)(function (props) {
189
+ return React.createElement((nested_option_1.default), __assign({}, props));
190
+ });
191
+ var ColCountByScreen = Object.assign(_componentColCountByScreen, {
192
+ OptionName: "colCountByScreen",
193
+ });
378
194
  exports.ColCountByScreen = ColCountByScreen;
379
- var Collision = /** @class */ (function (_super) {
380
- __extends(Collision, _super);
381
- function Collision() {
382
- return _super !== null && _super.apply(this, arguments) || this;
383
- }
384
- Collision.OptionName = "collision";
385
- return Collision;
386
- }(nested_option_1.default));
195
+ var _componentCollision = (0, react_1.memo)(function (props) {
196
+ return React.createElement((nested_option_1.default), __assign({}, props));
197
+ });
198
+ var Collision = Object.assign(_componentCollision, {
199
+ OptionName: "collision",
200
+ });
387
201
  exports.Collision = Collision;
388
- var Column = /** @class */ (function (_super) {
389
- __extends(Column, _super);
390
- function Column() {
391
- return _super !== null && _super.apply(this, arguments) || this;
392
- }
393
- Column.OptionName = "columns";
394
- Column.IsCollectionItem = true;
395
- Column.DefaultsProps = {
202
+ var _componentColumn = (0, react_1.memo)(function (props) {
203
+ return React.createElement((nested_option_1.default), __assign({}, props));
204
+ });
205
+ var Column = Object.assign(_componentColumn, {
206
+ OptionName: "columns",
207
+ IsCollectionItem: true,
208
+ DefaultsProps: {
396
209
  defaultFilterValue: "filterValue",
397
210
  defaultFilterValues: "filterValues",
398
211
  defaultGroupIndex: "groupIndex",
@@ -401,8 +214,8 @@ var Column = /** @class */ (function (_super) {
401
214
  defaultSortOrder: "sortOrder",
402
215
  defaultVisible: "visible",
403
216
  defaultVisibleIndex: "visibleIndex"
404
- };
405
- Column.ExpectedChildren = {
217
+ },
218
+ ExpectedChildren: {
406
219
  AsyncRule: { optionName: "validationRules", isCollectionItem: true },
407
220
  button: { optionName: "buttons", isCollectionItem: true },
408
221
  columnHeaderFilter: { optionName: "headerFilter", isCollectionItem: false },
@@ -420,427 +233,355 @@ var Column = /** @class */ (function (_super) {
420
233
  RequiredRule: { optionName: "validationRules", isCollectionItem: true },
421
234
  StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
422
235
  validationRule: { optionName: "validationRules", isCollectionItem: true }
423
- };
424
- Column.TemplateProps = [{
236
+ },
237
+ TemplateProps: [{
425
238
  tmplOption: "cellTemplate",
426
239
  render: "cellRender",
427
- component: "cellComponent",
428
- keyFn: "cellKeyFn"
240
+ component: "cellComponent"
429
241
  }, {
430
242
  tmplOption: "editCellTemplate",
431
243
  render: "editCellRender",
432
- component: "editCellComponent",
433
- keyFn: "editCellKeyFn"
244
+ component: "editCellComponent"
434
245
  }, {
435
246
  tmplOption: "groupCellTemplate",
436
247
  render: "groupCellRender",
437
- component: "groupCellComponent",
438
- keyFn: "groupCellKeyFn"
248
+ component: "groupCellComponent"
439
249
  }, {
440
250
  tmplOption: "headerCellTemplate",
441
251
  render: "headerCellRender",
442
- component: "headerCellComponent",
443
- keyFn: "headerCellKeyFn"
444
- }];
445
- return Column;
446
- }(nested_option_1.default));
252
+ component: "headerCellComponent"
253
+ }],
254
+ });
447
255
  exports.Column = Column;
448
- var ColumnChooser = /** @class */ (function (_super) {
449
- __extends(ColumnChooser, _super);
450
- function ColumnChooser() {
451
- return _super !== null && _super.apply(this, arguments) || this;
452
- }
453
- ColumnChooser.OptionName = "columnChooser";
454
- ColumnChooser.ExpectedChildren = {
256
+ var _componentColumnChooser = (0, react_1.memo)(function (props) {
257
+ return React.createElement((nested_option_1.default), __assign({}, props));
258
+ });
259
+ var ColumnChooser = Object.assign(_componentColumnChooser, {
260
+ OptionName: "columnChooser",
261
+ ExpectedChildren: {
455
262
  columnChooserSearch: { optionName: "search", isCollectionItem: false },
456
263
  columnChooserSelection: { optionName: "selection", isCollectionItem: false },
457
264
  position: { optionName: "position", isCollectionItem: false },
458
265
  search: { optionName: "search", isCollectionItem: false },
459
266
  selection: { optionName: "selection", isCollectionItem: false }
460
- };
461
- return ColumnChooser;
462
- }(nested_option_1.default));
267
+ },
268
+ });
463
269
  exports.ColumnChooser = ColumnChooser;
464
- var ColumnChooserSearch = /** @class */ (function (_super) {
465
- __extends(ColumnChooserSearch, _super);
466
- function ColumnChooserSearch() {
467
- return _super !== null && _super.apply(this, arguments) || this;
468
- }
469
- ColumnChooserSearch.OptionName = "search";
470
- return ColumnChooserSearch;
471
- }(nested_option_1.default));
270
+ var _componentColumnChooserSearch = (0, react_1.memo)(function (props) {
271
+ return React.createElement((nested_option_1.default), __assign({}, props));
272
+ });
273
+ var ColumnChooserSearch = Object.assign(_componentColumnChooserSearch, {
274
+ OptionName: "search",
275
+ });
472
276
  exports.ColumnChooserSearch = ColumnChooserSearch;
473
- var ColumnChooserSelection = /** @class */ (function (_super) {
474
- __extends(ColumnChooserSelection, _super);
475
- function ColumnChooserSelection() {
476
- return _super !== null && _super.apply(this, arguments) || this;
477
- }
478
- ColumnChooserSelection.OptionName = "selection";
479
- return ColumnChooserSelection;
480
- }(nested_option_1.default));
277
+ var _componentColumnChooserSelection = (0, react_1.memo)(function (props) {
278
+ return React.createElement((nested_option_1.default), __assign({}, props));
279
+ });
280
+ var ColumnChooserSelection = Object.assign(_componentColumnChooserSelection, {
281
+ OptionName: "selection",
282
+ });
481
283
  exports.ColumnChooserSelection = ColumnChooserSelection;
482
- var ColumnFixing = /** @class */ (function (_super) {
483
- __extends(ColumnFixing, _super);
484
- function ColumnFixing() {
485
- return _super !== null && _super.apply(this, arguments) || this;
486
- }
487
- ColumnFixing.OptionName = "columnFixing";
488
- ColumnFixing.ExpectedChildren = {
284
+ var _componentColumnFixing = (0, react_1.memo)(function (props) {
285
+ return React.createElement((nested_option_1.default), __assign({}, props));
286
+ });
287
+ var ColumnFixing = Object.assign(_componentColumnFixing, {
288
+ OptionName: "columnFixing",
289
+ ExpectedChildren: {
489
290
  columnFixingTexts: { optionName: "texts", isCollectionItem: false },
490
291
  texts: { optionName: "texts", isCollectionItem: false }
491
- };
492
- return ColumnFixing;
493
- }(nested_option_1.default));
292
+ },
293
+ });
494
294
  exports.ColumnFixing = ColumnFixing;
495
- var ColumnFixingTexts = /** @class */ (function (_super) {
496
- __extends(ColumnFixingTexts, _super);
497
- function ColumnFixingTexts() {
498
- return _super !== null && _super.apply(this, arguments) || this;
499
- }
500
- ColumnFixingTexts.OptionName = "texts";
501
- return ColumnFixingTexts;
502
- }(nested_option_1.default));
295
+ var _componentColumnFixingTexts = (0, react_1.memo)(function (props) {
296
+ return React.createElement((nested_option_1.default), __assign({}, props));
297
+ });
298
+ var ColumnFixingTexts = Object.assign(_componentColumnFixingTexts, {
299
+ OptionName: "texts",
300
+ });
503
301
  exports.ColumnFixingTexts = ColumnFixingTexts;
504
- var ColumnHeaderFilter = /** @class */ (function (_super) {
505
- __extends(ColumnHeaderFilter, _super);
506
- function ColumnHeaderFilter() {
507
- return _super !== null && _super.apply(this, arguments) || this;
508
- }
509
- ColumnHeaderFilter.OptionName = "headerFilter";
510
- ColumnHeaderFilter.ExpectedChildren = {
302
+ var _componentColumnHeaderFilter = (0, react_1.memo)(function (props) {
303
+ return React.createElement((nested_option_1.default), __assign({}, props));
304
+ });
305
+ var ColumnHeaderFilter = Object.assign(_componentColumnHeaderFilter, {
306
+ OptionName: "headerFilter",
307
+ ExpectedChildren: {
511
308
  columnHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
512
309
  search: { optionName: "search", isCollectionItem: false }
513
- };
514
- return ColumnHeaderFilter;
515
- }(nested_option_1.default));
310
+ },
311
+ });
516
312
  exports.ColumnHeaderFilter = ColumnHeaderFilter;
517
- var ColumnHeaderFilterSearch = /** @class */ (function (_super) {
518
- __extends(ColumnHeaderFilterSearch, _super);
519
- function ColumnHeaderFilterSearch() {
520
- return _super !== null && _super.apply(this, arguments) || this;
521
- }
522
- ColumnHeaderFilterSearch.OptionName = "search";
523
- return ColumnHeaderFilterSearch;
524
- }(nested_option_1.default));
313
+ var _componentColumnHeaderFilterSearch = (0, react_1.memo)(function (props) {
314
+ return React.createElement((nested_option_1.default), __assign({}, props));
315
+ });
316
+ var ColumnHeaderFilterSearch = Object.assign(_componentColumnHeaderFilterSearch, {
317
+ OptionName: "search",
318
+ });
525
319
  exports.ColumnHeaderFilterSearch = ColumnHeaderFilterSearch;
526
- var ColumnLookup = /** @class */ (function (_super) {
527
- __extends(ColumnLookup, _super);
528
- function ColumnLookup() {
529
- return _super !== null && _super.apply(this, arguments) || this;
530
- }
531
- ColumnLookup.OptionName = "lookup";
532
- return ColumnLookup;
533
- }(nested_option_1.default));
320
+ var _componentColumnLookup = (0, react_1.memo)(function (props) {
321
+ return React.createElement((nested_option_1.default), __assign({}, props));
322
+ });
323
+ var ColumnLookup = Object.assign(_componentColumnLookup, {
324
+ OptionName: "lookup",
325
+ });
534
326
  exports.ColumnLookup = ColumnLookup;
535
- var CompareRule = /** @class */ (function (_super) {
536
- __extends(CompareRule, _super);
537
- function CompareRule() {
538
- return _super !== null && _super.apply(this, arguments) || this;
539
- }
540
- CompareRule.OptionName = "validationRules";
541
- CompareRule.IsCollectionItem = true;
542
- CompareRule.PredefinedProps = {
327
+ var _componentCompareRule = (0, react_1.memo)(function (props) {
328
+ return React.createElement((nested_option_1.default), __assign({}, props));
329
+ });
330
+ var CompareRule = Object.assign(_componentCompareRule, {
331
+ OptionName: "validationRules",
332
+ IsCollectionItem: true,
333
+ PredefinedProps: {
543
334
  type: "compare"
544
- };
545
- return CompareRule;
546
- }(nested_option_1.default));
335
+ },
336
+ });
547
337
  exports.CompareRule = CompareRule;
548
- var CursorOffset = /** @class */ (function (_super) {
549
- __extends(CursorOffset, _super);
550
- function CursorOffset() {
551
- return _super !== null && _super.apply(this, arguments) || this;
552
- }
553
- CursorOffset.OptionName = "cursorOffset";
554
- return CursorOffset;
555
- }(nested_option_1.default));
338
+ var _componentCursorOffset = (0, react_1.memo)(function (props) {
339
+ return React.createElement((nested_option_1.default), __assign({}, props));
340
+ });
341
+ var CursorOffset = Object.assign(_componentCursorOffset, {
342
+ OptionName: "cursorOffset",
343
+ });
556
344
  exports.CursorOffset = CursorOffset;
557
- var CustomOperation = /** @class */ (function (_super) {
558
- __extends(CustomOperation, _super);
559
- function CustomOperation() {
560
- return _super !== null && _super.apply(this, arguments) || this;
561
- }
562
- CustomOperation.OptionName = "customOperations";
563
- CustomOperation.IsCollectionItem = true;
564
- CustomOperation.TemplateProps = [{
345
+ var _componentCustomOperation = (0, react_1.memo)(function (props) {
346
+ return React.createElement((nested_option_1.default), __assign({}, props));
347
+ });
348
+ var CustomOperation = Object.assign(_componentCustomOperation, {
349
+ OptionName: "customOperations",
350
+ IsCollectionItem: true,
351
+ TemplateProps: [{
565
352
  tmplOption: "editorTemplate",
566
353
  render: "editorRender",
567
- component: "editorComponent",
568
- keyFn: "editorKeyFn"
569
- }];
570
- return CustomOperation;
571
- }(nested_option_1.default));
354
+ component: "editorComponent"
355
+ }],
356
+ });
572
357
  exports.CustomOperation = CustomOperation;
573
- var CustomRule = /** @class */ (function (_super) {
574
- __extends(CustomRule, _super);
575
- function CustomRule() {
576
- return _super !== null && _super.apply(this, arguments) || this;
577
- }
578
- CustomRule.OptionName = "validationRules";
579
- CustomRule.IsCollectionItem = true;
580
- CustomRule.PredefinedProps = {
358
+ var _componentCustomRule = (0, react_1.memo)(function (props) {
359
+ return React.createElement((nested_option_1.default), __assign({}, props));
360
+ });
361
+ var CustomRule = Object.assign(_componentCustomRule, {
362
+ OptionName: "validationRules",
363
+ IsCollectionItem: true,
364
+ PredefinedProps: {
581
365
  type: "custom"
582
- };
583
- return CustomRule;
584
- }(nested_option_1.default));
366
+ },
367
+ });
585
368
  exports.CustomRule = CustomRule;
586
- var DataGridHeaderFilter = /** @class */ (function (_super) {
587
- __extends(DataGridHeaderFilter, _super);
588
- function DataGridHeaderFilter() {
589
- return _super !== null && _super.apply(this, arguments) || this;
590
- }
591
- DataGridHeaderFilter.OptionName = "headerFilter";
592
- DataGridHeaderFilter.ExpectedChildren = {
369
+ var _componentDataGridHeaderFilter = (0, react_1.memo)(function (props) {
370
+ return React.createElement((nested_option_1.default), __assign({}, props));
371
+ });
372
+ var DataGridHeaderFilter = Object.assign(_componentDataGridHeaderFilter, {
373
+ OptionName: "headerFilter",
374
+ ExpectedChildren: {
593
375
  dataGridHeaderFilterSearch: { optionName: "search", isCollectionItem: false },
594
376
  dataGridHeaderFilterTexts: { optionName: "texts", isCollectionItem: false },
595
377
  search: { optionName: "search", isCollectionItem: false },
596
378
  texts: { optionName: "texts", isCollectionItem: false }
597
- };
598
- return DataGridHeaderFilter;
599
- }(nested_option_1.default));
379
+ },
380
+ });
600
381
  exports.DataGridHeaderFilter = DataGridHeaderFilter;
601
- var DataGridHeaderFilterSearch = /** @class */ (function (_super) {
602
- __extends(DataGridHeaderFilterSearch, _super);
603
- function DataGridHeaderFilterSearch() {
604
- return _super !== null && _super.apply(this, arguments) || this;
605
- }
606
- DataGridHeaderFilterSearch.OptionName = "search";
607
- return DataGridHeaderFilterSearch;
608
- }(nested_option_1.default));
382
+ var _componentDataGridHeaderFilterSearch = (0, react_1.memo)(function (props) {
383
+ return React.createElement((nested_option_1.default), __assign({}, props));
384
+ });
385
+ var DataGridHeaderFilterSearch = Object.assign(_componentDataGridHeaderFilterSearch, {
386
+ OptionName: "search",
387
+ });
609
388
  exports.DataGridHeaderFilterSearch = DataGridHeaderFilterSearch;
610
- var DataGridHeaderFilterTexts = /** @class */ (function (_super) {
611
- __extends(DataGridHeaderFilterTexts, _super);
612
- function DataGridHeaderFilterTexts() {
613
- return _super !== null && _super.apply(this, arguments) || this;
614
- }
615
- DataGridHeaderFilterTexts.OptionName = "texts";
616
- return DataGridHeaderFilterTexts;
617
- }(nested_option_1.default));
389
+ var _componentDataGridHeaderFilterTexts = (0, react_1.memo)(function (props) {
390
+ return React.createElement((nested_option_1.default), __assign({}, props));
391
+ });
392
+ var DataGridHeaderFilterTexts = Object.assign(_componentDataGridHeaderFilterTexts, {
393
+ OptionName: "texts",
394
+ });
618
395
  exports.DataGridHeaderFilterTexts = DataGridHeaderFilterTexts;
619
- var DataGridSelection = /** @class */ (function (_super) {
620
- __extends(DataGridSelection, _super);
621
- function DataGridSelection() {
622
- return _super !== null && _super.apply(this, arguments) || this;
623
- }
624
- DataGridSelection.OptionName = "selection";
625
- return DataGridSelection;
626
- }(nested_option_1.default));
396
+ var _componentDataGridSelection = (0, react_1.memo)(function (props) {
397
+ return React.createElement((nested_option_1.default), __assign({}, props));
398
+ });
399
+ var DataGridSelection = Object.assign(_componentDataGridSelection, {
400
+ OptionName: "selection",
401
+ });
627
402
  exports.DataGridSelection = DataGridSelection;
628
- var Editing = /** @class */ (function (_super) {
629
- __extends(Editing, _super);
630
- function Editing() {
631
- return _super !== null && _super.apply(this, arguments) || this;
632
- }
633
- Editing.OptionName = "editing";
634
- Editing.DefaultsProps = {
403
+ var _componentEditing = (0, react_1.memo)(function (props) {
404
+ return React.createElement((nested_option_1.default), __assign({}, props));
405
+ });
406
+ var Editing = Object.assign(_componentEditing, {
407
+ OptionName: "editing",
408
+ DefaultsProps: {
635
409
  defaultChanges: "changes",
636
410
  defaultEditColumnName: "editColumnName",
637
411
  defaultEditRowKey: "editRowKey"
638
- };
639
- Editing.ExpectedChildren = {
412
+ },
413
+ ExpectedChildren: {
640
414
  change: { optionName: "changes", isCollectionItem: true },
641
415
  editingTexts: { optionName: "texts", isCollectionItem: false },
642
416
  form: { optionName: "form", isCollectionItem: false },
643
417
  popup: { optionName: "popup", isCollectionItem: false },
644
418
  texts: { optionName: "texts", isCollectionItem: false }
645
- };
646
- return Editing;
647
- }(nested_option_1.default));
419
+ },
420
+ });
648
421
  exports.Editing = Editing;
649
- var EditingTexts = /** @class */ (function (_super) {
650
- __extends(EditingTexts, _super);
651
- function EditingTexts() {
652
- return _super !== null && _super.apply(this, arguments) || this;
653
- }
654
- EditingTexts.OptionName = "texts";
655
- return EditingTexts;
656
- }(nested_option_1.default));
422
+ var _componentEditingTexts = (0, react_1.memo)(function (props) {
423
+ return React.createElement((nested_option_1.default), __assign({}, props));
424
+ });
425
+ var EditingTexts = Object.assign(_componentEditingTexts, {
426
+ OptionName: "texts",
427
+ });
657
428
  exports.EditingTexts = EditingTexts;
658
- var EmailRule = /** @class */ (function (_super) {
659
- __extends(EmailRule, _super);
660
- function EmailRule() {
661
- return _super !== null && _super.apply(this, arguments) || this;
662
- }
663
- EmailRule.OptionName = "validationRules";
664
- EmailRule.IsCollectionItem = true;
665
- EmailRule.PredefinedProps = {
429
+ var _componentEmailRule = (0, react_1.memo)(function (props) {
430
+ return React.createElement((nested_option_1.default), __assign({}, props));
431
+ });
432
+ var EmailRule = Object.assign(_componentEmailRule, {
433
+ OptionName: "validationRules",
434
+ IsCollectionItem: true,
435
+ PredefinedProps: {
666
436
  type: "email"
667
- };
668
- return EmailRule;
669
- }(nested_option_1.default));
437
+ },
438
+ });
670
439
  exports.EmailRule = EmailRule;
671
- var Export = /** @class */ (function (_super) {
672
- __extends(Export, _super);
673
- function Export() {
674
- return _super !== null && _super.apply(this, arguments) || this;
675
- }
676
- Export.OptionName = "export";
677
- Export.ExpectedChildren = {
440
+ var _componentExport = (0, react_1.memo)(function (props) {
441
+ return React.createElement((nested_option_1.default), __assign({}, props));
442
+ });
443
+ var Export = Object.assign(_componentExport, {
444
+ OptionName: "export",
445
+ ExpectedChildren: {
678
446
  exportTexts: { optionName: "texts", isCollectionItem: false },
679
447
  texts: { optionName: "texts", isCollectionItem: false }
680
- };
681
- return Export;
682
- }(nested_option_1.default));
448
+ },
449
+ });
683
450
  exports.Export = Export;
684
- var ExportTexts = /** @class */ (function (_super) {
685
- __extends(ExportTexts, _super);
686
- function ExportTexts() {
687
- return _super !== null && _super.apply(this, arguments) || this;
688
- }
689
- ExportTexts.OptionName = "texts";
690
- return ExportTexts;
691
- }(nested_option_1.default));
451
+ var _componentExportTexts = (0, react_1.memo)(function (props) {
452
+ return React.createElement((nested_option_1.default), __assign({}, props));
453
+ });
454
+ var ExportTexts = Object.assign(_componentExportTexts, {
455
+ OptionName: "texts",
456
+ });
692
457
  exports.ExportTexts = ExportTexts;
693
- var Field = /** @class */ (function (_super) {
694
- __extends(Field, _super);
695
- function Field() {
696
- return _super !== null && _super.apply(this, arguments) || this;
697
- }
698
- Field.OptionName = "fields";
699
- Field.IsCollectionItem = true;
700
- Field.ExpectedChildren = {
458
+ var _componentField = (0, react_1.memo)(function (props) {
459
+ return React.createElement((nested_option_1.default), __assign({}, props));
460
+ });
461
+ var Field = Object.assign(_componentField, {
462
+ OptionName: "fields",
463
+ IsCollectionItem: true,
464
+ ExpectedChildren: {
701
465
  fieldLookup: { optionName: "lookup", isCollectionItem: false },
702
466
  format: { optionName: "format", isCollectionItem: false },
703
467
  lookup: { optionName: "lookup", isCollectionItem: false }
704
- };
705
- Field.TemplateProps = [{
468
+ },
469
+ TemplateProps: [{
706
470
  tmplOption: "editorTemplate",
707
471
  render: "editorRender",
708
- component: "editorComponent",
709
- keyFn: "editorKeyFn"
710
- }];
711
- return Field;
712
- }(nested_option_1.default));
472
+ component: "editorComponent"
473
+ }],
474
+ });
713
475
  exports.Field = Field;
714
- var FieldLookup = /** @class */ (function (_super) {
715
- __extends(FieldLookup, _super);
716
- function FieldLookup() {
717
- return _super !== null && _super.apply(this, arguments) || this;
718
- }
719
- FieldLookup.OptionName = "lookup";
720
- return FieldLookup;
721
- }(nested_option_1.default));
476
+ var _componentFieldLookup = (0, react_1.memo)(function (props) {
477
+ return React.createElement((nested_option_1.default), __assign({}, props));
478
+ });
479
+ var FieldLookup = Object.assign(_componentFieldLookup, {
480
+ OptionName: "lookup",
481
+ });
722
482
  exports.FieldLookup = FieldLookup;
723
- var FilterBuilder = /** @class */ (function (_super) {
724
- __extends(FilterBuilder, _super);
725
- function FilterBuilder() {
726
- return _super !== null && _super.apply(this, arguments) || this;
727
- }
728
- FilterBuilder.OptionName = "filterBuilder";
729
- FilterBuilder.DefaultsProps = {
483
+ var _componentFilterBuilder = (0, react_1.memo)(function (props) {
484
+ return React.createElement((nested_option_1.default), __assign({}, props));
485
+ });
486
+ var FilterBuilder = Object.assign(_componentFilterBuilder, {
487
+ OptionName: "filterBuilder",
488
+ DefaultsProps: {
730
489
  defaultValue: "value"
731
- };
732
- FilterBuilder.ExpectedChildren = {
490
+ },
491
+ ExpectedChildren: {
733
492
  customOperation: { optionName: "customOperations", isCollectionItem: true },
734
493
  field: { optionName: "fields", isCollectionItem: true },
735
494
  filterOperationDescriptions: { optionName: "filterOperationDescriptions", isCollectionItem: false },
736
495
  groupOperationDescriptions: { optionName: "groupOperationDescriptions", isCollectionItem: false }
737
- };
738
- return FilterBuilder;
739
- }(nested_option_1.default));
496
+ },
497
+ });
740
498
  exports.FilterBuilder = FilterBuilder;
741
- var FilterBuilderPopup = /** @class */ (function (_super) {
742
- __extends(FilterBuilderPopup, _super);
743
- function FilterBuilderPopup() {
744
- return _super !== null && _super.apply(this, arguments) || this;
745
- }
746
- FilterBuilderPopup.OptionName = "filterBuilderPopup";
747
- FilterBuilderPopup.DefaultsProps = {
499
+ var _componentFilterBuilderPopup = (0, react_1.memo)(function (props) {
500
+ return React.createElement((nested_option_1.default), __assign({}, props));
501
+ });
502
+ var FilterBuilderPopup = Object.assign(_componentFilterBuilderPopup, {
503
+ OptionName: "filterBuilderPopup",
504
+ DefaultsProps: {
748
505
  defaultHeight: "height",
749
506
  defaultPosition: "position",
750
507
  defaultVisible: "visible",
751
508
  defaultWidth: "width"
752
- };
753
- FilterBuilderPopup.TemplateProps = [{
509
+ },
510
+ TemplateProps: [{
754
511
  tmplOption: "contentTemplate",
755
512
  render: "contentRender",
756
- component: "contentComponent",
757
- keyFn: "contentKeyFn"
513
+ component: "contentComponent"
758
514
  }, {
759
515
  tmplOption: "titleTemplate",
760
516
  render: "titleRender",
761
- component: "titleComponent",
762
- keyFn: "titleKeyFn"
763
- }];
764
- return FilterBuilderPopup;
765
- }(nested_option_1.default));
517
+ component: "titleComponent"
518
+ }],
519
+ });
766
520
  exports.FilterBuilderPopup = FilterBuilderPopup;
767
- var FilterOperationDescriptions = /** @class */ (function (_super) {
768
- __extends(FilterOperationDescriptions, _super);
769
- function FilterOperationDescriptions() {
770
- return _super !== null && _super.apply(this, arguments) || this;
771
- }
772
- FilterOperationDescriptions.OptionName = "filterOperationDescriptions";
773
- return FilterOperationDescriptions;
774
- }(nested_option_1.default));
521
+ var _componentFilterOperationDescriptions = (0, react_1.memo)(function (props) {
522
+ return React.createElement((nested_option_1.default), __assign({}, props));
523
+ });
524
+ var FilterOperationDescriptions = Object.assign(_componentFilterOperationDescriptions, {
525
+ OptionName: "filterOperationDescriptions",
526
+ });
775
527
  exports.FilterOperationDescriptions = FilterOperationDescriptions;
776
- var FilterPanel = /** @class */ (function (_super) {
777
- __extends(FilterPanel, _super);
778
- function FilterPanel() {
779
- return _super !== null && _super.apply(this, arguments) || this;
780
- }
781
- FilterPanel.OptionName = "filterPanel";
782
- FilterPanel.DefaultsProps = {
528
+ var _componentFilterPanel = (0, react_1.memo)(function (props) {
529
+ return React.createElement((nested_option_1.default), __assign({}, props));
530
+ });
531
+ var FilterPanel = Object.assign(_componentFilterPanel, {
532
+ OptionName: "filterPanel",
533
+ DefaultsProps: {
783
534
  defaultFilterEnabled: "filterEnabled"
784
- };
785
- FilterPanel.ExpectedChildren = {
535
+ },
536
+ ExpectedChildren: {
786
537
  filterPanelTexts: { optionName: "texts", isCollectionItem: false },
787
538
  texts: { optionName: "texts", isCollectionItem: false }
788
- };
789
- return FilterPanel;
790
- }(nested_option_1.default));
539
+ },
540
+ });
791
541
  exports.FilterPanel = FilterPanel;
792
- var FilterPanelTexts = /** @class */ (function (_super) {
793
- __extends(FilterPanelTexts, _super);
794
- function FilterPanelTexts() {
795
- return _super !== null && _super.apply(this, arguments) || this;
796
- }
797
- FilterPanelTexts.OptionName = "texts";
798
- return FilterPanelTexts;
799
- }(nested_option_1.default));
542
+ var _componentFilterPanelTexts = (0, react_1.memo)(function (props) {
543
+ return React.createElement((nested_option_1.default), __assign({}, props));
544
+ });
545
+ var FilterPanelTexts = Object.assign(_componentFilterPanelTexts, {
546
+ OptionName: "texts",
547
+ });
800
548
  exports.FilterPanelTexts = FilterPanelTexts;
801
- var FilterRow = /** @class */ (function (_super) {
802
- __extends(FilterRow, _super);
803
- function FilterRow() {
804
- return _super !== null && _super.apply(this, arguments) || this;
805
- }
806
- FilterRow.OptionName = "filterRow";
807
- FilterRow.ExpectedChildren = {
549
+ var _componentFilterRow = (0, react_1.memo)(function (props) {
550
+ return React.createElement((nested_option_1.default), __assign({}, props));
551
+ });
552
+ var FilterRow = Object.assign(_componentFilterRow, {
553
+ OptionName: "filterRow",
554
+ ExpectedChildren: {
808
555
  operationDescriptions: { optionName: "operationDescriptions", isCollectionItem: false }
809
- };
810
- return FilterRow;
811
- }(nested_option_1.default));
556
+ },
557
+ });
812
558
  exports.FilterRow = FilterRow;
813
- var Form = /** @class */ (function (_super) {
814
- __extends(Form, _super);
815
- function Form() {
816
- return _super !== null && _super.apply(this, arguments) || this;
817
- }
818
- Form.OptionName = "form";
819
- Form.DefaultsProps = {
559
+ var _componentForm = (0, react_1.memo)(function (props) {
560
+ return React.createElement((nested_option_1.default), __assign({}, props));
561
+ });
562
+ var Form = Object.assign(_componentForm, {
563
+ OptionName: "form",
564
+ DefaultsProps: {
820
565
  defaultFormData: "formData"
821
- };
822
- Form.ExpectedChildren = {
566
+ },
567
+ ExpectedChildren: {
823
568
  colCountByScreen: { optionName: "colCountByScreen", isCollectionItem: false }
824
- };
825
- return Form;
826
- }(nested_option_1.default));
569
+ },
570
+ });
827
571
  exports.Form = Form;
828
- var Format = /** @class */ (function (_super) {
829
- __extends(Format, _super);
830
- function Format() {
831
- return _super !== null && _super.apply(this, arguments) || this;
832
- }
833
- Format.OptionName = "format";
834
- return Format;
835
- }(nested_option_1.default));
572
+ var _componentFormat = (0, react_1.memo)(function (props) {
573
+ return React.createElement((nested_option_1.default), __assign({}, props));
574
+ });
575
+ var Format = Object.assign(_componentFormat, {
576
+ OptionName: "format",
577
+ });
836
578
  exports.Format = Format;
837
- var FormItem = /** @class */ (function (_super) {
838
- __extends(FormItem, _super);
839
- function FormItem() {
840
- return _super !== null && _super.apply(this, arguments) || this;
841
- }
842
- FormItem.OptionName = "formItem";
843
- FormItem.ExpectedChildren = {
579
+ var _componentFormItem = (0, react_1.memo)(function (props) {
580
+ return React.createElement((nested_option_1.default), __assign({}, props));
581
+ });
582
+ var FormItem = Object.assign(_componentFormItem, {
583
+ OptionName: "formItem",
584
+ ExpectedChildren: {
844
585
  AsyncRule: { optionName: "validationRules", isCollectionItem: true },
845
586
  CompareRule: { optionName: "validationRules", isCollectionItem: true },
846
587
  CustomRule: { optionName: "validationRules", isCollectionItem: true },
@@ -852,549 +593,448 @@ var FormItem = /** @class */ (function (_super) {
852
593
  RequiredRule: { optionName: "validationRules", isCollectionItem: true },
853
594
  StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
854
595
  validationRule: { optionName: "validationRules", isCollectionItem: true }
855
- };
856
- FormItem.TemplateProps = [{
596
+ },
597
+ TemplateProps: [{
857
598
  tmplOption: "template",
858
599
  render: "render",
859
- component: "component",
860
- keyFn: "keyFn"
861
- }];
862
- return FormItem;
863
- }(nested_option_1.default));
600
+ component: "component"
601
+ }],
602
+ });
864
603
  exports.FormItem = FormItem;
865
- var From = /** @class */ (function (_super) {
866
- __extends(From, _super);
867
- function From() {
868
- return _super !== null && _super.apply(this, arguments) || this;
869
- }
870
- From.OptionName = "from";
871
- From.ExpectedChildren = {
604
+ var _componentFrom = (0, react_1.memo)(function (props) {
605
+ return React.createElement((nested_option_1.default), __assign({}, props));
606
+ });
607
+ var From = Object.assign(_componentFrom, {
608
+ OptionName: "from",
609
+ ExpectedChildren: {
872
610
  position: { optionName: "position", isCollectionItem: false }
873
- };
874
- return From;
875
- }(nested_option_1.default));
611
+ },
612
+ });
876
613
  exports.From = From;
877
- var Grouping = /** @class */ (function (_super) {
878
- __extends(Grouping, _super);
879
- function Grouping() {
880
- return _super !== null && _super.apply(this, arguments) || this;
881
- }
882
- Grouping.OptionName = "grouping";
883
- Grouping.ExpectedChildren = {
614
+ var _componentGrouping = (0, react_1.memo)(function (props) {
615
+ return React.createElement((nested_option_1.default), __assign({}, props));
616
+ });
617
+ var Grouping = Object.assign(_componentGrouping, {
618
+ OptionName: "grouping",
619
+ ExpectedChildren: {
884
620
  groupingTexts: { optionName: "texts", isCollectionItem: false },
885
621
  texts: { optionName: "texts", isCollectionItem: false }
886
- };
887
- return Grouping;
888
- }(nested_option_1.default));
622
+ },
623
+ });
889
624
  exports.Grouping = Grouping;
890
- var GroupingTexts = /** @class */ (function (_super) {
891
- __extends(GroupingTexts, _super);
892
- function GroupingTexts() {
893
- return _super !== null && _super.apply(this, arguments) || this;
894
- }
895
- GroupingTexts.OptionName = "texts";
896
- return GroupingTexts;
897
- }(nested_option_1.default));
625
+ var _componentGroupingTexts = (0, react_1.memo)(function (props) {
626
+ return React.createElement((nested_option_1.default), __assign({}, props));
627
+ });
628
+ var GroupingTexts = Object.assign(_componentGroupingTexts, {
629
+ OptionName: "texts",
630
+ });
898
631
  exports.GroupingTexts = GroupingTexts;
899
- var GroupItem = /** @class */ (function (_super) {
900
- __extends(GroupItem, _super);
901
- function GroupItem() {
902
- return _super !== null && _super.apply(this, arguments) || this;
903
- }
904
- GroupItem.OptionName = "groupItems";
905
- GroupItem.IsCollectionItem = true;
906
- GroupItem.ExpectedChildren = {
632
+ var _componentGroupItem = (0, react_1.memo)(function (props) {
633
+ return React.createElement((nested_option_1.default), __assign({}, props));
634
+ });
635
+ var GroupItem = Object.assign(_componentGroupItem, {
636
+ OptionName: "groupItems",
637
+ IsCollectionItem: true,
638
+ ExpectedChildren: {
907
639
  valueFormat: { optionName: "valueFormat", isCollectionItem: false }
908
- };
909
- return GroupItem;
910
- }(nested_option_1.default));
640
+ },
641
+ });
911
642
  exports.GroupItem = GroupItem;
912
- var GroupOperationDescriptions = /** @class */ (function (_super) {
913
- __extends(GroupOperationDescriptions, _super);
914
- function GroupOperationDescriptions() {
915
- return _super !== null && _super.apply(this, arguments) || this;
916
- }
917
- GroupOperationDescriptions.OptionName = "groupOperationDescriptions";
918
- return GroupOperationDescriptions;
919
- }(nested_option_1.default));
643
+ var _componentGroupOperationDescriptions = (0, react_1.memo)(function (props) {
644
+ return React.createElement((nested_option_1.default), __assign({}, props));
645
+ });
646
+ var GroupOperationDescriptions = Object.assign(_componentGroupOperationDescriptions, {
647
+ OptionName: "groupOperationDescriptions",
648
+ });
920
649
  exports.GroupOperationDescriptions = GroupOperationDescriptions;
921
- var GroupPanel = /** @class */ (function (_super) {
922
- __extends(GroupPanel, _super);
923
- function GroupPanel() {
924
- return _super !== null && _super.apply(this, arguments) || this;
925
- }
926
- GroupPanel.OptionName = "groupPanel";
927
- GroupPanel.DefaultsProps = {
650
+ var _componentGroupPanel = (0, react_1.memo)(function (props) {
651
+ return React.createElement((nested_option_1.default), __assign({}, props));
652
+ });
653
+ var GroupPanel = Object.assign(_componentGroupPanel, {
654
+ OptionName: "groupPanel",
655
+ DefaultsProps: {
928
656
  defaultVisible: "visible"
929
- };
930
- return GroupPanel;
931
- }(nested_option_1.default));
657
+ },
658
+ });
932
659
  exports.GroupPanel = GroupPanel;
933
- var HeaderFilter = /** @class */ (function (_super) {
934
- __extends(HeaderFilter, _super);
935
- function HeaderFilter() {
936
- return _super !== null && _super.apply(this, arguments) || this;
937
- }
938
- HeaderFilter.OptionName = "headerFilter";
939
- return HeaderFilter;
940
- }(nested_option_1.default));
660
+ var _componentHeaderFilter = (0, react_1.memo)(function (props) {
661
+ return React.createElement((nested_option_1.default), __assign({}, props));
662
+ });
663
+ var HeaderFilter = Object.assign(_componentHeaderFilter, {
664
+ OptionName: "headerFilter",
665
+ });
941
666
  exports.HeaderFilter = HeaderFilter;
942
- var Hide = /** @class */ (function (_super) {
943
- __extends(Hide, _super);
944
- function Hide() {
945
- return _super !== null && _super.apply(this, arguments) || this;
946
- }
947
- Hide.OptionName = "hide";
948
- Hide.ExpectedChildren = {
667
+ var _componentHide = (0, react_1.memo)(function (props) {
668
+ return React.createElement((nested_option_1.default), __assign({}, props));
669
+ });
670
+ var Hide = Object.assign(_componentHide, {
671
+ OptionName: "hide",
672
+ ExpectedChildren: {
949
673
  from: { optionName: "from", isCollectionItem: false },
950
674
  to: { optionName: "to", isCollectionItem: false }
951
- };
952
- return Hide;
953
- }(nested_option_1.default));
675
+ },
676
+ });
954
677
  exports.Hide = Hide;
955
- var Item = /** @class */ (function (_super) {
956
- __extends(Item, _super);
957
- function Item() {
958
- return _super !== null && _super.apply(this, arguments) || this;
959
- }
960
- Item.OptionName = "items";
961
- Item.IsCollectionItem = true;
962
- Item.TemplateProps = [{
678
+ var _componentItem = (0, react_1.memo)(function (props) {
679
+ return React.createElement((nested_option_1.default), __assign({}, props));
680
+ });
681
+ var Item = Object.assign(_componentItem, {
682
+ OptionName: "items",
683
+ IsCollectionItem: true,
684
+ TemplateProps: [{
963
685
  tmplOption: "menuItemTemplate",
964
686
  render: "menuItemRender",
965
- component: "menuItemComponent",
966
- keyFn: "menuItemKeyFn"
687
+ component: "menuItemComponent"
967
688
  }, {
968
689
  tmplOption: "template",
969
690
  render: "render",
970
- component: "component",
971
- keyFn: "keyFn"
972
- }];
973
- return Item;
974
- }(nested_option_1.default));
691
+ component: "component"
692
+ }],
693
+ });
975
694
  exports.Item = Item;
976
- var KeyboardNavigation = /** @class */ (function (_super) {
977
- __extends(KeyboardNavigation, _super);
978
- function KeyboardNavigation() {
979
- return _super !== null && _super.apply(this, arguments) || this;
980
- }
981
- KeyboardNavigation.OptionName = "keyboardNavigation";
982
- return KeyboardNavigation;
983
- }(nested_option_1.default));
695
+ var _componentKeyboardNavigation = (0, react_1.memo)(function (props) {
696
+ return React.createElement((nested_option_1.default), __assign({}, props));
697
+ });
698
+ var KeyboardNavigation = Object.assign(_componentKeyboardNavigation, {
699
+ OptionName: "keyboardNavigation",
700
+ });
984
701
  exports.KeyboardNavigation = KeyboardNavigation;
985
- var Label = /** @class */ (function (_super) {
986
- __extends(Label, _super);
987
- function Label() {
988
- return _super !== null && _super.apply(this, arguments) || this;
989
- }
990
- Label.OptionName = "label";
991
- Label.TemplateProps = [{
702
+ var _componentLabel = (0, react_1.memo)(function (props) {
703
+ return React.createElement((nested_option_1.default), __assign({}, props));
704
+ });
705
+ var Label = Object.assign(_componentLabel, {
706
+ OptionName: "label",
707
+ TemplateProps: [{
992
708
  tmplOption: "template",
993
709
  render: "render",
994
- component: "component",
995
- keyFn: "keyFn"
996
- }];
997
- return Label;
998
- }(nested_option_1.default));
710
+ component: "component"
711
+ }],
712
+ });
999
713
  exports.Label = Label;
1000
- var LoadPanel = /** @class */ (function (_super) {
1001
- __extends(LoadPanel, _super);
1002
- function LoadPanel() {
1003
- return _super !== null && _super.apply(this, arguments) || this;
1004
- }
1005
- LoadPanel.OptionName = "loadPanel";
1006
- return LoadPanel;
1007
- }(nested_option_1.default));
714
+ var _componentLoadPanel = (0, react_1.memo)(function (props) {
715
+ return React.createElement((nested_option_1.default), __assign({}, props));
716
+ });
717
+ var LoadPanel = Object.assign(_componentLoadPanel, {
718
+ OptionName: "loadPanel",
719
+ });
1008
720
  exports.LoadPanel = LoadPanel;
1009
- var Lookup = /** @class */ (function (_super) {
1010
- __extends(Lookup, _super);
1011
- function Lookup() {
1012
- return _super !== null && _super.apply(this, arguments) || this;
1013
- }
1014
- Lookup.OptionName = "lookup";
1015
- return Lookup;
1016
- }(nested_option_1.default));
721
+ var _componentLookup = (0, react_1.memo)(function (props) {
722
+ return React.createElement((nested_option_1.default), __assign({}, props));
723
+ });
724
+ var Lookup = Object.assign(_componentLookup, {
725
+ OptionName: "lookup",
726
+ });
1017
727
  exports.Lookup = Lookup;
1018
- var MasterDetail = /** @class */ (function (_super) {
1019
- __extends(MasterDetail, _super);
1020
- function MasterDetail() {
1021
- return _super !== null && _super.apply(this, arguments) || this;
1022
- }
1023
- MasterDetail.OptionName = "masterDetail";
1024
- MasterDetail.TemplateProps = [{
728
+ var _componentMasterDetail = (0, react_1.memo)(function (props) {
729
+ return React.createElement((nested_option_1.default), __assign({}, props));
730
+ });
731
+ var MasterDetail = Object.assign(_componentMasterDetail, {
732
+ OptionName: "masterDetail",
733
+ TemplateProps: [{
1025
734
  tmplOption: "template",
1026
735
  render: "render",
1027
- component: "component",
1028
- keyFn: "keyFn"
1029
- }];
1030
- return MasterDetail;
1031
- }(nested_option_1.default));
736
+ component: "component"
737
+ }],
738
+ });
1032
739
  exports.MasterDetail = MasterDetail;
1033
- var My = /** @class */ (function (_super) {
1034
- __extends(My, _super);
1035
- function My() {
1036
- return _super !== null && _super.apply(this, arguments) || this;
1037
- }
1038
- My.OptionName = "my";
1039
- return My;
1040
- }(nested_option_1.default));
740
+ var _componentMy = (0, react_1.memo)(function (props) {
741
+ return React.createElement((nested_option_1.default), __assign({}, props));
742
+ });
743
+ var My = Object.assign(_componentMy, {
744
+ OptionName: "my",
745
+ });
1041
746
  exports.My = My;
1042
- var NumericRule = /** @class */ (function (_super) {
1043
- __extends(NumericRule, _super);
1044
- function NumericRule() {
1045
- return _super !== null && _super.apply(this, arguments) || this;
1046
- }
1047
- NumericRule.OptionName = "validationRules";
1048
- NumericRule.IsCollectionItem = true;
1049
- NumericRule.PredefinedProps = {
747
+ var _componentNumericRule = (0, react_1.memo)(function (props) {
748
+ return React.createElement((nested_option_1.default), __assign({}, props));
749
+ });
750
+ var NumericRule = Object.assign(_componentNumericRule, {
751
+ OptionName: "validationRules",
752
+ IsCollectionItem: true,
753
+ PredefinedProps: {
1050
754
  type: "numeric"
1051
- };
1052
- return NumericRule;
1053
- }(nested_option_1.default));
755
+ },
756
+ });
1054
757
  exports.NumericRule = NumericRule;
1055
- var Offset = /** @class */ (function (_super) {
1056
- __extends(Offset, _super);
1057
- function Offset() {
1058
- return _super !== null && _super.apply(this, arguments) || this;
1059
- }
1060
- Offset.OptionName = "offset";
1061
- return Offset;
1062
- }(nested_option_1.default));
758
+ var _componentOffset = (0, react_1.memo)(function (props) {
759
+ return React.createElement((nested_option_1.default), __assign({}, props));
760
+ });
761
+ var Offset = Object.assign(_componentOffset, {
762
+ OptionName: "offset",
763
+ });
1063
764
  exports.Offset = Offset;
1064
- var OperationDescriptions = /** @class */ (function (_super) {
1065
- __extends(OperationDescriptions, _super);
1066
- function OperationDescriptions() {
1067
- return _super !== null && _super.apply(this, arguments) || this;
1068
- }
1069
- OperationDescriptions.OptionName = "operationDescriptions";
1070
- return OperationDescriptions;
1071
- }(nested_option_1.default));
765
+ var _componentOperationDescriptions = (0, react_1.memo)(function (props) {
766
+ return React.createElement((nested_option_1.default), __assign({}, props));
767
+ });
768
+ var OperationDescriptions = Object.assign(_componentOperationDescriptions, {
769
+ OptionName: "operationDescriptions",
770
+ });
1072
771
  exports.OperationDescriptions = OperationDescriptions;
1073
- var Pager = /** @class */ (function (_super) {
1074
- __extends(Pager, _super);
1075
- function Pager() {
1076
- return _super !== null && _super.apply(this, arguments) || this;
1077
- }
1078
- Pager.OptionName = "pager";
1079
- return Pager;
1080
- }(nested_option_1.default));
772
+ var _componentPager = (0, react_1.memo)(function (props) {
773
+ return React.createElement((nested_option_1.default), __assign({}, props));
774
+ });
775
+ var Pager = Object.assign(_componentPager, {
776
+ OptionName: "pager",
777
+ });
1081
778
  exports.Pager = Pager;
1082
- var Paging = /** @class */ (function (_super) {
1083
- __extends(Paging, _super);
1084
- function Paging() {
1085
- return _super !== null && _super.apply(this, arguments) || this;
1086
- }
1087
- Paging.OptionName = "paging";
1088
- Paging.DefaultsProps = {
779
+ var _componentPaging = (0, react_1.memo)(function (props) {
780
+ return React.createElement((nested_option_1.default), __assign({}, props));
781
+ });
782
+ var Paging = Object.assign(_componentPaging, {
783
+ OptionName: "paging",
784
+ DefaultsProps: {
1089
785
  defaultPageIndex: "pageIndex",
1090
786
  defaultPageSize: "pageSize"
1091
- };
1092
- return Paging;
1093
- }(nested_option_1.default));
787
+ },
788
+ });
1094
789
  exports.Paging = Paging;
1095
- var PatternRule = /** @class */ (function (_super) {
1096
- __extends(PatternRule, _super);
1097
- function PatternRule() {
1098
- return _super !== null && _super.apply(this, arguments) || this;
1099
- }
1100
- PatternRule.OptionName = "validationRules";
1101
- PatternRule.IsCollectionItem = true;
1102
- PatternRule.PredefinedProps = {
790
+ var _componentPatternRule = (0, react_1.memo)(function (props) {
791
+ return React.createElement((nested_option_1.default), __assign({}, props));
792
+ });
793
+ var PatternRule = Object.assign(_componentPatternRule, {
794
+ OptionName: "validationRules",
795
+ IsCollectionItem: true,
796
+ PredefinedProps: {
1103
797
  type: "pattern"
1104
- };
1105
- return PatternRule;
1106
- }(nested_option_1.default));
798
+ },
799
+ });
1107
800
  exports.PatternRule = PatternRule;
1108
- var Popup = /** @class */ (function (_super) {
1109
- __extends(Popup, _super);
1110
- function Popup() {
1111
- return _super !== null && _super.apply(this, arguments) || this;
1112
- }
1113
- Popup.OptionName = "popup";
1114
- Popup.DefaultsProps = {
801
+ var _componentPopup = (0, react_1.memo)(function (props) {
802
+ return React.createElement((nested_option_1.default), __assign({}, props));
803
+ });
804
+ var Popup = Object.assign(_componentPopup, {
805
+ OptionName: "popup",
806
+ DefaultsProps: {
1115
807
  defaultHeight: "height",
1116
808
  defaultPosition: "position",
1117
809
  defaultVisible: "visible",
1118
810
  defaultWidth: "width"
1119
- };
1120
- Popup.ExpectedChildren = {
811
+ },
812
+ ExpectedChildren: {
1121
813
  animation: { optionName: "animation", isCollectionItem: false },
1122
814
  position: { optionName: "position", isCollectionItem: false },
1123
815
  toolbarItem: { optionName: "toolbarItems", isCollectionItem: true }
1124
- };
1125
- Popup.TemplateProps = [{
816
+ },
817
+ TemplateProps: [{
1126
818
  tmplOption: "contentTemplate",
1127
819
  render: "contentRender",
1128
- component: "contentComponent",
1129
- keyFn: "contentKeyFn"
820
+ component: "contentComponent"
1130
821
  }, {
1131
822
  tmplOption: "titleTemplate",
1132
823
  render: "titleRender",
1133
- component: "titleComponent",
1134
- keyFn: "titleKeyFn"
1135
- }];
1136
- return Popup;
1137
- }(nested_option_1.default));
824
+ component: "titleComponent"
825
+ }],
826
+ });
1138
827
  exports.Popup = Popup;
1139
- var Position = /** @class */ (function (_super) {
1140
- __extends(Position, _super);
1141
- function Position() {
1142
- return _super !== null && _super.apply(this, arguments) || this;
1143
- }
1144
- Position.OptionName = "position";
1145
- return Position;
1146
- }(nested_option_1.default));
828
+ var _componentPosition = (0, react_1.memo)(function (props) {
829
+ return React.createElement((nested_option_1.default), __assign({}, props));
830
+ });
831
+ var Position = Object.assign(_componentPosition, {
832
+ OptionName: "position",
833
+ });
1147
834
  exports.Position = Position;
1148
- var RangeRule = /** @class */ (function (_super) {
1149
- __extends(RangeRule, _super);
1150
- function RangeRule() {
1151
- return _super !== null && _super.apply(this, arguments) || this;
1152
- }
1153
- RangeRule.OptionName = "validationRules";
1154
- RangeRule.IsCollectionItem = true;
1155
- RangeRule.PredefinedProps = {
835
+ var _componentRangeRule = (0, react_1.memo)(function (props) {
836
+ return React.createElement((nested_option_1.default), __assign({}, props));
837
+ });
838
+ var RangeRule = Object.assign(_componentRangeRule, {
839
+ OptionName: "validationRules",
840
+ IsCollectionItem: true,
841
+ PredefinedProps: {
1156
842
  type: "range"
1157
- };
1158
- return RangeRule;
1159
- }(nested_option_1.default));
843
+ },
844
+ });
1160
845
  exports.RangeRule = RangeRule;
1161
- var RemoteOperations = /** @class */ (function (_super) {
1162
- __extends(RemoteOperations, _super);
1163
- function RemoteOperations() {
1164
- return _super !== null && _super.apply(this, arguments) || this;
1165
- }
1166
- RemoteOperations.OptionName = "remoteOperations";
1167
- return RemoteOperations;
1168
- }(nested_option_1.default));
846
+ var _componentRemoteOperations = (0, react_1.memo)(function (props) {
847
+ return React.createElement((nested_option_1.default), __assign({}, props));
848
+ });
849
+ var RemoteOperations = Object.assign(_componentRemoteOperations, {
850
+ OptionName: "remoteOperations",
851
+ });
1169
852
  exports.RemoteOperations = RemoteOperations;
1170
- var RequiredRule = /** @class */ (function (_super) {
1171
- __extends(RequiredRule, _super);
1172
- function RequiredRule() {
1173
- return _super !== null && _super.apply(this, arguments) || this;
1174
- }
1175
- RequiredRule.OptionName = "validationRules";
1176
- RequiredRule.IsCollectionItem = true;
1177
- RequiredRule.PredefinedProps = {
853
+ var _componentRequiredRule = (0, react_1.memo)(function (props) {
854
+ return React.createElement((nested_option_1.default), __assign({}, props));
855
+ });
856
+ var RequiredRule = Object.assign(_componentRequiredRule, {
857
+ OptionName: "validationRules",
858
+ IsCollectionItem: true,
859
+ PredefinedProps: {
1178
860
  type: "required"
1179
- };
1180
- return RequiredRule;
1181
- }(nested_option_1.default));
861
+ },
862
+ });
1182
863
  exports.RequiredRule = RequiredRule;
1183
- var RowDragging = /** @class */ (function (_super) {
1184
- __extends(RowDragging, _super);
1185
- function RowDragging() {
1186
- return _super !== null && _super.apply(this, arguments) || this;
1187
- }
1188
- RowDragging.OptionName = "rowDragging";
1189
- RowDragging.ExpectedChildren = {
864
+ var _componentRowDragging = (0, react_1.memo)(function (props) {
865
+ return React.createElement((nested_option_1.default), __assign({}, props));
866
+ });
867
+ var RowDragging = Object.assign(_componentRowDragging, {
868
+ OptionName: "rowDragging",
869
+ ExpectedChildren: {
1190
870
  cursorOffset: { optionName: "cursorOffset", isCollectionItem: false }
1191
- };
1192
- RowDragging.TemplateProps = [{
871
+ },
872
+ TemplateProps: [{
1193
873
  tmplOption: "dragTemplate",
1194
874
  render: "dragRender",
1195
- component: "dragComponent",
1196
- keyFn: "dragKeyFn"
1197
- }];
1198
- return RowDragging;
1199
- }(nested_option_1.default));
875
+ component: "dragComponent"
876
+ }],
877
+ });
1200
878
  exports.RowDragging = RowDragging;
1201
- var Scrolling = /** @class */ (function (_super) {
1202
- __extends(Scrolling, _super);
1203
- function Scrolling() {
1204
- return _super !== null && _super.apply(this, arguments) || this;
1205
- }
1206
- Scrolling.OptionName = "scrolling";
1207
- return Scrolling;
1208
- }(nested_option_1.default));
879
+ var _componentScrolling = (0, react_1.memo)(function (props) {
880
+ return React.createElement((nested_option_1.default), __assign({}, props));
881
+ });
882
+ var Scrolling = Object.assign(_componentScrolling, {
883
+ OptionName: "scrolling",
884
+ });
1209
885
  exports.Scrolling = Scrolling;
1210
- var Search = /** @class */ (function (_super) {
1211
- __extends(Search, _super);
1212
- function Search() {
1213
- return _super !== null && _super.apply(this, arguments) || this;
1214
- }
1215
- Search.OptionName = "search";
1216
- return Search;
1217
- }(nested_option_1.default));
886
+ var _componentSearch = (0, react_1.memo)(function (props) {
887
+ return React.createElement((nested_option_1.default), __assign({}, props));
888
+ });
889
+ var Search = Object.assign(_componentSearch, {
890
+ OptionName: "search",
891
+ });
1218
892
  exports.Search = Search;
1219
- var SearchPanel = /** @class */ (function (_super) {
1220
- __extends(SearchPanel, _super);
1221
- function SearchPanel() {
1222
- return _super !== null && _super.apply(this, arguments) || this;
1223
- }
1224
- SearchPanel.OptionName = "searchPanel";
1225
- SearchPanel.DefaultsProps = {
893
+ var _componentSearchPanel = (0, react_1.memo)(function (props) {
894
+ return React.createElement((nested_option_1.default), __assign({}, props));
895
+ });
896
+ var SearchPanel = Object.assign(_componentSearchPanel, {
897
+ OptionName: "searchPanel",
898
+ DefaultsProps: {
1226
899
  defaultText: "text"
1227
- };
1228
- return SearchPanel;
1229
- }(nested_option_1.default));
900
+ },
901
+ });
1230
902
  exports.SearchPanel = SearchPanel;
1231
- var Selection = /** @class */ (function (_super) {
1232
- __extends(Selection, _super);
1233
- function Selection() {
1234
- return _super !== null && _super.apply(this, arguments) || this;
1235
- }
1236
- Selection.OptionName = "selection";
1237
- return Selection;
1238
- }(nested_option_1.default));
903
+ var _componentSelection = (0, react_1.memo)(function (props) {
904
+ return React.createElement((nested_option_1.default), __assign({}, props));
905
+ });
906
+ var Selection = Object.assign(_componentSelection, {
907
+ OptionName: "selection",
908
+ });
1239
909
  exports.Selection = Selection;
1240
- var Show = /** @class */ (function (_super) {
1241
- __extends(Show, _super);
1242
- function Show() {
1243
- return _super !== null && _super.apply(this, arguments) || this;
1244
- }
1245
- Show.OptionName = "show";
1246
- return Show;
1247
- }(nested_option_1.default));
910
+ var _componentShow = (0, react_1.memo)(function (props) {
911
+ return React.createElement((nested_option_1.default), __assign({}, props));
912
+ });
913
+ var Show = Object.assign(_componentShow, {
914
+ OptionName: "show",
915
+ });
1248
916
  exports.Show = Show;
1249
- var SortByGroupSummaryInfo = /** @class */ (function (_super) {
1250
- __extends(SortByGroupSummaryInfo, _super);
1251
- function SortByGroupSummaryInfo() {
1252
- return _super !== null && _super.apply(this, arguments) || this;
1253
- }
1254
- SortByGroupSummaryInfo.OptionName = "sortByGroupSummaryInfo";
1255
- SortByGroupSummaryInfo.IsCollectionItem = true;
1256
- return SortByGroupSummaryInfo;
1257
- }(nested_option_1.default));
917
+ var _componentSortByGroupSummaryInfo = (0, react_1.memo)(function (props) {
918
+ return React.createElement((nested_option_1.default), __assign({}, props));
919
+ });
920
+ var SortByGroupSummaryInfo = Object.assign(_componentSortByGroupSummaryInfo, {
921
+ OptionName: "sortByGroupSummaryInfo",
922
+ IsCollectionItem: true,
923
+ });
1258
924
  exports.SortByGroupSummaryInfo = SortByGroupSummaryInfo;
1259
- var Sorting = /** @class */ (function (_super) {
1260
- __extends(Sorting, _super);
1261
- function Sorting() {
1262
- return _super !== null && _super.apply(this, arguments) || this;
1263
- }
1264
- Sorting.OptionName = "sorting";
1265
- return Sorting;
1266
- }(nested_option_1.default));
925
+ var _componentSorting = (0, react_1.memo)(function (props) {
926
+ return React.createElement((nested_option_1.default), __assign({}, props));
927
+ });
928
+ var Sorting = Object.assign(_componentSorting, {
929
+ OptionName: "sorting",
930
+ });
1267
931
  exports.Sorting = Sorting;
1268
- var StateStoring = /** @class */ (function (_super) {
1269
- __extends(StateStoring, _super);
1270
- function StateStoring() {
1271
- return _super !== null && _super.apply(this, arguments) || this;
1272
- }
1273
- StateStoring.OptionName = "stateStoring";
1274
- return StateStoring;
1275
- }(nested_option_1.default));
932
+ var _componentStateStoring = (0, react_1.memo)(function (props) {
933
+ return React.createElement((nested_option_1.default), __assign({}, props));
934
+ });
935
+ var StateStoring = Object.assign(_componentStateStoring, {
936
+ OptionName: "stateStoring",
937
+ });
1276
938
  exports.StateStoring = StateStoring;
1277
- var StringLengthRule = /** @class */ (function (_super) {
1278
- __extends(StringLengthRule, _super);
1279
- function StringLengthRule() {
1280
- return _super !== null && _super.apply(this, arguments) || this;
1281
- }
1282
- StringLengthRule.OptionName = "validationRules";
1283
- StringLengthRule.IsCollectionItem = true;
1284
- StringLengthRule.PredefinedProps = {
939
+ var _componentStringLengthRule = (0, react_1.memo)(function (props) {
940
+ return React.createElement((nested_option_1.default), __assign({}, props));
941
+ });
942
+ var StringLengthRule = Object.assign(_componentStringLengthRule, {
943
+ OptionName: "validationRules",
944
+ IsCollectionItem: true,
945
+ PredefinedProps: {
1285
946
  type: "stringLength"
1286
- };
1287
- return StringLengthRule;
1288
- }(nested_option_1.default));
947
+ },
948
+ });
1289
949
  exports.StringLengthRule = StringLengthRule;
1290
- var Summary = /** @class */ (function (_super) {
1291
- __extends(Summary, _super);
1292
- function Summary() {
1293
- return _super !== null && _super.apply(this, arguments) || this;
1294
- }
1295
- Summary.OptionName = "summary";
1296
- Summary.ExpectedChildren = {
950
+ var _componentSummary = (0, react_1.memo)(function (props) {
951
+ return React.createElement((nested_option_1.default), __assign({}, props));
952
+ });
953
+ var Summary = Object.assign(_componentSummary, {
954
+ OptionName: "summary",
955
+ ExpectedChildren: {
1297
956
  groupItem: { optionName: "groupItems", isCollectionItem: true },
1298
957
  summaryTexts: { optionName: "texts", isCollectionItem: false },
1299
958
  texts: { optionName: "texts", isCollectionItem: false },
1300
959
  totalItem: { optionName: "totalItems", isCollectionItem: true }
1301
- };
1302
- return Summary;
1303
- }(nested_option_1.default));
960
+ },
961
+ });
1304
962
  exports.Summary = Summary;
1305
- var SummaryTexts = /** @class */ (function (_super) {
1306
- __extends(SummaryTexts, _super);
1307
- function SummaryTexts() {
1308
- return _super !== null && _super.apply(this, arguments) || this;
1309
- }
1310
- SummaryTexts.OptionName = "texts";
1311
- return SummaryTexts;
1312
- }(nested_option_1.default));
963
+ var _componentSummaryTexts = (0, react_1.memo)(function (props) {
964
+ return React.createElement((nested_option_1.default), __assign({}, props));
965
+ });
966
+ var SummaryTexts = Object.assign(_componentSummaryTexts, {
967
+ OptionName: "texts",
968
+ });
1313
969
  exports.SummaryTexts = SummaryTexts;
1314
- var Texts = /** @class */ (function (_super) {
1315
- __extends(Texts, _super);
1316
- function Texts() {
1317
- return _super !== null && _super.apply(this, arguments) || this;
1318
- }
1319
- Texts.OptionName = "texts";
1320
- return Texts;
1321
- }(nested_option_1.default));
970
+ var _componentTexts = (0, react_1.memo)(function (props) {
971
+ return React.createElement((nested_option_1.default), __assign({}, props));
972
+ });
973
+ var Texts = Object.assign(_componentTexts, {
974
+ OptionName: "texts",
975
+ });
1322
976
  exports.Texts = Texts;
1323
- var To = /** @class */ (function (_super) {
1324
- __extends(To, _super);
1325
- function To() {
1326
- return _super !== null && _super.apply(this, arguments) || this;
1327
- }
1328
- To.OptionName = "to";
1329
- return To;
1330
- }(nested_option_1.default));
977
+ var _componentTo = (0, react_1.memo)(function (props) {
978
+ return React.createElement((nested_option_1.default), __assign({}, props));
979
+ });
980
+ var To = Object.assign(_componentTo, {
981
+ OptionName: "to",
982
+ });
1331
983
  exports.To = To;
1332
- var Toolbar = /** @class */ (function (_super) {
1333
- __extends(Toolbar, _super);
1334
- function Toolbar() {
1335
- return _super !== null && _super.apply(this, arguments) || this;
1336
- }
1337
- Toolbar.OptionName = "toolbar";
1338
- Toolbar.ExpectedChildren = {
984
+ var _componentToolbar = (0, react_1.memo)(function (props) {
985
+ return React.createElement((nested_option_1.default), __assign({}, props));
986
+ });
987
+ var Toolbar = Object.assign(_componentToolbar, {
988
+ OptionName: "toolbar",
989
+ ExpectedChildren: {
1339
990
  item: { optionName: "items", isCollectionItem: true }
1340
- };
1341
- return Toolbar;
1342
- }(nested_option_1.default));
991
+ },
992
+ });
1343
993
  exports.Toolbar = Toolbar;
1344
- var ToolbarItem = /** @class */ (function (_super) {
1345
- __extends(ToolbarItem, _super);
1346
- function ToolbarItem() {
1347
- return _super !== null && _super.apply(this, arguments) || this;
1348
- }
1349
- ToolbarItem.OptionName = "toolbarItems";
1350
- ToolbarItem.IsCollectionItem = true;
1351
- ToolbarItem.TemplateProps = [{
994
+ var _componentToolbarItem = (0, react_1.memo)(function (props) {
995
+ return React.createElement((nested_option_1.default), __assign({}, props));
996
+ });
997
+ var ToolbarItem = Object.assign(_componentToolbarItem, {
998
+ OptionName: "toolbarItems",
999
+ IsCollectionItem: true,
1000
+ TemplateProps: [{
1352
1001
  tmplOption: "menuItemTemplate",
1353
1002
  render: "menuItemRender",
1354
- component: "menuItemComponent",
1355
- keyFn: "menuItemKeyFn"
1003
+ component: "menuItemComponent"
1356
1004
  }, {
1357
1005
  tmplOption: "template",
1358
1006
  render: "render",
1359
- component: "component",
1360
- keyFn: "keyFn"
1361
- }];
1362
- return ToolbarItem;
1363
- }(nested_option_1.default));
1007
+ component: "component"
1008
+ }],
1009
+ });
1364
1010
  exports.ToolbarItem = ToolbarItem;
1365
- var TotalItem = /** @class */ (function (_super) {
1366
- __extends(TotalItem, _super);
1367
- function TotalItem() {
1368
- return _super !== null && _super.apply(this, arguments) || this;
1369
- }
1370
- TotalItem.OptionName = "totalItems";
1371
- TotalItem.IsCollectionItem = true;
1372
- TotalItem.ExpectedChildren = {
1011
+ var _componentTotalItem = (0, react_1.memo)(function (props) {
1012
+ return React.createElement((nested_option_1.default), __assign({}, props));
1013
+ });
1014
+ var TotalItem = Object.assign(_componentTotalItem, {
1015
+ OptionName: "totalItems",
1016
+ IsCollectionItem: true,
1017
+ ExpectedChildren: {
1373
1018
  valueFormat: { optionName: "valueFormat", isCollectionItem: false }
1374
- };
1375
- return TotalItem;
1376
- }(nested_option_1.default));
1019
+ },
1020
+ });
1377
1021
  exports.TotalItem = TotalItem;
1378
- var ValidationRule = /** @class */ (function (_super) {
1379
- __extends(ValidationRule, _super);
1380
- function ValidationRule() {
1381
- return _super !== null && _super.apply(this, arguments) || this;
1382
- }
1383
- ValidationRule.OptionName = "validationRules";
1384
- ValidationRule.IsCollectionItem = true;
1385
- ValidationRule.PredefinedProps = {
1022
+ var _componentValidationRule = (0, react_1.memo)(function (props) {
1023
+ return React.createElement((nested_option_1.default), __assign({}, props));
1024
+ });
1025
+ var ValidationRule = Object.assign(_componentValidationRule, {
1026
+ OptionName: "validationRules",
1027
+ IsCollectionItem: true,
1028
+ PredefinedProps: {
1386
1029
  type: "required"
1387
- };
1388
- return ValidationRule;
1389
- }(nested_option_1.default));
1030
+ },
1031
+ });
1390
1032
  exports.ValidationRule = ValidationRule;
1391
- var ValueFormat = /** @class */ (function (_super) {
1392
- __extends(ValueFormat, _super);
1393
- function ValueFormat() {
1394
- return _super !== null && _super.apply(this, arguments) || this;
1395
- }
1396
- ValueFormat.OptionName = "valueFormat";
1397
- return ValueFormat;
1398
- }(nested_option_1.default));
1033
+ var _componentValueFormat = (0, react_1.memo)(function (props) {
1034
+ return React.createElement((nested_option_1.default), __assign({}, props));
1035
+ });
1036
+ var ValueFormat = Object.assign(_componentValueFormat, {
1037
+ OptionName: "valueFormat",
1038
+ });
1399
1039
  exports.ValueFormat = ValueFormat;
1400
1040
  exports.default = DataGrid;