@florid-kit/components 0.10.11 → 0.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/minitile.d.ts +2 -0
- package/components/side-panel.d.ts +1 -0
- package/index.js +196 -154
- package/index.mjs +324 -266
- 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 Lt = globalThis,
|
|
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, r) {
|
|
9
9
|
if (this._$cssResult$ = !0, r !== Zt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -12,7 +12,7 @@ let xe = class {
|
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let t = this.o;
|
|
14
14
|
const e = this.t;
|
|
15
|
-
if (
|
|
15
|
+
if (Vt && t === void 0) {
|
|
16
16
|
const r = e !== void 0 && e.length === 1;
|
|
17
17
|
r && (t = le.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && le.set(e, t));
|
|
18
18
|
}
|
|
@@ -30,12 +30,12 @@ const Ae = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), f = (o,
|
|
|
30
30
|
})(i) + o[n + 1], o[0]);
|
|
31
31
|
return new xe(e, o, Zt);
|
|
32
32
|
}, Le = (o, t) => {
|
|
33
|
-
if (
|
|
33
|
+
if (Vt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
35
|
const r = document.createElement("style"), i = Lt.litNonce;
|
|
36
36
|
i !== void 0 && r.setAttribute("nonce", i), r.textContent = e.cssText, o.appendChild(r);
|
|
37
37
|
}
|
|
38
|
-
}, ce =
|
|
38
|
+
}, ce = Vt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const r of t.cssRules) e += r.cssText;
|
|
41
41
|
return Ae(e);
|
|
@@ -294,8 +294,8 @@ const Fe = (o, t) => {
|
|
|
294
294
|
let i, n = 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 w, _, v = -1,
|
|
298
|
-
for (;
|
|
297
|
+
let w, _, v = -1, V = 0;
|
|
298
|
+
for (; V < h.length && (s.lastIndex = V, _ = s.exec(h), _ !== null); ) V = s.lastIndex, s === ft ? _[1] === "!--" ? s = ue : _[1] !== void 0 ? s = fe : _[2] !== void 0 ? (ke.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = it) : _[3] !== void 0 && (s = it) : s === it ? _[0] === ">" ? (s = i ?? ft, v = -1) : _[1] === void 0 ? v = -2 : (v = s.lastIndex - _[2].length, w = _[1], s = _[3] === void 0 ? it : _[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
300
|
n += s === ft ? h + Te : v >= 0 ? (r.push(w), h.slice(0, v) + we + h.slice(v) + J + Y) : h + J + (v === -2 ? c : Y);
|
|
301
301
|
}
|
|
@@ -314,15 +314,15 @@ class xt {
|
|
|
314
314
|
for (; (i = rt.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (i.nodeType === 1) {
|
|
316
316
|
if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(we)) {
|
|
317
|
-
const
|
|
318
|
-
h.push({ type: 1, index: n, name: At[2], strings: Y, ctor: At[1] === "." ? Ue : At[1] === "?" ? Ne : At[1] === "@" ?
|
|
317
|
+
const V = _[s++], Y = i.getAttribute(v).split(J), At = /([.?@])?(.*)/.exec(V);
|
|
318
|
+
h.push({ type: 1, index: n, name: At[2], strings: Y, ctor: At[1] === "." ? Ue : At[1] === "?" ? Ne : At[1] === "@" ? qe : Ot }), i.removeAttribute(v);
|
|
319
319
|
} else v.startsWith(J) && (h.push({ type: 6, index: n }), i.removeAttribute(v));
|
|
320
320
|
if (ke.test(i.tagName)) {
|
|
321
|
-
const v = i.textContent.split(J),
|
|
322
|
-
if (
|
|
321
|
+
const v = i.textContent.split(J), V = v.length - 1;
|
|
322
|
+
if (V > 0) {
|
|
323
323
|
i.textContent = Bt ? Bt.emptyScript : "";
|
|
324
|
-
for (let Y = 0; Y <
|
|
325
|
-
i.append(v[
|
|
324
|
+
for (let Y = 0; Y < V; Y++) i.append(v[Y], yt()), rt.nextNode(), h.push({ type: 2, index: ++n });
|
|
325
|
+
i.append(v[V], yt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (i.nodeType === 8) if (i.data === $e) h.push({ type: 2, index: n });
|
|
@@ -362,7 +362,7 @@ class Re {
|
|
|
362
362
|
for (; h !== void 0; ) {
|
|
363
363
|
if (s === h.index) {
|
|
364
364
|
let w;
|
|
365
|
-
h.type === 2 ? w = new Et(n, n.nextSibling, this, t) : h.type === 1 ? w = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (w = new
|
|
365
|
+
h.type === 2 ? w = new Et(n, n.nextSibling, this, t) : h.type === 1 ? w = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && (w = new Ve(n, this, t)), this._$AV.push(w), h = r[++c];
|
|
366
366
|
}
|
|
367
367
|
s !== (h == null ? void 0 : h.index) && (n = rt.nextNode(), s++);
|
|
368
368
|
}
|
|
@@ -477,7 +477,7 @@ class Ne extends Ot {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class
|
|
480
|
+
class qe extends Ot {
|
|
481
481
|
constructor(t, e, r, i, n) {
|
|
482
482
|
super(t, e, r, i, n), this.type = 5;
|
|
483
483
|
}
|
|
@@ -491,7 +491,7 @@ class Ve extends Ot {
|
|
|
491
491
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
class
|
|
494
|
+
class Ve {
|
|
495
495
|
constructor(t, e, r) {
|
|
496
496
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = r;
|
|
497
497
|
}
|
|
@@ -1057,7 +1057,7 @@ const ye = Jt(Mo);
|
|
|
1057
1057
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1058
1058
|
*/
|
|
1059
1059
|
const P = (o) => o ?? d;
|
|
1060
|
-
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor,
|
|
1060
|
+
var jo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, R = (o, t, e, r) => {
|
|
1061
1061
|
for (var i = r > 1 ? void 0 : r ? Fo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1062
1062
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1063
1063
|
return r && i && jo(t, e, i), i;
|
|
@@ -1302,34 +1302,34 @@ B.styles = f`
|
|
|
1302
1302
|
display: none;
|
|
1303
1303
|
}
|
|
1304
1304
|
`;
|
|
1305
|
-
|
|
1305
|
+
R([
|
|
1306
1306
|
a({ type: String, reflect: !0 })
|
|
1307
1307
|
], B.prototype, "bgstyle", 2);
|
|
1308
|
-
|
|
1308
|
+
R([
|
|
1309
1309
|
a({ type: String, reflect: !0 })
|
|
1310
1310
|
], B.prototype, "size", 2);
|
|
1311
|
-
|
|
1311
|
+
R([
|
|
1312
1312
|
a({ type: String, reflect: !0 })
|
|
1313
1313
|
], B.prototype, "status", 2);
|
|
1314
|
-
|
|
1314
|
+
R([
|
|
1315
1315
|
a({ type: String, reflect: !0 })
|
|
1316
1316
|
], B.prototype, "type", 2);
|
|
1317
|
-
|
|
1317
|
+
R([
|
|
1318
1318
|
a({ type: String })
|
|
1319
1319
|
], B.prototype, "strokewidth", 2);
|
|
1320
|
-
|
|
1320
|
+
R([
|
|
1321
1321
|
a({ type: String })
|
|
1322
1322
|
], B.prototype, "icon", 2);
|
|
1323
|
-
|
|
1323
|
+
R([
|
|
1324
1324
|
a({ type: Boolean, reflect: !0 })
|
|
1325
1325
|
], B.prototype, "disabled", 2);
|
|
1326
|
-
|
|
1326
|
+
R([
|
|
1327
1327
|
a({ type: Boolean })
|
|
1328
1328
|
], B.prototype, "showSrLabel", 2);
|
|
1329
|
-
|
|
1329
|
+
R([
|
|
1330
1330
|
a({ type: String })
|
|
1331
1331
|
], B.prototype, "srLabel", 2);
|
|
1332
|
-
B =
|
|
1332
|
+
B = R([
|
|
1333
1333
|
g("o-icon-button")
|
|
1334
1334
|
], B);
|
|
1335
1335
|
var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, b = (o, t, e, r) => {
|
|
@@ -1339,7 +1339,7 @@ var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, b = (o, t,
|
|
|
1339
1339
|
};
|
|
1340
1340
|
let u = class extends p {
|
|
1341
1341
|
constructor() {
|
|
1342
|
-
super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.labelDialog = "", 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) => {
|
|
1342
|
+
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) => {
|
|
1343
1343
|
var e, r;
|
|
1344
1344
|
const t = ((e = o.detail) == null ? void 0 : e.origin) ?? document.activeElement;
|
|
1345
1345
|
if (this._detailOriginEl = t, this._detailOriginClass = (t == null ? void 0 : t.className) ?? "", this.showDetail = !0, this.showHeaderStartIcon = !0, await this.updateComplete, this._detailOriginClass) {
|
|
@@ -1522,9 +1522,12 @@ let u = class extends p {
|
|
|
1522
1522
|
showsrlabel="true"
|
|
1523
1523
|
></o-icon-button>
|
|
1524
1524
|
` : null}
|
|
1525
|
+
<div class="header-title-container" >
|
|
1525
1526
|
<p role="heading" aria-level="1" id="panel-title" class="${this.headerTitleClassName}">
|
|
1526
1527
|
${this.headerTitle}
|
|
1527
1528
|
</p>
|
|
1529
|
+
${this.addToBagProductCount ? l`<span class="a-quantity">${this.addToBagProductCount}</span>` : null}
|
|
1530
|
+
</div>
|
|
1528
1531
|
<o-icon-button
|
|
1529
1532
|
icon="cross"
|
|
1530
1533
|
size="small"
|
|
@@ -1533,7 +1536,7 @@ let u = class extends p {
|
|
|
1533
1536
|
@click=${this.handleClosePanel}
|
|
1534
1537
|
@keydown=${this.handleClosePanel}
|
|
1535
1538
|
srlabel="${this.closeButtonLabel}"
|
|
1536
|
-
showsrlabel
|
|
1539
|
+
?showsrlabel=${!0}
|
|
1537
1540
|
></o-icon-button>
|
|
1538
1541
|
</div>
|
|
1539
1542
|
` : null;
|
|
@@ -1661,10 +1664,20 @@ u.styles = f`
|
|
|
1661
1664
|
.header {
|
|
1662
1665
|
flex: 0 0 auto;
|
|
1663
1666
|
display: flex;
|
|
1664
|
-
|
|
1667
|
+
align-items: center;
|
|
1668
|
+
gap: 8px;
|
|
1665
1669
|
padding: 20px 16px;
|
|
1666
1670
|
border-bottom: var(--border-050) solid var(--color-border-tertiary);
|
|
1667
1671
|
|
|
1672
|
+
.header-title-container {
|
|
1673
|
+
display: flex;
|
|
1674
|
+
flex-direction: row;
|
|
1675
|
+
align-items: center;
|
|
1676
|
+
column-gap: 8px;
|
|
1677
|
+
flex: 1 1 auto;
|
|
1678
|
+
min-width: 0;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1668
1681
|
.panel-title {
|
|
1669
1682
|
font-family: var(--font-family-loccitane-serif);
|
|
1670
1683
|
font-size: var(--font-size);
|
|
@@ -1678,8 +1691,29 @@ u.styles = f`
|
|
|
1678
1691
|
margin-top: auto;
|
|
1679
1692
|
margin-bottom: auto;
|
|
1680
1693
|
overflow: hidden;
|
|
1681
|
-
|
|
1694
|
+
padding-right: 6px;
|
|
1682
1695
|
color: var(--color-content-heading);
|
|
1696
|
+
flex: 0 1 auto;
|
|
1697
|
+
max-width: 100%;
|
|
1698
|
+
min-width: 0;
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.a-quantity {
|
|
1702
|
+
border-radius: var(--radius-full, 999px);
|
|
1703
|
+
border: var(--border-s, 0.5px) solid var(--color-border-primary, #3F2B2E);
|
|
1704
|
+
background: var(--color-container-brand-accent, #FFC700);
|
|
1705
|
+
overflow: hidden;
|
|
1706
|
+
color: var(--color-content-body, #3F2B2E);
|
|
1707
|
+
text-align: center;
|
|
1708
|
+
text-overflow: ellipsis;
|
|
1709
|
+
font-family: var(--font-family-loccitane-sans);
|
|
1710
|
+
font-size: var(--font-size-100, 12px);
|
|
1711
|
+
font-weight: var(--font-weight-400, 400);
|
|
1712
|
+
line-height: var(--line-height-160, 16px);
|
|
1713
|
+
letter-spacing: var(--letter-spacing-000, 0);
|
|
1714
|
+
width: 16px;
|
|
1715
|
+
height: 16px;
|
|
1716
|
+
flex-shrink: 0;
|
|
1683
1717
|
}
|
|
1684
1718
|
|
|
1685
1719
|
.close-btn {
|
|
@@ -1687,6 +1721,7 @@ u.styles = f`
|
|
|
1687
1721
|
margin-top: 0;
|
|
1688
1722
|
flex-direction: column;
|
|
1689
1723
|
justify-content: start;
|
|
1724
|
+
margin-left: auto;
|
|
1690
1725
|
}
|
|
1691
1726
|
|
|
1692
1727
|
.return-btn {
|
|
@@ -1830,6 +1865,9 @@ b([
|
|
|
1830
1865
|
b([
|
|
1831
1866
|
a({ type: String, reflect: !0 })
|
|
1832
1867
|
], u.prototype, "labelDialog", 2);
|
|
1868
|
+
b([
|
|
1869
|
+
a({ type: String, reflect: !0 })
|
|
1870
|
+
], u.prototype, "addToBagProductCount", 2);
|
|
1833
1871
|
b([
|
|
1834
1872
|
a({ type: String, reflect: !0 })
|
|
1835
1873
|
], u.prototype, "closeButtonLabel", 2);
|
|
@@ -1878,13 +1916,13 @@ b([
|
|
|
1878
1916
|
u = b([
|
|
1879
1917
|
g("o-side-panel")
|
|
1880
1918
|
], u);
|
|
1881
|
-
var No = Object.defineProperty,
|
|
1882
|
-
for (var i = r > 1 ? void 0 : r ?
|
|
1919
|
+
var No = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, k = (o, t, e, r) => {
|
|
1920
|
+
for (var i = r > 1 ? void 0 : r ? qo(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
1883
1921
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
1884
1922
|
return r && i && No(t, e, i), i;
|
|
1885
1923
|
};
|
|
1886
|
-
const
|
|
1887
|
-
let y = class extends
|
|
1924
|
+
const Vo = Xt(p);
|
|
1925
|
+
let y = class extends Vo {
|
|
1888
1926
|
constructor() {
|
|
1889
1927
|
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;
|
|
1890
1928
|
}
|
|
@@ -2565,7 +2603,7 @@ var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, ot = (o, t
|
|
|
2565
2603
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
2566
2604
|
return r && i && Jo(t, e, i), i;
|
|
2567
2605
|
};
|
|
2568
|
-
let
|
|
2606
|
+
let F = class extends p {
|
|
2569
2607
|
constructor() {
|
|
2570
2608
|
super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
|
|
2571
2609
|
<o-icon-button
|
|
@@ -2656,7 +2694,7 @@ let j = class extends p {
|
|
|
2656
2694
|
`;
|
|
2657
2695
|
}
|
|
2658
2696
|
};
|
|
2659
|
-
|
|
2697
|
+
F.styles = f`
|
|
2660
2698
|
:host {
|
|
2661
2699
|
display: flex;
|
|
2662
2700
|
gap: 5px;
|
|
@@ -2764,28 +2802,28 @@ j.styles = f`
|
|
|
2764
2802
|
`;
|
|
2765
2803
|
ot([
|
|
2766
2804
|
a({ type: Array })
|
|
2767
|
-
],
|
|
2805
|
+
], F.prototype, "thumbnails", 2);
|
|
2768
2806
|
ot([
|
|
2769
2807
|
a({ type: Number })
|
|
2770
|
-
],
|
|
2808
|
+
], F.prototype, "activeIndex", 2);
|
|
2771
2809
|
ot([
|
|
2772
2810
|
a({ type: Array })
|
|
2773
|
-
],
|
|
2811
|
+
], F.prototype, "disabledIndexes", 2);
|
|
2774
2812
|
ot([
|
|
2775
2813
|
a({ type: String })
|
|
2776
|
-
],
|
|
2814
|
+
], F.prototype, "maxWidth", 2);
|
|
2777
2815
|
ot([
|
|
2778
2816
|
a({ type: String })
|
|
2779
|
-
],
|
|
2817
|
+
], F.prototype, "altressource", 2);
|
|
2780
2818
|
ot([
|
|
2781
2819
|
a({ type: Object })
|
|
2782
|
-
],
|
|
2820
|
+
], F.prototype, "swiperInstance", 2);
|
|
2783
2821
|
ot([
|
|
2784
2822
|
W()
|
|
2785
|
-
],
|
|
2786
|
-
|
|
2823
|
+
], F.prototype, "focusedIndex", 2);
|
|
2824
|
+
F = ot([
|
|
2787
2825
|
g("thumbnail-navigation")
|
|
2788
|
-
],
|
|
2826
|
+
], F);
|
|
2789
2827
|
var ti = Object.defineProperty, ei = Object.getOwnPropertyDescriptor, te = (o, t, e, r) => {
|
|
2790
2828
|
for (var i = r > 1 ? void 0 : r ? ei(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
2791
2829
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
@@ -3350,7 +3388,7 @@ Nt.styles = f`
|
|
|
3350
3388
|
Nt = ai([
|
|
3351
3389
|
g("o-dots")
|
|
3352
3390
|
], Nt);
|
|
3353
|
-
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor,
|
|
3391
|
+
var li = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, U = (o, t, e, r) => {
|
|
3354
3392
|
for (var i = r > 1 ? void 0 : r ? ci(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
3355
3393
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
3356
3394
|
return r && i && li(t, e, i), i;
|
|
@@ -3668,34 +3706,34 @@ z.styles = f`
|
|
|
3668
3706
|
display: none;
|
|
3669
3707
|
}
|
|
3670
3708
|
`;
|
|
3671
|
-
|
|
3709
|
+
U([
|
|
3672
3710
|
a({ type: Array, reflect: !0 })
|
|
3673
3711
|
], z.prototype, "options", 2);
|
|
3674
|
-
|
|
3712
|
+
U([
|
|
3675
3713
|
a({ type: String, reflect: !0 })
|
|
3676
3714
|
], z.prototype, "value", 2);
|
|
3677
|
-
|
|
3715
|
+
U([
|
|
3678
3716
|
a({ type: String, reflect: !0 })
|
|
3679
3717
|
], z.prototype, "name", 2);
|
|
3680
|
-
|
|
3718
|
+
U([
|
|
3681
3719
|
a({ type: String, reflect: !0 })
|
|
3682
3720
|
], z.prototype, "additionaltext", 2);
|
|
3683
|
-
|
|
3721
|
+
U([
|
|
3684
3722
|
a({ type: Boolean, reflect: !0 })
|
|
3685
3723
|
], z.prototype, "disabled", 2);
|
|
3686
|
-
|
|
3724
|
+
U([
|
|
3687
3725
|
a({ type: String, reflect: !0 })
|
|
3688
3726
|
], z.prototype, "width", 2);
|
|
3689
|
-
|
|
3727
|
+
U([
|
|
3690
3728
|
W()
|
|
3691
3729
|
], z.prototype, "open", 2);
|
|
3692
|
-
|
|
3730
|
+
U([
|
|
3693
3731
|
W()
|
|
3694
3732
|
], z.prototype, "activeIndex", 2);
|
|
3695
|
-
|
|
3733
|
+
U([
|
|
3696
3734
|
W()
|
|
3697
3735
|
], z.prototype, "menuWidth", 2);
|
|
3698
|
-
z =
|
|
3736
|
+
z = U([
|
|
3699
3737
|
g("o-dropdown-variant")
|
|
3700
3738
|
], z);
|
|
3701
3739
|
/**
|
|
@@ -4030,7 +4068,7 @@ ie([
|
|
|
4030
4068
|
_t = ie([
|
|
4031
4069
|
g("o-chipset")
|
|
4032
4070
|
], _t);
|
|
4033
|
-
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor,
|
|
4071
|
+
var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, N = (o, t, e, r) => {
|
|
4034
4072
|
for (var i = r > 1 ? void 0 : r ? xi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4035
4073
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4036
4074
|
return r && i && mi(t, e, i), i;
|
|
@@ -4212,37 +4250,37 @@ I.styles = f`
|
|
|
4212
4250
|
}
|
|
4213
4251
|
}
|
|
4214
4252
|
`;
|
|
4215
|
-
|
|
4253
|
+
N([
|
|
4216
4254
|
a({ reflect: !0 })
|
|
4217
4255
|
], I.prototype, "name", 2);
|
|
4218
|
-
|
|
4256
|
+
N([
|
|
4219
4257
|
a({ reflect: !0 })
|
|
4220
4258
|
], I.prototype, "value", 2);
|
|
4221
|
-
|
|
4259
|
+
N([
|
|
4222
4260
|
a({ type: String, reflect: !0 })
|
|
4223
4261
|
], I.prototype, "type", 2);
|
|
4224
|
-
|
|
4262
|
+
N([
|
|
4225
4263
|
a({ type: String, reflect: !0 })
|
|
4226
4264
|
], I.prototype, "href", 2);
|
|
4227
|
-
|
|
4265
|
+
N([
|
|
4228
4266
|
a({ type: String, reflect: !0, attribute: "data-href" })
|
|
4229
4267
|
], I.prototype, "dataHref", 2);
|
|
4230
|
-
|
|
4268
|
+
N([
|
|
4231
4269
|
a({ type: String })
|
|
4232
4270
|
], I.prototype, "text", 2);
|
|
4233
|
-
|
|
4271
|
+
N([
|
|
4234
4272
|
a({ type: Boolean, reflect: !0 })
|
|
4235
4273
|
], I.prototype, "selected", 2);
|
|
4236
|
-
|
|
4274
|
+
N([
|
|
4237
4275
|
a({ type: Boolean, reflect: !0 })
|
|
4238
4276
|
], I.prototype, "disabled", 2);
|
|
4239
|
-
|
|
4277
|
+
N([
|
|
4240
4278
|
a({ type: Boolean, reflect: !0 })
|
|
4241
4279
|
], I.prototype, "fullwidth", 2);
|
|
4242
|
-
I =
|
|
4280
|
+
I = N([
|
|
4243
4281
|
g("o-filter-chip")
|
|
4244
4282
|
], I);
|
|
4245
|
-
var $i = Object.defineProperty,
|
|
4283
|
+
var $i = Object.defineProperty, M = (o, t, e, r) => {
|
|
4246
4284
|
for (var i = void 0, n = o.length - 1, s; n >= 0; n--)
|
|
4247
4285
|
(s = o[n]) && (i = s(t, e, i) || i);
|
|
4248
4286
|
return i && $i(t, e, i), i;
|
|
@@ -4251,198 +4289,218 @@ const se = class se extends p {
|
|
|
4251
4289
|
constructor() {
|
|
4252
4290
|
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 = "";
|
|
4253
4291
|
}
|
|
4254
|
-
onClick() {
|
|
4255
|
-
|
|
4292
|
+
onClick(t) {
|
|
4293
|
+
var r, i;
|
|
4294
|
+
const e = t.target;
|
|
4295
|
+
(r = e == null ? void 0 : e.classList) != null && r.contains("add-to-bag") || ((i = this.onClickTile) == null || i.call(this), this.dispatchEvent(
|
|
4296
|
+
new CustomEvent("tile-click", { bubbles: !0, composed: !0 })
|
|
4297
|
+
));
|
|
4298
|
+
}
|
|
4299
|
+
onClickIcons() {
|
|
4300
|
+
var t;
|
|
4301
|
+
(t = this.onClickIcon) == null || t.call(this), this.dispatchEvent(
|
|
4302
|
+
new CustomEvent("tile-icon-click", { bubbles: !0, composed: !0 })
|
|
4303
|
+
);
|
|
4256
4304
|
}
|
|
4257
4305
|
get icons() {
|
|
4258
4306
|
return this.type === "chevron" ? l`
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4307
|
+
<o-icon-button
|
|
4308
|
+
@click=${this.onClickIcons}
|
|
4309
|
+
icon="chevronRight"
|
|
4310
|
+
size="small"
|
|
4311
|
+
bgstyle="background-contrast"
|
|
4312
|
+
type="span"
|
|
4313
|
+
status="filled"
|
|
4314
|
+
strokewidth="0"
|
|
4315
|
+
aria-hidden="true"
|
|
4316
|
+
tabindex="-1"
|
|
4317
|
+
class="chevron-icon"
|
|
4318
|
+
></o-icon-button>
|
|
4319
|
+
` : l`
|
|
4320
|
+
<o-icon-button
|
|
4321
|
+
@click=${this.onClickIcons}
|
|
4322
|
+
icon="cart"
|
|
4323
|
+
size="small"
|
|
4324
|
+
bgstyle="background-contrast"
|
|
4325
|
+
type="span"
|
|
4326
|
+
status="empty"
|
|
4327
|
+
strokewidth="0"
|
|
4328
|
+
class="add-to-bag"
|
|
4329
|
+
></o-icon-button>
|
|
4330
|
+
`;
|
|
4280
4331
|
}
|
|
4281
4332
|
render() {
|
|
4282
4333
|
return l`
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4334
|
+
<button
|
|
4335
|
+
type="button"
|
|
4336
|
+
class="tile fullpointer ${this.fullwidth ? "fullwidth" : ""}"
|
|
4337
|
+
@click=${this.onClick}
|
|
4338
|
+
>
|
|
4339
|
+
${this.imageUrl ? l`<img src="${this.imageUrl}" alt="${this.altImage || ""}" />` : ""}
|
|
4340
|
+
<div class="info">
|
|
4341
|
+
${this.tagText ? l`<o-tag bgstyle="background-emphasis">${this.tagText}</o-tag>` : ""}
|
|
4342
|
+
${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
|
|
4343
|
+
<div class="details">
|
|
4344
|
+
${this.volume ? l`<span class="volume-info">${this.volume}</span>` : ""}
|
|
4345
|
+
${this.type === "cart" && this.mainPrice ? l`<span class="main-price">${this.mainPrice}</span>` : ""}
|
|
4346
|
+
${this.type === "cart" && this.perLiter ? l`<span class="per-liter">${this.perLiter}</span>` : ""}
|
|
4347
|
+
</div>
|
|
4348
|
+
</div>
|
|
4349
|
+
${this.icons}
|
|
4350
|
+
</button>
|
|
4297
4351
|
`;
|
|
4298
4352
|
}
|
|
4299
4353
|
};
|
|
4300
4354
|
se.styles = f`
|
|
4301
4355
|
:host {
|
|
4302
|
-
|
|
4303
|
-
|
|
4356
|
+
display: block;
|
|
4357
|
+
max-width: 100%;
|
|
4304
4358
|
}
|
|
4305
|
-
|
|
4359
|
+
|
|
4306
4360
|
.tile {
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
o-icon-button {
|
|
4323
|
-
margin-left: var(--spacing-xl);
|
|
4324
|
-
}
|
|
4325
|
-
}
|
|
4361
|
+
display: flex;
|
|
4362
|
+
align-items: center;
|
|
4363
|
+
justify-content: space-between;
|
|
4364
|
+
border-radius: var(--radius-xs);
|
|
4365
|
+
background: var(--color-container-bg-white);
|
|
4366
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
|
4367
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4368
|
+
height: 70px;
|
|
4369
|
+
width: 356px;
|
|
4370
|
+
max-width: 356px;
|
|
4371
|
+
padding: var(--spacing-2-xs) var(--spacing-s) var(--spacing-2-xs)
|
|
4372
|
+
var(--spacing-2-xs);
|
|
4373
|
+
margin: 0;
|
|
4374
|
+
border: 0 none;
|
|
4375
|
+
box-sizing: content-box;
|
|
4326
4376
|
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4377
|
+
o-icon-button {
|
|
4378
|
+
margin-left: var(--spacing-xl);
|
|
4379
|
+
}
|
|
4380
|
+
}
|
|
4331
4381
|
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
background: linear-gradient(to bottom, #F9F5F0, #F7F2EA);
|
|
4337
|
-
}
|
|
4382
|
+
.tile.fullwidth {
|
|
4383
|
+
width: 100%;
|
|
4384
|
+
max-width: 100%;
|
|
4385
|
+
}
|
|
4338
4386
|
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4387
|
+
.tile img {
|
|
4388
|
+
object-fit: cover;
|
|
4389
|
+
width: 56px;
|
|
4390
|
+
height: 70px;
|
|
4391
|
+
background: linear-gradient(to bottom, #f9f5f0, #f7f2ea);
|
|
4392
|
+
}
|
|
4343
4393
|
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
color: var(--colors-noir-des-terres-500);
|
|
4349
|
-
line-height: var(--line-height-160);
|
|
4350
|
-
letter-spacing: var(--letter-spacing-100);
|
|
4351
|
-
text-align: left;
|
|
4352
|
-
max-height: 32px;
|
|
4353
|
-
overflow: hidden;
|
|
4354
|
-
text-overflow: ellipsis;
|
|
4355
|
-
display: -webkit-box;
|
|
4356
|
-
-webkit-line-clamp: 2;
|
|
4357
|
-
-webkit-box-orient: vertical;
|
|
4358
|
-
|
|
4359
|
-
+.details {
|
|
4360
|
-
padding-top: var(--spacing-s);
|
|
4361
|
-
overflow: hidden;
|
|
4362
|
-
text-overflow: ellipsis;
|
|
4363
|
-
display: -webkit-box;
|
|
4364
|
-
-webkit-line-clamp: 1;
|
|
4365
|
-
-webkit-box-orient: vertical;
|
|
4366
|
-
text-align: left;
|
|
4367
|
-
}
|
|
4368
|
-
}
|
|
4394
|
+
.info {
|
|
4395
|
+
flex-grow: 1;
|
|
4396
|
+
margin-left: 10px;
|
|
4397
|
+
}
|
|
4369
4398
|
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4399
|
+
.info .title {
|
|
4400
|
+
font-family: var(--font-family-loccitane-serif);
|
|
4401
|
+
font-size: var(--font-size-150);
|
|
4402
|
+
font-weight: var(--font-weight-400);
|
|
4403
|
+
color: var(--colors-noir-des-terres-500);
|
|
4404
|
+
line-height: var(--line-height-160);
|
|
4405
|
+
letter-spacing: var(--letter-spacing-100);
|
|
4406
|
+
text-align: left;
|
|
4407
|
+
max-height: 32px;
|
|
4408
|
+
overflow: hidden;
|
|
4409
|
+
text-overflow: ellipsis;
|
|
4410
|
+
display: -webkit-box;
|
|
4411
|
+
-webkit-line-clamp: 2;
|
|
4412
|
+
-webkit-box-orient: vertical;
|
|
4374
4413
|
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4414
|
+
+ .details {
|
|
4415
|
+
padding-top: var(--spacing-s);
|
|
4416
|
+
overflow: hidden;
|
|
4417
|
+
text-overflow: ellipsis;
|
|
4418
|
+
display: -webkit-box;
|
|
4419
|
+
-webkit-line-clamp: 1;
|
|
4420
|
+
-webkit-box-orient: vertical;
|
|
4421
|
+
text-align: left;
|
|
4422
|
+
}
|
|
4423
|
+
}
|
|
4380
4424
|
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
color: var(--colors-noir-des-terres-500);
|
|
4386
|
-
}
|
|
4387
|
-
}
|
|
4388
|
-
}
|
|
4425
|
+
.info .details {
|
|
4426
|
+
display: flex;
|
|
4427
|
+
align-items: center;
|
|
4428
|
+
}
|
|
4389
4429
|
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4430
|
+
.info .volume-info {
|
|
4431
|
+
font-size: var(--font-size-100);
|
|
4432
|
+
color: var(--colors-noir-des-terres-500);
|
|
4433
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4434
|
+
line-height: var(--line-height-160);
|
|
4394
4435
|
|
|
4395
|
-
|
|
4396
|
-
|
|
4436
|
+
+ .main-price {
|
|
4437
|
+
&::before {
|
|
4438
|
+
content: "•";
|
|
4439
|
+
padding: 0 var(--spacing-xs) 0 var(--spacing-2-xs);
|
|
4397
4440
|
color: var(--colors-noir-des-terres-500);
|
|
4398
|
-
font-size: var(--font-size-100);
|
|
4399
|
-
padding: 0 var(--spacing-xs) 0 0;
|
|
4400
|
-
font-weight: var(--font-weight-400);
|
|
4401
4441
|
}
|
|
4442
|
+
}
|
|
4443
|
+
}
|
|
4402
4444
|
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
line-height: var(--line-height-160);
|
|
4408
|
-
}
|
|
4445
|
+
.info o-tag {
|
|
4446
|
+
margin-bottom: var(--spacing-xs);
|
|
4447
|
+
display: flex;
|
|
4448
|
+
}
|
|
4409
4449
|
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4450
|
+
.main-price {
|
|
4451
|
+
font-family: var(--font-family-loccitane-sans);
|
|
4452
|
+
color: var(--colors-noir-des-terres-500);
|
|
4453
|
+
font-size: var(--font-size-100);
|
|
4454
|
+
padding: 0 var(--spacing-xs) 0 0;
|
|
4455
|
+
font-weight: var(--font-weight-400);
|
|
4456
|
+
}
|
|
4457
|
+
|
|
4458
|
+
.per-liter {
|
|
4459
|
+
font-size: var(--font-size-100);
|
|
4460
|
+
color: var(--color-content-description);
|
|
4461
|
+
letter-spacing: var(--letter-spacing-absolute);
|
|
4462
|
+
line-height: var(--line-height-160);
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
.fullpointer {
|
|
4466
|
+
cursor: pointer;
|
|
4467
|
+
}
|
|
4413
4468
|
`;
|
|
4414
|
-
let
|
|
4415
|
-
|
|
4469
|
+
let E = se;
|
|
4470
|
+
M([
|
|
4416
4471
|
a({ type: String })
|
|
4417
|
-
],
|
|
4418
|
-
|
|
4472
|
+
], E.prototype, "type");
|
|
4473
|
+
M([
|
|
4419
4474
|
a({ type: String })
|
|
4420
|
-
],
|
|
4421
|
-
|
|
4475
|
+
], E.prototype, "titleProduct");
|
|
4476
|
+
M([
|
|
4422
4477
|
a({ type: String })
|
|
4423
|
-
],
|
|
4424
|
-
|
|
4478
|
+
], E.prototype, "volume");
|
|
4479
|
+
M([
|
|
4425
4480
|
a({ type: String })
|
|
4426
|
-
],
|
|
4427
|
-
|
|
4481
|
+
], E.prototype, "perLiter");
|
|
4482
|
+
M([
|
|
4428
4483
|
a({ type: String })
|
|
4429
|
-
],
|
|
4430
|
-
|
|
4484
|
+
], E.prototype, "mainPrice");
|
|
4485
|
+
M([
|
|
4431
4486
|
a({ type: String })
|
|
4432
|
-
],
|
|
4433
|
-
|
|
4487
|
+
], E.prototype, "imageUrl");
|
|
4488
|
+
M([
|
|
4434
4489
|
a({ type: String })
|
|
4435
|
-
],
|
|
4436
|
-
|
|
4490
|
+
], E.prototype, "altImage");
|
|
4491
|
+
M([
|
|
4437
4492
|
a({ type: Boolean })
|
|
4438
|
-
],
|
|
4439
|
-
|
|
4493
|
+
], E.prototype, "fullwidth");
|
|
4494
|
+
M([
|
|
4440
4495
|
a({ type: String })
|
|
4441
|
-
],
|
|
4442
|
-
|
|
4443
|
-
a({
|
|
4444
|
-
],
|
|
4445
|
-
|
|
4496
|
+
], E.prototype, "tagText");
|
|
4497
|
+
M([
|
|
4498
|
+
a({ attribute: !1 })
|
|
4499
|
+
], E.prototype, "onClickTile");
|
|
4500
|
+
M([
|
|
4501
|
+
a({ attribute: !1 })
|
|
4502
|
+
], E.prototype, "onClickIcon");
|
|
4503
|
+
customElements.define("mini-tile", E);
|
|
4446
4504
|
var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, re = (o, t, e, r) => {
|
|
4447
4505
|
for (var i = r > 1 ? void 0 : r ? _i(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4448
4506
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
@@ -4509,7 +4567,7 @@ var Ci = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, H = (o, t,
|
|
|
4509
4567
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4510
4568
|
return r && i && Ci(t, e, i), i;
|
|
4511
4569
|
};
|
|
4512
|
-
let
|
|
4570
|
+
let A = class extends p {
|
|
4513
4571
|
constructor() {
|
|
4514
4572
|
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;
|
|
4515
4573
|
}
|
|
@@ -4573,7 +4631,7 @@ let E = class extends p {
|
|
|
4573
4631
|
`;
|
|
4574
4632
|
}
|
|
4575
4633
|
};
|
|
4576
|
-
|
|
4634
|
+
A.styles = f`
|
|
4577
4635
|
:host {
|
|
4578
4636
|
--vertical-offset: 24px;
|
|
4579
4637
|
--horizontal-offset: 24px;
|
|
@@ -4653,41 +4711,41 @@ E.styles = f`
|
|
|
4653
4711
|
`;
|
|
4654
4712
|
H([
|
|
4655
4713
|
a({ type: String, reflect: !0 })
|
|
4656
|
-
],
|
|
4714
|
+
], A.prototype, "icon", 2);
|
|
4657
4715
|
H([
|
|
4658
4716
|
a({ type: String, reflect: !0 })
|
|
4659
|
-
],
|
|
4717
|
+
], A.prototype, "text", 2);
|
|
4660
4718
|
H([
|
|
4661
4719
|
a({ type: String, reflect: !0 })
|
|
4662
|
-
],
|
|
4720
|
+
], A.prototype, "verticalanchor", 2);
|
|
4663
4721
|
H([
|
|
4664
4722
|
a({ type: String, reflect: !0 })
|
|
4665
|
-
],
|
|
4723
|
+
], A.prototype, "horizontalanchor", 2);
|
|
4666
4724
|
H([
|
|
4667
4725
|
a({ type: Number, reflect: !0 })
|
|
4668
|
-
],
|
|
4726
|
+
], A.prototype, "verticaloffset", 2);
|
|
4669
4727
|
H([
|
|
4670
4728
|
a({ type: Number, reflect: !0 })
|
|
4671
|
-
],
|
|
4729
|
+
], A.prototype, "horizontaloffset", 2);
|
|
4672
4730
|
H([
|
|
4673
4731
|
a({ type: Number, reflect: !0 })
|
|
4674
|
-
],
|
|
4732
|
+
], A.prototype, "animationduration", 2);
|
|
4675
4733
|
H([
|
|
4676
4734
|
a({ type: String, reflect: !0 })
|
|
4677
|
-
],
|
|
4735
|
+
], A.prototype, "animationaxis", 2);
|
|
4678
4736
|
H([
|
|
4679
4737
|
a({ type: Boolean, reflect: !0 })
|
|
4680
|
-
],
|
|
4738
|
+
], A.prototype, "animated", 2);
|
|
4681
4739
|
H([
|
|
4682
4740
|
a({ type: Number, reflect: !0 })
|
|
4683
|
-
],
|
|
4741
|
+
], A.prototype, "lifeduration", 2);
|
|
4684
4742
|
H([
|
|
4685
4743
|
a({ type: Boolean, reflect: !0 })
|
|
4686
|
-
],
|
|
4687
|
-
|
|
4744
|
+
], A.prototype, "multiline", 2);
|
|
4745
|
+
A = H([
|
|
4688
4746
|
g("o-toast")
|
|
4689
|
-
],
|
|
4690
|
-
var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor,
|
|
4747
|
+
], A);
|
|
4748
|
+
var Ei = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, j = (o, t, e, r) => {
|
|
4691
4749
|
for (var i = r > 1 ? void 0 : r ? Ai(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4692
4750
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4693
4751
|
return r && i && Ei(t, e, i), i;
|
|
@@ -4836,40 +4894,40 @@ L.styles = f`
|
|
|
4836
4894
|
stroke: var(--color-border-white);
|
|
4837
4895
|
}
|
|
4838
4896
|
`;
|
|
4839
|
-
|
|
4897
|
+
j([
|
|
4840
4898
|
a({ type: Boolean, reflect: !0 })
|
|
4841
4899
|
], L.prototype, "checked", 2);
|
|
4842
|
-
|
|
4900
|
+
j([
|
|
4843
4901
|
a({ type: Boolean, reflect: !0 })
|
|
4844
4902
|
], L.prototype, "indeterminate", 2);
|
|
4845
|
-
|
|
4903
|
+
j([
|
|
4846
4904
|
a({ type: Boolean, reflect: !0 })
|
|
4847
4905
|
], L.prototype, "disabled", 2);
|
|
4848
|
-
|
|
4906
|
+
j([
|
|
4849
4907
|
a({ type: String, reflect: !0 })
|
|
4850
4908
|
], L.prototype, "size", 2);
|
|
4851
|
-
|
|
4909
|
+
j([
|
|
4852
4910
|
a({ type: Boolean })
|
|
4853
4911
|
], L.prototype, "showLabel", 2);
|
|
4854
|
-
|
|
4912
|
+
j([
|
|
4855
4913
|
a({ type: String })
|
|
4856
4914
|
], L.prototype, "label", 2);
|
|
4857
|
-
|
|
4915
|
+
j([
|
|
4858
4916
|
a({ type: String })
|
|
4859
4917
|
], L.prototype, "name", 2);
|
|
4860
|
-
|
|
4918
|
+
j([
|
|
4861
4919
|
a({ type: String })
|
|
4862
4920
|
], L.prototype, "value", 2);
|
|
4863
|
-
|
|
4921
|
+
j([
|
|
4864
4922
|
a({ type: String, reflect: !0 })
|
|
4865
4923
|
], L.prototype, "inputId", 2);
|
|
4866
|
-
|
|
4924
|
+
j([
|
|
4867
4925
|
Ce("input")
|
|
4868
4926
|
], L.prototype, "inputEl", 2);
|
|
4869
|
-
L =
|
|
4927
|
+
L = j([
|
|
4870
4928
|
g("o-checkbox")
|
|
4871
4929
|
], L);
|
|
4872
|
-
var Pi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor,
|
|
4930
|
+
var Pi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, q = (o, t, e, r) => {
|
|
4873
4931
|
for (var i = r > 1 ? void 0 : r ? Bi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
4874
4932
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|
|
4875
4933
|
return r && i && Pi(t, e, i), i;
|
|
@@ -4998,34 +5056,34 @@ D.styles = f`
|
|
|
4998
5056
|
height: 0;
|
|
4999
5057
|
}
|
|
5000
5058
|
`;
|
|
5001
|
-
|
|
5059
|
+
q([
|
|
5002
5060
|
a({ type: Boolean, reflect: !0 })
|
|
5003
5061
|
], D.prototype, "checked", 2);
|
|
5004
|
-
|
|
5062
|
+
q([
|
|
5005
5063
|
a({ type: Boolean, reflect: !0 })
|
|
5006
5064
|
], D.prototype, "disabled", 2);
|
|
5007
|
-
|
|
5065
|
+
q([
|
|
5008
5066
|
a({ type: String, reflect: !0 })
|
|
5009
5067
|
], D.prototype, "size", 2);
|
|
5010
|
-
|
|
5068
|
+
q([
|
|
5011
5069
|
a({ type: Boolean })
|
|
5012
5070
|
], D.prototype, "showLabel", 2);
|
|
5013
|
-
|
|
5071
|
+
q([
|
|
5014
5072
|
a({ type: String })
|
|
5015
5073
|
], D.prototype, "label", 2);
|
|
5016
|
-
|
|
5074
|
+
q([
|
|
5017
5075
|
a({ type: String })
|
|
5018
5076
|
], D.prototype, "name", 2);
|
|
5019
|
-
|
|
5077
|
+
q([
|
|
5020
5078
|
a({ type: String })
|
|
5021
5079
|
], D.prototype, "value", 2);
|
|
5022
|
-
|
|
5080
|
+
q([
|
|
5023
5081
|
a({ type: String, reflect: !0 })
|
|
5024
5082
|
], D.prototype, "inputId", 2);
|
|
5025
|
-
|
|
5083
|
+
q([
|
|
5026
5084
|
Ce("input")
|
|
5027
5085
|
], D.prototype, "inputEl", 2);
|
|
5028
|
-
D =
|
|
5086
|
+
D = q([
|
|
5029
5087
|
g("o-radio")
|
|
5030
5088
|
], D);
|
|
5031
5089
|
var Oi = Object.getOwnPropertyDescriptor, Ii = (o, t, e, r) => {
|
|
@@ -5033,7 +5091,7 @@ var Oi = Object.getOwnPropertyDescriptor, Ii = (o, t, e, r) => {
|
|
|
5033
5091
|
(s = o[n]) && (i = s(i) || i);
|
|
5034
5092
|
return i;
|
|
5035
5093
|
};
|
|
5036
|
-
let
|
|
5094
|
+
let qt = class extends p {
|
|
5037
5095
|
render() {
|
|
5038
5096
|
return l`
|
|
5039
5097
|
<nav aria-label="Breadcrumbs">
|
|
@@ -5044,7 +5102,7 @@ let Vt = class extends p {
|
|
|
5044
5102
|
`;
|
|
5045
5103
|
}
|
|
5046
5104
|
};
|
|
5047
|
-
|
|
5105
|
+
qt.styles = f`
|
|
5048
5106
|
nav {
|
|
5049
5107
|
max-width: 144rem;
|
|
5050
5108
|
margin: auto;
|
|
@@ -5056,9 +5114,9 @@ Vt.styles = f`
|
|
|
5056
5114
|
padding: var(--spacing-4-xs);
|
|
5057
5115
|
}
|
|
5058
5116
|
`;
|
|
5059
|
-
|
|
5117
|
+
qt = Ii([
|
|
5060
5118
|
g("o-breadcrumbs")
|
|
5061
|
-
],
|
|
5119
|
+
], qt);
|
|
5062
5120
|
var Di = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, ne = (o, t, e, r) => {
|
|
5063
5121
|
for (var i = r > 1 ? void 0 : r ? Hi(t, e) : t, n = o.length - 1, s; n >= 0; n--)
|
|
5064
5122
|
(s = o[n]) && (i = (r ? s(t, e, i) : s(i)) || i);
|