devextreme-react 23.2.1-alpha-23255-1813 → 23.2.2-beta

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 +18 -18
  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 +4 -4
  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 +2 -2
  18. package/cjs/calendar.js +3 -2
  19. package/cjs/chart.d.ts +60 -61
  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 +13 -14
  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 +13 -6
  38. package/cjs/core/component-base.js +81 -32
  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 -6
  64. package/cjs/core/options-manager.js +37 -22
  65. package/cjs/core/template-manager.d.ts +16 -0
  66. package/cjs/core/template-manager.js +180 -0
  67. package/cjs/core/template-wrapper.d.ts +4 -29
  68. package/cjs/core/template-wrapper.js +93 -97
  69. package/cjs/core/template.d.ts +2 -2
  70. package/cjs/core/template.js +2 -2
  71. package/cjs/core/types.d.ts +59 -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 +5 -12
  76. package/cjs/data-grid.js +3 -2
  77. package/cjs/date-box.d.ts +2 -2
  78. package/cjs/date-box.js +5 -3
  79. package/cjs/date-range-box.d.ts +2 -2
  80. package/cjs/date-range-box.js +5 -3
  81. package/cjs/defer-rendering.d.ts +2 -2
  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 +2 -2
  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 +2 -2
  98. package/cjs/filter-builder.js +3 -2
  99. package/cjs/form.d.ts +2 -2
  100. package/cjs/form.js +3 -2
  101. package/cjs/funnel.d.ts +18 -18
  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 +2 -2
  106. package/cjs/gantt.js +3 -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 +13 -14
  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 +2 -2
  128. package/cjs/number-box.js +5 -3
  129. package/cjs/pie-chart.d.ts +22 -23
  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 +46 -47
  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 +14 -15
  146. package/cjs/range-selector.js +3 -2
  147. package/cjs/range-slider.d.ts +2 -2
  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 +9 -9
  156. package/cjs/sankey.js +3 -2
  157. package/cjs/scheduler.d.ts +3 -2
  158. package/cjs/scheduler.js +4 -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 +2 -2
  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 +4 -4
  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 +2 -2
  192. package/cjs/tree-list.js +3 -2
  193. package/cjs/tree-map.d.ts +13 -13
  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 +2 -2
  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 +3 -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 +82 -30
  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 +37 -22
  241. package/esm/core/template-manager.js +157 -0
  242. package/esm/core/template-wrapper.js +93 -97
  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 +5 -3
  248. package/esm/date-range-box.js +5 -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 +3 -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 +4 -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 +5 -6
  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.2-beta
4
+ * Build date: Fri Nov 10 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];
@@ -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;
@@ -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;
@@ -364,7 +363,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
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";
@@ -398,7 +397,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
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";
@@ -463,7 +462,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
463
462
  color?: string;
464
463
  endValue?: any | 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";
@@ -474,7 +473,7 @@ declare type IArgumentAxisProps = React.PropsWithChildren<{
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";
@@ -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";
@@ -664,7 +663,7 @@ declare type IAxisLabelProps = React.PropsWithChildren<{
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";
@@ -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";
@@ -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";
@@ -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;
@@ -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,7 +903,7 @@ 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";
@@ -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,7 +1028,7 @@ 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";
@@ -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;
@@ -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";
@@ -1546,7 +1545,7 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1546
1545
  value: any | 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
  };
@@ -1561,7 +1560,7 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1561
1560
  value: any | 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
  };
@@ -1576,7 +1575,7 @@ declare type ICrosshairProps = React.PropsWithChildren<{
1576
1575
  value: any | 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
  };
@@ -1690,7 +1689,7 @@ declare type IHorizontalLineProps = React.PropsWithChildren<{
1690
1689
  value: any | 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
  };
