@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.mjs CHANGED
@@ -7,270 +7,296 @@
7
7
  */
8
8
  "use client";
9
9
  import * as e from "react";
10
- import { Window as In } from "@progress/kendo-react-dialogs";
11
- import { Chart as Nn, ChartTitle as wn, ChartSubtitle as Pn, ChartArea as Vn, ChartCategoryAxis as Bn, ChartCategoryAxisItem as Mn, ChartValueAxis as Rn, ChartValueAxisItem as Dn, ChartSeries as Kn, ChartSeriesItem as On, ChartXAxis as Xn, ChartXAxisItem as Gn, ChartYAxis as Hn, ChartYAxisItem as Yn, ChartLegend as jn } from "@progress/kendo-react-charts";
12
- import { Splitter as Un, TabStrip as qn, TabStripTab as Y, ExpansionPanel as S, ExpansionPanelContent as v } from "@progress/kendo-react-layout";
13
- import { DropDownButton as Jn } from "@progress/kendo-react-buttons";
14
- import { exportIcon as Qn, filePdfIcon as Zn, fileIcon as _n, fileImageIcon as $n, chartBarClusteredIcon as er, chartBarStackedIcon as tr, chartBarStacked100Icon as ar, chartPieIcon as lr, chartColumnClusteredIcon as nr, chartColumnStackedIcon as rr, chartColumnStacked100Icon as or, chartLineIcon as ir, chartLineStackedIcon as cr, chartLineStacked100Icon as sr, chartScatterIcon as dr } from "@progress/kendo-svg-icons";
15
- import { Reveal as L } from "@progress/kendo-react-animation";
16
- import { DropDownList as B, ComboBox as E } from "@progress/kendo-react-dropdowns";
17
- import { SeriesGrid as gr } from "./SeriesGrid.mjs";
18
- import { NumericTextBox as M, ColorPicker as N, Input as j, Checkbox as Ze, Switch as ur } from "@progress/kendo-react-inputs";
19
- import { Label as Ja } from "@progress/kendo-react-labels";
20
- import { createInitialState as mr, mergeStates as z, createState as y, updateState as s, ActionTypes as c, isCategorical as _e, fontNames as A, parseFont as k, fontSizes as p } from "./chart-wizard-state.mjs";
21
- import { classNames as hr, SvgIcon as xr } from "@progress/kendo-react-common";
22
- import { FormElement as P, FieldWrapper as Cr } from "@progress/kendo-react-form";
23
- import { useLocalization as br } from "@progress/kendo-react-intl";
24
- import { chartWizardFormatTitleChartTitle as $e, messages as n, chartWizardFormatTitleChartSubtitle as et, chartWizardFormatLegendPositionTop as tt, chartWizardFormatLegendPositionBottom as at, chartWizardFormatLegendPositionLeft as lt, chartWizardFormatLegendPositionRight as nt, chartWizardFormatSeriesAllSeries as rt, chartWizardFormatValueAxisLabelsFormatText as ot, chartWizardFormatValueAxisLabelsFormatNumber as it, chartWizardFormatValueAxisLabelsFormatCurrency as ct, chartWizardFormatValueAxisLabelsFormatPercent as st, chartWizardWindowTitle as dt, chartWizardExportButton as gt, chartWizardExportPDFButton as ut, chartWizardExportSVGButton as mt, chartWizardExportPNGButton as ht, chartWizardTabChart as xt, chartWizardChartBarChart as Ct, chartWizardChartBarChartBar as bt, chartWizardChartBarChartStackedBar as St, chartWizardChartBarChart100StackedBar as vt, chartWizardChartPieChart as Lt, chartWizardChartPieChartPie as Et, chartWizardChartColumnChart as At, chartWizardChartColumnChartColumn as kt, chartWizardChartColumnChartStackedColumn as pt, chartWizardChartColumnChart100StackedColumn as Ft, chartWizardChartLineChart as ft, chartWizardChartLineChartLine as zt, chartWizardChartLineChartStackedLine as yt, chartWizardChartLineChart100StackedLine as Tt, chartWizardChartScatterChart as Wt, chartWizardChartScatterChartScatter as It, chartWizardTabData as Nt, chartWizardDataConfiguration as wt, chartWizardDataConfigurationXAxis as Pt, chartWizardDataConfigurationCategoryAxis as Vt, chartWizardDataConfigurationSeries as Bt, chartWizardDataConfigurationValueAxis as Mt, chartWizardTabFormat as Rt, chartWizardFormatChartArea as Dt, chartWizardFormatChartAreaMargins as Kt, chartWizardFormatChartAreaMarginsLeft as Ot, chartWizardFormatChartAreaMarginsAuto as w, chartWizardFormatChartAreaMarginsRight as Xt, chartWizardFormatChartAreaMarginsTop as Gt, chartWizardFormatChartAreaMarginsBottom as Ht, chartWizardFormatChartAreaBackground as Yt, chartWizardFormatChartAreaBackgroundColor as jt, chartWizardFormatTitle as Ut, chartWizardFormatTitleApplyTo as qt, chartWizardFormatTitleLabel as Jt, chartWizardFormatTitleFont as Qt, chartWizardFormatTitleFontPlaceholder as Zt, chartWizardFormatTitleSize as _t, chartWizardFormatTitleSizePlaceholder as $t, chartWizardFormatTitleColor as ea, chartWizardFormatSeries as ta, chartWizardFormatSeriesApplyTo as aa, chartWizardFormatSeriesColor as la, chartWizardFormatSeriesShowLabels as na, chartWizardFormatLegend as ra, chartWizardFormatLegendShowLegend as oa, chartWizardFormatLegendFont as ia, chartWizardFormatLegendFontPlaceholder as ca, chartWizardFormatLegendSize as sa, chartWizardFormatLegendSizePlaceholder as da, chartWizardFormatLegendColor as ga, chartWizardFormatLegendPosition as ua, chartWizardFormatXAxis as ma, chartWizardFormatCategoryAxis as ha, chartWizardFormatCategoryAxisTitle as xa, chartWizardFormatCategoryAxisTitlePlaceholder as Ca, chartWizardFormatCategoryAxisTitleFont as ba, chartWizardFormatCategoryAxisTitleFontPlaceholder as Sa, chartWizardFormatCategoryAxisTitleSize as va, chartWizardFormatCategoryAxisTitleSizePlaceholder as La, chartWizardFormatCategoryAxisTitleColor as Ea, chartWizardFormatCategoryAxisLabels as Aa, chartWizardFormatCategoryAxisLabelsFont as ka, chartWizardFormatCategoryAxisLabelsFontPlaceholder as pa, chartWizardFormatCategoryAxisLabelsSize as Fa, chartWizardFormatCategoryAxisLabelsSizePlaceholder as fa, chartWizardFormatCategoryAxisLabelsColor as za, chartWizardFormatCategoryAxisLabelsRotation as ya, chartWizardFormatCategoryAxisLabelsRotationAuto as Ta, chartWizardFormatCategoryAxisLabelsReverseOrder as Wa, chartWizardFormatYAxis as Ia, chartWizardFormatValueAxis as Na, chartWizardFormatValueAxisTitle as wa, chartWizardFormatValueAxisTitlePlaceholder as Pa, chartWizardFormatValueAxisTitleFont as Va, chartWizardFormatValueAxisTitleFontPlaceholder as Ba, chartWizardFormatValueAxisTitleSize as Ma, chartWizardFormatValueAxisTitleSizePlaceholder as Ra, chartWizardFormatValueAxisTitleColor as Da, chartWizardFormatValueAxisLabels as Ka, chartWizardFormatValueAxisLabelsFormat as Oa, chartWizardFormatValueAxisLabelsFont as Xa, chartWizardFormatValueAxisLabelsFontPlaceholder as Ga, chartWizardFormatValueAxisLabelsSize as Ha, chartWizardFormatValueAxisLabelsSizePlaceholder as Ya, chartWizardFormatValueAxisLabelsColor as ja, chartWizardFormatValueAxisLabelsRotation as Ua, chartWizardFormatValueAxisLabelsRotationAuto as qa } from "./messages.mjs";
25
- import { ExportEvent as Sr, resolveExportOptions as vr, handlePDFExport as Lr, handleSVGExport as Er, handleImageExport as Ar } from "./export.mjs";
26
- const I = (o) => /* @__PURE__ */ e.createElement("fieldset", { className: "k-form-fieldset" }, o.legend && /* @__PURE__ */ e.createElement("legend", { className: "k-form-legend" }, o.legend), o.children), g = (o) => /* @__PURE__ */ e.createElement(Cr, { className: o.className }, o.labelText && o.editorId && /* @__PURE__ */ e.createElement(Ja, { className: "k-form-label", editorId: o.editorId }, o.labelText), /* @__PURE__ */ e.createElement("div", { className: "k-form-field-wrap" }, o.children)), u = { value: null, text: "" }, V = (o, l) => l.dataItem.style ? e.cloneElement(o, o.props, /* @__PURE__ */ e.createElement("span", { style: l.dataItem.style }, o.props.children)) : o, T = (o) => /* @__PURE__ */ e.createElement("div", { className: hr("k-icon-text-wrapper", { "k-selected": o.selected }), onClick: o.onClick }, /* @__PURE__ */ e.createElement("div", { className: "k-icon-background-area", tabIndex: 0 }, /* @__PURE__ */ e.createElement(xr, { icon: o.icon, size: "xlarge", className: "k-svg-i-chart-bar-clustered" })), o.children), h = {
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
- }, U = { type: "normal" }, q = { type: "100%" }, Dr = (o) => {
32
- var de, ge, ue, me, he, xe, Ce, be, Se, ve, Le, Ee, Ae, ke, pe, Fe, fe, ze, ye, Te, We, Ie, Ne, we, Pe, Ve, Be, Me, Re, De, Ke, Oe, Xe, Ge, He, Ye, je, Ue, qe, Je, Qe;
33
- const l = br(), F = [
34
- { value: "chartTitle", text: l.toLanguageString($e, n[$e]) },
35
- { value: "chartSubtitle", text: l.toLanguageString(et, n[et]) }
36
- ], J = [
37
- { value: "top", text: l.toLanguageString(tt, n[tt]) },
38
- { value: "bottom", text: l.toLanguageString(at, n[at]) },
39
- { value: "left", text: l.toLanguageString(lt, n[lt]) },
40
- { value: "right", text: l.toLanguageString(nt, n[nt]) }
41
- ], K = {
42
- name: l.toLanguageString(rt, n[rt])
43
- }, Q = {
44
- text: l.toLanguageString(ot, n[ot]),
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
- }, Z = [
47
- { value: "n0", text: l.toLanguageString(it, n[it]) },
48
- { value: "c0", text: l.toLanguageString(ct, n[ct]) },
49
- { value: "p0", text: l.toLanguageString(st, n[st]) }
50
- ], O = e.useRef(null), Qa = e.useCallback((t) => {
51
- var r;
52
- if (O.current) {
53
- const d = new Sr(O.current, vr(o.exportOptions));
54
- (r = o.onExport) == null || r.call(o, d), d.isDefaultPrevented() || t.item.exportHandler.call(void 0, d);
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
- }, [o.exportOptions]), [Za, _a] = e.useState({ width: 700, height: 550 }), [$a, el] = e.useState("DEFAULT"), tl = e.useCallback((t) => {
57
- _a({ width: t.width, height: t.height });
58
- }, []), al = e.useCallback((t) => {
59
- el(t.state);
60
- }, []), [ll, nl] = e.useState([{ collapsible: !1 }, { size: "300px", collapsible: !1 }]), rl = e.useCallback((t) => {
61
- nl(t.newState);
62
- }, []), [_, ol] = e.useState(!0), il = e.useCallback((t) => {
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
- }, []), [ee, dl] = e.useState(!0), gl = e.useCallback((t) => {
75
+ }, []), [te, dl] = e.useState(!0), ul = e.useCallback((t) => {
67
76
  dl(!t.expanded);
68
- }, []), [te, ul] = e.useState(!0), ml = e.useCallback((t) => {
69
- ul(!t.expanded);
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, Sl] = e.useState(!0), vl = e.useCallback((t) => {
75
- Sl(!t.expanded);
76
- }, []), [re, Ll] = e.useState(!0), El = e.useCallback((t) => {
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
- }, []), [oe, Al] = e.useState(!0), kl = e.useCallback((t) => {
79
- Al(!t.expanded);
80
- }, []), [ie, pl] = e.useState(!0), Fl = e.useCallback((t) => {
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, fl] = e.useState(!0), zl = e.useCallback((t) => {
83
- fl(!t.expanded);
84
- }, []), [se, yl] = e.useState(!0), Tl = e.useCallback((t) => {
85
- yl(!t.expanded);
86
- }, []), [Wl, Il] = e.useState(0), Nl = e.useCallback((t) => {
87
- Il(t.selected);
88
- }, []), [a, i] = e.useState(mr(o.data, "bar", o.defaultState)), [C, b] = e.useState(""), wl = e.useCallback((t) => {
89
- const r = t.target.value.name;
90
- b(r === K.name ? "" : r);
91
- }, []), Pl = e.useCallback(() => {
92
- i(z(a, y(o.data, "bar"))), b("");
93
- }, [a, o.data]), Vl = e.useCallback(() => {
94
- const t = z(a, y(o.data, "bar"));
95
- i(s(t, c.stacked, U)), b("");
96
- }, [a, o.data]), Bl = e.useCallback(() => {
97
- const t = z(a, y(o.data, "bar"));
98
- i(s(t, c.stacked, q)), b("");
99
- }, [a, o.data]), Ml = e.useCallback(() => {
100
- i(z(a, y(o.data, "column"))), b("");
101
- }, [a, o.data]), Rl = e.useCallback(() => {
102
- const t = z(a, y(o.data, "column"));
103
- i(s(t, c.stacked, U)), b("");
104
- }, [a, o.data]), Dl = e.useCallback(() => {
105
- const t = z(a, y(o.data, "column"));
106
- i(s(t, c.stacked, q)), b("");
107
- }, [a, o.data]), Kl = e.useCallback(() => {
108
- i(z(a, y(o.data, "line"))), b("");
109
- }, [a, o.data]), Ol = e.useCallback(() => {
110
- const t = z(a, y(o.data, "line"));
111
- i(s(t, c.stacked, U)), b("");
112
- }, [a, o.data]), Xl = e.useCallback(() => {
113
- const t = z(a, y(o.data, "line"));
114
- i(s(t, c.stacked, q)), b("");
115
- }, [a, o.data]), Gl = e.useCallback(() => {
116
- i(z(a, y(o.data, "pie"))), b("");
117
- }, [a, o.data]), Hl = e.useCallback(() => {
118
- i(z(a, y(o.data, "scatter"))), b("");
119
- }, [a, o.data]), Yl = e.useCallback((t) => {
120
- i(s(a, c.categoryAxisX, t.target.value));
121
- }, [a]), jl = e.useCallback((t) => {
122
- i(s(a, c.seriesChange, t));
123
- }, [a]), Ul = e.useCallback((t) => {
124
- i(s(a, c.valueAxisY, t.target.value));
125
- }, [a]), ql = e.useCallback((t) => {
126
- i(s(a, c.areaMarginLeft, t.target.value));
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(s(a, c.areaMarginRight, t.target.value));
147
+ i(c(a, s.seriesChange, t));
129
148
  }, [a]), Ql = e.useCallback((t) => {
130
- i(s(a, c.areaMarginTop, t.target.value));
149
+ i(c(a, s.valueAxisY, t.target.value));
131
150
  }, [a]), Zl = e.useCallback((t) => {
132
- i(s(a, c.areaMarginBottom, t.target.value));
133
- }, [a]), W = a.area.margin, _l = e.useCallback((t) => {
134
- i(s(a, c.areaBackground, t.value));
135
- }, [a]), [f, $l] = e.useState(F[0]), en = e.useCallback((t) => {
136
- $l(t.target.value);
137
- }, []), tn = e.useCallback((t) => {
138
- const r = f.value === F[0].value ? c.titleText : c.subtitleText;
139
- i(s(a, r, t.target.value));
140
- }, [a, f]), an = e.useCallback((t) => {
141
- const r = f.value === F[0].value ? c.titleFontName : c.subtitleFontName, d = t.target.value || u;
142
- i(s(a, r, d.value));
143
- }, [a, f]), ln = e.useCallback((t) => {
144
- const r = f.value === F[0].value ? c.titleFontSize : c.subtitleFontSize, d = t.target.value || u;
145
- i(s(a, r, d.value));
146
- }, [a, f]), nn = e.useCallback((t) => {
147
- const r = f.value === F[0].value ? c.titleColor : c.subtitleColor;
148
- i(s(a, r, t.value));
149
- }, [a, f]), D = (f.value === F[0].value ? a.title : a.subtitle) || { text: "", font: "", color: "" }, rn = e.useCallback((t) => {
150
- C && i(s(a, c.seriesColor, { seriesName: C, color: t.value }));
151
- }, [a, C]), on = e.useCallback((t) => {
152
- i(s(a, c.seriesLabel, { seriesName: C, all: !C, visible: t.value }));
153
- }, [a, C]), cn = e.useCallback((t) => {
154
- i(s(a, c.legendVisible, t.value));
155
- }, [a]), sn = e.useCallback((t) => {
156
- const r = t.target.value || u;
157
- i(s(a, c.legendFontSize, r.value));
158
- }, [a]), dn = e.useCallback((t) => {
159
- const r = t.target.value || u;
160
- i(s(a, c.legendFontName, r.value));
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
- i(s(a, c.categoryAxisTitleText, t.target.value));
168
- }, [a]), hn = e.useCallback((t) => {
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 r = t.target.value || u;
173
- i(s(a, c.categoryAxisTitleFontName, r.value));
184
+ const o = t.target.value || u;
185
+ i(c(a, s.legendFontName, o.value));
174
186
  }, [a]), Cn = e.useCallback((t) => {
175
- i(s(a, c.categoryAxisTitleColor, t.value));
187
+ i(c(a, s.legendColor, t.value));
176
188
  }, [a]), bn = e.useCallback((t) => {
177
- const r = t.target.value || u;
178
- i(s(a, c.categoryAxisLabelsFontSize, r.value));
179
- }, [a]), Sn = e.useCallback((t) => {
180
- const r = t.target.value || u;
181
- i(s(a, c.categoryAxisLabelsFontName, r.value));
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
- i(s(a, c.categoryAxisLabelsColor, t.value));
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
- i(s(a, c.categoryAxisLabelsRotation, t.target.value));
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
- i(s(a, c.categoryAxisReverseOrder, t.value));
188
- }, [a]), An = e.useCallback((t) => {
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
- const r = t.target.value || u;
192
- i(s(a, c.valueAxisTitleFontSize, r.value));
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
- const r = t.target.value || u;
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(s(a, c.valueAxisLabelsColor, t.value));
214
+ i(c(a, s.valueAxisTitleText, t.target.value));
206
215
  }, [a]), Tn = e.useCallback((t) => {
207
- i(s(a, c.valueAxisLabelsRotation, t.target.value));
208
- }, [a]), Wn = e.useCallback((t) => {
209
- const r = t.target.value;
210
- i(s(a, c.valueAxisLabelsFormat, r.value));
211
- }, [a]), m = a.seriesType, R = typeof ((de = a.series[0]) == null ? void 0 : de.stack) == "object" ? (ge = a.series[0]) == null ? void 0 : ge.stack : !1, X = R === !1, G = R && R.type === "normal", H = R && R.type === "100%";
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
- In,
238
+ Mn,
214
239
  {
215
- title: l.toLanguageString(dt, n[dt]),
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: o.onClose,
221
- onResize: tl,
222
- stage: $a,
223
- onStageChange: al,
224
- ...Za
245
+ onClose: r.onClose,
246
+ onResize: nl,
247
+ stage: al,
248
+ onStageChange: ol,
249
+ ...el
225
250
  },
226
251
  /* @__PURE__ */ e.createElement(
227
- Un,
252
+ Qn,
228
253
  {
229
- panes: ll,
230
- onChange: rl,
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
- Jn,
259
+ _n,
235
260
  {
236
- text: l.toLanguageString(gt, n[gt]),
261
+ text: l.toLanguageString(xt, n[xt]),
237
262
  fillMode: "flat",
238
- svgIcon: Qn,
239
- onItemClick: Qa,
263
+ svgIcon: eo,
264
+ icon: "export",
265
+ onItemClick: _a,
240
266
  items: [
241
- { svgIcon: Zn, exportHandler: Lr, text: l.toLanguageString(ut, n[ut]) },
242
- { svgIcon: _n, exportHandler: Er, text: l.toLanguageString(mt, n[mt]) },
243
- { svgIcon: $n, exportHandler: Ar, text: l.toLanguageString(ht, n[ht]) }
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
- Nn,
273
+ Rn,
248
274
  {
249
275
  style: { width: "100%", height: "100%" },
250
276
  transitions: !1,
251
- ref: O
277
+ ref: H
252
278
  },
253
279
  /* @__PURE__ */ e.createElement(
254
- wn,
280
+ Bn,
255
281
  {
256
- text: (ue = a.title) == null ? void 0 : ue.text,
257
- font: (me = a.title) == null ? void 0 : me.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
- Pn,
288
+ Wn,
263
289
  {
264
- text: (xe = a.subtitle) == null ? void 0 : xe.text,
265
- font: (Ce = a.subtitle) == null ? void 0 : Ce.font,
266
- color: ((be = a.subtitle) == null ? void 0 : be.color) || "#000"
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(Vn, { background: (Se = a.area) == null ? void 0 : Se.background, margin: W }),
270
- a.categoryAxis && /* @__PURE__ */ e.createElement(Bn, null, a.categoryAxis.map((t, r) => /* @__PURE__ */ e.createElement(
271
- Mn,
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: r,
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(Rn, null, a.valueAxis.map((t, r) => /* @__PURE__ */ e.createElement(
289
- Dn,
314
+ a.valueAxis && /* @__PURE__ */ e.createElement(On, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
315
+ Xn,
290
316
  {
291
- key: r,
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(Kn, null, a.series.map((t, r) => /* @__PURE__ */ e.createElement(
306
- On,
331
+ /* @__PURE__ */ e.createElement(Gn, null, a.series.map((t, o) => /* @__PURE__ */ e.createElement(
332
+ Yn,
307
333
  {
308
- key: String(t.name) + r,
334
+ key: String(t.name) + o,
309
335
  ...t
310
336
  }
311
337
  ))),
312
- /* @__PURE__ */ e.createElement(Xn, null, a.categoryAxis.map((t, r) => /* @__PURE__ */ e.createElement(
313
- Gn,
338
+ /* @__PURE__ */ e.createElement(jn, null, a.categoryAxis.map((t, o) => /* @__PURE__ */ e.createElement(
339
+ Un,
314
340
  {
315
- key: r,
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(Hn, null, a.valueAxis.map((t, r) => /* @__PURE__ */ e.createElement(
331
- Yn,
356
+ /* @__PURE__ */ e.createElement($n, null, a.valueAxis.map((t, o) => /* @__PURE__ */ e.createElement(
357
+ qn,
332
358
  {
333
- key: r,
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
- jn,
374
+ Jn,
349
375
  {
350
- visible: (ve = a.legend) == null ? void 0 : ve.visible,
351
- position: (Le = a.legend) == null ? void 0 : Le.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: ((Ae = (Ee = a.legend) == null ? void 0 : Ee.labels) == null ? void 0 : Ae.color) || void 0,
354
- font: ((pe = (ke = a.legend) == null ? void 0 : ke.labels) == null ? void 0 : pe.font) || void 0
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(qn, { selected: Wl, onSelect: Nl, animation: !1 }, /* @__PURE__ */ e.createElement(Y, { title: l.toLanguageString(xt, n[xt]) }, /* @__PURE__ */ e.createElement("div", null, /* @__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(Ct, n[Ct]),
364
- expanded: _,
389
+ title: l.toLanguageString(vt, n[vt]),
390
+ expanded: ee,
365
391
  tabIndex: 0,
366
- onAction: il
392
+ onAction: gl
367
393
  },
368
- /* @__PURE__ */ e.createElement(L, null, _ && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(T, { selected: m === "bar" && X, onClick: Pl, icon: er }, l.toLanguageString(bt, n[bt])), /* @__PURE__ */ e.createElement(T, { selected: m === "bar" && G, onClick: Vl, icon: tr }, l.toLanguageString(St, n[St])), /* @__PURE__ */ e.createElement(T, { selected: m === "bar" && H, onClick: Bl, icon: ar }, l.toLanguageString(vt, n[vt])))))
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(Lt, n[Lt]),
374
- expanded: $,
399
+ title: l.toLanguageString(kt, n[kt]),
400
+ expanded: te,
375
401
  tabIndex: 0,
376
- onAction: sl
402
+ onAction: ul
377
403
  },
378
- /* @__PURE__ */ e.createElement(L, null, $ && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(T, { selected: m === "pie", onClick: Gl, icon: lr }, l.toLanguageString(Et, n[Et])))))
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(At, n[At]),
384
- expanded: ee,
409
+ title: l.toLanguageString(pt, n[pt]),
410
+ expanded: ae,
385
411
  tabIndex: 0,
386
- onAction: gl
412
+ onAction: xl
387
413
  },
388
- /* @__PURE__ */ e.createElement(L, null, ee && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(T, { selected: m === "column" && X, onClick: Ml, icon: nr }, l.toLanguageString(kt, n[kt])), /* @__PURE__ */ e.createElement(T, { selected: m === "column" && G, onClick: Rl, icon: rr }, l.toLanguageString(pt, n[pt])), /* @__PURE__ */ e.createElement(T, { selected: m === "column" && H, onClick: Dl, icon: or }, l.toLanguageString(Ft, n[Ft])))))
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(ft, n[ft]),
394
- expanded: te,
419
+ title: l.toLanguageString(Ft, n[Ft]),
420
+ expanded: le,
395
421
  tabIndex: 0,
396
- onAction: ml
422
+ onAction: bl
397
423
  },
398
- /* @__PURE__ */ e.createElement(L, null, te && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(T, { selected: m === "line" && X, onClick: Kl, icon: ir }, l.toLanguageString(zt, n[zt])), /* @__PURE__ */ e.createElement(T, { selected: m === "line" && G, onClick: Ol, icon: cr }, l.toLanguageString(yt, n[yt])), /* @__PURE__ */ e.createElement(T, { selected: m === "line" && H, onClick: Xl, icon: sr }, l.toLanguageString(Tt, n[Tt])))))
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(Wt, n[Wt]),
404
- expanded: ae,
429
+ title: l.toLanguageString(Pt, n[Pt]),
430
+ expanded: ne,
405
431
  tabIndex: 0,
406
- onAction: xl
432
+ onAction: fl
407
433
  },
408
- /* @__PURE__ */ e.createElement(L, null, ae && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement("div", { className: "k-chart-types-wrapper" }, /* @__PURE__ */ e.createElement(T, { selected: m === "scatter", onClick: Hl, icon: dr }, l.toLanguageString(It, n[It])))))
409
- ))), /* @__PURE__ */ e.createElement(Y, { title: l.toLanguageString(Nt, n[Nt]) }, /* @__PURE__ */ e.createElement("div", null, /* @__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(wt, n[wt]),
414
- expanded: le,
439
+ title: l.toLanguageString(Rt, n[Rt]),
440
+ expanded: oe,
415
441
  tabIndex: 0,
416
- onAction: bl
442
+ onAction: Sl
417
443
  },
418
- /* @__PURE__ */ e.createElement(L, null, le && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(
419
- I,
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(Pt, n[Pt]) : l.toLanguageString(Vt, n[Vt])
447
+ legend: m === "scatter" ? l.toLanguageString(Bt, n[Bt]) : l.toLanguageString(Wt, n[Wt])
422
448
  },
423
449
  /* @__PURE__ */ e.createElement(
424
- B,
450
+ R,
425
451
  {
426
452
  data: a.columns || [],
427
453
  value: a.categoryField,
428
- onChange: Yl,
429
- ...h
454
+ onChange: ql,
455
+ ...x
430
456
  }
431
457
  )
432
- ), _e(m) && /* @__PURE__ */ e.createElement(I, { legend: l.toLanguageString(Bt, n[Bt]) }, /* @__PURE__ */ e.createElement(
433
- gr,
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: jl
463
+ onChange: Jl
438
464
  }
439
- )), m === "pie" && /* @__PURE__ */ e.createElement(I, { legend: l.toLanguageString(Mt, n[Mt]) }, /* @__PURE__ */ e.createElement(
440
- B,
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
- ...h,
445
- onChange: Ul
470
+ ...x,
471
+ onChange: Ql
446
472
  }
447
473
  )))))
448
- ))), /* @__PURE__ */ e.createElement(Y, { title: l.toLanguageString(Rt, n[Rt]) }, /* @__PURE__ */ e.createElement("div", null, /* @__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(Dt, n[Dt]),
453
- expanded: ne,
478
+ title: l.toLanguageString(Ot, n[Ot]),
479
+ expanded: re,
454
480
  tabIndex: 0,
455
- onAction: vl
481
+ onAction: El
456
482
  },
457
- /* @__PURE__ */ e.createElement(L, null, ne && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(I, { legend: l.toLanguageString(Kt, n[Kt]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(g, { labelText: l.toLanguageString(Ot, n[Ot]), editorId: "left" }, /* @__PURE__ */ e.createElement(
458
- M,
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: W.left !== void 0 ? W.left : null,
462
- onChange: ql,
463
- placeholder: l.toLanguageString(w, n[w]),
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(g, { labelText: l.toLanguageString(Xt, n[Xt]), editorId: "right" }, /* @__PURE__ */ e.createElement(
470
- M,
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: W.right !== void 0 ? W.right : null,
474
- onChange: Jl,
475
- placeholder: l.toLanguageString(w, n[w]),
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(g, { labelText: l.toLanguageString(Gt, n[Gt]), editorId: "top" }, /* @__PURE__ */ e.createElement(
482
- M,
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: W.top !== void 0 ? W.top : null,
486
- onChange: Ql,
487
- placeholder: l.toLanguageString(w, n[w]),
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(g, { labelText: l.toLanguageString(Ht, n[Ht]), editorId: "bottom" }, /* @__PURE__ */ e.createElement(
494
- M,
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: W.bottom !== void 0 ? W.bottom : null,
498
- onChange: Zl,
499
- placeholder: l.toLanguageString(w, n[w]),
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(I, { legend: l.toLanguageString(Yt, n[Yt]) }, /* @__PURE__ */ e.createElement(g, { labelText: l.toLanguageString(jt, n[jt]), editorId: "background" }, /* @__PURE__ */ e.createElement(
506
- N,
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: ((Fe = a.area) == null ? void 0 : Fe.background) || "",
510
- onChange: _l,
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(Ut, n[Ut]),
520
- expanded: re,
545
+ title: l.toLanguageString(Jt, n[Jt]),
546
+ expanded: ie,
521
547
  tabIndex: 0,
522
- onAction: El
548
+ onAction: Al
523
549
  },
524
- /* @__PURE__ */ e.createElement(L, null, re && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2", editorId: "apply-to-title", labelText: l.toLanguageString(qt, n[qt]) }, /* @__PURE__ */ e.createElement(
525
- B,
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: F,
554
+ data: h,
529
555
  textField: "text",
530
556
  dataItemKey: "value",
531
- value: F.find((t) => t.value === f.value),
532
- onChange: en,
533
- ...h
557
+ value: h.find((t) => t.value === y.value),
558
+ onChange: nn,
559
+ ...x
534
560
  }
535
- )), /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2", editorId: "titleText", labelText: l.toLanguageString(Jt, n[Jt]) }, /* @__PURE__ */ e.createElement(
536
- j,
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: f.value === F[0].value ? F[0].text : F[1].text,
540
- value: D.text,
541
- onChange: tn,
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(g, { className: "k-col-span-2", editorId: "titleFont", labelText: l.toLanguageString(Qt, n[Qt]) }, /* @__PURE__ */ e.createElement(
545
- E,
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(Zt, n[Zt]),
552
- value: A.find((t) => t.value === k(D.font).name) || u,
553
- onChange: an,
554
- itemRender: V,
555
- ...h
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(g, { editorId: "titleFontSize", labelText: l.toLanguageString(_t, n[_t]) }, /* @__PURE__ */ e.createElement(
558
- E,
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: p,
586
+ data: b,
562
587
  textField: "text",
563
588
  dataItemKey: "value",
564
- placeholder: l.toLanguageString($t, n[$t]),
565
- value: p.find((t) => t.value === k(D.font).size) || u,
566
- onChange: ln,
567
- itemRender: V,
568
- ...h
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(g, { editorId: "titleColor", labelText: l.toLanguageString(ea, n[ea]) }, /* @__PURE__ */ e.createElement(
571
- N,
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: D.color || "",
575
- onChange: nn,
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(ta, n[ta]),
585
- expanded: oe,
610
+ title: l.toLanguageString(na, n[na]),
611
+ expanded: se,
586
612
  tabIndex: 0,
587
- onAction: kl
613
+ onAction: yl
588
614
  },
589
- /* @__PURE__ */ e.createElement(L, null, oe && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(g, { editorId: "apply-to-series", labelText: l.toLanguageString(aa, n[aa]) }, /* @__PURE__ */ e.createElement(
590
- B,
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: K,
597
- disabled: !_e(m),
598
- value: a.series.find((t) => t.name === C) || K,
599
- onChange: wl,
600
- ...h
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(g, { editorId: "seriesColor", labelText: l.toLanguageString(la, n[la]) }, /* @__PURE__ */ e.createElement(
603
- N,
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: C ? (fe = a.series.find((t) => t.name === C)) == null ? void 0 : fe.color : "",
607
- onChange: rn,
608
- disabled: !C,
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(g, null, /* @__PURE__ */ e.createElement(
613
- Ze,
638
+ )), /* @__PURE__ */ e.createElement(d, null, /* @__PURE__ */ e.createElement(
639
+ et,
614
640
  {
615
- label: l.toLanguageString(na, n[na]),
616
- checked: C ? (ye = (ze = a.series.find((t) => t.name === C)) == null ? void 0 : ze.labels) == null ? void 0 : ye.visible : a.series.every((t) => {
617
- var r;
618
- return (r = t.labels) == null ? void 0 : r.visible;
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: on
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(ra, n[ra]),
628
- expanded: ie,
653
+ title: l.toLanguageString(sa, n[sa]),
654
+ expanded: ce,
629
655
  tabIndex: 0,
630
- onAction: Fl
656
+ onAction: Il
631
657
  },
632
- /* @__PURE__ */ e.createElement(L, null, ie && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(Ja, { editorId: "show-legend" }, l.toLanguageString(oa, n[oa])), /* @__PURE__ */ e.createElement(
633
- ur,
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: (Te = a.legend) == null ? void 0 : Te.visible,
637
- onChange: cn
662
+ checked: (ze = a.legend) == null ? void 0 : ze.visible,
663
+ onChange: un
638
664
  }
639
- ), /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2", editorId: "legendLabelsFont", labelText: l.toLanguageString(ia, n[ia]) }, /* @__PURE__ */ e.createElement(
640
- E,
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(ca, n[ca]),
672
+ placeholder: l.toLanguageString(da, n[da]),
647
673
  value: A.find((t) => {
648
- var r, d, x;
649
- return t.value === ((x = k(((d = (r = a.legend) == null ? void 0 : r.labels) == null ? void 0 : d.font) || "")) == null ? void 0 : x.name);
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: dn,
652
- itemRender: V,
653
- disabled: ((We = a.legend) == null ? void 0 : We.visible) === !1,
654
- ...h
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(g, { editorId: "legendLabelsSize", labelText: l.toLanguageString(sa, n[sa]) }, /* @__PURE__ */ e.createElement(
657
- E,
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: p,
686
+ data: b,
661
687
  textField: "text",
662
688
  dataItemKey: "value",
663
- placeholder: l.toLanguageString(da, n[da]),
664
- value: p.find((t) => {
665
- var r, d, x;
666
- return t.value === ((x = k(((d = (r = a.legend) == null ? void 0 : r.labels) == null ? void 0 : d.font) || "")) == null ? void 0 : x.size);
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: sn,
669
- disabled: ((Ie = a.legend) == null ? void 0 : Ie.visible) === !1,
670
- ...h
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(g, { editorId: "legendLabelsColor", labelText: l.toLanguageString(ga, n[ga]) }, /* @__PURE__ */ e.createElement(
673
- N,
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: ((we = (Ne = a.legend) == null ? void 0 : Ne.labels) == null ? void 0 : we.color) || "",
677
- onChange: gn,
678
- disabled: ((Pe = a.legend) == null ? void 0 : Pe.visible) === !1,
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(g, { className: "k-col-span-2", editorId: "legendPosition", labelText: l.toLanguageString(ua, n[ua]) }, /* @__PURE__ */ e.createElement(
683
- B,
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: J,
713
+ data: Q,
687
714
  textField: "text",
688
715
  dataItemKey: "value",
689
- value: J.find((t) => {
690
- var r;
691
- return t.value === ((r = a.legend) == null ? void 0 : r.position);
716
+ value: Q.find((t) => {
717
+ var o;
718
+ return t.value === ((o = a.legend) == null ? void 0 : o.position);
692
719
  }),
693
- onChange: un,
694
- disabled: ((Ve = a.legend) == null ? void 0 : Ve.visible) === !1,
695
- ...h
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(ma, n[ma]) : l.toLanguageString(ha, n[ha]),
703
- expanded: ce,
729
+ title: m === "scatter" ? l.toLanguageString(ba, n[ba]) : l.toLanguageString(ha, n[ha]),
730
+ expanded: ge,
704
731
  tabIndex: 0,
705
- onAction: zl
732
+ onAction: Nl
706
733
  },
707
- /* @__PURE__ */ e.createElement(L, null, ce && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(I, { 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(g, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
708
- j,
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(Ca, n[Ca]),
711
- value: ((Be = a.categoryAxis[0].title) == null ? void 0 : Be.text) || "",
712
- onChange: mn,
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(g, { className: "k-col-span-2", editorId: "categoryAxisTitleFont", labelText: l.toLanguageString(ba, n[ba]) }, /* @__PURE__ */ e.createElement(
716
- E,
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: V,
723
- placeholder: l.toLanguageString(Sa, n[Sa]),
748
+ itemRender: M,
749
+ placeholder: l.toLanguageString(La, n[La]),
724
750
  value: A.find((t) => {
725
- var r, d;
726
- return t.value === ((d = k(((r = a.categoryAxis[0].title) == null ? void 0 : r.font) || "")) == null ? void 0 : d.name);
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: xn,
729
- ...h
754
+ onChange: vn,
755
+ ...x
730
756
  }
731
- )), /* @__PURE__ */ e.createElement(g, { editorId: "categoryAxisTitleFontSize", labelText: l.toLanguageString(va, n[va]) }, /* @__PURE__ */ e.createElement(
732
- E,
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: p,
761
+ data: b,
736
762
  textField: "text",
737
763
  dataItemKey: "value",
738
- placeholder: l.toLanguageString(La, n[La]),
739
- value: p.find((t) => {
740
- var r, d;
741
- return t.value === ((d = k(((r = a.categoryAxis[0].title) == null ? void 0 : r.font) || "")) == null ? void 0 : d.size);
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: hn,
744
- ...h
769
+ onChange: fn,
770
+ allowCustom: !0,
771
+ ...x
745
772
  }
746
- )), /* @__PURE__ */ e.createElement(g, { editorId: "categoryAxisTitleColor", labelText: l.toLanguageString(Ea, n[Ea]) }, /* @__PURE__ */ e.createElement(
747
- N,
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: ((Me = a.categoryAxis[0].title) == null ? void 0 : Me.color) || "",
752
- onChange: Cn,
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(I, { legend: l.toLanguageString(Aa, n[Aa]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2", editorId: "categoryAxisLabelsFont", labelText: l.toLanguageString(ka, n[ka]) }, /* @__PURE__ */ e.createElement(
756
- E,
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(pa, n[pa]),
789
+ placeholder: l.toLanguageString(Ta, n[Ta]),
763
790
  value: A.find((t) => {
764
- var r, d;
765
- return t.value === ((d = k(((r = a.categoryAxis[0].labels) == null ? void 0 : r.font) || "")) == null ? void 0 : d.name);
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: Sn,
768
- itemRender: V,
769
- ...h
794
+ onChange: En,
795
+ itemRender: M,
796
+ ...x
770
797
  }
771
- )), /* @__PURE__ */ e.createElement(g, { editorId: "categoryAxisLabelsFontSize", labelText: l.toLanguageString(Fa, n[Fa]) }, /* @__PURE__ */ e.createElement(
772
- E,
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: p,
802
+ data: b,
776
803
  textField: "text",
777
804
  dataItemKey: "value",
778
- placeholder: l.toLanguageString(fa, n[fa]),
779
- value: p.find((t) => {
780
- var r, d;
781
- return t.value === ((d = k(((r = a.categoryAxis[0].labels) == null ? void 0 : r.font) || "")) == null ? void 0 : d.size);
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: bn,
784
- ...h
810
+ onChange: Ln,
811
+ allowCustom: !0,
812
+ ...x
785
813
  }
786
- )), /* @__PURE__ */ e.createElement(g, { editorId: "categoryAxisLabelsColor", labelText: l.toLanguageString(za, n[za]) }, /* @__PURE__ */ e.createElement(
787
- N,
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: ((Re = a.categoryAxis[0].labels) == null ? void 0 : Re.color) || "",
792
- onChange: vn,
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(g, { editorId: "categoryAxisLabelsRotation", labelText: l.toLanguageString(ya, n[ya]) }, /* @__PURE__ */ e.createElement(
796
- M,
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 ((De = a.categoryAxis[0].labels) == null ? void 0 : De.rotation) == "number" ? (Ke = a.categoryAxis[0].labels) == null ? void 0 : Ke.rotation : null,
800
- placeholder: l.toLanguageString(Ta, n[Ta]),
801
- onChange: Ln,
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(g, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
808
- Ze,
835
+ )), /* @__PURE__ */ e.createElement(d, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
836
+ et,
809
837
  {
810
- label: l.toLanguageString(Wa, n[Wa]),
838
+ label: l.toLanguageString(Pa, n[Pa]),
811
839
  checked: a.categoryAxis[0].reverse || !1,
812
- onChange: En
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(Ia, n[Ia]) : l.toLanguageString(Na, n[Na]),
820
- expanded: se,
847
+ title: m === "scatter" ? l.toLanguageString(Va, n[Va]) : l.toLanguageString(Ma, n[Ma]),
848
+ expanded: de,
821
849
  tabIndex: 0,
822
- onAction: Tl
850
+ onAction: zl
823
851
  },
824
- /* @__PURE__ */ e.createElement(L, null, se && /* @__PURE__ */ e.createElement(v, null, /* @__PURE__ */ e.createElement(P, null, /* @__PURE__ */ e.createElement(I, { legend: l.toLanguageString(wa, n[wa]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2" }, /* @__PURE__ */ e.createElement(
825
- j,
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(Pa, n[Pa]),
828
- value: ((Xe = (Oe = a.valueAxis[0]) == null ? void 0 : Oe.title) == null ? void 0 : Xe.text) || "",
829
- onChange: An,
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(g, { className: "k-col-span-2", editorId: "valueAxisTitleFont", labelText: l.toLanguageString(Va, n[Va]) }, /* @__PURE__ */ e.createElement(
833
- E,
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: V,
840
- placeholder: l.toLanguageString(Ba, n[Ba]),
866
+ itemRender: M,
867
+ placeholder: l.toLanguageString(Ka, n[Ka]),
841
868
  value: A.find((t) => {
842
- var r, d, x;
843
- return t.value === ((x = k(((d = (r = a.valueAxis[0]) == null ? void 0 : r.title) == null ? void 0 : d.font) || "")) == null ? void 0 : x.name);
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: pn,
846
- ...h
872
+ onChange: In,
873
+ ...x
847
874
  }
848
- )), /* @__PURE__ */ e.createElement(g, { editorId: "valueAxisTitleFontSize", labelText: l.toLanguageString(Ma, n[Ma]) }, /* @__PURE__ */ e.createElement(
849
- E,
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: p,
879
+ data: b,
853
880
  textField: "text",
854
881
  dataItemKey: "value",
855
- placeholder: l.toLanguageString(Ra, n[Ra]),
856
- value: p.find((t) => {
857
- var r, d, x;
858
- return t.value === ((x = k(((d = (r = a.valueAxis[0]) == null ? void 0 : r.title) == null ? void 0 : d.font) || "")) == null ? void 0 : x.size);
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: kn,
861
- ...h
887
+ onChange: Tn,
888
+ allowCustom: !0,
889
+ ...x
862
890
  }
863
- )), /* @__PURE__ */ e.createElement(g, { editorId: "valueAxisTitleColor", labelText: l.toLanguageString(Da, n[Da]) }, /* @__PURE__ */ e.createElement(
864
- N,
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: ((He = (Ge = a.valueAxis[0]) == null ? void 0 : Ge.title) == null ? void 0 : He.color) || "",
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(I, { legend: l.toLanguageString(Ka, n[Ka]) }, /* @__PURE__ */ e.createElement("div", { className: "k-form-layout k-d-grid k-grid-cols-2 k-gap-x-4" }, /* @__PURE__ */ e.createElement(g, { className: "k-col-span-2", editorId: "valueAxisLabelsFormat", labelText: l.toLanguageString(Oa, n[Oa]) }, /* @__PURE__ */ e.createElement(
873
- B,
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: Z,
904
+ data: _,
877
905
  textField: "text",
878
906
  dataItemKey: "value",
879
- defaultItem: Q,
880
- value: Z.find((t) => {
881
- var r, d;
882
- return t.value === ((d = (r = a.valueAxis[0]) == null ? void 0 : r.labels) == null ? void 0 : d.format);
883
- }) || Q,
884
- onChange: Wn,
885
- ...h
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(g, { className: "k-col-span-2", editorId: "valueAxisLabelsFont", labelText: l.toLanguageString(Xa, n[Xa]) }, /* @__PURE__ */ e.createElement(
888
- E,
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(Ga, n[Ga]),
922
+ placeholder: l.toLanguageString(ja, n[ja]),
895
923
  value: A.find((t) => {
896
- var r, d, x;
897
- return t.value === ((x = k(((d = (r = a.valueAxis[0]) == null ? void 0 : r.labels) == null ? void 0 : d.font) || "")) == null ? void 0 : x.name);
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: zn,
900
- itemRender: V,
901
- ...h
927
+ onChange: wn,
928
+ itemRender: M,
929
+ ...x
902
930
  }
903
- )), /* @__PURE__ */ e.createElement(g, { editorId: "valueAxisLabelsFontSize", labelText: l.toLanguageString(Ha, n[Ha]) }, /* @__PURE__ */ e.createElement(
904
- E,
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: p,
935
+ data: b,
908
936
  textField: "text",
909
937
  dataItemKey: "value",
910
- placeholder: l.toLanguageString(Ya, n[Ya]),
911
- value: p.find((t) => {
912
- var r, d, x;
913
- return t.value === ((x = k(((d = (r = a.valueAxis[0]) == null ? void 0 : r.labels) == null ? void 0 : d.font) || "")) == null ? void 0 : x.size);
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: fn,
916
- ...h
943
+ onChange: Nn,
944
+ allowCustom: !0,
945
+ ...x
917
946
  }
918
- )), /* @__PURE__ */ e.createElement(g, { editorId: "valueAxisLabelsColor", labelText: l.toLanguageString(ja, n[ja]) }, /* @__PURE__ */ e.createElement(
919
- N,
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: ((je = (Ye = a.valueAxis[0]) == null ? void 0 : Ye.labels) == null ? void 0 : je.color) || "",
924
- onChange: yn,
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(g, { editorId: "valueAxisLabelsRotation", labelText: l.toLanguageString(Ua, n[Ua]) }, /* @__PURE__ */ e.createElement(
928
- M,
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 ((qe = (Ue = a.valueAxis[0]) == null ? void 0 : Ue.labels) == null ? void 0 : qe.rotation) == "number" ? (Qe = (Je = a.valueAxis[0]) == null ? void 0 : Je.labels) == null ? void 0 : Qe.rotation : null,
932
- placeholder: l.toLanguageString(qa, n[qa]),
933
- onChange: Tn,
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
- Dr as ChartWizard
975
+ No as ChartWizard
946
976
  };