@florid-kit/components 0.10.19 → 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 +58 -58
- package/index.mjs +252 -243
- 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
|
}
|
|
@@ -554,7 +554,7 @@ jt == null || jt({ LitElement: u });
|
|
|
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,
|
|
@@ -1090,7 +1090,7 @@ let B = class extends u {
|
|
|
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,9 +1301,9 @@ 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;
|
|
@@ -1393,31 +1393,40 @@ let p = class extends u {
|
|
|
1393
1393
|
return t;
|
|
1394
1394
|
}
|
|
1395
1395
|
trapFocus(o) {
|
|
1396
|
-
var
|
|
1396
|
+
var r;
|
|
1397
1397
|
if (o.key !== "Tab") return;
|
|
1398
1398
|
const t = this.shadowRoot;
|
|
1399
1399
|
if (!t) return;
|
|
1400
1400
|
const e = this.getDeepActiveElement();
|
|
1401
1401
|
if (this.showDetail) {
|
|
1402
|
-
const
|
|
1403
|
-
if (o.shiftKey &&
|
|
1404
|
-
o.preventDefault(), o.stopPropagation(),
|
|
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
1405
|
return;
|
|
1406
1406
|
}
|
|
1407
|
-
if (!o.shiftKey &&
|
|
1408
|
-
o.preventDefault(), o.stopPropagation(), (((
|
|
1407
|
+
if (!o.shiftKey && f && e === f) {
|
|
1408
|
+
o.preventDefault(), o.stopPropagation(), (((r = t.querySelector(".detail-scroller")) == null ? void 0 : r.querySelector(
|
|
1409
1409
|
p.focusablesSelector
|
|
1410
|
-
)) ??
|
|
1410
|
+
)) ?? h ?? f).focus({ preventScroll: !0 });
|
|
1411
1411
|
return;
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
|
-
|
|
1415
|
-
|
|
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)) {
|
|
1416
1425
|
o.preventDefault();
|
|
1417
|
-
const
|
|
1426
|
+
const s = this.renderRoot.querySelector(
|
|
1418
1427
|
".o-whats-inside--content p"
|
|
1419
1428
|
);
|
|
1420
|
-
|
|
1429
|
+
s == null || s.focus();
|
|
1421
1430
|
}
|
|
1422
1431
|
}
|
|
1423
1432
|
getFocusableElements() {
|
|
@@ -1585,7 +1594,7 @@ let p = class extends u {
|
|
|
1585
1594
|
`;
|
|
1586
1595
|
}
|
|
1587
1596
|
};
|
|
1588
|
-
p.styles =
|
|
1597
|
+
p.styles = v`
|
|
1589
1598
|
:host {
|
|
1590
1599
|
--z-overlay: 99;
|
|
1591
1600
|
--z-panel: 100;
|
|
@@ -1828,85 +1837,85 @@ p.shadowRootOptions = {
|
|
|
1828
1837
|
// This helps send focus into the first focusable in shadow when host is focused
|
|
1829
1838
|
delegatesFocus: !0
|
|
1830
1839
|
};
|
|
1831
|
-
|
|
1840
|
+
y([
|
|
1832
1841
|
a({ type: Boolean, reflect: !0 })
|
|
1833
1842
|
], p.prototype, "open", 2);
|
|
1834
|
-
|
|
1843
|
+
y([
|
|
1835
1844
|
a({ type: Boolean, reflect: !0 })
|
|
1836
1845
|
], p.prototype, "showHeader", 2);
|
|
1837
|
-
|
|
1846
|
+
y([
|
|
1838
1847
|
a({ type: Boolean, reflect: !0 })
|
|
1839
1848
|
], p.prototype, "showFooter", 2);
|
|
1840
|
-
|
|
1849
|
+
y([
|
|
1841
1850
|
a({ type: Boolean, reflect: !0 })
|
|
1842
1851
|
], p.prototype, "showHeaderStartIcon", 2);
|
|
1843
|
-
|
|
1852
|
+
y([
|
|
1844
1853
|
a({ type: String, reflect: !0 })
|
|
1845
1854
|
], p.prototype, "headerTitle", 2);
|
|
1846
|
-
|
|
1855
|
+
y([
|
|
1847
1856
|
a({ type: String, reflect: !0 })
|
|
1848
1857
|
], p.prototype, "headerTitleClassName", 2);
|
|
1849
|
-
|
|
1858
|
+
y([
|
|
1850
1859
|
a({ type: String, reflect: !0 })
|
|
1851
1860
|
], p.prototype, "labelDialog", 2);
|
|
1852
|
-
|
|
1861
|
+
y([
|
|
1853
1862
|
a({ type: String, reflect: !0 })
|
|
1854
1863
|
], p.prototype, "addToBagProductCount", 2);
|
|
1855
|
-
|
|
1864
|
+
y([
|
|
1856
1865
|
a({ type: String, reflect: !0 })
|
|
1857
1866
|
], p.prototype, "closeButtonLabel", 2);
|
|
1858
|
-
|
|
1867
|
+
y([
|
|
1859
1868
|
a({ type: String, reflect: !0 })
|
|
1860
1869
|
], p.prototype, "goBackButtonLabel", 2);
|
|
1861
|
-
|
|
1870
|
+
y([
|
|
1862
1871
|
a({ type: String, reflect: !0 })
|
|
1863
1872
|
], p.prototype, "firstButtonLabel", 2);
|
|
1864
|
-
|
|
1873
|
+
y([
|
|
1865
1874
|
a({ type: String, reflect: !0 })
|
|
1866
1875
|
], p.prototype, "firstButtonVariant", 2);
|
|
1867
|
-
|
|
1876
|
+
y([
|
|
1868
1877
|
a({ type: Object, reflect: !0 })
|
|
1869
1878
|
], p.prototype, "firstButtonProps", 2);
|
|
1870
|
-
|
|
1879
|
+
y([
|
|
1871
1880
|
a({ type: Boolean, reflect: !0 })
|
|
1872
1881
|
], p.prototype, "onFirstButtonClickClose", 2);
|
|
1873
|
-
|
|
1882
|
+
y([
|
|
1874
1883
|
a({ type: String, reflect: !0 })
|
|
1875
1884
|
], p.prototype, "secondButtonLabel", 2);
|
|
1876
|
-
|
|
1885
|
+
y([
|
|
1877
1886
|
a({ type: String, reflect: !0 })
|
|
1878
1887
|
], p.prototype, "secondButtonVariant", 2);
|
|
1879
|
-
|
|
1888
|
+
y([
|
|
1880
1889
|
a({ type: Object, reflect: !0 })
|
|
1881
1890
|
], p.prototype, "secondButtonProps", 2);
|
|
1882
|
-
|
|
1891
|
+
y([
|
|
1883
1892
|
a({ type: Boolean, reflect: !0 })
|
|
1884
1893
|
], p.prototype, "onSecondButtonClickClose", 2);
|
|
1885
|
-
|
|
1894
|
+
y([
|
|
1886
1895
|
a({ type: Boolean, reflect: !0 })
|
|
1887
1896
|
], p.prototype, "disablePortal", 2);
|
|
1888
|
-
|
|
1897
|
+
y([
|
|
1889
1898
|
a({ type: Number, reflect: !0 })
|
|
1890
1899
|
], p.prototype, "zIndex", 2);
|
|
1891
|
-
|
|
1900
|
+
y([
|
|
1892
1901
|
a({ type: Boolean, reflect: !0 })
|
|
1893
1902
|
], p.prototype, "initialized", 2);
|
|
1894
|
-
|
|
1903
|
+
y([
|
|
1895
1904
|
a({ type: Boolean })
|
|
1896
1905
|
], p.prototype, "showDetail", 2);
|
|
1897
|
-
|
|
1906
|
+
y([
|
|
1898
1907
|
a({ type: Boolean })
|
|
1899
1908
|
], p.prototype, "isHidingDetail", 2);
|
|
1900
|
-
p =
|
|
1901
|
-
|
|
1909
|
+
p = y([
|
|
1910
|
+
b("o-side-panel")
|
|
1902
1911
|
], p);
|
|
1903
|
-
var No = Object.defineProperty, qo = Object.getOwnPropertyDescriptor,
|
|
1912
|
+
var No = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, _ = (o, t, e, n) => {
|
|
1904
1913
|
for (var i = n > 1 ? void 0 : n ? qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1905
1914
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1906
1915
|
return n && i && No(t, e, i), i;
|
|
1907
1916
|
};
|
|
1908
1917
|
const Vo = Xt(u);
|
|
1909
|
-
let
|
|
1918
|
+
let m = class extends Vo {
|
|
1910
1919
|
constructor() {
|
|
1911
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;
|
|
1912
1921
|
}
|
|
@@ -1974,9 +1983,9 @@ let y = class extends Vo {
|
|
|
1974
1983
|
`;
|
|
1975
1984
|
}
|
|
1976
1985
|
};
|
|
1977
|
-
Xe(
|
|
1978
|
-
|
|
1979
|
-
|
|
1986
|
+
Xe(m);
|
|
1987
|
+
m.formAssociated = !0;
|
|
1988
|
+
m.styles = v`
|
|
1980
1989
|
:host {
|
|
1981
1990
|
--button-border: transparent;
|
|
1982
1991
|
--badge-outer-width: 19px;
|
|
@@ -2183,57 +2192,57 @@ y.styles = f`
|
|
|
2183
2192
|
transform: translateX(4px);
|
|
2184
2193
|
}
|
|
2185
2194
|
`;
|
|
2186
|
-
|
|
2195
|
+
_([
|
|
2187
2196
|
a()
|
|
2188
|
-
],
|
|
2189
|
-
|
|
2197
|
+
], m.prototype, "type", 2);
|
|
2198
|
+
_([
|
|
2190
2199
|
a()
|
|
2191
|
-
],
|
|
2192
|
-
|
|
2200
|
+
], m.prototype, "value", 2);
|
|
2201
|
+
_([
|
|
2193
2202
|
a({ type: String, reflect: !0 })
|
|
2194
|
-
],
|
|
2195
|
-
|
|
2203
|
+
], m.prototype, "variant", 2);
|
|
2204
|
+
_([
|
|
2196
2205
|
a({ type: String })
|
|
2197
|
-
],
|
|
2198
|
-
|
|
2206
|
+
], m.prototype, "text", 2);
|
|
2207
|
+
_([
|
|
2199
2208
|
a({ type: String })
|
|
2200
|
-
],
|
|
2201
|
-
|
|
2209
|
+
], m.prototype, "textsecond", 2);
|
|
2210
|
+
_([
|
|
2202
2211
|
a({ type: Boolean, reflect: !0 })
|
|
2203
|
-
],
|
|
2204
|
-
|
|
2212
|
+
], m.prototype, "fullwidth", 2);
|
|
2213
|
+
_([
|
|
2205
2214
|
a({ type: Boolean, reflect: !0 })
|
|
2206
|
-
],
|
|
2207
|
-
|
|
2215
|
+
], m.prototype, "disabled", 2);
|
|
2216
|
+
_([
|
|
2208
2217
|
a({ type: String })
|
|
2209
|
-
],
|
|
2210
|
-
|
|
2218
|
+
], m.prototype, "startIconModel", 2);
|
|
2219
|
+
_([
|
|
2211
2220
|
a({ type: String })
|
|
2212
|
-
],
|
|
2213
|
-
|
|
2221
|
+
], m.prototype, "endIconModel", 2);
|
|
2222
|
+
_([
|
|
2214
2223
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
2215
|
-
],
|
|
2216
|
-
|
|
2224
|
+
], m.prototype, "startIcon", 2);
|
|
2225
|
+
_([
|
|
2217
2226
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
2218
|
-
],
|
|
2219
|
-
|
|
2227
|
+
], m.prototype, "endIcon", 2);
|
|
2228
|
+
_([
|
|
2220
2229
|
a({ type: String, attribute: "paneltarget" })
|
|
2221
|
-
],
|
|
2222
|
-
|
|
2230
|
+
], m.prototype, "panelTarget", 2);
|
|
2231
|
+
_([
|
|
2223
2232
|
a({ type: String })
|
|
2224
|
-
],
|
|
2225
|
-
|
|
2233
|
+
], m.prototype, "href", 2);
|
|
2234
|
+
_([
|
|
2226
2235
|
a({ type: String })
|
|
2227
|
-
],
|
|
2228
|
-
|
|
2236
|
+
], m.prototype, "target", 2);
|
|
2237
|
+
_([
|
|
2229
2238
|
a({ type: Boolean, reflect: !0 })
|
|
2230
|
-
],
|
|
2231
|
-
|
|
2239
|
+
], m.prototype, "underlined", 2);
|
|
2240
|
+
_([
|
|
2232
2241
|
a({ type: Boolean, reflect: !0 })
|
|
2233
|
-
],
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
],
|
|
2242
|
+
], m.prototype, "withbadge", 2);
|
|
2243
|
+
m = _([
|
|
2244
|
+
b("o-button")
|
|
2245
|
+
], m);
|
|
2237
2246
|
var Zo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, It = (o, t, e, n) => {
|
|
2238
2247
|
for (var i = n > 1 ? void 0 : n ? Ko(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2239
2248
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -2280,7 +2289,7 @@ let dt = class extends u {
|
|
|
2280
2289
|
this.label = o, this.requestUpdate();
|
|
2281
2290
|
}
|
|
2282
2291
|
};
|
|
2283
|
-
dt.styles =
|
|
2292
|
+
dt.styles = v`
|
|
2284
2293
|
:host {
|
|
2285
2294
|
display: inline-flex;
|
|
2286
2295
|
justify-content: center;
|
|
@@ -2355,7 +2364,7 @@ It([
|
|
|
2355
2364
|
a({ type: String, reflect: !0 })
|
|
2356
2365
|
], dt.prototype, "label", 2);
|
|
2357
2366
|
dt = It([
|
|
2358
|
-
|
|
2367
|
+
b("o-wishlist-button")
|
|
2359
2368
|
], dt);
|
|
2360
2369
|
var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, lt = (o, t, e, n) => {
|
|
2361
2370
|
for (var i = n > 1 ? void 0 : n ? Go(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2400,7 +2409,7 @@ let K = class extends u {
|
|
|
2400
2409
|
`;
|
|
2401
2410
|
}
|
|
2402
2411
|
};
|
|
2403
|
-
K.styles =
|
|
2412
|
+
K.styles = v`
|
|
2404
2413
|
:host([template="standard"]) a {
|
|
2405
2414
|
color: var(--color-content-action-secondary);
|
|
2406
2415
|
font-size: var(--font-size-200);
|
|
@@ -2502,7 +2511,7 @@ lt([
|
|
|
2502
2511
|
a({ type: Boolean, reflect: !0 })
|
|
2503
2512
|
], K.prototype, "reverseEndIcon", 2);
|
|
2504
2513
|
K = lt([
|
|
2505
|
-
|
|
2514
|
+
b("o-link")
|
|
2506
2515
|
], K);
|
|
2507
2516
|
var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Dt = (o, t, e, n) => {
|
|
2508
2517
|
for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2536,7 +2545,7 @@ let pt = class extends u {
|
|
|
2536
2545
|
`;
|
|
2537
2546
|
}
|
|
2538
2547
|
};
|
|
2539
|
-
pt.styles =
|
|
2548
|
+
pt.styles = v`
|
|
2540
2549
|
svg {
|
|
2541
2550
|
width: 12px;
|
|
2542
2551
|
height: 12px;
|
|
@@ -2580,7 +2589,7 @@ Dt([
|
|
|
2580
2589
|
a({ type: String })
|
|
2581
2590
|
], pt.prototype, "href", 2);
|
|
2582
2591
|
pt = Dt([
|
|
2583
|
-
|
|
2592
|
+
b("o-rating")
|
|
2584
2593
|
], pt);
|
|
2585
2594
|
var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, ot = (o, t, e, n) => {
|
|
2586
2595
|
for (var i = n > 1 ? void 0 : n ? Qo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2678,7 +2687,7 @@ let F = class extends u {
|
|
|
2678
2687
|
`;
|
|
2679
2688
|
}
|
|
2680
2689
|
};
|
|
2681
|
-
F.styles =
|
|
2690
|
+
F.styles = v`
|
|
2682
2691
|
:host {
|
|
2683
2692
|
display: flex;
|
|
2684
2693
|
gap: 5px;
|
|
@@ -2805,7 +2814,7 @@ ot([
|
|
|
2805
2814
|
W()
|
|
2806
2815
|
], F.prototype, "focusedIndex", 2);
|
|
2807
2816
|
F = ot([
|
|
2808
|
-
|
|
2817
|
+
b("thumbnail-navigation")
|
|
2809
2818
|
], F);
|
|
2810
2819
|
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, te = (o, t, e, n) => {
|
|
2811
2820
|
for (var i = n > 1 ? void 0 : n ? ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2822,7 +2831,7 @@ let wt = class extends u {
|
|
|
2822
2831
|
`;
|
|
2823
2832
|
}
|
|
2824
2833
|
};
|
|
2825
|
-
wt.styles =
|
|
2834
|
+
wt.styles = v`
|
|
2826
2835
|
.tag {
|
|
2827
2836
|
display: inline-block;
|
|
2828
2837
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2889,7 +2898,7 @@ te([
|
|
|
2889
2898
|
a({ type: String, reflect: !0 })
|
|
2890
2899
|
], wt.prototype, "bgstyle", 2);
|
|
2891
2900
|
wt = te([
|
|
2892
|
-
|
|
2901
|
+
b("o-tag")
|
|
2893
2902
|
], wt);
|
|
2894
2903
|
var oi = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
|
|
2895
2904
|
for (var i = n > 1 ? void 0 : n ? ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -2909,7 +2918,7 @@ let $t = class extends u {
|
|
|
2909
2918
|
`;
|
|
2910
2919
|
}
|
|
2911
2920
|
};
|
|
2912
|
-
$t.styles =
|
|
2921
|
+
$t.styles = v`
|
|
2913
2922
|
.tooltip {
|
|
2914
2923
|
position: relative;
|
|
2915
2924
|
display: inline-block;
|
|
@@ -3009,7 +3018,7 @@ ee([
|
|
|
3009
3018
|
a({ type: String, reflect: !0 })
|
|
3010
3019
|
], $t.prototype, "text", 2);
|
|
3011
3020
|
$t = ee([
|
|
3012
|
-
|
|
3021
|
+
b("o-tooltip")
|
|
3013
3022
|
], $t);
|
|
3014
3023
|
var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
|
|
3015
3024
|
for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3139,7 +3148,7 @@ let T = class extends u {
|
|
|
3139
3148
|
`;
|
|
3140
3149
|
}
|
|
3141
3150
|
};
|
|
3142
|
-
T.styles =
|
|
3151
|
+
T.styles = v`
|
|
3143
3152
|
:host {
|
|
3144
3153
|
display: inline-block;
|
|
3145
3154
|
position: relative;
|
|
@@ -3303,7 +3312,7 @@ G([
|
|
|
3303
3312
|
W()
|
|
3304
3313
|
], T.prototype, "menuWidth", 2);
|
|
3305
3314
|
T = G([
|
|
3306
|
-
|
|
3315
|
+
b("o-dropdown")
|
|
3307
3316
|
], T);
|
|
3308
3317
|
var si = Object.getOwnPropertyDescriptor, ai = (o, t, e, n) => {
|
|
3309
3318
|
for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3315,7 +3324,7 @@ let Nt = class extends u {
|
|
|
3315
3324
|
return l` <span class="dots"></span> `;
|
|
3316
3325
|
}
|
|
3317
3326
|
};
|
|
3318
|
-
Nt.styles =
|
|
3327
|
+
Nt.styles = v`
|
|
3319
3328
|
:host {
|
|
3320
3329
|
display: flex;
|
|
3321
3330
|
align-items: center;
|
|
@@ -3359,7 +3368,7 @@ Nt.styles = f`
|
|
|
3359
3368
|
}
|
|
3360
3369
|
`;
|
|
3361
3370
|
Nt = ai([
|
|
3362
|
-
|
|
3371
|
+
b("o-dots")
|
|
3363
3372
|
], Nt);
|
|
3364
3373
|
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
|
|
3365
3374
|
for (var i = n > 1 ? void 0 : n ? ci(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3503,7 +3512,7 @@ let z = class extends u {
|
|
|
3503
3512
|
`;
|
|
3504
3513
|
}
|
|
3505
3514
|
};
|
|
3506
|
-
z.styles =
|
|
3515
|
+
z.styles = v`
|
|
3507
3516
|
:host {
|
|
3508
3517
|
display: inline-block;
|
|
3509
3518
|
position: relative;
|
|
@@ -3707,7 +3716,7 @@ U([
|
|
|
3707
3716
|
W()
|
|
3708
3717
|
], z.prototype, "menuWidth", 2);
|
|
3709
3718
|
z = U([
|
|
3710
|
-
|
|
3719
|
+
b("o-dropdown-variant")
|
|
3711
3720
|
], z);
|
|
3712
3721
|
/**
|
|
3713
3722
|
* @license
|
|
@@ -3766,7 +3775,7 @@ let kt = class extends u {
|
|
|
3766
3775
|
return t ? l`<a href="${P(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
|
|
3767
3776
|
}
|
|
3768
3777
|
};
|
|
3769
|
-
kt.styles =
|
|
3778
|
+
kt.styles = v`
|
|
3770
3779
|
:host {
|
|
3771
3780
|
display: inline-block;
|
|
3772
3781
|
position: relative;
|
|
@@ -3855,7 +3864,7 @@ oe([
|
|
|
3855
3864
|
a({ type: Number, reflect: !0 })
|
|
3856
3865
|
], kt.prototype, "imageSize", 2);
|
|
3857
3866
|
kt = oe([
|
|
3858
|
-
|
|
3867
|
+
b("o-reassurance")
|
|
3859
3868
|
], kt);
|
|
3860
3869
|
var fi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
3861
3870
|
for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -3887,7 +3896,7 @@ let O = class extends gi {
|
|
|
3887
3896
|
`;
|
|
3888
3897
|
}
|
|
3889
3898
|
};
|
|
3890
|
-
O.styles =
|
|
3899
|
+
O.styles = v`
|
|
3891
3900
|
:host {
|
|
3892
3901
|
cursor: pointer;
|
|
3893
3902
|
display: inline-flex;
|
|
@@ -4006,7 +4015,7 @@ X([
|
|
|
4006
4015
|
a({ type: Boolean, reflect: !0 })
|
|
4007
4016
|
], O.prototype, "inactive", 2);
|
|
4008
4017
|
O = X([
|
|
4009
|
-
|
|
4018
|
+
b("o-chip")
|
|
4010
4019
|
], O);
|
|
4011
4020
|
var bi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
|
|
4012
4021
|
for (var i = n > 1 ? void 0 : n ? yi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4029,7 +4038,7 @@ let _t = class extends u {
|
|
|
4029
4038
|
`;
|
|
4030
4039
|
}
|
|
4031
4040
|
};
|
|
4032
|
-
_t.styles =
|
|
4041
|
+
_t.styles = v`
|
|
4033
4042
|
:host {
|
|
4034
4043
|
display: flex;
|
|
4035
4044
|
flex-direction: row;
|
|
@@ -4044,7 +4053,7 @@ ie([
|
|
|
4044
4053
|
a({ reflect: !0 })
|
|
4045
4054
|
], _t.prototype, "value", 2);
|
|
4046
4055
|
_t = ie([
|
|
4047
|
-
|
|
4056
|
+
b("o-chipset")
|
|
4048
4057
|
], _t);
|
|
4049
4058
|
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
4050
4059
|
for (var i = n > 1 ? void 0 : n ? xi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4071,7 +4080,7 @@ let I = class extends wi {
|
|
|
4071
4080
|
return l`<span class="cross-icon">${S(o)}</span>`;
|
|
4072
4081
|
}
|
|
4073
4082
|
strikeThroughImg() {
|
|
4074
|
-
const o =
|
|
4083
|
+
const o = Lo[this.strikethroughImgName].replace(
|
|
4075
4084
|
"<svg",
|
|
4076
4085
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4077
4086
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
@@ -4102,7 +4111,7 @@ let I = class extends wi {
|
|
|
4102
4111
|
`;
|
|
4103
4112
|
}
|
|
4104
4113
|
};
|
|
4105
|
-
I.styles =
|
|
4114
|
+
I.styles = v`
|
|
4106
4115
|
:host {
|
|
4107
4116
|
cursor: pointer;
|
|
4108
4117
|
display: inline-flex;
|
|
@@ -4253,7 +4262,7 @@ N([
|
|
|
4253
4262
|
a({ type: Boolean, reflect: !0 })
|
|
4254
4263
|
], I.prototype, "fullwidth", 2);
|
|
4255
4264
|
I = N([
|
|
4256
|
-
|
|
4265
|
+
b("o-filter-chip")
|
|
4257
4266
|
], I);
|
|
4258
4267
|
var $i = Object.defineProperty, M = (o, t, e, n) => {
|
|
4259
4268
|
for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -4326,7 +4335,7 @@ const se = class se extends u {
|
|
|
4326
4335
|
`;
|
|
4327
4336
|
}
|
|
4328
4337
|
};
|
|
4329
|
-
se.styles =
|
|
4338
|
+
se.styles = v`
|
|
4330
4339
|
:host {
|
|
4331
4340
|
display: block;
|
|
4332
4341
|
max-width: 100%;
|
|
@@ -4491,7 +4500,7 @@ let Ct = class extends u {
|
|
|
4491
4500
|
`;
|
|
4492
4501
|
}
|
|
4493
4502
|
};
|
|
4494
|
-
Ct.styles =
|
|
4503
|
+
Ct.styles = v`
|
|
4495
4504
|
:host([variant]) {
|
|
4496
4505
|
--badge-width: 19px;
|
|
4497
4506
|
display: inline-block;
|
|
@@ -4533,14 +4542,14 @@ ne([
|
|
|
4533
4542
|
a({ type: String })
|
|
4534
4543
|
], Ct.prototype, "text", 2);
|
|
4535
4544
|
Ct = ne([
|
|
4536
|
-
|
|
4545
|
+
b("o-badge")
|
|
4537
4546
|
], Ct);
|
|
4538
4547
|
var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
4539
4548
|
for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4540
4549
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4541
4550
|
return n && i && Ci(t, e, i), i;
|
|
4542
4551
|
};
|
|
4543
|
-
let
|
|
4552
|
+
let A = class extends u {
|
|
4544
4553
|
constructor() {
|
|
4545
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;
|
|
4546
4555
|
}
|
|
@@ -4604,7 +4613,7 @@ let L = class extends u {
|
|
|
4604
4613
|
`;
|
|
4605
4614
|
}
|
|
4606
4615
|
};
|
|
4607
|
-
|
|
4616
|
+
A.styles = v`
|
|
4608
4617
|
:host {
|
|
4609
4618
|
--vertical-offset: 24px;
|
|
4610
4619
|
--horizontal-offset: 24px;
|
|
@@ -4684,48 +4693,48 @@ L.styles = f`
|
|
|
4684
4693
|
`;
|
|
4685
4694
|
H([
|
|
4686
4695
|
a({ type: String, reflect: !0 })
|
|
4687
|
-
],
|
|
4696
|
+
], A.prototype, "icon", 2);
|
|
4688
4697
|
H([
|
|
4689
4698
|
a({ type: String, reflect: !0 })
|
|
4690
|
-
],
|
|
4699
|
+
], A.prototype, "text", 2);
|
|
4691
4700
|
H([
|
|
4692
4701
|
a({ type: String, reflect: !0 })
|
|
4693
|
-
],
|
|
4702
|
+
], A.prototype, "verticalanchor", 2);
|
|
4694
4703
|
H([
|
|
4695
4704
|
a({ type: String, reflect: !0 })
|
|
4696
|
-
],
|
|
4705
|
+
], A.prototype, "horizontalanchor", 2);
|
|
4697
4706
|
H([
|
|
4698
4707
|
a({ type: Number, reflect: !0 })
|
|
4699
|
-
],
|
|
4708
|
+
], A.prototype, "verticaloffset", 2);
|
|
4700
4709
|
H([
|
|
4701
4710
|
a({ type: Number, reflect: !0 })
|
|
4702
|
-
],
|
|
4711
|
+
], A.prototype, "horizontaloffset", 2);
|
|
4703
4712
|
H([
|
|
4704
4713
|
a({ type: Number, reflect: !0 })
|
|
4705
|
-
],
|
|
4714
|
+
], A.prototype, "animationduration", 2);
|
|
4706
4715
|
H([
|
|
4707
4716
|
a({ type: String, reflect: !0 })
|
|
4708
|
-
],
|
|
4717
|
+
], A.prototype, "animationaxis", 2);
|
|
4709
4718
|
H([
|
|
4710
4719
|
a({ type: Boolean, reflect: !0 })
|
|
4711
|
-
],
|
|
4720
|
+
], A.prototype, "animated", 2);
|
|
4712
4721
|
H([
|
|
4713
4722
|
a({ type: Number, reflect: !0 })
|
|
4714
|
-
],
|
|
4723
|
+
], A.prototype, "lifeduration", 2);
|
|
4715
4724
|
H([
|
|
4716
4725
|
a({ type: Boolean, reflect: !0 })
|
|
4717
|
-
],
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
],
|
|
4721
|
-
var Ei = Object.defineProperty,
|
|
4722
|
-
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--)
|
|
4723
4732
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4724
4733
|
return n && i && Ei(t, e, i), i;
|
|
4725
4734
|
};
|
|
4726
|
-
let
|
|
4735
|
+
let Li = 0, L = class extends u {
|
|
4727
4736
|
constructor() {
|
|
4728
|
-
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}`);
|
|
4729
4738
|
}
|
|
4730
4739
|
toggle() {
|
|
4731
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 })));
|
|
@@ -4763,7 +4772,7 @@ let Ai = 0, A = class extends u {
|
|
|
4763
4772
|
`;
|
|
4764
4773
|
}
|
|
4765
4774
|
};
|
|
4766
|
-
|
|
4775
|
+
L.styles = v`
|
|
4767
4776
|
:host {
|
|
4768
4777
|
display: inline-flex;
|
|
4769
4778
|
align-items: center;
|
|
@@ -4868,37 +4877,37 @@ A.styles = f`
|
|
|
4868
4877
|
`;
|
|
4869
4878
|
j([
|
|
4870
4879
|
a({ type: Boolean, reflect: !0 })
|
|
4871
|
-
],
|
|
4880
|
+
], L.prototype, "checked", 2);
|
|
4872
4881
|
j([
|
|
4873
4882
|
a({ type: Boolean, reflect: !0 })
|
|
4874
|
-
],
|
|
4883
|
+
], L.prototype, "indeterminate", 2);
|
|
4875
4884
|
j([
|
|
4876
4885
|
a({ type: Boolean, reflect: !0 })
|
|
4877
|
-
],
|
|
4886
|
+
], L.prototype, "disabled", 2);
|
|
4878
4887
|
j([
|
|
4879
4888
|
a({ type: String, reflect: !0 })
|
|
4880
|
-
],
|
|
4889
|
+
], L.prototype, "size", 2);
|
|
4881
4890
|
j([
|
|
4882
4891
|
a({ type: Boolean })
|
|
4883
|
-
],
|
|
4892
|
+
], L.prototype, "showLabel", 2);
|
|
4884
4893
|
j([
|
|
4885
4894
|
a({ type: String })
|
|
4886
|
-
],
|
|
4895
|
+
], L.prototype, "label", 2);
|
|
4887
4896
|
j([
|
|
4888
4897
|
a({ type: String })
|
|
4889
|
-
],
|
|
4898
|
+
], L.prototype, "name", 2);
|
|
4890
4899
|
j([
|
|
4891
4900
|
a({ type: String })
|
|
4892
|
-
],
|
|
4901
|
+
], L.prototype, "value", 2);
|
|
4893
4902
|
j([
|
|
4894
4903
|
a({ type: String, reflect: !0 })
|
|
4895
|
-
],
|
|
4904
|
+
], L.prototype, "inputId", 2);
|
|
4896
4905
|
j([
|
|
4897
4906
|
Ce("input")
|
|
4898
|
-
],
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
],
|
|
4907
|
+
], L.prototype, "inputEl", 2);
|
|
4908
|
+
L = j([
|
|
4909
|
+
b("o-checkbox")
|
|
4910
|
+
], L);
|
|
4902
4911
|
var Pi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, q = (o, t, e, n) => {
|
|
4903
4912
|
for (var i = n > 1 ? void 0 : n ? Bi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4904
4913
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -4938,7 +4947,7 @@ let zi = 0, D = class extends u {
|
|
|
4938
4947
|
`;
|
|
4939
4948
|
}
|
|
4940
4949
|
};
|
|
4941
|
-
D.styles =
|
|
4950
|
+
D.styles = v`
|
|
4942
4951
|
:host {
|
|
4943
4952
|
display: inline-flex;
|
|
4944
4953
|
align-items: center;
|
|
@@ -5056,7 +5065,7 @@ q([
|
|
|
5056
5065
|
Ce("input")
|
|
5057
5066
|
], D.prototype, "inputEl", 2);
|
|
5058
5067
|
D = q([
|
|
5059
|
-
|
|
5068
|
+
b("o-radio")
|
|
5060
5069
|
], D);
|
|
5061
5070
|
var Oi = Object.getOwnPropertyDescriptor, Ii = (o, t, e, n) => {
|
|
5062
5071
|
for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5074,7 +5083,7 @@ let qt = class extends u {
|
|
|
5074
5083
|
`;
|
|
5075
5084
|
}
|
|
5076
5085
|
};
|
|
5077
|
-
qt.styles =
|
|
5086
|
+
qt.styles = v`
|
|
5078
5087
|
nav {
|
|
5079
5088
|
max-width: 144rem;
|
|
5080
5089
|
margin: auto;
|
|
@@ -5087,7 +5096,7 @@ qt.styles = f`
|
|
|
5087
5096
|
}
|
|
5088
5097
|
`;
|
|
5089
5098
|
qt = Ii([
|
|
5090
|
-
|
|
5099
|
+
b("o-breadcrumbs")
|
|
5091
5100
|
], qt);
|
|
5092
5101
|
var Di = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
|
|
5093
5102
|
for (var i = n > 1 ? void 0 : n ? Hi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5115,7 +5124,7 @@ let St = class extends u {
|
|
|
5115
5124
|
`;
|
|
5116
5125
|
}
|
|
5117
5126
|
};
|
|
5118
|
-
St.styles =
|
|
5127
|
+
St.styles = v`
|
|
5119
5128
|
:host(:not([active]))::after {
|
|
5120
5129
|
content: "/";
|
|
5121
5130
|
margin: 0 0.5rem;
|
|
@@ -5162,7 +5171,7 @@ re([
|
|
|
5162
5171
|
a({ type: Boolean, reflect: !0 })
|
|
5163
5172
|
], St.prototype, "active", 2);
|
|
5164
5173
|
St = re([
|
|
5165
|
-
|
|
5174
|
+
b("o-breadcrumb")
|
|
5166
5175
|
], St);
|
|
5167
5176
|
var Ti = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ut = (o, t, e, n) => {
|
|
5168
5177
|
for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
@@ -5188,7 +5197,7 @@ let et = class extends u {
|
|
|
5188
5197
|
</div>`;
|
|
5189
5198
|
}
|
|
5190
5199
|
};
|
|
5191
|
-
et.styles =
|
|
5200
|
+
et.styles = v`
|
|
5192
5201
|
:host {
|
|
5193
5202
|
--card-width : 175px;
|
|
5194
5203
|
--card-height : 260px;
|
|
@@ -5277,7 +5286,7 @@ ut([
|
|
|
5277
5286
|
a({ type: Boolean, reflect: !0 })
|
|
5278
5287
|
], et.prototype, "dimmed", 2);
|
|
5279
5288
|
et = ut([
|
|
5280
|
-
|
|
5289
|
+
b("o-arch-image")
|
|
5281
5290
|
], et);
|
|
5282
5291
|
const ji = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
5283
5292
|
<svg
|
|
@@ -5494,7 +5503,7 @@ const ae = class ae extends u {
|
|
|
5494
5503
|
`;
|
|
5495
5504
|
}
|
|
5496
5505
|
};
|
|
5497
|
-
ae.styles =
|
|
5506
|
+
ae.styles = v`
|
|
5498
5507
|
:host {
|
|
5499
5508
|
position: fixed;
|
|
5500
5509
|
inset: 0;
|
|
@@ -5630,62 +5639,62 @@ ae.styles = f`
|
|
|
5630
5639
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
5631
5640
|
}
|
|
5632
5641
|
`;
|
|
5633
|
-
let
|
|
5642
|
+
let $ = ae;
|
|
5634
5643
|
C([
|
|
5635
5644
|
a({ type: Boolean, reflect: !0 })
|
|
5636
|
-
],
|
|
5645
|
+
], $.prototype, "ispagedesigner", 2);
|
|
5637
5646
|
C([
|
|
5638
5647
|
a({ type: String, reflect: !0 })
|
|
5639
|
-
],
|
|
5648
|
+
], $.prototype, "classPopin", 1);
|
|
5640
5649
|
C([
|
|
5641
5650
|
a({ type: Boolean, reflect: !0 })
|
|
5642
|
-
],
|
|
5651
|
+
], $.prototype, "open", 2);
|
|
5643
5652
|
C([
|
|
5644
5653
|
a({ type: String, reflect: !0 })
|
|
5645
|
-
],
|
|
5654
|
+
], $.prototype, "background", 2);
|
|
5646
5655
|
C([
|
|
5647
5656
|
a({ type: String, attribute: "background-url", reflect: !0 })
|
|
5648
|
-
],
|
|
5657
|
+
], $.prototype, "backgroundUrl", 2);
|
|
5649
5658
|
C([
|
|
5650
5659
|
a({ type: Boolean, attribute: "close-on-esc" })
|
|
5651
|
-
],
|
|
5660
|
+
], $.prototype, "closeOnEsc", 2);
|
|
5652
5661
|
C([
|
|
5653
5662
|
a({ type: Boolean, attribute: "close-on-backdrop" })
|
|
5654
|
-
],
|
|
5663
|
+
], $.prototype, "closeOnBackdrop", 2);
|
|
5655
5664
|
C([
|
|
5656
5665
|
a({ type: Boolean, attribute: "lock-scroll" })
|
|
5657
|
-
],
|
|
5666
|
+
], $.prototype, "lockScroll", 2);
|
|
5658
5667
|
C([
|
|
5659
5668
|
a({ type: String, reflect: !0 })
|
|
5660
|
-
],
|
|
5669
|
+
], $.prototype, "variant", 2);
|
|
5661
5670
|
C([
|
|
5662
5671
|
a({ type: String, attribute: "max-width" })
|
|
5663
|
-
],
|
|
5672
|
+
], $.prototype, "maxWidth", 2);
|
|
5664
5673
|
C([
|
|
5665
5674
|
a({ type: Boolean, reflect: !0 })
|
|
5666
|
-
],
|
|
5675
|
+
], $.prototype, "showBackButton", 2);
|
|
5667
5676
|
C([
|
|
5668
5677
|
a({ type: Boolean, reflect: !0 })
|
|
5669
|
-
],
|
|
5678
|
+
], $.prototype, "contrast", 2);
|
|
5670
5679
|
C([
|
|
5671
5680
|
a({ type: String, reflect: !0 })
|
|
5672
|
-
],
|
|
5681
|
+
], $.prototype, "iconSize", 2);
|
|
5673
5682
|
C([
|
|
5674
5683
|
a({ type: Boolean, attribute: "hide-header-on-scroll" })
|
|
5675
|
-
],
|
|
5684
|
+
], $.prototype, "hideHeaderOnScroll", 2);
|
|
5676
5685
|
C([
|
|
5677
5686
|
W()
|
|
5678
|
-
],
|
|
5687
|
+
], $.prototype, "_labelId", 2);
|
|
5679
5688
|
C([
|
|
5680
5689
|
W()
|
|
5681
|
-
],
|
|
5682
|
-
customElements.define("o-popin",
|
|
5683
|
-
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) => {
|
|
5684
5693
|
for (var i = n > 1 ? void 0 : n ? Ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5685
5694
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5686
5695
|
return n && i && Ui(t, e, i), i;
|
|
5687
5696
|
};
|
|
5688
|
-
let
|
|
5697
|
+
let w = class extends u {
|
|
5689
5698
|
constructor() {
|
|
5690
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 = "";
|
|
5691
5700
|
}
|
|
@@ -5754,7 +5763,7 @@ let m = class extends u {
|
|
|
5754
5763
|
`;
|
|
5755
5764
|
}
|
|
5756
5765
|
};
|
|
5757
|
-
|
|
5766
|
+
w.styles = v`
|
|
5758
5767
|
:host {
|
|
5759
5768
|
display: block;
|
|
5760
5769
|
max-width: 100%;
|
|
@@ -5923,57 +5932,57 @@ m.styles = f`
|
|
|
5923
5932
|
cursor: pointer;
|
|
5924
5933
|
}
|
|
5925
5934
|
`;
|
|
5926
|
-
|
|
5935
|
+
k([
|
|
5927
5936
|
a({ type: String })
|
|
5928
|
-
],
|
|
5929
|
-
|
|
5937
|
+
], w.prototype, "type", 2);
|
|
5938
|
+
k([
|
|
5930
5939
|
a({ type: String })
|
|
5931
|
-
],
|
|
5932
|
-
|
|
5940
|
+
], w.prototype, "titleProduct", 2);
|
|
5941
|
+
k([
|
|
5933
5942
|
a({ type: String })
|
|
5934
|
-
],
|
|
5935
|
-
|
|
5943
|
+
], w.prototype, "descriptionProduct", 2);
|
|
5944
|
+
k([
|
|
5936
5945
|
a({ type: String })
|
|
5937
|
-
],
|
|
5938
|
-
|
|
5946
|
+
], w.prototype, "volume", 2);
|
|
5947
|
+
k([
|
|
5939
5948
|
a({ type: String })
|
|
5940
|
-
],
|
|
5941
|
-
|
|
5949
|
+
], w.prototype, "perLiter", 2);
|
|
5950
|
+
k([
|
|
5942
5951
|
a({ type: String })
|
|
5943
|
-
],
|
|
5944
|
-
|
|
5952
|
+
], w.prototype, "mainPrice", 2);
|
|
5953
|
+
k([
|
|
5945
5954
|
a({ type: String })
|
|
5946
|
-
],
|
|
5947
|
-
|
|
5955
|
+
], w.prototype, "salesPercentage", 2);
|
|
5956
|
+
k([
|
|
5948
5957
|
a({ type: String })
|
|
5949
|
-
],
|
|
5950
|
-
|
|
5958
|
+
], w.prototype, "oldPrice", 2);
|
|
5959
|
+
k([
|
|
5951
5960
|
a({ type: String })
|
|
5952
|
-
],
|
|
5953
|
-
|
|
5961
|
+
], w.prototype, "imageUrl", 2);
|
|
5962
|
+
k([
|
|
5954
5963
|
a({ type: Boolean })
|
|
5955
|
-
],
|
|
5956
|
-
|
|
5964
|
+
], w.prototype, "outOfStock", 2);
|
|
5965
|
+
k([
|
|
5957
5966
|
a({ type: String })
|
|
5958
|
-
],
|
|
5959
|
-
|
|
5967
|
+
], w.prototype, "altImage", 2);
|
|
5968
|
+
k([
|
|
5960
5969
|
a({ type: Boolean })
|
|
5961
|
-
],
|
|
5962
|
-
|
|
5970
|
+
], w.prototype, "fullwidth", 2);
|
|
5971
|
+
k([
|
|
5963
5972
|
a({ type: Boolean })
|
|
5964
|
-
],
|
|
5965
|
-
|
|
5973
|
+
], w.prototype, "current", 2);
|
|
5974
|
+
k([
|
|
5966
5975
|
a({ type: Boolean })
|
|
5967
|
-
],
|
|
5968
|
-
|
|
5976
|
+
], w.prototype, "hideIcon", 2);
|
|
5977
|
+
k([
|
|
5969
5978
|
a({ type: String })
|
|
5970
|
-
],
|
|
5971
|
-
|
|
5979
|
+
], w.prototype, "tagText", 2);
|
|
5980
|
+
k([
|
|
5972
5981
|
a({ attribute: !1 })
|
|
5973
|
-
],
|
|
5974
|
-
|
|
5982
|
+
], w.prototype, "onClickTile", 2);
|
|
5983
|
+
k([
|
|
5975
5984
|
a({ attribute: !1 })
|
|
5976
|
-
],
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
],
|
|
5985
|
+
], w.prototype, "onClickIcon", 2);
|
|
5986
|
+
w = k([
|
|
5987
|
+
b("o-medium-tile")
|
|
5988
|
+
], w);
|