devextreme-react 25.1.2-beta → 25.1.3

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 (358) hide show
  1. package/cjs/accordion.d.ts +2 -2
  2. package/cjs/accordion.js +2 -2
  3. package/cjs/action-sheet.d.ts +2 -2
  4. package/cjs/action-sheet.js +2 -2
  5. package/cjs/autocomplete.d.ts +26 -28
  6. package/cjs/autocomplete.js +2 -2
  7. package/cjs/bar-gauge.d.ts +2 -2
  8. package/cjs/bar-gauge.js +2 -2
  9. package/cjs/box.d.ts +2 -2
  10. package/cjs/box.js +2 -2
  11. package/cjs/bullet.d.ts +2 -2
  12. package/cjs/bullet.js +2 -2
  13. package/cjs/button-group.d.ts +2 -2
  14. package/cjs/button-group.js +2 -2
  15. package/cjs/button.d.ts +2 -2
  16. package/cjs/button.js +2 -2
  17. package/cjs/calendar.d.ts +2 -2
  18. package/cjs/calendar.js +2 -2
  19. package/cjs/card-view.d.ts +1260 -50
  20. package/cjs/card-view.js +556 -6
  21. package/cjs/chart.d.ts +5 -7
  22. package/cjs/chart.js +3 -3
  23. package/cjs/chat.d.ts +2 -2
  24. package/cjs/chat.js +2 -2
  25. package/cjs/check-box.d.ts +2 -2
  26. package/cjs/check-box.js +2 -2
  27. package/cjs/circular-gauge.d.ts +2 -2
  28. package/cjs/circular-gauge.js +2 -2
  29. package/cjs/color-box.d.ts +26 -28
  30. package/cjs/color-box.js +2 -2
  31. package/cjs/common/ai-integration.d.ts +2 -2
  32. package/cjs/common/ai-integration.js +2 -2
  33. package/cjs/common/charts.d.ts +3 -3
  34. package/cjs/common/charts.js +2 -2
  35. package/cjs/common/core/animation.d.ts +2 -2
  36. package/cjs/common/core/animation.js +2 -2
  37. package/cjs/common/core/environment.d.ts +2 -2
  38. package/cjs/common/core/environment.js +2 -2
  39. package/cjs/common/core/events.d.ts +2 -2
  40. package/cjs/common/core/events.js +2 -2
  41. package/cjs/common/core/index.d.ts +2 -2
  42. package/cjs/common/core/index.js +2 -2
  43. package/cjs/common/core/localization.d.ts +2 -2
  44. package/cjs/common/core/localization.js +2 -2
  45. package/cjs/common/data/custom-store.d.ts +2 -2
  46. package/cjs/common/data/custom-store.js +2 -2
  47. package/cjs/common/data.d.ts +2 -2
  48. package/cjs/common/data.js +2 -2
  49. package/cjs/common/export/excel.d.ts +2 -2
  50. package/cjs/common/export/excel.js +2 -2
  51. package/cjs/common/export/index.d.ts +2 -2
  52. package/cjs/common/export/index.js +2 -2
  53. package/cjs/common/export/pdf.d.ts +2 -2
  54. package/cjs/common/export/pdf.js +2 -2
  55. package/cjs/common/grids.d.ts +2 -2
  56. package/cjs/common/grids.js +2 -2
  57. package/cjs/common/index.d.ts +2 -2
  58. package/cjs/common/index.js +2 -2
  59. package/cjs/context-menu.d.ts +2 -2
  60. package/cjs/context-menu.js +2 -2
  61. package/cjs/core/component-base.d.ts +2 -2
  62. package/cjs/core/component-base.js +10 -4
  63. package/cjs/core/component.d.ts +2 -2
  64. package/cjs/core/component.js +2 -2
  65. package/cjs/core/config.d.ts +2 -2
  66. package/cjs/core/config.js +2 -2
  67. package/cjs/core/configuration/comparer.d.ts +2 -2
  68. package/cjs/core/configuration/comparer.js +2 -2
  69. package/cjs/core/configuration/config-node.d.ts +2 -2
  70. package/cjs/core/configuration/config-node.js +2 -2
  71. package/cjs/core/configuration/react/element.d.ts +2 -2
  72. package/cjs/core/configuration/react/element.js +2 -2
  73. package/cjs/core/configuration/react/templates.d.ts +2 -2
  74. package/cjs/core/configuration/react/templates.js +2 -2
  75. package/cjs/core/configuration/tree.d.ts +2 -2
  76. package/cjs/core/configuration/tree.js +2 -2
  77. package/cjs/core/configuration/utils.d.ts +2 -2
  78. package/cjs/core/configuration/utils.js +2 -2
  79. package/cjs/core/const.d.ts +14 -0
  80. package/cjs/core/const.js +89 -0
  81. package/cjs/core/contexts.d.ts +2 -2
  82. package/cjs/core/contexts.js +2 -2
  83. package/cjs/core/extension-component.d.ts +2 -2
  84. package/cjs/core/extension-component.js +2 -2
  85. package/cjs/core/helpers.d.ts +2 -2
  86. package/cjs/core/helpers.js +2 -2
  87. package/cjs/core/nested-option.d.ts +2 -2
  88. package/cjs/core/nested-option.js +2 -2
  89. package/cjs/core/options-manager.d.ts +3 -2
  90. package/cjs/core/options-manager.js +12 -3
  91. package/cjs/core/template-manager.d.ts +2 -2
  92. package/cjs/core/template-manager.js +12 -3
  93. package/cjs/core/template-wrapper.d.ts +2 -2
  94. package/cjs/core/template-wrapper.js +2 -2
  95. package/cjs/core/template.d.ts +2 -2
  96. package/cjs/core/template.js +2 -2
  97. package/cjs/core/types.d.ts +2 -2
  98. package/cjs/core/types.js +2 -2
  99. package/cjs/core/use-option-scanning.d.ts +2 -2
  100. package/cjs/core/use-option-scanning.js +2 -2
  101. package/cjs/core/widget-config.d.ts +2 -2
  102. package/cjs/core/widget-config.js +2 -2
  103. package/cjs/data-grid.d.ts +62 -122
  104. package/cjs/data-grid.js +3 -5
  105. package/cjs/date-box.d.ts +30 -32
  106. package/cjs/date-box.js +2 -2
  107. package/cjs/date-range-box.d.ts +30 -32
  108. package/cjs/date-range-box.js +2 -2
  109. package/cjs/defer-rendering.d.ts +2 -2
  110. package/cjs/defer-rendering.js +2 -2
  111. package/cjs/diagram.d.ts +2 -2
  112. package/cjs/diagram.js +2 -2
  113. package/cjs/draggable.d.ts +2 -2
  114. package/cjs/draggable.js +2 -2
  115. package/cjs/drawer.d.ts +2 -2
  116. package/cjs/drawer.js +2 -2
  117. package/cjs/drop-down-box.d.ts +26 -28
  118. package/cjs/drop-down-box.js +2 -2
  119. package/cjs/drop-down-button.d.ts +22 -24
  120. package/cjs/drop-down-button.js +2 -2
  121. package/cjs/file-manager.d.ts +2 -2
  122. package/cjs/file-manager.js +2 -2
  123. package/cjs/file-uploader.d.ts +2 -2
  124. package/cjs/file-uploader.js +2 -2
  125. package/cjs/filter-builder.d.ts +2 -2
  126. package/cjs/filter-builder.js +2 -2
  127. package/cjs/form.d.ts +10 -10
  128. package/cjs/form.js +2 -2
  129. package/cjs/funnel.d.ts +2 -2
  130. package/cjs/funnel.js +2 -2
  131. package/cjs/gallery.d.ts +2 -2
  132. package/cjs/gallery.js +2 -2
  133. package/cjs/gantt.d.ts +6 -30
  134. package/cjs/gantt.js +2 -2
  135. package/cjs/html-editor.d.ts +31 -19
  136. package/cjs/html-editor.js +20 -3
  137. package/cjs/index.d.ts +2 -2
  138. package/cjs/index.js +2 -2
  139. package/cjs/linear-gauge.d.ts +2 -2
  140. package/cjs/linear-gauge.js +2 -2
  141. package/cjs/list.d.ts +14 -14
  142. package/cjs/list.js +2 -2
  143. package/cjs/load-indicator.d.ts +2 -2
  144. package/cjs/load-indicator.js +2 -2
  145. package/cjs/load-panel.d.ts +2 -2
  146. package/cjs/load-panel.js +2 -2
  147. package/cjs/lookup.d.ts +22 -24
  148. package/cjs/lookup.js +2 -2
  149. package/cjs/map.d.ts +2 -2
  150. package/cjs/map.js +2 -2
  151. package/cjs/menu.d.ts +2 -2
  152. package/cjs/menu.js +2 -2
  153. package/cjs/multi-view.d.ts +2 -2
  154. package/cjs/multi-view.js +2 -2
  155. package/cjs/number-box.d.ts +6 -6
  156. package/cjs/number-box.js +2 -2
  157. package/cjs/pagination.d.ts +2 -2
  158. package/cjs/pagination.js +2 -2
  159. package/cjs/pie-chart.d.ts +2 -2
  160. package/cjs/pie-chart.js +2 -2
  161. package/cjs/pivot-grid-field-chooser.d.ts +2 -2
  162. package/cjs/pivot-grid-field-chooser.js +2 -2
  163. package/cjs/pivot-grid.d.ts +2 -2
  164. package/cjs/pivot-grid.js +2 -2
  165. package/cjs/polar-chart.d.ts +4 -4
  166. package/cjs/polar-chart.js +3 -3
  167. package/cjs/popover.d.ts +6 -6
  168. package/cjs/popover.js +2 -2
  169. package/cjs/popup.d.ts +6 -6
  170. package/cjs/popup.js +2 -2
  171. package/cjs/progress-bar.d.ts +2 -2
  172. package/cjs/progress-bar.js +2 -2
  173. package/cjs/radio-group.d.ts +2 -2
  174. package/cjs/radio-group.js +2 -2
  175. package/cjs/range-selector.d.ts +3 -7
  176. package/cjs/range-selector.js +3 -3
  177. package/cjs/range-slider.d.ts +2 -2
  178. package/cjs/range-slider.js +2 -2
  179. package/cjs/recurrence-editor.d.ts +2 -2
  180. package/cjs/recurrence-editor.js +2 -2
  181. package/cjs/resizable.d.ts +6 -6
  182. package/cjs/resizable.js +2 -2
  183. package/cjs/responsive-box.d.ts +2 -2
  184. package/cjs/responsive-box.js +2 -2
  185. package/cjs/sankey.d.ts +2 -2
  186. package/cjs/sankey.js +2 -2
  187. package/cjs/scheduler.d.ts +6 -6
  188. package/cjs/scheduler.js +2 -2
  189. package/cjs/scroll-view.d.ts +2 -2
  190. package/cjs/scroll-view.js +2 -2
  191. package/cjs/select-box.d.ts +26 -28
  192. package/cjs/select-box.js +2 -2
  193. package/cjs/slider.d.ts +2 -2
  194. package/cjs/slider.js +2 -2
  195. package/cjs/sortable.d.ts +2 -2
  196. package/cjs/sortable.js +2 -2
  197. package/cjs/sparkline.d.ts +2 -2
  198. package/cjs/sparkline.js +2 -2
  199. package/cjs/speed-dial-action.d.ts +2 -2
  200. package/cjs/speed-dial-action.js +2 -2
  201. package/cjs/splitter.d.ts +2 -2
  202. package/cjs/splitter.js +2 -2
  203. package/cjs/stepper.d.ts +2 -2
  204. package/cjs/stepper.js +2 -2
  205. package/cjs/switch.d.ts +2 -2
  206. package/cjs/switch.js +2 -2
  207. package/cjs/tab-panel.d.ts +2 -2
  208. package/cjs/tab-panel.js +2 -2
  209. package/cjs/tabs.d.ts +2 -2
  210. package/cjs/tabs.js +2 -2
  211. package/cjs/tag-box.d.ts +26 -28
  212. package/cjs/tag-box.js +2 -2
  213. package/cjs/text-area.d.ts +2 -2
  214. package/cjs/text-area.js +2 -2
  215. package/cjs/text-box.d.ts +6 -6
  216. package/cjs/text-box.js +2 -2
  217. package/cjs/tile-view.d.ts +2 -2
  218. package/cjs/tile-view.js +2 -2
  219. package/cjs/toast.d.ts +2 -2
  220. package/cjs/toast.js +2 -2
  221. package/cjs/toolbar.d.ts +2 -2
  222. package/cjs/toolbar.js +2 -2
  223. package/cjs/tooltip.d.ts +6 -6
  224. package/cjs/tooltip.js +2 -2
  225. package/cjs/tree-list.d.ts +62 -122
  226. package/cjs/tree-list.js +3 -5
  227. package/cjs/tree-map.d.ts +2 -2
  228. package/cjs/tree-map.js +2 -2
  229. package/cjs/tree-view.d.ts +10 -10
  230. package/cjs/tree-view.js +2 -2
  231. package/cjs/validation-group.d.ts +2 -2
  232. package/cjs/validation-group.js +2 -2
  233. package/cjs/validation-summary.d.ts +2 -2
  234. package/cjs/validation-summary.js +2 -2
  235. package/cjs/validator.d.ts +2 -2
  236. package/cjs/validator.js +2 -2
  237. package/cjs/vector-map.d.ts +2 -2
  238. package/cjs/vector-map.js +2 -2
  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 +525 -6
  249. package/esm/chart.js +3 -3
  250. package/esm/chat.js +2 -2
  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 +2 -2
  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 +2 -2
  268. package/esm/context-menu.js +2 -2
  269. package/esm/core/component-base.js +10 -4
  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/const.js +86 -0
  279. package/esm/core/contexts.js +2 -2
  280. package/esm/core/extension-component.js +2 -2
  281. package/esm/core/helpers.js +2 -2
  282. package/esm/core/nested-option.js +2 -2
  283. package/esm/core/options-manager.js +12 -3
  284. package/esm/core/template-manager.js +12 -3
  285. package/esm/core/template-wrapper.js +2 -2
  286. package/esm/core/template.js +2 -2
  287. package/esm/core/types.js +2 -2
  288. package/esm/core/use-option-scanning.js +2 -2
  289. package/esm/core/widget-config.js +2 -2
  290. package/esm/data-grid.js +3 -5
  291. package/esm/date-box.js +2 -2
  292. package/esm/date-range-box.js +2 -2
  293. package/esm/defer-rendering.js +2 -2
  294. package/esm/diagram.js +2 -2
  295. package/esm/draggable.js +2 -2
  296. package/esm/drawer.js +2 -2
  297. package/esm/drop-down-box.js +2 -2
  298. package/esm/drop-down-button.js +2 -2
  299. package/esm/file-manager.js +2 -2
  300. package/esm/file-uploader.js +2 -2
  301. package/esm/filter-builder.js +2 -2
  302. package/esm/form.js +2 -2
  303. package/esm/funnel.js +2 -2
  304. package/esm/gallery.js +2 -2
  305. package/esm/gantt.js +2 -2
  306. package/esm/html-editor.js +19 -3
  307. package/esm/index.js +2 -2
  308. package/esm/linear-gauge.js +2 -2
  309. package/esm/list.js +2 -2
  310. package/esm/load-indicator.js +2 -2
  311. package/esm/load-panel.js +2 -2
  312. package/esm/lookup.js +2 -2
  313. package/esm/map.js +2 -2
  314. package/esm/menu.js +2 -2
  315. package/esm/multi-view.js +2 -2
  316. package/esm/number-box.js +2 -2
  317. package/esm/pagination.js +2 -2
  318. package/esm/pie-chart.js +2 -2
  319. package/esm/pivot-grid-field-chooser.js +2 -2
  320. package/esm/pivot-grid.js +2 -2
  321. package/esm/polar-chart.js +3 -3
  322. package/esm/popover.js +2 -2
  323. package/esm/popup.js +2 -2
  324. package/esm/progress-bar.js +2 -2
  325. package/esm/radio-group.js +2 -2
  326. package/esm/range-selector.js +3 -3
  327. package/esm/range-slider.js +2 -2
  328. package/esm/recurrence-editor.js +2 -2
  329. package/esm/resizable.js +2 -2
  330. package/esm/responsive-box.js +2 -2
  331. package/esm/sankey.js +2 -2
  332. package/esm/scheduler.js +2 -2
  333. package/esm/scroll-view.js +2 -2
  334. package/esm/select-box.js +2 -2
  335. package/esm/slider.js +2 -2
  336. package/esm/sortable.js +2 -2
  337. package/esm/sparkline.js +2 -2
  338. package/esm/speed-dial-action.js +2 -2
  339. package/esm/splitter.js +2 -2
  340. package/esm/stepper.js +2 -2
  341. package/esm/switch.js +2 -2
  342. package/esm/tab-panel.js +2 -2
  343. package/esm/tabs.js +2 -2
  344. package/esm/tag-box.js +2 -2
  345. package/esm/text-area.js +2 -2
  346. package/esm/text-box.js +2 -2
  347. package/esm/tile-view.js +2 -2
  348. package/esm/toast.js +2 -2
  349. package/esm/toolbar.js +2 -2
  350. package/esm/tooltip.js +2 -2
  351. package/esm/tree-list.js +3 -5
  352. package/esm/tree-map.js +2 -2
  353. package/esm/tree-view.js +2 -2
  354. package/esm/validation-group.js +2 -2
  355. package/esm/validation-summary.js +2 -2
  356. package/esm/validator.js +2 -2
  357. package/esm/vector-map.js +2 -2
  358. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -53,6 +53,7 @@ const widget_config_1 = require("./widget-config");
