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/pie-chart.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,13 +15,13 @@
15
15
  import dxPieChart, { Properties } from "devextreme/viz/pie_chart";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- interface IPieChartOptions extends Properties, IHtmlOptions {
18
+ declare type IPieChartOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
19
19
  centerRender?: (...params: any) => React.ReactNode;
20
20
  centerComponent?: React.ComponentType<any>;
21
21
  centerKeyFn?: (data: any) => string;
22
22
  defaultLoadingIndicator?: any;
23
23
  onLoadingIndicatorChange?: (value: any) => void;
24
- }
24
+ }>;
25
25
  declare class PieChart extends BaseComponent<IPieChartOptions> {
26
26
  get instance(): dxPieChart;
27
27
  protected _WidgetClass: typeof dxPieChart;
@@ -99,24 +99,24 @@ declare class PieChart extends BaseComponent<IPieChartOptions> {
99
99
  keyFn: string;
100
100
  }[];
101
101
  }
102
- interface IAdaptiveLayoutProps {
102
+ declare type IAdaptiveLayoutProps = React.PropsWithChildren<{
103
103
  height?: any;
104
104
  keepLabels?: any;
105
105
  width?: any;
106
- }
106
+ }>;
107
107
  declare class AdaptiveLayout extends NestedOption<IAdaptiveLayoutProps> {
108
108
  static OptionName: string;
109
109
  }
110
- interface IAnimationProps {
110
+ declare type IAnimationProps = React.PropsWithChildren<{
111
111
  duration?: any;
112
112
  easing?: any;
113
113
  enabled?: any;
114
114
  maxPointCountSupported?: any;
115
- }
115
+ }>;
116
116
  declare class Animation extends NestedOption<IAnimationProps> {
117
117
  static OptionName: string;
118
118
  }
119
- interface IAnnotationProps {
119
+ declare type IAnnotationProps = React.PropsWithChildren<{
120
120
  allowDragging?: any;
121
121
  argument?: any;
122
122
  arrowLength?: any;
@@ -171,7 +171,7 @@ interface IAnnotationProps {
171
171
  tooltipRender?: (...params: any) => React.ReactNode;
172
172
  tooltipComponent?: React.ComponentType<any>;
173
173
  tooltipKeyFn?: (data: any) => string;
174
- }
174
+ }>;
175
175
  declare class Annotation extends NestedOption<IAnnotationProps> {
176
176
  static OptionName: string;
177
177
  static IsCollectionItem: boolean;
@@ -204,39 +204,39 @@ declare class Annotation extends NestedOption<IAnnotationProps> {
204
204
  keyFn: string;
205
205
  }[];
206
206
  }
207
- interface IAnnotationBorderProps {
207
+ declare type IAnnotationBorderProps = React.PropsWithChildren<{
208
208
  color?: any;
209
209
  cornerRadius?: any;
210
210
  dashStyle?: any;
211
211
  opacity?: any;
212
212
  visible?: any;
213
213
  width?: any;
214
- }
214
+ }>;
215
215
  declare class AnnotationBorder extends NestedOption<IAnnotationBorderProps> {
216
216
  static OptionName: string;
217
217
  }
218
- interface IArgumentFormatProps {
218
+ declare type IArgumentFormatProps = React.PropsWithChildren<{
219
219
  currency?: any;
220
220
  formatter?: any;
221
221
  parser?: any;
222
222
  precision?: any;
223
223
  type?: any;
224
- }
224
+ }>;
225
225
  declare class ArgumentFormat extends NestedOption<IArgumentFormatProps> {
226
226
  static OptionName: string;
227
227
  }
228
- interface IBorderProps {
228
+ declare type IBorderProps = React.PropsWithChildren<{
229
229
  color?: any;
230
230
  cornerRadius?: any;
231
231
  dashStyle?: any;
232
232
  opacity?: any;
233
233
  visible?: any;
234
234
  width?: any;
235
- }
235
+ }>;
236
236
  declare class Border extends NestedOption<IBorderProps> {
237
237
  static OptionName: string;
238
238
  }
239
- interface ICommonAnnotationSettingsProps {
239
+ declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
240
240
  allowDragging?: any;
241
241
  argument?: any;
242
242
  arrowLength?: any;
@@ -290,7 +290,7 @@ interface ICommonAnnotationSettingsProps {
290
290
  tooltipRender?: (...params: any) => React.ReactNode;
291
291
  tooltipComponent?: React.ComponentType<any>;
292
292
  tooltipKeyFn?: (data: any) => string;
293
- }
293
+ }>;
294
294
  declare class CommonAnnotationSettings extends NestedOption<ICommonAnnotationSettingsProps> {
295
295
  static OptionName: string;
296
296
  static TemplateProps: {
@@ -300,7 +300,7 @@ declare class CommonAnnotationSettings extends NestedOption<ICommonAnnotationSet
300
300
  keyFn: string;
301
301
  }[];
302
302
  }
303
- interface ICommonSeriesSettingsProps {
303
+ declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
304
304
  argumentField?: any;
305
305
  argumentType?: any;
306
306
  border?: object | {
@@ -376,7 +376,7 @@ interface ICommonSeriesSettingsProps {
376
376
  };
377
377
  tagField?: any;
378
378
  valueField?: any;
379
- }
379
+ }>;
380
380
  declare class CommonSeriesSettings extends NestedOption<ICommonSeriesSettingsProps> {
381
381
  static OptionName: string;
382
382
  static ExpectedChildren: {
@@ -406,15 +406,15 @@ declare class CommonSeriesSettings extends NestedOption<ICommonSeriesSettingsPro
406
406
  };
407
407
  };
408
408
  }
