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/load-panel.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
  *
@@ -11,15 +11,16 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
+ /// <reference types="react" />
14
15
  import dxLoadPanel, { Properties } from "devextreme/ui/load_panel";
15
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
16
17
  import NestedOption from "./core/nested-option";
17
- interface ILoadPanelOptions extends Properties, IHtmlOptions {
18
+ declare type ILoadPanelOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
18
19
  defaultPosition?: any;
19
20
  defaultVisible?: any;
20
21
  onPositionChange?: (value: any) => void;
21
22
  onVisibleChange?: (value: any) => void;
22
- }
23
+ }>;
23
24
  declare class LoadPanel extends BaseComponent<ILoadPanelOptions> {
24
25
  get instance(): dxLoadPanel;
25
26
  protected _WidgetClass: typeof dxLoadPanel;
@@ -41,10 +42,10 @@ declare class LoadPanel extends BaseComponent<ILoadPanelOptions> {
41
42
  };
42
43
  };
43
44
  }
44
- interface IAnimationProps {
45
+ declare type IAnimationProps = React.PropsWithChildren<{
45
46
  hide?: any;
46
47
  show?: any;
47
- }
48
+ }>;
48
49
  declare class Animation extends NestedOption<IAnimationProps> {
49
50
  static OptionName: string;
50
51
  static ExpectedChildren: {
@@ -58,34 +59,34 @@ declare class Animation extends NestedOption<IAnimationProps> {
58
59
  };
59
60
  };
60
61
  }
61
- interface IAtProps {
62
+ declare type IAtProps = React.PropsWithChildren<{
62
63
  x?: any;
63
64
  y?: any;
64
- }
65
+ }>;
65
66
  declare class At extends NestedOption<IAtProps> {
66
67
  static OptionName: string;
67
68
  }
68
- interface IBoundaryOffsetProps {
69
+ declare type IBoundaryOffsetProps = React.PropsWithChildren<{
69
70
  x?: any;
70
71
  y?: any;
71
- }
72
+ }>;
72
73
  declare class BoundaryOffset extends NestedOption<IBoundaryOffsetProps> {
73
74
  static OptionName: string;
74
75
  }
75
- interface ICollisionProps {
76
+ declare type ICollisionProps = React.PropsWithChildren<{
76
77
  x?: any;
77
78
  y?: any;
78
- }
79
+ }>;
79
80
  declare class Collision extends NestedOption<ICollisionProps> {
80
81
  static OptionName: string;
81
82
  }
82
- interface IFromProps {
83
+ declare type IFromProps = React.PropsWithChildren<{
83
84
  left?: any;
84
85
  opacity?: any;
85
86
  position?: any;
86
87
  scale?: any;
87
88
  top?: any;
88
- }
89
+ }>;
89
90
  declare class From extends NestedOption<IFromProps> {
90
91
  static OptionName: string;
91
92
  static ExpectedChildren: {
@@ -95,7 +96,7 @@ declare class From extends NestedOption<IFromProps> {
95
96
  };
96
97
  };
97
98
  }
