@luzmo/analytics-components-kit 1.0.1-alpha.29 → 1.0.1-alpha.30
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-CPf9l5wJ.js → async-directive-C_bp5UcZ-B5_19oN_.js} +1 -1
- package/components/{async-directive-DWRUSKKF-DWUZeMaj.cjs → async-directive-C_bp5UcZ-mUPcBvyn.cjs} +3 -3
- package/components/base-D76d76ww-BEIhYtgV.cjs +94 -0
- package/components/{base-D76d76ww-M5t7LVBG.js → base-D76d76ww-D0dTUBua.js} +300 -299
- package/components/{button-base-DSHx7XO8-ChNRhetl.cjs → button-base-WsJSnMie-B1TLbPwk.cjs} +4 -4
- package/components/{button-base-DSHx7XO8-B_LbLx9g.js → button-base-WsJSnMie-CyGPs7kd.js} +4 -4
- package/components/{checkbox-mixin-BFGTmw17-C1tjSMaa.js → checkbox-mixin-CmeCReJh-C94-rm4F.js} +2 -2
- package/components/{checkbox-mixin-BFGTmw17-DF2p-vSz.cjs → checkbox-mixin-CmeCReJh-wY0R8cuc.cjs} +3 -3
- package/components/{directive-helpers-nlQRAaQt-DTZp2cFt.cjs → directive-helpers-Bx_ey3Gk-BxvL9t9F.cjs} +2 -2
- package/components/{directive-helpers-nlQRAaQt-DgSC1Yr2.js → directive-helpers-Bx_ey3Gk-Csi4AxXe.js} +1 -1
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +7 -7
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +5 -5
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +8 -8
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +4 -4
- package/components/display-settings-numeric/index.cjs +3 -3
- package/components/display-settings-numeric/index.js +12 -12
- package/components/display-settings-period-over-period/index.cjs +5 -5
- package/components/display-settings-period-over-period/index.js +14 -14
- package/components/draggable-data-item-level/index.cjs +1 -1
- package/components/draggable-data-item-level/index.js +15 -15
- package/components/droppable-slot/index.cjs +9 -9
- package/components/droppable-slot/index.js +63 -63
- package/components/edit-item/index.cjs +6 -6
- package/components/edit-item/index.js +14 -14
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +20 -20
- package/components/{edit-option-base-C0zI8SOd.js → edit-option-base-DOezOLDd.js} +2 -2
- package/components/{edit-option-base-D8vs3Bty.cjs → edit-option-base-jkkFevzT.cjs} +1 -1
- package/components/edit-option-color-picker/index.cjs +29 -29
- package/components/edit-option-color-picker/index.js +40 -40
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +3 -3
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +3 -3
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +3 -3
- package/components/edit-option-slider/index.cjs +2 -2
- package/components/edit-option-slider/index.js +2 -2
- package/components/edit-option-switch/index.cjs +3 -3
- package/components/edit-option-switch/index.js +7 -7
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/{focusable-cj2QhwDT-DlzfnLn9.js → focusable-BNESohBR-DYvAZYXL.js} +1 -1
- package/components/{focusable-cj2QhwDT-CvevSkDr.cjs → focusable-BNESohBR-DbTLvYXr.cjs} +2 -2
- package/components/{if-defined-BSAr_4u4-CIqREoag.cjs → if-defined-D-1p2bLN-0_AoRnT2.cjs} +1 -1
- package/components/{if-defined-BSAr_4u4-BCnSpSsA.js → if-defined-D-1p2bLN-Bn-33APC.js} +1 -1
- package/components/{index-CC53jnJB.cjs → index-0HUnZcem.cjs} +2 -2
- package/components/{index-fheP_kQJ.js → index-B3jkBlKY.js} +7 -7
- package/components/{index-B2LO8M42.js → index-B9dQtvu7.js} +3 -3
- package/components/{index-BIauj-BP.cjs → index-BKcvEgWr.cjs} +4 -4
- package/components/{index-BjdUsH9B.js → index-BXMPi13W.js} +75 -75
- package/components/{index-D8GVYuJ-.js → index-Bb8vxGZY.js} +29 -29
- package/components/{index-Cl7wWlXl.cjs → index-BkCJwWm3.cjs} +3 -3
- package/components/{index-fzqLW5XZ.js → index-BnbhRpm9.js} +12 -12
- package/components/{index-Du8Q4hhF.js → index-Brg_sVUg.js} +1 -1
- package/components/{index-b9OSfNB6.cjs → index-Bwxvaqxq.cjs} +19 -19
- package/components/{index-BIcAxPGg.cjs → index-C2-2RrwB.cjs} +4 -4
- package/components/{index-9hGc0AF6.cjs → index-C9-QEfA9.cjs} +5 -5
- package/components/{index-Bp6XY9q2.cjs → index-CF84gqsb.cjs} +4 -4
- package/components/{index-zFIy9Mwl.js → index-CRx2nPkq.js} +3 -3
- package/components/{index-B3417kqb.cjs → index-CVuJ-LUO.cjs} +2 -2
- package/components/{index-CBNsaHFy.js → index-CbeVu32V.js} +2 -2
- package/components/{index-Dku2WLRc.js → index-CqFCIIIl.js} +3 -3
- package/components/{index-mB-t2zP2.cjs → index-CqynTbW1.cjs} +23 -23
- package/components/{index-BW6jffrL.cjs → index-D5rT-qy9.cjs} +13 -13
- package/components/{index-BLyfPWMW.cjs → index-D8Na-686.cjs} +1 -1
- package/components/{index-DelXrrBi.js → index-DFnzlbHX.js} +13 -13
- package/components/{index-BnVt-dJY.js → index-DJik7S7b.js} +2 -2
- package/components/{index-C8yP7YJD.js → index-DZZMSlYS.js} +3 -3
- package/components/{index-DQCvi59x.js → index-Rjoe8cIs.js} +24 -24
- package/components/{index-CZUy8SUo.cjs → index-_McOOiwL.cjs} +4 -4
- package/components/{index-CAwT4m7K.cjs → index-bZQXFqxv.cjs} +9 -9
- package/components/{index-KY89MPqI.js → index-fl13NYnO.js} +1 -1
- package/components/{index-Cz9Cvq1K.cjs → index-uRWe553S.cjs} +4 -4
- package/components/luzmo-icons-BDClm1AE.cjs +31 -0
- package/components/luzmo-icons-BLN3xVgr-Cr3OrsqW.cjs +47 -0
- package/components/luzmo-icons-BLN3xVgr-Tz5XXgbL.js +118 -0
- package/components/{luzmo-icons-CmY3chvZ.js → luzmo-icons-U09GB75o.js} +136 -188
- package/components/{observe-slot-text-ggb4kKgY-5zLP4Vgh.cjs → observe-slot-text-CVKLDesL-BB2RmFgc.cjs} +4 -4
- package/components/{observe-slot-text-ggb4kKgY-tm0SQCaj.js → observe-slot-text-CVKLDesL-CXUeCmXW.js} +7 -7
- package/components/{popover-Bx4ZDHk4-Cw2DKR2x.cjs → popover-DRyjN9y_-7mF_fAOh.cjs} +4 -4
- package/components/{popover-Bx4ZDHk4-HbUSJ86p.js → popover-DRyjN9y_-w1zh4tvw.js} +2 -2
- package/components/{query-assigned-nodes-C76XVPWY-DON51dMU.js → query-assigned-nodes-C76XVPWY-BWouxGZs.js} +1 -1
- package/components/{query-assigned-nodes-C76XVPWY-DzOeAzcN.cjs → query-assigned-nodes-C76XVPWY-k1jDPyUQ.cjs} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +2 -2
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{streaming-listener-CCalHg57-2AtO4Ho2.cjs → streaming-listener-C8Ctj0Q6-BhMxS69F.cjs} +3 -3
- package/components/{streaming-listener-CCalHg57-CQgWstyf.js → streaming-listener-C8Ctj0Q6-lanbGKR9.js} +3 -3
- package/components/{text-field-BTnBJoP9-BuahhcXU.js → text-field-C0pFjPG1-B4TRivuD.js} +17 -17
- package/components/{text-field-BTnBJoP9-CDMhK3d1.cjs → text-field-C0pFjPG1-BCVbGXp7.cjs} +12 -12
- package/package.json +1 -1
- package/components/base-D76d76ww-C6YO3slp.cjs +0 -94
- package/components/luzmo-icons-lvebt6bp.cjs +0 -31
@@ -40,247 +40,247 @@
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
41
41
|
*/
|
42
42
|
const T = globalThis, D = T.ShadowRoot && (T.ShadyCSS === void 0 || T.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, et = Symbol(), B = /* @__PURE__ */ new WeakMap();
|
43
|
-
let
|
44
|
-
constructor(
|
45
|
-
if (this._$cssResult$ = !0,
|
46
|
-
this.cssText =
|
43
|
+
let lt = class {
|
44
|
+
constructor(e, t, s) {
|
45
|
+
if (this._$cssResult$ = !0, s !== et) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
46
|
+
this.cssText = e, this.t = t;
|
47
47
|
}
|
48
48
|
get styleSheet() {
|
49
|
-
let
|
49
|
+
let e = this.o;
|
50
50
|
const t = this.t;
|
51
|
-
if (D &&
|
52
|
-
const
|
53
|
-
|
51
|
+
if (D && e === void 0) {
|
52
|
+
const s = t !== void 0 && t.length === 1;
|
53
|
+
s && (e = B.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && B.set(t, e));
|
54
54
|
}
|
55
|
-
return
|
55
|
+
return e;
|
56
56
|
}
|
57
57
|
toString() {
|
58
58
|
return this.cssText;
|
59
59
|
}
|
60
60
|
};
|
61
|
-
const
|
62
|
-
if (D)
|
63
|
-
else for (const
|
64
|
-
const
|
65
|
-
|
66
|
-
}
|
67
|
-
}, I = D ? (
|
68
|
-
let
|
69
|
-
for (const
|
70
|
-
return
|
71
|
-
})(
|
61
|
+
const at = (e) => new lt(typeof e == "string" ? e : e + "", void 0, et), ht = (e, t) => {
|
62
|
+
if (D) e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
|
63
|
+
else for (const s of t) {
|
64
|
+
const i = document.createElement("style"), r = T.litNonce;
|
65
|
+
r !== void 0 && i.setAttribute("nonce", r), i.textContent = s.cssText, e.appendChild(i);
|
66
|
+
}
|
67
|
+
}, I = D ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
68
|
+
let s = "";
|
69
|
+
for (const i of t.cssRules) s += i.cssText;
|
70
|
+
return at(s);
|
71
|
+
})(e) : e;
|
72
72
|
/**
|
73
73
|
* @license
|
74
74
|
* Copyright 2017 Google LLC
|
75
75
|
* SPDX-License-Identifier: BSD-3-Clause
|
76
76
|
*/
|
77
|
-
const { is:
|
77
|
+
const { is: ct, defineProperty: dt, getOwnPropertyDescriptor: ut, getOwnPropertyNames: pt, getOwnPropertySymbols: $t, getPrototypeOf: _t } = Object, A = globalThis, V = A.trustedTypes, ft = V ? V.emptyScript : "", W = A.reactiveElementPolyfillSupport, S = (e, t) => e, R = { toAttribute(e, t) {
|
78
78
|
switch (t) {
|
79
79
|
case Boolean:
|
80
|
-
|
80
|
+
e = e ? ft : null;
|
81
81
|
break;
|
82
82
|
case Object:
|
83
83
|
case Array:
|
84
|
-
|
84
|
+
e = e == null ? e : JSON.stringify(e);
|
85
85
|
}
|
86
|
-
return
|
87
|
-
}, fromAttribute(
|
88
|
-
let
|
86
|
+
return e;
|
87
|
+
}, fromAttribute(e, t) {
|
88
|
+
let s = e;
|
89
89
|
switch (t) {
|
90
90
|
case Boolean:
|
91
|
-
|
91
|
+
s = e !== null;
|
92
92
|
break;
|
93
93
|
case Number:
|
94
|
-
|
94
|
+
s = e === null ? null : Number(e);
|
95
95
|
break;
|
96
96
|
case Object:
|
97
97
|
case Array:
|
98
98
|
try {
|
99
|
-
|
99
|
+
s = JSON.parse(e);
|
100
100
|
} catch {
|
101
|
-
|
101
|
+
s = null;
|
102
102
|
}
|
103
103
|
}
|
104
|
-
return
|
105
|
-
} }, j = (
|
104
|
+
return s;
|
105
|
+
} }, j = (e, t) => !ct(e, t), q = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged: j };
|
106
106
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), A.litPropertyMetadata ?? (A.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
107
|
-
|
108
|
-
static addInitializer(
|
109
|
-
this._$Ei(), (this.l ?? (this.l = [])).push(
|
107
|
+
let g = class extends HTMLElement {
|
108
|
+
static addInitializer(e) {
|
109
|
+
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
110
110
|
}
|
111
111
|
static get observedAttributes() {
|
112
112
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
113
113
|
}
|
114
|
-
static createProperty(
|
115
|
-
if (
|
116
|
-
const s = Symbol(), i = this.getPropertyDescriptor(
|
117
|
-
i !== void 0 &&
|
114
|
+
static createProperty(e, t = q) {
|
115
|
+
if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
|
116
|
+
const s = Symbol(), i = this.getPropertyDescriptor(e, s, t);
|
117
|
+
i !== void 0 && dt(this.prototype, e, i);
|
118
118
|
}
|
119
119
|
}
|
120
|
-
static getPropertyDescriptor(
|
121
|
-
const { get: i, set:
|
122
|
-
return this[
|
123
|
-
}, set(
|
124
|
-
this[
|
120
|
+
static getPropertyDescriptor(e, t, s) {
|
121
|
+
const { get: i, set: r } = ut(this.prototype, e) ?? { get() {
|
122
|
+
return this[t];
|
123
|
+
}, set(n) {
|
124
|
+
this[t] = n;
|
125
125
|
} };
|
126
126
|
return { get() {
|
127
127
|
return i == null ? void 0 : i.call(this);
|
128
|
-
}, set(
|
129
|
-
const
|
130
|
-
|
128
|
+
}, set(n) {
|
129
|
+
const o = i == null ? void 0 : i.call(this);
|
130
|
+
r.call(this, n), this.requestUpdate(e, o, s);
|
131
131
|
}, configurable: !0, enumerable: !0 };
|
132
132
|
}
|
133
|
-
static getPropertyOptions(
|
134
|
-
return this.elementProperties.get(
|
133
|
+
static getPropertyOptions(e) {
|
134
|
+
return this.elementProperties.get(e) ?? q;
|
135
135
|
}
|
136
136
|
static _$Ei() {
|
137
137
|
if (this.hasOwnProperty(S("elementProperties"))) return;
|
138
|
-
const
|
139
|
-
|
138
|
+
const e = _t(this);
|
139
|
+
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
140
140
|
}
|
141
141
|
static finalize() {
|
142
142
|
if (this.hasOwnProperty(S("finalized"))) return;
|
143
143
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(S("properties"))) {
|
144
|
-
const
|
145
|
-
for (const i of s) this.createProperty(i,
|
144
|
+
const t = this.properties, s = [...pt(t), ...$t(t)];
|
145
|
+
for (const i of s) this.createProperty(i, t[i]);
|
146
146
|
}
|
147
|
-
const
|
148
|
-
if (
|
149
|
-
const
|
150
|
-
if (
|
147
|
+
const e = this[Symbol.metadata];
|
148
|
+
if (e !== null) {
|
149
|
+
const t = litPropertyMetadata.get(e);
|
150
|
+
if (t !== void 0) for (const [s, i] of t) this.elementProperties.set(s, i);
|
151
151
|
}
|
152
152
|
this._$Eh = /* @__PURE__ */ new Map();
|
153
|
-
for (const [
|
154
|
-
const i = this._$Eu(
|
155
|
-
i !== void 0 && this._$Eh.set(i,
|
153
|
+
for (const [t, s] of this.elementProperties) {
|
154
|
+
const i = this._$Eu(t, s);
|
155
|
+
i !== void 0 && this._$Eh.set(i, t);
|
156
156
|
}
|
157
157
|
this.elementStyles = this.finalizeStyles(this.styles);
|
158
158
|
}
|
159
|
-
static finalizeStyles(
|
160
|
-
const
|
161
|
-
if (Array.isArray(
|
162
|
-
const s = new Set(
|
163
|
-
for (const i of s)
|
164
|
-
} else
|
165
|
-
return
|
159
|
+
static finalizeStyles(e) {
|
160
|
+
const t = [];
|
161
|
+
if (Array.isArray(e)) {
|
162
|
+
const s = new Set(e.flat(1 / 0).reverse());
|
163
|
+
for (const i of s) t.unshift(I(i));
|
164
|
+
} else e !== void 0 && t.push(I(e));
|
165
|
+
return t;
|
166
166
|
}
|
167
|
-
static _$Eu(
|
168
|
-
const s =
|
169
|
-
return s === !1 ? void 0 : typeof s == "string" ? s : typeof
|
167
|
+
static _$Eu(e, t) {
|
168
|
+
const s = t.attribute;
|
169
|
+
return s === !1 ? void 0 : typeof s == "string" ? s : typeof e == "string" ? e.toLowerCase() : void 0;
|
170
170
|
}
|
171
171
|
constructor() {
|
172
172
|
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
173
173
|
}
|
174
174
|
_$Ev() {
|
175
|
-
var t;
|
176
|
-
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
177
|
-
}
|
178
|
-
addController(t) {
|
179
175
|
var e;
|
180
|
-
|
176
|
+
this._$ES = new Promise((t) => this.enableUpdating = t), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (e = this.constructor.l) == null || e.forEach((t) => t(this));
|
181
177
|
}
|
182
|
-
|
183
|
-
var
|
184
|
-
(
|
178
|
+
addController(e) {
|
179
|
+
var t;
|
180
|
+
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(e), this.renderRoot !== void 0 && this.isConnected && ((t = e.hostConnected) == null || t.call(e));
|
181
|
+
}
|
182
|
+
removeController(e) {
|
183
|
+
var t;
|
184
|
+
(t = this._$EO) == null || t.delete(e);
|
185
185
|
}
|
186
186
|
_$E_() {
|
187
|
-
const
|
188
|
-
for (const s of
|
189
|
-
|
187
|
+
const e = /* @__PURE__ */ new Map(), t = this.constructor.elementProperties;
|
188
|
+
for (const s of t.keys()) this.hasOwnProperty(s) && (e.set(s, this[s]), delete this[s]);
|
189
|
+
e.size > 0 && (this._$Ep = e);
|
190
190
|
}
|
191
191
|
createRenderRoot() {
|
192
|
-
const
|
193
|
-
return
|
192
|
+
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
193
|
+
return ht(e, this.constructor.elementStyles), e;
|
194
194
|
}
|
195
195
|
connectedCallback() {
|
196
|
-
var
|
197
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (
|
196
|
+
var e;
|
197
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (e = this._$EO) == null || e.forEach((t) => {
|
198
198
|
var s;
|
199
|
-
return (s =
|
199
|
+
return (s = t.hostConnected) == null ? void 0 : s.call(t);
|
200
200
|
});
|
201
201
|
}
|
202
|
-
enableUpdating(
|
202
|
+
enableUpdating(e) {
|
203
203
|
}
|
204
204
|
disconnectedCallback() {
|
205
|
-
var
|
206
|
-
(
|
205
|
+
var e;
|
206
|
+
(e = this._$EO) == null || e.forEach((t) => {
|
207
207
|
var s;
|
208
|
-
return (s =
|
208
|
+
return (s = t.hostDisconnected) == null ? void 0 : s.call(t);
|
209
209
|
});
|
210
210
|
}
|
211
|
-
attributeChangedCallback(
|
212
|
-
this._$AK(
|
211
|
+
attributeChangedCallback(e, t, s) {
|
212
|
+
this._$AK(e, s);
|
213
213
|
}
|
214
|
-
_$EC(
|
214
|
+
_$EC(e, t) {
|
215
215
|
var s;
|
216
|
-
const i = this.constructor.elementProperties.get(
|
217
|
-
if (
|
218
|
-
const
|
219
|
-
this._$Em =
|
216
|
+
const i = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, i);
|
217
|
+
if (r !== void 0 && i.reflect === !0) {
|
218
|
+
const n = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : R).toAttribute(t, i.type);
|
219
|
+
this._$Em = e, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
|
220
220
|
}
|
221
221
|
}
|
222
|
-
_$AK(
|
222
|
+
_$AK(e, t) {
|
223
223
|
var s;
|
224
|
-
const i = this.constructor,
|
225
|
-
if (
|
226
|
-
const
|
227
|
-
this._$Em =
|
224
|
+
const i = this.constructor, r = i._$Eh.get(e);
|
225
|
+
if (r !== void 0 && this._$Em !== r) {
|
226
|
+
const n = i.getPropertyOptions(r), o = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((s = n.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? n.converter : R;
|
227
|
+
this._$Em = r, this[r] = o.fromAttribute(t, n.type), this._$Em = null;
|
228
228
|
}
|
229
229
|
}
|
230
|
-
requestUpdate(
|
231
|
-
if (
|
232
|
-
if (s ?? (s = this.constructor.getPropertyOptions(
|
233
|
-
this.P(
|
230
|
+
requestUpdate(e, t, s) {
|
231
|
+
if (e !== void 0) {
|
232
|
+
if (s ?? (s = this.constructor.getPropertyOptions(e)), !(s.hasChanged ?? j)(this[e], t)) return;
|
233
|
+
this.P(e, t, s);
|
234
234
|
}
|
235
235
|
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
236
236
|
}
|
237
|
-
P(
|
238
|
-
this._$AL.has(
|
237
|
+
P(e, t, s) {
|
238
|
+
this._$AL.has(e) || this._$AL.set(e, t), s.reflect === !0 && this._$Em !== e && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(e);
|
239
239
|
}
|
240
240
|
async _$ET() {
|
241
241
|
this.isUpdatePending = !0;
|
242
242
|
try {
|
243
243
|
await this._$ES;
|
244
|
-
} catch (
|
245
|
-
Promise.reject(
|
244
|
+
} catch (t) {
|
245
|
+
Promise.reject(t);
|
246
246
|
}
|
247
|
-
const
|
248
|
-
return
|
247
|
+
const e = this.scheduleUpdate();
|
248
|
+
return e != null && await e, !this.isUpdatePending;
|
249
249
|
}
|
250
250
|
scheduleUpdate() {
|
251
251
|
return this.performUpdate();
|
252
252
|
}
|
253
253
|
performUpdate() {
|
254
|
-
var
|
254
|
+
var e;
|
255
255
|
if (!this.isUpdatePending) return;
|
256
256
|
if (!this.hasUpdated) {
|
257
257
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
258
|
-
for (const [
|
258
|
+
for (const [r, n] of this._$Ep) this[r] = n;
|
259
259
|
this._$Ep = void 0;
|
260
260
|
}
|
261
261
|
const i = this.constructor.elementProperties;
|
262
|
-
if (i.size > 0) for (const [
|
262
|
+
if (i.size > 0) for (const [r, n] of i) n.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], n);
|
263
263
|
}
|
264
|
-
let
|
264
|
+
let t = !1;
|
265
265
|
const s = this._$AL;
|
266
266
|
try {
|
267
|
-
|
268
|
-
var
|
269
|
-
return (
|
267
|
+
t = this.shouldUpdate(s), t ? (this.willUpdate(s), (e = this._$EO) == null || e.forEach((i) => {
|
268
|
+
var r;
|
269
|
+
return (r = i.hostUpdate) == null ? void 0 : r.call(i);
|
270
270
|
}), this.update(s)) : this._$EU();
|
271
271
|
} catch (i) {
|
272
|
-
throw
|
272
|
+
throw t = !1, this._$EU(), i;
|
273
273
|
}
|
274
|
-
|
274
|
+
t && this._$AE(s);
|
275
275
|
}
|
276
|
-
willUpdate(
|
276
|
+
willUpdate(e) {
|
277
277
|
}
|
278
|
-
_$AE(
|
279
|
-
var
|
280
|
-
(
|
278
|
+
_$AE(e) {
|
279
|
+
var t;
|
280
|
+
(t = this._$EO) == null || t.forEach((s) => {
|
281
281
|
var i;
|
282
282
|
return (i = s.hostUpdated) == null ? void 0 : i.call(s);
|
283
|
-
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(
|
283
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(e)), this.updated(e);
|
284
284
|
}
|
285
285
|
_$EU() {
|
286
286
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
@@ -291,89 +291,89 @@ class g extends HTMLElement {
|
|
291
291
|
getUpdateComplete() {
|
292
292
|
return this._$ES;
|
293
293
|
}
|
294
|
-
shouldUpdate(
|
294
|
+
shouldUpdate(e) {
|
295
295
|
return !0;
|
296
296
|
}
|
297
|
-
update(
|
298
|
-
this._$Ej && (this._$Ej = this._$Ej.forEach((
|
297
|
+
update(e) {
|
298
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((t) => this._$EC(t, this[t]))), this._$EU();
|
299
299
|
}
|
300
|
-
updated(
|
300
|
+
updated(e) {
|
301
301
|
}
|
302
|
-
firstUpdated(
|
302
|
+
firstUpdated(e) {
|
303
303
|
}
|
304
|
-
}
|
304
|
+
};
|
305
305
|
g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, g[S("elementProperties")] = /* @__PURE__ */ new Map(), g[S("finalized")] = /* @__PURE__ */ new Map(), W == null || W({ ReactiveElement: g }), (A.reactiveElementVersions ?? (A.reactiveElementVersions = [])).push("2.0.4");
|
306
306
|
/**
|
307
307
|
* @license
|
308
308
|
* Copyright 2017 Google LLC
|
309
309
|
* SPDX-License-Identifier: BSD-3-Clause
|
310
310
|
*/
|
311
|
-
const
|
311
|
+
const M = globalThis, N = M.trustedTypes, F = N ? N.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, st = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, it = "?" + _, mt = `<${it}>`, v = document, C = () => v.createComment(""), P = (e) => e === null || typeof e != "object" && typeof e != "function", L = Array.isArray, vt = (e) => L(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", z = `[
|
312
312
|
\f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Z = /-->/g, J = />/g, f = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
|
313
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), K = /'/g, G = /"/g, rt = /^(?:script|style|textarea|title)$/i,
|
314
|
-
function
|
315
|
-
if (!L(
|
313
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), K = /'/g, G = /"/g, rt = /^(?:script|style|textarea|title)$/i, ot = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), zt = ot(1), kt = ot(2), y = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Q = /* @__PURE__ */ new WeakMap(), m = v.createTreeWalker(v, 129);
|
314
|
+
function nt(e, t) {
|
315
|
+
if (!L(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
316
316
|
return F !== void 0 ? F.createHTML(t) : t;
|
317
317
|
}
|
318
|
-
const gt = (
|
319
|
-
const
|
320
|
-
let
|
321
|
-
for (let a = 0; a <
|
322
|
-
const l =
|
318
|
+
const gt = (e, t) => {
|
319
|
+
const s = e.length - 1, i = [];
|
320
|
+
let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = b;
|
321
|
+
for (let a = 0; a < s; a++) {
|
322
|
+
const l = e[a];
|
323
323
|
let c, d, h = -1, p = 0;
|
324
|
-
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); ) p = o.lastIndex, o === b ? d[1] === "!--" ? o = Z : d[1] !== void 0 ? o = J : d[2] !== void 0 ? (rt.test(d[2]) && (
|
325
|
-
const $ = o === f &&
|
326
|
-
n += o === b ? l +
|
324
|
+
for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); ) p = o.lastIndex, o === b ? d[1] === "!--" ? o = Z : d[1] !== void 0 ? o = J : d[2] !== void 0 ? (rt.test(d[2]) && (r = RegExp("</" + d[2], "g")), o = f) : d[3] !== void 0 && (o = f) : o === f ? d[0] === ">" ? (o = r ?? b, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? f : d[3] === '"' ? G : K) : o === G || o === K ? o = f : o === Z || o === J ? o = b : (o = f, r = void 0);
|
325
|
+
const $ = o === f && e[a + 1].startsWith("/>") ? " " : "";
|
326
|
+
n += o === b ? l + mt : h >= 0 ? (i.push(c), l.slice(0, h) + st + l.slice(h) + _ + $) : l + _ + (h === -2 ? a : $);
|
327
327
|
}
|
328
|
-
return [
|
328
|
+
return [nt(e, n + (e[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
329
329
|
};
|
330
330
|
class U {
|
331
|
-
constructor({ strings: t, _$litType$:
|
332
|
-
let
|
331
|
+
constructor({ strings: t, _$litType$: s }, i) {
|
332
|
+
let r;
|
333
333
|
this.parts = [];
|
334
334
|
let n = 0, o = 0;
|
335
|
-
const a = t.length - 1, l = this.parts, [c, d] = gt(t,
|
336
|
-
if (this.el = U.createElement(c,
|
335
|
+
const a = t.length - 1, l = this.parts, [c, d] = gt(t, s);
|
336
|
+
if (this.el = U.createElement(c, i), m.currentNode = this.el.content, s === 2 || s === 3) {
|
337
337
|
const h = this.el.content.firstChild;
|
338
338
|
h.replaceWith(...h.childNodes);
|
339
339
|
}
|
340
|
-
for (; (
|
341
|
-
if (
|
342
|
-
if (
|
343
|
-
const p = d[o++], $ =
|
344
|
-
l.push({ type: 1, index: n, name: O[2], strings: $, ctor: O[1] === "." ? yt : O[1] === "?" ? Et : O[1] === "@" ? bt :
|
345
|
-
} else h.startsWith(_) && (l.push({ type: 6, index: n }),
|
346
|
-
if (rt.test(
|
347
|
-
const h =
|
340
|
+
for (; (r = m.nextNode()) !== null && l.length < a; ) {
|
341
|
+
if (r.nodeType === 1) {
|
342
|
+
if (r.hasAttributes()) for (const h of r.getAttributeNames()) if (h.endsWith(st)) {
|
343
|
+
const p = d[o++], $ = r.getAttribute(h).split(_), O = /([.?@])?(.*)/.exec(p);
|
344
|
+
l.push({ type: 1, index: n, name: O[2], strings: $, ctor: O[1] === "." ? yt : O[1] === "?" ? Et : O[1] === "@" ? bt : H }), r.removeAttribute(h);
|
345
|
+
} else h.startsWith(_) && (l.push({ type: 6, index: n }), r.removeAttribute(h));
|
346
|
+
if (rt.test(r.tagName)) {
|
347
|
+
const h = r.textContent.split(_), p = h.length - 1;
|
348
348
|
if (p > 0) {
|
349
|
-
|
350
|
-
for (let $ = 0; $ < p; $++)
|
351
|
-
|
349
|
+
r.textContent = N ? N.emptyScript : "";
|
350
|
+
for (let $ = 0; $ < p; $++) r.append(h[$], C()), m.nextNode(), l.push({ type: 2, index: ++n });
|
351
|
+
r.append(h[p], C());
|
352
352
|
}
|
353
353
|
}
|
354
|
-
} else if (
|
354
|
+
} else if (r.nodeType === 8) if (r.data === it) l.push({ type: 2, index: n });
|
355
355
|
else {
|
356
356
|
let h = -1;
|
357
|
-
for (; (h =
|
357
|
+
for (; (h = r.data.indexOf(_, h + 1)) !== -1; ) l.push({ type: 7, index: n }), h += _.length - 1;
|
358
358
|
}
|
359
359
|
n++;
|
360
360
|
}
|
361
361
|
}
|
362
|
-
static createElement(t,
|
363
|
-
const
|
364
|
-
return
|
362
|
+
static createElement(t, s) {
|
363
|
+
const i = v.createElement("template");
|
364
|
+
return i.innerHTML = t, i;
|
365
365
|
}
|
366
366
|
}
|
367
|
-
function E(
|
368
|
-
var
|
367
|
+
function E(e, t, s = e, i) {
|
368
|
+
var r, n;
|
369
369
|
if (t === y) return t;
|
370
|
-
let o =
|
370
|
+
let o = i !== void 0 ? (r = s._$Co) == null ? void 0 : r[i] : s._$Cl;
|
371
371
|
const a = P(t) ? void 0 : t._$litDirective$;
|
372
|
-
return (o == null ? void 0 : o.constructor) !== a && ((n = o == null ? void 0 : o._$AO) == null || n.call(o, !1), a === void 0 ? o = void 0 : (o = new a(
|
372
|
+
return (o == null ? void 0 : o.constructor) !== a && ((n = o == null ? void 0 : o._$AO) == null || n.call(o, !1), a === void 0 ? o = void 0 : (o = new a(e), o._$AT(e, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = o : s._$Cl = o), o !== void 0 && (t = E(e, o._$AS(e, t.values), o, i)), t;
|
373
373
|
}
|
374
374
|
class At {
|
375
|
-
constructor(t,
|
376
|
-
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM =
|
375
|
+
constructor(t, s) {
|
376
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
|
377
377
|
}
|
378
378
|
get parentNode() {
|
379
379
|
return this._$AM.parentNode;
|
@@ -382,21 +382,21 @@ class At {
|
|
382
382
|
return this._$AM._$AU;
|
383
383
|
}
|
384
384
|
u(t) {
|
385
|
-
const { el: { content:
|
386
|
-
m.currentNode =
|
387
|
-
let n = m.nextNode(), o = 0, a = 0, l =
|
385
|
+
const { el: { content: s }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? v).importNode(s, !0);
|
386
|
+
m.currentNode = r;
|
387
|
+
let n = m.nextNode(), o = 0, a = 0, l = i[0];
|
388
388
|
for (; l !== void 0; ) {
|
389
389
|
if (o === l.index) {
|
390
390
|
let c;
|
391
|
-
l.type === 2 ? c = new x(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new St(n, this, t)), this._$AV.push(c), l =
|
391
|
+
l.type === 2 ? c = new x(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new St(n, this, t)), this._$AV.push(c), l = i[++a];
|
392
392
|
}
|
393
393
|
o !== (l == null ? void 0 : l.index) && (n = m.nextNode(), o++);
|
394
394
|
}
|
395
|
-
return m.currentNode = v,
|
395
|
+
return m.currentNode = v, r;
|
396
396
|
}
|
397
397
|
p(t) {
|
398
|
-
let
|
399
|
-
for (const
|
398
|
+
let s = 0;
|
399
|
+
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
400
400
|
}
|
401
401
|
}
|
402
402
|
class x {
|
@@ -404,13 +404,13 @@ class x {
|
|
404
404
|
var t;
|
405
405
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
406
406
|
}
|
407
|
-
constructor(t,
|
408
|
-
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB =
|
407
|
+
constructor(t, s, i, r) {
|
408
|
+
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
|
409
409
|
}
|
410
410
|
get parentNode() {
|
411
411
|
let t = this._$AA.parentNode;
|
412
|
-
const
|
413
|
-
return
|
412
|
+
const s = this._$AM;
|
413
|
+
return s !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = s.parentNode), t;
|
414
414
|
}
|
415
415
|
get startNode() {
|
416
416
|
return this._$AA;
|
@@ -418,8 +418,8 @@ class x {
|
|
418
418
|
get endNode() {
|
419
419
|
return this._$AB;
|
420
420
|
}
|
421
|
-
_$AI(t,
|
422
|
-
t = E(this, t,
|
421
|
+
_$AI(t, s = this) {
|
422
|
+
t = E(this, t, s), P(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== y && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : vt(t) ? this.k(t) : this._(t);
|
423
423
|
}
|
424
424
|
O(t) {
|
425
425
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
@@ -431,63 +431,63 @@ class x {
|
|
431
431
|
this._$AH !== u && P(this._$AH) ? this._$AA.nextSibling.data = t : this.T(v.createTextNode(t)), this._$AH = t;
|
432
432
|
}
|
433
433
|
$(t) {
|
434
|
-
var
|
435
|
-
const { values:
|
436
|
-
if (((
|
434
|
+
var s;
|
435
|
+
const { values: i, _$litType$: r } = t, n = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = U.createElement(nt(r.h, r.h[0]), this.options)), r);
|
436
|
+
if (((s = this._$AH) == null ? void 0 : s._$AD) === n) this._$AH.p(i);
|
437
437
|
else {
|
438
438
|
const o = new At(n, this), a = o.u(this.options);
|
439
|
-
o.p(
|
439
|
+
o.p(i), this.T(a), this._$AH = o;
|
440
440
|
}
|
441
441
|
}
|
442
442
|
_$AC(t) {
|
443
|
-
let
|
444
|
-
return
|
443
|
+
let s = Q.get(t.strings);
|
444
|
+
return s === void 0 && Q.set(t.strings, s = new U(t)), s;
|
445
445
|
}
|
446
446
|
k(t) {
|
447
447
|
L(this._$AH) || (this._$AH = [], this._$AR());
|
448
|
-
const
|
449
|
-
let
|
450
|
-
for (const n of t)
|
451
|
-
|
452
|
-
}
|
453
|
-
_$AR(t = this._$AA.nextSibling,
|
454
|
-
var
|
455
|
-
for ((
|
456
|
-
const
|
457
|
-
t.remove(), t =
|
448
|
+
const s = this._$AH;
|
449
|
+
let i, r = 0;
|
450
|
+
for (const n of t) r === s.length ? s.push(i = new x(this.O(C()), this.O(C()), this, this.options)) : i = s[r], i._$AI(n), r++;
|
451
|
+
r < s.length && (this._$AR(i && i._$AB.nextSibling, r), s.length = r);
|
452
|
+
}
|
453
|
+
_$AR(t = this._$AA.nextSibling, s) {
|
454
|
+
var i;
|
455
|
+
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, s); t && t !== this._$AB; ) {
|
456
|
+
const r = t.nextSibling;
|
457
|
+
t.remove(), t = r;
|
458
458
|
}
|
459
459
|
}
|
460
460
|
setConnected(t) {
|
461
|
-
var
|
462
|
-
this._$AM === void 0 && (this._$Cv = t, (
|
461
|
+
var s;
|
462
|
+
this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
|
463
463
|
}
|
464
464
|
}
|
465
|
-
class
|
465
|
+
class H {
|
466
466
|
get tagName() {
|
467
467
|
return this.element.tagName;
|
468
468
|
}
|
469
469
|
get _$AU() {
|
470
470
|
return this._$AM._$AU;
|
471
471
|
}
|
472
|
-
constructor(t,
|
473
|
-
this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name =
|
472
|
+
constructor(t, s, i, r, n) {
|
473
|
+
this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = s, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
|
474
474
|
}
|
475
|
-
_$AI(t,
|
475
|
+
_$AI(t, s = this, i, r) {
|
476
476
|
const n = this.strings;
|
477
477
|
let o = !1;
|
478
|
-
if (n === void 0) t = E(this, t,
|
478
|
+
if (n === void 0) t = E(this, t, s, 0), o = !P(t) || t !== this._$AH && t !== y, o && (this._$AH = t);
|
479
479
|
else {
|
480
480
|
const a = t;
|
481
481
|
let l, c;
|
482
|
-
for (t = n[0], l = 0; l < n.length - 1; l++) c = E(this, a[
|
482
|
+
for (t = n[0], l = 0; l < n.length - 1; l++) c = E(this, a[i + l], s, l), c === y && (c = this._$AH[l]), o || (o = !P(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + n[l + 1]), this._$AH[l] = c;
|
483
483
|
}
|
484
|
-
o && !
|
484
|
+
o && !r && this.j(t);
|
485
485
|
}
|
486
486
|
j(t) {
|
487
487
|
t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
488
488
|
}
|
489
489
|
}
|
490
|
-
class yt extends
|
490
|
+
class yt extends H {
|
491
491
|
constructor() {
|
492
492
|
super(...arguments), this.type = 3;
|
493
493
|
}
|
@@ -495,7 +495,7 @@ class yt extends N {
|
|
495
495
|
this.element[this.name] = t === u ? void 0 : t;
|
496
496
|
}
|
497
497
|
}
|
498
|
-
class Et extends
|
498
|
+
class Et extends H {
|
499
499
|
constructor() {
|
500
500
|
super(...arguments), this.type = 4;
|
501
501
|
}
|
@@ -503,23 +503,23 @@ class Et extends N {
|
|
503
503
|
this.element.toggleAttribute(this.name, !!t && t !== u);
|
504
504
|
}
|
505
505
|
}
|
506
|
-
class bt extends
|
507
|
-
constructor(t,
|
508
|
-
super(t,
|
506
|
+
class bt extends H {
|
507
|
+
constructor(t, s, i, r, n) {
|
508
|
+
super(t, s, i, r, n), this.type = 5;
|
509
509
|
}
|
510
|
-
_$AI(t,
|
511
|
-
if ((t = E(this, t,
|
512
|
-
const
|
513
|
-
|
510
|
+
_$AI(t, s = this) {
|
511
|
+
if ((t = E(this, t, s, 0) ?? u) === y) return;
|
512
|
+
const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== u && (i === u || r);
|
513
|
+
r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
514
514
|
}
|
515
515
|
handleEvent(t) {
|
516
|
-
var
|
517
|
-
typeof this._$AH == "function" ? this._$AH.call(((
|
516
|
+
var s;
|
517
|
+
typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
518
518
|
}
|
519
519
|
}
|
520
520
|
class St {
|
521
|
-
constructor(t,
|
522
|
-
this.element = t, this.type = 6, this._$AN = void 0, this._$AM =
|
521
|
+
constructor(t, s, i) {
|
522
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
|
523
523
|
}
|
524
524
|
get _$AU() {
|
525
525
|
return this._$AM._$AU;
|
@@ -528,16 +528,16 @@ class St {
|
|
528
528
|
E(this, t);
|
529
529
|
}
|
530
530
|
}
|
531
|
-
const X =
|
532
|
-
X == null || X(U, x), (
|
533
|
-
const wt = (
|
534
|
-
const
|
535
|
-
let
|
536
|
-
if (
|
537
|
-
const n = (
|
538
|
-
|
539
|
-
}
|
540
|
-
return
|
531
|
+
const X = M.litHtmlPolyfillSupport;
|
532
|
+
X == null || X(U, x), (M.litHtmlVersions ?? (M.litHtmlVersions = [])).push("3.2.1");
|
533
|
+
const wt = (e, t, s) => {
|
534
|
+
const i = (s == null ? void 0 : s.renderBefore) ?? t;
|
535
|
+
let r = i._$litPart$;
|
536
|
+
if (r === void 0) {
|
537
|
+
const n = (s == null ? void 0 : s.renderBefore) ?? null;
|
538
|
+
i._$litPart$ = r = new x(t.insertBefore(C(), n), n, void 0, s ?? {});
|
539
|
+
}
|
540
|
+
return r._$AI(e), r;
|
541
541
|
};
|
542
542
|
/**
|
543
543
|
* @license
|
@@ -549,21 +549,21 @@ let w = class extends g {
|
|
549
549
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
550
550
|
}
|
551
551
|
createRenderRoot() {
|
552
|
-
var
|
552
|
+
var e;
|
553
553
|
const t = super.createRenderRoot();
|
554
|
-
return (
|
554
|
+
return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
|
555
555
|
}
|
556
|
-
update(
|
556
|
+
update(e) {
|
557
557
|
const t = this.render();
|
558
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(
|
558
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = wt(t, this.renderRoot, this.renderOptions);
|
559
559
|
}
|
560
560
|
connectedCallback() {
|
561
|
-
var
|
562
|
-
super.connectedCallback(), (
|
561
|
+
var e;
|
562
|
+
super.connectedCallback(), (e = this._$Do) == null || e.setConnected(!0);
|
563
563
|
}
|
564
564
|
disconnectedCallback() {
|
565
|
-
var
|
566
|
-
super.disconnectedCallback(), (
|
565
|
+
var e;
|
566
|
+
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
567
567
|
}
|
568
568
|
render() {
|
569
569
|
return y;
|
@@ -579,46 +579,46 @@ tt == null || tt({ LitElement: w });
|
|
579
579
|
* Copyright 2017 Google LLC
|
580
580
|
* SPDX-License-Identifier: BSD-3-Clause
|
581
581
|
*/
|
582
|
-
const Ct = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged: j }, Pt = (
|
583
|
-
const { kind:
|
584
|
-
let n = globalThis.litPropertyMetadata.get(
|
585
|
-
if (n === void 0 && globalThis.litPropertyMetadata.set(
|
586
|
-
const { name: o } =
|
582
|
+
const Ct = { attribute: !0, type: String, converter: R, reflect: !1, hasChanged: j }, Pt = (e = Ct, t, s) => {
|
583
|
+
const { kind: i, metadata: r } = s;
|
584
|
+
let n = globalThis.litPropertyMetadata.get(r);
|
585
|
+
if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(s.name, e), i === "accessor") {
|
586
|
+
const { name: o } = s;
|
587
587
|
return { set(a) {
|
588
588
|
const l = t.get.call(this);
|
589
|
-
t.set.call(this, a), this.requestUpdate(o, l,
|
589
|
+
t.set.call(this, a), this.requestUpdate(o, l, e);
|
590
590
|
}, init(a) {
|
591
|
-
return a !== void 0 && this.P(o, void 0,
|
591
|
+
return a !== void 0 && this.P(o, void 0, e), a;
|
592
592
|
} };
|
593
593
|
}
|
594
|
-
if (
|
595
|
-
const { name: o } =
|
594
|
+
if (i === "setter") {
|
595
|
+
const { name: o } = s;
|
596
596
|
return function(a) {
|
597
597
|
const l = this[o];
|
598
|
-
t.call(this, a), this.requestUpdate(o, l,
|
598
|
+
t.call(this, a), this.requestUpdate(o, l, e);
|
599
599
|
};
|
600
600
|
}
|
601
|
-
throw Error("Unsupported decorator location: " +
|
601
|
+
throw Error("Unsupported decorator location: " + i);
|
602
602
|
};
|
603
|
-
function Ut(
|
604
|
-
return (t,
|
605
|
-
const o =
|
606
|
-
return
|
607
|
-
})(
|
603
|
+
function Ut(e) {
|
604
|
+
return (t, s) => typeof s == "object" ? Pt(e, t, s) : ((i, r, n) => {
|
605
|
+
const o = r.hasOwnProperty(n);
|
606
|
+
return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
|
607
|
+
})(e, t, s);
|
608
608
|
}
|
609
609
|
const k = /* @__PURE__ */ new Set(), xt = () => {
|
610
|
-
const
|
610
|
+
const e = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
|
611
611
|
k.forEach((t) => {
|
612
|
-
t.setAttribute("dir",
|
612
|
+
t.setAttribute("dir", e);
|
613
613
|
});
|
614
614
|
}, Ot = new MutationObserver(xt);
|
615
615
|
Ot.observe(document.documentElement, {
|
616
616
|
attributes: !0,
|
617
617
|
attributeFilter: ["dir"]
|
618
618
|
});
|
619
|
-
const Tt = (
|
620
|
-
function Rt(
|
621
|
-
class t extends
|
619
|
+
const Tt = (e) => e.startManagingContentDirection !== void 0 || e.tagName === "LUZMO-THEME";
|
620
|
+
function Rt(e) {
|
621
|
+
class t extends e {
|
622
622
|
/**
|
623
623
|
* @private
|
624
624
|
*/
|
@@ -626,9 +626,9 @@ function Rt(r) {
|
|
626
626
|
return this.dir === "ltr";
|
627
627
|
}
|
628
628
|
hasVisibleFocusInTree() {
|
629
|
-
const
|
629
|
+
const i = ((r = document) => {
|
630
630
|
var n;
|
631
|
-
let o =
|
631
|
+
let o = r.activeElement;
|
632
632
|
for (; o != null && o.shadowRoot && o.shadowRoot.activeElement; )
|
633
633
|
o = o.shadowRoot.activeElement;
|
634
634
|
const a = o ? [o] : [];
|
@@ -638,30 +638,30 @@ function Rt(r) {
|
|
638
638
|
}
|
639
639
|
return a;
|
640
640
|
})(this.getRootNode())[0];
|
641
|
-
if (!
|
641
|
+
if (!i)
|
642
642
|
return !1;
|
643
643
|
try {
|
644
|
-
return
|
644
|
+
return i.matches(":focus-visible") || i.matches(".focus-visible");
|
645
645
|
} catch {
|
646
|
-
return
|
646
|
+
return i.matches(".focus-visible");
|
647
647
|
}
|
648
648
|
}
|
649
649
|
connectedCallback() {
|
650
650
|
if (!this.hasAttribute("dir")) {
|
651
|
-
let
|
652
|
-
for (;
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
if (this.dir =
|
651
|
+
let i = this.assignedSlot || this.parentNode;
|
652
|
+
for (; i !== document.documentElement && !Tt(i); )
|
653
|
+
i = i.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
654
|
+
i.parentNode || // DOM Element detected
|
655
|
+
i.host;
|
656
|
+
if (this.dir = i.dir === "rtl" ? i.dir : this.dir || "ltr", i === document.documentElement)
|
657
657
|
k.add(this);
|
658
658
|
else {
|
659
|
-
const { localName:
|
660
|
-
|
661
|
-
|
662
|
-
}) :
|
659
|
+
const { localName: r } = i;
|
660
|
+
r.search("-") > -1 && !customElements.get(r) ? customElements.whenDefined(r).then(() => {
|
661
|
+
i.startManagingContentDirection(this);
|
662
|
+
}) : i.startManagingContentDirection(this);
|
663
663
|
}
|
664
|
-
this._dirParent =
|
664
|
+
this._dirParent = i;
|
665
665
|
}
|
666
666
|
super.connectedCallback();
|
667
667
|
}
|
@@ -671,7 +671,7 @@ function Rt(r) {
|
|
671
671
|
}
|
672
672
|
return t;
|
673
673
|
}
|
674
|
-
class
|
674
|
+
class Dt extends Rt(w) {
|
675
675
|
}
|
676
676
|
/*! * Lucero - The design system for Luzmo.
|
677
677
|
*
|
@@ -690,37 +690,37 @@ class kt extends Rt(w) {
|
|
690
690
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
691
691
|
* SOFTWARE.
|
692
692
|
* */
|
693
|
-
var
|
694
|
-
for (var
|
695
|
-
(o =
|
696
|
-
return
|
693
|
+
var Mt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Ht = (e, t, s, i) => {
|
694
|
+
for (var r = Nt(t, s), n = e.length - 1, o; n >= 0; n--)
|
695
|
+
(o = e[n]) && (r = o(t, s, r) || r);
|
696
|
+
return r && Mt(t, s, r), r;
|
697
697
|
};
|
698
|
-
function
|
698
|
+
function jt(e, {
|
699
699
|
validSizes: t = ["s", "m", "l", "xl"],
|
700
|
-
noDefaultSize:
|
701
|
-
defaultSize:
|
700
|
+
noDefaultSize: s,
|
701
|
+
defaultSize: i = "m"
|
702
702
|
} = {}) {
|
703
|
-
class
|
703
|
+
class r extends e {
|
704
704
|
constructor() {
|
705
|
-
super(...arguments), this._size =
|
705
|
+
super(...arguments), this._size = i;
|
706
706
|
}
|
707
707
|
get size() {
|
708
|
-
return this._size ||
|
708
|
+
return this._size || i;
|
709
709
|
}
|
710
710
|
set size(o) {
|
711
|
-
const a =
|
711
|
+
const a = s ? null : i, l = o && o.toLocaleLowerCase(), c = t.includes(l) ? l : a;
|
712
712
|
if (c && this.setAttribute("size", c), this._size === c)
|
713
713
|
return;
|
714
714
|
const d = this._size;
|
715
715
|
this._size = c, this.requestUpdate("size", d);
|
716
716
|
}
|
717
717
|
update(o) {
|
718
|
-
!this.hasAttribute("size") && !
|
718
|
+
!this.hasAttribute("size") && !s && this.setAttribute("size", this.size), super.update(o);
|
719
719
|
}
|
720
720
|
}
|
721
|
-
return
|
721
|
+
return Ht([
|
722
722
|
Ut({ type: String })
|
723
|
-
],
|
723
|
+
], r.prototype, "size"), r;
|
724
724
|
}
|
725
725
|
/*! * Lucero - The design system for Luzmo.
|
726
726
|
*
|
@@ -744,15 +744,16 @@ function Dt(r, {
|
|
744
744
|
* Copyright 2017 Google LLC
|
745
745
|
* SPDX-License-Identifier: BSD-3-Clause
|
746
746
|
*/
|
747
|
-
const
|
747
|
+
const Lt = (e, t, s) => (s.configurable = !0, s.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, s), s);
|
748
748
|
export {
|
749
|
-
|
750
|
-
|
749
|
+
Ut as D,
|
750
|
+
zt as R,
|
751
|
+
at as a,
|
751
752
|
u as d,
|
752
|
-
lt as h,
|
753
753
|
kt as k,
|
754
|
-
|
755
|
-
|
754
|
+
jt as m,
|
755
|
+
Lt as o,
|
756
756
|
y as v,
|
757
|
-
wt as w
|
757
|
+
wt as w,
|
758
|
+
Dt as z
|
758
759
|
};
|