devextreme-react 22.1.2-beta → 22.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 (365) hide show
  1. package/accordion.d.ts +6 -6
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +6 -6
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +36 -36
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +50 -48
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +6 -6
  10. package/box.js +2 -2
  11. package/bullet.d.ts +18 -18
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +6 -6
  14. package/button-group.js +3 -3
  15. package/button.d.ts +4 -4
  16. package/button.js +2 -2
  17. package/calendar.d.ts +4 -4
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +186 -184
  20. package/chart.js +6 -6
  21. package/check-box.d.ts +5 -4
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +49 -48
  24. package/circular-gauge.js +2 -2
  25. package/color-box.d.ts +34 -34
  26. package/color-box.js +2 -2
  27. package/context-menu.d.ts +34 -34
  28. package/context-menu.js +4 -4
  29. package/core/component-base.d.ts +2 -2
  30. package/core/component-base.js +6 -6
  31. package/core/component.d.ts +2 -2
  32. package/core/component.js +2 -2
  33. package/core/config.d.ts +2 -2
  34. package/core/config.js +2 -2
  35. package/core/configuration/comparer.d.ts +2 -2
  36. package/core/configuration/comparer.js +2 -2
  37. package/core/configuration/config-node.d.ts +2 -2
  38. package/core/configuration/config-node.js +2 -2
  39. package/core/configuration/react/element.d.ts +2 -2
  40. package/core/configuration/react/element.js +2 -2
  41. package/core/configuration/react/templates.d.ts +2 -2
  42. package/core/configuration/react/templates.js +2 -2
  43. package/core/configuration/react/tree.d.ts +2 -2
  44. package/core/configuration/react/tree.js +2 -2
  45. package/core/configuration/tree.d.ts +2 -2
  46. package/core/configuration/tree.js +2 -2
  47. package/core/configuration/utils.d.ts +2 -2
  48. package/core/configuration/utils.js +2 -2
  49. package/core/dx-template.d.ts +2 -2
  50. package/core/dx-template.js +8 -4
  51. package/core/extension-component.d.ts +2 -2
  52. package/core/extension-component.js +2 -2
  53. package/core/helpers.d.ts +2 -2
  54. package/core/helpers.js +2 -2
  55. package/core/nested-option.d.ts +2 -2
  56. package/core/nested-option.js +2 -2
  57. package/core/options-manager.d.ts +2 -2
  58. package/core/options-manager.js +2 -2
  59. package/core/template-wrapper.d.ts +3 -3
  60. package/core/template-wrapper.js +3 -3
  61. package/core/template.d.ts +2 -2
  62. package/core/template.js +2 -2
  63. package/core/templates-manager.d.ts +2 -2
  64. package/core/templates-manager.js +2 -2
  65. package/core/templates-renderer.d.ts +2 -2
  66. package/core/templates-renderer.js +2 -2
  67. package/core/templates-store.d.ts +4 -3
  68. package/core/templates-store.js +21 -6
  69. package/core/widget-config.d.ts +2 -2
  70. package/core/widget-config.js +2 -2
  71. package/data-grid.d.ts +166 -164
  72. package/data-grid.js +2 -2
  73. package/date-box.d.ts +39 -38
  74. package/date-box.js +2 -2
  75. package/defer-rendering.d.ts +22 -22
  76. package/defer-rendering.js +2 -2
  77. package/diagram.d.ts +56 -56
  78. package/diagram.js +2 -2
  79. package/draggable.d.ts +6 -6
  80. package/draggable.js +2 -2
  81. package/drawer.d.ts +4 -4
  82. package/drawer.js +2 -2
  83. package/drop-down-box.d.ts +34 -34
  84. package/drop-down-box.js +2 -2
  85. package/drop-down-button.d.ts +32 -32
  86. package/drop-down-button.js +2 -2
  87. package/file-manager.d.ts +27 -28
  88. package/file-manager.js +4 -4
  89. package/file-uploader.d.ts +5 -4
  90. package/file-uploader.js +2 -2
  91. package/filter-builder.d.ts +17 -16
  92. package/filter-builder.js +2 -2
  93. package/form.d.ts +48 -48
  94. package/form.js +2 -2
  95. package/funnel.d.ts +59 -58
  96. package/funnel.js +4 -4
  97. package/gallery.d.ts +6 -6
  98. package/gallery.js +2 -2
  99. package/gantt.d.ts +51 -50
  100. package/gantt.js +2 -2
  101. package/html-editor.d.ts +28 -28
  102. package/html-editor.js +2 -2
  103. package/index.d.ts +2 -2
  104. package/index.js +2 -2
  105. package/linear-gauge.d.ts +51 -50
  106. package/linear-gauge.js +2 -2
  107. package/list.d.ts +18 -18
  108. package/list.js +5 -5
  109. package/load-indicator.d.ts +4 -4
  110. package/load-indicator.js +2 -2
  111. package/load-panel.d.ts +27 -26
  112. package/load-panel.js +2 -2
  113. package/lookup.d.ts +36 -36
  114. package/lookup.js +2 -2
  115. package/map.d.ts +17 -16
  116. package/map.js +2 -2
  117. package/menu.d.ts +34 -34
  118. package/menu.js +4 -4
  119. package/multi-view.d.ts +6 -6
  120. package/multi-view.js +2 -2
  121. package/nav-bar.d.ts +6 -6
  122. package/nav-bar.js +4 -4
  123. package/number-box.d.ts +11 -10
  124. package/number-box.js +2 -2
  125. package/package.json +3 -3
  126. package/pie-chart.d.ts +74 -72
  127. package/pie-chart.js +4 -4
  128. package/pivot-grid-field-chooser.d.ts +12 -12
  129. package/pivot-grid-field-chooser.js +2 -2
  130. package/pivot-grid.d.ts +28 -28
  131. package/pivot-grid.js +2 -2
  132. package/polar-chart.d.ts +144 -142
  133. package/polar-chart.js +6 -6
  134. package/popover.d.ts +32 -32
  135. package/popover.js +2 -2
  136. package/popup.d.ts +28 -28
  137. package/popup.js +2 -2
  138. package/progress-bar.d.ts +5 -4
  139. package/progress-bar.js +2 -2
  140. package/radio-group.d.ts +6 -6
  141. package/radio-group.js +2 -2
  142. package/range-selector.d.ts +125 -122
  143. package/range-selector.js +2 -2
  144. package/range-slider.d.ts +12 -10
  145. package/range-slider.js +2 -2
  146. package/recurrence-editor.d.ts +5 -4
  147. package/recurrence-editor.js +2 -2
  148. package/resizable.d.ts +5 -4
  149. package/resizable.js +2 -2
  150. package/responsive-box.d.ts +12 -12
  151. package/responsive-box.js +2 -2
  152. package/sankey.d.ts +43 -42
  153. package/sankey.js +2 -2
  154. package/scheduler.d.ts +15 -14
  155. package/scheduler.js +9 -3
  156. package/scroll-view.d.ts +4 -4
  157. package/scroll-view.js +2 -2
  158. package/select-box.d.ts +36 -36
  159. package/select-box.js +2 -2
  160. package/slide-out-view.d.ts +4 -4
  161. package/slide-out-view.js +2 -2
  162. package/slide-out.d.ts +6 -6
  163. package/slide-out.js +2 -2
  164. package/slider.d.ts +12 -10
  165. package/slider.js +2 -2
  166. package/sortable.d.ts +6 -6
  167. package/sortable.js +2 -2
  168. package/sparkline.d.ts +18 -18
  169. package/sparkline.js +5 -3
  170. package/speed-dial-action.d.ts +4 -4
  171. package/speed-dial-action.js +2 -2
  172. package/switch.d.ts +5 -4
  173. package/switch.js +2 -2
  174. package/tab-panel.d.ts +6 -6
  175. package/tab-panel.js +2 -2
  176. package/tabs.d.ts +6 -6
  177. package/tabs.js +4 -4
  178. package/tag-box.d.ts +36 -36
  179. package/tag-box.js +2 -2
  180. package/text-area.d.ts +5 -4
  181. package/text-area.js +2 -2
  182. package/text-box.d.ts +8 -8
  183. package/text-box.js +2 -2
  184. package/tile-view.d.ts +6 -6
  185. package/tile-view.js +8 -3
  186. package/toast.d.ts +26 -26
  187. package/toast.js +2 -2
  188. package/toolbar.d.ts +6 -6
  189. package/toolbar.js +2 -2
  190. package/tooltip.d.ts +30 -30
  191. package/tooltip.js +2 -2
  192. package/tree-list.d.ts +141 -140
  193. package/tree-list.js +2 -2
  194. package/tree-map.d.ts +47 -46
  195. package/tree-map.js +4 -4
  196. package/tree-view.d.ts +12 -12
  197. package/tree-view.js +4 -4
  198. package/ui/accordion.d.ts +2 -2
  199. package/ui/accordion.js +2 -2
  200. package/ui/action-sheet.d.ts +2 -2
  201. package/ui/action-sheet.js +2 -2
  202. package/ui/autocomplete.d.ts +2 -2
  203. package/ui/autocomplete.js +2 -2
  204. package/ui/bar-gauge.d.ts +2 -2
  205. package/ui/bar-gauge.js +2 -2
  206. package/ui/box.d.ts +2 -2
  207. package/ui/box.js +2 -2
  208. package/ui/bullet.d.ts +2 -2
  209. package/ui/bullet.js +2 -2
  210. package/ui/button-group.d.ts +2 -2
  211. package/ui/button-group.js +2 -2
  212. package/ui/button.d.ts +2 -2
  213. package/ui/button.js +2 -2
  214. package/ui/calendar.d.ts +2 -2
  215. package/ui/calendar.js +2 -2
  216. package/ui/chart.d.ts +2 -2
  217. package/ui/chart.js +2 -2
  218. package/ui/check-box.d.ts +2 -2
  219. package/ui/check-box.js +2 -2
  220. package/ui/circular-gauge.d.ts +2 -2
  221. package/ui/circular-gauge.js +2 -2
  222. package/ui/color-box.d.ts +2 -2
  223. package/ui/color-box.js +2 -2
  224. package/ui/context-menu.d.ts +2 -2
  225. package/ui/context-menu.js +2 -2
  226. package/ui/data-grid.d.ts +2 -2
  227. package/ui/data-grid.js +2 -2
  228. package/ui/date-box.d.ts +2 -2
  229. package/ui/date-box.js +2 -2
  230. package/ui/defer-rendering.d.ts +2 -2
  231. package/ui/defer-rendering.js +2 -2
  232. package/ui/diagram.d.ts +2 -2
  233. package/ui/diagram.js +2 -2
  234. package/ui/draggable.d.ts +2 -2
  235. package/ui/draggable.js +2 -2
  236. package/ui/drawer.d.ts +2 -2
  237. package/ui/drawer.js +2 -2
  238. package/ui/drop-down-box.d.ts +2 -2
  239. package/ui/drop-down-box.js +2 -2
  240. package/ui/drop-down-button.d.ts +2 -2
  241. package/ui/drop-down-button.js +2 -2
  242. package/ui/file-manager.d.ts +2 -2
  243. package/ui/file-manager.js +2 -2
  244. package/ui/file-uploader.d.ts +2 -2
  245. package/ui/file-uploader.js +2 -2
  246. package/ui/filter-builder.d.ts +2 -2
  247. package/ui/filter-builder.js +2 -2
  248. package/ui/form.d.ts +2 -2
  249. package/ui/form.js +2 -2
  250. package/ui/funnel.d.ts +2 -2
  251. package/ui/funnel.js +2 -2
  252. package/ui/gallery.d.ts +2 -2
  253. package/ui/gallery.js +2 -2
  254. package/ui/gantt.d.ts +2 -2
  255. package/ui/gantt.js +2 -2
  256. package/ui/html-editor.d.ts +2 -2
  257. package/ui/html-editor.js +2 -2
  258. package/ui/linear-gauge.d.ts +2 -2
  259. package/ui/linear-gauge.js +2 -2
  260. package/ui/list.d.ts +2 -2
  261. package/ui/list.js +2 -2
  262. package/ui/load-indicator.d.ts +2 -2
  263. package/ui/load-indicator.js +2 -2
  264. package/ui/load-panel.d.ts +2 -2
  265. package/ui/load-panel.js +2 -2
  266. package/ui/lookup.d.ts +2 -2
  267. package/ui/lookup.js +2 -2
  268. package/ui/map.d.ts +2 -2
  269. package/ui/map.js +2 -2
  270. package/ui/menu.d.ts +2 -2
  271. package/ui/menu.js +2 -2
  272. package/ui/multi-view.d.ts +2 -2
  273. package/ui/multi-view.js +2 -2
  274. package/ui/nav-bar.d.ts +2 -2
  275. package/ui/nav-bar.js +2 -2
  276. package/ui/number-box.d.ts +2 -2
  277. package/ui/number-box.js +2 -2
  278. package/ui/pie-chart.d.ts +2 -2
  279. package/ui/pie-chart.js +2 -2
  280. package/ui/pivot-grid-field-chooser.d.ts +2 -2
  281. package/ui/pivot-grid-field-chooser.js +2 -2
  282. package/ui/pivot-grid.d.ts +2 -2
  283. package/ui/pivot-grid.js +2 -2
  284. package/ui/polar-chart.d.ts +2 -2
  285. package/ui/polar-chart.js +2 -2
  286. package/ui/popover.d.ts +2 -2
  287. package/ui/popover.js +2 -2
  288. package/ui/popup.d.ts +2 -2
  289. package/ui/popup.js +2 -2
  290. package/ui/progress-bar.d.ts +2 -2
  291. package/ui/progress-bar.js +2 -2
  292. package/ui/radio-group.d.ts +2 -2
  293. package/ui/radio-group.js +2 -2
  294. package/ui/range-selector.d.ts +2 -2
  295. package/ui/range-selector.js +2 -2
  296. package/ui/range-slider.d.ts +2 -2
  297. package/ui/range-slider.js +2 -2
  298. package/ui/recurrence-editor.d.ts +2 -2
  299. package/ui/recurrence-editor.js +2 -2
  300. package/ui/resizable.d.ts +2 -2
  301. package/ui/resizable.js +2 -2
  302. package/ui/responsive-box.d.ts +2 -2
  303. package/ui/responsive-box.js +2 -2
  304. package/ui/sankey.d.ts +2 -2
  305. package/ui/sankey.js +2 -2
  306. package/ui/scheduler.d.ts +2 -2
  307. package/ui/scheduler.js +2 -2
  308. package/ui/scroll-view.d.ts +2 -2
  309. package/ui/scroll-view.js +2 -2
  310. package/ui/select-box.d.ts +2 -2
  311. package/ui/select-box.js +2 -2
  312. package/ui/slide-out-view.d.ts +2 -2
  313. package/ui/slide-out-view.js +2 -2
  314. package/ui/slide-out.d.ts +2 -2
  315. package/ui/slide-out.js +2 -2
  316. package/ui/slider.d.ts +2 -2
  317. package/ui/slider.js +2 -2
  318. package/ui/sortable.d.ts +2 -2
  319. package/ui/sortable.js +2 -2
  320. package/ui/sparkline.d.ts +2 -2
  321. package/ui/sparkline.js +2 -2
  322. package/ui/speed-dial-action.d.ts +2 -2
  323. package/ui/speed-dial-action.js +2 -2
  324. package/ui/switch.d.ts +2 -2
  325. package/ui/switch.js +2 -2
  326. package/ui/tab-panel.d.ts +2 -2
  327. package/ui/tab-panel.js +2 -2
  328. package/ui/tabs.d.ts +2 -2
  329. package/ui/tabs.js +2 -2
  330. package/ui/tag-box.d.ts +2 -2
  331. package/ui/tag-box.js +2 -2
  332. package/ui/text-area.d.ts +2 -2
  333. package/ui/text-area.js +2 -2
  334. package/ui/text-box.d.ts +2 -2
  335. package/ui/text-box.js +2 -2
  336. package/ui/tile-view.d.ts +2 -2
  337. package/ui/tile-view.js +2 -2
  338. package/ui/toast.d.ts +2 -2
  339. package/ui/toast.js +2 -2
  340. package/ui/toolbar.d.ts +2 -2
  341. package/ui/toolbar.js +2 -2
  342. package/ui/tooltip.d.ts +2 -2
  343. package/ui/tooltip.js +2 -2
  344. package/ui/tree-list.d.ts +2 -2
  345. package/ui/tree-list.js +2 -2
  346. package/ui/tree-map.d.ts +2 -2
  347. package/ui/tree-map.js +2 -2
  348. package/ui/tree-view.d.ts +2 -2
  349. package/ui/tree-view.js +2 -2
  350. package/ui/validation-group.d.ts +2 -2
  351. package/ui/validation-group.js +2 -2
  352. package/ui/validation-summary.d.ts +2 -2
  353. package/ui/validation-summary.js +2 -2
  354. package/ui/validator.d.ts +2 -2
  355. package/ui/validator.js +2 -2
  356. package/ui/vector-map.d.ts +2 -2
  357. package/ui/vector-map.js +2 -2
  358. package/validation-group.d.ts +4 -4
  359. package/validation-group.js +2 -2
  360. package/validation-summary.d.ts +6 -6
  361. package/validation-summary.js +2 -2
  362. package/validator.d.ts +25 -24
  363. package/validator.js +2 -2
  364. package/vector-map.d.ts +59 -58
  365. package/vector-map.js +2 -2
