@luzmo/analytics-components-kit 1.0.1-alpha.14 → 1.0.1-alpha.16
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-BsFp2CBS.cjs +20 -0
- package/components/box-plot-options.config-DoZHVmpm.js +321 -0
- package/components/box-plot-options.de-D3Yye2Yp.js +113 -0
- package/components/box-plot-options.de-QbWt-xja.cjs +20 -0
- package/components/box-plot-options.en-CZhtAYXJ.cjs +20 -0
- package/components/box-plot-options.en-DADAI4yL.js +113 -0
- package/components/box-plot-options.es-ePZUgamp.js +113 -0
- package/components/box-plot-options.es-lyXLMKKo.cjs +20 -0
- package/components/box-plot-options.fr-BXh76t2K.cjs +20 -0
- package/components/box-plot-options.fr-DNkSteEz.js +113 -0
- package/components/box-plot-options.nl-DDAzT-zP.cjs +20 -0
- package/components/box-plot-options.nl-GBXrkaLf.js +113 -0
- package/components/bullet-chart-options.config-BO22R7gx.cjs +20 -0
- package/components/bullet-chart-options.config-D8mAooLE.js +94 -0
- package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
- package/components/bullet-chart-options.de-DxBk0yku.js +51 -0
- package/components/bullet-chart-options.en-BPjbk6Lk.cjs +20 -0
- package/components/bullet-chart-options.en-Cu1cnL90.js +51 -0
- package/components/bullet-chart-options.es-DxC9GWBS.cjs +20 -0
- package/components/bullet-chart-options.es-pGm2umSR.js +51 -0
- package/components/bullet-chart-options.fr-Cf_rodY7.cjs +20 -0
- package/components/bullet-chart-options.fr-DGOcuFKQ.js +51 -0
- package/components/bullet-chart-options.nl-BJ39_p2y.js +51 -0
- package/components/bullet-chart-options.nl-BdIjKMZf.cjs +20 -0
- package/components/choropleth-map-options.config-4QDypbCL.cjs +20 -0
- package/components/choropleth-map-options.config-V8tRnQqz.js +340 -0
- package/components/choropleth-map-options.de-BSt-L5Vh.js +102 -0
- package/components/choropleth-map-options.de-B_Agdr4T.cjs +20 -0
- package/components/choropleth-map-options.en-Cy7WcWLG.js +102 -0
- package/components/choropleth-map-options.en-DJHAy6ek.cjs +20 -0
- package/components/choropleth-map-options.es-BnR-9vJv.js +102 -0
- package/components/choropleth-map-options.es-Dr07odJo.cjs +20 -0
- package/components/choropleth-map-options.fr-BlwLS1Wy.js +102 -0
- package/components/choropleth-map-options.fr-CR5NMRR3.cjs +20 -0
- package/components/choropleth-map-options.nl-BITK3ddz.cjs +20 -0
- package/components/choropleth-map-options.nl-D70fr4Hl.js +102 -0
- package/components/circular-gauge-options.de-BO3S8GCr.js +73 -0
- package/components/circular-gauge-options.de-BZfrQqs3.cjs +20 -0
- package/components/circular-gauge-options.en-CB-jZtE6.cjs +20 -0
- package/components/circular-gauge-options.en-Cyhhijwg.js +76 -0
- package/components/circular-gauge-options.es-DJ7ru4Wf.js +73 -0
- package/components/circular-gauge-options.es-DuQPHjcG.cjs +20 -0
- package/components/circular-gauge-options.fr-BVWliP7i.js +76 -0
- package/components/circular-gauge-options.fr-CFMa8H8K.cjs +20 -0
- package/components/circular-gauge-options.nl-BB_jgj5k.cjs +20 -0
- package/components/circular-gauge-options.nl-DGpV7Riu.js +76 -0
- package/components/circular-guage-options.config-C3ExuT5F.js +152 -0
- package/components/circular-guage-options.config-Dvg5quJ9.cjs +20 -0
- package/components/combination-chart-options.config-CApdgFvv.js +45 -0
- package/components/combination-chart-options.config-CyYEp-gX.cjs +20 -0
- package/components/combination-chart-options.de-CEsSn5-2.js +38 -0
- package/components/combination-chart-options.de-CuVQ-JHu.cjs +20 -0
- package/components/combination-chart-options.en-BCKuLOQb.js +38 -0
- package/components/combination-chart-options.en-BPcGTsP4.cjs +20 -0
- package/components/combination-chart-options.es-Dy7jzzFy.cjs +20 -0
- package/components/combination-chart-options.es-zMa9kqmV.js +38 -0
- package/components/combination-chart-options.fr-CLUyqNH7.cjs +20 -0
- package/components/combination-chart-options.fr-DOXtaY1V.js +38 -0
- package/components/combination-chart-options.nl-BF6joCMV.cjs +20 -0
- package/components/combination-chart-options.nl-CCChbhx_.js +38 -0
- package/components/draggable-data-item-level/index.cjs +2 -2
- package/components/draggable-data-item-level/index.js +2 -2
- package/components/edit-item/index.cjs +6 -6
- package/components/edit-item/index.js +54 -24
- package/components/edit-option/index.cjs +65 -65
- package/components/edit-option/index.js +150 -120
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +4 -4
- package/item-definitions/box-plot/box-plot-options.config.d.ts +173 -0
- package/item-definitions/box-plot/i18n/box-plot-options.de.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.en.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.es.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.fr.d.ts +92 -0
- package/item-definitions/box-plot/i18n/box-plot-options.nl.d.ts +92 -0
- package/item-definitions/bullet-chart/bullet-chart-options.config.d.ts +43 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.de.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.en.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.es.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.fr.d.ts +30 -0
- package/item-definitions/bullet-chart/i18n/bullet-chart-options.nl.d.ts +30 -0
- package/item-definitions/choropleth-map/choropleth-map-options.config.d.ts +168 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.de.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.en.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.es.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.fr.d.ts +81 -0
- package/item-definitions/choropleth-map/i18n/choropleth-map-options.nl.d.ts +81 -0
- package/item-definitions/circular-gauge/circular-guage-options.config.d.ts +109 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.de.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.en.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.es.d.ts +52 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.fr.d.ts +55 -0
- package/item-definitions/circular-gauge/i18n/circular-gauge-options.nl.d.ts +55 -0
- package/item-definitions/combination-chart/combination-chart-options.config.d.ts +13 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.de.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.en.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.es.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.fr.d.ts +17 -0
- package/item-definitions/combination-chart/i18n/combination-chart-options.nl.d.ts +17 -0
- package/package.json +1 -1
- package/utils/map-tile-providers/index.d.ts +93 -0
@@ -17,36 +17,36 @@
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
18
|
* SOFTWARE.
|
19
19
|
* */
|
20
|
-
import { h as
|
21
|
-
import { x as w, k as
|
22
|
-
import { o as
|
23
|
-
const
|
20
|
+
import { h as B } from "../task-Cr9aRIbV.js";
|
21
|
+
import { x as w, k as F, a as G, n as _ } from "../property-B2F7x7Cz.js";
|
22
|
+
import { o as N } from "../if-defined-Bv6MRdSW.js";
|
23
|
+
const g = () => {
|
24
24
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
25
25
|
const o = document.createElement("style");
|
26
26
|
o.setAttribute("data-luzmo-vars", ""), o.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(o);
|
27
27
|
}
|
28
28
|
};
|
29
|
-
|
30
|
-
const
|
31
|
-
var l, r, u, s, L, v, $, d, b, h, c,
|
29
|
+
g();
|
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, $, d, b, h, c, p, a, m, f;
|
32
32
|
let t;
|
33
33
|
typeof ((l = o.controlInfo) == null ? void 0 : l.extraLabel) == "function" ? t = o.controlInfo.extraLabel(
|
34
34
|
o.options,
|
35
35
|
o.slots,
|
36
36
|
o.theme
|
37
37
|
) : typeof ((r = o.controlInfo) == null ? void 0 : r.extraLabel) == "string" && (t = o.controlInfo.extraLabel), typeof t == "string" && (t = ((v = (L = (s = (u = o.translations) == null ? void 0 : u.options) == null ? void 0 : s[o.optionKey]) == null ? void 0 : L.extraLabel) == null ? void 0 : v[t]) ?? t);
|
38
|
-
let
|
38
|
+
let e;
|
39
39
|
typeof (($ = o.controlInfo) == null ? void 0 : $.extraLabelTooltip) == "function" ? t = o.controlInfo.extraLabelTooltip(
|
40
40
|
o.options,
|
41
41
|
o.slots,
|
42
42
|
o.theme
|
43
|
-
) : typeof ((d = o.controlInfo) == null ? void 0 : d.extraLabelTooltip) == "string" && (
|
44
|
-
let
|
45
|
-
typeof ((
|
43
|
+
) : typeof ((d = o.controlInfo) == null ? void 0 : d.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
|
+
let n;
|
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
|
-
) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (
|
49
|
+
) : typeof ((m = o.controlInfo) == null ? void 0 : m.extraLabelHasClickAction) == "boolean" && (n = o.controlInfo.extraLabelHasClickAction);
|
50
50
|
const i = typeof ((f = o.controlInfo) == null ? void 0 : f.extraLabelClickAction) == "function" ? () => o.controlInfo.extraLabelClickAction(
|
51
51
|
o.options,
|
52
52
|
o.slots,
|
@@ -55,43 +55,43 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
55
55
|
};
|
56
56
|
return {
|
57
57
|
extraLabel: t,
|
58
|
-
extraLabelTooltip:
|
59
|
-
extraLabelHasClickAction:
|
58
|
+
extraLabelTooltip: e,
|
59
|
+
extraLabelHasClickAction: n,
|
60
60
|
extraLabelClickAction: i
|
61
61
|
};
|
62
62
|
}, H = (o, t) => {
|
63
63
|
if (t.includes(".")) {
|
64
|
-
const
|
65
|
-
let
|
66
|
-
for (let l = 0; l <
|
67
|
-
|
68
|
-
const i =
|
69
|
-
return e[
|
64
|
+
const e = t.split(".");
|
65
|
+
let n = o;
|
66
|
+
for (let l = 0; l < e.length - 1; l++)
|
67
|
+
n = n[e[l]] ?? {};
|
68
|
+
const i = e.length - 1;
|
69
|
+
return n[e[i]];
|
70
70
|
}
|
71
71
|
return o[t];
|
72
72
|
}, T = (o) => (t) => {
|
73
|
-
const
|
73
|
+
const e = { ...o.options };
|
74
74
|
if (o.optionKey.includes(".")) {
|
75
|
-
const
|
76
|
-
let i =
|
77
|
-
for (let r = 0; r <
|
78
|
-
i[
|
79
|
-
const l =
|
80
|
-
i[
|
75
|
+
const n = o.optionKey.split(".");
|
76
|
+
let i = e;
|
77
|
+
for (let r = 0; r < n.length - 1; r++)
|
78
|
+
i[n[r]] = i[n[r]] ?? {}, i = i[n[r]];
|
79
|
+
const l = n.length - 1;
|
80
|
+
i[n[l]] = t.detail.value;
|
81
81
|
} else
|
82
|
-
|
83
|
-
return o.changeCallback(
|
84
|
-
},
|
85
|
-
var $, d, b, h, c,
|
86
|
-
const t = ((b = (d = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : d[o.optionKey]) == null ? void 0 : b.label) ?? ((h = o.controlInfo) == null ? void 0 : h.label) ?? o.optionKey ?? "",
|
82
|
+
e[o.optionKey] = t.detail.value;
|
83
|
+
return o.changeCallback(e);
|
84
|
+
}, U = (o) => {
|
85
|
+
var $, d, b, h, c, p, a, m, f, x, z, y, k;
|
86
|
+
const t = ((b = (d = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : d[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] = {
|
90
90
|
...(C = o.controlInfo) == null ? void 0 : C.values[I],
|
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 = (
|
94
|
+
const i = ((m = (a = (p = o.translations) == null ? void 0 : p.options) == null ? void 0 : a[o.optionKey]) == null ? void 0 : m.tooltip) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), l = H(o.options, o.optionKey), {
|
95
95
|
extraLabel: r,
|
96
96
|
extraLabelTooltip: u,
|
97
97
|
extraLabelHasClickAction: s,
|
@@ -101,10 +101,10 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
101
101
|
<luzmo-edit-option-action-button-group
|
102
102
|
.label=${t}
|
103
103
|
.value=${l}
|
104
|
-
.values=${
|
105
|
-
.default=${(
|
106
|
-
.selects=${(
|
107
|
-
.size=${
|
104
|
+
.values=${n}
|
105
|
+
.default=${(x = o.controlInfo) == null ? void 0 : x.default}
|
106
|
+
.selects=${(z = o.controlInfo) == null ? void 0 : z.selects}
|
107
|
+
.size=${e}
|
108
108
|
.tooltip=${i}
|
109
109
|
.extraLabel=${r}
|
110
110
|
.extraLabelTooltip=${u}
|
@@ -115,15 +115,15 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
115
115
|
.toOptionValue=${(k = o.controlInfo) == null ? void 0 : k.toOptionValue}
|
116
116
|
></luzmo-edit-option-action-button-group>
|
117
117
|
`;
|
118
|
-
},
|
119
|
-
var d, b, h, c,
|
120
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "",
|
118
|
+
}, q = (o) => {
|
119
|
+
var d, b, h, c, p, a, m, f, x, z, y, k;
|
120
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip);
|
121
121
|
let l;
|
122
|
-
typeof ((
|
122
|
+
typeof ((x = o.controlInfo) == null ? void 0 : x.default) == "function" ? l = o.controlInfo.default(
|
123
123
|
o.options,
|
124
124
|
o.slots,
|
125
125
|
o.theme
|
126
|
-
) : typeof ((
|
126
|
+
) : typeof ((z = o.controlInfo) == null ? void 0 : z.default) == "string" && (l = o.controlInfo.default);
|
127
127
|
const {
|
128
128
|
extraLabel: r,
|
129
129
|
extraLabelTooltip: u,
|
@@ -132,9 +132,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
132
132
|
} = A(o), v = T(o);
|
133
133
|
return w`
|
134
134
|
<luzmo-edit-option-color-picker
|
135
|
-
.value=${
|
135
|
+
.value=${e ?? l}
|
136
136
|
.label=${t}
|
137
|
-
.size=${
|
137
|
+
.size=${n}
|
138
138
|
.tooltip=${i}
|
139
139
|
.extraLabel=${r}
|
140
140
|
.extraLabelTooltip=${u}
|
@@ -150,10 +150,10 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
150
150
|
.toOptionValue=${(k = o.controlInfo) == null ? void 0 : k.toOptionValue}
|
151
151
|
></luzmo-edit-option-color-picker>
|
152
152
|
`;
|
153
|
-
},
|
154
|
-
var d, b, h, c,
|
155
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "",
|
156
|
-
l[i] = ((y = (
|
153
|
+
}, D = (o) => {
|
154
|
+
var d, b, h, c, p, a, m, f, x, z, y, k, I, C;
|
155
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), i = o.language ?? "en", l = {};
|
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,
|
159
159
|
extraLabelTooltip: s,
|
@@ -164,10 +164,10 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
164
164
|
<luzmo-edit-option-multi-language-field
|
165
165
|
.label=${t}
|
166
166
|
.placeholder=${l}
|
167
|
-
.value=${
|
168
|
-
language=${
|
167
|
+
.value=${e}
|
168
|
+
language=${N(i)}
|
169
169
|
.size=${r}
|
170
|
-
.tooltip=${
|
170
|
+
.tooltip=${n}
|
171
171
|
.extraLabel=${u}
|
172
172
|
.extraLabelTooltip=${s}
|
173
173
|
.extraLabelHasClickAction=${L}
|
@@ -177,9 +177,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
177
177
|
.toOptionValue=${(C = o.controlInfo) == null ? void 0 : C.toOptionValue}
|
178
178
|
></luzmo-edit-option-multi-language-field>
|
179
179
|
`;
|
180
|
-
},
|
181
|
-
var h, c,
|
182
|
-
const t = ((
|
180
|
+
}, J = (o) => {
|
181
|
+
var h, c, p, a, m, f, 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 = (f = o.controlInfo) == null ? void 0 : f.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: $,
|
@@ -189,8 +189,8 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
189
189
|
<luzmo-edit-option-number-field
|
190
190
|
.value=${l}
|
191
191
|
.default=${u}
|
192
|
-
.min=${
|
193
|
-
.max=${
|
192
|
+
.min=${e}
|
193
|
+
.max=${n}
|
194
194
|
.step=${i}
|
195
195
|
.label=${t}
|
196
196
|
.size=${s}
|
@@ -204,9 +204,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
204
204
|
.toOptionValue=${(K = o.controlInfo) == null ? void 0 : K.toOptionValue}
|
205
205
|
></luzmo-edit-option-number-field>
|
206
206
|
`;
|
207
|
-
},
|
208
|
-
var d, b, h, c,
|
209
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "",
|
207
|
+
}, Q = (o) => {
|
208
|
+
var d, b, h, c, p, a, m, f, x, z, y, k;
|
209
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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 = ((f = (m = (a = o.translations) == null ? void 0 : a.options) == null ? void 0 : m[o.optionKey]) == null ? void 0 : f.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;
|
@@ -220,8 +220,8 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
220
220
|
} = A(o), $ = T(o);
|
221
221
|
return w`
|
222
222
|
<luzmo-edit-option-picker
|
223
|
-
.value=${
|
224
|
-
.default=${
|
223
|
+
.value=${e}
|
224
|
+
.default=${n}
|
225
225
|
.values=${l}
|
226
226
|
.label=${t}
|
227
227
|
.tooltip=${i}
|
@@ -235,9 +235,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
235
235
|
.toOptionValue=${(k = o.controlInfo) == null ? void 0 : k.toOptionValue}
|
236
236
|
></luzmo-edit-option-picker>
|
237
237
|
`;
|
238
|
-
},
|
239
|
-
var d, b, h, c,
|
240
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label),
|
238
|
+
}, W = (o) => {
|
239
|
+
var d, b, h, c, p, a, m, f, x, z, y, k;
|
240
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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 = (f = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : f[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,
|
@@ -246,8 +246,8 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
246
246
|
return w`
|
247
247
|
<luzmo-edit-option-position-picker
|
248
248
|
.value=${(y = o.controlInfo) == null ? void 0 : y.value}
|
249
|
-
.positions=${
|
250
|
-
.defaultPosition=${
|
249
|
+
.positions=${e}
|
250
|
+
.defaultPosition=${n}
|
251
251
|
.label=${t}
|
252
252
|
.tooltip=${r}
|
253
253
|
.size=${i}
|
@@ -260,9 +260,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
260
260
|
.readonly=${(k = o.controlInfo) == null ? void 0 : k.readonly}
|
261
261
|
></luzmo-edit-option-position-picker>
|
262
262
|
`;
|
263
|
-
},
|
264
|
-
var v, $, d, b, h, c,
|
265
|
-
const t = ((d = ($ = (v = o.translations) == null ? void 0 : v.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : d.label) ?? ((b = o.controlInfo) == null ? void 0 : b.label),
|
263
|
+
}, X = (o) => {
|
264
|
+
var v, $, d, b, h, c, p, a, m, f, x, z;
|
265
|
+
const t = ((d = ($ = (v = o.translations) == null ? void 0 : v.options) == null ? void 0 : $[o.optionKey]) == null ? void 0 : d.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,
|
@@ -270,30 +270,30 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
270
270
|
} = A(o), L = T(o);
|
271
271
|
return w`
|
272
272
|
<luzmo-edit-option-positions-number-field
|
273
|
-
.values=${
|
273
|
+
.values=${e}
|
274
274
|
.positions=${(m = o.controlInfo) == null ? void 0 : m.positions}
|
275
275
|
.positionConfiguration=${(f = o.controlInfo) == null ? void 0 : f.positionConfiguration}
|
276
276
|
.label=${t}
|
277
|
-
.size=${
|
277
|
+
.size=${n}
|
278
278
|
.tooltip=${i}
|
279
279
|
.extraLabel=${l}
|
280
280
|
.extraLabelTooltip=${r}
|
281
281
|
.extraLabelHasClickAction=${u}
|
282
282
|
@extraLabelClick=${s}
|
283
283
|
@option-changed=${L}
|
284
|
-
.fromOptionValue=${(
|
285
|
-
.toOptionValue=${(
|
284
|
+
.fromOptionValue=${(x = o.controlInfo) == null ? void 0 : x.fromOptionValue}
|
285
|
+
.toOptionValue=${(z = o.controlInfo) == null ? void 0 : z.toOptionValue}
|
286
286
|
></luzmo-edit-option-positions-number-field>
|
287
287
|
`;
|
288
|
-
},
|
289
|
-
var d, b, h, c,
|
290
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "",
|
288
|
+
}, Y = (o) => {
|
289
|
+
var d, b, h, c, p, a, m, f, x, z, y, k;
|
290
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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 = ((
|
296
|
+
), l = o.size, r = ((x = (f = (m = o.translations) == null ? void 0 : m.options) == null ? void 0 : f[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,
|
@@ -301,7 +301,7 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
301
301
|
} = A(o), $ = T(o);
|
302
302
|
return w`
|
303
303
|
<luzmo-edit-option-radio-button-group
|
304
|
-
.value=${
|
304
|
+
.value=${e ?? n}
|
305
305
|
.values=${i}
|
306
306
|
.label=${t}
|
307
307
|
.size=${l}
|
@@ -315,9 +315,9 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
315
315
|
.toOptionValue=${(k = o.controlInfo) == null ? void 0 : k.toOptionValue}
|
316
316
|
></luzmo-edit-option-radio-button-group>
|
317
317
|
`;
|
318
|
-
},
|
319
|
-
var c,
|
320
|
-
const t = ((
|
318
|
+
}, Z = (o) => {
|
319
|
+
var c, p, a, m, f, 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 = (f = o.translations) == null ? void 0 : f.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,
|
@@ -334,11 +334,11 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
334
334
|
<luzmo-edit-option-slider
|
335
335
|
.value=${r}
|
336
336
|
.default=${s}
|
337
|
-
.min=${
|
337
|
+
.min=${n}
|
338
338
|
.max=${i}
|
339
339
|
.step=${l}
|
340
340
|
.label=${t}
|
341
|
-
.tooltip=${
|
341
|
+
.tooltip=${e}
|
342
342
|
.size=${u}
|
343
343
|
.extraLabel=${L}
|
344
344
|
.extraLabelTooltip=${v}
|
@@ -355,8 +355,8 @@ const U = ":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 $, d, b, h, c,
|
359
|
-
const t = ((b = (d = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : d[o.optionKey]) == null ? void 0 : b.label) ?? ((h = o.controlInfo) == null ? void 0 : h.label) ?? o.optionKey ?? "",
|
358
|
+
var $, d, b, h, c, p, a, m, f, x, z;
|
359
|
+
const t = ((b = (d = ($ = o.translations) == null ? void 0 : $.options) == null ? void 0 : d[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) ?? ((f = o.controlInfo) == null ? void 0 : f.tooltip), {
|
360
360
|
extraLabel: r,
|
361
361
|
extraLabelTooltip: u,
|
362
362
|
extraLabelHasClickAction: s,
|
@@ -364,7 +364,7 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
364
364
|
} = A(o), v = T(o);
|
365
365
|
return w`
|
366
366
|
<luzmo-edit-option-switch
|
367
|
-
.value=${
|
367
|
+
.value=${e ?? n ?? !1}
|
368
368
|
.label=${t}
|
369
369
|
.size=${i}
|
370
370
|
.tooltip=${l}
|
@@ -373,15 +373,15 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
373
373
|
.extraLabelHasClickAction=${s}
|
374
374
|
@extraLabelClick=${L}
|
375
375
|
@option-changed=${v}
|
376
|
-
.fromOptionValue=${(
|
377
|
-
.toOptionValue=${(
|
376
|
+
.fromOptionValue=${(x = o.controlInfo) == null ? void 0 : x.fromOptionValue}
|
377
|
+
.toOptionValue=${(z = o.controlInfo) == null ? void 0 : z.toOptionValue}
|
378
378
|
></luzmo-edit-option-switch>
|
379
379
|
`;
|
380
380
|
}, to = (o) => {
|
381
|
-
var d, b, h, c,
|
382
|
-
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.options) == null ? void 0 : b[o.optionKey]) == null ? void 0 : h.label) ?? ((c = o.controlInfo) == null ? void 0 : c.label) ?? o.optionKey ?? "",
|
383
|
-
e
|
384
|
-
const i = H(o.options, o.optionKey) ?? "", l = o.size, r = ((y = (
|
381
|
+
var d, b, h, c, p, a, m, f, x, z, y, k, I, C;
|
382
|
+
const t = ((h = (b = (d = o.translations) == null ? void 0 : d.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) ?? ((f = o.controlInfo) == null ? void 0 : f.placeholder) ?? "";
|
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,
|
387
387
|
extraLabelHasClickAction: L,
|
@@ -390,7 +390,7 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
390
390
|
return w`
|
391
391
|
<luzmo-edit-option-text-field
|
392
392
|
.label=${t}
|
393
|
-
.placeholder=${e
|
393
|
+
.placeholder=${n[e]}
|
394
394
|
.value=${i}
|
395
395
|
.size=${l}
|
396
396
|
.tooltip=${r}
|
@@ -406,35 +406,35 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
406
406
|
}, io = (o) => {
|
407
407
|
switch (o.controlType) {
|
408
408
|
case "picker":
|
409
|
-
return
|
409
|
+
return Q(o);
|
410
410
|
case "slider":
|
411
|
-
return
|
411
|
+
return Z(o);
|
412
412
|
case "switch":
|
413
413
|
return oo(o);
|
414
414
|
case "multi-language-field":
|
415
|
-
return
|
415
|
+
return D(o);
|
416
416
|
case "text-field":
|
417
417
|
return to(o);
|
418
418
|
case "number-field":
|
419
|
-
return
|
419
|
+
return J(o);
|
420
420
|
case "position-picker":
|
421
|
-
return
|
421
|
+
return W(o);
|
422
422
|
case "positions-number-field":
|
423
|
-
return
|
423
|
+
return X(o);
|
424
424
|
case "radio-button-group":
|
425
|
-
return
|
425
|
+
return Y(o);
|
426
426
|
case "color-picker":
|
427
|
-
return D(o);
|
428
|
-
case "action-button-group":
|
429
427
|
return q(o);
|
428
|
+
case "action-button-group":
|
429
|
+
return U(o);
|
430
430
|
}
|
431
|
-
},
|
432
|
-
const
|
433
|
-
for (const i of
|
431
|
+
}, no = (o, t) => {
|
432
|
+
const e = (n) => {
|
433
|
+
for (const i of n) {
|
434
434
|
if (i.key === o)
|
435
435
|
return i.control;
|
436
436
|
if (i.children) {
|
437
|
-
const l =
|
437
|
+
const l = e(i.children);
|
438
438
|
if (l)
|
439
439
|
return l;
|
440
440
|
}
|
@@ -442,30 +442,35 @@ const U = ":host{font-family:var(--luzmo-edit-option-font-family, var(--luzmo-fo
|
|
442
442
|
return null;
|
443
443
|
};
|
444
444
|
if (t)
|
445
|
-
for (const
|
446
|
-
const i = n
|
445
|
+
for (const n of t) {
|
446
|
+
const i = e(n.children);
|
447
447
|
if (i)
|
448
448
|
return i;
|
449
449
|
}
|
450
450
|
return null;
|
451
451
|
};
|
452
|
-
var
|
452
|
+
var eo = Object.defineProperty, M = (o, t, e, n) => {
|
453
453
|
for (var i = void 0, l = o.length - 1, r; l >= 0; l--)
|
454
|
-
(r = o[l]) && (i = r(t,
|
455
|
-
return i &&
|
454
|
+
(r = o[l]) && (i = r(t, e, i) || i);
|
455
|
+
return i && eo(t, e, i), i;
|
456
456
|
};
|
457
|
-
const P = class P extends
|
457
|
+
const P = class P extends F {
|
458
458
|
constructor() {
|
459
|
-
super(...arguments), this._loadItemConfig = new
|
460
|
-
task: async ([t,
|
459
|
+
super(...arguments), this._loadItemConfig = new B(this, {
|
460
|
+
task: async ([t, e, n]) => {
|
461
461
|
let i = !1;
|
462
462
|
if (t !== this._itemTypeLoaded) {
|
463
463
|
const u = /* @__PURE__ */ Object.assign({
|
464
464
|
"../../item-definitions/area-chart/area-chart-options.config.ts": () => import("../area-chart-options.config-C0l_W4Yq.js"),
|
465
465
|
"../../item-definitions/bar-chart/bar-chart-options.config.ts": () => import("../bar-chart-options.config-CF1i1Imw.js"),
|
466
|
+
"../../item-definitions/box-plot/box-plot-options.config.ts": () => import("../box-plot-options.config-DoZHVmpm.js"),
|
466
467
|
"../../item-definitions/bubble-chart/bubble-chart-options.config.ts": () => import("../bubble-chart-options.config-1MrC55Nb.js"),
|
468
|
+
"../../item-definitions/bullet-chart/bullet-chart-options.config.ts": () => import("../bullet-chart-options.config-D8mAooLE.js"),
|
469
|
+
"../../item-definitions/choropleth-map/choropleth-map-options.config.ts": () => import("../choropleth-map-options.config-V8tRnQqz.js"),
|
467
470
|
"../../item-definitions/circle-pack-chart/circle-pack-chart-options.config.ts": () => import("../circle-pack-chart-options.config-DEYL3DMK.js"),
|
471
|
+
"../../item-definitions/circular-gauge/circular-guage-options.config.ts": () => import("../circular-guage-options.config-C3ExuT5F.js"),
|
468
472
|
"../../item-definitions/column-chart/column-chart-options.config.ts": () => import("../column-chart-options.config-BT1QH4BI.js"),
|
473
|
+
"../../item-definitions/combination-chart/combination-chart-options.config.ts": () => import("../combination-chart-options.config-CApdgFvv.js"),
|
469
474
|
"../../item-definitions/donut-chart/donut-chart-options.config.ts": () => import("../donut-chart-options.config-DuJFyp4z.js"),
|
470
475
|
"../../item-definitions/dropdown-filter/dropdown-filter-options.config.ts": () => import("../dropdown-filter-options.config-BxjR1xAD.js"),
|
471
476
|
"../../item-definitions/image/image-options.config.ts": () => import("../image-options.config-CBfeq5Zw.js"),
|
@@ -494,7 +499,7 @@ const P = class P extends G {
|
|
494
499
|
this._optionsConfig = {};
|
495
500
|
i = !0;
|
496
501
|
}
|
497
|
-
if (
|
502
|
+
if (n !== this._languageLoaded || i) {
|
498
503
|
const u = /* @__PURE__ */ Object.assign({
|
499
504
|
"../../item-definitions/area-chart/i18n/area-chart-options.de.ts": () => import("../area-chart-options.de-FcVE2Ywe.js"),
|
500
505
|
"../../item-definitions/area-chart/i18n/area-chart-options.en.ts": () => import("../area-chart-options.en-Cz5aXeVe.js"),
|
@@ -506,21 +511,46 @@ const P = class P extends G {
|
|
506
511
|
"../../item-definitions/bar-chart/i18n/bar-chart-options.es.ts": () => import("../bar-chart-options.es-ByT_D06p.js"),
|
507
512
|
"../../item-definitions/bar-chart/i18n/bar-chart-options.fr.ts": () => import("../bar-chart-options.fr-BwiGRlQf.js"),
|
508
513
|
"../../item-definitions/bar-chart/i18n/bar-chart-options.nl.ts": () => import("../bar-chart-options.nl-DzXnHdwX.js"),
|
514
|
+
"../../item-definitions/box-plot/i18n/box-plot-options.de.ts": () => import("../box-plot-options.de-D3Yye2Yp.js"),
|
515
|
+
"../../item-definitions/box-plot/i18n/box-plot-options.en.ts": () => import("../box-plot-options.en-DADAI4yL.js"),
|
516
|
+
"../../item-definitions/box-plot/i18n/box-plot-options.es.ts": () => import("../box-plot-options.es-ePZUgamp.js"),
|
517
|
+
"../../item-definitions/box-plot/i18n/box-plot-options.fr.ts": () => import("../box-plot-options.fr-DNkSteEz.js"),
|
518
|
+
"../../item-definitions/box-plot/i18n/box-plot-options.nl.ts": () => import("../box-plot-options.nl-GBXrkaLf.js"),
|
509
519
|
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.de.ts": () => import("../bubble-chart-options.de-BGWrRmuN.js"),
|
510
520
|
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.en.ts": () => import("../bubble-chart-options.en-CYwRht5M.js"),
|
511
521
|
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.es.ts": () => import("../bubble-chart-options.es-ZnkjzgL_.js"),
|
512
522
|
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.fr.ts": () => import("../bubble-chart-options.fr-Cym1h3sF.js"),
|
513
523
|
"../../item-definitions/bubble-chart/i18n/bubble-chart-options.nl.ts": () => import("../bubble-chart-options.nl-D1TFWi5k.js"),
|
524
|
+
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.de.ts": () => import("../bullet-chart-options.de-DxBk0yku.js"),
|
525
|
+
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.en.ts": () => import("../bullet-chart-options.en-Cu1cnL90.js"),
|
526
|
+
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.es.ts": () => import("../bullet-chart-options.es-pGm2umSR.js"),
|
527
|
+
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.fr.ts": () => import("../bullet-chart-options.fr-DGOcuFKQ.js"),
|
528
|
+
"../../item-definitions/bullet-chart/i18n/bullet-chart-options.nl.ts": () => import("../bullet-chart-options.nl-BJ39_p2y.js"),
|
529
|
+
"../../item-definitions/choropleth-map/i18n/choropleth-map-options.de.ts": () => import("../choropleth-map-options.de-BSt-L5Vh.js"),
|
530
|
+
"../../item-definitions/choropleth-map/i18n/choropleth-map-options.en.ts": () => import("../choropleth-map-options.en-Cy7WcWLG.js"),
|
531
|
+
"../../item-definitions/choropleth-map/i18n/choropleth-map-options.es.ts": () => import("../choropleth-map-options.es-BnR-9vJv.js"),
|
532
|
+
"../../item-definitions/choropleth-map/i18n/choropleth-map-options.fr.ts": () => import("../choropleth-map-options.fr-BlwLS1Wy.js"),
|
533
|
+
"../../item-definitions/choropleth-map/i18n/choropleth-map-options.nl.ts": () => import("../choropleth-map-options.nl-D70fr4Hl.js"),
|
514
534
|
"../../item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.de.ts": () => import("../circle-pack-chart-options.de-CUL0ypCU.js"),
|
515
535
|
"../../item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.en.ts": () => import("../circle-pack-chart-options.en-CFTJowAI.js"),
|
516
536
|
"../../item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.es.ts": () => import("../circle-pack-chart-options.es-BGoaousJ.js"),
|
517
537
|
"../../item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.fr.ts": () => import("../circle-pack-chart-options.fr-DLb0Di6Z.js"),
|
518
538
|
"../../item-definitions/circle-pack-chart/i18n/circle-pack-chart-options.nl.ts": () => import("../circle-pack-chart-options.nl-CZL69ZgV.js"),
|
539
|
+
"../../item-definitions/circular-gauge/i18n/circular-gauge-options.de.ts": () => import("../circular-gauge-options.de-BO3S8GCr.js"),
|
540
|
+
"../../item-definitions/circular-gauge/i18n/circular-gauge-options.en.ts": () => import("../circular-gauge-options.en-Cyhhijwg.js"),
|
541
|
+
"../../item-definitions/circular-gauge/i18n/circular-gauge-options.es.ts": () => import("../circular-gauge-options.es-DJ7ru4Wf.js"),
|
542
|
+
"../../item-definitions/circular-gauge/i18n/circular-gauge-options.fr.ts": () => import("../circular-gauge-options.fr-BVWliP7i.js"),
|
543
|
+
"../../item-definitions/circular-gauge/i18n/circular-gauge-options.nl.ts": () => import("../circular-gauge-options.nl-DGpV7Riu.js"),
|
519
544
|
"../../item-definitions/column-chart/i18n/column-chart-options.de.ts": () => import("../column-chart-options.de-VQVdi8aP.js"),
|
520
545
|
"../../item-definitions/column-chart/i18n/column-chart-options.en.ts": () => import("../column-chart-options.en-Crc8tYUJ.js"),
|
521
546
|
"../../item-definitions/column-chart/i18n/column-chart-options.es.ts": () => import("../column-chart-options.es-CT9ZtjV_.js"),
|
522
547
|
"../../item-definitions/column-chart/i18n/column-chart-options.fr.ts": () => import("../column-chart-options.fr-BwiGRlQf.js"),
|
523
548
|
"../../item-definitions/column-chart/i18n/column-chart-options.nl.ts": () => import("../column-chart-options.nl-DB2dcotu.js"),
|
549
|
+
"../../item-definitions/combination-chart/i18n/combination-chart-options.de.ts": () => import("../combination-chart-options.de-CEsSn5-2.js"),
|
550
|
+
"../../item-definitions/combination-chart/i18n/combination-chart-options.en.ts": () => import("../combination-chart-options.en-BCKuLOQb.js"),
|
551
|
+
"../../item-definitions/combination-chart/i18n/combination-chart-options.es.ts": () => import("../combination-chart-options.es-zMa9kqmV.js"),
|
552
|
+
"../../item-definitions/combination-chart/i18n/combination-chart-options.fr.ts": () => import("../combination-chart-options.fr-DOXtaY1V.js"),
|
553
|
+
"../../item-definitions/combination-chart/i18n/combination-chart-options.nl.ts": () => import("../combination-chart-options.nl-CCChbhx_.js"),
|
524
554
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.de.ts": () => import("../donut-chart-options.de-nSj3ghwo.js"),
|
525
555
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.en.ts": () => import("../donut-chart-options.en-CrUf4CJ9.js"),
|
526
556
|
"../../item-definitions/donut-chart/i18n/donut-chart-options.es.ts": () => import("../donut-chart-options.es-DnsGqOdo.js"),
|
@@ -597,9 +627,9 @@ const P = class P extends G {
|
|
597
627
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.fr.ts": () => import("../wordcloud-chart-options.fr-DNK5Ouc5.js"),
|
598
628
|
"../../item-definitions/wordcloud-chart/i18n/wordcloud-chart-options.nl.ts": () => import("../wordcloud-chart-options.nl-CcgmqL7I.js")
|
599
629
|
});
|
600
|
-
if (u[`../../item-definitions/${t}/i18n/${t}-options.${
|
630
|
+
if (u[`../../item-definitions/${t}/i18n/${t}-options.${n}.ts`])
|
601
631
|
try {
|
602
|
-
const s = await u[`../../item-definitions/${t}/i18n/${t}-options.${
|
632
|
+
const s = await u[`../../item-definitions/${t}/i18n/${t}-options.${n}.ts`]();
|
603
633
|
this._translations = (s == null ? void 0 : s.default) ?? {};
|
604
634
|
} catch (s) {
|
605
635
|
this._translations = {}, console.error(s);
|
@@ -607,7 +637,7 @@ const P = class P extends G {
|
|
607
637
|
else
|
608
638
|
this._translations = {};
|
609
639
|
}
|
610
|
-
const l =
|
640
|
+
const l = no(e, this._optionsConfig), r = l == null ? void 0 : l.type;
|
611
641
|
if (r !== this._controlTypeLoaded) {
|
612
642
|
const u = /* @__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") });
|
613
643
|
try {
|
@@ -651,7 +681,7 @@ const P = class P extends G {
|
|
651
681
|
});
|
652
682
|
}
|
653
683
|
};
|
654
|
-
P.styles =
|
684
|
+
P.styles = G(R);
|
655
685
|
let j = P;
|
656
686
|
M([
|
657
687
|
_({ type: String, reflect: !0 })
|