devextreme-react 21.2.6 → 21.2.8

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 +48 -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 +17 -18
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +6 -6
  14. package/button-group.js +2 -2
  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 +187 -184
  20. package/chart.js +2 -2
  21. package/check-box.d.ts +5 -4
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +48 -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 +2 -2
  29. package/core/component-base.d.ts +3 -2
  30. package/core/component-base.js +10 -2
  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 +164 -164
  72. package/data-grid.js +2 -2
  73. package/date-box.d.ts +38 -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 +2 -2
  89. package/file-uploader.d.ts +5 -4
  90. package/file-uploader.js +2 -2
  91. package/filter-builder.d.ts +16 -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 +58 -58
  96. package/funnel.js +2 -2
  97. package/gallery.d.ts +6 -6
  98. package/gallery.js +2 -2
  99. package/gantt.d.ts +76 -76
  100. package/gantt.js +2 -2
  101. package/html-editor.d.ts +22 -22
  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 +50 -50
  106. package/linear-gauge.js +2 -2
  107. package/list.d.ts +18 -18
  108. package/list.js +2 -2
  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 +2 -2
  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 +2 -2
  123. package/number-box.d.ts +10 -10
  124. package/number-box.js +2 -2
  125. package/package.json +1 -1
  126. package/pie-chart.d.ts +72 -72
  127. package/pie-chart.js +2 -2
  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 +142 -142
  133. package/polar-chart.js +2 -2
  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 +124 -122
  143. package/range-selector.js +2 -2
  144. package/range-slider.d.ts +11 -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 +42 -42
  153. package/sankey.js +2 -2
  154. package/scheduler.d.ts +14 -14
  155. package/scheduler.js +2 -2
  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 +11 -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 +17 -18
  169. package/sparkline.js +2 -2
  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 +2 -2
  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 +140 -140
  193. package/tree-list.js +2 -2
  194. package/tree-map.d.ts +46 -46
  195. package/tree-map.js +2 -2
  196. package/tree-view.d.ts +12 -12
  197. package/tree-view.js +2 -2
  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 +58 -58
  365. package/vector-map.js +2 -2
package/gantt.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,7 +15,7 @@
15
15
  import dxGantt, { Properties } from "devextreme/ui/gantt";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IGanttOptions extends Properties, IHtmlOptions {
18
+ declare type IGanttOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  taskContentRender?: (...params: any) => React.ReactNode;
20
20
  taskContentComponent?: React.ComponentType<any>;
21
21
  taskContentKeyFn?: (data: any) => string;
@@ -28,7 +28,7 @@ interface IGanttOptions extends Properties, IHtmlOptions {
28
28
  taskTooltipContentRender?: (...params: any) => React.ReactNode;
29
29
  taskTooltipContentComponent?: React.ComponentType<any>;
30
30
  taskTooltipContentKeyFn?: (data: any) => string;
31
- }
31
+ }>;
32
32
  declare class Gantt extends BaseComponent<IGanttOptions> {
33
33
  get instance(): dxGantt;
34
34
  protected _WidgetClass: typeof dxGantt;
@@ -102,13 +102,13 @@ declare class Gantt extends BaseComponent<IGanttOptions> {
102
102
  keyFn: string;
103
103
  }[];
104
104
  }
105
- interface IAsyncRuleProps {
105
+ declare type IAsyncRuleProps = React.PropsWithChildren<{
106
106
  ignoreEmptyValue?: any;
107
107
  message?: any;
108
108
  reevaluate?: any;
109
109
  type?: any;
110
110
  validationCallback?: any;
111
- }
111
+ }>;
112
112
  declare class AsyncRule extends NestedOption<IAsyncRuleProps> {
113
113
  static OptionName: string;
114
114
  static IsCollectionItem: boolean;
@@ -116,7 +116,7 @@ declare class AsyncRule extends NestedOption<IAsyncRuleProps> {
116
116
  type: string;
117
117
  };
118
118
  }
