devextreme-react 23.2.1-alpha-23255-1813 → 23.2.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 (323) hide show
  1. package/cjs/accordion.d.ts +2 -2
  2. package/cjs/accordion.js +3 -2
  3. package/cjs/action-sheet.d.ts +2 -2
  4. package/cjs/action-sheet.js +3 -2
  5. package/cjs/autocomplete.d.ts +2 -2
  6. package/cjs/autocomplete.js +5 -3
  7. package/cjs/bar-gauge.d.ts +22 -22
  8. package/cjs/bar-gauge.js +3 -2
  9. package/cjs/box.d.ts +3 -3
  10. package/cjs/box.js +3 -2
  11. package/cjs/bullet.d.ts +6 -6
  12. package/cjs/bullet.js +3 -2
  13. package/cjs/button-group.d.ts +2 -2
  14. package/cjs/button-group.js +3 -2
  15. package/cjs/button.d.ts +2 -2
  16. package/cjs/button.js +3 -2
  17. package/cjs/calendar.d.ts +4 -4
  18. package/cjs/calendar.js +19 -2
  19. package/cjs/chart.d.ts +133 -134
  20. package/cjs/chart.js +3 -2
  21. package/cjs/check-box.d.ts +2 -2
  22. package/cjs/check-box.js +3 -2
  23. package/cjs/circular-gauge.d.ts +15 -16
  24. package/cjs/circular-gauge.js +3 -2
  25. package/cjs/color-box.d.ts +2 -2
  26. package/cjs/color-box.js +5 -3
  27. package/cjs/common/charts.d.ts +3 -3
  28. package/cjs/common/charts.js +2 -2
  29. package/cjs/common/data/custom-store.d.ts +2 -2
  30. package/cjs/common/data/custom-store.js +2 -2
  31. package/cjs/common/grids.d.ts +2 -2
  32. package/cjs/common/grids.js +2 -2
  33. package/cjs/common/index.d.ts +2 -2
  34. package/cjs/common/index.js +2 -2
  35. package/cjs/context-menu.d.ts +2 -2
  36. package/cjs/context-menu.js +3 -2
  37. package/cjs/core/component-base.d.ts +14 -6
  38. package/cjs/core/component-base.js +84 -33
  39. package/cjs/core/component.d.ts +2 -2
  40. package/cjs/core/component.js +2 -2
  41. package/cjs/core/config.d.ts +2 -2
  42. package/cjs/core/config.js +2 -2
  43. package/cjs/core/configuration/comparer.d.ts +2 -2
  44. package/cjs/core/configuration/comparer.js +2 -2
  45. package/cjs/core/configuration/config-node.d.ts +2 -2
  46. package/cjs/core/configuration/config-node.js +2 -2
  47. package/cjs/core/configuration/react/element.d.ts +2 -2
  48. package/cjs/core/configuration/react/element.js +2 -2
  49. package/cjs/core/configuration/react/templates.d.ts +2 -2
  50. package/cjs/core/configuration/react/templates.js +2 -2
  51. package/cjs/core/configuration/react/tree.d.ts +2 -2
  52. package/cjs/core/configuration/react/tree.js +2 -2
  53. package/cjs/core/configuration/tree.d.ts +2 -2
  54. package/cjs/core/configuration/tree.js +2 -2
  55. package/cjs/core/configuration/utils.d.ts +2 -2
  56. package/cjs/core/configuration/utils.js +2 -2
  57. package/cjs/core/extension-component.d.ts +2 -2
  58. package/cjs/core/extension-component.js +2 -2
  59. package/cjs/core/helpers.d.ts +14 -3
  60. package/cjs/core/helpers.js +155 -4
  61. package/cjs/core/nested-option.d.ts +2 -2
  62. package/cjs/core/nested-option.js +2 -2
  63. package/cjs/core/options-manager.d.ts +7 -7
  64. package/cjs/core/options-manager.js +33 -20
  65. package/cjs/core/template-manager.d.ts +16 -0
  66. package/cjs/core/template-manager.js +182 -0
  67. package/cjs/core/template-wrapper.d.ts +4 -29
  68. package/cjs/core/template-wrapper.js +94 -98
  69. package/cjs/core/template.d.ts +2 -2
  70. package/cjs/core/template.js +2 -2
  71. package/cjs/core/types.d.ts +69 -0
  72. package/cjs/core/types.js +15 -0
  73. package/cjs/core/widget-config.d.ts +2 -2
  74. package/cjs/core/widget-config.js +2 -2
  75. package/cjs/data-grid.d.ts +23 -30
  76. package/cjs/data-grid.js +3 -2
  77. package/cjs/date-box.d.ts +13 -13
  78. package/cjs/date-box.js +20 -3
  79. package/cjs/date-range-box.d.ts +17 -17
  80. package/cjs/date-range-box.js +25 -3
  81. package/cjs/defer-rendering.d.ts +5 -3
  82. package/cjs/defer-rendering.js +3 -2
  83. package/cjs/diagram.d.ts +2 -2
  84. package/cjs/diagram.js +3 -2
  85. package/cjs/draggable.d.ts +2 -2
  86. package/cjs/draggable.js +3 -2
  87. package/cjs/drawer.d.ts +2 -2
  88. package/cjs/drawer.js +3 -2
  89. package/cjs/drop-down-box.d.ts +2 -2
  90. package/cjs/drop-down-box.js +5 -3
  91. package/cjs/drop-down-button.d.ts +3 -10
  92. package/cjs/drop-down-button.js +12 -2
  93. package/cjs/file-manager.d.ts +2 -2
  94. package/cjs/file-manager.js +3 -2
  95. package/cjs/file-uploader.d.ts +2 -2
  96. package/cjs/file-uploader.js +3 -2
  97. package/cjs/filter-builder.d.ts +8 -8
  98. package/cjs/filter-builder.js +3 -2
  99. package/cjs/form.d.ts +8 -8
  100. package/cjs/form.js +3 -2
  101. package/cjs/funnel.d.ts +20 -20
  102. package/cjs/funnel.js +3 -2
  103. package/cjs/gallery.d.ts +2 -2
  104. package/cjs/gallery.js +3 -2
  105. package/cjs/gantt.d.ts +6 -6
  106. package/cjs/gantt.js +5 -2
  107. package/cjs/html-editor.d.ts +2 -2
  108. package/cjs/html-editor.js +3 -2
  109. package/cjs/index.d.ts +2 -2
  110. package/cjs/index.js +2 -2
  111. package/cjs/linear-gauge.d.ts +15 -16
  112. package/cjs/linear-gauge.js +3 -2
  113. package/cjs/list.d.ts +3 -3
  114. package/cjs/list.js +3 -2
  115. package/cjs/load-indicator.d.ts +2 -2
  116. package/cjs/load-indicator.js +3 -2
  117. package/cjs/load-panel.d.ts +2 -2
  118. package/cjs/load-panel.js +3 -2
  119. package/cjs/lookup.d.ts +2 -2
  120. package/cjs/lookup.js +5 -3
  121. package/cjs/map.d.ts +2 -2
  122. package/cjs/map.js +3 -2
  123. package/cjs/menu.d.ts +2 -2
  124. package/cjs/menu.js +3 -2
  125. package/cjs/multi-view.d.ts +2 -2
  126. package/cjs/multi-view.js +3 -2
  127. package/cjs/number-box.d.ts +4 -4
  128. package/cjs/number-box.js +5 -3
  129. package/cjs/pie-chart.d.ts +28 -29
  130. package/cjs/pie-chart.js +3 -2
  131. package/cjs/pivot-grid-field-chooser.d.ts +2 -2
  132. package/cjs/pivot-grid-field-chooser.js +3 -2
  133. package/cjs/pivot-grid.d.ts +2 -2
  134. package/cjs/pivot-grid.js +3 -2
  135. package/cjs/polar-chart.d.ts +95 -95
  136. package/cjs/polar-chart.js +3 -2
  137. package/cjs/popover.d.ts +2 -2
  138. package/cjs/popover.js +3 -2
  139. package/cjs/popup.d.ts +2 -2
  140. package/cjs/popup.js +3 -2
  141. package/cjs/progress-bar.d.ts +2 -2
  142. package/cjs/progress-bar.js +3 -2
  143. package/cjs/radio-group.d.ts +2 -2
  144. package/cjs/radio-group.js +3 -2
  145. package/cjs/range-selector.d.ts +49 -50
  146. package/cjs/range-selector.js +3 -2
  147. package/cjs/range-slider.d.ts +4 -4
  148. package/cjs/range-slider.js +3 -2
  149. package/cjs/recurrence-editor.d.ts +2 -2
  150. package/cjs/recurrence-editor.js +3 -2
  151. package/cjs/resizable.d.ts +2 -2
  152. package/cjs/resizable.js +3 -2
  153. package/cjs/responsive-box.d.ts +4 -4
  154. package/cjs/responsive-box.js +3 -2
  155. package/cjs/sankey.d.ts +11 -11
  156. package/cjs/sankey.js +3 -2
  157. package/cjs/scheduler.d.ts +6 -5
  158. package/cjs/scheduler.js +19 -2
  159. package/cjs/scroll-view.d.ts +2 -2
  160. package/cjs/scroll-view.js +3 -2
  161. package/cjs/select-box.d.ts +2 -2
  162. package/cjs/select-box.js +5 -3
  163. package/cjs/slider.d.ts +4 -4
  164. package/cjs/slider.js +3 -2
  165. package/cjs/sortable.d.ts +2 -2
  166. package/cjs/sortable.js +3 -2
  167. package/cjs/sparkline.d.ts +6 -6
  168. package/cjs/sparkline.js +3 -2
  169. package/cjs/speed-dial-action.d.ts +2 -2
  170. package/cjs/speed-dial-action.js +3 -2
  171. package/cjs/switch.d.ts +2 -2
  172. package/cjs/switch.js +3 -2
  173. package/cjs/tab-panel.d.ts +2 -2
  174. package/cjs/tab-panel.js +3 -2
  175. package/cjs/tabs.d.ts +2 -2
  176. package/cjs/tabs.js +3 -2
  177. package/cjs/tag-box.d.ts +2 -2
  178. package/cjs/tag-box.js +5 -3
  179. package/cjs/text-area.d.ts +2 -2
  180. package/cjs/text-area.js +5 -3
  181. package/cjs/text-box.d.ts +2 -2
  182. package/cjs/text-box.js +5 -3
  183. package/cjs/tile-view.d.ts +2 -2
  184. package/cjs/tile-view.js +3 -2
  185. package/cjs/toast.d.ts +2 -2
  186. package/cjs/toast.js +3 -2
  187. package/cjs/toolbar.d.ts +2 -2
  188. package/cjs/toolbar.js +3 -2
  189. package/cjs/tooltip.d.ts +2 -2
  190. package/cjs/tooltip.js +3 -2
  191. package/cjs/tree-list.d.ts +14 -14
  192. package/cjs/tree-list.js +3 -2
  193. package/cjs/tree-map.d.ts +15 -15
  194. package/cjs/tree-map.js +3 -2
  195. package/cjs/tree-view.d.ts +3 -3
  196. package/cjs/tree-view.js +3 -2
  197. package/cjs/validation-group.d.ts +2 -2
  198. package/cjs/validation-group.js +3 -2
  199. package/cjs/validation-summary.d.ts +2 -2
  200. package/cjs/validation-summary.js +3 -2
  201. package/cjs/validator.d.ts +8 -8
  202. package/cjs/validator.js +3 -2
  203. package/cjs/vector-map.d.ts +21 -21
  204. package/cjs/vector-map.js +3 -2
  205. package/core/component/package.json +6 -0
  206. package/core/config/package.json +6 -0
  207. package/core/extension-component/package.json +6 -0
  208. package/core/nested-option/package.json +6 -0
  209. package/esm/accordion.js +3 -2
  210. package/esm/action-sheet.js +3 -2
  211. package/esm/autocomplete.js +5 -3
  212. package/esm/bar-gauge.js +3 -2
  213. package/esm/box.js +3 -2
  214. package/esm/bullet.js +3 -2
  215. package/esm/button-group.js +3 -2
  216. package/esm/button.js +3 -2
  217. package/esm/calendar.js +19 -2
  218. package/esm/chart.js +3 -2
  219. package/esm/check-box.js +3 -2
  220. package/esm/circular-gauge.js +3 -2
  221. package/esm/color-box.js +5 -3
  222. package/esm/common/charts.js +2 -2
  223. package/esm/common/data/custom-store.js +2 -2
  224. package/esm/common/grids.js +2 -2
  225. package/esm/common/index.js +2 -2
  226. package/esm/context-menu.js +3 -2
  227. package/esm/core/component-base.js +85 -31
  228. package/esm/core/component.js +2 -2
  229. package/esm/core/config.js +2 -2
  230. package/esm/core/configuration/comparer.js +2 -2
  231. package/esm/core/configuration/config-node.js +2 -2
  232. package/esm/core/configuration/react/element.js +2 -2
  233. package/esm/core/configuration/react/templates.js +2 -2
  234. package/esm/core/configuration/react/tree.js +2 -2
  235. package/esm/core/configuration/tree.js +2 -2
  236. package/esm/core/configuration/utils.js +2 -2
  237. package/esm/core/extension-component.js +2 -2
  238. package/esm/core/helpers.js +154 -3
  239. package/esm/core/nested-option.js +2 -2
  240. package/esm/core/options-manager.js +33 -20
  241. package/esm/core/template-manager.js +159 -0
  242. package/esm/core/template-wrapper.js +94 -98
  243. package/esm/core/template.js +2 -2
  244. package/esm/core/types.js +14 -0
  245. package/esm/core/widget-config.js +2 -2
  246. package/esm/data-grid.js +3 -2
  247. package/esm/date-box.js +20 -3
  248. package/esm/date-range-box.js +25 -3
  249. package/esm/defer-rendering.js +3 -2
  250. package/esm/diagram.js +3 -2
  251. package/esm/draggable.js +3 -2
  252. package/esm/drawer.js +3 -2
  253. package/esm/drop-down-box.js +5 -3
  254. package/esm/drop-down-button.js +12 -2
  255. package/esm/file-manager.js +3 -2
  256. package/esm/file-uploader.js +3 -2
  257. package/esm/filter-builder.js +3 -2
  258. package/esm/form.js +3 -2
  259. package/esm/funnel.js +3 -2
  260. package/esm/gallery.js +3 -2
  261. package/esm/gantt.js +5 -2
  262. package/esm/html-editor.js +3 -2
  263. package/esm/index.js +2 -2
  264. package/esm/linear-gauge.js +3 -2
  265. package/esm/list.js +3 -2
  266. package/esm/load-indicator.js +3 -2
  267. package/esm/load-panel.js +3 -2
  268. package/esm/lookup.js +5 -3
  269. package/esm/map.js +3 -2
  270. package/esm/menu.js +3 -2
  271. package/esm/multi-view.js +3 -2
  272. package/esm/number-box.js +5 -3
  273. package/esm/pie-chart.js +3 -2
  274. package/esm/pivot-grid-field-chooser.js +3 -2
  275. package/esm/pivot-grid.js +3 -2
  276. package/esm/polar-chart.js +3 -2
  277. package/esm/popover.js +3 -2
  278. package/esm/popup.js +3 -2
  279. package/esm/progress-bar.js +3 -2
  280. package/esm/radio-group.js +3 -2
  281. package/esm/range-selector.js +3 -2
  282. package/esm/range-slider.js +3 -2
  283. package/esm/recurrence-editor.js +3 -2
  284. package/esm/resizable.js +3 -2
  285. package/esm/responsive-box.js +3 -2
  286. package/esm/sankey.js +3 -2
  287. package/esm/scheduler.js +19 -2
  288. package/esm/scroll-view.js +3 -2
  289. package/esm/select-box.js +5 -3
  290. package/esm/slider.js +3 -2
  291. package/esm/sortable.js +3 -2
  292. package/esm/sparkline.js +3 -2
  293. package/esm/speed-dial-action.js +3 -2
  294. package/esm/switch.js +3 -2
  295. package/esm/tab-panel.js +3 -2
  296. package/esm/tabs.js +3 -2
  297. package/esm/tag-box.js +5 -3
  298. package/esm/text-area.js +5 -3
  299. package/esm/text-box.js +5 -3
  300. package/esm/tile-view.js +3 -2
  301. package/esm/toast.js +3 -2
  302. package/esm/toolbar.js +3 -2
  303. package/esm/tooltip.js +3 -2
  304. package/esm/tree-list.js +3 -2
  305. package/esm/tree-map.js +3 -2
  306. package/esm/tree-view.js +3 -2
  307. package/esm/validation-group.js +3 -2
  308. package/esm/validation-summary.js +3 -2
  309. package/esm/validator.js +3 -2
  310. package/esm/vector-map.js +3 -2
  311. package/package.json +6 -7
  312. package/cjs/core/dx-template.d.ts +0 -26
  313. package/cjs/core/dx-template.js +0 -99
  314. package/cjs/core/templates-manager.d.ts +0 -25
  315. package/cjs/core/templates-manager.js +0 -88
  316. package/cjs/core/templates-renderer.d.ts +0 -28
  317. package/cjs/core/templates-renderer.js +0 -103
  318. package/cjs/core/templates-store.d.ts +0 -24
  319. package/cjs/core/templates-store.js +0 -50
  320. package/esm/core/dx-template.js +0 -77
  321. package/esm/core/templates-manager.js +0 -67
  322. package/esm/core/templates-renderer.js +0 -81
  323. package/esm/core/templates-store.js +0 -47
