@florid-kit/components 0.10.45 → 0.10.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +81 -81
- package/index.mjs +298 -302
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -45,7 +45,7 @@ const P2 = (e) => new $2(typeof e == "string" ? e : e + "", void 0, X1), g = (e,
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: z2, defineProperty: I2, getOwnPropertyDescriptor: D2, getOwnPropertyNames: T2, getOwnPropertySymbols: j2, getPrototypeOf: R2 } = Object, t1 = globalThis, u2 = t1.trustedTypes, U2 = u2 ? u2.emptyScript : "", I1 = t1.reactiveElementPolyfillSupport,
|
|
48
|
+
const { is: z2, defineProperty: I2, getOwnPropertyDescriptor: D2, getOwnPropertyNames: T2, getOwnPropertySymbols: j2, getPrototypeOf: R2 } = Object, t1 = globalThis, u2 = t1.trustedTypes, U2 = u2 ? u2.emptyScript : "", I1 = t1.reactiveElementPolyfillSupport, f1 = (e, t) => e, _1 = { toAttribute(e, t) {
|
|
49
49
|
switch (t) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
e = e ? U2 : null;
|
|
@@ -75,7 +75,7 @@ const { is: z2, defineProperty: I2, getOwnPropertyDescriptor: D2, getOwnProperty
|
|
|
75
75
|
return i;
|
|
76
76
|
} }, Y1 = (e, t) => !z2(e, t), v2 = { attribute: !0, type: String, converter: _1, reflect: !1, useDefault: !1, hasChanged: Y1 };
|
|
77
77
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), t1.litPropertyMetadata ?? (t1.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
|
-
let
|
|
78
|
+
let d1 = class extends HTMLElement {
|
|
79
79
|
static addInitializer(t) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
81
81
|
}
|
|
@@ -103,13 +103,13 @@ let p1 = class extends HTMLElement {
|
|
|
103
103
|
return this.elementProperties.get(t) ?? v2;
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
106
|
+
if (this.hasOwnProperty(f1("elementProperties"))) return;
|
|
107
107
|
const t = R2(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(f1("finalized"))) return;
|
|
112
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(f1("properties"))) {
|
|
113
113
|
const i = this.properties, n = [...T2(i), ...j2(i)];
|
|
114
114
|
for (const o of n) this.createProperty(o, i[o]);
|
|
115
115
|
}
|
|
@@ -276,42 +276,42 @@ let p1 = class extends HTMLElement {
|
|
|
276
276
|
firstUpdated(t) {
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
d1.elementStyles = [], d1.shadowRootOptions = { mode: "open" }, d1[f1("elementProperties")] = /* @__PURE__ */ new Map(), d1[f1("finalized")] = /* @__PURE__ */ new Map(), I1 == null || I1({ ReactiveElement: d1 }), (t1.reactiveElementVersions ?? (t1.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"), m2 = /'/g, L2 = /"/g, k2 = /^(?:script|style|textarea|title)$/i, K2 = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), a = K2(1), e1 = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), y2 = /* @__PURE__ */ new WeakMap(),
|
|
285
|
+
const w1 = globalThis, F1 = w1.trustedTypes, f2 = F1 ? F1.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, E2 = "$lit$", Q = `lit$${Math.random().toFixed(9).slice(2)}$`, M2 = "?" + Q, q2 = `<${M2}>`, l1 = document, m1 = () => l1.createComment(""), L1 = (e) => e === null || typeof e != "object" && typeof e != "function", J1 = Array.isArray, N2 = (e) => J1(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", D1 = `[
|
|
286
|
+
\f\r]`, v1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, w2 = /-->/g, b2 = />/g, n1 = RegExp(`>|${D1}(?:([^\\s"'>=/]+)(${D1}*=${D1}*(?:[^
|
|
287
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), m2 = /'/g, L2 = /"/g, k2 = /^(?:script|style|textarea|title)$/i, K2 = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), a = K2(1), e1 = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), y2 = /* @__PURE__ */ new WeakMap(), s1 = l1.createTreeWalker(l1, 129);
|
|
288
288
|
function Z2(e, t) {
|
|
289
289
|
if (!J1(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
290
290
|
return f2 !== void 0 ? f2.createHTML(t) : t;
|
|
291
291
|
}
|
|
292
292
|
const W2 = (e, t) => {
|
|
293
293
|
const i = e.length - 1, n = [];
|
|
294
|
-
let o, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r =
|
|
294
|
+
let o, s = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = v1;
|
|
295
295
|
for (let c = 0; c < i; c++) {
|
|
296
296
|
const h = e[c];
|
|
297
297
|
let u, L, v = -1, q = 0;
|
|
298
|
-
for (; q < h.length && (r.lastIndex = q, L = r.exec(h), L !== null); ) q = r.lastIndex, r ===
|
|
299
|
-
const J = r ===
|
|
300
|
-
s += r ===
|
|
298
|
+
for (; q < h.length && (r.lastIndex = q, L = r.exec(h), L !== null); ) q = r.lastIndex, r === v1 ? L[1] === "!--" ? r = w2 : L[1] !== void 0 ? r = b2 : L[2] !== void 0 ? (k2.test(L[2]) && (o = RegExp("</" + L[2], "g")), r = n1) : L[3] !== void 0 && (r = n1) : r === n1 ? L[0] === ">" ? (r = o ?? v1, v = -1) : L[1] === void 0 ? v = -2 : (v = r.lastIndex - L[2].length, u = L[1], r = L[3] === void 0 ? n1 : L[3] === '"' ? L2 : m2) : r === L2 || r === m2 ? r = n1 : r === w2 || r === b2 ? r = v1 : (r = n1, o = void 0);
|
|
299
|
+
const J = r === n1 && e[c + 1].startsWith("/>") ? " " : "";
|
|
300
|
+
s += r === v1 ? h + q2 : v >= 0 ? (n.push(u), h.slice(0, v) + E2 + h.slice(v) + Q + J) : h + Q + (v === -2 ? c : J);
|
|
301
301
|
}
|
|
302
302
|
return [Z2(e, s + (e[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class y1 {
|
|
305
305
|
constructor({ strings: t, _$litType$: i }, n) {
|
|
306
306
|
let o;
|
|
307
307
|
this.parts = [];
|
|
308
308
|
let s = 0, r = 0;
|
|
309
309
|
const c = t.length - 1, h = this.parts, [u, L] = W2(t, i);
|
|
310
|
-
if (this.el =
|
|
310
|
+
if (this.el = y1.createElement(u, n), s1.currentNode = this.el.content, i === 2 || i === 3) {
|
|
311
311
|
const v = this.el.content.firstChild;
|
|
312
312
|
v.replaceWith(...v.childNodes);
|
|
313
313
|
}
|
|
314
|
-
for (; (o =
|
|
314
|
+
for (; (o = s1.nextNode()) !== null && h.length < c; ) {
|
|
315
315
|
if (o.nodeType === 1) {
|
|
316
316
|
if (o.hasAttributes()) for (const v of o.getAttributeNames()) if (v.endsWith(E2)) {
|
|
317
317
|
const q = L[r++], J = o.getAttribute(v).split(Q), k1 = /([.?@])?(.*)/.exec(q);
|
|
@@ -321,8 +321,8 @@ class x1 {
|
|
|
321
321
|
const v = o.textContent.split(Q), q = v.length - 1;
|
|
322
322
|
if (q > 0) {
|
|
323
323
|
o.textContent = F1 ? F1.emptyScript : "";
|
|
324
|
-
for (let J = 0; J < q; J++) o.append(v[J],
|
|
325
|
-
o.append(v[q],
|
|
324
|
+
for (let J = 0; J < q; J++) o.append(v[J], m1()), s1.nextNode(), h.push({ type: 2, index: ++s });
|
|
325
|
+
o.append(v[q], m1());
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
} else if (o.nodeType === 8) if (o.data === M2) h.push({ type: 2, index: s });
|
|
@@ -334,16 +334,16 @@ class x1 {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
static createElement(t, i) {
|
|
337
|
-
const n =
|
|
337
|
+
const n = l1.createElement("template");
|
|
338
338
|
return n.innerHTML = t, n;
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function p1(e, t, i = e, n) {
|
|
342
342
|
var r, c;
|
|
343
343
|
if (t === e1) return t;
|
|
344
344
|
let o = n !== void 0 ? (r = i._$Co) == null ? void 0 : r[n] : i._$Cl;
|
|
345
|
-
const s =
|
|
346
|
-
return (o == null ? void 0 : o.constructor) !== s && ((c = o == null ? void 0 : o._$AO) == null || c.call(o, !1), s === void 0 ? o = void 0 : (o = new s(e), o._$AT(e, i, n)), n !== void 0 ? (i._$Co ?? (i._$Co = []))[n] = o : i._$Cl = o), o !== void 0 && (t =
|
|
345
|
+
const s = L1(t) ? void 0 : t._$litDirective$;
|
|
346
|
+
return (o == null ? void 0 : o.constructor) !== s && ((c = o == null ? void 0 : o._$AO) == null || c.call(o, !1), s === void 0 ? o = void 0 : (o = new s(e), o._$AT(e, i, n)), n !== void 0 ? (i._$Co ?? (i._$Co = []))[n] = o : i._$Cl = o), o !== void 0 && (t = p1(e, o._$AS(e, t.values), o, n)), t;
|
|
347
347
|
}
|
|
348
348
|
class G2 {
|
|
349
349
|
constructor(t, i) {
|
|
@@ -356,24 +356,24 @@ class G2 {
|
|
|
356
356
|
return this._$AM._$AU;
|
|
357
357
|
}
|
|
358
358
|
u(t) {
|
|
359
|
-
const { el: { content: i }, parts: n } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ??
|
|
360
|
-
|
|
361
|
-
let s =
|
|
359
|
+
const { el: { content: i }, parts: n } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? l1).importNode(i, !0);
|
|
360
|
+
s1.currentNode = o;
|
|
361
|
+
let s = s1.nextNode(), r = 0, c = 0, h = n[0];
|
|
362
362
|
for (; h !== void 0; ) {
|
|
363
363
|
if (r === h.index) {
|
|
364
364
|
let u;
|
|
365
|
-
h.type === 2 ? u = new
|
|
365
|
+
h.type === 2 ? u = new E1(s, s.nextSibling, this, t) : h.type === 1 ? u = new h.ctor(s, h.name, h.strings, this, t) : h.type === 6 && (u = new Q2(s, this, t)), this._$AV.push(u), h = n[++c];
|
|
366
366
|
}
|
|
367
|
-
r !== (h == null ? void 0 : h.index) && (s =
|
|
367
|
+
r !== (h == null ? void 0 : h.index) && (s = s1.nextNode(), r++);
|
|
368
368
|
}
|
|
369
|
-
return
|
|
369
|
+
return s1.currentNode = l1, o;
|
|
370
370
|
}
|
|
371
371
|
p(t) {
|
|
372
372
|
let i = 0;
|
|
373
373
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, i), i += n.strings.length - 2) : n._$AI(t[i])), i++;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
class
|
|
376
|
+
class E1 {
|
|
377
377
|
get _$AU() {
|
|
378
378
|
var t;
|
|
379
379
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -393,7 +393,7 @@ class M1 {
|
|
|
393
393
|
return this._$AB;
|
|
394
394
|
}
|
|
395
395
|
_$AI(t, i = this) {
|
|
396
|
-
t =
|
|
396
|
+
t = p1(this, t, i), L1(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== e1 && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : N2(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 M1 {
|
|
|
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 && L1(this._$AH) ? this._$AA.nextSibling.data = t : this.T(l1.createTextNode(t)), this._$AH = t;
|
|
406
406
|
}
|
|
407
407
|
$(t) {
|
|
408
408
|
var s;
|
|
409
|
-
const { values: i, _$litType$: n } = t, o = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el =
|
|
409
|
+
const { values: i, _$litType$: n } = t, o = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = y1.createElement(Z2(n.h, n.h[0]), this.options)), n);
|
|
410
410
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === o) this._$AH.p(i);
|
|
411
411
|
else {
|
|
412
412
|
const r = new G2(o, this), c = r.u(this.options);
|
|
@@ -415,13 +415,13 @@ class M1 {
|
|
|
415
415
|
}
|
|
416
416
|
_$AC(t) {
|
|
417
417
|
let i = y2.get(t.strings);
|
|
418
|
-
return i === void 0 && y2.set(t.strings, i = new
|
|
418
|
+
return i === void 0 && y2.set(t.strings, i = new y1(t)), i;
|
|
419
419
|
}
|
|
420
420
|
k(t) {
|
|
421
421
|
J1(this._$AH) || (this._$AH = [], this._$AR());
|
|
422
422
|
const i = this._$AH;
|
|
423
423
|
let n, o = 0;
|
|
424
|
-
for (const s of t) o === i.length ? i.push(n = new
|
|
424
|
+
for (const s of t) o === i.length ? i.push(n = new E1(this.O(m1()), this.O(m1()), this, this.options)) : n = i[o], n._$AI(s), o++;
|
|
425
425
|
o < i.length && (this._$AR(n && n._$AB.nextSibling, o), i.length = o);
|
|
426
426
|
}
|
|
427
427
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -449,11 +449,11 @@ class A1 {
|
|
|
449
449
|
_$AI(t, i = this, n, o) {
|
|
450
450
|
const s = this.strings;
|
|
451
451
|
let r = !1;
|
|
452
|
-
if (s === void 0) t =
|
|
452
|
+
if (s === void 0) t = p1(this, t, i, 0), r = !L1(t) || t !== this._$AH && t !== e1, r && (this._$AH = t);
|
|
453
453
|
else {
|
|
454
454
|
const c = t;
|
|
455
455
|
let h, u;
|
|
456
|
-
for (t = s[0], h = 0; h < s.length - 1; h++) u =
|
|
456
|
+
for (t = s[0], h = 0; h < s.length - 1; h++) u = p1(this, c[n + h], i, h), u === e1 && (u = this._$AH[h]), r || (r = !L1(u) || u !== this._$AH[h]), u === d ? t = d : t !== d && (t += (u ?? "") + s[h + 1]), this._$AH[h] = u;
|
|
457
457
|
}
|
|
458
458
|
r && !o && this.j(t);
|
|
459
459
|
}
|
|
@@ -482,7 +482,7 @@ class J2 extends A1 {
|
|
|
482
482
|
super(t, i, n, o, s), this.type = 5;
|
|
483
483
|
}
|
|
484
484
|
_$AI(t, i = this) {
|
|
485
|
-
if ((t =
|
|
485
|
+
if ((t = p1(this, t, i, 0) ?? d) === e1) return;
|
|
486
486
|
const n = this._$AH, o = t === d && n !== d || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, s = t !== d && (n === d || o);
|
|
487
487
|
o && this.element.removeEventListener(this.name, this, n), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
488
488
|
}
|
|
@@ -499,17 +499,17 @@ class Q2 {
|
|
|
499
499
|
return this._$AM._$AU;
|
|
500
500
|
}
|
|
501
501
|
_$AI(t) {
|
|
502
|
-
|
|
502
|
+
p1(this, t);
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
const T1 =
|
|
506
|
-
T1 == null || T1(
|
|
505
|
+
const T1 = w1.litHtmlPolyfillSupport;
|
|
506
|
+
T1 == null || T1(y1, E1), (w1.litHtmlVersions ?? (w1.litHtmlVersions = [])).push("3.3.0");
|
|
507
507
|
const t3 = (e, t, i) => {
|
|
508
508
|
const n = (i == null ? void 0 : i.renderBefore) ?? t;
|
|
509
509
|
let o = n._$litPart$;
|
|
510
510
|
if (o === void 0) {
|
|
511
511
|
const s = (i == null ? void 0 : i.renderBefore) ?? null;
|
|
512
|
-
n._$litPart$ = o = new
|
|
512
|
+
n._$litPart$ = o = new E1(t.insertBefore(m1(), s), s, void 0, i ?? {});
|
|
513
513
|
}
|
|
514
514
|
return o._$AI(e), o;
|
|
515
515
|
};
|
|
@@ -518,8 +518,8 @@ const t3 = (e, t, i) => {
|
|
|
518
518
|
* Copyright 2017 Google LLC
|
|
519
519
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
520
520
|
*/
|
|
521
|
-
const
|
|
522
|
-
let p = class extends
|
|
521
|
+
const r1 = globalThis;
|
|
522
|
+
let p = class extends d1 {
|
|
523
523
|
constructor() {
|
|
524
524
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
525
525
|
}
|
|
@@ -545,10 +545,10 @@ let p = class extends p1 {
|
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
547
|
var B2;
|
|
548
|
-
p._$litElement$ = !0, p.finalized = !0, (B2 =
|
|
549
|
-
const j1 =
|
|
548
|
+
p._$litElement$ = !0, p.finalized = !0, (B2 = r1.litElementHydrateSupport) == null || B2.call(r1, { LitElement: p });
|
|
549
|
+
const j1 = r1.litElementPolyfillSupport;
|
|
550
550
|
j1 == null || j1({ LitElement: p });
|
|
551
|
-
(
|
|
551
|
+
(r1.litElementVersions ?? (r1.litElementVersions = [])).push("4.2.0");
|
|
552
552
|
/**
|
|
553
553
|
* @license
|
|
554
554
|
* Copyright 2017 Google LLC
|
|
@@ -621,7 +621,7 @@ function _2(e, t) {
|
|
|
621
621
|
} });
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
const
|
|
624
|
+
const i1 = g`
|
|
625
625
|
outline: 1px dashed var(--color-border-primary);
|
|
626
626
|
outline-offset: 2px;
|
|
627
627
|
`;
|
|
@@ -1542,7 +1542,7 @@ const s3 = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
|
|
|
1542
1542
|
pixelSize: n,
|
|
1543
1543
|
shouldApplyLogicalSize: o
|
|
1544
1544
|
};
|
|
1545
|
-
},
|
|
1545
|
+
}, M1 = F2, It = {
|
|
1546
1546
|
strikeDiagonal: $3
|
|
1547
1547
|
}, Dt = {
|
|
1548
1548
|
success: M3,
|
|
@@ -1599,7 +1599,7 @@ U1.directiveName = "unsafeHTML", U1.resultType = 1;
|
|
|
1599
1599
|
class q1 extends U1 {
|
|
1600
1600
|
}
|
|
1601
1601
|
q1.directiveName = "unsafeSVG", q1.resultType = 2;
|
|
1602
|
-
const
|
|
1602
|
+
const O = n2(q1);
|
|
1603
1603
|
/**
|
|
1604
1604
|
* @license
|
|
1605
1605
|
* Copyright 2020 Google LLC
|
|
@@ -1611,11 +1611,11 @@ const Tt = (e) => e.strings === void 0;
|
|
|
1611
1611
|
* Copyright 2017 Google LLC
|
|
1612
1612
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1613
1613
|
*/
|
|
1614
|
-
const
|
|
1614
|
+
const b1 = (e, t) => {
|
|
1615
1615
|
var n;
|
|
1616
1616
|
const i = e._$AN;
|
|
1617
1617
|
if (i === void 0) return !1;
|
|
1618
|
-
for (const o of i) (n = o._$AO) == null || n.call(o, t, !1),
|
|
1618
|
+
for (const o of i) (n = o._$AO) == null || n.call(o, t, !1), b1(o, t);
|
|
1619
1619
|
return !0;
|
|
1620
1620
|
}, S1 = (e) => {
|
|
1621
1621
|
let t, i;
|
|
@@ -1636,9 +1636,9 @@ function jt(e) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
function Rt(e, t = !1, i = 0) {
|
|
1638
1638
|
const n = this._$AH, o = this._$AN;
|
|
1639
|
-
if (o !== void 0 && o.size !== 0) if (t) if (Array.isArray(n)) for (let s = i; s < n.length; s++)
|
|
1640
|
-
else n != null && (
|
|
1641
|
-
else
|
|
1639
|
+
if (o !== void 0 && o.size !== 0) if (t) if (Array.isArray(n)) for (let s = i; s < n.length; s++) b1(n[s], !1), S1(n[s]);
|
|
1640
|
+
else n != null && (b1(n, !1), S1(n));
|
|
1641
|
+
else b1(this, e);
|
|
1642
1642
|
}
|
|
1643
1643
|
const Ut = (e) => {
|
|
1644
1644
|
e.type == o2.CHILD && (e._$AP ?? (e._$AP = Rt), e._$AQ ?? (e._$AQ = jt));
|
|
@@ -1652,7 +1652,7 @@ class qt extends s2 {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
_$AO(t, i = !0) {
|
|
1654
1654
|
var n, o;
|
|
1655
|
-
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (o = this.disconnected) == null || o.call(this)), i && (
|
|
1655
|
+
t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (o = this.disconnected) == null || o.call(this)), i && (b1(this, t), S1(this));
|
|
1656
1656
|
}
|
|
1657
1657
|
setValue(t) {
|
|
1658
1658
|
if (Tt(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -1792,13 +1792,13 @@ const V2 = n2(Wt);
|
|
|
1792
1792
|
* Copyright 2018 Google LLC
|
|
1793
1793
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1794
1794
|
*/
|
|
1795
|
-
const
|
|
1795
|
+
const M = (e) => e ?? d;
|
|
1796
1796
|
var Gt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, T = (e, t, i, n) => {
|
|
1797
1797
|
for (var o = n > 1 ? void 0 : n ? Xt(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
1798
1798
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
1799
1799
|
return n && o && Gt(t, i, o), o;
|
|
1800
1800
|
};
|
|
1801
|
-
let
|
|
1801
|
+
let k = class extends p {
|
|
1802
1802
|
constructor() {
|
|
1803
1803
|
super(...arguments), this.bgstyle = "background-light", this.size = "medium", this.status = "empty", this.type = "button", this.strokewidth = "1", this.icon = "", this.disabled = !1, this.showSrLabel = !1, this.srLabel = "";
|
|
1804
1804
|
}
|
|
@@ -1815,24 +1815,24 @@ let Z = class extends p {
|
|
|
1815
1815
|
return a`
|
|
1816
1816
|
${this.type === "span" ? a`
|
|
1817
1817
|
<span class="icon icon-button ${this.size} ${this.bgstyle} ${this.status} ${n}" ?disabled="${this.disabled}">
|
|
1818
|
-
${
|
|
1818
|
+
${O(r)}
|
|
1819
1819
|
</span>
|
|
1820
1820
|
` : a`
|
|
1821
1821
|
<button
|
|
1822
1822
|
type="button"
|
|
1823
|
-
aria-label=${
|
|
1823
|
+
aria-label=${M(h)}
|
|
1824
1824
|
aria-describedby=${this.getAttribute("aria-describedby") || d}
|
|
1825
1825
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${n}"
|
|
1826
1826
|
?disabled="${this.disabled}"
|
|
1827
1827
|
>
|
|
1828
|
-
${
|
|
1828
|
+
${O(r)}
|
|
1829
1829
|
${c}
|
|
1830
1830
|
</button>
|
|
1831
1831
|
`}
|
|
1832
1832
|
`;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
|
|
1835
|
+
k.styles = g`
|
|
1836
1836
|
:host {
|
|
1837
1837
|
display: inline-flex;
|
|
1838
1838
|
justify-content: center;
|
|
@@ -2008,7 +2008,7 @@ Z.styles = g`
|
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
2010
|
.icon-button:focus-visible {
|
|
2011
|
-
${
|
|
2011
|
+
${i1}
|
|
2012
2012
|
}
|
|
2013
2013
|
|
|
2014
2014
|
.sr-only {
|
|
@@ -2017,34 +2017,34 @@ Z.styles = g`
|
|
|
2017
2017
|
`;
|
|
2018
2018
|
T([
|
|
2019
2019
|
l({ type: String, reflect: !0 })
|
|
2020
|
-
],
|
|
2020
|
+
], k.prototype, "bgstyle", 2);
|
|
2021
2021
|
T([
|
|
2022
2022
|
l({ type: String, reflect: !0 })
|
|
2023
|
-
],
|
|
2023
|
+
], k.prototype, "size", 2);
|
|
2024
2024
|
T([
|
|
2025
2025
|
l({ type: String, reflect: !0 })
|
|
2026
|
-
],
|
|
2026
|
+
], k.prototype, "status", 2);
|
|
2027
2027
|
T([
|
|
2028
2028
|
l({ type: String, reflect: !0 })
|
|
2029
|
-
],
|
|
2029
|
+
], k.prototype, "type", 2);
|
|
2030
2030
|
T([
|
|
2031
2031
|
l({ type: String })
|
|
2032
|
-
],
|
|
2032
|
+
], k.prototype, "strokewidth", 2);
|
|
2033
2033
|
T([
|
|
2034
2034
|
l({ type: String })
|
|
2035
|
-
],
|
|
2035
|
+
], k.prototype, "icon", 2);
|
|
2036
2036
|
T([
|
|
2037
2037
|
l({ type: Boolean, reflect: !0 })
|
|
2038
|
-
],
|
|
2038
|
+
], k.prototype, "disabled", 2);
|
|
2039
2039
|
T([
|
|
2040
2040
|
l({ type: Boolean })
|
|
2041
|
-
],
|
|
2041
|
+
], k.prototype, "showSrLabel", 2);
|
|
2042
2042
|
T([
|
|
2043
2043
|
l({ type: String })
|
|
2044
|
-
],
|
|
2045
|
-
|
|
2044
|
+
], k.prototype, "srLabel", 2);
|
|
2045
|
+
k = T([
|
|
2046
2046
|
f("o-icon-button")
|
|
2047
|
-
],
|
|
2047
|
+
], k);
|
|
2048
2048
|
var Yt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, w = (e, t, i, n) => {
|
|
2049
2049
|
for (var o = n > 1 ? void 0 : n ? Jt(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
2050
2050
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
@@ -2271,7 +2271,7 @@ let C = class extends p {
|
|
|
2271
2271
|
${this.addToBagProductCount ? a`<span class="a-quantity">${this.addToBagProductCount}</span>` : null}
|
|
2272
2272
|
</div>
|
|
2273
2273
|
<o-icon-button
|
|
2274
|
-
icon="
|
|
2274
|
+
icon="occ-close-outlined"
|
|
2275
2275
|
size="small"
|
|
2276
2276
|
class="close-btn"
|
|
2277
2277
|
bgstyle="background-light"
|
|
@@ -2482,7 +2482,7 @@ C.styles = g`
|
|
|
2482
2482
|
|
|
2483
2483
|
.panel:focus-visible,
|
|
2484
2484
|
.close-btn:focus-visible {
|
|
2485
|
-
${
|
|
2485
|
+
${i1}
|
|
2486
2486
|
}
|
|
2487
2487
|
|
|
2488
2488
|
[role="document"] {
|
|
@@ -2689,11 +2689,11 @@ let b = class extends e5 {
|
|
|
2689
2689
|
renderIcon(e) {
|
|
2690
2690
|
const t = e === "start" ? this.startIconModel : this.endIconModel;
|
|
2691
2691
|
if (!t) return d;
|
|
2692
|
-
const i =
|
|
2692
|
+
const i = M1[t].replace(
|
|
2693
2693
|
"<svg",
|
|
2694
2694
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
2695
2695
|
);
|
|
2696
|
-
return a`<span class="${e === "start" ? "icon-start" : "icon-end"}">${
|
|
2696
|
+
return a`<span class="${e === "start" ? "icon-start" : "icon-end"}">${O(i)}</span>`;
|
|
2697
2697
|
}
|
|
2698
2698
|
renderButton() {
|
|
2699
2699
|
const e = this.text || this.textsecond;
|
|
@@ -2851,7 +2851,7 @@ b.styles = g`
|
|
|
2851
2851
|
}
|
|
2852
2852
|
|
|
2853
2853
|
.button:focus-visible {
|
|
2854
|
-
${
|
|
2854
|
+
${i1};
|
|
2855
2855
|
}
|
|
2856
2856
|
|
|
2857
2857
|
span.text + span.text::before {
|
|
@@ -3001,7 +3001,7 @@ var i5 = Object.defineProperty, o5 = Object.getOwnPropertyDescriptor, P1 = (e, t
|
|
|
3001
3001
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3002
3002
|
return n && o && i5(t, i, o), o;
|
|
3003
3003
|
};
|
|
3004
|
-
let
|
|
3004
|
+
let C1 = class extends p {
|
|
3005
3005
|
constructor() {
|
|
3006
3006
|
super(...arguments), this.status = "empty", this.ariaDescribedBy = "a-product-name", this.label = "Add to wishlist", this.toggleStatus = () => {
|
|
3007
3007
|
this.status = this.status === "empty" ? "filled" : "empty", this.setAttribute("aria-pressed", String(this.status === "filled")), this.dispatchEvent(new CustomEvent("wishlist-toggle", {
|
|
@@ -3021,14 +3021,14 @@ let g1 = class extends p {
|
|
|
3021
3021
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), this.toggleStatus());
|
|
3022
3022
|
}
|
|
3023
3023
|
render() {
|
|
3024
|
-
const e =
|
|
3024
|
+
const e = M1.wishlist.replace(
|
|
3025
3025
|
"<svg",
|
|
3026
3026
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3027
3027
|
);
|
|
3028
3028
|
return a`
|
|
3029
3029
|
<button type="button" aria-describedby="${this.ariaDescribedBy}" class="wishlist-button">
|
|
3030
3030
|
<span class="sr-only">${this.label}</span>
|
|
3031
|
-
${
|
|
3031
|
+
${O(e)}
|
|
3032
3032
|
</button>
|
|
3033
3033
|
`;
|
|
3034
3034
|
}
|
|
@@ -3042,7 +3042,7 @@ let g1 = class extends p {
|
|
|
3042
3042
|
this.label = e, this.requestUpdate();
|
|
3043
3043
|
}
|
|
3044
3044
|
};
|
|
3045
|
-
|
|
3045
|
+
C1.styles = g`
|
|
3046
3046
|
:host {
|
|
3047
3047
|
display: inline-flex;
|
|
3048
3048
|
justify-content: center;
|
|
@@ -3072,7 +3072,7 @@ g1.styles = g`
|
|
|
3072
3072
|
}
|
|
3073
3073
|
|
|
3074
3074
|
.wishlist-button:focus-visible {
|
|
3075
|
-
${
|
|
3075
|
+
${i1};
|
|
3076
3076
|
}
|
|
3077
3077
|
|
|
3078
3078
|
.wishlist-button:hover svg path {
|
|
@@ -3099,17 +3099,17 @@ g1.styles = g`
|
|
|
3099
3099
|
`;
|
|
3100
3100
|
P1([
|
|
3101
3101
|
l({ type: String, reflect: !0 })
|
|
3102
|
-
],
|
|
3102
|
+
], C1.prototype, "status", 2);
|
|
3103
3103
|
P1([
|
|
3104
3104
|
l({ type: String, reflect: !0 })
|
|
3105
|
-
],
|
|
3105
|
+
], C1.prototype, "ariaDescribedBy", 2);
|
|
3106
3106
|
P1([
|
|
3107
3107
|
l({ type: String, reflect: !0 })
|
|
3108
|
-
],
|
|
3109
|
-
|
|
3108
|
+
], C1.prototype, "label", 2);
|
|
3109
|
+
C1 = P1([
|
|
3110
3110
|
f("o-wishlist-button")
|
|
3111
|
-
],
|
|
3112
|
-
var n5 = Object.defineProperty, s5 = Object.getOwnPropertyDescriptor,
|
|
3111
|
+
], C1);
|
|
3112
|
+
var n5 = Object.defineProperty, s5 = Object.getOwnPropertyDescriptor, a1 = (e, t, i, n) => {
|
|
3113
3113
|
for (var o = n > 1 ? void 0 : n ? s5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3114
3114
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3115
3115
|
return n && o && n5(t, i, o), o;
|
|
@@ -3147,7 +3147,7 @@ let N = class extends p {
|
|
|
3147
3147
|
<a
|
|
3148
3148
|
class="link-wrapper"
|
|
3149
3149
|
href="${this.href}"
|
|
3150
|
-
target="${
|
|
3150
|
+
target="${M(this.target || void 0)}"
|
|
3151
3151
|
@click="${this._handleClick}"
|
|
3152
3152
|
>
|
|
3153
3153
|
${t}
|
|
@@ -3242,25 +3242,25 @@ N.styles = g`
|
|
|
3242
3242
|
}
|
|
3243
3243
|
}
|
|
3244
3244
|
`;
|
|
3245
|
-
|
|
3245
|
+
a1([
|
|
3246
3246
|
l({ type: String })
|
|
3247
3247
|
], N.prototype, "href", 2);
|
|
3248
|
-
|
|
3248
|
+
a1([
|
|
3249
3249
|
l({ type: String })
|
|
3250
3250
|
], N.prototype, "target", 2);
|
|
3251
|
-
|
|
3251
|
+
a1([
|
|
3252
3252
|
l({ type: String, reflect: !0 })
|
|
3253
3253
|
], N.prototype, "template", 2);
|
|
3254
|
-
|
|
3254
|
+
a1([
|
|
3255
3255
|
l({ type: Boolean, reflect: !0 })
|
|
3256
3256
|
], N.prototype, "inverse", 2);
|
|
3257
|
-
|
|
3257
|
+
a1([
|
|
3258
3258
|
l({ type: Boolean, reflect: !0 })
|
|
3259
3259
|
], N.prototype, "endIcon", 2);
|
|
3260
|
-
|
|
3260
|
+
a1([
|
|
3261
3261
|
l({ type: Boolean, reflect: !0 })
|
|
3262
3262
|
], N.prototype, "reverseEndIcon", 2);
|
|
3263
|
-
N =
|
|
3263
|
+
N = a1([
|
|
3264
3264
|
f("o-link")
|
|
3265
3265
|
], N);
|
|
3266
3266
|
var r5 = Object.defineProperty, l5 = Object.getOwnPropertyDescriptor, O1 = (e, t, i, n) => {
|
|
@@ -3268,7 +3268,7 @@ var r5 = Object.defineProperty, l5 = Object.getOwnPropertyDescriptor, O1 = (e, t
|
|
|
3268
3268
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3269
3269
|
return n && o && r5(t, i, o), o;
|
|
3270
3270
|
};
|
|
3271
|
-
let
|
|
3271
|
+
let g1 = class extends p {
|
|
3272
3272
|
constructor() {
|
|
3273
3273
|
super(...arguments), this.rating = 0;
|
|
3274
3274
|
}
|
|
@@ -3287,7 +3287,7 @@ let u1 = class extends p {
|
|
|
3287
3287
|
<div class="rating">
|
|
3288
3288
|
<div class="stars">
|
|
3289
3289
|
${e.map(
|
|
3290
|
-
(t) => a`<span class="star">${
|
|
3290
|
+
(t) => a`<span class="star">${O(M1[t] ?? "")}</span>`
|
|
3291
3291
|
)}
|
|
3292
3292
|
</div>
|
|
3293
3293
|
${this.reviewCount != null && this.href != null ? a`<o-link template="review" href="${this.href}">${this.reviewCount}</o-link>` : null}
|
|
@@ -3295,7 +3295,7 @@ let u1 = class extends p {
|
|
|
3295
3295
|
`;
|
|
3296
3296
|
}
|
|
3297
3297
|
};
|
|
3298
|
-
|
|
3298
|
+
g1.styles = g`
|
|
3299
3299
|
svg {
|
|
3300
3300
|
width: 12px;
|
|
3301
3301
|
height: 12px;
|
|
@@ -3331,17 +3331,17 @@ u1.styles = g`
|
|
|
3331
3331
|
`;
|
|
3332
3332
|
O1([
|
|
3333
3333
|
l({ type: Number })
|
|
3334
|
-
],
|
|
3334
|
+
], g1.prototype, "rating", 2);
|
|
3335
3335
|
O1([
|
|
3336
3336
|
l({ type: String })
|
|
3337
|
-
],
|
|
3337
|
+
], g1.prototype, "reviewCount", 2);
|
|
3338
3338
|
O1([
|
|
3339
3339
|
l({ type: String })
|
|
3340
|
-
],
|
|
3341
|
-
|
|
3340
|
+
], g1.prototype, "href", 2);
|
|
3341
|
+
g1 = O1([
|
|
3342
3342
|
f("o-rating")
|
|
3343
|
-
],
|
|
3344
|
-
var a5 = Object.defineProperty, c5 = Object.getOwnPropertyDescriptor,
|
|
3343
|
+
], g1);
|
|
3344
|
+
var a5 = Object.defineProperty, c5 = Object.getOwnPropertyDescriptor, o1 = (e, t, i, n) => {
|
|
3345
3345
|
for (var o = n > 1 ? void 0 : n ? c5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3346
3346
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3347
3347
|
return n && o && a5(t, i, o), o;
|
|
@@ -3542,28 +3542,28 @@ D.styles = g`
|
|
|
3542
3542
|
width: 0;
|
|
3543
3543
|
}
|
|
3544
3544
|
`;
|
|
3545
|
-
|
|
3545
|
+
o1([
|
|
3546
3546
|
l({ type: Array })
|
|
3547
3547
|
], D.prototype, "thumbnails", 2);
|
|
3548
|
-
|
|
3548
|
+
o1([
|
|
3549
3549
|
l({ type: Number })
|
|
3550
3550
|
], D.prototype, "activeIndex", 2);
|
|
3551
|
-
|
|
3551
|
+
o1([
|
|
3552
3552
|
l({ type: Array })
|
|
3553
3553
|
], D.prototype, "disabledIndexes", 2);
|
|
3554
|
-
|
|
3554
|
+
o1([
|
|
3555
3555
|
l({ type: String })
|
|
3556
3556
|
], D.prototype, "maxWidth", 2);
|
|
3557
|
-
|
|
3557
|
+
o1([
|
|
3558
3558
|
l({ type: String })
|
|
3559
3559
|
], D.prototype, "altressource", 2);
|
|
3560
|
-
|
|
3560
|
+
o1([
|
|
3561
3561
|
l({ type: Object })
|
|
3562
3562
|
], D.prototype, "swiperInstance", 2);
|
|
3563
|
-
|
|
3563
|
+
o1([
|
|
3564
3564
|
G()
|
|
3565
3565
|
], D.prototype, "focusedIndex", 2);
|
|
3566
|
-
D =
|
|
3566
|
+
D = o1([
|
|
3567
3567
|
f("thumbnail-navigation")
|
|
3568
3568
|
], D);
|
|
3569
3569
|
var h5 = Object.defineProperty, d5 = Object.getOwnPropertyDescriptor, r2 = (e, t, i, n) => {
|
|
@@ -3571,7 +3571,7 @@ var h5 = Object.defineProperty, d5 = Object.getOwnPropertyDescriptor, r2 = (e, t
|
|
|
3571
3571
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3572
3572
|
return n && o && h5(t, i, o), o;
|
|
3573
3573
|
};
|
|
3574
|
-
let
|
|
3574
|
+
let x1 = class extends p {
|
|
3575
3575
|
constructor() {
|
|
3576
3576
|
super(...arguments), this.type = "", this.bgstyle = "background-white";
|
|
3577
3577
|
}
|
|
@@ -3581,7 +3581,7 @@ let H1 = class extends p {
|
|
|
3581
3581
|
`;
|
|
3582
3582
|
}
|
|
3583
3583
|
};
|
|
3584
|
-
|
|
3584
|
+
x1.styles = g`
|
|
3585
3585
|
.tag {
|
|
3586
3586
|
display: inline-block;
|
|
3587
3587
|
padding: var(--spacing-2-xs) var(--spacing-s);
|
|
@@ -3640,19 +3640,19 @@ H1.styles = g`
|
|
|
3640
3640
|
`;
|
|
3641
3641
|
r2([
|
|
3642
3642
|
l({ type: String, reflect: !0 })
|
|
3643
|
-
],
|
|
3643
|
+
], x1.prototype, "type", 2);
|
|
3644
3644
|
r2([
|
|
3645
3645
|
l({ type: String, reflect: !0 })
|
|
3646
|
-
],
|
|
3647
|
-
|
|
3646
|
+
], x1.prototype, "bgstyle", 2);
|
|
3647
|
+
x1 = r2([
|
|
3648
3648
|
f("o-tag")
|
|
3649
|
-
],
|
|
3649
|
+
], x1);
|
|
3650
3650
|
var p5 = Object.defineProperty, C5 = Object.getOwnPropertyDescriptor, l2 = (e, t, i, n) => {
|
|
3651
3651
|
for (var o = n > 1 ? void 0 : n ? C5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3652
3652
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
3653
3653
|
return n && o && p5(t, i, o), o;
|
|
3654
3654
|
};
|
|
3655
|
-
let
|
|
3655
|
+
let H1 = class extends p {
|
|
3656
3656
|
constructor() {
|
|
3657
3657
|
super(...arguments), this.type = "top", this.text = "";
|
|
3658
3658
|
}
|
|
@@ -3665,7 +3665,7 @@ let V1 = class extends p {
|
|
|
3665
3665
|
`;
|
|
3666
3666
|
}
|
|
3667
3667
|
};
|
|
3668
|
-
|
|
3668
|
+
H1.styles = g`
|
|
3669
3669
|
.tooltip {
|
|
3670
3670
|
position: relative;
|
|
3671
3671
|
display: inline-block;
|
|
@@ -3760,13 +3760,13 @@ V1.styles = g`
|
|
|
3760
3760
|
`;
|
|
3761
3761
|
l2([
|
|
3762
3762
|
l({ type: String, reflect: !0 })
|
|
3763
|
-
],
|
|
3763
|
+
], H1.prototype, "type", 2);
|
|
3764
3764
|
l2([
|
|
3765
3765
|
l({ type: String, reflect: !0 })
|
|
3766
|
-
],
|
|
3767
|
-
|
|
3766
|
+
], H1.prototype, "text", 2);
|
|
3767
|
+
H1 = l2([
|
|
3768
3768
|
f("o-tooltip")
|
|
3769
|
-
],
|
|
3769
|
+
], H1);
|
|
3770
3770
|
var g5 = Object.defineProperty, u5 = Object.getOwnPropertyDescriptor, X = (e, t, i, n) => {
|
|
3771
3771
|
for (var o = n > 1 ? void 0 : n ? u5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
3772
3772
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
@@ -3838,7 +3838,7 @@ let z = class extends p {
|
|
|
3838
3838
|
this.options.length > 0 && (this.options.some((i) => i.value === this.value) || (this.value = this.options[0].value));
|
|
3839
3839
|
}
|
|
3840
3840
|
render() {
|
|
3841
|
-
const e =
|
|
3841
|
+
const e = M1["occ-check-outlined"].replace(
|
|
3842
3842
|
"<svg",
|
|
3843
3843
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
3844
3844
|
), t = this.options.find((i) => i.value === this.value);
|
|
@@ -3883,10 +3883,10 @@ let z = class extends p {
|
|
|
3883
3883
|
${i.url ? a`
|
|
3884
3884
|
<a href="${i.url}">
|
|
3885
3885
|
<span>${i.label}</span>
|
|
3886
|
-
${i.value === this.value ? a`<span class="check">${
|
|
3886
|
+
${i.value === this.value ? a`<span class="check">${O(e)}</span>` : null}
|
|
3887
3887
|
</a>` : a`
|
|
3888
3888
|
<span>${i.label}</span>
|
|
3889
|
-
${i.value === this.value ? a`<span class="check">${
|
|
3889
|
+
${i.value === this.value ? a`<span class="check">${O(e)}</span>` : null}`}
|
|
3890
3890
|
</li>`
|
|
3891
3891
|
)}
|
|
3892
3892
|
</ul>` : null}
|
|
@@ -4122,7 +4122,7 @@ var w5 = Object.defineProperty, b5 = Object.getOwnPropertyDescriptor, j = (e, t,
|
|
|
4122
4122
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4123
4123
|
return n && o && w5(t, i, o), o;
|
|
4124
4124
|
};
|
|
4125
|
-
let
|
|
4125
|
+
let Z = class extends p {
|
|
4126
4126
|
constructor() {
|
|
4127
4127
|
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 = (e) => {
|
|
4128
4128
|
this.contains(e.target) || (this.open = !1, this.activeIndex = -1);
|
|
@@ -4188,7 +4188,7 @@ let _ = class extends p {
|
|
|
4188
4188
|
this.options.length > 0 && (this.options.some((t) => t.value === this.value) || (this.value = this.options[0].value));
|
|
4189
4189
|
}
|
|
4190
4190
|
render() {
|
|
4191
|
-
const e =
|
|
4191
|
+
const e = M1["occ-check-outlined"].replace(
|
|
4192
4192
|
"<svg",
|
|
4193
4193
|
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4194
4194
|
), t = this.options.find((i) => i.value === this.value);
|
|
@@ -4206,7 +4206,7 @@ let _ = class extends p {
|
|
|
4206
4206
|
?disabled=${this.disabled}
|
|
4207
4207
|
class="btn-dropdown"
|
|
4208
4208
|
>
|
|
4209
|
-
<img alt="${
|
|
4209
|
+
<img alt="${M(t == null ? void 0 : t.label)}" src="${M(t == null ? void 0 : t.imgurl)}" />
|
|
4210
4210
|
<span id="dropdown-label" class="label">
|
|
4211
4211
|
${t ? t.label : "Select an option"}
|
|
4212
4212
|
</span>
|
|
@@ -4241,13 +4241,13 @@ let _ = class extends p {
|
|
|
4241
4241
|
class="${n === this.activeIndex ? "active" : ""} ${i.disabled ? "disabled" : ""}"
|
|
4242
4242
|
@click=${() => this.selectOption(i)}
|
|
4243
4243
|
>
|
|
4244
|
-
<a href="${
|
|
4245
|
-
<img alt="${
|
|
4244
|
+
<a href="${M(i.url)}">
|
|
4245
|
+
<img alt="${M(i.label)}" src="${M(i.imgurl)}" />
|
|
4246
4246
|
<span class="label">${i.label}</span>
|
|
4247
4247
|
<div class="right">
|
|
4248
|
-
<span class="additional-text">${
|
|
4248
|
+
<span class="additional-text">${M(i.additionaltext)}</span>
|
|
4249
4249
|
${i.value === this.value && !i.additionaltext ? a`
|
|
4250
|
-
<span class="check">${
|
|
4250
|
+
<span class="check">${O(e)}</span>` : null}
|
|
4251
4251
|
</div>
|
|
4252
4252
|
</a>
|
|
4253
4253
|
</li>
|
|
@@ -4259,7 +4259,7 @@ let _ = class extends p {
|
|
|
4259
4259
|
`;
|
|
4260
4260
|
}
|
|
4261
4261
|
};
|
|
4262
|
-
|
|
4262
|
+
Z.styles = g`
|
|
4263
4263
|
:host {
|
|
4264
4264
|
display: inline-block;
|
|
4265
4265
|
position: relative;
|
|
@@ -4438,34 +4438,34 @@ _.styles = g`
|
|
|
4438
4438
|
`;
|
|
4439
4439
|
j([
|
|
4440
4440
|
l({ type: Array, reflect: !0 })
|
|
4441
|
-
],
|
|
4441
|
+
], Z.prototype, "options", 2);
|
|
4442
4442
|
j([
|
|
4443
4443
|
l({ type: String, reflect: !0 })
|
|
4444
|
-
],
|
|
4444
|
+
], Z.prototype, "value", 2);
|
|
4445
4445
|
j([
|
|
4446
4446
|
l({ type: String, reflect: !0 })
|
|
4447
|
-
],
|
|
4447
|
+
], Z.prototype, "name", 2);
|
|
4448
4448
|
j([
|
|
4449
4449
|
l({ type: String, reflect: !0 })
|
|
4450
|
-
],
|
|
4450
|
+
], Z.prototype, "additionaltext", 2);
|
|
4451
4451
|
j([
|
|
4452
4452
|
l({ type: Boolean, reflect: !0 })
|
|
4453
|
-
],
|
|
4453
|
+
], Z.prototype, "disabled", 2);
|
|
4454
4454
|
j([
|
|
4455
4455
|
l({ type: String, reflect: !0 })
|
|
4456
|
-
],
|
|
4456
|
+
], Z.prototype, "width", 2);
|
|
4457
4457
|
j([
|
|
4458
4458
|
G()
|
|
4459
|
-
],
|
|
4459
|
+
], Z.prototype, "open", 2);
|
|
4460
4460
|
j([
|
|
4461
4461
|
G()
|
|
4462
|
-
],
|
|
4462
|
+
], Z.prototype, "activeIndex", 2);
|
|
4463
4463
|
j([
|
|
4464
4464
|
G()
|
|
4465
|
-
],
|
|
4466
|
-
|
|
4465
|
+
], Z.prototype, "menuWidth", 2);
|
|
4466
|
+
Z = j([
|
|
4467
4467
|
f("o-dropdown-variant")
|
|
4468
|
-
],
|
|
4468
|
+
], Z);
|
|
4469
4469
|
/**
|
|
4470
4470
|
* @license
|
|
4471
4471
|
* Copyright 2018 Google LLC
|
|
@@ -4502,7 +4502,7 @@ var y5 = Object.defineProperty, x5 = Object.getOwnPropertyDescriptor, a2 = (e, t
|
|
|
4502
4502
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4503
4503
|
return n && o && y5(t, i, o), o;
|
|
4504
4504
|
};
|
|
4505
|
-
let
|
|
4505
|
+
let V1 = class extends p {
|
|
4506
4506
|
constructor() {
|
|
4507
4507
|
super(...arguments), this.option = {}, this.imageSize = 64;
|
|
4508
4508
|
}
|
|
@@ -4514,16 +4514,16 @@ let B1 = class extends p {
|
|
|
4514
4514
|
width: `${this.imageSize}px`,
|
|
4515
4515
|
height: `${this.imageSize}px`
|
|
4516
4516
|
}, n = this.option && this.option.title ? e(this.option.title) : "", o = this.option && this.option.description ? e(this.option.description) : "", s = a`
|
|
4517
|
-
${this.option.imgurl ? a`<img src="${this.option.imgurl}" alt="${
|
|
4517
|
+
${this.option.imgurl ? a`<img src="${this.option.imgurl}" alt="${M(n)}" aria-hidden="true" style=${L5(i)} />` : ""}
|
|
4518
4518
|
<div class="m-reassurance-content">
|
|
4519
|
-
<h3 class="a-reassurance-text">${
|
|
4520
|
-
<p class="a-reassurance-description">${
|
|
4519
|
+
<h3 class="a-reassurance-text">${M(n)}</h3>
|
|
4520
|
+
<p class="a-reassurance-description">${M(o)}</p>
|
|
4521
4521
|
</div>
|
|
4522
4522
|
`;
|
|
4523
|
-
return t ? a`<a href="${
|
|
4523
|
+
return t ? a`<a href="${M(this.option.url)}" class="reassurance-item clickable">${s}</a>` : a`<div class="reassurance-item">${s}</div>`;
|
|
4524
4524
|
}
|
|
4525
4525
|
};
|
|
4526
|
-
|
|
4526
|
+
V1.styles = g`
|
|
4527
4527
|
:host {
|
|
4528
4528
|
display: inline-block;
|
|
4529
4529
|
position: relative;
|
|
@@ -4607,20 +4607,20 @@ B1.styles = g`
|
|
|
4607
4607
|
`;
|
|
4608
4608
|
a2([
|
|
4609
4609
|
l({ type: Object, reflect: !0 })
|
|
4610
|
-
],
|
|
4610
|
+
], V1.prototype, "option", 2);
|
|
4611
4611
|
a2([
|
|
4612
4612
|
l({ type: Number, reflect: !0 })
|
|
4613
|
-
],
|
|
4614
|
-
|
|
4613
|
+
], V1.prototype, "imageSize", 2);
|
|
4614
|
+
V1 = a2([
|
|
4615
4615
|
f("o-reassurance")
|
|
4616
|
-
],
|
|
4616
|
+
], V1);
|
|
4617
4617
|
var H5 = Object.defineProperty, V5 = Object.getOwnPropertyDescriptor, Y = (e, t, i, n) => {
|
|
4618
4618
|
for (var o = n > 1 ? void 0 : n ? V5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
4619
4619
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4620
4620
|
return n && o && H5(t, i, o), o;
|
|
4621
4621
|
};
|
|
4622
4622
|
const B5 = e2(p);
|
|
4623
|
-
let
|
|
4623
|
+
let _ = class extends B5 {
|
|
4624
4624
|
constructor() {
|
|
4625
4625
|
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
4626
4626
|
}
|
|
@@ -4644,7 +4644,7 @@ let F = class extends B5 {
|
|
|
4644
4644
|
`;
|
|
4645
4645
|
}
|
|
4646
4646
|
};
|
|
4647
|
-
|
|
4647
|
+
_.styles = g`
|
|
4648
4648
|
:host {
|
|
4649
4649
|
cursor: pointer;
|
|
4650
4650
|
display: inline-flex;
|
|
@@ -4725,7 +4725,7 @@ F.styles = g`
|
|
|
4725
4725
|
|
|
4726
4726
|
.o-chip:focus-visible,
|
|
4727
4727
|
.button:focus-visible {
|
|
4728
|
-
${
|
|
4728
|
+
${i1};
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
4731
|
span.text + span.text::before {
|
|
@@ -4740,42 +4740,42 @@ F.styles = g`
|
|
|
4740
4740
|
`;
|
|
4741
4741
|
Y([
|
|
4742
4742
|
l({ type: String, reflect: !0 })
|
|
4743
|
-
],
|
|
4743
|
+
], _.prototype, "link", 2);
|
|
4744
4744
|
Y([
|
|
4745
4745
|
l({ reflect: !0 })
|
|
4746
|
-
],
|
|
4746
|
+
], _.prototype, "name", 2);
|
|
4747
4747
|
Y([
|
|
4748
4748
|
l({ reflect: !0 })
|
|
4749
|
-
],
|
|
4749
|
+
], _.prototype, "value", 2);
|
|
4750
4750
|
Y([
|
|
4751
4751
|
l({ type: String })
|
|
4752
|
-
],
|
|
4752
|
+
], _.prototype, "text", 2);
|
|
4753
4753
|
Y([
|
|
4754
4754
|
l({ type: String, reflect: !0 })
|
|
4755
|
-
],
|
|
4755
|
+
], _.prototype, "size", 2);
|
|
4756
4756
|
Y([
|
|
4757
4757
|
l({ type: Boolean, reflect: !0 })
|
|
4758
|
-
],
|
|
4758
|
+
], _.prototype, "selected", 2);
|
|
4759
4759
|
Y([
|
|
4760
4760
|
l({ type: Boolean, reflect: !0 })
|
|
4761
|
-
],
|
|
4761
|
+
], _.prototype, "fullwidth", 2);
|
|
4762
4762
|
Y([
|
|
4763
4763
|
l({ type: Boolean, reflect: !0 })
|
|
4764
|
-
],
|
|
4765
|
-
|
|
4764
|
+
], _.prototype, "inactive", 2);
|
|
4765
|
+
_ = Y([
|
|
4766
4766
|
f("o-chip")
|
|
4767
|
-
],
|
|
4767
|
+
], _);
|
|
4768
4768
|
var $5 = Object.defineProperty, E5 = Object.getOwnPropertyDescriptor, c2 = (e, t, i, n) => {
|
|
4769
4769
|
for (var o = n > 1 ? void 0 : n ? E5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
4770
4770
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4771
4771
|
return n && o && $5(t, i, o), o;
|
|
4772
4772
|
};
|
|
4773
|
-
let
|
|
4773
|
+
let B1 = class extends p {
|
|
4774
4774
|
constructor() {
|
|
4775
4775
|
super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
|
|
4776
4776
|
}
|
|
4777
4777
|
onChipSelected(e) {
|
|
4778
|
-
const t = e.target instanceof
|
|
4778
|
+
const t = e.target instanceof _ ? e.target : null;
|
|
4779
4779
|
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((i) => {
|
|
4780
4780
|
i !== t && (i.selected = !1);
|
|
4781
4781
|
}));
|
|
@@ -4786,7 +4786,7 @@ let $1 = class extends p {
|
|
|
4786
4786
|
`;
|
|
4787
4787
|
}
|
|
4788
4788
|
};
|
|
4789
|
-
|
|
4789
|
+
B1.styles = g`
|
|
4790
4790
|
:host {
|
|
4791
4791
|
display: flex;
|
|
4792
4792
|
flex-direction: row;
|
|
@@ -4796,20 +4796,20 @@ $1.styles = g`
|
|
|
4796
4796
|
`;
|
|
4797
4797
|
c2([
|
|
4798
4798
|
l({ reflect: !0 })
|
|
4799
|
-
],
|
|
4799
|
+
], B1.prototype, "name", 2);
|
|
4800
4800
|
c2([
|
|
4801
4801
|
l({ reflect: !0 })
|
|
4802
|
-
],
|
|
4803
|
-
|
|
4802
|
+
], B1.prototype, "value", 2);
|
|
4803
|
+
B1 = c2([
|
|
4804
4804
|
f("o-chipset")
|
|
4805
|
-
],
|
|
4805
|
+
], B1);
|
|
4806
4806
|
var M5 = Object.defineProperty, k5 = Object.getOwnPropertyDescriptor, R = (e, t, i, n) => {
|
|
4807
4807
|
for (var o = n > 1 ? void 0 : n ? k5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
4808
4808
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
4809
4809
|
return n && o && M5(t, i, o), o;
|
|
4810
4810
|
};
|
|
4811
4811
|
const Z5 = e2(p);
|
|
4812
|
-
let
|
|
4812
|
+
let F = class extends Z5 {
|
|
4813
4813
|
constructor() {
|
|
4814
4814
|
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";
|
|
4815
4815
|
}
|
|
@@ -4821,18 +4821,14 @@ let S = class extends Z5 {
|
|
|
4821
4821
|
this.dispatchEvent(i), i.defaultPrevented && e.preventDefault(), this.selected = t.selected;
|
|
4822
4822
|
}
|
|
4823
4823
|
crossIcon() {
|
|
4824
|
-
|
|
4825
|
-
"<svg",
|
|
4826
|
-
'<svg aria-hidden="true" focusable="false" part="svg"'
|
|
4827
|
-
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4828
|
-
return a`<span class="cross-icon">${$(e)}</span>`;
|
|
4824
|
+
return a`<o-icon-button size="xsmall" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`;
|
|
4829
4825
|
}
|
|
4830
4826
|
strikeThroughImg() {
|
|
4831
4827
|
const e = It[this.strikethroughImgName].replace(
|
|
4832
4828
|
"<svg",
|
|
4833
4829
|
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
4834
4830
|
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
4835
|
-
return
|
|
4831
|
+
return O(e);
|
|
4836
4832
|
}
|
|
4837
4833
|
render() {
|
|
4838
4834
|
const e = this.text;
|
|
@@ -4859,7 +4855,7 @@ let S = class extends Z5 {
|
|
|
4859
4855
|
`;
|
|
4860
4856
|
}
|
|
4861
4857
|
};
|
|
4862
|
-
|
|
4858
|
+
F.styles = g`
|
|
4863
4859
|
:host {
|
|
4864
4860
|
cursor: pointer;
|
|
4865
4861
|
display: inline-flex;
|
|
@@ -4941,7 +4937,7 @@ S.styles = g`
|
|
|
4941
4937
|
}
|
|
4942
4938
|
|
|
4943
4939
|
.button:focus-visible {
|
|
4944
|
-
${
|
|
4940
|
+
${i1};
|
|
4945
4941
|
}
|
|
4946
4942
|
|
|
4947
4943
|
span.text + span.text::before {
|
|
@@ -4984,35 +4980,35 @@ S.styles = g`
|
|
|
4984
4980
|
`;
|
|
4985
4981
|
R([
|
|
4986
4982
|
l({ reflect: !0 })
|
|
4987
|
-
],
|
|
4983
|
+
], F.prototype, "name", 2);
|
|
4988
4984
|
R([
|
|
4989
4985
|
l({ reflect: !0 })
|
|
4990
|
-
],
|
|
4986
|
+
], F.prototype, "value", 2);
|
|
4991
4987
|
R([
|
|
4992
4988
|
l({ type: String, reflect: !0 })
|
|
4993
|
-
],
|
|
4989
|
+
], F.prototype, "type", 2);
|
|
4994
4990
|
R([
|
|
4995
4991
|
l({ type: String, reflect: !0 })
|
|
4996
|
-
],
|
|
4992
|
+
], F.prototype, "href", 2);
|
|
4997
4993
|
R([
|
|
4998
4994
|
l({ type: String, reflect: !0, attribute: "data-href" })
|
|
4999
|
-
],
|
|
4995
|
+
], F.prototype, "dataHref", 2);
|
|
5000
4996
|
R([
|
|
5001
4997
|
l({ type: String })
|
|
5002
|
-
],
|
|
4998
|
+
], F.prototype, "text", 2);
|
|
5003
4999
|
R([
|
|
5004
5000
|
l({ type: Boolean, reflect: !0 })
|
|
5005
|
-
],
|
|
5001
|
+
], F.prototype, "selected", 2);
|
|
5006
5002
|
R([
|
|
5007
5003
|
l({ type: Boolean, reflect: !0 })
|
|
5008
|
-
],
|
|
5004
|
+
], F.prototype, "disabled", 2);
|
|
5009
5005
|
R([
|
|
5010
5006
|
l({ type: Boolean, reflect: !0 })
|
|
5011
|
-
],
|
|
5012
|
-
|
|
5007
|
+
], F.prototype, "fullwidth", 2);
|
|
5008
|
+
F = R([
|
|
5013
5009
|
f("o-filter-chip")
|
|
5014
|
-
],
|
|
5015
|
-
var _5 = Object.defineProperty,
|
|
5010
|
+
], F);
|
|
5011
|
+
var _5 = Object.defineProperty, A = (e, t, i, n) => {
|
|
5016
5012
|
for (var o = void 0, s = e.length - 1, r; s >= 0; s--)
|
|
5017
5013
|
(r = e[s]) && (o = r(t, i, o) || o);
|
|
5018
5014
|
return o && _5(t, i, o), o;
|
|
@@ -5199,40 +5195,40 @@ d2.styles = g`
|
|
|
5199
5195
|
}
|
|
5200
5196
|
`;
|
|
5201
5197
|
let B = d2;
|
|
5202
|
-
|
|
5198
|
+
A([
|
|
5203
5199
|
l({ type: String })
|
|
5204
5200
|
], B.prototype, "type");
|
|
5205
|
-
|
|
5201
|
+
A([
|
|
5206
5202
|
l({ type: String })
|
|
5207
5203
|
], B.prototype, "titleProduct");
|
|
5208
|
-
|
|
5204
|
+
A([
|
|
5209
5205
|
l({ type: String })
|
|
5210
5206
|
], B.prototype, "volume");
|
|
5211
|
-
|
|
5207
|
+
A([
|
|
5212
5208
|
l({ type: String })
|
|
5213
5209
|
], B.prototype, "perLiter");
|
|
5214
|
-
|
|
5210
|
+
A([
|
|
5215
5211
|
l({ type: String })
|
|
5216
5212
|
], B.prototype, "mainPrice");
|
|
5217
|
-
|
|
5213
|
+
A([
|
|
5218
5214
|
l({ type: String })
|
|
5219
5215
|
], B.prototype, "imageUrl");
|
|
5220
|
-
|
|
5216
|
+
A([
|
|
5221
5217
|
l({ type: String })
|
|
5222
5218
|
], B.prototype, "altImage");
|
|
5223
|
-
|
|
5219
|
+
A([
|
|
5224
5220
|
l({ type: Boolean })
|
|
5225
5221
|
], B.prototype, "fullwidth");
|
|
5226
|
-
|
|
5222
|
+
A([
|
|
5227
5223
|
l({ type: String })
|
|
5228
5224
|
], B.prototype, "tagText");
|
|
5229
|
-
|
|
5225
|
+
A([
|
|
5230
5226
|
l({ type: Boolean })
|
|
5231
5227
|
], B.prototype, "outOfStock");
|
|
5232
|
-
|
|
5228
|
+
A([
|
|
5233
5229
|
l({ attribute: !1 })
|
|
5234
5230
|
], B.prototype, "onClickTile");
|
|
5235
|
-
|
|
5231
|
+
A([
|
|
5236
5232
|
l({ attribute: !1 })
|
|
5237
5233
|
], B.prototype, "onClickIcon");
|
|
5238
5234
|
customElements.define("mini-tile", B);
|
|
@@ -5241,7 +5237,7 @@ var F5 = Object.defineProperty, S5 = Object.getOwnPropertyDescriptor, z1 = (e, t
|
|
|
5241
5237
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5242
5238
|
return n && o && F5(t, i, o), o;
|
|
5243
5239
|
};
|
|
5244
|
-
let
|
|
5240
|
+
let u1 = class extends p {
|
|
5245
5241
|
constructor() {
|
|
5246
5242
|
super(...arguments), this.variant = "cart", this.text = 0, this.srlabel = "";
|
|
5247
5243
|
}
|
|
@@ -5253,7 +5249,7 @@ let v1 = class extends p {
|
|
|
5253
5249
|
`;
|
|
5254
5250
|
}
|
|
5255
5251
|
};
|
|
5256
|
-
|
|
5252
|
+
u1.styles = g`
|
|
5257
5253
|
:host([variant]) {
|
|
5258
5254
|
--badge-width: 19px;
|
|
5259
5255
|
display: inline-block;
|
|
@@ -5293,22 +5289,22 @@ v1.styles = g`
|
|
|
5293
5289
|
`;
|
|
5294
5290
|
z1([
|
|
5295
5291
|
l({ type: String, reflect: !0 })
|
|
5296
|
-
],
|
|
5292
|
+
], u1.prototype, "variant", 2);
|
|
5297
5293
|
z1([
|
|
5298
5294
|
l({ type: Number })
|
|
5299
|
-
],
|
|
5295
|
+
], u1.prototype, "text", 2);
|
|
5300
5296
|
z1([
|
|
5301
5297
|
l({ type: String })
|
|
5302
|
-
],
|
|
5303
|
-
|
|
5298
|
+
], u1.prototype, "srlabel", 2);
|
|
5299
|
+
u1 = z1([
|
|
5304
5300
|
f("o-badge")
|
|
5305
|
-
],
|
|
5306
|
-
var A5 = Object.defineProperty, P5 = Object.getOwnPropertyDescriptor,
|
|
5301
|
+
], u1);
|
|
5302
|
+
var A5 = Object.defineProperty, P5 = Object.getOwnPropertyDescriptor, P = (e, t, i, n) => {
|
|
5307
5303
|
for (var o = n > 1 ? void 0 : n ? P5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5308
5304
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5309
5305
|
return n && o && A5(t, i, o), o;
|
|
5310
5306
|
};
|
|
5311
|
-
let
|
|
5307
|
+
let $ = class extends p {
|
|
5312
5308
|
constructor() {
|
|
5313
5309
|
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;
|
|
5314
5310
|
}
|
|
@@ -5356,7 +5352,7 @@ let E = class extends p {
|
|
|
5356
5352
|
return a`
|
|
5357
5353
|
<div class="o-toast">
|
|
5358
5354
|
<div class="o-toast-icon">
|
|
5359
|
-
${
|
|
5355
|
+
${O(t)}
|
|
5360
5356
|
</div>
|
|
5361
5357
|
<div class="o-toast-text">
|
|
5362
5358
|
${this.text}
|
|
@@ -5364,7 +5360,7 @@ let E = class extends p {
|
|
|
5364
5360
|
<div class="o-toast-close">
|
|
5365
5361
|
<o-icon-button
|
|
5366
5362
|
size="xsmall"
|
|
5367
|
-
icon="
|
|
5363
|
+
icon="occ-close-outlined"
|
|
5368
5364
|
>
|
|
5369
5365
|
</o-icon-button>
|
|
5370
5366
|
</div>
|
|
@@ -5372,7 +5368,7 @@ let E = class extends p {
|
|
|
5372
5368
|
`;
|
|
5373
5369
|
}
|
|
5374
5370
|
};
|
|
5375
|
-
|
|
5371
|
+
$.styles = g`
|
|
5376
5372
|
:host {
|
|
5377
5373
|
--vertical-offset: 24px;
|
|
5378
5374
|
--horizontal-offset: 24px;
|
|
@@ -5450,48 +5446,48 @@ E.styles = g`
|
|
|
5450
5446
|
height: 16px;
|
|
5451
5447
|
}
|
|
5452
5448
|
`;
|
|
5453
|
-
|
|
5449
|
+
P([
|
|
5454
5450
|
l({ type: String, reflect: !0 })
|
|
5455
|
-
],
|
|
5456
|
-
|
|
5451
|
+
], $.prototype, "icon", 2);
|
|
5452
|
+
P([
|
|
5457
5453
|
l({ type: String, reflect: !0 })
|
|
5458
|
-
],
|
|
5459
|
-
|
|
5454
|
+
], $.prototype, "text", 2);
|
|
5455
|
+
P([
|
|
5460
5456
|
l({ type: String, reflect: !0 })
|
|
5461
|
-
],
|
|
5462
|
-
|
|
5457
|
+
], $.prototype, "verticalanchor", 2);
|
|
5458
|
+
P([
|
|
5463
5459
|
l({ type: String, reflect: !0 })
|
|
5464
|
-
],
|
|
5465
|
-
|
|
5460
|
+
], $.prototype, "horizontalanchor", 2);
|
|
5461
|
+
P([
|
|
5466
5462
|
l({ type: Number, reflect: !0 })
|
|
5467
|
-
],
|
|
5468
|
-
|
|
5463
|
+
], $.prototype, "verticaloffset", 2);
|
|
5464
|
+
P([
|
|
5469
5465
|
l({ type: Number, reflect: !0 })
|
|
5470
|
-
],
|
|
5471
|
-
|
|
5466
|
+
], $.prototype, "horizontaloffset", 2);
|
|
5467
|
+
P([
|
|
5472
5468
|
l({ type: Number, reflect: !0 })
|
|
5473
|
-
],
|
|
5474
|
-
|
|
5469
|
+
], $.prototype, "animationduration", 2);
|
|
5470
|
+
P([
|
|
5475
5471
|
l({ type: String, reflect: !0 })
|
|
5476
|
-
],
|
|
5477
|
-
|
|
5472
|
+
], $.prototype, "animationaxis", 2);
|
|
5473
|
+
P([
|
|
5478
5474
|
l({ type: Boolean, reflect: !0 })
|
|
5479
|
-
],
|
|
5480
|
-
|
|
5475
|
+
], $.prototype, "animated", 2);
|
|
5476
|
+
P([
|
|
5481
5477
|
l({ type: Number, reflect: !0 })
|
|
5482
|
-
],
|
|
5483
|
-
|
|
5478
|
+
], $.prototype, "lifeduration", 2);
|
|
5479
|
+
P([
|
|
5484
5480
|
l({ type: Boolean, reflect: !0 })
|
|
5485
|
-
],
|
|
5486
|
-
|
|
5481
|
+
], $.prototype, "multiline", 2);
|
|
5482
|
+
$ = P([
|
|
5487
5483
|
f("o-toast")
|
|
5488
|
-
],
|
|
5484
|
+
], $);
|
|
5489
5485
|
var O5 = Object.defineProperty, z5 = Object.getOwnPropertyDescriptor, I = (e, t, i, n) => {
|
|
5490
5486
|
for (var o = n > 1 ? void 0 : n ? z5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5491
5487
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5492
5488
|
return n && o && O5(t, i, o), o;
|
|
5493
5489
|
};
|
|
5494
|
-
let I5 = 0,
|
|
5490
|
+
let I5 = 0, E = class extends p {
|
|
5495
5491
|
constructor() {
|
|
5496
5492
|
super(), this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.size = "S", this.showLabel = !0, this.label = "Checkbox", this.name = "", this.value = "on", this.inputId = "", this.inputId || (this.inputId = `o-checkbox-${++I5}`);
|
|
5497
5493
|
}
|
|
@@ -5508,7 +5504,7 @@ let I5 = 0, M = class extends p {
|
|
|
5508
5504
|
this.disabled || (e.key === " " || e.key === "Enter") && (e.preventDefault(), this.toggle());
|
|
5509
5505
|
}
|
|
5510
5506
|
render() {
|
|
5511
|
-
const e = $
|
|
5507
|
+
const e = a`<o-icon-button size="${this.size === "L" ? "small" : "xsmall"}" icon="occ-check-outlined" bgstyle="none-light"></o-icon-button>`, t = a`<o-icon-button size="${this.size === "L" ? "small" : "xsmall"}" icon="occ-minus" bgstyle="none-light"></o-icon-button>`;
|
|
5512
5508
|
return a`
|
|
5513
5509
|
<input
|
|
5514
5510
|
type="checkbox"
|
|
@@ -5531,7 +5527,7 @@ let I5 = 0, M = class extends p {
|
|
|
5531
5527
|
`;
|
|
5532
5528
|
}
|
|
5533
5529
|
};
|
|
5534
|
-
|
|
5530
|
+
E.styles = g`
|
|
5535
5531
|
:host {
|
|
5536
5532
|
display: inline-flex;
|
|
5537
5533
|
align-items: center;
|
|
@@ -5579,7 +5575,7 @@ M.styles = g`
|
|
|
5579
5575
|
border-color: var(--color-border-primary);
|
|
5580
5576
|
|
|
5581
5577
|
svg {
|
|
5582
|
-
width:
|
|
5578
|
+
width: 100%;
|
|
5583
5579
|
height: 100%;
|
|
5584
5580
|
}
|
|
5585
5581
|
}
|
|
@@ -5636,43 +5632,43 @@ M.styles = g`
|
|
|
5636
5632
|
`;
|
|
5637
5633
|
I([
|
|
5638
5634
|
l({ type: Boolean, reflect: !0 })
|
|
5639
|
-
],
|
|
5635
|
+
], E.prototype, "checked", 2);
|
|
5640
5636
|
I([
|
|
5641
5637
|
l({ type: Boolean, reflect: !0 })
|
|
5642
|
-
],
|
|
5638
|
+
], E.prototype, "indeterminate", 2);
|
|
5643
5639
|
I([
|
|
5644
5640
|
l({ type: Boolean, reflect: !0 })
|
|
5645
|
-
],
|
|
5641
|
+
], E.prototype, "disabled", 2);
|
|
5646
5642
|
I([
|
|
5647
5643
|
l({ type: String, reflect: !0 })
|
|
5648
|
-
],
|
|
5644
|
+
], E.prototype, "size", 2);
|
|
5649
5645
|
I([
|
|
5650
5646
|
l({ type: Boolean })
|
|
5651
|
-
],
|
|
5647
|
+
], E.prototype, "showLabel", 2);
|
|
5652
5648
|
I([
|
|
5653
5649
|
l({ type: String })
|
|
5654
|
-
],
|
|
5650
|
+
], E.prototype, "label", 2);
|
|
5655
5651
|
I([
|
|
5656
5652
|
l({ type: String })
|
|
5657
|
-
],
|
|
5653
|
+
], E.prototype, "name", 2);
|
|
5658
5654
|
I([
|
|
5659
5655
|
l({ type: String })
|
|
5660
|
-
],
|
|
5656
|
+
], E.prototype, "value", 2);
|
|
5661
5657
|
I([
|
|
5662
5658
|
l({ type: String, reflect: !0 })
|
|
5663
|
-
],
|
|
5659
|
+
], E.prototype, "inputId", 2);
|
|
5664
5660
|
I([
|
|
5665
5661
|
_2("input")
|
|
5666
|
-
],
|
|
5667
|
-
|
|
5662
|
+
], E.prototype, "inputEl", 2);
|
|
5663
|
+
E = I([
|
|
5668
5664
|
f("o-checkbox")
|
|
5669
|
-
],
|
|
5665
|
+
], E);
|
|
5670
5666
|
var D5 = Object.defineProperty, T5 = Object.getOwnPropertyDescriptor, U = (e, t, i, n) => {
|
|
5671
5667
|
for (var o = n > 1 ? void 0 : n ? T5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5672
5668
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5673
5669
|
return n && o && D5(t, i, o), o;
|
|
5674
5670
|
};
|
|
5675
|
-
let j5 = 0,
|
|
5671
|
+
let j5 = 0, S = class extends p {
|
|
5676
5672
|
constructor() {
|
|
5677
5673
|
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-${++j5}`);
|
|
5678
5674
|
}
|
|
@@ -5706,7 +5702,7 @@ let j5 = 0, A = class extends p {
|
|
|
5706
5702
|
`;
|
|
5707
5703
|
}
|
|
5708
5704
|
};
|
|
5709
|
-
|
|
5705
|
+
S.styles = g`
|
|
5710
5706
|
:host {
|
|
5711
5707
|
display: inline-flex;
|
|
5712
5708
|
align-items: center;
|
|
@@ -5798,34 +5794,34 @@ A.styles = g`
|
|
|
5798
5794
|
`;
|
|
5799
5795
|
U([
|
|
5800
5796
|
l({ type: Boolean, reflect: !0 })
|
|
5801
|
-
],
|
|
5797
|
+
], S.prototype, "checked", 2);
|
|
5802
5798
|
U([
|
|
5803
5799
|
l({ type: Boolean, reflect: !0 })
|
|
5804
|
-
],
|
|
5800
|
+
], S.prototype, "disabled", 2);
|
|
5805
5801
|
U([
|
|
5806
5802
|
l({ type: String, reflect: !0 })
|
|
5807
|
-
],
|
|
5803
|
+
], S.prototype, "size", 2);
|
|
5808
5804
|
U([
|
|
5809
5805
|
l({ type: Boolean })
|
|
5810
|
-
],
|
|
5806
|
+
], S.prototype, "showLabel", 2);
|
|
5811
5807
|
U([
|
|
5812
5808
|
l({ type: String })
|
|
5813
|
-
],
|
|
5809
|
+
], S.prototype, "label", 2);
|
|
5814
5810
|
U([
|
|
5815
5811
|
l({ type: String })
|
|
5816
|
-
],
|
|
5812
|
+
], S.prototype, "name", 2);
|
|
5817
5813
|
U([
|
|
5818
5814
|
l({ type: String })
|
|
5819
|
-
],
|
|
5815
|
+
], S.prototype, "value", 2);
|
|
5820
5816
|
U([
|
|
5821
5817
|
l({ type: String, reflect: !0 })
|
|
5822
|
-
],
|
|
5818
|
+
], S.prototype, "inputId", 2);
|
|
5823
5819
|
U([
|
|
5824
5820
|
_2("input")
|
|
5825
|
-
],
|
|
5826
|
-
|
|
5821
|
+
], S.prototype, "inputEl", 2);
|
|
5822
|
+
S = U([
|
|
5827
5823
|
f("o-radio")
|
|
5828
|
-
],
|
|
5824
|
+
], S);
|
|
5829
5825
|
var R5 = Object.getOwnPropertyDescriptor, U5 = (e, t, i, n) => {
|
|
5830
5826
|
for (var o = n > 1 ? void 0 : n ? R5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5831
5827
|
(r = e[s]) && (o = r(o) || o);
|
|
@@ -5862,7 +5858,7 @@ var q5 = Object.defineProperty, N5 = Object.getOwnPropertyDescriptor, h2 = (e, t
|
|
|
5862
5858
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5863
5859
|
return n && o && q5(t, i, o), o;
|
|
5864
5860
|
};
|
|
5865
|
-
let
|
|
5861
|
+
let $1 = class extends p {
|
|
5866
5862
|
constructor() {
|
|
5867
5863
|
super(...arguments), this.href = "", this.active = !1;
|
|
5868
5864
|
}
|
|
@@ -5883,7 +5879,7 @@ let E1 = class extends p {
|
|
|
5883
5879
|
`;
|
|
5884
5880
|
}
|
|
5885
5881
|
};
|
|
5886
|
-
|
|
5882
|
+
$1.styles = g`
|
|
5887
5883
|
:host(:not([active]))::after {
|
|
5888
5884
|
content: "/";
|
|
5889
5885
|
margin: 0 0.5rem;
|
|
@@ -5918,7 +5914,7 @@ E1.styles = g`
|
|
|
5918
5914
|
}
|
|
5919
5915
|
|
|
5920
5916
|
a:focus-visible {
|
|
5921
|
-
${
|
|
5917
|
+
${i1};
|
|
5922
5918
|
}
|
|
5923
5919
|
|
|
5924
5920
|
:host(.a--tabfocus) {
|
|
@@ -5927,14 +5923,14 @@ E1.styles = g`
|
|
|
5927
5923
|
`;
|
|
5928
5924
|
h2([
|
|
5929
5925
|
l({ type: String })
|
|
5930
|
-
],
|
|
5926
|
+
], $1.prototype, "href", 2);
|
|
5931
5927
|
h2([
|
|
5932
5928
|
l({ type: Boolean, reflect: !0 })
|
|
5933
|
-
],
|
|
5934
|
-
|
|
5929
|
+
], $1.prototype, "active", 2);
|
|
5930
|
+
$1 = h2([
|
|
5935
5931
|
f("o-breadcrumb")
|
|
5936
|
-
],
|
|
5937
|
-
var K5 = Object.defineProperty, W5 = Object.getOwnPropertyDescriptor,
|
|
5932
|
+
], $1);
|
|
5933
|
+
var K5 = Object.defineProperty, W5 = Object.getOwnPropertyDescriptor, c1 = (e, t, i, n) => {
|
|
5938
5934
|
for (var o = n > 1 ? void 0 : n ? W5(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
5939
5935
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
5940
5936
|
return n && o && K5(t, i, o), o;
|
|
@@ -6043,25 +6039,25 @@ K.styles = g`
|
|
|
6043
6039
|
opacity: var(--overlay-opacity, 1);
|
|
6044
6040
|
}
|
|
6045
6041
|
`;
|
|
6046
|
-
|
|
6042
|
+
c1([
|
|
6047
6043
|
l({ type: String })
|
|
6048
6044
|
], K.prototype, "imageUrl", 2);
|
|
6049
|
-
|
|
6045
|
+
c1([
|
|
6050
6046
|
l({ type: String })
|
|
6051
6047
|
], K.prototype, "imageAlt", 2);
|
|
6052
|
-
|
|
6048
|
+
c1([
|
|
6053
6049
|
l({ type: String })
|
|
6054
6050
|
], K.prototype, "hoverUrl", 2);
|
|
6055
|
-
|
|
6051
|
+
c1([
|
|
6056
6052
|
l({ type: String })
|
|
6057
6053
|
], K.prototype, "hoverAlt", 2);
|
|
6058
|
-
|
|
6054
|
+
c1([
|
|
6059
6055
|
l({ type: Boolean, reflect: !0 })
|
|
6060
6056
|
], K.prototype, "dimmed", 2);
|
|
6061
|
-
|
|
6057
|
+
c1([
|
|
6062
6058
|
l({ type: Boolean, reflect: !0, attribute: "showhover" })
|
|
6063
6059
|
], K.prototype, "showHover", 2);
|
|
6064
|
-
K =
|
|
6060
|
+
K = c1([
|
|
6065
6061
|
f("o-arch-image")
|
|
6066
6062
|
], K);
|
|
6067
6063
|
const G5 = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
@@ -6223,7 +6219,7 @@ const p2 = class p2 extends p {
|
|
|
6223
6219
|
return customElements.get("o-icon-button") ? a`
|
|
6224
6220
|
<o-icon-button
|
|
6225
6221
|
data-close-btn
|
|
6226
|
-
icon="
|
|
6222
|
+
icon="occ-close-outlined"
|
|
6227
6223
|
size="${this._resolvedIconSize()}"
|
|
6228
6224
|
bgstyle="none-${this.contrast ? "contrast" : "light"}"
|
|
6229
6225
|
status="empty"
|
|
@@ -6270,7 +6266,7 @@ const p2 = class p2 extends p {
|
|
|
6270
6266
|
<header part="header" class="${i}">
|
|
6271
6267
|
${this.showBackButton ? this._renderBackButton() : null}
|
|
6272
6268
|
<div class="brand">
|
|
6273
|
-
<span slot="logo${this.contrast ? "-contrast" : ""}">${
|
|
6269
|
+
<span slot="logo${this.contrast ? "-contrast" : ""}">${O(G5)}</span>
|
|
6274
6270
|
</div>
|
|
6275
6271
|
<div part="close${this.contrast ? "-contrast" : ""}">${this._renderCloseButton()}</div>
|
|
6276
6272
|
</header>
|
|
@@ -6768,7 +6764,7 @@ x([
|
|
|
6768
6764
|
m = x([
|
|
6769
6765
|
f("o-medium-tile")
|
|
6770
6766
|
], m);
|
|
6771
|
-
var t8 = Object.defineProperty, e8 = Object.getOwnPropertyDescriptor,
|
|
6767
|
+
var t8 = Object.defineProperty, e8 = Object.getOwnPropertyDescriptor, h1 = (e, t, i, n) => {
|
|
6772
6768
|
for (var o = n > 1 ? void 0 : n ? e8(t, i) : t, s = e.length - 1, r; s >= 0; s--)
|
|
6773
6769
|
(r = e[s]) && (o = (n ? r(t, i, o) : r(o)) || o);
|
|
6774
6770
|
return n && o && t8(t, i, o), o;
|
|
@@ -6878,28 +6874,28 @@ W.styles = g`
|
|
|
6878
6874
|
}
|
|
6879
6875
|
|
|
6880
6876
|
.o-tab:focus-visible {
|
|
6881
|
-
${
|
|
6877
|
+
${i1};
|
|
6882
6878
|
}
|
|
6883
6879
|
`;
|
|
6884
|
-
|
|
6880
|
+
h1([
|
|
6885
6881
|
l({ type: String })
|
|
6886
6882
|
], W.prototype, "text", 2);
|
|
6887
|
-
|
|
6883
|
+
h1([
|
|
6888
6884
|
l({ type: String })
|
|
6889
6885
|
], W.prototype, "class", 2);
|
|
6890
|
-
|
|
6886
|
+
h1([
|
|
6891
6887
|
l({ type: String })
|
|
6892
6888
|
], W.prototype, "data", 2);
|
|
6893
|
-
|
|
6889
|
+
h1([
|
|
6894
6890
|
l({ type: String, reflect: !0 })
|
|
6895
6891
|
], W.prototype, "link", 2);
|
|
6896
|
-
|
|
6892
|
+
h1([
|
|
6897
6893
|
l({ type: Boolean, reflect: !0 })
|
|
6898
6894
|
], W.prototype, "selected", 2);
|
|
6899
|
-
|
|
6895
|
+
h1([
|
|
6900
6896
|
l({ type: Boolean, reflect: !0 })
|
|
6901
6897
|
], W.prototype, "inactive", 2);
|
|
6902
|
-
W =
|
|
6898
|
+
W = h1([
|
|
6903
6899
|
f("o-tab")
|
|
6904
6900
|
], W);
|
|
6905
6901
|
var i8 = Object.getOwnPropertyDescriptor, o8 = (e, t, i, n) => {
|