@florid-kit/components 0.10.18 → 0.10.20
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/index.js +64 -64
- package/index.mjs +319 -293
- 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 Lt = globalThis, Vt = Lt.ShadowRoot && (Lt.ShadyCSS === void 0 || Lt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Zt = Symbol(), le = /* @__PURE__ */ new WeakMap();
|
|
7
7
|
let xe = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
9
|
if (this._$cssResult$ = !0, n !== Zt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -22,23 +22,23 @@ let xe = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Ae = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), v = (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;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(i) + o[r + 1], o[0]);
|
|
31
31
|
return new xe(e, o, Zt);
|
|
32
|
-
},
|
|
32
|
+
}, Le = (o, t) => {
|
|
33
33
|
if (Vt) 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 = Lt.litNonce;
|
|
36
36
|
i !== void 0 && n.setAttribute("nonce", i), n.textContent = e.cssText, o.appendChild(n);
|
|
37
37
|
}
|
|
38
38
|
}, ce = Vt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const n of t.cssRules) e += n.cssText;
|
|
41
|
-
return
|
|
41
|
+
return Ae(e);
|
|
42
42
|
})(o) : o;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
@@ -159,7 +159,7 @@ let ct = class extends HTMLElement {
|
|
|
159
159
|
}
|
|
160
160
|
createRenderRoot() {
|
|
161
161
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
162
|
-
return
|
|
162
|
+
return Le(t, this.constructor.elementStyles), t;
|
|
163
163
|
}
|
|
164
164
|
connectedCallback() {
|
|
165
165
|
var t;
|
|
@@ -294,10 +294,10 @@ const Fe = (o, t) => {
|
|
|
294
294
|
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = ft;
|
|
295
295
|
for (let c = 0; c < e; c++) {
|
|
296
296
|
const h = o[c];
|
|
297
|
-
let
|
|
298
|
-
for (; V < h.length && (s.lastIndex = V,
|
|
297
|
+
let f, x, g = -1, V = 0;
|
|
298
|
+
for (; V < h.length && (s.lastIndex = V, x = s.exec(h), x !== null); ) V = s.lastIndex, s === ft ? x[1] === "!--" ? s = ue : x[1] !== void 0 ? s = fe : x[2] !== void 0 ? (ke.test(x[2]) && (i = RegExp("</" + x[2], "g")), s = it) : x[3] !== void 0 && (s = it) : s === it ? x[0] === ">" ? (s = i ?? ft, g = -1) : x[1] === void 0 ? g = -2 : (g = s.lastIndex - x[2].length, f = x[1], s = x[3] === void 0 ? it : x[3] === '"' ? ge : ve) : s === ge || s === ve ? s = it : s === ue || s === fe ? s = ft : (s = it, i = void 0);
|
|
299
299
|
const Y = s === it && o[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s === ft ? h + Te :
|
|
300
|
+
r += s === ft ? h + Te : g >= 0 ? (n.push(f), h.slice(0, g) + we + h.slice(g) + J + Y) : h + J + (g === -2 ? c : Y);
|
|
301
301
|
}
|
|
302
302
|
return [_e(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
@@ -306,29 +306,29 @@ class xt {
|
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const c = t.length - 1, h = this.parts, [
|
|
310
|
-
if (this.el = xt.createElement(
|
|
311
|
-
const
|
|
312
|
-
|
|
309
|
+
const c = t.length - 1, h = this.parts, [f, x] = Fe(t, e);
|
|
310
|
+
if (this.el = xt.createElement(f, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
|
+
const g = this.el.content.firstChild;
|
|
312
|
+
g.replaceWith(...g.childNodes);
|
|
313
313
|
}
|
|
314
314
|
for (; (i = nt.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
|
-
if (i.hasAttributes()) for (const
|
|
317
|
-
const V =
|
|
318
|
-
h.push({ type: 1, index: r, name:
|
|
319
|
-
} else
|
|
316
|
+
if (i.hasAttributes()) for (const g of i.getAttributeNames()) if (g.endsWith(we)) {
|
|
317
|
+
const V = x[s++], Y = i.getAttribute(g).split(J), At = /([.?@])?(.*)/.exec(V);
|
|
318
|
+
h.push({ type: 1, index: r, name: At[2], strings: Y, ctor: At[1] === "." ? Ue : At[1] === "?" ? Ne : At[1] === "@" ? qe : Ot }), i.removeAttribute(g);
|
|
319
|
+
} else g.startsWith(J) && (h.push({ type: 6, index: r }), i.removeAttribute(g));
|
|
320
320
|
if (ke.test(i.tagName)) {
|
|
321
|
-
const
|
|
321
|
+
const g = i.textContent.split(J), V = g.length - 1;
|
|
322
322
|
if (V > 0) {
|
|
323
323
|
i.textContent = Bt ? Bt.emptyScript : "";
|
|
324
|
-
for (let Y = 0; Y < V; Y++) i.append(
|
|
325
|
-
i.append(
|
|
324
|
+
for (let Y = 0; Y < V; Y++) i.append(g[Y], yt()), nt.nextNode(), h.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(g[V], yt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (i.nodeType === 8) if (i.data === $e) h.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
|
-
let
|
|
331
|
-
for (; (
|
|
330
|
+
let g = -1;
|
|
331
|
+
for (; (g = i.data.indexOf(J, g + 1)) !== -1; ) h.push({ type: 7, index: r }), g += J.length - 1;
|
|
332
332
|
}
|
|
333
333
|
r++;
|
|
334
334
|
}
|
|
@@ -361,8 +361,8 @@ class Re {
|
|
|
361
361
|
let r = nt.nextNode(), s = 0, c = 0, h = n[0];
|
|
362
362
|
for (; h !== void 0; ) {
|
|
363
363
|
if (s === h.index) {
|
|
364
|
-
let
|
|
365
|
-
h.type === 2 ?
|
|
364
|
+
let f;
|
|
365
|
+
h.type === 2 ? f = new Et(r, r.nextSibling, this, t) : h.type === 1 ? f = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (f = new Ve(r, this, t)), this._$AV.push(f), h = n[++c];
|
|
366
366
|
}
|
|
367
367
|
s !== (h == null ? void 0 : h.index) && (r = nt.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -452,8 +452,8 @@ class Ot {
|
|
|
452
452
|
if (r === void 0) t = ht(this, t, e, 0), s = !mt(t) || t !== this._$AH && t !== tt, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
|
-
let h,
|
|
456
|
-
for (t = r[0], h = 0; h < r.length - 1; h++)
|
|
455
|
+
let h, f;
|
|
456
|
+
for (t = r[0], h = 0; h < r.length - 1; h++) f = ht(this, c[n + h], e, h), f === tt && (f = this._$AH[h]), s || (s = !mt(f) || f !== this._$AH[h]), f === d ? t = d : t !== d && (t += (f ?? "") + r[h + 1]), this._$AH[h] = f;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -519,7 +519,7 @@ const Ze = (o, t, e) => {
|
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
521
|
const rt = globalThis;
|
|
522
|
-
let
|
|
522
|
+
let u = class extends ct {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -545,16 +545,16 @@ let p = class extends ct {
|
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
var me;
|
|
548
|
-
|
|
548
|
+
u._$litElement$ = !0, u.finalized = !0, (me = rt.litElementHydrateSupport) == null || me.call(rt, { LitElement: u });
|
|
549
549
|
const jt = rt.litElementPolyfillSupport;
|
|
550
|
-
jt == null || jt({ LitElement:
|
|
550
|
+
jt == null || jt({ LitElement: u });
|
|
551
551
|
(rt.litElementVersions ?? (rt.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
555
555
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
556
556
|
*/
|
|
557
|
-
const
|
|
557
|
+
const b = (o) => (t, e) => {
|
|
558
558
|
e !== void 0 ? e.addInitializer(() => {
|
|
559
559
|
customElements.define(o, t);
|
|
560
560
|
}) : customElements.define(o, t);
|
|
@@ -621,11 +621,11 @@ function Ce(o, t) {
|
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const at =
|
|
624
|
+
const at = v`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
628
|
-
|
|
628
|
+
v`
|
|
629
629
|
:host * {
|
|
630
630
|
box-sizing: border-box;
|
|
631
631
|
}
|
|
@@ -775,7 +775,7 @@ const Ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
775
775
|
</svg>`, Eo = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
776
776
|
<path d="M4.5 8L11.5 13L11.5 3L4.5 8Z" fill="#3F2B2E"/>
|
|
777
777
|
</svg>
|
|
778
|
-
`,
|
|
778
|
+
`, Ao = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
779
779
|
<path d="M11.5 8L4.5 13L4.5 3L11.5 8Z" fill="#3F2B2E"/>
|
|
780
780
|
</svg>
|
|
781
781
|
`, Z = {
|
|
@@ -805,8 +805,8 @@ const Ye = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
805
805
|
backToBag: Co,
|
|
806
806
|
checkbox: So,
|
|
807
807
|
sliderLeftArrow: Eo,
|
|
808
|
-
sliderRightArrow:
|
|
809
|
-
},
|
|
808
|
+
sliderRightArrow: Ao
|
|
809
|
+
}, Lo = {
|
|
810
810
|
strikeDiagonal: xo
|
|
811
811
|
}, Po = {
|
|
812
812
|
success: $o,
|
|
@@ -1062,7 +1062,7 @@ var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, R = (o, t,
|
|
|
1062
1062
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1063
1063
|
return n && i && jo(t, e, i), i;
|
|
1064
1064
|
};
|
|
1065
|
-
let B = class extends
|
|
1065
|
+
let B = class extends u {
|
|
1066
1066
|
constructor() {
|
|
1067
1067
|
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 = "";
|
|
1068
1068
|
}
|
|
@@ -1090,7 +1090,7 @@ let B = class extends p {
|
|
|
1090
1090
|
`;
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
|
-
B.styles =
|
|
1093
|
+
B.styles = v`
|
|
1094
1094
|
:host {
|
|
1095
1095
|
display: inline-flex;
|
|
1096
1096
|
justify-content: center;
|
|
@@ -1301,14 +1301,14 @@ R([
|
|
|
1301
1301
|
a({ type: String })
|
|
1302
1302
|
], B.prototype, "srLabel", 2);
|
|
1303
1303
|
B = R([
|
|
1304
|
-
|
|
1304
|
+
b("o-icon-button")
|
|
1305
1305
|
], B);
|
|
1306
|
-
var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor,
|
|
1306
|
+
var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, y = (o, t, e, n) => {
|
|
1307
1307
|
for (var i = n > 1 ? void 0 : n ? Uo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1308
1308
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1309
1309
|
return n && i && Ro(t, e, i), i;
|
|
1310
1310
|
};
|
|
1311
|
-
let
|
|
1311
|
+
let p = class extends u {
|
|
1312
1312
|
constructor() {
|
|
1313
1313
|
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.labelDialog = "", this.addToBagProductCount = "", this.closeButtonLabel = "Close the modal", this.goBackButtonLabel = "Go back to", 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.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this._onOpenDetail = async (o) => {
|
|
1314
1314
|
var e, n;
|
|
@@ -1393,14 +1393,40 @@ let u = class extends p {
|
|
|
1393
1393
|
return t;
|
|
1394
1394
|
}
|
|
1395
1395
|
trapFocus(o) {
|
|
1396
|
+
var r;
|
|
1396
1397
|
if (o.key !== "Tab") return;
|
|
1397
|
-
const t = this.
|
|
1398
|
-
if (!
|
|
1398
|
+
const t = this.shadowRoot;
|
|
1399
|
+
if (!t) return;
|
|
1400
|
+
const e = this.getDeepActiveElement();
|
|
1401
|
+
if (this.showDetail) {
|
|
1402
|
+
const s = t.querySelector(".detail-view .return-btn"), c = t.querySelector(".detail-view .close-btn"), h = s ? this.resolveFocusable(s) : null, f = c ? this.resolveFocusable(c) : null;
|
|
1403
|
+
if (o.shiftKey && h && e === h && f) {
|
|
1404
|
+
o.preventDefault(), o.stopPropagation(), f.focus({ preventScroll: !0 });
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
if (!o.shiftKey && f && e === f) {
|
|
1408
|
+
o.preventDefault(), o.stopPropagation(), (((r = t.querySelector(".detail-scroller")) == null ? void 0 : r.querySelector(
|
|
1409
|
+
p.focusablesSelector
|
|
1410
|
+
)) ?? h ?? f).focus({ preventScroll: !0 });
|
|
1411
|
+
return;
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
if (document.querySelector("#refineandsortpopin")) {
|
|
1415
|
+
const s = t.querySelector(".close-btn"), c = s ? this.resolveFocusable(s) : null, h = t.querySelector(".js-clear-refinements"), f = h ? this.resolveFocusable(h) : null, x = (g) => {
|
|
1416
|
+
o.preventDefault(), o.stopPropagation(), g.focus({ preventScroll: !0 });
|
|
1417
|
+
};
|
|
1418
|
+
if (c && f) {
|
|
1419
|
+
if (!o.shiftKey && e === f) return x(c);
|
|
1420
|
+
if (o.shiftKey && e === c) return x(f);
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
const i = this.renderRoot.querySelector(".close-btn");
|
|
1424
|
+
if (!o.shiftKey && i && i.contains(e)) {
|
|
1399
1425
|
o.preventDefault();
|
|
1400
|
-
const
|
|
1426
|
+
const s = this.renderRoot.querySelector(
|
|
1401
1427
|
".o-whats-inside--content p"
|
|
1402
1428
|
);
|
|
1403
|
-
|
|
1429
|
+
s == null || s.focus();
|
|
1404
1430
|
}
|
|
1405
1431
|
}
|
|
1406
1432
|
getFocusableElements() {
|
|
@@ -1411,7 +1437,7 @@ let u = class extends p {
|
|
|
1411
1437
|
}
|
|
1412
1438
|
function e(i) {
|
|
1413
1439
|
var s;
|
|
1414
|
-
const r = [i.matches(
|
|
1440
|
+
const r = [i.matches(p.focusablesSelector) ? i : []];
|
|
1415
1441
|
if (!["o-icon-button", "o-button"].includes(i.tagName.toLowerCase())) {
|
|
1416
1442
|
const c = Array.from(
|
|
1417
1443
|
i instanceof HTMLSlotElement ? i.assignedElements({ flatten: !0 }) : []
|
|
@@ -1517,7 +1543,7 @@ let u = class extends p {
|
|
|
1517
1543
|
class="panel"
|
|
1518
1544
|
role="dialog"
|
|
1519
1545
|
aria-modal="true"
|
|
1520
|
-
aria-
|
|
1546
|
+
aria-label="panel-title"
|
|
1521
1547
|
style="z-index: ${this.zIndex + 1}"
|
|
1522
1548
|
tabindex="-1"
|
|
1523
1549
|
>
|
|
@@ -1568,7 +1594,7 @@ let u = class extends p {
|
|
|
1568
1594
|
`;
|
|
1569
1595
|
}
|
|
1570
1596
|
};
|
|
1571
|
-
|
|
1597
|
+
p.styles = v`
|
|
1572
1598
|
:host {
|
|
1573
1599
|
--z-overlay: 99;
|
|
1574
1600
|
--z-panel: 100;
|
|
@@ -1804,92 +1830,92 @@ u.styles = f`
|
|
|
1804
1830
|
box-sizing: border-box;
|
|
1805
1831
|
}
|
|
1806
1832
|
`;
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
...
|
|
1833
|
+
p.focusablesSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), o-icon-button, o-button';
|
|
1834
|
+
p.focusablesCustomElementsSelector = "o-icon-button, o-button";
|
|
1835
|
+
p.shadowRootOptions = {
|
|
1836
|
+
...u.shadowRootOptions,
|
|
1811
1837
|
// This helps send focus into the first focusable in shadow when host is focused
|
|
1812
1838
|
delegatesFocus: !0
|
|
1813
1839
|
};
|
|
1814
|
-
|
|
1840
|
+
y([
|
|
1815
1841
|
a({ type: Boolean, reflect: !0 })
|
|
1816
|
-
],
|
|
1817
|
-
|
|
1842
|
+
], p.prototype, "open", 2);
|
|
1843
|
+
y([
|
|
1818
1844
|
a({ type: Boolean, reflect: !0 })
|
|
1819
|
-
],
|
|
1820
|
-
|
|
1845
|
+
], p.prototype, "showHeader", 2);
|
|
1846
|
+
y([
|
|
1821
1847
|
a({ type: Boolean, reflect: !0 })
|
|
1822
|
-
],
|
|
1823
|
-
|
|
1848
|
+
], p.prototype, "showFooter", 2);
|
|
1849
|
+
y([
|
|
1824
1850
|
a({ type: Boolean, reflect: !0 })
|
|
1825
|
-
],
|
|
1826
|
-
|
|
1851
|
+
], p.prototype, "showHeaderStartIcon", 2);
|
|
1852
|
+
y([
|
|
1827
1853
|
a({ type: String, reflect: !0 })
|
|
1828
|
-
],
|
|
1829
|
-
|
|
1854
|
+
], p.prototype, "headerTitle", 2);
|
|
1855
|
+
y([
|
|
1830
1856
|
a({ type: String, reflect: !0 })
|
|
1831
|
-
],
|
|
1832
|
-
|
|
1857
|
+
], p.prototype, "headerTitleClassName", 2);
|
|
1858
|
+
y([
|
|
1833
1859
|
a({ type: String, reflect: !0 })
|
|
1834
|
-
],
|
|
1835
|
-
|
|
1860
|
+
], p.prototype, "labelDialog", 2);
|
|
1861
|
+
y([
|
|
1836
1862
|
a({ type: String, reflect: !0 })
|
|
1837
|
-
],
|
|
1838
|
-
|
|
1863
|
+
], p.prototype, "addToBagProductCount", 2);
|
|
1864
|
+
y([
|
|
1839
1865
|
a({ type: String, reflect: !0 })
|
|
1840
|
-
],
|
|
1841
|
-
|
|
1866
|
+
], p.prototype, "closeButtonLabel", 2);
|
|
1867
|
+
y([
|
|
1842
1868
|
a({ type: String, reflect: !0 })
|
|
1843
|
-
],
|
|
1844
|
-
|
|
1869
|
+
], p.prototype, "goBackButtonLabel", 2);
|
|
1870
|
+
y([
|
|
1845
1871
|
a({ type: String, reflect: !0 })
|
|
1846
|
-
],
|
|
1847
|
-
|
|
1872
|
+
], p.prototype, "firstButtonLabel", 2);
|
|
1873
|
+
y([
|
|
1848
1874
|
a({ type: String, reflect: !0 })
|
|
1849
|
-
],
|
|
1850
|
-
|
|
1875
|
+
], p.prototype, "firstButtonVariant", 2);
|
|
1876
|
+
y([
|
|
1851
1877
|
a({ type: Object, reflect: !0 })
|
|
1852
|
-
],
|
|
1853
|
-
|
|
1878
|
+
], p.prototype, "firstButtonProps", 2);
|
|
1879
|
+
y([
|
|
1854
1880
|
a({ type: Boolean, reflect: !0 })
|
|
1855
|
-
],
|
|
1856
|
-
|
|
1881
|
+
], p.prototype, "onFirstButtonClickClose", 2);
|
|
1882
|
+
y([
|
|
1857
1883
|
a({ type: String, reflect: !0 })
|
|
1858
|
-
],
|
|
1859
|
-
|
|
1884
|
+
], p.prototype, "secondButtonLabel", 2);
|
|
1885
|
+
y([
|
|
1860
1886
|
a({ type: String, reflect: !0 })
|
|
1861
|
-
],
|
|
1862
|
-
|
|
1887
|
+
], p.prototype, "secondButtonVariant", 2);
|
|
1888
|
+
y([
|
|
1863
1889
|
a({ type: Object, reflect: !0 })
|
|
1864
|
-
],
|
|
1865
|
-
|
|
1890
|
+
], p.prototype, "secondButtonProps", 2);
|
|
1891
|
+
y([
|
|
1866
1892
|
a({ type: Boolean, reflect: !0 })
|
|
1867
|
-
],
|
|
1868
|
-
|
|
1893
|
+
], p.prototype, "onSecondButtonClickClose", 2);
|
|
1894
|
+
y([
|
|
1869
1895
|
a({ type: Boolean, reflect: !0 })
|
|
1870
|
-
],
|
|
1871
|
-
|
|
1896
|
+
], p.prototype, "disablePortal", 2);
|
|
1897
|
+
y([
|
|
1872
1898
|
a({ type: Number, reflect: !0 })
|
|
1873
|
-
],
|
|
1874
|
-
|
|
1899
|
+
], p.prototype, "zIndex", 2);
|
|
1900
|
+
y([
|
|
1875
1901
|
a({ type: Boolean, reflect: !0 })
|
|
1876
|
-
],
|
|
1877
|
-
|
|
1902
|
+
], p.prototype, "initialized", 2);
|
|
1903
|
+
y([
|
|
1878
1904
|
a({ type: Boolean })
|
|
1879
|
-
],
|
|
1880
|
-
|
|
1905
|
+
], p.prototype, "showDetail", 2);
|
|
1906
|
+
y([
|
|
1881
1907
|
a({ type: Boolean })
|
|
1882
|
-
],
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
],
|
|
1886
|
-
var No = Object.defineProperty, qo = Object.getOwnPropertyDescriptor,
|
|
1908
|
+
], p.prototype, "isHidingDetail", 2);
|
|
1909
|
+
p = y([
|
|
1910
|
+
b("o-side-panel")
|
|
1911
|
+
], p);
|
|
1912
|
+
var No = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, _ = (o, t, e, n) => {
|
|
1887
1913
|
for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1888
1914
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1889
1915
|
return n && i && No(t, e, i), i;
|
|
1890
1916
|
};
|
|
1891
|
-
const Vo = Xt(
|
|
1892
|
-
let
|
|
1917
|
+
const Vo = Xt(u);
|
|
1918
|
+
let m = class extends Vo {
|
|
1893
1919
|
constructor() {
|
|
1894
1920
|
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, this.withbadge = !1;
|
|
1895
1921
|
}
|
|
@@ -1905,7 +1931,7 @@ let y = class extends Vo {
|
|
|
1905
1931
|
handleClick(o) {
|
|
1906
1932
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
1907
1933
|
const t = document.getElementById(this.panelTarget);
|
|
1908
|
-
t instanceof
|
|
1934
|
+
t instanceof p && (t != null && t.openPanel) && typeof t.openPanel == "function" ? (o.preventDefault(), t.openPanel()) : console.warn(`[o-button] No side panel with id="${this.panelTarget}" found or it does not have an openPanel method.`);
|
|
1909
1935
|
}
|
|
1910
1936
|
}
|
|
1911
1937
|
render() {
|
|
@@ -1957,9 +1983,9 @@ let y = class extends Vo {
|
|
|
1957
1983
|
`;
|
|
1958
1984
|
}
|
|
1959
1985
|
};
|
|
1960
|
-
Xe(
|
|
1961
|
-
|
|
1962
|
-
|
|
1986
|
+
Xe(m);
|
|
1987
|
+
m.formAssociated = !0;
|
|
1988
|
+
m.styles = v`
|
|
1963
1989
|
:host {
|
|
1964
1990
|
--button-border: transparent;
|
|
1965
1991
|
--badge-outer-width: 19px;
|
|
@@ -2166,63 +2192,63 @@ y.styles = f`
|
|
|
2166
2192
|
transform: translateX(4px);
|
|
2167
2193
|
}
|
|
2168
2194
|
`;
|
|
2169
|
-
|
|
2195
|
+
_([
|
|
2170
2196
|
a()
|
|
2171
|
-
],
|
|
2172
|
-
|
|
2197
|
+
], m.prototype, "type", 2);
|
|
2198
|
+
_([
|
|
2173
2199
|
a()
|
|
2174
|
-
],
|
|
2175
|
-
|
|
2200
|
+
], m.prototype, "value", 2);
|
|
2201
|
+
_([
|
|
2176
2202
|
a({ type: String, reflect: !0 })
|
|
2177
|
-
],
|
|
2178
|
-
|
|
2203
|
+
], m.prototype, "variant", 2);
|
|
2204
|
+
_([
|
|
2179
2205
|
a({ type: String })
|
|
2180
|
-
],
|
|
2181
|
-
|
|
2206
|
+
], m.prototype, "text", 2);
|
|
2207
|
+
_([
|
|
2182
2208
|
a({ type: String })
|
|
2183
|
-
],
|
|
2184
|
-
|
|
2209
|
+
], m.prototype, "textsecond", 2);
|
|
2210
|
+
_([
|
|
2185
2211
|
a({ type: Boolean, reflect: !0 })
|
|
2186
|
-
],
|
|
2187
|
-
|
|
2212
|
+
], m.prototype, "fullwidth", 2);
|
|
2213
|
+
_([
|
|
2188
2214
|
a({ type: Boolean, reflect: !0 })
|
|
2189
|
-
],
|
|
2190
|
-
|
|
2215
|
+
], m.prototype, "disabled", 2);
|
|
2216
|
+
_([
|
|
2191
2217
|
a({ type: String })
|
|
2192
|
-
],
|
|
2193
|
-
|
|
2218
|
+
], m.prototype, "startIconModel", 2);
|
|
2219
|
+
_([
|
|
2194
2220
|
a({ type: String })
|
|
2195
|
-
],
|
|
2196
|
-
|
|
2221
|
+
], m.prototype, "endIconModel", 2);
|
|
2222
|
+
_([
|
|
2197
2223
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
2198
|
-
],
|
|
2199
|
-
|
|
2224
|
+
], m.prototype, "startIcon", 2);
|
|
2225
|
+
_([
|
|
2200
2226
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
2201
|
-
],
|
|
2202
|
-
|
|
2227
|
+
], m.prototype, "endIcon", 2);
|
|
2228
|
+
_([
|
|
2203
2229
|
a({ type: String, attribute: "paneltarget" })
|
|
2204
|
-
],
|
|
2205
|
-
|
|
2230
|
+
], m.prototype, "panelTarget", 2);
|
|
2231
|
+
_([
|
|
2206
2232
|
a({ type: String })
|
|
2207
|
-
],
|
|
2208
|
-
|
|
2233
|
+
], m.prototype, "href", 2);
|
|
2234
|
+
_([
|
|
2209
2235
|
a({ type: String })
|
|
2210
|
-
],
|
|
2211
|
-
|
|
2236
|
+
], m.prototype, "target", 2);
|
|
2237
|
+
_([
|
|
2212
2238
|
a({ type: Boolean, reflect: !0 })
|
|
2213
|
-
],
|
|
2214
|
-
|
|
2239
|
+
], m.prototype, "underlined", 2);
|
|
2240
|
+
_([
|
|
2215
2241
|
a({ type: Boolean, reflect: !0 })
|
|
2216
|
-
],
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
],
|
|
2242
|
+
], m.prototype, "withbadge", 2);
|
|
2243
|
+
m = _([
|
|
2244
|
+
b("o-button")
|
|
2245
|
+
], m);
|
|
2220
2246
|
var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, It = (o, t, e, n) => {
|
|
2221
2247
|
for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2222
2248
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2223
2249
|
return n && i && Zo(t, e, i), i;
|
|
2224
2250
|
};
|
|
2225
|
-
let dt = class extends
|
|
2251
|
+
let dt = class extends u {
|
|
2226
2252
|
constructor() {
|
|
2227
2253
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
2228
2254
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -2263,7 +2289,7 @@ let dt = class extends p {
|
|
|
2263
2289
|
this.label = o, this.requestUpdate();
|
|
2264
2290
|
}
|
|
2265
2291
|
};
|
|
2266
|
-
dt.styles =
|
|
2292
|
+
dt.styles = v`
|
|
2267
2293
|
:host {
|
|
2268
2294
|
display: inline-flex;
|
|
2269
2295
|
justify-content: center;
|
|
@@ -2338,14 +2364,14 @@ It([
|
|
|
2338
2364
|
a({ type: String, reflect: !0 })
|
|
2339
2365
|
], dt.prototype, "label", 2);
|
|
2340
2366
|
dt = It([
|
|
2341
|
-
|
|
2367
|
+
b("o-wishlist-button")
|
|
2342
2368
|
], dt);
|
|
2343
2369
|
var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, lt = (o, t, e, n) => {
|
|
2344
2370
|
for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2345
2371
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2346
2372
|
return n && i && Wo(t, e, i), i;
|
|
2347
2373
|
};
|
|
2348
|
-
let K = class extends
|
|
2374
|
+
let K = class extends u {
|
|
2349
2375
|
constructor() {
|
|
2350
2376
|
super(...arguments), this.href = "", this.target = "", this.template = "standard", this.inverse = !1, this.endIcon = !1, this.reverseEndIcon = !1;
|
|
2351
2377
|
}
|
|
@@ -2383,7 +2409,7 @@ let K = class extends p {
|
|
|
2383
2409
|
`;
|
|
2384
2410
|
}
|
|
2385
2411
|
};
|
|
2386
|
-
K.styles =
|
|
2412
|
+
K.styles = v`
|
|
2387
2413
|
:host([template="standard"]) a {
|
|
2388
2414
|
color: var(--color-content-action-secondary);
|
|
2389
2415
|
font-size: var(--font-size-200);
|
|
@@ -2485,14 +2511,14 @@ lt([
|
|
|
2485
2511
|
a({ type: Boolean, reflect: !0 })
|
|
2486
2512
|
], K.prototype, "reverseEndIcon", 2);
|
|
2487
2513
|
K = lt([
|
|
2488
|
-
|
|
2514
|
+
b("o-link")
|
|
2489
2515
|
], K);
|
|
2490
2516
|
var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Dt = (o, t, e, n) => {
|
|
2491
2517
|
for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2492
2518
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2493
2519
|
return n && i && Xo(t, e, i), i;
|
|
2494
2520
|
};
|
|
2495
|
-
let pt = class extends
|
|
2521
|
+
let pt = class extends u {
|
|
2496
2522
|
constructor() {
|
|
2497
2523
|
super(...arguments), this.rating = 0;
|
|
2498
2524
|
}
|
|
@@ -2519,7 +2545,7 @@ let pt = class extends p {
|
|
|
2519
2545
|
`;
|
|
2520
2546
|
}
|
|
2521
2547
|
};
|
|
2522
|
-
pt.styles =
|
|
2548
|
+
pt.styles = v`
|
|
2523
2549
|
svg {
|
|
2524
2550
|
width: 12px;
|
|
2525
2551
|
height: 12px;
|
|
@@ -2563,14 +2589,14 @@ Dt([
|
|
|
2563
2589
|
a({ type: String })
|
|
2564
2590
|
], pt.prototype, "href", 2);
|
|
2565
2591
|
pt = Dt([
|
|
2566
|
-
|
|
2592
|
+
b("o-rating")
|
|
2567
2593
|
], pt);
|
|
2568
2594
|
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, ot = (o, t, e, n) => {
|
|
2569
2595
|
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2570
2596
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2571
2597
|
return n && i && Jo(t, e, i), i;
|
|
2572
2598
|
};
|
|
2573
|
-
let F = class extends
|
|
2599
|
+
let F = class extends u {
|
|
2574
2600
|
constructor() {
|
|
2575
2601
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2576
2602
|
<o-icon-button
|
|
@@ -2661,7 +2687,7 @@ let F = class extends p {
|
|
|
2661
2687
|
`;
|
|
2662
2688
|
}
|
|
2663
2689
|
};
|
|
2664
|
-
F.styles =
|
|
2690
|
+
F.styles = v`
|
|
2665
2691
|
:host {
|
|
2666
2692
|
display: flex;
|
|
2667
2693
|
gap: 5px;
|
|
@@ -2788,14 +2814,14 @@ ot([
|
|
|
2788
2814
|
W()
|
|
2789
2815
|
], F.prototype, "focusedIndex", 2);
|
|
2790
2816
|
F = ot([
|
|
2791
|
-
|
|
2817
|
+
b("thumbnail-navigation")
|
|
2792
2818
|
], F);
|
|
2793
2819
|
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, te = (o, t, e, n) => {
|
|
2794
2820
|
for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2795
2821
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2796
2822
|
return n && i && ti(t, e, i), i;
|
|
2797
2823
|
};
|
|
2798
|
-
let wt = class extends
|
|
2824
|
+
let wt = class extends u {
|
|
2799
2825
|
constructor() {
|
|
2800
2826
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2801
2827
|
}
|
|
@@ -2805,7 +2831,7 @@ let wt = class extends p {
|
|
|
2805
2831
|
`;
|
|
2806
2832
|
}
|
|
2807
2833
|
};
|
|
2808
|
-
wt.styles =
|
|
2834
|
+
wt.styles = v`
|
|
2809
2835
|
.tag {
|
|
2810
2836
|
display: inline-block;
|
|
2811
2837
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2872,14 +2898,14 @@ te([
|
|
|
2872
2898
|
a({ type: String, reflect: !0 })
|
|
2873
2899
|
], wt.prototype, "bgstyle", 2);
|
|
2874
2900
|
wt = te([
|
|
2875
|
-
|
|
2901
|
+
b("o-tag")
|
|
2876
2902
|
], wt);
|
|
2877
2903
|
var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
|
|
2878
2904
|
for (var i = n > 1 ? void 0 : n ? ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2879
2905
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2880
2906
|
return n && i && oi(t, e, i), i;
|
|
2881
2907
|
};
|
|
2882
|
-
let $t = class extends
|
|
2908
|
+
let $t = class extends u {
|
|
2883
2909
|
constructor() {
|
|
2884
2910
|
super(...arguments), this.type = "top", this.text = "";
|
|
2885
2911
|
}
|
|
@@ -2892,7 +2918,7 @@ let $t = class extends p {
|
|
|
2892
2918
|
`;
|
|
2893
2919
|
}
|
|
2894
2920
|
};
|
|
2895
|
-
$t.styles =
|
|
2921
|
+
$t.styles = v`
|
|
2896
2922
|
.tooltip {
|
|
2897
2923
|
position: relative;
|
|
2898
2924
|
display: inline-block;
|
|
@@ -2992,14 +3018,14 @@ ee([
|
|
|
2992
3018
|
a({ type: String, reflect: !0 })
|
|
2993
3019
|
], $t.prototype, "text", 2);
|
|
2994
3020
|
$t = ee([
|
|
2995
|
-
|
|
3021
|
+
b("o-tooltip")
|
|
2996
3022
|
], $t);
|
|
2997
3023
|
var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
|
|
2998
3024
|
for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2999
3025
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3000
3026
|
return n && i && ni(t, e, i), i;
|
|
3001
3027
|
};
|
|
3002
|
-
let T = class extends
|
|
3028
|
+
let T = class extends u {
|
|
3003
3029
|
constructor() {
|
|
3004
3030
|
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) => {
|
|
3005
3031
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3122,7 +3148,7 @@ let T = class extends p {
|
|
|
3122
3148
|
`;
|
|
3123
3149
|
}
|
|
3124
3150
|
};
|
|
3125
|
-
T.styles =
|
|
3151
|
+
T.styles = v`
|
|
3126
3152
|
:host {
|
|
3127
3153
|
display: inline-block;
|
|
3128
3154
|
position: relative;
|
|
@@ -3286,19 +3312,19 @@ G([
|
|
|
3286
3312
|
W()
|
|
3287
3313
|
], T.prototype, "menuWidth", 2);
|
|
3288
3314
|
T = G([
|
|
3289
|
-
|
|
3315
|
+
b("o-dropdown")
|
|
3290
3316
|
], T);
|
|
3291
3317
|
var si = Object.getOwnPropertyDescriptor, ai = (o, t, e, n) => {
|
|
3292
3318
|
for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3293
3319
|
(s = o[r]) && (i = s(i) || i);
|
|
3294
3320
|
return i;
|
|
3295
3321
|
};
|
|
3296
|
-
let Nt = class extends
|
|
3322
|
+
let Nt = class extends u {
|
|
3297
3323
|
render() {
|
|
3298
3324
|
return l` <span class="dots"></span> `;
|
|
3299
3325
|
}
|
|
3300
3326
|
};
|
|
3301
|
-
Nt.styles =
|
|
3327
|
+
Nt.styles = v`
|
|
3302
3328
|
:host {
|
|
3303
3329
|
display: flex;
|
|
3304
3330
|
align-items: center;
|
|
@@ -3342,14 +3368,14 @@ Nt.styles = f`
|
|
|
3342
3368
|
}
|
|
3343
3369
|
`;
|
|
3344
3370
|
Nt = ai([
|
|
3345
|
-
|
|
3371
|
+
b("o-dots")
|
|
3346
3372
|
], Nt);
|
|
3347
3373
|
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
|
|
3348
3374
|
for (var i = n > 1 ? void 0 : n ? ci(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3349
3375
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3350
3376
|
return n && i && li(t, e, i), i;
|
|
3351
3377
|
};
|
|
3352
|
-
let z = class extends
|
|
3378
|
+
let z = class extends u {
|
|
3353
3379
|
constructor() {
|
|
3354
3380
|
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) => {
|
|
3355
3381
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3486,7 +3512,7 @@ let z = class extends p {
|
|
|
3486
3512
|
`;
|
|
3487
3513
|
}
|
|
3488
3514
|
};
|
|
3489
|
-
z.styles =
|
|
3515
|
+
z.styles = v`
|
|
3490
3516
|
:host {
|
|
3491
3517
|
display: inline-block;
|
|
3492
3518
|
position: relative;
|
|
@@ -3690,7 +3716,7 @@ U([
|
|
|
3690
3716
|
W()
|
|
3691
3717
|
], z.prototype, "menuWidth", 2);
|
|
3692
3718
|
z = U([
|
|
3693
|
-
|
|
3719
|
+
b("o-dropdown-variant")
|
|
3694
3720
|
], z);
|
|
3695
3721
|
/**
|
|
3696
3722
|
* @license
|
|
@@ -3728,7 +3754,7 @@ var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, oe = (o, t
|
|
|
3728
3754
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3729
3755
|
return n && i && pi(t, e, i), i;
|
|
3730
3756
|
};
|
|
3731
|
-
let kt = class extends
|
|
3757
|
+
let kt = class extends u {
|
|
3732
3758
|
constructor() {
|
|
3733
3759
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3734
3760
|
}
|
|
@@ -3749,7 +3775,7 @@ let kt = class extends p {
|
|
|
3749
3775
|
return t ? l`<a href="${P(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
|
|
3750
3776
|
}
|
|
3751
3777
|
};
|
|
3752
|
-
kt.styles =
|
|
3778
|
+
kt.styles = v`
|
|
3753
3779
|
:host {
|
|
3754
3780
|
display: inline-block;
|
|
3755
3781
|
position: relative;
|
|
@@ -3838,14 +3864,14 @@ oe([
|
|
|
3838
3864
|
a({ type: Number, reflect: !0 })
|
|
3839
3865
|
], kt.prototype, "imageSize", 2);
|
|
3840
3866
|
kt = oe([
|
|
3841
|
-
|
|
3867
|
+
b("o-reassurance")
|
|
3842
3868
|
], kt);
|
|
3843
3869
|
var fi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
3844
3870
|
for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3845
3871
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3846
3872
|
return n && i && fi(t, e, i), i;
|
|
3847
3873
|
};
|
|
3848
|
-
const gi = Xt(
|
|
3874
|
+
const gi = Xt(u);
|
|
3849
3875
|
let O = class extends gi {
|
|
3850
3876
|
constructor() {
|
|
3851
3877
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
@@ -3870,7 +3896,7 @@ let O = class extends gi {
|
|
|
3870
3896
|
`;
|
|
3871
3897
|
}
|
|
3872
3898
|
};
|
|
3873
|
-
O.styles =
|
|
3899
|
+
O.styles = v`
|
|
3874
3900
|
:host {
|
|
3875
3901
|
cursor: pointer;
|
|
3876
3902
|
display: inline-flex;
|
|
@@ -3989,14 +4015,14 @@ X([
|
|
|
3989
4015
|
a({ type: Boolean, reflect: !0 })
|
|
3990
4016
|
], O.prototype, "inactive", 2);
|
|
3991
4017
|
O = X([
|
|
3992
|
-
|
|
4018
|
+
b("o-chip")
|
|
3993
4019
|
], O);
|
|
3994
4020
|
var bi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
|
|
3995
4021
|
for (var i = n > 1 ? void 0 : n ? yi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3996
4022
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3997
4023
|
return n && i && bi(t, e, i), i;
|
|
3998
4024
|
};
|
|
3999
|
-
let _t = class extends
|
|
4025
|
+
let _t = class extends u {
|
|
4000
4026
|
constructor() {
|
|
4001
4027
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
4002
4028
|
}
|
|
@@ -4012,7 +4038,7 @@ let _t = class extends p {
|
|
|
4012
4038
|
`;
|
|
4013
4039
|
}
|
|
4014
4040
|
};
|
|
4015
|
-
_t.styles =
|
|
4041
|
+
_t.styles = v`
|
|
4016
4042
|
:host {
|
|
4017
4043
|
display: flex;
|
|
4018
4044
|
flex-direction: row;
|
|
@@ -4027,14 +4053,14 @@ ie([
|
|
|
4027
4053
|
a({ reflect: !0 })
|
|
4028
4054
|
], _t.prototype, "value", 2);
|
|
4029
4055
|
_t = ie([
|
|
4030
|
-
|
|
4056
|
+
b("o-chipset")
|
|
4031
4057
|
], _t);
|
|
4032
4058
|
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
4033
4059
|
for (var i = n > 1 ? void 0 : n ? xi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4034
4060
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4035
4061
|
return n && i && mi(t, e, i), i;
|
|
4036
4062
|
};
|
|
4037
|
-
const wi = Xt(
|
|
4063
|
+
const wi = Xt(u);
|
|
4038
4064
|
let I = class extends wi {
|
|
4039
4065
|
constructor() {
|
|
4040
4066
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
@@ -4054,7 +4080,7 @@ let I = class extends wi {
|
|
|
4054
4080
|
return l`<span class="cross-icon">${S(o)}</span>`;
|
|
4055
4081
|
}
|
|
4056
4082
|
strikeThroughImg() {
|
|
4057
|
-
const o =
|
|
4083
|
+
const o = Lo[this.strikethroughImgName].replace(
|
|
4058
4084
|
"<svg",
|
|
4059
4085
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4060
4086
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
@@ -4085,7 +4111,7 @@ let I = class extends wi {
|
|
|
4085
4111
|
`;
|
|
4086
4112
|
}
|
|
4087
4113
|
};
|
|
4088
|
-
I.styles =
|
|
4114
|
+
I.styles = v`
|
|
4089
4115
|
:host {
|
|
4090
4116
|
cursor: pointer;
|
|
4091
4117
|
display: inline-flex;
|
|
@@ -4236,14 +4262,14 @@ N([
|
|
|
4236
4262
|
a({ type: Boolean, reflect: !0 })
|
|
4237
4263
|
], I.prototype, "fullwidth", 2);
|
|
4238
4264
|
I = N([
|
|
4239
|
-
|
|
4265
|
+
b("o-filter-chip")
|
|
4240
4266
|
], I);
|
|
4241
4267
|
var $i = Object.defineProperty, M = (o, t, e, n) => {
|
|
4242
4268
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
4243
4269
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
4244
4270
|
return i && $i(t, e, i), i;
|
|
4245
4271
|
};
|
|
4246
|
-
const se = class se extends
|
|
4272
|
+
const se = class se extends u {
|
|
4247
4273
|
constructor() {
|
|
4248
4274
|
super(...arguments), this.type = "cart | chevron", this.titleProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.imageUrl = "https://placehold.co/56x70", this.altImage = "", this.fullwidth = !1, this.tagText = "";
|
|
4249
4275
|
}
|
|
@@ -4309,7 +4335,7 @@ const se = class se extends p {
|
|
|
4309
4335
|
`;
|
|
4310
4336
|
}
|
|
4311
4337
|
};
|
|
4312
|
-
se.styles =
|
|
4338
|
+
se.styles = v`
|
|
4313
4339
|
:host {
|
|
4314
4340
|
display: block;
|
|
4315
4341
|
max-width: 100%;
|
|
@@ -4462,7 +4488,7 @@ var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, ne = (o, t
|
|
|
4462
4488
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4463
4489
|
return n && i && ki(t, e, i), i;
|
|
4464
4490
|
};
|
|
4465
|
-
let Ct = class extends
|
|
4491
|
+
let Ct = class extends u {
|
|
4466
4492
|
constructor() {
|
|
4467
4493
|
super(...arguments), this.variant = "cart", this.text = "";
|
|
4468
4494
|
}
|
|
@@ -4474,7 +4500,7 @@ let Ct = class extends p {
|
|
|
4474
4500
|
`;
|
|
4475
4501
|
}
|
|
4476
4502
|
};
|
|
4477
|
-
Ct.styles =
|
|
4503
|
+
Ct.styles = v`
|
|
4478
4504
|
:host([variant]) {
|
|
4479
4505
|
--badge-width: 19px;
|
|
4480
4506
|
display: inline-block;
|
|
@@ -4516,14 +4542,14 @@ ne([
|
|
|
4516
4542
|
a({ type: String })
|
|
4517
4543
|
], Ct.prototype, "text", 2);
|
|
4518
4544
|
Ct = ne([
|
|
4519
|
-
|
|
4545
|
+
b("o-badge")
|
|
4520
4546
|
], Ct);
|
|
4521
4547
|
var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
4522
4548
|
for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4523
4549
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4524
4550
|
return n && i && Ci(t, e, i), i;
|
|
4525
4551
|
};
|
|
4526
|
-
let
|
|
4552
|
+
let A = class extends u {
|
|
4527
4553
|
constructor() {
|
|
4528
4554
|
super(...arguments), this.icon = "info", this.text = "Sample text", this.verticalanchor = "top", this.horizontalanchor = "right", this.verticaloffset = 24, this.horizontaloffset = 24, this.animationduration = 500, this.animationaxis = "horizontal", this.animated = !0, this.lifeduration = 5e3, this.multiline = !1;
|
|
4529
4555
|
}
|
|
@@ -4587,7 +4613,7 @@ let L = class extends p {
|
|
|
4587
4613
|
`;
|
|
4588
4614
|
}
|
|
4589
4615
|
};
|
|
4590
|
-
|
|
4616
|
+
A.styles = v`
|
|
4591
4617
|
:host {
|
|
4592
4618
|
--vertical-offset: 24px;
|
|
4593
4619
|
--horizontal-offset: 24px;
|
|
@@ -4667,48 +4693,48 @@ L.styles = f`
|
|
|
4667
4693
|
`;
|
|
4668
4694
|
H([
|
|
4669
4695
|
a({ type: String, reflect: !0 })
|
|
4670
|
-
],
|
|
4696
|
+
], A.prototype, "icon", 2);
|
|
4671
4697
|
H([
|
|
4672
4698
|
a({ type: String, reflect: !0 })
|
|
4673
|
-
],
|
|
4699
|
+
], A.prototype, "text", 2);
|
|
4674
4700
|
H([
|
|
4675
4701
|
a({ type: String, reflect: !0 })
|
|
4676
|
-
],
|
|
4702
|
+
], A.prototype, "verticalanchor", 2);
|
|
4677
4703
|
H([
|
|
4678
4704
|
a({ type: String, reflect: !0 })
|
|
4679
|
-
],
|
|
4705
|
+
], A.prototype, "horizontalanchor", 2);
|
|
4680
4706
|
H([
|
|
4681
4707
|
a({ type: Number, reflect: !0 })
|
|
4682
|
-
],
|
|
4708
|
+
], A.prototype, "verticaloffset", 2);
|
|
4683
4709
|
H([
|
|
4684
4710
|
a({ type: Number, reflect: !0 })
|
|
4685
|
-
],
|
|
4711
|
+
], A.prototype, "horizontaloffset", 2);
|
|
4686
4712
|
H([
|
|
4687
4713
|
a({ type: Number, reflect: !0 })
|
|
4688
|
-
],
|
|
4714
|
+
], A.prototype, "animationduration", 2);
|
|
4689
4715
|
H([
|
|
4690
4716
|
a({ type: String, reflect: !0 })
|
|
4691
|
-
],
|
|
4717
|
+
], A.prototype, "animationaxis", 2);
|
|
4692
4718
|
H([
|
|
4693
4719
|
a({ type: Boolean, reflect: !0 })
|
|
4694
|
-
],
|
|
4720
|
+
], A.prototype, "animated", 2);
|
|
4695
4721
|
H([
|
|
4696
4722
|
a({ type: Number, reflect: !0 })
|
|
4697
|
-
],
|
|
4723
|
+
], A.prototype, "lifeduration", 2);
|
|
4698
4724
|
H([
|
|
4699
4725
|
a({ type: Boolean, reflect: !0 })
|
|
4700
|
-
],
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
],
|
|
4704
|
-
var Ei = Object.defineProperty,
|
|
4705
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4726
|
+
], A.prototype, "multiline", 2);
|
|
4727
|
+
A = H([
|
|
4728
|
+
b("o-toast")
|
|
4729
|
+
], A);
|
|
4730
|
+
var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
|
|
4731
|
+
for (var i = n > 1 ? void 0 : n ? Ai(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4706
4732
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4707
4733
|
return n && i && Ei(t, e, i), i;
|
|
4708
4734
|
};
|
|
4709
|
-
let
|
|
4735
|
+
let Li = 0, L = class extends u {
|
|
4710
4736
|
constructor() {
|
|
4711
|
-
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++
|
|
4737
|
+
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++Li}`);
|
|
4712
4738
|
}
|
|
4713
4739
|
toggle() {
|
|
4714
4740
|
this.disabled || (this.indeterminate ? (this.indeterminate = !1, this.checked = !0) : this.checked = !this.checked, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -4746,7 +4772,7 @@ let Ai = 0, A = class extends p {
|
|
|
4746
4772
|
`;
|
|
4747
4773
|
}
|
|
4748
4774
|
};
|
|
4749
|
-
|
|
4775
|
+
L.styles = v`
|
|
4750
4776
|
:host {
|
|
4751
4777
|
display: inline-flex;
|
|
4752
4778
|
align-items: center;
|
|
@@ -4851,43 +4877,43 @@ A.styles = f`
|
|
|
4851
4877
|
`;
|
|
4852
4878
|
j([
|
|
4853
4879
|
a({ type: Boolean, reflect: !0 })
|
|
4854
|
-
],
|
|
4880
|
+
], L.prototype, "checked", 2);
|
|
4855
4881
|
j([
|
|
4856
4882
|
a({ type: Boolean, reflect: !0 })
|
|
4857
|
-
],
|
|
4883
|
+
], L.prototype, "indeterminate", 2);
|
|
4858
4884
|
j([
|
|
4859
4885
|
a({ type: Boolean, reflect: !0 })
|
|
4860
|
-
],
|
|
4886
|
+
], L.prototype, "disabled", 2);
|
|
4861
4887
|
j([
|
|
4862
4888
|
a({ type: String, reflect: !0 })
|
|
4863
|
-
],
|
|
4889
|
+
], L.prototype, "size", 2);
|
|
4864
4890
|
j([
|
|
4865
4891
|
a({ type: Boolean })
|
|
4866
|
-
],
|
|
4892
|
+
], L.prototype, "showLabel", 2);
|
|
4867
4893
|
j([
|
|
4868
4894
|
a({ type: String })
|
|
4869
|
-
],
|
|
4895
|
+
], L.prototype, "label", 2);
|
|
4870
4896
|
j([
|
|
4871
4897
|
a({ type: String })
|
|
4872
|
-
],
|
|
4898
|
+
], L.prototype, "name", 2);
|
|
4873
4899
|
j([
|
|
4874
4900
|
a({ type: String })
|
|
4875
|
-
],
|
|
4901
|
+
], L.prototype, "value", 2);
|
|
4876
4902
|
j([
|
|
4877
4903
|
a({ type: String, reflect: !0 })
|
|
4878
|
-
],
|
|
4904
|
+
], L.prototype, "inputId", 2);
|
|
4879
4905
|
j([
|
|
4880
4906
|
Ce("input")
|
|
4881
|
-
],
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
],
|
|
4907
|
+
], L.prototype, "inputEl", 2);
|
|
4908
|
+
L = j([
|
|
4909
|
+
b("o-checkbox")
|
|
4910
|
+
], L);
|
|
4885
4911
|
var Pi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, q = (o, t, e, n) => {
|
|
4886
4912
|
for (var i = n > 1 ? void 0 : n ? Bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4887
4913
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4888
4914
|
return n && i && Pi(t, e, i), i;
|
|
4889
4915
|
};
|
|
4890
|
-
let zi = 0, D = class extends
|
|
4916
|
+
let zi = 0, D = class extends u {
|
|
4891
4917
|
constructor() {
|
|
4892
4918
|
super(), this.checked = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Radio button", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-radio-${++zi}`);
|
|
4893
4919
|
}
|
|
@@ -4921,7 +4947,7 @@ let zi = 0, D = class extends p {
|
|
|
4921
4947
|
`;
|
|
4922
4948
|
}
|
|
4923
4949
|
};
|
|
4924
|
-
D.styles =
|
|
4950
|
+
D.styles = v`
|
|
4925
4951
|
:host {
|
|
4926
4952
|
display: inline-flex;
|
|
4927
4953
|
align-items: center;
|
|
@@ -5039,14 +5065,14 @@ q([
|
|
|
5039
5065
|
Ce("input")
|
|
5040
5066
|
], D.prototype, "inputEl", 2);
|
|
5041
5067
|
D = q([
|
|
5042
|
-
|
|
5068
|
+
b("o-radio")
|
|
5043
5069
|
], D);
|
|
5044
5070
|
var Oi = Object.getOwnPropertyDescriptor, Ii = (o, t, e, n) => {
|
|
5045
5071
|
for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5046
5072
|
(s = o[r]) && (i = s(i) || i);
|
|
5047
5073
|
return i;
|
|
5048
5074
|
};
|
|
5049
|
-
let qt = class extends
|
|
5075
|
+
let qt = class extends u {
|
|
5050
5076
|
render() {
|
|
5051
5077
|
return l`
|
|
5052
5078
|
<nav aria-label="Breadcrumbs">
|
|
@@ -5057,7 +5083,7 @@ let qt = class extends p {
|
|
|
5057
5083
|
`;
|
|
5058
5084
|
}
|
|
5059
5085
|
};
|
|
5060
|
-
qt.styles =
|
|
5086
|
+
qt.styles = v`
|
|
5061
5087
|
nav {
|
|
5062
5088
|
max-width: 144rem;
|
|
5063
5089
|
margin: auto;
|
|
@@ -5070,14 +5096,14 @@ qt.styles = f`
|
|
|
5070
5096
|
}
|
|
5071
5097
|
`;
|
|
5072
5098
|
qt = Ii([
|
|
5073
|
-
|
|
5099
|
+
b("o-breadcrumbs")
|
|
5074
5100
|
], qt);
|
|
5075
5101
|
var Di = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
|
|
5076
5102
|
for (var i = n > 1 ? void 0 : n ? Hi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5077
5103
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5078
5104
|
return n && i && Di(t, e, i), i;
|
|
5079
5105
|
};
|
|
5080
|
-
let St = class extends
|
|
5106
|
+
let St = class extends u {
|
|
5081
5107
|
constructor() {
|
|
5082
5108
|
super(...arguments), this.href = "", this.active = !1;
|
|
5083
5109
|
}
|
|
@@ -5098,7 +5124,7 @@ let St = class extends p {
|
|
|
5098
5124
|
`;
|
|
5099
5125
|
}
|
|
5100
5126
|
};
|
|
5101
|
-
St.styles =
|
|
5127
|
+
St.styles = v`
|
|
5102
5128
|
:host(:not([active]))::after {
|
|
5103
5129
|
content: "/";
|
|
5104
5130
|
margin: 0 0.5rem;
|
|
@@ -5145,14 +5171,14 @@ re([
|
|
|
5145
5171
|
a({ type: Boolean, reflect: !0 })
|
|
5146
5172
|
], St.prototype, "active", 2);
|
|
5147
5173
|
St = re([
|
|
5148
|
-
|
|
5174
|
+
b("o-breadcrumb")
|
|
5149
5175
|
], St);
|
|
5150
5176
|
var Ti = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
|
|
5151
5177
|
for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5152
5178
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5153
5179
|
return n && i && Ti(t, e, i), i;
|
|
5154
5180
|
};
|
|
5155
|
-
let et = class extends
|
|
5181
|
+
let et = class extends u {
|
|
5156
5182
|
constructor() {
|
|
5157
5183
|
super(...arguments), this.imageUrl = "", this.imageAlt = "", this.hoverUrl = "", this.hoverAlt = "", this.dimmed = !1;
|
|
5158
5184
|
}
|
|
@@ -5171,7 +5197,7 @@ let et = class extends p {
|
|
|
5171
5197
|
</div>`;
|
|
5172
5198
|
}
|
|
5173
5199
|
};
|
|
5174
|
-
et.styles =
|
|
5200
|
+
et.styles = v`
|
|
5175
5201
|
:host {
|
|
5176
5202
|
--card-width : 175px;
|
|
5177
5203
|
--card-height : 260px;
|
|
@@ -5260,7 +5286,7 @@ ut([
|
|
|
5260
5286
|
a({ type: Boolean, reflect: !0 })
|
|
5261
5287
|
], et.prototype, "dimmed", 2);
|
|
5262
5288
|
et = ut([
|
|
5263
|
-
|
|
5289
|
+
b("o-arch-image")
|
|
5264
5290
|
], et);
|
|
5265
5291
|
const ji = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
5266
5292
|
<svg
|
|
@@ -5348,7 +5374,7 @@ var Fi = Object.defineProperty, Ri = Object.getOwnPropertyDescriptor, C = (o, t,
|
|
|
5348
5374
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5349
5375
|
return n && i && Fi(t, e, i), i;
|
|
5350
5376
|
};
|
|
5351
|
-
const ae = class ae extends
|
|
5377
|
+
const ae = class ae extends u {
|
|
5352
5378
|
constructor() {
|
|
5353
5379
|
super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.background = "", this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this.showBackButton = !1, this.contrast = !1, this.iconSize = "large", this.hideHeaderOnScroll = !1, this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._headerHidden = !1, this._onBackdropClick = (t) => {
|
|
5354
5380
|
var n;
|
|
@@ -5477,7 +5503,7 @@ const ae = class ae extends p {
|
|
|
5477
5503
|
`;
|
|
5478
5504
|
}
|
|
5479
5505
|
};
|
|
5480
|
-
ae.styles =
|
|
5506
|
+
ae.styles = v`
|
|
5481
5507
|
:host {
|
|
5482
5508
|
position: fixed;
|
|
5483
5509
|
inset: 0;
|
|
@@ -5613,62 +5639,62 @@ ae.styles = f`
|
|
|
5613
5639
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
5614
5640
|
}
|
|
5615
5641
|
`;
|
|
5616
|
-
let
|
|
5642
|
+
let $ = ae;
|
|
5617
5643
|
C([
|
|
5618
5644
|
a({ type: Boolean, reflect: !0 })
|
|
5619
|
-
],
|
|
5645
|
+
], $.prototype, "ispagedesigner", 2);
|
|
5620
5646
|
C([
|
|
5621
5647
|
a({ type: String, reflect: !0 })
|
|
5622
|
-
],
|
|
5648
|
+
], $.prototype, "classPopin", 1);
|
|
5623
5649
|
C([
|
|
5624
5650
|
a({ type: Boolean, reflect: !0 })
|
|
5625
|
-
],
|
|
5651
|
+
], $.prototype, "open", 2);
|
|
5626
5652
|
C([
|
|
5627
5653
|
a({ type: String, reflect: !0 })
|
|
5628
|
-
],
|
|
5654
|
+
], $.prototype, "background", 2);
|
|
5629
5655
|
C([
|
|
5630
5656
|
a({ type: String, attribute: "background-url", reflect: !0 })
|
|
5631
|
-
],
|
|
5657
|
+
], $.prototype, "backgroundUrl", 2);
|
|
5632
5658
|
C([
|
|
5633
5659
|
a({ type: Boolean, attribute: "close-on-esc" })
|
|
5634
|
-
],
|
|
5660
|
+
], $.prototype, "closeOnEsc", 2);
|
|
5635
5661
|
C([
|
|
5636
5662
|
a({ type: Boolean, attribute: "close-on-backdrop" })
|
|
5637
|
-
],
|
|
5663
|
+
], $.prototype, "closeOnBackdrop", 2);
|
|
5638
5664
|
C([
|
|
5639
5665
|
a({ type: Boolean, attribute: "lock-scroll" })
|
|
5640
|
-
],
|
|
5666
|
+
], $.prototype, "lockScroll", 2);
|
|
5641
5667
|
C([
|
|
5642
5668
|
a({ type: String, reflect: !0 })
|
|
5643
|
-
],
|
|
5669
|
+
], $.prototype, "variant", 2);
|
|
5644
5670
|
C([
|
|
5645
5671
|
a({ type: String, attribute: "max-width" })
|
|
5646
|
-
],
|
|
5672
|
+
], $.prototype, "maxWidth", 2);
|
|
5647
5673
|
C([
|
|
5648
5674
|
a({ type: Boolean, reflect: !0 })
|
|
5649
|
-
],
|
|
5675
|
+
], $.prototype, "showBackButton", 2);
|
|
5650
5676
|
C([
|
|
5651
5677
|
a({ type: Boolean, reflect: !0 })
|
|
5652
|
-
],
|
|
5678
|
+
], $.prototype, "contrast", 2);
|
|
5653
5679
|
C([
|
|
5654
5680
|
a({ type: String, reflect: !0 })
|
|
5655
|
-
],
|
|
5681
|
+
], $.prototype, "iconSize", 2);
|
|
5656
5682
|
C([
|
|
5657
5683
|
a({ type: Boolean, attribute: "hide-header-on-scroll" })
|
|
5658
|
-
],
|
|
5684
|
+
], $.prototype, "hideHeaderOnScroll", 2);
|
|
5659
5685
|
C([
|
|
5660
5686
|
W()
|
|
5661
|
-
],
|
|
5687
|
+
], $.prototype, "_labelId", 2);
|
|
5662
5688
|
C([
|
|
5663
5689
|
W()
|
|
5664
|
-
],
|
|
5665
|
-
customElements.define("o-popin",
|
|
5666
|
-
var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor,
|
|
5690
|
+
], $.prototype, "_headerHidden", 2);
|
|
5691
|
+
customElements.define("o-popin", $);
|
|
5692
|
+
var Ui = Object.defineProperty, Ni = Object.getOwnPropertyDescriptor, k = (o, t, e, n) => {
|
|
5667
5693
|
for (var i = n > 1 ? void 0 : n ? Ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5668
5694
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5669
5695
|
return n && i && Ui(t, e, i), i;
|
|
5670
5696
|
};
|
|
5671
|
-
let
|
|
5697
|
+
let w = class extends u {
|
|
5672
5698
|
constructor() {
|
|
5673
5699
|
super(...arguments), this.type = "cart | notifyme", this.titleProduct = "", this.descriptionProduct = "", this.volume = "", this.perLiter = "", this.mainPrice = "", this.salesPercentage = "", this.oldPrice = "", this.imageUrl = "https://placehold.co/112x140", this.outOfStock = !1, this.altImage = "", this.fullwidth = !1, this.current = !1, this.hideIcon = !1, this.tagText = "";
|
|
5674
5700
|
}
|
|
@@ -5737,7 +5763,7 @@ let m = class extends p {
|
|
|
5737
5763
|
`;
|
|
5738
5764
|
}
|
|
5739
5765
|
};
|
|
5740
|
-
|
|
5766
|
+
w.styles = v`
|
|
5741
5767
|
:host {
|
|
5742
5768
|
display: block;
|
|
5743
5769
|
max-width: 100%;
|
|
@@ -5906,57 +5932,57 @@ m.styles = f`
|
|
|
5906
5932
|
cursor: pointer;
|
|
5907
5933
|
}
|
|
5908
5934
|
`;
|
|
5909
|
-
|
|
5935
|
+
k([
|
|
5910
5936
|
a({ type: String })
|
|
5911
|
-
],
|
|
5912
|
-
|
|
5937
|
+
], w.prototype, "type", 2);
|
|
5938
|
+
k([
|
|
5913
5939
|
a({ type: String })
|
|
5914
|
-
],
|
|
5915
|
-
|
|
5940
|
+
], w.prototype, "titleProduct", 2);
|
|
5941
|
+
k([
|
|
5916
5942
|
a({ type: String })
|
|
5917
|
-
],
|
|
5918
|
-
|
|
5943
|
+
], w.prototype, "descriptionProduct", 2);
|
|
5944
|
+
k([
|
|
5919
5945
|
a({ type: String })
|
|
5920
|
-
],
|
|
5921
|
-
|
|
5946
|
+
], w.prototype, "volume", 2);
|
|
5947
|
+
k([
|
|
5922
5948
|
a({ type: String })
|
|
5923
|
-
],
|
|
5924
|
-
|
|
5949
|
+
], w.prototype, "perLiter", 2);
|
|
5950
|
+
k([
|
|
5925
5951
|
a({ type: String })
|
|
5926
|
-
],
|
|
5927
|
-
|
|
5952
|
+
], w.prototype, "mainPrice", 2);
|
|
5953
|
+
k([
|
|
5928
5954
|
a({ type: String })
|
|
5929
|
-
],
|
|
5930
|
-
|
|
5955
|
+
], w.prototype, "salesPercentage", 2);
|
|
5956
|
+
k([
|
|
5931
5957
|
a({ type: String })
|
|
5932
|
-
],
|
|
5933
|
-
|
|
5958
|
+
], w.prototype, "oldPrice", 2);
|
|
5959
|
+
k([
|
|
5934
5960
|
a({ type: String })
|
|
5935
|
-
],
|
|
5936
|
-
|
|
5961
|
+
], w.prototype, "imageUrl", 2);
|
|
5962
|
+
k([
|
|
5937
5963
|
a({ type: Boolean })
|
|
5938
|
-
],
|
|
5939
|
-
|
|
5964
|
+
], w.prototype, "outOfStock", 2);
|
|
5965
|
+
k([
|
|
5940
5966
|
a({ type: String })
|
|
5941
|
-
],
|
|
5942
|
-
|
|
5967
|
+
], w.prototype, "altImage", 2);
|
|
5968
|
+
k([
|
|
5943
5969
|
a({ type: Boolean })
|
|
5944
|
-
],
|
|
5945
|
-
|
|
5970
|
+
], w.prototype, "fullwidth", 2);
|
|
5971
|
+
k([
|
|
5946
5972
|
a({ type: Boolean })
|
|
5947
|
-
],
|
|
5948
|
-
|
|
5973
|
+
], w.prototype, "current", 2);
|
|
5974
|
+
k([
|
|
5949
5975
|
a({ type: Boolean })
|
|
5950
|
-
],
|
|
5951
|
-
|
|
5976
|
+
], w.prototype, "hideIcon", 2);
|
|
5977
|
+
k([
|
|
5952
5978
|
a({ type: String })
|
|
5953
|
-
],
|
|
5954
|
-
|
|
5979
|
+
], w.prototype, "tagText", 2);
|
|
5980
|
+
k([
|
|
5955
5981
|
a({ attribute: !1 })
|
|
5956
|
-
],
|
|
5957
|
-
|
|
5982
|
+
], w.prototype, "onClickTile", 2);
|
|
5983
|
+
k([
|
|
5958
5984
|
a({ attribute: !1 })
|
|
5959
|
-
],
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
],
|
|
5985
|
+
], w.prototype, "onClickIcon", 2);
|
|
5986
|
+
w = k([
|
|
5987
|
+
b("o-medium-tile")
|
|
5988
|
+
], w);
|