@progress/kendo-react-chart-wizard 8.3.0-develop.1 → 8.3.0-develop.11
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 +550 -521
- package/SeriesGrid.js +1 -1
- package/SeriesGrid.mjs +20 -20
- 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/ChartWizard.mjs
CHANGED
|
@@ -7,271 +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
|
-
}, []), [
|
|
87
|
+
}, []), [ie, kl] = e.useState(!1), Al = e.useCallback((t) => {
|
|
79
88
|
kl(!t.expanded);
|
|
80
|
-
}, []), [
|
|
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
|
-
|
|
205
|
+
const o = t.target.value || u;
|
|
206
|
+
i(c(a, s.categoryAxisLabelsFontName, o.value));
|
|
188
207
|
}, [a]), kn = e.useCallback((t) => {
|
|
189
|
-
i(
|
|
208
|
+
i(c(a, s.categoryAxisLabelsColor, t.value));
|
|
190
209
|
}, [a]), An = e.useCallback((t) => {
|
|
191
|
-
|
|
192
|
-
i(s(a, c.valueAxisTitleFontSize, r.value));
|
|
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:
|
|
263
|
+
svgIcon: eo,
|
|
239
264
|
icon: "export",
|
|
240
|
-
onItemClick:
|
|
265
|
+
onItemClick: _a,
|
|
241
266
|
items: [
|
|
242
|
-
{ svgIcon:
|
|
243
|
-
{ svgIcon:
|
|
244
|
-
{ 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]) }
|
|
245
270
|
]
|
|
246
271
|
}
|
|
247
272
|
)), /* @__PURE__ */ e.createElement("div", { className: "k-preview-pane-content", style: { height: "calc(100% - 50px)" } }, /* @__PURE__ */ e.createElement(
|
|
248
|
-
|
|
273
|
+
Rn,
|
|
249
274
|
{
|
|
250
275
|
style: { width: "100%", height: "100%" },
|
|
251
276
|
transitions: !1,
|
|
252
|
-
ref:
|
|
277
|
+
ref: H
|
|
253
278
|
},
|
|
254
279
|
/* @__PURE__ */ e.createElement(
|
|
255
|
-
|
|
280
|
+
Bn,
|
|
256
281
|
{
|
|
257
|
-
text: (
|
|
258
|
-
font: (
|
|
282
|
+
text: (Ce = a.title) == null ? void 0 : Ce.text,
|
|
283
|
+
font: (be = a.title) == null ? void 0 : be.font,
|
|
259
284
|
color: ((he = a.title) == null ? void 0 : he.color) || "#000"
|
|
260
285
|
}
|
|
261
286
|
),
|
|
262
287
|
/* @__PURE__ */ e.createElement(
|
|
263
|
-
|
|
288
|
+
Wn,
|
|
264
289
|
{
|
|
265
|
-
text: (
|
|
266
|
-
font: (
|
|
267
|
-
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"
|
|
268
293
|
}
|
|
269
294
|
),
|
|
270
|
-
/* @__PURE__ */ e.createElement(
|
|
271
|
-
a.categoryAxis && /* @__PURE__ */ e.createElement(
|
|
272
|
-
|
|
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,
|
|
273
298
|
{
|
|
274
|
-
key:
|
|
299
|
+
key: o,
|
|
275
300
|
categories: t.categories,
|
|
276
301
|
title: t.title && {
|
|
277
302
|
text: t.title.text,
|
|
@@ -286,10 +311,10 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
286
311
|
reverse: t.reverse
|
|
287
312
|
}
|
|
288
313
|
))),
|
|
289
|
-
a.valueAxis && /* @__PURE__ */ e.createElement(
|
|
290
|
-
|
|
314
|
+
a.valueAxis && /* @__PURE__ */ e.createElement(On, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
315
|
+
Xn,
|
|
291
316
|
{
|
|
292
|
-
key:
|
|
317
|
+
key: o,
|
|
293
318
|
title: t.title && {
|
|
294
319
|
text: t.title.text,
|
|
295
320
|
font: t.title.font,
|
|
@@ -303,17 +328,17 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
303
328
|
}
|
|
304
329
|
}
|
|
305
330
|
))),
|
|
306
|
-
/* @__PURE__ */ e.createElement(
|
|
307
|
-
|
|
331
|
+
/* @__PURE__ */ e.createElement(Gn, null, a.series.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
332
|
+
Yn,
|
|
308
333
|
{
|
|
309
|
-
key: String(t.name) +
|
|
334
|
+
key: String(t.name) + o,
|
|
310
335
|
...t
|
|
311
336
|
}
|
|
312
337
|
))),
|
|
313
|
-
/* @__PURE__ */ e.createElement(
|
|
314
|
-
|
|
338
|
+
/* @__PURE__ */ e.createElement(jn, null, a.categoryAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
339
|
+
Un,
|
|
315
340
|
{
|
|
316
|
-
key:
|
|
341
|
+
key: o,
|
|
317
342
|
categories: t.categories,
|
|
318
343
|
title: t.title && {
|
|
319
344
|
text: t.title.text,
|
|
@@ -328,10 +353,10 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
328
353
|
}
|
|
329
354
|
}
|
|
330
355
|
))),
|
|
331
|
-
/* @__PURE__ */ e.createElement(
|
|
332
|
-
|
|
356
|
+
/* @__PURE__ */ e.createElement($n, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
|
|
357
|
+
qn,
|
|
333
358
|
{
|
|
334
|
-
key:
|
|
359
|
+
key: o,
|
|
335
360
|
title: t.title && {
|
|
336
361
|
text: t.title.text,
|
|
337
362
|
font: t.title.font,
|
|
@@ -346,169 +371,169 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
346
371
|
}
|
|
347
372
|
))),
|
|
348
373
|
/* @__PURE__ */ e.createElement(
|
|
349
|
-
|
|
374
|
+
Jn,
|
|
350
375
|
{
|
|
351
|
-
visible: (
|
|
352
|
-
position: (
|
|
376
|
+
visible: (Ee = a.legend) == null ? void 0 : Ee.visible,
|
|
377
|
+
position: (ke = a.legend) == null ? void 0 : ke.position,
|
|
353
378
|
labels: {
|
|
354
|
-
color: ((
|
|
355
|
-
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
|
|
356
381
|
}
|
|
357
382
|
}
|
|
358
383
|
)
|
|
359
384
|
))),
|
|
360
|
-
/* @__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(
|
|
361
386
|
S,
|
|
362
387
|
{
|
|
363
388
|
style: { maxWidth: "576px" },
|
|
364
|
-
title: l.toLanguageString(
|
|
365
|
-
expanded:
|
|
389
|
+
title: l.toLanguageString(vt, n[vt]),
|
|
390
|
+
expanded: ee,
|
|
366
391
|
tabIndex: 0,
|
|
367
|
-
onAction:
|
|
392
|
+
onAction: gl
|
|
368
393
|
},
|
|
369
|
-
/* @__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])))))
|
|
370
395
|
), /* @__PURE__ */ e.createElement(
|
|
371
396
|
S,
|
|
372
397
|
{
|
|
373
398
|
style: { maxWidth: "576px" },
|
|
374
|
-
title: l.toLanguageString(
|
|
375
|
-
expanded:
|
|
399
|
+
title: l.toLanguageString(kt, n[kt]),
|
|
400
|
+
expanded: te,
|
|
376
401
|
tabIndex: 0,
|
|
377
|
-
onAction:
|
|
402
|
+
onAction: ul
|
|
378
403
|
},
|
|
379
|
-
/* @__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])))))
|
|
380
405
|
), /* @__PURE__ */ e.createElement(
|
|
381
406
|
S,
|
|
382
407
|
{
|
|
383
408
|
style: { maxWidth: "576px" },
|
|
384
|
-
title: l.toLanguageString(
|
|
385
|
-
expanded:
|
|
409
|
+
title: l.toLanguageString(pt, n[pt]),
|
|
410
|
+
expanded: ae,
|
|
386
411
|
tabIndex: 0,
|
|
387
|
-
onAction:
|
|
412
|
+
onAction: xl
|
|
388
413
|
},
|
|
389
|
-
/* @__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])))))
|
|
390
415
|
), /* @__PURE__ */ e.createElement(
|
|
391
416
|
S,
|
|
392
417
|
{
|
|
393
418
|
style: { maxWidth: "576px" },
|
|
394
|
-
title: l.toLanguageString(
|
|
395
|
-
expanded:
|
|
419
|
+
title: l.toLanguageString(Ft, n[Ft]),
|
|
420
|
+
expanded: le,
|
|
396
421
|
tabIndex: 0,
|
|
397
|
-
onAction:
|
|
422
|
+
onAction: bl
|
|
398
423
|
},
|
|
399
|
-
/* @__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])))))
|
|
400
425
|
), /* @__PURE__ */ e.createElement(
|
|
401
426
|
S,
|
|
402
427
|
{
|
|
403
428
|
style: { maxWidth: "576px" },
|
|
404
|
-
title: l.toLanguageString(
|
|
405
|
-
expanded:
|
|
429
|
+
title: l.toLanguageString(Pt, n[Pt]),
|
|
430
|
+
expanded: ne,
|
|
406
431
|
tabIndex: 0,
|
|
407
|
-
onAction:
|
|
432
|
+
onAction: fl
|
|
408
433
|
},
|
|
409
|
-
/* @__PURE__ */ e.createElement(
|
|
410
|
-
))), /* @__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(
|
|
411
436
|
S,
|
|
412
437
|
{
|
|
413
438
|
style: { maxWidth: "576px" },
|
|
414
|
-
title: l.toLanguageString(
|
|
415
|
-
expanded:
|
|
439
|
+
title: l.toLanguageString(Rt, n[Rt]),
|
|
440
|
+
expanded: oe,
|
|
416
441
|
tabIndex: 0,
|
|
417
|
-
onAction:
|
|
442
|
+
onAction: Sl
|
|
418
443
|
},
|
|
419
|
-
/* @__PURE__ */ e.createElement(
|
|
420
|
-
|
|
444
|
+
/* @__PURE__ */ e.createElement(E, null, oe && /* @__PURE__ */ e.createElement(L, null, /* @__PURE__ */ e.createElement(V, null, /* @__PURE__ */ e.createElement(
|
|
445
|
+
w,
|
|
421
446
|
{
|
|
422
|
-
legend: m === "scatter" ? l.toLanguageString(
|
|
447
|
+
legend: m === "scatter" ? l.toLanguageString(Bt, n[Bt]) : l.toLanguageString(Wt, n[Wt])
|
|
423
448
|
},
|
|
424
449
|
/* @__PURE__ */ e.createElement(
|
|
425
|
-
|
|
450
|
+
R,
|
|
426
451
|
{
|
|
427
452
|
data: a.columns || [],
|
|
428
453
|
value: a.categoryField,
|
|
429
|
-
onChange:
|
|
430
|
-
...
|
|
454
|
+
onChange: ql,
|
|
455
|
+
...x
|
|
431
456
|
}
|
|
432
457
|
)
|
|
433
|
-
),
|
|
434
|
-
|
|
458
|
+
), tt(m) && /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Kt, n[Kt]) }, /* @__PURE__ */ e.createElement(
|
|
459
|
+
bo,
|
|
435
460
|
{
|
|
436
461
|
data: a.series,
|
|
437
462
|
initialData: a.initialSeries,
|
|
438
|
-
onChange:
|
|
463
|
+
onChange: Jl
|
|
439
464
|
}
|
|
440
|
-
)), m === "pie" && /* @__PURE__ */ e.createElement(
|
|
441
|
-
|
|
465
|
+
)), m === "pie" && /* @__PURE__ */ e.createElement(w, { legend: l.toLanguageString(Dt, n[Dt]) }, /* @__PURE__ */ e.createElement(
|
|
466
|
+
R,
|
|
442
467
|
{
|
|
443
468
|
data: a.columns || [],
|
|
444
469
|
value: a.valueField || "",
|
|
445
|
-
...
|
|
446
|
-
onChange:
|
|
470
|
+
...x,
|
|
471
|
+
onChange: Ql
|
|
447
472
|
}
|
|
448
473
|
)))))
|
|
449
|
-
))), /* @__PURE__ */ e.createElement(
|
|
474
|
+
))), /* @__PURE__ */ e.createElement(U, { title: l.toLanguageString(Ht, n[Ht]) }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
450
475
|
S,
|
|
451
476
|
{
|
|
452
477
|
style: { maxWidth: "576px" },
|
|
453
|
-
title: l.toLanguageString(
|
|
454
|
-
expanded:
|
|
478
|
+
title: l.toLanguageString(Ot, n[Ot]),
|
|
479
|
+
expanded: re,
|
|
455
480
|
tabIndex: 0,
|
|
456
|
-
onAction:
|
|
481
|
+
onAction: El
|
|
457
482
|
},
|
|
458
|
-
/* @__PURE__ */ e.createElement(
|
|
459
|
-
|
|
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,
|
|
460
485
|
{
|
|
461
486
|
id: "left",
|
|
462
|
-
value:
|
|
463
|
-
onChange:
|
|
464
|
-
placeholder: l.toLanguageString(
|
|
487
|
+
value: N.left !== void 0 ? N.left : null,
|
|
488
|
+
onChange: Zl,
|
|
489
|
+
placeholder: l.toLanguageString(P, n[P]),
|
|
465
490
|
min: 0,
|
|
466
491
|
max: 1e3,
|
|
467
492
|
step: 1,
|
|
468
493
|
fillMode: "outline"
|
|
469
494
|
}
|
|
470
|
-
)), /* @__PURE__ */ e.createElement(
|
|
471
|
-
|
|
495
|
+
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(Yt, n[Yt]), editorId: "right" }, /* @__PURE__ */ e.createElement(
|
|
496
|
+
B,
|
|
472
497
|
{
|
|
473
498
|
id: "right",
|
|
474
|
-
value:
|
|
475
|
-
onChange:
|
|
476
|
-
placeholder: l.toLanguageString(
|
|
499
|
+
value: N.right !== void 0 ? N.right : null,
|
|
500
|
+
onChange: _l,
|
|
501
|
+
placeholder: l.toLanguageString(P, n[P]),
|
|
477
502
|
min: 0,
|
|
478
503
|
max: 1e3,
|
|
479
504
|
step: 1,
|
|
480
505
|
fillMode: "outline"
|
|
481
506
|
}
|
|
482
|
-
)), /* @__PURE__ */ e.createElement(
|
|
483
|
-
|
|
507
|
+
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(jt, n[jt]), editorId: "top" }, /* @__PURE__ */ e.createElement(
|
|
508
|
+
B,
|
|
484
509
|
{
|
|
485
510
|
id: "top",
|
|
486
|
-
value:
|
|
487
|
-
onChange:
|
|
488
|
-
placeholder: l.toLanguageString(
|
|
511
|
+
value: N.top !== void 0 ? N.top : null,
|
|
512
|
+
onChange: en,
|
|
513
|
+
placeholder: l.toLanguageString(P, n[P]),
|
|
489
514
|
min: 0,
|
|
490
515
|
max: 1e3,
|
|
491
516
|
step: 1,
|
|
492
517
|
fillMode: "outline"
|
|
493
518
|
}
|
|
494
|
-
)), /* @__PURE__ */ e.createElement(
|
|
495
|
-
|
|
519
|
+
)), /* @__PURE__ */ e.createElement(d, { labelText: l.toLanguageString(Ut, n[Ut]), editorId: "bottom" }, /* @__PURE__ */ e.createElement(
|
|
520
|
+
B,
|
|
496
521
|
{
|
|
497
522
|
id: "bottom",
|
|
498
|
-
value:
|
|
499
|
-
onChange:
|
|
500
|
-
placeholder: l.toLanguageString(
|
|
523
|
+
value: N.bottom !== void 0 ? N.bottom : null,
|
|
524
|
+
onChange: tn,
|
|
525
|
+
placeholder: l.toLanguageString(P, n[P]),
|
|
501
526
|
min: 0,
|
|
502
527
|
max: 1e3,
|
|
503
528
|
step: 1,
|
|
504
529
|
fillMode: "outline"
|
|
505
530
|
}
|
|
506
|
-
)))), /* @__PURE__ */ e.createElement(
|
|
507
|
-
|
|
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,
|
|
508
533
|
{
|
|
509
534
|
id: "background",
|
|
510
|
-
value: ((
|
|
511
|
-
onChange:
|
|
535
|
+
value: ((Ie = a.area) == null ? void 0 : Ie.background) || "",
|
|
536
|
+
onChange: an,
|
|
512
537
|
view: "gradient",
|
|
513
538
|
fillMode: "outline"
|
|
514
539
|
}
|
|
@@ -517,63 +542,63 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
517
542
|
S,
|
|
518
543
|
{
|
|
519
544
|
style: { maxWidth: "576px" },
|
|
520
|
-
title: l.toLanguageString(
|
|
521
|
-
expanded:
|
|
545
|
+
title: l.toLanguageString(Jt, n[Jt]),
|
|
546
|
+
expanded: ie,
|
|
522
547
|
tabIndex: 0,
|
|
523
|
-
onAction:
|
|
548
|
+
onAction: Al
|
|
524
549
|
},
|
|
525
|
-
/* @__PURE__ */ e.createElement(
|
|
526
|
-
|
|
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,
|
|
527
552
|
{
|
|
528
553
|
id: "apply-to-title",
|
|
529
|
-
data:
|
|
554
|
+
data: h,
|
|
530
555
|
textField: "text",
|
|
531
556
|
dataItemKey: "value",
|
|
532
|
-
value:
|
|
533
|
-
onChange:
|
|
534
|
-
...
|
|
557
|
+
value: h.find((t) => t.value === y.value),
|
|
558
|
+
onChange: nn,
|
|
559
|
+
...x
|
|
535
560
|
}
|
|
536
|
-
)), /* @__PURE__ */ e.createElement(
|
|
537
|
-
|
|
561
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "titleText", labelText: l.toLanguageString(Zt, n[Zt]) }, /* @__PURE__ */ e.createElement(
|
|
562
|
+
$,
|
|
538
563
|
{
|
|
539
564
|
id: "titleText",
|
|
540
|
-
placeholder:
|
|
541
|
-
value:
|
|
542
|
-
onChange:
|
|
543
|
-
onKeyDown: (t) => t.stopPropagation()
|
|
565
|
+
placeholder: y.value === h[0].value ? h[0].text : h[1].text,
|
|
566
|
+
value: O.text,
|
|
567
|
+
onChange: on
|
|
544
568
|
}
|
|
545
|
-
)), /* @__PURE__ */ e.createElement(
|
|
546
|
-
|
|
569
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "titleFont", labelText: l.toLanguageString(_t, n[_t]) }, /* @__PURE__ */ e.createElement(
|
|
570
|
+
k,
|
|
547
571
|
{
|
|
548
572
|
id: "titleFont",
|
|
549
|
-
data:
|
|
573
|
+
data: A,
|
|
550
574
|
textField: "text",
|
|
551
575
|
dataItemKey: "value",
|
|
552
|
-
placeholder: l.toLanguageString(
|
|
553
|
-
value:
|
|
554
|
-
onChange:
|
|
555
|
-
itemRender:
|
|
556
|
-
...
|
|
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
|
|
557
581
|
}
|
|
558
|
-
)), /* @__PURE__ */ e.createElement(
|
|
559
|
-
|
|
582
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "titleFontSize", labelText: l.toLanguageString(ta, n[ta]) }, /* @__PURE__ */ e.createElement(
|
|
583
|
+
k,
|
|
560
584
|
{
|
|
561
585
|
id: "titleFontSize",
|
|
562
|
-
data:
|
|
586
|
+
data: b,
|
|
563
587
|
textField: "text",
|
|
564
588
|
dataItemKey: "value",
|
|
565
|
-
placeholder: l.toLanguageString(
|
|
566
|
-
value:
|
|
567
|
-
onChange:
|
|
568
|
-
itemRender:
|
|
569
|
-
|
|
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
|
|
570
595
|
}
|
|
571
|
-
)), /* @__PURE__ */ e.createElement(
|
|
572
|
-
|
|
596
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "titleColor", labelText: l.toLanguageString(la, n[la]) }, /* @__PURE__ */ e.createElement(
|
|
597
|
+
z,
|
|
573
598
|
{
|
|
574
599
|
id: "titleColor",
|
|
575
|
-
value:
|
|
576
|
-
onChange:
|
|
600
|
+
value: O.color || "",
|
|
601
|
+
onChange: cn,
|
|
577
602
|
view: "gradient",
|
|
578
603
|
fillMode: "outline"
|
|
579
604
|
}
|
|
@@ -582,356 +607,359 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
582
607
|
S,
|
|
583
608
|
{
|
|
584
609
|
style: { maxWidth: "576px" },
|
|
585
|
-
title: l.toLanguageString(
|
|
586
|
-
expanded:
|
|
610
|
+
title: l.toLanguageString(na, n[na]),
|
|
611
|
+
expanded: se,
|
|
587
612
|
tabIndex: 0,
|
|
588
|
-
onAction:
|
|
613
|
+
onAction: yl
|
|
589
614
|
},
|
|
590
|
-
/* @__PURE__ */ e.createElement(
|
|
591
|
-
|
|
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,
|
|
592
617
|
{
|
|
593
618
|
id: "apply-to-series",
|
|
594
619
|
data: a.series,
|
|
595
620
|
textField: "name",
|
|
596
621
|
dataItemKey: "name",
|
|
597
|
-
defaultItem:
|
|
598
|
-
disabled: !
|
|
599
|
-
value: a.series.find((t) => t.name ===
|
|
600
|
-
onChange:
|
|
601
|
-
...
|
|
622
|
+
defaultItem: X,
|
|
623
|
+
disabled: !tt(m),
|
|
624
|
+
value: a.series.find((t) => t.name === f) || X,
|
|
625
|
+
onChange: Bl,
|
|
626
|
+
...x
|
|
602
627
|
}
|
|
603
|
-
)), /* @__PURE__ */ e.createElement(
|
|
604
|
-
|
|
628
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "seriesColor", labelText: l.toLanguageString(ra, n[ra]) }, /* @__PURE__ */ e.createElement(
|
|
629
|
+
z,
|
|
605
630
|
{
|
|
606
631
|
id: "seriesColor",
|
|
607
|
-
value:
|
|
608
|
-
onChange:
|
|
609
|
-
disabled: !
|
|
632
|
+
value: f ? (Fe = a.series.find((t) => t.name === f)) == null ? void 0 : Fe.color : "",
|
|
633
|
+
onChange: gn,
|
|
634
|
+
disabled: !f,
|
|
610
635
|
view: "gradient",
|
|
611
636
|
fillMode: "outline"
|
|
612
637
|
}
|
|
613
|
-
)), /* @__PURE__ */ e.createElement(
|
|
614
|
-
|
|
638
|
+
)), /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(
|
|
639
|
+
et,
|
|
615
640
|
{
|
|
616
|
-
label: l.toLanguageString(
|
|
617
|
-
checked:
|
|
618
|
-
var
|
|
619
|
-
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;
|
|
620
645
|
}),
|
|
621
|
-
onChange:
|
|
646
|
+
onChange: dn
|
|
622
647
|
}
|
|
623
648
|
)))))
|
|
624
649
|
), /* @__PURE__ */ e.createElement(
|
|
625
650
|
S,
|
|
626
651
|
{
|
|
627
652
|
style: { maxWidth: "576px" },
|
|
628
|
-
title: l.toLanguageString(
|
|
629
|
-
expanded:
|
|
653
|
+
title: l.toLanguageString(sa, n[sa]),
|
|
654
|
+
expanded: ce,
|
|
630
655
|
tabIndex: 0,
|
|
631
|
-
onAction:
|
|
656
|
+
onAction: Il
|
|
632
657
|
},
|
|
633
|
-
/* @__PURE__ */ e.createElement(
|
|
634
|
-
|
|
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,
|
|
635
660
|
{
|
|
636
661
|
id: "show-legend",
|
|
637
|
-
checked: (
|
|
638
|
-
onChange:
|
|
662
|
+
checked: (ze = a.legend) == null ? void 0 : ze.visible,
|
|
663
|
+
onChange: un
|
|
639
664
|
}
|
|
640
|
-
), /* @__PURE__ */ e.createElement(
|
|
641
|
-
|
|
665
|
+
), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "legendLabelsFont", labelText: l.toLanguageString(ga, n[ga]) }, /* @__PURE__ */ e.createElement(
|
|
666
|
+
k,
|
|
642
667
|
{
|
|
643
668
|
id: "legendLabelsFont",
|
|
644
|
-
data:
|
|
669
|
+
data: A,
|
|
645
670
|
textField: "text",
|
|
646
671
|
dataItemKey: "value",
|
|
647
|
-
placeholder: l.toLanguageString(
|
|
648
|
-
value:
|
|
649
|
-
var
|
|
650
|
-
return t.value === ((
|
|
672
|
+
placeholder: l.toLanguageString(da, n[da]),
|
|
673
|
+
value: A.find((t) => {
|
|
674
|
+
var o, g, C;
|
|
675
|
+
return t.value === ((C = p(((g = (o = a.legend) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
651
676
|
}) || u,
|
|
652
|
-
onChange:
|
|
653
|
-
itemRender:
|
|
654
|
-
disabled: ((
|
|
655
|
-
...
|
|
677
|
+
onChange: xn,
|
|
678
|
+
itemRender: M,
|
|
679
|
+
disabled: ((Pe = a.legend) == null ? void 0 : Pe.visible) === !1,
|
|
680
|
+
...x
|
|
656
681
|
}
|
|
657
|
-
)), /* @__PURE__ */ e.createElement(
|
|
658
|
-
|
|
682
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "legendLabelsSize", labelText: l.toLanguageString(ua, n[ua]) }, /* @__PURE__ */ e.createElement(
|
|
683
|
+
k,
|
|
659
684
|
{
|
|
660
685
|
id: "legendLabelsSize",
|
|
661
|
-
data:
|
|
686
|
+
data: b,
|
|
662
687
|
textField: "text",
|
|
663
688
|
dataItemKey: "value",
|
|
664
|
-
placeholder: l.toLanguageString(
|
|
665
|
-
value:
|
|
666
|
-
var
|
|
667
|
-
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);
|
|
668
693
|
}) || u,
|
|
669
|
-
onChange:
|
|
670
|
-
disabled: ((
|
|
671
|
-
|
|
694
|
+
onChange: mn,
|
|
695
|
+
disabled: ((Ve = a.legend) == null ? void 0 : Ve.visible) === !1,
|
|
696
|
+
allowCustom: !0,
|
|
697
|
+
...x
|
|
672
698
|
}
|
|
673
|
-
)), /* @__PURE__ */ e.createElement(
|
|
674
|
-
|
|
699
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "legendLabelsColor", labelText: l.toLanguageString(xa, n[xa]) }, /* @__PURE__ */ e.createElement(
|
|
700
|
+
z,
|
|
675
701
|
{
|
|
676
702
|
id: "legendLabelsColor",
|
|
677
|
-
value: ((
|
|
678
|
-
onChange:
|
|
679
|
-
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,
|
|
680
706
|
view: "gradient",
|
|
681
707
|
fillMode: "outline"
|
|
682
708
|
}
|
|
683
|
-
)), /* @__PURE__ */ e.createElement(
|
|
684
|
-
|
|
709
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "legendPosition", labelText: l.toLanguageString(Ca, n[Ca]) }, /* @__PURE__ */ e.createElement(
|
|
710
|
+
R,
|
|
685
711
|
{
|
|
686
712
|
id: "legendPosition",
|
|
687
|
-
data:
|
|
713
|
+
data: Q,
|
|
688
714
|
textField: "text",
|
|
689
715
|
dataItemKey: "value",
|
|
690
|
-
value:
|
|
691
|
-
var
|
|
692
|
-
return t.value === ((
|
|
716
|
+
value: Q.find((t) => {
|
|
717
|
+
var o;
|
|
718
|
+
return t.value === ((o = a.legend) == null ? void 0 : o.position);
|
|
693
719
|
}),
|
|
694
|
-
onChange:
|
|
695
|
-
disabled: ((
|
|
696
|
-
...
|
|
720
|
+
onChange: bn,
|
|
721
|
+
disabled: ((We = a.legend) == null ? void 0 : We.visible) === !1,
|
|
722
|
+
...x
|
|
697
723
|
}
|
|
698
724
|
))))))
|
|
699
725
|
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
700
726
|
S,
|
|
701
727
|
{
|
|
702
728
|
style: { maxWidth: "576px" },
|
|
703
|
-
title: m === "scatter" ? l.toLanguageString(
|
|
704
|
-
expanded:
|
|
729
|
+
title: m === "scatter" ? l.toLanguageString(ba, n[ba]) : l.toLanguageString(ha, n[ha]),
|
|
730
|
+
expanded: ge,
|
|
705
731
|
tabIndex: 0,
|
|
706
|
-
onAction:
|
|
732
|
+
onAction: Nl
|
|
707
733
|
},
|
|
708
|
-
/* @__PURE__ */ e.createElement(
|
|
709
|
-
|
|
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
|
+
$,
|
|
710
736
|
{
|
|
711
|
-
placeholder: l.toLanguageString(
|
|
712
|
-
value: ((
|
|
713
|
-
onChange:
|
|
714
|
-
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
|
|
715
740
|
}
|
|
716
|
-
)), /* @__PURE__ */ e.createElement(
|
|
717
|
-
|
|
741
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "categoryAxisTitleFont", labelText: l.toLanguageString(Sa, n[Sa]) }, /* @__PURE__ */ e.createElement(
|
|
742
|
+
k,
|
|
718
743
|
{
|
|
719
744
|
id: "categoryAxisTitleFont",
|
|
720
|
-
data:
|
|
745
|
+
data: A,
|
|
721
746
|
textField: "text",
|
|
722
747
|
dataItemKey: "value",
|
|
723
|
-
itemRender:
|
|
724
|
-
placeholder: l.toLanguageString(
|
|
725
|
-
value:
|
|
726
|
-
var
|
|
727
|
-
return t.value === ((
|
|
748
|
+
itemRender: M,
|
|
749
|
+
placeholder: l.toLanguageString(La, n[La]),
|
|
750
|
+
value: A.find((t) => {
|
|
751
|
+
var o, g;
|
|
752
|
+
return t.value === ((g = p(((o = a.categoryAxis[0].title) == null ? void 0 : o.font) || "")) == null ? void 0 : g.name);
|
|
728
753
|
}) || u,
|
|
729
|
-
onChange:
|
|
730
|
-
...
|
|
754
|
+
onChange: vn,
|
|
755
|
+
...x
|
|
731
756
|
}
|
|
732
|
-
)), /* @__PURE__ */ e.createElement(
|
|
733
|
-
|
|
757
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisTitleFontSize", labelText: l.toLanguageString(Ea, n[Ea]) }, /* @__PURE__ */ e.createElement(
|
|
758
|
+
k,
|
|
734
759
|
{
|
|
735
760
|
id: "categoryAxisTitleFontSize",
|
|
736
|
-
data:
|
|
761
|
+
data: b,
|
|
737
762
|
textField: "text",
|
|
738
763
|
dataItemKey: "value",
|
|
739
|
-
placeholder: l.toLanguageString(
|
|
740
|
-
value:
|
|
741
|
-
var
|
|
742
|
-
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);
|
|
743
768
|
}) || u,
|
|
744
|
-
onChange:
|
|
745
|
-
|
|
769
|
+
onChange: fn,
|
|
770
|
+
allowCustom: !0,
|
|
771
|
+
...x
|
|
746
772
|
}
|
|
747
|
-
)), /* @__PURE__ */ e.createElement(
|
|
748
|
-
|
|
773
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisTitleColor", labelText: l.toLanguageString(Aa, n[Aa]) }, /* @__PURE__ */ e.createElement(
|
|
774
|
+
z,
|
|
749
775
|
{
|
|
750
776
|
id: "categoryAxisTitleColor",
|
|
751
777
|
view: "gradient",
|
|
752
|
-
value: ((
|
|
753
|
-
onChange:
|
|
778
|
+
value: ((De = a.categoryAxis[0].title) == null ? void 0 : De.color) || "",
|
|
779
|
+
onChange: Sn,
|
|
754
780
|
fillMode: "outline"
|
|
755
781
|
}
|
|
756
|
-
)))), /* @__PURE__ */ e.createElement(
|
|
757
|
-
|
|
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,
|
|
758
784
|
{
|
|
759
785
|
id: "categoryAxisLabelsFont",
|
|
760
|
-
data:
|
|
786
|
+
data: A,
|
|
761
787
|
textField: "text",
|
|
762
788
|
dataItemKey: "value",
|
|
763
|
-
placeholder: l.toLanguageString(
|
|
764
|
-
value:
|
|
765
|
-
var
|
|
766
|
-
return t.value === ((
|
|
789
|
+
placeholder: l.toLanguageString(Ta, n[Ta]),
|
|
790
|
+
value: A.find((t) => {
|
|
791
|
+
var o, g;
|
|
792
|
+
return t.value === ((g = p(((o = a.categoryAxis[0].labels) == null ? void 0 : o.font) || "")) == null ? void 0 : g.name);
|
|
767
793
|
}) || u,
|
|
768
|
-
onChange:
|
|
769
|
-
itemRender:
|
|
770
|
-
...
|
|
794
|
+
onChange: En,
|
|
795
|
+
itemRender: M,
|
|
796
|
+
...x
|
|
771
797
|
}
|
|
772
|
-
)), /* @__PURE__ */ e.createElement(
|
|
773
|
-
|
|
798
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsFontSize", labelText: l.toLanguageString(Ia, n[Ia]) }, /* @__PURE__ */ e.createElement(
|
|
799
|
+
k,
|
|
774
800
|
{
|
|
775
801
|
id: "categoryAxisLabelsFontSize",
|
|
776
|
-
data:
|
|
802
|
+
data: b,
|
|
777
803
|
textField: "text",
|
|
778
804
|
dataItemKey: "value",
|
|
779
|
-
placeholder: l.toLanguageString(
|
|
780
|
-
value:
|
|
781
|
-
var
|
|
782
|
-
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);
|
|
783
809
|
}) || u,
|
|
784
|
-
onChange:
|
|
785
|
-
|
|
810
|
+
onChange: Ln,
|
|
811
|
+
allowCustom: !0,
|
|
812
|
+
...x
|
|
786
813
|
}
|
|
787
|
-
)), /* @__PURE__ */ e.createElement(
|
|
788
|
-
|
|
814
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsColor", labelText: l.toLanguageString(Na, n[Na]) }, /* @__PURE__ */ e.createElement(
|
|
815
|
+
z,
|
|
789
816
|
{
|
|
790
817
|
id: "categoryAxisLabelsColor",
|
|
791
818
|
view: "gradient",
|
|
792
|
-
value: ((
|
|
793
|
-
onChange:
|
|
819
|
+
value: ((He = a.categoryAxis[0].labels) == null ? void 0 : He.color) || "",
|
|
820
|
+
onChange: kn,
|
|
794
821
|
fillMode: "outline"
|
|
795
822
|
}
|
|
796
|
-
)), /* @__PURE__ */ e.createElement(
|
|
797
|
-
|
|
823
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "categoryAxisLabelsRotation", labelText: l.toLanguageString(wa, n[wa]) }, /* @__PURE__ */ e.createElement(
|
|
824
|
+
B,
|
|
798
825
|
{
|
|
799
826
|
id: "categoryAxisLabelsRotation",
|
|
800
|
-
value: typeof ((
|
|
801
|
-
placeholder: l.toLanguageString(
|
|
802
|
-
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,
|
|
803
830
|
fillMode: "outline",
|
|
804
831
|
min: -360,
|
|
805
832
|
max: 360,
|
|
806
833
|
step: 1
|
|
807
834
|
}
|
|
808
|
-
)), /* @__PURE__ */ e.createElement(
|
|
809
|
-
|
|
835
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
|
|
836
|
+
et,
|
|
810
837
|
{
|
|
811
|
-
label: l.toLanguageString(
|
|
838
|
+
label: l.toLanguageString(Pa, n[Pa]),
|
|
812
839
|
checked: a.categoryAxis[0].reverse || !1,
|
|
813
|
-
onChange:
|
|
840
|
+
onChange: pn
|
|
814
841
|
}
|
|
815
842
|
)))))))
|
|
816
843
|
), m !== "pie" && /* @__PURE__ */ e.createElement(
|
|
817
844
|
S,
|
|
818
845
|
{
|
|
819
846
|
style: { maxWidth: "576px" },
|
|
820
|
-
title: m === "scatter" ? l.toLanguageString(
|
|
821
|
-
expanded:
|
|
847
|
+
title: m === "scatter" ? l.toLanguageString(Va, n[Va]) : l.toLanguageString(Ma, n[Ma]),
|
|
848
|
+
expanded: de,
|
|
822
849
|
tabIndex: 0,
|
|
823
|
-
onAction:
|
|
850
|
+
onAction: zl
|
|
824
851
|
},
|
|
825
|
-
/* @__PURE__ */ e.createElement(
|
|
826
|
-
|
|
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
|
+
$,
|
|
827
854
|
{
|
|
828
|
-
placeholder: l.toLanguageString(
|
|
829
|
-
value: ((
|
|
830
|
-
onChange:
|
|
831
|
-
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
|
|
832
858
|
}
|
|
833
|
-
)), /* @__PURE__ */ e.createElement(
|
|
834
|
-
|
|
859
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "valueAxisTitleFont", labelText: l.toLanguageString(Wa, n[Wa]) }, /* @__PURE__ */ e.createElement(
|
|
860
|
+
k,
|
|
835
861
|
{
|
|
836
862
|
id: "valueAxisTitleFont",
|
|
837
|
-
data:
|
|
863
|
+
data: A,
|
|
838
864
|
textField: "text",
|
|
839
865
|
dataItemKey: "value",
|
|
840
|
-
itemRender:
|
|
841
|
-
placeholder: l.toLanguageString(
|
|
842
|
-
value:
|
|
843
|
-
var
|
|
844
|
-
return t.value === ((
|
|
866
|
+
itemRender: M,
|
|
867
|
+
placeholder: l.toLanguageString(Ka, n[Ka]),
|
|
868
|
+
value: A.find((t) => {
|
|
869
|
+
var o, g, C;
|
|
870
|
+
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.title) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
845
871
|
}) || u,
|
|
846
|
-
onChange:
|
|
847
|
-
...
|
|
872
|
+
onChange: In,
|
|
873
|
+
...x
|
|
848
874
|
}
|
|
849
|
-
)), /* @__PURE__ */ e.createElement(
|
|
850
|
-
|
|
875
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisTitleFontSize", labelText: l.toLanguageString(Da, n[Da]) }, /* @__PURE__ */ e.createElement(
|
|
876
|
+
k,
|
|
851
877
|
{
|
|
852
878
|
id: "valueAxisTitleFontSize",
|
|
853
|
-
data:
|
|
879
|
+
data: b,
|
|
854
880
|
textField: "text",
|
|
855
881
|
dataItemKey: "value",
|
|
856
|
-
placeholder: l.toLanguageString(
|
|
857
|
-
value:
|
|
858
|
-
var
|
|
859
|
-
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);
|
|
860
886
|
}) || u,
|
|
861
|
-
onChange:
|
|
862
|
-
|
|
887
|
+
onChange: Tn,
|
|
888
|
+
allowCustom: !0,
|
|
889
|
+
...x
|
|
863
890
|
}
|
|
864
|
-
)), /* @__PURE__ */ e.createElement(
|
|
865
|
-
|
|
891
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisTitleColor", labelText: l.toLanguageString(Oa, n[Oa]) }, /* @__PURE__ */ e.createElement(
|
|
892
|
+
z,
|
|
866
893
|
{
|
|
867
894
|
id: "valueAxisTitleColor",
|
|
868
895
|
view: "gradient",
|
|
869
|
-
value: ((
|
|
896
|
+
value: ((Ue = (je = a.valueAxis[0]) == null ? void 0 : je.title) == null ? void 0 : Ue.color) || "",
|
|
870
897
|
onChange: Fn,
|
|
871
898
|
fillMode: "outline"
|
|
872
899
|
}
|
|
873
|
-
)))), /* @__PURE__ */ e.createElement(
|
|
874
|
-
|
|
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,
|
|
875
902
|
{
|
|
876
903
|
id: "valueAxisLabelsFormat",
|
|
877
|
-
data:
|
|
904
|
+
data: _,
|
|
878
905
|
textField: "text",
|
|
879
906
|
dataItemKey: "value",
|
|
880
|
-
defaultItem:
|
|
881
|
-
value:
|
|
882
|
-
var
|
|
883
|
-
return t.value === ((
|
|
884
|
-
}) ||
|
|
885
|
-
onChange:
|
|
886
|
-
...
|
|
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
|
|
887
914
|
}
|
|
888
|
-
)), /* @__PURE__ */ e.createElement(
|
|
889
|
-
|
|
915
|
+
)), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2", editorId: "valueAxisLabelsFont", labelText: l.toLanguageString(Ya, n[Ya]) }, /* @__PURE__ */ e.createElement(
|
|
916
|
+
k,
|
|
890
917
|
{
|
|
891
918
|
id: "valueAxisLabelsFont",
|
|
892
|
-
data:
|
|
919
|
+
data: A,
|
|
893
920
|
textField: "text",
|
|
894
921
|
dataItemKey: "value",
|
|
895
|
-
placeholder: l.toLanguageString(
|
|
896
|
-
value:
|
|
897
|
-
var
|
|
898
|
-
return t.value === ((
|
|
922
|
+
placeholder: l.toLanguageString(ja, n[ja]),
|
|
923
|
+
value: A.find((t) => {
|
|
924
|
+
var o, g, C;
|
|
925
|
+
return t.value === ((C = p(((g = (o = a.valueAxis[0]) == null ? void 0 : o.labels) == null ? void 0 : g.font) || "")) == null ? void 0 : C.name);
|
|
899
926
|
}) || u,
|
|
900
|
-
onChange:
|
|
901
|
-
itemRender:
|
|
902
|
-
...
|
|
927
|
+
onChange: wn,
|
|
928
|
+
itemRender: M,
|
|
929
|
+
...x
|
|
903
930
|
}
|
|
904
|
-
)), /* @__PURE__ */ e.createElement(
|
|
905
|
-
|
|
931
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsFontSize", labelText: l.toLanguageString(Ua, n[Ua]) }, /* @__PURE__ */ e.createElement(
|
|
932
|
+
k,
|
|
906
933
|
{
|
|
907
934
|
id: "valueAxisLabelsFontSize",
|
|
908
|
-
data:
|
|
935
|
+
data: b,
|
|
909
936
|
textField: "text",
|
|
910
937
|
dataItemKey: "value",
|
|
911
|
-
placeholder: l.toLanguageString(
|
|
912
|
-
value:
|
|
913
|
-
var
|
|
914
|
-
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);
|
|
915
942
|
}) || u,
|
|
916
|
-
onChange:
|
|
917
|
-
|
|
943
|
+
onChange: Nn,
|
|
944
|
+
allowCustom: !0,
|
|
945
|
+
...x
|
|
918
946
|
}
|
|
919
|
-
)), /* @__PURE__ */ e.createElement(
|
|
920
|
-
|
|
947
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsColor", labelText: l.toLanguageString(qa, n[qa]) }, /* @__PURE__ */ e.createElement(
|
|
948
|
+
z,
|
|
921
949
|
{
|
|
922
950
|
id: "valueAxisLabelsColor",
|
|
923
951
|
view: "gradient",
|
|
924
|
-
value: ((
|
|
925
|
-
onChange:
|
|
952
|
+
value: ((qe = ($e = a.valueAxis[0]) == null ? void 0 : $e.labels) == null ? void 0 : qe.color) || "",
|
|
953
|
+
onChange: zn,
|
|
926
954
|
fillMode: "outline"
|
|
927
955
|
}
|
|
928
|
-
)), /* @__PURE__ */ e.createElement(
|
|
929
|
-
|
|
956
|
+
)), /* @__PURE__ */ e.createElement(d, { editorId: "valueAxisLabelsRotation", labelText: l.toLanguageString(Ja, n[Ja]) }, /* @__PURE__ */ e.createElement(
|
|
957
|
+
B,
|
|
930
958
|
{
|
|
931
959
|
id: "valueAxisLabelsRotation",
|
|
932
|
-
value: typeof ((
|
|
933
|
-
placeholder: l.toLanguageString(
|
|
934
|
-
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,
|
|
935
963
|
fillMode: "outline",
|
|
936
964
|
min: -360,
|
|
937
965
|
max: 360,
|
|
@@ -941,7 +969,8 @@ const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-for
|
|
|
941
969
|
)))))
|
|
942
970
|
)
|
|
943
971
|
);
|
|
944
|
-
};
|
|
972
|
+
});
|
|
973
|
+
No.displayName = "ChartWizard";
|
|
945
974
|
export {
|
|
946
|
-
|
|
975
|
+
No as ChartWizard
|
|
947
976
|
};
|