@progress/kendo-react-chart-wizard 8.3.0-develop.13 → 8.3.0-develop.15
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 +471 -463
- package/dist/cdn/js/kendo-react-chart-wizard.js +1 -1
- package/package.json +14 -14
package/ChartWizard.mjs
CHANGED
|
@@ -7,268 +7,276 @@
|
|
|
7
7
|
*/
|
|
8
8
|
"use client";
|
|
9
9
|
import * as e from "react";
|
|
10
|
-
import { Window as
|
|
11
|
-
import { Chart as
|
|
12
|
-
import { Splitter as
|
|
13
|
-
import { DropDownButton as
|
|
14
|
-
import { exportIcon as
|
|
15
|
-
import { Reveal as
|
|
16
|
-
import { DropDownList as
|
|
17
|
-
import { SeriesGrid as
|
|
18
|
-
import { NumericTextBox as
|
|
19
|
-
import { Label as
|
|
20
|
-
import { createInitialState as
|
|
21
|
-
import { classNames as
|
|
22
|
-
import { FormElement as
|
|
23
|
-
import { useLocalization as
|
|
24
|
-
import { formatTitleChartTitle as
|
|
25
|
-
import { ExportEvent as vo, resolveExportOptions as
|
|
26
|
-
const
|
|
10
|
+
import { Window as Ga } from "@progress/kendo-react-dialogs";
|
|
11
|
+
import { Chart as Ha, ChartTitle as Oa, ChartSubtitle as Xa, ChartArea as Ya, ChartCategoryAxis as ja, ChartCategoryAxisItem as Ua, ChartValueAxis as $a, ChartValueAxisItem as qa, ChartSeries as Ja, ChartSeriesItem as Qa, ChartLegend as Za } from "@progress/kendo-react-charts";
|
|
12
|
+
import { Splitter as _a, TabStrip as el, TabStripTab as q, ExpansionPanel as A, ExpansionPanelContent as L } from "@progress/kendo-react-layout";
|
|
13
|
+
import { DropDownButton as tl } from "@progress/kendo-react-buttons";
|
|
14
|
+
import { exportIcon as al, filePdfIcon as ll, fileIcon as nl, fileImageIcon as ol, chartBarClusteredIcon as rl, chartBarStackedIcon as il, chartBarStacked100Icon as sl, chartPieIcon as cl, chartColumnClusteredIcon as gl, chartColumnStackedIcon as ul, chartColumnStacked100Icon as dl, chartLineIcon as ml, chartLineStackedIcon as xl, chartLineStacked100Icon as Cl, chartScatterIcon as fl } from "@progress/kendo-svg-icons";
|
|
15
|
+
import { Reveal as v } from "@progress/kendo-react-animation";
|
|
16
|
+
import { DropDownList as R, ComboBox as E } from "@progress/kendo-react-dropdowns";
|
|
17
|
+
import { SeriesGrid as bl } from "./SeriesGrid.mjs";
|
|
18
|
+
import { NumericTextBox as K, ColorPicker as P, Input as J, Checkbox as at, Switch as hl } from "@progress/kendo-react-inputs";
|
|
19
|
+
import { Label as nt } from "@progress/kendo-react-labels";
|
|
20
|
+
import { createInitialState as Sl, mergeStates as T, createState as F, updateState as c, ActionTypes as s, isCategorical as lt, fontNames as k, parseFont as p, fontSizes as f } from "./chart-wizard-state.mjs";
|
|
21
|
+
import { classNames as Al, IconWrap as Ll } from "@progress/kendo-react-common";
|
|
22
|
+
import { FormElement as B, FieldWrapper as vl } from "@progress/kendo-react-form";
|
|
23
|
+
import { useLocalization as El } from "@progress/kendo-react-intl";
|
|
24
|
+
import { formatTitleChartTitle as kl, messages as n, formatTitleChartSubtitle as pl, formatLegendPositionTop as yl, formatLegendPositionBottom as Tl, formatLegendPositionLeft as Fl, formatLegendPositionRight as Il, formatSeriesAllSeries as Nl, formatValueAxisLabelsFormatText as wl, formatValueAxisLabelsFormatNumber as zl, formatValueAxisLabelsFormatCurrency as Pl, formatValueAxisLabelsFormatPercent as Vl, windowTitle as Bl, exportButton as Ml, exportPDFButton as Rl, exportSVGButton as Kl, exportPNGButton as Dl, tabChart as Wl, barChart as Gl, barChartBar as Hl, barChartStackedBar as Ol, barChart100StackedBar as Xl, pieChart as Yl, pieChartPie as jl, columnChart as Ul, columnChartColumn as $l, columnChartStackedColumn as ql, columnChart100StackedColumn as Jl, lineChart as Ql, lineChartLine as Zl, lineChartStackedLine as _l, lineChart100StackedLine as en, scatterChart as tn, scatterChartScatter as an, tabData as ln, configuration as nn, configurationXAxis as on, configurationCategoryAxis as rn, configurationSeries as sn, configurationValueAxis as cn, tabFormat as gn, formatChartArea as un, formatChartAreaMargins as dn, formatChartAreaMarginsLeft as mn, formatChartAreaMarginsAuto as X, formatChartAreaMarginsRight as xn, formatChartAreaMarginsTop as Cn, formatChartAreaMarginsBottom as fn, formatChartAreaBackground as bn, formatChartAreaBackgroundColor as hn, formatTitle as Sn, formatTitleApplyTo as An, formatTitleLabel as Ln, formatTitleFont as vn, formatTitleFontPlaceholder as En, formatTitleSize as kn, formatTitleSizePlaceholder as pn, formatTitleColor as yn, formatSeries as Tn, formatSeriesApplyTo as Fn, formatSeriesColor as In, formatSeriesShowLabels as Nn, formatLegend as wn, formatLegendShowLegend as zn, formatLegendFont as Pn, formatLegendFontPlaceholder as Vn, formatLegendSize as Bn, formatLegendSizePlaceholder as Mn, formatLegendColor as Rn, formatLegendPosition as Kn, formatXAxis as Dn, formatCategoryAxis as Wn, formatCategoryAxisTitle as Gn, formatCategoryAxisTitlePlaceholder as Hn, formatCategoryAxisTitleFont as On, formatCategoryAxisTitleFontPlaceholder as Xn, formatCategoryAxisTitleSize as Yn, formatCategoryAxisTitleSizePlaceholder as jn, formatCategoryAxisTitleColor as Un, formatCategoryAxisLabels as $n, formatCategoryAxisLabelsFont as qn, formatCategoryAxisLabelsFontPlaceholder as Jn, formatCategoryAxisLabelsSize as Qn, formatCategoryAxisLabelsSizePlaceholder as Zn, formatCategoryAxisLabelsColor as _n, formatCategoryAxisLabelsRotation as eo, formatCategoryAxisLabelsRotationAuto as to, formatCategoryAxisLabelsReverseOrder as ao, formatYAxis as lo, formatValueAxis as no, formatValueAxisTitle as oo, formatValueAxisTitlePlaceholder as ro, formatValueAxisTitleFont as io, formatValueAxisTitleFontPlaceholder as so, formatValueAxisTitleSize as co, formatValueAxisTitleSizePlaceholder as go, formatValueAxisTitleColor as uo, formatValueAxisLabels as mo, formatValueAxisLabelsFormat as xo, formatValueAxisLabelsFont as Co, formatValueAxisLabelsFontPlaceholder as fo, formatValueAxisLabelsSize as bo, formatValueAxisLabelsSizePlaceholder as ho, formatValueAxisLabelsColor as So, formatValueAxisLabelsRotation as Ao, formatValueAxisLabelsRotationAuto as Lo } from "./messages.mjs";
|
|
25
|
+
import { ExportEvent as vo, resolveExportOptions as Eo, handlePDFExport as ko, handleSVGExport as po, handleImageExport as yo } from "./export.mjs";
|
|
26
|
+
const w = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-form-fieldset" }, r.legend && /* @__PURE__ */ e.createElement("legend", { className: "k-form-legend" }, r.legend), r.children), z = (r) => {
|
|
27
27
|
r.stopPropagation();
|
|
28
|
-
}, u = (r) => /* @__PURE__ */ e.createElement(vl, { className: r.className }, r.labelText && r.editorId && /* @__PURE__ */ e.createElement(
|
|
28
|
+
}, u = (r) => /* @__PURE__ */ e.createElement(vl, { className: r.className }, r.labelText && r.editorId && /* @__PURE__ */ e.createElement(nt, { className: "k-form-label", editorId: r.editorId }, r.labelText), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap", onKeyDown: z }, r.children)), d = { value: null, text: "" }, To = /^\d+$/, M = (r, V) => V.dataItem.style ? e.cloneElement(r, r.props, /* @__PURE__ */ e.createElement("span", { style: V.dataItem.style }, r.props.children)) : r, D = (r) => {
|
|
29
29
|
if (r.text === "")
|
|
30
30
|
return !0;
|
|
31
31
|
if (r.value === void 0) {
|
|
32
|
-
if (!
|
|
32
|
+
if (!To.test(r.text))
|
|
33
33
|
return !1;
|
|
34
34
|
r.value = r.text + "px";
|
|
35
35
|
}
|
|
36
36
|
return f.find((l) => l.value === r.value) || (f.push(r), f.sort((l, b) => parseInt(l.text, 10) - parseInt(b.text, 10))), !0;
|
|
37
|
-
}, I = (r) =>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
37
|
+
}, I = (r) => {
|
|
38
|
+
const V = e.useCallback(
|
|
39
|
+
(l) => {
|
|
40
|
+
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), r.onClick());
|
|
41
|
+
},
|
|
42
|
+
[r.onClick]
|
|
43
|
+
);
|
|
44
|
+
return /* @__PURE__ */ e.createElement("div", { className: Al("k-icon-text-wrapper", { "k-selected": r.selected }), onClick: r.onClick }, /* @__PURE__ */ e.createElement("div", { className: "k-icon-background-area", tabIndex: 0, onKeyDown: V }, /* @__PURE__ */ e.createElement(
|
|
45
|
+
Ll,
|
|
46
|
+
{
|
|
47
|
+
name: r.iconName,
|
|
48
|
+
icon: r.icon,
|
|
49
|
+
size: "xlarge",
|
|
50
|
+
className: "k-svg-i-chart-bar-clustered"
|
|
51
|
+
}
|
|
52
|
+
)), r.children);
|
|
53
|
+
}, G = (r) => /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper", onKeyDown: z }, r.children), x = {
|
|
46
54
|
fillMode: "outline",
|
|
47
55
|
popupSettings: {
|
|
48
56
|
animate: !1
|
|
49
57
|
}
|
|
50
|
-
},
|
|
51
|
-
var
|
|
52
|
-
const l =
|
|
58
|
+
}, Q = { type: "normal" }, Z = { type: "100%" }, Fo = e.forwardRef((r, V) => {
|
|
59
|
+
var Ce, fe, be, he, Se, Ae, Le, ve, Ee, ke, pe, ye, Te, Fe, Ie, Ne, we, ze, Pe, Ve, Be, Me, Re, Ke, De, We, Ge, He, Oe, Xe, Ye, je, Ue, $e, qe, Je, Qe, Ze, _e, et, tt;
|
|
60
|
+
const l = El(), b = [
|
|
53
61
|
{
|
|
54
62
|
value: "chartTitle",
|
|
55
|
-
text: l.toLanguageString(
|
|
63
|
+
text: l.toLanguageString(kl, n.formatTitleChartTitle)
|
|
56
64
|
},
|
|
57
65
|
{
|
|
58
66
|
value: "chartSubtitle",
|
|
59
|
-
text: l.toLanguageString(
|
|
67
|
+
text: l.toLanguageString(pl, n.formatTitleChartSubtitle)
|
|
60
68
|
}
|
|
61
|
-
],
|
|
69
|
+
], _ = [
|
|
62
70
|
{
|
|
63
71
|
value: "top",
|
|
64
|
-
text: l.toLanguageString(
|
|
72
|
+
text: l.toLanguageString(yl, n.formatLegendPositionTop)
|
|
65
73
|
},
|
|
66
74
|
{
|
|
67
75
|
value: "bottom",
|
|
68
|
-
text: l.toLanguageString(
|
|
76
|
+
text: l.toLanguageString(Tl, n.formatLegendPositionBottom)
|
|
69
77
|
},
|
|
70
78
|
{
|
|
71
79
|
value: "left",
|
|
72
|
-
text: l.toLanguageString(
|
|
80
|
+
text: l.toLanguageString(Fl, n.formatLegendPositionLeft)
|
|
73
81
|
},
|
|
74
82
|
{
|
|
75
83
|
value: "right",
|
|
76
|
-
text: l.toLanguageString(
|
|
84
|
+
text: l.toLanguageString(Il, n.formatLegendPositionRight)
|
|
77
85
|
}
|
|
78
|
-
],
|
|
79
|
-
name: l.toLanguageString(
|
|
80
|
-
},
|
|
81
|
-
text: l.toLanguageString(
|
|
86
|
+
], Y = {
|
|
87
|
+
name: l.toLanguageString(Nl, n.formatSeriesAllSeries)
|
|
88
|
+
}, ee = {
|
|
89
|
+
text: l.toLanguageString(wl, n.formatValueAxisLabelsFormatText),
|
|
82
90
|
value: ""
|
|
83
|
-
},
|
|
91
|
+
}, te = [
|
|
84
92
|
{
|
|
85
93
|
value: "n0",
|
|
86
94
|
text: l.toLanguageString(
|
|
87
|
-
|
|
95
|
+
zl,
|
|
88
96
|
n.formatValueAxisLabelsFormatNumber
|
|
89
97
|
)
|
|
90
98
|
},
|
|
91
99
|
{
|
|
92
100
|
value: "c0",
|
|
93
101
|
text: l.toLanguageString(
|
|
94
|
-
|
|
102
|
+
Pl,
|
|
95
103
|
n.formatValueAxisLabelsFormatCurrency
|
|
96
104
|
)
|
|
97
105
|
},
|
|
98
106
|
{
|
|
99
107
|
value: "p0",
|
|
100
108
|
text: l.toLanguageString(
|
|
101
|
-
|
|
109
|
+
Vl,
|
|
102
110
|
n.formatValueAxisLabelsFormatPercent
|
|
103
111
|
)
|
|
104
112
|
}
|
|
105
|
-
],
|
|
113
|
+
], H = e.useRef(null), ot = e.useCallback(
|
|
106
114
|
(t) => {
|
|
107
115
|
var o;
|
|
108
|
-
if (
|
|
109
|
-
const g = new vo(
|
|
116
|
+
if (H.current) {
|
|
117
|
+
const g = new vo(H.current, Eo(r.exportOptions));
|
|
110
118
|
(o = r.onExport) == null || o.call(r, g), g.isDefaultPrevented() || t.item.exportHandler.call(void 0, g);
|
|
111
119
|
}
|
|
112
120
|
},
|
|
113
121
|
[r.exportOptions]
|
|
114
|
-
),
|
|
115
|
-
|
|
116
|
-
}, []),
|
|
117
|
-
|
|
118
|
-
}, []), [
|
|
122
|
+
), rt = r.window || Ga, [it, st] = e.useState({ width: 700, height: 550 }), [ct, gt] = e.useState("DEFAULT"), ut = e.useCallback((t) => {
|
|
123
|
+
st({ width: t.width, height: t.height });
|
|
124
|
+
}, []), dt = e.useCallback((t) => {
|
|
125
|
+
gt(t.state);
|
|
126
|
+
}, []), [mt, xt] = e.useState([
|
|
119
127
|
{ collapsible: !1 },
|
|
120
128
|
{ size: "300px", collapsible: !1 }
|
|
121
|
-
]),
|
|
122
|
-
|
|
123
|
-
}, []), [
|
|
124
|
-
xt(!t.expanded);
|
|
125
|
-
}, []), [te, ft] = e.useState(!0), bt = e.useCallback((t) => {
|
|
129
|
+
]), Ct = e.useCallback((t) => {
|
|
130
|
+
xt(t.newState);
|
|
131
|
+
}, []), [ae, ft] = e.useState(!0), bt = e.useCallback((t) => {
|
|
126
132
|
ft(!t.expanded);
|
|
127
|
-
}, []), [
|
|
133
|
+
}, []), [le, ht] = e.useState(!0), St = e.useCallback((t) => {
|
|
128
134
|
ht(!t.expanded);
|
|
129
|
-
}, []), [
|
|
135
|
+
}, []), [ne, At] = e.useState(!0), Lt = e.useCallback((t) => {
|
|
136
|
+
At(!t.expanded);
|
|
137
|
+
}, []), [oe, vt] = e.useState(!0), Et = e.useCallback((t) => {
|
|
130
138
|
vt(!t.expanded);
|
|
131
|
-
}, []), [
|
|
132
|
-
Lt(!t.expanded);
|
|
133
|
-
}, []), [oe, kt] = e.useState(!0), pt = e.useCallback((t) => {
|
|
139
|
+
}, []), [re, kt] = e.useState(!0), pt = e.useCallback((t) => {
|
|
134
140
|
kt(!t.expanded);
|
|
135
|
-
}, []), [
|
|
141
|
+
}, []), [ie, yt] = e.useState(!0), Tt = e.useCallback((t) => {
|
|
136
142
|
yt(!t.expanded);
|
|
137
|
-
}, []), [
|
|
143
|
+
}, []), [se, Ft] = e.useState(!1), It = e.useCallback((t) => {
|
|
138
144
|
Ft(!t.expanded);
|
|
139
|
-
}, []), [
|
|
145
|
+
}, []), [ce, Nt] = e.useState(!1), wt = e.useCallback((t) => {
|
|
140
146
|
Nt(!t.expanded);
|
|
141
|
-
}, []), [
|
|
142
|
-
|
|
143
|
-
}, []), [
|
|
147
|
+
}, []), [ge, zt] = e.useState(!1), Pt = e.useCallback((t) => {
|
|
148
|
+
zt(!t.expanded);
|
|
149
|
+
}, []), [ue, Vt] = e.useState(!1), Bt = e.useCallback((t) => {
|
|
144
150
|
Vt(!t.expanded);
|
|
145
|
-
}, []), [
|
|
151
|
+
}, []), [de, Mt] = e.useState(!1), Rt = e.useCallback((t) => {
|
|
146
152
|
Mt(!t.expanded);
|
|
147
|
-
}, []), [
|
|
148
|
-
Kt(t.
|
|
153
|
+
}, []), [me, Kt] = e.useState(!1), Dt = e.useCallback((t) => {
|
|
154
|
+
Kt(!t.expanded);
|
|
155
|
+
}, []), [Wt, Gt] = e.useState(0), Ht = e.useCallback((t) => {
|
|
156
|
+
Gt(t.selected);
|
|
149
157
|
}, []), [a, i] = e.useState(
|
|
150
|
-
|
|
151
|
-
),
|
|
152
|
-
|
|
153
|
-
const
|
|
158
|
+
Sl(r.data, "bar", r.defaultState)
|
|
159
|
+
), xe = e.useRef(a);
|
|
160
|
+
xe.current = a;
|
|
161
|
+
const Ot = e.useCallback(
|
|
154
162
|
() => ({
|
|
155
163
|
get chart() {
|
|
156
|
-
return
|
|
164
|
+
return H.current;
|
|
157
165
|
},
|
|
158
166
|
get state() {
|
|
159
|
-
return
|
|
167
|
+
return xe.current;
|
|
160
168
|
}
|
|
161
169
|
}),
|
|
162
170
|
[]
|
|
163
171
|
);
|
|
164
|
-
e.useImperativeHandle(
|
|
165
|
-
const [h, S] = e.useState(""),
|
|
172
|
+
e.useImperativeHandle(V, Ot);
|
|
173
|
+
const [h, S] = e.useState(""), Xt = e.useCallback((t) => {
|
|
166
174
|
const o = t.target.value.name;
|
|
167
|
-
S(o ===
|
|
168
|
-
}, []),
|
|
175
|
+
S(o === Y.name ? "" : o);
|
|
176
|
+
}, []), Yt = e.useCallback(() => {
|
|
169
177
|
i(T(a, F(r.data, "bar"))), S("");
|
|
170
|
-
}, [a, r.data]),
|
|
178
|
+
}, [a, r.data]), jt = e.useCallback(() => {
|
|
171
179
|
const t = T(a, F(r.data, "bar"));
|
|
172
|
-
i(c(t, s.stacked,
|
|
173
|
-
}, [a, r.data]),
|
|
180
|
+
i(c(t, s.stacked, Q)), S("");
|
|
181
|
+
}, [a, r.data]), Ut = e.useCallback(() => {
|
|
174
182
|
const t = T(a, F(r.data, "bar"));
|
|
175
|
-
i(c(t, s.stacked,
|
|
176
|
-
}, [a, r.data]),
|
|
183
|
+
i(c(t, s.stacked, Z)), S("");
|
|
184
|
+
}, [a, r.data]), $t = e.useCallback(() => {
|
|
177
185
|
i(T(a, F(r.data, "column"))), S("");
|
|
178
|
-
}, [a, r.data]),
|
|
186
|
+
}, [a, r.data]), qt = e.useCallback(() => {
|
|
179
187
|
const t = T(a, F(r.data, "column"));
|
|
180
|
-
i(c(t, s.stacked,
|
|
181
|
-
}, [a, r.data]),
|
|
188
|
+
i(c(t, s.stacked, Q)), S("");
|
|
189
|
+
}, [a, r.data]), Jt = e.useCallback(() => {
|
|
182
190
|
const t = T(a, F(r.data, "column"));
|
|
183
|
-
i(c(t, s.stacked,
|
|
184
|
-
}, [a, r.data]),
|
|
191
|
+
i(c(t, s.stacked, Z)), S("");
|
|
192
|
+
}, [a, r.data]), Qt = e.useCallback(() => {
|
|
185
193
|
i(T(a, F(r.data, "line"))), S("");
|
|
186
|
-
}, [a, r.data]),
|
|
194
|
+
}, [a, r.data]), Zt = e.useCallback(() => {
|
|
187
195
|
const t = T(a, F(r.data, "line"));
|
|
188
|
-
i(c(t, s.stacked,
|
|
189
|
-
}, [a, r.data]),
|
|
196
|
+
i(c(t, s.stacked, Q)), S("");
|
|
197
|
+
}, [a, r.data]), _t = e.useCallback(() => {
|
|
190
198
|
const t = T(a, F(r.data, "line"));
|
|
191
|
-
i(c(t, s.stacked,
|
|
192
|
-
}, [a, r.data]),
|
|
199
|
+
i(c(t, s.stacked, Z)), S("");
|
|
200
|
+
}, [a, r.data]), ea = e.useCallback(() => {
|
|
193
201
|
i(T(a, F(r.data, "pie"))), S("");
|
|
194
|
-
}, [a, r.data]),
|
|
202
|
+
}, [a, r.data]), ta = e.useCallback(() => {
|
|
195
203
|
i(T(a, F(r.data, "scatter"))), S("");
|
|
196
|
-
}, [a, r.data]),
|
|
204
|
+
}, [a, r.data]), aa = e.useCallback(
|
|
197
205
|
(t) => {
|
|
198
206
|
i(c(a, s.categoryAxisX, t.target.value));
|
|
199
207
|
},
|
|
200
208
|
[a]
|
|
201
|
-
),
|
|
209
|
+
), la = e.useCallback(
|
|
202
210
|
(t) => {
|
|
203
211
|
i(c(a, s.seriesChange, t));
|
|
204
212
|
},
|
|
205
213
|
[a]
|
|
206
|
-
),
|
|
214
|
+
), na = e.useCallback(
|
|
207
215
|
(t) => {
|
|
208
216
|
i(c(a, s.valueAxisY, t.target.value));
|
|
209
217
|
},
|
|
210
218
|
[a]
|
|
211
|
-
),
|
|
219
|
+
), oa = e.useCallback(
|
|
212
220
|
(t) => {
|
|
213
221
|
i(c(a, s.areaMarginLeft, t.target.value));
|
|
214
222
|
},
|
|
215
223
|
[a]
|
|
216
|
-
),
|
|
224
|
+
), ra = e.useCallback(
|
|
217
225
|
(t) => {
|
|
218
226
|
i(c(a, s.areaMarginRight, t.target.value));
|
|
219
227
|
},
|
|
220
228
|
[a]
|
|
221
|
-
),
|
|
229
|
+
), ia = e.useCallback(
|
|
222
230
|
(t) => {
|
|
223
231
|
i(c(a, s.areaMarginTop, t.target.value));
|
|
224
232
|
},
|
|
225
233
|
[a]
|
|
226
|
-
),
|
|
234
|
+
), sa = e.useCallback(
|
|
227
235
|
(t) => {
|
|
228
236
|
i(c(a, s.areaMarginBottom, t.target.value));
|
|
229
237
|
},
|
|
230
238
|
[a]
|
|
231
|
-
), N = a.area.margin,
|
|
239
|
+
), N = a.area.margin, ca = e.useCallback(
|
|
232
240
|
(t) => {
|
|
233
241
|
i(c(a, s.areaBackground, t.value));
|
|
234
242
|
},
|
|
235
243
|
[a]
|
|
236
|
-
), [y,
|
|
237
|
-
|
|
238
|
-
}, []),
|
|
244
|
+
), [y, ga] = e.useState(b[0]), ua = e.useCallback((t) => {
|
|
245
|
+
ga(t.target.value);
|
|
246
|
+
}, []), da = e.useCallback(
|
|
239
247
|
(t) => {
|
|
240
248
|
const o = y.value === b[0].value ? s.titleText : s.subtitleText;
|
|
241
249
|
i(c(a, o, t.target.value));
|
|
242
250
|
},
|
|
243
251
|
[a, y]
|
|
244
|
-
),
|
|
252
|
+
), ma = e.useCallback(
|
|
245
253
|
(t) => {
|
|
246
254
|
const o = y.value === b[0].value ? s.titleFontName : s.subtitleFontName, g = t.target.value || d;
|
|
247
255
|
i(c(a, o, g.value));
|
|
248
256
|
},
|
|
249
257
|
[a, y]
|
|
250
|
-
),
|
|
258
|
+
), xa = e.useCallback(
|
|
251
259
|
(t) => {
|
|
252
260
|
const o = y.value === b[0].value ? s.titleFontSize : s.subtitleFontSize, g = t.target.value || d;
|
|
253
|
-
|
|
261
|
+
D(g) && i(c(a, o, g.value));
|
|
254
262
|
},
|
|
255
263
|
[a, y]
|
|
256
|
-
),
|
|
264
|
+
), Ca = e.useCallback(
|
|
257
265
|
(t) => {
|
|
258
266
|
const o = y.value === b[0].value ? s.titleColor : s.subtitleColor;
|
|
259
267
|
i(c(a, o, t.value));
|
|
260
268
|
},
|
|
261
269
|
[a, y]
|
|
262
|
-
),
|
|
270
|
+
), O = (y.value === b[0].value ? a.title : a.subtitle) || {
|
|
263
271
|
text: "",
|
|
264
272
|
font: "",
|
|
265
273
|
color: ""
|
|
266
|
-
},
|
|
274
|
+
}, fa = e.useCallback(
|
|
267
275
|
(t) => {
|
|
268
276
|
h && i(c(a, s.seriesColor, { seriesName: h, color: t.value }));
|
|
269
277
|
},
|
|
270
278
|
[a, h]
|
|
271
|
-
),
|
|
279
|
+
), ba = e.useCallback(
|
|
272
280
|
(t) => {
|
|
273
281
|
i(
|
|
274
282
|
c(a, s.seriesLabel, {
|
|
@@ -279,24 +287,24 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
279
287
|
);
|
|
280
288
|
},
|
|
281
289
|
[a, h]
|
|
282
|
-
),
|
|
290
|
+
), ha = e.useCallback(
|
|
283
291
|
(t) => {
|
|
284
292
|
i(c(a, s.legendVisible, t.value));
|
|
285
293
|
},
|
|
286
294
|
[a]
|
|
287
|
-
),
|
|
295
|
+
), Sa = e.useCallback(
|
|
288
296
|
(t) => {
|
|
289
297
|
const o = t.target.value || d;
|
|
290
|
-
|
|
298
|
+
D(o) && i(c(a, s.legendFontSize, o.value));
|
|
291
299
|
},
|
|
292
300
|
[a]
|
|
293
|
-
),
|
|
301
|
+
), Aa = e.useCallback(
|
|
294
302
|
(t) => {
|
|
295
303
|
const o = t.target.value || d;
|
|
296
304
|
i(c(a, s.legendFontName, o.value));
|
|
297
305
|
},
|
|
298
306
|
[a]
|
|
299
|
-
),
|
|
307
|
+
), La = e.useCallback(
|
|
300
308
|
(t) => {
|
|
301
309
|
i(c(a, s.legendColor, t.value));
|
|
302
310
|
},
|
|
@@ -307,95 +315,95 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
307
315
|
i(c(a, s.legendPosition, o.value));
|
|
308
316
|
},
|
|
309
317
|
[a]
|
|
310
|
-
),
|
|
318
|
+
), Ea = e.useCallback(
|
|
311
319
|
(t) => {
|
|
312
320
|
i(c(a, s.categoryAxisTitleText, t.target.value));
|
|
313
321
|
},
|
|
314
322
|
[a]
|
|
315
|
-
),
|
|
323
|
+
), ka = e.useCallback(
|
|
316
324
|
(t) => {
|
|
317
325
|
const o = t.target.value || d;
|
|
318
|
-
|
|
326
|
+
D(o) && i(c(a, s.categoryAxisTitleFontSize, o.value));
|
|
319
327
|
},
|
|
320
328
|
[a]
|
|
321
|
-
),
|
|
329
|
+
), pa = e.useCallback(
|
|
322
330
|
(t) => {
|
|
323
331
|
const o = t.target.value || d;
|
|
324
332
|
i(c(a, s.categoryAxisTitleFontName, o.value));
|
|
325
333
|
},
|
|
326
334
|
[a]
|
|
327
|
-
),
|
|
335
|
+
), ya = e.useCallback(
|
|
328
336
|
(t) => {
|
|
329
337
|
i(c(a, s.categoryAxisTitleColor, t.value));
|
|
330
338
|
},
|
|
331
339
|
[a]
|
|
332
|
-
),
|
|
340
|
+
), Ta = e.useCallback(
|
|
333
341
|
(t) => {
|
|
334
342
|
const o = t.target.value || d;
|
|
335
|
-
|
|
343
|
+
D(o) && i(c(a, s.categoryAxisLabelsFontSize, o.value));
|
|
336
344
|
},
|
|
337
345
|
[a]
|
|
338
|
-
),
|
|
346
|
+
), Fa = e.useCallback(
|
|
339
347
|
(t) => {
|
|
340
348
|
const o = t.target.value || d;
|
|
341
349
|
i(c(a, s.categoryAxisLabelsFontName, o.value));
|
|
342
350
|
},
|
|
343
351
|
[a]
|
|
344
|
-
),
|
|
352
|
+
), Ia = e.useCallback(
|
|
345
353
|
(t) => {
|
|
346
354
|
i(c(a, s.categoryAxisLabelsColor, t.value));
|
|
347
355
|
},
|
|
348
356
|
[a]
|
|
349
|
-
),
|
|
357
|
+
), Na = e.useCallback(
|
|
350
358
|
(t) => {
|
|
351
359
|
i(c(a, s.categoryAxisLabelsRotation, t.target.value));
|
|
352
360
|
},
|
|
353
361
|
[a]
|
|
354
|
-
),
|
|
362
|
+
), wa = e.useCallback(
|
|
355
363
|
(t) => {
|
|
356
364
|
i(c(a, s.categoryAxisReverseOrder, t.value));
|
|
357
365
|
},
|
|
358
366
|
[a]
|
|
359
|
-
),
|
|
367
|
+
), za = e.useCallback(
|
|
360
368
|
(t) => {
|
|
361
369
|
i(c(a, s.valueAxisTitleText, t.target.value));
|
|
362
370
|
},
|
|
363
371
|
[a]
|
|
364
|
-
),
|
|
372
|
+
), Pa = e.useCallback(
|
|
365
373
|
(t) => {
|
|
366
374
|
const o = t.target.value || d;
|
|
367
|
-
|
|
375
|
+
D(o) && i(c(a, s.valueAxisTitleFontSize, o.value));
|
|
368
376
|
},
|
|
369
377
|
[a]
|
|
370
|
-
),
|
|
378
|
+
), Va = e.useCallback(
|
|
371
379
|
(t) => {
|
|
372
380
|
const o = t.target.value || d;
|
|
373
381
|
i(c(a, s.valueAxisTitleFontName, o.value));
|
|
374
382
|
},
|
|
375
383
|
[a]
|
|
376
|
-
),
|
|
384
|
+
), Ba = e.useCallback(
|
|
377
385
|
(t) => {
|
|
378
386
|
i(c(a, s.valueAxisTitleColor, t.value));
|
|
379
387
|
},
|
|
380
388
|
[a]
|
|
381
|
-
),
|
|
389
|
+
), Ma = e.useCallback(
|
|
382
390
|
(t) => {
|
|
383
391
|
const o = t.target.value || d;
|
|
384
|
-
|
|
392
|
+
D(o) && i(c(a, s.valueAxisLabelsFontSize, o.value));
|
|
385
393
|
},
|
|
386
394
|
[a]
|
|
387
|
-
),
|
|
395
|
+
), Ra = e.useCallback(
|
|
388
396
|
(t) => {
|
|
389
397
|
const o = t.target.value || d;
|
|
390
398
|
i(c(a, s.valueAxisLabelsFontName, o.value));
|
|
391
399
|
},
|
|
392
400
|
[a]
|
|
393
|
-
),
|
|
401
|
+
), Ka = e.useCallback(
|
|
394
402
|
(t) => {
|
|
395
403
|
i(c(a, s.valueAxisLabelsColor, t.value));
|
|
396
404
|
},
|
|
397
405
|
[a]
|
|
398
|
-
),
|
|
406
|
+
), Da = e.useCallback(
|
|
399
407
|
(t) => {
|
|
400
408
|
i(c(a, s.valueAxisLabelsRotation, t.target.value));
|
|
401
409
|
},
|
|
@@ -406,66 +414,66 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
406
414
|
i(c(a, s.valueAxisLabelsFormat, o.value));
|
|
407
415
|
},
|
|
408
416
|
[a]
|
|
409
|
-
), m = a.seriesType,
|
|
417
|
+
), m = a.seriesType, W = typeof ((Ce = a.series[0]) == null ? void 0 : Ce.stack) == "object" ? (fe = a.series[0]) == null ? void 0 : fe.stack : !1, j = W === !1, U = W && W.type === "normal", $ = W && W.type === "100%";
|
|
410
418
|
return /* @__PURE__ */ e.createElement(
|
|
411
|
-
|
|
419
|
+
rt,
|
|
412
420
|
{
|
|
413
|
-
title: l.toLanguageString(
|
|
421
|
+
title: l.toLanguageString(Bl, n.windowTitle),
|
|
414
422
|
className: "k-chart-wizard",
|
|
415
423
|
modal: !0,
|
|
416
424
|
resizable: !0,
|
|
417
425
|
minimizeButton: () => null,
|
|
418
426
|
onClose: r.onClose,
|
|
419
|
-
onResize:
|
|
420
|
-
stage:
|
|
421
|
-
onStageChange:
|
|
422
|
-
...
|
|
427
|
+
onResize: ut,
|
|
428
|
+
stage: ct,
|
|
429
|
+
onStageChange: dt,
|
|
430
|
+
...it
|
|
423
431
|
},
|
|
424
|
-
/* @__PURE__ */ e.createElement(
|
|
425
|
-
|
|
432
|
+
/* @__PURE__ */ e.createElement(_a, { panes: mt, onChange: Ct, 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(
|
|
433
|
+
tl,
|
|
426
434
|
{
|
|
427
|
-
text: l.toLanguageString(
|
|
435
|
+
text: l.toLanguageString(Ml, n.exportButton),
|
|
428
436
|
fillMode: "flat",
|
|
429
|
-
svgIcon:
|
|
437
|
+
svgIcon: al,
|
|
430
438
|
icon: "export",
|
|
431
|
-
onItemClick:
|
|
439
|
+
onItemClick: ot,
|
|
432
440
|
items: [
|
|
433
441
|
{
|
|
434
|
-
svgIcon:
|
|
442
|
+
svgIcon: ll,
|
|
435
443
|
icon: "file-pdf",
|
|
436
|
-
exportHandler:
|
|
437
|
-
text: l.toLanguageString(
|
|
444
|
+
exportHandler: ko,
|
|
445
|
+
text: l.toLanguageString(Rl, n.exportPDFButton)
|
|
438
446
|
},
|
|
439
447
|
{
|
|
440
|
-
svgIcon:
|
|
448
|
+
svgIcon: nl,
|
|
441
449
|
icon: "file",
|
|
442
|
-
exportHandler:
|
|
443
|
-
text: l.toLanguageString(
|
|
450
|
+
exportHandler: po,
|
|
451
|
+
text: l.toLanguageString(Kl, n.exportSVGButton)
|
|
444
452
|
},
|
|
445
453
|
{
|
|
446
|
-
svgIcon:
|
|
454
|
+
svgIcon: ol,
|
|
447
455
|
icon: "file-image",
|
|
448
|
-
exportHandler:
|
|
449
|
-
text: l.toLanguageString(
|
|
456
|
+
exportHandler: yo,
|
|
457
|
+
text: l.toLanguageString(Dl, n.exportPNGButton)
|
|
450
458
|
}
|
|
451
459
|
]
|
|
452
460
|
}
|
|
453
|
-
)), /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-content", style: { height: "calc(100% - 50px)" } }, /* @__PURE__ */ e.createElement(
|
|
454
|
-
|
|
461
|
+
)), /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-content", style: { height: "calc(100% - 50px)" } }, /* @__PURE__ */ e.createElement(Ha, { style: { width: "100%", height: "100%" }, transitions: !1, ref: H }, /* @__PURE__ */ e.createElement(
|
|
462
|
+
Oa,
|
|
455
463
|
{
|
|
456
|
-
text: (
|
|
457
|
-
font: (
|
|
458
|
-
color: ((
|
|
464
|
+
text: (be = a.title) == null ? void 0 : be.text,
|
|
465
|
+
font: (he = a.title) == null ? void 0 : he.font,
|
|
466
|
+
color: ((Se = a.title) == null ? void 0 : Se.color) || "#000"
|
|
459
467
|
}
|
|
460
468
|
), /* @__PURE__ */ e.createElement(
|
|
461
|
-
|
|
469
|
+
Xa,
|
|
462
470
|
{
|
|
463
|
-
text: (
|
|
464
|
-
font: (
|
|
471
|
+
text: (Ae = a.subtitle) == null ? void 0 : Ae.text,
|
|
472
|
+
font: (Le = a.subtitle) == null ? void 0 : Le.font,
|
|
465
473
|
color: ((ve = a.subtitle) == null ? void 0 : ve.color) || "#000"
|
|
466
474
|
}
|
|
467
|
-
), /* @__PURE__ */ e.createElement(
|
|
468
|
-
|
|
475
|
+
), /* @__PURE__ */ e.createElement(Ya, { background: (Ee = a.area) == null ? void 0 : Ee.background, margin: N }), a.categoryAxis && /* @__PURE__ */ e.createElement(ja, null, a.categoryAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
476
|
+
Ua,
|
|
469
477
|
{
|
|
470
478
|
key: o,
|
|
471
479
|
categories: t.categories,
|
|
@@ -481,8 +489,8 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
481
489
|
},
|
|
482
490
|
reverse: t.reverse
|
|
483
491
|
}
|
|
484
|
-
))), a.valueAxis && /* @__PURE__ */ e.createElement(
|
|
485
|
-
|
|
492
|
+
))), a.valueAxis && /* @__PURE__ */ e.createElement($a, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
493
|
+
qa,
|
|
486
494
|
{
|
|
487
495
|
key: o,
|
|
488
496
|
title: t.title && {
|
|
@@ -497,275 +505,275 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
497
505
|
rotation: t.labels.rotation
|
|
498
506
|
}
|
|
499
507
|
}
|
|
500
|
-
))), /* @__PURE__ */ e.createElement(
|
|
501
|
-
|
|
508
|
+
))), /* @__PURE__ */ e.createElement(Ja, null, a.series.map((t, o) => /* @__PURE__ */ e.createElement(Qa, { key: String(t.name) + o, ...t }))), /* @__PURE__ */ e.createElement(
|
|
509
|
+
Za,
|
|
502
510
|
{
|
|
503
|
-
visible: (
|
|
504
|
-
position: (
|
|
511
|
+
visible: (ke = a.legend) == null ? void 0 : ke.visible,
|
|
512
|
+
position: (pe = a.legend) == null ? void 0 : pe.position,
|
|
505
513
|
labels: {
|
|
506
|
-
color: ((
|
|
507
|
-
font: ((
|
|
514
|
+
color: ((Te = (ye = a.legend) == null ? void 0 : ye.labels) == null ? void 0 : Te.color) || void 0,
|
|
515
|
+
font: ((Ie = (Fe = a.legend) == null ? void 0 : Fe.labels) == null ? void 0 : Ie.font) || void 0
|
|
508
516
|
}
|
|
509
517
|
}
|
|
510
|
-
)))), /* @__PURE__ */ e.createElement("div", { className: "k-chart-wizard-property-pane k-pane k-pane-static" }, /* @__PURE__ */ e.createElement(
|
|
511
|
-
|
|
518
|
+
)))), /* @__PURE__ */ e.createElement("div", { className: "k-chart-wizard-property-pane k-pane k-pane-static" }, /* @__PURE__ */ e.createElement(el, { selected: Wt, onSelect: Ht, animation: !1 }, /* @__PURE__ */ e.createElement(q, { title: l.toLanguageString(Wl, n.tabChart) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
519
|
+
A,
|
|
512
520
|
{
|
|
513
521
|
style: { maxWidth: "576px" },
|
|
514
|
-
title: l.toLanguageString(
|
|
515
|
-
expanded:
|
|
522
|
+
title: l.toLanguageString(Gl, n.barChart),
|
|
523
|
+
expanded: ae,
|
|
516
524
|
tabIndex: 0,
|
|
517
|
-
onAction:
|
|
525
|
+
onAction: bt
|
|
518
526
|
},
|
|
519
|
-
/* @__PURE__ */ e.createElement(
|
|
527
|
+
/* @__PURE__ */ e.createElement(v, null, ae && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(
|
|
520
528
|
I,
|
|
521
529
|
{
|
|
522
|
-
selected: m === "bar" &&
|
|
523
|
-
onClick:
|
|
524
|
-
icon:
|
|
530
|
+
selected: m === "bar" && j,
|
|
531
|
+
onClick: Yt,
|
|
532
|
+
icon: rl,
|
|
525
533
|
iconName: "chart-bar-clustered"
|
|
526
534
|
},
|
|
527
535
|
l.toLanguageString(
|
|
528
|
-
|
|
536
|
+
Hl,
|
|
529
537
|
n.barChartBar
|
|
530
538
|
)
|
|
531
539
|
), /* @__PURE__ */ e.createElement(
|
|
532
540
|
I,
|
|
533
541
|
{
|
|
534
|
-
selected: m === "bar" &&
|
|
535
|
-
onClick:
|
|
536
|
-
icon:
|
|
542
|
+
selected: m === "bar" && U,
|
|
543
|
+
onClick: jt,
|
|
544
|
+
icon: il,
|
|
537
545
|
iconName: "chart-bar-stacked"
|
|
538
546
|
},
|
|
539
547
|
l.toLanguageString(
|
|
540
|
-
|
|
548
|
+
Ol,
|
|
541
549
|
n.barChartStackedBar
|
|
542
550
|
)
|
|
543
551
|
), /* @__PURE__ */ e.createElement(
|
|
544
552
|
I,
|
|
545
553
|
{
|
|
546
|
-
selected: m === "bar" &&
|
|
547
|
-
onClick:
|
|
548
|
-
icon:
|
|
554
|
+
selected: m === "bar" && $,
|
|
555
|
+
onClick: Ut,
|
|
556
|
+
icon: sl,
|
|
549
557
|
iconName: "chart-bar-stacked100"
|
|
550
558
|
},
|
|
551
559
|
l.toLanguageString(
|
|
552
|
-
|
|
560
|
+
Xl,
|
|
553
561
|
n.barChart100StackedBar
|
|
554
562
|
)
|
|
555
563
|
))))
|
|
556
564
|
), /* @__PURE__ */ e.createElement(
|
|
557
|
-
|
|
565
|
+
A,
|
|
558
566
|
{
|
|
559
567
|
style: { maxWidth: "576px" },
|
|
560
|
-
title: l.toLanguageString(
|
|
561
|
-
expanded:
|
|
568
|
+
title: l.toLanguageString(Yl, n.pieChart),
|
|
569
|
+
expanded: le,
|
|
562
570
|
tabIndex: 0,
|
|
563
|
-
onAction:
|
|
571
|
+
onAction: St
|
|
564
572
|
},
|
|
565
|
-
/* @__PURE__ */ e.createElement(
|
|
573
|
+
/* @__PURE__ */ e.createElement(v, null, le && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(
|
|
566
574
|
I,
|
|
567
575
|
{
|
|
568
576
|
selected: m === "pie",
|
|
569
|
-
onClick:
|
|
570
|
-
icon:
|
|
577
|
+
onClick: ea,
|
|
578
|
+
icon: cl,
|
|
571
579
|
iconName: "chart-pie"
|
|
572
580
|
},
|
|
573
581
|
l.toLanguageString(
|
|
574
|
-
|
|
582
|
+
jl,
|
|
575
583
|
n.pieChartPie
|
|
576
584
|
)
|
|
577
585
|
))))
|
|
578
586
|
), /* @__PURE__ */ e.createElement(
|
|
579
|
-
|
|
587
|
+
A,
|
|
580
588
|
{
|
|
581
589
|
style: { maxWidth: "576px" },
|
|
582
|
-
title: l.toLanguageString(
|
|
583
|
-
expanded:
|
|
590
|
+
title: l.toLanguageString(Ul, n.columnChart),
|
|
591
|
+
expanded: ne,
|
|
584
592
|
tabIndex: 0,
|
|
585
|
-
onAction:
|
|
593
|
+
onAction: Lt
|
|
586
594
|
},
|
|
587
|
-
/* @__PURE__ */ e.createElement(
|
|
595
|
+
/* @__PURE__ */ e.createElement(v, null, ne && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(
|
|
588
596
|
I,
|
|
589
597
|
{
|
|
590
|
-
selected: m === "column" &&
|
|
591
|
-
onClick:
|
|
592
|
-
icon:
|
|
598
|
+
selected: m === "column" && j,
|
|
599
|
+
onClick: $t,
|
|
600
|
+
icon: gl,
|
|
593
601
|
iconName: "chart-column-clustered"
|
|
594
602
|
},
|
|
595
603
|
l.toLanguageString(
|
|
596
|
-
|
|
604
|
+
$l,
|
|
597
605
|
n.columnChartColumn
|
|
598
606
|
)
|
|
599
607
|
), /* @__PURE__ */ e.createElement(
|
|
600
608
|
I,
|
|
601
609
|
{
|
|
602
|
-
selected: m === "column" &&
|
|
603
|
-
onClick:
|
|
604
|
-
icon:
|
|
610
|
+
selected: m === "column" && U,
|
|
611
|
+
onClick: qt,
|
|
612
|
+
icon: ul,
|
|
605
613
|
iconName: "chart-column-stacked"
|
|
606
614
|
},
|
|
607
615
|
l.toLanguageString(
|
|
608
|
-
|
|
616
|
+
ql,
|
|
609
617
|
n.columnChartStackedColumn
|
|
610
618
|
)
|
|
611
619
|
), /* @__PURE__ */ e.createElement(
|
|
612
620
|
I,
|
|
613
621
|
{
|
|
614
|
-
selected: m === "column" &&
|
|
615
|
-
onClick:
|
|
616
|
-
icon:
|
|
622
|
+
selected: m === "column" && $,
|
|
623
|
+
onClick: Jt,
|
|
624
|
+
icon: dl,
|
|
617
625
|
iconName: "chart-column-stacked100"
|
|
618
626
|
},
|
|
619
627
|
l.toLanguageString(
|
|
620
|
-
|
|
628
|
+
Jl,
|
|
621
629
|
n.columnChart100StackedColumn
|
|
622
630
|
)
|
|
623
631
|
))))
|
|
624
632
|
), /* @__PURE__ */ e.createElement(
|
|
625
|
-
|
|
633
|
+
A,
|
|
626
634
|
{
|
|
627
635
|
style: { maxWidth: "576px" },
|
|
628
|
-
title: l.toLanguageString(
|
|
629
|
-
expanded:
|
|
636
|
+
title: l.toLanguageString(Ql, n.lineChart),
|
|
637
|
+
expanded: oe,
|
|
630
638
|
tabIndex: 0,
|
|
631
|
-
onAction:
|
|
639
|
+
onAction: Et
|
|
632
640
|
},
|
|
633
|
-
/* @__PURE__ */ e.createElement(
|
|
641
|
+
/* @__PURE__ */ e.createElement(v, null, oe && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(
|
|
634
642
|
I,
|
|
635
643
|
{
|
|
636
|
-
selected: m === "line" &&
|
|
637
|
-
onClick:
|
|
638
|
-
icon:
|
|
644
|
+
selected: m === "line" && j,
|
|
645
|
+
onClick: Qt,
|
|
646
|
+
icon: ml,
|
|
639
647
|
iconName: "chart-line"
|
|
640
648
|
},
|
|
641
649
|
l.toLanguageString(
|
|
642
|
-
|
|
650
|
+
Zl,
|
|
643
651
|
n.lineChartLine
|
|
644
652
|
)
|
|
645
653
|
), /* @__PURE__ */ e.createElement(
|
|
646
654
|
I,
|
|
647
655
|
{
|
|
648
|
-
selected: m === "line" &&
|
|
649
|
-
onClick:
|
|
650
|
-
icon:
|
|
656
|
+
selected: m === "line" && U,
|
|
657
|
+
onClick: Zt,
|
|
658
|
+
icon: xl,
|
|
651
659
|
iconName: "chart-line-stacked"
|
|
652
660
|
},
|
|
653
661
|
l.toLanguageString(
|
|
654
|
-
|
|
662
|
+
_l,
|
|
655
663
|
n.lineChartStackedLine
|
|
656
664
|
)
|
|
657
665
|
), /* @__PURE__ */ e.createElement(
|
|
658
666
|
I,
|
|
659
667
|
{
|
|
660
|
-
selected: m === "line" &&
|
|
661
|
-
onClick:
|
|
662
|
-
icon:
|
|
668
|
+
selected: m === "line" && $,
|
|
669
|
+
onClick: _t,
|
|
670
|
+
icon: Cl,
|
|
663
671
|
iconName: "chart-line-stacked100"
|
|
664
672
|
},
|
|
665
673
|
l.toLanguageString(
|
|
666
|
-
|
|
674
|
+
en,
|
|
667
675
|
n.lineChart100StackedLine
|
|
668
676
|
)
|
|
669
677
|
))))
|
|
670
678
|
), /* @__PURE__ */ e.createElement(
|
|
671
|
-
|
|
679
|
+
A,
|
|
672
680
|
{
|
|
673
681
|
style: { maxWidth: "576px" },
|
|
674
|
-
title: l.toLanguageString(
|
|
675
|
-
expanded:
|
|
682
|
+
title: l.toLanguageString(tn, n.scatterChart),
|
|
683
|
+
expanded: re,
|
|
676
684
|
tabIndex: 0,
|
|
677
|
-
onAction:
|
|
685
|
+
onAction: pt
|
|
678
686
|
},
|
|
679
|
-
/* @__PURE__ */ e.createElement(
|
|
687
|
+
/* @__PURE__ */ e.createElement(v, null, re && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(G, null, /* @__PURE__ */ e.createElement(
|
|
680
688
|
I,
|
|
681
689
|
{
|
|
682
690
|
selected: m === "scatter",
|
|
683
|
-
onClick:
|
|
684
|
-
icon:
|
|
691
|
+
onClick: ta,
|
|
692
|
+
icon: fl,
|
|
685
693
|
iconName: "chart-scatter"
|
|
686
694
|
},
|
|
687
695
|
l.toLanguageString(
|
|
688
|
-
|
|
696
|
+
an,
|
|
689
697
|
n.scatterChartScatter
|
|
690
698
|
)
|
|
691
699
|
))))
|
|
692
|
-
))), /* @__PURE__ */ e.createElement(
|
|
693
|
-
|
|
700
|
+
))), /* @__PURE__ */ e.createElement(q, { title: l.toLanguageString(ln, n.tabData) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
701
|
+
A,
|
|
694
702
|
{
|
|
695
703
|
style: { maxWidth: "576px" },
|
|
696
|
-
title: l.toLanguageString(
|
|
697
|
-
expanded:
|
|
704
|
+
title: l.toLanguageString(nn, n.configuration),
|
|
705
|
+
expanded: ie,
|
|
698
706
|
tabIndex: 0,
|
|
699
|
-
onAction:
|
|
707
|
+
onAction: Tt
|
|
700
708
|
},
|
|
701
|
-
/* @__PURE__ */ e.createElement(
|
|
702
|
-
|
|
709
|
+
/* @__PURE__ */ e.createElement(v, null, ie && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement(
|
|
710
|
+
w,
|
|
703
711
|
{
|
|
704
712
|
legend: m === "scatter" ? l.toLanguageString(
|
|
705
|
-
|
|
713
|
+
on,
|
|
706
714
|
n.configurationXAxis
|
|
707
715
|
) : l.toLanguageString(
|
|
708
|
-
|
|
716
|
+
rn,
|
|
709
717
|
n.configurationCategoryAxis
|
|
710
718
|
)
|
|
711
719
|
},
|
|
712
720
|
/* @__PURE__ */ e.createElement(
|
|
713
|
-
|
|
721
|
+
R,
|
|
714
722
|
{
|
|
715
723
|
data: a.columns || [],
|
|
716
724
|
value: a.categoryField,
|
|
717
|
-
onChange:
|
|
725
|
+
onChange: aa,
|
|
718
726
|
...x
|
|
719
727
|
}
|
|
720
728
|
)
|
|
721
|
-
),
|
|
722
|
-
|
|
729
|
+
), lt(m) && /* @__PURE__ */ e.createElement(
|
|
730
|
+
w,
|
|
723
731
|
{
|
|
724
732
|
legend: l.toLanguageString(
|
|
725
|
-
|
|
733
|
+
sn,
|
|
726
734
|
n.configurationSeries
|
|
727
735
|
)
|
|
728
736
|
},
|
|
729
737
|
/* @__PURE__ */ e.createElement(
|
|
730
|
-
|
|
738
|
+
bl,
|
|
731
739
|
{
|
|
732
740
|
data: a.series,
|
|
733
741
|
initialData: a.initialSeries,
|
|
734
|
-
onChange:
|
|
742
|
+
onChange: la
|
|
735
743
|
}
|
|
736
744
|
)
|
|
737
745
|
), m === "pie" && /* @__PURE__ */ e.createElement(
|
|
738
|
-
|
|
746
|
+
w,
|
|
739
747
|
{
|
|
740
748
|
legend: l.toLanguageString(
|
|
741
|
-
|
|
749
|
+
cn,
|
|
742
750
|
n.configurationValueAxis
|
|
743
751
|
)
|
|
744
752
|
},
|
|
745
753
|
/* @__PURE__ */ e.createElement(
|
|
746
|
-
|
|
754
|
+
R,
|
|
747
755
|
{
|
|
748
756
|
data: a.columns || [],
|
|
749
757
|
value: a.valueField || "",
|
|
750
758
|
...x,
|
|
751
|
-
onChange:
|
|
759
|
+
onChange: na
|
|
752
760
|
}
|
|
753
761
|
)
|
|
754
762
|
))))
|
|
755
|
-
))), /* @__PURE__ */ e.createElement(
|
|
756
|
-
|
|
763
|
+
))), /* @__PURE__ */ e.createElement(q, { title: l.toLanguageString(gn, n.tabFormat) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
764
|
+
A,
|
|
757
765
|
{
|
|
758
766
|
style: { maxWidth: "576px" },
|
|
759
|
-
title: l.toLanguageString(
|
|
760
|
-
expanded:
|
|
767
|
+
title: l.toLanguageString(un, n.formatChartArea),
|
|
768
|
+
expanded: se,
|
|
761
769
|
tabIndex: 0,
|
|
762
|
-
onAction:
|
|
770
|
+
onAction: It
|
|
763
771
|
},
|
|
764
|
-
/* @__PURE__ */ e.createElement(
|
|
765
|
-
|
|
772
|
+
/* @__PURE__ */ e.createElement(v, null, se && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement(
|
|
773
|
+
w,
|
|
766
774
|
{
|
|
767
775
|
legend: l.toLanguageString(
|
|
768
|
-
|
|
776
|
+
dn,
|
|
769
777
|
n.formatChartAreaMargins
|
|
770
778
|
)
|
|
771
779
|
},
|
|
@@ -773,19 +781,19 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
773
781
|
u,
|
|
774
782
|
{
|
|
775
783
|
labelText: l.toLanguageString(
|
|
776
|
-
|
|
784
|
+
mn,
|
|
777
785
|
n.formatChartAreaMarginsLeft
|
|
778
786
|
),
|
|
779
787
|
editorId: "left"
|
|
780
788
|
},
|
|
781
789
|
/* @__PURE__ */ e.createElement(
|
|
782
|
-
|
|
790
|
+
K,
|
|
783
791
|
{
|
|
784
792
|
id: "left",
|
|
785
793
|
value: N.left !== void 0 ? N.left : null,
|
|
786
|
-
onChange:
|
|
794
|
+
onChange: oa,
|
|
787
795
|
placeholder: l.toLanguageString(
|
|
788
|
-
|
|
796
|
+
X,
|
|
789
797
|
n.formatChartAreaMarginsAuto
|
|
790
798
|
),
|
|
791
799
|
min: 0,
|
|
@@ -798,19 +806,19 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
798
806
|
u,
|
|
799
807
|
{
|
|
800
808
|
labelText: l.toLanguageString(
|
|
801
|
-
|
|
809
|
+
xn,
|
|
802
810
|
n.formatChartAreaMarginsRight
|
|
803
811
|
),
|
|
804
812
|
editorId: "right"
|
|
805
813
|
},
|
|
806
814
|
/* @__PURE__ */ e.createElement(
|
|
807
|
-
|
|
815
|
+
K,
|
|
808
816
|
{
|
|
809
817
|
id: "right",
|
|
810
818
|
value: N.right !== void 0 ? N.right : null,
|
|
811
|
-
onChange:
|
|
819
|
+
onChange: ra,
|
|
812
820
|
placeholder: l.toLanguageString(
|
|
813
|
-
|
|
821
|
+
X,
|
|
814
822
|
n.formatChartAreaMarginsAuto
|
|
815
823
|
),
|
|
816
824
|
min: 0,
|
|
@@ -823,19 +831,19 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
823
831
|
u,
|
|
824
832
|
{
|
|
825
833
|
labelText: l.toLanguageString(
|
|
826
|
-
|
|
834
|
+
Cn,
|
|
827
835
|
n.formatChartAreaMarginsTop
|
|
828
836
|
),
|
|
829
837
|
editorId: "top"
|
|
830
838
|
},
|
|
831
839
|
/* @__PURE__ */ e.createElement(
|
|
832
|
-
|
|
840
|
+
K,
|
|
833
841
|
{
|
|
834
842
|
id: "top",
|
|
835
843
|
value: N.top !== void 0 ? N.top : null,
|
|
836
|
-
onChange:
|
|
844
|
+
onChange: ia,
|
|
837
845
|
placeholder: l.toLanguageString(
|
|
838
|
-
|
|
846
|
+
X,
|
|
839
847
|
n.formatChartAreaMarginsAuto
|
|
840
848
|
),
|
|
841
849
|
min: 0,
|
|
@@ -848,19 +856,19 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
848
856
|
u,
|
|
849
857
|
{
|
|
850
858
|
labelText: l.toLanguageString(
|
|
851
|
-
|
|
859
|
+
fn,
|
|
852
860
|
n.formatChartAreaMarginsBottom
|
|
853
861
|
),
|
|
854
862
|
editorId: "bottom"
|
|
855
863
|
},
|
|
856
864
|
/* @__PURE__ */ e.createElement(
|
|
857
|
-
|
|
865
|
+
K,
|
|
858
866
|
{
|
|
859
867
|
id: "bottom",
|
|
860
868
|
value: N.bottom !== void 0 ? N.bottom : null,
|
|
861
|
-
onChange:
|
|
869
|
+
onChange: sa,
|
|
862
870
|
placeholder: l.toLanguageString(
|
|
863
|
-
|
|
871
|
+
X,
|
|
864
872
|
n.formatChartAreaMarginsAuto
|
|
865
873
|
),
|
|
866
874
|
min: 0,
|
|
@@ -871,10 +879,10 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
871
879
|
)
|
|
872
880
|
))
|
|
873
881
|
), /* @__PURE__ */ e.createElement(
|
|
874
|
-
|
|
882
|
+
w,
|
|
875
883
|
{
|
|
876
884
|
legend: l.toLanguageString(
|
|
877
|
-
|
|
885
|
+
bn,
|
|
878
886
|
n.formatChartAreaBackground
|
|
879
887
|
)
|
|
880
888
|
},
|
|
@@ -882,17 +890,17 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
882
890
|
u,
|
|
883
891
|
{
|
|
884
892
|
labelText: l.toLanguageString(
|
|
885
|
-
|
|
893
|
+
hn,
|
|
886
894
|
n.formatChartAreaBackgroundColor
|
|
887
895
|
),
|
|
888
896
|
editorId: "background"
|
|
889
897
|
},
|
|
890
898
|
/* @__PURE__ */ e.createElement(
|
|
891
|
-
|
|
899
|
+
P,
|
|
892
900
|
{
|
|
893
901
|
id: "background",
|
|
894
|
-
value: ((
|
|
895
|
-
onChange:
|
|
902
|
+
value: ((Ne = a.area) == null ? void 0 : Ne.background) || "",
|
|
903
|
+
onChange: ca,
|
|
896
904
|
view: "gradient",
|
|
897
905
|
fillMode: "outline"
|
|
898
906
|
}
|
|
@@ -900,26 +908,26 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
900
908
|
)
|
|
901
909
|
))))
|
|
902
910
|
), /* @__PURE__ */ e.createElement(
|
|
903
|
-
|
|
911
|
+
A,
|
|
904
912
|
{
|
|
905
913
|
style: { maxWidth: "576px" },
|
|
906
|
-
title: l.toLanguageString(
|
|
907
|
-
expanded:
|
|
914
|
+
title: l.toLanguageString(Sn, n.formatTitle),
|
|
915
|
+
expanded: ce,
|
|
908
916
|
tabIndex: 0,
|
|
909
|
-
onAction:
|
|
917
|
+
onAction: wt
|
|
910
918
|
},
|
|
911
|
-
/* @__PURE__ */ e.createElement(
|
|
919
|
+
/* @__PURE__ */ e.createElement(v, null, ce && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(
|
|
912
920
|
u,
|
|
913
921
|
{
|
|
914
922
|
className: "k-col-span-2",
|
|
915
923
|
editorId: "apply-to-title",
|
|
916
924
|
labelText: l.toLanguageString(
|
|
917
|
-
|
|
925
|
+
An,
|
|
918
926
|
n.formatTitleApplyTo
|
|
919
927
|
)
|
|
920
928
|
},
|
|
921
929
|
/* @__PURE__ */ e.createElement(
|
|
922
|
-
|
|
930
|
+
R,
|
|
923
931
|
{
|
|
924
932
|
id: "apply-to-title",
|
|
925
933
|
data: b,
|
|
@@ -928,7 +936,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
928
936
|
value: b.find(
|
|
929
937
|
(t) => t.value === y.value
|
|
930
938
|
),
|
|
931
|
-
onChange:
|
|
939
|
+
onChange: ua,
|
|
932
940
|
...x
|
|
933
941
|
}
|
|
934
942
|
)
|
|
@@ -938,17 +946,17 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
938
946
|
className: "k-col-span-2",
|
|
939
947
|
editorId: "titleText",
|
|
940
948
|
labelText: l.toLanguageString(
|
|
941
|
-
|
|
949
|
+
Ln,
|
|
942
950
|
n.formatTitleLabel
|
|
943
951
|
)
|
|
944
952
|
},
|
|
945
953
|
/* @__PURE__ */ e.createElement(
|
|
946
|
-
|
|
954
|
+
J,
|
|
947
955
|
{
|
|
948
956
|
id: "titleText",
|
|
949
957
|
placeholder: y.value === b[0].value ? b[0].text : b[1].text,
|
|
950
|
-
value:
|
|
951
|
-
onChange:
|
|
958
|
+
value: O.text,
|
|
959
|
+
onChange: da
|
|
952
960
|
}
|
|
953
961
|
)
|
|
954
962
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -969,14 +977,14 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
969
977
|
textField: "text",
|
|
970
978
|
dataItemKey: "value",
|
|
971
979
|
placeholder: l.toLanguageString(
|
|
972
|
-
|
|
980
|
+
En,
|
|
973
981
|
n.formatTitleFontPlaceholder
|
|
974
982
|
),
|
|
975
983
|
value: k.find(
|
|
976
|
-
(t) => t.value === p(
|
|
984
|
+
(t) => t.value === p(O.font).name
|
|
977
985
|
) || d,
|
|
978
|
-
onChange:
|
|
979
|
-
itemRender:
|
|
986
|
+
onChange: ma,
|
|
987
|
+
itemRender: M,
|
|
980
988
|
...x
|
|
981
989
|
}
|
|
982
990
|
)
|
|
@@ -985,7 +993,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
985
993
|
{
|
|
986
994
|
editorId: "titleFontSize",
|
|
987
995
|
labelText: l.toLanguageString(
|
|
988
|
-
|
|
996
|
+
kn,
|
|
989
997
|
n.formatTitleSize
|
|
990
998
|
)
|
|
991
999
|
},
|
|
@@ -997,14 +1005,14 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
997
1005
|
textField: "text",
|
|
998
1006
|
dataItemKey: "value",
|
|
999
1007
|
placeholder: l.toLanguageString(
|
|
1000
|
-
|
|
1008
|
+
pn,
|
|
1001
1009
|
n.formatTitleSizePlaceholder
|
|
1002
1010
|
),
|
|
1003
1011
|
value: f.find(
|
|
1004
|
-
(t) => t.value === p(
|
|
1012
|
+
(t) => t.value === p(O.font).size
|
|
1005
1013
|
) || d,
|
|
1006
|
-
onChange:
|
|
1007
|
-
itemRender:
|
|
1014
|
+
onChange: xa,
|
|
1015
|
+
itemRender: M,
|
|
1008
1016
|
allowCustom: !0,
|
|
1009
1017
|
...x
|
|
1010
1018
|
}
|
|
@@ -1014,50 +1022,50 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1014
1022
|
{
|
|
1015
1023
|
editorId: "titleColor",
|
|
1016
1024
|
labelText: l.toLanguageString(
|
|
1017
|
-
|
|
1025
|
+
yn,
|
|
1018
1026
|
n.formatTitleColor
|
|
1019
1027
|
)
|
|
1020
1028
|
},
|
|
1021
1029
|
/* @__PURE__ */ e.createElement(
|
|
1022
|
-
|
|
1030
|
+
P,
|
|
1023
1031
|
{
|
|
1024
1032
|
id: "titleColor",
|
|
1025
|
-
value:
|
|
1026
|
-
onChange:
|
|
1033
|
+
value: O.color || "",
|
|
1034
|
+
onChange: Ca,
|
|
1027
1035
|
view: "gradient",
|
|
1028
1036
|
fillMode: "outline"
|
|
1029
1037
|
}
|
|
1030
1038
|
)
|
|
1031
1039
|
)))))
|
|
1032
1040
|
), /* @__PURE__ */ e.createElement(
|
|
1033
|
-
|
|
1041
|
+
A,
|
|
1034
1042
|
{
|
|
1035
1043
|
style: { maxWidth: "576px" },
|
|
1036
|
-
title: l.toLanguageString(
|
|
1037
|
-
expanded:
|
|
1044
|
+
title: l.toLanguageString(Tn, n.formatSeries),
|
|
1045
|
+
expanded: ge,
|
|
1038
1046
|
tabIndex: 0,
|
|
1039
|
-
onAction:
|
|
1047
|
+
onAction: Pt
|
|
1040
1048
|
},
|
|
1041
|
-
/* @__PURE__ */ e.createElement(
|
|
1049
|
+
/* @__PURE__ */ e.createElement(v, null, ge && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement(
|
|
1042
1050
|
u,
|
|
1043
1051
|
{
|
|
1044
1052
|
editorId: "apply-to-series",
|
|
1045
1053
|
labelText: l.toLanguageString(
|
|
1046
|
-
|
|
1054
|
+
Fn,
|
|
1047
1055
|
n.formatSeriesApplyTo
|
|
1048
1056
|
)
|
|
1049
1057
|
},
|
|
1050
1058
|
/* @__PURE__ */ e.createElement(
|
|
1051
|
-
|
|
1059
|
+
R,
|
|
1052
1060
|
{
|
|
1053
1061
|
id: "apply-to-series",
|
|
1054
1062
|
data: a.series,
|
|
1055
1063
|
textField: "name",
|
|
1056
1064
|
dataItemKey: "name",
|
|
1057
|
-
defaultItem:
|
|
1058
|
-
disabled: !
|
|
1059
|
-
value: a.series.find((t) => t.name === h) ||
|
|
1060
|
-
onChange:
|
|
1065
|
+
defaultItem: Y,
|
|
1066
|
+
disabled: !lt(m),
|
|
1067
|
+
value: a.series.find((t) => t.name === h) || Y,
|
|
1068
|
+
onChange: Xt,
|
|
1061
1069
|
...x
|
|
1062
1070
|
}
|
|
1063
1071
|
)
|
|
@@ -1066,53 +1074,53 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1066
1074
|
{
|
|
1067
1075
|
editorId: "seriesColor",
|
|
1068
1076
|
labelText: l.toLanguageString(
|
|
1069
|
-
|
|
1077
|
+
In,
|
|
1070
1078
|
n.formatSeriesColor
|
|
1071
1079
|
)
|
|
1072
1080
|
},
|
|
1073
1081
|
/* @__PURE__ */ e.createElement(
|
|
1074
|
-
|
|
1082
|
+
P,
|
|
1075
1083
|
{
|
|
1076
1084
|
id: "seriesColor",
|
|
1077
|
-
value: h ? (
|
|
1078
|
-
onChange:
|
|
1085
|
+
value: h ? (we = a.series.find((t) => t.name === h)) == null ? void 0 : we.color : "",
|
|
1086
|
+
onChange: fa,
|
|
1079
1087
|
disabled: !h,
|
|
1080
1088
|
view: "gradient",
|
|
1081
1089
|
fillMode: "outline"
|
|
1082
1090
|
}
|
|
1083
1091
|
)
|
|
1084
1092
|
), /* @__PURE__ */ e.createElement(u, null, /* @__PURE__ */ e.createElement(
|
|
1085
|
-
|
|
1093
|
+
at,
|
|
1086
1094
|
{
|
|
1087
1095
|
label: l.toLanguageString(
|
|
1088
|
-
|
|
1096
|
+
Nn,
|
|
1089
1097
|
n.formatSeriesShowLabels
|
|
1090
1098
|
),
|
|
1091
|
-
checked: h ? (
|
|
1099
|
+
checked: h ? (Pe = (ze = a.series.find((t) => t.name === h)) == null ? void 0 : ze.labels) == null ? void 0 : Pe.visible : a.series.every((t) => {
|
|
1092
1100
|
var o;
|
|
1093
1101
|
return (o = t.labels) == null ? void 0 : o.visible;
|
|
1094
1102
|
}),
|
|
1095
|
-
onChange:
|
|
1103
|
+
onChange: ba
|
|
1096
1104
|
}
|
|
1097
1105
|
)))))
|
|
1098
1106
|
), /* @__PURE__ */ e.createElement(
|
|
1099
|
-
|
|
1107
|
+
A,
|
|
1100
1108
|
{
|
|
1101
1109
|
style: { maxWidth: "576px" },
|
|
1102
|
-
title: l.toLanguageString(
|
|
1103
|
-
expanded:
|
|
1110
|
+
title: l.toLanguageString(wn, n.formatLegend),
|
|
1111
|
+
expanded: ue,
|
|
1104
1112
|
tabIndex: 0,
|
|
1105
|
-
onAction:
|
|
1113
|
+
onAction: Bt
|
|
1106
1114
|
},
|
|
1107
|
-
/* @__PURE__ */ e.createElement(
|
|
1108
|
-
|
|
1115
|
+
/* @__PURE__ */ e.createElement(v, null, ue && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(nt, { editorId: "show-legend" }, l.toLanguageString(
|
|
1116
|
+
zn,
|
|
1109
1117
|
n.formatLegendShowLegend
|
|
1110
1118
|
)), /* @__PURE__ */ e.createElement(
|
|
1111
|
-
|
|
1119
|
+
hl,
|
|
1112
1120
|
{
|
|
1113
1121
|
id: "show-legend",
|
|
1114
|
-
checked: (
|
|
1115
|
-
onChange:
|
|
1122
|
+
checked: (Ve = a.legend) == null ? void 0 : Ve.visible,
|
|
1123
|
+
onChange: ha
|
|
1116
1124
|
}
|
|
1117
1125
|
), /* @__PURE__ */ e.createElement(
|
|
1118
1126
|
u,
|
|
@@ -1120,7 +1128,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1120
1128
|
className: "k-col-span-2",
|
|
1121
1129
|
editorId: "legendLabelsFont",
|
|
1122
1130
|
labelText: l.toLanguageString(
|
|
1123
|
-
|
|
1131
|
+
Pn,
|
|
1124
1132
|
n.formatLegendFont
|
|
1125
1133
|
)
|
|
1126
1134
|
},
|
|
@@ -1132,7 +1140,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1132
1140
|
textField: "text",
|
|
1133
1141
|
dataItemKey: "value",
|
|
1134
1142
|
placeholder: l.toLanguageString(
|
|
1135
|
-
|
|
1143
|
+
Vn,
|
|
1136
1144
|
n.formatLegendFontPlaceholder
|
|
1137
1145
|
),
|
|
1138
1146
|
value: k.find(
|
|
@@ -1141,9 +1149,9 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1141
1149
|
return t.value === ((C = p(((g = (o = a.legend) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
1142
1150
|
}
|
|
1143
1151
|
) || d,
|
|
1144
|
-
onChange:
|
|
1145
|
-
itemRender:
|
|
1146
|
-
disabled: ((
|
|
1152
|
+
onChange: Aa,
|
|
1153
|
+
itemRender: M,
|
|
1154
|
+
disabled: ((Be = a.legend) == null ? void 0 : Be.visible) === !1,
|
|
1147
1155
|
...x
|
|
1148
1156
|
}
|
|
1149
1157
|
)
|
|
@@ -1152,7 +1160,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1152
1160
|
{
|
|
1153
1161
|
editorId: "legendLabelsSize",
|
|
1154
1162
|
labelText: l.toLanguageString(
|
|
1155
|
-
|
|
1163
|
+
Bn,
|
|
1156
1164
|
n.formatLegendSize
|
|
1157
1165
|
)
|
|
1158
1166
|
},
|
|
@@ -1164,7 +1172,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1164
1172
|
textField: "text",
|
|
1165
1173
|
dataItemKey: "value",
|
|
1166
1174
|
placeholder: l.toLanguageString(
|
|
1167
|
-
|
|
1175
|
+
Mn,
|
|
1168
1176
|
n.formatLegendSizePlaceholder
|
|
1169
1177
|
),
|
|
1170
1178
|
value: f.find(
|
|
@@ -1173,8 +1181,8 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1173
1181
|
return t.value === ((C = p(((g = (o = a.legend) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.size);
|
|
1174
1182
|
}
|
|
1175
1183
|
) || d,
|
|
1176
|
-
onChange:
|
|
1177
|
-
disabled: ((
|
|
1184
|
+
onChange: Sa,
|
|
1185
|
+
disabled: ((Me = a.legend) == null ? void 0 : Me.visible) === !1,
|
|
1178
1186
|
allowCustom: !0,
|
|
1179
1187
|
...x
|
|
1180
1188
|
}
|
|
@@ -1184,17 +1192,17 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1184
1192
|
{
|
|
1185
1193
|
editorId: "legendLabelsColor",
|
|
1186
1194
|
labelText: l.toLanguageString(
|
|
1187
|
-
|
|
1195
|
+
Rn,
|
|
1188
1196
|
n.formatLegendColor
|
|
1189
1197
|
)
|
|
1190
1198
|
},
|
|
1191
1199
|
/* @__PURE__ */ e.createElement(
|
|
1192
|
-
|
|
1200
|
+
P,
|
|
1193
1201
|
{
|
|
1194
1202
|
id: "legendLabelsColor",
|
|
1195
|
-
value: ((
|
|
1196
|
-
onChange:
|
|
1197
|
-
disabled: ((
|
|
1203
|
+
value: ((Ke = (Re = a.legend) == null ? void 0 : Re.labels) == null ? void 0 : Ke.color) || "",
|
|
1204
|
+
onChange: La,
|
|
1205
|
+
disabled: ((De = a.legend) == null ? void 0 : De.visible) === !1,
|
|
1198
1206
|
view: "gradient",
|
|
1199
1207
|
fillMode: "outline"
|
|
1200
1208
|
}
|
|
@@ -1205,18 +1213,18 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1205
1213
|
className: "k-col-span-2",
|
|
1206
1214
|
editorId: "legendPosition",
|
|
1207
1215
|
labelText: l.toLanguageString(
|
|
1208
|
-
|
|
1216
|
+
Kn,
|
|
1209
1217
|
n.formatLegendPosition
|
|
1210
1218
|
)
|
|
1211
1219
|
},
|
|
1212
1220
|
/* @__PURE__ */ e.createElement(
|
|
1213
|
-
|
|
1221
|
+
R,
|
|
1214
1222
|
{
|
|
1215
1223
|
id: "legendPosition",
|
|
1216
|
-
data:
|
|
1224
|
+
data: _,
|
|
1217
1225
|
textField: "text",
|
|
1218
1226
|
dataItemKey: "value",
|
|
1219
|
-
value:
|
|
1227
|
+
value: _.find(
|
|
1220
1228
|
(t) => {
|
|
1221
1229
|
var o;
|
|
1222
1230
|
return t.value === ((o = a.legend) == null ? void 0 : o.position);
|
|
@@ -1229,34 +1237,34 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1229
1237
|
)
|
|
1230
1238
|
)))))
|
|
1231
1239
|
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
1232
|
-
|
|
1240
|
+
A,
|
|
1233
1241
|
{
|
|
1234
1242
|
style: { maxWidth: "576px" },
|
|
1235
|
-
title: m === "scatter" ? l.toLanguageString(
|
|
1243
|
+
title: m === "scatter" ? l.toLanguageString(Dn, n.formatXAxis) : l.toLanguageString(
|
|
1236
1244
|
Wn,
|
|
1237
1245
|
n.formatCategoryAxis
|
|
1238
1246
|
),
|
|
1239
|
-
expanded:
|
|
1247
|
+
expanded: de,
|
|
1240
1248
|
tabIndex: 0,
|
|
1241
|
-
onAction:
|
|
1249
|
+
onAction: Rt
|
|
1242
1250
|
},
|
|
1243
|
-
/* @__PURE__ */ e.createElement(
|
|
1244
|
-
|
|
1251
|
+
/* @__PURE__ */ e.createElement(v, null, de && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement(
|
|
1252
|
+
w,
|
|
1245
1253
|
{
|
|
1246
1254
|
legend: l.toLanguageString(
|
|
1247
|
-
|
|
1255
|
+
Gn,
|
|
1248
1256
|
n.formatCategoryAxisTitle
|
|
1249
1257
|
)
|
|
1250
1258
|
},
|
|
1251
1259
|
/* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(u, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
1252
|
-
|
|
1260
|
+
J,
|
|
1253
1261
|
{
|
|
1254
1262
|
placeholder: l.toLanguageString(
|
|
1255
|
-
|
|
1263
|
+
Hn,
|
|
1256
1264
|
n.formatCategoryAxisTitlePlaceholder
|
|
1257
1265
|
),
|
|
1258
|
-
value: ((
|
|
1259
|
-
onChange:
|
|
1266
|
+
value: ((Ge = a.categoryAxis[0].title) == null ? void 0 : Ge.text) || "",
|
|
1267
|
+
onChange: Ea
|
|
1260
1268
|
}
|
|
1261
1269
|
)), /* @__PURE__ */ e.createElement(
|
|
1262
1270
|
u,
|
|
@@ -1264,7 +1272,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1264
1272
|
className: "k-col-span-2",
|
|
1265
1273
|
editorId: "categoryAxisTitleFont",
|
|
1266
1274
|
labelText: l.toLanguageString(
|
|
1267
|
-
|
|
1275
|
+
On,
|
|
1268
1276
|
n.formatCategoryAxisTitleFont
|
|
1269
1277
|
)
|
|
1270
1278
|
},
|
|
@@ -1275,9 +1283,9 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1275
1283
|
data: k,
|
|
1276
1284
|
textField: "text",
|
|
1277
1285
|
dataItemKey: "value",
|
|
1278
|
-
itemRender:
|
|
1286
|
+
itemRender: M,
|
|
1279
1287
|
placeholder: l.toLanguageString(
|
|
1280
|
-
|
|
1288
|
+
Xn,
|
|
1281
1289
|
n.formatCategoryAxisTitleFontPlaceholder
|
|
1282
1290
|
),
|
|
1283
1291
|
value: k.find(
|
|
@@ -1288,7 +1296,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1288
1296
|
)) == null ? void 0 : g.name);
|
|
1289
1297
|
}
|
|
1290
1298
|
) || d,
|
|
1291
|
-
onChange:
|
|
1299
|
+
onChange: pa,
|
|
1292
1300
|
...x
|
|
1293
1301
|
}
|
|
1294
1302
|
)
|
|
@@ -1297,7 +1305,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1297
1305
|
{
|
|
1298
1306
|
editorId: "categoryAxisTitleFontSize",
|
|
1299
1307
|
labelText: l.toLanguageString(
|
|
1300
|
-
|
|
1308
|
+
Yn,
|
|
1301
1309
|
n.formatCategoryAxisTitleSize
|
|
1302
1310
|
)
|
|
1303
1311
|
},
|
|
@@ -1309,7 +1317,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1309
1317
|
textField: "text",
|
|
1310
1318
|
dataItemKey: "value",
|
|
1311
1319
|
placeholder: l.toLanguageString(
|
|
1312
|
-
|
|
1320
|
+
jn,
|
|
1313
1321
|
n.formatCategoryAxisTitleSizePlaceholder
|
|
1314
1322
|
),
|
|
1315
1323
|
value: f.find(
|
|
@@ -1320,7 +1328,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1320
1328
|
)) == null ? void 0 : g.size);
|
|
1321
1329
|
}
|
|
1322
1330
|
) || d,
|
|
1323
|
-
onChange:
|
|
1331
|
+
onChange: ka,
|
|
1324
1332
|
allowCustom: !0,
|
|
1325
1333
|
...x
|
|
1326
1334
|
}
|
|
@@ -1330,26 +1338,26 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1330
1338
|
{
|
|
1331
1339
|
editorId: "categoryAxisTitleColor",
|
|
1332
1340
|
labelText: l.toLanguageString(
|
|
1333
|
-
|
|
1341
|
+
Un,
|
|
1334
1342
|
n.formatCategoryAxisTitleColor
|
|
1335
1343
|
)
|
|
1336
1344
|
},
|
|
1337
1345
|
/* @__PURE__ */ e.createElement(
|
|
1338
|
-
|
|
1346
|
+
P,
|
|
1339
1347
|
{
|
|
1340
1348
|
id: "categoryAxisTitleColor",
|
|
1341
1349
|
view: "gradient",
|
|
1342
|
-
value: ((
|
|
1343
|
-
onChange:
|
|
1350
|
+
value: ((He = a.categoryAxis[0].title) == null ? void 0 : He.color) || "",
|
|
1351
|
+
onChange: ya,
|
|
1344
1352
|
fillMode: "outline"
|
|
1345
1353
|
}
|
|
1346
1354
|
)
|
|
1347
1355
|
))
|
|
1348
1356
|
), /* @__PURE__ */ e.createElement(
|
|
1349
|
-
|
|
1357
|
+
w,
|
|
1350
1358
|
{
|
|
1351
1359
|
legend: l.toLanguageString(
|
|
1352
|
-
|
|
1360
|
+
$n,
|
|
1353
1361
|
n.formatCategoryAxisLabels
|
|
1354
1362
|
)
|
|
1355
1363
|
},
|
|
@@ -1359,7 +1367,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1359
1367
|
className: "k-col-span-2",
|
|
1360
1368
|
editorId: "categoryAxisLabelsFont",
|
|
1361
1369
|
labelText: l.toLanguageString(
|
|
1362
|
-
|
|
1370
|
+
qn,
|
|
1363
1371
|
n.formatCategoryAxisLabelsFont
|
|
1364
1372
|
)
|
|
1365
1373
|
},
|
|
@@ -1371,7 +1379,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1371
1379
|
textField: "text",
|
|
1372
1380
|
dataItemKey: "value",
|
|
1373
1381
|
placeholder: l.toLanguageString(
|
|
1374
|
-
|
|
1382
|
+
Jn,
|
|
1375
1383
|
n.formatCategoryAxisLabelsFontPlaceholder
|
|
1376
1384
|
),
|
|
1377
1385
|
value: k.find(
|
|
@@ -1382,8 +1390,8 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1382
1390
|
)) == null ? void 0 : g.name);
|
|
1383
1391
|
}
|
|
1384
1392
|
) || d,
|
|
1385
|
-
onChange:
|
|
1386
|
-
itemRender:
|
|
1393
|
+
onChange: Fa,
|
|
1394
|
+
itemRender: M,
|
|
1387
1395
|
...x
|
|
1388
1396
|
}
|
|
1389
1397
|
)
|
|
@@ -1392,7 +1400,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1392
1400
|
{
|
|
1393
1401
|
editorId: "categoryAxisLabelsFontSize",
|
|
1394
1402
|
labelText: l.toLanguageString(
|
|
1395
|
-
|
|
1403
|
+
Qn,
|
|
1396
1404
|
n.formatCategoryAxisLabelsSize
|
|
1397
1405
|
)
|
|
1398
1406
|
},
|
|
@@ -1404,7 +1412,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1404
1412
|
textField: "text",
|
|
1405
1413
|
dataItemKey: "value",
|
|
1406
1414
|
placeholder: l.toLanguageString(
|
|
1407
|
-
|
|
1415
|
+
Zn,
|
|
1408
1416
|
n.formatCategoryAxisLabelsSizePlaceholder
|
|
1409
1417
|
),
|
|
1410
1418
|
value: f.find(
|
|
@@ -1415,7 +1423,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1415
1423
|
)) == null ? void 0 : g.size);
|
|
1416
1424
|
}
|
|
1417
1425
|
) || d,
|
|
1418
|
-
onChange:
|
|
1426
|
+
onChange: Ta,
|
|
1419
1427
|
allowCustom: !0,
|
|
1420
1428
|
...x
|
|
1421
1429
|
}
|
|
@@ -1425,17 +1433,17 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1425
1433
|
{
|
|
1426
1434
|
editorId: "categoryAxisLabelsColor",
|
|
1427
1435
|
labelText: l.toLanguageString(
|
|
1428
|
-
|
|
1436
|
+
_n,
|
|
1429
1437
|
n.formatCategoryAxisLabelsColor
|
|
1430
1438
|
)
|
|
1431
1439
|
},
|
|
1432
1440
|
/* @__PURE__ */ e.createElement(
|
|
1433
|
-
|
|
1441
|
+
P,
|
|
1434
1442
|
{
|
|
1435
1443
|
id: "categoryAxisLabelsColor",
|
|
1436
1444
|
view: "gradient",
|
|
1437
|
-
value: ((
|
|
1438
|
-
onChange:
|
|
1445
|
+
value: ((Oe = a.categoryAxis[0].labels) == null ? void 0 : Oe.color) || "",
|
|
1446
|
+
onChange: Ia,
|
|
1439
1447
|
fillMode: "outline"
|
|
1440
1448
|
}
|
|
1441
1449
|
)
|
|
@@ -1444,20 +1452,20 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1444
1452
|
{
|
|
1445
1453
|
editorId: "categoryAxisLabelsRotation",
|
|
1446
1454
|
labelText: l.toLanguageString(
|
|
1447
|
-
|
|
1455
|
+
eo,
|
|
1448
1456
|
n.formatCategoryAxisLabelsRotation
|
|
1449
1457
|
)
|
|
1450
1458
|
},
|
|
1451
1459
|
/* @__PURE__ */ e.createElement(
|
|
1452
|
-
|
|
1460
|
+
K,
|
|
1453
1461
|
{
|
|
1454
1462
|
id: "categoryAxisLabelsRotation",
|
|
1455
|
-
value: typeof ((
|
|
1463
|
+
value: typeof ((Xe = a.categoryAxis[0].labels) == null ? void 0 : Xe.rotation) == "number" ? (Ye = a.categoryAxis[0].labels) == null ? void 0 : Ye.rotation : null,
|
|
1456
1464
|
placeholder: l.toLanguageString(
|
|
1457
|
-
|
|
1465
|
+
to,
|
|
1458
1466
|
n.formatCategoryAxisLabelsRotationAuto
|
|
1459
1467
|
),
|
|
1460
|
-
onChange:
|
|
1468
|
+
onChange: Na,
|
|
1461
1469
|
fillMode: "outline",
|
|
1462
1470
|
min: -360,
|
|
1463
1471
|
max: 360,
|
|
@@ -1465,46 +1473,46 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1465
1473
|
}
|
|
1466
1474
|
)
|
|
1467
1475
|
), /* @__PURE__ */ e.createElement(u, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
1468
|
-
|
|
1476
|
+
at,
|
|
1469
1477
|
{
|
|
1470
1478
|
label: l.toLanguageString(
|
|
1471
|
-
|
|
1479
|
+
ao,
|
|
1472
1480
|
n.formatCategoryAxisLabelsReverseOrder
|
|
1473
1481
|
),
|
|
1474
1482
|
checked: a.categoryAxis[0].reverse || !1,
|
|
1475
|
-
onChange:
|
|
1483
|
+
onChange: wa
|
|
1476
1484
|
}
|
|
1477
1485
|
)))
|
|
1478
1486
|
))))
|
|
1479
1487
|
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
1480
|
-
|
|
1488
|
+
A,
|
|
1481
1489
|
{
|
|
1482
1490
|
style: { maxWidth: "576px" },
|
|
1483
|
-
title: m === "scatter" ? l.toLanguageString(
|
|
1484
|
-
|
|
1491
|
+
title: m === "scatter" ? l.toLanguageString(lo, n.formatYAxis) : l.toLanguageString(
|
|
1492
|
+
no,
|
|
1485
1493
|
n.formatValueAxis
|
|
1486
1494
|
),
|
|
1487
|
-
expanded:
|
|
1495
|
+
expanded: me,
|
|
1488
1496
|
tabIndex: 0,
|
|
1489
|
-
onAction:
|
|
1497
|
+
onAction: Dt
|
|
1490
1498
|
},
|
|
1491
|
-
/* @__PURE__ */ e.createElement(
|
|
1492
|
-
|
|
1499
|
+
/* @__PURE__ */ e.createElement(v, null, me && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(B, { onKeyDown: z }, /* @__PURE__ */ e.createElement(
|
|
1500
|
+
w,
|
|
1493
1501
|
{
|
|
1494
1502
|
legend: l.toLanguageString(
|
|
1495
|
-
|
|
1503
|
+
oo,
|
|
1496
1504
|
n.formatValueAxisTitle
|
|
1497
1505
|
)
|
|
1498
1506
|
},
|
|
1499
1507
|
/* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(u, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
1500
|
-
|
|
1508
|
+
J,
|
|
1501
1509
|
{
|
|
1502
1510
|
placeholder: l.toLanguageString(
|
|
1503
|
-
|
|
1511
|
+
ro,
|
|
1504
1512
|
n.formatValueAxisTitlePlaceholder
|
|
1505
1513
|
),
|
|
1506
|
-
value: ((
|
|
1507
|
-
onChange:
|
|
1514
|
+
value: ((Ue = (je = a.valueAxis[0]) == null ? void 0 : je.title) == null ? void 0 : Ue.text) || "",
|
|
1515
|
+
onChange: za
|
|
1508
1516
|
}
|
|
1509
1517
|
)), /* @__PURE__ */ e.createElement(
|
|
1510
1518
|
u,
|
|
@@ -1512,7 +1520,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1512
1520
|
className: "k-col-span-2",
|
|
1513
1521
|
editorId: "valueAxisTitleFont",
|
|
1514
1522
|
labelText: l.toLanguageString(
|
|
1515
|
-
|
|
1523
|
+
io,
|
|
1516
1524
|
n.formatValueAxisTitleFont
|
|
1517
1525
|
)
|
|
1518
1526
|
},
|
|
@@ -1523,9 +1531,9 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1523
1531
|
data: k,
|
|
1524
1532
|
textField: "text",
|
|
1525
1533
|
dataItemKey: "value",
|
|
1526
|
-
itemRender:
|
|
1534
|
+
itemRender: M,
|
|
1527
1535
|
placeholder: l.toLanguageString(
|
|
1528
|
-
|
|
1536
|
+
so,
|
|
1529
1537
|
n.formatValueAxisTitleFontPlaceholder
|
|
1530
1538
|
),
|
|
1531
1539
|
value: k.find(
|
|
@@ -1536,7 +1544,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1536
1544
|
)) == null ? void 0 : C.name);
|
|
1537
1545
|
}
|
|
1538
1546
|
) || d,
|
|
1539
|
-
onChange:
|
|
1547
|
+
onChange: Va,
|
|
1540
1548
|
...x
|
|
1541
1549
|
}
|
|
1542
1550
|
)
|
|
@@ -1545,7 +1553,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1545
1553
|
{
|
|
1546
1554
|
editorId: "valueAxisTitleFontSize",
|
|
1547
1555
|
labelText: l.toLanguageString(
|
|
1548
|
-
|
|
1556
|
+
co,
|
|
1549
1557
|
n.formatValueAxisTitleSize
|
|
1550
1558
|
)
|
|
1551
1559
|
},
|
|
@@ -1557,7 +1565,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1557
1565
|
textField: "text",
|
|
1558
1566
|
dataItemKey: "value",
|
|
1559
1567
|
placeholder: l.toLanguageString(
|
|
1560
|
-
|
|
1568
|
+
go,
|
|
1561
1569
|
n.formatValueAxisTitleSizePlaceholder
|
|
1562
1570
|
),
|
|
1563
1571
|
value: f.find(
|
|
@@ -1568,7 +1576,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1568
1576
|
)) == null ? void 0 : C.size);
|
|
1569
1577
|
}
|
|
1570
1578
|
) || d,
|
|
1571
|
-
onChange:
|
|
1579
|
+
onChange: Pa,
|
|
1572
1580
|
allowCustom: !0,
|
|
1573
1581
|
...x
|
|
1574
1582
|
}
|
|
@@ -1578,26 +1586,26 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1578
1586
|
{
|
|
1579
1587
|
editorId: "valueAxisTitleColor",
|
|
1580
1588
|
labelText: l.toLanguageString(
|
|
1581
|
-
|
|
1589
|
+
uo,
|
|
1582
1590
|
n.formatValueAxisTitleColor
|
|
1583
1591
|
)
|
|
1584
1592
|
},
|
|
1585
1593
|
/* @__PURE__ */ e.createElement(
|
|
1586
|
-
|
|
1594
|
+
P,
|
|
1587
1595
|
{
|
|
1588
1596
|
id: "valueAxisTitleColor",
|
|
1589
1597
|
view: "gradient",
|
|
1590
|
-
value: ((
|
|
1591
|
-
onChange:
|
|
1598
|
+
value: ((qe = ($e = a.valueAxis[0]) == null ? void 0 : $e.title) == null ? void 0 : qe.color) || "",
|
|
1599
|
+
onChange: Ba,
|
|
1592
1600
|
fillMode: "outline"
|
|
1593
1601
|
}
|
|
1594
1602
|
)
|
|
1595
1603
|
))
|
|
1596
1604
|
), /* @__PURE__ */ e.createElement(
|
|
1597
|
-
|
|
1605
|
+
w,
|
|
1598
1606
|
{
|
|
1599
1607
|
legend: l.toLanguageString(
|
|
1600
|
-
|
|
1608
|
+
mo,
|
|
1601
1609
|
n.formatValueAxisLabels
|
|
1602
1610
|
)
|
|
1603
1611
|
},
|
|
@@ -1607,24 +1615,24 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1607
1615
|
className: "k-col-span-2",
|
|
1608
1616
|
editorId: "valueAxisLabelsFormat",
|
|
1609
1617
|
labelText: l.toLanguageString(
|
|
1610
|
-
|
|
1618
|
+
xo,
|
|
1611
1619
|
n.formatValueAxisLabelsFormat
|
|
1612
1620
|
)
|
|
1613
1621
|
},
|
|
1614
1622
|
/* @__PURE__ */ e.createElement(
|
|
1615
|
-
|
|
1623
|
+
R,
|
|
1616
1624
|
{
|
|
1617
1625
|
id: "valueAxisLabelsFormat",
|
|
1618
|
-
data:
|
|
1626
|
+
data: te,
|
|
1619
1627
|
textField: "text",
|
|
1620
1628
|
dataItemKey: "value",
|
|
1621
|
-
defaultItem:
|
|
1622
|
-
value:
|
|
1629
|
+
defaultItem: ee,
|
|
1630
|
+
value: te.find(
|
|
1623
1631
|
(t) => {
|
|
1624
1632
|
var o, g;
|
|
1625
1633
|
return t.value === ((g = (o = a.valueAxis[0]) == null ? void 0 : o.labels) == null ? void 0 : g.format);
|
|
1626
1634
|
}
|
|
1627
|
-
) ||
|
|
1635
|
+
) || ee,
|
|
1628
1636
|
onChange: Wa,
|
|
1629
1637
|
...x
|
|
1630
1638
|
}
|
|
@@ -1635,7 +1643,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1635
1643
|
className: "k-col-span-2",
|
|
1636
1644
|
editorId: "valueAxisLabelsFont",
|
|
1637
1645
|
labelText: l.toLanguageString(
|
|
1638
|
-
|
|
1646
|
+
Co,
|
|
1639
1647
|
n.formatValueAxisLabelsFont
|
|
1640
1648
|
)
|
|
1641
1649
|
},
|
|
@@ -1647,7 +1655,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1647
1655
|
textField: "text",
|
|
1648
1656
|
dataItemKey: "value",
|
|
1649
1657
|
placeholder: l.toLanguageString(
|
|
1650
|
-
|
|
1658
|
+
fo,
|
|
1651
1659
|
n.formatValueAxisLabelsFontPlaceholder
|
|
1652
1660
|
),
|
|
1653
1661
|
value: k.find(
|
|
@@ -1658,8 +1666,8 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1658
1666
|
)) == null ? void 0 : C.name);
|
|
1659
1667
|
}
|
|
1660
1668
|
) || d,
|
|
1661
|
-
onChange:
|
|
1662
|
-
itemRender:
|
|
1669
|
+
onChange: Ra,
|
|
1670
|
+
itemRender: M,
|
|
1663
1671
|
...x
|
|
1664
1672
|
}
|
|
1665
1673
|
)
|
|
@@ -1668,7 +1676,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1668
1676
|
{
|
|
1669
1677
|
editorId: "valueAxisLabelsFontSize",
|
|
1670
1678
|
labelText: l.toLanguageString(
|
|
1671
|
-
|
|
1679
|
+
bo,
|
|
1672
1680
|
n.formatValueAxisLabelsSize
|
|
1673
1681
|
)
|
|
1674
1682
|
},
|
|
@@ -1680,7 +1688,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1680
1688
|
textField: "text",
|
|
1681
1689
|
dataItemKey: "value",
|
|
1682
1690
|
placeholder: l.toLanguageString(
|
|
1683
|
-
|
|
1691
|
+
ho,
|
|
1684
1692
|
n.formatValueAxisLabelsSizePlaceholder
|
|
1685
1693
|
),
|
|
1686
1694
|
value: f.find(
|
|
@@ -1691,7 +1699,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1691
1699
|
)) == null ? void 0 : C.size);
|
|
1692
1700
|
}
|
|
1693
1701
|
) || d,
|
|
1694
|
-
onChange:
|
|
1702
|
+
onChange: Ma,
|
|
1695
1703
|
allowCustom: !0,
|
|
1696
1704
|
...x
|
|
1697
1705
|
}
|
|
@@ -1701,17 +1709,17 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1701
1709
|
{
|
|
1702
1710
|
editorId: "valueAxisLabelsColor",
|
|
1703
1711
|
labelText: l.toLanguageString(
|
|
1704
|
-
|
|
1712
|
+
So,
|
|
1705
1713
|
n.formatValueAxisLabelsColor
|
|
1706
1714
|
)
|
|
1707
1715
|
},
|
|
1708
1716
|
/* @__PURE__ */ e.createElement(
|
|
1709
|
-
|
|
1717
|
+
P,
|
|
1710
1718
|
{
|
|
1711
1719
|
id: "valueAxisLabelsColor",
|
|
1712
1720
|
view: "gradient",
|
|
1713
|
-
value: ((
|
|
1714
|
-
onChange:
|
|
1721
|
+
value: ((Qe = (Je = a.valueAxis[0]) == null ? void 0 : Je.labels) == null ? void 0 : Qe.color) || "",
|
|
1722
|
+
onChange: Ka,
|
|
1715
1723
|
fillMode: "outline"
|
|
1716
1724
|
}
|
|
1717
1725
|
)
|
|
@@ -1720,20 +1728,20 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1720
1728
|
{
|
|
1721
1729
|
editorId: "valueAxisLabelsRotation",
|
|
1722
1730
|
labelText: l.toLanguageString(
|
|
1723
|
-
|
|
1731
|
+
Ao,
|
|
1724
1732
|
n.formatValueAxisLabelsRotation
|
|
1725
1733
|
)
|
|
1726
1734
|
},
|
|
1727
1735
|
/* @__PURE__ */ e.createElement(
|
|
1728
|
-
|
|
1736
|
+
K,
|
|
1729
1737
|
{
|
|
1730
1738
|
id: "valueAxisLabelsRotation",
|
|
1731
|
-
value: typeof ((
|
|
1739
|
+
value: typeof ((_e = (Ze = a.valueAxis[0]) == null ? void 0 : Ze.labels) == null ? void 0 : _e.rotation) == "number" ? (tt = (et = a.valueAxis[0]) == null ? void 0 : et.labels) == null ? void 0 : tt.rotation : null,
|
|
1732
1740
|
placeholder: l.toLanguageString(
|
|
1733
|
-
|
|
1741
|
+
Lo,
|
|
1734
1742
|
n.formatValueAxisLabelsRotationAuto
|
|
1735
1743
|
),
|
|
1736
|
-
onChange:
|
|
1744
|
+
onChange: Da,
|
|
1737
1745
|
fillMode: "outline",
|
|
1738
1746
|
min: -360,
|
|
1739
1747
|
max: 360,
|
|
@@ -1745,7 +1753,7 @@ const z = (r) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
1745
1753
|
))))))
|
|
1746
1754
|
);
|
|
1747
1755
|
});
|
|
1748
|
-
|
|
1756
|
+
Fo.displayName = "ChartWizard";
|
|
1749
1757
|
export {
|
|
1750
|
-
|
|
1758
|
+
Fo as ChartWizard
|
|
1751
1759
|
};
|