@luzmo/analytics-components-kit 1.0.1-alpha.16 → 1.0.1-alpha.18
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/{area-chart-options.config-C0l_W4Yq.js → area-chart-options.config-B5qtlH-_.js} +24 -24
- package/components/area-chart-options.config-DMfRioZx.cjs +20 -0
- package/components/{bar-chart-options.config-BO9Ik7mh.cjs → bar-chart-options.config-C7BGg5sh.cjs} +1 -1
- package/components/{bar-chart-options.config-CF1i1Imw.js → bar-chart-options.config-CQfpV1Rx.js} +29 -29
- package/components/{bubble-chart-options.config-1MrC55Nb.js → bubble-chart-options.config-Cp6OQnJl.js} +7 -7
- package/components/{bubble-chart-options.config-bQBq1s3C.cjs → bubble-chart-options.config-DL5Xl6Ad.cjs} +1 -1
- package/components/{column-chart-options.config-BT1QH4BI.js → column-chart-options.config-CGw1dN1E.js} +29 -29
- package/components/column-chart-options.config-DomUPYPM.cjs +20 -0
- package/components/conditional-number-options.config-B24MqnZj.js +151 -0
- package/components/conditional-number-options.config-C1eERsoe.cjs +20 -0
- package/components/conditional-number-options.de-BJcjBZY1.js +74 -0
- package/components/conditional-number-options.de-CFnufi0r.cjs +20 -0
- package/components/conditional-number-options.en-WSrIzRGJ.js +74 -0
- package/components/conditional-number-options.en-Wd-0YtdE.cjs +20 -0
- package/components/conditional-number-options.es-BKqT0zog.js +74 -0
- package/components/conditional-number-options.es-BTDTe5SF.cjs +20 -0
- package/components/conditional-number-options.fr-CZ-9jzPm.cjs +20 -0
- package/components/conditional-number-options.fr-D2r7Azy8.js +74 -0
- package/components/conditional-number-options.nl-CfRYL6o1.cjs +20 -0
- package/components/conditional-number-options.nl-pkRI1tLZ.js +74 -0
- package/components/edit-item/index.cjs +4 -4
- package/components/edit-item/index.js +13 -7
- package/components/edit-option/index.cjs +24 -24
- package/components/edit-option/index.js +47 -41
- package/components/edit-option-action-button-group/index.cjs +7 -7
- package/components/edit-option-action-button-group/index.js +56 -54
- package/components/{line-chart-options.config-DKcFPWP7.js → line-chart-options.config-CEUJYNt7.js} +18 -18
- package/components/line-chart-options.config-DNGyRAvG.cjs +20 -0
- package/components/radar-chart-options.config-DUXOzdbl.cjs +20 -0
- package/components/{radar-chart-options.config-DfID1TZ-.js → radar-chart-options.config-gKHFbC63.js} +25 -25
- package/components/{treemap-chart-options.config-D6H5Hf2B.cjs → treemap-chart-options.config-Dc2UNcGG.cjs} +1 -1
- package/components/{treemap-chart-options.config-BalwwrhW.js → treemap-chart-options.config-f8L8KfDj.js} +19 -19
- package/item-definitions/conditional-number/conditional-number-options.config.d.ts +135 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.de.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.en.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.es.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.fr.d.ts +53 -0
- package/item-definitions/conditional-number/i18n/conditional-number-options.nl.d.ts +53 -0
- package/package.json +1 -1
- package/components/area-chart-options.config-DHHGMb22.cjs +0 -20
- package/components/column-chart-options.config-DVPrV-XO.cjs +0 -20
- package/components/line-chart-options.config-i2233s5F.cjs +0 -20
- package/components/radar-chart-options.config-DPPlIptA.cjs +0 -20
@@ -28,7 +28,7 @@ const g = () => {
|
|
28
28
|
};
|
29
29
|
g();
|
30
30
|
const R = ":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))}", A = (o) => {
|
31
|
-
var l, r, u, s, L, v, $,
|
31
|
+
var l, r, u, s, L, v, $, f, b, h, c, p, a, m, d;
|
32
32
|
let t;
|
33
33
|
typeof ((l = o.controlInfo) == null ? void 0 : l.extraLabel) == "function" ? t = o.controlInfo.extraLabel(
|
34
34
|
o.options,
|
@@ -40,14 +40,14 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
40
40
|
o.options,
|
41
41
|
o.slots,
|
42
42
|
o.theme
|
43
|
-
) : typeof ((
|
43
|
+
) : typeof ((f = o.controlInfo) == null ? void 0 : f.extraLabelTooltip) == "string" && (e = o.controlInfo.extraLabelTooltip), typeof e == "string" && (t = ((p = (c = (h = (b = o.translations) == null ? void 0 : b.options) == null ? void 0 : h[o.optionKey]) == null ? void 0 : c.extraLabelTooltip) == null ? void 0 : p[e]) ?? e);
|
44
44
|
let n;
|
45
45
|
typeof ((a = o.controlInfo) == null ? void 0 : a.extraLabelHasClickAction) == "function" ? n = o.controlInfo.extraLabelHasClickAction(
|
46
46
|
o.options,
|
47
47
|
o.slots,
|
48
48
|
o.theme
|
49
49
|
) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (n = o.controlInfo.extraLabelHasClickAction);
|
50
|
-
const i = typeof ((
|
50
|
+
const i = typeof ((d = o.controlInfo) == null ? void 0 : d.extraLabelClickAction) == "function" ? () => o.controlInfo.extraLabelClickAction(
|
51
51
|
o.options,
|
52
52
|
o.slots,
|
53
53
|
o.theme
|
@@ -82,8 +82,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
82
82
|
e[o.optionKey] = t.detail.value;
|
83
83
|
return o.changeCallback(e);
|
84
84
|
}, U = (o) => {
|
85
|
-
var $,
|
86
|
-
const t = ((b = (
|
85
|
+
var $, f, b, h, c, p, a, m, d, x, z, y, k;
|
86
|
+
const t = ((b = (f = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : f[o.optionKey]) == null ? void 0 : b.label) ?? ((h = o.controlInfo) == null ? void 0 : h.label) ?? o.optionKey ?? "", e = o.size, n = {};
|
87
87
|
Object.keys((c = o.controlInfo) == null ? void 0 : c.values).forEach((I) => {
|
88
88
|
var C, O, K, V, E, S;
|
89
89
|
n[I] = {
|
@@ -91,7 +91,7 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
91
91
|
label: ((E = (V = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : V.enum) == null ? void 0 : E[I]) ?? ((S = o.controlInfo) == null ? void 0 : S.values[I].label)
|
92
92
|
};
|
93
93
|
});
|
94
|
-
const i = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((
|
94
|
+
const i = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip), l = H(o.options, o.optionKey), {
|
95
95
|
extraLabel: r,
|
96
96
|
extraLabelTooltip: u,
|
97
97
|
extraLabelHasClickAction: s,
|
@@ -116,8 +116,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
116
116
|
></luzmo-edit-option-action-button-group>
|
117
117
|
`;
|
118
118
|
}, q = (o) => {
|
119
|
-
var
|
120
|
-
const t = ((h = (b = (
|
119
|
+
var f, b, h, c, p, a, m, d, x, z, y, k;
|
120
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = o.size, i = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip);
|
121
121
|
let l;
|
122
122
|
typeof ((x = o.controlInfo) == null ? void 0 : x.default) == "function" ? l = o.controlInfo.default(
|
123
123
|
o.options,
|
@@ -151,8 +151,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
151
151
|
></luzmo-edit-option-color-picker>
|
152
152
|
`;
|
153
153
|
}, D = (o) => {
|
154
|
-
var
|
155
|
-
const t = ((h = (b = (
|
154
|
+
var f, b, h, c, p, a, m, d, x, z, y, k, I, C;
|
155
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey) ?? {}, n = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip), i = o.language ?? "en", l = {};
|
156
156
|
l[i] = ((y = (z = (x = o.translations) == null ? void 0 : x.options) == null ? void 0 : z[o.optionKey]) == null ? void 0 : y.placeholder) ?? ((k = o.controlInfo) == null ? void 0 : k.placeholder) ?? "";
|
157
157
|
const r = o.size, {
|
158
158
|
extraLabel: u,
|
@@ -178,12 +178,12 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
178
178
|
></luzmo-edit-option-multi-language-field>
|
179
179
|
`;
|
180
180
|
}, J = (o) => {
|
181
|
-
var h, c, p, a, m,
|
182
|
-
const t = ((p = (c = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : c[o.optionKey]) == null ? void 0 : p.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", e = (m = o.controlInfo) == null ? void 0 : m.min, n = (
|
181
|
+
var h, c, p, a, m, d, x, z, y, k, I, C, O, K;
|
182
|
+
const t = ((p = (c = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : c[o.optionKey]) == null ? void 0 : p.label) ?? ((a = o.controlInfo) == null ? void 0 : a.label) ?? o.optionKey ?? "", e = (m = o.controlInfo) == null ? void 0 : m.min, n = (d = o.controlInfo) == null ? void 0 : d.max, i = (x = o.controlInfo) == null ? void 0 : x.step, l = H(o.options, o.optionKey), r = ((k = (y = (z = o.translations) == null ? void 0 : z.options) == null ? void 0 : y[o.optionKey]) == null ? void 0 : k.tooltip) ?? ((I = o.controlInfo) == null ? void 0 : I.tooltip), u = (C = o.controlInfo) == null ? void 0 : C.default, s = o.size, {
|
183
183
|
extraLabel: L,
|
184
184
|
extraLabelTooltip: v,
|
185
185
|
extraLabelHasClickAction: $,
|
186
|
-
extraLabelClickAction:
|
186
|
+
extraLabelClickAction: f
|
187
187
|
} = A(o), b = T(o);
|
188
188
|
return w`
|
189
189
|
<luzmo-edit-option-number-field
|
@@ -198,15 +198,15 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
198
198
|
.extraLabel=${L}
|
199
199
|
.extraLabelTooltip=${v}
|
200
200
|
.extraLabelHasClickAction=${$}
|
201
|
-
@extraLabelClick=${
|
201
|
+
@extraLabelClick=${f}
|
202
202
|
@option-changed=${b}
|
203
203
|
.fromOptionValue=${(O = o.controlInfo) == null ? void 0 : O.fromOptionValue}
|
204
204
|
.toOptionValue=${(K = o.controlInfo) == null ? void 0 : K.toOptionValue}
|
205
205
|
></luzmo-edit-option-number-field>
|
206
206
|
`;
|
207
207
|
}, Q = (o) => {
|
208
|
-
var
|
209
|
-
const t = ((h = (b = (
|
208
|
+
var f, b, h, c, p, a, m, d, x, z, y, k;
|
209
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = (p = o.controlInfo) == null ? void 0 : p.default, i = ((d = (m = (a = o.translations) == null ? void 0 : a.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : d.tooltip) ?? ((x = o.controlInfo) == null ? void 0 : x.tooltip), l = (z = o.controlInfo) == null ? void 0 : z.enum.reduce(
|
210
210
|
(I, C) => {
|
211
211
|
var O, K, V;
|
212
212
|
return I[C] = ((V = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : V.enum[C]) ?? C, I;
|
@@ -236,8 +236,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
236
236
|
></luzmo-edit-option-picker>
|
237
237
|
`;
|
238
238
|
}, W = (o) => {
|
239
|
-
var
|
240
|
-
const t = ((h = (b = (
|
239
|
+
var f, b, h, c, p, a, m, d, x, z, y, k;
|
240
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label), e = (p = o.controlInfo) == null ? void 0 : p.positions, n = ((a = o.controlInfo) == null ? void 0 : a.defaultPosition) ?? "top-right", i = o.size, l = H(o.options, o.optionKey), r = ((x = (d = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : d[o.optionKey]) == null ? void 0 : x.tooltip) ?? ((z = o.controlInfo) == null ? void 0 : z.tooltip), {
|
241
241
|
extraLabel: u,
|
242
242
|
extraLabelTooltip: s,
|
243
243
|
extraLabelHasClickAction: L,
|
@@ -261,8 +261,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
261
261
|
></luzmo-edit-option-position-picker>
|
262
262
|
`;
|
263
263
|
}, X = (o) => {
|
264
|
-
var v, $,
|
265
|
-
const t = ((
|
264
|
+
var v, $, f, b, h, c, p, a, m, d, x, z;
|
265
|
+
const t = ((f = ($ = (v = o.translations) == null ? void 0 : v.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : f.label) ?? ((b = o.controlInfo) == null ? void 0 : b.label), e = H(o.options, o.optionKey), n = o.size, i = ((p = (c = (h = o.translations) == null ? void 0 : h.options) == null ? void 0 : c[o.optionKey]) == null ? void 0 : p.tooltip) ?? ((a = o.controlInfo) == null ? void 0 : a.tooltip), {
|
266
266
|
extraLabel: l,
|
267
267
|
extraLabelTooltip: r,
|
268
268
|
extraLabelHasClickAction: u,
|
@@ -272,7 +272,7 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
272
272
|
<luzmo-edit-option-positions-number-field
|
273
273
|
.values=${e}
|
274
274
|
.positions=${(m = o.controlInfo) == null ? void 0 : m.positions}
|
275
|
-
.positionConfiguration=${(
|
275
|
+
.positionConfiguration=${(d = o.controlInfo) == null ? void 0 : d.positionConfiguration}
|
276
276
|
.label=${t}
|
277
277
|
.size=${n}
|
278
278
|
.tooltip=${i}
|
@@ -286,14 +286,14 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
286
286
|
></luzmo-edit-option-positions-number-field>
|
287
287
|
`;
|
288
288
|
}, Y = (o) => {
|
289
|
-
var
|
290
|
-
const t = ((h = (b = (
|
289
|
+
var f, b, h, c, p, a, m, d, x, z, y, k;
|
290
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = (p = o == null ? void 0 : o.controlInfo) == null ? void 0 : p.default, i = (a = o.controlInfo) == null ? void 0 : a.enum.reduce(
|
291
291
|
(I, C) => {
|
292
292
|
var O, K, V;
|
293
293
|
return I[C] = ((V = (K = (O = o.translations) == null ? void 0 : O.options) == null ? void 0 : K[o.optionKey]) == null ? void 0 : V.enum[C]) ?? C, I;
|
294
294
|
},
|
295
295
|
{}
|
296
|
-
), l = o.size, r = ((x = (
|
296
|
+
), l = o.size, r = ((x = (d = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : d[o.optionKey]) == null ? void 0 : x.tooltip) ?? ((z = o.controlInfo) == null ? void 0 : z.tooltip), {
|
297
297
|
extraLabel: u,
|
298
298
|
extraLabelTooltip: s,
|
299
299
|
extraLabelHasClickAction: L,
|
@@ -316,8 +316,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
316
316
|
></luzmo-edit-option-radio-button-group>
|
317
317
|
`;
|
318
318
|
}, Z = (o) => {
|
319
|
-
var c, p, a, m,
|
320
|
-
const t = ((a = (p = (c = o.translations) == null ? void 0 : c.options) == null ? void 0 : p[o.optionKey]) == null ? void 0 : a.label) ?? ((m = o.controlInfo) == null ? void 0 : m.label) ?? o.optionKey ?? "", e = ((z = (x = (
|
319
|
+
var c, p, a, m, d, x, z, y, k, I, C, O, K, V, E;
|
320
|
+
const t = ((a = (p = (c = o.translations) == null ? void 0 : c.options) == null ? void 0 : p[o.optionKey]) == null ? void 0 : a.label) ?? ((m = o.controlInfo) == null ? void 0 : m.label) ?? o.optionKey ?? "", e = ((z = (x = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : x[o.optionKey]) == null ? void 0 : z.tooltip) ?? ((y = o.controlInfo) == null ? void 0 : y.tooltip), n = (k = o.controlInfo) == null ? void 0 : k.min, i = (I = o.controlInfo) == null ? void 0 : I.max, l = (C = o.controlInfo) == null ? void 0 : C.step, r = H(o.options, o.optionKey), u = o.size;
|
321
321
|
let s;
|
322
322
|
typeof ((O = o.controlInfo) == null ? void 0 : O.default) == "function" ? s = o.controlInfo.default(
|
323
323
|
o.options,
|
@@ -328,7 +328,7 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
328
328
|
extraLabel: L,
|
329
329
|
extraLabelTooltip: v,
|
330
330
|
extraLabelHasClickAction: $,
|
331
|
-
extraLabelClickAction:
|
331
|
+
extraLabelClickAction: f
|
332
332
|
} = A(o), b = T(o);
|
333
333
|
return w`
|
334
334
|
<luzmo-edit-option-slider
|
@@ -344,8 +344,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
344
344
|
.extraLabelTooltip=${v}
|
345
345
|
.extraLabelHasClickAction=${$}
|
346
346
|
@extraLabelClick=${() => {
|
347
|
-
if (typeof
|
348
|
-
const { options: S } =
|
347
|
+
if (typeof f == "function") {
|
348
|
+
const { options: S } = f();
|
349
349
|
return o.changeCallback(S);
|
350
350
|
}
|
351
351
|
}}
|
@@ -355,8 +355,8 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
355
355
|
></luzmo-edit-option-slider>
|
356
356
|
`;
|
357
357
|
}, oo = (o) => {
|
358
|
-
var $,
|
359
|
-
const t = ((b = (
|
358
|
+
var $, f, b, h, c, p, a, m, d, x, z;
|
359
|
+
const t = ((b = (f = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : f[o.optionKey]) == null ? void 0 : b.label) ?? ((h = o.controlInfo) == null ? void 0 : h.label) ?? o.optionKey ?? "", e = H(o.options, o.optionKey), n = (c = o.controlInfo) == null ? void 0 : c.default, i = o.size, l = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((d = o.controlInfo) == null ? void 0 : d.tooltip), {
|
360
360
|
extraLabel: r,
|
361
361
|
extraLabelTooltip: u,
|
362
362
|
extraLabelHasClickAction: s,
|
@@ -378,9 +378,9 @@ const R = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
378
378
|
></luzmo-edit-option-switch>
|
379
379
|
`;
|
380
380
|
}, to = (o) => {
|
381
|
-
var
|
382
|
-
const t = ((h = (b = (
|
383
|
-
n[e] = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.placeholder) ?? ((
|
381
|
+
var f, b, h, c, p, a, m, d, x, z, y, k, I, C;
|
382
|
+
const t = ((h = (b = (f = o.translations) == null ? void 0 : f.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "", e = o.language ?? "en", n = {};
|
383
|
+
n[e] = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.placeholder) ?? ((d = o.controlInfo) == null ? void 0 : d.placeholder) ?? "";
|
384
384
|
const i = H(o.options, o.optionKey) ?? "", l = o.size, r = ((y = (z = (x = o.translations) == null ? void 0 : x.options) == null ? void 0 : z[o.optionKey]) == null ? void 0 : y.tooltip) ?? ((k = o.controlInfo) == null ? void 0 : k.tooltip), {
|
385
385
|
extraLabel: u,
|
386
386
|
extraLabelTooltip: s,
|
@@ -461,22 +461,23 @@ const P = class P extends F {
|
|
461
461
|
let i = !1;
|
462
462
|
if (t !== this._itemTypeLoaded) {
|
463
463
|
const u = /* @__PURE__ */ Object.assign({
|
464
|
-
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-
|
465
|
-
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-
|
464
|
+
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-B5qtlH-_.js"),
|
465
|
+
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-CQfpV1Rx.js"),
|
466
466
|
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-DoZHVmpm.js"),
|
467
|
-
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-
|
467
|
+
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-Cp6OQnJl.js"),
|
468
468
|
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-D8mAooLE.js"),
|
469
469
|
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-V8tRnQqz.js"),
|
470
470
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("../circle-pack-chart-options.config-DEYL3DMK.js"),
|
471
471
|
"../../item-definitions/circular-gauge/circular-guage-options.config.ts": () => import("../circular-guage-options.config-C3ExuT5F.js"),
|
472
|
-
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-
|
472
|
+
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-CGw1dN1E.js"),
|
473
473
|
"../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("../combination-chart-options.config-CApdgFvv.js"),
|
474
|
+
"../../item-definitions/conditional-number/conditional-number-options.config.ts": () => import("../conditional-number-options.config-B24MqnZj.js"),
|
474
475
|
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-DuJFyp4z.js"),
|
475
476
|
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-BxjR1xAD.js"),
|
476
477
|
"../../item-definitions/image/image-options.config.ts": () => import("../image-options.config-CBfeq5Zw.js"),
|
477
|
-
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-
|
478
|
+
"../../item-definitions/line-chart/line-chart-options.config.ts": () => import("../line-chart-options.config-CEUJYNt7.js"),
|
478
479
|
"../../item-definitions/ohlc-chart/ohlc-chart-options.config.ts": () => import("../ohlc-chart-options.config-D9npwajt.js"),
|
479
|
-
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-
|
480
|
+
"../../item-definitions/radar-chart/radar-chart-options.config.ts": () => import("../radar-chart-options.config-gKHFbC63.js"),
|
480
481
|
"../../item-definitions/sankey-diagram/sankey-diagram-options.config.ts": () => import("../sankey-diagram-options.config-ylhZhJ6H.js"),
|
481
482
|
"../../item-definitions/search-filter/search-filter-options.config.ts": () => import("../search-filter-options.config-baX2Vdul.js"),
|
482
483
|
"../../item-definitions/slicer-filter/slicer-filter-options.config.ts": () => import("../slicer-filter-options.config-A3YK_KZn.js"),
|
@@ -484,7 +485,7 @@ const P = class P extends F {
|
|
484
485
|
"../../item-definitions/spacer/spacer-options.config.ts": () => import("../spacer-options.config-IpwUxDyU.js"),
|
485
486
|
"../../item-definitions/sunburst-chart/sunburst-chart-options.config.ts": () => import("../sunburst-chart-options.config-VZqDthcz.js"),
|
486
487
|
"../../item-definitions/text/text-options.config.ts": () => import("../text-options.config-BWaJoeG2.js"),
|
487
|
-
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-
|
488
|
+
"../../item-definitions/treemap-chart/treemap-chart-options.config.ts": () => import("../treemap-chart-options.config-f8L8KfDj.js"),
|
488
489
|
"../../item-definitions/video/video-options.config.ts": () => import("../video-options.config-CbtNZAEK.js"),
|
489
490
|
"../../item-definitions/wordcloud-chart/wordcloud-chart-options.config.ts": () => import("../wordcloud-chart-options.config-CQs8YFfd.js")
|
490
491
|
});
|
@@ -551,6 +552,11 @@ const P = class P extends F {
|
|
551
552
|
"../../item-definitions/combination-chart/i18n/combination-chart-options.es.ts": () => import("../combination-chart-options.es-zMa9kqmV.js"),
|
552
553
|
"../../item-definitions/combination-chart/i18n/combination-chart-options.fr.ts": () => import("../combination-chart-options.fr-DOXtaY1V.js"),
|
553
554
|
"../../item-definitions/combination-chart/i18n/combination-chart-options.nl.ts": () => import("../combination-chart-options.nl-CCChbhx_.js"),
|
555
|
+
"../../item-definitions/conditional-number/i18n/conditional-number-options.de.ts": () => import("../conditional-number-options.de-BJcjBZY1.js"),
|
556
|
+
"../../item-definitions/conditional-number/i18n/conditional-number-options.en.ts": () => import("../conditional-number-options.en-WSrIzRGJ.js"),
|
557
|
+
"../../item-definitions/conditional-number/i18n/conditional-number-options.es.ts": () => import("../conditional-number-options.es-BKqT0zog.js"),
|
558
|
+
"../../item-definitions/conditional-number/i18n/conditional-number-options.fr.ts": () => import("../conditional-number-options.fr-D2r7Azy8.js"),
|
559
|
+
"../../item-definitions/conditional-number/i18n/conditional-number-options.nl.ts": () => import("../conditional-number-options.nl-pkRI1tLZ.js"),
|
554
560
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.de.ts": () => import("../donut-chart-options.de-nSj3ghwo.js"),
|
555
561
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.en.ts": () => import("../donut-chart-options.en-CrUf4CJ9.js"),
|
556
562
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.es.ts": () => import("../donut-chart-options.es-DnsGqOdo.js"),
|
@@ -17,22 +17,22 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
"use strict";var
|
20
|
+
"use strict";var m=Object.getPrototypeOf;var b=Reflect.get;var d=(c,t,e)=>b(m(c),e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../luzmo-icons-XsFsTAl3.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-h9T5DPIm.cjs");const n=require("../property-0L4eB11h.cjs"),z=require("../query-D5qWDopr.cjs"),g=require("../edit-option-base-Boz7TNRZ.cjs"),v="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var h=Object.defineProperty,i=(c,t,e,l)=>{for(var r=void 0,s=c.length-1,p;s>=0;s--)(p=c[s])&&(r=p(t,e,r)||r);return r&&h(t,e,r),r};const f={alignBottom:o.U,alignMiddle:o.P,alignTop:o.E,alignLeft:o.G,alignCenter:o.q,alignRight:o.O,ban:o.a1,borderSolid:o.b2,borderDashed:o.k2,borderDotted:o.S2,compress:o.Y,expand:o._,arrowsExpand:o.c1,arrowsHorizontal:o.J,arrowsVertical:o.j,italic:o.w1,bold:o.D1,underline:o.x1,rows:o.E1,columns:o.P1,table:o.r1},a=class a extends g.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){var e,l,r;const t=this.selects==="multiple"?(e=this.actionGroup)==null?void 0:e.selected:(r=(l=this.actionGroup)==null?void 0:l.selected)==null?void 0:r[0];this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}}))}_generateButtonContents(t){return typeof t=="string"?n.x`${t}`:t.iconName||t.icon?n.x`
|
21
21
|
<luzmo-icon
|
22
22
|
slot="icon"
|
23
|
-
.icon=${t.icon??
|
23
|
+
.icon=${t.icon??f[t.iconName]}
|
24
24
|
.label=${t.label??""}
|
25
25
|
></luzmo-icon>
|
26
26
|
${t.buttonText??""}
|
27
|
-
`:n.x`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,
|
27
|
+
`:n.x`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,e])=>n.x`
|
28
28
|
<luzmo-action-button value=${t} ?disabled=${this.disabled}>
|
29
|
-
${this._generateButtonContents(
|
30
|
-
${
|
29
|
+
${this._generateButtonContents(e)}
|
30
|
+
${e.label?n.x`<luzmo-tooltip
|
31
31
|
self-managed
|
32
32
|
placement="top"
|
33
33
|
size=${this.size}
|
34
34
|
>
|
35
|
-
${
|
35
|
+
${e.label}
|
36
36
|
</luzmo-tooltip>`:""}
|
37
37
|
</luzmo-action-button>
|
38
38
|
`)}renderController(){const t=this._generateActionButtons();return n.x`
|
@@ -48,4 +48,4 @@
|
|
48
48
|
>
|
49
49
|
${t}
|
50
50
|
</luzmo-action-group>
|
51
|
-
`}};a.styles=[...
|
51
|
+
`}};a.styles=[...d(a,a,"styles"),n.r$1(v)];let u=a;i([n.n({type:Array})],u.prototype,"values");i([n.n({type:Boolean,reflect:!0})],u.prototype,"disabled");i([n.n({type:String})],u.prototype,"selects");i([n.n({type:Array})],u.prototype,"value");i([n.n({type:Array})],u.prototype,"default");i([z.e("luzmo-action-group")],u.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",u);exports.LuzmoEditOptionActionButtonGroup=u;
|
@@ -17,63 +17,65 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
var
|
21
|
-
var
|
22
|
-
var
|
23
|
-
import { r as
|
20
|
+
var d = Object.getPrototypeOf;
|
21
|
+
var p = Reflect.get;
|
22
|
+
var z = (r, o, t) => p(d(r), t, o);
|
23
|
+
import { r as g, P as f, E as h, a as v, D as x, w as y, j as w, J as k, c as $, _ as C, Y as q, S, e as E, f as _, g as B, i as P, q as D, G as j, l as A, m as H, U as N } from "../luzmo-icons-BE2T8vWu.js";
|
24
24
|
import "../index-CdCtJpK9.js";
|
25
25
|
import "../index-Bee1uunR.js";
|
26
26
|
import "../index-ymMEPngt.js";
|
27
|
-
import { a as
|
28
|
-
import { e as
|
29
|
-
import { L as
|
30
|
-
const
|
27
|
+
import { a as T, x as u, n as c } from "../property-B2F7x7Cz.js";
|
28
|
+
import { e as U } from "../query-Ddbd72Um.js";
|
29
|
+
import { L as M } from "../edit-option-base-qePiIQWd.js";
|
30
|
+
const b = () => {
|
31
31
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
32
32
|
const r = document.createElement("style");
|
33
33
|
r.setAttribute("data-luzmo-vars", ""), r.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(r);
|
34
34
|
}
|
35
35
|
};
|
36
|
-
|
37
|
-
const
|
38
|
-
var
|
39
|
-
for (var e = void 0,
|
40
|
-
(
|
41
|
-
return e &&
|
36
|
+
b();
|
37
|
+
const R = "luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";
|
38
|
+
var V = Object.defineProperty, n = (r, o, t, i) => {
|
39
|
+
for (var e = void 0, m = r.length - 1, s; m >= 0; m--)
|
40
|
+
(s = r[m]) && (e = s(o, t, e) || e);
|
41
|
+
return e && V(o, t, e), e;
|
42
42
|
};
|
43
|
-
const
|
44
|
-
alignBottom:
|
45
|
-
alignMiddle:
|
46
|
-
alignTop:
|
47
|
-
alignLeft:
|
48
|
-
alignCenter:
|
49
|
-
alignRight:
|
50
|
-
ban:
|
51
|
-
borderSolid:
|
52
|
-
borderDashed:
|
53
|
-
borderDotted:
|
54
|
-
compress:
|
55
|
-
expand:
|
56
|
-
arrowsExpand:
|
57
|
-
arrowsHorizontal:
|
58
|
-
arrowsVertical:
|
59
|
-
italic:
|
60
|
-
bold:
|
61
|
-
underline:
|
62
|
-
rows:
|
63
|
-
columns:
|
64
|
-
table:
|
65
|
-
}, a = class a extends
|
43
|
+
const F = {
|
44
|
+
alignBottom: N,
|
45
|
+
alignMiddle: H,
|
46
|
+
alignTop: A,
|
47
|
+
alignLeft: j,
|
48
|
+
alignCenter: D,
|
49
|
+
alignRight: P,
|
50
|
+
ban: B,
|
51
|
+
borderSolid: _,
|
52
|
+
borderDashed: E,
|
53
|
+
borderDotted: S,
|
54
|
+
compress: q,
|
55
|
+
expand: C,
|
56
|
+
arrowsExpand: $,
|
57
|
+
arrowsHorizontal: k,
|
58
|
+
arrowsVertical: w,
|
59
|
+
italic: y,
|
60
|
+
bold: x,
|
61
|
+
underline: v,
|
62
|
+
rows: h,
|
63
|
+
columns: f,
|
64
|
+
table: g
|
65
|
+
}, a = class a extends M {
|
66
66
|
constructor() {
|
67
67
|
super(...arguments), this.values = {}, this.disabled = !1;
|
68
68
|
}
|
69
69
|
_handleEvent() {
|
70
|
+
var t, i, e;
|
71
|
+
const o = this.selects === "multiple" ? (t = this.actionGroup) == null ? void 0 : t.selected : (e = (i = this.actionGroup) == null ? void 0 : i.selected) == null ? void 0 : e[0];
|
70
72
|
this.dispatchEvent(
|
71
73
|
new CustomEvent("option-changed", {
|
72
74
|
bubbles: !0,
|
73
75
|
composed: !0,
|
74
76
|
cancelable: !0,
|
75
77
|
detail: {
|
76
|
-
value:
|
78
|
+
value: o
|
77
79
|
}
|
78
80
|
})
|
79
81
|
);
|
@@ -82,7 +84,7 @@ const V = {
|
|
82
84
|
return typeof o == "string" ? u`${o}` : o.iconName || o.icon ? u`
|
83
85
|
<luzmo-icon
|
84
86
|
slot="icon"
|
85
|
-
.icon=${o.icon ??
|
87
|
+
.icon=${o.icon ?? F[o.iconName]}
|
86
88
|
.label=${o.label ?? ""}
|
87
89
|
></luzmo-icon>
|
88
90
|
${o.buttonText ?? ""}
|
@@ -90,15 +92,15 @@ const V = {
|
|
90
92
|
}
|
91
93
|
_generateActionButtons() {
|
92
94
|
return Object.entries(this.values).map(
|
93
|
-
([o,
|
95
|
+
([o, t]) => u`
|
94
96
|
<luzmo-action-button value=${o} ?disabled=${this.disabled}>
|
95
|
-
${this._generateButtonContents(
|
96
|
-
${
|
97
|
+
${this._generateButtonContents(t)}
|
98
|
+
${t.label ? u`<luzmo-tooltip
|
97
99
|
self-managed
|
98
100
|
placement="top"
|
99
101
|
size=${this.size}
|
100
102
|
>
|
101
|
-
${
|
103
|
+
${t.label}
|
102
104
|
</luzmo-tooltip>` : ""}
|
103
105
|
</luzmo-action-button>
|
104
106
|
`
|
@@ -122,30 +124,30 @@ const V = {
|
|
122
124
|
`;
|
123
125
|
}
|
124
126
|
};
|
125
|
-
a.styles = [...
|
126
|
-
let
|
127
|
+
a.styles = [...z(a, a, "styles"), T(R)];
|
128
|
+
let l = a;
|
127
129
|
n([
|
128
130
|
c({ type: Array })
|
129
|
-
],
|
131
|
+
], l.prototype, "values");
|
130
132
|
n([
|
131
133
|
c({ type: Boolean, reflect: !0 })
|
132
|
-
],
|
134
|
+
], l.prototype, "disabled");
|
133
135
|
n([
|
134
136
|
c({ type: String })
|
135
|
-
],
|
137
|
+
], l.prototype, "selects");
|
136
138
|
n([
|
137
139
|
c({ type: Array })
|
138
|
-
],
|
140
|
+
], l.prototype, "value");
|
139
141
|
n([
|
140
142
|
c({ type: Array })
|
141
|
-
],
|
143
|
+
], l.prototype, "default");
|
142
144
|
n([
|
143
|
-
|
144
|
-
],
|
145
|
+
U("luzmo-action-group")
|
146
|
+
], l.prototype, "actionGroup");
|
145
147
|
customElements.get("luzmo-edit-option-action-button-group") || customElements.define(
|
146
148
|
"luzmo-edit-option-action-button-group",
|
147
|
-
|
149
|
+
l
|
148
150
|
);
|
149
151
|
export {
|
150
|
-
|
152
|
+
l as LuzmoEditOptionActionButtonGroup
|
151
153
|
};
|
package/components/{line-chart-options.config-DKcFPWP7.js → line-chart-options.config-CEUJYNt7.js}
RENAMED
@@ -17,18 +17,18 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
const d = (
|
21
|
-
var
|
22
|
-
return e && e.length > 0 ? ((
|
23
|
-
}, u = (
|
24
|
-
var
|
25
|
-
return e && e.length > 0 ? !(((
|
26
|
-
},
|
27
|
-
var
|
28
|
-
return ((
|
29
|
-
}, p = (
|
30
|
-
var
|
31
|
-
return ((
|
20
|
+
const d = (t, e) => {
|
21
|
+
var r, a, l, i;
|
22
|
+
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? ((a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0 || ((i = (l = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : l.content) == null ? void 0 : i.length) > 1 : !1;
|
23
|
+
}, u = (t, e) => {
|
24
|
+
var r, a, l, i;
|
25
|
+
return Array.isArray(e) && (e == null ? void 0 : e.length) > 0 ? !(((a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "legend")) == null ? void 0 : r.content) == null ? void 0 : a.length) > 0) && ((i = (l = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "measure")) == null ? void 0 : l.content) == null ? void 0 : i.length) <= 1 : !0;
|
26
|
+
}, y = (t, e) => {
|
27
|
+
var r, a, l;
|
28
|
+
return Array.isArray(e) && ((l = (a = (r = e == null ? void 0 : e.find((i) => (i == null ? void 0 : i.name) === "x-axis")) == null ? void 0 : r.content) == null ? void 0 : a[0]) == null ? void 0 : l.type) === "datetime";
|
29
|
+
}, p = (t, e) => {
|
30
|
+
var r, a, l, i;
|
31
|
+
return Array.isArray(e) && ((l = (a = (r = e == null ? void 0 : e.find((n) => (n == null ? void 0 : n.name) === "x-axis")) == null ? void 0 : r.content) == null ? void 0 : a[0]) == null ? void 0 : l.type) === "datetime" && ((i = t == null ? void 0 : t.missingValue) == null ? void 0 : i.type) === "manual";
|
32
32
|
}, c = [
|
33
33
|
{
|
34
34
|
key: "general",
|
@@ -72,7 +72,7 @@ const d = (l, e) => {
|
|
72
72
|
default: "no",
|
73
73
|
enum: ["no", "break", "manual"]
|
74
74
|
},
|
75
|
-
visibleIf:
|
75
|
+
visibleIf: y
|
76
76
|
},
|
77
77
|
{
|
78
78
|
key: "missingValue.value",
|
@@ -89,9 +89,9 @@ const d = (l, e) => {
|
|
89
89
|
control: {
|
90
90
|
label: "Line color",
|
91
91
|
type: "color-picker",
|
92
|
-
default: (
|
93
|
-
var
|
94
|
-
return (
|
92
|
+
default: (t, e, r) => {
|
93
|
+
var a;
|
94
|
+
return (r == null ? void 0 : r.mainColor) ?? ((a = r == null ? void 0 : r.colors) == null ? void 0 : a[0]);
|
95
95
|
}
|
96
96
|
},
|
97
97
|
visibleIf: u
|
@@ -140,9 +140,9 @@ const d = (l, e) => {
|
|
140
140
|
max: 10,
|
141
141
|
step: 1
|
142
142
|
},
|
143
|
-
visibleIf: (
|
143
|
+
visibleIf: (t) => {
|
144
144
|
var e;
|
145
|
-
return (e =
|
145
|
+
return (e = t == null ? void 0 : t.markers) == null ? void 0 : e.enabled;
|
146
146
|
}
|
147
147
|
}
|
148
148
|
]
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
2
|
+
*
|
3
|
+
* Copyright © 2025 Luzmo
|
4
|
+
* All rights reserved.
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
7
|
+
* This license allows users with a current active Luzmo account
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
* SOFTWARE.
|
19
|
+
* */
|
20
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=(t,e)=>{var r,a,l,i;return Array.isArray(e)&&(e==null?void 0:e.length)>0?((a=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:a.length)>0||((i=(l=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:l.content)==null?void 0:i.length)>1:!1},u=(t,e)=>{var r,a,l,i;return Array.isArray(e)&&(e==null?void 0:e.length)>0?!(((a=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="legend"))==null?void 0:r.content)==null?void 0:a.length)>0)&&((i=(l=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="measure"))==null?void 0:l.content)==null?void 0:i.length)<=1:!0},y=(t,e)=>{var r,a,l;return Array.isArray(e)&&((l=(a=(r=e==null?void 0:e.find(i=>(i==null?void 0:i.name)==="x-axis"))==null?void 0:r.content)==null?void 0:a[0])==null?void 0:l.type)==="datetime"},c=(t,e)=>{var r,a,l,i;return Array.isArray(e)&&((l=(a=(r=e==null?void 0:e.find(n=>(n==null?void 0:n.name)==="x-axis"))==null?void 0:r.content)==null?void 0:a[0])==null?void 0:l.type)==="datetime"&&((i=t==null?void 0:t.missingValue)==null?void 0:i.type)==="manual"},p=[{key:"general",type:"group",open:!0,children:[{key:"display.title",control:{label:"Title",type:"switch",default:!0}},{key:"display.legend",control:{label:"Legend",type:"switch",default:!0},visibleIf:d},{type:"divider"},{key:"interpolation",control:{label:"Interpolation",type:"picker",default:"linear",enum:["linear","step-before","step-after","monotone"]}},{key:"missingValue.type",control:{label:"Fill missing values",type:"picker",default:"no",enum:["no","break","manual"]},visibleIf:y},{key:"missingValue.value",control:{label:"Value",type:"number-field",default:"no",min:1},visibleIf:c},{key:"color",control:{label:"Line color",type:"color-picker",default:(t,e,r)=>{var a;return(r==null?void 0:r.mainColor)??((a=r==null?void 0:r.colors)==null?void 0:a[0])}},visibleIf:u},{key:"lines.gradient",control:{label:"Line gradient",type:"switch",default:!0}},{key:"lines.strokeWidth",control:{label:"Stroke width",type:"slider",default:2,min:1,max:7,step:1}}]},{key:"markers",type:"group",open:!1,children:[{key:"markers.enabled",control:{label:"Enabled",type:"switch",default:!1}},{key:"markers.size",control:{type:"slider",label:"Size",default:4,min:2,max:10,step:1},visibleIf:t=>{var e;return(e=t==null?void 0:t.markers)==null?void 0:e.enabled}}]},{key:"legend",type:"group",open:!1,children:[{key:"legend.position",control:{label:"Position",type:"position-picker",default:"top-right",enum:["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]}}],visibleIf:d}];exports.default=p;
|