devextreme-react 23.2.6 → 24.1.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 (311) hide show
  1. package/cjs/accordion.d.ts +35 -48
  2. package/cjs/accordion.js +63 -118
  3. package/cjs/action-sheet.d.ts +27 -43
  4. package/cjs/action-sheet.js +54 -95
  5. package/cjs/autocomplete.d.ts +62 -192
  6. package/cjs/autocomplete.js +181 -352
  7. package/cjs/bar-gauge.d.ts +80 -292
  8. package/cjs/bar-gauge.js +210 -353
  9. package/cjs/box.d.ts +25 -42
  10. package/cjs/box.js +53 -113
  11. package/cjs/bullet.d.ts +35 -80
  12. package/cjs/bullet.js +82 -148
  13. package/cjs/button-group.d.ts +17 -43
  14. package/cjs/button-group.js +54 -112
  15. package/cjs/button.d.ts +14 -19
  16. package/cjs/button.js +36 -88
  17. package/cjs/calendar.d.ts +14 -24
  18. package/cjs/calendar.js +41 -180
  19. package/cjs/chart.d.ts +297 -1146
  20. package/cjs/chart.js +707 -1059
  21. package/cjs/check-box.d.ts +14 -16
  22. package/cjs/check-box.js +34 -101
  23. package/cjs/circular-gauge.d.ts +86 -287
  24. package/cjs/circular-gauge.js +226 -332
  25. package/cjs/color-box.d.ts +59 -175
  26. package/cjs/color-box.js +165 -312
  27. package/cjs/common/charts.d.ts +2 -2
  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 +71 -148
  36. package/cjs/context-menu.js +151 -279
  37. package/cjs/core/component-base.d.ts +18 -47
  38. package/cjs/core/component-base.js +261 -185
  39. package/cjs/core/component.d.ts +26 -13
  40. package/cjs/core/component.js +73 -58
  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 +10 -10
  45. package/cjs/core/configuration/config-node.d.ts +2 -3
  46. package/cjs/core/configuration/config-node.js +2 -2
  47. package/cjs/core/configuration/react/element.d.ts +12 -4
  48. package/cjs/core/configuration/react/element.js +4 -5
  49. package/cjs/core/configuration/react/templates.d.ts +2 -2
  50. package/cjs/core/configuration/react/templates.js +2 -8
  51. package/cjs/core/configuration/react/tree.d.ts +2 -2
  52. package/cjs/core/configuration/react/tree.js +13 -9
  53. package/cjs/core/configuration/tree.d.ts +2 -2
  54. package/cjs/core/configuration/tree.js +5 -6
  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 +14 -7
  58. package/cjs/core/extension-component.js +69 -29
  59. package/cjs/core/helpers.d.ts +4 -3
  60. package/cjs/core/helpers.js +8 -9
  61. package/cjs/core/nested-option.d.ts +3 -5
  62. package/cjs/core/nested-option.js +16 -34
  63. package/cjs/core/options-manager.d.ts +3 -2
  64. package/cjs/core/options-manager.js +30 -18
  65. package/cjs/core/template-manager.d.ts +2 -2
  66. package/cjs/core/template-manager.js +20 -16
  67. package/cjs/core/template-wrapper.d.ts +2 -2
  68. package/cjs/core/template-wrapper.js +18 -14
  69. package/cjs/core/template.d.ts +3 -7
  70. package/cjs/core/template.js +4 -61
  71. package/cjs/core/types.d.ts +8 -8
  72. package/cjs/core/types.js +2 -2
  73. package/cjs/core/widget-config.d.ts +2 -2
  74. package/cjs/core/widget-config.js +23 -6
  75. package/cjs/data-grid.d.ts +317 -1057
  76. package/cjs/data-grid.js +752 -1112
  77. package/cjs/date-box.d.ts +65 -202
  78. package/cjs/date-box.js +179 -386
  79. package/cjs/date-range-box.d.ts +65 -203
  80. package/cjs/date-range-box.js +181 -373
  81. package/cjs/defer-rendering.d.ts +41 -93
  82. package/cjs/defer-rendering.js +93 -151
  83. package/cjs/diagram.d.ts +92 -307
  84. package/cjs/diagram.js +263 -408
  85. package/cjs/draggable.d.ts +17 -30
  86. package/cjs/draggable.js +45 -89
  87. package/cjs/drawer.d.ts +14 -23
  88. package/cjs/drawer.js +40 -102
  89. package/cjs/drop-down-box.d.ts +59 -175
  90. package/cjs/drop-down-box.js +169 -319
  91. package/cjs/drop-down-button.d.ts +58 -160
  92. package/cjs/drop-down-button.js +157 -256
  93. package/cjs/file-manager.d.ts +50 -128
  94. package/cjs/file-manager.js +123 -220
  95. package/cjs/file-uploader.d.ts +14 -16
  96. package/cjs/file-uploader.js +34 -127
  97. package/cjs/filter-builder.d.ts +32 -86
  98. package/cjs/filter-builder.js +86 -147
  99. package/cjs/form.d.ts +94 -347
  100. package/cjs/form.js +273 -398
  101. package/cjs/funnel.d.ts +95 -358
  102. package/cjs/funnel.js +239 -412
  103. package/cjs/gallery.d.ts +29 -44
  104. package/cjs/gallery.js +55 -107
  105. package/cjs/gantt.d.ts +89 -294
  106. package/cjs/gantt.js +252 -420
  107. package/cjs/html-editor.d.ts +50 -164
  108. package/cjs/html-editor.js +143 -262
  109. package/cjs/index.d.ts +3 -2
  110. package/cjs/index.js +5 -3
  111. package/cjs/linear-gauge.d.ts +89 -288
  112. package/cjs/linear-gauge.js +226 -335
  113. package/cjs/list.d.ts +49 -118
  114. package/cjs/list.js +115 -277
  115. package/cjs/load-indicator.d.ts +14 -12
  116. package/cjs/load-indicator.js +30 -56
  117. package/cjs/load-panel.d.ts +47 -99
  118. package/cjs/load-panel.js +111 -221
  119. package/cjs/lookup.d.ts +62 -182
  120. package/cjs/lookup.js +174 -364
  121. package/cjs/map.d.ts +32 -80
  122. package/cjs/map.js +85 -164
  123. package/cjs/menu.d.ts +69 -171
  124. package/cjs/menu.js +153 -286
  125. package/cjs/multi-view.d.ts +29 -44
  126. package/cjs/multi-view.js +55 -101
  127. package/cjs/number-box.d.ts +23 -53
  128. package/cjs/number-box.js +62 -183
  129. package/cjs/pie-chart.d.ts +119 -481
  130. package/cjs/pie-chart.js +309 -520
  131. package/cjs/pivot-grid-field-chooser.d.ts +29 -61
  132. package/cjs/pivot-grid-field-chooser.js +67 -129
  133. package/cjs/pivot-grid.d.ts +53 -137
  134. package/cjs/pivot-grid.js +125 -225
  135. package/cjs/polar-chart.d.ts +228 -882
  136. package/cjs/polar-chart.js +544 -828
  137. package/cjs/popover.d.ts +56 -142
  138. package/cjs/popover.js +150 -270
  139. package/cjs/popup.d.ts +48 -124
  140. package/cjs/popup.js +136 -261
  141. package/cjs/progress-bar.d.ts +14 -16
  142. package/cjs/progress-bar.js +34 -98
  143. package/cjs/radio-group.d.ts +17 -42
  144. package/cjs/radio-group.js +53 -132
  145. package/cjs/range-selector.d.ts +194 -671
  146. package/cjs/range-selector.js +455 -646
  147. package/cjs/range-slider.d.ts +23 -51
  148. package/cjs/range-slider.js +60 -145
  149. package/cjs/recurrence-editor.d.ts +14 -16
  150. package/cjs/recurrence-editor.js +34 -95
  151. package/cjs/resizable.d.ts +14 -17
  152. package/cjs/resizable.js +35 -75
  153. package/cjs/responsive-box.d.ts +34 -71
  154. package/cjs/responsive-box.js +78 -122
  155. package/cjs/sankey.d.ts +71 -240
  156. package/cjs/sankey.js +180 -321
  157. package/cjs/scheduler.d.ts +29 -96
  158. package/cjs/scheduler.js +127 -290
  159. package/cjs/scroll-view.d.ts +14 -12
  160. package/cjs/scroll-view.js +30 -82
  161. package/cjs/select-box.d.ts +62 -193
  162. package/cjs/select-box.js +186 -366
  163. package/cjs/slider.d.ts +23 -51
  164. package/cjs/slider.js +60 -142
  165. package/cjs/sortable.d.ts +17 -30
  166. package/cjs/sortable.js +45 -110
  167. package/cjs/sparkline.d.ts +35 -80
  168. package/cjs/sparkline.js +82 -183
  169. package/cjs/speed-dial-action.d.ts +14 -12
  170. package/cjs/speed-dial-action.js +30 -54
  171. package/cjs/splitter.d.ts +79 -0
  172. package/cjs/splitter.js +99 -0
  173. package/cjs/switch.d.ts +14 -16
  174. package/cjs/switch.js +34 -98
  175. package/cjs/tab-panel.d.ts +31 -46
  176. package/cjs/tab-panel.js +61 -140
  177. package/cjs/tabs.d.ts +33 -46
  178. package/cjs/tabs.js +57 -138
  179. package/cjs/tag-box.d.ts +62 -194
  180. package/cjs/tag-box.js +191 -390
  181. package/cjs/text-area.d.ts +14 -16
  182. package/cjs/text-area.js +34 -141
  183. package/cjs/text-box.d.ts +20 -45
  184. package/cjs/text-box.js +55 -182
  185. package/cjs/tile-view.d.ts +25 -42
  186. package/cjs/tile-view.js +53 -112
  187. package/cjs/toast.d.ts +47 -106
  188. package/cjs/toast.js +117 -223
  189. package/cjs/toolbar.d.ts +27 -44
  190. package/cjs/toolbar.js +59 -92
  191. package/cjs/tooltip.d.ts +53 -124
  192. package/cjs/tooltip.js +133 -243
  193. package/cjs/tree-list.d.ts +274 -909
  194. package/cjs/tree-list.js +644 -996
  195. package/cjs/tree-map.d.ts +77 -257
  196. package/cjs/tree-map.js +191 -326
  197. package/cjs/tree-view.d.ts +34 -81
  198. package/cjs/tree-view.js +82 -229
  199. package/cjs/validation-group.d.ts +14 -12
  200. package/cjs/validation-group.js +30 -51
  201. package/cjs/validation-summary.d.ts +25 -42
  202. package/cjs/validation-summary.js +53 -71
  203. package/cjs/validator.d.ts +48 -142
  204. package/cjs/validator.js +142 -187
  205. package/cjs/vector-map.d.ts +92 -347
  206. package/cjs/vector-map.js +244 -384
  207. package/esm/accordion.js +58 -117
  208. package/esm/action-sheet.js +49 -94
  209. package/esm/autocomplete.js +176 -351
  210. package/esm/bar-gauge.js +205 -352
  211. package/esm/box.js +48 -112
  212. package/esm/bullet.js +77 -147
  213. package/esm/button-group.js +49 -111
  214. package/esm/button.js +31 -87
  215. package/esm/calendar.js +36 -179
  216. package/esm/chart.js +702 -1058
  217. package/esm/check-box.js +29 -100
  218. package/esm/circular-gauge.js +221 -331
  219. package/esm/color-box.js +160 -311
  220. package/esm/common/charts.js +2 -2
  221. package/esm/common/data/custom-store.js +2 -2
  222. package/esm/common/grids.js +2 -2
  223. package/esm/common/index.js +2 -2
  224. package/esm/context-menu.js +146 -278
  225. package/esm/core/component-base.js +256 -184
  226. package/esm/core/component.js +69 -58
  227. package/esm/core/config.js +2 -2
  228. package/esm/core/configuration/comparer.js +2 -2
  229. package/esm/core/configuration/config-node.js +2 -2
  230. package/esm/core/configuration/react/element.js +5 -5
  231. package/esm/core/configuration/react/templates.js +2 -8
  232. package/esm/core/configuration/react/tree.js +3 -3
  233. package/esm/core/configuration/tree.js +2 -2
  234. package/esm/core/configuration/utils.js +2 -2
  235. package/esm/core/extension-component.js +45 -29
  236. package/esm/core/helpers.js +7 -8
  237. package/esm/core/nested-option.js +11 -33
  238. package/esm/core/options-manager.js +22 -10
  239. package/esm/core/template-manager.js +3 -3
  240. package/esm/core/template-wrapper.js +2 -2
  241. package/esm/core/template.js +4 -42
  242. package/esm/core/types.js +2 -2
  243. package/esm/core/widget-config.js +23 -6
  244. package/esm/data-grid.js +748 -1112
  245. package/esm/date-box.js +174 -385
  246. package/esm/date-range-box.js +176 -372
  247. package/esm/defer-rendering.js +88 -150
  248. package/esm/diagram.js +258 -407
  249. package/esm/draggable.js +40 -88
  250. package/esm/drawer.js +35 -101
  251. package/esm/drop-down-box.js +164 -318
  252. package/esm/drop-down-button.js +152 -255
  253. package/esm/file-manager.js +118 -219
  254. package/esm/file-uploader.js +29 -126
  255. package/esm/filter-builder.js +81 -146
  256. package/esm/form.js +268 -397
  257. package/esm/funnel.js +234 -411
  258. package/esm/gallery.js +50 -106
  259. package/esm/gantt.js +247 -419
  260. package/esm/html-editor.js +138 -261
  261. package/esm/index.js +3 -2
  262. package/esm/linear-gauge.js +221 -334
  263. package/esm/list.js +110 -276
  264. package/esm/load-indicator.js +25 -55
  265. package/esm/load-panel.js +106 -220
  266. package/esm/lookup.js +169 -363
  267. package/esm/map.js +80 -163
  268. package/esm/menu.js +148 -285
  269. package/esm/multi-view.js +50 -100
  270. package/esm/number-box.js +57 -182
  271. package/esm/pie-chart.js +304 -519
  272. package/esm/pivot-grid-field-chooser.js +62 -128
  273. package/esm/pivot-grid.js +120 -224
  274. package/esm/polar-chart.js +539 -827
  275. package/esm/popover.js +145 -269
  276. package/esm/popup.js +131 -260
  277. package/esm/progress-bar.js +29 -97
  278. package/esm/radio-group.js +48 -131
  279. package/esm/range-selector.js +450 -645
  280. package/esm/range-slider.js +55 -144
  281. package/esm/recurrence-editor.js +29 -94
  282. package/esm/resizable.js +30 -74
  283. package/esm/responsive-box.js +73 -121
  284. package/esm/sankey.js +175 -320
  285. package/esm/scheduler.js +122 -289
  286. package/esm/scroll-view.js +25 -81
  287. package/esm/select-box.js +181 -365
  288. package/esm/slider.js +55 -141
  289. package/esm/sortable.js +40 -109
  290. package/esm/sparkline.js +77 -182
  291. package/esm/speed-dial-action.js +25 -53
  292. package/esm/splitter.js +69 -0
  293. package/esm/switch.js +29 -97
  294. package/esm/tab-panel.js +56 -139
  295. package/esm/tabs.js +52 -137
  296. package/esm/tag-box.js +186 -389
  297. package/esm/text-area.js +29 -140
  298. package/esm/text-box.js +50 -181
  299. package/esm/tile-view.js +48 -111
  300. package/esm/toast.js +112 -222
  301. package/esm/toolbar.js +54 -91
  302. package/esm/tooltip.js +128 -242
  303. package/esm/tree-list.js +639 -995
  304. package/esm/tree-map.js +186 -325
  305. package/esm/tree-view.js +77 -228
  306. package/esm/validation-group.js +25 -50
  307. package/esm/validation-summary.js +48 -70
  308. package/esm/validator.js +137 -186
  309. package/esm/vector-map.js +239 -383
  310. package/package.json +4 -4
  311. package/splitter/package.json +6 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.2.6
