@progress/kendo-react-chart-wizard 8.3.0-develop.9 → 8.3.0
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/ChartWizard.js +1 -1
- package/ChartWizard.mjs +88 -942
- package/components/ChartComponent.js +8 -0
- package/components/ChartComponent.mjs +69 -0
- package/components/FormField.js +8 -0
- package/components/FormField.mjs +16 -0
- package/{common/get-wizard-data-from-data-rows.js → components/FormFieldSet.js} +1 -1
- package/{common/get-wizard-data-from-data-rows.mjs → components/FormFieldSet.mjs} +3 -14
- package/components/SeriesGrid.js +8 -0
- package/components/SeriesGrid.mjs +89 -0
- package/components/SeriesTypeButton.js +8 -0
- package/components/SeriesTypeButton.mjs +30 -0
- package/components/SeriesTypesWrap.js +8 -0
- package/components/SeriesTypesWrap.mjs +14 -0
- package/components/panels/BarChartPanel.js +8 -0
- package/components/panels/BarChartPanel.mjs +71 -0
- package/components/panels/CategoryAxisPanel.js +8 -0
- package/components/panels/CategoryAxisPanel.mjs +315 -0
- package/components/panels/ChartAreaPanel.js +8 -0
- package/components/panels/ChartAreaPanel.mjs +200 -0
- package/components/panels/ColumnChartPanel.js +8 -0
- package/components/panels/ColumnChartPanel.mjs +77 -0
- package/components/panels/ConfigurationPanel.js +8 -0
- package/components/panels/ConfigurationPanel.mjs +102 -0
- package/components/panels/LegendPanel.js +8 -0
- package/components/panels/LegendPanel.mjs +190 -0
- package/components/panels/LineChartPanel.js +8 -0
- package/components/panels/LineChartPanel.mjs +74 -0
- package/components/panels/PieChartPanel.js +8 -0
- package/components/panels/PieChartPanel.mjs +47 -0
- package/components/panels/ScatterChartPanel.js +8 -0
- package/components/panels/ScatterChartPanel.mjs +47 -0
- package/components/panels/SeriesPanel.js +8 -0
- package/components/panels/SeriesPanel.mjs +110 -0
- package/components/panels/TitlePanel.js +8 -0
- package/components/panels/TitlePanel.mjs +172 -0
- package/components/panels/ValueAxisPanel.js +8 -0
- package/components/panels/ValueAxisPanel.mjs +332 -0
- package/dist/cdn/js/kendo-react-chart-wizard.js +1 -1
- package/grid-integration/get-wizard-data-from-grid-selection.js +1 -1
- package/grid-integration/get-wizard-data-from-grid-selection.mjs +4 -4
- package/index.d.mts +15 -194
- package/index.d.ts +15 -194
- package/index.js +1 -1
- package/index.mjs +8 -18
- package/messages.js +1 -1
- package/messages.mjs +109 -215
- package/package.json +15 -15
- package/types/export.js +8 -0
- package/types/export.mjs +39 -0
- package/utils.js +8 -0
- package/utils.mjs +81 -0
- package/SeriesGrid.js +0 -8
- package/SeriesGrid.mjs +0 -85
- package/chart-wizard-state.js +0 -8
- package/chart-wizard-state.mjs +0 -360
- package/export.js +0 -8
- package/export.mjs +0 -70
- /package/{SeriesGridCells.js → components/SeriesGridCells.js} +0 -0
- /package/{SeriesGridCells.mjs → components/SeriesGridCells.mjs} +0 -0
package/ChartWizard.mjs
CHANGED
|
@@ -7,970 +7,116 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as e from "react";
|
|
10
|
-
import { Window as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
],
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
{ value: "c0", text: l.toLanguageString(dt, n[dt]) },
|
|
60
|
-
{ value: "p0", text: l.toLanguageString(ut, n[ut]) }
|
|
61
|
-
], H = e.useRef(null), _a = e.useCallback((t) => {
|
|
62
|
-
var o;
|
|
63
|
-
if (H.current) {
|
|
64
|
-
const g = new ko(H.current, Ao(r.exportOptions));
|
|
65
|
-
(o = r.onExport) == null || o.call(r, g), g.isDefaultPrevented() || t.item.exportHandler.call(void 0, g);
|
|
66
|
-
}
|
|
67
|
-
}, [r.exportOptions]), [el, tl] = e.useState({ width: 700, height: 550 }), [al, ll] = e.useState("DEFAULT"), nl = e.useCallback((t) => {
|
|
68
|
-
tl({ width: t.width, height: t.height });
|
|
69
|
-
}, []), ol = e.useCallback((t) => {
|
|
70
|
-
ll(t.state);
|
|
71
|
-
}, []), [rl, il] = e.useState([{ collapsible: !1 }, { size: "300px", collapsible: !1 }]), sl = e.useCallback((t) => {
|
|
72
|
-
il(t.newState);
|
|
73
|
-
}, []), [ee, cl] = e.useState(!0), gl = e.useCallback((t) => {
|
|
74
|
-
cl(!t.expanded);
|
|
75
|
-
}, []), [te, dl] = e.useState(!0), ul = e.useCallback((t) => {
|
|
76
|
-
dl(!t.expanded);
|
|
77
|
-
}, []), [ae, ml] = e.useState(!0), xl = e.useCallback((t) => {
|
|
78
|
-
ml(!t.expanded);
|
|
79
|
-
}, []), [le, Cl] = e.useState(!0), bl = e.useCallback((t) => {
|
|
80
|
-
Cl(!t.expanded);
|
|
81
|
-
}, []), [ne, hl] = e.useState(!0), fl = e.useCallback((t) => {
|
|
82
|
-
hl(!t.expanded);
|
|
83
|
-
}, []), [oe, vl] = e.useState(!0), Sl = e.useCallback((t) => {
|
|
84
|
-
vl(!t.expanded);
|
|
85
|
-
}, []), [re, Ll] = e.useState(!1), El = e.useCallback((t) => {
|
|
86
|
-
Ll(!t.expanded);
|
|
87
|
-
}, []), [ie, kl] = e.useState(!1), Al = e.useCallback((t) => {
|
|
88
|
-
kl(!t.expanded);
|
|
89
|
-
}, []), [se, pl] = e.useState(!1), yl = e.useCallback((t) => {
|
|
90
|
-
pl(!t.expanded);
|
|
91
|
-
}, []), [ce, Tl] = e.useState(!1), Il = e.useCallback((t) => {
|
|
92
|
-
Tl(!t.expanded);
|
|
93
|
-
}, []), [ge, Fl] = e.useState(!1), Nl = e.useCallback((t) => {
|
|
94
|
-
Fl(!t.expanded);
|
|
95
|
-
}, []), [de, wl] = e.useState(!1), zl = e.useCallback((t) => {
|
|
96
|
-
wl(!t.expanded);
|
|
97
|
-
}, []), [Pl, Vl] = e.useState(0), Ml = e.useCallback((t) => {
|
|
98
|
-
Vl(t.selected);
|
|
99
|
-
}, []), [a, i] = e.useState(fo(r.data, "bar", r.defaultState)), ue = e.useRef(a);
|
|
100
|
-
ue.current = a;
|
|
101
|
-
const Rl = e.useCallback(
|
|
10
|
+
import { Window as B } from "@progress/kendo-react-dialogs";
|
|
11
|
+
import { Splitter as D, TabStrip as N, TabStripTab as s } from "@progress/kendo-react-layout";
|
|
12
|
+
import { DropDownButton as y } from "@progress/kendo-react-buttons";
|
|
13
|
+
import { exportIcon as R, filePdfIcon as W, fileIcon as F, fileImageIcon as H } from "@progress/kendo-svg-icons";
|
|
14
|
+
import { resolveExportOptions as G, createInitialState as A, mergeStates as V, createState as O, handlePDFExport as M, handleSVGExport as U, handleImageExport as j } from "./utils.mjs";
|
|
15
|
+
import { useLocalization as q } from "@progress/kendo-react-intl";
|
|
16
|
+
import { windowTitle as J, messages as i, exportButton as K, exportPDFButton as Q, exportSVGButton as X, exportPNGButton as Y, tabChart as Z, tabData as _, tabFormat as $ } from "./messages.mjs";
|
|
17
|
+
import { ExportEvent as ee } from "./types/export.mjs";
|
|
18
|
+
import { ConfigurationPanel as te } from "./components/panels/ConfigurationPanel.mjs";
|
|
19
|
+
import { ChartAreaPanel as ae } from "./components/panels/ChartAreaPanel.mjs";
|
|
20
|
+
import { TitlePanel as ne } from "./components/panels/TitlePanel.mjs";
|
|
21
|
+
import { SeriesPanel as re } from "./components/panels/SeriesPanel.mjs";
|
|
22
|
+
import { LegendPanel as oe } from "./components/panels/LegendPanel.mjs";
|
|
23
|
+
import { CategoryAxisPanel as ie } from "./components/panels/CategoryAxisPanel.mjs";
|
|
24
|
+
import { ValueAxisPanel as le } from "./components/panels/ValueAxisPanel.mjs";
|
|
25
|
+
import { BarChartPanel as ce } from "./components/panels/BarChartPanel.mjs";
|
|
26
|
+
import { ColumnChartPanel as me } from "./components/panels/ColumnChartPanel.mjs";
|
|
27
|
+
import { LineChartPanel as se } from "./components/panels/LineChartPanel.mjs";
|
|
28
|
+
import { ScatterChartPanel as pe } from "./components/panels/ScatterChartPanel.mjs";
|
|
29
|
+
import { PieChartPanel as ue } from "./components/panels/PieChartPanel.mjs";
|
|
30
|
+
import { ChartComponent as de } from "./components/ChartComponent.mjs";
|
|
31
|
+
const ge = e.forwardRef((r, g) => {
|
|
32
|
+
const o = q(), c = e.useRef(null), f = e.useCallback(
|
|
33
|
+
(n) => {
|
|
34
|
+
var d;
|
|
35
|
+
if (c.current) {
|
|
36
|
+
const m = new ee(c.current, G(r.exportOptions));
|
|
37
|
+
(d = r.onExport) == null || d.call(void 0, m), m.isDefaultPrevented() || n.item.exportHandler.call(void 0, m);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
[r.onExport, r.exportOptions]
|
|
41
|
+
), h = r.window || B, [E, S] = e.useState({ width: 700, height: 550 }), [x, w] = e.useState("DEFAULT"), C = e.useCallback((n) => {
|
|
42
|
+
S({ width: n.width, height: n.height });
|
|
43
|
+
}, []), P = e.useCallback((n) => {
|
|
44
|
+
w(n.state);
|
|
45
|
+
}, []), [b, v] = e.useState([
|
|
46
|
+
{ collapsible: !1 },
|
|
47
|
+
{ size: "300px", collapsible: !1 }
|
|
48
|
+
]), k = e.useCallback((n) => {
|
|
49
|
+
v(n.newState);
|
|
50
|
+
}, []), [z, I] = e.useState(0), T = e.useCallback((n) => {
|
|
51
|
+
I(n.selected);
|
|
52
|
+
}, []), [t, p] = e.useState(
|
|
53
|
+
A(r.data, "bar", r.defaultState)
|
|
54
|
+
), a = (n) => {
|
|
55
|
+
p(n);
|
|
56
|
+
}, l = e.useRef(t);
|
|
57
|
+
l.current = t;
|
|
58
|
+
const L = e.useCallback(
|
|
102
59
|
() => ({
|
|
103
60
|
get chart() {
|
|
104
|
-
return
|
|
61
|
+
return c.current;
|
|
105
62
|
},
|
|
106
63
|
get state() {
|
|
107
|
-
return
|
|
64
|
+
return l.current;
|
|
108
65
|
}
|
|
109
66
|
}),
|
|
110
67
|
[]
|
|
111
68
|
);
|
|
112
|
-
e.useImperativeHandle(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}, []), Wl = e.useCallback(() => {
|
|
117
|
-
i(T(a, I(r.data, "bar"))), v("");
|
|
118
|
-
}, [a, r.data]), Kl = e.useCallback(() => {
|
|
119
|
-
const t = T(a, I(r.data, "bar"));
|
|
120
|
-
i(c(t, s.stacked, q)), v("");
|
|
121
|
-
}, [a, r.data]), Dl = e.useCallback(() => {
|
|
122
|
-
const t = T(a, I(r.data, "bar"));
|
|
123
|
-
i(c(t, s.stacked, J)), v("");
|
|
124
|
-
}, [a, r.data]), Hl = e.useCallback(() => {
|
|
125
|
-
i(T(a, I(r.data, "column"))), v("");
|
|
126
|
-
}, [a, r.data]), Ol = e.useCallback(() => {
|
|
127
|
-
const t = T(a, I(r.data, "column"));
|
|
128
|
-
i(c(t, s.stacked, q)), v("");
|
|
129
|
-
}, [a, r.data]), Xl = e.useCallback(() => {
|
|
130
|
-
const t = T(a, I(r.data, "column"));
|
|
131
|
-
i(c(t, s.stacked, J)), v("");
|
|
132
|
-
}, [a, r.data]), Gl = e.useCallback(() => {
|
|
133
|
-
i(T(a, I(r.data, "line"))), v("");
|
|
134
|
-
}, [a, r.data]), Yl = e.useCallback(() => {
|
|
135
|
-
const t = T(a, I(r.data, "line"));
|
|
136
|
-
i(c(t, s.stacked, q)), v("");
|
|
137
|
-
}, [a, r.data]), jl = e.useCallback(() => {
|
|
138
|
-
const t = T(a, I(r.data, "line"));
|
|
139
|
-
i(c(t, s.stacked, J)), v("");
|
|
140
|
-
}, [a, r.data]), Ul = e.useCallback(() => {
|
|
141
|
-
i(T(a, I(r.data, "pie"))), v("");
|
|
142
|
-
}, [a, r.data]), $l = e.useCallback(() => {
|
|
143
|
-
i(T(a, I(r.data, "scatter"))), v("");
|
|
144
|
-
}, [a, r.data]), ql = e.useCallback((t) => {
|
|
145
|
-
i(c(a, s.categoryAxisX, t.target.value));
|
|
146
|
-
}, [a]), Jl = e.useCallback((t) => {
|
|
147
|
-
i(c(a, s.seriesChange, t));
|
|
148
|
-
}, [a]), Ql = e.useCallback((t) => {
|
|
149
|
-
i(c(a, s.valueAxisY, t.target.value));
|
|
150
|
-
}, [a]), Zl = e.useCallback((t) => {
|
|
151
|
-
i(c(a, s.areaMarginLeft, t.target.value));
|
|
152
|
-
}, [a]), _l = e.useCallback((t) => {
|
|
153
|
-
i(c(a, s.areaMarginRight, t.target.value));
|
|
154
|
-
}, [a]), en = e.useCallback((t) => {
|
|
155
|
-
i(c(a, s.areaMarginTop, t.target.value));
|
|
156
|
-
}, [a]), tn = e.useCallback((t) => {
|
|
157
|
-
i(c(a, s.areaMarginBottom, t.target.value));
|
|
158
|
-
}, [a]), N = a.area.margin, an = e.useCallback((t) => {
|
|
159
|
-
i(c(a, s.areaBackground, t.value));
|
|
160
|
-
}, [a]), [y, ln] = e.useState(h[0]), nn = e.useCallback((t) => {
|
|
161
|
-
ln(t.target.value);
|
|
162
|
-
}, []), on = e.useCallback((t) => {
|
|
163
|
-
const o = y.value === h[0].value ? s.titleText : s.subtitleText;
|
|
164
|
-
i(c(a, o, t.target.value));
|
|
165
|
-
}, [a, y]), rn = e.useCallback((t) => {
|
|
166
|
-
const o = y.value === h[0].value ? s.titleFontName : s.subtitleFontName, g = t.target.value || u;
|
|
167
|
-
i(c(a, o, g.value));
|
|
168
|
-
}, [a, y]), sn = e.useCallback((t) => {
|
|
169
|
-
const o = y.value === h[0].value ? s.titleFontSize : s.subtitleFontSize, g = t.target.value || u;
|
|
170
|
-
W(g) && i(c(a, o, g.value));
|
|
171
|
-
}, [a, y]), cn = e.useCallback((t) => {
|
|
172
|
-
const o = y.value === h[0].value ? s.titleColor : s.subtitleColor;
|
|
173
|
-
i(c(a, o, t.value));
|
|
174
|
-
}, [a, y]), O = (y.value === h[0].value ? a.title : a.subtitle) || { text: "", font: "", color: "" }, gn = e.useCallback((t) => {
|
|
175
|
-
f && i(c(a, s.seriesColor, { seriesName: f, color: t.value }));
|
|
176
|
-
}, [a, f]), dn = e.useCallback((t) => {
|
|
177
|
-
i(c(a, s.seriesLabel, { seriesName: f, all: !f, visible: t.value }));
|
|
178
|
-
}, [a, f]), un = e.useCallback((t) => {
|
|
179
|
-
i(c(a, s.legendVisible, t.value));
|
|
180
|
-
}, [a]), mn = e.useCallback((t) => {
|
|
181
|
-
const o = t.target.value || u;
|
|
182
|
-
W(o) && i(c(a, s.legendFontSize, o.value));
|
|
183
|
-
}, [a]), xn = e.useCallback((t) => {
|
|
184
|
-
const o = t.target.value || u;
|
|
185
|
-
i(c(a, s.legendFontName, o.value));
|
|
186
|
-
}, [a]), Cn = e.useCallback((t) => {
|
|
187
|
-
i(c(a, s.legendColor, t.value));
|
|
188
|
-
}, [a]), bn = e.useCallback((t) => {
|
|
189
|
-
const o = t.target.value;
|
|
190
|
-
i(c(a, s.legendPosition, o.value));
|
|
191
|
-
}, [a]), hn = e.useCallback((t) => {
|
|
192
|
-
i(c(a, s.categoryAxisTitleText, t.target.value));
|
|
193
|
-
}, [a]), fn = e.useCallback((t) => {
|
|
194
|
-
const o = t.target.value || u;
|
|
195
|
-
W(o) && i(c(a, s.categoryAxisTitleFontSize, o.value));
|
|
196
|
-
}, [a]), vn = e.useCallback((t) => {
|
|
197
|
-
const o = t.target.value || u;
|
|
198
|
-
i(c(a, s.categoryAxisTitleFontName, o.value));
|
|
199
|
-
}, [a]), Sn = e.useCallback((t) => {
|
|
200
|
-
i(c(a, s.categoryAxisTitleColor, t.value));
|
|
201
|
-
}, [a]), Ln = e.useCallback((t) => {
|
|
202
|
-
const o = t.target.value || u;
|
|
203
|
-
W(o) && i(c(a, s.categoryAxisLabelsFontSize, o.value));
|
|
204
|
-
}, [a]), En = e.useCallback((t) => {
|
|
205
|
-
const o = t.target.value || u;
|
|
206
|
-
i(c(a, s.categoryAxisLabelsFontName, o.value));
|
|
207
|
-
}, [a]), kn = e.useCallback((t) => {
|
|
208
|
-
i(c(a, s.categoryAxisLabelsColor, t.value));
|
|
209
|
-
}, [a]), An = e.useCallback((t) => {
|
|
210
|
-
i(c(a, s.categoryAxisLabelsRotation, t.target.value));
|
|
211
|
-
}, [a]), pn = e.useCallback((t) => {
|
|
212
|
-
i(c(a, s.categoryAxisReverseOrder, t.value));
|
|
213
|
-
}, [a]), yn = e.useCallback((t) => {
|
|
214
|
-
i(c(a, s.valueAxisTitleText, t.target.value));
|
|
215
|
-
}, [a]), Tn = e.useCallback((t) => {
|
|
216
|
-
const o = t.target.value || u;
|
|
217
|
-
W(o) && i(c(a, s.valueAxisTitleFontSize, o.value));
|
|
218
|
-
}, [a]), In = e.useCallback((t) => {
|
|
219
|
-
const o = t.target.value || u;
|
|
220
|
-
i(c(a, s.valueAxisTitleFontName, o.value));
|
|
221
|
-
}, [a]), Fn = e.useCallback((t) => {
|
|
222
|
-
i(c(a, s.valueAxisTitleColor, t.value));
|
|
223
|
-
}, [a]), Nn = e.useCallback((t) => {
|
|
224
|
-
const o = t.target.value || u;
|
|
225
|
-
W(o) && i(c(a, s.valueAxisLabelsFontSize, o.value));
|
|
226
|
-
}, [a]), wn = e.useCallback((t) => {
|
|
227
|
-
const o = t.target.value || u;
|
|
228
|
-
i(c(a, s.valueAxisLabelsFontName, o.value));
|
|
229
|
-
}, [a]), zn = e.useCallback((t) => {
|
|
230
|
-
i(c(a, s.valueAxisLabelsColor, t.value));
|
|
231
|
-
}, [a]), Pn = e.useCallback((t) => {
|
|
232
|
-
i(c(a, s.valueAxisLabelsRotation, t.target.value));
|
|
233
|
-
}, [a]), Vn = e.useCallback((t) => {
|
|
234
|
-
const o = t.target.value;
|
|
235
|
-
i(c(a, s.valueAxisLabelsFormat, o.value));
|
|
236
|
-
}, [a]), m = a.seriesType, D = typeof ((me = a.series[0]) == null ? void 0 : me.stack) == "object" ? (xe = a.series[0]) == null ? void 0 : xe.stack : !1, G = D === !1, Y = D && D.type === "normal", j = D && D.type === "100%";
|
|
69
|
+
e.useImperativeHandle(g, L), e.useEffect(() => {
|
|
70
|
+
l.current && l.current.seriesType && p(V(l.current, O(r.data, l.current.seriesType)));
|
|
71
|
+
}, [r.data]);
|
|
72
|
+
const u = t.seriesType;
|
|
237
73
|
return /* @__PURE__ */ e.createElement(
|
|
238
|
-
|
|
74
|
+
h,
|
|
239
75
|
{
|
|
240
|
-
title:
|
|
76
|
+
title: o.toLanguageString(J, i.windowTitle),
|
|
241
77
|
className: "k-chart-wizard",
|
|
242
78
|
modal: !0,
|
|
243
79
|
resizable: !0,
|
|
244
80
|
minimizeButton: () => null,
|
|
245
81
|
onClose: r.onClose,
|
|
246
|
-
onResize:
|
|
247
|
-
stage:
|
|
248
|
-
onStageChange:
|
|
249
|
-
...
|
|
82
|
+
onResize: C,
|
|
83
|
+
stage: x,
|
|
84
|
+
onStageChange: P,
|
|
85
|
+
...E
|
|
250
86
|
},
|
|
251
|
-
/* @__PURE__ */ e.createElement(
|
|
252
|
-
|
|
87
|
+
/* @__PURE__ */ e.createElement(D, { panes: b, onChange: k, className: "k-chart-wizard-splitter" }, /* @__PURE__ */ e.createElement("div", { className: "k-chart-wizard-preview-pane k-pane" }, /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-header" }, /* @__PURE__ */ e.createElement(
|
|
88
|
+
y,
|
|
253
89
|
{
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
onItemClick: _a,
|
|
266
|
-
items: [
|
|
267
|
-
{ svgIcon: to, icon: "file-pdf", exportHandler: po, text: l.toLanguageString(Ct, n[Ct]) },
|
|
268
|
-
{ svgIcon: ao, icon: "file", exportHandler: yo, text: l.toLanguageString(bt, n[bt]) },
|
|
269
|
-
{ svgIcon: lo, icon: "file-image", exportHandler: To, text: l.toLanguageString(ht, n[ht]) }
|
|
270
|
-
]
|
|
271
|
-
}
|
|
272
|
-
)), /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-content", style: { height: "calc(100% - 50px)" } }, /* @__PURE__ */ e.createElement(
|
|
273
|
-
Rn,
|
|
274
|
-
{
|
|
275
|
-
style: { width: "100%", height: "100%" },
|
|
276
|
-
transitions: !1,
|
|
277
|
-
ref: H
|
|
278
|
-
},
|
|
279
|
-
/* @__PURE__ */ e.createElement(
|
|
280
|
-
Bn,
|
|
281
|
-
{
|
|
282
|
-
text: (Ce = a.title) == null ? void 0 : Ce.text,
|
|
283
|
-
font: (be = a.title) == null ? void 0 : be.font,
|
|
284
|
-
color: ((he = a.title) == null ? void 0 : he.color) || "#000"
|
|
285
|
-
}
|
|
286
|
-
),
|
|
287
|
-
/* @__PURE__ */ e.createElement(
|
|
288
|
-
Wn,
|
|
289
|
-
{
|
|
290
|
-
text: (fe = a.subtitle) == null ? void 0 : fe.text,
|
|
291
|
-
font: (ve = a.subtitle) == null ? void 0 : ve.font,
|
|
292
|
-
color: ((Se = a.subtitle) == null ? void 0 : Se.color) || "#000"
|
|
293
|
-
}
|
|
294
|
-
),
|
|
295
|
-
/* @__PURE__ */ e.createElement(Kn, { background: (Le = a.area) == null ? void 0 : Le.background, margin: N }),
|
|
296
|
-
a.categoryAxis && /* @__PURE__ */ e.createElement(Dn, null, a.categoryAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
297
|
-
Hn,
|
|
298
|
-
{
|
|
299
|
-
key: o,
|
|
300
|
-
categories: t.categories,
|
|
301
|
-
title: t.title && {
|
|
302
|
-
text: t.title.text,
|
|
303
|
-
font: t.title.font,
|
|
304
|
-
color: t.title.color
|
|
305
|
-
},
|
|
306
|
-
labels: t.labels && {
|
|
307
|
-
font: t.labels.font,
|
|
308
|
-
color: t.labels.color,
|
|
309
|
-
rotation: t.labels.rotation
|
|
310
|
-
},
|
|
311
|
-
reverse: t.reverse
|
|
312
|
-
}
|
|
313
|
-
))),
|
|
314
|
-
a.valueAxis && /* @__PURE__ */ e.createElement(On, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
315
|
-
Xn,
|
|
316
|
-
{
|
|
317
|
-
key: o,
|
|
318
|
-
title: t.title && {
|
|
319
|
-
text: t.title.text,
|
|
320
|
-
font: t.title.font,
|
|
321
|
-
color: t.title.color
|
|
322
|
-
},
|
|
323
|
-
labels: t.labels && {
|
|
324
|
-
format: t.labels.format,
|
|
325
|
-
font: t.labels.font,
|
|
326
|
-
color: t.labels.color,
|
|
327
|
-
rotation: t.labels.rotation
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
))),
|
|
331
|
-
/* @__PURE__ */ e.createElement(Gn, null, a.series.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
332
|
-
Yn,
|
|
333
|
-
{
|
|
334
|
-
key: String(t.name) + o,
|
|
335
|
-
...t
|
|
336
|
-
}
|
|
337
|
-
))),
|
|
338
|
-
/* @__PURE__ */ e.createElement(jn, null, a.categoryAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
339
|
-
Un,
|
|
340
|
-
{
|
|
341
|
-
key: o,
|
|
342
|
-
categories: t.categories,
|
|
343
|
-
title: t.title && {
|
|
344
|
-
text: t.title.text,
|
|
345
|
-
font: t.title.font,
|
|
346
|
-
color: t.title.color
|
|
347
|
-
},
|
|
348
|
-
labels: t.labels && {
|
|
349
|
-
font: t.labels.font,
|
|
350
|
-
color: t.labels.color,
|
|
351
|
-
format: t.labels.format,
|
|
352
|
-
rotation: t.labels.rotation
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
))),
|
|
356
|
-
/* @__PURE__ */ e.createElement($n, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
357
|
-
qn,
|
|
358
|
-
{
|
|
359
|
-
key: o,
|
|
360
|
-
title: t.title && {
|
|
361
|
-
text: t.title.text,
|
|
362
|
-
font: t.title.font,
|
|
363
|
-
color: t.title.color
|
|
364
|
-
},
|
|
365
|
-
labels: t.labels && {
|
|
366
|
-
format: t.labels.format,
|
|
367
|
-
font: t.labels.font,
|
|
368
|
-
color: t.labels.color,
|
|
369
|
-
rotation: t.labels.rotation
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
))),
|
|
373
|
-
/* @__PURE__ */ e.createElement(
|
|
374
|
-
Jn,
|
|
375
|
-
{
|
|
376
|
-
visible: (Ee = a.legend) == null ? void 0 : Ee.visible,
|
|
377
|
-
position: (ke = a.legend) == null ? void 0 : ke.position,
|
|
378
|
-
labels: {
|
|
379
|
-
color: ((pe = (Ae = a.legend) == null ? void 0 : Ae.labels) == null ? void 0 : pe.color) || void 0,
|
|
380
|
-
font: ((Te = (ye = a.legend) == null ? void 0 : ye.labels) == null ? void 0 : Te.font) || void 0
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
)
|
|
384
|
-
))),
|
|
385
|
-
/* @__PURE__ */ e.createElement("div", { className: "k-chart-wizard-property-pane k-pane k-pane-static" }, /* @__PURE__ */ e.createElement(Zn, { selected: Pl, onSelect: Ml, animation: !1 }, /* @__PURE__ */ e.createElement(U, { title: l.toLanguageString(ft, n[ft]) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
386
|
-
S,
|
|
387
|
-
{
|
|
388
|
-
style: { maxWidth: "576px" },
|
|
389
|
-
title: l.toLanguageString(vt, n[vt]),
|
|
390
|
-
expanded: ee,
|
|
391
|
-
tabIndex: 0,
|
|
392
|
-
onAction: gl
|
|
393
|
-
},
|
|
394
|
-
/* @__PURE__ */ e.createElement(E, null, ee && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(F, { selected: m === "bar" && G, onClick: Wl, icon: no, iconName: "chart-bar-clustered" }, l.toLanguageString(St, n[St])), /* @__PURE__ */ e.createElement(F, { selected: m === "bar" && Y, onClick: Kl, icon: oo, iconName: "chart-bar-stacked" }, l.toLanguageString(Lt, n[Lt])), /* @__PURE__ */ e.createElement(F, { selected: m === "bar" && j, onClick: Dl, icon: ro, iconName: "chart-bar-stacked100" }, l.toLanguageString(Et, n[Et])))))
|
|
395
|
-
), /* @__PURE__ */ e.createElement(
|
|
396
|
-
S,
|
|
397
|
-
{
|
|
398
|
-
style: { maxWidth: "576px" },
|
|
399
|
-
title: l.toLanguageString(kt, n[kt]),
|
|
400
|
-
expanded: te,
|
|
401
|
-
tabIndex: 0,
|
|
402
|
-
onAction: ul
|
|
403
|
-
},
|
|
404
|
-
/* @__PURE__ */ e.createElement(E, null, te && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(F, { selected: m === "pie", onClick: Ul, icon: io, iconName: "chart-pie" }, l.toLanguageString(At, n[At])))))
|
|
405
|
-
), /* @__PURE__ */ e.createElement(
|
|
406
|
-
S,
|
|
407
|
-
{
|
|
408
|
-
style: { maxWidth: "576px" },
|
|
409
|
-
title: l.toLanguageString(pt, n[pt]),
|
|
410
|
-
expanded: ae,
|
|
411
|
-
tabIndex: 0,
|
|
412
|
-
onAction: xl
|
|
413
|
-
},
|
|
414
|
-
/* @__PURE__ */ e.createElement(E, null, ae && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(F, { selected: m === "column" && G, onClick: Hl, icon: so, iconName: "chart-column-clustered" }, l.toLanguageString(yt, n[yt])), /* @__PURE__ */ e.createElement(F, { selected: m === "column" && Y, onClick: Ol, icon: co, iconName: "chart-column-stacked" }, l.toLanguageString(Tt, n[Tt])), /* @__PURE__ */ e.createElement(F, { selected: m === "column" && j, onClick: Xl, icon: go, iconName: "chart-column-stacked100" }, l.toLanguageString(It, n[It])))))
|
|
415
|
-
), /* @__PURE__ */ e.createElement(
|
|
416
|
-
S,
|
|
417
|
-
{
|
|
418
|
-
style: { maxWidth: "576px" },
|
|
419
|
-
title: l.toLanguageString(Ft, n[Ft]),
|
|
420
|
-
expanded: le,
|
|
421
|
-
tabIndex: 0,
|
|
422
|
-
onAction: bl
|
|
423
|
-
},
|
|
424
|
-
/* @__PURE__ */ e.createElement(E, null, le && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(F, { selected: m === "line" && G, onClick: Gl, icon: uo, iconName: "chart-line" }, l.toLanguageString(Nt, n[Nt])), /* @__PURE__ */ e.createElement(F, { selected: m === "line" && Y, onClick: Yl, icon: mo, iconName: "chart-line-stacked" }, l.toLanguageString(wt, n[wt])), /* @__PURE__ */ e.createElement(F, { selected: m === "line" && j, onClick: jl, icon: xo, iconName: "chart-line-stacked100" }, l.toLanguageString(zt, n[zt])))))
|
|
425
|
-
), /* @__PURE__ */ e.createElement(
|
|
426
|
-
S,
|
|
427
|
-
{
|
|
428
|
-
style: { maxWidth: "576px" },
|
|
429
|
-
title: l.toLanguageString(Pt, n[Pt]),
|
|
430
|
-
expanded: ne,
|
|
431
|
-
tabIndex: 0,
|
|
432
|
-
onAction: fl
|
|
433
|
-
},
|
|
434
|
-
/* @__PURE__ */ e.createElement(E, null, ne && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(F, { selected: m === "scatter", onClick: $l, icon: Co, iconName: "chart-scatter" }, l.toLanguageString(Vt, n[Vt])))))
|
|
435
|
-
))), /* @__PURE__ */ e.createElement(U, { title: l.toLanguageString(Mt, n[Mt]) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
436
|
-
S,
|
|
437
|
-
{
|
|
438
|
-
style: { maxWidth: "576px" },
|
|
439
|
-
title: l.toLanguageString(Rt, n[Rt]),
|
|
440
|
-
expanded: oe,
|
|
441
|
-
tabIndex: 0,
|
|
442
|
-
onAction: Sl
|
|
443
|
-
},
|
|
444
|
-
/* @__PURE__ */ e.createElement(E, null, oe && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(
|
|
445
|
-
w,
|
|
446
|
-
{
|
|
447
|
-
legend: m === "scatter" ? l.toLanguageString(Bt, n[Bt]) : l.toLanguageString(Wt, n[Wt])
|
|
90
|
+
text: o.toLanguageString(K, i.exportButton),
|
|
91
|
+
fillMode: "flat",
|
|
92
|
+
svgIcon: R,
|
|
93
|
+
icon: "export",
|
|
94
|
+
onItemClick: f,
|
|
95
|
+
items: [
|
|
96
|
+
{
|
|
97
|
+
svgIcon: W,
|
|
98
|
+
icon: "file-pdf",
|
|
99
|
+
exportHandler: M,
|
|
100
|
+
text: o.toLanguageString(Q, i.exportPDFButton)
|
|
448
101
|
},
|
|
449
|
-
/* @__PURE__ */ e.createElement(
|
|
450
|
-
R,
|
|
451
|
-
{
|
|
452
|
-
data: a.columns || [],
|
|
453
|
-
value: a.categoryField,
|
|
454
|
-
onChange: ql,
|
|
455
|
-
...x
|
|
456
|
-
}
|
|
457
|
-
)
|
|
458
|
-
), tt(m) && /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Kt, n[Kt]) }, /* @__PURE__ */ e.createElement(
|
|
459
|
-
bo,
|
|
460
|
-
{
|
|
461
|
-
data: a.series,
|
|
462
|
-
initialData: a.initialSeries,
|
|
463
|
-
onChange: Jl
|
|
464
|
-
}
|
|
465
|
-
)), m === "pie" && /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Dt, n[Dt]) }, /* @__PURE__ */ e.createElement(
|
|
466
|
-
R,
|
|
467
|
-
{
|
|
468
|
-
data: a.columns || [],
|
|
469
|
-
value: a.valueField || "",
|
|
470
|
-
...x,
|
|
471
|
-
onChange: Ql
|
|
472
|
-
}
|
|
473
|
-
)))))
|
|
474
|
-
))), /* @__PURE__ */ e.createElement(U, { title: l.toLanguageString(Ht, n[Ht]) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
475
|
-
S,
|
|
476
|
-
{
|
|
477
|
-
style: { maxWidth: "576px" },
|
|
478
|
-
title: l.toLanguageString(Ot, n[Ot]),
|
|
479
|
-
expanded: re,
|
|
480
|
-
tabIndex: 0,
|
|
481
|
-
onAction: El
|
|
482
|
-
},
|
|
483
|
-
/* @__PURE__ */ e.createElement(E, null, re && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Xt, n[Xt]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(Gt, n[Gt]), editorId: "left" }, /* @__PURE__ */ e.createElement(
|
|
484
|
-
B,
|
|
485
|
-
{
|
|
486
|
-
id: "left",
|
|
487
|
-
value: N.left !== void 0 ? N.left : null,
|
|
488
|
-
onChange: Zl,
|
|
489
|
-
placeholder: l.toLanguageString(P, n[P]),
|
|
490
|
-
min: 0,
|
|
491
|
-
max: 1e3,
|
|
492
|
-
step: 1,
|
|
493
|
-
fillMode: "outline"
|
|
494
|
-
}
|
|
495
|
-
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(Yt, n[Yt]), editorId: "right" }, /* @__PURE__ */ e.createElement(
|
|
496
|
-
B,
|
|
497
|
-
{
|
|
498
|
-
id: "right",
|
|
499
|
-
value: N.right !== void 0 ? N.right : null,
|
|
500
|
-
onChange: _l,
|
|
501
|
-
placeholder: l.toLanguageString(P, n[P]),
|
|
502
|
-
min: 0,
|
|
503
|
-
max: 1e3,
|
|
504
|
-
step: 1,
|
|
505
|
-
fillMode: "outline"
|
|
506
|
-
}
|
|
507
|
-
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(jt, n[jt]), editorId: "top" }, /* @__PURE__ */ e.createElement(
|
|
508
|
-
B,
|
|
509
|
-
{
|
|
510
|
-
id: "top",
|
|
511
|
-
value: N.top !== void 0 ? N.top : null,
|
|
512
|
-
onChange: en,
|
|
513
|
-
placeholder: l.toLanguageString(P, n[P]),
|
|
514
|
-
min: 0,
|
|
515
|
-
max: 1e3,
|
|
516
|
-
step: 1,
|
|
517
|
-
fillMode: "outline"
|
|
518
|
-
}
|
|
519
|
-
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(Ut, n[Ut]), editorId: "bottom" }, /* @__PURE__ */ e.createElement(
|
|
520
|
-
B,
|
|
521
|
-
{
|
|
522
|
-
id: "bottom",
|
|
523
|
-
value: N.bottom !== void 0 ? N.bottom : null,
|
|
524
|
-
onChange: tn,
|
|
525
|
-
placeholder: l.toLanguageString(P, n[P]),
|
|
526
|
-
min: 0,
|
|
527
|
-
max: 1e3,
|
|
528
|
-
step: 1,
|
|
529
|
-
fillMode: "outline"
|
|
530
|
-
}
|
|
531
|
-
)))), /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString($t, n[$t]) }, /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(qt, n[qt]), editorId: "background" }, /* @__PURE__ */ e.createElement(
|
|
532
|
-
z,
|
|
533
|
-
{
|
|
534
|
-
id: "background",
|
|
535
|
-
value: ((Ie = a.area) == null ? void 0 : Ie.background) || "",
|
|
536
|
-
onChange: an,
|
|
537
|
-
view: "gradient",
|
|
538
|
-
fillMode: "outline"
|
|
539
|
-
}
|
|
540
|
-
))))))
|
|
541
|
-
), /* @__PURE__ */ e.createElement(
|
|
542
|
-
S,
|
|
543
|
-
{
|
|
544
|
-
style: { maxWidth: "576px" },
|
|
545
|
-
title: l.toLanguageString(Jt, n[Jt]),
|
|
546
|
-
expanded: ie,
|
|
547
|
-
tabIndex: 0,
|
|
548
|
-
onAction: Al
|
|
549
|
-
},
|
|
550
|
-
/* @__PURE__ */ e.createElement(E, null, ie && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "apply-to-title", labelText: l.toLanguageString(Qt, n[Qt]) }, /* @__PURE__ */ e.createElement(
|
|
551
|
-
R,
|
|
552
|
-
{
|
|
553
|
-
id: "apply-to-title",
|
|
554
|
-
data: h,
|
|
555
|
-
textField: "text",
|
|
556
|
-
dataItemKey: "value",
|
|
557
|
-
value: h.find((t) => t.value === y.value),
|
|
558
|
-
onChange: nn,
|
|
559
|
-
...x
|
|
560
|
-
}
|
|
561
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "titleText", labelText: l.toLanguageString(Zt, n[Zt]) }, /* @__PURE__ */ e.createElement(
|
|
562
|
-
$,
|
|
563
|
-
{
|
|
564
|
-
id: "titleText",
|
|
565
|
-
placeholder: y.value === h[0].value ? h[0].text : h[1].text,
|
|
566
|
-
value: O.text,
|
|
567
|
-
onChange: on
|
|
568
|
-
}
|
|
569
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "titleFont", labelText: l.toLanguageString(_t, n[_t]) }, /* @__PURE__ */ e.createElement(
|
|
570
|
-
k,
|
|
571
|
-
{
|
|
572
|
-
id: "titleFont",
|
|
573
|
-
data: A,
|
|
574
|
-
textField: "text",
|
|
575
|
-
dataItemKey: "value",
|
|
576
|
-
placeholder: l.toLanguageString(ea, n[ea]),
|
|
577
|
-
value: A.find((t) => t.value === p(O.font).name) || u,
|
|
578
|
-
onChange: rn,
|
|
579
|
-
itemRender: M,
|
|
580
|
-
...x
|
|
581
|
-
}
|
|
582
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "titleFontSize", labelText: l.toLanguageString(ta, n[ta]) }, /* @__PURE__ */ e.createElement(
|
|
583
|
-
k,
|
|
584
|
-
{
|
|
585
|
-
id: "titleFontSize",
|
|
586
|
-
data: b,
|
|
587
|
-
textField: "text",
|
|
588
|
-
dataItemKey: "value",
|
|
589
|
-
placeholder: l.toLanguageString(aa, n[aa]),
|
|
590
|
-
value: b.find((t) => t.value === p(O.font).size) || u,
|
|
591
|
-
onChange: sn,
|
|
592
|
-
itemRender: M,
|
|
593
|
-
allowCustom: !0,
|
|
594
|
-
...x
|
|
595
|
-
}
|
|
596
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "titleColor", labelText: l.toLanguageString(la, n[la]) }, /* @__PURE__ */ e.createElement(
|
|
597
|
-
z,
|
|
598
|
-
{
|
|
599
|
-
id: "titleColor",
|
|
600
|
-
value: O.color || "",
|
|
601
|
-
onChange: cn,
|
|
602
|
-
view: "gradient",
|
|
603
|
-
fillMode: "outline"
|
|
604
|
-
}
|
|
605
|
-
))))))
|
|
606
|
-
), /* @__PURE__ */ e.createElement(
|
|
607
|
-
S,
|
|
608
|
-
{
|
|
609
|
-
style: { maxWidth: "576px" },
|
|
610
|
-
title: l.toLanguageString(na, n[na]),
|
|
611
|
-
expanded: se,
|
|
612
|
-
tabIndex: 0,
|
|
613
|
-
onAction: yl
|
|
614
|
-
},
|
|
615
|
-
/* @__PURE__ */ e.createElement(E, null, se && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(d, { editorId: "apply-to-series", labelText: l.toLanguageString(oa, n[oa]) }, /* @__PURE__ */ e.createElement(
|
|
616
|
-
R,
|
|
617
|
-
{
|
|
618
|
-
id: "apply-to-series",
|
|
619
|
-
data: a.series,
|
|
620
|
-
textField: "name",
|
|
621
|
-
dataItemKey: "name",
|
|
622
|
-
defaultItem: X,
|
|
623
|
-
disabled: !tt(m),
|
|
624
|
-
value: a.series.find((t) => t.name === f) || X,
|
|
625
|
-
onChange: Bl,
|
|
626
|
-
...x
|
|
627
|
-
}
|
|
628
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "seriesColor", labelText: l.toLanguageString(ra, n[ra]) }, /* @__PURE__ */ e.createElement(
|
|
629
|
-
z,
|
|
630
|
-
{
|
|
631
|
-
id: "seriesColor",
|
|
632
|
-
value: f ? (Fe = a.series.find((t) => t.name === f)) == null ? void 0 : Fe.color : "",
|
|
633
|
-
onChange: gn,
|
|
634
|
-
disabled: !f,
|
|
635
|
-
view: "gradient",
|
|
636
|
-
fillMode: "outline"
|
|
637
|
-
}
|
|
638
|
-
)), /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(
|
|
639
|
-
et,
|
|
640
102
|
{
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
onChange: dn
|
|
647
|
-
}
|
|
648
|
-
)))))
|
|
649
|
-
), /* @__PURE__ */ e.createElement(
|
|
650
|
-
S,
|
|
651
|
-
{
|
|
652
|
-
style: { maxWidth: "576px" },
|
|
653
|
-
title: l.toLanguageString(sa, n[sa]),
|
|
654
|
-
expanded: ce,
|
|
655
|
-
tabIndex: 0,
|
|
656
|
-
onAction: Il
|
|
657
|
-
},
|
|
658
|
-
/* @__PURE__ */ e.createElement(E, null, ce && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(Za, { editorId: "show-legend" }, l.toLanguageString(ca, n[ca])), /* @__PURE__ */ e.createElement(
|
|
659
|
-
ho,
|
|
660
|
-
{
|
|
661
|
-
id: "show-legend",
|
|
662
|
-
checked: (ze = a.legend) == null ? void 0 : ze.visible,
|
|
663
|
-
onChange: un
|
|
664
|
-
}
|
|
665
|
-
), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "legendLabelsFont", labelText: l.toLanguageString(ga, n[ga]) }, /* @__PURE__ */ e.createElement(
|
|
666
|
-
k,
|
|
667
|
-
{
|
|
668
|
-
id: "legendLabelsFont",
|
|
669
|
-
data: A,
|
|
670
|
-
textField: "text",
|
|
671
|
-
dataItemKey: "value",
|
|
672
|
-
placeholder: l.toLanguageString(da, n[da]),
|
|
673
|
-
value: A.find((t) => {
|
|
674
|
-
var o, g, C;
|
|
675
|
-
return t.value === ((C = p(((g = (o = a.legend) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
676
|
-
}) || u,
|
|
677
|
-
onChange: xn,
|
|
678
|
-
itemRender: M,
|
|
679
|
-
disabled: ((Pe = a.legend) == null ? void 0 : Pe.visible) === !1,
|
|
680
|
-
...x
|
|
681
|
-
}
|
|
682
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "legendLabelsSize", labelText: l.toLanguageString(ua, n[ua]) }, /* @__PURE__ */ e.createElement(
|
|
683
|
-
k,
|
|
684
|
-
{
|
|
685
|
-
id: "legendLabelsSize",
|
|
686
|
-
data: b,
|
|
687
|
-
textField: "text",
|
|
688
|
-
dataItemKey: "value",
|
|
689
|
-
placeholder: l.toLanguageString(ma, n[ma]),
|
|
690
|
-
value: b.find((t) => {
|
|
691
|
-
var o, g, C;
|
|
692
|
-
return t.value === ((C = p(((g = (o = a.legend) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.size);
|
|
693
|
-
}) || u,
|
|
694
|
-
onChange: mn,
|
|
695
|
-
disabled: ((Ve = a.legend) == null ? void 0 : Ve.visible) === !1,
|
|
696
|
-
allowCustom: !0,
|
|
697
|
-
...x
|
|
698
|
-
}
|
|
699
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "legendLabelsColor", labelText: l.toLanguageString(xa, n[xa]) }, /* @__PURE__ */ e.createElement(
|
|
700
|
-
z,
|
|
701
|
-
{
|
|
702
|
-
id: "legendLabelsColor",
|
|
703
|
-
value: ((Re = (Me = a.legend) == null ? void 0 : Me.labels) == null ? void 0 : Re.color) || "",
|
|
704
|
-
onChange: Cn,
|
|
705
|
-
disabled: ((Be = a.legend) == null ? void 0 : Be.visible) === !1,
|
|
706
|
-
view: "gradient",
|
|
707
|
-
fillMode: "outline"
|
|
708
|
-
}
|
|
709
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "legendPosition", labelText: l.toLanguageString(Ca, n[Ca]) }, /* @__PURE__ */ e.createElement(
|
|
710
|
-
R,
|
|
711
|
-
{
|
|
712
|
-
id: "legendPosition",
|
|
713
|
-
data: Q,
|
|
714
|
-
textField: "text",
|
|
715
|
-
dataItemKey: "value",
|
|
716
|
-
value: Q.find((t) => {
|
|
717
|
-
var o;
|
|
718
|
-
return t.value === ((o = a.legend) == null ? void 0 : o.position);
|
|
719
|
-
}),
|
|
720
|
-
onChange: bn,
|
|
721
|
-
disabled: ((We = a.legend) == null ? void 0 : We.visible) === !1,
|
|
722
|
-
...x
|
|
723
|
-
}
|
|
724
|
-
))))))
|
|
725
|
-
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
726
|
-
S,
|
|
727
|
-
{
|
|
728
|
-
style: { maxWidth: "576px" },
|
|
729
|
-
title: m === "scatter" ? l.toLanguageString(ba, n[ba]) : l.toLanguageString(ha, n[ha]),
|
|
730
|
-
expanded: ge,
|
|
731
|
-
tabIndex: 0,
|
|
732
|
-
onAction: Nl
|
|
733
|
-
},
|
|
734
|
-
/* @__PURE__ */ e.createElement(E, null, ge && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(fa, n[fa]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
735
|
-
$,
|
|
736
|
-
{
|
|
737
|
-
placeholder: l.toLanguageString(va, n[va]),
|
|
738
|
-
value: ((Ke = a.categoryAxis[0].title) == null ? void 0 : Ke.text) || "",
|
|
739
|
-
onChange: hn
|
|
740
|
-
}
|
|
741
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "categoryAxisTitleFont", labelText: l.toLanguageString(Sa, n[Sa]) }, /* @__PURE__ */ e.createElement(
|
|
742
|
-
k,
|
|
743
|
-
{
|
|
744
|
-
id: "categoryAxisTitleFont",
|
|
745
|
-
data: A,
|
|
746
|
-
textField: "text",
|
|
747
|
-
dataItemKey: "value",
|
|
748
|
-
itemRender: M,
|
|
749
|
-
placeholder: l.toLanguageString(La, n[La]),
|
|
750
|
-
value: A.find((t) => {
|
|
751
|
-
var o, g;
|
|
752
|
-
return t.value === ((g = p(((o = a.categoryAxis[0].title) == null ? void 0 : o.font) || "")) == null ? void 0 : g.name);
|
|
753
|
-
}) || u,
|
|
754
|
-
onChange: vn,
|
|
755
|
-
...x
|
|
756
|
-
}
|
|
757
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisTitleFontSize", labelText: l.toLanguageString(Ea, n[Ea]) }, /* @__PURE__ */ e.createElement(
|
|
758
|
-
k,
|
|
759
|
-
{
|
|
760
|
-
id: "categoryAxisTitleFontSize",
|
|
761
|
-
data: b,
|
|
762
|
-
textField: "text",
|
|
763
|
-
dataItemKey: "value",
|
|
764
|
-
placeholder: l.toLanguageString(ka, n[ka]),
|
|
765
|
-
value: b.find((t) => {
|
|
766
|
-
var o, g;
|
|
767
|
-
return t.value === ((g = p(((o = a.categoryAxis[0].title) == null ? void 0 : o.font) || "")) == null ? void 0 : g.size);
|
|
768
|
-
}) || u,
|
|
769
|
-
onChange: fn,
|
|
770
|
-
allowCustom: !0,
|
|
771
|
-
...x
|
|
772
|
-
}
|
|
773
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisTitleColor", labelText: l.toLanguageString(Aa, n[Aa]) }, /* @__PURE__ */ e.createElement(
|
|
774
|
-
z,
|
|
775
|
-
{
|
|
776
|
-
id: "categoryAxisTitleColor",
|
|
777
|
-
view: "gradient",
|
|
778
|
-
value: ((De = a.categoryAxis[0].title) == null ? void 0 : De.color) || "",
|
|
779
|
-
onChange: Sn,
|
|
780
|
-
fillMode: "outline"
|
|
781
|
-
}
|
|
782
|
-
)))), /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(pa, n[pa]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "categoryAxisLabelsFont", labelText: l.toLanguageString(ya, n[ya]) }, /* @__PURE__ */ e.createElement(
|
|
783
|
-
k,
|
|
784
|
-
{
|
|
785
|
-
id: "categoryAxisLabelsFont",
|
|
786
|
-
data: A,
|
|
787
|
-
textField: "text",
|
|
788
|
-
dataItemKey: "value",
|
|
789
|
-
placeholder: l.toLanguageString(Ta, n[Ta]),
|
|
790
|
-
value: A.find((t) => {
|
|
791
|
-
var o, g;
|
|
792
|
-
return t.value === ((g = p(((o = a.categoryAxis[0].labels) == null ? void 0 : o.font) || "")) == null ? void 0 : g.name);
|
|
793
|
-
}) || u,
|
|
794
|
-
onChange: En,
|
|
795
|
-
itemRender: M,
|
|
796
|
-
...x
|
|
797
|
-
}
|
|
798
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsFontSize", labelText: l.toLanguageString(Ia, n[Ia]) }, /* @__PURE__ */ e.createElement(
|
|
799
|
-
k,
|
|
800
|
-
{
|
|
801
|
-
id: "categoryAxisLabelsFontSize",
|
|
802
|
-
data: b,
|
|
803
|
-
textField: "text",
|
|
804
|
-
dataItemKey: "value",
|
|
805
|
-
placeholder: l.toLanguageString(Fa, n[Fa]),
|
|
806
|
-
value: b.find((t) => {
|
|
807
|
-
var o, g;
|
|
808
|
-
return t.value === ((g = p(((o = a.categoryAxis[0].labels) == null ? void 0 : o.font) || "")) == null ? void 0 : g.size);
|
|
809
|
-
}) || u,
|
|
810
|
-
onChange: Ln,
|
|
811
|
-
allowCustom: !0,
|
|
812
|
-
...x
|
|
813
|
-
}
|
|
814
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsColor", labelText: l.toLanguageString(Na, n[Na]) }, /* @__PURE__ */ e.createElement(
|
|
815
|
-
z,
|
|
816
|
-
{
|
|
817
|
-
id: "categoryAxisLabelsColor",
|
|
818
|
-
view: "gradient",
|
|
819
|
-
value: ((He = a.categoryAxis[0].labels) == null ? void 0 : He.color) || "",
|
|
820
|
-
onChange: kn,
|
|
821
|
-
fillMode: "outline"
|
|
822
|
-
}
|
|
823
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsRotation", labelText: l.toLanguageString(wa, n[wa]) }, /* @__PURE__ */ e.createElement(
|
|
824
|
-
B,
|
|
825
|
-
{
|
|
826
|
-
id: "categoryAxisLabelsRotation",
|
|
827
|
-
value: typeof ((Oe = a.categoryAxis[0].labels) == null ? void 0 : Oe.rotation) == "number" ? (Xe = a.categoryAxis[0].labels) == null ? void 0 : Xe.rotation : null,
|
|
828
|
-
placeholder: l.toLanguageString(za, n[za]),
|
|
829
|
-
onChange: An,
|
|
830
|
-
fillMode: "outline",
|
|
831
|
-
min: -360,
|
|
832
|
-
max: 360,
|
|
833
|
-
step: 1
|
|
834
|
-
}
|
|
835
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
836
|
-
et,
|
|
837
|
-
{
|
|
838
|
-
label: l.toLanguageString(Pa, n[Pa]),
|
|
839
|
-
checked: a.categoryAxis[0].reverse || !1,
|
|
840
|
-
onChange: pn
|
|
841
|
-
}
|
|
842
|
-
)))))))
|
|
843
|
-
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
844
|
-
S,
|
|
845
|
-
{
|
|
846
|
-
style: { maxWidth: "576px" },
|
|
847
|
-
title: m === "scatter" ? l.toLanguageString(Va, n[Va]) : l.toLanguageString(Ma, n[Ma]),
|
|
848
|
-
expanded: de,
|
|
849
|
-
tabIndex: 0,
|
|
850
|
-
onAction: zl
|
|
851
|
-
},
|
|
852
|
-
/* @__PURE__ */ e.createElement(E, null, de && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Ra, n[Ra]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
853
|
-
$,
|
|
854
|
-
{
|
|
855
|
-
placeholder: l.toLanguageString(Ba, n[Ba]),
|
|
856
|
-
value: ((Ye = (Ge = a.valueAxis[0]) == null ? void 0 : Ge.title) == null ? void 0 : Ye.text) || "",
|
|
857
|
-
onChange: yn
|
|
858
|
-
}
|
|
859
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "valueAxisTitleFont", labelText: l.toLanguageString(Wa, n[Wa]) }, /* @__PURE__ */ e.createElement(
|
|
860
|
-
k,
|
|
861
|
-
{
|
|
862
|
-
id: "valueAxisTitleFont",
|
|
863
|
-
data: A,
|
|
864
|
-
textField: "text",
|
|
865
|
-
dataItemKey: "value",
|
|
866
|
-
itemRender: M,
|
|
867
|
-
placeholder: l.toLanguageString(Ka, n[Ka]),
|
|
868
|
-
value: A.find((t) => {
|
|
869
|
-
var o, g, C;
|
|
870
|
-
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.title) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
871
|
-
}) || u,
|
|
872
|
-
onChange: In,
|
|
873
|
-
...x
|
|
874
|
-
}
|
|
875
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisTitleFontSize", labelText: l.toLanguageString(Da, n[Da]) }, /* @__PURE__ */ e.createElement(
|
|
876
|
-
k,
|
|
877
|
-
{
|
|
878
|
-
id: "valueAxisTitleFontSize",
|
|
879
|
-
data: b,
|
|
880
|
-
textField: "text",
|
|
881
|
-
dataItemKey: "value",
|
|
882
|
-
placeholder: l.toLanguageString(Ha, n[Ha]),
|
|
883
|
-
value: b.find((t) => {
|
|
884
|
-
var o, g, C;
|
|
885
|
-
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.title) == null ? void 0 : g.font) || "")) == null ? void 0 : C.size);
|
|
886
|
-
}) || u,
|
|
887
|
-
onChange: Tn,
|
|
888
|
-
allowCustom: !0,
|
|
889
|
-
...x
|
|
890
|
-
}
|
|
891
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisTitleColor", labelText: l.toLanguageString(Oa, n[Oa]) }, /* @__PURE__ */ e.createElement(
|
|
892
|
-
z,
|
|
893
|
-
{
|
|
894
|
-
id: "valueAxisTitleColor",
|
|
895
|
-
view: "gradient",
|
|
896
|
-
value: ((Ue = (je = a.valueAxis[0]) == null ? void 0 : je.title) == null ? void 0 : Ue.color) || "",
|
|
897
|
-
onChange: Fn,
|
|
898
|
-
fillMode: "outline"
|
|
899
|
-
}
|
|
900
|
-
)))), /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Xa, n[Xa]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "valueAxisLabelsFormat", labelText: l.toLanguageString(Ga, n[Ga]) }, /* @__PURE__ */ e.createElement(
|
|
901
|
-
R,
|
|
902
|
-
{
|
|
903
|
-
id: "valueAxisLabelsFormat",
|
|
904
|
-
data: _,
|
|
905
|
-
textField: "text",
|
|
906
|
-
dataItemKey: "value",
|
|
907
|
-
defaultItem: Z,
|
|
908
|
-
value: _.find((t) => {
|
|
909
|
-
var o, g;
|
|
910
|
-
return t.value === ((g = (o = a.valueAxis[0]) == null ? void 0 : o.labels) == null ? void 0 : g.format);
|
|
911
|
-
}) || Z,
|
|
912
|
-
onChange: Vn,
|
|
913
|
-
...x
|
|
914
|
-
}
|
|
915
|
-
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "valueAxisLabelsFont", labelText: l.toLanguageString(Ya, n[Ya]) }, /* @__PURE__ */ e.createElement(
|
|
916
|
-
k,
|
|
917
|
-
{
|
|
918
|
-
id: "valueAxisLabelsFont",
|
|
919
|
-
data: A,
|
|
920
|
-
textField: "text",
|
|
921
|
-
dataItemKey: "value",
|
|
922
|
-
placeholder: l.toLanguageString(ja, n[ja]),
|
|
923
|
-
value: A.find((t) => {
|
|
924
|
-
var o, g, C;
|
|
925
|
-
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
926
|
-
}) || u,
|
|
927
|
-
onChange: wn,
|
|
928
|
-
itemRender: M,
|
|
929
|
-
...x
|
|
930
|
-
}
|
|
931
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsFontSize", labelText: l.toLanguageString(Ua, n[Ua]) }, /* @__PURE__ */ e.createElement(
|
|
932
|
-
k,
|
|
933
|
-
{
|
|
934
|
-
id: "valueAxisLabelsFontSize",
|
|
935
|
-
data: b,
|
|
936
|
-
textField: "text",
|
|
937
|
-
dataItemKey: "value",
|
|
938
|
-
placeholder: l.toLanguageString($a, n[$a]),
|
|
939
|
-
value: b.find((t) => {
|
|
940
|
-
var o, g, C;
|
|
941
|
-
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.size);
|
|
942
|
-
}) || u,
|
|
943
|
-
onChange: Nn,
|
|
944
|
-
allowCustom: !0,
|
|
945
|
-
...x
|
|
946
|
-
}
|
|
947
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsColor", labelText: l.toLanguageString(qa, n[qa]) }, /* @__PURE__ */ e.createElement(
|
|
948
|
-
z,
|
|
949
|
-
{
|
|
950
|
-
id: "valueAxisLabelsColor",
|
|
951
|
-
view: "gradient",
|
|
952
|
-
value: ((qe = ($e = a.valueAxis[0]) == null ? void 0 : $e.labels) == null ? void 0 : qe.color) || "",
|
|
953
|
-
onChange: zn,
|
|
954
|
-
fillMode: "outline"
|
|
955
|
-
}
|
|
956
|
-
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsRotation", labelText: l.toLanguageString(Ja, n[Ja]) }, /* @__PURE__ */ e.createElement(
|
|
957
|
-
B,
|
|
103
|
+
svgIcon: F,
|
|
104
|
+
icon: "file",
|
|
105
|
+
exportHandler: U,
|
|
106
|
+
text: o.toLanguageString(X, i.exportSVGButton)
|
|
107
|
+
},
|
|
958
108
|
{
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
fillMode: "outline",
|
|
964
|
-
min: -360,
|
|
965
|
-
max: 360,
|
|
966
|
-
step: 1
|
|
109
|
+
svgIcon: H,
|
|
110
|
+
icon: "file-image",
|
|
111
|
+
exportHandler: j,
|
|
112
|
+
text: o.toLanguageString(Y, i.exportPNGButton)
|
|
967
113
|
}
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
)
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
)), /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-content", style: { height: "calc(100% - 50px)" } }, /* @__PURE__ */ e.createElement(de, { ref: c, state: t }))), /* @__PURE__ */ e.createElement("div", { className: "k-chart-wizard-property-pane k-pane k-pane-static" }, /* @__PURE__ */ e.createElement(N, { selected: z, onSelect: T, animation: !1 }, /* @__PURE__ */ e.createElement(s, { title: o.toLanguageString(Z, i.tabChart) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(ce, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(ue, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(me, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(se, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(pe, { state: t, onStateChange: a }))), /* @__PURE__ */ e.createElement(s, { title: o.toLanguageString(_, i.tabData) }, /* @__PURE__ */ e.createElement(te, { state: t, onStateChange: a })), /* @__PURE__ */ e.createElement(s, { title: o.toLanguageString($, i.tabFormat) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(ae, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(ne, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(re, { state: t, onStateChange: a }), /* @__PURE__ */ e.createElement(oe, { state: t, onStateChange: a }), u !== "pie" && /* @__PURE__ */ e.createElement(ie, { state: t, onStateChange: a }), u !== "pie" && /* @__PURE__ */ e.createElement(le, { state: t, onStateChange: a }))))))
|
|
971
117
|
);
|
|
972
118
|
});
|
|
973
|
-
|
|
119
|
+
ge.displayName = "ChartWizard";
|
|
974
120
|
export {
|
|
975
|
-
|
|
121
|
+
ge as ChartWizard
|
|
976
122
|
};
|