package/accordion.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/accordion";
16
16
  import dxAccordion, { Properties } from "devextreme/ui/accordion";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- interface IAccordionOptions<TItem = any, TKey = any> extends Properties<TItem, TKey>, IHtmlOptions {
19
+ declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
20
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
21
  itemRender?: (...params: any) => React.ReactNode;
22
22
  itemComponent?: React.ComponentType<any>;
@@ -34,7 +34,7 @@ interface IAccordionOptions<TItem = any, TKey = any> extends Properties<TItem, T
34
34
  onSelectedItemChange?: (value: any) => void;
35
35
  onSelectedItemKeysChange?: (value: any) => void;
36
36
  onSelectedItemsChange?: (value: any) => void;
37
- }
37
+ }>;
38
38
  declare class Accordion<TItem = any, TKey = any> extends BaseComponent<IAccordionOptions<TItem, TKey>> {
39
39
  get instance(): dxAccordion<TItem, TKey>;
40
40
  protected _WidgetClass: typeof dxAccordion;
@@ -60,7 +60,7 @@ declare class Accordion<TItem = any, TKey = any> extends BaseComponent<IAccordio
60
60
  keyFn: string;
61
61
  }[];
62
62
  }
63
- interface IItemProps {
63
+ declare type IItemProps = React.PropsWithChildren<{
64
64
  disabled?: any;
65
65
  html?: any;
66
66
  icon?: any;
@@ -71,7 +71,7 @@ interface IItemProps {
71
71
  render?: (...params: any) => React.ReactNode;
72
72
  component?: React.ComponentType<any>;
73
73
  keyFn?: (data: any) => string;
74
- }
74
+ }>;
75
75
  declare class Item extends NestedOption<IItemProps> {
76
76
  static OptionName: string;
77
77
  static IsCollectionItem: boolean;
package/accordion.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/action-sheet.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/action_sheet";
16
16
  import dxActionSheet, { Properties } from "devextreme/ui/action_sheet";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- interface IActionSheetOptions<TItem = any, TKey = any> extends Properties<TItem, TKey>, IHtmlOptions {
19
+ declare type IActionSheetOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
20
20
  dataSource?: Properties<TItem, TKey>["dataSource"];
21
21
  itemRender?: (...params: any) => React.ReactNode;
22
22
  itemComponent?: React.ComponentType<any>;
@@ -25,7 +25,7 @@ interface IActionSheetOptions<TItem = any, TKey = any> extends Properties<TItem,
25
25
  defaultVisible?: any;
26
26
  onItemsChange?: (value: any) => void;
27
27
  onVisibleChange?: (value: any) => void;
28
- }
28
+ }>;
29
29
  declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<IActionSheetOptions<TItem, TKey>> {
30
30
  get instance(): dxActionSheet<TItem, TKey>;
31
31
  protected _WidgetClass: typeof dxActionSheet;
@@ -48,7 +48,7 @@ declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<IAction
48
48
  keyFn: string;
49
49
  }[];
50
50
  }
