devextreme-react 25.1.1-alpha → 25.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 (357) hide show
  1. package/card-view/package.json +6 -0
  2. package/cjs/accordion.d.ts +2 -2
  3. package/cjs/accordion.js +2 -2
  4. package/cjs/action-sheet.d.ts +4 -4
  5. package/cjs/action-sheet.js +2 -2
  6. package/cjs/autocomplete.d.ts +2 -2
  7. package/cjs/autocomplete.js +2 -2
  8. package/cjs/bar-gauge.d.ts +2 -2
  9. package/cjs/bar-gauge.js +2 -2
  10. package/cjs/box.d.ts +2 -2
  11. package/cjs/box.js +2 -2
  12. package/cjs/bullet.d.ts +2 -2
  13. package/cjs/bullet.js +2 -2
  14. package/cjs/button-group.d.ts +4 -4
  15. package/cjs/button-group.js +2 -2
  16. package/cjs/button.d.ts +2 -2
  17. package/cjs/button.js +2 -2
  18. package/cjs/calendar.d.ts +4 -4
  19. package/cjs/calendar.js +2 -2
  20. package/cjs/card-view.d.ts +1496 -0
  21. package/cjs/card-view.js +872 -0
  22. package/cjs/chart.d.ts +2 -2
  23. package/cjs/chart.js +2 -2
  24. package/cjs/chat.d.ts +44 -4
  25. package/cjs/chat.js +17 -4
  26. package/cjs/check-box.d.ts +2 -2
  27. package/cjs/check-box.js +2 -2
  28. package/cjs/circular-gauge.d.ts +2 -2
  29. package/cjs/circular-gauge.js +2 -2
  30. package/cjs/color-box.d.ts +2 -2
  31. package/cjs/color-box.js +2 -2
  32. package/cjs/common/ai-integration.d.ts +14 -0
  33. package/cjs/common/ai-integration.js +18 -0
  34. package/cjs/common/charts.d.ts +2 -2
  35. package/cjs/common/charts.js +2 -2
  36. package/cjs/common/core/animation.d.ts +2 -2
  37. package/cjs/common/core/animation.js +2 -2
  38. package/cjs/common/core/environment.d.ts +2 -2
  39. package/cjs/common/core/environment.js +2 -2
  40. package/cjs/common/core/events.d.ts +2 -2
  41. package/cjs/common/core/events.js +2 -2
  42. package/cjs/common/core/index.d.ts +2 -2
  43. package/cjs/common/core/index.js +2 -2
  44. package/cjs/common/core/localization.d.ts +2 -2
  45. package/cjs/common/core/localization.js +2 -2
  46. package/cjs/common/data/custom-store.d.ts +2 -2
  47. package/cjs/common/data/custom-store.js +2 -2
  48. package/cjs/common/data.d.ts +2 -2
  49. package/cjs/common/data.js +2 -2
  50. package/cjs/common/export/excel.d.ts +2 -2
  51. package/cjs/common/export/excel.js +2 -2
  52. package/cjs/common/export/index.d.ts +2 -2
  53. package/cjs/common/export/index.js +2 -2
  54. package/cjs/common/export/pdf.d.ts +2 -2
  55. package/cjs/common/export/pdf.js +2 -2
  56. package/cjs/common/grids.d.ts +3 -3
  57. package/cjs/common/grids.js +2 -2
  58. package/cjs/common/index.d.ts +4 -3
  59. package/cjs/common/index.js +4 -3
  60. package/cjs/context-menu.d.ts +2 -2
  61. package/cjs/context-menu.js +2 -2
  62. package/cjs/core/component-base.d.ts +2 -2
  63. package/cjs/core/component-base.js +2 -2
  64. package/cjs/core/component.d.ts +2 -2
  65. package/cjs/core/component.js +2 -2
  66. package/cjs/core/config.d.ts +2 -2
  67. package/cjs/core/config.js +2 -2
  68. package/cjs/core/configuration/comparer.d.ts +2 -2
  69. package/cjs/core/configuration/comparer.js +2 -2
  70. package/cjs/core/configuration/config-node.d.ts +2 -2
  71. package/cjs/core/configuration/config-node.js +2 -2
  72. package/cjs/core/configuration/react/element.d.ts +2 -2
  73. package/cjs/core/configuration/react/element.js +2 -2
  74. package/cjs/core/configuration/react/templates.d.ts +2 -2
  75. package/cjs/core/configuration/react/templates.js +2 -2
  76. package/cjs/core/configuration/tree.d.ts +2 -2
  77. package/cjs/core/configuration/tree.js +2 -2
  78. package/cjs/core/configuration/utils.d.ts +2 -2
  79. package/cjs/core/configuration/utils.js +2 -2
  80. package/cjs/core/contexts.d.ts +2 -2
  81. package/cjs/core/contexts.js +2 -2
  82. package/cjs/core/extension-component.d.ts +2 -2
  83. package/cjs/core/extension-component.js +2 -2
  84. package/cjs/core/helpers.d.ts +2 -2
  85. package/cjs/core/helpers.js +2 -2
  86. package/cjs/core/nested-option.d.ts +2 -2
  87. package/cjs/core/nested-option.js +2 -2
  88. package/cjs/core/options-manager.d.ts +2 -2
  89. package/cjs/core/options-manager.js +2 -2
  90. package/cjs/core/template-manager.d.ts +2 -2
  91. package/cjs/core/template-manager.js +2 -2
  92. package/cjs/core/template-wrapper.d.ts +2 -2
  93. package/cjs/core/template-wrapper.js +2 -2
  94. package/cjs/core/template.d.ts +2 -2
  95. package/cjs/core/template.js +3 -2
  96. package/cjs/core/types.d.ts +2 -2
  97. package/cjs/core/types.js +2 -2
  98. package/cjs/core/use-option-scanning.d.ts +2 -2
  99. package/cjs/core/use-option-scanning.js +2 -2
  100. package/cjs/core/widget-config.d.ts +2 -2
  101. package/cjs/core/widget-config.js +2 -2
  102. package/cjs/data-grid.d.ts +2 -2
  103. package/cjs/data-grid.js +2 -2
  104. package/cjs/date-box.d.ts +14 -14
  105. package/cjs/date-box.js +2 -2
  106. package/cjs/date-range-box.d.ts +18 -18
  107. package/cjs/date-range-box.js +2 -2
  108. package/cjs/defer-rendering.d.ts +2 -2
  109. package/cjs/defer-rendering.js +2 -2
  110. package/cjs/diagram.d.ts +2 -2
  111. package/cjs/diagram.js +2 -2
  112. package/cjs/draggable.d.ts +2 -2
  113. package/cjs/draggable.js +2 -2
  114. package/cjs/drawer.d.ts +2 -2
  115. package/cjs/drawer.js +2 -2
  116. package/cjs/drop-down-box.d.ts +2 -2
  117. package/cjs/drop-down-box.js +2 -2
  118. package/cjs/drop-down-button.d.ts +2 -2
  119. package/cjs/drop-down-button.js +2 -2
  120. package/cjs/file-manager.d.ts +2 -2
  121. package/cjs/file-manager.js +2 -2
  122. package/cjs/file-uploader.d.ts +2 -2
  123. package/cjs/file-uploader.js +2 -2
  124. package/cjs/filter-builder.d.ts +2 -2
  125. package/cjs/filter-builder.js +2 -2
  126. package/cjs/form.d.ts +2 -2
  127. package/cjs/form.js +2 -2
  128. package/cjs/funnel.d.ts +2 -2
  129. package/cjs/funnel.js +2 -2
  130. package/cjs/gallery.d.ts +2 -2
  131. package/cjs/gallery.js +2 -2
  132. package/cjs/gantt.d.ts +2 -2
  133. package/cjs/gantt.js +2 -2
  134. package/cjs/html-editor.d.ts +2 -2
  135. package/cjs/html-editor.js +2 -2
  136. package/cjs/index.d.ts +3 -2
  137. package/cjs/index.js +6 -4
  138. package/cjs/linear-gauge.d.ts +2 -2
  139. package/cjs/linear-gauge.js +2 -2
  140. package/cjs/list.d.ts +2 -2
  141. package/cjs/list.js +2 -2
  142. package/cjs/load-indicator.d.ts +2 -2
  143. package/cjs/load-indicator.js +2 -2
  144. package/cjs/load-panel.d.ts +2 -2
  145. package/cjs/load-panel.js +2 -2
  146. package/cjs/lookup.d.ts +2 -2
  147. package/cjs/lookup.js +2 -2
  148. package/cjs/map.d.ts +2 -2
  149. package/cjs/map.js +2 -2
  150. package/cjs/menu.d.ts +2 -2
  151. package/cjs/menu.js +2 -2
  152. package/cjs/multi-view.d.ts +2 -2
  153. package/cjs/multi-view.js +2 -2
  154. package/cjs/number-box.d.ts +2 -2
  155. package/cjs/number-box.js +2 -2
  156. package/cjs/pagination.d.ts +2 -2
  157. package/cjs/pagination.js +2 -2
  158. package/cjs/pie-chart.d.ts +2 -2
  159. package/cjs/pie-chart.js +2 -2
  160. package/cjs/pivot-grid-field-chooser.d.ts +2 -2
  161. package/cjs/pivot-grid-field-chooser.js +2 -2
  162. package/cjs/pivot-grid.d.ts +2 -2
  163. package/cjs/pivot-grid.js +2 -2
  164. package/cjs/polar-chart.d.ts +2 -2
  165. package/cjs/polar-chart.js +2 -2
  166. package/cjs/popover.d.ts +2 -2
  167. package/cjs/popover.js +2 -2
  168. package/cjs/popup.d.ts +2 -2
  169. package/cjs/popup.js +2 -2
  170. package/cjs/progress-bar.d.ts +2 -2
  171. package/cjs/progress-bar.js +2 -2
  172. package/cjs/radio-group.d.ts +2 -2
  173. package/cjs/radio-group.js +2 -2
  174. package/cjs/range-selector.d.ts +2 -2
  175. package/cjs/range-selector.js +2 -2
  176. package/cjs/range-slider.d.ts +2 -2
  177. package/cjs/range-slider.js +2 -2
  178. package/cjs/recurrence-editor.d.ts +2 -2
  179. package/cjs/recurrence-editor.js +2 -2
  180. package/cjs/resizable.d.ts +2 -2
  181. package/cjs/resizable.js +2 -2
  182. package/cjs/responsive-box.d.ts +2 -2
  183. package/cjs/responsive-box.js +2 -2
  184. package/cjs/sankey.d.ts +2 -2
  185. package/cjs/sankey.js +2 -2
  186. package/cjs/scheduler.d.ts +11 -17
  187. package/cjs/scheduler.js +2 -2
  188. package/cjs/scroll-view.d.ts +2 -2
  189. package/cjs/scroll-view.js +2 -2
  190. package/cjs/select-box.d.ts +2 -2
  191. package/cjs/select-box.js +2 -2
  192. package/cjs/slider.d.ts +2 -2
  193. package/cjs/slider.js +2 -2
  194. package/cjs/sortable.d.ts +2 -2
  195. package/cjs/sortable.js +2 -2
  196. package/cjs/sparkline.d.ts +2 -2
  197. package/cjs/sparkline.js +2 -2
  198. package/cjs/speed-dial-action.d.ts +2 -2
  199. package/cjs/speed-dial-action.js +2 -2
  200. package/cjs/splitter.d.ts +2 -2
  201. package/cjs/splitter.js +2 -2
  202. package/cjs/stepper.d.ts +4 -4
  203. package/cjs/stepper.js +2 -2
  204. package/cjs/switch.d.ts +2 -2
  205. package/cjs/switch.js +2 -2
  206. package/cjs/tab-panel.d.ts +2 -2
  207. package/cjs/tab-panel.js +2 -2
  208. package/cjs/tabs.d.ts +2 -2
  209. package/cjs/tabs.js +2 -2
  210. package/cjs/tag-box.d.ts +2 -2
  211. package/cjs/tag-box.js +2 -2
  212. package/cjs/text-area.d.ts +2 -2
  213. package/cjs/text-area.js +2 -2
  214. package/cjs/text-box.d.ts +2 -2
  215. package/cjs/text-box.js +2 -2
  216. package/cjs/tile-view.d.ts +2 -2
  217. package/cjs/tile-view.js +2 -2
  218. package/cjs/toast.d.ts +2 -2
  219. package/cjs/toast.js +2 -2
  220. package/cjs/toolbar.d.ts +2 -2
  221. package/cjs/toolbar.js +2 -2
  222. package/cjs/tooltip.d.ts +2 -2
  223. package/cjs/tooltip.js +2 -2
  224. package/cjs/tree-list.d.ts +2 -2
  225. package/cjs/tree-list.js +2 -2
  226. package/cjs/tree-map.d.ts +2 -2
  227. package/cjs/tree-map.js +2 -2
  228. package/cjs/tree-view.d.ts +2 -2
  229. package/cjs/tree-view.js +2 -2
  230. package/cjs/validation-group.d.ts +2 -2
  231. package/cjs/validation-group.js +2 -2
  232. package/cjs/validation-summary.d.ts +2 -2
  233. package/cjs/validation-summary.js +2 -2
  234. package/cjs/validator.d.ts +2 -2
  235. package/cjs/validator.js +2 -2
  236. package/cjs/vector-map.d.ts +2 -2
  237. package/cjs/vector-map.js +2 -2
  238. package/common/ai-integration/package.json +6 -0
  239. package/esm/accordion.js +2 -2
  240. package/esm/action-sheet.js +2 -2
  241. package/esm/autocomplete.js +2 -2
  242. package/esm/bar-gauge.js +2 -2
  243. package/esm/box.js +2 -2
  244. package/esm/bullet.js +2 -2
  245. package/esm/button-group.js +2 -2
  246. package/esm/button.js +2 -2
  247. package/esm/calendar.js +2 -2
  248. package/esm/card-view.js +798 -0
  249. package/esm/chart.js +2 -2
  250. package/esm/chat.js +16 -4
  251. package/esm/check-box.js +2 -2
  252. package/esm/circular-gauge.js +2 -2
  253. package/esm/color-box.js +2 -2
  254. package/esm/common/ai-integration.js +14 -0
  255. package/esm/common/charts.js +2 -2
  256. package/esm/common/core/animation.js +2 -2
  257. package/esm/common/core/environment.js +2 -2
  258. package/esm/common/core/events.js +2 -2
  259. package/esm/common/core/index.js +2 -2
  260. package/esm/common/core/localization.js +2 -2
  261. package/esm/common/data/custom-store.js +2 -2
  262. package/esm/common/data.js +2 -2
  263. package/esm/common/export/excel.js +2 -2
  264. package/esm/common/export/index.js +2 -2
  265. package/esm/common/export/pdf.js +2 -2
  266. package/esm/common/grids.js +2 -2
  267. package/esm/common/index.js +3 -2
  268. package/esm/context-menu.js +2 -2
  269. package/esm/core/component-base.js +2 -2
  270. package/esm/core/component.js +2 -2
  271. package/esm/core/config.js +2 -2
  272. package/esm/core/configuration/comparer.js +2 -2
  273. package/esm/core/configuration/config-node.js +2 -2
  274. package/esm/core/configuration/react/element.js +2 -2
  275. package/esm/core/configuration/react/templates.js +2 -2
  276. package/esm/core/configuration/tree.js +2 -2
  277. package/esm/core/configuration/utils.js +2 -2
  278. package/esm/core/contexts.js +2 -2
  279. package/esm/core/extension-component.js +2 -2
  280. package/esm/core/helpers.js +2 -2
  281. package/esm/core/nested-option.js +2 -2
  282. package/esm/core/options-manager.js +2 -2
  283. package/esm/core/template-manager.js +2 -2
  284. package/esm/core/template-wrapper.js +2 -2
  285. package/esm/core/template.js +3 -2
  286. package/esm/core/types.js +2 -2
  287. package/esm/core/use-option-scanning.js +2 -2
  288. package/esm/core/widget-config.js +2 -2
  289. package/esm/data-grid.js +2 -2
  290. package/esm/date-box.js +2 -2
  291. package/esm/date-range-box.js +2 -2
  292. package/esm/defer-rendering.js +2 -2
  293. package/esm/diagram.js +2 -2
  294. package/esm/draggable.js +2 -2
  295. package/esm/drawer.js +2 -2
  296. package/esm/drop-down-box.js +2 -2
  297. package/esm/drop-down-button.js +2 -2
  298. package/esm/file-manager.js +2 -2
  299. package/esm/file-uploader.js +2 -2
  300. package/esm/filter-builder.js +2 -2
  301. package/esm/form.js +2 -2
  302. package/esm/funnel.js +2 -2
  303. package/esm/gallery.js +2 -2
  304. package/esm/gantt.js +2 -2
  305. package/esm/html-editor.js +2 -2
  306. package/esm/index.js +3 -2
  307. package/esm/linear-gauge.js +2 -2
  308. package/esm/list.js +2 -2
  309. package/esm/load-indicator.js +2 -2
  310. package/esm/load-panel.js +2 -2
  311. package/esm/lookup.js +2 -2
  312. package/esm/map.js +2 -2
  313. package/esm/menu.js +2 -2
  314. package/esm/multi-view.js +2 -2
  315. package/esm/number-box.js +2 -2
  316. package/esm/pagination.js +2 -2
  317. package/esm/pie-chart.js +2 -2
  318. package/esm/pivot-grid-field-chooser.js +2 -2
  319. package/esm/pivot-grid.js +2 -2
  320. package/esm/polar-chart.js +2 -2
  321. package/esm/popover.js +2 -2
  322. package/esm/popup.js +2 -2
  323. package/esm/progress-bar.js +2 -2
  324. package/esm/radio-group.js +2 -2
  325. package/esm/range-selector.js +2 -2
  326. package/esm/range-slider.js +2 -2
  327. package/esm/recurrence-editor.js +2 -2
  328. package/esm/resizable.js +2 -2
  329. package/esm/responsive-box.js +2 -2
  330. package/esm/sankey.js +2 -2
  331. package/esm/scheduler.js +2 -2
  332. package/esm/scroll-view.js +2 -2
  333. package/esm/select-box.js +2 -2
  334. package/esm/slider.js +2 -2
  335. package/esm/sortable.js +2 -2
  336. package/esm/sparkline.js +2 -2
  337. package/esm/speed-dial-action.js +2 -2
  338. package/esm/splitter.js +2 -2
  339. package/esm/stepper.js +2 -2
  340. package/esm/switch.js +2 -2
  341. package/esm/tab-panel.js +2 -2
  342. package/esm/tabs.js +2 -2
  343. package/esm/tag-box.js +2 -2
  344. package/esm/text-area.js +2 -2
  345. package/esm/text-box.js +2 -2
  346. package/esm/tile-view.js +2 -2
  347. package/esm/toast.js +2 -2
  348. package/esm/toolbar.js +2 -2
  349. package/esm/tooltip.js +2 -2
  350. package/esm/tree-list.js +2 -2
  351. package/esm/tree-map.js +2 -2
  352. package/esm/tree-view.js +2 -2
  353. package/esm/validation-group.js +2 -2
  354. package/esm/validation-summary.js +2 -2
  355. package/esm/validator.js +2 -2
  356. package/esm/vector-map.js +2 -2
  357. package/package.json +36 -4