@@ -1718,7 +1717,7 @@ declare type IHorizontalLineLabelProps = React.PropsWithChildren<{
1718
1717
  value: any | 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";
@@ -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";
@@ -2527,7 +2526,7 @@ declare type IStripProps = React.PropsWithChildren<{
2527
2526
  color?: string;
2528
2527
  endValue?: any | 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";
@@ -2541,7 +2540,7 @@ declare class Strip extends NestedOption<IStripProps> {
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";
@@ -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;
@@ -2766,7 +2765,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
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";
@@ -2797,7 +2796,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
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";
@@ -2866,7 +2865,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
2866
2865
  color?: string;
2867
2866
  endValue?: any | 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";
@@ -2877,7 +2876,7 @@ declare type IValueAxisProps = React.PropsWithChildren<{
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";
@@ -3015,7 +3014,7 @@ declare type IVerticalLineProps = React.PropsWithChildren<{
3015
3014
  value: any | 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
  };
package/cjs/chart.js 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.2-beta
4
+ * Build date: Fri Nov 10 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,6 +11,7 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
+ "use client";
14
15
  "use strict";
15
16
  var __extends = (this && this.__extends) || (function () {
16
17
  var extendStatics = function (d, b) {
@@ -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.2-beta
4
+ * Build date: Fri Nov 10 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/cjs/check-box.js 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.2-beta
4
+ * Build date: Fri Nov 10 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,6 +11,7 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
+ "use client";
14
15
  "use strict";
15
16
  var __extends = (this && this.__extends) || (function () {
16
17
  var extendStatics = function (d, b) {
@@ -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.2-beta
4
+ * Build date: Fri Nov 10 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,9 +16,8 @@ import dxCircularGauge, { Properties } from "devextreme/viz/circular_gauge";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/circular_gauge";
19
- import type { ChartsColor } from "devextreme/common/charts";
19
+ import type { Font as ChartsFont, ChartsColor } from "devextreme/common/charts";
20
20
  import type { template } from "devextreme/core/templates/template";
21
- import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
22
21
  import type * as LocalizationTypes from "devextreme/localization";
23
22
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
24
23
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
@@ -189,7 +188,7 @@ declare type ILabelProps = React.PropsWithChildren<{
189
188
  value: number;
190
189
  valueText: string;
191
190
  }) => string);
192
- font?: BaseWidgetTypes.Font;
191
+ font?: ChartsFont;
193
192
  format?: LocalizationTypes.Format;
194
193
  hideFirstOrLast?: "first" | "last";
195
194
  indentFromTick?: number;
@@ -212,7 +211,7 @@ declare class Label extends NestedOption<ILabelProps> {
212
211
  }
213
212
  declare type ILoadingIndicatorProps = React.PropsWithChildren<{
214
213
  backgroundColor?: string;
215
- font?: BaseWidgetTypes.Font;
214
+ font?: ChartsFont;
216
215
  show?: boolean;
217
216
  text?: string;
218
217
  defaultShow?: boolean;
@@ -300,7 +299,7 @@ declare type IScaleProps = React.PropsWithChildren<{
300
299
  value: number;
301
300
  valueText: string;
302
301
  }) => string);
303
- font?: BaseWidgetTypes.Font;
302
+ font?: ChartsFont;
304
303
  format?: LocalizationTypes.Format;
305
304
  hideFirstOrLast?: "first" | "last";
306
305
  indentFromTick?: number;
@@ -363,7 +362,7 @@ declare class Size extends NestedOption<ISizeProps> {
363
362
  static OptionName: string;
364
363
  }
365
364
  declare type ISubtitleProps = React.PropsWithChildren<{
366
- font?: BaseWidgetTypes.Font;
365
+ font?: ChartsFont;
367
366
  offset?: number;
368
367
  text?: string;
369
368
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -399,7 +398,7 @@ declare type ISubvalueIndicatorProps = React.PropsWithChildren<{
399
398
  value: number;
400
399
  valueText: string;
401
400
  }) => string);
402
- font?: BaseWidgetTypes.Font;
401
+ font?: ChartsFont;
403
402
  format?: LocalizationTypes.Format;
404
403
  indent?: number;
405
404
  };
@@ -425,7 +424,7 @@ declare type ITextProps = React.PropsWithChildren<{
425
424
  value: number;
426
425
  valueText: string;
427
426
  }) => string);
428
- font?: BaseWidgetTypes.Font;
427
+ font?: ChartsFont;
429
428
  format?: LocalizationTypes.Format;
430
429
  indent?: number;
431
430
  }>;
@@ -453,7 +452,7 @@ declare class Tick extends NestedOption<ITickProps> {
453
452
  static OptionName: string;
454
453
  }
455
454
  declare type ITitleProps = React.PropsWithChildren<{
456
- font?: BaseWidgetTypes.Font;
455
+ font?: ChartsFont;
457
456
  horizontalAlignment?: "center" | "left" | "right";
458
457
  margin?: number | Record<string, any> | {
459
458
  bottom?: number;
@@ -463,7 +462,7 @@ declare type ITitleProps = React.PropsWithChildren<{
463
462
  };
464
463
  placeholderSize?: number;
465
464
  subtitle?: Record<string, any> | string | {
466
- font?: BaseWidgetTypes.Font;
465
+ font?: ChartsFont;
467
466
  offset?: number;
468
467
  text?: string;
469
468
  textOverflow?: "ellipsis" | "hide" | "none";
@@ -512,7 +511,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
512
511
  valueText: string;
513
512
  }) => Record<string, any>);
514
513
  enabled?: boolean;
515
- font?: BaseWidgetTypes.Font;
514
+ font?: ChartsFont;
516
515
  format?: LocalizationTypes.Format;
517
516
  interactive?: boolean;
518
517
  opacity?: number;
@@ -578,7 +577,7 @@ declare type IValueIndicatorProps = React.PropsWithChildren<{
578
577
  value: number;
579
578
  valueText: string;
580
579
  }) => string);
581
- font?: BaseWidgetTypes.Font;
580
+ font?: ChartsFont;
582
581
  format?: LocalizationTypes.Format;
583
582
  indent?: number;
584
583
  };