119
- interface IButtonProps {
119
+ declare type IButtonProps = React.PropsWithChildren<{
120
120
  cssClass?: any;
121
121
  disabled?: any;
122
122
  hint?: any;
@@ -129,7 +129,7 @@ interface IButtonProps {
129
129
  render?: (...params: any) => React.ReactNode;
130
130
  component?: React.ComponentType<any>;
131
131
  keyFn?: (data: any) => string;
132
- }
132
+ }>;
133
133
  declare class Button extends NestedOption<IButtonProps> {
134
134
  static OptionName: string;
135
135
  static IsCollectionItem: boolean;
@@ -140,7 +140,7 @@ declare class Button extends NestedOption<IButtonProps> {
140
140
  keyFn: string;
141
141
  }[];
142
142
  }
143
- interface IColumnProps {
143
+ declare type IColumnProps = React.PropsWithChildren<{
144
144
  alignment?: any;
145
145
  allowEditing?: any;
146
146
  allowFiltering?: any;
@@ -233,7 +233,7 @@ interface IColumnProps {
233
233
  headerCellRender?: (...params: any) => React.ReactNode;
234
234
  headerCellComponent?: React.ComponentType<any>;
235
235
  headerCellKeyFn?: (data: any) => string;
236
- }
236
+ }>;
237
237
  declare class Column extends NestedOption<IColumnProps> {
238
238
  static OptionName: string;
239
239
  static IsCollectionItem: boolean;
@@ -319,24 +319,24 @@ declare class Column extends NestedOption<IColumnProps> {
319
319
  keyFn: string;
320
320
  }[];
321
321
  }
322
- interface IColumnHeaderFilterProps {
322
+ declare type IColumnHeaderFilterProps = React.PropsWithChildren<{
323
323
  allowSearch?: any;
324
324
  dataSource?: any;
325
325
  groupInterval?: any;
326
326
  height?: any;
327
327
  searchMode?: any;
328
328
  width?: any;
329
- }
329
+ }>;
330
330
  declare class ColumnHeaderFilter extends NestedOption<IColumnHeaderFilterProps> {
331
331
  static OptionName: string;
332
332
  }
333
- interface ICompareRuleProps {
333
+ declare type ICompareRuleProps = React.PropsWithChildren<{
334
334
  comparisonTarget?: any;
335
335
  comparisonType?: any;
336
336
  ignoreEmptyValue?: any;
337
337
  message?: any;
338
338
  type?: any;
339
- }
339
+ }>;
340
340
  declare class CompareRule extends NestedOption<ICompareRuleProps> {
341
341
  static OptionName: string;
342
342
  static IsCollectionItem: boolean;
@@ -344,10 +344,10 @@ declare class CompareRule extends NestedOption<ICompareRuleProps> {
344
344
  type: string;
345
345
  };
346
346
  }
347
- interface IContextMenuProps {
347
+ declare type IContextMenuProps = React.PropsWithChildren<{
348
348
  enabled?: any;
349
349
  items?: any;
350
- }
350
+ }>;
351
351
  declare class ContextMenu extends NestedOption<IContextMenuProps> {
352
352
  static OptionName: string;
353
353
  static ExpectedChildren: {
@@ -361,7 +361,7 @@ declare class ContextMenu extends NestedOption<IContextMenuProps> {
361
361
  };
362
362
  };
363
363
  }
364
- interface IContextMenuItemProps {
364
+ declare type IContextMenuItemProps = React.PropsWithChildren<{
365
365
  beginGroup?: any;
366
366
  closeMenuOnClick?: any;
367
367
  disabled?: any;
@@ -377,7 +377,7 @@ interface IContextMenuItemProps {
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 ContextMenuItem extends NestedOption<IContextMenuItemProps> {
382
382
  static OptionName: string;
383
383
  static IsCollectionItem: boolean;
@@ -388,13 +388,13 @@ declare class ContextMenuItem extends NestedOption<IContextMenuItemProps> {
388
388
  keyFn: string;
389
389
  }[];
390
390
  }
391
- interface ICustomRuleProps {
391
+ declare type ICustomRuleProps = React.PropsWithChildren<{
392
392
  ignoreEmptyValue?: any;
393
393
  message?: any;
394
394
  reevaluate?: any;
395
395
  type?: any;
396
396
  validationCallback?: any;
397
- }
397
+ }>;
398
398
  declare class CustomRule extends NestedOption<ICustomRuleProps> {
399
399
  static OptionName: string;
400
400
  static IsCollectionItem: boolean;
@@ -402,17 +402,17 @@ declare class CustomRule extends NestedOption<ICustomRuleProps> {
402
402
  type: string;
403
403
  };
404
404
  }
405
- interface IDependenciesProps {
405
+ declare type IDependenciesProps = React.PropsWithChildren<{
406
406
  dataSource?: any;
407
407
  keyExpr?: any;
408
408
  predecessorIdExpr?: any;
409
409
  successorIdExpr?: any;
410
410
  typeExpr?: any;
411
- }
411
+ }>;
412
412
  declare class Dependencies extends NestedOption<IDependenciesProps> {
413
413
  static OptionName: string;
414
414
  }
415
- interface IEditingProps {
415
+ declare type IEditingProps = React.PropsWithChildren<{
416
416
  allowDependencyAdding?: any;
417
417
  allowDependencyDeleting?: any;
418
418
  allowResourceAdding?: any;
@@ -423,15 +423,15 @@ interface IEditingProps {
423
423
  allowTaskResourceUpdating?: any;
424
424
  allowTaskUpdating?: any;
425
425
  enabled?: any;
426
- }
426
+ }>;
427
427
  declare class Editing extends NestedOption<IEditingProps> {
428
428
  static OptionName: string;
429
429
  }
430
- interface IEmailRuleProps {
430
+ declare type IEmailRuleProps = React.PropsWithChildren<{
431
431
  ignoreEmptyValue?: any;
432
432
  message?: any;
433
433
  type?: any;
434
- }
434
+ }>;
435
435
  declare class EmailRule extends NestedOption<IEmailRuleProps> {
436
436
  static OptionName: string;
437
437
  static IsCollectionItem: boolean;
@@ -439,7 +439,7 @@ declare class EmailRule extends NestedOption<IEmailRuleProps> {
439
439
  type: string;
440
440
  };
441
441
  }
442
- interface IFilterRowProps {
442
+ declare type IFilterRowProps = React.PropsWithChildren<{
443
443
  betweenEndText?: any;
444
444
  betweenStartText?: any;
445
445
  operationDescriptions?: any;
@@ -447,7 +447,7 @@ interface IFilterRowProps {
447
447
  showAllText?: any;
448
448
  showOperationChooser?: any;
449
449
  visible?: any;
450
- }
450
+ }>;
451
451
  declare class FilterRow extends NestedOption<IFilterRowProps> {
452
452
  static OptionName: string;
453
453
  static ExpectedChildren: {
@@ -457,17 +457,17 @@ declare class FilterRow extends NestedOption<IFilterRowProps> {
457
457
  };
458
458
  };
459
459
  }
460
- interface IFormatProps {
460
+ declare type IFormatProps = React.PropsWithChildren<{
461
461
  currency?: any;
462
462
  formatter?: any;
463
463
  parser?: any;
464
464
  precision?: any;
465
465
  type?: any;
466
- }
466
+ }>;
467
467
  declare class Format extends NestedOption<IFormatProps> {
468
468
  static OptionName: string;
469
469
  }
470
- interface IFormItemProps {
470
+ declare type IFormItemProps = React.PropsWithChildren<{
471
471
  colSpan?: any;
472
472
  cssClass?: any;
473
473
  dataField?: any;
@@ -491,7 +491,7 @@ interface IFormItemProps {
491
491
  render?: (...params: any) => React.ReactNode;
492
492
  component?: React.ComponentType<any>;
493
493
  keyFn?: (data: any) => string;
494
- }
494
+ }>;
495
495
  declare class FormItem extends NestedOption<IFormItemProps> {
496
496
  static OptionName: string;
497
497
  static ExpectedChildren: {
@@ -547,14 +547,14 @@ declare class FormItem extends NestedOption<IFormItemProps> {
547
547
  keyFn: string;
548
548
  }[];
549
549
  }
550
- interface IGanttHeaderFilterProps {
550
+ declare type IGanttHeaderFilterProps = React.PropsWithChildren<{
551
551
  allowSearch?: any;
552
552
  height?: any;
553
553
  searchTimeout?: any;
554
554
  texts?: any;
555
555
  visible?: any;
556
556
  width?: any;
557
- }
557
+ }>;
558
558
  declare class GanttHeaderFilter extends NestedOption<IGanttHeaderFilterProps> {
559
559
  static OptionName: string;
560
560
  static ExpectedChildren: {
@@ -564,7 +564,7 @@ declare class GanttHeaderFilter extends NestedOption<IGanttHeaderFilterProps> {
564
564
  };
565
565
  };
566
566
  }
567
- interface IHeaderFilterProps {
567
+ declare type IHeaderFilterProps = React.PropsWithChildren<{
568
568
  allowSearch?: any;
569
569
  dataSource?: any;
570
570
  groupInterval?: any;
@@ -574,11 +574,11 @@ interface IHeaderFilterProps {
574
574
  searchTimeout?: any;
575
575
  texts?: any;
576
576
  visible?: any;
577
- }
577
+ }>;
578
578
  declare class HeaderFilter extends NestedOption<IHeaderFilterProps> {
579
579
  static OptionName: string;
580
580
  }
581
- interface IItemProps {
581
+ declare type IItemProps = React.PropsWithChildren<{
582
582
  beginGroup?: any;
583
583
  closeMenuOnClick?: any;
584
584
  disabled?: any;
@@ -604,7 +604,7 @@ interface IItemProps {
604
604
  menuItemRender?: (...params: any) => React.ReactNode;
605
605
  menuItemComponent?: React.ComponentType<any>;
606
606
  menuItemKeyFn?: (data: any) => string;
607
- }
607
+ }>;
608
608
  declare class Item extends NestedOption<IItemProps> {
609
609
  static OptionName: string;
610
610
  static IsCollectionItem: boolean;
@@ -615,31 +615,31 @@ declare class Item extends NestedOption<IItemProps> {
615
615
  keyFn: string;
616
616
  }[];
617
617
  }
618
- interface ILabelProps {
618
+ declare type ILabelProps = React.PropsWithChildren<{
619
619
  alignment?: any;
620
620
  location?: any;
621
621
  showColon?: any;
622
622
  text?: any;
623
623
  visible?: any;
624
- }
624
+ }>;
625
625
  declare class Label extends NestedOption<ILabelProps> {
626
626
  static OptionName: string;
627
627
  }
628
- interface ILookupProps {
628
+ declare type ILookupProps = React.PropsWithChildren<{
629
629
  allowClearing?: any;
630
630
  calculateCellValue?: any;
631
631
  dataSource?: any;
632
632
  displayExpr?: any;
633
633
  valueExpr?: any;
634
- }
634
+ }>;
635
635
  declare class Lookup extends NestedOption<ILookupProps> {
636
636
  static OptionName: string;
637
637
  }
638
- interface INumericRuleProps {
638
+ declare type INumericRuleProps = React.PropsWithChildren<{
639
639
  ignoreEmptyValue?: any;
640
640
  message?: any;
641
641
  type?: any;
642
- }
642
+ }>;
643
643
  declare class NumericRule extends NestedOption<INumericRuleProps> {
644
644
  static OptionName: string;
645
645
  static IsCollectionItem: boolean;
@@ -647,7 +647,7 @@ declare class NumericRule extends NestedOption<INumericRuleProps> {
647
647
  type: string;
648
648
  };
649
649
  }
650
- interface IOperationDescriptionsProps {
650
+ declare type IOperationDescriptionsProps = React.PropsWithChildren<{
651
651
  between?: any;
652
652
  contains?: any;
653
653
  endsWith?: any;
@@ -659,16 +659,16 @@ interface IOperationDescriptionsProps {
659
659
  notContains?: any;
660
660
  notEqual?: any;
661
661
  startsWith?: any;
662
- }
662
+ }>;
663
663
  declare class OperationDescriptions extends NestedOption<IOperationDescriptionsProps> {
664
664
  static OptionName: string;
665
665
  }
666
- interface IPatternRuleProps {
666
+ declare type IPatternRuleProps = React.PropsWithChildren<{
667
667
  ignoreEmptyValue?: any;
668
668
  message?: any;
669
669
  pattern?: any;
670
670
  type?: any;
671
- }
671
+ }>;
672
672
  declare class PatternRule extends NestedOption<IPatternRuleProps> {
673
673
  static OptionName: string;
674
674
  static IsCollectionItem: boolean;
@@ -676,14 +676,14 @@ declare class PatternRule extends NestedOption<IPatternRuleProps> {
676
676
  type: string;
677
677
  };
678
678
  }
679
- interface IRangeRuleProps {
679
+ declare type IRangeRuleProps = React.PropsWithChildren<{
680
680
  ignoreEmptyValue?: any;
681
681
  max?: any;
682
682
  message?: any;
683
683
  min?: any;
684
684
  reevaluate?: any;
685
685
  type?: any;
686
- }
686
+ }>;
687
687
  declare class RangeRule extends NestedOption<IRangeRuleProps> {
688
688
  static OptionName: string;
689
689
  static IsCollectionItem: boolean;
@@ -691,11 +691,11 @@ declare class RangeRule extends NestedOption<IRangeRuleProps> {
691
691
  type: string;
692
692
  };
693
693
  }
694
- interface IRequiredRuleProps {
694
+ declare type IRequiredRuleProps = React.PropsWithChildren<{
695
695
  message?: any;
696
696
  trim?: any;
697
697
  type?: any;
698
- }
698
+ }>;
699
699
  declare class RequiredRule extends NestedOption<IRequiredRuleProps> {
700
700
  static OptionName: string;
701
701
  static IsCollectionItem: boolean;
@@ -703,49 +703,49 @@ declare class RequiredRule extends NestedOption<IRequiredRuleProps> {
703
703
  type: string;
704
704
  };
705
705
  }
706
- interface IResourceAssignmentsProps {
706
+ declare type IResourceAssignmentsProps = React.PropsWithChildren<{
707
707
  dataSource?: any;
708
708
  keyExpr?: any;
709
709
  resourceIdExpr?: any;
710
710
  taskIdExpr?: any;
711
- }
711
+ }>;
712
712
  declare class ResourceAssignments extends NestedOption<IResourceAssignmentsProps> {
713
713
  static OptionName: string;
714
714
  }
715
- interface IResourcesProps {
715
+ declare type IResourcesProps = React.PropsWithChildren<{
716
716
  colorExpr?: any;
717
717
  dataSource?: any;
718
718
  keyExpr?: any;
719
719
  textExpr?: any;
720
- }
720
+ }>;
721
721
  declare class Resources extends NestedOption<IResourcesProps> {
722
722
  static OptionName: string;
723
723
  }
724
- interface IScaleTypeRangeProps {
724
+ declare type IScaleTypeRangeProps = React.PropsWithChildren<{
725
725
  max?: any;
726
726
  min?: any;
727
- }
727
+ }>;
728
728
  declare class ScaleTypeRange extends NestedOption<IScaleTypeRangeProps> {
729
729
  static OptionName: string;
730
730
  }
731
- interface ISortingProps {
731
+ declare type ISortingProps = React.PropsWithChildren<{
732
732
  ascendingText?: any;
733
733
  clearText?: any;
734
734
  descendingText?: any;
735
735
  mode?: any;
736
736
  showSortIndexes?: any;
737
- }
737
+ }>;
738
738
  declare class Sorting extends NestedOption<ISortingProps> {
739
739
  static OptionName: string;
740
740
  }
741
- interface IStringLengthRuleProps {
741
+ declare type IStringLengthRuleProps = React.PropsWithChildren<{
742
742
  ignoreEmptyValue?: any;
743
743
  max?: any;
744
744
  message?: any;
745
745
  min?: any;
746
746
  trim?: any;
747
747
  type?: any;
748
- }
748
+ }>;
749
749
  declare class StringLengthRule extends NestedOption<IStringLengthRuleProps> {
750
750
  static OptionName: string;
751
751
  static IsCollectionItem: boolean;
@@ -753,17 +753,17 @@ declare class StringLengthRule extends NestedOption<IStringLengthRuleProps> {
753
753
  type: string;
754
754
  };
755
755
  }
756
- interface IStripLineProps {
756
+ declare type IStripLineProps = React.PropsWithChildren<{
757
757
  cssClass?: any;
758
758
  end?: any;
759
759
  start?: any;
760
760
  title?: any;
761
- }
761
+ }>;
762
762
  declare class StripLine extends NestedOption<IStripLineProps> {
763
763
  static OptionName: string;
764
764
  static IsCollectionItem: boolean;
765
765
  }
766
- interface ITasksProps {
766
+ declare type ITasksProps = React.PropsWithChildren<{
767
767
  colorExpr?: any;
768
768
  dataSource?: any;
769
769
  endExpr?: any;
@@ -772,21 +772,21 @@ interface ITasksProps {
772
772
  progressExpr?: any;
773
773
  startExpr?: any;
774
774
  titleExpr?: any;
775
- }
775
+ }>;
776
776
  declare class Tasks extends NestedOption<ITasksProps> {
777
777
  static OptionName: string;
778
778
  }
779
- interface ITextsProps {
779
+ declare type ITextsProps = React.PropsWithChildren<{
780
780
  cancel?: any;
781
781
  emptyValue?: any;
782
782
  ok?: any;
783
- }
783
+ }>;
784
784
  declare class Texts extends NestedOption<ITextsProps> {
785
785
  static OptionName: string;
786
786
  }
787
- interface IToolbarProps {
787
+ declare type IToolbarProps = React.PropsWithChildren<{
788
788
  items?: any;
789
- }
789
+ }>;
790
790
  declare class Toolbar extends NestedOption<IToolbarProps> {
791
791
  static OptionName: string;
792
792
  static ExpectedChildren: {
@@ -800,7 +800,7 @@ declare class Toolbar extends NestedOption<IToolbarProps> {
800
800
  };
801
801
  };
802
802
  }
803
- interface IToolbarItemProps {
803
+ declare type IToolbarItemProps = React.PropsWithChildren<{
804
804
  cssClass?: any;
805
805
  disabled?: any;
806
806
  html?: any;
@@ -820,7 +820,7 @@ interface IToolbarItemProps {
820
820
  render?: (...params: any) => React.ReactNode;
821
821
  component?: React.ComponentType<any>;
822
822
  keyFn?: (data: any) => string;
823
- }
823
+ }>;
824
824
  declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
825
825
  static OptionName: string;
826
826
  static IsCollectionItem: boolean;
@@ -831,15 +831,15 @@ declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
831
831
  keyFn: string;
832
832
  }[];
833
833
  }
834
- interface IValidationProps {
834
+ declare type IValidationProps = React.PropsWithChildren<{
835
835
  autoUpdateParentTasks?: any;
836
836
  enablePredecessorGap?: any;
837
837
  validateDependencies?: any;
838
- }
838
+ }>;
839
839
  declare class Validation extends NestedOption<IValidationProps> {
840
840
  static OptionName: string;
841
841
  }
842
- interface IValidationRuleProps {
842
+ declare type IValidationRuleProps = React.PropsWithChildren<{
843
843
  message?: any;
844
844
  trim?: any;
845
845
  type?: any;
@@ -851,7 +851,7 @@ interface IValidationRuleProps {
851
851
  comparisonTarget?: any;
852
852
  comparisonType?: any;
853
853
  pattern?: any;
854
- }
854
+ }>;
855
855
  declare class ValidationRule extends NestedOption<IValidationRuleProps> {
856
856
  static OptionName: string;
857
857
  static IsCollectionItem: boolean;
package/gantt.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/html-editor.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 21.2.6
4
- * Build date: Tue Mar 01 2022
3
+ * Version: 21.2.8
4
+ * Build date: Tue Jun 07 2022
5
5
  *
6
6
  * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,10 +15,10 @@
15
15
  import dxHtmlEditor, { Properties } from "devextreme/ui/html_editor";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IHtmlEditorOptions extends Properties, IHtmlOptions {
18
+ declare type IHtmlEditorOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  defaultValue?: any;
20
20
  onValueChange?: (value: any) => void;
21
- }
21
+ }>;
22
22
  declare class HtmlEditor extends BaseComponent<IHtmlEditorOptions> {
23
23
  get instance(): dxHtmlEditor;
24
24
  protected _WidgetClass: typeof dxHtmlEditor;
@@ -54,7 +54,7 @@ declare class HtmlEditor extends BaseComponent<IHtmlEditorOptions> {
54
54
  };
55
55
  };
56
56
  }
57
- interface IItemProps {
57
+ declare type IItemProps = React.PropsWithChildren<{
58
58
  beginGroup?: any;
59
59
  closeMenuOnClick?: any;
60
60
  disabled?: any;
@@ -83,7 +83,7 @@ interface IItemProps {
83
83
  menuItemRender?: (...params: any) => React.ReactNode;
84
84
  menuItemComponent?: React.ComponentType<any>;
85
85
  menuItemKeyFn?: (data: any) => string;
86
- }
86
+ }>;
87
87
  declare class Item extends NestedOption<IItemProps> {
88
88
  static OptionName: string;
89
89
  static IsCollectionItem: boolean;
@@ -94,14 +94,14 @@ declare class Item extends NestedOption<IItemProps> {
94
94
  keyFn: string;
95
95
  }[];
96
96
  }
97
- interface IMediaResizingProps {
97
+ declare type IMediaResizingProps = React.PropsWithChildren<{
98
98
  allowedTargets?: any;
99
99
  enabled?: any;
100
- }
100
+ }>;
101
101
  declare class MediaResizing extends NestedOption<IMediaResizingProps> {
102
102
  static OptionName: string;
103
103
  }
104
- interface IMentionProps {
104
+ declare type IMentionProps = React.PropsWithChildren<{
105
105
  dataSource?: any;
106
106
  displayExpr?: any;
107
107
  itemTemplate?: any;
@@ -117,7 +117,7 @@ interface IMentionProps {
117
117
  render?: (...params: any) => React.ReactNode;
118
118
  component?: React.ComponentType<any>;
119
119
  keyFn?: (data: any) => string;
120
- }
120
+ }>;
121
121
  declare class Mention extends NestedOption<IMentionProps> {
122
122
  static OptionName: string;
123
123
  static IsCollectionItem: boolean;
@@ -128,10 +128,10 @@ declare class Mention extends NestedOption<IMentionProps> {
128
128
  keyFn: string;
129
129
  }[];
130
130
  }
131
- interface ITableContextMenuProps {
131
+ declare type ITableContextMenuProps = React.PropsWithChildren<{
132
132
  enabled?: any;
133
133
  items?: any;
134
- }
134
+ }>;
135
135
  declare class TableContextMenu extends NestedOption<ITableContextMenuProps> {
136
136
  static OptionName: string;
137
137
  static ExpectedChildren: {
@@ -145,7 +145,7 @@ declare class TableContextMenu extends NestedOption<ITableContextMenuProps> {
145
145
  };
146
146
  };
147
147
  }
148
- interface ITableContextMenuItemProps {
148
+ declare type ITableContextMenuItemProps = React.PropsWithChildren<{
149
149
  beginGroup?: any;
150
150
  closeMenuOnClick?: any;
151
151
  disabled?: any;
@@ -161,7 +161,7 @@ interface ITableContextMenuItemProps {
161
161
  render?: (...params: any) => React.ReactNode;
162
162
  component?: React.ComponentType<any>;
163
163
  keyFn?: (data: any) => string;
164
- }
164
+ }>;
165
165
  declare class TableContextMenuItem extends NestedOption<ITableContextMenuItemProps> {
166
166
  static OptionName: string;
167
167
  static IsCollectionItem: boolean;
@@ -172,19 +172,19 @@ declare class TableContextMenuItem extends NestedOption<ITableContextMenuItemPro
172
172
  keyFn: string;
173
173
  }[];
174
174
  }
175
- interface ITableResizingProps {
175
+ declare type ITableResizingProps = React.PropsWithChildren<{
176
176
  enabled?: any;
177
177
  minColumnWidth?: any;
178
178
  minRowHeight?: any;
179
- }
179
+ }>;
180
180
  declare class TableResizing extends NestedOption<ITableResizingProps> {
181
181
  static OptionName: string;
182
182
  }
183
- interface IToolbarProps {
183
+ declare type IToolbarProps = React.PropsWithChildren<{
184
184
  container?: any;
185
185
  items?: any;
186
186
  multiline?: any;
187
- }
187
+ }>;
188
188
  declare class Toolbar extends NestedOption<IToolbarProps> {
189
189
  static OptionName: string;
190
190
  static ExpectedChildren: {
@@ -198,7 +198,7 @@ declare class Toolbar extends NestedOption<IToolbarProps> {
198
198
  };
199
199
  };
200
200
  }
201
- interface IToolbarItemProps {
201
+ declare type IToolbarItemProps = React.PropsWithChildren<{
202
202
  acceptedValues?: any;
203
203
  cssClass?: any;
204
204
  disabled?: any;
@@ -221,7 +221,7 @@ interface IToolbarItemProps {
221
221
  render?: (...params: any) => React.ReactNode;
222
222
  component?: React.ComponentType<any>;
223
223
  keyFn?: (data: any) => string;
224
- }
224
+ }>;
225
225
  declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
226
226
  static OptionName: string;
227
227
  static IsCollectionItem: boolean;
@@ -232,10 +232,10 @@ declare class ToolbarItem extends NestedOption<IToolbarItemProps> {
232
232
  keyFn: string;
233
233
  }[];
234
234
  }
235
- interface IVariablesProps {
235
+ declare type IVariablesProps = React.PropsWithChildren<{
236
236
  dataSource?: any;
237
237
  escapeChar?: any;
238
- }
238
+ }>;
239
239
  declare class Variables extends NestedOption<IVariablesProps> {
240
240
  static OptionName: string;
241
241
  }