53
53
  const template_manager_1 = require("./template-manager");
54
54
  const element_1 = require("./configuration/react/element");
55
55
  const contexts_1 = require("./contexts");
56
+ const const_1 = require("./const");
56
57
  const DX_REMOVE_EVENT = 'dxremove';
57
58
  exports.DX_REMOVE_EVENT = DX_REMOVE_EVENT;
58
59
  (0, config_1.default)({
@@ -128,7 +129,12 @@ const ComponentBase = (0, react_1.forwardRef)((props, ref) => {
128
129
  if (element.current) {
129
130
  const el = element.current;
130
131
  Object.entries(styles).forEach(([name, value]) => {
131
- el.style[name] = value;
132
+ if (typeof value === 'number' && !const_1.UNITLESS_NUMBERS_SET.has(name)) {
133
+ el.style[name] = `${value}px`;
134
+ }
135
+ else {
136
+ el.style[name] = value;
137
+ }
132
138
  });
133
139
  }
134
140
  }, [element.current]);
@@ -155,7 +161,7 @@ const ComponentBase = (0, react_1.forwardRef)((props, ref) => {
155
161
  }
156
162
  });
157
163
  return elementProps;
158
- }, [element.current]);
164
+ }, [element.current, props]);
159
165
  const scheduleTemplatesUpdate = (0, react_1.useCallback)(() => {
160
166
  if (guardsUpdateScheduled.current) {
161
167
  return;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * devextreme-react
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 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
+ export declare const UNITLESS_NUMBERS_SET: Set<string>;
@@ -0,0 +1,89 @@
1
+ /*!
2
+ * devextreme-react
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 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 strict";
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UNITLESS_NUMBERS_SET = void 0;
17
+ exports.UNITLESS_NUMBERS_SET = new Set([
18
+ 'animationIterationCount',
19
+ 'aspectRatio',
20
+ 'borderImageOutset',
21
+ 'borderImageSlice',
22
+ 'borderImageWidth',
23
+ 'boxFlex',
24
+ 'boxFlexGroup',
25
+ 'boxOrdinalGroup',
26
+ 'columnCount',
27
+ 'columns',
28
+ 'flex',
29
+ 'flexGrow',
30
+ 'flexPositive',
31
+ 'flexShrink',
32
+ 'flexNegative',
33
+ 'flexOrder',
34
+ 'gridArea',
35
+ 'gridRow',
36
+ 'gridRowEnd',
37
+ 'gridRowSpan',
38
+ 'gridRowStart',
39
+ 'gridColumn',
40
+ 'gridColumnEnd',
41
+ 'gridColumnSpan',
42
+ 'gridColumnStart',
43
+ 'fontWeight',
44
+ 'lineClamp',
45
+ 'lineHeight',
46
+ 'opacity',
47
+ 'order',
48
+ 'orphans',
49
+ 'scale',
50
+ 'tabSize',
51
+ 'widows',
52
+ 'zIndex',
53
+ 'zoom',
54
+ 'fillOpacity',
55
+ 'floodOpacity',
56
+ 'stopOpacity',
57
+ 'strokeDasharray',
58
+ 'strokeDashoffset',
59
+ 'strokeMiterlimit',
60
+ 'strokeOpacity',
61
+ 'strokeWidth',
62
+ 'MozAnimationIterationCount',
63
+ 'MozBoxFlex',
64
+ 'MozBoxFlexGroup',
65
+ 'MozLineClamp',
66
+ 'msAnimationIterationCount',
67
+ 'msFlex',
68
+ 'msZoom',
69
+ 'msFlexGrow',
70
+ 'msFlexNegative',
71
+ 'msFlexOrder',
72
+ 'msFlexPositive',
73
+ 'msFlexShrink',
74
+ 'msGridColumn',
75
+ 'msGridColumnSpan',
76
+ 'msGridRow',
77
+ 'msGridRowSpan',
78
+ 'WebkitAnimationIterationCount',
79
+ 'WebkitBoxFlex',
80
+ 'WebKitBoxFlexGroup',
81
+ 'WebkitBoxOrdinalGroup',
82
+ 'WebkitColumnCount',
83
+ 'WebkitColumns',
84
+ 'WebkitFlex',
85
+ 'WebkitFlexGrow',
86
+ 'WebkitFlexPositive',
87
+ 'WebkitFlexShrink',
88
+ 'WebkitLineClamp',
89
+ ]);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -41,6 +41,7 @@ declare class OptionsManager {
41
41
  private addGuard;
42
42
  execGuards(): void;
43
43
  private resetOption;
44
+ private isCollectionOption;
44
45
  private setValue;
45
46
  }
46
47
  export { OptionsManager, };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -201,7 +201,16 @@ class OptionsManager {
201
201
  .forEach((handler) => handler());
202
202
  }
203
203
  resetOption(name) {
204
- this.instance.resetOption(name);
204
+ if (this.isCollectionOption(name)) {
205
+ this.setValue(name, []);
206
+ }
207
+ else {
208
+ this.instance.resetOption(name);
209
+ }
210
+ }
211
+ isCollectionOption(name) {
212
+ const valueDescriptor = (0, tree_1.findValue)(this.currentConfig, name.split('.'));
213
+ return valueDescriptor?.type === tree_1.ValueType.Array;
205
214
  }
206
215
  setValue(name, value) {
207
216
  if (this.guards[name]) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -68,6 +68,7 @@ const subscribeOnRemoval = (container, onRemoved) => {
68
68
  const unwrapElement = (element) => (element.get ? element.get(0) : element);
69
69
  const getRandomId = () => `${(0, helpers_1.generateID)()}${(0, helpers_1.generateID)()}${(0, helpers_1.generateID)()}`;
70
70
  const TemplateManager = ({ init, onTemplatesRendered }) => {
71
+ const mounted = (0, react_1.useRef)(false);
71
72
  const [instantiationModels, setInstantiationModels] = (0, react_1.useState)({
72
73
  collection: new helpers_1.TemplateInstantiationModels(),
73
74
  });
@@ -135,10 +136,18 @@ const TemplateManager = ({ init, onTemplatesRendered }) => {
135
136
  setInstantiationModels({ ...instantiationModels });
136
137
  }
137
138
  function updateTemplates(onUpdated) {
138
- setUpdateContext({ onUpdated });
139
+ if (mounted.current) {
140
+ setUpdateContext({ onUpdated });
141
+ }
139
142
  }
140
143
  init({ createDXTemplates, clearInstantiationModels, updateTemplates });
141
144
  }, [init, getRenderFunc]);
145
+ (0, react_1.useEffect)(() => {
146
+ mounted.current = true;
147
+ return () => {
148
+ mounted.current = false;
149
+ };
150
+ }, []);
142
151
  (0, react_1.useEffect)(() => {
143
152
  if (updateContext) {
144
153
  updateContext.onUpdated();
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/cjs/core/types.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.2-beta
4
- * Build date: Wed May 14 2025
3
+ * Version: 25.1.3
4
+ * Build date: Wed Jun 25 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *