@luzmo/analytics-components-kit 1.0.1-alpha.6 → 1.0.1-alpha.7
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/{async-directive-DWRUSKKF-CNTJHpgh.js → async-directive-DWRUSKKF-CmOVMf6V.js} +1 -1
- package/components/{async-directive-DWRUSKKF-C2JoUGYR.cjs → async-directive-DWRUSKKF-D4itZyzc.cjs} +1 -1
- package/components/{button-base-B7v4eeRh-CjngVDsD.cjs → button-base-B7v4eeRh-BKKUK3x0.cjs} +1 -1
- package/components/{button-base-B7v4eeRh-B4fczZlv.js → button-base-B7v4eeRh-D3-GH03o.js} +3 -3
- package/components/{checkbox-mixin-BFGTmw17-BR4ufh0S.js → checkbox-mixin-BFGTmw17-C34LMsgu.js} +2 -2
- package/components/{checkbox-mixin-BFGTmw17-lIHmn1jk.cjs → checkbox-mixin-BFGTmw17-CCjGd0nS.cjs} +1 -1
- package/components/{directive-helpers-nlQRAaQt-CQ_hWlbQ.cjs → directive-helpers-nlQRAaQt-3kEWF2GV.cjs} +1 -1
- package/components/{directive-helpers-nlQRAaQt-arNFWD5u.js → directive-helpers-nlQRAaQt-I6T4KZKW.js} +1 -1
- package/components/display-settings/index.cjs +3 -3
- package/components/display-settings/index.js +11 -11
- package/components/display-settings-binning/index.cjs +2 -2
- package/components/display-settings-binning/index.js +11 -11
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-grand-totals/index.cjs +2 -2
- package/components/display-settings-grand-totals/index.js +12 -12
- package/components/display-settings-numeric/index.cjs +2 -2
- package/components/display-settings-numeric/index.js +36 -36
- package/components/display-settings-period-over-period/index.cjs +2 -2
- package/components/display-settings-period-over-period/index.js +17 -17
- package/components/draggable-data-item/index.cjs +1 -1
- package/components/draggable-data-item/index.js +2 -2
- package/components/draggable-data-item-level/index.cjs +5 -5
- package/components/draggable-data-item-level/index.js +85 -85
- package/components/droppable-slot/index.cjs +3 -3
- package/components/droppable-slot/index.js +5 -5
- package/components/edit-item/index.cjs +2 -2
- package/components/edit-item/index.js +17 -17
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +3 -3
- package/components/edit-option-action-button-group/index.cjs +2 -2
- package/components/edit-option-action-button-group/index.js +37 -37
- package/components/{edit-option-base-Ck3NFAli.cjs → edit-option-base-Boz7TNRZ.cjs} +1 -1
- package/components/{edit-option-base-w3UBiCoU.js → edit-option-base-qePiIQWd.js} +4 -4
- package/components/edit-option-color-picker/index.cjs +15 -15
- package/components/edit-option-color-picker/index.js +58 -58
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +3 -3
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +3 -3
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +4 -4
- package/components/edit-option-positions-number-field/index.cjs +3 -3
- package/components/edit-option-positions-number-field/index.js +7 -7
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +4 -4
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +3 -3
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +4 -4
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +3 -3
- package/components/{index-DeyQ1JGg.js → en-DMOM5QNw.js} +411 -404
- package/components/{en-GB-BMvD7axC.js → en-GB-BPwcXBDg.js} +1 -1
- package/components/{en-BvtH5B9A.cjs → en-GB-Cp6Zq89F.cjs} +1 -1
- package/components/en-o_2c6hRN.cjs +202 -0
- package/components/{if-defined-aQZR75uI.cjs → if-defined-8BOch-oC.cjs} +1 -1
- package/components/{if-defined-BSAr_4u4-CVDyXUmc.js → if-defined-BSAr_4u4-4Ys8VE7T.js} +1 -1
- package/components/{if-defined-BSAr_4u4-CNmaFBUP.cjs → if-defined-BSAr_4u4-gECNwmTC.cjs} +1 -1
- package/components/{if-defined-_S7apvH1.js → if-defined-Bv6MRdSW.js} +1 -1
- package/components/{index-f8GtjOLn.cjs → index-86cIx1Ql.cjs} +1 -1
- package/components/{index-aLxc3xA_.js → index-B3ve6cAj.js} +19 -19
- package/components/{index-Pmv-d4iw.js → index-B5Wvyv9s.js} +20 -20
- package/components/{index-FSUV_4nO.js → index-BBrer3_5.js} +1 -1
- package/components/{index-DDleIdd8.cjs → index-BJVxTeoi.cjs} +1 -1
- package/components/{index-DiSrnT1e.js → index-BUSWsm5N.js} +10 -10
- package/components/{index-CHLcEawI.js → index-BVX_ozT9.js} +2 -2
- package/components/{index-fbS4OrPM.js → index-BYfDERr7.js} +3 -3
- package/components/{index-BuW8doNV.js → index-Bee1uunR.js} +4 -4
- package/components/{index-C_xCeCrL.cjs → index-BrEDK88k.cjs} +6 -6
- package/components/{index-CdHFj3ra.cjs → index-Bt5nP_6w.cjs} +1 -1
- package/components/{index-DC2Pby0z.cjs → index-ByjLd3bT.cjs} +2 -2
- package/components/{index-Ci0Pe5UA.js → index-C8IL2IZ6.js} +4 -4
- package/components/{index-CMvLpPKD-CgGXdNKs.js → index-CMvLpPKD-D5MpMVYZ.js} +15 -15
- package/components/{index-CMvLpPKD-DoxJRhRP.cjs → index-CMvLpPKD-Yf1PLWrj.cjs} +6 -6
- package/components/{index-DUlH3hbL.js → index-CXIT0cYY.js} +5 -5
- package/components/{index-dJXOanPE.js → index-CdCtJpK9.js} +6 -6
- package/components/{index-B0ZqIWfU.cjs → index-CdUTqQ3L.cjs} +2 -2
- package/components/{index-BEi8DTwW.cjs → index-CdpyJ7hp.cjs} +1 -1
- package/components/{index-C44nA7Wn.js → index-CfEn3fIT.js} +3 -3
- package/components/{index-BxFGd_xp.cjs → index-D8qmoauu.cjs} +1 -1
- package/components/{index-DxXcY78P.cjs → index-DEVOZNSc.cjs} +1 -1
- package/components/{index-CKbGBBId.cjs → index-DUO13KGl.cjs} +1 -1
- package/components/{index-C_Cxv6xn.js → index-DVAsMiOm.js} +4 -4
- package/components/{index-Dkom_Qy5.js → index-DnozlYag.js} +1 -1
- package/components/{index-ByfMhxDr.cjs → index-h9T5DPIm.cjs} +2 -2
- package/components/{index-Bti4K2L2.cjs → index-i8GaIN7i.cjs} +1 -1
- package/components/{index-EkTLplXl.cjs → index-iYpAy-Kg.cjs} +4 -4
- package/components/{index-DMbzEC_s.js → index-ymMEPngt.js} +23 -23
- package/components/{index-DLrQ4hc5.cjs → index-zuArOtOt.cjs} +2 -2
- package/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/{language-resolution-8yZa5r_P-CLZhU076.js → language-resolution-8yZa5r_P-Bn0bYosv.js} +3 -3
- package/components/{language-resolution-8yZa5r_P-CpbzT4ej.cjs → language-resolution-8yZa5r_P-FqQChUDW.cjs} +1 -1
- package/components/luzmo-icons-BE2T8vWu.js +613 -0
- package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
- package/components/{observe-slot-text-ggb4kKgY-DqsddtTd.cjs → observe-slot-text-ggb4kKgY-DBVrKDBD.cjs} +1 -1
- package/components/{observe-slot-text-ggb4kKgY-yUxhPbbJ.js → observe-slot-text-ggb4kKgY-o5QFWUeA.js} +2 -2
- package/components/{popover-DlkzrLpl-TYw7ejnD.cjs → popover-DlkzrLpl-BhTvuvTu.cjs} +1 -1
- package/components/{popover-DlkzrLpl-DFIvgCjc.js → popover-DlkzrLpl-CCwcTIXr.js} +3 -3
- package/components/{property-ChsOQ1Yj.cjs → property-0L4eB11h.cjs} +17 -17
- package/components/{property-CXJD1jOW.js → property-B2F7x7Cz.js} +301 -300
- package/components/{sized-mixin-BxMraZLS-Dc6r-Wg4.js → sized-mixin-BxMraZLS-B_y0PzR3.js} +1 -1
- package/components/{sized-mixin-BxMraZLS-w9I35lP7.cjs → sized-mixin-BxMraZLS-DEFWqo8f.cjs} +1 -1
- package/components/slot-menu/index.cjs +4 -4
- package/components/slot-menu/index.js +4 -4
- package/components/slot-menu-list/index.cjs +3 -3
- package/components/slot-menu-list/index.js +12 -12
- package/components/{state-DLrsMPet.cjs → state-BFA93Sye.cjs} +1 -1
- package/components/{state-DwFtyqCc.js → state-Joaryhrg.js} +1 -1
- package/components/{task-CgK9ztaw.cjs → task-B8yMzxui.cjs} +1 -1
- package/components/{task-DYLITx7R.js → task-Cr9aRIbV.js} +1 -1
- package/components/{text-field-CvKSS59x-BzSqtt2_.js → text-field-CvKSS59x-Dn0_1HO7.js} +5 -5
- package/components/{text-field-CvKSS59x-D0MM0fDH.cjs → text-field-CvKSS59x-E9LQElL4.cjs} +3 -3
- package/package.json +1 -1
- package/components/en-CN4CDOzo.js +0 -23
- package/components/en-GB-DrOGXwdM.cjs +0 -20
- package/components/en-US-BvtH5B9A.cjs +0 -20
- package/components/en-US-CN4CDOzo.js +0 -23
- package/components/index-CQjWiSIp.cjs +0 -202
@@ -23,7 +23,7 @@
|
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
24
24
|
*/
|
25
25
|
const W = globalThis, ht = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wt = Symbol(), gt = /* @__PURE__ */ new WeakMap();
|
26
|
-
let
|
26
|
+
let ne = class {
|
27
27
|
constructor(t, e, s) {
|
28
28
|
if (this._$cssResult$ = !0, s !== Wt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
29
29
|
this.cssText = t, this.t = e;
|
@@ -41,7 +41,7 @@ let re = class {
|
|
41
41
|
return this.cssText;
|
42
42
|
}
|
43
43
|
};
|
44
|
-
const
|
44
|
+
const oe = (r) => new ne(typeof r == "string" ? r : r + "", void 0, Wt), ae = (r, t) => {
|
45
45
|
if (ht) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
46
46
|
else for (const e of t) {
|
47
47
|
const s = document.createElement("style"), i = W.litNonce;
|
@@ -50,17 +50,17 @@ const ne = (r) => new re(typeof r == "string" ? r : r + "", void 0, Wt), oe = (r
|
|
50
50
|
}, bt = ht ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
51
51
|
let e = "";
|
52
52
|
for (const s of t.cssRules) e += s.cssText;
|
53
|
-
return
|
53
|
+
return oe(e);
|
54
54
|
})(r) : r;
|
55
55
|
/**
|
56
56
|
* @license
|
57
57
|
* Copyright 2017 Google LLC
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
59
59
|
*/
|
60
|
-
const { is:
|
60
|
+
const { is: le, defineProperty: he, getOwnPropertyDescriptor: ce, getOwnPropertyNames: de, getOwnPropertySymbols: ue, getPrototypeOf: pe } = Object, g = globalThis, vt = g.trustedTypes, $e = vt ? vt.emptyScript : "", et = g.reactiveElementPolyfillSupport, R = (r, t) => r, Z = { toAttribute(r, t) {
|
61
61
|
switch (t) {
|
62
62
|
case Boolean:
|
63
|
-
r = r ?
|
63
|
+
r = r ? $e : null;
|
64
64
|
break;
|
65
65
|
case Object:
|
66
66
|
case Array:
|
@@ -85,7 +85,7 @@ const { is: ae, defineProperty: le, getOwnPropertyDescriptor: he, getOwnProperty
|
|
85
85
|
}
|
86
86
|
}
|
87
87
|
return e;
|
88
|
-
} }, ct = (r, t) => !
|
88
|
+
} }, ct = (r, t) => !le(r, t), yt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: ct };
|
89
89
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), g.litPropertyMetadata ?? (g.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
90
90
|
let x = class extends HTMLElement {
|
91
91
|
static addInitializer(t) {
|
@@ -97,11 +97,11 @@ let x = class extends HTMLElement {
|
|
97
97
|
static createProperty(t, e = yt) {
|
98
98
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
99
99
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
100
|
-
i !== void 0 &&
|
100
|
+
i !== void 0 && he(this.prototype, t, i);
|
101
101
|
}
|
102
102
|
}
|
103
103
|
static getPropertyDescriptor(t, e, s) {
|
104
|
-
const { get: i, set: o } =
|
104
|
+
const { get: i, set: o } = ce(this.prototype, t) ?? { get() {
|
105
105
|
return this[e];
|
106
106
|
}, set(n) {
|
107
107
|
this[e] = n;
|
@@ -118,13 +118,13 @@ let x = class extends HTMLElement {
|
|
118
118
|
}
|
119
119
|
static _$Ei() {
|
120
120
|
if (this.hasOwnProperty(R("elementProperties"))) return;
|
121
|
-
const t =
|
121
|
+
const t = pe(this);
|
122
122
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
123
123
|
}
|
124
124
|
static finalize() {
|
125
125
|
if (this.hasOwnProperty(R("finalized"))) return;
|
126
126
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
|
127
|
-
const e = this.properties, s = [...
|
127
|
+
const e = this.properties, s = [...de(e), ...ue(e)];
|
128
128
|
for (const i of s) this.createProperty(i, e[i]);
|
129
129
|
}
|
130
130
|
const t = this[Symbol.metadata];
|
@@ -173,7 +173,7 @@ let x = class extends HTMLElement {
|
|
173
173
|
}
|
174
174
|
createRenderRoot() {
|
175
175
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
176
|
-
return
|
176
|
+
return ae(t, this.constructor.elementStyles), t;
|
177
177
|
}
|
178
178
|
connectedCallback() {
|
179
179
|
var t;
|
@@ -309,7 +309,7 @@ x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[R("elementProper
|
|
309
309
|
* SPDX-License-Identifier: BSD-3-Clause
|
310
310
|
*/
|
311
311
|
const q = globalThis, dt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, qt = Symbol(), Et = /* @__PURE__ */ new WeakMap();
|
312
|
-
let
|
312
|
+
let fe = class {
|
313
313
|
constructor(r, t, e) {
|
314
314
|
if (this._$cssResult$ = !0, e !== qt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
315
315
|
this.cssText = r, this.t = t;
|
@@ -327,7 +327,7 @@ let $e = class {
|
|
327
327
|
return this.cssText;
|
328
328
|
}
|
329
329
|
};
|
330
|
-
const
|
330
|
+
const me = (r) => new fe(typeof r == "string" ? r : r + "", void 0, qt), _e = (r, t) => {
|
331
331
|
if (dt) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
332
332
|
else for (const e of t) {
|
333
333
|
const s = document.createElement("style"), i = q.litNonce;
|
@@ -336,17 +336,17 @@ const fe = (r) => new $e(typeof r == "string" ? r : r + "", void 0, qt), me = (r
|
|
336
336
|
}, St = dt ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
337
337
|
let e = "";
|
338
338
|
for (const s of t.cssRules) e += s.cssText;
|
339
|
-
return
|
339
|
+
return me(e);
|
340
340
|
})(r) : r;
|
341
341
|
/**
|
342
342
|
* @license
|
343
343
|
* Copyright 2017 Google LLC
|
344
344
|
* SPDX-License-Identifier: BSD-3-Clause
|
345
345
|
*/
|
346
|
-
const { is:
|
346
|
+
const { is: Ae, defineProperty: ge, getOwnPropertyDescriptor: be, getOwnPropertyNames: ve, getOwnPropertySymbols: ye, getPrototypeOf: Ee } = Object, P = globalThis, wt = P.trustedTypes, Se = wt ? wt.emptyScript : "", xt = P.reactiveElementPolyfillSupport, k = (r, t) => r, J = { toAttribute(r, t) {
|
347
347
|
switch (t) {
|
348
348
|
case Boolean:
|
349
|
-
r = r ?
|
349
|
+
r = r ? Se : null;
|
350
350
|
break;
|
351
351
|
case Object:
|
352
352
|
case Array:
|
@@ -371,7 +371,7 @@ const { is: _e, defineProperty: Ae, getOwnPropertyDescriptor: ge, getOwnProperty
|
|
371
371
|
}
|
372
372
|
}
|
373
373
|
return e;
|
374
|
-
} }, ut = (r, t) => !
|
374
|
+
} }, ut = (r, t) => !Ae(r, t), Ct = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: ut };
|
375
375
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), P.litPropertyMetadata ?? (P.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
376
376
|
let C = class extends HTMLElement {
|
377
377
|
static addInitializer(t) {
|
@@ -383,11 +383,11 @@ let C = class extends HTMLElement {
|
|
383
383
|
static createProperty(t, e = Ct) {
|
384
384
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
385
385
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
386
|
-
i !== void 0 &&
|
386
|
+
i !== void 0 && ge(this.prototype, t, i);
|
387
387
|
}
|
388
388
|
}
|
389
389
|
static getPropertyDescriptor(t, e, s) {
|
390
|
-
const { get: i, set: o } =
|
390
|
+
const { get: i, set: o } = be(this.prototype, t) ?? { get() {
|
391
391
|
return this[e];
|
392
392
|
}, set(n) {
|
393
393
|
this[e] = n;
|
@@ -404,13 +404,13 @@ let C = class extends HTMLElement {
|
|
404
404
|
}
|
405
405
|
static _$Ei() {
|
406
406
|
if (this.hasOwnProperty(k("elementProperties"))) return;
|
407
|
-
const t =
|
407
|
+
const t = Ee(this);
|
408
408
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
409
409
|
}
|
410
410
|
static finalize() {
|
411
411
|
if (this.hasOwnProperty(k("finalized"))) return;
|
412
412
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(k("properties"))) {
|
413
|
-
const e = this.properties, s = [...
|
413
|
+
const e = this.properties, s = [...ve(e), ...ye(e)];
|
414
414
|
for (const i of s) this.createProperty(i, e[i]);
|
415
415
|
}
|
416
416
|
const t = this[Symbol.metadata];
|
@@ -459,7 +459,7 @@ let C = class extends HTMLElement {
|
|
459
459
|
}
|
460
460
|
createRenderRoot() {
|
461
461
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
462
|
-
return
|
462
|
+
return _e(t, this.constructor.elementStyles), t;
|
463
463
|
}
|
464
464
|
connectedCallback() {
|
465
465
|
var t;
|
@@ -577,14 +577,14 @@ C.elementStyles = [], C.shadowRootOptions = { mode: "open" }, C[k("elementProper
|
|
577
577
|
* Copyright 2017 Google LLC
|
578
578
|
* SPDX-License-Identifier: BSD-3-Clause
|
579
579
|
*/
|
580
|
-
const G = globalThis, Q = G.trustedTypes, Pt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Kt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Zt = "?" + _,
|
580
|
+
const G = globalThis, Q = G.trustedTypes, Pt = Q ? Q.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Kt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Zt = "?" + _, we = `<${Zt}>`, S = document, D = () => S.createComment(""), j = (r) => r === null || typeof r != "object" && typeof r != "function", pt = Array.isArray, xe = (r) => pt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", st = `[
|
581
581
|
\f\r]`, N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ut = /-->/g, Tt = />/g, b = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
|
582
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ot = /'/g, Mt = /"/g, Jt = /^(?:script|style|textarea|title)$/i,
|
582
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ot = /'/g, Mt = /"/g, Jt = /^(?:script|style|textarea|title)$/i, Ce = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ns = Ce(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Nt = /* @__PURE__ */ new WeakMap(), y = S.createTreeWalker(S, 129);
|
583
583
|
function Gt(r, t) {
|
584
584
|
if (!pt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
585
585
|
return Pt !== void 0 ? Pt.createHTML(t) : t;
|
586
586
|
}
|
587
|
-
const
|
587
|
+
const Pe = (r, t) => {
|
588
588
|
const e = r.length - 1, s = [];
|
589
589
|
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = N;
|
590
590
|
for (let l = 0; l < e; l++) {
|
@@ -592,7 +592,7 @@ const Ce = (r, t) => {
|
|
592
592
|
let c, d, h = -1, u = 0;
|
593
593
|
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === N ? d[1] === "!--" ? n = Ut : d[1] !== void 0 ? n = Tt : d[2] !== void 0 ? (Jt.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = b) : d[3] !== void 0 && (n = b) : n === b ? d[0] === ">" ? (n = i ?? N, h = -1) : d[1] === void 0 ? h = -2 : (h = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? b : d[3] === '"' ? Mt : Ot) : n === Mt || n === Ot ? n = b : n === Ut || n === Tt ? n = N : (n = b, i = void 0);
|
594
594
|
const f = n === b && r[l + 1].startsWith("/>") ? " " : "";
|
595
|
-
o += n === N ? a +
|
595
|
+
o += n === N ? a + we : h >= 0 ? (s.push(c), a.slice(0, h) + Kt + a.slice(h) + _ + f) : a + _ + (h === -2 ? l : f);
|
596
596
|
}
|
597
597
|
return [Gt(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
598
598
|
};
|
@@ -601,7 +601,7 @@ let ot = class Qt {
|
|
601
601
|
let i;
|
602
602
|
this.parts = [];
|
603
603
|
let o = 0, n = 0;
|
604
|
-
const l = t.length - 1, a = this.parts, [c, d] =
|
604
|
+
const l = t.length - 1, a = this.parts, [c, d] = Pe(t, e);
|
605
605
|
if (this.el = Qt.createElement(c, s), y.currentNode = this.el.content, e === 2 || e === 3) {
|
606
606
|
const h = this.el.content.firstChild;
|
607
607
|
h.replaceWith(...h.childNodes);
|
@@ -610,7 +610,7 @@ let ot = class Qt {
|
|
610
610
|
if (i.nodeType === 1) {
|
611
611
|
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Kt)) {
|
612
612
|
const u = d[n++], f = i.getAttribute(h).split(_), m = /([.?@])?(.*)/.exec(u);
|
613
|
-
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ?
|
613
|
+
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ? Te : m[1] === "?" ? Oe : m[1] === "@" ? Me : Y }), i.removeAttribute(h);
|
614
614
|
} else h.startsWith(_) && (a.push({ type: 6, index: o }), i.removeAttribute(h));
|
615
615
|
if (Jt.test(i.tagName)) {
|
616
616
|
const h = i.textContent.split(_), u = h.length - 1;
|
@@ -640,7 +640,7 @@ function T(r, t, e = r, s) {
|
|
640
640
|
const l = j(t) ? void 0 : t._$litDirective$;
|
641
641
|
return (n == null ? void 0 : n.constructor) !== l && ((o = n == null ? void 0 : n._$AO) == null || o.call(n, !1), l === void 0 ? n = void 0 : (n = new l(r), n._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = T(r, n._$AS(r, t.values), n, s)), t;
|
642
642
|
}
|
643
|
-
class
|
643
|
+
class Ue {
|
644
644
|
constructor(t, e) {
|
645
645
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
646
646
|
}
|
@@ -657,7 +657,7 @@ class Pe {
|
|
657
657
|
for (; a !== void 0; ) {
|
658
658
|
if (n === a.index) {
|
659
659
|
let c;
|
660
|
-
a.type === 2 ? c = new $t(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new
|
660
|
+
a.type === 2 ? c = new $t(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new Ne(o, this, t)), this._$AV.push(c), a = s[++l];
|
661
661
|
}
|
662
662
|
n !== (a == null ? void 0 : a.index) && (o = y.nextNode(), n++);
|
663
663
|
}
|
@@ -688,7 +688,7 @@ let $t = class Xt {
|
|
688
688
|
return this._$AB;
|
689
689
|
}
|
690
690
|
_$AI(t, e = this) {
|
691
|
-
t = T(this, t, e), j(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
691
|
+
t = T(this, t, e), j(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xe(t) ? this.k(t) : this._(t);
|
692
692
|
}
|
693
693
|
O(t) {
|
694
694
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -704,7 +704,7 @@ let $t = class Xt {
|
|
704
704
|
const { values: s, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ot.createElement(Gt(i.h, i.h[0]), this.options)), i);
|
705
705
|
if (((e = this._$AH) == null ? void 0 : e._$AD) === o) this._$AH.p(s);
|
706
706
|
else {
|
707
|
-
const n = new
|
707
|
+
const n = new Ue(o, this), l = n.u(this.options);
|
708
708
|
n.p(s), this.T(l), this._$AH = n;
|
709
709
|
}
|
710
710
|
}
|
@@ -755,7 +755,7 @@ let $t = class Xt {
|
|
755
755
|
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
756
756
|
}
|
757
757
|
};
|
758
|
-
class
|
758
|
+
class Te extends Y {
|
759
759
|
constructor() {
|
760
760
|
super(...arguments), this.type = 3;
|
761
761
|
}
|
@@ -763,7 +763,7 @@ class Ue extends Y {
|
|
763
763
|
this.element[this.name] = t === p ? void 0 : t;
|
764
764
|
}
|
765
765
|
}
|
766
|
-
class
|
766
|
+
class Oe extends Y {
|
767
767
|
constructor() {
|
768
768
|
super(...arguments), this.type = 4;
|
769
769
|
}
|
@@ -771,7 +771,7 @@ class Te extends Y {
|
|
771
771
|
this.element.toggleAttribute(this.name, !!t && t !== p);
|
772
772
|
}
|
773
773
|
}
|
774
|
-
class
|
774
|
+
class Me extends Y {
|
775
775
|
constructor(t, e, s, i, o) {
|
776
776
|
super(t, e, s, i, o), this.type = 5;
|
777
777
|
}
|
@@ -785,7 +785,7 @@ class Oe extends Y {
|
|
785
785
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
786
786
|
}
|
787
787
|
}
|
788
|
-
class
|
788
|
+
class Ne {
|
789
789
|
constructor(t, e, s) {
|
790
790
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
791
791
|
}
|
@@ -798,7 +798,7 @@ class Me {
|
|
798
798
|
}
|
799
799
|
const Ht = G.litHtmlPolyfillSupport;
|
800
800
|
Ht == null || Ht(ot, $t), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.2.1");
|
801
|
-
const
|
801
|
+
const He = (r, t, e) => {
|
802
802
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
803
803
|
let i = s._$litPart$;
|
804
804
|
if (i === void 0) {
|
@@ -823,7 +823,7 @@ let I = class extends C {
|
|
823
823
|
}
|
824
824
|
update(t) {
|
825
825
|
const e = this.render();
|
826
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
826
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = He(e, this.renderRoot, this.renderOptions);
|
827
827
|
}
|
828
828
|
connectedCallback() {
|
829
829
|
var t;
|
@@ -847,7 +847,7 @@ kt == null || kt({ LitElement: I });
|
|
847
847
|
* Copyright 2017 Google LLC
|
848
848
|
* SPDX-License-Identifier: BSD-3-Clause
|
849
849
|
*/
|
850
|
-
const
|
850
|
+
const Re = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged: ut }, ke = (r = Re, t, e) => {
|
851
851
|
const { kind: s, metadata: i } = e;
|
852
852
|
let o = globalThis.litPropertyMetadata.get(i);
|
853
853
|
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, r), s === "accessor") {
|
@@ -869,23 +869,23 @@ const He = { attribute: !0, type: String, converter: J, reflect: !1, hasChanged:
|
|
869
869
|
throw Error("Unsupported decorator location: " + s);
|
870
870
|
};
|
871
871
|
function ft(r) {
|
872
|
-
return (t, e) => typeof e == "object" ?
|
872
|
+
return (t, e) => typeof e == "object" ? ke(r, t, e) : ((s, i, o) => {
|
873
873
|
const n = i.hasOwnProperty(o);
|
874
874
|
return i.constructor.createProperty(o, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
875
875
|
})(r, t, e);
|
876
876
|
}
|
877
|
-
const at = /* @__PURE__ */ new Set(),
|
877
|
+
const at = /* @__PURE__ */ new Set(), Ie = () => {
|
878
878
|
const r = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
879
879
|
at.forEach((t) => {
|
880
880
|
t.setAttribute("dir", r);
|
881
881
|
});
|
882
|
-
},
|
883
|
-
|
882
|
+
}, Le = new MutationObserver(Ie);
|
883
|
+
Le.observe(document.documentElement, {
|
884
884
|
attributes: !0,
|
885
885
|
attributeFilter: ["dir"]
|
886
886
|
});
|
887
|
-
const
|
888
|
-
function
|
887
|
+
const De = (r) => r.startManagingContentDirection !== void 0 || r.tagName === "LUZMO-THEME";
|
888
|
+
function je(r) {
|
889
889
|
class t extends r {
|
890
890
|
/**
|
891
891
|
* @private
|
@@ -917,7 +917,7 @@ function De(r) {
|
|
917
917
|
connectedCallback() {
|
918
918
|
if (!this.hasAttribute("dir")) {
|
919
919
|
let s = this.assignedSlot || this.parentNode;
|
920
|
-
for (; s !== document.documentElement && !
|
920
|
+
for (; s !== document.documentElement && !De(s); )
|
921
921
|
s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
922
922
|
s.parentNode || // DOM Element detected
|
923
923
|
s.host;
|
@@ -939,248 +939,29 @@ function De(r) {
|
|
939
939
|
}
|
940
940
|
return t;
|
941
941
|
}
|
942
|
-
class
|
943
|
-
}
|
944
|
-
/*! * Lucero - The design system for Luzmo.
|
945
|
-
*
|
946
|
-
* Copyright © 2025 Luzmo
|
947
|
-
* All rights reserved.
|
948
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
949
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
950
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
951
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
952
|
-
*
|
953
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
954
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
955
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
956
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
957
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
958
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
959
|
-
* SOFTWARE.
|
960
|
-
* */
|
961
|
-
let lt = !0;
|
962
|
-
try {
|
963
|
-
document.body.querySelector(":focus-visible");
|
964
|
-
} catch {
|
965
|
-
lt = !1, Promise.resolve().then(() => ze);
|
942
|
+
class ze extends je(I) {
|
966
943
|
}
|
967
|
-
const Yt = (r) => {
|
968
|
-
var t, e;
|
969
|
-
const s = (n) => {
|
970
|
-
if (n.shadowRoot == null || Object.hasOwn(n.dataset, "jsFocusVisible"))
|
971
|
-
return () => {
|
972
|
-
};
|
973
|
-
if (self.applyFocusVisiblePolyfill)
|
974
|
-
self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
975
|
-
else {
|
976
|
-
const l = () => {
|
977
|
-
self.applyFocusVisiblePolyfill && n.shadowRoot && self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
978
|
-
};
|
979
|
-
return self.addEventListener(
|
980
|
-
"focus-visible-polyfill-ready",
|
981
|
-
l,
|
982
|
-
{ once: !0 }
|
983
|
-
), () => {
|
984
|
-
self.removeEventListener(
|
985
|
-
"focus-visible-polyfill-ready",
|
986
|
-
l
|
987
|
-
);
|
988
|
-
};
|
989
|
-
}
|
990
|
-
return () => {
|
991
|
-
};
|
992
|
-
}, i = Symbol("endPolyfillCoordination");
|
993
|
-
class o extends (e = r, t = i, e) {
|
994
|
-
constructor() {
|
995
|
-
super(...arguments), this[t] = null;
|
996
|
-
}
|
997
|
-
// Attempt to coordinate with the polyfill when connected to the
|
998
|
-
// document:
|
999
|
-
connectedCallback() {
|
1000
|
-
super.connectedCallback && super.connectedCallback(), lt || requestAnimationFrame(() => {
|
1001
|
-
this[i] == null && (this[i] = s(this));
|
1002
|
-
});
|
1003
|
-
}
|
1004
|
-
disconnectedCallback() {
|
1005
|
-
super.disconnectedCallback && super.disconnectedCallback(), lt || requestAnimationFrame(() => {
|
1006
|
-
this[i] != null && (this[i](), this[i] = null);
|
1007
|
-
});
|
1008
|
-
}
|
1009
|
-
}
|
1010
|
-
return o;
|
1011
|
-
}, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1012
|
-
__proto__: null,
|
1013
|
-
FocusVisiblePolyfillMixin: Yt
|
1014
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
1015
|
-
/*! * Lucero - The design system for Luzmo.
|
1016
|
-
*
|
1017
|
-
* Copyright © 2025 Luzmo
|
1018
|
-
* All rights reserved.
|
1019
|
-
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1020
|
-
* This license allows users with a current active Luzmo account to use Lucero.
|
1021
|
-
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1022
|
-
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1023
|
-
*
|
1024
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1025
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1026
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1027
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1028
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1029
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1030
|
-
* SOFTWARE.
|
1031
|
-
* */
|
1032
|
-
var Be = Object.defineProperty, Fe = Object.getOwnPropertyDescriptor, mt = (r, t, e, s) => {
|
1033
|
-
for (var i = s > 1 ? void 0 : s ? Fe(t, e) : t, o = r.length - 1, n; o >= 0; o--)
|
1034
|
-
(n = r[o]) && (i = (s ? n(t, e, i) : n(i)) || i);
|
1035
|
-
return s && i && Be(t, e, i), i;
|
1036
|
-
};
|
1037
|
-
function It() {
|
1038
|
-
return new Promise((r) => requestAnimationFrame(() => r()));
|
1039
|
-
}
|
1040
|
-
let _t = class extends Yt(je) {
|
1041
|
-
constructor() {
|
1042
|
-
super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
|
1043
|
-
}
|
1044
|
-
get tabIndex() {
|
1045
|
-
if (this.focusElement === this) {
|
1046
|
-
const e = this.hasAttribute("tabindex") ? Number(this.getAttribute("tabindex")) : Number.NaN;
|
1047
|
-
return Number.isNaN(e) ? -1 : e;
|
1048
|
-
}
|
1049
|
-
const t = Number.parseFloat(
|
1050
|
-
this.hasAttribute("tabindex") && this.getAttribute("tabindex") || "0"
|
1051
|
-
);
|
1052
|
-
return this.disabled || t < 0 ? -1 : this.focusElement ? this._tabIndex : t;
|
1053
|
-
}
|
1054
|
-
set tabIndex(t) {
|
1055
|
-
var e;
|
1056
|
-
if (this.manipulatingTabindex) {
|
1057
|
-
this.manipulatingTabindex = !1;
|
1058
|
-
return;
|
1059
|
-
}
|
1060
|
-
if (this.focusElement === this) {
|
1061
|
-
if (this.disabled)
|
1062
|
-
this._tabIndex = t;
|
1063
|
-
else if (t !== this._tabIndex) {
|
1064
|
-
this._tabIndex = t;
|
1065
|
-
const s = "" + t;
|
1066
|
-
this.manipulatingTabindex = !0, this.setAttribute("tabindex", s);
|
1067
|
-
}
|
1068
|
-
return;
|
1069
|
-
}
|
1070
|
-
if (t === -1 ? this.addEventListener(
|
1071
|
-
"pointerdown",
|
1072
|
-
this.onPointerdownManagementOfTabIndex
|
1073
|
-
) : (this.manipulatingTabindex = !0, this.removeEventListener(
|
1074
|
-
"pointerdown",
|
1075
|
-
this.onPointerdownManagementOfTabIndex
|
1076
|
-
)), t === -1 || this.disabled) {
|
1077
|
-
if (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), this.removeAttribute("focusable"), this.selfManageFocusElement)
|
1078
|
-
return;
|
1079
|
-
t === -1 ? (e = this.focusElement) == null || e.removeAttribute("tabindex") : (this._tabIndex = t, this.manageFocusElementTabindex(t));
|
1080
|
-
return;
|
1081
|
-
}
|
1082
|
-
this.setAttribute("focusable", ""), this.hasAttribute("tabindex") ? this.removeAttribute("tabindex") : this.manipulatingTabindex = !1, this._tabIndex = t, this.manageFocusElementTabindex(t);
|
1083
|
-
}
|
1084
|
-
onPointerdownManagementOfTabIndex() {
|
1085
|
-
this.tabIndex === -1 && setTimeout(() => {
|
1086
|
-
this.tabIndex = 0, this.focus({ preventScroll: !0 }), this.tabIndex = -1;
|
1087
|
-
});
|
1088
|
-
}
|
1089
|
-
async manageFocusElementTabindex(t) {
|
1090
|
-
this.focusElement || await this.updateComplete, t === null ? this.focusElement.removeAttribute("tabindex") : this.focusElement !== this && (this.focusElement.tabIndex = t);
|
1091
|
-
}
|
1092
|
-
/**
|
1093
|
-
* @private
|
1094
|
-
*/
|
1095
|
-
get focusElement() {
|
1096
|
-
throw new Error("Must implement focusElement getter!");
|
1097
|
-
}
|
1098
|
-
/**
|
1099
|
-
* @public
|
1100
|
-
* @returns whether the component should manage its focusElement tab-index or not
|
1101
|
-
* Needed for action-menu to be supported in action-group in an accessible way
|
1102
|
-
*/
|
1103
|
-
get selfManageFocusElement() {
|
1104
|
-
return !1;
|
1105
|
-
}
|
1106
|
-
focus(t) {
|
1107
|
-
this.disabled || !this.focusElement || (this.focusElement === this ? Reflect.apply(HTMLElement.prototype.focus, this, [t]) : this.focusElement.focus(t));
|
1108
|
-
}
|
1109
|
-
blur() {
|
1110
|
-
const t = this.focusElement || this;
|
1111
|
-
t === this ? HTMLElement.prototype.blur.apply(this) : t.blur();
|
1112
|
-
}
|
1113
|
-
click() {
|
1114
|
-
if (this.disabled)
|
1115
|
-
return;
|
1116
|
-
const t = this.focusElement || this;
|
1117
|
-
t === this ? HTMLElement.prototype.click.apply(this) : t.click();
|
1118
|
-
}
|
1119
|
-
manageAutoFocus() {
|
1120
|
-
this.autofocus && (this.dispatchEvent(
|
1121
|
-
new KeyboardEvent("keydown", {
|
1122
|
-
code: "Tab"
|
1123
|
-
})
|
1124
|
-
), this.focusElement.focus());
|
1125
|
-
}
|
1126
|
-
firstUpdated(t) {
|
1127
|
-
super.firstUpdated(t), (!this.hasAttribute("tabindex") || this.getAttribute("tabindex") !== "-1") && this.setAttribute("focusable", "");
|
1128
|
-
}
|
1129
|
-
update(t) {
|
1130
|
-
t.has("disabled") && this.handleDisabledChanged(
|
1131
|
-
this.disabled,
|
1132
|
-
t.get("disabled")
|
1133
|
-
), super.update(t);
|
1134
|
-
}
|
1135
|
-
updated(t) {
|
1136
|
-
super.updated(t), t.has("disabled") && this.disabled && this.blur();
|
1137
|
-
}
|
1138
|
-
async handleDisabledChanged(t, e) {
|
1139
|
-
const s = () => this.focusElement !== this && this.focusElement.disabled !== void 0;
|
1140
|
-
t ? (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), await this.updateComplete, s() ? this.focusElement.disabled = !0 : this.setAttribute("aria-disabled", "true")) : e && (this.manipulatingTabindex = !0, this.focusElement === this ? this.setAttribute("tabindex", "" + this._tabIndex) : this.removeAttribute("tabindex"), await this.updateComplete, s() ? this.focusElement.disabled = !1 : this.removeAttribute("aria-disabled"));
|
1141
|
-
}
|
1142
|
-
async getUpdateComplete() {
|
1143
|
-
const t = await super.getUpdateComplete();
|
1144
|
-
return await this.autofocusReady, t;
|
1145
|
-
}
|
1146
|
-
connectedCallback() {
|
1147
|
-
super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (t) => {
|
1148
|
-
await It(), await It(), t();
|
1149
|
-
}), this.updateComplete.then(() => {
|
1150
|
-
this.manageAutoFocus();
|
1151
|
-
}));
|
1152
|
-
}
|
1153
|
-
};
|
1154
|
-
mt([
|
1155
|
-
ft({ type: Boolean, reflect: !0 })
|
1156
|
-
], _t.prototype, "disabled", 2);
|
1157
|
-
mt([
|
1158
|
-
ft({ type: Boolean })
|
1159
|
-
], _t.prototype, "autofocus", 2);
|
1160
|
-
mt([
|
1161
|
-
ft({ type: Number })
|
1162
|
-
], _t.prototype, "tabIndex", 1);
|
1163
944
|
/**
|
1164
945
|
* @license
|
1165
946
|
* Copyright 2017 Google LLC
|
1166
947
|
* SPDX-License-Identifier: BSD-3-Clause
|
1167
948
|
*/
|
1168
|
-
const L = globalThis, X = L.trustedTypes,
|
1169
|
-
\f\r]`, H = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
1170
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
949
|
+
const L = globalThis, X = L.trustedTypes, It = X ? X.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Yt = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, te = "?" + A, Be = `<${te}>`, w = document, z = () => w.createComment(""), B = (r) => r === null || typeof r != "object" && typeof r != "function", mt = Array.isArray, Fe = (r) => mt(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", it = `[
|
950
|
+
\f\r]`, H = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Dt = />/g, v = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
|
951
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), jt = /'/g, zt = /"/g, ee = /^(?:script|style|textarea|title)$/i, se = (r) => (t, ...e) => ({ _$litType$: r, strings: t, values: e }), ls = se(1), hs = se(2), O = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Bt = /* @__PURE__ */ new WeakMap(), E = w.createTreeWalker(w, 129);
|
1171
952
|
function ie(r, t) {
|
1172
|
-
if (!
|
1173
|
-
return
|
953
|
+
if (!mt(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
954
|
+
return It !== void 0 ? It.createHTML(t) : t;
|
1174
955
|
}
|
1175
|
-
const
|
956
|
+
const Ve = (r, t) => {
|
1176
957
|
const e = r.length - 1, s = [];
|
1177
958
|
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = H;
|
1178
959
|
for (let l = 0; l < e; l++) {
|
1179
960
|
const a = r[l];
|
1180
961
|
let c, d, h = -1, u = 0;
|
1181
|
-
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === H ? d[1] === "!--" ? n =
|
962
|
+
for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === H ? d[1] === "!--" ? n = Lt : d[1] !== void 0 ? n = Dt : d[2] !== void 0 ? (ee.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = v) : d[3] !== void 0 && (n = v) : n === v ? d[0] === ">" ? (n = i ?? H, h = -1) : d[1] === void 0 ? h = -2 : (h = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? v : d[3] === '"' ? zt : jt) : n === zt || n === jt ? n = v : n === Lt || n === Dt ? n = H : (n = v, i = void 0);
|
1182
963
|
const f = n === v && r[l + 1].startsWith("/>") ? " " : "";
|
1183
|
-
o += n === H ? a +
|
964
|
+
o += n === H ? a + Be : h >= 0 ? (s.push(c), a.slice(0, h) + Yt + a.slice(h) + A + f) : a + A + (h === -2 ? l : f);
|
1184
965
|
}
|
1185
966
|
return [ie(r, o + (r[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
1186
967
|
};
|
@@ -1189,18 +970,18 @@ class F {
|
|
1189
970
|
let i;
|
1190
971
|
this.parts = [];
|
1191
972
|
let o = 0, n = 0;
|
1192
|
-
const l = t.length - 1, a = this.parts, [c, d] =
|
973
|
+
const l = t.length - 1, a = this.parts, [c, d] = Ve(t, e);
|
1193
974
|
if (this.el = F.createElement(c, s), E.currentNode = this.el.content, e === 2 || e === 3) {
|
1194
975
|
const h = this.el.content.firstChild;
|
1195
976
|
h.replaceWith(...h.childNodes);
|
1196
977
|
}
|
1197
978
|
for (; (i = E.nextNode()) !== null && a.length < l; ) {
|
1198
979
|
if (i.nodeType === 1) {
|
1199
|
-
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(
|
980
|
+
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Yt)) {
|
1200
981
|
const u = d[n++], f = i.getAttribute(h).split(A), m = /([.?@])?(.*)/.exec(u);
|
1201
|
-
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ?
|
982
|
+
a.push({ type: 1, index: o, name: m[2], strings: f, ctor: m[1] === "." ? qe : m[1] === "?" ? Ke : m[1] === "@" ? Ze : tt }), i.removeAttribute(h);
|
1202
983
|
} else h.startsWith(A) && (a.push({ type: 6, index: o }), i.removeAttribute(h));
|
1203
|
-
if (
|
984
|
+
if (ee.test(i.tagName)) {
|
1204
985
|
const h = i.textContent.split(A), u = h.length - 1;
|
1205
986
|
if (u > 0) {
|
1206
987
|
i.textContent = X ? X.emptyScript : "";
|
@@ -1208,7 +989,7 @@ class F {
|
|
1208
989
|
i.append(h[u], z());
|
1209
990
|
}
|
1210
991
|
}
|
1211
|
-
} else if (i.nodeType === 8) if (i.data ===
|
992
|
+
} else if (i.nodeType === 8) if (i.data === te) a.push({ type: 2, index: o });
|
1212
993
|
else {
|
1213
994
|
let h = -1;
|
1214
995
|
for (; (h = i.data.indexOf(A, h + 1)) !== -1; ) a.push({ type: 7, index: o }), h += A.length - 1;
|
@@ -1228,7 +1009,7 @@ function M(r, t, e = r, s) {
|
|
1228
1009
|
const o = B(t) ? void 0 : t._$litDirective$;
|
1229
1010
|
return (i == null ? void 0 : i.constructor) !== o && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), o === void 0 ? i = void 0 : (i = new o(r), i._$AT(r, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = M(r, i._$AS(r, t.values), i, s)), t;
|
1230
1011
|
}
|
1231
|
-
class
|
1012
|
+
class We {
|
1232
1013
|
constructor(t, e) {
|
1233
1014
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
1234
1015
|
}
|
@@ -1245,7 +1026,7 @@ class Ze {
|
|
1245
1026
|
for (; a !== void 0; ) {
|
1246
1027
|
if (n === a.index) {
|
1247
1028
|
let c;
|
1248
|
-
a.type === 2 ? c = new V(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new
|
1029
|
+
a.type === 2 ? c = new V(o, o.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(o, a.name, a.strings, this, t) : a.type === 6 && (c = new Je(o, this, t)), this._$AV.push(c), a = s[++l];
|
1249
1030
|
}
|
1250
1031
|
n !== (a == null ? void 0 : a.index) && (o = E.nextNode(), n++);
|
1251
1032
|
}
|
@@ -1276,7 +1057,7 @@ class V {
|
|
1276
1057
|
return this._$AB;
|
1277
1058
|
}
|
1278
1059
|
_$AI(t, e = this) {
|
1279
|
-
t = M(this, t, e), B(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
1060
|
+
t = M(this, t, e), B(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Fe(t) ? this.k(t) : this._(t);
|
1280
1061
|
}
|
1281
1062
|
O(t) {
|
1282
1063
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -1292,16 +1073,16 @@ class V {
|
|
1292
1073
|
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = F.createElement(ie(s.h, s.h[0]), this.options)), s);
|
1293
1074
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
1294
1075
|
else {
|
1295
|
-
const n = new
|
1076
|
+
const n = new We(i, this), l = n.u(this.options);
|
1296
1077
|
n.p(e), this.T(l), this._$AH = n;
|
1297
1078
|
}
|
1298
1079
|
}
|
1299
1080
|
_$AC(t) {
|
1300
|
-
let e =
|
1301
|
-
return e === void 0 &&
|
1081
|
+
let e = Bt.get(t.strings);
|
1082
|
+
return e === void 0 && Bt.set(t.strings, e = new F(t)), e;
|
1302
1083
|
}
|
1303
1084
|
k(t) {
|
1304
|
-
|
1085
|
+
mt(this._$AH) || (this._$AH = [], this._$AR());
|
1305
1086
|
const e = this._$AH;
|
1306
1087
|
let s, i = 0;
|
1307
1088
|
for (const o of t) i === e.length ? e.push(s = new V(this.O(z()), this.O(z()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
@@ -1344,7 +1125,7 @@ class tt {
|
|
1344
1125
|
t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
1345
1126
|
}
|
1346
1127
|
}
|
1347
|
-
class
|
1128
|
+
class qe extends tt {
|
1348
1129
|
constructor() {
|
1349
1130
|
super(...arguments), this.type = 3;
|
1350
1131
|
}
|
@@ -1352,7 +1133,7 @@ class Je extends tt {
|
|
1352
1133
|
this.element[this.name] = t === $ ? void 0 : t;
|
1353
1134
|
}
|
1354
1135
|
}
|
1355
|
-
class
|
1136
|
+
class Ke extends tt {
|
1356
1137
|
constructor() {
|
1357
1138
|
super(...arguments), this.type = 4;
|
1358
1139
|
}
|
@@ -1360,7 +1141,7 @@ class Ge extends tt {
|
|
1360
1141
|
this.element.toggleAttribute(this.name, !!t && t !== $);
|
1361
1142
|
}
|
1362
1143
|
}
|
1363
|
-
class
|
1144
|
+
class Ze extends tt {
|
1364
1145
|
constructor(t, e, s, i, o) {
|
1365
1146
|
super(t, e, s, i, o), this.type = 5;
|
1366
1147
|
}
|
@@ -1374,7 +1155,7 @@ class Qe extends tt {
|
|
1374
1155
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
1375
1156
|
}
|
1376
1157
|
}
|
1377
|
-
class
|
1158
|
+
class Je {
|
1378
1159
|
constructor(t, e, s) {
|
1379
1160
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
1380
1161
|
}
|
@@ -1387,7 +1168,7 @@ class Xe {
|
|
1387
1168
|
}
|
1388
1169
|
const rt = L.litHtmlPolyfillSupport;
|
1389
1170
|
rt == null || rt(F, V), (L.litHtmlVersions ?? (L.litHtmlVersions = [])).push("3.2.1");
|
1390
|
-
const
|
1171
|
+
const Ge = (r, t, e) => {
|
1391
1172
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
1392
1173
|
let i = s._$litPart$;
|
1393
1174
|
if (i === void 0) {
|
@@ -1396,6 +1177,225 @@ const Ye = (r, t, e) => {
|
|
1396
1177
|
}
|
1397
1178
|
return i._$AI(r), i;
|
1398
1179
|
};
|
1180
|
+
/*! * Lucero - The design system for Luzmo.
|
1181
|
+
*
|
1182
|
+
* Copyright © 2025 Luzmo
|
1183
|
+
* All rights reserved.
|
1184
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1185
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1186
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1187
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1188
|
+
*
|
1189
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1190
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1191
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1192
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1193
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1194
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1195
|
+
* SOFTWARE.
|
1196
|
+
* */
|
1197
|
+
let lt = !0;
|
1198
|
+
try {
|
1199
|
+
document.body.querySelector(":focus-visible");
|
1200
|
+
} catch {
|
1201
|
+
lt = !1, Promise.resolve().then(() => Qe);
|
1202
|
+
}
|
1203
|
+
const re = (r) => {
|
1204
|
+
var t, e;
|
1205
|
+
const s = (n) => {
|
1206
|
+
if (n.shadowRoot == null || Object.hasOwn(n.dataset, "jsFocusVisible"))
|
1207
|
+
return () => {
|
1208
|
+
};
|
1209
|
+
if (self.applyFocusVisiblePolyfill)
|
1210
|
+
self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1211
|
+
else {
|
1212
|
+
const l = () => {
|
1213
|
+
self.applyFocusVisiblePolyfill && n.shadowRoot && self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
|
1214
|
+
};
|
1215
|
+
return self.addEventListener(
|
1216
|
+
"focus-visible-polyfill-ready",
|
1217
|
+
l,
|
1218
|
+
{ once: !0 }
|
1219
|
+
), () => {
|
1220
|
+
self.removeEventListener(
|
1221
|
+
"focus-visible-polyfill-ready",
|
1222
|
+
l
|
1223
|
+
);
|
1224
|
+
};
|
1225
|
+
}
|
1226
|
+
return () => {
|
1227
|
+
};
|
1228
|
+
}, i = Symbol("endPolyfillCoordination");
|
1229
|
+
class o extends (e = r, t = i, e) {
|
1230
|
+
constructor() {
|
1231
|
+
super(...arguments), this[t] = null;
|
1232
|
+
}
|
1233
|
+
// Attempt to coordinate with the polyfill when connected to the
|
1234
|
+
// document:
|
1235
|
+
connectedCallback() {
|
1236
|
+
super.connectedCallback && super.connectedCallback(), lt || requestAnimationFrame(() => {
|
1237
|
+
this[i] == null && (this[i] = s(this));
|
1238
|
+
});
|
1239
|
+
}
|
1240
|
+
disconnectedCallback() {
|
1241
|
+
super.disconnectedCallback && super.disconnectedCallback(), lt || requestAnimationFrame(() => {
|
1242
|
+
this[i] != null && (this[i](), this[i] = null);
|
1243
|
+
});
|
1244
|
+
}
|
1245
|
+
}
|
1246
|
+
return o;
|
1247
|
+
}, Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1248
|
+
__proto__: null,
|
1249
|
+
FocusVisiblePolyfillMixin: re
|
1250
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
1251
|
+
/*! * Lucero - The design system for Luzmo.
|
1252
|
+
*
|
1253
|
+
* Copyright © 2025 Luzmo
|
1254
|
+
* All rights reserved.
|
1255
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
1256
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
1257
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
1258
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
1259
|
+
*
|
1260
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1261
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1262
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1263
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1264
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1265
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1266
|
+
* SOFTWARE.
|
1267
|
+
* */
|
1268
|
+
var Xe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, _t = (r, t, e, s) => {
|
1269
|
+
for (var i = s > 1 ? void 0 : s ? Ye(t, e) : t, o = r.length - 1, n; o >= 0; o--)
|
1270
|
+
(n = r[o]) && (i = (s ? n(t, e, i) : n(i)) || i);
|
1271
|
+
return s && i && Xe(t, e, i), i;
|
1272
|
+
};
|
1273
|
+
function Ft() {
|
1274
|
+
return new Promise((r) => requestAnimationFrame(() => r()));
|
1275
|
+
}
|
1276
|
+
let At = class extends re(ze) {
|
1277
|
+
constructor() {
|
1278
|
+
super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
|
1279
|
+
}
|
1280
|
+
get tabIndex() {
|
1281
|
+
if (this.focusElement === this) {
|
1282
|
+
const e = this.hasAttribute("tabindex") ? Number(this.getAttribute("tabindex")) : Number.NaN;
|
1283
|
+
return Number.isNaN(e) ? -1 : e;
|
1284
|
+
}
|
1285
|
+
const t = Number.parseFloat(
|
1286
|
+
this.hasAttribute("tabindex") && this.getAttribute("tabindex") || "0"
|
1287
|
+
);
|
1288
|
+
return this.disabled || t < 0 ? -1 : this.focusElement ? this._tabIndex : t;
|
1289
|
+
}
|
1290
|
+
set tabIndex(t) {
|
1291
|
+
var e;
|
1292
|
+
if (this.manipulatingTabindex) {
|
1293
|
+
this.manipulatingTabindex = !1;
|
1294
|
+
return;
|
1295
|
+
}
|
1296
|
+
if (this.focusElement === this) {
|
1297
|
+
if (this.disabled)
|
1298
|
+
this._tabIndex = t;
|
1299
|
+
else if (t !== this._tabIndex) {
|
1300
|
+
this._tabIndex = t;
|
1301
|
+
const s = "" + t;
|
1302
|
+
this.manipulatingTabindex = !0, this.setAttribute("tabindex", s);
|
1303
|
+
}
|
1304
|
+
return;
|
1305
|
+
}
|
1306
|
+
if (t === -1 ? this.addEventListener(
|
1307
|
+
"pointerdown",
|
1308
|
+
this.onPointerdownManagementOfTabIndex
|
1309
|
+
) : (this.manipulatingTabindex = !0, this.removeEventListener(
|
1310
|
+
"pointerdown",
|
1311
|
+
this.onPointerdownManagementOfTabIndex
|
1312
|
+
)), t === -1 || this.disabled) {
|
1313
|
+
if (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), this.removeAttribute("focusable"), this.selfManageFocusElement)
|
1314
|
+
return;
|
1315
|
+
t === -1 ? (e = this.focusElement) == null || e.removeAttribute("tabindex") : (this._tabIndex = t, this.manageFocusElementTabindex(t));
|
1316
|
+
return;
|
1317
|
+
}
|
1318
|
+
this.setAttribute("focusable", ""), this.hasAttribute("tabindex") ? this.removeAttribute("tabindex") : this.manipulatingTabindex = !1, this._tabIndex = t, this.manageFocusElementTabindex(t);
|
1319
|
+
}
|
1320
|
+
onPointerdownManagementOfTabIndex() {
|
1321
|
+
this.tabIndex === -1 && setTimeout(() => {
|
1322
|
+
this.tabIndex = 0, this.focus({ preventScroll: !0 }), this.tabIndex = -1;
|
1323
|
+
});
|
1324
|
+
}
|
1325
|
+
async manageFocusElementTabindex(t) {
|
1326
|
+
this.focusElement || await this.updateComplete, t === null ? this.focusElement.removeAttribute("tabindex") : this.focusElement !== this && (this.focusElement.tabIndex = t);
|
1327
|
+
}
|
1328
|
+
/**
|
1329
|
+
* @private
|
1330
|
+
*/
|
1331
|
+
get focusElement() {
|
1332
|
+
throw new Error("Must implement focusElement getter!");
|
1333
|
+
}
|
1334
|
+
/**
|
1335
|
+
* @public
|
1336
|
+
* @returns whether the component should manage its focusElement tab-index or not
|
1337
|
+
* Needed for action-menu to be supported in action-group in an accessible way
|
1338
|
+
*/
|
1339
|
+
get selfManageFocusElement() {
|
1340
|
+
return !1;
|
1341
|
+
}
|
1342
|
+
focus(t) {
|
1343
|
+
this.disabled || !this.focusElement || (this.focusElement === this ? Reflect.apply(HTMLElement.prototype.focus, this, [t]) : this.focusElement.focus(t));
|
1344
|
+
}
|
1345
|
+
blur() {
|
1346
|
+
const t = this.focusElement || this;
|
1347
|
+
t === this ? HTMLElement.prototype.blur.apply(this) : t.blur();
|
1348
|
+
}
|
1349
|
+
click() {
|
1350
|
+
if (this.disabled)
|
1351
|
+
return;
|
1352
|
+
const t = this.focusElement || this;
|
1353
|
+
t === this ? HTMLElement.prototype.click.apply(this) : t.click();
|
1354
|
+
}
|
1355
|
+
manageAutoFocus() {
|
1356
|
+
this.autofocus && (this.dispatchEvent(
|
1357
|
+
new KeyboardEvent("keydown", {
|
1358
|
+
code: "Tab"
|
1359
|
+
})
|
1360
|
+
), this.focusElement.focus());
|
1361
|
+
}
|
1362
|
+
firstUpdated(t) {
|
1363
|
+
super.firstUpdated(t), (!this.hasAttribute("tabindex") || this.getAttribute("tabindex") !== "-1") && this.setAttribute("focusable", "");
|
1364
|
+
}
|
1365
|
+
update(t) {
|
1366
|
+
t.has("disabled") && this.handleDisabledChanged(
|
1367
|
+
this.disabled,
|
1368
|
+
t.get("disabled")
|
1369
|
+
), super.update(t);
|
1370
|
+
}
|
1371
|
+
updated(t) {
|
1372
|
+
super.updated(t), t.has("disabled") && this.disabled && this.blur();
|
1373
|
+
}
|
1374
|
+
async handleDisabledChanged(t, e) {
|
1375
|
+
const s = () => this.focusElement !== this && this.focusElement.disabled !== void 0;
|
1376
|
+
t ? (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), await this.updateComplete, s() ? this.focusElement.disabled = !0 : this.setAttribute("aria-disabled", "true")) : e && (this.manipulatingTabindex = !0, this.focusElement === this ? this.setAttribute("tabindex", "" + this._tabIndex) : this.removeAttribute("tabindex"), await this.updateComplete, s() ? this.focusElement.disabled = !1 : this.removeAttribute("aria-disabled"));
|
1377
|
+
}
|
1378
|
+
async getUpdateComplete() {
|
1379
|
+
const t = await super.getUpdateComplete();
|
1380
|
+
return await this.autofocusReady, t;
|
1381
|
+
}
|
1382
|
+
connectedCallback() {
|
1383
|
+
super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (t) => {
|
1384
|
+
await Ft(), await Ft(), t();
|
1385
|
+
}), this.updateComplete.then(() => {
|
1386
|
+
this.manageAutoFocus();
|
1387
|
+
}));
|
1388
|
+
}
|
1389
|
+
};
|
1390
|
+
_t([
|
1391
|
+
ft({ type: Boolean, reflect: !0 })
|
1392
|
+
], At.prototype, "disabled", 2);
|
1393
|
+
_t([
|
1394
|
+
ft({ type: Boolean })
|
1395
|
+
], At.prototype, "autofocus", 2);
|
1396
|
+
_t([
|
1397
|
+
ft({ type: Number })
|
1398
|
+
], At.prototype, "tabIndex", 1);
|
1399
1399
|
/**
|
1400
1400
|
* @license
|
1401
1401
|
* Copyright 2017 Google LLC
|
@@ -1412,7 +1412,7 @@ let K = class extends x {
|
|
1412
1412
|
}
|
1413
1413
|
update(t) {
|
1414
1414
|
const e = this.render();
|
1415
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
1415
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ge(e, this.renderRoot, this.renderOptions);
|
1416
1416
|
}
|
1417
1417
|
connectedCallback() {
|
1418
1418
|
var t;
|
@@ -1457,7 +1457,7 @@ const ts = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged:
|
|
1457
1457
|
}
|
1458
1458
|
throw Error("Unsupported decorator location: " + s);
|
1459
1459
|
};
|
1460
|
-
function
|
1460
|
+
function us(r) {
|
1461
1461
|
return (t, e) => typeof e == "object" ? es(r, t, e) : ((s, i, o) => {
|
1462
1462
|
const n = i.hasOwnProperty(o);
|
1463
1463
|
return i.constructor.createProperty(o, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
@@ -1467,14 +1467,15 @@ export {
|
|
1467
1467
|
$ as E,
|
1468
1468
|
ns as H,
|
1469
1469
|
ft as R,
|
1470
|
-
|
1470
|
+
oe as a,
|
1471
|
+
hs as b,
|
1471
1472
|
p as d,
|
1472
1473
|
ct as f,
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1474
|
+
me as h,
|
1475
|
+
ze as k,
|
1476
|
+
us as n,
|
1477
|
+
At as r,
|
1477
1478
|
U as v,
|
1478
|
-
|
1479
|
-
|
1479
|
+
He as w,
|
1480
|
+
ls as x
|
1480
1481
|
};
|