4
- * Build date: Wed May 01 2024
3
+ * Version: 24.1.2-beta
4
+ * Build date: Mon May 13 2024
5
5
  *
6
6
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,18 +11,18 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
- /// <reference types="react" />
14
+ import * as React from "react";
15
+ import { Ref, ReactElement } from "react";
15
16
  import dxPieChart, { Properties } from "devextreme/viz/pie_chart";
16
- import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- import NestedOption from "./core/nested-option";
17
+ import { IHtmlOptions, IElementDescriptor } from "./core/component";
18
18
  import type { DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, LegendClickEvent, PointClickEvent, TooltipHiddenEvent, TooltipShownEvent, dxPieChartAnnotationConfig, dxPieChartCommonAnnotationConfig, PieChartLegendItem, PieChartSeries } from "devextreme/viz/pie_chart";
19
19
  import type { Font as ChartsFont, ChartsColor } from "devextreme/common/charts";
20
20
  import type { template } from "devextreme/core/templates/template";
21
21
  import type * as LocalizationTypes from "devextreme/localization";
22
- declare type ReplaceFieldTypes<TSource, TReplacement> = {
22
+ type ReplaceFieldTypes<TSource, TReplacement> = {
23
23
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
24
  };
25
- declare type IPieChartOptionsNarrowedEvents = {
25
+ type IPieChartOptionsNarrowedEvents = {
26
26
  onDisposing?: ((e: DisposingEvent) => void);
27
27
  onDone?: ((e: DoneEvent) => void);
28
28
  onDrawn?: ((e: DrawnEvent) => void);
@@ -36,108 +36,34 @@ declare type IPieChartOptionsNarrowedEvents = {
36
36
  onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
37
37
  onTooltipShown?: ((e: TooltipShownEvent) => void);
38
38
  };
39
- declare type IPieChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPieChartOptionsNarrowedEvents> & IHtmlOptions & {
39
+ type IPieChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPieChartOptionsNarrowedEvents> & IHtmlOptions & {
40
40
  centerRender?: (...params: any) => React.ReactNode;
41
41
  centerComponent?: React.ComponentType<any>;
42
- centerKeyFn?: (data: any) => string;
43
42
  defaultLoadingIndicator?: Record<string, any>;
44
43
  onLoadingIndicatorChange?: (value: Record<string, any>) => void;
45
44
  }>;
46
- declare class PieChart extends BaseComponent<React.PropsWithChildren<IPieChartOptions>> {
47
- get instance(): dxPieChart;
48
- protected _WidgetClass: typeof dxPieChart;
49
- protected subscribableOptions: string[];
50
- protected independentEvents: string[];
51
- protected _defaults: {
52
- defaultLoadingIndicator: string;
53
- };
54
- protected _expectedChildren: {
55
- adaptiveLayout: {
56
- optionName: string;
57
- isCollectionItem: boolean;
58
- };
59
- animation: {
60
- optionName: string;
61
- isCollectionItem: boolean;
62
- };
63
- annotation: {
64
- optionName: string;
65
- isCollectionItem: boolean;
66
- };
67
- commonAnnotationSettings: {
68
- optionName: string;
69
- isCollectionItem: boolean;
70
- };
71
- commonSeriesSettings: {
72
- optionName: string;
73
- isCollectionItem: boolean;
74
- };
75
- export: {
76
- optionName: string;
77
- isCollectionItem: boolean;
78
- };
79
- legend: {
80
- optionName: string;
81
- isCollectionItem: boolean;
82
- };
83
- loadingIndicator: {
84
- optionName: string;
85
- isCollectionItem: boolean;
86
- };
87
- margin: {
88
- optionName: string;
89
- isCollectionItem: boolean;
90
- };
91
- pieChartTitle: {
92
- optionName: string;
93
- isCollectionItem: boolean;
94
- };
95
- series: {
96
- optionName: string;
97
- isCollectionItem: boolean;
98
- };
99
- seriesTemplate: {
100
- optionName: string;
101
- isCollectionItem: boolean;
102
- };
103
- size: {
104
- optionName: string;
105
- isCollectionItem: boolean;
106
- };
107
- title: {
108
- optionName: string;
109
- isCollectionItem: boolean;
110
- };
111
- tooltip: {
112
- optionName: string;
113
- isCollectionItem: boolean;
114
- };
115
- };
116
- protected _templateProps: {
117
- tmplOption: string;
118
- render: string;
119
- component: string;
120
- keyFn: string;
121
- }[];
45
+ interface PieChartRef {
46
+ instance: () => dxPieChart;
122
47
  }
123
- declare type IAdaptiveLayoutProps = React.PropsWithChildren<{
48
+ declare const PieChart: (props: React.PropsWithChildren<IPieChartOptions> & {
49
+ ref?: Ref<PieChartRef>;
50
+ }) => ReactElement | null;
51
+ type IAdaptiveLayoutProps = React.PropsWithChildren<{
124
52
  height?: number;
125
53
  keepLabels?: boolean;
126
54
  width?: number;
127
55
  }>;
128
- declare class AdaptiveLayout extends NestedOption<IAdaptiveLayoutProps> {
129
- static OptionName: string;
130
- }
131
- declare type IAnimationProps = React.PropsWithChildren<{
56
+ declare const _componentAdaptiveLayout: React.MemoExoticComponent<(props: IAdaptiveLayoutProps) => React.FunctionComponentElement<IAdaptiveLayoutProps>>;
57
+ declare const AdaptiveLayout: typeof _componentAdaptiveLayout & IElementDescriptor;
58
+ type IAnimationProps = React.PropsWithChildren<{
132
59
  duration?: number;
133
60
  easing?: "easeOutCubic" | "linear";
134
61
  enabled?: boolean;
135
62
  maxPointCountSupported?: number;
136
63
  }>;
137
- declare class Animation extends NestedOption<IAnimationProps> {
138
- static OptionName: string;
139
- }
140
- declare type IAnnotationProps = React.PropsWithChildren<{
64
+ declare const _componentAnimation: React.MemoExoticComponent<(props: IAnimationProps) => React.FunctionComponentElement<IAnimationProps>>;
65
+ declare const Animation: typeof _componentAnimation & IElementDescriptor;
66
+ type IAnnotationProps = React.PropsWithChildren<{
141
67
  allowDragging?: boolean;
142
68
  argument?: Date | number | string;
143
69
  arrowLength?: number;
@@ -188,44 +114,12 @@ declare type IAnnotationProps = React.PropsWithChildren<{
188
114
  y?: number;
189
115
  render?: (...params: any) => React.ReactNode;
190
116
  component?: React.ComponentType<any>;
191
- keyFn?: (data: any) => string;
192
117
  tooltipRender?: (...params: any) => React.ReactNode;
193
118
  tooltipComponent?: React.ComponentType<any>;
194
- tooltipKeyFn?: (data: any) => string;
195
119
  }>;
196
- declare class Annotation extends NestedOption<IAnnotationProps> {
197
- static OptionName: string;
198
- static IsCollectionItem: boolean;
199
- static ExpectedChildren: {
200
- annotationBorder: {
201
- optionName: string;
202
- isCollectionItem: boolean;
203
- };
204
- border: {
205
- optionName: string;
206
- isCollectionItem: boolean;
207
- };
208
- font: {
209
- optionName: string;
210
- isCollectionItem: boolean;
211
- };
212
- image: {
213
- optionName: string;
214
- isCollectionItem: boolean;
215
- };
216
- shadow: {
217
- optionName: string;
218
- isCollectionItem: boolean;
219
- };
220
- };
221
- static TemplateProps: {
222
- tmplOption: string;
223
- render: string;
224
- component: string;
225
- keyFn: string;
226
- }[];
227
- }
228
- declare type IAnnotationBorderProps = React.PropsWithChildren<{
120
+ declare const _componentAnnotation: React.MemoExoticComponent<(props: IAnnotationProps) => React.FunctionComponentElement<IAnnotationProps>>;
121
+ declare const Annotation: typeof _componentAnnotation & IElementDescriptor;
122
+ type IAnnotationBorderProps = React.PropsWithChildren<{
229
123
  color?: string;
230
124
  cornerRadius?: number;
231
125
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
@@ -233,10 +127,9 @@ declare type IAnnotationBorderProps = React.PropsWithChildren<{
233
127
  visible?: boolean;
234
128
  width?: number;
235
129
  }>;
236
- declare class AnnotationBorder extends NestedOption<IAnnotationBorderProps> {
237
- static OptionName: string;
238
- }
239
- declare type IArgumentFormatProps = React.PropsWithChildren<{
130
+ declare const _componentAnnotationBorder: React.MemoExoticComponent<(props: IAnnotationBorderProps) => React.FunctionComponentElement<IAnnotationBorderProps>>;
131
+ declare const AnnotationBorder: typeof _componentAnnotationBorder & IElementDescriptor;
132
+ type IArgumentFormatProps = React.PropsWithChildren<{
240
133
  currency?: string;
241
134
  formatter?: ((value: number | Date) => string);
242
135
  parser?: ((value: string) => number | Date);
@@ -244,10 +137,9 @@ declare type IArgumentFormatProps = React.PropsWithChildren<{
244
137
  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";
245
138
  useCurrencyAccountingStyle?: boolean;
246
139
  }>;
247
- declare class ArgumentFormat extends NestedOption<IArgumentFormatProps> {
248
- static OptionName: string;
249
- }
250
- declare type IBorderProps = React.PropsWithChildren<{
140
+ declare const _componentArgumentFormat: React.MemoExoticComponent<(props: IArgumentFormatProps) => React.FunctionComponentElement<IArgumentFormatProps>>;
141
+ declare const ArgumentFormat: typeof _componentArgumentFormat & IElementDescriptor;
142
+ type IBorderProps = React.PropsWithChildren<{
251
143
  color?: string;
252
144
  cornerRadius?: number;
253
145
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
@@ -255,17 +147,15 @@ declare type IBorderProps = React.PropsWithChildren<{
255
147
  visible?: boolean;
256
148
  width?: number;
257
149
  }>;
258
- declare class Border extends NestedOption<IBorderProps> {
259
- static OptionName: string;
260
- }
261
- declare type IColorProps = React.PropsWithChildren<{
150
+ declare const _componentBorder: React.MemoExoticComponent<(props: IBorderProps) => React.FunctionComponentElement<IBorderProps>>;
151
+ declare const Border: typeof _componentBorder & IElementDescriptor;
152
+ type IColorProps = React.PropsWithChildren<{
262
153
  base?: string;
263
154
  fillId?: string;
264
155
  }>;
265
- declare class Color extends NestedOption<IColorProps> {
266
- static OptionName: string;
267
- }
268
- declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
156
+ declare const _componentColor: React.MemoExoticComponent<(props: IColorProps) => React.FunctionComponentElement<IColorProps>>;
157
+ declare const Color: typeof _componentColor & IElementDescriptor;
158
+ type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
269
159
  allowDragging?: boolean;
270
160
  argument?: Date | number | string;
271
161
  arrowLength?: number;
@@ -315,21 +205,12 @@ declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{
315
205
  y?: number;
316
206
  render?: (...params: any) => React.ReactNode;
317
207
  component?: React.ComponentType<any>;
318
- keyFn?: (data: any) => string;
319
208
  tooltipRender?: (...params: any) => React.ReactNode;
320
209
  tooltipComponent?: React.ComponentType<any>;
321
- tooltipKeyFn?: (data: any) => string;
322
210
  }>;
323
- declare class CommonAnnotationSettings extends NestedOption<ICommonAnnotationSettingsProps> {
324
- static OptionName: string;
325
- static TemplateProps: {
326
- tmplOption: string;
327
- render: string;
328
- component: string;
329
- keyFn: string;
330
- }[];
331
- }
332
- declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
211
+ declare const _componentCommonAnnotationSettings: React.MemoExoticComponent<(props: ICommonAnnotationSettingsProps) => React.FunctionComponentElement<ICommonAnnotationSettingsProps>>;
212
+ declare const CommonAnnotationSettings: typeof _componentCommonAnnotationSettings & IElementDescriptor;
213
+ type ICommonSeriesSettingsProps = React.PropsWithChildren<{
333
214
  argumentField?: string;
334
215
  argumentType?: "datetime" | "numeric" | "string";
335
216
  border?: Record<string, any> | {
@@ -409,48 +290,16 @@ declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
409
290
  tagField?: string;
410
291
  valueField?: string;
411
292
  }>;
412
- declare class CommonSeriesSettings extends NestedOption<ICommonSeriesSettingsProps> {
413
- static OptionName: string;
414
- static ExpectedChildren: {
415
- border: {
416
- optionName: string;
417
- isCollectionItem: boolean;
418
- };
419
- color: {
420
- optionName: string;
421
- isCollectionItem: boolean;
422
- };
423
- hoverStyle: {
424
- optionName: string;
425
- isCollectionItem: boolean;
426
- };
427
- label: {
428
- optionName: string;
429
- isCollectionItem: boolean;
430
- };
431
- selectionStyle: {
432
- optionName: string;
433
- isCollectionItem: boolean;
434
- };
435
- seriesBorder: {
436
- optionName: string;
437
- isCollectionItem: boolean;
438
- };
439
- smallValuesGrouping: {
440
- optionName: string;
441
- isCollectionItem: boolean;
442
- };
443
- };
444
- }
445
- declare type IConnectorProps = React.PropsWithChildren<{
293
+ declare const _componentCommonSeriesSettings: React.MemoExoticComponent<(props: ICommonSeriesSettingsProps) => React.FunctionComponentElement<ICommonSeriesSettingsProps>>;
294
+ declare const CommonSeriesSettings: typeof _componentCommonSeriesSettings & IElementDescriptor;
295
+ type IConnectorProps = React.PropsWithChildren<{
446
296
  color?: string;
447
297
  visible?: boolean;
448
298
  width?: number;
449
299
  }>;
450
- declare class Connector extends NestedOption<IConnectorProps> {
451
- static OptionName: string;
452
- }
453
- declare type IExportProps = React.PropsWithChildren<{
300
+ declare const _componentConnector: React.MemoExoticComponent<(props: IConnectorProps) => React.FunctionComponentElement<IConnectorProps>>;
301
+ declare const Connector: typeof _componentConnector & IElementDescriptor;
302
+ type IExportProps = React.PropsWithChildren<{
454
303
  backgroundColor?: string;
455
304
  enabled?: boolean;
456
305
  fileName?: string;
@@ -459,20 +308,18 @@ declare type IExportProps = React.PropsWithChildren<{
459
308
  printingEnabled?: boolean;
460
309
  svgToCanvas?: ((svg: any, canvas: any) => any);
461
310
  }>;
462
- declare class Export extends NestedOption<IExportProps> {
463
- static OptionName: string;
464
- }
465
- declare type IFontProps = React.PropsWithChildren<{
311
+ declare const _componentExport: React.MemoExoticComponent<(props: IExportProps) => React.FunctionComponentElement<IExportProps>>;
312
+ declare const Export: typeof _componentExport & IElementDescriptor;
313
+ type IFontProps = React.PropsWithChildren<{
466
314
  color?: string;
467
315
  family?: string;
468
316
  opacity?: number;
469
317
  size?: number | string;
470
318
  weight?: number;
471
319
  }>;
472
- declare class Font extends NestedOption<IFontProps> {
473
- static OptionName: string;
474
- }
475
- declare type IFormatProps = React.PropsWithChildren<{
320
+ declare const _componentFont: React.MemoExoticComponent<(props: IFontProps) => React.FunctionComponentElement<IFontProps>>;
321
+ declare const Font: typeof _componentFont & IElementDescriptor;
322
+ type IFormatProps = React.PropsWithChildren<{
476
323
  currency?: string;
477
324
  formatter?: ((value: number | Date) => string);
478
325
  parser?: ((value: string) => number | Date);
@@ -480,19 +327,17 @@ declare type IFormatProps = React.PropsWithChildren<{
480
327
  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";
481
328
  useCurrencyAccountingStyle?: boolean;
482
329
  }>;
483
- declare class Format extends NestedOption<IFormatProps> {
484
- static OptionName: string;
485
- }
486
- declare type IHatchingProps = React.PropsWithChildren<{
330
+ declare const _componentFormat: React.MemoExoticComponent<(props: IFormatProps) => React.FunctionComponentElement<IFormatProps>>;
331
+ declare const Format: typeof _componentFormat & IElementDescriptor;
332
+ type IHatchingProps = React.PropsWithChildren<{
487
333
  direction?: "left" | "none" | "right";
488
334
  opacity?: number;
489
335
  step?: number;
490
336
  width?: number;
491
337
  }>;
492
- declare class Hatching extends NestedOption<IHatchingProps> {
493
- static OptionName: string;
494
- }
495
- declare type IHoverStyleProps = React.PropsWithChildren<{
338
+ declare const _componentHatching: React.MemoExoticComponent<(props: IHatchingProps) => React.FunctionComponentElement<IHatchingProps>>;
339
+ declare const Hatching: typeof _componentHatching & IElementDescriptor;
340
+ type IHoverStyleProps = React.PropsWithChildren<{
496
341
  border?: Record<string, any> | {
497
342
  color?: string;
498
343
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
@@ -508,36 +353,16 @@ declare type IHoverStyleProps = React.PropsWithChildren<{
508
353
  };
509
354
  highlight?: boolean;
510
355
  }>;
511
- declare class HoverStyle extends NestedOption<IHoverStyleProps> {
512
- static OptionName: string;
513
- static ExpectedChildren: {
514
- border: {
515
- optionName: string;
516
- isCollectionItem: boolean;
517
- };
518
- color: {
519
- optionName: string;
520
- isCollectionItem: boolean;
521
- };
522
- hatching: {
523
- optionName: string;
524
- isCollectionItem: boolean;
525
- };
526
- seriesBorder: {
527
- optionName: string;
528
- isCollectionItem: boolean;
529
- };
530
- };
531
- }
532
- declare type IImageProps = React.PropsWithChildren<{
356
+ declare const _componentHoverStyle: React.MemoExoticComponent<(props: IHoverStyleProps) => React.FunctionComponentElement<IHoverStyleProps>>;
357
+ declare const HoverStyle: typeof _componentHoverStyle & IElementDescriptor;
358
+ type IImageProps = React.PropsWithChildren<{
533
359
  height?: number;
534
360
  url?: string;
535
361
  width?: number;
536
362
  }>;
537
- declare class Image extends NestedOption<IImageProps> {
538
- static OptionName: string;
539
- }
540
- declare type ILabelProps = React.PropsWithChildren<{
363
+ declare const _componentImage: React.MemoExoticComponent<(props: IImageProps) => React.FunctionComponentElement<IImageProps>>;
364
+ declare const Image: typeof _componentImage & IElementDescriptor;
365
+ type ILabelProps = React.PropsWithChildren<{
541
366
  argumentFormat?: LocalizationTypes.Format;
542
367
  backgroundColor?: string;
543
368
  border?: Record<string, any> | {
@@ -562,36 +387,9 @@ declare type ILabelProps = React.PropsWithChildren<{
562
387
  visible?: boolean;
563
388
  wordWrap?: "normal" | "breakWord" | "none";
564
389
  }>;
565
- declare class Label extends NestedOption<ILabelProps> {
566
- static OptionName: string;
567
- static ExpectedChildren: {
568
- argumentFormat: {
569
- optionName: string;
570
- isCollectionItem: boolean;
571
- };
572
- border: {
573
- optionName: string;
574
- isCollectionItem: boolean;
575
- };
576
- connector: {
577
- optionName: string;
578
- isCollectionItem: boolean;
579
- };
580
- font: {
581
- optionName: string;
582
- isCollectionItem: boolean;
583
- };
584
- format: {
585
- optionName: string;
586
- isCollectionItem: boolean;
587
- };
588
- seriesBorder: {
589
- optionName: string;
590
- isCollectionItem: boolean;
591
- };
592
- };
593
- }
594
- declare type ILegendProps = React.PropsWithChildren<{
390
+ declare const _componentLabel: React.MemoExoticComponent<(props: ILabelProps) => React.FunctionComponentElement<ILabelProps>>;
391
+ declare const Label: typeof _componentLabel & IElementDescriptor;
392
+ type ILegendProps = React.PropsWithChildren<{
595
393
  backgroundColor?: string;
596
394
  border?: Record<string, any> | {
597
395
  color?: string;
@@ -654,44 +452,10 @@ declare type ILegendProps = React.PropsWithChildren<{
654
452
  visible?: boolean;
655
453
  markerRender?: (...params: any) => React.ReactNode;
656
454
  markerComponent?: React.ComponentType<any>;
657
- markerKeyFn?: (data: any) => string;
658
455
  }>;
659
- declare class Legend extends NestedOption<ILegendProps> {
660
- static OptionName: string;
661
- static ExpectedChildren: {
662
- annotationBorder: {
663
- optionName: string;
664
- isCollectionItem: boolean;
665
- };
666
- border: {
667
- optionName: string;
668
- isCollectionItem: boolean;
669
- };
670
- font: {
671
- optionName: string;
672
- isCollectionItem: boolean;
673
- };
674
- legendTitle: {
675
- optionName: string;
676
- isCollectionItem: boolean;
677
- };
678
- margin: {
679
- optionName: string;
680
- isCollectionItem: boolean;
681
- };
682
- title: {
683
- optionName: string;
684
- isCollectionItem: boolean;
685
- };
686
- };
687
- static TemplateProps: {
688
- tmplOption: string;
689
- render: string;
690
- component: string;
691
- keyFn: string;
692
- }[];
693
- }
694
- declare type ILegendTitleProps = React.PropsWithChildren<{
456
+ declare const _componentLegend: React.MemoExoticComponent<(props: ILegendProps) => React.FunctionComponentElement<ILegendProps>>;
457
+ declare const Legend: typeof _componentLegend & IElementDescriptor;
458
+ type ILegendTitleProps = React.PropsWithChildren<{
695
459
  font?: ChartsFont;
696
460
  horizontalAlignment?: "center" | "left" | "right";
697
461
  margin?: Record<string, any> | {
@@ -709,42 +473,16 @@ declare type ILegendTitleProps = React.PropsWithChildren<{
709
473
  text?: string;
710
474
  verticalAlignment?: "bottom" | "top";
711
475
  }>;
712
- declare class LegendTitle extends NestedOption<ILegendTitleProps> {
713
- static OptionName: string;
714
- static ExpectedChildren: {
715
- font: {
716
- optionName: string;
717
- isCollectionItem: boolean;
718
- };
719
- legendTitleSubtitle: {
720
- optionName: string;
721
- isCollectionItem: boolean;
722
- };
723
- margin: {
724
- optionName: string;
725
- isCollectionItem: boolean;
726
- };
727
- subtitle: {
728
- optionName: string;
729
- isCollectionItem: boolean;
730
- };
731
- };
732
- }
733
- declare type ILegendTitleSubtitleProps = React.PropsWithChildren<{
476
+ declare const _componentLegendTitle: React.MemoExoticComponent<(props: ILegendTitleProps) => React.FunctionComponentElement<ILegendTitleProps>>;
477
+ declare const LegendTitle: typeof _componentLegendTitle & IElementDescriptor;
478
+ type ILegendTitleSubtitleProps = React.PropsWithChildren<{
734
479
  font?: ChartsFont;
735
480
  offset?: number;
736
481
  text?: string;
737
482
  }>;
738
- declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps> {
739
- static OptionName: string;
740
- static ExpectedChildren: {
741
- font: {
742
- optionName: string;
743
- isCollectionItem: boolean;
744
- };
745
- };
746
- }
747
- declare type ILoadingIndicatorProps = React.PropsWithChildren<{
483
+ declare const _componentLegendTitleSubtitle: React.MemoExoticComponent<(props: ILegendTitleSubtitleProps) => React.FunctionComponentElement<ILegendTitleSubtitleProps>>;
484
+ declare const LegendTitleSubtitle: typeof _componentLegendTitleSubtitle & IElementDescriptor;
485
+ type ILoadingIndicatorProps = React.PropsWithChildren<{
748
486
  backgroundColor?: string;
749
487
  enabled?: boolean;
750
488
  font?: ChartsFont;
@@ -753,28 +491,17 @@ declare type ILoadingIndicatorProps = React.PropsWithChildren<{
753
491
  defaultShow?: boolean;
754
492
  onShowChange?: (value: boolean) => void;
755
493
  }>;
756
- declare class LoadingIndicator extends NestedOption<ILoadingIndicatorProps> {
757
- static OptionName: string;
758
- static DefaultsProps: {
759
- defaultShow: string;
760
- };
761
- static ExpectedChildren: {
762
- font: {
763
- optionName: string;
764
- isCollectionItem: boolean;
765
- };
766
- };
767
- }
768
- declare type IMarginProps = React.PropsWithChildren<{
494
+ declare const _componentLoadingIndicator: React.MemoExoticComponent<(props: ILoadingIndicatorProps) => React.FunctionComponentElement<ILoadingIndicatorProps>>;
495
+ declare const LoadingIndicator: typeof _componentLoadingIndicator & IElementDescriptor;
496
+ type IMarginProps = React.PropsWithChildren<{
769
497
  bottom?: number;
770
498
  left?: number;
771
499
  right?: number;
772
500
  top?: number;
773
501
  }>;
774
- declare class Margin extends NestedOption<IMarginProps> {
775
- static OptionName: string;
776
- }
777
- declare type IPieChartTitleProps = React.PropsWithChildren<{
502
+ declare const _componentMargin: React.MemoExoticComponent<(props: IMarginProps) => React.FunctionComponentElement<IMarginProps>>;
503
+ declare const Margin: typeof _componentMargin & IElementDescriptor;
504
+ type IPieChartTitleProps = React.PropsWithChildren<{
778
505
  font?: ChartsFont;
779
506
  horizontalAlignment?: "center" | "left" | "right";
780
507
  margin?: number | Record<string, any> | {
@@ -796,44 +523,18 @@ declare type IPieChartTitleProps = React.PropsWithChildren<{
796
523
  verticalAlignment?: "bottom" | "top";
797
524
  wordWrap?: "normal" | "breakWord" | "none";
798
525
  }>;
799
- declare class PieChartTitle extends NestedOption<IPieChartTitleProps> {
800
- static OptionName: string;
801
- static ExpectedChildren: {
802
- font: {
803
- optionName: string;
804
- isCollectionItem: boolean;
805
- };
806
- margin: {
807
- optionName: string;
808
- isCollectionItem: boolean;
809
- };
810
- pieChartTitleSubtitle: {
811
- optionName: string;
812
- isCollectionItem: boolean;
813
- };
814
- subtitle: {
815
- optionName: string;
816
- isCollectionItem: boolean;
817
- };
818
- };
819
- }
820
- declare type IPieChartTitleSubtitleProps = React.PropsWithChildren<{
526
+ declare const _componentPieChartTitle: React.MemoExoticComponent<(props: IPieChartTitleProps) => React.FunctionComponentElement<IPieChartTitleProps>>;
527
+ declare const PieChartTitle: typeof _componentPieChartTitle & IElementDescriptor;
528
+ type IPieChartTitleSubtitleProps = React.PropsWithChildren<{
821
529
  font?: ChartsFont;
822
530
  offset?: number;
823
531
  text?: string;
824
532
  textOverflow?: "ellipsis" | "hide" | "none";
825
533
  wordWrap?: "normal" | "breakWord" | "none";
826
534
  }>;
827
- declare class PieChartTitleSubtitle extends NestedOption<IPieChartTitleSubtitleProps> {
828
- static OptionName: string;
829
- static ExpectedChildren: {
830
- font: {
831
- optionName: string;
832
- isCollectionItem: boolean;
833
- };
834
- };
835
- }
836
- declare type ISelectionStyleProps = React.PropsWithChildren<{
535
+ declare const _componentPieChartTitleSubtitle: React.MemoExoticComponent<(props: IPieChartTitleSubtitleProps) => React.FunctionComponentElement<IPieChartTitleSubtitleProps>>;
536
+ declare const PieChartTitleSubtitle: typeof _componentPieChartTitleSubtitle & IElementDescriptor;
537
+ type ISelectionStyleProps = React.PropsWithChildren<{
837
538
  border?: Record<string, any> | {
838
539
  color?: string;
839
540
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
@@ -849,28 +550,9 @@ declare type ISelectionStyleProps = React.PropsWithChildren<{
849
550
  };
850
551
  highlight?: boolean;
851
552
  }>;
852
- declare class SelectionStyle extends NestedOption<ISelectionStyleProps> {
853
- static OptionName: string;
854
- static ExpectedChildren: {
855
- border: {
856
- optionName: string;
857
- isCollectionItem: boolean;
858
- };
859
- color: {
860
- optionName: string;
861
- isCollectionItem: boolean;
862
- };
863
- hatching: {
864
- optionName: string;
865
- isCollectionItem: boolean;
866
- };
867
- seriesBorder: {
868
- optionName: string;
869
- isCollectionItem: boolean;
870
- };
871
- };
872
- }
873
- declare type ISeriesProps = React.PropsWithChildren<{
553
+ declare const _componentSelectionStyle: React.MemoExoticComponent<(props: ISelectionStyleProps) => React.FunctionComponentElement<ISelectionStyleProps>>;
554
+ declare const SelectionStyle: typeof _componentSelectionStyle & IElementDescriptor;
555
+ type ISeriesProps = React.PropsWithChildren<{
874
556
  argumentField?: string;
875
557
  argumentType?: "datetime" | "numeric" | "string";
876
558
  border?: Record<string, any> | {
@@ -952,63 +634,55 @@ declare type ISeriesProps = React.PropsWithChildren<{
952
634
  tagField?: string;
953
635
  valueField?: string;
954
636
  }>;
955
- declare class Series extends NestedOption<ISeriesProps> {
956
- static OptionName: string;
957
- static IsCollectionItem: boolean;
958
- }
959
- declare type ISeriesBorderProps = React.PropsWithChildren<{
637
+ declare const _componentSeries: React.MemoExoticComponent<(props: ISeriesProps) => React.FunctionComponentElement<ISeriesProps>>;
638
+ declare const Series: typeof _componentSeries & IElementDescriptor;
639
+ type ISeriesBorderProps = React.PropsWithChildren<{
960
640
  color?: string;
961
641
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
962
642
  visible?: boolean;
963
643
  width?: number;
964
644
  }>;
965
- declare class SeriesBorder extends NestedOption<ISeriesBorderProps> {
966
- static OptionName: string;
967
- }
968
- declare type ISeriesTemplateProps = React.PropsWithChildren<{
645
+ declare const _componentSeriesBorder: React.MemoExoticComponent<(props: ISeriesBorderProps) => React.FunctionComponentElement<ISeriesBorderProps>>;
646
+ declare const SeriesBorder: typeof _componentSeriesBorder & IElementDescriptor;
647
+ type ISeriesTemplateProps = React.PropsWithChildren<{
969
648
  customizeSeries?: ((seriesName: any) => PieChartSeries);
970
649
  nameField?: string;
971
650
  }>;
972
- declare class SeriesTemplate extends NestedOption<ISeriesTemplateProps> {
973
- static OptionName: string;
974
- }
975
- declare type IShadowProps = React.PropsWithChildren<{
651
+ declare const _componentSeriesTemplate: React.MemoExoticComponent<(props: ISeriesTemplateProps) => React.FunctionComponentElement<ISeriesTemplateProps>>;
652
+ declare const SeriesTemplate: typeof _componentSeriesTemplate & IElementDescriptor;
653
+ type IShadowProps = React.PropsWithChildren<{
976
654
  blur?: number;
977
655
  color?: string;
978
656
  offsetX?: number;
979
657
  offsetY?: number;
980
658
  opacity?: number;
981
659
  }>;
982
- declare class Shadow extends NestedOption<IShadowProps> {
983
- static OptionName: string;
984
- }
985
- declare type ISizeProps = React.PropsWithChildren<{
660
+ declare const _componentShadow: React.MemoExoticComponent<(props: IShadowProps) => React.FunctionComponentElement<IShadowProps>>;
661
+ declare const Shadow: typeof _componentShadow & IElementDescriptor;
662
+ type ISizeProps = React.PropsWithChildren<{
986
663
  height?: number;
987
664
  width?: number;
988
665
  }>;
989
- declare class Size extends NestedOption<ISizeProps> {
990
- static OptionName: string;
991
- }
992
- declare type ISmallValuesGroupingProps = React.PropsWithChildren<{
666
+ declare const _componentSize: React.MemoExoticComponent<(props: ISizeProps) => React.FunctionComponentElement<ISizeProps>>;
667
+ declare const Size: typeof _componentSize & IElementDescriptor;
668
+ type ISmallValuesGroupingProps = React.PropsWithChildren<{
993
669
  groupName?: string;
994
670
  mode?: "none" | "smallValueThreshold" | "topN";
995
671
  threshold?: number;
996
672
  topCount?: number;
997
673
  }>;
998
- declare class SmallValuesGrouping extends NestedOption<ISmallValuesGroupingProps> {
999
- static OptionName: string;
1000
- }
1001
- declare type ISubtitleProps = React.PropsWithChildren<{
674
+ declare const _componentSmallValuesGrouping: React.MemoExoticComponent<(props: ISmallValuesGroupingProps) => React.FunctionComponentElement<ISmallValuesGroupingProps>>;
675
+ declare const SmallValuesGrouping: typeof _componentSmallValuesGrouping & IElementDescriptor;
676
+ type ISubtitleProps = React.PropsWithChildren<{
1002
677
  font?: ChartsFont;
1003
678
  offset?: number;
1004
679
  text?: string;
1005
680
  textOverflow?: "ellipsis" | "hide" | "none";
1006
681
  wordWrap?: "normal" | "breakWord" | "none";
1007
682
  }>;
1008
- declare class Subtitle extends NestedOption<ISubtitleProps> {
1009
- static OptionName: string;
1010
- }
1011
- declare type ITitleProps = React.PropsWithChildren<{
683
+ declare const _componentSubtitle: React.MemoExoticComponent<(props: ISubtitleProps) => React.FunctionComponentElement<ISubtitleProps>>;
684
+ declare const Subtitle: typeof _componentSubtitle & IElementDescriptor;
685
+ type ITitleProps = React.PropsWithChildren<{
1012
686
  font?: ChartsFont;
1013
687
  horizontalAlignment?: "center" | "left" | "right";
1014
688
  margin?: Record<string, any> | number | {
@@ -1030,10 +704,9 @@ declare type ITitleProps = React.PropsWithChildren<{
1030
704
  textOverflow?: "ellipsis" | "hide" | "none";
1031
705
  wordWrap?: "normal" | "breakWord" | "none";
1032
706
  }>;
1033
- declare class Title extends NestedOption<ITitleProps> {
1034
- static OptionName: string;
1035
- }
1036
- declare type ITooltipProps = React.PropsWithChildren<{
707
+ declare const _componentTitle: React.MemoExoticComponent<(props: ITitleProps) => React.FunctionComponentElement<ITitleProps>>;
708
+ declare const Title: typeof _componentTitle & IElementDescriptor;
709
+ type ITooltipProps = React.PropsWithChildren<{
1037
710
  argumentFormat?: LocalizationTypes.Format;
1038
711
  arrowLength?: number;
1039
712
  border?: Record<string, any> | {
@@ -1066,54 +739,19 @@ declare type ITooltipProps = React.PropsWithChildren<{
1066
739
  zIndex?: number;
1067
740
  contentRender?: (...params: any) => React.ReactNode;
1068
741
  contentComponent?: React.ComponentType<any>;
1069
- contentKeyFn?: (data: any) => string;
1070
742
  }>;
1071
- declare class Tooltip extends NestedOption<ITooltipProps> {
1072
- static OptionName: string;
1073
- static ExpectedChildren: {
1074
- argumentFormat: {
1075
- optionName: string;
1076
- isCollectionItem: boolean;
1077
- };
1078
- border: {
1079
- optionName: string;
1080
- isCollectionItem: boolean;
1081
- };
1082
- font: {
1083
- optionName: string;
1084
- isCollectionItem: boolean;
1085
- };
1086
- format: {
1087
- optionName: string;
1088
- isCollectionItem: boolean;
1089
- };
1090
- shadow: {
1091
- optionName: string;
1092
- isCollectionItem: boolean;
1093
- };
1094
- tooltipBorder: {
1095
- optionName: string;
1096
- isCollectionItem: boolean;
1097
- };
1098
- };
1099
- static TemplateProps: {
1100
- tmplOption: string;
1101
- render: string;
1102
- component: string;
1103
- keyFn: string;
1104
- }[];
1105
- }
1106
- declare type ITooltipBorderProps = React.PropsWithChildren<{
743
+ declare const _componentTooltip: React.MemoExoticComponent<(props: ITooltipProps) => React.FunctionComponentElement<ITooltipProps>>;
744
+ declare const Tooltip: typeof _componentTooltip & IElementDescriptor;
745
+ type ITooltipBorderProps = React.PropsWithChildren<{
1107
746
  color?: string;
1108
747
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
1109
748
  opacity?: number;
1110
749
  visible?: boolean;
1111
750
  width?: number;
1112
751
  }>;
1113
- declare class TooltipBorder extends NestedOption<ITooltipBorderProps> {
1114
- static OptionName: string;
1115
- }
752
+ declare const _componentTooltipBorder: React.MemoExoticComponent<(props: ITooltipBorderProps) => React.FunctionComponentElement<ITooltipBorderProps>>;
753
+ declare const TooltipBorder: typeof _componentTooltipBorder & IElementDescriptor;
1116
754
  export default PieChart;
1117
- export { PieChart, IPieChartOptions, AdaptiveLayout, IAdaptiveLayoutProps, Animation, IAnimationProps, Annotation, IAnnotationProps, AnnotationBorder, IAnnotationBorderProps, ArgumentFormat, IArgumentFormatProps, Border, IBorderProps, Color, IColorProps, CommonAnnotationSettings, ICommonAnnotationSettingsProps, CommonSeriesSettings, ICommonSeriesSettingsProps, Connector, IConnectorProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Hatching, IHatchingProps, HoverStyle, IHoverStyleProps, Image, IImageProps, Label, ILabelProps, Legend, ILegendProps, LegendTitle, ILegendTitleProps, LegendTitleSubtitle, ILegendTitleSubtitleProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, PieChartTitle, IPieChartTitleProps, PieChartTitleSubtitle, IPieChartTitleSubtitleProps, SelectionStyle, ISelectionStyleProps, Series, ISeriesProps, SeriesBorder, ISeriesBorderProps, SeriesTemplate, ISeriesTemplateProps, Shadow, IShadowProps, Size, ISizeProps, SmallValuesGrouping, ISmallValuesGroupingProps, Subtitle, ISubtitleProps, Title, ITitleProps, Tooltip, ITooltipProps, TooltipBorder, ITooltipBorderProps };
755
+ export { PieChart, IPieChartOptions, PieChartRef, AdaptiveLayout, IAdaptiveLayoutProps, Animation, IAnimationProps, Annotation, IAnnotationProps, AnnotationBorder, IAnnotationBorderProps, ArgumentFormat, IArgumentFormatProps, Border, IBorderProps, Color, IColorProps, CommonAnnotationSettings, ICommonAnnotationSettingsProps, CommonSeriesSettings, ICommonSeriesSettingsProps, Connector, IConnectorProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Hatching, IHatchingProps, HoverStyle, IHoverStyleProps, Image, IImageProps, Label, ILabelProps, Legend, ILegendProps, LegendTitle, ILegendTitleProps, LegendTitleSubtitle, ILegendTitleSubtitleProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, PieChartTitle, IPieChartTitleProps, PieChartTitleSubtitle, IPieChartTitleSubtitleProps, SelectionStyle, ISelectionStyleProps, Series, ISeriesProps, SeriesBorder, ISeriesBorderProps, SeriesTemplate, ISeriesTemplateProps, Shadow, IShadowProps, Size, ISizeProps, SmallValuesGrouping, ISmallValuesGroupingProps, Subtitle, ISubtitleProps, Title, ITitleProps, Tooltip, ITooltipProps, TooltipBorder, ITooltipBorderProps };
1118
756
  import type * as PieChartTypes from 'devextreme/viz/pie_chart_types';
1119
757
  export { PieChartTypes };