51
- interface IItemProps {
51
+ declare type IItemProps = React.PropsWithChildren<{
52
52
  disabled?: any;
53
53
  html?: any;
54
54
  icon?: any;
@@ -61,7 +61,7 @@ interface IItemProps {
61
61
  render?: (...params: any) => React.ReactNode;
62
62
  component?: React.ComponentType<any>;
63
63
  keyFn?: (data: any) => string;
64
- }
64
+ }>;
65
65
  declare class Item extends NestedOption<IItemProps> {
66
66
  static OptionName: string;
67
67
  static IsCollectionItem: boolean;
package/action-sheet.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/autocomplete.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,7 +15,7 @@
15
15
  import dxAutocomplete, { Properties } from "devextreme/ui/autocomplete";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IAutocompleteOptions extends Properties, IHtmlOptions {
18
+ declare type IAutocompleteOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  dropDownButtonRender?: (...params: any) => React.ReactNode;
20
20
  dropDownButtonComponent?: React.ComponentType<any>;
21
21
  dropDownButtonKeyFn?: (data: any) => string;
@@ -29,7 +29,7 @@ interface IAutocompleteOptions extends Properties, IHtmlOptions {
29
29
  defaultValue?: any;
30
30
  onOpenedChange?: (value: any) => void;
31
31
  onValueChange?: (value: any) => void;
32
- }
32
+ }>;
33
33
  declare class Autocomplete extends BaseComponent<IAutocompleteOptions> {
34
34
  get instance(): dxAutocomplete;
35
35
  protected _WidgetClass: typeof dxAutocomplete;
@@ -60,10 +60,10 @@ declare class Autocomplete extends BaseComponent<IAutocompleteOptions> {
60
60
  keyFn: string;
61
61
  }[];
62
62
  }
63
- interface IAnimationProps {
63
+ declare type IAnimationProps = React.PropsWithChildren<{
64
64
  hide?: any;
65
65
  show?: any;
66
- }
66
+ }>;
67
67
  declare class Animation extends NestedOption<IAnimationProps> {
68
68
  static OptionName: string;
69
69
  static ExpectedChildren: {
@@ -77,25 +77,25 @@ declare class Animation extends NestedOption<IAnimationProps> {
77
77
  };
78
78
  };
79
79
  }
80
- interface IAtProps {
80
+ declare type IAtProps = React.PropsWithChildren<{
81
81
  x?: any;
82
82
  y?: any;
83
- }
83
+ }>;
84
84
  declare class At extends NestedOption<IAtProps> {
85
85
  static OptionName: string;
86
86
  }
87
- interface IBoundaryOffsetProps {
87
+ declare type IBoundaryOffsetProps = React.PropsWithChildren<{
88
88
  x?: any;
89
89
  y?: any;
90
- }
90
+ }>;
91
91
  declare class BoundaryOffset extends NestedOption<IBoundaryOffsetProps> {
92
92
  static OptionName: string;
93
93
  }
94
- interface IButtonProps {
94
+ declare type IButtonProps = React.PropsWithChildren<{
95
95
  location?: any;
96
96
  name?: any;
97
97
  options?: any;
98
- }
98
+ }>;
99
99
  declare class Button extends NestedOption<IButtonProps> {
100
100
  static OptionName: string;
101
101
  static IsCollectionItem: boolean;
@@ -106,14 +106,14 @@ declare class Button extends NestedOption<IButtonProps> {
106
106
  };
107
107
  };
108
108
  }
109
- interface ICollisionProps {
109
+ declare type ICollisionProps = React.PropsWithChildren<{
110
110
  x?: any;
111
111
  y?: any;
112
- }
112
+ }>;
113
113
  declare class Collision extends NestedOption<ICollisionProps> {
114
114
  static OptionName: string;
115
115
  }
116
- interface IDropDownOptionsProps {
116
+ declare type IDropDownOptionsProps = React.PropsWithChildren<{
117
117
  accessKey?: any;
118
118
  activeStateEnabled?: any;
119
119
  animation?: object | {
@@ -195,7 +195,7 @@ interface IDropDownOptionsProps {
195
195
  titleRender?: (...params: any) => React.ReactNode;
196
196
  titleComponent?: React.ComponentType<any>;
197
197
  titleKeyFn?: (data: any) => string;
198
- }
198
+ }>;
199
199
  declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
200
200
  static OptionName: string;
201
201
  static DefaultsProps: {
@@ -225,13 +225,13 @@ declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
225
225
  keyFn: string;
226
226
  }[];
227
227
  }
228
- interface IFromProps {
228
+ declare type IFromProps = React.PropsWithChildren<{
229
229
  left?: any;
230
230
  opacity?: any;
231
231
  position?: any;
232
232
  scale?: any;
233
233
  top?: any;
234
- }
234
+ }>;
235
235
  declare class From extends NestedOption<IFromProps> {
236
236
  static OptionName: string;
237
237
  static ExpectedChildren: {
@@ -241,7 +241,7 @@ declare class From extends NestedOption<IFromProps> {
241
241
  };
242
242
  };
243
243
  }
244
- interface IHideProps {
244
+ declare type IHideProps = React.PropsWithChildren<{
245
245
  complete?: any;
246
246
  delay?: any;
247
247
  direction?: any;
@@ -252,7 +252,7 @@ interface IHideProps {
252
252
  start?: any;
253
253
  to?: any;
254
254
  type?: any;
255
- }
255
+ }>;
256
256
  declare class Hide extends NestedOption<IHideProps> {
257
257
  static OptionName: string;
258
258
  static ExpectedChildren: {
@@ -266,7 +266,7 @@ declare class Hide extends NestedOption<IHideProps> {
266
266
  };
267
267
  };
268
268
  }
269
- interface IItemProps {
269
+ declare type IItemProps = React.PropsWithChildren<{
270
270
  disabled?: any;
271
271
  html?: any;
272
272
  template?: any;
@@ -275,7 +275,7 @@ interface IItemProps {
275
275
  render?: (...params: any) => React.ReactNode;
276
276
  component?: React.ComponentType<any>;
277
277
  keyFn?: (data: any) => string;
278
- }
278
+ }>;
279
279
  declare class Item extends NestedOption<IItemProps> {
280
280
  static OptionName: string;
281
281
  static IsCollectionItem: boolean;
@@ -286,21 +286,21 @@ declare class Item extends NestedOption<IItemProps> {
286
286
  keyFn: string;
287
287
  }[];
288
288
  }
289
- interface IMyProps {
289
+ declare type IMyProps = React.PropsWithChildren<{
290
290
  x?: any;
291
291
  y?: any;
292
- }
292
+ }>;
293
293
  declare class My extends NestedOption<IMyProps> {
294
294
  static OptionName: string;
295
295
  }
296
- interface IOffsetProps {
296
+ declare type IOffsetProps = React.PropsWithChildren<{
297
297
  x?: any;
298
298
  y?: any;
299
- }
299
+ }>;
300
300
  declare class Offset extends NestedOption<IOffsetProps> {
301
301
  static OptionName: string;
302
302
  }
303
- interface IOptionsProps {
303
+ declare type IOptionsProps = React.PropsWithChildren<{
304
304
  accessKey?: any;
305
305
  activeStateEnabled?: any;
306
306
  bindingOptions?: any;
@@ -331,7 +331,7 @@ interface IOptionsProps {
331
331
  render?: (...params: any) => React.ReactNode;
332
332
  component?: React.ComponentType<any>;
333
333
  keyFn?: (data: any) => string;
334
- }
334
+ }>;
335
335
  declare class Options extends NestedOption<IOptionsProps> {
336
336
  static OptionName: string;
337
337
  static TemplateProps: {
@@ -341,7 +341,7 @@ declare class Options extends NestedOption<IOptionsProps> {
341
341
  keyFn: string;
342
342
  }[];
343
343
  }
344
- interface IPositionProps {
344
+ declare type IPositionProps = React.PropsWithChildren<{
345
345
  at?: object | string | {
346
346
  x?: any;
347
347
  y?: any;
@@ -364,11 +364,11 @@ interface IPositionProps {
364
364
  x?: any;
365
365
  y?: any;
366
366
  };
367
- }
367
+ }>;
368
368
  declare class Position extends NestedOption<IPositionProps> {
369
369
  static OptionName: string;
370
370
  }
371
- interface IShowProps {
371
+ declare type IShowProps = React.PropsWithChildren<{
372
372
  complete?: any;
373
373
  delay?: any;
374
374
  direction?: any;
@@ -379,21 +379,21 @@ interface IShowProps {
379
379
  start?: any;
380
380
  to?: any;
381
381
  type?: any;
382
- }
382
+ }>;
383
383
  declare class Show extends NestedOption<IShowProps> {
384
384
  static OptionName: string;
385
385
  }
386
- interface IToProps {
386
+ declare type IToProps = React.PropsWithChildren<{
387
387
  left?: any;
388
388
  opacity?: any;
389
389
  position?: any;
390
390
  scale?: any;
391
391
  top?: any;
392
- }
392
+ }>;
393
393
  declare class To extends NestedOption<IToProps> {
394
394
  static OptionName: string;
395
395
  }
396
- interface IToolbarItemProps {
396
+ declare type IToolbarItemProps = React.PropsWithChildren<{
397
397
  disabled?: any;
398
398
  html?: any;
399
399
  location?: any;
@@ -406,7 +406,7 @@ interface IToolbarItemProps {
406
406
  render?: (...params: any) => React.ReactNode;
407
407
  component?: React.ComponentType<any>;
408
408
  keyFn?: (data: any) => string;
409
- }
409
+ }>;
410
410
  declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
411
411
  static OptionName: string;
412
412
  static IsCollectionItem: boolean;
package/autocomplete.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/bar-gauge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.2-beta
4
- * Build date: Tue May 17 2022
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,12 +15,12 @@
15
15
  import dxBarGauge, { Properties } from "devextreme/viz/bar_gauge";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IBarGaugeOptions extends Properties, IHtmlOptions {
18
+ declare type IBarGaugeOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  defaultLoadingIndicator?: any;
20
20
  defaultValues?: any;
21
21
  onLoadingIndicatorChange?: (value: any) => void;
22
22
  onValuesChange?: (value: any) => void;
23
- }
23
+ }>;
24
24
  declare class BarGauge extends BaseComponent<IBarGaugeOptions> {
25
25
  get instance(): dxBarGauge;
26
26
  protected _WidgetClass: typeof dxBarGauge;
@@ -77,15 +77,15 @@ declare class BarGauge extends BaseComponent<IBarGaugeOptions> {
77
77
  };
78
78
  };
79
79
  }
80
- interface IAnimationProps {
80
+ declare type IAnimationProps = React.PropsWithChildren<{
81
81
  duration?: any;
82
82
  easing?: any;
83
83
  enabled?: any;
84
- }
84
+ }>;
85
85
  declare class Animation extends NestedOption<IAnimationProps> {
86
86
  static OptionName: string;
87
87
  }
88
- interface IBarGaugeTitleProps {
88
+ declare type IBarGaugeTitleProps = React.PropsWithChildren<{
89
89
  font?: any;
90
90
  horizontalAlignment?: any;
91
91
  margin?: number | object | {
@@ -106,7 +106,7 @@ interface IBarGaugeTitleProps {
106
106
  textOverflow?: any;
107
107
  verticalAlignment?: any;
108
108
  wordWrap?: any;
109
- }
109
+ }>;
110
110
  declare class BarGaugeTitle extends NestedOption<IBarGaugeTitleProps> {
111
111
  static OptionName: string;
112
112
  static ExpectedChildren: {
@@ -128,13 +128,13 @@ declare class BarGaugeTitle extends NestedOption<IBarGaugeTitleProps> {
128
128
  };
129
129
  };
130
130
  }
131
- interface IBarGaugeTitleSubtitleProps {
131
+ declare type IBarGaugeTitleSubtitleProps = React.PropsWithChildren<{
132
132
  font?: any;
133
133
  offset?: any;
134
134
  text?: any;
135
135
  textOverflow?: any;
136
136
  wordWrap?: any;
137
- }
137
+ }>;
138
138
  declare class BarGaugeTitleSubtitle extends NestedOption<IBarGaugeTitleSubtitleProps> {
139
139
  static OptionName: string;
140
140
  static ExpectedChildren: {
@@ -144,18 +144,18 @@ declare class BarGaugeTitleSubtitle extends NestedOption<IBarGaugeTitleSubtitleP
144
144
  };
145
145
  };
146
146
  }
147
- interface IBorderProps {
147
+ declare type IBorderProps = React.PropsWithChildren<{
148
148
  color?: any;
149
149
  cornerRadius?: any;
150
150
  dashStyle?: any;
151
151
  opacity?: any;
152
152
  visible?: any;
153
153
  width?: any;
154
- }
154
+ }>;
155
155
  declare class Border extends NestedOption<IBorderProps> {
156
156
  static OptionName: string;
157
157
  }
158
- interface IExportProps {
158
+ declare type IExportProps = React.PropsWithChildren<{
159
159
  backgroundColor?: any;
160
160
  enabled?: any;
161
161
  fileName?: any;
@@ -164,48 +164,50 @@ interface IExportProps {
164
164
  printingEnabled?: any;
165
165
  proxyUrl?: any;
166
166
  svgToCanvas?: any;
167
- }
167
+ }>;
168
168
  declare class Export extends NestedOption<IExportProps> {
169
169
  static OptionName: string;
170
170
  }
171
- interface IFontProps {
171
+ declare type IFontProps = React.PropsWithChildren<{
172
172
  color?: any;
173
173
  family?: any;
174
174
  opacity?: any;
175
175
  size?: any;
176
176
  weight?: any;
177
- }
177
+ }>;
178
178
  declare class Font extends NestedOption<IFontProps> {
179
179
  static OptionName: string;
180
180
  }
181
- interface IFormatProps {
181
+ declare type IFormatProps = React.PropsWithChildren<{
182
182
  currency?: any;
183
183
  formatter?: any;
184
184
  parser?: any;
185
185
  precision?: any;
186
186
  type?: any;
187
- }
187
+ useCurrencyAccountingStyle?: any;
188
+ }>;
188
189
  declare class Format extends NestedOption<IFormatProps> {
189
190
  static OptionName: string;
190
191
  }
191
- interface IGeometryProps {
192
+ declare type IGeometryProps = React.PropsWithChildren<{
192
193
  endAngle?: any;
193
194
  startAngle?: any;
194
- }
195
+ }>;
195
196
  declare class Geometry extends NestedOption<IGeometryProps> {
196
197
  static OptionName: string;
197
198
  }
198
- interface IItemTextFormatProps {
199
+ declare type IItemTextFormatProps = React.PropsWithChildren<{
199
200
  currency?: any;
200
201
  formatter?: any;
201
202
  parser?: any;
202
203
  precision?: any;
203
204
  type?: any;
204
- }
205
+ useCurrencyAccountingStyle?: any;
206
+ }>;
205
207
  declare class ItemTextFormat extends NestedOption<IItemTextFormatProps> {
206
208
  static OptionName: string;
207
209
  }
208
- interface ILabelProps {
210
+ declare type ILabelProps = React.PropsWithChildren<{
209
211
  connectorColor?: any;
210
212
  connectorWidth?: any;
211
213
  customizeText?: any;
@@ -213,7 +215,7 @@ interface ILabelProps {
213
215
  format?: any;
214
216
  indent?: any;
215
217
  visible?: any;
216
- }
218
+ }>;
217
219
  declare class Label extends NestedOption<ILabelProps> {
218
220
  static OptionName: string;
219
221
  static ExpectedChildren: {
@@ -227,7 +229,7 @@ declare class Label extends NestedOption<ILabelProps> {
227
229
  };
228
230
  };
229
231
  }
230
- interface ILegendProps {
232
+ declare type ILegendProps = React.PropsWithChildren<{
231
233
  backgroundColor?: any;
232
234
  border?: object | {
233
235
  color?: any;
@@ -283,7 +285,7 @@ interface ILegendProps {
283
285
  markerRender?: (...params: any) => React.ReactNode;
284
286
  markerComponent?: React.ComponentType<any>;
285
287
  markerKeyFn?: (data: any) => string;
286
- }
288
+ }>;
287
289
  declare class Legend extends NestedOption<ILegendProps> {
288
290
  static OptionName: string;
289
291
  static ExpectedChildren: {
@@ -323,18 +325,18 @@ declare class Legend extends NestedOption<ILegendProps> {
323
325
  keyFn: string;
324
326
  }[];
325
327
  }
326
- interface ILegendBorderProps {
328
+ declare type ILegendBorderProps = React.PropsWithChildren<{
327
329
  color?: any;
328
330
  cornerRadius?: any;
329
331
  dashStyle?: any;
330
332
  opacity?: any;
331
333
  visible?: any;
332
334
  width?: any;
333
- }
335
+ }>;
334
336
  declare class LegendBorder extends NestedOption<ILegendBorderProps> {
335
337
  static OptionName: string;
336
338
  }
337
- interface ILegendTitleProps {
339
+ declare type ILegendTitleProps = React.PropsWithChildren<{
338
340
  font?: any;
339
341
  horizontalAlignment?: any;
340
342
  margin?: object | {
@@ -351,7 +353,7 @@ interface ILegendTitleProps {
351
353
  };
352
354
  text?: any;
353
355
  verticalAlignment?: any;
354
- }
356
+ }>;
355
357
  declare class LegendTitle extends NestedOption<ILegendTitleProps> {
356
358
  static OptionName: string;
357
359
  static ExpectedChildren: {
@@ -373,11 +375,11 @@ declare class LegendTitle extends NestedOption<ILegendTitleProps> {
373
375
  };
374
376
  };
375
377
  }
376
- interface ILegendTitleSubtitleProps {
378
+ declare type ILegendTitleSubtitleProps = React.PropsWithChildren<{
377
379
  font?: any;
378
380
  offset?: any;
379
381
  text?: any;
380
- }
382
+ }>;
381
383
  declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps> {
382
384
  static OptionName: string;
383
385
  static ExpectedChildren: {
@@ -387,7 +389,7 @@ declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps
387
389
  };
388
390
  };
389
391
  }
390
- interface ILoadingIndicatorProps {
392
+ declare type ILoadingIndicatorProps = React.PropsWithChildren<{
391
393
  backgroundColor?: any;
392
394
  enabled?: any;
393
395
  font?: any;
@@ -395,7 +397,7 @@ interface ILoadingIndicatorProps {
395
397
  text?: any;
396
398
  defaultShow?: any;
397
399
  onShowChange?: (value: any) => void;
398
- }
400
+ }>;
399
401
  declare class LoadingIndicator extends NestedOption<ILoadingIndicatorProps> {
400
402
  static OptionName: string;
401
403
  static DefaultsProps: {
@@ -408,43 +410,43 @@ declare class LoadingIndicator extends NestedOption<ILoadingIndicatorProps> {
408
410
  };
409
411
  };
410
412
  }
411
- interface IMarginProps {
413
+ declare type IMarginProps = React.PropsWithChildren<{
412
414
  bottom?: any;
413
415
  left?: any;
414
416
  right?: any;
415
417
  top?: any;
416
- }
418
+ }>;
417
419
  declare class Margin extends NestedOption<IMarginProps> {
418
420
  static OptionName: string;
419
421
  }
420
- interface IShadowProps {
422
+ declare type IShadowProps = React.PropsWithChildren<{
421
423
  blur?: any;
422
424
  color?: any;
423
425
  offsetX?: any;
424
426
  offsetY?: any;
425
427
  opacity?: any;
426
- }
428
+ }>;
427
429
  declare class Shadow extends NestedOption<IShadowProps> {
428
430
  static OptionName: string;
429
431
  }
430
- interface ISizeProps {
432
+ declare type ISizeProps = React.PropsWithChildren<{
431
433
  height?: any;
432
434
  width?: any;
433
- }
435
+ }>;
434
436
  declare class Size extends NestedOption<ISizeProps> {
435
437
  static OptionName: string;
436
438
  }
437
- interface ISubtitleProps {
439
+ declare type ISubtitleProps = React.PropsWithChildren<{
438
440
  font?: any;
439
441
  offset?: any;
440
442
  text?: any;
441
443
  textOverflow?: any;
442
444
  wordWrap?: any;
443
- }
445
+ }>;
444
446
  declare class Subtitle extends NestedOption<ISubtitleProps> {
445
447
  static OptionName: string;
446
448
  }
447
- interface ITitleProps {
449
+ declare type ITitleProps = React.PropsWithChildren<{
448
450
  font?: any;
449
451
  horizontalAlignment?: any;
450
452
  margin?: object | {
@@ -463,11 +465,11 @@ interface ITitleProps {
463
465
  verticalAlignment?: any;
464
466
  textOverflow?: any;
465
467
  wordWrap?: any;
466
- }
468
+ }>;
467
469
  declare class Title extends NestedOption<ITitleProps> {
468
470
  static OptionName: string;
469
471
  }
470
- interface ITooltipProps {
472
+ declare type ITooltipProps = React.PropsWithChildren<{
471
473
  arrowLength?: any;
472
474
  border?: object | {
473
475
  color?: any;
@@ -499,7 +501,7 @@ interface ITooltipProps {
499
501
  contentRender?: (...params: any) => React.ReactNode;
500
502
  contentComponent?: React.ComponentType<any>;
501
503
  contentKeyFn?: (data: any) => string;
502
- }
504
+ }>;
503
505
  declare class Tooltip extends NestedOption<ITooltipProps> {
504
506
  static OptionName: string;
505
507
  static ExpectedChildren: {
@@ -531,13 +533,13 @@ declare class Tooltip extends NestedOption<ITooltipProps> {
531
533
  keyFn: string;
532
534
  }[];
533
535
  }
534
- interface ITooltipBorderProps {
536
+ declare type ITooltipBorderProps = React.PropsWithChildren<{
535
537
  color?: any;
536
538
  dashStyle?: any;
537
539
  opacity?: any;
538
540
  visible?: any;
539
541
  width?: any;
540
- }
542
+ }>;
541
543
  declare class TooltipBorder extends NestedOption<ITooltipBorderProps> {
542
544
  static OptionName: string;
543
545
  }