devextreme-react 22.1.1-alpha-21335-0845 → 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 +9 -9
  2. package/accordion.js +6 -4
  3. package/action-sheet.d.ts +9 -9
  4. package/action-sheet.js +6 -4
  5. package/autocomplete.d.ts +38 -37
  6. package/autocomplete.js +6 -4
  7. package/bar-gauge.d.ts +51 -49
  8. package/bar-gauge.js +6 -4
  9. package/box.d.ts +9 -9
  10. package/box.js +6 -4
  11. package/bullet.d.ts +19 -19
  12. package/bullet.js +6 -4
  13. package/button-group.d.ts +7 -7
  14. package/button-group.js +7 -5
  15. package/button.d.ts +5 -5
  16. package/button.js +6 -4
  17. package/calendar.d.ts +5 -5
  18. package/calendar.js +6 -4
  19. package/chart.d.ts +194 -185
  20. package/chart.js +12 -9
  21. package/check-box.d.ts +6 -5
  22. package/check-box.js +6 -4
  23. package/circular-gauge.d.ts +50 -49
  24. package/circular-gauge.js +6 -4
  25. package/color-box.d.ts +36 -35
  26. package/color-box.js +6 -4
  27. package/context-menu.d.ts +37 -37
  28. package/context-menu.js +12 -6
  29. package/core/component-base.d.ts +4 -3
  30. package/core/component-base.js +14 -4
  31. package/core/component.d.ts +3 -3
  32. package/core/component.js +6 -4
  33. package/core/config.d.ts +3 -3
  34. package/core/config.js +3 -3
  35. package/core/configuration/comparer.d.ts +3 -3
  36. package/core/configuration/comparer.js +3 -3
  37. package/core/configuration/config-node.d.ts +3 -3
  38. package/core/configuration/config-node.js +3 -3
  39. package/core/configuration/react/element.d.ts +3 -3
  40. package/core/configuration/react/element.js +3 -3
  41. package/core/configuration/react/templates.d.ts +3 -3
  42. package/core/configuration/react/templates.js +3 -3
  43. package/core/configuration/react/tree.d.ts +3 -3
  44. package/core/configuration/react/tree.js +3 -3
  45. package/core/configuration/tree.d.ts +3 -3
  46. package/core/configuration/tree.js +3 -3
  47. package/core/configuration/utils.d.ts +3 -3
  48. package/core/configuration/utils.js +7 -5
  49. package/core/dx-template.d.ts +3 -3
  50. package/core/dx-template.js +9 -5
  51. package/core/extension-component.d.ts +3 -3
  52. package/core/extension-component.js +6 -4
  53. package/core/helpers.d.ts +3 -3
  54. package/core/helpers.js +3 -3
  55. package/core/nested-option.d.ts +3 -3
  56. package/core/nested-option.js +6 -4
  57. package/core/options-manager.d.ts +3 -3
  58. package/core/options-manager.js +4 -4
  59. package/core/template-wrapper.d.ts +4 -4
  60. package/core/template-wrapper.js +7 -5
  61. package/core/template.d.ts +3 -3
  62. package/core/template.js +6 -4
  63. package/core/templates-manager.d.ts +3 -3
  64. package/core/templates-manager.js +3 -3
  65. package/core/templates-renderer.d.ts +3 -3
  66. package/core/templates-renderer.js +6 -4
  67. package/core/templates-store.d.ts +5 -4
  68. package/core/templates-store.js +22 -7
  69. package/core/widget-config.d.ts +3 -3
  70. package/core/widget-config.js +3 -3
  71. package/data-grid.d.ts +173 -168
  72. package/data-grid.js +9 -5
  73. package/date-box.d.ts +41 -39
  74. package/date-box.js +6 -4
  75. package/defer-rendering.d.ts +23 -23
  76. package/defer-rendering.js +6 -4
  77. package/diagram.d.ts +90 -57
  78. package/diagram.js +22 -4
  79. package/draggable.d.ts +7 -7
  80. package/draggable.js +6 -4
  81. package/drawer.d.ts +5 -5
  82. package/drawer.js +6 -4
  83. package/drop-down-box.d.ts +36 -35
  84. package/drop-down-box.js +6 -4
  85. package/drop-down-button.d.ts +34 -33
  86. package/drop-down-button.js +6 -4
  87. package/file-manager.d.ts +28 -29
  88. package/file-manager.js +8 -6
  89. package/file-uploader.d.ts +6 -5
  90. package/file-uploader.js +6 -4
  91. package/filter-builder.d.ts +18 -17
  92. package/filter-builder.js +6 -4
  93. package/form.d.ts +49 -49
  94. package/form.js +6 -4
  95. package/funnel.d.ts +60 -59
  96. package/funnel.js +8 -6
  97. package/gallery.d.ts +9 -9
  98. package/gallery.js +6 -4
  99. package/gantt.d.ts +56 -359
  100. package/gantt.js +11 -207
  101. package/html-editor.d.ts +134 -24
  102. package/html-editor.js +44 -5
  103. package/index.d.ts +3 -3
  104. package/index.js +5 -3
  105. package/linear-gauge.d.ts +52 -51
  106. package/linear-gauge.js +6 -4
  107. package/list.d.ts +21 -21
  108. package/list.js +9 -7
  109. package/load-indicator.d.ts +5 -5
  110. package/load-indicator.js +6 -4
  111. package/load-panel.d.ts +28 -27
  112. package/load-panel.js +10 -4
  113. package/lookup.d.ts +38 -37
  114. package/lookup.js +7 -4
  115. package/map.d.ts +18 -17
  116. package/map.js +6 -4
  117. package/menu.d.ts +37 -37
  118. package/menu.js +8 -6
  119. package/multi-view.d.ts +9 -9
  120. package/multi-view.js +6 -4
  121. package/nav-bar.d.ts +9 -9
  122. package/nav-bar.js +8 -6
  123. package/number-box.d.ts +12 -11
  124. package/number-box.js +6 -4
  125. package/package.json +8 -7
  126. package/pie-chart.d.ts +78 -73
  127. package/pie-chart.js +8 -6
  128. package/pivot-grid-field-chooser.d.ts +13 -13
  129. package/pivot-grid-field-chooser.js +6 -4
  130. package/pivot-grid.d.ts +29 -29
  131. package/pivot-grid.js +6 -4
  132. package/polar-chart.d.ts +149 -143
  133. package/polar-chart.js +12 -9
  134. package/popover.d.ts +33 -33
  135. package/popover.js +10 -4
  136. package/popup.d.ts +29 -29
  137. package/popup.js +10 -4
  138. package/progress-bar.d.ts +6 -5
  139. package/progress-bar.js +6 -8
  140. package/radio-group.d.ts +7 -7
  141. package/radio-group.js +6 -4
  142. package/range-selector.d.ts +131 -123
  143. package/range-selector.js +8 -5
  144. package/range-slider.d.ts +13 -11
  145. package/range-slider.js +6 -4
  146. package/recurrence-editor.d.ts +6 -5
  147. package/recurrence-editor.js +6 -4
  148. package/resizable.d.ts +6 -5
  149. package/resizable.js +7 -4
  150. package/responsive-box.d.ts +15 -15
  151. package/responsive-box.js +6 -4
  152. package/sankey.d.ts +44 -43
  153. package/sankey.js +6 -4
  154. package/scheduler.d.ts +16 -15
  155. package/scheduler.js +13 -5
  156. package/scroll-view.d.ts +5 -5
  157. package/scroll-view.js +6 -4
  158. package/select-box.d.ts +38 -37
  159. package/select-box.js +6 -4
  160. package/slide-out-view.d.ts +5 -5
  161. package/slide-out-view.js +6 -4
  162. package/slide-out.d.ts +9 -9
  163. package/slide-out.js +6 -4
  164. package/slider.d.ts +13 -11
  165. package/slider.js +6 -4
  166. package/sortable.d.ts +7 -7
  167. package/sortable.js +6 -4
  168. package/sparkline.d.ts +19 -19
  169. package/sparkline.js +9 -5
  170. package/speed-dial-action.d.ts +5 -5
  171. package/speed-dial-action.js +6 -4
  172. package/switch.d.ts +6 -5
  173. package/switch.js +6 -4
  174. package/tab-panel.d.ts +9 -9
  175. package/tab-panel.js +6 -4
  176. package/tabs.d.ts +9 -9
  177. package/tabs.js +8 -6
  178. package/tag-box.d.ts +38 -37
  179. package/tag-box.js +6 -4
  180. package/text-area.d.ts +6 -5
  181. package/text-area.js +6 -4
  182. package/text-box.d.ts +9 -9
  183. package/text-box.js +6 -4
  184. package/tile-view.d.ts +9 -9
  185. package/tile-view.js +12 -5
  186. package/toast.d.ts +27 -27
  187. package/toast.js +10 -4
  188. package/toolbar.d.ts +9 -9
  189. package/toolbar.js +6 -4
  190. package/tooltip.d.ts +31 -31
  191. package/tooltip.js +10 -4
  192. package/tree-list.d.ts +146 -144
  193. package/tree-list.js +8 -5
  194. package/tree-map.d.ts +48 -47
  195. package/tree-map.js +8 -6
  196. package/tree-view.d.ts +15 -15
  197. package/tree-view.js +8 -6
  198. package/ui/accordion.d.ts +3 -3
  199. package/ui/accordion.js +5 -4
  200. package/ui/action-sheet.d.ts +3 -3
  201. package/ui/action-sheet.js +5 -4
  202. package/ui/autocomplete.d.ts +3 -3
  203. package/ui/autocomplete.js +5 -4
  204. package/ui/bar-gauge.d.ts +3 -3
  205. package/ui/bar-gauge.js +5 -4
  206. package/ui/box.d.ts +3 -3
  207. package/ui/box.js +5 -4
  208. package/ui/bullet.d.ts +3 -3
  209. package/ui/bullet.js +5 -4
  210. package/ui/button-group.d.ts +3 -3
  211. package/ui/button-group.js +5 -4
  212. package/ui/button.d.ts +3 -3
  213. package/ui/button.js +5 -4
  214. package/ui/calendar.d.ts +3 -3
  215. package/ui/calendar.js +5 -4
  216. package/ui/chart.d.ts +3 -3
  217. package/ui/chart.js +5 -4
  218. package/ui/check-box.d.ts +3 -3
  219. package/ui/check-box.js +5 -4
  220. package/ui/circular-gauge.d.ts +3 -3
  221. package/ui/circular-gauge.js +5 -4
  222. package/ui/color-box.d.ts +3 -3
  223. package/ui/color-box.js +5 -4
  224. package/ui/context-menu.d.ts +3 -3
  225. package/ui/context-menu.js +5 -4
  226. package/ui/data-grid.d.ts +3 -3
  227. package/ui/data-grid.js +5 -4
  228. package/ui/date-box.d.ts +3 -3
  229. package/ui/date-box.js +5 -4
  230. package/ui/defer-rendering.d.ts +3 -3
  231. package/ui/defer-rendering.js +5 -4
  232. package/ui/diagram.d.ts +3 -3
  233. package/ui/diagram.js +5 -4
  234. package/ui/draggable.d.ts +3 -3
  235. package/ui/draggable.js +5 -4
  236. package/ui/drawer.d.ts +3 -3
  237. package/ui/drawer.js +5 -4
  238. package/ui/drop-down-box.d.ts +3 -3
  239. package/ui/drop-down-box.js +5 -4
  240. package/ui/drop-down-button.d.ts +3 -3
  241. package/ui/drop-down-button.js +5 -4
  242. package/ui/file-manager.d.ts +3 -3
  243. package/ui/file-manager.js +5 -4
  244. package/ui/file-uploader.d.ts +3 -3
  245. package/ui/file-uploader.js +5 -4
  246. package/ui/filter-builder.d.ts +3 -3
  247. package/ui/filter-builder.js +5 -4
  248. package/ui/form.d.ts +3 -3
  249. package/ui/form.js +5 -4
  250. package/ui/funnel.d.ts +3 -3
  251. package/ui/funnel.js +5 -4
  252. package/ui/gallery.d.ts +3 -3
  253. package/ui/gallery.js +5 -4
  254. package/ui/gantt.d.ts +3 -3
  255. package/ui/gantt.js +5 -4
  256. package/ui/html-editor.d.ts +3 -3
  257. package/ui/html-editor.js +5 -4
  258. package/ui/linear-gauge.d.ts +3 -3
  259. package/ui/linear-gauge.js +5 -4
  260. package/ui/list.d.ts +3 -3
  261. package/ui/list.js +5 -4
  262. package/ui/load-indicator.d.ts +3 -3
  263. package/ui/load-indicator.js +5 -4
  264. package/ui/load-panel.d.ts +3 -3
  265. package/ui/load-panel.js +5 -4
  266. package/ui/lookup.d.ts +3 -3
  267. package/ui/lookup.js +5 -4
  268. package/ui/map.d.ts +3 -3
  269. package/ui/map.js +5 -4
  270. package/ui/menu.d.ts +3 -3
  271. package/ui/menu.js +5 -4
  272. package/ui/multi-view.d.ts +3 -3
  273. package/ui/multi-view.js +5 -4
  274. package/ui/nav-bar.d.ts +3 -3
  275. package/ui/nav-bar.js +5 -4
  276. package/ui/number-box.d.ts +3 -3
  277. package/ui/number-box.js +5 -4
  278. package/ui/pie-chart.d.ts +3 -3
  279. package/ui/pie-chart.js +5 -4
  280. package/ui/pivot-grid-field-chooser.d.ts +3 -3
  281. package/ui/pivot-grid-field-chooser.js +5 -4
  282. package/ui/pivot-grid.d.ts +3 -3
  283. package/ui/pivot-grid.js +5 -4
  284. package/ui/polar-chart.d.ts +3 -3
  285. package/ui/polar-chart.js +5 -4
  286. package/ui/popover.d.ts +3 -3
  287. package/ui/popover.js +5 -4
  288. package/ui/popup.d.ts +3 -3
  289. package/ui/popup.js +5 -4
  290. package/ui/progress-bar.d.ts +3 -3
  291. package/ui/progress-bar.js +5 -4
  292. package/ui/radio-group.d.ts +3 -3
  293. package/ui/radio-group.js +5 -4
  294. package/ui/range-selector.d.ts +3 -3
  295. package/ui/range-selector.js +5 -4
  296. package/ui/range-slider.d.ts +3 -3
  297. package/ui/range-slider.js +5 -4
  298. package/ui/recurrence-editor.d.ts +3 -3
  299. package/ui/recurrence-editor.js +5 -4
  300. package/ui/resizable.d.ts +3 -3
  301. package/ui/resizable.js +5 -4
  302. package/ui/responsive-box.d.ts +3 -3
  303. package/ui/responsive-box.js +5 -4
  304. package/ui/sankey.d.ts +3 -3
  305. package/ui/sankey.js +5 -4
  306. package/ui/scheduler.d.ts +3 -3
  307. package/ui/scheduler.js +5 -4
  308. package/ui/scroll-view.d.ts +3 -3
  309. package/ui/scroll-view.js +5 -4
  310. package/ui/select-box.d.ts +3 -3
  311. package/ui/select-box.js +5 -4
  312. package/ui/slide-out-view.d.ts +3 -3
  313. package/ui/slide-out-view.js +5 -4
  314. package/ui/slide-out.d.ts +3 -3
  315. package/ui/slide-out.js +5 -4
  316. package/ui/slider.d.ts +3 -3
  317. package/ui/slider.js +5 -4
  318. package/ui/sortable.d.ts +3 -3
  319. package/ui/sortable.js +5 -4
  320. package/ui/sparkline.d.ts +3 -3
  321. package/ui/sparkline.js +5 -4
  322. package/ui/speed-dial-action.d.ts +3 -3
  323. package/ui/speed-dial-action.js +5 -4
  324. package/ui/switch.d.ts +3 -3
  325. package/ui/switch.js +5 -4
  326. package/ui/tab-panel.d.ts +3 -3
  327. package/ui/tab-panel.js +5 -4
  328. package/ui/tabs.d.ts +3 -3
  329. package/ui/tabs.js +5 -4
  330. package/ui/tag-box.d.ts +3 -3
  331. package/ui/tag-box.js +5 -4
  332. package/ui/text-area.d.ts +3 -3
  333. package/ui/text-area.js +5 -4
  334. package/ui/text-box.d.ts +3 -3
  335. package/ui/text-box.js +5 -4
  336. package/ui/tile-view.d.ts +3 -3
  337. package/ui/tile-view.js +5 -4
  338. package/ui/toast.d.ts +3 -3
  339. package/ui/toast.js +5 -4
  340. package/ui/toolbar.d.ts +3 -3
  341. package/ui/toolbar.js +5 -4
  342. package/ui/tooltip.d.ts +3 -3
  343. package/ui/tooltip.js +5 -4
  344. package/ui/tree-list.d.ts +3 -3
  345. package/ui/tree-list.js +5 -4
  346. package/ui/tree-map.d.ts +3 -3
  347. package/ui/tree-map.js +5 -4
  348. package/ui/tree-view.d.ts +3 -3
  349. package/ui/tree-view.js +5 -4
  350. package/ui/validation-group.d.ts +3 -3
  351. package/ui/validation-group.js +5 -4
  352. package/ui/validation-summary.d.ts +3 -3
  353. package/ui/validation-summary.js +5 -4
  354. package/ui/validator.d.ts +3 -3
  355. package/ui/validator.js +5 -4
  356. package/ui/vector-map.d.ts +3 -3
  357. package/ui/vector-map.js +5 -4
  358. package/validation-group.d.ts +5 -5
  359. package/validation-group.js +6 -4
  360. package/validation-summary.d.ts +9 -9
  361. package/validation-summary.js +6 -4
  362. package/validator.d.ts +26 -25
  363. package/validator.js +6 -4
  364. package/vector-map.d.ts +60 -59
  365. package/vector-map.js +6 -4
