@luzmo/lucero 0.0.12 → 0.0.14
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/accordion/index.cjs +6 -6
- package/components/accordion/index.js +5 -5
- package/components/action-bar/index.cjs +4 -4
- package/components/action-bar/index.js +8 -9
- package/components/action-button/index.cjs +2 -2
- package/components/action-button/index.js +3 -4
- package/components/action-group/index.cjs +1 -1
- package/components/action-group/index.js +1 -1
- package/components/action-group-Uimj-MJP.cjs +20 -0
- package/components/{action-group-DzT5e9uS.js → action-group-enfc-YnW.js} +3 -3
- package/components/action-menu/index.cjs +7 -7
- package/components/action-menu/index.js +8 -8
- package/components/async-directive-DWRUSKKF.js +82 -0
- package/components/async-directive-D_Ter1F8.cjs +22 -0
- package/components/avatar/index.cjs +3 -3
- package/components/avatar/index.js +6 -6
- package/components/base-B7Pfl2if.cjs +40 -0
- package/components/{sized-mixin-DcvJLFeo.cjs → base-BjTwmyRF.cjs} +5 -1
- package/components/{base-CCsOyfm4.js → base-CawdqE7p.js} +132 -98
- package/components/base-D76d76ww.js +26 -0
- package/components/button/index.cjs +2 -2
- package/components/button/index.js +6 -7
- package/components/{button-base-BUylwU1F.js → button-base-B7v4eeRh.js} +5 -5
- package/components/{button-base-D62oiPcu.cjs → button-base-DmjYs2s9.cjs} +3 -3
- package/components/button-group/index.cjs +1 -1
- package/components/button-group/index.js +5 -6
- package/components/checkbox/index.cjs +4 -4
- package/components/checkbox/index.js +3 -4
- package/components/{checkbox-mixin-CM4VUJxF.js → checkbox-mixin-BFGTmw17.js} +9 -9
- package/components/{checkbox-mixin-CifGmiLR.cjs → checkbox-mixin-DUhXwD46.cjs} +3 -3
- package/components/{clear-button-BmUyRVoz.js → clear-button-DgZmX5RX.js} +6 -7
- package/components/clear-button-KdrF2jaV.cjs +18 -0
- package/components/{close-button-BekXo6bQ.js → close-button-CFHQnbsK.js} +9 -10
- package/components/close-button-DVGUppyd.cjs +18 -0
- package/components/color-area/index.cjs +5 -5
- package/components/color-area/index.js +4 -4
- package/components/color-field/index.cjs +2 -2
- package/components/color-field/index.js +2 -3
- package/components/color-handle/index.cjs +2 -2
- package/components/color-handle/index.js +2 -3
- package/components/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.js +1 -1
- package/components/{color-loupe-DiegGLZu.js → color-loupe-DxcqXoJ6.js} +1 -2
- package/components/color-loupe-SskbNeMp.cjs +56 -0
- package/components/color-menu/index.cjs +5 -5
- package/components/color-menu/index.js +4 -3
- package/components/color-picker/index.cjs +4 -4
- package/components/color-picker/index.js +9 -8
- package/components/color-slider/index.cjs +6 -6
- package/components/color-slider/index.js +6 -6
- package/components/directive-C7oCP5Bh.cjs +22 -0
- package/components/directive-helpers-TkFq2eZF.cjs +22 -0
- package/components/directive-helpers-nlQRAaQt.js +28 -0
- package/components/directive-oAbCiebi.js +44 -0
- package/components/divider/index.cjs +1 -1
- package/components/divider/index.js +2 -3
- package/components/field-group/index.cjs +1 -1
- package/components/field-group/index.js +1 -1
- package/components/{field-group-BPZvGJi1.js → field-group-DAhrTCfl.js} +2 -3
- package/components/field-group-DSY2HUoj.cjs +23 -0
- package/components/field-label/index.cjs +1 -1
- package/components/field-label/index.js +1 -1
- package/components/{field-label-6AaW05kA.js → field-label-CAFfGxEL.js} +3 -3
- package/components/field-label-CjsQ3ujK.cjs +25 -0
- package/components/focusable-DGWL1v1p.cjs +18 -0
- package/components/{focusable-CxA_NMK_.js → focusable-cj2QhwDT.js} +1 -2
- package/components/icon/index.cjs +1 -1
- package/components/icon/index.js +4 -5
- package/components/if-defined-B56xGmAg.cjs +22 -0
- package/components/if-defined-BSAr_4u4.js +27 -0
- package/components/{index-QeYYAZQR.js → index-CfEuKXu3.js} +17 -15
- package/components/index-uModabSB.cjs +77 -0
- package/components/index.cjs +1 -1
- package/components/index.js +16 -16
- package/components/infield-button/index.cjs +2 -2
- package/components/infield-button/index.js +3 -4
- package/components/label/index.cjs +1 -1
- package/components/label/index.js +1 -2
- package/components/like-anchor-Bmabl9ra.cjs +32 -0
- package/components/{like-anchor-D7tY6am5.js → like-anchor-QBlvwFfT.js} +23 -24
- package/components/{manage-help-text-CmE_nfjl.js → manage-help-text-Cozl9Sgn.js} +4 -4
- package/components/{manage-help-text-CoX77cTJ.cjs → manage-help-text-OHXDgxyj.cjs} +2 -2
- package/components/menu/index.cjs +1 -1
- package/components/menu/index.js +1 -1
- package/components/multi-language-field/index.cjs +2 -2
- package/components/multi-language-field/index.js +3 -4
- package/components/number-field/index.cjs +3 -3
- package/components/number-field/index.js +4 -4
- package/components/observe-slot-text-CrYB2Pj-.cjs +18 -0
- package/components/{observe-slot-text-CugmOzNZ.js → observe-slot-text-ggb4kKgY.js} +21 -20
- package/components/overlay/index.cjs +7 -7
- package/components/overlay/index.js +48 -46
- package/components/{overlay-CtdbWiFs.js → overlay-CJ9by37f.js} +71 -69
- package/components/overlay-Deh6Ki6I.cjs +47 -0
- package/components/{pending-state-DWvTsSoS.cjs → pending-state-Do522lTd.cjs} +1 -1
- package/components/{pending-state-B_JeaE62.js → pending-state-TJj1x9xn.js} +2 -2
- package/components/picker/index.cjs +1 -1
- package/components/picker/index.js +2 -2
- package/components/picker-86w1nJ4v.cjs +127 -0
- package/components/{picker-DwbcFve2.js → picker-CqVp9Hab.js} +134 -105
- package/components/popover/index.cjs +1 -1
- package/components/popover/index.js +1 -1
- package/components/popover-BOEkjrJY.cjs +30 -0
- package/components/popover-CGL8gWdb.js +67 -0
- package/components/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.js +1 -1
- package/components/{progress-circle-CUCJ_Ehs.js → progress-circle-Be24kv6B.js} +4 -4
- package/components/{progress-circle-BXyXtMcs.cjs → progress-circle-NNbCMK2i.cjs} +6 -6
- package/components/query-BL-TJj7K.cjs +22 -0
- package/components/query-D_KR_GUc.js +51 -0
- package/components/query-assigned-elements-DjfhL1cl.js +36 -0
- package/components/query-assigned-elements-DsKsfk7G.cjs +22 -0
- package/components/query-assigned-nodes-BcKWmGzy.cjs +22 -0
- package/components/query-assigned-nodes-C76XVPWY.js +36 -0
- package/components/radio/index.cjs +2 -2
- package/components/radio/index.js +6 -6
- package/components/search/index.cjs +7 -7
- package/components/search/index.js +4 -4
- package/components/{sized-mixin-cJbo3PKR.js → sized-mixin-BxMraZLS.js} +5 -5
- package/components/sized-mixin-D9LkrMjb.cjs +18 -0
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.js +2 -3
- package/components/state-C5I1gP3G.cjs +22 -0
- package/components/state-CYxk12SV.js +29 -0
- package/components/{streaming-listener-BgCzt2TI.js → streaming-listener-CCalHg57.js} +6 -5
- package/components/streaming-listener-KVex1WWB.cjs +18 -0
- package/components/style-map-Ct2LiEds.js +53 -0
- package/components/style-map-uMq-yDJ3.cjs +22 -0
- package/components/swatch/index.cjs +7 -7
- package/components/swatch/index.js +11 -11
- package/components/switch/index.cjs +2 -2
- package/components/switch/index.js +4 -5
- package/components/tags/index.cjs +4 -4
- package/components/tags/index.js +4 -4
- package/components/text-field/index.cjs +3 -3
- package/components/text-field/index.js +3 -4
- package/components/text-field-5_ev9way.cjs +85 -0
- package/components/text-field-CvKSS59x.js +313 -0
- package/components/toast/index.cjs +11 -11
- package/components/toast/index.js +2 -3
- package/components/tooltip/index.cjs +4 -4
- package/components/tooltip/index.js +4 -4
- package/components/unit-input/index.cjs +6 -6
- package/components/unit-input/index.js +3 -3
- package/components/utils.cjs +1 -1
- package/components/utils.js +4 -4
- package/components/when-CDK1Tt5Y.js +28 -0
- package/components/when-CDZyJPvd.cjs +22 -0
- package/package.json +1 -1
- package/components/action-group-B59CWNnT.cjs +0 -20
- package/components/base-CaRKlVkL.cjs +0 -36
- package/components/clear-button-Cc5-XUOJ.cjs +0 -18
- package/components/close-button-Bf8yzpLd.cjs +0 -18
- package/components/color-loupe-CLzp2MiI.cjs +0 -56
- package/components/field-group-CodR_26L.cjs +0 -23
- package/components/field-label-B91K6moC.cjs +0 -25
- package/components/focusable-BFdecx5l.cjs +0 -18
- package/components/index-Cg_y7WKM.cjs +0 -77
- package/components/like-anchor-b3cNzw52.cjs +0 -32
- package/components/observe-slot-text-ByPG1Lqw.cjs +0 -18
- package/components/overlay-BWBJGJN_.cjs +0 -47
- package/components/picker-CaC1rQOK.cjs +0 -123
- package/components/popover-C4w3aY8m.cjs +0 -30
- package/components/popover-DLFHilGS.js +0 -67
- package/components/streaming-listener-C2bsIc4J.cjs +0 -18
- package/components/text-field-BX_aHXSW.js +0 -288
- package/components/text-field-DAr2RyH9.cjs +0 -81
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
* Copyright 2019 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const T = globalThis, j = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), W = /* @__PURE__ */ new WeakMap();
|
|
24
24
|
let ot = class {
|
|
25
25
|
constructor(t, e, s) {
|
|
26
|
-
if (this._$cssResult$ = !0, s !==
|
|
26
|
+
if (this._$cssResult$ = !0, s !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
27
27
|
this.cssText = t, this.t = e;
|
|
28
28
|
}
|
|
29
29
|
get styleSheet() {
|
|
30
30
|
let t = this.o;
|
|
31
31
|
const e = this.t;
|
|
32
|
-
if (
|
|
32
|
+
if (j && t === void 0) {
|
|
33
33
|
const s = e !== void 0 && e.length === 1;
|
|
34
|
-
s && (t =
|
|
34
|
+
s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
|
|
35
35
|
}
|
|
36
36
|
return t;
|
|
37
37
|
}
|
|
@@ -39,13 +39,13 @@ let ot = class {
|
|
|
39
39
|
return this.cssText;
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
-
const ht = (n) => new ot(typeof n == "string" ? n : n + "", void 0,
|
|
43
|
-
if (
|
|
42
|
+
const ht = (n) => new ot(typeof n == "string" ? n : n + "", void 0, et), at = (n, t) => {
|
|
43
|
+
if (j) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
44
44
|
else for (const e of t) {
|
|
45
|
-
const s = document.createElement("style"), i =
|
|
45
|
+
const s = document.createElement("style"), i = T.litNonce;
|
|
46
46
|
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
|
|
47
47
|
}
|
|
48
|
-
},
|
|
48
|
+
}, q = j ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
|
49
49
|
let e = "";
|
|
50
50
|
for (const s of t.cssRules) e += s.cssText;
|
|
51
51
|
return ht(e);
|
|
@@ -55,7 +55,7 @@ const ht = (n) => new ot(typeof n == "string" ? n : n + "", void 0, tt), at = (n
|
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
57
|
*/
|
|
58
|
-
const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: ut, getOwnPropertySymbols: pt, getPrototypeOf: $t } = Object, f = globalThis, F = f.trustedTypes, _t = F ? F.emptyScript : "",
|
|
58
|
+
const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnPropertyNames: ut, getOwnPropertySymbols: pt, getPrototypeOf: $t } = Object, f = globalThis, F = f.trustedTypes, _t = F ? F.emptyScript : "", k = f.reactiveElementPolyfillSupport, S = (n, t) => n, H = { toAttribute(n, t) {
|
|
59
59
|
switch (t) {
|
|
60
60
|
case Boolean:
|
|
61
61
|
n = n ? _t : null;
|
|
@@ -83,7 +83,7 @@ const { is: lt, defineProperty: ct, getOwnPropertyDescriptor: dt, getOwnProperty
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
return e;
|
|
86
|
-
} },
|
|
86
|
+
} }, B = (n, t) => !lt(n, t), Z = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: B };
|
|
87
87
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), f.litPropertyMetadata ?? (f.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
88
88
|
class y extends HTMLElement {
|
|
89
89
|
static addInitializer(t) {
|
|
@@ -92,7 +92,7 @@ class y extends HTMLElement {
|
|
|
92
92
|
static get observedAttributes() {
|
|
93
93
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
94
94
|
}
|
|
95
|
-
static createProperty(t, e =
|
|
95
|
+
static createProperty(t, e = Z) {
|
|
96
96
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
97
97
|
const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
|
|
98
98
|
i !== void 0 && ct(this.prototype, t, i);
|
|
@@ -107,12 +107,12 @@ class y extends HTMLElement {
|
|
|
107
107
|
return { get() {
|
|
108
108
|
return i == null ? void 0 : i.call(this);
|
|
109
109
|
}, set(r) {
|
|
110
|
-
const
|
|
111
|
-
o.call(this, r), this.requestUpdate(t,
|
|
110
|
+
const a = i == null ? void 0 : i.call(this);
|
|
111
|
+
o.call(this, r), this.requestUpdate(t, a, s);
|
|
112
112
|
}, configurable: !0, enumerable: !0 };
|
|
113
113
|
}
|
|
114
114
|
static getPropertyOptions(t) {
|
|
115
|
-
return this.elementProperties.get(t) ??
|
|
115
|
+
return this.elementProperties.get(t) ?? Z;
|
|
116
116
|
}
|
|
117
117
|
static _$Ei() {
|
|
118
118
|
if (this.hasOwnProperty(S("elementProperties"))) return;
|
|
@@ -141,8 +141,8 @@ class y extends HTMLElement {
|
|
|
141
141
|
const e = [];
|
|
142
142
|
if (Array.isArray(t)) {
|
|
143
143
|
const s = new Set(t.flat(1 / 0).reverse());
|
|
144
|
-
for (const i of s) e.unshift(
|
|
145
|
-
} else t !== void 0 && e.push(
|
|
144
|
+
for (const i of s) e.unshift(q(i));
|
|
145
|
+
} else t !== void 0 && e.push(q(t));
|
|
146
146
|
return e;
|
|
147
147
|
}
|
|
148
148
|
static _$Eu(t, e) {
|
|
@@ -196,7 +196,7 @@ class y extends HTMLElement {
|
|
|
196
196
|
var o;
|
|
197
197
|
const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
|
|
198
198
|
if (i !== void 0 && s.reflect === !0) {
|
|
199
|
-
const r = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter :
|
|
199
|
+
const r = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : H).toAttribute(e, s.type);
|
|
200
200
|
this._$Em = t, r == null ? this.removeAttribute(i) : this.setAttribute(i, r), this._$Em = null;
|
|
201
201
|
}
|
|
202
202
|
}
|
|
@@ -204,13 +204,13 @@ class y extends HTMLElement {
|
|
|
204
204
|
var o;
|
|
205
205
|
const s = this.constructor, i = s._$Eh.get(t);
|
|
206
206
|
if (i !== void 0 && this._$Em !== i) {
|
|
207
|
-
const r = s.getPropertyOptions(i),
|
|
208
|
-
this._$Em = i, this[i] =
|
|
207
|
+
const r = s.getPropertyOptions(i), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? r.converter : H;
|
|
208
|
+
this._$Em = i, this[i] = a.fromAttribute(e, r.type), this._$Em = null;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
requestUpdate(t, e, s) {
|
|
212
212
|
if (t !== void 0) {
|
|
213
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ??
|
|
213
|
+
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? B)(this[t], e)) return;
|
|
214
214
|
this.P(t, e, s);
|
|
215
215
|
}
|
|
216
216
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
@@ -283,74 +283,74 @@ class y extends HTMLElement {
|
|
|
283
283
|
firstUpdated(t) {
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
|
-
y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[S("elementProperties")] = /* @__PURE__ */ new Map(), y[S("finalized")] = /* @__PURE__ */ new Map(),
|
|
286
|
+
y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[S("elementProperties")] = /* @__PURE__ */ new Map(), y[S("finalized")] = /* @__PURE__ */ new Map(), k == null || k({ ReactiveElement: y }), (f.reactiveElementVersions ?? (f.reactiveElementVersions = [])).push("2.0.4");
|
|
287
287
|
/**
|
|
288
288
|
* @license
|
|
289
289
|
* Copyright 2017 Google LLC
|
|
290
290
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
291
291
|
*/
|
|
292
|
-
const
|
|
293
|
-
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
294
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
292
|
+
const w = globalThis, N = w.trustedTypes, J = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, ft = `<${it}>`, A = document, P = () => A.createComment(""), U = (n) => n === null || typeof n != "object" && typeof n != "function", V = Array.isArray, mt = (n) => V(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
|
|
293
|
+
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, K = /-->/g, G = />/g, m = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
|
|
294
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, nt = /^(?:script|style|textarea|title)$/i, gt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ht = gt(1), v = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), g = A.createTreeWalker(A, 129);
|
|
295
295
|
function rt(n, t) {
|
|
296
|
-
if (!
|
|
297
|
-
return
|
|
296
|
+
if (!V(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
297
|
+
return J !== void 0 ? J.createHTML(t) : t;
|
|
298
298
|
}
|
|
299
|
-
const
|
|
299
|
+
const At = (n, t) => {
|
|
300
300
|
const e = n.length - 1, s = [];
|
|
301
301
|
let i, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = b;
|
|
302
|
-
for (let
|
|
303
|
-
const h = n[
|
|
304
|
-
let c, u,
|
|
305
|
-
for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === b ? u[1] === "!--" ? r =
|
|
306
|
-
const $ = r === m && n[
|
|
307
|
-
o += r === b ? h + ft :
|
|
302
|
+
for (let a = 0; a < e; a++) {
|
|
303
|
+
const h = n[a];
|
|
304
|
+
let c, u, l = -1, p = 0;
|
|
305
|
+
for (; p < h.length && (r.lastIndex = p, u = r.exec(h), u !== null); ) p = r.lastIndex, r === b ? u[1] === "!--" ? r = K : u[1] !== void 0 ? r = G : u[2] !== void 0 ? (nt.test(u[2]) && (i = RegExp("</" + u[2], "g")), r = m) : u[3] !== void 0 && (r = m) : r === m ? u[0] === ">" ? (r = i ?? b, l = -1) : u[1] === void 0 ? l = -2 : (l = r.lastIndex - u[2].length, c = u[1], r = u[3] === void 0 ? m : u[3] === '"' ? X : Q) : r === X || r === Q ? r = m : r === K || r === G ? r = b : (r = m, i = void 0);
|
|
306
|
+
const $ = r === m && n[a + 1].startsWith("/>") ? " " : "";
|
|
307
|
+
o += r === b ? h + ft : l >= 0 ? (s.push(c), h.slice(0, l) + st + h.slice(l) + _ + $) : h + _ + (l === -2 ? a : $);
|
|
308
308
|
}
|
|
309
309
|
return [rt(n, o + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
310
310
|
};
|
|
311
|
-
class
|
|
311
|
+
class x {
|
|
312
312
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
313
313
|
let i;
|
|
314
314
|
this.parts = [];
|
|
315
315
|
let o = 0, r = 0;
|
|
316
|
-
const
|
|
317
|
-
if (this.el =
|
|
318
|
-
const
|
|
319
|
-
|
|
316
|
+
const a = t.length - 1, h = this.parts, [c, u] = At(t, e);
|
|
317
|
+
if (this.el = x.createElement(c, s), g.currentNode = this.el.content, e === 2 || e === 3) {
|
|
318
|
+
const l = this.el.content.firstChild;
|
|
319
|
+
l.replaceWith(...l.childNodes);
|
|
320
320
|
}
|
|
321
|
-
for (; (i =
|
|
321
|
+
for (; (i = g.nextNode()) !== null && h.length < a; ) {
|
|
322
322
|
if (i.nodeType === 1) {
|
|
323
|
-
if (i.hasAttributes()) for (const
|
|
324
|
-
const p = u[r++], $ = i.getAttribute(
|
|
325
|
-
h.push({ type: 1, index: o, name:
|
|
326
|
-
} else
|
|
323
|
+
if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(st)) {
|
|
324
|
+
const p = u[r++], $ = i.getAttribute(l).split(_), O = /([.?@])?(.*)/.exec(p);
|
|
325
|
+
h.push({ type: 1, index: o, name: O[2], strings: $, ctor: O[1] === "." ? vt : O[1] === "?" ? Et : O[1] === "@" ? bt : R }), i.removeAttribute(l);
|
|
326
|
+
} else l.startsWith(_) && (h.push({ type: 6, index: o }), i.removeAttribute(l));
|
|
327
327
|
if (nt.test(i.tagName)) {
|
|
328
|
-
const
|
|
328
|
+
const l = i.textContent.split(_), p = l.length - 1;
|
|
329
329
|
if (p > 0) {
|
|
330
|
-
i.textContent =
|
|
331
|
-
for (let $ = 0; $ < p; $++) i.append(
|
|
332
|
-
i.append(
|
|
330
|
+
i.textContent = N ? N.emptyScript : "";
|
|
331
|
+
for (let $ = 0; $ < p; $++) i.append(l[$], P()), g.nextNode(), h.push({ type: 2, index: ++o });
|
|
332
|
+
i.append(l[p], P());
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
} else if (i.nodeType === 8) if (i.data === it) h.push({ type: 2, index: o });
|
|
336
336
|
else {
|
|
337
|
-
let
|
|
338
|
-
for (; (
|
|
337
|
+
let l = -1;
|
|
338
|
+
for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) h.push({ type: 7, index: o }), l += _.length - 1;
|
|
339
339
|
}
|
|
340
340
|
o++;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
static createElement(t, e) {
|
|
344
|
-
const s =
|
|
344
|
+
const s = A.createElement("template");
|
|
345
345
|
return s.innerHTML = t, s;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
function E(n, t, e = n, s) {
|
|
349
|
-
var r,
|
|
349
|
+
var r, a;
|
|
350
350
|
if (t === v) return t;
|
|
351
351
|
let i = s !== void 0 ? (r = e._$Co) == null ? void 0 : r[s] : e._$Cl;
|
|
352
|
-
const o =
|
|
353
|
-
return (i == null ? void 0 : i.constructor) !== o && ((
|
|
352
|
+
const o = U(t) ? void 0 : t._$litDirective$;
|
|
353
|
+
return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(n), i._$AT(n, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = E(n, i._$AS(n, t.values), i, s)), t;
|
|
354
354
|
}
|
|
355
355
|
class yt {
|
|
356
356
|
constructor(t, e) {
|
|
@@ -363,17 +363,17 @@ class yt {
|
|
|
363
363
|
return this._$AM._$AU;
|
|
364
364
|
}
|
|
365
365
|
u(t) {
|
|
366
|
-
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ??
|
|
367
|
-
|
|
368
|
-
let o =
|
|
366
|
+
const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? A).importNode(e, !0);
|
|
367
|
+
g.currentNode = i;
|
|
368
|
+
let o = g.nextNode(), r = 0, a = 0, h = s[0];
|
|
369
369
|
for (; h !== void 0; ) {
|
|
370
370
|
if (r === h.index) {
|
|
371
371
|
let c;
|
|
372
|
-
h.type === 2 ? c = new M(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new St(o, this, t)), this._$AV.push(c), h = s[++
|
|
372
|
+
h.type === 2 ? c = new M(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new St(o, this, t)), this._$AV.push(c), h = s[++a];
|
|
373
373
|
}
|
|
374
|
-
r !== (h == null ? void 0 : h.index) && (o =
|
|
374
|
+
r !== (h == null ? void 0 : h.index) && (o = g.nextNode(), r++);
|
|
375
375
|
}
|
|
376
|
-
return
|
|
376
|
+
return g.currentNode = A, i;
|
|
377
377
|
}
|
|
378
378
|
p(t) {
|
|
379
379
|
let e = 0;
|
|
@@ -400,7 +400,7 @@ class M {
|
|
|
400
400
|
return this._$AB;
|
|
401
401
|
}
|
|
402
402
|
_$AI(t, e = this) {
|
|
403
|
-
t = E(this, t, e),
|
|
403
|
+
t = E(this, t, e), U(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== v && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : mt(t) ? this.k(t) : this._(t);
|
|
404
404
|
}
|
|
405
405
|
O(t) {
|
|
406
406
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -409,23 +409,23 @@ class M {
|
|
|
409
409
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
410
410
|
}
|
|
411
411
|
_(t) {
|
|
412
|
-
this._$AH !== d &&
|
|
412
|
+
this._$AH !== d && U(this._$AH) ? this._$AA.nextSibling.data = t : this.T(A.createTextNode(t)), this._$AH = t;
|
|
413
413
|
}
|
|
414
414
|
$(t) {
|
|
415
415
|
var o;
|
|
416
|
-
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
416
|
+
const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = x.createElement(rt(s.h, s.h[0]), this.options)), s);
|
|
417
417
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(e);
|
|
418
418
|
else {
|
|
419
|
-
const r = new yt(i, this),
|
|
420
|
-
r.p(e), this.T(
|
|
419
|
+
const r = new yt(i, this), a = r.u(this.options);
|
|
420
|
+
r.p(e), this.T(a), this._$AH = r;
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
_$AC(t) {
|
|
424
|
-
let e =
|
|
425
|
-
return e === void 0 &&
|
|
424
|
+
let e = Y.get(t.strings);
|
|
425
|
+
return e === void 0 && Y.set(t.strings, e = new x(t)), e;
|
|
426
426
|
}
|
|
427
427
|
k(t) {
|
|
428
|
-
|
|
428
|
+
V(this._$AH) || (this._$AH = [], this._$AR());
|
|
429
429
|
const e = this._$AH;
|
|
430
430
|
let s, i = 0;
|
|
431
431
|
for (const o of t) i === e.length ? e.push(s = new M(this.O(P()), this.O(P()), this, this.options)) : s = e[i], s._$AI(o), i++;
|
|
@@ -443,7 +443,7 @@ class M {
|
|
|
443
443
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class R {
|
|
447
447
|
get tagName() {
|
|
448
448
|
return this.element.tagName;
|
|
449
449
|
}
|
|
@@ -456,11 +456,11 @@ class N {
|
|
|
456
456
|
_$AI(t, e = this, s, i) {
|
|
457
457
|
const o = this.strings;
|
|
458
458
|
let r = !1;
|
|
459
|
-
if (o === void 0) t = E(this, t, e, 0), r = !
|
|
459
|
+
if (o === void 0) t = E(this, t, e, 0), r = !U(t) || t !== this._$AH && t !== v, r && (this._$AH = t);
|
|
460
460
|
else {
|
|
461
|
-
const
|
|
461
|
+
const a = t;
|
|
462
462
|
let h, c;
|
|
463
|
-
for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this,
|
|
463
|
+
for (t = o[0], h = 0; h < o.length - 1; h++) c = E(this, a[s + h], e, h), c === v && (c = this._$AH[h]), r || (r = !U(c) || c !== this._$AH[h]), c === d ? t = d : t !== d && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
|
|
464
464
|
}
|
|
465
465
|
r && !i && this.j(t);
|
|
466
466
|
}
|
|
@@ -468,7 +468,7 @@ class N {
|
|
|
468
468
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
class vt extends
|
|
471
|
+
class vt extends R {
|
|
472
472
|
constructor() {
|
|
473
473
|
super(...arguments), this.type = 3;
|
|
474
474
|
}
|
|
@@ -476,7 +476,7 @@ class vt extends N {
|
|
|
476
476
|
this.element[this.name] = t === d ? void 0 : t;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
class Et extends
|
|
479
|
+
class Et extends R {
|
|
480
480
|
constructor() {
|
|
481
481
|
super(...arguments), this.type = 4;
|
|
482
482
|
}
|
|
@@ -484,7 +484,7 @@ class Et extends N {
|
|
|
484
484
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
class bt extends
|
|
487
|
+
class bt extends R {
|
|
488
488
|
constructor(t, e, s, i, o) {
|
|
489
489
|
super(t, e, s, i, o), this.type = 5;
|
|
490
490
|
}
|
|
@@ -509,9 +509,9 @@ class St {
|
|
|
509
509
|
E(this, t);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
|
-
const
|
|
513
|
-
|
|
514
|
-
const
|
|
512
|
+
const D = w.litHtmlPolyfillSupport;
|
|
513
|
+
D == null || D(x, M), (w.litHtmlVersions ?? (w.litHtmlVersions = [])).push("3.2.1");
|
|
514
|
+
const wt = (n, t, e) => {
|
|
515
515
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
516
516
|
let i = s._$litPart$;
|
|
517
517
|
if (i === void 0) {
|
|
@@ -525,7 +525,7 @@ const Ct = (n, t, e) => {
|
|
|
525
525
|
* Copyright 2017 Google LLC
|
|
526
526
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
527
527
|
*/
|
|
528
|
-
class
|
|
528
|
+
let C = class extends y {
|
|
529
529
|
constructor() {
|
|
530
530
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
531
531
|
}
|
|
@@ -536,7 +536,7 @@ class w extends y {
|
|
|
536
536
|
}
|
|
537
537
|
update(t) {
|
|
538
538
|
const e = this.render();
|
|
539
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
539
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = wt(e, this.renderRoot, this.renderOptions);
|
|
540
540
|
}
|
|
541
541
|
connectedCallback() {
|
|
542
542
|
var t;
|
|
@@ -549,24 +549,56 @@ class w extends y {
|
|
|
549
549
|
render() {
|
|
550
550
|
return v;
|
|
551
551
|
}
|
|
552
|
-
}
|
|
553
|
-
var
|
|
554
|
-
|
|
555
|
-
const
|
|
556
|
-
|
|
552
|
+
};
|
|
553
|
+
var tt;
|
|
554
|
+
C._$litElement$ = !0, C.finalized = !0, (tt = globalThis.litElementHydrateSupport) == null || tt.call(globalThis, { LitElement: C });
|
|
555
|
+
const z = globalThis.litElementPolyfillSupport;
|
|
556
|
+
z == null || z({ LitElement: C });
|
|
557
557
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
|
|
558
|
-
|
|
558
|
+
/**
|
|
559
|
+
* @license
|
|
560
|
+
* Copyright 2017 Google LLC
|
|
561
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
|
+
*/
|
|
563
|
+
const Ct = { attribute: !0, type: String, converter: H, reflect: !1, hasChanged: B }, Pt = (n = Ct, t, e) => {
|
|
564
|
+
const { kind: s, metadata: i } = e;
|
|
565
|
+
let o = globalThis.litPropertyMetadata.get(i);
|
|
566
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(e.name, n), s === "accessor") {
|
|
567
|
+
const { name: r } = e;
|
|
568
|
+
return { set(a) {
|
|
569
|
+
const h = t.get.call(this);
|
|
570
|
+
t.set.call(this, a), this.requestUpdate(r, h, n);
|
|
571
|
+
}, init(a) {
|
|
572
|
+
return a !== void 0 && this.P(r, void 0, n), a;
|
|
573
|
+
} };
|
|
574
|
+
}
|
|
575
|
+
if (s === "setter") {
|
|
576
|
+
const { name: r } = e;
|
|
577
|
+
return function(a) {
|
|
578
|
+
const h = this[r];
|
|
579
|
+
t.call(this, a), this.requestUpdate(r, h, n);
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
throw Error("Unsupported decorator location: " + s);
|
|
583
|
+
};
|
|
584
|
+
function Rt(n) {
|
|
585
|
+
return (t, e) => typeof e == "object" ? Pt(n, t, e) : ((s, i, o) => {
|
|
586
|
+
const r = i.hasOwnProperty(o);
|
|
587
|
+
return i.constructor.createProperty(o, r ? { ...s, wrapped: !0 } : s), r ? Object.getOwnPropertyDescriptor(i, o) : void 0;
|
|
588
|
+
})(n, t, e);
|
|
589
|
+
}
|
|
590
|
+
const I = /* @__PURE__ */ new Set(), Ut = () => {
|
|
559
591
|
const n = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
|
560
592
|
I.forEach((t) => {
|
|
561
593
|
t.setAttribute("dir", n);
|
|
562
594
|
});
|
|
563
|
-
},
|
|
564
|
-
|
|
595
|
+
}, xt = new MutationObserver(Ut);
|
|
596
|
+
xt.observe(document.documentElement, {
|
|
565
597
|
attributes: !0,
|
|
566
598
|
attributeFilter: ["dir"]
|
|
567
599
|
});
|
|
568
|
-
const
|
|
569
|
-
function
|
|
600
|
+
const Mt = (n) => n.startManagingContentDirection !== void 0 || n.tagName === "LUZMO-THEME";
|
|
601
|
+
function Ot(n) {
|
|
570
602
|
class t extends n {
|
|
571
603
|
/**
|
|
572
604
|
* @private
|
|
@@ -580,12 +612,12 @@ function Ut(n) {
|
|
|
580
612
|
let r = o.activeElement;
|
|
581
613
|
for (; r != null && r.shadowRoot && r.shadowRoot.activeElement; )
|
|
582
614
|
r = r.shadowRoot.activeElement;
|
|
583
|
-
const
|
|
615
|
+
const a = r ? [r] : [];
|
|
584
616
|
for (; r; ) {
|
|
585
617
|
const c = r.assignedSlot || r.parentElement || ((h = r.getRootNode()) == null ? void 0 : h.host);
|
|
586
|
-
c &&
|
|
618
|
+
c && a.push(c), r = c;
|
|
587
619
|
}
|
|
588
|
-
return
|
|
620
|
+
return a;
|
|
589
621
|
})(this.getRootNode())[0];
|
|
590
622
|
if (!i)
|
|
591
623
|
return !1;
|
|
@@ -598,7 +630,7 @@ function Ut(n) {
|
|
|
598
630
|
connectedCallback() {
|
|
599
631
|
if (!this.hasAttribute("dir")) {
|
|
600
632
|
let s = this.assignedSlot || this.parentNode;
|
|
601
|
-
for (; s !== document.documentElement && !
|
|
633
|
+
for (; s !== document.documentElement && !Mt(s); )
|
|
602
634
|
s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
603
635
|
s.parentNode || // DOM Element detected
|
|
604
636
|
s.host;
|
|
@@ -620,13 +652,15 @@ function Ut(n) {
|
|
|
620
652
|
}
|
|
621
653
|
return t;
|
|
622
654
|
}
|
|
623
|
-
class
|
|
655
|
+
class kt extends Ot(C) {
|
|
624
656
|
}
|
|
625
657
|
export {
|
|
626
|
-
|
|
658
|
+
wt as B,
|
|
627
659
|
d as E,
|
|
628
|
-
|
|
629
|
-
|
|
660
|
+
Ot as L,
|
|
661
|
+
v as T,
|
|
662
|
+
kt as a,
|
|
663
|
+
Rt as n,
|
|
630
664
|
ht as r,
|
|
631
|
-
|
|
665
|
+
Ht as x
|
|
632
666
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*! * Lucero - The design system for Luzmo.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
|
|
6
|
+
* This license allows users with a current active Luzmo account to use Lucero.
|
|
7
|
+
* This license terminates automatically if a user no longer has an active Luzmo account.
|
|
8
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
9
|
+
*
|
|
10
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
11
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
12
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
13
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
14
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
|
+
* SOFTWARE.
|
|
17
|
+
* */
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
* Copyright 2017 Google LLC
|
|
21
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
+
*/
|
|
23
|
+
const o = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
|
|
24
|
+
export {
|
|
25
|
+
o as e
|
|
26
|
+
};
|