@@ -0,0 +1,798 @@
1
+ /*!
2
+ * devextreme-react
3
+ * Version: 25.1.2-beta
4
+ * Build date: Wed May 14 2025
5
+ *
6
+ * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
+ *
8
+ * This software may be modified and distributed under the terms
9
+ * of the MIT license. See the LICENSE file in the root of the project for details.
10
+ *
11
+ * https://github.com/DevExpress/devextreme-react
12
+ */
13
+
14
+ "use client";
15
+ import * as React from "react";
16
+ import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
17
+ import dxCardView from "devextreme/ui/card_view";
18
+ import { Component as BaseComponent } from "./core/component";
19
+ import NestedOption from "./core/nested-option";
20
+ const CardView = memo(forwardRef((props, ref) => {
21
+ const baseRef = useRef(null);
22
+ useImperativeHandle(ref, () => ({
23
+ instance() {
24
+ return baseRef.current?.getInstance();
25
+ }
26
+ }), [baseRef.current]);
27
+ const subscribableOptions = useMemo(() => (["filterValue", "selectedCardKeys"]), []);
28
+ const independentEvents = useMemo(() => (["onCardClick", "onCardDblClick", "onCardInserted", "onCardInserting", "onCardPrepared", "onCardRemoved", "onCardRemoving", "onCardSaved", "onCardSaving", "onCardUpdated", "onCardUpdating", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onFieldCaptionClick", "onFieldCaptionDblClick", "onFieldCaptionPrepared", "onFieldValueClick", "onFieldValueDblClick", "onFieldValuePrepared", "onInitialized", "onInitNewCard", "onSelectionChanging"]), []);
29
+ const defaults = useMemo(() => ({
30
+ defaultFilterValue: "filterValue",
31
+ defaultSelectedCardKeys: "selectedCardKeys",
32
+ }), []);
33
+ const expectedChildren = useMemo(() => ({
34
+ cardCover: { optionName: "cardCover", isCollectionItem: false },
35
+ cardHeader: { optionName: "cardHeader", isCollectionItem: false },
36
+ column: { optionName: "columns", isCollectionItem: true },
37
+ editing: { optionName: "editing", isCollectionItem: false },
38
+ filterBuilder: { optionName: "filterBuilder", isCollectionItem: false },
39
+ headerPanel: { optionName: "headerPanel", isCollectionItem: false },
40
+ loadPanel: { optionName: "loadPanel", isCollectionItem: false },
41
+ pager: { optionName: "pager", isCollectionItem: false },
42
+ paging: { optionName: "paging", isCollectionItem: false },
43
+ remoteOperations: { optionName: "remoteOperations", isCollectionItem: false },
44
+ selection: { optionName: "selection", isCollectionItem: false },
45
+ toolbar: { optionName: "toolbar", isCollectionItem: false }
46
+ }), []);
47
+ const templateProps = useMemo(() => ([
48
+ {
49
+ tmplOption: "cardContentTemplate",
50
+ render: "cardContentRender",
51
+ component: "cardContentComponent"
52
+ },
53
+ {
54
+ tmplOption: "cardFooterTemplate",
55
+ render: "cardFooterRender",
56
+ component: "cardFooterComponent"
57
+ },
58
+ {
59
+ tmplOption: "cardTemplate",
60
+ render: "cardRender",
61
+ component: "cardComponent"
62
+ },
63
+ {
64
+ tmplOption: "noDataTemplate",
65
+ render: "noDataRender",
66
+ component: "noDataComponent"
67
+ },
68
+ ]), []);
69
+ return (React.createElement((BaseComponent), {
70
+ WidgetClass: dxCardView,
71
+ ref: baseRef,
72
+ subscribableOptions,
73
+ independentEvents,
74
+ defaults,
75
+ expectedChildren,
76
+ templateProps,
77
+ ...props,
78
+ }));
79
+ }));
80
+ const _componentAnimation = (props) => {
81
+ return React.createElement((NestedOption), {
82
+ ...props,
83
+ elementDescriptor: {
84
+ OptionName: "animation",
85
+ ExpectedChildren: {
86
+ hide: { optionName: "hide", isCollectionItem: false },
87
+ show: { optionName: "show", isCollectionItem: false }
88
+ },
89
+ },
90
+ });
91
+ };
92
+ const Animation = Object.assign(_componentAnimation, {
93
+ componentType: "option",
94
+ });
95
+ const _componentAsyncRule = (props) => {
96
+ return React.createElement((NestedOption), {
97
+ ...props,
98
+ elementDescriptor: {
99
+ OptionName: "validationRules",
100
+ IsCollectionItem: true,
101
+ PredefinedProps: {
102
+ type: "async"
103
+ },
104
+ },
105
+ });
106
+ };
107
+ const AsyncRule = Object.assign(_componentAsyncRule, {
108
+ componentType: "option",
109
+ });
110
+ const _componentAt = (props) => {
111
+ return React.createElement((NestedOption), {
112
+ ...props,
113
+ elementDescriptor: {
114
+ OptionName: "at",
115
+ },
116
+ });
117
+ };
118
+ const At = Object.assign(_componentAt, {
119
+ componentType: "option",
120
+ });
121
+ const _componentBoundaryOffset = (props) => {
122
+ return React.createElement((NestedOption), {
123
+ ...props,
124
+ elementDescriptor: {
125
+ OptionName: "boundaryOffset",
126
+ },
127
+ });
128
+ };
129
+ const BoundaryOffset = Object.assign(_componentBoundaryOffset, {
130
+ componentType: "option",
131
+ });
132
+ const _componentCardCover = (props) => {
133
+ return React.createElement((NestedOption), {
134
+ ...props,
135
+ elementDescriptor: {
136
+ OptionName: "cardCover",
137
+ TemplateProps: [{
138
+ tmplOption: "template",
139
+ render: "render",
140
+ component: "component"
141
+ }],
142
+ },
143
+ });
144
+ };
145
+ const CardCover = Object.assign(_componentCardCover, {
146
+ componentType: "option",
147
+ });
148
+ const _componentCardHeader = (props) => {
149
+ return React.createElement((NestedOption), {
150
+ ...props,
151
+ elementDescriptor: {
152
+ OptionName: "cardHeader",
153
+ ExpectedChildren: {
154
+ cardHeaderItem: { optionName: "items", isCollectionItem: true },
155
+ item: { optionName: "items", isCollectionItem: true }
156
+ },
157
+ TemplateProps: [{
158
+ tmplOption: "template",
159
+ render: "render",
160
+ component: "component"
161
+ }],
162
+ },
163
+ });
164
+ };
165
+ const CardHeader = Object.assign(_componentCardHeader, {
166
+ componentType: "option",
167
+ });
168
+ const _componentCardHeaderItem = (props) => {
169
+ return React.createElement((NestedOption), {
170
+ ...props,
171
+ elementDescriptor: {
172
+ OptionName: "items",
173
+ IsCollectionItem: true,
174
+ TemplateProps: [{
175
+ tmplOption: "menuItemTemplate",
176
+ render: "menuItemRender",
177
+ component: "menuItemComponent"
178
+ }, {
179
+ tmplOption: "template",
180
+ render: "render",
181
+ component: "component"
182
+ }],
183
+ },
184
+ });
185
+ };
186
+ const CardHeaderItem = Object.assign(_componentCardHeaderItem, {
187
+ componentType: "option",
188
+ });
189
+ const _componentChange = (props) => {
190
+ return React.createElement((NestedOption), {
191
+ ...props,
192
+ elementDescriptor: {
193
+ OptionName: "changes",
194
+ IsCollectionItem: true,
195
+ },
196
+ });
197
+ };
198
+ const Change = Object.assign(_componentChange, {
199
+ componentType: "option",
200
+ });
201
+ const _componentCollision = (props) => {
202
+ return React.createElement((NestedOption), {
203
+ ...props,
204
+ elementDescriptor: {
205
+ OptionName: "collision",
206
+ },
207
+ });
208
+ };
209
+ const Collision = Object.assign(_componentCollision, {
210
+ componentType: "option",
211
+ });
212
+ const _componentColumn = (props) => {
213
+ return React.createElement((NestedOption), {
214
+ ...props,
215
+ elementDescriptor: {
216
+ OptionName: "columns",
217
+ IsCollectionItem: true,
218
+ DefaultsProps: {
219
+ defaultFilterValue: "filterValue",
220
+ defaultFilterValues: "filterValues",
221
+ defaultSortIndex: "sortIndex",
222
+ defaultSortOrder: "sortOrder",
223
+ defaultVisible: "visible",
224
+ defaultVisibleIndex: "visibleIndex"
225
+ },
226
+ ExpectedChildren: {
227
+ AsyncRule: { optionName: "validationRules", isCollectionItem: true },
228
+ CompareRule: { optionName: "validationRules", isCollectionItem: true },
229
+ CustomRule: { optionName: "validationRules", isCollectionItem: true },
230
+ EmailRule: { optionName: "validationRules", isCollectionItem: true },
231
+ format: { optionName: "format", isCollectionItem: false },
232
+ formItem: { optionName: "formItem", isCollectionItem: false },
233
+ NumericRule: { optionName: "validationRules", isCollectionItem: true },
234
+ PatternRule: { optionName: "validationRules", isCollectionItem: true },
235
+ RangeRule: { optionName: "validationRules", isCollectionItem: true },
236
+ RequiredRule: { optionName: "validationRules", isCollectionItem: true },
237
+ StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
238
+ validationRule: { optionName: "validationRules", isCollectionItem: true }
239
+ },
240
+ TemplateProps: [{
241
+ tmplOption: "fieldCaptionTemplate",
242
+ render: "fieldCaptionRender",
243
+ component: "fieldCaptionComponent"
244
+ }, {
245
+ tmplOption: "fieldTemplate",
246
+ render: "fieldRender",
247
+ component: "fieldComponent"
248
+ }, {
249
+ tmplOption: "fieldValueTemplate",
250
+ render: "fieldValueRender",
251
+ component: "fieldValueComponent"
252
+ }, {
253
+ tmplOption: "headerItemTemplate",
254
+ render: "headerItemRender",
255
+ component: "headerItemComponent"
256
+ }],
257
+ },
258
+ });
259
+ };
260
+ const Column = Object.assign(_componentColumn, {
261
+ componentType: "option",
262
+ });
263
+ const _componentCompareRule = (props) => {
264
+ return React.createElement((NestedOption), {
265
+ ...props,
266
+ elementDescriptor: {
267
+ OptionName: "validationRules",
268
+ IsCollectionItem: true,
269
+ PredefinedProps: {
270
+ type: "compare"
271
+ },
272
+ },
273
+ });
274
+ };
275
+ const CompareRule = Object.assign(_componentCompareRule, {
276
+ componentType: "option",
277
+ });
278
+ const _componentCustomOperation = (props) => {
279
+ return React.createElement((NestedOption), {
280
+ ...props,
281
+ elementDescriptor: {
282
+ OptionName: "customOperations",
283
+ IsCollectionItem: true,
284
+ TemplateProps: [{
285
+ tmplOption: "editorTemplate",
286
+ render: "editorRender",
287
+ component: "editorComponent"
288
+ }],
289
+ },
290
+ });
291
+ };
292
+ const CustomOperation = Object.assign(_componentCustomOperation, {
293
+ componentType: "option",
294
+ });
295
+ const _componentCustomRule = (props) => {
296
+ return React.createElement((NestedOption), {
297
+ ...props,
298
+ elementDescriptor: {
299
+ OptionName: "validationRules",
300
+ IsCollectionItem: true,
301
+ PredefinedProps: {
302
+ type: "custom"
303
+ },
304
+ },
305
+ });
306
+ };
307
+ const CustomRule = Object.assign(_componentCustomRule, {
308
+ componentType: "option",
309
+ });
310
+ const _componentEditing = (props) => {
311
+ return React.createElement((NestedOption), {
312
+ ...props,
313
+ elementDescriptor: {
314
+ OptionName: "editing",
315
+ ExpectedChildren: {
316
+ change: { optionName: "changes", isCollectionItem: true }
317
+ },
318
+ },
319
+ });
320
+ };
321
+ const Editing = Object.assign(_componentEditing, {
322
+ componentType: "option",
323
+ });
324
+ const _componentEmailRule = (props) => {
325
+ return React.createElement((NestedOption), {
326
+ ...props,
327
+ elementDescriptor: {
328
+ OptionName: "validationRules",
329
+ IsCollectionItem: true,
330
+ PredefinedProps: {
331
+ type: "email"
332
+ },
333
+ },
334
+ });
335
+ };
336
+ const EmailRule = Object.assign(_componentEmailRule, {
337
+ componentType: "option",
338
+ });
339
+ const _componentField = (props) => {
340
+ return React.createElement((NestedOption), {
341
+ ...props,
342
+ elementDescriptor: {
343
+ OptionName: "fields",
344
+ IsCollectionItem: true,
345
+ ExpectedChildren: {
346
+ format: { optionName: "format", isCollectionItem: false },
347
+ lookup: { optionName: "lookup", isCollectionItem: false }
348
+ },
349
+ TemplateProps: [{
350
+ tmplOption: "editorTemplate",
351
+ render: "editorRender",
352
+ component: "editorComponent"
353
+ }],
354
+ },
355
+ });
356
+ };
357
+ const Field = Object.assign(_componentField, {
358
+ componentType: "option",
359
+ });
360
+ const _componentFilterBuilder = (props) => {
361
+ return React.createElement((NestedOption), {
362
+ ...props,
363
+ elementDescriptor: {
364
+ OptionName: "filterBuilder",
365
+ DefaultsProps: {
366
+ defaultValue: "value"
367
+ },
368
+ ExpectedChildren: {
369
+ customOperation: { optionName: "customOperations", isCollectionItem: true },
370
+ field: { optionName: "fields", isCollectionItem: true },
371
+ filterOperationDescriptions: { optionName: "filterOperationDescriptions", isCollectionItem: false },
372
+ groupOperationDescriptions: { optionName: "groupOperationDescriptions", isCollectionItem: false }
373
+ },
374
+ },
375
+ });
376
+ };
377
+ const FilterBuilder = Object.assign(_componentFilterBuilder, {
378
+ componentType: "option",
379
+ });
380
+ const _componentFilterOperationDescriptions = (props) => {
381
+ return React.createElement((NestedOption), {
382
+ ...props,
383
+ elementDescriptor: {
384
+ OptionName: "filterOperationDescriptions",
385
+ },
386
+ });
387
+ };
388
+ const FilterOperationDescriptions = Object.assign(_componentFilterOperationDescriptions, {
389
+ componentType: "option",
390
+ });
391
+ const _componentFormat = (props) => {
392
+ return React.createElement((NestedOption), {
393
+ ...props,
394
+ elementDescriptor: {
395
+ OptionName: "format",
396
+ },
397
+ });
398
+ };
399
+ const Format = Object.assign(_componentFormat, {
400
+ componentType: "option",
401
+ });
402
+ const _componentFormItem = (props) => {
403
+ return React.createElement((NestedOption), {
404
+ ...props,
405
+ elementDescriptor: {
406
+ OptionName: "formItem",
407
+ ExpectedChildren: {
408
+ AsyncRule: { optionName: "validationRules", isCollectionItem: true },
409
+ CompareRule: { optionName: "validationRules", isCollectionItem: true },
410
+ CustomRule: { optionName: "validationRules", isCollectionItem: true },
411
+ EmailRule: { optionName: "validationRules", isCollectionItem: true },
412
+ label: { optionName: "label", isCollectionItem: false },
413
+ NumericRule: { optionName: "validationRules", isCollectionItem: true },
414
+ PatternRule: { optionName: "validationRules", isCollectionItem: true },
415
+ RangeRule: { optionName: "validationRules", isCollectionItem: true },
416
+ RequiredRule: { optionName: "validationRules", isCollectionItem: true },
417
+ StringLengthRule: { optionName: "validationRules", isCollectionItem: true },
418
+ validationRule: { optionName: "validationRules", isCollectionItem: true }
419
+ },
420
+ TemplateProps: [{
421
+ tmplOption: "template",
422
+ render: "render",
423
+ component: "component"
424
+ }],
425
+ },
426
+ });
427
+ };
428
+ const FormItem = Object.assign(_componentFormItem, {
429
+ componentType: "option",
430
+ });
431
+ const _componentFrom = (props) => {
432
+ return React.createElement((NestedOption), {
433
+ ...props,
434
+ elementDescriptor: {
435
+ OptionName: "from",
436
+ ExpectedChildren: {
437
+ position: { optionName: "position", isCollectionItem: false }
438
+ },
439
+ },
440
+ });
441
+ };
442
+ const From = Object.assign(_componentFrom, {
443
+ componentType: "option",
444
+ });
445
+ const _componentGroupOperationDescriptions = (props) => {
446
+ return React.createElement((NestedOption), {
447
+ ...props,
448
+ elementDescriptor: {
449
+ OptionName: "groupOperationDescriptions",
450
+ },
451
+ });
452
+ };
453
+ const GroupOperationDescriptions = Object.assign(_componentGroupOperationDescriptions, {
454
+ componentType: "option",
455
+ });
456
+ const _componentHeaderPanel = (props) => {
457
+ return React.createElement((NestedOption), {
458
+ ...props,
459
+ elementDescriptor: {
460
+ OptionName: "headerPanel",
461
+ TemplateProps: [{
462
+ tmplOption: "itemTemplate",
463
+ render: "itemRender",
464
+ component: "itemComponent"
465
+ }],
466
+ },
467
+ });
468
+ };
469
+ const HeaderPanel = Object.assign(_componentHeaderPanel, {
470
+ componentType: "option",
471
+ });
472
+ const _componentHide = (props) => {
473
+ return React.createElement((NestedOption), {
474
+ ...props,
475
+ elementDescriptor: {
476
+ OptionName: "hide",
477
+ ExpectedChildren: {
478
+ from: { optionName: "from", isCollectionItem: false },
479
+ to: { optionName: "to", isCollectionItem: false }
480
+ },
481
+ },
482
+ });
483
+ };
484
+ const Hide = Object.assign(_componentHide, {
485
+ componentType: "option",
486
+ });
487
+ const _componentItem = (props) => {
488
+ return React.createElement((NestedOption), {
489
+ ...props,
490
+ elementDescriptor: {
491
+ OptionName: "items",
492
+ IsCollectionItem: true,
493
+ TemplateProps: [{
494
+ tmplOption: "menuItemTemplate",
495
+ render: "menuItemRender",
496
+ component: "menuItemComponent"
497
+ }, {
498
+ tmplOption: "template",
499
+ render: "render",
500
+ component: "component"
501
+ }],
502
+ },
503
+ });
504
+ };
505
+ const Item = Object.assign(_componentItem, {
506
+ componentType: "option",
507
+ });
508
+ const _componentLabel = (props) => {
509
+ return React.createElement((NestedOption), {
510
+ ...props,
511
+ elementDescriptor: {
512
+ OptionName: "label",
513
+ TemplateProps: [{
514
+ tmplOption: "template",
515
+ render: "render",
516
+ component: "component"
517
+ }],
518
+ },
519
+ });
520
+ };
521
+ const Label = Object.assign(_componentLabel, {
522
+ componentType: "option",
523
+ });
524
+ const _componentLoadPanel = (props) => {
525
+ return React.createElement((NestedOption), {
526
+ ...props,
527
+ elementDescriptor: {
528
+ OptionName: "loadPanel",
529
+ DefaultsProps: {
530
+ defaultPosition: "position",
531
+ defaultVisible: "visible"
532
+ },
533
+ ExpectedChildren: {
534
+ animation: { optionName: "animation", isCollectionItem: false },
535
+ position: { optionName: "position", isCollectionItem: false }
536
+ },
537
+ },
538
+ });
539
+ };
540
+ const LoadPanel = Object.assign(_componentLoadPanel, {
541
+ componentType: "option",
542
+ });
543
+ const _componentLookup = (props) => {
544
+ return React.createElement((NestedOption), {
545
+ ...props,
546
+ elementDescriptor: {
547
+ OptionName: "lookup",
548
+ },
549
+ });
550
+ };
551
+ const Lookup = Object.assign(_componentLookup, {
552
+ componentType: "option",
553
+ });
554
+ const _componentMy = (props) => {
555
+ return React.createElement((NestedOption), {
556
+ ...props,
557
+ elementDescriptor: {
558
+ OptionName: "my",
559
+ },
560
+ });
561
+ };
562
+ const My = Object.assign(_componentMy, {
563
+ componentType: "option",
564
+ });
565
+ const _componentNumericRule = (props) => {
566
+ return React.createElement((NestedOption), {
567
+ ...props,
568
+ elementDescriptor: {
569
+ OptionName: "validationRules",
570
+ IsCollectionItem: true,
571
+ PredefinedProps: {
572
+ type: "numeric"
573
+ },
574
+ },
575
+ });
576
+ };
577
+ const NumericRule = Object.assign(_componentNumericRule, {
578
+ componentType: "option",
579
+ });
580
+ const _componentOffset = (props) => {
581
+ return React.createElement((NestedOption), {
582
+ ...props,
583
+ elementDescriptor: {
584
+ OptionName: "offset",
585
+ },
586
+ });
587
+ };
588
+ const Offset = Object.assign(_componentOffset, {
589
+ componentType: "option",
590
+ });
591
+ const _componentPager = (props) => {
592
+ return React.createElement((NestedOption), {
593
+ ...props,
594
+ elementDescriptor: {
595
+ OptionName: "pager",
596
+ },
597
+ });
598
+ };
599
+ const Pager = Object.assign(_componentPager, {
600
+ componentType: "option",
601
+ });
602
+ const _componentPaging = (props) => {
603
+ return React.createElement((NestedOption), {
604
+ ...props,
605
+ elementDescriptor: {
606
+ OptionName: "paging",
607
+ DefaultsProps: {
608
+ defaultPageIndex: "pageIndex",
609
+ defaultPageSize: "pageSize"
610
+ },
611
+ },
612
+ });
613
+ };
614
+ const Paging = Object.assign(_componentPaging, {
615
+ componentType: "option",
616
+ });
617
+ const _componentPatternRule = (props) => {
618
+ return React.createElement((NestedOption), {
619
+ ...props,
620
+ elementDescriptor: {
621
+ OptionName: "validationRules",
622
+ IsCollectionItem: true,
623
+ PredefinedProps: {
624
+ type: "pattern"
625
+ },
626
+ },
627
+ });
628
+ };
629
+ const PatternRule = Object.assign(_componentPatternRule, {
630
+ componentType: "option",
631
+ });
632
+ const _componentPosition = (props) => {
633
+ return React.createElement((NestedOption), {
634
+ ...props,
635
+ elementDescriptor: {
636
+ OptionName: "position",
637
+ ExpectedChildren: {
638
+ at: { optionName: "at", isCollectionItem: false },
639
+ boundaryOffset: { optionName: "boundaryOffset", isCollectionItem: false },
640
+ collision: { optionName: "collision", isCollectionItem: false },
641
+ my: { optionName: "my", isCollectionItem: false },
642
+ offset: { optionName: "offset", isCollectionItem: false }
643
+ },
644
+ },
645
+ });
646
+ };
647
+ const Position = Object.assign(_componentPosition, {
648
+ componentType: "option",
649
+ });
650
+ const _componentRangeRule = (props) => {
651
+ return React.createElement((NestedOption), {
652
+ ...props,
653
+ elementDescriptor: {
654
+ OptionName: "validationRules",
655
+ IsCollectionItem: true,
656
+ PredefinedProps: {
657
+ type: "range"
658
+ },
659
+ },
660
+ });
661
+ };
662
+ const RangeRule = Object.assign(_componentRangeRule, {
663
+ componentType: "option",
664
+ });
665
+ const _componentRemoteOperations = (props) => {
666
+ return React.createElement((NestedOption), {
667
+ ...props,
668
+ elementDescriptor: {
669
+ OptionName: "remoteOperations",
670
+ },
671
+ });
672
+ };
673
+ const RemoteOperations = Object.assign(_componentRemoteOperations, {
674
+ componentType: "option",
675
+ });
676
+ const _componentRequiredRule = (props) => {
677
+ return React.createElement((NestedOption), {
678
+ ...props,
679
+ elementDescriptor: {
680
+ OptionName: "validationRules",
681
+ IsCollectionItem: true,
682
+ PredefinedProps: {
683
+ type: "required"
684
+ },
685
+ },
686
+ });
687
+ };
688
+ const RequiredRule = Object.assign(_componentRequiredRule, {
689
+ componentType: "option",
690
+ });
691
+ const _componentSelection = (props) => {
692
+ return React.createElement((NestedOption), {
693
+ ...props,
694
+ elementDescriptor: {
695
+ OptionName: "selection",
696
+ },
697
+ });
698
+ };
699
+ const Selection = Object.assign(_componentSelection, {
700
+ componentType: "option",
701
+ });
702
+ const _componentShow = (props) => {
703
+ return React.createElement((NestedOption), {
704
+ ...props,
705
+ elementDescriptor: {
706
+ OptionName: "show",
707
+ ExpectedChildren: {
708
+ from: { optionName: "from", isCollectionItem: false },
709
+ to: { optionName: "to", isCollectionItem: false }
710
+ },
711
+ },
712
+ });
713
+ };
714
+ const Show = Object.assign(_componentShow, {
715
+ componentType: "option",
716
+ });
717
+ const _componentStringLengthRule = (props) => {
718
+ return React.createElement((NestedOption), {
719
+ ...props,
720
+ elementDescriptor: {
721
+ OptionName: "validationRules",
722
+ IsCollectionItem: true,
723
+ PredefinedProps: {
724
+ type: "stringLength"
725
+ },
726
+ },
727
+ });
728
+ };
729
+ const StringLengthRule = Object.assign(_componentStringLengthRule, {
730
+ componentType: "option",
731
+ });
732
+ const _componentTo = (props) => {
733
+ return React.createElement((NestedOption), {
734
+ ...props,
735
+ elementDescriptor: {
736
+ OptionName: "to",
737
+ ExpectedChildren: {
738
+ position: { optionName: "position", isCollectionItem: false }
739
+ },
740
+ },
741
+ });
742
+ };
743
+ const To = Object.assign(_componentTo, {
744
+ componentType: "option",
745
+ });
746
+ const _componentToolbar = (props) => {
747
+ return React.createElement((NestedOption), {
748
+ ...props,
749
+ elementDescriptor: {
750
+ OptionName: "toolbar",
751
+ ExpectedChildren: {
752
+ item: { optionName: "items", isCollectionItem: true },
753
+ toolbarItem: { optionName: "items", isCollectionItem: true }
754
+ },
755
+ },
756
+ });
757
+ };
758
+ const Toolbar = Object.assign(_componentToolbar, {
759
+ componentType: "option",
760
+ });
761
+ const _componentToolbarItem = (props) => {
762
+ return React.createElement((NestedOption), {
763
+ ...props,
764
+ elementDescriptor: {
765
+ OptionName: "items",
766
+ IsCollectionItem: true,
767
+ TemplateProps: [{
768
+ tmplOption: "menuItemTemplate",
769
+ render: "menuItemRender",
770
+ component: "menuItemComponent"
771
+ }, {
772
+ tmplOption: "template",
773
+ render: "render",
774
+ component: "component"
775
+ }],
776
+ },
777
+ });
778
+ };
779
+ const ToolbarItem = Object.assign(_componentToolbarItem, {
780
+ componentType: "option",
781
+ });
782
+ const _componentValidationRule = (props) => {
783
+ return React.createElement((NestedOption), {
784
+ ...props,
785
+ elementDescriptor: {
786
+ OptionName: "validationRules",
787
+ IsCollectionItem: true,
788
+ PredefinedProps: {
789
+ type: "required"
790
+ },
791
+ },
792
+ });
793
+ };
794
+ const ValidationRule = Object.assign(_componentValidationRule, {
795
+ componentType: "option",
796
+ });
797
+ export default CardView;
798
+ export { CardView, Animation, AsyncRule, At, BoundaryOffset, CardCover, CardHeader, CardHeaderItem, Change, Collision, Column, CompareRule, CustomOperation, CustomRule, Editing, EmailRule, Field, FilterBuilder, FilterOperationDescriptions, Format, FormItem, From, GroupOperationDescriptions, HeaderPanel, Hide, Item, Label, LoadPanel, Lookup, My, NumericRule, Offset, Pager, Paging, PatternRule, Position, RangeRule, RemoteOperations, RequiredRule, Selection, Show, StringLengthRule, To, Toolbar, ToolbarItem, ValidationRule };