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