package/cjs/chart.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.2.1-alpha-23255-1813
4
- * Build date: Tue Sep 12 2023
3
+ * Version: 23.2.3
4
+ * Build date: Tue Nov 28 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,12 +16,11 @@ import dxChart, { Properties } from "devextreme/viz/chart";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ArgumentAxisClickEvent, DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, LegendClickEvent, PointClickEvent, SeriesClickEvent, TooltipHiddenEvent, TooltipShownEvent, ZoomEndEvent, ZoomStartEvent, chartPointAggregationInfoObject, chartSeriesObject, dxChartAnnotationConfig, chartPointObject } from "devextreme/viz/chart";
19
+ import type { Font as ChartsFont, ScaleBreak, ChartsColor } from "devextreme/common/charts";
19
20
  import type { template } from "devextreme/core/templates/template";
20
- import type { ScaleBreak, ChartsColor } from "devextreme/common/charts";
21
21
  import type { BaseChartLegendItem } from "devextreme/viz/chart_components/base_chart";
22
22
  import type { ChartSeries } from "devextreme/viz/common";
23
23
  import type * as CommonChartTypes from "devextreme/common/charts";
24
- import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
25
24
  import type * as LocalizationTypes from "devextreme/localization";
26
25
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
27
26
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
@@ -203,7 +202,7 @@ declare class Animation extends NestedOption<IAnimationProps> {
203
202
  }