409
- interface IConnectorProps {
409
+ declare type IConnectorProps = React.PropsWithChildren<{
410
410
  color?: any;
411
411
  visible?: any;
412
412
  width?: any;
413
- }
413
+ }>;
414
414
  declare class Connector extends NestedOption<IConnectorProps> {
415
415
  static OptionName: string;
416
416
  }
417
- interface IExportProps {
417
+ declare type IExportProps = React.PropsWithChildren<{
418
418
  backgroundColor?: any;
419
419
  enabled?: any;
420
420
  fileName?: any;
@@ -423,40 +423,40 @@ interface IExportProps {
423
423
  printingEnabled?: any;
424
424
  proxyUrl?: any;
425
425
  svgToCanvas?: any;
426
- }
426
+ }>;
427
427
  declare class Export extends NestedOption<IExportProps> {
428
428
  static OptionName: string;
429
429
  }
430
- interface IFontProps {
430
+ declare type IFontProps = React.PropsWithChildren<{
431
431
  color?: any;
432
432
  family?: any;
433
433
  opacity?: any;
434
434
  size?: any;
435
435
  weight?: any;
436
- }
436
+ }>;
437
437
  declare class Font extends NestedOption<IFontProps> {
438
438
  static OptionName: string;
439
439
  }
440
- interface IFormatProps {
440
+ declare type IFormatProps = React.PropsWithChildren<{
441
441
  currency?: any;
442
442
  formatter?: any;
443
443
  parser?: any;
444
444
  precision?: any;
445
445
  type?: any;
446
- }
446
+ }>;
447
447
  declare class Format extends NestedOption<IFormatProps> {
448
448
  static OptionName: string;
449
449
  }
450
- interface IHatchingProps {
450
+ declare type IHatchingProps = React.PropsWithChildren<{
451
451
  direction?: any;
452
452
  opacity?: any;
453
453
  step?: any;
454
454
  width?: any;
455
- }
455
+ }>;
456
456
  declare class Hatching extends NestedOption<IHatchingProps> {
457
457
  static OptionName: string;
458
458
  }
459
- interface IHoverStyleProps {
459
+ declare type IHoverStyleProps = React.PropsWithChildren<{
460
460
  border?: object | {
461
461
  color?: any;
462
462
  dashStyle?: any;
@@ -470,7 +470,7 @@ interface IHoverStyleProps {
470
470
  step?: any;
471
471
  width?: any;
472
472
  };
473
- }
473
+ }>;
474
474
  declare class HoverStyle extends NestedOption<IHoverStyleProps> {
475
475
  static OptionName: string;
476
476
  static ExpectedChildren: {
@@ -488,15 +488,15 @@ declare class HoverStyle extends NestedOption<IHoverStyleProps> {
488
488
  };
489
489
  };
490
490
  }
491
- interface IImageProps {
491
+ declare type IImageProps = React.PropsWithChildren<{
492
492
  height?: any;
493
493
  url?: any;
494
494
  width?: any;
495
- }
495
+ }>;
496
496
  declare class Image extends NestedOption<IImageProps> {
497
497
  static OptionName: string;
498
498
  }
499
- interface ILabelProps {
499
+ declare type ILabelProps = React.PropsWithChildren<{
500
500
  argumentFormat?: any;
501
501
  backgroundColor?: any;
502
502
  border?: object | {
@@ -519,7 +519,7 @@ interface ILabelProps {
519
519
  textOverflow?: any;
520
520
  visible?: any;
521
521
  wordWrap?: any;
522
- }
522
+ }>;
523
523
  declare class Label extends NestedOption<ILabelProps> {
524
524
  static OptionName: string;
525
525
  static ExpectedChildren: {
@@ -549,7 +549,7 @@ declare class Label extends NestedOption<ILabelProps> {
549
549
  };
550
550
  };
551
551
  }
552
- interface ILegendProps {
552
+ declare type ILegendProps = React.PropsWithChildren<{
553
553
  backgroundColor?: any;
554
554
  border?: object | {
555
555
  color?: any;
@@ -605,7 +605,7 @@ interface ILegendProps {
605
605
  markerRender?: (...params: any) => React.ReactNode;
606
606
  markerComponent?: React.ComponentType<any>;
607
607
  markerKeyFn?: (data: any) => string;
608
- }
608
+ }>;
609
609
  declare class Legend extends NestedOption<ILegendProps> {
610
610
  static OptionName: string;
611
611
  static ExpectedChildren: {
@@ -641,7 +641,7 @@ declare class Legend extends NestedOption<ILegendProps> {
641
641
  keyFn: string;
642
642
  }[];
643
643
  }
644
- interface ILegendTitleProps {
644
+ declare type ILegendTitleProps = React.PropsWithChildren<{
645
645
  font?: any;
646
646
  horizontalAlignment?: any;
647
647
  margin?: object | {
@@ -658,7 +658,7 @@ interface ILegendTitleProps {
658
658
  };
659
659
  text?: any;
660
660
  verticalAlignment?: any;
661
- }
661
+ }>;
662
662
  declare class LegendTitle extends NestedOption<ILegendTitleProps> {
663
663
  static OptionName: string;
664
664
  static ExpectedChildren: {
@@ -680,11 +680,11 @@ declare class LegendTitle extends NestedOption<ILegendTitleProps> {
680
680
  };
681
681
  };
682
682
  }
683
- interface ILegendTitleSubtitleProps {
683
+ declare type ILegendTitleSubtitleProps = React.PropsWithChildren<{
684
684
  font?: any;
685
685
  offset?: any;
686
686
  text?: any;
687
- }
687
+ }>;
688
688
  declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps> {
689
689
  static OptionName: string;
690
690
  static ExpectedChildren: {
@@ -694,7 +694,7 @@ declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps
694
694
  };
695
695
  };
696
696
  }
697
- interface ILoadingIndicatorProps {
697
+ declare type ILoadingIndicatorProps = React.PropsWithChildren<{
698
698
  backgroundColor?: any;
699
699
  enabled?: any;
700
700
  font?: any;
@@ -702,7 +702,7 @@ interface ILoadingIndicatorProps {
702
702
  text?: any;
703
703
  defaultShow?: any;
704
704
  onShowChange?: (value: any) => void;
705
- }
705
+ }>;
706
706
  declare class LoadingIndicator extends NestedOption<ILoadingIndicatorProps> {
707
707
  static OptionName: string;
708
708
  static DefaultsProps: {
@@ -715,16 +715,16 @@ declare class LoadingIndicator extends NestedOption<ILoadingIndicatorProps> {
715
715
  };
716
716
  };
717
717
  }
718
- interface IMarginProps {
718
+ declare type IMarginProps = React.PropsWithChildren<{
719
719
  bottom?: any;
720
720
  left?: any;
721
721
  right?: any;
722
722
  top?: any;
723
- }
723
+ }>;
724
724
  declare class Margin extends NestedOption<IMarginProps> {
725
725
  static OptionName: string;
726
726
  }
727
- interface IPieChartTitleProps {
727
+ declare type IPieChartTitleProps = React.PropsWithChildren<{
728
728
  font?: any;
729
729
  horizontalAlignment?: any;
730
730
  margin?: number | object | {
@@ -745,7 +745,7 @@ interface IPieChartTitleProps {
745
745
  textOverflow?: any;
746
746
  verticalAlignment?: any;
747
747
  wordWrap?: any;
748
- }
748
+ }>;
749
749
  declare class PieChartTitle extends NestedOption<IPieChartTitleProps> {
750
750
  static OptionName: string;
751
751
  static ExpectedChildren: {
@@ -767,13 +767,13 @@ declare class PieChartTitle extends NestedOption<IPieChartTitleProps> {
767
767
  };
768
768
  };
769
769
  }
770
- interface IPieChartTitleSubtitleProps {
770
+ declare type IPieChartTitleSubtitleProps = React.PropsWithChildren<{
771
771
  font?: any;
772
772
  offset?: any;
773
773
  text?: any;
774
774
  textOverflow?: any;
775
775
  wordWrap?: any;
776
- }
776
+ }>;
777
777
  declare class PieChartTitleSubtitle extends NestedOption<IPieChartTitleSubtitleProps> {
778
778
  static OptionName: string;
779
779
  static ExpectedChildren: {
@@ -783,7 +783,7 @@ declare class PieChartTitleSubtitle extends NestedOption<IPieChartTitleSubtitleP
783
783
  };
784
784
  };
785
785
  }
786
- interface ISelectionStyleProps {
786
+ declare type ISelectionStyleProps = React.PropsWithChildren<{
787
787
  border?: object | {
788
788
  color?: any;
789
789
  dashStyle?: any;
@@ -797,7 +797,7 @@ interface ISelectionStyleProps {
797
797
  step?: any;
798
798
  width?: any;
799
799
  };
800
- }
800
+ }>;
801
801
  declare class SelectionStyle extends NestedOption<ISelectionStyleProps> {
802
802
  static OptionName: string;
803
803
  static ExpectedChildren: {
@@ -815,7 +815,7 @@ declare class SelectionStyle extends NestedOption<ISelectionStyleProps> {
815
815
  };
816
816
  };
817
817
  }
818
- interface ISeriesProps {
818
+ declare type ISeriesProps = React.PropsWithChildren<{
819
819
  argumentField?: any;
820
820
  argumentType?: any;
821
821
  border?: object | {
@@ -893,64 +893,64 @@ interface ISeriesProps {
893
893
  tag?: any;
894
894
  tagField?: any;
895
895
  valueField?: any;
896
- }
896
+ }>;
897
897
  declare class Series extends NestedOption<ISeriesProps> {
898
898
  static OptionName: string;
899
899
  static IsCollectionItem: boolean;
900
900
  }
901
- interface ISeriesBorderProps {
901
+ declare type ISeriesBorderProps = React.PropsWithChildren<{
902
902
  color?: any;
903
903
  dashStyle?: any;
904
904
  visible?: any;
905
905
  width?: any;
906
- }
906
+ }>;
907
907
  declare class SeriesBorder extends NestedOption<ISeriesBorderProps> {
908
908
  static OptionName: string;
909
909
  }
910
- interface ISeriesTemplateProps {
910
+ declare type ISeriesTemplateProps = React.PropsWithChildren<{
911
911
  customizeSeries?: any;
912
912
  nameField?: any;
913
- }
913
+ }>;
914
914
  declare class SeriesTemplate extends NestedOption<ISeriesTemplateProps> {
915
915
  static OptionName: string;
916
916
  }
917
- interface IShadowProps {
917
+ declare type IShadowProps = React.PropsWithChildren<{
918
918
  blur?: any;
919
919
  color?: any;
920
920
  offsetX?: any;
921
921
  offsetY?: any;
922
922
  opacity?: any;
923
- }
923
+ }>;
924
924
  declare class Shadow extends NestedOption<IShadowProps> {
925
925
  static OptionName: string;
926
926
  }
927
- interface ISizeProps {
927
+ declare type ISizeProps = React.PropsWithChildren<{
928
928
  height?: any;
929
929
  width?: any;
930
- }
930
+ }>;
931
931
  declare class Size extends NestedOption<ISizeProps> {
932
932
  static OptionName: string;
933
933
  }
934
- interface ISmallValuesGroupingProps {
934
+ declare type ISmallValuesGroupingProps = React.PropsWithChildren<{
935
935
  groupName?: any;
936
936
  mode?: any;
937
937
  threshold?: any;
938
938
  topCount?: any;
939
- }
939
+ }>;
940
940
  declare class SmallValuesGrouping extends NestedOption<ISmallValuesGroupingProps> {
941
941
  static OptionName: string;
942
942
  }
943
- interface ISubtitleProps {
943
+ declare type ISubtitleProps = React.PropsWithChildren<{
944
944
  font?: any;
945
945
  offset?: any;
946
946
  text?: any;
947
947
  textOverflow?: any;
948
948
  wordWrap?: any;
949
- }
949
+ }>;
950
950
  declare class Subtitle extends NestedOption<ISubtitleProps> {
951
951
  static OptionName: string;
952
952
  }
953
- interface ITitleProps {
953
+ declare type ITitleProps = React.PropsWithChildren<{
954
954
  font?: any;
955
955
  horizontalAlignment?: any;
956
956
  margin?: object | {
@@ -969,11 +969,11 @@ interface ITitleProps {
969
969
  verticalAlignment?: any;
970
970
  textOverflow?: any;
971
971
  wordWrap?: any;
972
- }
972
+ }>;
973
973
  declare class Title extends NestedOption<ITitleProps> {
974
974
  static OptionName: string;
975
975
  }
976
- interface ITooltipProps {
976
+ declare type ITooltipProps = React.PropsWithChildren<{
977
977
  argumentFormat?: any;
978
978
  arrowLength?: any;
979
979
  border?: object | {
@@ -1007,7 +1007,7 @@ interface ITooltipProps {
1007
1007
  contentRender?: (...params: any) => React.ReactNode;
1008
1008
  contentComponent?: React.ComponentType<any>;
1009
1009
  contentKeyFn?: (data: any) => string;
1010
- }
1010
+ }>;
1011
1011
  declare class Tooltip extends NestedOption<ITooltipProps> {
1012
1012
  static OptionName: string;
1013
1013
  static ExpectedChildren: {
@@ -1043,13 +1043,13 @@ declare class Tooltip extends NestedOption<ITooltipProps> {
1043
1043
  keyFn: string;
1044
1044
  }[];
1045
1045
  }
1046
- interface ITooltipBorderProps {
1046
+ declare type ITooltipBorderProps = React.PropsWithChildren<{
1047
1047
  color?: any;
1048
1048
  dashStyle?: any;
1049
1049
  opacity?: any;
1050
1050
  visible?: any;
1051
1051
  width?: any;
1052
- }
1052
+ }>;
1053
1053
  declare class TooltipBorder extends NestedOption<ITooltipBorderProps> {
1054
1054
  static OptionName: string;
1055
1055
  }
package/pie-chart.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
  *
@@ -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
  *
@@ -11,11 +11,11 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
+ /// <reference types="react" />
14
15
  import dxPivotGridFieldChooser, { Properties } from "devextreme/ui/pivot_grid_field_chooser";
15
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
16
17
  import NestedOption from "./core/nested-option";
17
- interface IPivotGridFieldChooserOptions extends Properties, IHtmlOptions {
18
- }
18
+ declare type IPivotGridFieldChooserOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
19
19
  declare class PivotGridFieldChooser extends BaseComponent<IPivotGridFieldChooserOptions> {
20
20
  get instance(): dxPivotGridFieldChooser;
21
21
  protected _WidgetClass: typeof dxPivotGridFieldChooser;
@@ -35,7 +35,7 @@ declare class PivotGridFieldChooser extends BaseComponent<IPivotGridFieldChooser
35
35
  };
36
36
  };
37
37
  }
38
- interface IHeaderFilterProps {
38
+ declare type IHeaderFilterProps = React.PropsWithChildren<{
39
39
  allowSearch?: any;
40
40
  height?: any;
41
41
  searchTimeout?: any;
@@ -46,7 +46,7 @@ interface IHeaderFilterProps {
46
46
  ok?: any;
47
47
  };
48
48
  width?: any;
49
- }
49
+ }>;
50
50
  declare class HeaderFilter extends NestedOption<IHeaderFilterProps> {
51
51
  static OptionName: string;
52
52
  static ExpectedChildren: {
@@ -60,25 +60,25 @@ declare class HeaderFilter extends NestedOption<IHeaderFilterProps> {
60
60
  };
61
61
  };
62
62
  }
63
- interface IHeaderFilterTextsProps {
63
+ declare type IHeaderFilterTextsProps = React.PropsWithChildren<{
64
64
  cancel?: any;
65
65
  emptyValue?: any;
66
66
  ok?: any;
67
- }
67
+ }>;
68
68
  declare class HeaderFilterTexts extends NestedOption<IHeaderFilterTextsProps> {
69
69
  static OptionName: string;
70
70
  }
71
- interface IPivotGridFieldChooserTextsProps {
71
+ declare type IPivotGridFieldChooserTextsProps = React.PropsWithChildren<{
72
72
  allFields?: any;
73
73
  columnFields?: any;
74
74
  dataFields?: any;
75
75
  filterFields?: any;
76
76
  rowFields?: any;
77
- }
77
+ }>;
78
78
  declare class PivotGridFieldChooserTexts extends NestedOption<IPivotGridFieldChooserTextsProps> {
79
79
  static OptionName: string;
80
80
  }
81
- interface ITextsProps {
81
+ declare type ITextsProps = React.PropsWithChildren<{
82
82
  cancel?: any;
83
83
  emptyValue?: any;
84
84
  ok?: any;
@@ -87,7 +87,7 @@ interface ITextsProps {
87
87
  dataFields?: any;
88
88
  filterFields?: any;
89
89
  rowFields?: any;
90
- }
90
+ }>;
91
91
  declare class Texts extends NestedOption<ITextsProps> {
92
92
  static OptionName: string;
93
93
  }
@@ -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
  *