@florid-kit/components 0.8.42 → 0.8.45
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 +3 -0
- package/components/tag.d.ts +1 -1
- package/index.js +81 -78
- package/index.mjs +361 -341
- 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
|
|
6
|
+
const ft = globalThis, Pt = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, It = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
let oe = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
9
|
if (this._$cssResult$ = !0, n !== It) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -22,7 +22,7 @@ let oe = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It),
|
|
25
|
+
const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), 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;
|
|
@@ -32,7 +32,7 @@ const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), b = (o,
|
|
|
32
32
|
}, he = (o, t) => {
|
|
33
33
|
if (Pt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
|
-
const n = document.createElement("style"), i =
|
|
35
|
+
const n = document.createElement("style"), i = ft.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
38
|
}, Zt = Pt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
@@ -45,7 +45,7 @@ const ce = (o) => new oe(typeof o == "string" ? o : o + "", void 0, It), b = (o,
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnPropertyNames: ve, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, U = globalThis, qt = U.trustedTypes, ge = qt ? qt.emptyScript : "", $t = U.reactiveElementPolyfillSupport, ot = (o, t) => o,
|
|
48
|
+
const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnPropertyNames: ve, getOwnPropertySymbols: fe, getPrototypeOf: be } = Object, U = globalThis, qt = U.trustedTypes, ge = qt ? qt.emptyScript : "", $t = U.reactiveElementPolyfillSupport, ot = (o, t) => o, bt = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
o = o ? ge : null;
|
|
@@ -73,7 +73,7 @@ const { is: de, defineProperty: pe, getOwnPropertyDescriptor: ue, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} }, Ot = (o, t) => !de(o, t), Wt = { attribute: !0, type: String, converter:
|
|
76
|
+
} }, Ot = (o, t) => !de(o, t), Wt = { attribute: !0, type: String, converter: bt, reflect: !1, useDefault: !1, hasChanged: Ot };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), U.litPropertyMetadata ?? (U.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let J = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -184,7 +184,7 @@ let J = class extends HTMLElement {
|
|
|
184
184
|
var r;
|
|
185
185
|
const n = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, n);
|
|
186
186
|
if (i !== void 0 && n.reflect === !0) {
|
|
187
|
-
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter :
|
|
187
|
+
const s = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : bt).toAttribute(e, n.type);
|
|
188
188
|
this._$Em = t, s == null ? this.removeAttribute(i) : this.setAttribute(i, s), this._$Em = null;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ let J = class extends HTMLElement {
|
|
|
192
192
|
var r, s;
|
|
193
193
|
const n = this.constructor, i = n._$Eh.get(t);
|
|
194
194
|
if (i !== void 0 && this._$Em !== i) {
|
|
195
|
-
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter :
|
|
195
|
+
const h = n.getPropertyOptions(i), c = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter : bt;
|
|
196
196
|
this._$Em = i, this[i] = c.fromAttribute(e, h.type) ?? ((s = this._$Ej) == null ? void 0 : s.get(i)) ?? null, this._$Em = null;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -282,9 +282,9 @@ J.elementStyles = [], J.shadowRootOptions = { mode: "open" }, J[ot("elementPrope
|
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const it = globalThis,
|
|
285
|
+
const it = globalThis, gt = it.trustedTypes, Kt = gt ? gt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ie = "$lit$", j = `lit$${Math.random().toFixed(9).slice(2)}$`, ne = "?" + j, ye = `<${ne}>`, W = document, rt = () => W.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Bt = Array.isArray, me = (o) => Bt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", _t = `[
|
|
286
286
|
\f\r]`, et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gt = /-->/g, Xt = />/g, V = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Qt = /"/g, re = /^(?:script|style|textarea|title)$/i, xe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = xe(1),
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Jt = /'/g, Qt = /"/g, re = /^(?:script|style|textarea|title)$/i, xe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = xe(1), F = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Yt = /* @__PURE__ */ new WeakMap(), Z = W.createTreeWalker(W, 129);
|
|
288
288
|
function se(o, t) {
|
|
289
289
|
if (!Bt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return Kt !== void 0 ? Kt.createHTML(t) : t;
|
|
@@ -294,10 +294,10 @@ const we = (o, t) => {
|
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = et;
|
|
295
295
|
for (let h = 0; h < e; h++) {
|
|
296
296
|
const c = o[h];
|
|
297
|
-
let
|
|
298
|
-
for (;
|
|
299
|
-
const
|
|
300
|
-
r += s === et ? c + ye : p >= 0 ? (n.push(
|
|
297
|
+
let v, g, p = -1, $ = 0;
|
|
298
|
+
for (; $ < c.length && (s.lastIndex = $, g = s.exec(c), g !== null); ) $ = s.lastIndex, s === et ? g[1] === "!--" ? s = Gt : g[1] !== void 0 ? s = Xt : g[2] !== void 0 ? (re.test(g[2]) && (i = RegExp("</" + g[2], "g")), s = V) : g[3] !== void 0 && (s = V) : s === V ? g[0] === ">" ? (s = i ?? et, p = -1) : g[1] === void 0 ? p = -2 : (p = s.lastIndex - g[2].length, v = g[1], s = g[3] === void 0 ? V : g[3] === '"' ? Qt : Jt) : s === Qt || s === Jt ? s = V : s === Gt || s === Xt ? s = et : (s = V, i = void 0);
|
|
299
|
+
const E = s === V && o[h + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
r += s === et ? c + ye : p >= 0 ? (n.push(v), c.slice(0, p) + ie + c.slice(p) + j + E) : c + j + (p === -2 ? h : E);
|
|
301
301
|
}
|
|
302
302
|
return [se(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
@@ -306,23 +306,23 @@ class at {
|
|
|
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 = at.createElement(
|
|
309
|
+
const h = t.length - 1, c = this.parts, [v, g] = we(t, e);
|
|
310
|
+
if (this.el = at.createElement(v, n), Z.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const p = this.el.content.firstChild;
|
|
312
312
|
p.replaceWith(...p.childNodes);
|
|
313
313
|
}
|
|
314
314
|
for (; (i = Z.nextNode()) !== null && c.length < h; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
316
|
if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(ie)) {
|
|
317
|
-
const
|
|
318
|
-
c.push({ type: 1, index: r, name:
|
|
317
|
+
const $ = g[s++], E = i.getAttribute(p).split(j), vt = /([.?@])?(.*)/.exec($);
|
|
318
|
+
c.push({ type: 1, index: r, name: vt[2], strings: E, ctor: vt[1] === "." ? _e : vt[1] === "?" ? Ce : vt[1] === "@" ? ke : mt }), i.removeAttribute(p);
|
|
319
319
|
} else p.startsWith(j) && (c.push({ type: 6, index: r }), i.removeAttribute(p));
|
|
320
320
|
if (re.test(i.tagName)) {
|
|
321
|
-
const p = i.textContent.split(j),
|
|
322
|
-
if (
|
|
323
|
-
i.textContent =
|
|
324
|
-
for (let
|
|
325
|
-
i.append(p[
|
|
321
|
+
const p = i.textContent.split(j), $ = p.length - 1;
|
|
322
|
+
if ($ > 0) {
|
|
323
|
+
i.textContent = gt ? gt.emptyScript : "";
|
|
324
|
+
for (let E = 0; E < $; E++) i.append(p[E], rt()), Z.nextNode(), c.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(p[$], rt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (i.nodeType === 8) if (i.data === ne) c.push({ type: 2, index: r });
|
|
@@ -340,7 +340,7 @@ class at {
|
|
|
340
340
|
}
|
|
341
341
|
function Q(o, t, e = o, n) {
|
|
342
342
|
var s, h;
|
|
343
|
-
if (t ===
|
|
343
|
+
if (t === F) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
345
|
const r = st(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 = Q(o, i._$AS(o, t.values), i, n)), t;
|
|
@@ -361,8 +361,8 @@ class $e {
|
|
|
361
361
|
let r = Z.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 v;
|
|
365
|
+
c.type === 2 ? v = new pt(r, r.nextSibling, this, t) : c.type === 1 ? v = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (v = new Ae(r, this, t)), this._$AV.push(v), c = n[++h];
|
|
366
366
|
}
|
|
367
367
|
s !== (c == null ? void 0 : c.index) && (r = Z.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -393,7 +393,7 @@ class pt {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !==
|
|
396
|
+
t = Q(this, t, e), st(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== F && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : me(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -436,7 +436,7 @@ class pt {
|
|
|
436
436
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class mt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class yt {
|
|
|
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 = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !==
|
|
452
|
+
if (r === void 0) t = Q(this, t, e, 0), s = !st(t) || t !== this._$AH && t !== F, 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, v;
|
|
456
|
+
for (t = r[0], c = 0; c < r.length - 1; c++) v = Q(this, h[n + c], e, c), v === F && (v = this._$AH[c]), s || (s = !st(v) || v !== this._$AH[c]), v === d ? t = d : t !== d && (t += (v ?? "") + r[c + 1]), this._$AH[c] = v;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class yt {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class _e extends
|
|
464
|
+
class _e extends mt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class _e extends yt {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class Ce extends
|
|
472
|
+
class Ce extends mt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,12 +477,12 @@ class Ce extends yt {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class ke extends
|
|
480
|
+
class ke extends mt {
|
|
481
481
|
constructor(t, e, n, i, r) {
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, e = this) {
|
|
485
|
-
if ((t = Q(this, t, e, 0) ?? d) ===
|
|
485
|
+
if ((t = Q(this, t, e, 0) ?? d) === F) 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 Ee = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const q = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let f = class extends J {
|
|
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 J {
|
|
|
541
541
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
542
542
|
}
|
|
543
543
|
render() {
|
|
544
|
-
return
|
|
544
|
+
return F;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
var ee;
|
|
548
|
-
|
|
548
|
+
f._$litElement$ = !0, f.finalized = !0, (ee = q.litElementHydrateSupport) == null || ee.call(q, { LitElement: f });
|
|
549
549
|
const kt = q.litElementPolyfillSupport;
|
|
550
|
-
kt == null || kt({ LitElement:
|
|
550
|
+
kt == null || kt({ LitElement: f });
|
|
551
551
|
(q.litElementVersions ?? (q.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
@@ -564,7 +564,7 @@ const x = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const Se = { attribute: !0, type: String, converter:
|
|
567
|
+
const Se = { attribute: !0, type: String, converter: bt, reflect: !1, hasChanged: Ot }, Le = (o = Se, t, e) => {
|
|
568
568
|
const { kind: n, metadata: i } = e;
|
|
569
569
|
let r = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), n === "accessor") {
|
|
@@ -599,11 +599,11 @@ function a(o) {
|
|
|
599
599
|
function K(o) {
|
|
600
600
|
return a({ ...o, state: !0, attribute: !1 });
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const ut = y`
|
|
603
603
|
outline: 1px dashed var(--color-border-primary);
|
|
604
604
|
outline-offset: 2px;
|
|
605
605
|
`;
|
|
606
|
-
|
|
606
|
+
y`
|
|
607
607
|
:host * {
|
|
608
608
|
box-sizing: border-box;
|
|
609
609
|
}
|
|
@@ -673,10 +673,10 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
673
673
|
`, He = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
674
674
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM6.36554 11.5396V7.32718H6.97424L8 4.21467L9.02576 7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L8 10.3812L6.36554 11.5513V11.5396Z" fill="#3F2B2E"/>
|
|
675
675
|
</svg>
|
|
676
|
-
`,
|
|
676
|
+
`, Me = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
677
677
|
<path d="M15 6.39639H9.63446L8 1.4585L6.36554 6.39639H1L5.33977 9.4972L3.69404 14.4585L7.98873 11.3928L12.2834 14.4585L10.6377 9.4972L14.9775 6.39639H15ZM10.6715 12.2353L8.05636 10.3631V4.32528L9.03704 7.27398H12.2834L9.65701 9.14616L10.6715 12.2236V12.2353Z" fill="#3F2B2E"/>
|
|
678
678
|
</svg>
|
|
679
|
-
`,
|
|
679
|
+
`, Te = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
680
680
|
<path d="M15 6.43789H9.63446L8 1.5L6.36554 6.43789H1L5.33977 9.5387L3.69404 14.5L7.98873 11.4343L9.46538 12.4874L12.2834 14.5H12.306L10.6602 9.5387L15 6.43789ZM9.46538 11.4226V7.32718H12.2721L9.64573 9.19937L10.6602 12.2768L9.46538 11.4226Z" fill="#3F2B2E"/>
|
|
681
681
|
</svg>
|
|
682
682
|
`, je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -686,10 +686,10 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
686
686
|
<path d="M2 2L14 14" stroke="#3F2B2E"/>
|
|
687
687
|
<path d="M14 2L2 14" stroke="#3F2B2E"/>
|
|
688
688
|
</svg>
|
|
689
|
-
`,
|
|
689
|
+
`, Fe = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
690
690
|
<path d="M7.12506 1C10.5018 1 13.2509 3.74834 13.251 7.125C13.2511 8.59738 12.7172 10.0206 11.7491 11.1299L14.8731 14.2539C15.0433 14.4253 15.0435 14.7018 14.8731 14.873C14.7913 14.9555 14.6797 15.002 14.5635 15.002C14.4475 15.0019 14.3357 14.9554 14.254 14.873L11.1309 11.749C10.0555 12.6818 8.6564 13.251 7.12506 13.251C3.7484 13.2508 1.00006 10.5017 1.00006 7.125C1.00025 3.74846 3.74852 1.00019 7.12506 1ZM7.12506 1.875C4.22971 1.87522 1.87506 4.23058 1.87506 7.12598C1.87532 10.0212 4.22987 12.3758 7.12506 12.376C10.0204 12.376 12.3758 10.0213 12.376 7.12598C12.376 4.23044 10.0206 1.875 7.12506 1.875Z" fill="#3F2B2E"/>
|
|
691
691
|
</svg>
|
|
692
|
-
`,
|
|
692
|
+
`, Ne = `<?xml version="1.0" encoding="utf-8"?>
|
|
693
693
|
<!-- Generator: $$$/GeneralStr/196=Adobe Illustrator 27.6.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
694
694
|
<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"
|
|
695
695
|
viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;" xml:space="preserve">
|
|
@@ -747,15 +747,15 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
747
747
|
playerv: Oe,
|
|
748
748
|
chevronRight: Be,
|
|
749
749
|
chevronLeft: ze,
|
|
750
|
-
icoPlus:
|
|
750
|
+
icoPlus: Ne,
|
|
751
751
|
icoMinus: Re,
|
|
752
752
|
"star-0": De,
|
|
753
753
|
"star-25": He,
|
|
754
|
-
"star-50":
|
|
755
|
-
"star-75":
|
|
754
|
+
"star-50": Me,
|
|
755
|
+
"star-75": Te,
|
|
756
756
|
"star-100": je,
|
|
757
757
|
cross: Ue,
|
|
758
|
-
search:
|
|
758
|
+
search: Fe,
|
|
759
759
|
arrowLeft: Ve,
|
|
760
760
|
arrowTop: Ze,
|
|
761
761
|
cart: qe,
|
|
@@ -774,8 +774,8 @@ const Ie = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
774
774
|
* Copyright 2017 Google LLC
|
|
775
775
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
776
776
|
*/
|
|
777
|
-
const Ht = { ATTRIBUTE: 1, CHILD: 2 },
|
|
778
|
-
let
|
|
777
|
+
const Ht = { ATTRIBUTE: 1, CHILD: 2 }, Mt = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
778
|
+
let Tt = class {
|
|
779
779
|
constructor(t) {
|
|
780
780
|
}
|
|
781
781
|
get _$AU() {
|
|
@@ -796,13 +796,13 @@ let Mt = class {
|
|
|
796
796
|
* Copyright 2017 Google LLC
|
|
797
797
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
798
798
|
*/
|
|
799
|
-
class Et extends
|
|
799
|
+
class Et extends Tt {
|
|
800
800
|
constructor(t) {
|
|
801
801
|
if (super(t), this.it = d, t.type !== Ht.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
802
802
|
}
|
|
803
803
|
render(t) {
|
|
804
804
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
805
|
-
if (t ===
|
|
805
|
+
if (t === F) return t;
|
|
806
806
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
807
807
|
if (t === this.it) return this._t;
|
|
808
808
|
this.it = t;
|
|
@@ -819,14 +819,14 @@ Et.directiveName = "unsafeHTML", Et.resultType = 1;
|
|
|
819
819
|
class St extends Et {
|
|
820
820
|
}
|
|
821
821
|
St.directiveName = "unsafeSVG", St.resultType = 2;
|
|
822
|
-
const
|
|
822
|
+
const I = Mt(St);
|
|
823
823
|
var oo = Object.defineProperty, io = Object.getOwnPropertyDescriptor, w = (o, t, e, n) => {
|
|
824
824
|
for (var i = n > 1 ? void 0 : n ? io(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
825
825
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
826
826
|
return n && i && oo(t, e, i), i;
|
|
827
827
|
};
|
|
828
|
-
const no = Dt(
|
|
829
|
-
let
|
|
828
|
+
const no = Dt(f);
|
|
829
|
+
let b = class extends no {
|
|
830
830
|
constructor() {
|
|
831
831
|
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;
|
|
832
832
|
}
|
|
@@ -855,7 +855,7 @@ let f = class extends no {
|
|
|
855
855
|
"<svg",
|
|
856
856
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
857
857
|
);
|
|
858
|
-
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${
|
|
858
|
+
return l`<span class="${o === "start" ? "icon-start" : "icon-end"}">${I(e)}</span>`;
|
|
859
859
|
}
|
|
860
860
|
renderButton() {
|
|
861
861
|
const o = this.text || this.textsecond;
|
|
@@ -889,9 +889,9 @@ let f = class extends no {
|
|
|
889
889
|
`;
|
|
890
890
|
}
|
|
891
891
|
};
|
|
892
|
-
Pe(
|
|
893
|
-
|
|
894
|
-
|
|
892
|
+
Pe(b);
|
|
893
|
+
b.formAssociated = !0;
|
|
894
|
+
b.styles = y`
|
|
895
895
|
:host {
|
|
896
896
|
--button-border: transparent;
|
|
897
897
|
cursor: pointer;
|
|
@@ -1007,7 +1007,7 @@ f.styles = b`
|
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
1009
|
.button:focus-visible {
|
|
1010
|
-
${
|
|
1010
|
+
${ut};
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
span.text + span.text::before {
|
|
@@ -1082,58 +1082,58 @@ f.styles = b`
|
|
|
1082
1082
|
`;
|
|
1083
1083
|
w([
|
|
1084
1084
|
a()
|
|
1085
|
-
],
|
|
1085
|
+
], b.prototype, "type", 2);
|
|
1086
1086
|
w([
|
|
1087
1087
|
a({ reflect: !0 })
|
|
1088
|
-
],
|
|
1088
|
+
], b.prototype, "value", 2);
|
|
1089
1089
|
w([
|
|
1090
1090
|
a({ type: String, reflect: !0 })
|
|
1091
|
-
],
|
|
1091
|
+
], b.prototype, "variant", 2);
|
|
1092
1092
|
w([
|
|
1093
1093
|
a({ type: String })
|
|
1094
|
-
],
|
|
1094
|
+
], b.prototype, "text", 2);
|
|
1095
1095
|
w([
|
|
1096
1096
|
a({ type: String })
|
|
1097
|
-
],
|
|
1097
|
+
], b.prototype, "textsecond", 2);
|
|
1098
1098
|
w([
|
|
1099
1099
|
a({ type: Boolean, reflect: !0 })
|
|
1100
|
-
],
|
|
1100
|
+
], b.prototype, "fullwidth", 2);
|
|
1101
1101
|
w([
|
|
1102
1102
|
a({ type: Boolean, reflect: !0 })
|
|
1103
|
-
],
|
|
1103
|
+
], b.prototype, "disabled", 2);
|
|
1104
1104
|
w([
|
|
1105
1105
|
a({ type: String, reflect: !0 })
|
|
1106
|
-
],
|
|
1106
|
+
], b.prototype, "startIconModel", 2);
|
|
1107
1107
|
w([
|
|
1108
1108
|
a({ type: String, reflect: !0 })
|
|
1109
|
-
],
|
|
1109
|
+
], b.prototype, "endIconModel", 2);
|
|
1110
1110
|
w([
|
|
1111
1111
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
1112
|
-
],
|
|
1112
|
+
], b.prototype, "startIcon", 2);
|
|
1113
1113
|
w([
|
|
1114
1114
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
1115
|
-
],
|
|
1115
|
+
], b.prototype, "endIcon", 2);
|
|
1116
1116
|
w([
|
|
1117
1117
|
a({ type: String, attribute: "paneltarget", reflect: !0 })
|
|
1118
|
-
],
|
|
1118
|
+
], b.prototype, "panelTarget", 2);
|
|
1119
1119
|
w([
|
|
1120
1120
|
a({ type: String })
|
|
1121
|
-
],
|
|
1121
|
+
], b.prototype, "href", 2);
|
|
1122
1122
|
w([
|
|
1123
1123
|
a({ type: String })
|
|
1124
|
-
],
|
|
1124
|
+
], b.prototype, "target", 2);
|
|
1125
1125
|
w([
|
|
1126
1126
|
a({ type: Boolean, reflect: !0 })
|
|
1127
|
-
],
|
|
1128
|
-
|
|
1127
|
+
], b.prototype, "underlined", 2);
|
|
1128
|
+
b = w([
|
|
1129
1129
|
x("o-button")
|
|
1130
|
-
],
|
|
1130
|
+
], b);
|
|
1131
1131
|
var ro = Object.defineProperty, so = Object.getOwnPropertyDescriptor, xt = (o, t, e, n) => {
|
|
1132
1132
|
for (var i = n > 1 ? void 0 : n ? so(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1133
1133
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1134
1134
|
return n && i && ro(t, e, i), i;
|
|
1135
1135
|
};
|
|
1136
|
-
let Y = class extends
|
|
1136
|
+
let Y = class extends f {
|
|
1137
1137
|
constructor() {
|
|
1138
1138
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
1139
1139
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -1160,7 +1160,7 @@ let Y = class extends u {
|
|
|
1160
1160
|
return l`
|
|
1161
1161
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
1162
1162
|
<span class="sr-only">${this.label}</span>
|
|
1163
|
-
${
|
|
1163
|
+
${I(o)}
|
|
1164
1164
|
</button>
|
|
1165
1165
|
`;
|
|
1166
1166
|
}
|
|
@@ -1174,7 +1174,7 @@ let Y = class extends u {
|
|
|
1174
1174
|
this.label = o, this.requestUpdate();
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
|
-
Y.styles =
|
|
1177
|
+
Y.styles = y`
|
|
1178
1178
|
:host {
|
|
1179
1179
|
display: inline-flex;
|
|
1180
1180
|
justify-content: center;
|
|
@@ -1257,13 +1257,13 @@ Y = xt([
|
|
|
1257
1257
|
* Copyright 2018 Google LLC
|
|
1258
1258
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1259
1259
|
*/
|
|
1260
|
-
const
|
|
1261
|
-
var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor,
|
|
1260
|
+
const _ = (o) => o ?? d;
|
|
1261
|
+
var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, B = (o, t, e, n) => {
|
|
1262
1262
|
for (var i = n > 1 ? void 0 : n ? lo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1263
1263
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1264
1264
|
return n && i && ao(t, e, i), i;
|
|
1265
1265
|
};
|
|
1266
|
-
let
|
|
1266
|
+
let C = class extends f {
|
|
1267
1267
|
constructor() {
|
|
1268
1268
|
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 = "";
|
|
1269
1269
|
}
|
|
@@ -1278,27 +1278,28 @@ let _ = class extends u {
|
|
|
1278
1278
|
return l`
|
|
1279
1279
|
${this.type === "span" ? l`
|
|
1280
1280
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}" ?disabled="${this.disabled}">
|
|
1281
|
-
${
|
|
1281
|
+
${I(e)}
|
|
1282
1282
|
</span>
|
|
1283
1283
|
` : l`
|
|
1284
1284
|
<button
|
|
1285
1285
|
type="button"
|
|
1286
|
-
aria-label=${
|
|
1286
|
+
aria-label=${_(i)}
|
|
1287
1287
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${t}"
|
|
1288
1288
|
?disabled="${this.disabled}"
|
|
1289
1289
|
>
|
|
1290
|
-
${
|
|
1290
|
+
${I(e)}
|
|
1291
1291
|
${n}
|
|
1292
1292
|
</button>
|
|
1293
1293
|
`}
|
|
1294
1294
|
`;
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
1297
|
-
|
|
1297
|
+
C.styles = y`
|
|
1298
1298
|
:host {
|
|
1299
1299
|
display: inline-flex;
|
|
1300
1300
|
justify-content: center;
|
|
1301
1301
|
align-items: center;
|
|
1302
|
+
outline: none !important;
|
|
1302
1303
|
}
|
|
1303
1304
|
|
|
1304
1305
|
.icon-button {
|
|
@@ -1498,49 +1499,49 @@ _.styles = b`
|
|
|
1498
1499
|
}
|
|
1499
1500
|
|
|
1500
1501
|
.icon-button:focus-visible {
|
|
1501
|
-
|
|
1502
|
+
${ut}
|
|
1502
1503
|
}
|
|
1503
1504
|
|
|
1504
1505
|
.sr-only {
|
|
1505
1506
|
display: none;
|
|
1506
1507
|
}
|
|
1507
1508
|
`;
|
|
1508
|
-
|
|
1509
|
+
B([
|
|
1509
1510
|
a({ type: String, reflect: !0 })
|
|
1510
|
-
],
|
|
1511
|
-
|
|
1511
|
+
], C.prototype, "bgstyle", 2);
|
|
1512
|
+
B([
|
|
1512
1513
|
a({ type: String, reflect: !0 })
|
|
1513
|
-
],
|
|
1514
|
-
|
|
1514
|
+
], C.prototype, "size", 2);
|
|
1515
|
+
B([
|
|
1515
1516
|
a({ type: String, reflect: !0 })
|
|
1516
|
-
],
|
|
1517
|
-
|
|
1517
|
+
], C.prototype, "status", 2);
|
|
1518
|
+
B([
|
|
1518
1519
|
a({ type: String, reflect: !0 })
|
|
1519
|
-
],
|
|
1520
|
-
|
|
1520
|
+
], C.prototype, "type", 2);
|
|
1521
|
+
B([
|
|
1521
1522
|
a({ type: String })
|
|
1522
|
-
],
|
|
1523
|
-
|
|
1523
|
+
], C.prototype, "strokewidth", 2);
|
|
1524
|
+
B([
|
|
1524
1525
|
a({ type: String })
|
|
1525
|
-
],
|
|
1526
|
-
|
|
1526
|
+
], C.prototype, "icon", 2);
|
|
1527
|
+
B([
|
|
1527
1528
|
a({ type: Boolean, reflect: !0 })
|
|
1528
|
-
],
|
|
1529
|
-
|
|
1529
|
+
], C.prototype, "disabled", 2);
|
|
1530
|
+
B([
|
|
1530
1531
|
a({ type: Boolean })
|
|
1531
|
-
],
|
|
1532
|
-
|
|
1532
|
+
], C.prototype, "showSrLabel", 2);
|
|
1533
|
+
B([
|
|
1533
1534
|
a({ type: String })
|
|
1534
|
-
],
|
|
1535
|
-
|
|
1535
|
+
], C.prototype, "srLabel", 2);
|
|
1536
|
+
C = B([
|
|
1536
1537
|
x("o-icon-button")
|
|
1537
|
-
],
|
|
1538
|
+
], C);
|
|
1538
1539
|
var co = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
1539
1540
|
for (var i = n > 1 ? void 0 : n ? ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1540
1541
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1541
1542
|
return n && i && co(t, e, i), i;
|
|
1542
1543
|
};
|
|
1543
|
-
let
|
|
1544
|
+
let D = class extends f {
|
|
1544
1545
|
constructor() {
|
|
1545
1546
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
1546
1547
|
}
|
|
@@ -1552,7 +1553,7 @@ let z = class extends u {
|
|
|
1552
1553
|
return l`
|
|
1553
1554
|
<a
|
|
1554
1555
|
href="${o}"
|
|
1555
|
-
target="${
|
|
1556
|
+
target="${_(this.target || void 0)}"
|
|
1556
1557
|
@click="${this._handleClick}"
|
|
1557
1558
|
>
|
|
1558
1559
|
${this.endIcon && this.reverseEndIcon ? l`
|
|
@@ -1578,7 +1579,7 @@ let z = class extends u {
|
|
|
1578
1579
|
`;
|
|
1579
1580
|
}
|
|
1580
1581
|
};
|
|
1581
|
-
|
|
1582
|
+
D.styles = y`
|
|
1582
1583
|
:host([template="standard"]) a {
|
|
1583
1584
|
color: var(--color-content-action-secondary);
|
|
1584
1585
|
font-size: var(--font-size-200);
|
|
@@ -1668,31 +1669,31 @@ z.styles = b`
|
|
|
1668
1669
|
`;
|
|
1669
1670
|
X([
|
|
1670
1671
|
a({ type: String })
|
|
1671
|
-
],
|
|
1672
|
+
], D.prototype, "href", 2);
|
|
1672
1673
|
X([
|
|
1673
1674
|
a({ type: String })
|
|
1674
|
-
],
|
|
1675
|
+
], D.prototype, "target", 2);
|
|
1675
1676
|
X([
|
|
1676
1677
|
a({ type: String, reflect: !0 })
|
|
1677
|
-
],
|
|
1678
|
+
], D.prototype, "template", 2);
|
|
1678
1679
|
X([
|
|
1679
1680
|
a({ type: Boolean, reflect: !0 })
|
|
1680
|
-
],
|
|
1681
|
+
], D.prototype, "inverse", 2);
|
|
1681
1682
|
X([
|
|
1682
1683
|
a({ type: Boolean, reflect: !0 })
|
|
1683
|
-
],
|
|
1684
|
+
], D.prototype, "endIcon", 2);
|
|
1684
1685
|
X([
|
|
1685
1686
|
a({ type: Boolean, reflect: !0 })
|
|
1686
|
-
],
|
|
1687
|
-
|
|
1687
|
+
], D.prototype, "reverseEndIcon", 2);
|
|
1688
|
+
D = X([
|
|
1688
1689
|
x("o-link")
|
|
1689
|
-
],
|
|
1690
|
+
], D);
|
|
1690
1691
|
var po = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, wt = (o, t, e, n) => {
|
|
1691
1692
|
for (var i = n > 1 ? void 0 : n ? uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1692
1693
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1693
1694
|
return n && i && po(t, e, i), i;
|
|
1694
1695
|
};
|
|
1695
|
-
let tt = class extends
|
|
1696
|
+
let tt = class extends f {
|
|
1696
1697
|
constructor() {
|
|
1697
1698
|
super(...arguments), this.rating = 0;
|
|
1698
1699
|
}
|
|
@@ -1711,7 +1712,7 @@ let tt = class extends u {
|
|
|
1711
1712
|
<div class="rating">
|
|
1712
1713
|
<div class="stars">
|
|
1713
1714
|
${o.map(
|
|
1714
|
-
(t) => l`<span class="star">${
|
|
1715
|
+
(t) => l`<span class="star">${I(G[t] ?? "")}</span>`
|
|
1715
1716
|
)}
|
|
1716
1717
|
</div>
|
|
1717
1718
|
${this.reviewCount != null && this.href != null ? l`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -1719,7 +1720,7 @@ let tt = class extends u {
|
|
|
1719
1720
|
`;
|
|
1720
1721
|
}
|
|
1721
1722
|
};
|
|
1722
|
-
tt.styles =
|
|
1723
|
+
tt.styles = y`
|
|
1723
1724
|
svg {
|
|
1724
1725
|
width: 12px;
|
|
1725
1726
|
height: 12px;
|
|
@@ -1782,7 +1783,7 @@ const nt = (o, t) => {
|
|
|
1782
1783
|
if (e === void 0) return !1;
|
|
1783
1784
|
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), nt(i, t);
|
|
1784
1785
|
return !0;
|
|
1785
|
-
},
|
|
1786
|
+
}, yt = (o) => {
|
|
1786
1787
|
let t, e;
|
|
1787
1788
|
do {
|
|
1788
1789
|
if ((t = o._$AM) === void 0) break;
|
|
@@ -1797,18 +1798,18 @@ const nt = (o, t) => {
|
|
|
1797
1798
|
}
|
|
1798
1799
|
};
|
|
1799
1800
|
function fo(o) {
|
|
1800
|
-
this._$AN !== void 0 ? (
|
|
1801
|
+
this._$AN !== void 0 ? (yt(this), this._$AM = o, ae(this)) : this._$AM = o;
|
|
1801
1802
|
}
|
|
1802
1803
|
function bo(o, t = !1, e = 0) {
|
|
1803
1804
|
const n = this._$AH, i = this._$AN;
|
|
1804
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1),
|
|
1805
|
-
else n != null && (nt(n, !1),
|
|
1805
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) nt(n[r], !1), yt(n[r]);
|
|
1806
|
+
else n != null && (nt(n, !1), yt(n));
|
|
1806
1807
|
else nt(this, o);
|
|
1807
1808
|
}
|
|
1808
1809
|
const go = (o) => {
|
|
1809
1810
|
o.type == Ht.CHILD && (o._$AP ?? (o._$AP = bo), o._$AQ ?? (o._$AQ = fo));
|
|
1810
1811
|
};
|
|
1811
|
-
class yo extends
|
|
1812
|
+
class yo extends Tt {
|
|
1812
1813
|
constructor() {
|
|
1813
1814
|
super(...arguments), this._$AN = void 0;
|
|
1814
1815
|
}
|
|
@@ -1817,7 +1818,7 @@ class yo extends Mt {
|
|
|
1817
1818
|
}
|
|
1818
1819
|
_$AO(t, e = !0) {
|
|
1819
1820
|
var n, i;
|
|
1820
|
-
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t),
|
|
1821
|
+
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (nt(this, t), yt(this));
|
|
1821
1822
|
}
|
|
1822
1823
|
setValue(t) {
|
|
1823
1824
|
if (vo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -1951,51 +1952,66 @@ class wo extends xo {
|
|
|
1951
1952
|
}
|
|
1952
1953
|
}
|
|
1953
1954
|
}
|
|
1954
|
-
const te =
|
|
1955
|
-
var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor,
|
|
1955
|
+
const te = Mt(wo);
|
|
1956
|
+
var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, m = (o, t, e, n) => {
|
|
1956
1957
|
for (var i = n > 1 ? void 0 : n ? _o(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1957
1958
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1958
1959
|
return n && i && $o(t, e, i), i;
|
|
1959
1960
|
};
|
|
1960
|
-
let
|
|
1961
|
+
let u = class extends f {
|
|
1961
1962
|
constructor() {
|
|
1962
|
-
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) => {
|
|
1963
|
+
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.innerFocusedElement = null, this.handleKeyDown = (o) => {
|
|
1963
1964
|
this.open && (o.key === "Escape" ? this.closePanel() : o.key === "Tab" && this.trapFocus(o));
|
|
1964
1965
|
}, this.handleClosePanel = (o) => {
|
|
1965
1966
|
o instanceof KeyboardEvent && o.key !== "Enter" && o.key !== " " || (o.preventDefault(), o.stopPropagation(), this.closePanel());
|
|
1966
1967
|
};
|
|
1967
1968
|
}
|
|
1968
1969
|
connectedCallback() {
|
|
1969
|
-
super.connectedCallback(), !this.disablePortal && this.parentElement !== document.body && document.body.appendChild(this),
|
|
1970
|
+
super.connectedCallback(), !this.disablePortal && this.parentElement !== document.body && document.body.appendChild(this), this.addEventListener("keydown", this.handleKeyDown), this.updateComplete.then(() => {
|
|
1970
1971
|
this.initialized = !0;
|
|
1971
1972
|
});
|
|
1972
1973
|
}
|
|
1973
1974
|
disconnectedCallback() {
|
|
1974
|
-
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"),
|
|
1975
|
+
document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback();
|
|
1975
1976
|
}
|
|
1976
1977
|
trapFocus(o) {
|
|
1978
|
+
var i, r, s, h, c, v, g, p, $, E;
|
|
1979
|
+
this.innerFocusedElement = document.activeElement || null, this.innerFocusedElement = ((r = (i = this.innerFocusedElement) == null ? void 0 : i.shadowRoot) == null ? void 0 : r.activeElement) || this.innerFocusedElement;
|
|
1977
1980
|
const t = this.getFocusableElements();
|
|
1978
1981
|
if (t.length === 0) return;
|
|
1979
1982
|
const e = t[0], n = t[t.length - 1];
|
|
1980
|
-
o.shiftKey &&
|
|
1983
|
+
o.shiftKey && this.innerFocusedElement === e ? (o.preventDefault(), n.shadowRoot ? (c = (h = (s = n.shadowRoot) == null ? void 0 : s.querySelector(u.focusablesSelector)) == null ? void 0 : h.focus) == null || c.call(h) : (v = n.focus) == null || v.call(n)) : !o.shiftKey && this.innerFocusedElement === n && (o.preventDefault(), e.shadowRoot ? ($ = (p = (g = e.shadowRoot) == null ? void 0 : g.querySelector(u.focusablesSelector)) == null ? void 0 : p.focus) == null || $.call(p) : (E = e.focus) == null || E.call(e));
|
|
1981
1984
|
}
|
|
1982
1985
|
getFocusableElements() {
|
|
1983
1986
|
const o = this.renderRoot.querySelector(".panel");
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1987
|
+
if (!o) return [];
|
|
1988
|
+
function t(i) {
|
|
1989
|
+
return !(i.disabled || i.hasAttribute("disabled") || i.hasAttribute("tabindex") && i.getAttribute("tabindex") === "-1");
|
|
1990
|
+
}
|
|
1991
|
+
function e(i) {
|
|
1992
|
+
var s;
|
|
1993
|
+
const r = [i.matches(u.focusablesSelector) ? i : []];
|
|
1994
|
+
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
1995
|
+
const h = Array.from(
|
|
1996
|
+
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
1997
|
+
).filter(t).flatMap(e), c = Array.from(
|
|
1998
|
+
((s = i.shadowRoot) == null ? void 0 : s.querySelectorAll("*")) || []
|
|
1999
|
+
).filter(t).flatMap(e);
|
|
2000
|
+
r.push(...h, ...c);
|
|
2001
|
+
}
|
|
2002
|
+
return r.flat();
|
|
2003
|
+
}
|
|
2004
|
+
return Array.from(o.querySelectorAll("*")).filter(t).flatMap(e);
|
|
1989
2005
|
}
|
|
1990
2006
|
openPanel() {
|
|
1991
2007
|
this.previousFocusedElement = document.activeElement, this.open = !0, document.body.style.overflow = "hidden", document.body.setAttribute("data-side-panel", "open"), this.updateComplete.then(() => {
|
|
1992
|
-
var o, t, e;
|
|
2008
|
+
var o, t, e, n;
|
|
1993
2009
|
if (this.showHeader) {
|
|
1994
|
-
const
|
|
1995
|
-
|
|
2010
|
+
const i = ((o = this.shadowRoot) == null ? void 0 : o.querySelector(".panel .close-btn")) || null, r = ((t = i == null ? void 0 : i.shadowRoot) == null ? void 0 : t.querySelector("button")) || null;
|
|
2011
|
+
r && ((e = r.focus) == null || e.call(r));
|
|
1996
2012
|
} else {
|
|
1997
|
-
const
|
|
1998
|
-
n == null || n.
|
|
2013
|
+
const i = this.getFocusableElements()[0];
|
|
2014
|
+
(n = i == null ? void 0 : i.focus) == null || n.call(i);
|
|
1999
2015
|
}
|
|
2000
2016
|
}), this.dispatchEvent(
|
|
2001
2017
|
new CustomEvent("open", { bubbles: !0, composed: !0 })
|
|
@@ -2091,7 +2107,7 @@ let v = class extends u {
|
|
|
2091
2107
|
`;
|
|
2092
2108
|
}
|
|
2093
2109
|
};
|
|
2094
|
-
|
|
2110
|
+
u.styles = y`
|
|
2095
2111
|
:host {
|
|
2096
2112
|
--z-overlay: 99;
|
|
2097
2113
|
--z-panel: 100;
|
|
@@ -2195,7 +2211,7 @@ v.styles = b`
|
|
|
2195
2211
|
.panel:focus-visible,
|
|
2196
2212
|
.close-btn:focus,
|
|
2197
2213
|
.close-btn:focus-visible {
|
|
2198
|
-
${
|
|
2214
|
+
${ut}
|
|
2199
2215
|
}
|
|
2200
2216
|
|
|
2201
2217
|
.content {
|
|
@@ -2240,69 +2256,71 @@ v.styles = b`
|
|
|
2240
2256
|
}
|
|
2241
2257
|
}
|
|
2242
2258
|
`;
|
|
2243
|
-
|
|
2259
|
+
u.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
2260
|
+
u.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
2261
|
+
m([
|
|
2244
2262
|
a({ type: Boolean, reflect: !0 })
|
|
2245
|
-
],
|
|
2246
|
-
|
|
2263
|
+
], u.prototype, "open", 2);
|
|
2264
|
+
m([
|
|
2247
2265
|
a({ type: Boolean, reflect: !0 })
|
|
2248
|
-
],
|
|
2249
|
-
|
|
2266
|
+
], u.prototype, "showHeader", 2);
|
|
2267
|
+
m([
|
|
2250
2268
|
a({ type: Boolean, reflect: !0 })
|
|
2251
|
-
],
|
|
2252
|
-
|
|
2269
|
+
], u.prototype, "showFooter", 2);
|
|
2270
|
+
m([
|
|
2253
2271
|
a({ type: Boolean, reflect: !0 })
|
|
2254
|
-
],
|
|
2255
|
-
|
|
2272
|
+
], u.prototype, "showHeaderStartIcon", 2);
|
|
2273
|
+
m([
|
|
2256
2274
|
a({ type: String, reflect: !0 })
|
|
2257
|
-
],
|
|
2258
|
-
|
|
2275
|
+
], u.prototype, "headerTitle", 2);
|
|
2276
|
+
m([
|
|
2259
2277
|
a({ type: String, reflect: !0 })
|
|
2260
|
-
],
|
|
2261
|
-
|
|
2278
|
+
], u.prototype, "headerTitleClassName", 2);
|
|
2279
|
+
m([
|
|
2262
2280
|
a({ type: String, reflect: !0 })
|
|
2263
|
-
],
|
|
2264
|
-
|
|
2281
|
+
], u.prototype, "closeButtonLabel", 2);
|
|
2282
|
+
m([
|
|
2265
2283
|
a({ type: String, reflect: !0 })
|
|
2266
|
-
],
|
|
2267
|
-
|
|
2284
|
+
], u.prototype, "firstButtonLabel", 2);
|
|
2285
|
+
m([
|
|
2268
2286
|
a({ type: String, reflect: !0 })
|
|
2269
|
-
],
|
|
2270
|
-
|
|
2287
|
+
], u.prototype, "firstButtonVariant", 2);
|
|
2288
|
+
m([
|
|
2271
2289
|
a({ type: Object, reflect: !0 })
|
|
2272
|
-
],
|
|
2273
|
-
|
|
2290
|
+
], u.prototype, "firstButtonProps", 2);
|
|
2291
|
+
m([
|
|
2274
2292
|
a({ type: Boolean, reflect: !0 })
|
|
2275
|
-
],
|
|
2276
|
-
|
|
2293
|
+
], u.prototype, "onFirstButtonClickClose", 2);
|
|
2294
|
+
m([
|
|
2277
2295
|
a({ type: String, reflect: !0 })
|
|
2278
|
-
],
|
|
2279
|
-
|
|
2296
|
+
], u.prototype, "secondButtonLabel", 2);
|
|
2297
|
+
m([
|
|
2280
2298
|
a({ type: String, reflect: !0 })
|
|
2281
|
-
],
|
|
2282
|
-
|
|
2299
|
+
], u.prototype, "secondButtonVariant", 2);
|
|
2300
|
+
m([
|
|
2283
2301
|
a({ type: Object, reflect: !0 })
|
|
2284
|
-
],
|
|
2285
|
-
|
|
2302
|
+
], u.prototype, "secondButtonProps", 2);
|
|
2303
|
+
m([
|
|
2286
2304
|
a({ type: Boolean, reflect: !0 })
|
|
2287
|
-
],
|
|
2288
|
-
|
|
2305
|
+
], u.prototype, "onSecondButtonClickClose", 2);
|
|
2306
|
+
m([
|
|
2289
2307
|
a({ type: Boolean, reflect: !0 })
|
|
2290
|
-
],
|
|
2291
|
-
|
|
2308
|
+
], u.prototype, "disablePortal", 2);
|
|
2309
|
+
m([
|
|
2292
2310
|
a({ type: Number, reflect: !0 })
|
|
2293
|
-
],
|
|
2294
|
-
|
|
2311
|
+
], u.prototype, "zIndex", 2);
|
|
2312
|
+
m([
|
|
2295
2313
|
a({ type: Boolean, reflect: !0 })
|
|
2296
|
-
],
|
|
2297
|
-
|
|
2314
|
+
], u.prototype, "initialized", 2);
|
|
2315
|
+
u = m([
|
|
2298
2316
|
x("o-side-panel")
|
|
2299
|
-
],
|
|
2300
|
-
var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor,
|
|
2317
|
+
], u);
|
|
2318
|
+
var Co = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
2301
2319
|
for (var i = n > 1 ? void 0 : n ? ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2302
2320
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2303
2321
|
return n && i && Co(t, e, i), i;
|
|
2304
2322
|
};
|
|
2305
|
-
let
|
|
2323
|
+
let O = class extends f {
|
|
2306
2324
|
constructor() {
|
|
2307
2325
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2308
2326
|
<o-icon-button
|
|
@@ -2379,7 +2397,7 @@ let P = class extends u {
|
|
|
2379
2397
|
`;
|
|
2380
2398
|
}
|
|
2381
2399
|
};
|
|
2382
|
-
|
|
2400
|
+
O.styles = y`
|
|
2383
2401
|
:host {
|
|
2384
2402
|
display: flex;
|
|
2385
2403
|
gap: 5px;
|
|
@@ -2485,36 +2503,36 @@ P.styles = b`
|
|
|
2485
2503
|
width: 0;
|
|
2486
2504
|
}
|
|
2487
2505
|
`;
|
|
2488
|
-
|
|
2506
|
+
N([
|
|
2489
2507
|
a({ type: Array })
|
|
2490
|
-
],
|
|
2491
|
-
|
|
2508
|
+
], O.prototype, "thumbnails", 2);
|
|
2509
|
+
N([
|
|
2492
2510
|
a({ type: Number })
|
|
2493
|
-
],
|
|
2494
|
-
|
|
2511
|
+
], O.prototype, "activeIndex", 2);
|
|
2512
|
+
N([
|
|
2495
2513
|
a({ type: Array })
|
|
2496
|
-
],
|
|
2497
|
-
|
|
2514
|
+
], O.prototype, "disabledIndexes", 2);
|
|
2515
|
+
N([
|
|
2498
2516
|
a({ type: String })
|
|
2499
|
-
],
|
|
2500
|
-
|
|
2517
|
+
], O.prototype, "maxWidth", 2);
|
|
2518
|
+
N([
|
|
2501
2519
|
a({ type: String })
|
|
2502
|
-
],
|
|
2503
|
-
|
|
2520
|
+
], O.prototype, "altressource", 2);
|
|
2521
|
+
N([
|
|
2504
2522
|
a({ type: Object })
|
|
2505
|
-
],
|
|
2506
|
-
|
|
2523
|
+
], O.prototype, "swiperInstance", 2);
|
|
2524
|
+
N([
|
|
2507
2525
|
K()
|
|
2508
|
-
],
|
|
2509
|
-
|
|
2526
|
+
], O.prototype, "focusedIndex", 2);
|
|
2527
|
+
O = N([
|
|
2510
2528
|
x("thumbnail-navigation")
|
|
2511
|
-
],
|
|
2529
|
+
], O);
|
|
2512
2530
|
var Ao = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, jt = (o, t, e, n) => {
|
|
2513
2531
|
for (var i = n > 1 ? void 0 : n ? Eo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2514
2532
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2515
2533
|
return n && i && Ao(t, e, i), i;
|
|
2516
2534
|
};
|
|
2517
|
-
let lt = class extends
|
|
2535
|
+
let lt = class extends f {
|
|
2518
2536
|
constructor() {
|
|
2519
2537
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2520
2538
|
}
|
|
@@ -2524,7 +2542,7 @@ let lt = class extends u {
|
|
|
2524
2542
|
`;
|
|
2525
2543
|
}
|
|
2526
2544
|
};
|
|
2527
|
-
lt.styles =
|
|
2545
|
+
lt.styles = y`
|
|
2528
2546
|
.tag {
|
|
2529
2547
|
display: inline-block;
|
|
2530
2548
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2535,13 +2553,6 @@ lt.styles = b`
|
|
|
2535
2553
|
font-family: var(--font-family-loccitane-sans);
|
|
2536
2554
|
letter-spacing: var(--letter-spacing-400);
|
|
2537
2555
|
position: relative;
|
|
2538
|
-
|
|
2539
|
-
@media (max-width: 375px) {
|
|
2540
|
-
overflow: hidden;
|
|
2541
|
-
white-space: nowrap;
|
|
2542
|
-
text-overflow: ellipsis;
|
|
2543
|
-
max-width: 19ch;
|
|
2544
|
-
}
|
|
2545
2556
|
}
|
|
2546
2557
|
|
|
2547
2558
|
.tag.background-emphasis {
|
|
@@ -2579,6 +2590,15 @@ lt.styles = b`
|
|
|
2579
2590
|
background-color: var(--color-content-success);
|
|
2580
2591
|
}
|
|
2581
2592
|
|
|
2593
|
+
:host(:not([type$="percentage"])) .tag, {
|
|
2594
|
+
@media (max-width: 375px) {
|
|
2595
|
+
overflow: hidden;
|
|
2596
|
+
white-space: nowrap;
|
|
2597
|
+
text-overflow: ellipsis;
|
|
2598
|
+
max-width: 19ch;
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2582
2602
|
`;
|
|
2583
2603
|
jt([
|
|
2584
2604
|
a({ type: String, reflect: !0 })
|
|
@@ -2594,7 +2614,7 @@ var So = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ut = (o, t
|
|
|
2594
2614
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2595
2615
|
return n && i && So(t, e, i), i;
|
|
2596
2616
|
};
|
|
2597
|
-
let ct = class extends
|
|
2617
|
+
let ct = class extends f {
|
|
2598
2618
|
constructor() {
|
|
2599
2619
|
super(...arguments), this.type = "top", this.text = "";
|
|
2600
2620
|
}
|
|
@@ -2607,7 +2627,7 @@ let ct = class extends u {
|
|
|
2607
2627
|
`;
|
|
2608
2628
|
}
|
|
2609
2629
|
};
|
|
2610
|
-
ct.styles =
|
|
2630
|
+
ct.styles = y`
|
|
2611
2631
|
.tooltip {
|
|
2612
2632
|
position: relative;
|
|
2613
2633
|
display: inline-block;
|
|
@@ -2709,12 +2729,12 @@ Ut([
|
|
|
2709
2729
|
ct = Ut([
|
|
2710
2730
|
x("o-tooltip")
|
|
2711
2731
|
], ct);
|
|
2712
|
-
var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor,
|
|
2732
|
+
var Po = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
2713
2733
|
for (var i = n > 1 ? void 0 : n ? Io(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2714
2734
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2715
2735
|
return n && i && Po(t, e, i), i;
|
|
2716
2736
|
};
|
|
2717
|
-
let
|
|
2737
|
+
let S = class extends f {
|
|
2718
2738
|
constructor() {
|
|
2719
2739
|
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) => {
|
|
2720
2740
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -2825,10 +2845,10 @@ let A = class extends u {
|
|
|
2825
2845
|
${e.url ? l`
|
|
2826
2846
|
<a href="${e.url}">
|
|
2827
2847
|
<span>${e.label}</span>
|
|
2828
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2848
|
+
${e.value === this.value ? l`<span class="check">${I(o)}</span>` : null}
|
|
2829
2849
|
</a>` : l`
|
|
2830
2850
|
<span>${e.label}</span>
|
|
2831
|
-
${e.value === this.value ? l`<span class="check">${
|
|
2851
|
+
${e.value === this.value ? l`<span class="check">${I(o)}</span>` : null}`}
|
|
2832
2852
|
</li>`
|
|
2833
2853
|
)}
|
|
2834
2854
|
</ul>` : null}
|
|
@@ -2837,7 +2857,7 @@ let A = class extends u {
|
|
|
2837
2857
|
`;
|
|
2838
2858
|
}
|
|
2839
2859
|
};
|
|
2840
|
-
|
|
2860
|
+
S.styles = y`
|
|
2841
2861
|
:host {
|
|
2842
2862
|
display: inline-block;
|
|
2843
2863
|
position: relative;
|
|
@@ -2977,44 +2997,44 @@ A.styles = b`
|
|
|
2977
2997
|
display: none;
|
|
2978
2998
|
}
|
|
2979
2999
|
`;
|
|
2980
|
-
|
|
3000
|
+
H([
|
|
2981
3001
|
a({ type: Array, reflect: !0 })
|
|
2982
|
-
],
|
|
2983
|
-
|
|
3002
|
+
], S.prototype, "options", 2);
|
|
3003
|
+
H([
|
|
2984
3004
|
a({ type: String, reflect: !0 })
|
|
2985
|
-
],
|
|
2986
|
-
|
|
3005
|
+
], S.prototype, "value", 2);
|
|
3006
|
+
H([
|
|
2987
3007
|
a({ type: String, reflect: !0 })
|
|
2988
|
-
],
|
|
2989
|
-
|
|
3008
|
+
], S.prototype, "name", 2);
|
|
3009
|
+
H([
|
|
2990
3010
|
a({ type: Boolean, reflect: !0 })
|
|
2991
|
-
],
|
|
2992
|
-
|
|
3011
|
+
], S.prototype, "disabled", 2);
|
|
3012
|
+
H([
|
|
2993
3013
|
a({ type: String, reflect: !0 })
|
|
2994
|
-
],
|
|
2995
|
-
|
|
3014
|
+
], S.prototype, "width", 2);
|
|
3015
|
+
H([
|
|
2996
3016
|
K()
|
|
2997
|
-
],
|
|
2998
|
-
|
|
3017
|
+
], S.prototype, "open", 2);
|
|
3018
|
+
H([
|
|
2999
3019
|
K()
|
|
3000
|
-
],
|
|
3001
|
-
|
|
3020
|
+
], S.prototype, "activeIndex", 2);
|
|
3021
|
+
H([
|
|
3002
3022
|
K()
|
|
3003
|
-
],
|
|
3004
|
-
|
|
3023
|
+
], S.prototype, "menuWidth", 2);
|
|
3024
|
+
S = H([
|
|
3005
3025
|
x("o-dropdown")
|
|
3006
|
-
],
|
|
3026
|
+
], S);
|
|
3007
3027
|
var Oo = Object.getOwnPropertyDescriptor, Bo = (o, t, e, n) => {
|
|
3008
3028
|
for (var i = n > 1 ? void 0 : n ? Oo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3009
3029
|
(s = o[r]) && (i = s(i) || i);
|
|
3010
3030
|
return i;
|
|
3011
3031
|
};
|
|
3012
|
-
let Lt = class extends
|
|
3032
|
+
let Lt = class extends f {
|
|
3013
3033
|
render() {
|
|
3014
3034
|
return l` <span class="dots"></span> `;
|
|
3015
3035
|
}
|
|
3016
3036
|
};
|
|
3017
|
-
Lt.styles =
|
|
3037
|
+
Lt.styles = y`
|
|
3018
3038
|
:host {
|
|
3019
3039
|
display: flex;
|
|
3020
3040
|
align-items: center;
|
|
@@ -3069,12 +3089,12 @@ Lt.styles = b`
|
|
|
3069
3089
|
Lt = Bo([
|
|
3070
3090
|
x("o-dots")
|
|
3071
3091
|
], Lt);
|
|
3072
|
-
var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor,
|
|
3092
|
+
var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, z = (o, t, e, n) => {
|
|
3073
3093
|
for (var i = n > 1 ? void 0 : n ? Do(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3074
3094
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3075
3095
|
return n && i && zo(t, e, i), i;
|
|
3076
3096
|
};
|
|
3077
|
-
let
|
|
3097
|
+
let k = class extends f {
|
|
3078
3098
|
constructor() {
|
|
3079
3099
|
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) => {
|
|
3080
3100
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3158,7 +3178,7 @@ let C = class extends u {
|
|
|
3158
3178
|
?disabled=${this.disabled}
|
|
3159
3179
|
class="btn-dropdown"
|
|
3160
3180
|
>
|
|
3161
|
-
<img alt="${
|
|
3181
|
+
<img alt="${_(t == null ? void 0 : t.label)}" src="${_(t == null ? void 0 : t.imgurl)}" />
|
|
3162
3182
|
<span id="dropdown-label" class="label">
|
|
3163
3183
|
${t ? t.label : "Select an option"}
|
|
3164
3184
|
</span>
|
|
@@ -3193,13 +3213,13 @@ let C = class extends u {
|
|
|
3193
3213
|
class="${n === this.activeIndex ? "active" : ""} ${e.disabled ? "disabled" : ""}"
|
|
3194
3214
|
@click=${() => this.selectOption(e)}
|
|
3195
3215
|
>
|
|
3196
|
-
<a href="${
|
|
3197
|
-
<img alt="${
|
|
3216
|
+
<a href="${_(e.url)}">
|
|
3217
|
+
<img alt="${_(e.label)}" src="${_(e.imgurl)}" />
|
|
3198
3218
|
<span class="label">${e.label}</span>
|
|
3199
3219
|
<div class="right">
|
|
3200
|
-
<span class="additional-text">${
|
|
3220
|
+
<span class="additional-text">${_(e.additionaltext)}</span>
|
|
3201
3221
|
${e.value === this.value && !e.additionaltext ? l`
|
|
3202
|
-
<span class="check">${
|
|
3222
|
+
<span class="check">${I(o)}</span>` : null}
|
|
3203
3223
|
</div>
|
|
3204
3224
|
</a>
|
|
3205
3225
|
</li>
|
|
@@ -3211,7 +3231,7 @@ let C = class extends u {
|
|
|
3211
3231
|
`;
|
|
3212
3232
|
}
|
|
3213
3233
|
};
|
|
3214
|
-
|
|
3234
|
+
k.styles = y`
|
|
3215
3235
|
:host {
|
|
3216
3236
|
display: inline-block;
|
|
3217
3237
|
position: relative;
|
|
@@ -3387,42 +3407,42 @@ C.styles = b`
|
|
|
3387
3407
|
display: none;
|
|
3388
3408
|
}
|
|
3389
3409
|
`;
|
|
3390
|
-
|
|
3410
|
+
z([
|
|
3391
3411
|
a({ type: Array, reflect: !0 })
|
|
3392
|
-
],
|
|
3393
|
-
|
|
3412
|
+
], k.prototype, "options", 2);
|
|
3413
|
+
z([
|
|
3394
3414
|
a({ type: String, reflect: !0 })
|
|
3395
|
-
],
|
|
3396
|
-
|
|
3415
|
+
], k.prototype, "value", 2);
|
|
3416
|
+
z([
|
|
3397
3417
|
a({ type: String, reflect: !0 })
|
|
3398
|
-
],
|
|
3399
|
-
|
|
3418
|
+
], k.prototype, "name", 2);
|
|
3419
|
+
z([
|
|
3400
3420
|
a({ type: String, reflect: !0 })
|
|
3401
|
-
],
|
|
3402
|
-
|
|
3421
|
+
], k.prototype, "additionaltext", 2);
|
|
3422
|
+
z([
|
|
3403
3423
|
a({ type: Boolean, reflect: !0 })
|
|
3404
|
-
],
|
|
3405
|
-
|
|
3424
|
+
], k.prototype, "disabled", 2);
|
|
3425
|
+
z([
|
|
3406
3426
|
a({ type: String, reflect: !0 })
|
|
3407
|
-
],
|
|
3408
|
-
|
|
3427
|
+
], k.prototype, "width", 2);
|
|
3428
|
+
z([
|
|
3409
3429
|
K()
|
|
3410
|
-
],
|
|
3411
|
-
|
|
3430
|
+
], k.prototype, "open", 2);
|
|
3431
|
+
z([
|
|
3412
3432
|
K()
|
|
3413
|
-
],
|
|
3414
|
-
|
|
3433
|
+
], k.prototype, "activeIndex", 2);
|
|
3434
|
+
z([
|
|
3415
3435
|
K()
|
|
3416
|
-
],
|
|
3417
|
-
|
|
3436
|
+
], k.prototype, "menuWidth", 2);
|
|
3437
|
+
k = z([
|
|
3418
3438
|
x("o-dropdown-variant")
|
|
3419
|
-
],
|
|
3439
|
+
], k);
|
|
3420
3440
|
/**
|
|
3421
3441
|
* @license
|
|
3422
3442
|
* Copyright 2018 Google LLC
|
|
3423
3443
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3424
3444
|
*/
|
|
3425
|
-
const le = "important", Ho = " !" + le,
|
|
3445
|
+
const le = "important", Ho = " !" + le, Mo = Mt(class extends Tt {
|
|
3426
3446
|
constructor(o) {
|
|
3427
3447
|
var t;
|
|
3428
3448
|
if (super(o), o.type !== Ht.ATTRIBUTE || o.name !== "style" || ((t = o.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
@@ -3445,15 +3465,15 @@ const le = "important", Ho = " !" + le, To = Tt(class extends Mt {
|
|
|
3445
3465
|
n.includes("-") || r ? e.setProperty(n, r ? i.slice(0, -11) : i, r ? le : "") : e[n] = i;
|
|
3446
3466
|
}
|
|
3447
3467
|
}
|
|
3448
|
-
return
|
|
3468
|
+
return F;
|
|
3449
3469
|
}
|
|
3450
3470
|
});
|
|
3451
|
-
var
|
|
3471
|
+
var To = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Ft = (o, t, e, n) => {
|
|
3452
3472
|
for (var i = n > 1 ? void 0 : n ? jo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3453
3473
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3454
|
-
return n && i &&
|
|
3474
|
+
return n && i && To(t, e, i), i;
|
|
3455
3475
|
};
|
|
3456
|
-
let ht = class extends
|
|
3476
|
+
let ht = class extends f {
|
|
3457
3477
|
constructor() {
|
|
3458
3478
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3459
3479
|
}
|
|
@@ -3462,16 +3482,16 @@ let ht = class extends u {
|
|
|
3462
3482
|
width: `${this.imageSize}px`,
|
|
3463
3483
|
height: `${this.imageSize}px`
|
|
3464
3484
|
}, e = l`
|
|
3465
|
-
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${
|
|
3485
|
+
${this.option.imgurl ? l`<img src="${this.option.imgurl}" alt="${_(this.option.title)}" aria-hidden="true" style=${Mo(t)} />` : ""}
|
|
3466
3486
|
<div class="m-reassurance-content">
|
|
3467
|
-
<h3 class="a-reassurance-text">${
|
|
3468
|
-
<p class="a-reassurance-description">${
|
|
3487
|
+
<h3 class="a-reassurance-text">${_(this.option.title)}</h3>
|
|
3488
|
+
<p class="a-reassurance-description">${_(this.option.description)}</p>
|
|
3469
3489
|
</div>
|
|
3470
3490
|
`;
|
|
3471
|
-
return o ? l`<a href="${
|
|
3491
|
+
return o ? l`<a href="${_(this.option.url)}" class="reassurance-item clickable">${e}</a>` : l`<div class="reassurance-item">${e}</div>`;
|
|
3472
3492
|
}
|
|
3473
3493
|
};
|
|
3474
|
-
ht.styles =
|
|
3494
|
+
ht.styles = y`
|
|
3475
3495
|
:host {
|
|
3476
3496
|
display: inline-block;
|
|
3477
3497
|
position: relative;
|
|
@@ -3553,22 +3573,22 @@ ht.styles = b`
|
|
|
3553
3573
|
}
|
|
3554
3574
|
}
|
|
3555
3575
|
`;
|
|
3556
|
-
|
|
3576
|
+
Ft([
|
|
3557
3577
|
a({ type: Object, reflect: !0 })
|
|
3558
3578
|
], ht.prototype, "option", 2);
|
|
3559
|
-
|
|
3579
|
+
Ft([
|
|
3560
3580
|
a({ type: Number, reflect: !0 })
|
|
3561
3581
|
], ht.prototype, "imageSize", 2);
|
|
3562
|
-
ht =
|
|
3582
|
+
ht = Ft([
|
|
3563
3583
|
x("o-reassurance")
|
|
3564
3584
|
], ht);
|
|
3565
|
-
var Uo = Object.defineProperty,
|
|
3566
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
3585
|
+
var Uo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
|
|
3586
|
+
for (var i = n > 1 ? void 0 : n ? Fo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3567
3587
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3568
3588
|
return n && i && Uo(t, e, i), i;
|
|
3569
3589
|
};
|
|
3570
|
-
const
|
|
3571
|
-
let
|
|
3590
|
+
const No = Dt(f);
|
|
3591
|
+
let A = class extends No {
|
|
3572
3592
|
constructor() {
|
|
3573
3593
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3574
3594
|
}
|
|
@@ -3591,7 +3611,7 @@ let k = class extends Fo {
|
|
|
3591
3611
|
`;
|
|
3592
3612
|
}
|
|
3593
3613
|
};
|
|
3594
|
-
|
|
3614
|
+
A.styles = y`
|
|
3595
3615
|
:host {
|
|
3596
3616
|
cursor: pointer;
|
|
3597
3617
|
display: inline-flex;
|
|
@@ -3667,7 +3687,7 @@ k.styles = b`
|
|
|
3667
3687
|
}
|
|
3668
3688
|
|
|
3669
3689
|
&:focus-visible {
|
|
3670
|
-
${
|
|
3690
|
+
${ut};
|
|
3671
3691
|
}
|
|
3672
3692
|
}
|
|
3673
3693
|
|
|
@@ -3681,44 +3701,44 @@ k.styles = b`
|
|
|
3681
3701
|
align-items: center;
|
|
3682
3702
|
}
|
|
3683
3703
|
`;
|
|
3684
|
-
|
|
3704
|
+
M([
|
|
3685
3705
|
a({ type: String, reflect: !0 })
|
|
3686
|
-
],
|
|
3687
|
-
|
|
3706
|
+
], A.prototype, "link", 2);
|
|
3707
|
+
M([
|
|
3688
3708
|
a({ reflect: !0 })
|
|
3689
|
-
],
|
|
3690
|
-
|
|
3709
|
+
], A.prototype, "name", 2);
|
|
3710
|
+
M([
|
|
3691
3711
|
a({ reflect: !0 })
|
|
3692
|
-
],
|
|
3693
|
-
|
|
3712
|
+
], A.prototype, "value", 2);
|
|
3713
|
+
M([
|
|
3694
3714
|
a({ type: String })
|
|
3695
|
-
],
|
|
3696
|
-
|
|
3715
|
+
], A.prototype, "text", 2);
|
|
3716
|
+
M([
|
|
3697
3717
|
a({ type: String, reflect: !0 })
|
|
3698
|
-
],
|
|
3699
|
-
|
|
3718
|
+
], A.prototype, "size", 2);
|
|
3719
|
+
M([
|
|
3700
3720
|
a({ type: Boolean, reflect: !0 })
|
|
3701
|
-
],
|
|
3702
|
-
|
|
3721
|
+
], A.prototype, "selected", 2);
|
|
3722
|
+
M([
|
|
3703
3723
|
a({ type: Boolean, reflect: !0 })
|
|
3704
|
-
],
|
|
3705
|
-
|
|
3724
|
+
], A.prototype, "fullwidth", 2);
|
|
3725
|
+
M([
|
|
3706
3726
|
a({ type: Boolean, reflect: !0 })
|
|
3707
|
-
],
|
|
3708
|
-
|
|
3727
|
+
], A.prototype, "inactive", 2);
|
|
3728
|
+
A = M([
|
|
3709
3729
|
x("o-chip")
|
|
3710
|
-
],
|
|
3711
|
-
var Ro = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor,
|
|
3730
|
+
], A);
|
|
3731
|
+
var Ro = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, Nt = (o, t, e, n) => {
|
|
3712
3732
|
for (var i = n > 1 ? void 0 : n ? Vo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3713
3733
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3714
3734
|
return n && i && Ro(t, e, i), i;
|
|
3715
3735
|
};
|
|
3716
|
-
let dt = class extends
|
|
3736
|
+
let dt = class extends f {
|
|
3717
3737
|
constructor() {
|
|
3718
3738
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
3719
3739
|
}
|
|
3720
3740
|
onChipSelected(o) {
|
|
3721
|
-
const t = o.target instanceof
|
|
3741
|
+
const t = o.target instanceof A ? o.target : null;
|
|
3722
3742
|
t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
|
|
3723
3743
|
e !== t && (e.selected = !1);
|
|
3724
3744
|
}));
|
|
@@ -3729,7 +3749,7 @@ let dt = class extends u {
|
|
|
3729
3749
|
`;
|
|
3730
3750
|
}
|
|
3731
3751
|
};
|
|
3732
|
-
dt.styles =
|
|
3752
|
+
dt.styles = y`
|
|
3733
3753
|
:host {
|
|
3734
3754
|
display: flex;
|
|
3735
3755
|
flex-direction: row;
|
|
@@ -3737,13 +3757,13 @@ dt.styles = b`
|
|
|
3737
3757
|
gap: var(--spacing-s);
|
|
3738
3758
|
}
|
|
3739
3759
|
`;
|
|
3740
|
-
|
|
3760
|
+
Nt([
|
|
3741
3761
|
a({ reflect: !0 })
|
|
3742
3762
|
], dt.prototype, "name", 2);
|
|
3743
|
-
|
|
3763
|
+
Nt([
|
|
3744
3764
|
a({ reflect: !0 })
|
|
3745
3765
|
], dt.prototype, "value", 2);
|
|
3746
|
-
dt =
|
|
3766
|
+
dt = Nt([
|
|
3747
3767
|
x("o-chipset")
|
|
3748
3768
|
], dt);
|
|
3749
3769
|
var Zo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
|
|
@@ -3751,8 +3771,8 @@ var Zo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, T = (o, t,
|
|
|
3751
3771
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3752
3772
|
return n && i && Zo(t, e, i), i;
|
|
3753
3773
|
};
|
|
3754
|
-
const Wo = Dt(
|
|
3755
|
-
let
|
|
3774
|
+
const Wo = Dt(f);
|
|
3775
|
+
let L = class extends Wo {
|
|
3756
3776
|
constructor() {
|
|
3757
3777
|
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";
|
|
3758
3778
|
}
|
|
@@ -3768,14 +3788,14 @@ let E = class extends Wo {
|
|
|
3768
3788
|
"<svg",
|
|
3769
3789
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3770
3790
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3771
|
-
return l`<span class="cross-icon">${
|
|
3791
|
+
return l`<span class="cross-icon">${I(o)}</span>`;
|
|
3772
3792
|
}
|
|
3773
3793
|
strikeThroughImg() {
|
|
3774
3794
|
const o = eo[this.strikethroughImgName].replace(
|
|
3775
3795
|
"<svg",
|
|
3776
3796
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
3777
3797
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
3778
|
-
return
|
|
3798
|
+
return I(o);
|
|
3779
3799
|
}
|
|
3780
3800
|
render() {
|
|
3781
3801
|
const o = this.text;
|
|
@@ -3802,7 +3822,7 @@ let E = class extends Wo {
|
|
|
3802
3822
|
`;
|
|
3803
3823
|
}
|
|
3804
3824
|
};
|
|
3805
|
-
|
|
3825
|
+
L.styles = y`
|
|
3806
3826
|
:host {
|
|
3807
3827
|
cursor: pointer;
|
|
3808
3828
|
display: inline-flex;
|
|
@@ -3882,7 +3902,7 @@ E.styles = b`
|
|
|
3882
3902
|
}
|
|
3883
3903
|
|
|
3884
3904
|
.button:focus-visible {
|
|
3885
|
-
${
|
|
3905
|
+
${ut};
|
|
3886
3906
|
}
|
|
3887
3907
|
|
|
3888
3908
|
span.text + span.text::before {
|
|
@@ -3930,37 +3950,37 @@ E.styles = b`
|
|
|
3930
3950
|
`;
|
|
3931
3951
|
T([
|
|
3932
3952
|
a({ reflect: !0 })
|
|
3933
|
-
],
|
|
3953
|
+
], L.prototype, "name", 2);
|
|
3934
3954
|
T([
|
|
3935
3955
|
a({ reflect: !0 })
|
|
3936
|
-
],
|
|
3956
|
+
], L.prototype, "value", 2);
|
|
3937
3957
|
T([
|
|
3938
3958
|
a({ type: String, reflect: !0 })
|
|
3939
|
-
],
|
|
3959
|
+
], L.prototype, "type", 2);
|
|
3940
3960
|
T([
|
|
3941
3961
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
3942
|
-
],
|
|
3962
|
+
], L.prototype, "dataHref", 2);
|
|
3943
3963
|
T([
|
|
3944
3964
|
a({ type: String })
|
|
3945
|
-
],
|
|
3965
|
+
], L.prototype, "text", 2);
|
|
3946
3966
|
T([
|
|
3947
3967
|
a({ type: Boolean, reflect: !0 })
|
|
3948
|
-
],
|
|
3968
|
+
], L.prototype, "selected", 2);
|
|
3949
3969
|
T([
|
|
3950
3970
|
a({ type: Boolean, reflect: !0 })
|
|
3951
|
-
],
|
|
3971
|
+
], L.prototype, "disabled", 2);
|
|
3952
3972
|
T([
|
|
3953
3973
|
a({ type: Boolean, reflect: !0 })
|
|
3954
|
-
],
|
|
3955
|
-
|
|
3974
|
+
], L.prototype, "fullwidth", 2);
|
|
3975
|
+
L = T([
|
|
3956
3976
|
x("o-filter-chip")
|
|
3957
|
-
],
|
|
3977
|
+
], L);
|
|
3958
3978
|
var Ko = Object.defineProperty, R = (o, t, e, n) => {
|
|
3959
3979
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
3960
3980
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
3961
3981
|
return i && Ko(t, e, i), i;
|
|
3962
3982
|
};
|
|
3963
|
-
const Rt = class Rt extends
|
|
3983
|
+
const Rt = class Rt extends f {
|
|
3964
3984
|
constructor() {
|
|
3965
3985
|
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "";
|
|
3966
3986
|
}
|
|
@@ -4006,7 +4026,7 @@ const Rt = class Rt extends u {
|
|
|
4006
4026
|
`;
|
|
4007
4027
|
}
|
|
4008
4028
|
};
|
|
4009
|
-
Rt.styles =
|
|
4029
|
+
Rt.styles = y`
|
|
4010
4030
|
.tile {
|
|
4011
4031
|
display: flex;
|
|
4012
4032
|
align-items: center;
|
|
@@ -4080,29 +4100,29 @@ Rt.styles = b`
|
|
|
4080
4100
|
line-height: var(--line-height-160);
|
|
4081
4101
|
}
|
|
4082
4102
|
`;
|
|
4083
|
-
let
|
|
4103
|
+
let P = Rt;
|
|
4084
4104
|
R([
|
|
4085
4105
|
a({ type: String })
|
|
4086
|
-
],
|
|
4106
|
+
], P.prototype, "type");
|
|
4087
4107
|
R([
|
|
4088
4108
|
a({ type: String })
|
|
4089
|
-
],
|
|
4109
|
+
], P.prototype, "titleProduct");
|
|
4090
4110
|
R([
|
|
4091
4111
|
a({ type: String })
|
|
4092
|
-
],
|
|
4112
|
+
], P.prototype, "volume");
|
|
4093
4113
|
R([
|
|
4094
4114
|
a({ type: String })
|
|
4095
|
-
],
|
|
4115
|
+
], P.prototype, "perLiter");
|
|
4096
4116
|
R([
|
|
4097
4117
|
a({ type: String })
|
|
4098
|
-
],
|
|
4118
|
+
], P.prototype, "mainPrice");
|
|
4099
4119
|
R([
|
|
4100
4120
|
a({ type: String })
|
|
4101
|
-
],
|
|
4121
|
+
], P.prototype, "imageUrl");
|
|
4102
4122
|
R([
|
|
4103
4123
|
a({ type: String })
|
|
4104
|
-
],
|
|
4124
|
+
], P.prototype, "altImage");
|
|
4105
4125
|
R([
|
|
4106
4126
|
a({ type: Function })
|
|
4107
|
-
],
|
|
4108
|
-
customElements.define("mini-tile",
|
|
4127
|
+
], P.prototype, "onClickTile");
|
|
4128
|
+
customElements.define("mini-tile", P);
|