98
- interface IHideProps {
99
+ declare type IHideProps = React.PropsWithChildren<{
99
100
  complete?: any;
100
101
  delay?: any;
101
102
  direction?: any;
@@ -106,7 +107,7 @@ interface IHideProps {
106
107
  start?: any;
107
108
  to?: any;
108
109
  type?: any;
109
- }
110
+ }>;
110
111
  declare class Hide extends NestedOption<IHideProps> {
111
112
  static OptionName: string;
112
113
  static ExpectedChildren: {
@@ -120,21 +121,21 @@ declare class Hide extends NestedOption<IHideProps> {
120
121
  };
121
122
  };
122
123
  }
123
- interface IMyProps {
124
+ declare type IMyProps = React.PropsWithChildren<{
124
125
  x?: any;
125
126
  y?: any;
126
- }
127
+ }>;
127
128
  declare class My extends NestedOption<IMyProps> {
128
129
  static OptionName: string;
129
130
  }
130
- interface IOffsetProps {
131
+ declare type IOffsetProps = React.PropsWithChildren<{
131
132
  x?: any;
132
133
  y?: any;
133
- }
134
+ }>;
134
135
  declare class Offset extends NestedOption<IOffsetProps> {
135
136
  static OptionName: string;
136
137
  }
137
- interface IPositionProps {
138
+ declare type IPositionProps = React.PropsWithChildren<{
138
139
  at?: object | string | {
139
140
  x?: any;
140
141
  y?: any;
@@ -157,11 +158,11 @@ interface IPositionProps {
157
158
  x?: any;
158
159
  y?: any;
159
160
  };
160
- }
161
+ }>;
161
162
  declare class Position extends NestedOption<IPositionProps> {
162
163
  static OptionName: string;
163
164
  }
164
- interface IShowProps {
165
+ declare type IShowProps = React.PropsWithChildren<{
165
166
  complete?: any;
166
167
  delay?: any;
167
168
  direction?: any;
@@ -172,17 +173,17 @@ interface IShowProps {
172
173
  start?: any;
173
174
  to?: any;
174
175
  type?: any;
175
- }
176
+ }>;
176
177
  declare class Show extends NestedOption<IShowProps> {
177
178
  static OptionName: string;
178
179
  }
179
- interface IToProps {
180
+ declare type IToProps = React.PropsWithChildren<{
180
181
  left?: any;
181
182
  opacity?: any;
182
183
  position?: any;
183
184
  scale?: any;
184
185
  top?: any;
185
- }
186
+ }>;
186
187
  declare class To extends NestedOption<IToProps> {
187
188
  static OptionName: string;
188
189
  }
package/load-panel.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/lookup.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 dxLookup, { Properties } from "devextreme/ui/lookup";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface ILookupOptions extends Properties, IHtmlOptions {
18
+ declare type ILookupOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  fieldRender?: (...params: any) => React.ReactNode;
20
20
  fieldComponent?: React.ComponentType<any>;
21
21
  fieldKeyFn?: (data: any) => string;
@@ -29,7 +29,7 @@ interface ILookupOptions 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 Lookup extends BaseComponent<ILookupOptions> {
34
34
  get instance(): dxLookup;
35
35
  protected _WidgetClass: typeof dxLookup;
@@ -56,10 +56,10 @@ declare class Lookup extends BaseComponent<ILookupOptions> {
56
56
  keyFn: string;
57
57
  }[];
58
58
  }
59
- interface IAnimationProps {
59
+ declare type IAnimationProps = React.PropsWithChildren<{
60
60
  hide?: any;
61
61
  show?: any;
62
- }
62
+ }>;
63
63
  declare class Animation extends NestedOption<IAnimationProps> {
64
64
  static OptionName: string;
65
65
  static ExpectedChildren: {
@@ -73,28 +73,28 @@ declare class Animation extends NestedOption<IAnimationProps> {
73
73
  };
74
74
  };
75
75
  }
76
- interface IAtProps {
76
+ declare type IAtProps = React.PropsWithChildren<{
77
77
  x?: any;
78
78
  y?: any;
79
- }
79
+ }>;
80
80
  declare class At extends NestedOption<IAtProps> {
81
81
  static OptionName: string;
82
82
  }
83
- interface IBoundaryOffsetProps {
83
+ declare type IBoundaryOffsetProps = React.PropsWithChildren<{
84
84
  x?: any;
85
85
  y?: any;
86
- }
86
+ }>;
87
87
  declare class BoundaryOffset extends NestedOption<IBoundaryOffsetProps> {
88
88
  static OptionName: string;
89
89
  }
90
- interface ICollisionProps {
90
+ declare type ICollisionProps = React.PropsWithChildren<{
91
91
  x?: any;
92
92
  y?: any;
93
- }
93
+ }>;
94
94
  declare class Collision extends NestedOption<ICollisionProps> {
95
95
  static OptionName: string;
96
96
  }
97
- interface IDropDownOptionsProps {
97
+ declare type IDropDownOptionsProps = React.PropsWithChildren<{
98
98
  accessKey?: any;
99
99
  activeStateEnabled?: any;
100
100
  animation?: object | {
@@ -185,7 +185,7 @@ interface IDropDownOptionsProps {
185
185
  titleRender?: (...params: any) => React.ReactNode;
186
186
  titleComponent?: React.ComponentType<any>;
187
187
  titleKeyFn?: (data: any) => string;
188
- }
188
+ }>;
189
189
  declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
190
190
  static OptionName: string;
191
191
  static DefaultsProps: {
@@ -223,13 +223,13 @@ declare class DropDownOptions extends NestedOption<IDropDownOptionsProps> {
223
223
  keyFn: string;
224
224
  }[];
225
225
  }
226
- interface IFromProps {
226
+ declare type IFromProps = React.PropsWithChildren<{
227
227
  left?: any;
228
228
  opacity?: any;
229
229
  position?: any;
230
230
  scale?: any;
231
231
  top?: any;
232
- }
232
+ }>;
233
233
  declare class From extends NestedOption<IFromProps> {
234
234
  static OptionName: string;
235
235
  static ExpectedChildren: {
@@ -239,7 +239,7 @@ declare class From extends NestedOption<IFromProps> {
239
239
  };
240
240
  };
241
241
  }
242
- interface IHideProps {
242
+ declare type IHideProps = React.PropsWithChildren<{
243
243
  complete?: any;
244
244
  delay?: any;
245
245
  direction?: any;
@@ -250,7 +250,7 @@ interface IHideProps {
250
250
  start?: any;
251
251
  to?: any;
252
252
  type?: any;
253
- }
253
+ }>;
254
254
  declare class Hide extends NestedOption<IHideProps> {
255
255
  static OptionName: string;
256
256
  static ExpectedChildren: {
@@ -264,14 +264,14 @@ declare class Hide extends NestedOption<IHideProps> {
264
264
  };
265
265
  };
266
266
  }
267
- interface IHideEventProps {
267
+ declare type IHideEventProps = React.PropsWithChildren<{
268
268
  delay?: any;
269
269
  name?: any;
270
- }
270
+ }>;
271
271
  declare class HideEvent extends NestedOption<IHideEventProps> {
272
272
  static OptionName: string;
273
273
  }
274
- interface IItemProps {
274
+ declare type IItemProps = React.PropsWithChildren<{
275
275
  disabled?: any;
276
276
  html?: any;
277
277
  template?: any;
@@ -280,7 +280,7 @@ interface IItemProps {
280
280
  render?: (...params: any) => React.ReactNode;
281
281
  component?: React.ComponentType<any>;
282
282
  keyFn?: (data: any) => string;
283
- }
283
+ }>;
284
284
  declare class Item extends NestedOption<IItemProps> {
285
285
  static OptionName: string;
286
286
  static IsCollectionItem: boolean;
@@ -291,21 +291,21 @@ declare class Item extends NestedOption<IItemProps> {
291
291
  keyFn: string;
292
292
  }[];
293
293
  }
294
- interface IMyProps {
294
+ declare type IMyProps = React.PropsWithChildren<{
295
295
  x?: any;
296
296
  y?: any;
297
- }
297
+ }>;
298
298
  declare class My extends NestedOption<IMyProps> {
299
299
  static OptionName: string;
300
300
  }
301
- interface IOffsetProps {
301
+ declare type IOffsetProps = React.PropsWithChildren<{
302
302
  x?: any;
303
303
  y?: any;
304
- }
304
+ }>;
305
305
  declare class Offset extends NestedOption<IOffsetProps> {
306
306
  static OptionName: string;
307
307
  }
308
- interface IPositionProps {
308
+ declare type IPositionProps = React.PropsWithChildren<{
309
309
  at?: object | string | {
310
310
  x?: any;
311
311
  y?: any;
@@ -328,11 +328,11 @@ interface IPositionProps {
328
328
  x?: any;
329
329
  y?: any;
330
330
  };
331
- }
331
+ }>;
332
332
  declare class Position extends NestedOption<IPositionProps> {
333
333
  static OptionName: string;
334
334
  }
335
- interface IShowProps {
335
+ declare type IShowProps = React.PropsWithChildren<{
336
336
  complete?: any;
337
337
  delay?: any;
338
338
  direction?: any;
@@ -343,28 +343,28 @@ interface IShowProps {
343
343
  start?: any;
344
344
  to?: any;
345
345
  type?: any;
346
- }
346
+ }>;
347
347
  declare class Show extends NestedOption<IShowProps> {
348
348
  static OptionName: string;
349
349
  }
350
- interface IShowEventProps {
350
+ declare type IShowEventProps = React.PropsWithChildren<{
351
351
  delay?: any;
352
352
  name?: any;
353
- }
353
+ }>;
354
354
  declare class ShowEvent extends NestedOption<IShowEventProps> {
355
355
  static OptionName: string;
356
356
  }
357
- interface IToProps {
357
+ declare type IToProps = React.PropsWithChildren<{
358
358
  left?: any;
359
359
  opacity?: any;
360
360
  position?: any;
361
361
  scale?: any;
362
362
  top?: any;
363
- }
363
+ }>;
364
364
  declare class To extends NestedOption<IToProps> {
365
365
  static OptionName: string;
366
366
  }
367
- interface IToolbarItemProps {
367
+ declare type IToolbarItemProps = React.PropsWithChildren<{
368
368
  disabled?: any;
369
369
  html?: any;
370
370
  location?: any;
@@ -377,7 +377,7 @@ interface IToolbarItemProps {
377
377
  render?: (...params: any) => React.ReactNode;
378
378
  component?: React.ComponentType<any>;
379
379
  keyFn?: (data: any) => string;
380
- }
380
+ }>;
381
381
  declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
382
382
  static OptionName: string;
383
383
  static IsCollectionItem: boolean;
package/lookup.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/map.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
  *
@@ -11,10 +11,11 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
+ /// <reference types="react" />
14
15
  import dxMap, { Properties } from "devextreme/ui/map";
15
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
16
17
  import NestedOption from "./core/nested-option";
17
- interface IMapOptions extends Properties, IHtmlOptions {
18
+ declare type IMapOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
18
19
  defaultCenter?: any;
19
20
  defaultMarkers?: any;
20
21
  defaultRoutes?: any;
@@ -23,7 +24,7 @@ interface IMapOptions extends Properties, IHtmlOptions {
23
24
  onMarkersChange?: (value: any) => void;
24
25
  onRoutesChange?: (value: any) => void;
25
26
  onZoomChange?: (value: any) => void;
26
- }
27
+ }>;
27
28
  declare class Map extends BaseComponent<IMapOptions> {
28
29
  get instance(): dxMap;
29
30
  protected _WidgetClass: typeof dxMap;
@@ -54,29 +55,29 @@ declare class Map extends BaseComponent<IMapOptions> {
54
55
  };
55
56
  };
56
57
  }
57
- interface IApiKeyProps {
58
+ declare type IApiKeyProps = React.PropsWithChildren<{
58
59
  bing?: any;
59
60
  google?: any;
60
61
  googleStatic?: any;
61
- }
62
+ }>;
62
63
  declare class ApiKey extends NestedOption<IApiKeyProps> {
63
64
  static OptionName: string;
64
65
  }
65
- interface ICenterProps {
66
+ declare type ICenterProps = React.PropsWithChildren<{
66
67
  lat?: any;
67
68
  lng?: any;
68
- }
69
+ }>;
69
70
  declare class Center extends NestedOption<ICenterProps> {
70
71
  static OptionName: string;
71
72
  }
72
- interface ILocationProps {
73
+ declare type ILocationProps = React.PropsWithChildren<{
73
74
  lat?: any;
74
75
  lng?: any;
75
- }
76
+ }>;
76
77
  declare class Location extends NestedOption<ILocationProps> {
77
78
  static OptionName: string;
78
79
  }
79
- interface IMarkerProps {
80
+ declare type IMarkerProps = React.PropsWithChildren<{
80
81
  iconSrc?: any;
81
82
  location?: object | string | {
82
83
  lat?: any;
@@ -87,7 +88,7 @@ interface IMarkerProps {
87
88
  isShown?: any;
88
89
  text?: any;
89
90
  };
90
- }
91
+ }>;
91
92
  declare class Marker extends NestedOption<IMarkerProps> {
92
93
  static OptionName: string;
93
94
  static IsCollectionItem: boolean;
@@ -102,7 +103,7 @@ declare class Marker extends NestedOption<IMarkerProps> {
102
103
  };
103
104
  };
104
105
  }
105
- interface IRouteProps {
106
+ declare type IRouteProps = React.PropsWithChildren<{
106
107
  color?: any;
107
108
  locations?: {
108
109
  lat?: any;
@@ -111,7 +112,7 @@ interface IRouteProps {
111
112
  mode?: any;
112
113
  opacity?: any;
113
114
  weight?: any;
114
- }
115
+ }>;
115
116
  declare class Route extends NestedOption<IRouteProps> {
116
117
  static OptionName: string;
117
118
  static IsCollectionItem: boolean;
@@ -122,10 +123,10 @@ declare class Route extends NestedOption<IRouteProps> {
122
123
  };
123
124
  };
124
125
  }
125
- interface ITooltipProps {
126
+ declare type ITooltipProps = React.PropsWithChildren<{
126
127
  isShown?: any;
127
128
  text?: any;
128
- }
129
+ }>;
129
130
  declare class Tooltip extends NestedOption<ITooltipProps> {
130
131
  static OptionName: string;
131
132
  }
package/map.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
  *