@florid-kit/components 0.10.35 → 0.10.37
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/badge.d.ts +2 -1
- package/components/mediumtile.d.ts +1 -0
- package/index.js +70 -67
- package/index.mjs +290 -281
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const Lt = globalThis,
|
|
7
|
-
let
|
|
6
|
+
const Lt = globalThis, Zt = Lt.ShadowRoot && (Lt.ShadyCSS === void 0 || Lt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Kt = Symbol(), ce = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let we = class {
|
|
8
8
|
constructor(t, e, n) {
|
|
9
|
-
if (this._$cssResult$ = !0, n !==
|
|
9
|
+
if (this._$cssResult$ = !0, n !== Kt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
10
|
this.cssText = t, this.t = e;
|
|
11
11
|
}
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let t = this.o;
|
|
14
14
|
const e = this.t;
|
|
15
|
-
if (
|
|
15
|
+
if (Zt && t === void 0) {
|
|
16
16
|
const n = e !== void 0 && e.length === 1;
|
|
17
|
-
n && (t =
|
|
17
|
+
n && (t = ce.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && ce.set(e, t));
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
20
|
}
|
|
@@ -22,20 +22,20 @@ let xe = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const Le = (o) => new
|
|
25
|
+
const Le = (o) => new we(typeof o == "string" ? o : o + "", void 0, Kt), f = (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
|
-
return new
|
|
31
|
+
return new we(e, o, Kt);
|
|
32
32
|
}, Pe = (o, t) => {
|
|
33
|
-
if (
|
|
33
|
+
if (Zt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
34
34
|
else for (const e of t) {
|
|
35
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
|
+
}, he = Zt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
39
39
|
let e = "";
|
|
40
40
|
for (const n of t.cssRules) e += n.cssText;
|
|
41
41
|
return Le(e);
|
|
@@ -45,7 +45,7 @@ const Le = (o) => new xe(typeof o == "string" ? o : o + "", void 0, Zt), f = (o,
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: Be, defineProperty:
|
|
48
|
+
const { is: Be, defineProperty: Oe, getOwnPropertyDescriptor: ze, getOwnPropertyNames: Ie, getOwnPropertySymbols: De, getPrototypeOf: He } = Object, Q = globalThis, de = Q.trustedTypes, Te = de ? de.emptyScript : "", Tt = Q.reactiveElementPolyfillSupport, gt = (o, t) => o, Pt = { toAttribute(o, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
o = o ? Te : null;
|
|
@@ -73,7 +73,7 @@ const { is: Be, defineProperty: ze, getOwnPropertyDescriptor: Oe, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
|
-
} },
|
|
76
|
+
} }, Wt = (o, t) => !Be(o, t), pe = { attribute: !0, type: String, converter: Pt, reflect: !1, useDefault: !1, hasChanged: Wt };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Q.litPropertyMetadata ?? (Q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
let ct = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
@@ -82,14 +82,14 @@ let ct = class extends HTMLElement {
|
|
|
82
82
|
static get observedAttributes() {
|
|
83
83
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
84
84
|
}
|
|
85
|
-
static createProperty(t, e =
|
|
85
|
+
static createProperty(t, e = pe) {
|
|
86
86
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
87
87
|
const n = Symbol(), i = this.getPropertyDescriptor(t, n, e);
|
|
88
|
-
i !== void 0 &&
|
|
88
|
+
i !== void 0 && Oe(this.prototype, t, i);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(t, e, n) {
|
|
92
|
-
const { get: i, set: r } =
|
|
92
|
+
const { get: i, set: r } = ze(this.prototype, t) ?? { get() {
|
|
93
93
|
return this[e];
|
|
94
94
|
}, set(s) {
|
|
95
95
|
this[e] = s;
|
|
@@ -100,16 +100,16 @@ let ct = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(t) {
|
|
103
|
-
return this.elementProperties.get(t) ??
|
|
103
|
+
return this.elementProperties.get(t) ?? pe;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
106
|
+
if (this.hasOwnProperty(gt("elementProperties"))) return;
|
|
107
107
|
const t = He(this);
|
|
108
108
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
111
|
+
if (this.hasOwnProperty(gt("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(gt("properties"))) {
|
|
113
113
|
const e = this.properties, n = [...Ie(e), ...De(e)];
|
|
114
114
|
for (const i of n) this.createProperty(i, e[i]);
|
|
115
115
|
}
|
|
@@ -129,8 +129,8 @@ let ct = class extends HTMLElement {
|
|
|
129
129
|
const e = [];
|
|
130
130
|
if (Array.isArray(t)) {
|
|
131
131
|
const n = new Set(t.flat(1 / 0).reverse());
|
|
132
|
-
for (const i of n) e.unshift(
|
|
133
|
-
} else t !== void 0 && e.push(
|
|
132
|
+
for (const i of n) e.unshift(he(i));
|
|
133
|
+
} else t !== void 0 && e.push(he(t));
|
|
134
134
|
return e;
|
|
135
135
|
}
|
|
136
136
|
static _$Eu(t, e) {
|
|
@@ -200,7 +200,7 @@ let ct = class extends HTMLElement {
|
|
|
200
200
|
var i;
|
|
201
201
|
if (t !== void 0) {
|
|
202
202
|
const r = this.constructor, s = this[t];
|
|
203
|
-
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ??
|
|
203
|
+
if (n ?? (n = r.getPropertyOptions(t)), !((n.hasChanged ?? Wt)(s, e) || n.useDefault && n.reflect && s === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, n)))) return;
|
|
204
204
|
this.C(t, e, n);
|
|
205
205
|
}
|
|
206
206
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -276,56 +276,56 @@ let ct = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[
|
|
279
|
+
ct.elementStyles = [], ct.shadowRootOptions = { mode: "open" }, ct[gt("elementProperties")] = /* @__PURE__ */ new Map(), ct[gt("finalized")] = /* @__PURE__ */ new Map(), Tt == null || Tt({ ReactiveElement: ct }), (Q.reactiveElementVersions ?? (Q.reactiveElementVersions = [])).push("2.1.0");
|
|
280
280
|
/**
|
|
281
281
|
* @license
|
|
282
282
|
* Copyright 2017 Google LLC
|
|
283
283
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
284
284
|
*/
|
|
285
|
-
const
|
|
286
|
-
\f\r]`,
|
|
287
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
288
|
-
function
|
|
289
|
-
if (!
|
|
290
|
-
return
|
|
285
|
+
const bt = globalThis, Bt = bt.trustedTypes, ue = Bt ? Bt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, $e = "$lit$", J = `lit$${Math.random().toFixed(9).slice(2)}$`, ke = "?" + J, Me = `<${ke}>`, st = document, mt = () => st.createComment(""), xt = (o) => o === null || typeof o != "object" && typeof o != "function", Gt = Array.isArray, je = (o) => Gt(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Mt = `[
|
|
286
|
+
\f\r]`, vt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, fe = /-->/g, ve = />/g, it = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ge = /'/g, be = /"/g, _e = /^(?:script|style|textarea|title)$/i, Fe = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), l = Fe(1), tt = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), ye = /* @__PURE__ */ new WeakMap(), nt = st.createTreeWalker(st, 129);
|
|
288
|
+
function Ce(o, t) {
|
|
289
|
+
if (!Gt(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
|
+
return ue !== void 0 ? ue.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
292
|
const Re = (o, t) => {
|
|
293
293
|
const e = o.length - 1, n = [];
|
|
294
|
-
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s =
|
|
294
|
+
let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = vt;
|
|
295
295
|
for (let c = 0; c < e; c++) {
|
|
296
296
|
const h = o[c];
|
|
297
|
-
let v,
|
|
298
|
-
for (; V < h.length && (s.lastIndex = V,
|
|
297
|
+
let v, w, g = -1, V = 0;
|
|
298
|
+
for (; V < h.length && (s.lastIndex = V, w = s.exec(h), w !== null); ) V = s.lastIndex, s === vt ? w[1] === "!--" ? s = fe : w[1] !== void 0 ? s = ve : w[2] !== void 0 ? (_e.test(w[2]) && (i = RegExp("</" + w[2], "g")), s = it) : w[3] !== void 0 && (s = it) : s === it ? w[0] === ">" ? (s = i ?? vt, g = -1) : w[1] === void 0 ? g = -2 : (g = s.lastIndex - w[2].length, v = w[1], s = w[3] === void 0 ? it : w[3] === '"' ? be : ge) : s === be || s === ge ? s = it : s === fe || s === ve ? s = vt : (s = it, i = void 0);
|
|
299
299
|
const Y = s === it && o[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
-
r += s ===
|
|
300
|
+
r += s === vt ? h + Me : g >= 0 ? (n.push(v), h.slice(0, g) + $e + h.slice(g) + J + Y) : h + J + (g === -2 ? c : Y);
|
|
301
301
|
}
|
|
302
|
-
return [
|
|
302
|
+
return [Ce(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class wt {
|
|
305
305
|
constructor({ strings: t, _$litType$: e }, n) {
|
|
306
306
|
let i;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let r = 0, s = 0;
|
|
309
|
-
const c = t.length - 1, h = this.parts, [v,
|
|
310
|
-
if (this.el =
|
|
309
|
+
const c = t.length - 1, h = this.parts, [v, w] = Re(t, e);
|
|
310
|
+
if (this.el = wt.createElement(v, n), nt.currentNode = this.el.content, e === 2 || e === 3) {
|
|
311
311
|
const g = this.el.content.firstChild;
|
|
312
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 g of i.getAttributeNames()) if (g.endsWith(
|
|
317
|
-
const V =
|
|
318
|
-
h.push({ type: 1, index: r, name: At[2], strings: Y, ctor: At[1] === "." ? Ne : At[1] === "?" ? qe : At[1] === "@" ? Ve :
|
|
316
|
+
if (i.hasAttributes()) for (const g of i.getAttributeNames()) if (g.endsWith($e)) {
|
|
317
|
+
const V = w[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] === "." ? Ne : At[1] === "?" ? qe : At[1] === "@" ? Ve : zt }), i.removeAttribute(g);
|
|
319
319
|
} else g.startsWith(J) && (h.push({ type: 6, index: r }), i.removeAttribute(g));
|
|
320
|
-
if (
|
|
320
|
+
if (_e.test(i.tagName)) {
|
|
321
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(g[Y],
|
|
325
|
-
i.append(g[V],
|
|
324
|
+
for (let Y = 0; Y < V; Y++) i.append(g[Y], mt()), nt.nextNode(), h.push({ type: 2, index: ++r });
|
|
325
|
+
i.append(g[V], mt());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
} else if (i.nodeType === 8) if (i.data ===
|
|
328
|
+
} else if (i.nodeType === 8) if (i.data === ke) h.push({ type: 2, index: r });
|
|
329
329
|
else {
|
|
330
330
|
let g = -1;
|
|
331
331
|
for (; (g = i.data.indexOf(J, g + 1)) !== -1; ) h.push({ type: 7, index: r }), g += J.length - 1;
|
|
@@ -342,7 +342,7 @@ function ht(o, t, e = o, n) {
|
|
|
342
342
|
var s, c;
|
|
343
343
|
if (t === tt) return t;
|
|
344
344
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
345
|
-
const r =
|
|
345
|
+
const r = xt(t) ? void 0 : t._$litDirective$;
|
|
346
346
|
return (i == null ? void 0 : i.constructor) !== r && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (t = ht(o, i._$AS(o, t.values), i, n)), t;
|
|
347
347
|
}
|
|
348
348
|
class Ue {
|
|
@@ -393,7 +393,7 @@ class Et {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, e = this) {
|
|
396
|
-
t = ht(this, t, e),
|
|
396
|
+
t = ht(this, t, e), xt(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== tt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : je(t) ? this.k(t) : this._(t);
|
|
397
397
|
}
|
|
398
398
|
O(t) {
|
|
399
399
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -402,11 +402,11 @@ class Et {
|
|
|
402
402
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
403
403
|
}
|
|
404
404
|
_(t) {
|
|
405
|
-
this._$AH !== d &&
|
|
405
|
+
this._$AH !== d && xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(st.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var r;
|
|
409
|
-
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el =
|
|
409
|
+
const { values: e, _$litType$: n } = t, i = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = wt.createElement(Ce(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
|
|
411
411
|
else {
|
|
412
412
|
const s = new Ue(i, this), c = s.u(this.options);
|
|
@@ -414,14 +414,14 @@ class Et {
|
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
|
-
let e =
|
|
418
|
-
return e === void 0 &&
|
|
417
|
+
let e = ye.get(t.strings);
|
|
418
|
+
return e === void 0 && ye.set(t.strings, e = new wt(t)), e;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
|
-
|
|
421
|
+
Gt(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const e = this._$AH;
|
|
423
423
|
let n, i = 0;
|
|
424
|
-
for (const r of t) i === e.length ? e.push(n = new Et(this.O(
|
|
424
|
+
for (const r of t) i === e.length ? e.push(n = new Et(this.O(mt()), this.O(mt()), this, this.options)) : n = e[i], n._$AI(r), i++;
|
|
425
425
|
i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -436,7 +436,7 @@ class Et {
|
|
|
436
436
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
class
|
|
439
|
+
class zt {
|
|
440
440
|
get tagName() {
|
|
441
441
|
return this.element.tagName;
|
|
442
442
|
}
|
|
@@ -449,11 +449,11 @@ class Ot {
|
|
|
449
449
|
_$AI(t, e = this, n, i) {
|
|
450
450
|
const r = this.strings;
|
|
451
451
|
let s = !1;
|
|
452
|
-
if (r === void 0) t = ht(this, t, e, 0), s = !
|
|
452
|
+
if (r === void 0) t = ht(this, t, e, 0), s = !xt(t) || t !== this._$AH && t !== tt, s && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
455
|
let h, v;
|
|
456
|
-
for (t = r[0], h = 0; h < r.length - 1; h++) v = ht(this, c[n + h], e, h), v === tt && (v = this._$AH[h]), s || (s = !
|
|
456
|
+
for (t = r[0], h = 0; h < r.length - 1; h++) v = ht(this, c[n + h], e, h), v === tt && (v = this._$AH[h]), s || (s = !xt(v) || v !== this._$AH[h]), v === d ? t = d : t !== d && (t += (v ?? "") + r[h + 1]), this._$AH[h] = v;
|
|
457
457
|
}
|
|
458
458
|
s && !i && this.j(t);
|
|
459
459
|
}
|
|
@@ -461,7 +461,7 @@ class Ot {
|
|
|
461
461
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
class Ne extends
|
|
464
|
+
class Ne extends zt {
|
|
465
465
|
constructor() {
|
|
466
466
|
super(...arguments), this.type = 3;
|
|
467
467
|
}
|
|
@@ -469,7 +469,7 @@ class Ne extends Ot {
|
|
|
469
469
|
this.element[this.name] = t === d ? void 0 : t;
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
class qe extends
|
|
472
|
+
class qe extends zt {
|
|
473
473
|
constructor() {
|
|
474
474
|
super(...arguments), this.type = 4;
|
|
475
475
|
}
|
|
@@ -477,7 +477,7 @@ class qe extends Ot {
|
|
|
477
477
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
class Ve extends
|
|
480
|
+
class Ve extends zt {
|
|
481
481
|
constructor(t, e, n, i, r) {
|
|
482
482
|
super(t, e, n, i, r), this.type = 5;
|
|
483
483
|
}
|
|
@@ -502,14 +502,14 @@ class Ze {
|
|
|
502
502
|
ht(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const
|
|
506
|
-
|
|
505
|
+
const jt = bt.litHtmlPolyfillSupport;
|
|
506
|
+
jt == null || jt(wt, Et), (bt.litHtmlVersions ?? (bt.litHtmlVersions = [])).push("3.3.0");
|
|
507
507
|
const Ke = (o, t, e) => {
|
|
508
508
|
const n = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
509
509
|
let i = n._$litPart$;
|
|
510
510
|
if (i === void 0) {
|
|
511
511
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
512
|
-
n._$litPart$ = i = new Et(t.insertBefore(
|
|
512
|
+
n._$litPart$ = i = new Et(t.insertBefore(mt(), r), r, void 0, e ?? {});
|
|
513
513
|
}
|
|
514
514
|
return i._$AI(o), i;
|
|
515
515
|
};
|
|
@@ -544,10 +544,10 @@ let u = class extends ct {
|
|
|
544
544
|
return tt;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
u._$litElement$ = !0, u.finalized = !0, (
|
|
549
|
-
const
|
|
550
|
-
|
|
547
|
+
var xe;
|
|
548
|
+
u._$litElement$ = !0, u.finalized = !0, (xe = rt.litElementHydrateSupport) == null || xe.call(rt, { LitElement: u });
|
|
549
|
+
const Ft = rt.litElementPolyfillSupport;
|
|
550
|
+
Ft == null || Ft({ LitElement: u });
|
|
551
551
|
(rt.litElementVersions ?? (rt.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
@@ -564,7 +564,7 @@ const y = (o) => (t, e) => {
|
|
|
564
564
|
* Copyright 2017 Google LLC
|
|
565
565
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
566
566
|
*/
|
|
567
|
-
const We = { attribute: !0, type: String, converter: Pt, reflect: !1, hasChanged:
|
|
567
|
+
const We = { attribute: !0, type: String, converter: Pt, reflect: !1, hasChanged: Wt }, Ge = (o = We, t, e) => {
|
|
568
568
|
const { kind: n, metadata: i } = e;
|
|
569
569
|
let r = globalThis.litPropertyMetadata.get(i);
|
|
570
570
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((o = Object.create(o)).wrapped = !0), r.set(e.name, o), n === "accessor") {
|
|
@@ -610,7 +610,7 @@ const Xe = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
|
|
|
610
610
|
* Copyright 2017 Google LLC
|
|
611
611
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
612
|
*/
|
|
613
|
-
function
|
|
613
|
+
function Se(o, t) {
|
|
614
614
|
return (e, n, i) => {
|
|
615
615
|
const r = (s) => {
|
|
616
616
|
var c;
|
|
@@ -630,7 +630,7 @@ f`
|
|
|
630
630
|
box-sizing: border-box;
|
|
631
631
|
}
|
|
632
632
|
`;
|
|
633
|
-
const
|
|
633
|
+
const Xt = f`
|
|
634
634
|
border: 0 !important;
|
|
635
635
|
clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem) !important;
|
|
636
636
|
-webkit-clip-path: inset(50%) !important;
|
|
@@ -648,12 +648,12 @@ const Se = f`
|
|
|
648
648
|
* Copyright 2023 Google LLC
|
|
649
649
|
* SPDX-License-Identifier: Apache-2.0
|
|
650
650
|
*/
|
|
651
|
-
const
|
|
652
|
-
function
|
|
651
|
+
const Yt = Symbol("internals"), Rt = Symbol("privateInternals");
|
|
652
|
+
function Jt(o) {
|
|
653
653
|
var t;
|
|
654
654
|
class e extends o {
|
|
655
|
-
get [(t =
|
|
656
|
-
return this[
|
|
655
|
+
get [(t = Yt, t)]() {
|
|
656
|
+
return this[Rt] || (this[Rt] = this.attachInternals()), this[Rt];
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
659
|
return e;
|
|
@@ -667,7 +667,7 @@ function Ye(o) {
|
|
|
667
667
|
o.addInitializer((t) => {
|
|
668
668
|
const e = t;
|
|
669
669
|
e.addEventListener("click", async (n) => {
|
|
670
|
-
const { type: i, [
|
|
670
|
+
const { type: i, [Yt]: r } = e, { form: s } = r;
|
|
671
671
|
if (!(!s || i === "button") && (await new Promise((c) => {
|
|
672
672
|
setTimeout(c);
|
|
673
673
|
}), !n.defaultPrevented)) {
|
|
@@ -831,8 +831,8 @@ const Je = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
831
831
|
* Copyright 2017 Google LLC
|
|
832
832
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
833
833
|
*/
|
|
834
|
-
const
|
|
835
|
-
let
|
|
834
|
+
const Qt = { ATTRIBUTE: 1, CHILD: 2 }, te = (o) => (...t) => ({ _$litDirective$: o, values: t });
|
|
835
|
+
let ee = class {
|
|
836
836
|
constructor(t) {
|
|
837
837
|
}
|
|
838
838
|
get _$AU() {
|
|
@@ -853,9 +853,9 @@ let Qt = class {
|
|
|
853
853
|
* Copyright 2017 Google LLC
|
|
854
854
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
855
855
|
*/
|
|
856
|
-
class
|
|
856
|
+
class Ut extends ee {
|
|
857
857
|
constructor(t) {
|
|
858
|
-
if (super(t), this.it = d, t.type !==
|
|
858
|
+
if (super(t), this.it = d, t.type !== Qt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
859
859
|
}
|
|
860
860
|
render(t) {
|
|
861
861
|
if (t === d || t == null) return this._t = void 0, this.it = t;
|
|
@@ -867,34 +867,34 @@ class Rt extends Qt {
|
|
|
867
867
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
|
|
870
|
+
Ut.directiveName = "unsafeHTML", Ut.resultType = 1;
|
|
871
871
|
/**
|
|
872
872
|
* @license
|
|
873
873
|
* Copyright 2017 Google LLC
|
|
874
874
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
875
875
|
*/
|
|
876
|
-
class
|
|
876
|
+
class Nt extends Ut {
|
|
877
877
|
}
|
|
878
|
-
|
|
879
|
-
const S =
|
|
878
|
+
Nt.directiveName = "unsafeSVG", Nt.resultType = 2;
|
|
879
|
+
const S = te(Nt);
|
|
880
880
|
/**
|
|
881
881
|
* @license
|
|
882
882
|
* Copyright 2020 Google LLC
|
|
883
883
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
884
884
|
*/
|
|
885
|
-
const
|
|
885
|
+
const Oo = (o) => o.strings === void 0;
|
|
886
886
|
/**
|
|
887
887
|
* @license
|
|
888
888
|
* Copyright 2017 Google LLC
|
|
889
889
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
890
890
|
*/
|
|
891
|
-
const
|
|
891
|
+
const yt = (o, t) => {
|
|
892
892
|
var n;
|
|
893
893
|
const e = o._$AN;
|
|
894
894
|
if (e === void 0) return !1;
|
|
895
|
-
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1),
|
|
895
|
+
for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), yt(i, t);
|
|
896
896
|
return !0;
|
|
897
|
-
},
|
|
897
|
+
}, Ot = (o) => {
|
|
898
898
|
let t, e;
|
|
899
899
|
do {
|
|
900
900
|
if ((t = o._$AM) === void 0) break;
|
|
@@ -908,19 +908,19 @@ const bt = (o, t) => {
|
|
|
908
908
|
e.add(o), Do(t);
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
|
-
function
|
|
912
|
-
this._$AN !== void 0 ? (
|
|
911
|
+
function zo(o) {
|
|
912
|
+
this._$AN !== void 0 ? (Ot(this), this._$AM = o, Ee(this)) : this._$AM = o;
|
|
913
913
|
}
|
|
914
914
|
function Io(o, t = !1, e = 0) {
|
|
915
915
|
const n = this._$AH, i = this._$AN;
|
|
916
|
-
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++)
|
|
917
|
-
else n != null && (
|
|
918
|
-
else
|
|
916
|
+
if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) yt(n[r], !1), Ot(n[r]);
|
|
917
|
+
else n != null && (yt(n, !1), Ot(n));
|
|
918
|
+
else yt(this, o);
|
|
919
919
|
}
|
|
920
920
|
const Do = (o) => {
|
|
921
|
-
o.type ==
|
|
921
|
+
o.type == Qt.CHILD && (o._$AP ?? (o._$AP = Io), o._$AQ ?? (o._$AQ = zo));
|
|
922
922
|
};
|
|
923
|
-
class Ho extends
|
|
923
|
+
class Ho extends ee {
|
|
924
924
|
constructor() {
|
|
925
925
|
super(...arguments), this._$AN = void 0;
|
|
926
926
|
}
|
|
@@ -929,10 +929,10 @@ class Ho extends Qt {
|
|
|
929
929
|
}
|
|
930
930
|
_$AO(t, e = !0) {
|
|
931
931
|
var n, i;
|
|
932
|
-
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (
|
|
932
|
+
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (yt(this, t), Ot(this));
|
|
933
933
|
}
|
|
934
934
|
setValue(t) {
|
|
935
|
-
if (
|
|
935
|
+
if (Oo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
936
936
|
else {
|
|
937
937
|
const e = [...this._$Ct._$AH];
|
|
938
938
|
e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
|
|
@@ -1063,7 +1063,7 @@ class jo extends Mo {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
|
-
const
|
|
1066
|
+
const me = te(jo);
|
|
1067
1067
|
/**
|
|
1068
1068
|
* @license
|
|
1069
1069
|
* Copyright 2018 Google LLC
|
|
@@ -1284,7 +1284,7 @@ B.styles = f`
|
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
.sr-only {
|
|
1287
|
-
${
|
|
1287
|
+
${Xt}
|
|
1288
1288
|
}
|
|
1289
1289
|
`;
|
|
1290
1290
|
R([
|
|
@@ -1426,12 +1426,12 @@ let p = class extends u {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
if (document.querySelector("#refineandsortpopin")) {
|
|
1429
|
-
const s = t.querySelector(".close-btn"), c = s ? this.resolveFocusable(s) : null, h = t.querySelector(".js-clear-refinements"), v = h ? this.resolveFocusable(h) : null,
|
|
1429
|
+
const s = t.querySelector(".close-btn"), c = s ? this.resolveFocusable(s) : null, h = t.querySelector(".js-clear-refinements"), v = h ? this.resolveFocusable(h) : null, w = (g) => {
|
|
1430
1430
|
o.preventDefault(), o.stopPropagation(), g.focus();
|
|
1431
1431
|
};
|
|
1432
1432
|
if (c && v) {
|
|
1433
|
-
if (!o.shiftKey && e === v) return
|
|
1434
|
-
if (o.shiftKey && e === c) return
|
|
1433
|
+
if (!o.shiftKey && e === v) return w(c);
|
|
1434
|
+
if (o.shiftKey && e === c) return w(v);
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
const i = this.renderRoot.querySelector(".close-btn");
|
|
@@ -1589,7 +1589,7 @@ let p = class extends u {
|
|
|
1589
1589
|
variant="${this.firstButtonVariant}"
|
|
1590
1590
|
@click=${this.handleFirstClick}
|
|
1591
1591
|
@keydown=${this.handleFirstClick}
|
|
1592
|
-
${
|
|
1592
|
+
${me(this.firstButtonProps)}
|
|
1593
1593
|
>
|
|
1594
1594
|
${this.firstButtonLabel}
|
|
1595
1595
|
</o-button>
|
|
@@ -1600,7 +1600,7 @@ let p = class extends u {
|
|
|
1600
1600
|
variant="${this.secondButtonVariant}"
|
|
1601
1601
|
@click=${this.handleSecondClick}
|
|
1602
1602
|
@keydown=${this.handleSecondClick}
|
|
1603
|
-
${
|
|
1603
|
+
${me(this.secondButtonProps)}
|
|
1604
1604
|
>
|
|
1605
1605
|
${this.secondButtonLabel}
|
|
1606
1606
|
</o-button>
|
|
@@ -1930,12 +1930,12 @@ b([
|
|
|
1930
1930
|
p = b([
|
|
1931
1931
|
y("o-side-panel")
|
|
1932
1932
|
], p);
|
|
1933
|
-
var qo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor,
|
|
1933
|
+
var qo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, _ = (o, t, e, n) => {
|
|
1934
1934
|
for (var i = n > 1 ? void 0 : n ? Vo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
1935
1935
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
1936
1936
|
return n && i && qo(t, e, i), i;
|
|
1937
1937
|
};
|
|
1938
|
-
const Zo =
|
|
1938
|
+
const Zo = Jt(u);
|
|
1939
1939
|
let m = class extends Zo {
|
|
1940
1940
|
constructor() {
|
|
1941
1941
|
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, this.hideRoleButton = !1;
|
|
@@ -1947,7 +1947,7 @@ let m = class extends Zo {
|
|
|
1947
1947
|
this.setAttribute("name", o);
|
|
1948
1948
|
}
|
|
1949
1949
|
get form() {
|
|
1950
|
-
return this[
|
|
1950
|
+
return this[Yt].form;
|
|
1951
1951
|
}
|
|
1952
1952
|
handleClick(o) {
|
|
1953
1953
|
if (!(o instanceof KeyboardEvent && !["Enter", " "].includes(o.key)) && this.panelTarget) {
|
|
@@ -2214,58 +2214,58 @@ m.styles = f`
|
|
|
2214
2214
|
transform: translateX(4px);
|
|
2215
2215
|
}
|
|
2216
2216
|
`;
|
|
2217
|
-
|
|
2217
|
+
_([
|
|
2218
2218
|
a()
|
|
2219
2219
|
], m.prototype, "type", 2);
|
|
2220
|
-
|
|
2220
|
+
_([
|
|
2221
2221
|
a()
|
|
2222
2222
|
], m.prototype, "value", 2);
|
|
2223
|
-
|
|
2223
|
+
_([
|
|
2224
2224
|
a({ type: String, reflect: !0 })
|
|
2225
2225
|
], m.prototype, "variant", 2);
|
|
2226
|
-
|
|
2226
|
+
_([
|
|
2227
2227
|
a({ type: String })
|
|
2228
2228
|
], m.prototype, "text", 2);
|
|
2229
|
-
|
|
2229
|
+
_([
|
|
2230
2230
|
a({ type: String })
|
|
2231
2231
|
], m.prototype, "textsecond", 2);
|
|
2232
|
-
|
|
2232
|
+
_([
|
|
2233
2233
|
a({ type: Boolean, reflect: !0 })
|
|
2234
2234
|
], m.prototype, "fullwidth", 2);
|
|
2235
|
-
|
|
2235
|
+
_([
|
|
2236
2236
|
a({ type: Boolean, reflect: !0 })
|
|
2237
2237
|
], m.prototype, "disabled", 2);
|
|
2238
|
-
|
|
2238
|
+
_([
|
|
2239
2239
|
a({ type: String })
|
|
2240
2240
|
], m.prototype, "startIconModel", 2);
|
|
2241
|
-
|
|
2241
|
+
_([
|
|
2242
2242
|
a({ type: String })
|
|
2243
2243
|
], m.prototype, "endIconModel", 2);
|
|
2244
|
-
|
|
2244
|
+
_([
|
|
2245
2245
|
a({ type: Boolean, reflect: !0, attribute: "starticon" })
|
|
2246
2246
|
], m.prototype, "startIcon", 2);
|
|
2247
|
-
|
|
2247
|
+
_([
|
|
2248
2248
|
a({ type: Boolean, reflect: !0, attribute: "endicon" })
|
|
2249
2249
|
], m.prototype, "endIcon", 2);
|
|
2250
|
-
|
|
2250
|
+
_([
|
|
2251
2251
|
a({ type: String, attribute: "paneltarget" })
|
|
2252
2252
|
], m.prototype, "panelTarget", 2);
|
|
2253
|
-
|
|
2253
|
+
_([
|
|
2254
2254
|
a({ type: String })
|
|
2255
2255
|
], m.prototype, "href", 2);
|
|
2256
|
-
|
|
2256
|
+
_([
|
|
2257
2257
|
a({ type: String })
|
|
2258
2258
|
], m.prototype, "target", 2);
|
|
2259
|
-
|
|
2259
|
+
_([
|
|
2260
2260
|
a({ type: Boolean, reflect: !0 })
|
|
2261
2261
|
], m.prototype, "underlined", 2);
|
|
2262
|
-
|
|
2262
|
+
_([
|
|
2263
2263
|
a({ type: Boolean, reflect: !0 })
|
|
2264
2264
|
], m.prototype, "withbadge", 2);
|
|
2265
|
-
|
|
2265
|
+
_([
|
|
2266
2266
|
a({ type: Boolean, reflect: !0 })
|
|
2267
2267
|
], m.prototype, "hideRoleButton", 2);
|
|
2268
|
-
m =
|
|
2268
|
+
m = _([
|
|
2269
2269
|
y("o-button")
|
|
2270
2270
|
], m);
|
|
2271
2271
|
var Ko = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, It = (o, t, e, n) => {
|
|
@@ -2366,7 +2366,7 @@ dt.styles = f`
|
|
|
2366
2366
|
}
|
|
2367
2367
|
|
|
2368
2368
|
.sr-only {
|
|
2369
|
-
${
|
|
2369
|
+
${Xt}
|
|
2370
2370
|
}
|
|
2371
2371
|
`;
|
|
2372
2372
|
It([
|
|
@@ -2834,12 +2834,12 @@ ot([
|
|
|
2834
2834
|
F = ot([
|
|
2835
2835
|
y("thumbnail-navigation")
|
|
2836
2836
|
], F);
|
|
2837
|
-
var ei = Object.defineProperty, oi = Object.getOwnPropertyDescriptor,
|
|
2837
|
+
var ei = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
|
|
2838
2838
|
for (var i = n > 1 ? void 0 : n ? oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2839
2839
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2840
2840
|
return n && i && ei(t, e, i), i;
|
|
2841
2841
|
};
|
|
2842
|
-
let
|
|
2842
|
+
let $t = class extends u {
|
|
2843
2843
|
constructor() {
|
|
2844
2844
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
2845
2845
|
}
|
|
@@ -2849,7 +2849,7 @@ let wt = class extends u {
|
|
|
2849
2849
|
`;
|
|
2850
2850
|
}
|
|
2851
2851
|
};
|
|
2852
|
-
|
|
2852
|
+
$t.styles = f`
|
|
2853
2853
|
.tag {
|
|
2854
2854
|
display: inline-block;
|
|
2855
2855
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -2906,21 +2906,21 @@ wt.styles = f`
|
|
|
2906
2906
|
}
|
|
2907
2907
|
|
|
2908
2908
|
`;
|
|
2909
|
-
|
|
2909
|
+
oe([
|
|
2910
2910
|
a({ type: String, reflect: !0 })
|
|
2911
|
-
],
|
|
2912
|
-
|
|
2911
|
+
], $t.prototype, "type", 2);
|
|
2912
|
+
oe([
|
|
2913
2913
|
a({ type: String, reflect: !0 })
|
|
2914
|
-
],
|
|
2915
|
-
|
|
2914
|
+
], $t.prototype, "bgstyle", 2);
|
|
2915
|
+
$t = oe([
|
|
2916
2916
|
y("o-tag")
|
|
2917
|
-
],
|
|
2918
|
-
var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor,
|
|
2917
|
+
], $t);
|
|
2918
|
+
var ii = Object.defineProperty, ni = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
|
|
2919
2919
|
for (var i = n > 1 ? void 0 : n ? ni(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
2920
2920
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
2921
2921
|
return n && i && ii(t, e, i), i;
|
|
2922
2922
|
};
|
|
2923
|
-
let
|
|
2923
|
+
let kt = class extends u {
|
|
2924
2924
|
constructor() {
|
|
2925
2925
|
super(...arguments), this.type = "top", this.text = "";
|
|
2926
2926
|
}
|
|
@@ -2933,7 +2933,7 @@ let $t = class extends u {
|
|
|
2933
2933
|
`;
|
|
2934
2934
|
}
|
|
2935
2935
|
};
|
|
2936
|
-
|
|
2936
|
+
kt.styles = f`
|
|
2937
2937
|
.tooltip {
|
|
2938
2938
|
position: relative;
|
|
2939
2939
|
display: inline-block;
|
|
@@ -3026,15 +3026,15 @@ $t.styles = f`
|
|
|
3026
3026
|
}
|
|
3027
3027
|
|
|
3028
3028
|
`;
|
|
3029
|
-
|
|
3029
|
+
ie([
|
|
3030
3030
|
a({ type: String, reflect: !0 })
|
|
3031
|
-
],
|
|
3032
|
-
|
|
3031
|
+
], kt.prototype, "type", 2);
|
|
3032
|
+
ie([
|
|
3033
3033
|
a({ type: String, reflect: !0 })
|
|
3034
|
-
],
|
|
3035
|
-
|
|
3034
|
+
], kt.prototype, "text", 2);
|
|
3035
|
+
kt = ie([
|
|
3036
3036
|
y("o-tooltip")
|
|
3037
|
-
],
|
|
3037
|
+
], kt);
|
|
3038
3038
|
var ri = Object.defineProperty, si = Object.getOwnPropertyDescriptor, G = (o, t, e, n) => {
|
|
3039
3039
|
for (var i = n > 1 ? void 0 : n ? si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3040
3040
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -3175,7 +3175,7 @@ T.styles = f`
|
|
|
3175
3175
|
background-color: var(--color-container-bg-default);
|
|
3176
3176
|
cursor: pointer;
|
|
3177
3177
|
border-radius: var(--radius-m);
|
|
3178
|
-
border: var(--border-m) solid var(--color-border-
|
|
3178
|
+
border: var(--border-m) solid var(--color-border-secondary);
|
|
3179
3179
|
display: flex;
|
|
3180
3180
|
justify-content: space-between;
|
|
3181
3181
|
width: 100%;
|
|
@@ -3217,7 +3217,7 @@ T.styles = f`
|
|
|
3217
3217
|
list-style: none;
|
|
3218
3218
|
margin: 4px 0 0 0;
|
|
3219
3219
|
padding: 0;
|
|
3220
|
-
border: var(--border-m) solid var(--color-border-
|
|
3220
|
+
border: var(--border-m) solid var(--color-border-secondary);
|
|
3221
3221
|
position: absolute;
|
|
3222
3222
|
background: white;
|
|
3223
3223
|
height: auto;
|
|
@@ -3234,7 +3234,7 @@ T.styles = f`
|
|
|
3234
3234
|
align-items: center;
|
|
3235
3235
|
padding: var(--spacing-s) var(--spacing-l) var(--spacing-s) var(--spacing-s);
|
|
3236
3236
|
cursor: pointer;
|
|
3237
|
-
border-bottom: var(--border-s) solid var(--color-border-
|
|
3237
|
+
border-bottom: var(--border-s) solid var(--color-border-secondary);
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
3240
|
li a {
|
|
@@ -3334,12 +3334,12 @@ var ai = Object.getOwnPropertyDescriptor, li = (o, t, e, n) => {
|
|
|
3334
3334
|
(s = o[r]) && (i = s(i) || i);
|
|
3335
3335
|
return i;
|
|
3336
3336
|
};
|
|
3337
|
-
let
|
|
3337
|
+
let qt = class extends u {
|
|
3338
3338
|
render() {
|
|
3339
3339
|
return l` <span class="dots"></span> `;
|
|
3340
3340
|
}
|
|
3341
3341
|
};
|
|
3342
|
-
|
|
3342
|
+
qt.styles = f`
|
|
3343
3343
|
:host {
|
|
3344
3344
|
display: flex;
|
|
3345
3345
|
align-items: center;
|
|
@@ -3369,7 +3369,7 @@ Nt.styles = f`
|
|
|
3369
3369
|
|
|
3370
3370
|
:host([aria-current="true"]) .dots {
|
|
3371
3371
|
background-color: var(--color-container-action-primary-default);
|
|
3372
|
-
border: 0.5px solid var(--color-border-
|
|
3372
|
+
border: 0.5px solid var(--color-border-light);
|
|
3373
3373
|
width: 8px;
|
|
3374
3374
|
height: 8px;
|
|
3375
3375
|
}
|
|
@@ -3382,15 +3382,15 @@ Nt.styles = f`
|
|
|
3382
3382
|
background-color: var(--color-container-action-primary-pressed);
|
|
3383
3383
|
}
|
|
3384
3384
|
`;
|
|
3385
|
-
|
|
3385
|
+
qt = li([
|
|
3386
3386
|
y("o-dots")
|
|
3387
|
-
],
|
|
3387
|
+
], qt);
|
|
3388
3388
|
var ci = Object.defineProperty, hi = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
|
|
3389
3389
|
for (var i = n > 1 ? void 0 : n ? hi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3390
3390
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3391
3391
|
return n && i && ci(t, e, i), i;
|
|
3392
3392
|
};
|
|
3393
|
-
let
|
|
3393
|
+
let O = class extends u {
|
|
3394
3394
|
constructor() {
|
|
3395
3395
|
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) => {
|
|
3396
3396
|
this.contains(o.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -3527,7 +3527,7 @@ let z = class extends u {
|
|
|
3527
3527
|
`;
|
|
3528
3528
|
}
|
|
3529
3529
|
};
|
|
3530
|
-
|
|
3530
|
+
O.styles = f`
|
|
3531
3531
|
:host {
|
|
3532
3532
|
display: inline-block;
|
|
3533
3533
|
position: relative;
|
|
@@ -3543,7 +3543,7 @@ z.styles = f`
|
|
|
3543
3543
|
background-color: var(--color-container-bg-default);
|
|
3544
3544
|
cursor: pointer;
|
|
3545
3545
|
border-radius: var(--radius-m);
|
|
3546
|
-
border: var(--border-m) solid var(--color-border-
|
|
3546
|
+
border: var(--border-m) solid var(--color-border-secondary);
|
|
3547
3547
|
padding: 0;
|
|
3548
3548
|
overflow: hidden;
|
|
3549
3549
|
}
|
|
@@ -3598,7 +3598,7 @@ z.styles = f`
|
|
|
3598
3598
|
list-style: none;
|
|
3599
3599
|
margin: 4px 0 0 0;
|
|
3600
3600
|
padding: 0;
|
|
3601
|
-
border: var(--border-m) solid var(--color-border-
|
|
3601
|
+
border: var(--border-m) solid var(--color-border-secondary);
|
|
3602
3602
|
position: absolute;
|
|
3603
3603
|
background: white;
|
|
3604
3604
|
height: auto;
|
|
@@ -3614,7 +3614,7 @@ z.styles = f`
|
|
|
3614
3614
|
justify-content: space-between;
|
|
3615
3615
|
align-items: center;
|
|
3616
3616
|
cursor: pointer;
|
|
3617
|
-
border-bottom: var(--border-s) solid var(--color-border-
|
|
3617
|
+
border-bottom: var(--border-s) solid var(--color-border-secondary);
|
|
3618
3618
|
gap: var(--spacing-l);
|
|
3619
3619
|
padding-right: var(--spacing-l);
|
|
3620
3620
|
}
|
|
@@ -3705,43 +3705,43 @@ z.styles = f`
|
|
|
3705
3705
|
`;
|
|
3706
3706
|
U([
|
|
3707
3707
|
a({ type: Array, reflect: !0 })
|
|
3708
|
-
],
|
|
3708
|
+
], O.prototype, "options", 2);
|
|
3709
3709
|
U([
|
|
3710
3710
|
a({ type: String, reflect: !0 })
|
|
3711
|
-
],
|
|
3711
|
+
], O.prototype, "value", 2);
|
|
3712
3712
|
U([
|
|
3713
3713
|
a({ type: String, reflect: !0 })
|
|
3714
|
-
],
|
|
3714
|
+
], O.prototype, "name", 2);
|
|
3715
3715
|
U([
|
|
3716
3716
|
a({ type: String, reflect: !0 })
|
|
3717
|
-
],
|
|
3717
|
+
], O.prototype, "additionaltext", 2);
|
|
3718
3718
|
U([
|
|
3719
3719
|
a({ type: Boolean, reflect: !0 })
|
|
3720
|
-
],
|
|
3720
|
+
], O.prototype, "disabled", 2);
|
|
3721
3721
|
U([
|
|
3722
3722
|
a({ type: String, reflect: !0 })
|
|
3723
|
-
],
|
|
3723
|
+
], O.prototype, "width", 2);
|
|
3724
3724
|
U([
|
|
3725
3725
|
W()
|
|
3726
|
-
],
|
|
3726
|
+
], O.prototype, "open", 2);
|
|
3727
3727
|
U([
|
|
3728
3728
|
W()
|
|
3729
|
-
],
|
|
3729
|
+
], O.prototype, "activeIndex", 2);
|
|
3730
3730
|
U([
|
|
3731
3731
|
W()
|
|
3732
|
-
],
|
|
3733
|
-
|
|
3732
|
+
], O.prototype, "menuWidth", 2);
|
|
3733
|
+
O = U([
|
|
3734
3734
|
y("o-dropdown-variant")
|
|
3735
|
-
],
|
|
3735
|
+
], O);
|
|
3736
3736
|
/**
|
|
3737
3737
|
* @license
|
|
3738
3738
|
* Copyright 2018 Google LLC
|
|
3739
3739
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3740
3740
|
*/
|
|
3741
|
-
const Ae = "important", di = " !" + Ae, pi =
|
|
3741
|
+
const Ae = "important", di = " !" + Ae, pi = te(class extends ee {
|
|
3742
3742
|
constructor(o) {
|
|
3743
3743
|
var t;
|
|
3744
|
-
if (super(o), o.type !==
|
|
3744
|
+
if (super(o), o.type !== Qt.ATTRIBUTE || o.name !== "style" || ((t = o.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
3745
3745
|
}
|
|
3746
3746
|
render(o) {
|
|
3747
3747
|
return Object.keys(o).reduce((t, e) => {
|
|
@@ -3764,12 +3764,12 @@ const Ae = "important", di = " !" + Ae, pi = Jt(class extends Qt {
|
|
|
3764
3764
|
return tt;
|
|
3765
3765
|
}
|
|
3766
3766
|
});
|
|
3767
|
-
var ui = Object.defineProperty, fi = Object.getOwnPropertyDescriptor,
|
|
3767
|
+
var ui = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, ne = (o, t, e, n) => {
|
|
3768
3768
|
for (var i = n > 1 ? void 0 : n ? fi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3769
3769
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3770
3770
|
return n && i && ui(t, e, i), i;
|
|
3771
3771
|
};
|
|
3772
|
-
let
|
|
3772
|
+
let _t = class extends u {
|
|
3773
3773
|
constructor() {
|
|
3774
3774
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
3775
3775
|
}
|
|
@@ -3790,7 +3790,7 @@ let kt = class extends u {
|
|
|
3790
3790
|
return t ? l`<a href="${P(this.option.url)}" class="reassurance-item clickable">${r}</a>` : l`<div class="reassurance-item">${r}</div>`;
|
|
3791
3791
|
}
|
|
3792
3792
|
};
|
|
3793
|
-
|
|
3793
|
+
_t.styles = f`
|
|
3794
3794
|
:host {
|
|
3795
3795
|
display: inline-block;
|
|
3796
3796
|
position: relative;
|
|
@@ -3872,22 +3872,22 @@ kt.styles = f`
|
|
|
3872
3872
|
overflow: hidden;
|
|
3873
3873
|
}
|
|
3874
3874
|
`;
|
|
3875
|
-
|
|
3875
|
+
ne([
|
|
3876
3876
|
a({ type: Object, reflect: !0 })
|
|
3877
|
-
],
|
|
3878
|
-
|
|
3877
|
+
], _t.prototype, "option", 2);
|
|
3878
|
+
ne([
|
|
3879
3879
|
a({ type: Number, reflect: !0 })
|
|
3880
|
-
],
|
|
3881
|
-
|
|
3880
|
+
], _t.prototype, "imageSize", 2);
|
|
3881
|
+
_t = ne([
|
|
3882
3882
|
y("o-reassurance")
|
|
3883
|
-
],
|
|
3883
|
+
], _t);
|
|
3884
3884
|
var vi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, X = (o, t, e, n) => {
|
|
3885
3885
|
for (var i = n > 1 ? void 0 : n ? gi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
3886
3886
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
3887
3887
|
return n && i && vi(t, e, i), i;
|
|
3888
3888
|
};
|
|
3889
|
-
const bi =
|
|
3890
|
-
let
|
|
3889
|
+
const bi = Jt(u);
|
|
3890
|
+
let z = class extends bi {
|
|
3891
3891
|
constructor() {
|
|
3892
3892
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
3893
3893
|
}
|
|
@@ -3911,7 +3911,7 @@ let O = class extends bi {
|
|
|
3911
3911
|
`;
|
|
3912
3912
|
}
|
|
3913
3913
|
};
|
|
3914
|
-
|
|
3914
|
+
z.styles = f`
|
|
3915
3915
|
:host {
|
|
3916
3916
|
cursor: pointer;
|
|
3917
3917
|
display: inline-flex;
|
|
@@ -4007,42 +4007,42 @@ O.styles = f`
|
|
|
4007
4007
|
`;
|
|
4008
4008
|
X([
|
|
4009
4009
|
a({ type: String, reflect: !0 })
|
|
4010
|
-
],
|
|
4010
|
+
], z.prototype, "link", 2);
|
|
4011
4011
|
X([
|
|
4012
4012
|
a({ reflect: !0 })
|
|
4013
|
-
],
|
|
4013
|
+
], z.prototype, "name", 2);
|
|
4014
4014
|
X([
|
|
4015
4015
|
a({ reflect: !0 })
|
|
4016
|
-
],
|
|
4016
|
+
], z.prototype, "value", 2);
|
|
4017
4017
|
X([
|
|
4018
4018
|
a({ type: String })
|
|
4019
|
-
],
|
|
4019
|
+
], z.prototype, "text", 2);
|
|
4020
4020
|
X([
|
|
4021
4021
|
a({ type: String, reflect: !0 })
|
|
4022
|
-
],
|
|
4022
|
+
], z.prototype, "size", 2);
|
|
4023
4023
|
X([
|
|
4024
4024
|
a({ type: Boolean, reflect: !0 })
|
|
4025
|
-
],
|
|
4025
|
+
], z.prototype, "selected", 2);
|
|
4026
4026
|
X([
|
|
4027
4027
|
a({ type: Boolean, reflect: !0 })
|
|
4028
|
-
],
|
|
4028
|
+
], z.prototype, "fullwidth", 2);
|
|
4029
4029
|
X([
|
|
4030
4030
|
a({ type: Boolean, reflect: !0 })
|
|
4031
|
-
],
|
|
4032
|
-
|
|
4031
|
+
], z.prototype, "inactive", 2);
|
|
4032
|
+
z = X([
|
|
4033
4033
|
y("o-chip")
|
|
4034
|
-
],
|
|
4035
|
-
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor,
|
|
4034
|
+
], z);
|
|
4035
|
+
var yi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, re = (o, t, e, n) => {
|
|
4036
4036
|
for (var i = n > 1 ? void 0 : n ? mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4037
4037
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4038
4038
|
return n && i && yi(t, e, i), i;
|
|
4039
4039
|
};
|
|
4040
|
-
let
|
|
4040
|
+
let Ct = class extends u {
|
|
4041
4041
|
constructor() {
|
|
4042
4042
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
4043
4043
|
}
|
|
4044
4044
|
onChipSelected(o) {
|
|
4045
|
-
const t = o.target instanceof
|
|
4045
|
+
const t = o.target instanceof z ? o.target : null;
|
|
4046
4046
|
t != null && t.link || (this.name = (t == null ? void 0 : t.name) || "", this.value = (t == null ? void 0 : t.value) || "", this.querySelectorAll("o-chip").forEach((e) => {
|
|
4047
4047
|
e !== t && (e.selected = !1);
|
|
4048
4048
|
}));
|
|
@@ -4053,7 +4053,7 @@ let _t = class extends u {
|
|
|
4053
4053
|
`;
|
|
4054
4054
|
}
|
|
4055
4055
|
};
|
|
4056
|
-
|
|
4056
|
+
Ct.styles = f`
|
|
4057
4057
|
:host {
|
|
4058
4058
|
display: flex;
|
|
4059
4059
|
flex-direction: row;
|
|
@@ -4061,21 +4061,21 @@ _t.styles = f`
|
|
|
4061
4061
|
gap: var(--spacing-s);
|
|
4062
4062
|
}
|
|
4063
4063
|
`;
|
|
4064
|
-
|
|
4064
|
+
re([
|
|
4065
4065
|
a({ reflect: !0 })
|
|
4066
|
-
],
|
|
4067
|
-
|
|
4066
|
+
], Ct.prototype, "name", 2);
|
|
4067
|
+
re([
|
|
4068
4068
|
a({ reflect: !0 })
|
|
4069
|
-
],
|
|
4070
|
-
|
|
4069
|
+
], Ct.prototype, "value", 2);
|
|
4070
|
+
Ct = re([
|
|
4071
4071
|
y("o-chipset")
|
|
4072
|
-
],
|
|
4072
|
+
], Ct);
|
|
4073
4073
|
var xi = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, N = (o, t, e, n) => {
|
|
4074
4074
|
for (var i = n > 1 ? void 0 : n ? wi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4075
4075
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4076
4076
|
return n && i && xi(t, e, i), i;
|
|
4077
4077
|
};
|
|
4078
|
-
const $i =
|
|
4078
|
+
const $i = Jt(u);
|
|
4079
4079
|
let I = class extends $i {
|
|
4080
4080
|
constructor() {
|
|
4081
4081
|
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";
|
|
@@ -4157,7 +4157,7 @@ I.styles = f`
|
|
|
4157
4157
|
--button-text: var(--color-content-action-primary);
|
|
4158
4158
|
--button-text-hover: var(--color-content-action-primary);
|
|
4159
4159
|
--button-border: var(--color-container-filter-default);
|
|
4160
|
-
--button-strikethrough-stroke: var(--color-border-
|
|
4160
|
+
--button-strikethrough-stroke: var(--color-border-light);
|
|
4161
4161
|
}
|
|
4162
4162
|
|
|
4163
4163
|
:host([disabled]),
|
|
@@ -4284,7 +4284,7 @@ var ki = Object.defineProperty, M = (o, t, e, n) => {
|
|
|
4284
4284
|
(s = o[r]) && (i = s(t, e, i) || i);
|
|
4285
4285
|
return i && ki(t, e, i), i;
|
|
4286
4286
|
};
|
|
4287
|
-
const
|
|
4287
|
+
const ae = class ae extends u {
|
|
4288
4288
|
constructor() {
|
|
4289
4289
|
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 = "";
|
|
4290
4290
|
}
|
|
@@ -4350,7 +4350,7 @@ const se = class se extends u {
|
|
|
4350
4350
|
`;
|
|
4351
4351
|
}
|
|
4352
4352
|
};
|
|
4353
|
-
|
|
4353
|
+
ae.styles = f`
|
|
4354
4354
|
:host {
|
|
4355
4355
|
display: block;
|
|
4356
4356
|
max-width: 100%;
|
|
@@ -4463,7 +4463,7 @@ se.styles = f`
|
|
|
4463
4463
|
cursor: pointer;
|
|
4464
4464
|
}
|
|
4465
4465
|
`;
|
|
4466
|
-
let E =
|
|
4466
|
+
let E = ae;
|
|
4467
4467
|
M([
|
|
4468
4468
|
a({ type: String })
|
|
4469
4469
|
], E.prototype, "type");
|
|
@@ -4498,24 +4498,24 @@ M([
|
|
|
4498
4498
|
a({ attribute: !1 })
|
|
4499
4499
|
], E.prototype, "onClickIcon");
|
|
4500
4500
|
customElements.define("mini-tile", E);
|
|
4501
|
-
var _i = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor,
|
|
4501
|
+
var _i = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Ht = (o, t, e, n) => {
|
|
4502
4502
|
for (var i = n > 1 ? void 0 : n ? Ci(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4503
4503
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4504
4504
|
return n && i && _i(t, e, i), i;
|
|
4505
4505
|
};
|
|
4506
|
-
let
|
|
4506
|
+
let ut = class extends u {
|
|
4507
4507
|
constructor() {
|
|
4508
|
-
super(...arguments), this.variant = "cart", this.text = "";
|
|
4508
|
+
super(...arguments), this.variant = "cart", this.text = 0, this.srlabel = "";
|
|
4509
4509
|
}
|
|
4510
4510
|
render() {
|
|
4511
4511
|
return l`
|
|
4512
4512
|
<span class="badge">
|
|
4513
|
-
${this.text ? this.text : l`<slot></slot>`}
|
|
4513
|
+
${this.text ? l`${this.text} <span class="sr-only">${this.srlabel}</span>` : l`<slot></slot>`}
|
|
4514
4514
|
</span>
|
|
4515
4515
|
`;
|
|
4516
4516
|
}
|
|
4517
4517
|
};
|
|
4518
|
-
|
|
4518
|
+
ut.styles = f`
|
|
4519
4519
|
:host([variant]) {
|
|
4520
4520
|
--badge-width: 19px;
|
|
4521
4521
|
display: inline-block;
|
|
@@ -4549,16 +4549,22 @@ Ct.styles = f`
|
|
|
4549
4549
|
color: var(--text-color);
|
|
4550
4550
|
}
|
|
4551
4551
|
|
|
4552
|
+
.sr-only {
|
|
4553
|
+
${Xt}
|
|
4554
|
+
}
|
|
4552
4555
|
`;
|
|
4553
|
-
|
|
4556
|
+
Ht([
|
|
4554
4557
|
a({ type: String, reflect: !0 })
|
|
4555
|
-
],
|
|
4556
|
-
|
|
4558
|
+
], ut.prototype, "variant", 2);
|
|
4559
|
+
Ht([
|
|
4560
|
+
a({ type: Number })
|
|
4561
|
+
], ut.prototype, "text", 2);
|
|
4562
|
+
Ht([
|
|
4557
4563
|
a({ type: String })
|
|
4558
|
-
],
|
|
4559
|
-
|
|
4564
|
+
], ut.prototype, "srlabel", 2);
|
|
4565
|
+
ut = Ht([
|
|
4560
4566
|
y("o-badge")
|
|
4561
|
-
],
|
|
4567
|
+
], ut);
|
|
4562
4568
|
var Si = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
|
|
4563
4569
|
for (var i = n > 1 ? void 0 : n ? Ei(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4564
4570
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
@@ -4883,11 +4889,11 @@ L.styles = f`
|
|
|
4883
4889
|
}
|
|
4884
4890
|
|
|
4885
4891
|
.indeterminate path {
|
|
4886
|
-
fill: var(--color-border-
|
|
4892
|
+
fill: var(--color-border-light);
|
|
4887
4893
|
}
|
|
4888
4894
|
|
|
4889
4895
|
svg path {
|
|
4890
|
-
stroke: var(--color-border-
|
|
4896
|
+
stroke: var(--color-border-light);
|
|
4891
4897
|
}
|
|
4892
4898
|
`;
|
|
4893
4899
|
j([
|
|
@@ -4918,19 +4924,19 @@ j([
|
|
|
4918
4924
|
a({ type: String, reflect: !0 })
|
|
4919
4925
|
], L.prototype, "inputId", 2);
|
|
4920
4926
|
j([
|
|
4921
|
-
|
|
4927
|
+
Se("input")
|
|
4922
4928
|
], L.prototype, "inputEl", 2);
|
|
4923
4929
|
L = j([
|
|
4924
4930
|
y("o-checkbox")
|
|
4925
4931
|
], L);
|
|
4926
|
-
var Bi = Object.defineProperty,
|
|
4927
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
4932
|
+
var Bi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, q = (o, t, e, n) => {
|
|
4933
|
+
for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
4928
4934
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
4929
4935
|
return n && i && Bi(t, e, i), i;
|
|
4930
4936
|
};
|
|
4931
|
-
let
|
|
4937
|
+
let zi = 0, D = class extends u {
|
|
4932
4938
|
constructor() {
|
|
4933
|
-
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-${++
|
|
4939
|
+
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}`);
|
|
4934
4940
|
}
|
|
4935
4941
|
handleClick() {
|
|
4936
4942
|
this.disabled || this.checked || (this.checked = !0, this.syncInput(), this.dispatchEvent(new Event("change", { bubbles: !0, composed: !0 })));
|
|
@@ -5077,7 +5083,7 @@ q([
|
|
|
5077
5083
|
a({ type: String, reflect: !0 })
|
|
5078
5084
|
], D.prototype, "inputId", 2);
|
|
5079
5085
|
q([
|
|
5080
|
-
|
|
5086
|
+
Se("input")
|
|
5081
5087
|
], D.prototype, "inputEl", 2);
|
|
5082
5088
|
D = q([
|
|
5083
5089
|
y("o-radio")
|
|
@@ -5087,7 +5093,7 @@ var Ii = Object.getOwnPropertyDescriptor, Di = (o, t, e, n) => {
|
|
|
5087
5093
|
(s = o[r]) && (i = s(i) || i);
|
|
5088
5094
|
return i;
|
|
5089
5095
|
};
|
|
5090
|
-
let
|
|
5096
|
+
let Vt = class extends u {
|
|
5091
5097
|
render() {
|
|
5092
5098
|
return l`
|
|
5093
5099
|
<nav aria-label="Breadcrumbs">
|
|
@@ -5098,7 +5104,7 @@ let qt = class extends u {
|
|
|
5098
5104
|
`;
|
|
5099
5105
|
}
|
|
5100
5106
|
};
|
|
5101
|
-
|
|
5107
|
+
Vt.styles = f`
|
|
5102
5108
|
nav {
|
|
5103
5109
|
max-width: 144rem;
|
|
5104
5110
|
margin: auto;
|
|
@@ -5110,10 +5116,10 @@ qt.styles = f`
|
|
|
5110
5116
|
padding: var(--spacing-4-xs);
|
|
5111
5117
|
}
|
|
5112
5118
|
`;
|
|
5113
|
-
|
|
5119
|
+
Vt = Di([
|
|
5114
5120
|
y("o-breadcrumbs")
|
|
5115
|
-
],
|
|
5116
|
-
var Hi = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor,
|
|
5121
|
+
], Vt);
|
|
5122
|
+
var Hi = Object.defineProperty, Ti = Object.getOwnPropertyDescriptor, se = (o, t, e, n) => {
|
|
5117
5123
|
for (var i = n > 1 ? void 0 : n ? Ti(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5118
5124
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5119
5125
|
return n && i && Hi(t, e, i), i;
|
|
@@ -5181,16 +5187,16 @@ St.styles = f`
|
|
|
5181
5187
|
outline: none !important;
|
|
5182
5188
|
}
|
|
5183
5189
|
`;
|
|
5184
|
-
|
|
5190
|
+
se([
|
|
5185
5191
|
a({ type: String })
|
|
5186
5192
|
], St.prototype, "href", 2);
|
|
5187
|
-
|
|
5193
|
+
se([
|
|
5188
5194
|
a({ type: Boolean, reflect: !0 })
|
|
5189
5195
|
], St.prototype, "active", 2);
|
|
5190
|
-
St =
|
|
5196
|
+
St = se([
|
|
5191
5197
|
y("o-breadcrumb")
|
|
5192
5198
|
], St);
|
|
5193
|
-
var Mi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor,
|
|
5199
|
+
var Mi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, ft = (o, t, e, n) => {
|
|
5194
5200
|
for (var i = n > 1 ? void 0 : n ? ji(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5195
5201
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5196
5202
|
return n && i && Mi(t, e, i), i;
|
|
@@ -5287,22 +5293,22 @@ et.styles = f`
|
|
|
5287
5293
|
opacity: var(--overlay-opacity, 1);
|
|
5288
5294
|
}
|
|
5289
5295
|
`;
|
|
5290
|
-
|
|
5296
|
+
ft([
|
|
5291
5297
|
a({ type: String })
|
|
5292
5298
|
], et.prototype, "imageUrl", 2);
|
|
5293
|
-
|
|
5299
|
+
ft([
|
|
5294
5300
|
a({ type: String })
|
|
5295
5301
|
], et.prototype, "imageAlt", 2);
|
|
5296
|
-
|
|
5302
|
+
ft([
|
|
5297
5303
|
a({ type: String })
|
|
5298
5304
|
], et.prototype, "hoverUrl", 2);
|
|
5299
|
-
|
|
5305
|
+
ft([
|
|
5300
5306
|
a({ type: String })
|
|
5301
5307
|
], et.prototype, "hoverAlt", 2);
|
|
5302
|
-
|
|
5308
|
+
ft([
|
|
5303
5309
|
a({ type: Boolean, reflect: !0 })
|
|
5304
5310
|
], et.prototype, "dimmed", 2);
|
|
5305
|
-
et =
|
|
5311
|
+
et = ft([
|
|
5306
5312
|
y("o-arch-image")
|
|
5307
5313
|
], et);
|
|
5308
5314
|
const Fi = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
@@ -5391,7 +5397,7 @@ var Ri = Object.defineProperty, Ui = Object.getOwnPropertyDescriptor, C = (o, t,
|
|
|
5391
5397
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5392
5398
|
return n && i && Ri(t, e, i), i;
|
|
5393
5399
|
};
|
|
5394
|
-
const
|
|
5400
|
+
const le = class le extends u {
|
|
5395
5401
|
constructor() {
|
|
5396
5402
|
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) => {
|
|
5397
5403
|
var n;
|
|
@@ -5520,7 +5526,7 @@ const ae = class ae extends u {
|
|
|
5520
5526
|
`;
|
|
5521
5527
|
}
|
|
5522
5528
|
};
|
|
5523
|
-
|
|
5529
|
+
le.styles = f`
|
|
5524
5530
|
:host {
|
|
5525
5531
|
position: fixed;
|
|
5526
5532
|
inset: 0;
|
|
@@ -5656,7 +5662,7 @@ ae.styles = f`
|
|
|
5656
5662
|
to { transform: translateY(0) scale(1); opacity: 1; }
|
|
5657
5663
|
}
|
|
5658
5664
|
`;
|
|
5659
|
-
let $ =
|
|
5665
|
+
let $ = le;
|
|
5660
5666
|
C([
|
|
5661
5667
|
a({ type: Boolean, reflect: !0 })
|
|
5662
5668
|
], $.prototype, "ispagedesigner", 2);
|
|
@@ -5706,14 +5712,14 @@ C([
|
|
|
5706
5712
|
W()
|
|
5707
5713
|
], $.prototype, "_headerHidden", 2);
|
|
5708
5714
|
customElements.define("o-popin", $);
|
|
5709
|
-
var Ni = Object.defineProperty, qi = Object.getOwnPropertyDescriptor,
|
|
5715
|
+
var Ni = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, k = (o, t, e, n) => {
|
|
5710
5716
|
for (var i = n > 1 ? void 0 : n ? qi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
|
|
5711
5717
|
(s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
|
|
5712
5718
|
return n && i && Ni(t, e, i), i;
|
|
5713
5719
|
};
|
|
5714
|
-
let
|
|
5720
|
+
let x = class extends u {
|
|
5715
5721
|
constructor() {
|
|
5716
|
-
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 = "";
|
|
5722
|
+
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.outOfStockText = "Out of stock", this.altImage = "", this.fullwidth = !1, this.current = !1, this.hideIcon = !1, this.tagText = "";
|
|
5717
5723
|
}
|
|
5718
5724
|
onClick(o) {
|
|
5719
5725
|
var e, n, i;
|
|
@@ -5753,7 +5759,7 @@ let w = class extends u {
|
|
|
5753
5759
|
<div class="info">
|
|
5754
5760
|
${this.tagText ? l`<o-tag bgstyle="background-emphasis">${this.tagText}</o-tag>` : ""}
|
|
5755
5761
|
${this.outOfStock ? l`<o-tag type="nostock" role="status" aria-live="polite"
|
|
5756
|
-
|
|
5762
|
+
>${this.outOfStockText}</o-tag
|
|
5757
5763
|
>` : ""}
|
|
5758
5764
|
<div class="title-volume">
|
|
5759
5765
|
${this.titleProduct ? l`<div class="title">${this.titleProduct}</div>` : ""}
|
|
@@ -5780,7 +5786,7 @@ let w = class extends u {
|
|
|
5780
5786
|
`;
|
|
5781
5787
|
}
|
|
5782
5788
|
};
|
|
5783
|
-
|
|
5789
|
+
x.styles = f`
|
|
5784
5790
|
:host {
|
|
5785
5791
|
display: block;
|
|
5786
5792
|
max-width: 100%;
|
|
@@ -5949,57 +5955,60 @@ w.styles = f`
|
|
|
5949
5955
|
cursor: pointer;
|
|
5950
5956
|
}
|
|
5951
5957
|
`;
|
|
5952
|
-
|
|
5958
|
+
k([
|
|
5953
5959
|
a({ type: String })
|
|
5954
|
-
],
|
|
5955
|
-
|
|
5960
|
+
], x.prototype, "type", 2);
|
|
5961
|
+
k([
|
|
5956
5962
|
a({ type: String })
|
|
5957
|
-
],
|
|
5958
|
-
|
|
5963
|
+
], x.prototype, "titleProduct", 2);
|
|
5964
|
+
k([
|
|
5959
5965
|
a({ type: String })
|
|
5960
|
-
],
|
|
5961
|
-
|
|
5966
|
+
], x.prototype, "descriptionProduct", 2);
|
|
5967
|
+
k([
|
|
5962
5968
|
a({ type: String })
|
|
5963
|
-
],
|
|
5964
|
-
|
|
5969
|
+
], x.prototype, "volume", 2);
|
|
5970
|
+
k([
|
|
5965
5971
|
a({ type: String })
|
|
5966
|
-
],
|
|
5967
|
-
|
|
5972
|
+
], x.prototype, "perLiter", 2);
|
|
5973
|
+
k([
|
|
5968
5974
|
a({ type: String })
|
|
5969
|
-
],
|
|
5970
|
-
|
|
5975
|
+
], x.prototype, "mainPrice", 2);
|
|
5976
|
+
k([
|
|
5971
5977
|
a({ type: String })
|
|
5972
|
-
],
|
|
5973
|
-
|
|
5978
|
+
], x.prototype, "salesPercentage", 2);
|
|
5979
|
+
k([
|
|
5974
5980
|
a({ type: String })
|
|
5975
|
-
],
|
|
5976
|
-
|
|
5981
|
+
], x.prototype, "oldPrice", 2);
|
|
5982
|
+
k([
|
|
5977
5983
|
a({ type: String })
|
|
5978
|
-
],
|
|
5979
|
-
|
|
5984
|
+
], x.prototype, "imageUrl", 2);
|
|
5985
|
+
k([
|
|
5980
5986
|
a({ type: Boolean })
|
|
5981
|
-
],
|
|
5982
|
-
|
|
5987
|
+
], x.prototype, "outOfStock", 2);
|
|
5988
|
+
k([
|
|
5983
5989
|
a({ type: String })
|
|
5984
|
-
],
|
|
5985
|
-
|
|
5990
|
+
], x.prototype, "outOfStockText", 2);
|
|
5991
|
+
k([
|
|
5992
|
+
a({ type: String })
|
|
5993
|
+
], x.prototype, "altImage", 2);
|
|
5994
|
+
k([
|
|
5986
5995
|
a({ type: Boolean })
|
|
5987
|
-
],
|
|
5988
|
-
|
|
5996
|
+
], x.prototype, "fullwidth", 2);
|
|
5997
|
+
k([
|
|
5989
5998
|
a({ type: Boolean })
|
|
5990
|
-
],
|
|
5991
|
-
|
|
5999
|
+
], x.prototype, "current", 2);
|
|
6000
|
+
k([
|
|
5992
6001
|
a({ type: Boolean })
|
|
5993
|
-
],
|
|
5994
|
-
|
|
6002
|
+
], x.prototype, "hideIcon", 2);
|
|
6003
|
+
k([
|
|
5995
6004
|
a({ type: String })
|
|
5996
|
-
],
|
|
5997
|
-
|
|
6005
|
+
], x.prototype, "tagText", 2);
|
|
6006
|
+
k([
|
|
5998
6007
|
a({ attribute: !1 })
|
|
5999
|
-
],
|
|
6000
|
-
|
|
6008
|
+
], x.prototype, "onClickTile", 2);
|
|
6009
|
+
k([
|
|
6001
6010
|
a({ attribute: !1 })
|
|
6002
|
-
],
|
|
6003
|
-
|
|
6011
|
+
], x.prototype, "onClickIcon", 2);
|
|
6012
|
+
x = k([
|
|
6004
6013
|
y("o-medium-tile")
|
|
6005
|
-
],
|
|
6014
|
+
], x);
|