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.
- package/cjs/accordion.d.ts +35 -48
- package/cjs/accordion.js +63 -118
- package/cjs/action-sheet.d.ts +27 -43
- package/cjs/action-sheet.js +54 -95
- package/cjs/autocomplete.d.ts +62 -192
- package/cjs/autocomplete.js +181 -352
- package/cjs/bar-gauge.d.ts +80 -292
- package/cjs/bar-gauge.js +210 -353
- package/cjs/box.d.ts +25 -42
- package/cjs/box.js +53 -113
- package/cjs/bullet.d.ts +35 -80
- package/cjs/bullet.js +82 -148
- package/cjs/button-group.d.ts +17 -43
- package/cjs/button-group.js +54 -112
- package/cjs/button.d.ts +14 -19
- package/cjs/button.js +36 -88
- package/cjs/calendar.d.ts +14 -24
- package/cjs/calendar.js +41 -180
- package/cjs/chart.d.ts +297 -1146
- package/cjs/chart.js +707 -1059
- package/cjs/check-box.d.ts +14 -16
- package/cjs/check-box.js +34 -101
- package/cjs/circular-gauge.d.ts +86 -287
- package/cjs/circular-gauge.js +226 -332
- package/cjs/color-box.d.ts +59 -175
- package/cjs/color-box.js +165 -312
- package/cjs/common/charts.d.ts +2 -2
- package/cjs/common/charts.js +2 -2
- package/cjs/common/data/custom-store.d.ts +2 -2
- package/cjs/common/data/custom-store.js +2 -2
- package/cjs/common/grids.d.ts +2 -2
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +2 -2
- package/cjs/common/index.js +2 -2
- package/cjs/context-menu.d.ts +71 -148
- package/cjs/context-menu.js +151 -279
- package/cjs/core/component-base.d.ts +18 -47
- package/cjs/core/component-base.js +261 -185
- package/cjs/core/component.d.ts +26 -13
- package/cjs/core/component.js +73 -58
- package/cjs/core/config.d.ts +2 -2
- package/cjs/core/config.js +2 -2
- package/cjs/core/configuration/comparer.d.ts +2 -2
- package/cjs/core/configuration/comparer.js +10 -10
- package/cjs/core/configuration/config-node.d.ts +2 -3
- package/cjs/core/configuration/config-node.js +2 -2
- package/cjs/core/configuration/react/element.d.ts +12 -4
- package/cjs/core/configuration/react/element.js +4 -5
- package/cjs/core/configuration/react/templates.d.ts +2 -2
- package/cjs/core/configuration/react/templates.js +2 -8
- package/cjs/core/configuration/react/tree.d.ts +2 -2
- package/cjs/core/configuration/react/tree.js +13 -9
- package/cjs/core/configuration/tree.d.ts +2 -2
- package/cjs/core/configuration/tree.js +5 -6
- package/cjs/core/configuration/utils.d.ts +2 -2
- package/cjs/core/configuration/utils.js +2 -2
- package/cjs/core/extension-component.d.ts +14 -7
- package/cjs/core/extension-component.js +69 -29
- package/cjs/core/helpers.d.ts +4 -3
- package/cjs/core/helpers.js +8 -9
- package/cjs/core/nested-option.d.ts +3 -5
- package/cjs/core/nested-option.js +16 -34
- package/cjs/core/options-manager.d.ts +3 -2
- package/cjs/core/options-manager.js +30 -18
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +20 -16
- package/cjs/core/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +18 -14
- package/cjs/core/template.d.ts +3 -7
- package/cjs/core/template.js +4 -61
- package/cjs/core/types.d.ts +8 -8
- package/cjs/core/types.js +2 -2
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +23 -6
- package/cjs/data-grid.d.ts +317 -1057
- package/cjs/data-grid.js +752 -1112
- package/cjs/date-box.d.ts +65 -202
- package/cjs/date-box.js +179 -386
- package/cjs/date-range-box.d.ts +65 -203
- package/cjs/date-range-box.js +181 -373
- package/cjs/defer-rendering.d.ts +41 -93
- package/cjs/defer-rendering.js +93 -151
- package/cjs/diagram.d.ts +92 -307
- package/cjs/diagram.js +263 -408
- package/cjs/draggable.d.ts +17 -30
- package/cjs/draggable.js +45 -89
- package/cjs/drawer.d.ts +14 -23
- package/cjs/drawer.js +40 -102
- package/cjs/drop-down-box.d.ts +59 -175
- package/cjs/drop-down-box.js +169 -319
- package/cjs/drop-down-button.d.ts +58 -160
- package/cjs/drop-down-button.js +157 -256
- package/cjs/file-manager.d.ts +50 -128
- package/cjs/file-manager.js +123 -220
- package/cjs/file-uploader.d.ts +14 -16
- package/cjs/file-uploader.js +34 -127
- package/cjs/filter-builder.d.ts +32 -86
- package/cjs/filter-builder.js +86 -147
- package/cjs/form.d.ts +94 -347
- package/cjs/form.js +273 -398
- package/cjs/funnel.d.ts +95 -358
- package/cjs/funnel.js +239 -412
- package/cjs/gallery.d.ts +29 -44
- package/cjs/gallery.js +55 -107
- package/cjs/gantt.d.ts +89 -294
- package/cjs/gantt.js +252 -420
- package/cjs/html-editor.d.ts +50 -164
- package/cjs/html-editor.js +143 -262
- package/cjs/index.d.ts +3 -2
- package/cjs/index.js +5 -3
- package/cjs/linear-gauge.d.ts +89 -288
- package/cjs/linear-gauge.js +226 -335
- package/cjs/list.d.ts +49 -118
- package/cjs/list.js +115 -277
- package/cjs/load-indicator.d.ts +14 -12
- package/cjs/load-indicator.js +30 -56
- package/cjs/load-panel.d.ts +47 -99
- package/cjs/load-panel.js +111 -221
- package/cjs/lookup.d.ts +62 -182
- package/cjs/lookup.js +174 -364
- package/cjs/map.d.ts +32 -80
- package/cjs/map.js +85 -164
- package/cjs/menu.d.ts +69 -171
- package/cjs/menu.js +153 -286
- package/cjs/multi-view.d.ts +29 -44
- package/cjs/multi-view.js +55 -101
- package/cjs/number-box.d.ts +23 -53
- package/cjs/number-box.js +62 -183
- package/cjs/pie-chart.d.ts +119 -481
- package/cjs/pie-chart.js +309 -520
- package/cjs/pivot-grid-field-chooser.d.ts +29 -61
- package/cjs/pivot-grid-field-chooser.js +67 -129
- package/cjs/pivot-grid.d.ts +53 -137
- package/cjs/pivot-grid.js +125 -225
- package/cjs/polar-chart.d.ts +228 -882
- package/cjs/polar-chart.js +544 -828
- package/cjs/popover.d.ts +56 -142
- package/cjs/popover.js +150 -270
- package/cjs/popup.d.ts +48 -124
- package/cjs/popup.js +136 -261
- package/cjs/progress-bar.d.ts +14 -16
- package/cjs/progress-bar.js +34 -98
- package/cjs/radio-group.d.ts +17 -42
- package/cjs/radio-group.js +53 -132
- package/cjs/range-selector.d.ts +194 -671
- package/cjs/range-selector.js +455 -646
- package/cjs/range-slider.d.ts +23 -51
- package/cjs/range-slider.js +60 -145
- package/cjs/recurrence-editor.d.ts +14 -16
- package/cjs/recurrence-editor.js +34 -95
- package/cjs/resizable.d.ts +14 -17
- package/cjs/resizable.js +35 -75
- package/cjs/responsive-box.d.ts +34 -71
- package/cjs/responsive-box.js +78 -122
- package/cjs/sankey.d.ts +71 -240
- package/cjs/sankey.js +180 -321
- package/cjs/scheduler.d.ts +29 -96
- package/cjs/scheduler.js +127 -290
- package/cjs/scroll-view.d.ts +14 -12
- package/cjs/scroll-view.js +30 -82
- package/cjs/select-box.d.ts +62 -193
- package/cjs/select-box.js +186 -366
- package/cjs/slider.d.ts +23 -51
- package/cjs/slider.js +60 -142
- package/cjs/sortable.d.ts +17 -30
- package/cjs/sortable.js +45 -110
- package/cjs/sparkline.d.ts +35 -80
- package/cjs/sparkline.js +82 -183
- package/cjs/speed-dial-action.d.ts +14 -12
- package/cjs/speed-dial-action.js +30 -54
- package/cjs/splitter.d.ts +79 -0
- package/cjs/splitter.js +99 -0
- package/cjs/switch.d.ts +14 -16
- package/cjs/switch.js +34 -98
- package/cjs/tab-panel.d.ts +31 -46
- package/cjs/tab-panel.js +61 -140
- package/cjs/tabs.d.ts +33 -46
- package/cjs/tabs.js +57 -138
- package/cjs/tag-box.d.ts +62 -194
- package/cjs/tag-box.js +191 -390
- package/cjs/text-area.d.ts +14 -16
- package/cjs/text-area.js +34 -141
- package/cjs/text-box.d.ts +20 -45
- package/cjs/text-box.js +55 -182
- package/cjs/tile-view.d.ts +25 -42
- package/cjs/tile-view.js +53 -112
- package/cjs/toast.d.ts +47 -106
- package/cjs/toast.js +117 -223
- package/cjs/toolbar.d.ts +27 -44
- package/cjs/toolbar.js +59 -92
- package/cjs/tooltip.d.ts +53 -124
- package/cjs/tooltip.js +133 -243
- package/cjs/tree-list.d.ts +274 -909
- package/cjs/tree-list.js +644 -996
- package/cjs/tree-map.d.ts +77 -257
- package/cjs/tree-map.js +191 -326
- package/cjs/tree-view.d.ts +34 -81
- package/cjs/tree-view.js +82 -229
- package/cjs/validation-group.d.ts +14 -12
- package/cjs/validation-group.js +30 -51
- package/cjs/validation-summary.d.ts +25 -42
- package/cjs/validation-summary.js +53 -71
- package/cjs/validator.d.ts +48 -142
- package/cjs/validator.js +142 -187
- package/cjs/vector-map.d.ts +92 -347
- package/cjs/vector-map.js +244 -384
- package/esm/accordion.js +58 -117
- package/esm/action-sheet.js +49 -94
- package/esm/autocomplete.js +176 -351
- package/esm/bar-gauge.js +205 -352
- package/esm/box.js +48 -112
- package/esm/bullet.js +77 -147
- package/esm/button-group.js +49 -111
- package/esm/button.js +31 -87
- package/esm/calendar.js +36 -179
- package/esm/chart.js +702 -1058
- package/esm/check-box.js +29 -100
- package/esm/circular-gauge.js +221 -331
- package/esm/color-box.js +160 -311
- package/esm/common/charts.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +2 -2
- package/esm/context-menu.js +146 -278
- package/esm/core/component-base.js +256 -184
- package/esm/core/component.js +69 -58
- package/esm/core/config.js +2 -2
- package/esm/core/configuration/comparer.js +2 -2
- package/esm/core/configuration/config-node.js +2 -2
- package/esm/core/configuration/react/element.js +5 -5
- package/esm/core/configuration/react/templates.js +2 -8
- package/esm/core/configuration/react/tree.js +3 -3
- package/esm/core/configuration/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/extension-component.js +45 -29
- package/esm/core/helpers.js +7 -8
- package/esm/core/nested-option.js +11 -33
- package/esm/core/options-manager.js +22 -10
- package/esm/core/template-manager.js +3 -3
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +4 -42
- package/esm/core/types.js +2 -2
- package/esm/core/widget-config.js +23 -6
- package/esm/data-grid.js +748 -1112
- package/esm/date-box.js +174 -385
- package/esm/date-range-box.js +176 -372
- package/esm/defer-rendering.js +88 -150
- package/esm/diagram.js +258 -407
- package/esm/draggable.js +40 -88
- package/esm/drawer.js +35 -101
- package/esm/drop-down-box.js +164 -318
- package/esm/drop-down-button.js +152 -255
- package/esm/file-manager.js +118 -219
- package/esm/file-uploader.js +29 -126
- package/esm/filter-builder.js +81 -146
- package/esm/form.js +268 -397
- package/esm/funnel.js +234 -411
- package/esm/gallery.js +50 -106
- package/esm/gantt.js +247 -419
- package/esm/html-editor.js +138 -261
- package/esm/index.js +3 -2
- package/esm/linear-gauge.js +221 -334
- package/esm/list.js +110 -276
- package/esm/load-indicator.js +25 -55
- package/esm/load-panel.js +106 -220
- package/esm/lookup.js +169 -363
- package/esm/map.js +80 -163
- package/esm/menu.js +148 -285
- package/esm/multi-view.js +50 -100
- package/esm/number-box.js +57 -182
- package/esm/pie-chart.js +304 -519
- package/esm/pivot-grid-field-chooser.js +62 -128
- package/esm/pivot-grid.js +120 -224
- package/esm/polar-chart.js +539 -827
- package/esm/popover.js +145 -269
- package/esm/popup.js +131 -260
- package/esm/progress-bar.js +29 -97
- package/esm/radio-group.js +48 -131
- package/esm/range-selector.js +450 -645
- package/esm/range-slider.js +55 -144
- package/esm/recurrence-editor.js +29 -94
- package/esm/resizable.js +30 -74
- package/esm/responsive-box.js +73 -121
- package/esm/sankey.js +175 -320
- package/esm/scheduler.js +122 -289
- package/esm/scroll-view.js +25 -81
- package/esm/select-box.js +181 -365
- package/esm/slider.js +55 -141
- package/esm/sortable.js +40 -109
- package/esm/sparkline.js +77 -182
- package/esm/speed-dial-action.js +25 -53
- package/esm/splitter.js +69 -0
- package/esm/switch.js +29 -97
- package/esm/tab-panel.js +56 -139
- package/esm/tabs.js +52 -137
- package/esm/tag-box.js +186 -389
- package/esm/text-area.js +29 -140
- package/esm/text-box.js +50 -181
- package/esm/tile-view.js +48 -111
- package/esm/toast.js +112 -222
- package/esm/toolbar.js +54 -91
- package/esm/tooltip.js +128 -242
- package/esm/tree-list.js +639 -995
- package/esm/tree-map.js +186 -325
- package/esm/tree-view.js +77 -228
- package/esm/validation-group.js +25 -50
- package/esm/validation-summary.js +48 -70
- package/esm/validator.js +137 -186
- package/esm/vector-map.js +239 -383
- package/package.json +4 -4
- package/splitter/package.json +6 -0
package/cjs/pie-chart.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
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
|
-
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
import { Ref, ReactElement } from "react";
|
|
15
16
|
import dxPieChart, { Properties } from "devextreme/viz/pie_chart";
|
|
16
|
-
import {
|
|
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
|
-
|
|
22
|
+
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
24
|
};
|
|
25
|
-
|
|
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
|
-
|
|
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
|
-
|
|
47
|
-
|
|
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
|
|
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
|
|
129
|
-
|
|
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
|
|
138
|
-
|
|
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
|
|
197
|
-
|
|
198
|
-
|
|
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
|
|
237
|
-
|
|
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
|
|
248
|
-
|
|
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
|
|
259
|
-
|
|
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
|
|
266
|
-
|
|
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
|
|
324
|
-
|
|
325
|
-
|
|
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
|
|
413
|
-
|
|
414
|
-
|
|
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
|
|
451
|
-
|
|
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
|
|
463
|
-
|
|
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
|
|
473
|
-
|
|
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
|
|
484
|
-
|
|
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
|
|
493
|
-
|
|
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
|
|
512
|
-
|
|
513
|
-
|
|
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
|
|
538
|
-
|
|
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
|
|
566
|
-
|
|
567
|
-
|
|
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
|
|
660
|
-
|
|
661
|
-
|
|
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
|
|
713
|
-
|
|
714
|
-
|
|
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
|
|
739
|
-
|
|
740
|
-
|
|
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
|
|
757
|
-
|
|
758
|
-
|
|
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
|
|
775
|
-
|
|
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
|
|
800
|
-
|
|
801
|
-
|
|
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
|
|
828
|
-
|
|
829
|
-
|
|
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
|
|
853
|
-
|
|
854
|
-
|
|
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
|
|
956
|
-
|
|
957
|
-
|
|
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
|
|
966
|
-
|
|
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
|
|
973
|
-
|
|
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
|
|
983
|
-
|
|
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
|
|
990
|
-
|
|
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
|
|
999
|
-
|
|
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
|
|
1009
|
-
|
|
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
|
|
1034
|
-
|
|
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
|
|
1072
|
-
|
|
1073
|
-
|
|
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
|
|
1114
|
-
|
|
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 };
|