package/accordion.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -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,9 +34,9 @@ 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
- }
38
- declare class Accordion<TItem, TKey> extends BaseComponent<IAccordionOptions<TItem, TKey>> {
39
- get instance(): dxAccordion;
37
+ }>;
38
+ declare class Accordion<TItem = any, TKey = any> extends BaseComponent<IAccordionOptions<TItem, TKey>> {
39
+ get instance(): dxAccordion<TItem, TKey>;
40
40
  protected _WidgetClass: typeof dxAccordion;
41
41
  protected subscribableOptions: string[];
42
42
  protected independentEvents: string[];
@@ -60,7 +60,7 @@ declare class Accordion<TItem, TKey> extends BaseComponent<IAccordionOptions<TIt
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,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
16
16
  var extendStatics = function (d, b) {
17
17
  extendStatics = Object.setPrototypeOf ||
18
18
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
20
  return extendStatics(d, b);
21
21
  };
22
22
  return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
23
25
  extendStatics(d, b);
24
26
  function __() { this.constructor = d; }
25
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
package/action-sheet.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -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,9 +25,9 @@ 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
- }
29
- declare class ActionSheet<TItem, TKey> extends BaseComponent<IActionSheetOptions<TItem, TKey>> {
30
- get instance(): dxActionSheet;
28
+ }>;
29
+ declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<IActionSheetOptions<TItem, TKey>> {
30
+ get instance(): dxActionSheet<TItem, TKey>;
31
31
  protected _WidgetClass: typeof dxActionSheet;
32
32
  protected subscribableOptions: string[];
33
33
  protected independentEvents: string[];
@@ -48,7 +48,7 @@ declare class ActionSheet<TItem, TKey> extends BaseComponent<IActionSheetOptions
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,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
16
16
  var extendStatics = function (d, b) {
17
17
  extendStatics = Object.setPrototypeOf ||
18
18
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
20
  return extendStatics(d, b);
21
21
  };
22
22
  return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
23
25
  extendStatics(d, b);
24
26
  function __() { this.constructor = d; }
25
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
package/autocomplete.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -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 | {
@@ -134,6 +134,7 @@ interface IDropDownOptionsProps {
134
134
  focusStateEnabled?: any;
135
135
  fullScreen?: any;
136
136
  height?: any;
137
+ hideOnOutsideClick?: any;
137
138
  hideOnParentScroll?: any;
138
139
  hint?: any;
139
140
  hoverStateEnabled?: any;
@@ -194,7 +195,7 @@ interface IDropDownOptionsProps {
194
195
  titleRender?: (...params: any) => React.ReactNode;
195
196
  titleComponent?: React.ComponentType<any>;
196
197
  titleKeyFn?: (data: any) => string;
197
- }
198
+ }>;
198
199
  declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
199
200
  static OptionName: string;
200
201
  static DefaultsProps: {
@@ -224,13 +225,13 @@ declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
224
225
  keyFn: string;
225
226
  }[];
226
227
  }
227
- interface IFromProps {
228
+ declare type IFromProps = React.PropsWithChildren<{
228
229
  left?: any;
229
230
  opacity?: any;
230
231
  position?: any;
231
232
  scale?: any;
232
233
  top?: any;
233
- }
234
+ }>;
234
235
  declare class From extends NestedOption<IFromProps> {
235
236
  static OptionName: string;
236
237
  static ExpectedChildren: {
@@ -240,7 +241,7 @@ declare class From extends NestedOption<IFromProps> {
240
241
  };
241
242
  };
242
243
  }
243
- interface IHideProps {
244
+ declare type IHideProps = React.PropsWithChildren<{
244
245
  complete?: any;
245
246
  delay?: any;
246
247
  direction?: any;
@@ -251,7 +252,7 @@ interface IHideProps {
251
252
  start?: any;
252
253
  to?: any;
253
254
  type?: any;
254
- }
255
+ }>;
255
256
  declare class Hide extends NestedOption<IHideProps> {
256
257
  static OptionName: string;
257
258
  static ExpectedChildren: {
@@ -265,7 +266,7 @@ declare class Hide extends NestedOption<IHideProps> {
265
266
  };
266
267
  };
267
268
  }
268
- interface IItemProps {
269
+ declare type IItemProps = React.PropsWithChildren<{
269
270
  disabled?: any;
270
271
  html?: any;
271
272
  template?: any;
@@ -274,7 +275,7 @@ interface IItemProps {
274
275
  render?: (...params: any) => React.ReactNode;
275
276
  component?: React.ComponentType<any>;
276
277
  keyFn?: (data: any) => string;
277
- }
278
+ }>;
278
279
  declare class Item extends NestedOption<IItemProps> {
279
280
  static OptionName: string;
280
281
  static IsCollectionItem: boolean;
@@ -285,21 +286,21 @@ declare class Item extends NestedOption<IItemProps> {
285
286
  keyFn: string;
286
287
  }[];
287
288
  }
288
- interface IMyProps {
289
+ declare type IMyProps = React.PropsWithChildren<{
289
290
  x?: any;
290
291
  y?: any;
291
- }
292
+ }>;
292
293
  declare class My extends NestedOption<IMyProps> {
293
294
  static OptionName: string;
294
295
  }
295
- interface IOffsetProps {
296
+ declare type IOffsetProps = React.PropsWithChildren<{
296
297
  x?: any;
297
298
  y?: any;
298
- }
299
+ }>;
299
300
  declare class Offset extends NestedOption<IOffsetProps> {
300
301
  static OptionName: string;
301
302
  }
302
- interface IOptionsProps {
303
+ declare type IOptionsProps = React.PropsWithChildren<{
303
304
  accessKey?: any;
304
305
  activeStateEnabled?: any;
305
306
  bindingOptions?: any;
@@ -330,7 +331,7 @@ interface IOptionsProps {
330
331
  render?: (...params: any) => React.ReactNode;
331
332
  component?: React.ComponentType<any>;
332
333
  keyFn?: (data: any) => string;
333
- }
334
+ }>;
334
335
  declare class Options extends NestedOption<IOptionsProps> {
335
336
  static OptionName: string;
336
337
  static TemplateProps: {
@@ -340,7 +341,7 @@ declare class Options extends NestedOption<IOptionsProps> {
340
341
  keyFn: string;
341
342
  }[];
342
343
  }
343
- interface IPositionProps {
344
+ declare type IPositionProps = React.PropsWithChildren<{
344
345
  at?: object | string | {
345
346
  x?: any;
346
347
  y?: any;
@@ -363,11 +364,11 @@ interface IPositionProps {
363
364
  x?: any;
364
365
  y?: any;
365
366
  };
366
- }
367
+ }>;
367
368
  declare class Position extends NestedOption<IPositionProps> {
368
369
  static OptionName: string;
369
370
  }
370
- interface IShowProps {
371
+ declare type IShowProps = React.PropsWithChildren<{
371
372
  complete?: any;
372
373
  delay?: any;
373
374
  direction?: any;
@@ -378,21 +379,21 @@ interface IShowProps {
378
379
  start?: any;
379
380
  to?: any;
380
381
  type?: any;
381
- }
382
+ }>;
382
383
  declare class Show extends NestedOption<IShowProps> {
383
384
  static OptionName: string;
384
385
  }
385
- interface IToProps {
386
+ declare type IToProps = React.PropsWithChildren<{
386
387
  left?: any;
387
388
  opacity?: any;
388
389
  position?: any;
389
390
  scale?: any;
390
391
  top?: any;
391
- }
392
+ }>;
392
393
  declare class To extends NestedOption<IToProps> {
393
394
  static OptionName: string;
394
395
  }
395
- interface IToolbarItemProps {
396
+ declare type IToolbarItemProps = React.PropsWithChildren<{
396
397
  disabled?: any;
397
398
  html?: any;
398
399
  location?: any;
@@ -405,7 +406,7 @@ interface IToolbarItemProps {
405
406
  render?: (...params: any) => React.ReactNode;
406
407
  component?: React.ComponentType<any>;
407
408
  keyFn?: (data: any) => string;
408
- }
409
+ }>;
409
410
  declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
410
411
  static OptionName: string;
411
412
  static IsCollectionItem: boolean;
package/autocomplete.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 22.1.1-alpha-21335-0845
4
- * Build date: Wed Dec 01 2021
3
+ * Version: 22.1.3
4
+ * Build date: Mon Jun 13 2022
5
5
  *
6
- * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
8
8
  * This software may be modified and distributed under the terms
9
9
  * of the MIT license. See the LICENSE file in the root of the project for details.
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
16
16
  var extendStatics = function (d, b) {
17
17
  extendStatics = Object.setPrototypeOf ||
18
18
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
20
  return extendStatics(d, b);
21
21
  };
22
22
  return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
23
25
  extendStatics(d, b);
24
26
  function __() { this.constructor = d; }
25
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());