@luzmo/analytics-components-kit 1.0.1-alpha.24 → 1.0.1-alpha.26
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/components/box-plot-options.config-DJz_kt-M.cjs +20 -0
- package/components/{box-plot-options.config-RAhd--7J.js → box-plot-options.config-vlz5qeNq.js} +7 -7
- package/components/{choropleth-map-options.config-DHQu69ib.js → choropleth-map-options.config-CeKXtnYB.js} +2 -2
- package/components/{choropleth-map-options.config-BfiQod-y.cjs → choropleth-map-options.config-CxUOg3pw.cjs} +1 -1
- package/components/{circular-gauge-options.config-B8kWlhsc.cjs → circular-gauge-options.config-Cz2TGR6X.cjs} +1 -1
- package/components/{circular-gauge-options.config-D7FdVupw.js → circular-gauge-options.config-Kd_WK_w-.js} +6 -6
- package/components/{date-filter-options.config-KiuizKhg.js → date-filter-options.config-DBRxlTWy.js} +2 -2
- package/components/{donut-chart-options.config-NPwNtLDW.js → donut-chart-options.config-BulUEiaH.js} +37 -18
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/draggable-data-item-level/index.cjs +4 -4
- package/components/draggable-data-item-level/index.js +1 -1
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +18 -18
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -1
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -2
- package/components/edit-option-multi-language-field/index.cjs +2 -2
- package/components/edit-option-multi-language-field/index.js +10 -10
- package/components/edit-option-number-field/edit-option-number-field.d.ts +2 -2
- package/components/edit-option-number-field/index.cjs +3 -3
- package/components/edit-option-number-field/index.js +10 -10
- package/components/edit-option-picker/edit-option-picker.d.ts +2 -2
- package/components/edit-option-picker/index.cjs +6 -6
- package/components/edit-option-picker/index.js +10 -10
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +2 -2
- package/components/edit-option-radio-button-group/index.cjs +3 -3
- package/components/edit-option-radio-button-group/index.js +16 -16
- package/components/edit-option-slider/edit-option-slider.d.ts +2 -2
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +29 -29
- package/components/edit-option-switch/edit-option-switch.d.ts +2 -2
- package/components/edit-option-switch/index.cjs +2 -2
- package/components/edit-option-switch/index.js +10 -10
- package/components/{evolution-number-options.config-D-2-hoge.cjs → evolution-number-options.config-BgIZY4gQ.cjs} +1 -1
- package/components/{evolution-number-options.config-FlQ0IH6f.js → evolution-number-options.config-DzkfeoIN.js} +2 -2
- package/components/{funnel-chart-options.config-CrlHKd36.js → funnel-chart-options.config-CIOrejfS.js} +23 -22
- package/components/funnel-chart-options.config-L_gqlFs2.cjs +20 -0
- package/components/{heat-map-options.config-B0FtmOXM.js → heat-map-options.config-BAuSJV3_.js} +4 -4
- package/components/{heat-map-options.config-CnBcz-lL.cjs → heat-map-options.config-DsUXxjN0.cjs} +1 -1
- package/components/{heat-table-options.config-C0L9ZJHP.js → heat-table-options.config-DSu_18VG.js} +2 -2
- package/components/{heat-table-options.config-QMSy8dYT.cjs → heat-table-options.config-DqPL2hIY.cjs} +1 -1
- package/components/{hexbin-map-options.config-BraDZx_s.cjs → hexbin-map-options.config-B_KAcDYq.cjs} +1 -1
- package/components/{hexbin-map-options.config-BJaPYxgd.js → hexbin-map-options.config-DaaC88d8.js} +2 -2
- package/components/{index-5yuxnZFm.js → index-Dn7LyFPv.js} +321 -311
- package/components/{index-CpBHyBSr.cjs → index-eEpFkbP8.cjs} +104 -104
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{marker-map-options.config-DlJhJQFX.js → marker-map-options.config-CYoq89Oz.js} +6 -6
- package/components/{marker-map-options.config-DJrnM51M.cjs → marker-map-options.config-_XFv5XWK.cjs} +1 -1
- package/components/{pyramid-chart-options.config-senv4pUq.js → pyramid-chart-options.config-CcVMatYx.js} +1 -1
- package/components/{regular-table-options.config-CAb4esiC.js → regular-table-options.config-BoLZsBry.js} +17 -17
- package/components/regular-table-options.config-DTx3RTnS.cjs +20 -0
- package/components/{route-map-options.config-Dcj-usMY.cjs → route-map-options.config-CcQXPmjN.cjs} +1 -1
- package/components/{route-map-options.config-BmrbNMnQ.js → route-map-options.config-u0hQqmDh.js} +5 -5
- package/components/{slicer-filter-options.config-DcUkjMck.js → slicer-filter-options.config-3JZZcw5C.js} +4 -4
- package/components/{slicer-filter-options.config-CC5wUFC3.cjs → slicer-filter-options.config-DNI-XevE.cjs} +1 -1
- package/components/{spike-map-options.config-CrccOQVL.cjs → spike-map-options.config-PpPPrsR2.cjs} +1 -1
- package/components/{spike-map-options.config-DwUz-EkV.js → spike-map-options.config-pdbV_vwg.js} +2 -2
- package/components/{symbol-map-options.config-CKd-phmw.js → symbol-map-options.config-Bj-UuL9m.js} +2 -2
- package/components/{symbol-map-options.config-BidCDEaK.cjs → symbol-map-options.config-sdPlHspI.cjs} +1 -1
- package/custom-elements.json +25 -25
- package/item-definitions/box-plot/box-plot-options.config.d.ts +4 -4
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +6 -6
- package/item-definitions/circular-gauge/circular-gauge-options.config.d.ts +6 -6
- package/item-definitions/donut-chart/donut-chart-options.config.d.ts +35 -13
- package/item-definitions/evolution-number/evolution-number-options.config.d.ts +10 -10
- package/item-definitions/funnel-chart/funnel-chart-options.config.d.ts +24 -8
- package/item-definitions/heat-map/heat-map-options.config.d.ts +4 -4
- package/item-definitions/heat-table/heat-table-options.config.d.ts +8 -8
- package/item-definitions/hexbin-map/hexbin-map-options.config.d.ts +4 -4
- package/item-definitions/marker-map/marker-map-options.config.d.ts +6 -6
- package/item-definitions/regular-table/regular-table-options.config.d.ts +6 -6
- package/item-definitions/route-map/route-map-options.config.d.ts +6 -6
- package/item-definitions/slicer-filter/slicer-filter-options.config.d.ts +10 -10
- package/item-definitions/spike-map/spike-map-options.config.d.ts +6 -6
- package/item-definitions/symbol-map/symbol-map-options.config.d.ts +4 -4
- package/package.json +1 -1
- package/components/box-plot-options.config-DNtA8fnn.cjs +0 -20
- package/components/donut-chart-options.config-bqcKuyIu.cjs +0 -20
- package/components/funnel-chart-options.config-hw_GXs4s.cjs +0 -20
- package/components/regular-table-options.config-Ba8dfyVF.cjs +0 -20
@@ -21,54 +21,54 @@ import { h as S } from "./task-Cr9aRIbV.js";
|
|
21
21
|
import { x as K, k as G, a as R, n as M } from "./property-B2F7x7Cz.js";
|
22
22
|
import { o as D } from "./if-defined-Bv6MRdSW.js";
|
23
23
|
const N = (t, i, o) => {
|
24
|
-
const
|
25
|
-
for (const
|
26
|
-
if (
|
27
|
-
return o ?
|
28
|
-
if (
|
29
|
-
const
|
30
|
-
if (
|
31
|
-
return
|
24
|
+
const s = (e) => {
|
25
|
+
for (const n of e ?? []) {
|
26
|
+
if (n.key === t)
|
27
|
+
return o ? n : n.control;
|
28
|
+
if (n.children) {
|
29
|
+
const l = s(n.children);
|
30
|
+
if (l)
|
31
|
+
return l;
|
32
32
|
}
|
33
33
|
}
|
34
34
|
return null;
|
35
35
|
};
|
36
36
|
if (i && Array.isArray(i))
|
37
|
-
for (const
|
38
|
-
const
|
39
|
-
if (
|
40
|
-
return
|
37
|
+
for (const e of i) {
|
38
|
+
const n = s(e.children);
|
39
|
+
if (n)
|
40
|
+
return n;
|
41
41
|
}
|
42
42
|
return null;
|
43
|
-
}, q = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}",
|
44
|
-
var o,
|
43
|
+
}, q = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-font-family));font-size:var(--luzmo-edit-option-font-size, var(--luzmo-font-size))}:host([size=s]){font-size:var(--luzmo-edit-option-font-size-s, var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-edit-option-font-size-l, var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-edit-option-font-size-xl, var(--luzmo-font-size-xl))}", H = (t) => {
|
44
|
+
var o, s, e;
|
45
45
|
let i;
|
46
46
|
return typeof ((o = t == null ? void 0 : t.controlInfo) == null ? void 0 : o.default) == "function" ? i = t.controlInfo.default({
|
47
47
|
options: t.options,
|
48
48
|
slots: t.slots,
|
49
49
|
theme: t.theme
|
50
|
-
}) : ((
|
51
|
-
},
|
52
|
-
var
|
50
|
+
}) : ((s = t.controlInfo) == null ? void 0 : s.default) !== void 0 && ((e = t.controlInfo) == null ? void 0 : e.default) !== null && (i = t.controlInfo.default), i;
|
51
|
+
}, O = (t) => {
|
52
|
+
var n, l, p, a, h, r, v, $, b, x, c, m, d, f, u;
|
53
53
|
let i;
|
54
|
-
typeof ((
|
54
|
+
typeof ((n = t.controlInfo) == null ? void 0 : n.extraLabel) == "function" ? i = t.controlInfo.extraLabel({
|
55
55
|
options: t.options,
|
56
56
|
slots: t.slots,
|
57
57
|
theme: t.theme
|
58
|
-
}) : typeof ((
|
58
|
+
}) : typeof ((l = t.controlInfo) == null ? void 0 : l.extraLabel) == "string" && (i = t.controlInfo.extraLabel), typeof i == "string" && (i = ((r = (h = (a = (p = t.translations) == null ? void 0 : p.options) == null ? void 0 : a[t.optionKey]) == null ? void 0 : h.extraLabel) == null ? void 0 : r[i]) ?? i);
|
59
59
|
let o;
|
60
60
|
typeof ((v = t.controlInfo) == null ? void 0 : v.extraLabelTooltip) == "function" ? i = t.controlInfo.extraLabelTooltip({
|
61
61
|
options: t.options,
|
62
62
|
slots: t.slots,
|
63
63
|
theme: t.theme
|
64
|
-
}) : typeof ((
|
65
|
-
let
|
66
|
-
typeof ((
|
64
|
+
}) : typeof (($ = t.controlInfo) == null ? void 0 : $.extraLabelTooltip) == "string" && (o = t.controlInfo.extraLabelTooltip), typeof o == "string" && (i = ((m = (c = (x = (b = t.translations) == null ? void 0 : b.options) == null ? void 0 : x[t.optionKey]) == null ? void 0 : c.extraLabelTooltip) == null ? void 0 : m[o]) ?? o);
|
65
|
+
let s;
|
66
|
+
typeof ((d = t.controlInfo) == null ? void 0 : d.extraLabelHasClickAction) == "function" ? s = t.controlInfo.extraLabelHasClickAction({
|
67
67
|
options: t.options,
|
68
68
|
slots: t.slots,
|
69
69
|
theme: t.theme
|
70
|
-
}) : typeof ((
|
71
|
-
const
|
70
|
+
}) : typeof ((f = t.controlInfo) == null ? void 0 : f.extraLabelHasClickAction) == "boolean" && (s = t.controlInfo.extraLabelHasClickAction);
|
71
|
+
const e = typeof ((u = t.controlInfo) == null ? void 0 : u.extraLabelClickAction) == "function" ? () => t.controlInfo.extraLabelClickAction({
|
72
72
|
options: t.options,
|
73
73
|
slots: t.slots,
|
74
74
|
theme: t.theme
|
@@ -77,337 +77,347 @@ const N = (t, i, o) => {
|
|
77
77
|
return {
|
78
78
|
extraLabel: i,
|
79
79
|
extraLabelTooltip: o,
|
80
|
-
extraLabelHasClickAction:
|
81
|
-
extraLabelClickAction:
|
80
|
+
extraLabelHasClickAction: s,
|
81
|
+
extraLabelClickAction: e
|
82
82
|
};
|
83
83
|
}, T = (t, i) => {
|
84
|
+
var s;
|
85
|
+
const o = (t == null ? void 0 : t.options) ?? {};
|
86
|
+
if (typeof ((s = t == null ? void 0 : t.controlInfo) == null ? void 0 : s.calculateValue) == "function")
|
87
|
+
return t.controlInfo.calculateValue({ options: o });
|
84
88
|
if (i.includes(".")) {
|
85
|
-
const
|
86
|
-
let e = t;
|
87
|
-
for (let s = 0; s < o.length - 1; s++)
|
88
|
-
e = e[o[s]] ?? {};
|
89
|
-
const n = o.length - 1;
|
90
|
-
return e[o[n]];
|
91
|
-
}
|
92
|
-
return t[i];
|
93
|
-
}, _ = (t) => (i) => {
|
94
|
-
const o = { ...t.options };
|
95
|
-
if (t.optionKey.includes(".")) {
|
96
|
-
const e = t.optionKey.split(".");
|
89
|
+
const e = i.split(".");
|
97
90
|
let n = o;
|
98
91
|
for (let p = 0; p < e.length - 1; p++)
|
99
|
-
n
|
100
|
-
const
|
101
|
-
n[e[
|
92
|
+
n = n[e[p]] ?? {};
|
93
|
+
const l = e.length - 1;
|
94
|
+
return n[e[l]];
|
95
|
+
}
|
96
|
+
return o[i];
|
97
|
+
}, _ = (t) => (i) => {
|
98
|
+
var s, e;
|
99
|
+
let o = { ...t.options };
|
100
|
+
if (typeof ((s = t == null ? void 0 : t.controlInfo) == null ? void 0 : s.toOptions) == "function")
|
101
|
+
o = t.controlInfo.toOptions({
|
102
|
+
options: o,
|
103
|
+
value: (e = i == null ? void 0 : i.detail) == null ? void 0 : e.value
|
104
|
+
});
|
105
|
+
else if (t.optionKey.includes(".")) {
|
106
|
+
const n = t.optionKey.split(".");
|
107
|
+
let l = o;
|
108
|
+
for (let a = 0; a < n.length - 1; a++)
|
109
|
+
l[n[a]] = l[n[a]] ?? {}, l = l[n[a]];
|
110
|
+
const p = n.length - 1;
|
111
|
+
l[n[p]] = i.detail.value;
|
102
112
|
} else
|
103
113
|
o[t.optionKey] = i.detail.value;
|
104
114
|
return t.changeCallback(o);
|
105
115
|
}, J = (t) => {
|
106
|
-
var b,
|
107
|
-
const i = ((
|
108
|
-
Object.keys((
|
109
|
-
var C,
|
110
|
-
|
111
|
-
...(C = t.controlInfo) == null ? void 0 : C.values[
|
112
|
-
label: ((F = (j = (
|
116
|
+
var $, b, x, c, m, d, f, u, y, k, L, z;
|
117
|
+
const i = ((x = (b = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : b[t.optionKey]) == null ? void 0 : x.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = t.size, s = {};
|
118
|
+
Object.keys((m = t.controlInfo) == null ? void 0 : m.values).forEach((I) => {
|
119
|
+
var C, V, w, j, F, P;
|
120
|
+
s[I] = {
|
121
|
+
...(C = t.controlInfo) == null ? void 0 : C.values[I],
|
122
|
+
label: ((F = (j = (w = (V = t.translations) == null ? void 0 : V.options) == null ? void 0 : w[t.optionKey]) == null ? void 0 : j.enum) == null ? void 0 : F[I]) ?? ((P = t.controlInfo) == null ? void 0 : P.values[I].label)
|
113
123
|
};
|
114
124
|
});
|
115
|
-
const
|
116
|
-
extraLabel:
|
117
|
-
extraLabelTooltip:
|
118
|
-
extraLabelHasClickAction:
|
119
|
-
extraLabelClickAction:
|
120
|
-
} =
|
125
|
+
const e = ((u = (f = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : f[t.optionKey]) == null ? void 0 : u.tooltip) ?? ((y = t.controlInfo) == null ? void 0 : y.tooltip), n = T(t, t.optionKey), l = H(t), {
|
126
|
+
extraLabel: p,
|
127
|
+
extraLabelTooltip: a,
|
128
|
+
extraLabelHasClickAction: h,
|
129
|
+
extraLabelClickAction: r
|
130
|
+
} = O(t), v = _(t);
|
121
131
|
return K`
|
122
132
|
<luzmo-edit-option-action-button-group
|
123
133
|
.label=${i}
|
124
|
-
.value=${
|
125
|
-
.values=${
|
126
|
-
.default=${
|
127
|
-
.selects=${(
|
134
|
+
.value=${n}
|
135
|
+
.values=${s}
|
136
|
+
.default=${l}
|
137
|
+
.selects=${(k = t.controlInfo) == null ? void 0 : k.selects}
|
128
138
|
.size=${o}
|
129
|
-
.tooltip=${
|
130
|
-
.extraLabel=${
|
131
|
-
.extraLabelTooltip=${
|
132
|
-
.extraLabelHasClickAction=${
|
133
|
-
@extraLabelClick=${
|
139
|
+
.tooltip=${e}
|
140
|
+
.extraLabel=${p}
|
141
|
+
.extraLabelTooltip=${a}
|
142
|
+
.extraLabelHasClickAction=${h}
|
143
|
+
@extraLabelClick=${r}
|
134
144
|
@option-changed=${v}
|
135
|
-
.
|
136
|
-
.
|
145
|
+
.parseValue=${(L = t.controlInfo) == null ? void 0 : L.parseValue}
|
146
|
+
.toValue=${(z = t.controlInfo) == null ? void 0 : z.toValue}
|
137
147
|
></luzmo-edit-option-action-button-group>
|
138
148
|
`;
|
139
149
|
}, Q = (t) => {
|
140
|
-
var b,
|
141
|
-
const i = ((
|
142
|
-
extraLabel:
|
143
|
-
extraLabelTooltip:
|
144
|
-
extraLabelHasClickAction:
|
145
|
-
extraLabelClickAction:
|
146
|
-
} =
|
150
|
+
var $, b, x, c, m, d, f, u, y, k;
|
151
|
+
const i = ((x = (b = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : b[t.optionKey]) == null ? void 0 : x.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = T(t, t.optionKey), s = t.size, e = ((f = (d = (m = t.translations) == null ? void 0 : m.options) == null ? void 0 : d[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((u = t.controlInfo) == null ? void 0 : u.tooltip), n = H(t), {
|
152
|
+
extraLabel: l,
|
153
|
+
extraLabelTooltip: p,
|
154
|
+
extraLabelHasClickAction: a,
|
155
|
+
extraLabelClickAction: h
|
156
|
+
} = O(t), r = _(t);
|
147
157
|
return K`
|
148
158
|
<luzmo-edit-option-color-picker
|
149
|
-
.value=${o ??
|
159
|
+
.value=${o ?? n}
|
150
160
|
.label=${i}
|
151
|
-
.size=${
|
152
|
-
.tooltip=${
|
153
|
-
.extraLabel=${
|
154
|
-
.extraLabelTooltip=${
|
155
|
-
.extraLabelHasClickAction=${
|
161
|
+
.size=${s}
|
162
|
+
.tooltip=${e}
|
163
|
+
.extraLabel=${l}
|
164
|
+
.extraLabelTooltip=${p}
|
165
|
+
.extraLabelHasClickAction=${a}
|
156
166
|
@extraLabelClick=${() => {
|
157
|
-
if (typeof
|
158
|
-
const { options: L } =
|
167
|
+
if (typeof h == "function") {
|
168
|
+
const { options: L } = h();
|
159
169
|
return t.changeCallback(L);
|
160
170
|
}
|
161
171
|
}}
|
162
|
-
@option-changed=${
|
163
|
-
.
|
164
|
-
.
|
172
|
+
@option-changed=${r}
|
173
|
+
.parseValue=${(y = t.controlInfo) == null ? void 0 : y.parseValue}
|
174
|
+
.toValue=${(k = t.controlInfo) == null ? void 0 : k.toValue}
|
165
175
|
></luzmo-edit-option-color-picker>
|
166
176
|
`;
|
167
177
|
}, U = (t) => {
|
168
|
-
var
|
169
|
-
const i = ((
|
170
|
-
|
171
|
-
const
|
172
|
-
extraLabel:
|
173
|
-
extraLabelTooltip:
|
174
|
-
extraLabelHasClickAction:
|
178
|
+
var b, x, c, m, d, f, u, y, k, L, z, I, C, V;
|
179
|
+
const i = ((c = (x = (b = t.translations) == null ? void 0 : b.options) == null ? void 0 : x[t.optionKey]) == null ? void 0 : c.label) ?? ((m = t.controlInfo) == null ? void 0 : m.label) ?? t.optionKey ?? "", o = T(t, t.optionKey) ?? {}, s = ((u = (f = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : f[t.optionKey]) == null ? void 0 : u.tooltip) ?? ((y = t.controlInfo) == null ? void 0 : y.tooltip), e = t.language ?? "en", n = {};
|
180
|
+
n[e] = ((z = (L = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : z.placeholder) ?? ((I = t.controlInfo) == null ? void 0 : I.placeholder) ?? "";
|
181
|
+
const l = t.size, p = H(t), {
|
182
|
+
extraLabel: a,
|
183
|
+
extraLabelTooltip: h,
|
184
|
+
extraLabelHasClickAction: r,
|
175
185
|
extraLabelClickAction: v
|
176
|
-
} =
|
186
|
+
} = O(t), $ = _(t);
|
177
187
|
return K`
|
178
188
|
<luzmo-edit-option-multi-language-field
|
179
189
|
.label=${i}
|
180
|
-
.placeholder=${
|
181
|
-
.value=${o ??
|
182
|
-
language=${D(
|
183
|
-
.size=${
|
184
|
-
.tooltip=${
|
185
|
-
.extraLabel=${
|
186
|
-
.extraLabelTooltip=${
|
187
|
-
.extraLabelHasClickAction=${
|
190
|
+
.placeholder=${n}
|
191
|
+
.value=${o ?? p}
|
192
|
+
language=${D(e)}
|
193
|
+
.size=${l}
|
194
|
+
.tooltip=${s}
|
195
|
+
.extraLabel=${a}
|
196
|
+
.extraLabelTooltip=${h}
|
197
|
+
.extraLabelHasClickAction=${r}
|
188
198
|
@extraLabelClick=${v}
|
189
|
-
@option-changed=${
|
190
|
-
.
|
191
|
-
.
|
199
|
+
@option-changed=${$}
|
200
|
+
.parseValue=${(C = t.controlInfo) == null ? void 0 : C.parseValue}
|
201
|
+
.toValue=${(V = t.controlInfo) == null ? void 0 : V.toValue}
|
192
202
|
></luzmo-edit-option-multi-language-field>
|
193
203
|
`;
|
194
204
|
}, W = (t) => {
|
195
|
-
var
|
196
|
-
const i = ((
|
197
|
-
extraLabel:
|
198
|
-
extraLabelTooltip:
|
205
|
+
var x, c, m, d, f, u, y, k, L, z, I, C, V;
|
206
|
+
const i = ((m = (c = (x = t.translations) == null ? void 0 : x.options) == null ? void 0 : c[t.optionKey]) == null ? void 0 : m.label) ?? ((d = t.controlInfo) == null ? void 0 : d.label) ?? t.optionKey ?? "", o = (f = t.controlInfo) == null ? void 0 : f.min, s = (u = t.controlInfo) == null ? void 0 : u.max, e = (y = t.controlInfo) == null ? void 0 : y.step, n = T(t, t.optionKey), l = ((z = (L = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : z.tooltip) ?? ((I = t.controlInfo) == null ? void 0 : I.tooltip), p = H(t), a = t.size, {
|
207
|
+
extraLabel: h,
|
208
|
+
extraLabelTooltip: r,
|
199
209
|
extraLabelHasClickAction: v,
|
200
|
-
extraLabelClickAction:
|
201
|
-
} =
|
210
|
+
extraLabelClickAction: $
|
211
|
+
} = O(t), b = _(t);
|
202
212
|
return K`
|
203
213
|
<luzmo-edit-option-number-field
|
204
|
-
.value=${
|
205
|
-
.default=${
|
214
|
+
.value=${n}
|
215
|
+
.default=${p}
|
206
216
|
.min=${o}
|
207
|
-
.max=${
|
208
|
-
.step=${
|
217
|
+
.max=${s}
|
218
|
+
.step=${e}
|
209
219
|
.label=${i}
|
210
|
-
.size=${
|
211
|
-
.tooltip=${
|
212
|
-
.extraLabel=${
|
213
|
-
.extraLabelTooltip=${
|
220
|
+
.size=${a}
|
221
|
+
.tooltip=${l}
|
222
|
+
.extraLabel=${h}
|
223
|
+
.extraLabelTooltip=${r}
|
214
224
|
.extraLabelHasClickAction=${v}
|
215
|
-
@extraLabelClick=${
|
216
|
-
@option-changed=${
|
217
|
-
.
|
218
|
-
.
|
225
|
+
@extraLabelClick=${$}
|
226
|
+
@option-changed=${b}
|
227
|
+
.parseValue=${(C = t.controlInfo) == null ? void 0 : C.parseValue}
|
228
|
+
.toValue=${(V = t.controlInfo) == null ? void 0 : V.toValue}
|
219
229
|
></luzmo-edit-option-number-field>
|
220
230
|
`;
|
221
231
|
}, X = (t) => {
|
222
|
-
var b,
|
223
|
-
const i = ((
|
224
|
-
(
|
225
|
-
var C,
|
226
|
-
return I
|
232
|
+
var $, b, x, c, m, d, f, u, y, k, L;
|
233
|
+
const i = ((x = (b = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : b[t.optionKey]) == null ? void 0 : x.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = T(t, t.optionKey), s = ((f = (d = (m = t.translations) == null ? void 0 : m.options) == null ? void 0 : d[t.optionKey]) == null ? void 0 : f.tooltip) ?? ((u = t.controlInfo) == null ? void 0 : u.tooltip), e = (y = t.controlInfo) == null ? void 0 : y.enum.reduce(
|
234
|
+
(z, I) => {
|
235
|
+
var C, V, w, j;
|
236
|
+
return z[I] = ((j = (w = (V = (C = t.translations) == null ? void 0 : C.options) == null ? void 0 : V[t.optionKey]) == null ? void 0 : w.enum) == null ? void 0 : j[I]) ?? I, z;
|
227
237
|
},
|
228
238
|
{}
|
229
|
-
),
|
230
|
-
extraLabel:
|
231
|
-
extraLabelTooltip:
|
232
|
-
extraLabelHasClickAction:
|
233
|
-
extraLabelClickAction:
|
234
|
-
} =
|
239
|
+
), n = t.size, l = H(t), {
|
240
|
+
extraLabel: p,
|
241
|
+
extraLabelTooltip: a,
|
242
|
+
extraLabelHasClickAction: h,
|
243
|
+
extraLabelClickAction: r
|
244
|
+
} = O(t), v = _(t);
|
235
245
|
return K`
|
236
246
|
<luzmo-edit-option-picker
|
237
247
|
.value=${o}
|
238
|
-
.default=${
|
239
|
-
.values=${
|
248
|
+
.default=${l}
|
249
|
+
.values=${e}
|
240
250
|
.label=${i}
|
241
|
-
.tooltip=${
|
242
|
-
.size=${
|
243
|
-
.extraLabel=${
|
244
|
-
.extraLabelTooltip=${
|
245
|
-
.extraLabelHasClickAction=${
|
246
|
-
@extraLabelClick=${
|
251
|
+
.tooltip=${s}
|
252
|
+
.size=${n}
|
253
|
+
.extraLabel=${p}
|
254
|
+
.extraLabelTooltip=${a}
|
255
|
+
.extraLabelHasClickAction=${h}
|
256
|
+
@extraLabelClick=${r}
|
247
257
|
@option-changed=${v}
|
248
|
-
.
|
249
|
-
.
|
258
|
+
.parseValue=${(k = t.controlInfo) == null ? void 0 : k.parseValue}
|
259
|
+
.toValue=${(L = t.controlInfo) == null ? void 0 : L.toValue}
|
250
260
|
></luzmo-edit-option-picker>
|
251
261
|
`;
|
252
262
|
}, Y = (t) => {
|
253
|
-
var b,
|
254
|
-
const i = ((
|
255
|
-
extraLabel:
|
256
|
-
extraLabelTooltip:
|
257
|
-
extraLabelHasClickAction:
|
258
|
-
extraLabelClickAction:
|
259
|
-
} =
|
263
|
+
var $, b, x, c, m, d, f, u, y, k, L;
|
264
|
+
const i = ((x = (b = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : b[t.optionKey]) == null ? void 0 : x.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label), o = (m = t.controlInfo) == null ? void 0 : m.positions, s = t.size, e = T(t, t.optionKey), n = ((u = (f = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : f[t.optionKey]) == null ? void 0 : u.tooltip) ?? ((y = t.controlInfo) == null ? void 0 : y.tooltip), l = H(t) ?? "topRight", {
|
265
|
+
extraLabel: p,
|
266
|
+
extraLabelTooltip: a,
|
267
|
+
extraLabelHasClickAction: h,
|
268
|
+
extraLabelClickAction: r
|
269
|
+
} = O(t), v = _(t);
|
260
270
|
return K`
|
261
271
|
<luzmo-edit-option-position-picker
|
262
|
-
.value=${(
|
272
|
+
.value=${(k = t.controlInfo) == null ? void 0 : k.value}
|
263
273
|
.positions=${o}
|
264
|
-
.default=${
|
274
|
+
.default=${l}
|
265
275
|
.label=${i}
|
266
|
-
.tooltip=${
|
267
|
-
.size=${
|
268
|
-
.value=${
|
269
|
-
.extraLabel=${
|
270
|
-
.extraLabelTooltip=${
|
271
|
-
.extraLabelHasClickAction=${
|
272
|
-
@extraLabelClick=${
|
276
|
+
.tooltip=${n}
|
277
|
+
.size=${s}
|
278
|
+
.value=${e}
|
279
|
+
.extraLabel=${p}
|
280
|
+
.extraLabelTooltip=${a}
|
281
|
+
.extraLabelHasClickAction=${h}
|
282
|
+
@extraLabelClick=${r}
|
273
283
|
@option-changed=${v}
|
274
284
|
.readonly=${(L = t.controlInfo) == null ? void 0 : L.readonly}
|
275
285
|
></luzmo-edit-option-position-picker>
|
276
286
|
`;
|
277
287
|
}, Z = (t) => {
|
278
|
-
var v, b,
|
279
|
-
const i = ((
|
280
|
-
extraLabel:
|
281
|
-
extraLabelTooltip:
|
282
|
-
extraLabelHasClickAction:
|
283
|
-
extraLabelClickAction:
|
284
|
-
} =
|
288
|
+
var v, $, b, x, c, m, d, f, u, y, k, L;
|
289
|
+
const i = ((b = ($ = (v = t.translations) == null ? void 0 : v.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : b.label) ?? ((x = t.controlInfo) == null ? void 0 : x.label), o = T(t, t.optionKey), s = t.size, e = ((d = (m = (c = t.translations) == null ? void 0 : c.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : d.tooltip) ?? ((f = t.controlInfo) == null ? void 0 : f.tooltip), n = H(t), {
|
290
|
+
extraLabel: l,
|
291
|
+
extraLabelTooltip: p,
|
292
|
+
extraLabelHasClickAction: a,
|
293
|
+
extraLabelClickAction: h
|
294
|
+
} = O(t), r = _(t);
|
285
295
|
return K`
|
286
296
|
<luzmo-edit-option-positions-number-field
|
287
|
-
.values=${o ??
|
288
|
-
.positions=${(
|
289
|
-
.positionConfiguration=${(
|
297
|
+
.values=${o ?? n}
|
298
|
+
.positions=${(u = t.controlInfo) == null ? void 0 : u.positions}
|
299
|
+
.positionConfiguration=${(y = t.controlInfo) == null ? void 0 : y.positionConfiguration}
|
290
300
|
.label=${i}
|
291
|
-
.size=${
|
292
|
-
.tooltip=${
|
293
|
-
.extraLabel=${
|
294
|
-
.extraLabelTooltip=${
|
295
|
-
.extraLabelHasClickAction=${
|
296
|
-
@extraLabelClick=${
|
297
|
-
@option-changed=${
|
298
|
-
.
|
299
|
-
.
|
301
|
+
.size=${s}
|
302
|
+
.tooltip=${e}
|
303
|
+
.extraLabel=${l}
|
304
|
+
.extraLabelTooltip=${p}
|
305
|
+
.extraLabelHasClickAction=${a}
|
306
|
+
@extraLabelClick=${h}
|
307
|
+
@option-changed=${r}
|
308
|
+
.parseValue=${(k = t.controlInfo) == null ? void 0 : k.parseValue}
|
309
|
+
.toValue=${(L = t.controlInfo) == null ? void 0 : L.toValue}
|
300
310
|
></luzmo-edit-option-positions-number-field>
|
301
311
|
`;
|
302
312
|
}, g = (t) => {
|
303
|
-
var b,
|
304
|
-
const i = ((
|
305
|
-
(
|
306
|
-
var C,
|
307
|
-
return I
|
313
|
+
var $, b, x, c, m, d, f, u, y, k, L;
|
314
|
+
const i = ((x = (b = ($ = t.translations) == null ? void 0 : $.options) == null ? void 0 : b[t.optionKey]) == null ? void 0 : x.label) ?? ((c = t.controlInfo) == null ? void 0 : c.label) ?? t.optionKey ?? "", o = T(t, t.optionKey), s = H(t), e = (m = t.controlInfo) == null ? void 0 : m.enum.reduce(
|
315
|
+
(z, I) => {
|
316
|
+
var C, V, w, j;
|
317
|
+
return z[I] = ((j = (w = (V = (C = t.translations) == null ? void 0 : C.options) == null ? void 0 : V[t.optionKey]) == null ? void 0 : w.enum) == null ? void 0 : j[I]) ?? I, z;
|
308
318
|
},
|
309
319
|
{}
|
310
|
-
),
|
311
|
-
extraLabel:
|
312
|
-
extraLabelTooltip:
|
313
|
-
extraLabelHasClickAction:
|
314
|
-
extraLabelClickAction:
|
315
|
-
} =
|
320
|
+
), n = t.size, l = ((u = (f = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : f[t.optionKey]) == null ? void 0 : u.tooltip) ?? ((y = t.controlInfo) == null ? void 0 : y.tooltip), {
|
321
|
+
extraLabel: p,
|
322
|
+
extraLabelTooltip: a,
|
323
|
+
extraLabelHasClickAction: h,
|
324
|
+
extraLabelClickAction: r
|
325
|
+
} = O(t), v = _(t);
|
316
326
|
return K`
|
317
327
|
<luzmo-edit-option-radio-button-group
|
318
|
-
.value=${o ??
|
319
|
-
.values=${
|
328
|
+
.value=${o ?? s}
|
329
|
+
.values=${e}
|
320
330
|
.label=${i}
|
321
|
-
.size=${
|
322
|
-
.tooltip=${
|
323
|
-
.extraLabel=${
|
324
|
-
.extraLabelTooltip=${
|
325
|
-
.extraLabelHasClickAction=${
|
326
|
-
@extraLabelClick=${
|
331
|
+
.size=${n}
|
332
|
+
.tooltip=${l}
|
333
|
+
.extraLabel=${p}
|
334
|
+
.extraLabelTooltip=${a}
|
335
|
+
.extraLabelHasClickAction=${h}
|
336
|
+
@extraLabelClick=${r}
|
327
337
|
@option-changed=${v}
|
328
|
-
.
|
329
|
-
.
|
338
|
+
.parseValue=${(k = t.controlInfo) == null ? void 0 : k.parseValue}
|
339
|
+
.toValue=${(L = t.controlInfo) == null ? void 0 : L.toValue}
|
330
340
|
></luzmo-edit-option-radio-button-group>
|
331
341
|
`;
|
332
342
|
}, tt = (t) => {
|
333
|
-
var
|
334
|
-
const i = ((
|
335
|
-
extraLabel:
|
336
|
-
extraLabelTooltip:
|
343
|
+
var c, m, d, f, u, y, k, L, z, I, C, V, w;
|
344
|
+
const i = ((d = (m = (c = t.translations) == null ? void 0 : c.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : d.label) ?? ((f = t.controlInfo) == null ? void 0 : f.label) ?? t.optionKey ?? "", o = ((k = (y = (u = t.translations) == null ? void 0 : u.options) == null ? void 0 : y[t.optionKey]) == null ? void 0 : k.tooltip) ?? ((L = t.controlInfo) == null ? void 0 : L.tooltip), s = (z = t.controlInfo) == null ? void 0 : z.min, e = (I = t.controlInfo) == null ? void 0 : I.max, n = (C = t.controlInfo) == null ? void 0 : C.step, l = T(t, t.optionKey), p = t.size, a = H(t), {
|
345
|
+
extraLabel: h,
|
346
|
+
extraLabelTooltip: r,
|
337
347
|
extraLabelHasClickAction: v,
|
338
|
-
extraLabelClickAction:
|
339
|
-
} =
|
348
|
+
extraLabelClickAction: $
|
349
|
+
} = O(t), b = _(t);
|
340
350
|
return K`
|
341
351
|
<luzmo-edit-option-slider
|
342
|
-
.value=${
|
343
|
-
.default=${
|
344
|
-
.min=${
|
345
|
-
.max=${
|
346
|
-
.step=${
|
352
|
+
.value=${l}
|
353
|
+
.default=${a}
|
354
|
+
.min=${s}
|
355
|
+
.max=${e}
|
356
|
+
.step=${n}
|
347
357
|
.label=${i}
|
348
358
|
.tooltip=${o}
|
349
|
-
.size=${
|
350
|
-
.extraLabel=${
|
351
|
-
.extraLabelTooltip=${
|
359
|
+
.size=${p}
|
360
|
+
.extraLabel=${h}
|
361
|
+
.extraLabelTooltip=${r}
|
352
362
|
.extraLabelHasClickAction=${v}
|
353
363
|
@extraLabelClick=${() => {
|
354
|
-
if (typeof
|
355
|
-
const { options: j } =
|
364
|
+
if (typeof $ == "function") {
|
365
|
+
const { options: j } = $();
|
356
366
|
return t.changeCallback(j);
|
357
367
|
}
|
358
368
|
}}
|
359
|
-
@option-changed=${
|
360
|
-
.
|
361
|
-
.
|
369
|
+
@option-changed=${b}
|
370
|
+
.parseValue=${(V = t.controlInfo) == null ? void 0 : V.parseValue}
|
371
|
+
.toValue=${(w = t.controlInfo) == null ? void 0 : w.toValue}
|
362
372
|
></luzmo-edit-option-slider>
|
363
373
|
`;
|
364
374
|
}, it = (t) => {
|
365
|
-
var v, b,
|
366
|
-
const i = ((
|
367
|
-
extraLabel:
|
368
|
-
extraLabelTooltip:
|
369
|
-
extraLabelHasClickAction:
|
370
|
-
extraLabelClickAction:
|
371
|
-
} =
|
375
|
+
var v, $, b, x, c, m, d, f, u, y;
|
376
|
+
const i = ((b = ($ = (v = t.translations) == null ? void 0 : v.options) == null ? void 0 : $[t.optionKey]) == null ? void 0 : b.label) ?? ((x = t.controlInfo) == null ? void 0 : x.label) ?? t.optionKey ?? "", o = T(t, t.optionKey), s = t.size, e = ((d = (m = (c = t.translations) == null ? void 0 : c.options) == null ? void 0 : m[t.optionKey]) == null ? void 0 : d.tooltip) ?? ((f = t.controlInfo) == null ? void 0 : f.tooltip), n = H(t), {
|
377
|
+
extraLabel: l,
|
378
|
+
extraLabelTooltip: p,
|
379
|
+
extraLabelHasClickAction: a,
|
380
|
+
extraLabelClickAction: h
|
381
|
+
} = O(t), r = _(t);
|
372
382
|
return K`
|
373
383
|
<luzmo-edit-option-switch
|
374
|
-
.value=${o ??
|
384
|
+
.value=${o ?? n ?? !1}
|
375
385
|
.label=${i}
|
376
|
-
.size=${
|
377
|
-
.tooltip=${
|
378
|
-
.extraLabel=${
|
379
|
-
.extraLabelTooltip=${
|
380
|
-
.extraLabelHasClickAction=${
|
381
|
-
@extraLabelClick=${
|
382
|
-
@option-changed=${
|
383
|
-
.
|
384
|
-
.
|
386
|
+
.size=${s}
|
387
|
+
.tooltip=${e}
|
388
|
+
.extraLabel=${l}
|
389
|
+
.extraLabelTooltip=${p}
|
390
|
+
.extraLabelHasClickAction=${a}
|
391
|
+
@extraLabelClick=${h}
|
392
|
+
@option-changed=${r}
|
393
|
+
.parseValue=${(u = t.controlInfo) == null ? void 0 : u.parseValue}
|
394
|
+
.toValue=${(y = t.controlInfo) == null ? void 0 : y.toValue}
|
385
395
|
></luzmo-edit-option-switch>
|
386
396
|
`;
|
387
397
|
}, ot = (t) => {
|
388
|
-
var
|
389
|
-
const i = ((
|
390
|
-
|
391
|
-
const
|
392
|
-
extraLabel:
|
393
|
-
extraLabelTooltip:
|
394
|
-
extraLabelHasClickAction:
|
398
|
+
var b, x, c, m, d, f, u, y, k, L, z, I, C, V;
|
399
|
+
const i = ((c = (x = (b = t.translations) == null ? void 0 : b.options) == null ? void 0 : x[t.optionKey]) == null ? void 0 : c.label) ?? ((m = t.controlInfo) == null ? void 0 : m.label) ?? t.optionKey ?? "", o = t.language ?? "en", s = {};
|
400
|
+
s[o] = ((u = (f = (d = t.translations) == null ? void 0 : d.options) == null ? void 0 : f[t.optionKey]) == null ? void 0 : u.placeholder) ?? ((y = t.controlInfo) == null ? void 0 : y.placeholder) ?? "";
|
401
|
+
const e = T(t, t.optionKey) ?? "", n = t.size, l = ((z = (L = (k = t.translations) == null ? void 0 : k.options) == null ? void 0 : L[t.optionKey]) == null ? void 0 : z.tooltip) ?? ((I = t.controlInfo) == null ? void 0 : I.tooltip), p = H(t), {
|
402
|
+
extraLabel: a,
|
403
|
+
extraLabelTooltip: h,
|
404
|
+
extraLabelHasClickAction: r,
|
395
405
|
extraLabelClickAction: v
|
396
|
-
} =
|
406
|
+
} = O(t), $ = _(t);
|
397
407
|
return K`
|
398
408
|
<luzmo-edit-option-text-field
|
399
409
|
.label=${i}
|
400
|
-
.placeholder=${
|
401
|
-
.value=${
|
402
|
-
.size=${
|
403
|
-
.tooltip=${
|
404
|
-
.extraLabel=${
|
405
|
-
.extraLabelTooltip=${
|
406
|
-
.extraLabelHasClickAction=${
|
410
|
+
.placeholder=${s[o]}
|
411
|
+
.value=${e ?? p}
|
412
|
+
.size=${n}
|
413
|
+
.tooltip=${l}
|
414
|
+
.extraLabel=${a}
|
415
|
+
.extraLabelTooltip=${h}
|
416
|
+
.extraLabelHasClickAction=${r}
|
407
417
|
@extraLabelClick=${v}
|
408
|
-
@option-changed=${
|
409
|
-
.
|
410
|
-
.
|
418
|
+
@option-changed=${$}
|
419
|
+
.parseValue=${(C = t.controlInfo) == null ? void 0 : C.parseValue}
|
420
|
+
.toValue=${(V = t.controlInfo) == null ? void 0 : V.toValue}
|
411
421
|
></luzmo-edit-option-text-field>
|
412
422
|
`;
|
413
423
|
}, nt = (t) => {
|
@@ -436,10 +446,10 @@ const N = (t, i, o) => {
|
|
436
446
|
return J(t);
|
437
447
|
}
|
438
448
|
};
|
439
|
-
var et = Object.defineProperty, E = (t, i, o,
|
440
|
-
for (var
|
441
|
-
(
|
442
|
-
return
|
449
|
+
var et = Object.defineProperty, E = (t, i, o, s) => {
|
450
|
+
for (var e = void 0, n = t.length - 1, l; n >= 0; n--)
|
451
|
+
(l = t[n]) && (e = l(i, o, e) || e);
|
452
|
+
return e && et(i, o, e), e;
|
443
453
|
};
|
444
454
|
const B = class B extends G {
|
445
455
|
constructor() {
|
@@ -447,73 +457,73 @@ const B = class B extends G {
|
|
447
457
|
task: async ([
|
448
458
|
i,
|
449
459
|
o,
|
460
|
+
s,
|
450
461
|
e,
|
451
|
-
n
|
452
|
-
s
|
462
|
+
n
|
453
463
|
]) => {
|
454
|
-
let
|
455
|
-
if (i !== this._itemTypeLoaded && !
|
456
|
-
const
|
464
|
+
let l = !1;
|
465
|
+
if (i !== this._itemTypeLoaded && !e) {
|
466
|
+
const h = /* @__PURE__ */ Object.assign({
|
457
467
|
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("./area-chart-options.config-7NUkgEdr.js"),
|
458
468
|
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("./bar-chart-options.config-BdbbHUJZ.js"),
|
459
|
-
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("./box-plot-options.config-
|
469
|
+
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("./box-plot-options.config-vlz5qeNq.js"),
|
460
470
|
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("./bubble-chart-options.config-BacgXkJ_.js"),
|
461
471
|
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("./bullet-chart-options.config-Bsw7N7Wl.js"),
|
462
|
-
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("./choropleth-map-options.config-
|
472
|
+
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("./choropleth-map-options.config-CeKXtnYB.js"),
|
463
473
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("./circle-pack-chart-options.config-DEYL3DMK.js"),
|
464
|
-
"../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("./circular-gauge-options.config-
|
474
|
+
"../../item-definitions/circular-gauge/circular-gauge-options.config.ts": () => import("./circular-gauge-options.config-Kd_WK_w-.js"),
|
465
475
|
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("./column-chart-options.config-BqSQ1Sl9.js"),
|
466
476
|
"../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("./combination-chart-options.config-CApdgFvv.js"),
|
467
477
|
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("./conditional-number-options.config-BzzAnCOB.js"),
|
468
|
-
"../../item-definitions/date-filter/date-filter-options.config.ts": () => import("./date-filter-options.config-
|
469
|
-
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("./donut-chart-options.config-
|
478
|
+
"../../item-definitions/date-filter/date-filter-options.config.ts": () => import("./date-filter-options.config-DBRxlTWy.js"),
|
479
|
+
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("./donut-chart-options.config-BulUEiaH.js"),
|
470
480
|
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("./dropdown-filter-options.config-D9dvPypF.js"),
|
471
|
-
"../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("./evolution-number-options.config-
|
472
|
-
"../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("./funnel-chart-options.config-
|
473
|
-
"../../item-definitions/heat-map/heat-map-options.config.ts": () => import("./heat-map-options.config-
|
474
|
-
"../../item-definitions/heat-table/heat-table-options.config.ts": () => import("./heat-table-options.config-
|
475
|
-
"../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("./hexbin-map-options.config-
|
481
|
+
"../../item-definitions/evolution-number/evolution-number-options.config.ts": () => import("./evolution-number-options.config-DzkfeoIN.js"),
|
482
|
+
"../../item-definitions/funnel-chart/funnel-chart-options.config.ts": () => import("./funnel-chart-options.config-CIOrejfS.js"),
|
483
|
+
"../../item-definitions/heat-map/heat-map-options.config.ts": () => import("./heat-map-options.config-BAuSJV3_.js"),
|
484
|
+
"../../item-definitions/heat-table/heat-table-options.config.ts": () => import("./heat-table-options.config-DSu_18VG.js"),
|
485
|
+
"../../item-definitions/hexbin-map/hexbin-map-options.config.ts": () => import("./hexbin-map-options.config-DaaC88d8.js"),
|
476
486
|
"../../item-definitions/image/image-options.config.ts": () => import("./image-options.config-CBfeq5Zw.js"),
|
477
487
|
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("./line-chart-options.config-DB3IsXXr.js"),
|
478
|
-
"../../item-definitions/marker-map/marker-map-options.config.ts": () => import("./marker-map-options.config-
|
488
|
+
"../../item-definitions/marker-map/marker-map-options.config.ts": () => import("./marker-map-options.config-CYoq89Oz.js"),
|
479
489
|
"../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("./ohlc-chart-options.config-D9npwajt.js"),
|
480
490
|
"../../item-definitions/parallel-coordinates-plot/parallel-coordinates-plot-options.config.ts": () => import("./parallel-coordinates-plot-options.config-DxB4kd58.js"),
|
481
491
|
"../../item-definitions/pivot-table/pivot-table-options.config.ts": () => import("./pivot-table-options.config-DNK_AIG7.js"),
|
482
|
-
"../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("./pyramid-chart-options.config-
|
492
|
+
"../../item-definitions/pyramid-chart/pyramid-chart-options.config.ts": () => import("./pyramid-chart-options.config-CcVMatYx.js"),
|
483
493
|
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("./radar-chart-options.config-CUZn_3Fd.js"),
|
484
|
-
"../../item-definitions/regular-table/regular-table-options.config.ts": () => import("./regular-table-options.config-
|
485
|
-
"../../item-definitions/route-map/route-map-options.config.ts": () => import("./route-map-options.config-
|
494
|
+
"../../item-definitions/regular-table/regular-table-options.config.ts": () => import("./regular-table-options.config-BoLZsBry.js"),
|
495
|
+
"../../item-definitions/route-map/route-map-options.config.ts": () => import("./route-map-options.config-u0hQqmDh.js"),
|
486
496
|
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("./sankey-diagram-options.config-tVLKy_Zn.js"),
|
487
497
|
"../../item-definitions/scatter-plot/scatter-plot-options.config.ts": () => import("./scatter-plot-options.config-lrkd9qj4.js"),
|
488
498
|
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("./search-filter-options.config-BE3JhR-F.js"),
|
489
|
-
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("./slicer-filter-options.config-
|
499
|
+
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("./slicer-filter-options.config-3JZZcw5C.js"),
|
490
500
|
"../../item-definitions/slider-filter/slider-filter-options.config.ts": () => import("./slider-filter-options.config-DH4SS8wH.js"),
|
491
501
|
"../../item-definitions/spacer/spacer-options.config.ts": () => import("./spacer-options.config-IpwUxDyU.js"),
|
492
502
|
"../../item-definitions/speedometer-chart/speedometer-chart-options.config.ts": () => import("./speedometer-chart-options.config-Dt2feQYV.js"),
|
493
|
-
"../../item-definitions/spike-map/spike-map-options.config.ts": () => import("./spike-map-options.config-
|
503
|
+
"../../item-definitions/spike-map/spike-map-options.config.ts": () => import("./spike-map-options.config-pdbV_vwg.js"),
|
494
504
|
"../../item-definitions/strip-plot/strip-plot-options.config.ts": () => import("./strip-plot-options.config-Bdr8yQJu.js"),
|
495
505
|
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("./sunburst-chart-options.config-CNauGQJv.js"),
|
496
|
-
"../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("./symbol-map-options.config-
|
506
|
+
"../../item-definitions/symbol-map/symbol-map-options.config.ts": () => import("./symbol-map-options.config-Bj-UuL9m.js"),
|
497
507
|
"../../item-definitions/text/text-options.config.ts": () => import("./text-options.config-BWaJoeG2.js"),
|
498
508
|
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("./treemap-chart-options.config-D5AJaF_u.js"),
|
499
509
|
"../../item-definitions/video/video-options.config.ts": () => import("./video-options.config-Dk36zJ1B.js"),
|
500
510
|
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("./wordcloud-chart-options.config-w2NUIWVA.js")
|
501
511
|
});
|
502
|
-
if (
|
512
|
+
if (h[`../../item-definitions/${i}/${i}-options.config.ts`])
|
503
513
|
try {
|
504
|
-
const
|
505
|
-
this._optionsConfig = (
|
514
|
+
const r = await h[`../../item-definitions/${i}/${i}-options.config.ts`]();
|
515
|
+
this._optionsConfig = (r == null ? void 0 : r.default) ?? [];
|
506
516
|
} catch {
|
507
517
|
this._optionsConfig = [];
|
508
518
|
}
|
509
519
|
else
|
510
520
|
this._optionsConfig = [];
|
511
|
-
|
512
|
-
} else
|
521
|
+
l = !0;
|
522
|
+
} else e ? (o && i && console.warn(
|
513
523
|
"optionKey and itemType are not needed when using custom option configuration"
|
514
|
-
), this._optionsConfig = [{ children: [
|
515
|
-
if ((
|
516
|
-
const
|
524
|
+
), this._optionsConfig = [{ children: [e] }], o = e.key, i = void 0) : this._optionsConfig = [];
|
525
|
+
if ((s !== this._languageLoaded || l) && !n) {
|
526
|
+
const h = /* @__PURE__ */ Object.assign({
|
517
527
|
"../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("./area-chart-options.de-FcVE2Ywe.js"),
|
518
528
|
"../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("./area-chart-options.en-Cz5aXeVe.js"),
|
519
529
|
"../../item-definitions/area-chart/i18n/area-chart-options.es.ts": () => import("./area-chart-options.es-o3ABpXnC.js"),
|
@@ -730,28 +740,28 @@ const B = class B extends G {
|
|
730
740
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("./wordcloud-chart-options.fr-DNK5Ouc5.js"),
|
731
741
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("./wordcloud-chart-options.nl-CcgmqL7I.js")
|
732
742
|
});
|
733
|
-
if (
|
743
|
+
if (h[`../../item-definitions/${i}/i18n/${i}-options.${s}.ts`])
|
734
744
|
try {
|
735
|
-
const
|
736
|
-
this._translations = (
|
737
|
-
} catch (
|
738
|
-
this._translations = {}, console.error(
|
745
|
+
const r = await h[`../../item-definitions/${i}/i18n/${i}-options.${s}.ts`]();
|
746
|
+
this._translations = (r == null ? void 0 : r.default) ?? {};
|
747
|
+
} catch (r) {
|
748
|
+
this._translations = {}, console.error(r);
|
739
749
|
}
|
740
750
|
else
|
741
751
|
this._translations = {};
|
742
|
-
} else
|
743
|
-
options: { [o ?? ""]:
|
752
|
+
} else n ? this._translations = {
|
753
|
+
options: { [o ?? ""]: n }
|
744
754
|
} : this._translations = {};
|
745
|
-
const
|
746
|
-
if (
|
747
|
-
const
|
755
|
+
const p = N(o ?? "", this._optionsConfig), a = p == null ? void 0 : p.type;
|
756
|
+
if (a !== this._controlTypeLoaded) {
|
757
|
+
const h = /* @__PURE__ */ Object.assign({ "../edit-option-action-button-group/index.ts": () => import("./edit-option-action-button-group/index.js"), "../edit-option-color-picker/index.ts": () => import("./edit-option-color-picker/index.js"), "../edit-option-multi-language-field/index.ts": () => import("./edit-option-multi-language-field/index.js"), "../edit-option-number-field/index.ts": () => import("./edit-option-number-field/index.js"), "../edit-option-picker/index.ts": () => import("./edit-option-picker/index.js"), "../edit-option-position-picker/index.ts": () => import("./edit-option-position-picker/index.js"), "../edit-option-positions-number-field/index.ts": () => import("./edit-option-positions-number-field/index.js"), "../edit-option-radio-button-group/index.ts": () => import("./edit-option-radio-button-group/index.js"), "../edit-option-slider/index.ts": () => import("./edit-option-slider/index.js"), "../edit-option-switch/index.ts": () => import("./edit-option-switch/index.js"), "../edit-option-text-field/index.ts": () => import("./edit-option-text-field/index.js") });
|
748
758
|
try {
|
749
|
-
|
750
|
-
} catch (
|
751
|
-
console.error(
|
759
|
+
h[`../edit-option-${a}/index.ts`] && (await h[`../edit-option-${a}/index.ts`](), this._controlTypeLoaded = a);
|
760
|
+
} catch (r) {
|
761
|
+
console.error(r);
|
752
762
|
}
|
753
763
|
}
|
754
|
-
return
|
764
|
+
return p;
|
755
765
|
},
|
756
766
|
args: () => [
|
757
767
|
this.itemType,
|
@@ -796,36 +806,36 @@ const B = class B extends G {
|
|
796
806
|
}
|
797
807
|
};
|
798
808
|
B.styles = R(q);
|
799
|
-
let
|
809
|
+
let A = B;
|
800
810
|
E([
|
801
811
|
M({ type: String, reflect: !0 })
|
802
|
-
],
|
812
|
+
], A.prototype, "language");
|
803
813
|
E([
|
804
814
|
M({ type: String, reflect: !0, attribute: "item-type" })
|
805
|
-
],
|
815
|
+
], A.prototype, "itemType");
|
806
816
|
E([
|
807
817
|
M({ type: String, reflect: !0, attribute: "option-key" })
|
808
|
-
],
|
818
|
+
], A.prototype, "optionKey");
|
809
819
|
E([
|
810
820
|
M({ type: Object, reflect: !1 })
|
811
|
-
],
|
821
|
+
], A.prototype, "customOptionConfiguration");
|
812
822
|
E([
|
813
823
|
M({ type: Object, reflect: !1 })
|
814
|
-
],
|
824
|
+
], A.prototype, "customTranslations");
|
815
825
|
E([
|
816
826
|
M({ type: Object })
|
817
|
-
],
|
827
|
+
], A.prototype, "options");
|
818
828
|
E([
|
819
829
|
M({ type: Object })
|
820
|
-
],
|
830
|
+
], A.prototype, "slots");
|
821
831
|
E([
|
822
832
|
M({ type: Object })
|
823
|
-
],
|
833
|
+
], A.prototype, "theme");
|
824
834
|
E([
|
825
835
|
M({ type: String, reflect: !0 })
|
826
|
-
],
|
827
|
-
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option",
|
836
|
+
], A.prototype, "size");
|
837
|
+
customElements.get("luzmo-edit-option") || customElements.define("luzmo-edit-option", A);
|
828
838
|
export {
|
829
|
-
|
839
|
+
A as L,
|
830
840
|
N as g
|
831
841
|
};
|