@florid-kit/components 0.8.36 → 0.8.38
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/side-panel.d.ts +1 -0
- package/index.js +45 -41
- package/index.mjs +152 -144
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const pt = globalThis, St = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Lt = Symbol(),
|
|
6
|
+
const pt = globalThis, St = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Lt = Symbol(), Ut = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
let Yt = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
9
|
if (this._$cssResult$ = !0, n !== Lt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -14,7 +14,7 @@ let Yt = class {
|
|
|
14
14
|
const e = this.t;
|
|
15
15
|
if (St && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Ut.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,7 +22,7 @@ let Yt = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Lt),
|
|
25
|
+
const se = (o) => new Yt(typeof o == "string" ? o : o + "", void 0, Lt), y = (o, ...t) => {
|
|
26
26
|
const e = o.length === 1 ? o[0] : t.reduce((n, i, r) => n + ((s) => {
|
|
27
27
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
28
28
|
if (typeof s == "number") return s;
|
|
@@ -284,7 +284,7 @@ G.elementStyles = [], G.shadowRootOptions = { mode: "open" }, G[tt("elementPrope
|
|
|
284
284
|
*/
|
|
285
285
|
const et = globalThis, vt = et.trustedTypes, Zt = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, te = "$lit$", T = `lit$${Math.random().toFixed(9).slice(2)}$`, ee = "?" + T, be = `<${ee}>`, Z = document, it = () => Z.createComment(""), nt = (o) => o === null || typeof o != "object" && typeof o != "function", It = Array.isArray, fe = (o) => It(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", wt = `[
|
|
286
286
|
\f\r]`, Y = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, qt = /-->/g, Wt = />/g, R = RegExp(`>|${wt}(?:([^\\s"'>=/]+)(${wt}*=${wt}*(?:[^
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Kt = /'/g, Gt = /"/g, oe = /^(?:script|style|textarea|title)$/i, ge = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ge(1),
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Kt = /'/g, Gt = /"/g, oe = /^(?:script|style|textarea|title)$/i, ge = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = ge(1), N = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Xt = /* @__PURE__ */ new WeakMap(), F = Z.createTreeWalker(Z, 129);
|
|
288
288
|
function ie(o, t) {
|
|
289
289
|
if (!It(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return Zt !== void 0 ? Zt.createHTML(t) : t;
|
|
@@ -294,10 +294,10 @@ const ye = (o, t) => {
|
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = Y;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let
|
|
298
|
-
for (; O < c.length && (s.lastIndex = O, m = s.exec(c), m !== null); ) O = s.lastIndex, s === Y ? m[1] === "!--" ? s = qt : m[1] !== void 0 ? s = Wt : m[2] !== void 0 ? (oe.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = R) : m[3] !== void 0 && (s = R) : s === R ? m[0] === ">" ? (s = i ?? Y, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length,
|
|
297
|
+
let g, m, p = -1, O = 0;
|
|
298
|
+
for (; O < c.length && (s.lastIndex = O, m = s.exec(c), m !== null); ) O = s.lastIndex, s === Y ? m[1] === "!--" ? s = qt : m[1] !== void 0 ? s = Wt : m[2] !== void 0 ? (oe.test(m[2]) && (i = RegExp("</" + m[2], "g")), s = R) : m[3] !== void 0 && (s = R) : s === R ? m[0] === ">" ? (s = i ?? Y, p = -1) : m[1] === void 0 ? p = -2 : (p = s.lastIndex - m[2].length, g = m[1], s = m[3] === void 0 ? R : m[3] === '"' ? Gt : Kt) : s === Gt || s === Kt ? s = R : s === qt || s === Wt ? s = Y : (s = R, i = void 0);
|
|
299
299
|
const M = s === R && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === Y ? c + be : p >= 0 ? (n.push(
|
|
300
|
+
r += s === Y ? c + be : p >= 0 ? (n.push(g), c.slice(0, p) + te + c.slice(p) + T + M) : c + T + (p === -2 ? h : M);
|
|
301
301
|
}
|
|
302
302
|
return [ie(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
@@ -306,8 +306,8 @@ class rt {
|
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const h = t.length - 1, c = this.parts, [
|
|
310
|
-
if (this.el = rt.createElement(
|
|
309
|
+
const h = t.length - 1, c = this.parts, [g, m] = ye(t, e);
|
|
310
|
+
if (this.el = rt.createElement(g, n), F.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
@@ -340,7 +340,7 @@ class rt {
|
|
|
340
340
|
}
|
|
341
341
|
function X(o, t, e = o, n) {
|
|
342
342
|
var s, h;
|
|
343
|
-
if (t ===
|
|
343
|
+
if (t === N) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
345
|
const r = nt(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = X(o, i._$AS(o, t.values), i, n)), t;
|
|
@@ -361,8 +361,8 @@ class me {
|
|
|
361
361
|
let r = F.nextNode(), s = 0, h = 0, c = n[0];
|
|
362
362
|
for (; c !== void 0; ) {
|
|
363
363
|
if (s === c.index) {
|
|
364
|
-
let
|
|
365
|
-
c.type === 2 ?
|
|
364
|
+
let g;
|
|
365
|
+
c.type === 2 ? g = new ht(r, r.nextSibling, this, t) : c.type === 1 ? g = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (g = new _e(r, this, t)), this._$AV.push(g), c = n[++h];
|
|
366
366
|
}
|
|
367
367
|
s !== (c == null ? void 0 : c.index) && (r = F.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -393,7 +393,7 @@ class ht {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = X(this, t, e), nt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !==
|
|
396
|
+
t = X(this, t, e), nt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== N && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : fe(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -449,11 +449,11 @@ class ft {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const r = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (r === void 0) t = X(this, t, e, 0), s = !nt(t) || t !== this._$AH && t !==
|
|
452
|
+
if (r === void 0) t = X(this, t, e, 0), s = !nt(t) || t !== this._$AH && t !== N, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const h = t;
|
|
455
|
-
let c,
|
|
456
|
-
for (t = r[0], c = 0; c < r.length - 1; c++)
|
|
455
|
+
let c, g;
|
|
456
|
+
for (t = r[0], c = 0; c < r.length - 1; c++) g = X(this, h[n + c], e, c), g === N && (g = this._$AH[c]), s || (s = !nt(g) || g !== this._$AH[c]), g === d ? t = d : t !== d && (t += (g ?? "") + r[c + 1]), this._$AH[c] = g;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -482,7 +482,7 @@ class $e extends ft {
|
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t = X(this, t, e, 0) ?? d) ===
|
|
485
|
+
if ((t = X(this, t, e, 0) ?? d) === N) return;
|
|
486
486
|
const n = this._$AH, i = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== d && (n === d || i);
|
|
487
487
|
i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -519,7 +519,7 @@ const Ce = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const V = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let v = class extends G {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -541,13 +541,13 @@ let u = class extends G {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return N;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
var Qt;
|
|
548
|
-
|
|
548
|
+
v._$litElement$ = !0, v.finalized = !0, (Qt = V.litElementHydrateSupport) == null || Qt.call(V, { LitElement: v });
|
|
549
549
|
const _t = V.litElementPolyfillSupport;
|
|
550
|
-
_t == null || _t({ LitElement:
|
|
550
|
+
_t == null || _t({ LitElement: v });
|
|
551
551
|
(V.litElementVersions ?? (V.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
@@ -599,12 +599,12 @@ function a(o) {
|
|
|
599
599
|
function q(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const gt =
|
|
602
|
+
const gt = y`
|
|
603
603
|
outline: 1px dashed var(--button-border-color);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
outline: dashed black;
|
|
606
606
|
`;
|
|
607
|
-
|
|
607
|
+
y`
|
|
608
608
|
:host * {
|
|
609
609
|
box-sizing: border-box;
|
|
610
610
|
}
|
|
@@ -700,7 +700,7 @@ const Se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
700
700
|
<path class="st0" d="M40,20c0,0.7-0.6,1.2-1.2,1.2H21.2v17.5c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2V21.2H1.2C0.6,21.2,0,20.7,0,20
|
|
701
701
|
s0.6-1.2,1.2-1.2h17.5V1.2C18.8,0.6,19.3,0,20,0s1.2,0.6,1.2,1.2v17.5h17.5C39.4,18.8,40,19.3,40,20z"/>
|
|
702
702
|
</svg>
|
|
703
|
-
`,
|
|
703
|
+
`, Ne = `<?xml version="1.0" encoding="utf-8"?>
|
|
704
704
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
705
705
|
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
706
706
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -709,7 +709,7 @@ const Se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
709
709
|
</style>
|
|
710
710
|
<path class="st0" d="M38.8,20.5H1.2c-0.7,0-1.2-0.6-1.2-1.2S0.6,18,1.2,18h37.5c0.7,0,1.2,0.6,1.2,1.2S39.4,20.5,38.8,20.5z"/>
|
|
711
711
|
</svg>
|
|
712
|
-
`,
|
|
712
|
+
`, Ue = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
713
713
|
<path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
|
|
714
714
|
</svg>
|
|
715
715
|
`, Re = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -745,7 +745,7 @@ const Se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
745
745
|
chevronRight: Pe,
|
|
746
746
|
chevronLeft: Ie,
|
|
747
747
|
icoPlus: je,
|
|
748
|
-
icoMinus:
|
|
748
|
+
icoMinus: Ne,
|
|
749
749
|
"star-0": Oe,
|
|
750
750
|
"star-25": Be,
|
|
751
751
|
"star-50": ze,
|
|
@@ -753,7 +753,7 @@ const Se = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
753
753
|
"star-100": He,
|
|
754
754
|
cross: Me,
|
|
755
755
|
search: Te,
|
|
756
|
-
arrowLeft:
|
|
756
|
+
arrowLeft: Ue,
|
|
757
757
|
arrowTop: Re,
|
|
758
758
|
cart: Fe,
|
|
759
759
|
notifyme: Ve,
|
|
@@ -798,7 +798,7 @@ class kt extends Ht {
|
|
|
798
798
|
}
|
|
799
799
|
render(t) {
|
|
800
800
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
801
|
-
if (t ===
|
|
801
|
+
if (t === N) return t;
|
|
802
802
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
803
803
|
if (t === this.it) return this._t;
|
|
804
804
|
this.it = t;
|
|
@@ -821,8 +821,8 @@ var Qe = Object.defineProperty, Ye = Object.getOwnPropertyDescriptor, w = (o, t,
|
|
|
821
821
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
822
822
|
return n && i && Qe(t, e, i), i;
|
|
823
823
|
};
|
|
824
|
-
const to = Bt(
|
|
825
|
-
let
|
|
824
|
+
const to = Bt(v);
|
|
825
|
+
let b = class extends to {
|
|
826
826
|
constructor() {
|
|
827
827
|
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.underlined = !1;
|
|
828
828
|
}
|
|
@@ -885,9 +885,9 @@ let v = class extends to {
|
|
|
885
885
|
`;
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
|
-
Ee(
|
|
889
|
-
|
|
890
|
-
|
|
888
|
+
Ee(b);
|
|
889
|
+
b.formAssociated = !0;
|
|
890
|
+
b.styles = y`
|
|
891
891
|
:host {
|
|
892
892
|
--button-border: transparent;
|
|
893
893
|
cursor: pointer;
|
|
@@ -1074,58 +1074,58 @@ v.styles = g`
|
|
|
1074
1074
|
`;
|
|
1075
1075
|
w([
|
|
1076
1076
|
a()
|
|
1077
|
-
],
|
|
1077
|
+
], b.prototype, "type", 2);
|
|
1078
1078
|
w([
|
|
1079
1079
|
a({ reflect: !0 })
|
|
1080
|
-
],
|
|
1080
|
+
], b.prototype, "value", 2);
|
|
1081
1081
|
w([
|
|
1082
1082
|
a({ type: String, reflect: !0 })
|
|
1083
|
-
],
|
|
1083
|
+
], b.prototype, "variant", 2);
|
|
1084
1084
|
w([
|
|
1085
1085
|
a({ type: String })
|
|
1086
|
-
],
|
|
1086
|
+
], b.prototype, "text", 2);
|
|
1087
1087
|
w([
|
|
1088
1088
|
a({ type: String })
|
|
1089
|
-
],
|
|
1089
|
+
], b.prototype, "textsecond", 2);
|
|
1090
1090
|
w([
|
|
1091
1091
|
a({ type: Boolean, reflect: !0 })
|
|
1092
|
-
],
|
|
1092
|
+
], b.prototype, "fullwidth", 2);
|
|
1093
1093
|
w([
|
|
1094
1094
|
a({ type: Boolean, reflect: !0 })
|
|
1095
|
-
],
|
|
1095
|
+
], b.prototype, "disabled", 2);
|
|
1096
1096
|
w([
|
|
1097
1097
|
a({ type: String, reflect: !0 })
|
|
1098
|
-
],
|
|
1098
|
+
], b.prototype, "startIconModel", 2);
|
|
1099
1099
|
w([
|
|
1100
1100
|
a({ type: String, reflect: !0 })
|
|
1101
|
-
],
|
|
1101
|
+
], b.prototype, "endIconModel", 2);
|
|
1102
1102
|
w([
|
|
1103
1103
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1104
|
-
],
|
|
1104
|
+
], b.prototype, "startIcon", 2);
|
|
1105
1105
|
w([
|
|
1106
1106
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1107
|
-
],
|
|
1107
|
+
], b.prototype, "endIcon", 2);
|
|
1108
1108
|
w([
|
|
1109
1109
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1110
|
-
],
|
|
1110
|
+
], b.prototype, "panelTarget", 2);
|
|
1111
1111
|
w([
|
|
1112
1112
|
a({ type: String })
|
|
1113
|
-
],
|
|
1113
|
+
], b.prototype, "href", 2);
|
|
1114
1114
|
w([
|
|
1115
1115
|
a({ type: String })
|
|
1116
|
-
],
|
|
1116
|
+
], b.prototype, "target", 2);
|
|
1117
1117
|
w([
|
|
1118
1118
|
a({ type: Boolean, reflect: !0 })
|
|
1119
|
-
],
|
|
1120
|
-
|
|
1119
|
+
], b.prototype, "underlined", 2);
|
|
1120
|
+
b = w([
|
|
1121
1121
|
x("o-button")
|
|
1122
|
-
],
|
|
1122
|
+
], b);
|
|
1123
1123
|
var eo = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, yt = (o, t, e, n) => {
|
|
1124
1124
|
for (var i = n > 1 ? void 0 : n ? oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1125
1125
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1126
1126
|
return n && i && eo(t, e, i), i;
|
|
1127
1127
|
};
|
|
1128
|
-
let J = class extends
|
|
1128
|
+
let J = class extends v {
|
|
1129
1129
|
constructor() {
|
|
1130
1130
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1131
1131
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1166,7 +1166,7 @@ let J = class extends u {
|
|
|
1166
1166
|
this.label = o, this.requestUpdate();
|
|
1167
1167
|
}
|
|
1168
1168
|
};
|
|
1169
|
-
J.styles =
|
|
1169
|
+
J.styles = y`
|
|
1170
1170
|
:host {
|
|
1171
1171
|
display: inline-flex;
|
|
1172
1172
|
justify-content: center;
|
|
@@ -1255,7 +1255,7 @@ var io = Object.defineProperty, no = Object.getOwnPropertyDescriptor, P = (o, t,
|
|
|
1255
1255
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1256
1256
|
return n && i && io(t, e, i), i;
|
|
1257
1257
|
};
|
|
1258
|
-
let _ = class extends
|
|
1258
|
+
let _ = class extends v {
|
|
1259
1259
|
constructor() {
|
|
1260
1260
|
super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "wishlist", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
|
|
1261
1261
|
}
|
|
@@ -1286,7 +1286,7 @@ let _ = class extends u {
|
|
|
1286
1286
|
`;
|
|
1287
1287
|
}
|
|
1288
1288
|
};
|
|
1289
|
-
_.styles =
|
|
1289
|
+
_.styles = y`
|
|
1290
1290
|
:host {
|
|
1291
1291
|
display: inline-flex;
|
|
1292
1292
|
justify-content: center;
|
|
@@ -1489,6 +1489,10 @@ _.styles = g`
|
|
|
1489
1489
|
}
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
|
+
.icon-button:focus-visible {
|
|
1493
|
+
outline: none;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1492
1496
|
.sr-only {
|
|
1493
1497
|
display: none;
|
|
1494
1498
|
}
|
|
@@ -1528,7 +1532,7 @@ var ro = Object.defineProperty, so = Object.getOwnPropertyDescriptor, K = (o, t,
|
|
|
1528
1532
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1529
1533
|
return n && i && ro(t, e, i), i;
|
|
1530
1534
|
};
|
|
1531
|
-
let B = class extends
|
|
1535
|
+
let B = class extends v {
|
|
1532
1536
|
constructor() {
|
|
1533
1537
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1534
1538
|
}
|
|
@@ -1566,7 +1570,7 @@ let B = class extends u {
|
|
|
1566
1570
|
`;
|
|
1567
1571
|
}
|
|
1568
1572
|
};
|
|
1569
|
-
B.styles =
|
|
1573
|
+
B.styles = y`
|
|
1570
1574
|
:host([template="standard"]) a {
|
|
1571
1575
|
color: var(--color-content-action-secondary);
|
|
1572
1576
|
font-size: var(--font-size-200);
|
|
@@ -1680,7 +1684,7 @@ var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, mt = (o, t
|
|
|
1680
1684
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1681
1685
|
return n && i && ao(t, e, i), i;
|
|
1682
1686
|
};
|
|
1683
|
-
let Q = class extends
|
|
1687
|
+
let Q = class extends v {
|
|
1684
1688
|
constructor() {
|
|
1685
1689
|
super(...arguments), this.rating = 0;
|
|
1686
1690
|
}
|
|
@@ -1707,7 +1711,7 @@ let Q = class extends u {
|
|
|
1707
1711
|
`;
|
|
1708
1712
|
}
|
|
1709
1713
|
};
|
|
1710
|
-
Q.styles =
|
|
1714
|
+
Q.styles = y`
|
|
1711
1715
|
svg {
|
|
1712
1716
|
width: 12px;
|
|
1713
1717
|
height: 12px;
|
|
@@ -1940,14 +1944,14 @@ class go extends fo {
|
|
|
1940
1944
|
}
|
|
1941
1945
|
}
|
|
1942
1946
|
const Jt = Dt(go);
|
|
1943
|
-
var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor,
|
|
1947
|
+
var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, f = (o, t, e, n) => {
|
|
1944
1948
|
for (var i = n > 1 ? void 0 : n ? mo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1945
1949
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1946
1950
|
return n && i && yo(t, e, i), i;
|
|
1947
1951
|
};
|
|
1948
|
-
let
|
|
1952
|
+
let u = class extends v {
|
|
1949
1953
|
constructor() {
|
|
1950
|
-
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1954
|
+
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.closeButtonLabel = "Close the modal", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.previousFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1951
1955
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
1952
1956
|
}, this.handleClosePanel = (o) => {
|
|
1953
1957
|
o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " " || (o.preventDefault(), o.stopPropagation(), this.closePanel());
|
|
@@ -1977,12 +1981,13 @@ let b = class extends u {
|
|
|
1977
1981
|
}
|
|
1978
1982
|
openPanel() {
|
|
1979
1983
|
this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
|
|
1980
|
-
var o, t;
|
|
1981
|
-
if (this.showHeader)
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1984
|
+
var o, t, e;
|
|
1985
|
+
if (this.showHeader) {
|
|
1986
|
+
const n = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, i = ((t = n == null ? void 0 : n.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
|
|
1987
|
+
i && ((e = i.focus) == null || e.call(i));
|
|
1988
|
+
} else {
|
|
1989
|
+
const n = this.getFocusableElements()[0];
|
|
1990
|
+
n == null || n.focus();
|
|
1986
1991
|
}
|
|
1987
1992
|
}), this.dispatchEvent(
|
|
1988
1993
|
new CustomEvent("open", { bubbles: !0, composed: !0 })
|
|
@@ -1996,7 +2001,7 @@ let b = class extends u {
|
|
|
1996
2001
|
}
|
|
1997
2002
|
handleFirstClick(o) {
|
|
1998
2003
|
o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " " || (o.preventDefault(), o.stopPropagation(), this.onFirstButtonClickClose && this.closePanel(), this.dispatchEvent(
|
|
1999
|
-
new CustomEvent("
|
|
2004
|
+
new CustomEvent("firstbuttonclick", {
|
|
2000
2005
|
bubbles: !0,
|
|
2001
2006
|
composed: !0,
|
|
2002
2007
|
cancelable: !0,
|
|
@@ -2009,7 +2014,7 @@ let b = class extends u {
|
|
|
2009
2014
|
}
|
|
2010
2015
|
handleSecondClick(o) {
|
|
2011
2016
|
o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " " || (o.preventDefault(), o.stopPropagation(), this.onSecondButtonClickClose && this.closePanel(), this.dispatchEvent(
|
|
2012
|
-
new CustomEvent("
|
|
2017
|
+
new CustomEvent("secondbuttonclick", {
|
|
2013
2018
|
bubbles: !0,
|
|
2014
2019
|
composed: !0,
|
|
2015
2020
|
cancelable: !0,
|
|
@@ -2040,7 +2045,7 @@ let b = class extends u {
|
|
|
2040
2045
|
${this.showHeaderStartIcon ? l`
|
|
2041
2046
|
<o-icon-button icon="arrowLeft" size="small" class="return-btn" bgstyle="background-light" @click=${this.handleClosePanel} @keydown=${this.handleClosePanel} aria-label="${this.closeButtonLabel}"></o-icon-button>
|
|
2042
2047
|
` : null}
|
|
2043
|
-
<h2 id="panel-title" class="
|
|
2048
|
+
<h2 id="panel-title" class="${this.headerTitleClassName}">${this.headerTitle}</h2>
|
|
2044
2049
|
<o-icon-button icon="cross" size="small" class="close-btn" bgstyle="background-light" @click=${this.handleClosePanel} @keydown=${this.handleClosePanel} aria-label="${this.closeButtonLabel}"></o-icon-button>
|
|
2045
2050
|
</div>
|
|
2046
2051
|
` : null}
|
|
@@ -2078,7 +2083,7 @@ let b = class extends u {
|
|
|
2078
2083
|
`;
|
|
2079
2084
|
}
|
|
2080
2085
|
};
|
|
2081
|
-
|
|
2086
|
+
u.styles = y`
|
|
2082
2087
|
:host {
|
|
2083
2088
|
--z-overlay: 99;
|
|
2084
2089
|
--z-panel: 100;
|
|
@@ -2227,66 +2232,69 @@ b.styles = g`
|
|
|
2227
2232
|
}
|
|
2228
2233
|
}
|
|
2229
2234
|
`;
|
|
2230
|
-
|
|
2235
|
+
f([
|
|
2231
2236
|
a({ type: Boolean, reflect: !0 })
|
|
2232
|
-
],
|
|
2233
|
-
|
|
2237
|
+
], u.prototype, "open", 2);
|
|
2238
|
+
f([
|
|
2234
2239
|
a({ type: Boolean, reflect: !0 })
|
|
2235
|
-
],
|
|
2236
|
-
|
|
2240
|
+
], u.prototype, "showHeader", 2);
|
|
2241
|
+
f([
|
|
2237
2242
|
a({ type: Boolean, reflect: !0 })
|
|
2238
|
-
],
|
|
2239
|
-
|
|
2243
|
+
], u.prototype, "showFooter", 2);
|
|
2244
|
+
f([
|
|
2240
2245
|
a({ type: Boolean, reflect: !0 })
|
|
2241
|
-
],
|
|
2242
|
-
|
|
2246
|
+
], u.prototype, "showHeaderStartIcon", 2);
|
|
2247
|
+
f([
|
|
2248
|
+
a({ type: String, reflect: !0 })
|
|
2249
|
+
], u.prototype, "headerTitle", 2);
|
|
2250
|
+
f([
|
|
2243
2251
|
a({ type: String, reflect: !0 })
|
|
2244
|
-
],
|
|
2245
|
-
|
|
2252
|
+
], u.prototype, "headerTitleClassName", 2);
|
|
2253
|
+
f([
|
|
2246
2254
|
a({ type: String, reflect: !0 })
|
|
2247
|
-
],
|
|
2248
|
-
|
|
2255
|
+
], u.prototype, "closeButtonLabel", 2);
|
|
2256
|
+
f([
|
|
2249
2257
|
a({ type: String, reflect: !0 })
|
|
2250
|
-
],
|
|
2251
|
-
|
|
2258
|
+
], u.prototype, "firstButtonLabel", 2);
|
|
2259
|
+
f([
|
|
2252
2260
|
a({ type: String, reflect: !0 })
|
|
2253
|
-
],
|
|
2254
|
-
|
|
2261
|
+
], u.prototype, "firstButtonVariant", 2);
|
|
2262
|
+
f([
|
|
2255
2263
|
a({ type: Object, reflect: !0 })
|
|
2256
|
-
],
|
|
2257
|
-
|
|
2264
|
+
], u.prototype, "firstButtonProps", 2);
|
|
2265
|
+
f([
|
|
2258
2266
|
a({ type: Boolean, reflect: !0 })
|
|
2259
|
-
],
|
|
2260
|
-
|
|
2267
|
+
], u.prototype, "onFirstButtonClickClose", 2);
|
|
2268
|
+
f([
|
|
2261
2269
|
a({ type: String, reflect: !0 })
|
|
2262
|
-
],
|
|
2263
|
-
|
|
2270
|
+
], u.prototype, "secondButtonLabel", 2);
|
|
2271
|
+
f([
|
|
2264
2272
|
a({ type: String, reflect: !0 })
|
|
2265
|
-
],
|
|
2266
|
-
|
|
2273
|
+
], u.prototype, "secondButtonVariant", 2);
|
|
2274
|
+
f([
|
|
2267
2275
|
a({ type: Object, reflect: !0 })
|
|
2268
|
-
],
|
|
2269
|
-
|
|
2276
|
+
], u.prototype, "secondButtonProps", 2);
|
|
2277
|
+
f([
|
|
2270
2278
|
a({ type: Boolean, reflect: !0 })
|
|
2271
|
-
],
|
|
2272
|
-
|
|
2279
|
+
], u.prototype, "onSecondButtonClickClose", 2);
|
|
2280
|
+
f([
|
|
2273
2281
|
a({ type: Boolean, reflect: !0 })
|
|
2274
|
-
],
|
|
2275
|
-
|
|
2282
|
+
], u.prototype, "disablePortal", 2);
|
|
2283
|
+
f([
|
|
2276
2284
|
a({ type: Number, reflect: !0 })
|
|
2277
|
-
],
|
|
2278
|
-
|
|
2285
|
+
], u.prototype, "zIndex", 2);
|
|
2286
|
+
f([
|
|
2279
2287
|
a({ type: Boolean, reflect: !0 })
|
|
2280
|
-
],
|
|
2281
|
-
|
|
2288
|
+
], u.prototype, "initialized", 2);
|
|
2289
|
+
u = f([
|
|
2282
2290
|
x("o-side-panel")
|
|
2283
|
-
],
|
|
2284
|
-
var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor,
|
|
2291
|
+
], u);
|
|
2292
|
+
var xo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
|
|
2285
2293
|
for (var i = n > 1 ? void 0 : n ? wo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2286
2294
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2287
2295
|
return n && i && xo(t, e, i), i;
|
|
2288
2296
|
};
|
|
2289
|
-
let L = class extends
|
|
2297
|
+
let L = class extends v {
|
|
2290
2298
|
constructor() {
|
|
2291
2299
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2292
2300
|
<o-icon-button
|
|
@@ -2363,7 +2371,7 @@ let L = class extends u {
|
|
|
2363
2371
|
`;
|
|
2364
2372
|
}
|
|
2365
2373
|
};
|
|
2366
|
-
L.styles =
|
|
2374
|
+
L.styles = y`
|
|
2367
2375
|
:host {
|
|
2368
2376
|
display: flex;
|
|
2369
2377
|
gap: 5px;
|
|
@@ -2469,28 +2477,28 @@ L.styles = g`
|
|
|
2469
2477
|
width: 0;
|
|
2470
2478
|
}
|
|
2471
2479
|
`;
|
|
2472
|
-
|
|
2480
|
+
U([
|
|
2473
2481
|
a({ type: Array })
|
|
2474
2482
|
], L.prototype, "thumbnails", 2);
|
|
2475
|
-
|
|
2483
|
+
U([
|
|
2476
2484
|
a({ type: Number })
|
|
2477
2485
|
], L.prototype, "activeIndex", 2);
|
|
2478
|
-
|
|
2486
|
+
U([
|
|
2479
2487
|
a({ type: Array })
|
|
2480
2488
|
], L.prototype, "disabledIndexes", 2);
|
|
2481
|
-
|
|
2489
|
+
U([
|
|
2482
2490
|
a({ type: String })
|
|
2483
2491
|
], L.prototype, "maxWidth", 2);
|
|
2484
|
-
|
|
2492
|
+
U([
|
|
2485
2493
|
a({ type: String })
|
|
2486
2494
|
], L.prototype, "altressource", 2);
|
|
2487
|
-
|
|
2495
|
+
U([
|
|
2488
2496
|
a({ type: Object })
|
|
2489
2497
|
], L.prototype, "swiperInstance", 2);
|
|
2490
|
-
|
|
2498
|
+
U([
|
|
2491
2499
|
q()
|
|
2492
2500
|
], L.prototype, "focusedIndex", 2);
|
|
2493
|
-
L =
|
|
2501
|
+
L = U([
|
|
2494
2502
|
x("thumbnail-navigation")
|
|
2495
2503
|
], L);
|
|
2496
2504
|
var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Mt = (o, t, e, n) => {
|
|
@@ -2498,7 +2506,7 @@ var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Mt = (o, t
|
|
|
2498
2506
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2499
2507
|
return n && i && $o(t, e, i), i;
|
|
2500
2508
|
};
|
|
2501
|
-
let st = class extends
|
|
2509
|
+
let st = class extends v {
|
|
2502
2510
|
constructor() {
|
|
2503
2511
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2504
2512
|
}
|
|
@@ -2508,7 +2516,7 @@ let st = class extends u {
|
|
|
2508
2516
|
`;
|
|
2509
2517
|
}
|
|
2510
2518
|
};
|
|
2511
|
-
st.styles =
|
|
2519
|
+
st.styles = y`
|
|
2512
2520
|
.tag {
|
|
2513
2521
|
display: inline-block;
|
|
2514
2522
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2578,7 +2586,7 @@ var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, Tt = (o, t
|
|
|
2578
2586
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2579
2587
|
return n && i && Co(t, e, i), i;
|
|
2580
2588
|
};
|
|
2581
|
-
let at = class extends
|
|
2589
|
+
let at = class extends v {
|
|
2582
2590
|
constructor() {
|
|
2583
2591
|
super(...arguments), this.type = "top", this.text = "";
|
|
2584
2592
|
}
|
|
@@ -2591,7 +2599,7 @@ let at = class extends u {
|
|
|
2591
2599
|
`;
|
|
2592
2600
|
}
|
|
2593
2601
|
};
|
|
2594
|
-
at.styles =
|
|
2602
|
+
at.styles = y`
|
|
2595
2603
|
.tooltip {
|
|
2596
2604
|
position: relative;
|
|
2597
2605
|
display: inline-block;
|
|
@@ -2698,7 +2706,7 @@ var Ao = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, z = (o, t,
|
|
|
2698
2706
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2699
2707
|
return n && i && Ao(t, e, i), i;
|
|
2700
2708
|
};
|
|
2701
|
-
let A = class extends
|
|
2709
|
+
let A = class extends v {
|
|
2702
2710
|
constructor() {
|
|
2703
2711
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
|
|
2704
2712
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2821,7 +2829,7 @@ let A = class extends u {
|
|
|
2821
2829
|
`;
|
|
2822
2830
|
}
|
|
2823
2831
|
};
|
|
2824
|
-
A.styles =
|
|
2832
|
+
A.styles = y`
|
|
2825
2833
|
:host {
|
|
2826
2834
|
display: inline-block;
|
|
2827
2835
|
position: relative;
|
|
@@ -2993,12 +3001,12 @@ var So = Object.getOwnPropertyDescriptor, Lo = (o, t, e, n) => {
|
|
|
2993
3001
|
(s = o[r]) && (i = s(i) || i);
|
|
2994
3002
|
return i;
|
|
2995
3003
|
};
|
|
2996
|
-
let Et = class extends
|
|
3004
|
+
let Et = class extends v {
|
|
2997
3005
|
render() {
|
|
2998
3006
|
return l` <span class="dots"></span> `;
|
|
2999
3007
|
}
|
|
3000
3008
|
};
|
|
3001
|
-
Et.styles =
|
|
3009
|
+
Et.styles = y`
|
|
3002
3010
|
:host {
|
|
3003
3011
|
display: flex;
|
|
3004
3012
|
align-items: center;
|
|
@@ -3058,7 +3066,7 @@ var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, I = (o, t,
|
|
|
3058
3066
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3059
3067
|
return n && i && Po(t, e, i), i;
|
|
3060
3068
|
};
|
|
3061
|
-
let C = class extends
|
|
3069
|
+
let C = class extends v {
|
|
3062
3070
|
constructor() {
|
|
3063
3071
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._handleOutsideClick = (o) => {
|
|
3064
3072
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3195,7 +3203,7 @@ let C = class extends u {
|
|
|
3195
3203
|
`;
|
|
3196
3204
|
}
|
|
3197
3205
|
};
|
|
3198
|
-
C.styles =
|
|
3206
|
+
C.styles = y`
|
|
3199
3207
|
:host {
|
|
3200
3208
|
display: inline-block;
|
|
3201
3209
|
position: relative;
|
|
@@ -3429,7 +3437,7 @@ const re = "important", Oo = " !" + re, Bo = Dt(class extends Ht {
|
|
|
3429
3437
|
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? re : "") : e[n] = i;
|
|
3430
3438
|
}
|
|
3431
3439
|
}
|
|
3432
|
-
return
|
|
3440
|
+
return N;
|
|
3433
3441
|
}
|
|
3434
3442
|
});
|
|
3435
3443
|
var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, jt = (o, t, e, n) => {
|
|
@@ -3437,7 +3445,7 @@ var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, jt = (o, t
|
|
|
3437
3445
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3438
3446
|
return n && i && zo(t, e, i), i;
|
|
3439
3447
|
};
|
|
3440
|
-
let lt = class extends
|
|
3448
|
+
let lt = class extends v {
|
|
3441
3449
|
constructor() {
|
|
3442
3450
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3443
3451
|
}
|
|
@@ -3455,7 +3463,7 @@ let lt = class extends u {
|
|
|
3455
3463
|
return o ? l`<a href="${$(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3456
3464
|
}
|
|
3457
3465
|
};
|
|
3458
|
-
lt.styles =
|
|
3466
|
+
lt.styles = y`
|
|
3459
3467
|
:host {
|
|
3460
3468
|
display: inline-block;
|
|
3461
3469
|
position: relative;
|
|
@@ -3551,7 +3559,7 @@ var Ho = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, D = (o, t,
|
|
|
3551
3559
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3552
3560
|
return n && i && Ho(t, e, i), i;
|
|
3553
3561
|
};
|
|
3554
|
-
const To = Bt(
|
|
3562
|
+
const To = Bt(v);
|
|
3555
3563
|
let k = class extends To {
|
|
3556
3564
|
constructor() {
|
|
3557
3565
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
@@ -3575,7 +3583,7 @@ let k = class extends To {
|
|
|
3575
3583
|
`;
|
|
3576
3584
|
}
|
|
3577
3585
|
};
|
|
3578
|
-
k.styles =
|
|
3586
|
+
k.styles = y`
|
|
3579
3587
|
:host {
|
|
3580
3588
|
cursor: pointer;
|
|
3581
3589
|
display: inline-flex;
|
|
@@ -3688,12 +3696,12 @@ D([
|
|
|
3688
3696
|
k = D([
|
|
3689
3697
|
x("o-chip")
|
|
3690
3698
|
], k);
|
|
3691
|
-
var jo = Object.defineProperty,
|
|
3692
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3699
|
+
var jo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
|
|
3700
|
+
for (var i = n > 1 ? void 0 : n ? No(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3693
3701
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3694
3702
|
return n && i && jo(t, e, i), i;
|
|
3695
3703
|
};
|
|
3696
|
-
let ct = class extends
|
|
3704
|
+
let ct = class extends v {
|
|
3697
3705
|
constructor() {
|
|
3698
3706
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3699
3707
|
}
|
|
@@ -3709,7 +3717,7 @@ let ct = class extends u {
|
|
|
3709
3717
|
`;
|
|
3710
3718
|
}
|
|
3711
3719
|
};
|
|
3712
|
-
ct.styles =
|
|
3720
|
+
ct.styles = y`
|
|
3713
3721
|
:host {
|
|
3714
3722
|
display: flex;
|
|
3715
3723
|
flex-direction: row;
|
|
@@ -3717,21 +3725,21 @@ ct.styles = g`
|
|
|
3717
3725
|
gap: var(--spacing-s);
|
|
3718
3726
|
}
|
|
3719
3727
|
`;
|
|
3720
|
-
|
|
3728
|
+
Nt([
|
|
3721
3729
|
a({ reflect: !0 })
|
|
3722
3730
|
], ct.prototype, "name", 2);
|
|
3723
|
-
|
|
3731
|
+
Nt([
|
|
3724
3732
|
a({ reflect: !0 })
|
|
3725
3733
|
], ct.prototype, "value", 2);
|
|
3726
|
-
ct =
|
|
3734
|
+
ct = Nt([
|
|
3727
3735
|
x("o-chipset")
|
|
3728
3736
|
], ct);
|
|
3729
|
-
var
|
|
3737
|
+
var Uo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
3730
3738
|
for (var i = n > 1 ? void 0 : n ? Ro(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3731
3739
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3732
|
-
return n && i &&
|
|
3740
|
+
return n && i && Uo(t, e, i), i;
|
|
3733
3741
|
};
|
|
3734
|
-
const Fo = Bt(
|
|
3742
|
+
const Fo = Bt(v);
|
|
3735
3743
|
let E = class extends Fo {
|
|
3736
3744
|
constructor() {
|
|
3737
3745
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.dataHref = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
@@ -3782,7 +3790,7 @@ let E = class extends Fo {
|
|
|
3782
3790
|
`;
|
|
3783
3791
|
}
|
|
3784
3792
|
};
|
|
3785
|
-
E.styles =
|
|
3793
|
+
E.styles = y`
|
|
3786
3794
|
:host {
|
|
3787
3795
|
cursor: pointer;
|
|
3788
3796
|
display: inline-flex;
|