204
203
  declare type IAnnotationProps = React.PropsWithChildren<{
205
204
  allowDragging?: boolean;
206
- argument?: any | number | string;
205
+ argument?: Date | number | string;
207
206
  arrowLength?: number;
208
207
  arrowWidth?: number;
209
208
  axis?: string;
@@ -219,7 +218,7 @@ declare type IAnnotationProps = React.PropsWithChildren<{
219
218
  customizeTooltip?: ((annotation: dxChartAnnotationConfig | any) => Record<string, any>);
220
219
  data?: any;
221
220
  description?: string;
222
- font?: BaseWidgetTypes.Font;
221
+ font?: ChartsFont;
223
222
  height?: number;
224
223
  image?: Record<string, any> | string | {
225
224
  height?: number;
@@ -246,7 +245,7 @@ declare type IAnnotationProps = React.PropsWithChildren<{
246
245
  tooltipEnabled?: boolean;
247
246
  tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
248
247
  type?: "text" | "image" | "custom";
249
- value?: any | number | string;
248
+ value?: Date | number | string;
250
249
  width?: number;
251
250
  wordWrap?: "normal" | "breakWord" | "none";
252
251
  x?: number;
@@ -332,15 +331,15 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
332
331
  argumentType?: "datetime" | "numeric" | "string";
333
332
  axisDivisionFactor?: number;
334
333
  breaks?: Array<ScaleBreak> | {
335
- endValue?: any | number | string;
336
- startValue?: any | number | string;
334
+ endValue?: Date | number | string;
335
+ startValue?: Date | number | string;
337
336
  }[];
338
337
  breakStyle?: Record<string, any> | {
339
338
  color?: string;
340
339
  line?: "straight" | "waved";
341
340
  width?: number;
342
341
  };
343
- categories?: Array<any | number | string>;
342
+ categories?: Array<Date | number | string>;
344
343
  color?: string;
345
344
  constantLines?: Array<Record<string, any>> | {
346
345
  color?: string;
@@ -348,7 +347,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
348
347
  displayBehindSeries?: boolean;
349
348
  extendAxis?: boolean;
350
349
  label?: Record<string, any> | {
351
- font?: BaseWidgetTypes.Font;
350
+ font?: ChartsFont;
352
351
  horizontalAlignment?: "center" | "left" | "right";
353
352
  position?: "inside" | "outside";
354
353
  text?: string;
@@ -357,14 +356,14 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
357
356
  };
358
357
  paddingLeftRight?: number;
359
358
  paddingTopBottom?: number;
360
- value?: any | number | string;
359
+ value?: Date | number | string;
361
360
  width?: number;
362
361
  }[];
363
362
  constantLineStyle?: Record<string, any> | {
364
363
  color?: string;
365
364
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
366
365
  label?: Record<string, any> | {
367
- font?: BaseWidgetTypes.Font;
366
+ font?: ChartsFont;
368
367
  horizontalAlignment?: "center" | "left" | "right";
369
368
  position?: "inside" | "outside";
370
369
  verticalAlignment?: "bottom" | "center" | "top";
@@ -374,7 +373,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
374
373
  paddingTopBottom?: number;
375
374
  width?: number;
376
375
  };
377
- customPosition?: any | number | string;
376
+ customPosition?: Date | number | string;
378
377
  customPositionAxis?: string;
379
378
  discreteAxisDivisionMode?: "betweenLabels" | "crossLabels";
380
379
  endOnTick?: boolean;
@@ -384,21 +383,21 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
384
383
  visible?: boolean;
385
384
  width?: number;
386
385
  };
387
- holidays?: Array<any | string> | Array<number>;
386
+ holidays?: Array<Date | string> | Array<number>;
388
387
  hoverMode?: "allArgumentPoints" | "none";
389
388
  inverted?: boolean;
390
389
  label?: Record<string, any> | {
391
390
  alignment?: "center" | "left" | "right";
392
391
  customizeHint?: ((argument: {
393
- value: any | number | string;
392
+ value: Date | number | string;
394
393
  valueText: string;
395
394
  }) => string);
396
395
  customizeText?: ((argument: {
397
- value: any | number | string;
396
+ value: Date | number | string;
398
397
  valueText: string;
399
398
  }) => string);
400
399
  displayMode?: "rotate" | "stagger" | "standard";
401
- font?: BaseWidgetTypes.Font;
400
+ font?: ChartsFont;
402
401
  format?: LocalizationTypes.Format;
403
402
  indentFromAxis?: number;
404
403
  overlappingBehavior?: "rotate" | "stagger" | "none" | "hide";
@@ -406,7 +405,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
406
405
  rotationAngle?: number;
407
406
  staggeringSpacing?: number;
408
407
  template?: ((data: {
409
- value: any | number | string;
408
+ value: Date | number | string;
410
409
  valueText: string;
411
410
  }, element: any) => string | any) | template;
412
411
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -458,23 +457,23 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
458
457
  opacity?: number;
459
458
  placeholderSize?: number;
460
459
  position?: "bottom" | "left" | "right" | "top";
461
- singleWorkdays?: Array<any | string> | Array<number>;
460
+ singleWorkdays?: Array<Date | string> | Array<number>;
462
461
  strips?: Array<Record<string, any>> | {
463
462
  color?: string;
464
- endValue?: any | number | string;
463
+ endValue?: Date | number | string;
465
464
  label?: Record<string, any> | {
466
- font?: BaseWidgetTypes.Font;
465
+ font?: ChartsFont;
467
466
  horizontalAlignment?: "center" | "left" | "right";
468
467
  text?: string;
469
468
  verticalAlignment?: "bottom" | "center" | "top";
470
469
  };
471
470
  paddingLeftRight?: number;
472
471
  paddingTopBottom?: number;
473
- startValue?: any | number | string;
472
+ startValue?: Date | number | string;
474
473
  }[];
475
474
  stripStyle?: Record<string, any> | {
476
475
  label?: Record<string, any> | {
477
- font?: BaseWidgetTypes.Font;
476
+ font?: ChartsFont;
478
477
  horizontalAlignment?: "center" | "left" | "right";
479
478
  verticalAlignment?: "bottom" | "center" | "top";
480
479
  };
@@ -502,7 +501,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
502
501
  };
503
502
  title?: Record<string, any> | string | {
504
503
  alignment?: "center" | "left" | "right";
505
- font?: BaseWidgetTypes.Font;
504
+ font?: ChartsFont;
506
505
  margin?: number;
507
506
  text?: string;
508
507
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -511,16 +510,16 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
511
510
  type?: "continuous" | "discrete" | "logarithmic";
512
511
  valueMarginsEnabled?: boolean;
513
512
  visible?: boolean;
514
- visualRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
513
+ visualRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
515
514
  visualRangeUpdateMode?: "auto" | "keep" | "reset" | "shift";
516
- wholeRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
515
+ wholeRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
517
516
  width?: number;
518
517
  workdaysOnly?: boolean;
519
518
  workWeek?: Array<number>;
520
- defaultCategories?: Array<any | number | string>;
521
- onCategoriesChange?: (value: Array<any | number | string>) => void;
522
- defaultVisualRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
523
- onVisualRangeChange?: (value: Array<any | number | string> | CommonChartTypes.VisualRange) => void;
519
+ defaultCategories?: Array<Date | number | string>;
520
+ onCategoriesChange?: (value: Array<Date | number | string>) => void;
521
+ defaultVisualRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
522
+ onVisualRangeChange?: (value: Array<Date | number | string> | CommonChartTypes.VisualRange) => void;
524
523
  }>;
525
524
  declare class ArgumentAxis extends NestedOption<IArgumentAxisProps> {
526
525
  static OptionName: string;
@@ -617,8 +616,8 @@ declare class ArgumentAxis extends NestedOption<IArgumentAxisProps> {
617
616
  }
618
617
  declare type IArgumentFormatProps = React.PropsWithChildren<{
619
618
  currency?: string;
620
- formatter?: ((value: number | any) => string);
621
- parser?: ((value: string) => number | any);
619
+ formatter?: ((value: number | Date) => string);
620
+ parser?: ((value: string) => number | Date);
622
621
  precision?: number;
623
622
  type?: "billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime";
624
623
  useCurrencyAccountingStyle?: boolean;
@@ -630,7 +629,7 @@ declare type IAxisConstantLineStyleProps = React.PropsWithChildren<{
630
629
  color?: string;
631
630
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
632
631
  label?: Record<string, any> | {
633
- font?: BaseWidgetTypes.Font;
632
+ font?: ChartsFont;
634
633
  horizontalAlignment?: "center" | "left" | "right";
635
634
  position?: "inside" | "outside";
636
635
  verticalAlignment?: "bottom" | "center" | "top";
@@ -644,7 +643,7 @@ declare class AxisConstantLineStyle extends NestedOption<IAxisConstantLineStyleP
644
643
  static OptionName: string;
645
644
  }
646
645
  declare type IAxisConstantLineStyleLabelProps = React.PropsWithChildren<{
647
- font?: BaseWidgetTypes.Font;
646
+ font?: ChartsFont;
648
647
  horizontalAlignment?: "center" | "left" | "right";
649
648
  position?: "inside" | "outside";
650
649
  verticalAlignment?: "bottom" | "center" | "top";
@@ -656,15 +655,15 @@ declare class AxisConstantLineStyleLabel extends NestedOption<IAxisConstantLineS
656
655
  declare type IAxisLabelProps = React.PropsWithChildren<{
657
656
  alignment?: "center" | "left" | "right";
658
657
  customizeHint?: ((argument: {
659
- value: any | number | string;
658
+ value: Date | number | string;
660
659
  valueText: string;
661
660
  }) => string);
662
661
  customizeText?: ((argument: {
663
- value: any | number | string;
662
+ value: Date | number | string;
664
663
  valueText: string;
665
664
  }) => string);
666
665
  displayMode?: "rotate" | "stagger" | "standard";
667
- font?: BaseWidgetTypes.Font;
666
+ font?: ChartsFont;
668
667
  format?: LocalizationTypes.Format;
669
668
  indentFromAxis?: number;
670
669
  overlappingBehavior?: "rotate" | "stagger" | "none" | "hide";
@@ -672,7 +671,7 @@ declare type IAxisLabelProps = React.PropsWithChildren<{
672
671
  rotationAngle?: number;
673
672
  staggeringSpacing?: number;
674
673
  template?: ((data: {
675
- value: any | number | string;
674
+ value: Date | number | string;
676
675
  valueText: string;
677
676
  }, element: any) => string | any) | template;
678
677
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -693,7 +692,7 @@ declare class AxisLabel extends NestedOption<IAxisLabelProps> {
693
692
  }
694
693
  declare type IAxisTitleProps = React.PropsWithChildren<{
695
694
  alignment?: "center" | "left" | "right";
696
- font?: BaseWidgetTypes.Font;
695
+ font?: ChartsFont;
697
696
  margin?: number;
698
697
  text?: string;
699
698
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -725,8 +724,8 @@ declare class Border extends NestedOption<IBorderProps> {
725
724
  static OptionName: string;
726
725
  }
727
726
  declare type IBreakProps = React.PropsWithChildren<{
728
- endValue?: any | number | string;
729
- startValue?: any | number | string;
727
+ endValue?: Date | number | string;
728
+ startValue?: Date | number | string;
730
729
  }>;
731
730
  declare class Break extends NestedOption<IBreakProps> {
732
731
  static OptionName: string;
@@ -741,7 +740,7 @@ declare class BreakStyle extends NestedOption<IBreakStyleProps> {
741
740
  static OptionName: string;
742
741
  }
743
742
  declare type IChartTitleProps = React.PropsWithChildren<{
744
- font?: BaseWidgetTypes.Font;
743
+ font?: ChartsFont;
745
744
  horizontalAlignment?: "center" | "left" | "right";
746
745
  margin?: number | Record<string, any> | {
747
746
  bottom?: number;
@@ -751,7 +750,7 @@ declare type IChartTitleProps = React.PropsWithChildren<{
751
750
  };
752
751
  placeholderSize?: number;
753
752
  subtitle?: Record<string, any> | string | {
754
- font?: BaseWidgetTypes.Font;
753
+ font?: ChartsFont;
755
754
  offset?: number;
756
755
  text?: string;
757
756
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -784,7 +783,7 @@ declare class ChartTitle extends NestedOption<IChartTitleProps> {
784
783
  };
785
784
  }
786
785
  declare type IChartTitleSubtitleProps = React.PropsWithChildren<{
787
- font?: BaseWidgetTypes.Font;
786
+ font?: ChartsFont;
788
787
  offset?: number;
789
788
  text?: string;
790
789
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -808,7 +807,7 @@ declare class Color extends NestedOption<IColorProps> {
808
807
  }
809
808
  declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
810
809
  allowDragging?: boolean;
811
- argument?: any | number | string;
810
+ argument?: Date | number | string;
812
811
  arrowLength?: number;
813
812
  arrowWidth?: number;
814
813
  axis?: string;
@@ -824,7 +823,7 @@ declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
824
823
  customizeTooltip?: ((annotation: dxChartAnnotationConfig | any) => Record<string, any>);
825
824
  data?: any;
826
825
  description?: string;
827
- font?: BaseWidgetTypes.Font;
826
+ font?: ChartsFont;
828
827
  height?: number;
829
828
  image?: Record<string, any> | string | {
830
829
  height?: number;
@@ -850,7 +849,7 @@ declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
850
849
  tooltipEnabled?: boolean;
851
850
  tooltipTemplate?: ((annotation: dxChartAnnotationConfig | any, element: any) => string | any) | template;
852
851
  type?: "text" | "image" | "custom";
853
- value?: any | number | string;
852
+ value?: Date | number | string;
854
853
  width?: number;
855
854
  wordWrap?: "normal" | "breakWord" | "none";
856
855
  x?: number;
@@ -884,7 +883,7 @@ declare type ICommonAxisSettingsProps = React.PropsWithChildren<{
884
883
  color?: string;
885
884
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
886
885
  label?: Record<string, any> | {
887
- font?: BaseWidgetTypes.Font;
886
+ font?: ChartsFont;
888
887
  position?: "inside" | "outside";
889
888
  visible?: boolean;
890
889
  };
@@ -904,14 +903,14 @@ declare type ICommonAxisSettingsProps = React.PropsWithChildren<{
904
903
  label?: Record<string, any> | {
905
904
  alignment?: "center" | "left" | "right";
906
905
  displayMode?: "rotate" | "stagger" | "standard";
907
- font?: BaseWidgetTypes.Font;
906
+ font?: ChartsFont;
908
907
  indentFromAxis?: number;
909
908
  overlappingBehavior?: "rotate" | "stagger" | "none" | "hide";
910
909
  position?: "inside" | "outside" | "bottom" | "left" | "right" | "top";
911
910
  rotationAngle?: number;
912
911
  staggeringSpacing?: number;
913
912
  template?: ((data: {
914
- value: any | number | string;
913
+ value: Date | number | string;
915
914
  valueText: string;
916
915
  }, element: any) => string | any) | template;
917
916
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -938,7 +937,7 @@ declare type ICommonAxisSettingsProps = React.PropsWithChildren<{
938
937
  placeholderSize?: number;
939
938
  stripStyle?: Record<string, any> | {
940
939
  label?: Record<string, any> | {
941
- font?: BaseWidgetTypes.Font;
940
+ font?: ChartsFont;
942
941
  horizontalAlignment?: "center" | "left" | "right";
943
942
  verticalAlignment?: "bottom" | "center" | "top";
944
943
  };
@@ -955,7 +954,7 @@ declare type ICommonAxisSettingsProps = React.PropsWithChildren<{
955
954
  };
956
955
  title?: Record<string, any> | {
957
956
  alignment?: "center" | "left" | "right";
958
- font?: BaseWidgetTypes.Font;
957
+ font?: ChartsFont;
959
958
  margin?: number;
960
959
  textOverflow?: "ellipsis" | "hide" | "none";
961
960
  wordWrap?: "normal" | "breakWord" | "none";
@@ -997,7 +996,7 @@ declare type ICommonAxisSettingsConstantLineStyleProps = React.PropsWithChildren
997
996
  color?: string;
998
997
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
999
998
  label?: Record<string, any> | {
1000
- font?: BaseWidgetTypes.Font;
999
+ font?: ChartsFont;
1001
1000
  position?: "inside" | "outside";
1002
1001
  visible?: boolean;
1003
1002
  };
@@ -1019,7 +1018,7 @@ declare class CommonAxisSettingsConstantLineStyle extends NestedOption<ICommonAx
1019
1018
  };
1020
1019
  }
1021
1020
  declare type ICommonAxisSettingsConstantLineStyleLabelProps = React.PropsWithChildren<{
1022
- font?: BaseWidgetTypes.Font;
1021
+ font?: ChartsFont;
1023
1022
  position?: "inside" | "outside";
1024
1023
  visible?: boolean;
1025
1024
  }>;
@@ -1029,14 +1028,14 @@ declare class CommonAxisSettingsConstantLineStyleLabel extends NestedOption<ICom
1029
1028
  declare type ICommonAxisSettingsLabelProps = React.PropsWithChildren<{
1030
1029
  alignment?: "center" | "left" | "right";
1031
1030
  displayMode?: "rotate" | "stagger" | "standard";
1032
- font?: BaseWidgetTypes.Font;
1031
+ font?: ChartsFont;
1033
1032
  indentFromAxis?: number;
1034
1033
  overlappingBehavior?: "rotate" | "stagger" | "none" | "hide";
1035
1034
  position?: "inside" | "outside" | "bottom" | "left" | "right" | "top";
1036
1035
  rotationAngle?: number;
1037
1036
  staggeringSpacing?: number;
1038
1037
  template?: ((data: {
1039
- value: any | number | string;
1038
+ value: Date | number | string;
1040
1039
  valueText: string;
1041
1040
  }, element: any) => string | any) | template;
1042
1041
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -1057,7 +1056,7 @@ declare class CommonAxisSettingsLabel extends NestedOption<ICommonAxisSettingsLa
1057
1056
  }
1058
1057
  declare type ICommonAxisSettingsTitleProps = React.PropsWithChildren<{
1059
1058
  alignment?: "center" | "left" | "right";
1060
- font?: BaseWidgetTypes.Font;
1059
+ font?: ChartsFont;
1061
1060
  margin?: number;
1062
1061
  textOverflow?: "ellipsis" | "hide" | "none";
1063
1062
  wordWrap?: "normal" | "breakWord" | "none";
@@ -1165,7 +1164,7 @@ declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
1165
1164
  };
1166
1165
  customizeText?: ((pointInfo: any) => string);
1167
1166
  displayFormat?: string;
1168
- font?: BaseWidgetTypes.Font;
1167
+ font?: ChartsFont;
1169
1168
  format?: LocalizationTypes.Format;
1170
1169
  horizontalOffset?: number;
1171
1170
  position?: "inside" | "outside";
@@ -1397,7 +1396,7 @@ declare type ICommonSeriesSettingsLabelProps = React.PropsWithChildren<{
1397
1396
  };
1398
1397
  customizeText?: ((pointInfo: any) => string);
1399
1398
  displayFormat?: string;
1400
- font?: BaseWidgetTypes.Font;
1399
+ font?: ChartsFont;
1401
1400
  format?: LocalizationTypes.Format;
1402
1401
  horizontalOffset?: number;
1403
1402
  position?: "inside" | "outside";
@@ -1488,7 +1487,7 @@ declare type IConstantLineProps = React.PropsWithChildren<{
1488
1487
  displayBehindSeries?: boolean;
1489
1488
  extendAxis?: boolean;
1490
1489
  label?: Record<string, any> | {
1491
- font?: BaseWidgetTypes.Font;
1490
+ font?: ChartsFont;
1492
1491
  horizontalAlignment?: "center" | "left" | "right";
1493
1492
  position?: "inside" | "outside";
1494
1493
  text?: string;
@@ -1497,7 +1496,7 @@ declare type IConstantLineProps = React.PropsWithChildren<{
1497
1496
  };
1498
1497
  paddingLeftRight?: number;
1499
1498
  paddingTopBottom?: number;
1500
- value?: any | number | string;
1499
+ value?: Date | number | string;
1501
1500
  width?: number;
1502
1501
  }>;
1503
1502
  declare class ConstantLine extends NestedOption<IConstantLineProps> {
@@ -1505,7 +1504,7 @@ declare class ConstantLine extends NestedOption<IConstantLineProps> {
1505
1504
  static IsCollectionItem: boolean;
1506
1505
  }
1507
1506
  declare type IConstantLineLabelProps = React.PropsWithChildren<{
1508
- font?: BaseWidgetTypes.Font;
1507
+ font?: ChartsFont;
1509
1508
  horizontalAlignment?: "center" | "left" | "right";
1510
1509
  position?: "inside" | "outside";
1511
1510
  text?: string;
@@ -1519,7 +1518,7 @@ declare type IConstantLineStyleProps = React.PropsWithChildren<{
1519
1518
  color?: string;
1520
1519
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
1521
1520
  label?: Record<string, any> | {
1522
- font?: BaseWidgetTypes.Font;
1521
+ font?: ChartsFont;
1523
1522
  horizontalAlignment?: "center" | "left" | "right";
1524
1523
  position?: "inside" | "outside";
1525
1524
  verticalAlignment?: "bottom" | "center" | "top";
@@ -1543,10 +1542,10 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1543
1542
  backgroundColor?: string;
1544
1543
  customizeText?: ((info: {
1545
1544
  point: chartPointObject;
1546
- value: any | number | string;
1545
+ value: Date | number | string;
1547
1546
  valueText: string;
1548
1547
  }) => string);
1549
- font?: BaseWidgetTypes.Font;
1548
+ font?: ChartsFont;
1550
1549
  format?: LocalizationTypes.Format;
1551
1550
  visible?: boolean;
1552
1551
  };
@@ -1558,10 +1557,10 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1558
1557
  backgroundColor?: string;
1559
1558
  customizeText?: ((info: {
1560
1559
  point: chartPointObject;
1561
- value: any | number | string;
1560
+ value: Date | number | string;
1562
1561
  valueText: string;
1563
1562
  }) => string);
1564
- font?: BaseWidgetTypes.Font;
1563
+ font?: ChartsFont;
1565
1564
  format?: LocalizationTypes.Format;
1566
1565
  visible?: boolean;
1567
1566
  };
@@ -1573,10 +1572,10 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1573
1572
  backgroundColor?: string;
1574
1573
  customizeText?: ((info: {
1575
1574
  point: chartPointObject;
1576
- value: any | number | string;
1575
+ value: Date | number | string;
1577
1576
  valueText: string;
1578
1577
  }) => string);
1579
- font?: BaseWidgetTypes.Font;
1578
+ font?: ChartsFont;
1580
1579
  format?: LocalizationTypes.Format;
1581
1580
  visible?: boolean;
1582
1581
  };
@@ -1646,8 +1645,8 @@ declare class Font extends NestedOption<IFontProps> {
1646
1645
  }
1647
1646
  declare type IFormatProps = React.PropsWithChildren<{
1648
1647
  currency?: string;
1649
- formatter?: ((value: number | any) => string);
1650
- parser?: ((value: string) => number | any);
1648
+ formatter?: ((value: number | Date) => string);
1649
+ parser?: ((value: string) => number | Date);
1651
1650
  precision?: number;
1652
1651
  type?: "billions" | "currency" | "day" | "decimal" | "exponential" | "fixedPoint" | "largeNumber" | "longDate" | "longTime" | "millions" | "millisecond" | "month" | "monthAndDay" | "monthAndYear" | "percent" | "quarter" | "quarterAndYear" | "shortDate" | "shortTime" | "thousands" | "trillions" | "year" | "dayOfWeek" | "hour" | "longDateLongTime" | "minute" | "second" | "shortDateShortTime";
1653
1652
  useCurrencyAccountingStyle?: boolean;
@@ -1687,10 +1686,10 @@ declare type IHorizontalLineProps = React.PropsWithChildren<{
1687
1686
  backgroundColor?: string;
1688
1687
  customizeText?: ((info: {
1689
1688
  point: chartPointObject;
1690
- value: any | number | string;
1689
+ value: Date | number | string;
1691
1690
  valueText: string;
1692
1691
  }) => string);
1693
- font?: BaseWidgetTypes.Font;
1692
+ font?: ChartsFont;
1694
1693
  format?: LocalizationTypes.Format;
1695
1694
  visible?: boolean;
1696
1695
  };
@@ -1715,10 +1714,10 @@ declare type IHorizontalLineLabelProps = React.PropsWithChildren<{
1715
1714
  backgroundColor?: string;
1716
1715
  customizeText?: ((info: {
1717
1716
  point: chartPointObject;
1718
- value: any | number | string;
1717
+ value: Date | number | string;
1719
1718
  valueText: string;
1720
1719
  }) => string);
1721
- font?: BaseWidgetTypes.Font;
1720
+ font?: ChartsFont;
1722
1721
  format?: LocalizationTypes.Format;
1723
1722
  visible?: boolean;
1724
1723
  }>;
@@ -1765,7 +1764,7 @@ declare class Image extends NestedOption<IImageProps> {
1765
1764
  static OptionName: string;
1766
1765
  }
1767
1766
  declare type ILabelProps = React.PropsWithChildren<{
1768
- font?: BaseWidgetTypes.Font;
1767
+ font?: ChartsFont;
1769
1768
  horizontalAlignment?: "center" | "left" | "right";
1770
1769
  position?: "inside" | "outside" | "bottom" | "left" | "right" | "top";
1771
1770
  verticalAlignment?: "bottom" | "center" | "top";
@@ -1773,11 +1772,11 @@ declare type ILabelProps = React.PropsWithChildren<{
1773
1772
  text?: string;
1774
1773
  alignment?: "center" | "left" | "right";
1775
1774
  customizeHint?: ((argument: {
1776
- value: any | number | string;
1775
+ value: Date | number | string;
1777
1776
  valueText: string;
1778
1777
  }) => string);
1779
1778
  customizeText?: ((argument: {
1780
- value: any | number | string;
1779
+ value: Date | number | string;
1781
1780
  valueText: string;
1782
1781
  }) => string);
1783
1782
  displayMode?: "rotate" | "stagger" | "standard";
@@ -1787,7 +1786,7 @@ declare type ILabelProps = React.PropsWithChildren<{
1787
1786
  rotationAngle?: number;
1788
1787
  staggeringSpacing?: number;
1789
1788
  template?: ((data: {
1790
- value: any | number | string;
1789
+ value: Date | number | string;
1791
1790
  valueText: string;
1792
1791
  }, element: any) => string | any) | template;
1793
1792
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -1845,7 +1844,7 @@ declare type ILegendProps = React.PropsWithChildren<{
1845
1844
  seriesIndex: number;
1846
1845
  seriesName: any;
1847
1846
  }) => string);
1848
- font?: BaseWidgetTypes.Font;
1847
+ font?: ChartsFont;
1849
1848
  horizontalAlignment?: "center" | "left" | "right";
1850
1849
  hoverMode?: "excludePoints" | "includePoints" | "none";
1851
1850
  itemsAlignment?: "center" | "left" | "right";
@@ -1865,7 +1864,7 @@ declare type ILegendProps = React.PropsWithChildren<{
1865
1864
  rowCount?: number;
1866
1865
  rowItemSpacing?: number;
1867
1866
  title?: Record<string, any> | string | {
1868
- font?: BaseWidgetTypes.Font;
1867
+ font?: ChartsFont;
1869
1868
  horizontalAlignment?: "center" | "left" | "right";
1870
1869
  margin?: Record<string, any> | {
1871
1870
  bottom?: number;
@@ -1875,7 +1874,7 @@ declare type ILegendProps = React.PropsWithChildren<{
1875
1874
  };
1876
1875
  placeholderSize?: number;
1877
1876
  subtitle?: Record<string, any> | string | {
1878
- font?: BaseWidgetTypes.Font;
1877
+ font?: ChartsFont;
1879
1878
  offset?: number;
1880
1879
  text?: string;
1881
1880
  };
@@ -1924,7 +1923,7 @@ declare class Legend extends NestedOption<ILegendProps> {
1924
1923
  }[];
1925
1924
  }
1926
1925
  declare type ILegendTitleProps = React.PropsWithChildren<{
1927
- font?: BaseWidgetTypes.Font;
1926
+ font?: ChartsFont;
1928
1927
  horizontalAlignment?: "center" | "left" | "right";
1929
1928
  margin?: Record<string, any> | {
1930
1929
  bottom?: number;
@@ -1934,7 +1933,7 @@ declare type ILegendTitleProps = React.PropsWithChildren<{
1934
1933
  };
1935
1934
  placeholderSize?: number;
1936
1935
  subtitle?: Record<string, any> | string | {
1937
- font?: BaseWidgetTypes.Font;
1936
+ font?: ChartsFont;
1938
1937
  offset?: number;
1939
1938
  text?: string;
1940
1939
  };
@@ -1963,7 +1962,7 @@ declare class LegendTitle extends NestedOption<ILegendTitleProps> {
1963
1962
  };
1964
1963
  }
1965
1964
  declare type ILegendTitleSubtitleProps = React.PropsWithChildren<{
1966
- font?: BaseWidgetTypes.Font;
1965
+ font?: ChartsFont;
1967
1966
  offset?: number;
1968
1967
  text?: string;
1969
1968
  }>;
@@ -1993,7 +1992,7 @@ declare class Length extends NestedOption<ILengthProps> {
1993
1992
  declare type ILoadingIndicatorProps = React.PropsWithChildren<{
1994
1993
  backgroundColor?: string;
1995
1994
  enabled?: boolean;
1996
- font?: BaseWidgetTypes.Font;
1995
+ font?: ChartsFont;
1997
1996
  show?: boolean;
1998
1997
  text?: string;
1999
1998
  defaultShow?: boolean;
@@ -2379,7 +2378,7 @@ declare type ISeriesProps = React.PropsWithChildren<{
2379
2378
  };
2380
2379
  customizeText?: ((pointInfo: any) => string);
2381
2380
  displayFormat?: string;
2382
- font?: BaseWidgetTypes.Font;
2381
+ font?: ChartsFont;
2383
2382
  format?: LocalizationTypes.Format;
2384
2383
  horizontalOffset?: number;
2385
2384
  position?: "inside" | "outside";
@@ -2525,23 +2524,23 @@ declare class Size extends NestedOption<ISizeProps> {
2525
2524
  }
2526
2525
  declare type IStripProps = React.PropsWithChildren<{
2527
2526
  color?: string;
2528
- endValue?: any | number | string;
2527
+ endValue?: Date | number | string;
2529
2528
  label?: Record<string, any> | {
2530
- font?: BaseWidgetTypes.Font;
2529
+ font?: ChartsFont;
2531
2530
  horizontalAlignment?: "center" | "left" | "right";
2532
2531
  text?: string;
2533
2532
  verticalAlignment?: "bottom" | "center" | "top";
2534
2533
  };
2535
2534
  paddingLeftRight?: number;
2536
2535
  paddingTopBottom?: number;
2537
- startValue?: any | number | string;
2536
+ startValue?: Date | number | string;
2538
2537
  }>;
2539
2538
  declare class Strip extends NestedOption<IStripProps> {
2540
2539
  static OptionName: string;
2541
2540
  static IsCollectionItem: boolean;
2542
2541
  }
2543
2542
  declare type IStripLabelProps = React.PropsWithChildren<{
2544
- font?: BaseWidgetTypes.Font;
2543
+ font?: ChartsFont;
2545
2544
  horizontalAlignment?: "center" | "left" | "right";
2546
2545
  text?: string;
2547
2546
  verticalAlignment?: "bottom" | "center" | "top";
@@ -2551,7 +2550,7 @@ declare class StripLabel extends NestedOption<IStripLabelProps> {
2551
2550
  }
2552
2551
  declare type IStripStyleProps = React.PropsWithChildren<{
2553
2552
  label?: Record<string, any> | {
2554
- font?: BaseWidgetTypes.Font;
2553
+ font?: ChartsFont;
2555
2554
  horizontalAlignment?: "center" | "left" | "right";
2556
2555
  verticalAlignment?: "bottom" | "center" | "top";
2557
2556
  };
@@ -2572,7 +2571,7 @@ declare class StripStyle extends NestedOption<IStripStyleProps> {
2572
2571
  };
2573
2572
  }
2574
2573
  declare type IStripStyleLabelProps = React.PropsWithChildren<{
2575
- font?: BaseWidgetTypes.Font;
2574
+ font?: ChartsFont;
2576
2575
  horizontalAlignment?: "center" | "left" | "right";
2577
2576
  verticalAlignment?: "bottom" | "center" | "top";
2578
2577
  }>;
@@ -2580,7 +2579,7 @@ declare class StripStyleLabel extends NestedOption<IStripStyleLabelProps> {
2580
2579
  static OptionName: string;
2581
2580
  }
2582
2581
  declare type ISubtitleProps = React.PropsWithChildren<{
2583
- font?: BaseWidgetTypes.Font;
2582
+ font?: ChartsFont;
2584
2583
  offset?: number;
2585
2584
  text?: string;
2586
2585
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -2616,7 +2615,7 @@ declare class TickInterval extends NestedOption<ITickIntervalProps> {
2616
2615
  }
2617
2616
  declare type ITitleProps = React.PropsWithChildren<{
2618
2617
  alignment?: "center" | "left" | "right";
2619
- font?: BaseWidgetTypes.Font;
2618
+ font?: ChartsFont;
2620
2619
  margin?: number | Record<string, any> | {
2621
2620
  bottom?: number;
2622
2621
  left?: number;
@@ -2629,7 +2628,7 @@ declare type ITitleProps = React.PropsWithChildren<{
2629
2628
  horizontalAlignment?: "center" | "left" | "right";
2630
2629
  placeholderSize?: number;
2631
2630
  subtitle?: Record<string, any> | string | {
2632
- font?: BaseWidgetTypes.Font;
2631
+ font?: ChartsFont;
2633
2632
  offset?: number;
2634
2633
  text?: string;
2635
2634
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -2656,7 +2655,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
2656
2655
  cornerRadius?: number;
2657
2656
  customizeTooltip?: ((pointInfo: any) => Record<string, any>);
2658
2657
  enabled?: boolean;
2659
- font?: BaseWidgetTypes.Font;
2658
+ font?: ChartsFont;
2660
2659
  format?: LocalizationTypes.Format;
2661
2660
  interactive?: boolean;
2662
2661
  location?: "center" | "edge";
@@ -2734,15 +2733,15 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2734
2733
  autoBreaksEnabled?: boolean;
2735
2734
  axisDivisionFactor?: number;
2736
2735
  breaks?: Array<ScaleBreak> | {
2737
- endValue?: any | number | string;
2738
- startValue?: any | number | string;
2736
+ endValue?: Date | number | string;
2737
+ startValue?: Date | number | string;
2739
2738
  }[];
2740
2739
  breakStyle?: Record<string, any> | {
2741
2740
  color?: string;
2742
2741
  line?: "straight" | "waved";
2743
2742
  width?: number;
2744
2743
  };
2745
- categories?: Array<any | number | string>;
2744
+ categories?: Array<Date | number | string>;
2746
2745
  color?: string;
2747
2746
  constantLines?: Array<Record<string, any>> | {
2748
2747
  color?: string;
@@ -2750,7 +2749,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2750
2749
  displayBehindSeries?: boolean;
2751
2750
  extendAxis?: boolean;
2752
2751
  label?: Record<string, any> | {
2753
- font?: BaseWidgetTypes.Font;
2752
+ font?: ChartsFont;
2754
2753
  horizontalAlignment?: "center" | "left" | "right";
2755
2754
  position?: "inside" | "outside";
2756
2755
  text?: string;
@@ -2759,14 +2758,14 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2759
2758
  };
2760
2759
  paddingLeftRight?: number;
2761
2760
  paddingTopBottom?: number;
2762
- value?: any | number | string;
2761
+ value?: Date | number | string;
2763
2762
  width?: number;
2764
2763
  }[];
2765
2764
  constantLineStyle?: Record<string, any> | {
2766
2765
  color?: string;
2767
2766
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
2768
2767
  label?: Record<string, any> | {
2769
- font?: BaseWidgetTypes.Font;
2768
+ font?: ChartsFont;
2770
2769
  horizontalAlignment?: "center" | "left" | "right";
2771
2770
  position?: "inside" | "outside";
2772
2771
  verticalAlignment?: "bottom" | "center" | "top";
@@ -2776,7 +2775,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2776
2775
  paddingTopBottom?: number;
2777
2776
  width?: number;
2778
2777
  };
2779
- customPosition?: any | number | string;
2778
+ customPosition?: Date | number | string;
2780
2779
  discreteAxisDivisionMode?: "betweenLabels" | "crossLabels";
2781
2780
  endOnTick?: boolean;
2782
2781
  grid?: Record<string, any> | {
@@ -2789,15 +2788,15 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2789
2788
  label?: Record<string, any> | {
2790
2789
  alignment?: "center" | "left" | "right";
2791
2790
  customizeHint?: ((axisValue: {
2792
- value: any | number | string;
2791
+ value: Date | number | string;
2793
2792
  valueText: string;
2794
2793
  }) => string);
2795
2794
  customizeText?: ((axisValue: {
2796
- value: any | number | string;
2795
+ value: Date | number | string;
2797
2796
  valueText: string;
2798
2797
  }) => string);
2799
2798
  displayMode?: "rotate" | "stagger" | "standard";
2800
- font?: BaseWidgetTypes.Font;
2799
+ font?: ChartsFont;
2801
2800
  format?: LocalizationTypes.Format;
2802
2801
  indentFromAxis?: number;
2803
2802
  overlappingBehavior?: "rotate" | "stagger" | "none" | "hide";
@@ -2805,7 +2804,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2805
2804
  rotationAngle?: number;
2806
2805
  staggeringSpacing?: number;
2807
2806
  template?: ((data: {
2808
- value: any | number | string;
2807
+ value: Date | number | string;
2809
2808
  valueText: string;
2810
2809
  }, element: any) => string | any) | template;
2811
2810
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -2864,20 +2863,20 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2864
2863
  showZero?: boolean;
2865
2864
  strips?: Array<Record<string, any>> | {
2866
2865
  color?: string;
2867
- endValue?: any | number | string;
2866
+ endValue?: Date | number | string;
2868
2867
  label?: Record<string, any> | {
2869
- font?: BaseWidgetTypes.Font;
2868
+ font?: ChartsFont;
2870
2869
  horizontalAlignment?: "center" | "left" | "right";
2871
2870
  text?: string;
2872
2871
  verticalAlignment?: "bottom" | "center" | "top";
2873
2872
  };
2874
2873
  paddingLeftRight?: number;
2875
2874
  paddingTopBottom?: number;
2876
- startValue?: any | number | string;
2875
+ startValue?: Date | number | string;
2877
2876
  }[];
2878
2877
  stripStyle?: Record<string, any> | {
2879
2878
  label?: Record<string, any> | {
2880
- font?: BaseWidgetTypes.Font;
2879
+ font?: ChartsFont;
2881
2880
  horizontalAlignment?: "center" | "left" | "right";
2882
2881
  verticalAlignment?: "bottom" | "center" | "top";
2883
2882
  };
@@ -2906,7 +2905,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2906
2905
  };
2907
2906
  title?: Record<string, any> | string | {
2908
2907
  alignment?: "center" | "left" | "right";
2909
- font?: BaseWidgetTypes.Font;
2908
+ font?: ChartsFont;
2910
2909
  margin?: number;
2911
2910
  text?: string;
2912
2911
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -2916,14 +2915,14 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2916
2915
  valueMarginsEnabled?: boolean;
2917
2916
  valueType?: "datetime" | "numeric" | "string";
2918
2917
  visible?: boolean;
2919
- visualRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
2918
+ visualRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
2920
2919
  visualRangeUpdateMode?: "auto" | "keep" | "reset" | "shift";
2921
- wholeRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
2920
+ wholeRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
2922
2921
  width?: number;
2923
- defaultCategories?: Array<any | number | string>;
2924
- onCategoriesChange?: (value: Array<any | number | string>) => void;
2925
- defaultVisualRange?: Array<any | number | string> | CommonChartTypes.VisualRange;
2926
- onVisualRangeChange?: (value: Array<any | number | string> | CommonChartTypes.VisualRange) => void;
2922
+ defaultCategories?: Array<Date | number | string>;
2923
+ onCategoriesChange?: (value: Array<Date | number | string>) => void;
2924
+ defaultVisualRange?: Array<Date | number | string> | CommonChartTypes.VisualRange;
2925
+ onVisualRangeChange?: (value: Array<Date | number | string> | CommonChartTypes.VisualRange) => void;
2927
2926
  }>;
2928
2927
  declare class ValueAxis extends NestedOption<IValueAxisProps> {
2929
2928
  static OptionName: string;
@@ -3012,10 +3011,10 @@ declare type IVerticalLineProps = React.PropsWithChildren<{
3012
3011
  backgroundColor?: string;
3013
3012
  customizeText?: ((info: {
3014
3013
  point: chartPointObject;
3015
- value: any | number | string;
3014
+ value: Date | number | string;
3016
3015
  valueText: string;
3017
3016
  }) => string);
3018
- font?: BaseWidgetTypes.Font;
3017
+ font?: ChartsFont;
3019
3018
  format?: LocalizationTypes.Format;
3020
3019
  visible?: boolean;
3021
3020
  };
@@ -3037,7 +3036,7 @@ declare class VerticalLine extends NestedOption<IVerticalLineProps> {
3037
3036
  };
3038
3037
  }
3039
3038
  declare type IVisualRangeProps = React.PropsWithChildren<{
3040
- endValue?: any | number | string;
3039
+ endValue?: Date | number | string;
3041
3040
  length?: number | Record<string, any> | "day" | "hour" | "millisecond" | "minute" | "month" | "quarter" | "second" | "week" | "year" | {
3042
3041
  days?: number;
3043
3042
  hours?: number;
@@ -3049,11 +3048,11 @@ declare type IVisualRangeProps = React.PropsWithChildren<{
3049
3048
  weeks?: number;
3050
3049
  years?: number;
3051
3050
  };
3052
- startValue?: any | number | string;
3053
- defaultEndValue?: any | number | string;
3054
- onEndValueChange?: (value: any | number | string) => void;
3055
- defaultStartValue?: any | number | string;
3056
- onStartValueChange?: (value: any | number | string) => void;
3051
+ startValue?: Date | number | string;
3052
+ defaultEndValue?: Date | number | string;
3053
+ onEndValueChange?: (value: Date | number | string) => void;
3054
+ defaultStartValue?: Date | number | string;
3055
+ onStartValueChange?: (value: Date | number | string) => void;
3057
3056
  }>;
3058
3057
  declare class VisualRange extends NestedOption<IVisualRangeProps> {
3059
3058
  static OptionName: string;
@@ -3063,7 +3062,7 @@ declare class VisualRange extends NestedOption<IVisualRangeProps> {
3063
3062
  };
3064
3063
  }
3065
3064
  declare type IWholeRangeProps = React.PropsWithChildren<{
3066
- endValue?: any | number | string;
3065
+ endValue?: Date | number | string;
3067
3066
  length?: number | Record<string, any> | "day" | "hour" | "millisecond" | "minute" | "month" | "quarter" | "second" | "week" | "year" | {
3068
3067
  days?: number;
3069
3068
  hours?: number;
@@ -3075,11 +3074,11 @@ declare type IWholeRangeProps = React.PropsWithChildren<{
3075
3074
  weeks?: number;
3076
3075
  years?: number;
3077
3076
  };
3078
- startValue?: any | number | string;
3079
- defaultEndValue?: any | number | string;
3080
- onEndValueChange?: (value: any | number | string) => void;
3081
- defaultStartValue?: any | number | string;
3082
- onStartValueChange?: (value: any | number | string) => void;
3077
+ startValue?: Date | number | string;
3078
+ defaultEndValue?: Date | number | string;
3079
+ onEndValueChange?: (value: Date | number | string) => void;
3080
+ defaultStartValue?: Date | number | string;
3081
+ onStartValueChange?: (value: Date | number | string) => void;
3083
3082
  }>;
3084
3083
  declare class WholeRange extends NestedOption<IWholeRangeProps> {
3085
3084
  static OptionName: string;