@florid-kit/components 0.9.29 → 0.9.30

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.mjs CHANGED
@@ -45,7 +45,7 @@ const Ee = (o) => new ye(typeof o == "string" ? o : o + "", void 0, Vt), v = (o,
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Be, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ze } = Object, X = globalThis, le = X.trustedTypes, Ie = le ? le.emptyScript : "", It = X.reactiveElementPolyfillSupport, pt = (o, t) => o, At = { toAttribute(o, t) {
48
+ const { is: Ae, defineProperty: Le, getOwnPropertyDescriptor: Pe, getOwnPropertyNames: Be, getOwnPropertySymbols: Oe, getPrototypeOf: ze } = Object, X = globalThis, le = X.trustedTypes, Ie = le ? le.emptyScript : "", It = X.reactiveElementPolyfillSupport, pt = (o, t) => o, At = { toAttribute(o, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  o = o ? Ie : null;
@@ -89,7 +89,7 @@ let at = class extends HTMLElement {
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, e, n) {
92
- const { get: i, set: r } = Be(this.prototype, t) ?? { get() {
92
+ const { get: i, set: r } = Pe(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(s) {
95
95
  this[e] = s;
@@ -110,7 +110,7 @@ let at = class extends HTMLElement {
110
110
  static finalize() {
111
111
  if (this.hasOwnProperty(pt("finalized"))) return;
112
112
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
113
- const e = this.properties, n = [...Pe(e), ...Oe(e)];
113
+ const e = this.properties, n = [...Be(e), ...Oe(e)];
114
114
  for (const i of n) this.createProperty(i, e[i]);
115
115
  }
116
116
  const t = this[Symbol.metadata];
@@ -315,7 +315,7 @@ class bt {
315
315
  if (i.nodeType === 1) {
316
316
  if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(me)) {
317
317
  const N = w[s++], W = i.getAttribute(f).split(G), Et = /([.?@])?(.*)/.exec(N);
318
- h.push({ type: 1, index: r, name: Et[2], strings: W, ctor: Et[1] === "." ? Fe : Et[1] === "?" ? Re : Et[1] === "@" ? Ue : Pt }), i.removeAttribute(f);
318
+ h.push({ type: 1, index: r, name: Et[2], strings: W, ctor: Et[1] === "." ? Fe : Et[1] === "?" ? Re : Et[1] === "@" ? Ue : Bt }), i.removeAttribute(f);
319
319
  } else f.startsWith(G) && (h.push({ type: 6, index: r }), i.removeAttribute(f));
320
320
  if (we.test(i.tagName)) {
321
321
  const f = i.textContent.split(G), N = f.length - 1;
@@ -362,7 +362,7 @@ class je {
362
362
  for (; h !== void 0; ) {
363
363
  if (s === h.index) {
364
364
  let m;
365
- h.type === 2 ? m = new kt(r, r.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (m = new Ne(r, this, t)), this._$AV.push(m), h = n[++c];
365
+ h.type === 2 ? m = new _t(r, r.nextSibling, this, t) : h.type === 1 ? m = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (m = new Ne(r, this, t)), this._$AV.push(m), h = n[++c];
366
366
  }
367
367
  s !== (h == null ? void 0 : h.index) && (r = et.nextNode(), s++);
368
368
  }
@@ -373,7 +373,7 @@ class je {
373
373
  for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
374
374
  }
375
375
  }
376
- class kt {
376
+ class _t {
377
377
  get _$AU() {
378
378
  var t;
379
379
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -421,7 +421,7 @@ class kt {
421
421
  Zt(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 kt(this.O(ft()), this.O(ft()), this, this.options)) : n = e[i], n._$AI(r), i++;
424
+ for (const r of t) i === e.length ? e.push(n = new _t(this.O(ft()), this.O(ft()), 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 kt {
436
436
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
437
437
  }
438
438
  }
439
- class Pt {
439
+ class Bt {
440
440
  get tagName() {
441
441
  return this.element.tagName;
442
442
  }
@@ -461,7 +461,7 @@ class Pt {
461
461
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
462
462
  }
463
463
  }
464
- class Fe extends Pt {
464
+ class Fe extends Bt {
465
465
  constructor() {
466
466
  super(...arguments), this.type = 3;
467
467
  }
@@ -469,7 +469,7 @@ class Fe extends Pt {
469
469
  this.element[this.name] = t === d ? void 0 : t;
470
470
  }
471
471
  }
472
- class Re extends Pt {
472
+ class Re extends Bt {
473
473
  constructor() {
474
474
  super(...arguments), this.type = 4;
475
475
  }
@@ -477,7 +477,7 @@ class Re extends Pt {
477
477
  this.element.toggleAttribute(this.name, !!t && t !== d);
478
478
  }
479
479
  }
480
- class Ue extends Pt {
480
+ class Ue extends Bt {
481
481
  constructor(t, e, n, i, r) {
482
482
  super(t, e, n, i, r), this.type = 5;
483
483
  }
@@ -503,13 +503,13 @@ class Ne {
503
503
  }
504
504
  }
505
505
  const Ht = ut.litHtmlPolyfillSupport;
506
- Ht == null || Ht(bt, kt), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
506
+ Ht == null || Ht(bt, _t), (ut.litHtmlVersions ?? (ut.litHtmlVersions = [])).push("3.3.0");
507
507
  const Ve = (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 kt(t.insertBefore(ft(), r), r, void 0, e ?? {});
512
+ n._$litPart$ = i = new _t(t.insertBefore(ft(), r), r, void 0, e ?? {});
513
513
  }
514
514
  return i._$AI(o), i;
515
515
  };
@@ -610,7 +610,7 @@ const Ke = (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 _e(o, t) {
613
+ function ke(o, t) {
614
614
  return (e, n, i) => {
615
615
  const r = (s) => {
616
616
  var c;
@@ -767,10 +767,10 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
767
767
  `, $o = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
768
768
  <path d="M8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0ZM7.16602 6.1084V12H8.84668V6.1084H7.16602ZM8.00684 2.64062C7.45497 2.64062 7.01096 3.09591 7.01074 3.63574C7.01074 4.18774 7.45484 4.63184 8.00684 4.63184C8.55862 4.63159 9.00195 4.18759 9.00195 3.63574C9.00174 3.09606 8.55849 2.64088 8.00684 2.64062Z" fill="#4572A6"/>
769
769
  </svg>
770
- `, _o = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
770
+ `, ko = `<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
771
771
  <path d="M16.0003 10.1648C16.0003 13.2904 13.4583 15.8332 10.3336 15.8332H7.00026C6.81617 15.8332 6.66693 15.6839 6.66693 15.4997C6.66693 15.3156 6.81617 15.1663 7.00026 15.1663H10.3336C13.0909 15.1663 15.3336 12.923 15.3336 10.1648C15.3336 7.40663 13.0909 5.16328 10.3336 5.16328H1.13826L3.90226 7.92812C4.0326 8.05831 4.03275 8.26955 3.9026 8.39993C3.77244 8.5303 3.56127 8.53045 3.43093 8.40026L0.0975955 5.06592C-0.0325318 4.93571 -0.0325318 4.72465 0.0975955 4.59444L3.43093 1.2601C3.56172 1.13374 3.76962 1.13555 3.8982 1.26416C4.02678 1.39278 4.02859 1.60075 3.90226 1.73158L1.13826 4.49641H10.3336C13.4583 4.49641 16.0003 7.03918 16.0003 10.1648Z" fill="#001022"/>
772
772
  </svg>
773
- `, ko = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
773
+ `, _o = `<svg xmlns="http://www.w3.org/2000/svg" width="10" height="8" viewBox="0 0 10 8" fill="none">
774
774
  <path d="M1 4.5415L3 6.5415L9 0.541504" stroke="#FBF9F6" stroke-linecap="round" stroke-linejoin="round"/>
775
775
  </svg>`, V = {
776
776
  wishlist: Ge,
@@ -796,8 +796,8 @@ const Ge = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="h
796
796
  pause: go,
797
797
  mapDualArrow: bo,
798
798
  swipeDualArrow: mo,
799
- backToBag: _o,
800
- checkbox: ko
799
+ backToBag: ko,
800
+ checkbox: _o
801
801
  }, Co = {
802
802
  strikeDiagonal: yo
803
803
  }, Eo = {
@@ -873,42 +873,42 @@ const vt = (o, t) => {
873
873
  if (e === void 0) return !1;
874
874
  for (const i of e) (n = i._$AO) == null || n.call(i, t, !1), vt(i, t);
875
875
  return !0;
876
- }, Bt = (o) => {
876
+ }, Pt = (o) => {
877
877
  let t, e;
878
878
  do {
879
879
  if ((t = o._$AM) === void 0) break;
880
880
  e = t._$AN, e.delete(o), o = t;
881
881
  } while ((e == null ? void 0 : e.size) === 0);
882
- }, ke = (o) => {
882
+ }, _e = (o) => {
883
883
  for (let t; t = o._$AM; o = t) {
884
884
  let e = t._$AN;
885
885
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
886
886
  else if (e.has(o)) break;
887
- e.add(o), Bo(t);
887
+ e.add(o), Po(t);
888
888
  }
889
889
  };
890
890
  function Ao(o) {
891
- this._$AN !== void 0 ? (Bt(this), this._$AM = o, ke(this)) : this._$AM = o;
891
+ this._$AN !== void 0 ? (Pt(this), this._$AM = o, _e(this)) : this._$AM = o;
892
892
  }
893
893
  function Lo(o, t = !1, e = 0) {
894
894
  const n = this._$AH, i = this._$AN;
895
- if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) vt(n[r], !1), Bt(n[r]);
896
- else n != null && (vt(n, !1), Bt(n));
895
+ if (i !== void 0 && i.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) vt(n[r], !1), Pt(n[r]);
896
+ else n != null && (vt(n, !1), Pt(n));
897
897
  else vt(this, o);
898
898
  }
899
- const Bo = (o) => {
899
+ const Po = (o) => {
900
900
  o.type == Gt.CHILD && (o._$AP ?? (o._$AP = Lo), o._$AQ ?? (o._$AQ = Ao));
901
901
  };
902
- class Po extends Yt {
902
+ class Bo extends Yt {
903
903
  constructor() {
904
904
  super(...arguments), this._$AN = void 0;
905
905
  }
906
906
  _$AT(t, e, n) {
907
- super._$AT(t, e, n), ke(this), this.isConnected = t._$AU;
907
+ super._$AT(t, e, n), _e(this), this.isConnected = t._$AU;
908
908
  }
909
909
  _$AO(t, e = !0) {
910
910
  var n, i;
911
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (vt(this, t), Bt(this));
911
+ t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (vt(this, t), Pt(this));
912
912
  }
913
913
  setValue(t) {
914
914
  if (So(this._$Ct)) this._$Ct._$AI(t, this);
@@ -922,7 +922,7 @@ class Po extends Yt {
922
922
  reconnected() {
923
923
  }
924
924
  }
925
- class Oo extends Po {
925
+ class Oo extends Bo {
926
926
  constructor() {
927
927
  super(...arguments), this.prevData = {};
928
928
  }
@@ -1049,7 +1049,7 @@ const ge = Xt(Io);
1049
1049
  * SPDX-License-Identifier: BSD-3-Clause
1050
1050
  */
1051
1051
  const S = (o) => o ?? d;
1052
- var Do = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, M = (o, t, e, n) => {
1052
+ var Do = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
1053
1053
  for (var i = n > 1 ? void 0 : n ? Ho(t, e) : t, r = o.length - 1, s; r >= 0; r--)
1054
1054
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
1055
1055
  return n && i && Do(t, e, i), i;
@@ -1294,34 +1294,34 @@ A.styles = v`
1294
1294
  display: none;
1295
1295
  }
1296
1296
  `;
1297
- M([
1297
+ T([
1298
1298
  a({ type: String, reflect: !0 })
1299
1299
  ], A.prototype, "bgstyle", 2);
1300
- M([
1300
+ T([
1301
1301
  a({ type: String, reflect: !0 })
1302
1302
  ], A.prototype, "size", 2);
1303
- M([
1303
+ T([
1304
1304
  a({ type: String, reflect: !0 })
1305
1305
  ], A.prototype, "status", 2);
1306
- M([
1306
+ T([
1307
1307
  a({ type: String, reflect: !0 })
1308
1308
  ], A.prototype, "type", 2);
1309
- M([
1309
+ T([
1310
1310
  a({ type: String })
1311
1311
  ], A.prototype, "strokewidth", 2);
1312
- M([
1312
+ T([
1313
1313
  a({ type: String })
1314
1314
  ], A.prototype, "icon", 2);
1315
- M([
1315
+ T([
1316
1316
  a({ type: Boolean, reflect: !0 })
1317
1317
  ], A.prototype, "disabled", 2);
1318
- M([
1318
+ T([
1319
1319
  a({ type: Boolean })
1320
1320
  ], A.prototype, "showSrLabel", 2);
1321
- M([
1321
+ T([
1322
1322
  a({ type: String })
1323
1323
  ], A.prototype, "srLabel", 2);
1324
- A = M([
1324
+ A = T([
1325
1325
  g("o-icon-button")
1326
1326
  ], A);
1327
1327
  var Mo = Object.defineProperty, To = Object.getOwnPropertyDescriptor, b = (o, t, e, n) => {
@@ -2553,7 +2553,7 @@ var Wo = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, Q = (o, t,
2553
2553
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
2554
2554
  return n && i && Wo(t, e, i), i;
2555
2555
  };
2556
- let H = class extends p {
2556
+ let M = class extends p {
2557
2557
  constructor() {
2558
2558
  super(...arguments), this.thumbnails = [], this.activeIndex = 0, this.disabledIndexes = [], this.maxWidth = "100%", this.altressource = "visual", this.focusedIndex = 0, this.playerIconTemplate = l`
2559
2559
  <o-icon-button
@@ -2644,7 +2644,7 @@ let H = class extends p {
2644
2644
  `;
2645
2645
  }
2646
2646
  };
2647
- H.styles = v`
2647
+ M.styles = v`
2648
2648
  :host {
2649
2649
  display: flex;
2650
2650
  gap: 5px;
@@ -2752,28 +2752,28 @@ H.styles = v`
2752
2752
  `;
2753
2753
  Q([
2754
2754
  a({ type: Array })
2755
- ], H.prototype, "thumbnails", 2);
2755
+ ], M.prototype, "thumbnails", 2);
2756
2756
  Q([
2757
2757
  a({ type: Number })
2758
- ], H.prototype, "activeIndex", 2);
2758
+ ], M.prototype, "activeIndex", 2);
2759
2759
  Q([
2760
2760
  a({ type: Array })
2761
- ], H.prototype, "disabledIndexes", 2);
2761
+ ], M.prototype, "disabledIndexes", 2);
2762
2762
  Q([
2763
2763
  a({ type: String })
2764
- ], H.prototype, "maxWidth", 2);
2764
+ ], M.prototype, "maxWidth", 2);
2765
2765
  Q([
2766
2766
  a({ type: String })
2767
- ], H.prototype, "altressource", 2);
2767
+ ], M.prototype, "altressource", 2);
2768
2768
  Q([
2769
2769
  a({ type: Object })
2770
- ], H.prototype, "swiperInstance", 2);
2770
+ ], M.prototype, "swiperInstance", 2);
2771
2771
  Q([
2772
2772
  J()
2773
- ], H.prototype, "focusedIndex", 2);
2774
- H = Q([
2773
+ ], M.prototype, "focusedIndex", 2);
2774
+ M = Q([
2775
2775
  g("thumbnail-navigation")
2776
- ], H);
2776
+ ], M);
2777
2777
  var Xo = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Jt = (o, t, e, n) => {
2778
2778
  for (var i = n > 1 ? void 0 : n ? Yo(t, e) : t, r = o.length - 1, s; r >= 0; r--)
2779
2779
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -3336,7 +3336,7 @@ Rt.styles = v`
3336
3336
  Rt = ii([
3337
3337
  g("o-dots")
3338
3338
  ], Rt);
3339
- var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, T = (o, t, e, n) => {
3339
+ var ni = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
3340
3340
  for (var i = n > 1 ? void 0 : n ? ri(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3341
3341
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
3342
3342
  return n && i && ni(t, e, i), i;
@@ -3654,34 +3654,34 @@ L.styles = v`
3654
3654
  display: none;
3655
3655
  }
3656
3656
  `;
3657
- T([
3657
+ j([
3658
3658
  a({ type: Array, reflect: !0 })
3659
3659
  ], L.prototype, "options", 2);
3660
- T([
3660
+ j([
3661
3661
  a({ type: String, reflect: !0 })
3662
3662
  ], L.prototype, "value", 2);
3663
- T([
3663
+ j([
3664
3664
  a({ type: String, reflect: !0 })
3665
3665
  ], L.prototype, "name", 2);
3666
- T([
3666
+ j([
3667
3667
  a({ type: String, reflect: !0 })
3668
3668
  ], L.prototype, "additionaltext", 2);
3669
- T([
3669
+ j([
3670
3670
  a({ type: Boolean, reflect: !0 })
3671
3671
  ], L.prototype, "disabled", 2);
3672
- T([
3672
+ j([
3673
3673
  a({ type: String, reflect: !0 })
3674
3674
  ], L.prototype, "width", 2);
3675
- T([
3675
+ j([
3676
3676
  J()
3677
3677
  ], L.prototype, "open", 2);
3678
- T([
3678
+ j([
3679
3679
  J()
3680
3680
  ], L.prototype, "activeIndex", 2);
3681
- T([
3681
+ j([
3682
3682
  J()
3683
3683
  ], L.prototype, "menuWidth", 2);
3684
- L = T([
3684
+ L = j([
3685
3685
  g("o-dropdown-variant")
3686
3686
  ], L);
3687
3687
  /**
@@ -3838,7 +3838,7 @@ var hi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, K = (o, t,
3838
3838
  return n && i && hi(t, e, i), i;
3839
3839
  };
3840
3840
  const pi = Wt(p);
3841
- let B = class extends pi {
3841
+ let P = class extends pi {
3842
3842
  constructor() {
3843
3843
  super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
3844
3844
  }
@@ -3861,7 +3861,7 @@ let B = class extends pi {
3861
3861
  `;
3862
3862
  }
3863
3863
  };
3864
- B.styles = v`
3864
+ P.styles = v`
3865
3865
  :host {
3866
3866
  cursor: pointer;
3867
3867
  display: inline-flex;
@@ -3953,31 +3953,31 @@ B.styles = v`
3953
3953
  `;
3954
3954
  K([
3955
3955
  a({ type: String, reflect: !0 })
3956
- ], B.prototype, "link", 2);
3956
+ ], P.prototype, "link", 2);
3957
3957
  K([
3958
3958
  a({ reflect: !0 })
3959
- ], B.prototype, "name", 2);
3959
+ ], P.prototype, "name", 2);
3960
3960
  K([
3961
3961
  a({ reflect: !0 })
3962
- ], B.prototype, "value", 2);
3962
+ ], P.prototype, "value", 2);
3963
3963
  K([
3964
3964
  a({ type: String })
3965
- ], B.prototype, "text", 2);
3965
+ ], P.prototype, "text", 2);
3966
3966
  K([
3967
3967
  a({ type: String, reflect: !0 })
3968
- ], B.prototype, "size", 2);
3968
+ ], P.prototype, "size", 2);
3969
3969
  K([
3970
3970
  a({ type: Boolean, reflect: !0 })
3971
- ], B.prototype, "selected", 2);
3971
+ ], P.prototype, "selected", 2);
3972
3972
  K([
3973
3973
  a({ type: Boolean, reflect: !0 })
3974
- ], B.prototype, "fullwidth", 2);
3974
+ ], P.prototype, "fullwidth", 2);
3975
3975
  K([
3976
3976
  a({ type: Boolean, reflect: !0 })
3977
- ], B.prototype, "inactive", 2);
3978
- B = K([
3977
+ ], P.prototype, "inactive", 2);
3978
+ P = K([
3979
3979
  g("o-chip")
3980
- ], B);
3980
+ ], P);
3981
3981
  var ui = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, ee = (o, t, e, n) => {
3982
3982
  for (var i = n > 1 ? void 0 : n ? vi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
3983
3983
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -3988,7 +3988,7 @@ let wt = class extends p {
3988
3988
  super(), this.name = "", this.value = "", this.addEventListener("selected", this.onChipSelected);
3989
3989
  }
3990
3990
  onChipSelected(o) {
3991
- const t = o.target instanceof B ? o.target : null;
3991
+ const t = o.target instanceof P ? o.target : null;
3992
3992
  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) => {
3993
3993
  e !== t && (e.selected = !1);
3994
3994
  }));
@@ -4016,13 +4016,13 @@ ee([
4016
4016
  wt = ee([
4017
4017
  g("o-chipset")
4018
4018
  ], wt);
4019
- var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, j = (o, t, e, n) => {
4019
+ var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, F = (o, t, e, n) => {
4020
4020
  for (var i = n > 1 ? void 0 : n ? gi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4021
4021
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4022
4022
  return n && i && fi(t, e, i), i;
4023
4023
  };
4024
4024
  const bi = Wt(p);
4025
- let P = class extends bi {
4025
+ let B = class extends bi {
4026
4026
  constructor() {
4027
4027
  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";
4028
4028
  }
@@ -4072,7 +4072,7 @@ let P = class extends bi {
4072
4072
  `;
4073
4073
  }
4074
4074
  };
4075
- P.styles = v`
4075
+ B.styles = v`
4076
4076
  :host {
4077
4077
  cursor: pointer;
4078
4078
  display: inline-flex;
@@ -4198,37 +4198,37 @@ P.styles = v`
4198
4198
  }
4199
4199
  }
4200
4200
  `;
4201
- j([
4201
+ F([
4202
4202
  a({ reflect: !0 })
4203
- ], P.prototype, "name", 2);
4204
- j([
4203
+ ], B.prototype, "name", 2);
4204
+ F([
4205
4205
  a({ reflect: !0 })
4206
- ], P.prototype, "value", 2);
4207
- j([
4206
+ ], B.prototype, "value", 2);
4207
+ F([
4208
4208
  a({ type: String, reflect: !0 })
4209
- ], P.prototype, "type", 2);
4210
- j([
4209
+ ], B.prototype, "type", 2);
4210
+ F([
4211
4211
  a({ type: String, reflect: !0 })
4212
- ], P.prototype, "href", 2);
4213
- j([
4212
+ ], B.prototype, "href", 2);
4213
+ F([
4214
4214
  a({ type: String, reflect: !0, attribute: "data-href" })
4215
- ], P.prototype, "dataHref", 2);
4216
- j([
4215
+ ], B.prototype, "dataHref", 2);
4216
+ F([
4217
4217
  a({ type: String })
4218
- ], P.prototype, "text", 2);
4219
- j([
4218
+ ], B.prototype, "text", 2);
4219
+ F([
4220
4220
  a({ type: Boolean, reflect: !0 })
4221
- ], P.prototype, "selected", 2);
4222
- j([
4221
+ ], B.prototype, "selected", 2);
4222
+ F([
4223
4223
  a({ type: Boolean, reflect: !0 })
4224
- ], P.prototype, "disabled", 2);
4225
- j([
4224
+ ], B.prototype, "disabled", 2);
4225
+ F([
4226
4226
  a({ type: Boolean, reflect: !0 })
4227
- ], P.prototype, "fullwidth", 2);
4228
- P = j([
4227
+ ], B.prototype, "fullwidth", 2);
4228
+ B = F([
4229
4229
  g("o-filter-chip")
4230
- ], P);
4231
- var yi = Object.defineProperty, F = (o, t, e, n) => {
4230
+ ], B);
4231
+ var yi = Object.defineProperty, R = (o, t, e, n) => {
4232
4232
  for (var i = void 0, r = o.length - 1, s; r >= 0; r--)
4233
4233
  (s = o[r]) && (i = s(t, e, i) || i);
4234
4234
  return i && yi(t, e, i), i;
@@ -4380,38 +4380,38 @@ ne.styles = v`
4380
4380
  cursor: pointer;
4381
4381
  }
4382
4382
  `;
4383
- let k = ne;
4384
- F([
4383
+ let C = ne;
4384
+ R([
4385
4385
  a({ type: String })
4386
- ], k.prototype, "type");
4387
- F([
4386
+ ], C.prototype, "type");
4387
+ R([
4388
4388
  a({ type: String })
4389
- ], k.prototype, "titleProduct");
4390
- F([
4389
+ ], C.prototype, "titleProduct");
4390
+ R([
4391
4391
  a({ type: String })
4392
- ], k.prototype, "volume");
4393
- F([
4392
+ ], C.prototype, "volume");
4393
+ R([
4394
4394
  a({ type: String })
4395
- ], k.prototype, "perLiter");
4396
- F([
4395
+ ], C.prototype, "perLiter");
4396
+ R([
4397
4397
  a({ type: String })
4398
- ], k.prototype, "mainPrice");
4399
- F([
4398
+ ], C.prototype, "mainPrice");
4399
+ R([
4400
4400
  a({ type: String })
4401
- ], k.prototype, "imageUrl");
4402
- F([
4401
+ ], C.prototype, "imageUrl");
4402
+ R([
4403
4403
  a({ type: String })
4404
- ], k.prototype, "altImage");
4405
- F([
4404
+ ], C.prototype, "altImage");
4405
+ R([
4406
4406
  a({ type: Boolean })
4407
- ], k.prototype, "fullwidth");
4408
- F([
4407
+ ], C.prototype, "fullwidth");
4408
+ R([
4409
4409
  a({ type: String })
4410
- ], k.prototype, "tagText");
4411
- F([
4410
+ ], C.prototype, "tagText");
4411
+ R([
4412
4412
  a({ type: Function })
4413
- ], k.prototype, "onClickTile");
4414
- customElements.define("mini-tile", k);
4413
+ ], C.prototype, "onClickTile");
4414
+ customElements.define("mini-tile", C);
4415
4415
  var mi = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, oe = (o, t, e, n) => {
4416
4416
  for (var i = n > 1 ? void 0 : n ? xi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4417
4417
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -4478,7 +4478,7 @@ var wi = Object.defineProperty, $i = Object.getOwnPropertyDescriptor, z = (o, t,
4478
4478
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4479
4479
  return n && i && wi(t, e, i), i;
4480
4480
  };
4481
- let _ = class extends p {
4481
+ let k = class extends p {
4482
4482
  constructor() {
4483
4483
  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;
4484
4484
  }
@@ -4542,7 +4542,7 @@ let _ = class extends p {
4542
4542
  `;
4543
4543
  }
4544
4544
  };
4545
- _.styles = v`
4545
+ k.styles = v`
4546
4546
  :host {
4547
4547
  --vertical-offset: 24px;
4548
4548
  --horizontal-offset: 24px;
@@ -4622,46 +4622,46 @@ _.styles = v`
4622
4622
  `;
4623
4623
  z([
4624
4624
  a({ type: String, reflect: !0 })
4625
- ], _.prototype, "icon", 2);
4625
+ ], k.prototype, "icon", 2);
4626
4626
  z([
4627
4627
  a({ type: String, reflect: !0 })
4628
- ], _.prototype, "text", 2);
4628
+ ], k.prototype, "text", 2);
4629
4629
  z([
4630
4630
  a({ type: String, reflect: !0 })
4631
- ], _.prototype, "verticalanchor", 2);
4631
+ ], k.prototype, "verticalanchor", 2);
4632
4632
  z([
4633
4633
  a({ type: String, reflect: !0 })
4634
- ], _.prototype, "horizontalanchor", 2);
4634
+ ], k.prototype, "horizontalanchor", 2);
4635
4635
  z([
4636
4636
  a({ type: Number, reflect: !0 })
4637
- ], _.prototype, "verticaloffset", 2);
4637
+ ], k.prototype, "verticaloffset", 2);
4638
4638
  z([
4639
4639
  a({ type: Number, reflect: !0 })
4640
- ], _.prototype, "horizontaloffset", 2);
4640
+ ], k.prototype, "horizontaloffset", 2);
4641
4641
  z([
4642
4642
  a({ type: Number, reflect: !0 })
4643
- ], _.prototype, "animationduration", 2);
4643
+ ], k.prototype, "animationduration", 2);
4644
4644
  z([
4645
4645
  a({ type: String, reflect: !0 })
4646
- ], _.prototype, "animationaxis", 2);
4646
+ ], k.prototype, "animationaxis", 2);
4647
4647
  z([
4648
4648
  a({ type: Boolean, reflect: !0 })
4649
- ], _.prototype, "animated", 2);
4649
+ ], k.prototype, "animated", 2);
4650
4650
  z([
4651
4651
  a({ type: Number, reflect: !0 })
4652
- ], _.prototype, "lifeduration", 2);
4652
+ ], k.prototype, "lifeduration", 2);
4653
4653
  z([
4654
4654
  a({ type: Boolean, reflect: !0 })
4655
- ], _.prototype, "multiline", 2);
4656
- _ = z([
4655
+ ], k.prototype, "multiline", 2);
4656
+ k = z([
4657
4657
  g("o-toast")
4658
- ], _);
4659
- var _i = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
4660
- for (var i = n > 1 ? void 0 : n ? ki(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4658
+ ], k);
4659
+ var ki = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, D = (o, t, e, n) => {
4660
+ for (var i = n > 1 ? void 0 : n ? _i(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4661
4661
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4662
- return n && i && _i(t, e, i), i;
4662
+ return n && i && ki(t, e, i), i;
4663
4663
  };
4664
- let Ci = 0, C = class extends p {
4664
+ let Ci = 0, E = class extends p {
4665
4665
  constructor() {
4666
4666
  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-${++Ci}`);
4667
4667
  }
@@ -4701,7 +4701,7 @@ let Ci = 0, C = class extends p {
4701
4701
  `;
4702
4702
  }
4703
4703
  };
4704
- C.styles = v`
4704
+ E.styles = v`
4705
4705
  :host {
4706
4706
  display: inline-flex;
4707
4707
  align-items: center;
@@ -4807,38 +4807,38 @@ C.styles = v`
4807
4807
  `;
4808
4808
  D([
4809
4809
  a({ type: Boolean, reflect: !0 })
4810
- ], C.prototype, "checked", 2);
4810
+ ], E.prototype, "checked", 2);
4811
4811
  D([
4812
4812
  a({ type: Boolean, reflect: !0 })
4813
- ], C.prototype, "indeterminate", 2);
4813
+ ], E.prototype, "indeterminate", 2);
4814
4814
  D([
4815
4815
  a({ type: Boolean, reflect: !0 })
4816
- ], C.prototype, "disabled", 2);
4816
+ ], E.prototype, "disabled", 2);
4817
4817
  D([
4818
4818
  a({ type: String, reflect: !0 })
4819
- ], C.prototype, "size", 2);
4819
+ ], E.prototype, "size", 2);
4820
4820
  D([
4821
4821
  a({ type: Boolean })
4822
- ], C.prototype, "showLabel", 2);
4822
+ ], E.prototype, "showLabel", 2);
4823
4823
  D([
4824
4824
  a({ type: String })
4825
- ], C.prototype, "label", 2);
4825
+ ], E.prototype, "label", 2);
4826
4826
  D([
4827
4827
  a({ type: String })
4828
- ], C.prototype, "name", 2);
4828
+ ], E.prototype, "name", 2);
4829
4829
  D([
4830
4830
  a({ type: String })
4831
- ], C.prototype, "value", 2);
4831
+ ], E.prototype, "value", 2);
4832
4832
  D([
4833
4833
  a({ type: String, reflect: !0 })
4834
- ], C.prototype, "inputId", 2);
4834
+ ], E.prototype, "inputId", 2);
4835
4835
  D([
4836
- _e("input")
4837
- ], C.prototype, "inputEl", 2);
4838
- C = D([
4836
+ ke("input")
4837
+ ], E.prototype, "inputEl", 2);
4838
+ E = D([
4839
4839
  g("o-checkbox")
4840
- ], C);
4841
- var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, R = (o, t, e, n) => {
4840
+ ], E);
4841
+ var Ei = Object.defineProperty, Si = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
4842
4842
  for (var i = n > 1 ? void 0 : n ? Si(t, e) : t, r = o.length - 1, s; r >= 0; r--)
4843
4843
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
4844
4844
  return n && i && Ei(t, e, i), i;
@@ -4967,37 +4967,37 @@ O.styles = v`
4967
4967
  height: 0;
4968
4968
  }
4969
4969
  `;
4970
- R([
4970
+ U([
4971
4971
  a({ type: Boolean, reflect: !0 })
4972
4972
  ], O.prototype, "checked", 2);
4973
- R([
4973
+ U([
4974
4974
  a({ type: Boolean, reflect: !0 })
4975
4975
  ], O.prototype, "disabled", 2);
4976
- R([
4976
+ U([
4977
4977
  a({ type: String, reflect: !0 })
4978
4978
  ], O.prototype, "size", 2);
4979
- R([
4979
+ U([
4980
4980
  a({ type: Boolean })
4981
4981
  ], O.prototype, "showLabel", 2);
4982
- R([
4982
+ U([
4983
4983
  a({ type: String })
4984
4984
  ], O.prototype, "label", 2);
4985
- R([
4985
+ U([
4986
4986
  a({ type: String })
4987
4987
  ], O.prototype, "name", 2);
4988
- R([
4988
+ U([
4989
4989
  a({ type: String })
4990
4990
  ], O.prototype, "value", 2);
4991
- R([
4991
+ U([
4992
4992
  a({ type: String, reflect: !0 })
4993
4993
  ], O.prototype, "inputId", 2);
4994
- R([
4995
- _e("input")
4994
+ U([
4995
+ ke("input")
4996
4996
  ], O.prototype, "inputEl", 2);
4997
- O = R([
4997
+ O = U([
4998
4998
  g("o-radio")
4999
4999
  ], O);
5000
- var Li = Object.getOwnPropertyDescriptor, Bi = (o, t, e, n) => {
5000
+ var Li = Object.getOwnPropertyDescriptor, Pi = (o, t, e, n) => {
5001
5001
  for (var i = n > 1 ? void 0 : n ? Li(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5002
5002
  (s = o[r]) && (i = s(i) || i);
5003
5003
  return i;
@@ -5025,15 +5025,15 @@ Ut.styles = v`
5025
5025
  padding: var(--spacing-4-xs);
5026
5026
  }
5027
5027
  `;
5028
- Ut = Bi([
5028
+ Ut = Pi([
5029
5029
  g("o-breadcrumbs")
5030
5030
  ], Ut);
5031
- var Pi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
5031
+ var Bi = Object.defineProperty, Oi = Object.getOwnPropertyDescriptor, ie = (o, t, e, n) => {
5032
5032
  for (var i = n > 1 ? void 0 : n ? Oi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5033
5033
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5034
- return n && i && Pi(t, e, i), i;
5034
+ return n && i && Bi(t, e, i), i;
5035
5035
  };
5036
- let _t = class extends p {
5036
+ let kt = class extends p {
5037
5037
  constructor() {
5038
5038
  super(...arguments), this.href = "", this.active = !1;
5039
5039
  }
@@ -5054,7 +5054,7 @@ let _t = class extends p {
5054
5054
  `;
5055
5055
  }
5056
5056
  };
5057
- _t.styles = v`
5057
+ kt.styles = v`
5058
5058
  :host(:not([active]))::after {
5059
5059
  content: "/";
5060
5060
  margin: 0 0.5rem;
@@ -5096,13 +5096,13 @@ _t.styles = v`
5096
5096
  `;
5097
5097
  ie([
5098
5098
  a({ type: String })
5099
- ], _t.prototype, "href", 2);
5099
+ ], kt.prototype, "href", 2);
5100
5100
  ie([
5101
5101
  a({ type: Boolean, reflect: !0 })
5102
- ], _t.prototype, "active", 2);
5103
- _t = ie([
5102
+ ], kt.prototype, "active", 2);
5103
+ kt = ie([
5104
5104
  g("o-breadcrumb")
5105
- ], _t);
5105
+ ], kt);
5106
5106
  var zi = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Ct = (o, t, e, n) => {
5107
5107
  for (var i = n > 1 ? void 0 : n ? Ii(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5108
5108
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
@@ -5260,14 +5260,14 @@ const Di = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5260
5260
  id="path52"
5261
5261
  style="fill:#3F2B2E;fill-opacity:1;fill-rule:nonzero;stroke:none"
5262
5262
  d="m 1647.15,320.5 c -2.07,0 -4.94,-0.199 -8.49,-0.469 -8.68,-0.64 -23.5,-1.062 -37.41,-0.172 -20.4,1.282 -32.01,-0.589 -32.01,-10.687 0,-8.66 8.46,-10.781 15.19,-12.461 11.42,-2.949 17.17,-4.422 17.17,-27.402 l 0.93,-77.731 c 0.5,-38.668 1.03,-80.199 1.26,-103.4296 -51.33,57.4726 -160.86,181.7736 -188.51,217.5116 -6.78,8.68 -10.53,13.449 -17.38,13.449 -9.28,0 -20.13,0.743 -29.55,1.379 -7.55,0.5 -14.21,0.934 -18.55,0.934 -12.43,0 -18.72,-3.953 -18.72,-11.781 0,-10.34 10.9,-11.911 15.93,-12.621 10.36,-1.731 14.33,-3.668 18.82,-7.11 2.1,-1.629 5.01,-3.879 5.01,-26.988 0,-29.461 -3.75,-186.1837 -5.06,-201.8126 -2.12,-24.4688 -4.58,-25.168 -18.72,-29.1485 -6.17,-1.6718 -14.6,-3.9609 -14.6,-12.7421 0,-5.1797 2.84,-11.34771 16.4,-11.34771 1.21,0 3.75,0.23829 7.15,0.61719 11.38,1.22266 33.32,1.64062 46.82,0.3125 25.84,-2.53125 30.46,3.93752 30.46,10.41802 0,9.3593 -9.18,11.8515 -14.53,13.3203 -8.73,2.4922 -15.61,6.5195 -17.27,10.1992 -3.05,6.5234 -4.31,16.8515 -4.31,35.6719 0,10.1093 0.37,54.9488 0.74,98.9808 0.25,28.839 0.47,57.359 0.59,75.558 25.28,-29.508 56.38,-65.5 86.72,-100.609 49.5,-57.2697 96.26,-111.3712 113.23,-132.09 l 1.93,-2.3516 c 3.93,-4.8203 7.75,-9.97652 12.34,-14.19918 3.35,-3.089845 8.47,-4.83985 12.86,-2.871095 3.52,1.570315 5.52,5.300785 6.26,8.941405 0.88,4.26177 0.44,8.69927 0.28,13.01177 -0.59,15.3281 -0.42,31.5898 -0.25,52.0703 0.12,12.1172 0.25,25.7184 0.25,41.4684 0,49.141 1.03,147.141 2.98,161.66 1.58,10.52 2.25,14.879 14.31,18.891 l 2.09,0.75 c 4.07,1.41 11.6,4.027 11.6,12.02 0,4.949 -2.76,10.859 -15.96,10.859" /></g></g></svg>`;
5263
- var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, U = (o, t, e, n) => {
5263
+ var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, H = (o, t, e, n) => {
5264
5264
  for (var i = n > 1 ? void 0 : n ? Mi(t, e) : t, r = o.length - 1, s; r >= 0; r--)
5265
5265
  (s = o[r]) && (i = (n ? s(t, e, i) : s(i)) || i);
5266
5266
  return n && i && Hi(t, e, i), i;
5267
5267
  };
5268
5268
  const re = class re extends p {
5269
5269
  constructor() {
5270
- super(...arguments), this.ispagedesigner = !1, this._classPopin = "", this.open = !1, this.backgroundUrl = "", this.closeOnEsc = !0, this.closeOnBackdrop = !0, this.lockScroll = !0, this.variant = "fullscreen", this.maxWidth = "640px", this._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
5270
+ 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._labelId = `title-${Math.random().toString(36).slice(2)}`, this._onBackdropClick = (t) => {
5271
5271
  var n;
5272
5272
  if (!this.open || !this.closeOnBackdrop) return;
5273
5273
  const e = t.composedPath()[0];
@@ -5287,6 +5287,10 @@ const re = class re extends p {
5287
5287
  document.removeEventListener("keydown", this._onKeydown), super.disconnectedCallback();
5288
5288
  }
5289
5289
  updated(t) {
5290
+ if (t.has("background") || t.has("backgroundUrl")) {
5291
+ let e = "";
5292
+ this.background && this.background.trim() ? e = this.background.trim() : this.backgroundUrl && this.backgroundUrl.trim() && (e = `url('${this.backgroundUrl.trim()}') center/cover no-repeat`), this.style.setProperty("--_bg", e);
5293
+ }
5290
5294
  if (t.has("open") && this.lockScroll) {
5291
5295
  const e = document == null ? void 0 : document.body;
5292
5296
  e && (e.style.overflow = this.open ? "hidden" : ""), this.open ? this.updateComplete.then(() => {
@@ -5319,19 +5323,13 @@ const re = class re extends p {
5319
5323
  @click=${() => this._requestClose("button")}
5320
5324
  ></o-icon-button>
5321
5325
  ` : l`
5322
- <button
5323
- class="close"
5324
- data-close-btn
5325
- aria-label="Close"
5326
- @click=${() => this._requestClose("button")}
5327
- >×</button>
5326
+ <button class="close" data-close-btn aria-label="Close" @click=${() => this._requestClose("button")}>×</button>
5328
5327
  `;
5329
5328
  }
5330
5329
  render() {
5331
- const t = this.backgroundUrl ? `--_bg-image: url('${this.backgroundUrl}')` : "";
5332
5330
  return l`
5333
5331
  ${this.open ? l`<div class="backdrop" part="backdrop" @click=${this._onBackdropClick}></div>` : null}
5334
- <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" style=${t} @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
5332
+ <div class="dialog-wrapper ${this.ispagedesigner ? "intro-pagedesigner" : ""}" @click=${this._onBackdropClick} aria-hidden=${this.open ? "false" : "true"}>
5335
5333
  <section
5336
5334
  class="dialog"
5337
5335
  part="dialog"
@@ -5344,9 +5342,7 @@ const re = class re extends p {
5344
5342
  <div class="brand">
5345
5343
  <span slot="logo">${$(Di)}</span>
5346
5344
  </div>
5347
- <div part="close">
5348
- ${this._renderCloseButton()}
5349
- </div>
5345
+ <div part="close">${this._renderCloseButton()}</div>
5350
5346
  </header>
5351
5347
  <main part="body">
5352
5348
  <slot></slot>
@@ -5373,7 +5369,6 @@ re.styles = v`
5373
5369
  position: relative;
5374
5370
  display: block;
5375
5371
  }
5376
-
5377
5372
  :host([open]) { display: block; }
5378
5373
 
5379
5374
  .backdrop {
@@ -5390,14 +5385,13 @@ re.styles = v`
5390
5385
  place-items: center;
5391
5386
  padding: 0;
5392
5387
  }
5393
-
5394
5388
  .dialog-wrapper.intro-pagedesigner {
5395
- height: 100vh;
5396
- max-height: 900px;
5397
- position: relative;
5389
+ height: 100vh;
5390
+ max-height: 900px;
5391
+ position: relative;
5398
5392
  }
5399
5393
 
5400
- /* Default: FULLSCREEN */
5394
+ /* FULLSCREEN */
5401
5395
  .dialog {
5402
5396
  position: relative;
5403
5397
  width: 100%;
@@ -5412,12 +5406,12 @@ re.styles = v`
5412
5406
  background: var(--color-container-bg-white, #fff);
5413
5407
  }
5414
5408
 
5415
- /* Background image layer */
5409
+ /* Calque de fond */
5416
5410
  .dialog::before {
5417
5411
  content: '';
5418
5412
  position: absolute;
5419
5413
  inset: 0;
5420
- background-image: var(--_bg-image);
5414
+ background: var(--_bg, none); /* couleur / gradient / image */
5421
5415
  background-size: cover;
5422
5416
  background-position: center;
5423
5417
  opacity: 1;
@@ -5438,76 +5432,27 @@ re.styles = v`
5438
5432
  to bottom,
5439
5433
  var(--popin-top-gradient-color, rgba(0, 0, 0, 1)) -168px,
5440
5434
  rgba(0, 0, 0, 0)
5441
- );
5435
+ );
5442
5436
  z-index: 2;
5443
5437
  }
5444
5438
 
5445
- .brand {
5446
- display: inline-flex;
5447
- align-items: center;
5448
- gap: var(--spacing-s, 8px);
5449
- }
5450
- ::slotted([slot="logo"]) {
5451
- display: inline-flex;
5452
- height: 28px; /* tweak as needed */
5453
- line-height: 0;
5454
- }
5455
-
5456
- [slot="logo"] svg {
5457
- width: 176px;
5458
- height: auto;
5459
- }
5460
-
5461
- [slot="logo"] svg path {
5462
- fill: #fff !important;
5463
- }
5464
-
5465
- [part="close"] {
5466
- position: absolute;
5467
- top: 16px;
5468
- right: 36px;
5469
- }
5439
+ .brand { display: inline-flex; align-items: center; gap: var(--spacing-s, 8px); }
5440
+ ::slotted([slot="logo"]) { display: inline-flex; height: 28px; line-height: 0; }
5441
+ [slot="logo"] svg { width: 176px; height: auto; }
5442
+ [slot="logo"] svg path { fill: #fff !important; }
5470
5443
 
5471
- @media (max-width: 767px) {
5472
- [part="close"] {
5473
- right: 8px;
5474
- top: 22px;
5475
- }
5476
- }
5444
+ [part="close"] { position: absolute; top: 16px; right: 36px; }
5445
+ @media (max-width: 767px) { [part="close"] { right: 8px; top: 22px; } }
5477
5446
 
5478
- .close {
5479
- font: inherit;
5480
- border: 0;
5481
- background: transparent;
5482
- cursor: pointer;
5483
- width: 36px; height: 36px;
5484
- border-radius: 999px;
5485
- display: grid; place-items: center;
5486
- }
5447
+ .close { font: inherit; border: 0; background: transparent; cursor: pointer;
5448
+ width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
5487
5449
 
5488
- main[part="body"] {
5489
- position: relative;
5490
- z-index: 1;
5491
- padding: 0;
5492
- overflow: auto;
5493
- height: 100%;
5494
- }
5450
+ main[part="body"] { position: relative; z-index: 1; padding: 0; overflow: auto; height: 100%; }
5495
5451
 
5496
5452
  /* Variant: dialog */
5497
- :host([variant="dialog"]) .dialog {
5498
- width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px)));
5499
- max-height: min(86vh, 100%);
5500
- border-radius: var(--_radius);
5501
- box-shadow: var(--_shadow);
5502
- }
5503
-
5504
- :host([variant="dialog"]) .dialog-wrapper {
5505
- place-items: center;
5506
- }
5507
-
5508
- :host([variant="dialog"]) main[part="body"] {
5509
- height: auto;
5510
- }
5453
+ :host([variant="dialog"]) .dialog { width: min(var(--_max-width), calc(100vw - 2 * var(--spacing-l, 24px))); max-height: min(86vh, 100%); border-radius: var(--_radius); box-shadow: var(--_shadow); }
5454
+ :host([variant="dialog"]) .dialog-wrapper { place-items: center; }
5455
+ :host([variant="dialog"]) main[part="body"] { height: auto; }
5511
5456
 
5512
5457
  /* Open animation */
5513
5458
  :host([open]) .dialog { animation: popin-in .18s ease; }
@@ -5515,37 +5460,39 @@ re.styles = v`
5515
5460
  from { transform: translateY(10px) scale(.98); opacity: 0; }
5516
5461
  to { transform: translateY(0) scale(1); opacity: 1; }
5517
5462
  }
5518
-
5519
5463
  `;
5520
- let E = re;
5521
- U([
5464
+ let _ = re;
5465
+ H([
5522
5466
  a({ type: Boolean, reflect: !0 })
5523
- ], E.prototype, "ispagedesigner", 2);
5524
- U([
5467
+ ], _.prototype, "ispagedesigner", 2);
5468
+ H([
5525
5469
  a({ type: String, reflect: !0 })
5526
- ], E.prototype, "classPopin", 1);
5527
- U([
5470
+ ], _.prototype, "classPopin", 1);
5471
+ H([
5528
5472
  a({ type: Boolean, reflect: !0 })
5529
- ], E.prototype, "open", 2);
5530
- U([
5531
- a({ type: String, attribute: "background-url" })
5532
- ], E.prototype, "backgroundUrl", 2);
5533
- U([
5473
+ ], _.prototype, "open", 2);
5474
+ H([
5475
+ a({ type: String, reflect: !0 })
5476
+ ], _.prototype, "background", 2);
5477
+ H([
5478
+ a({ type: String, attribute: "background-url", reflect: !0 })
5479
+ ], _.prototype, "backgroundUrl", 2);
5480
+ H([
5534
5481
  a({ type: Boolean, attribute: "close-on-esc" })
5535
- ], E.prototype, "closeOnEsc", 2);
5536
- U([
5482
+ ], _.prototype, "closeOnEsc", 2);
5483
+ H([
5537
5484
  a({ type: Boolean, attribute: "close-on-backdrop" })
5538
- ], E.prototype, "closeOnBackdrop", 2);
5539
- U([
5485
+ ], _.prototype, "closeOnBackdrop", 2);
5486
+ H([
5540
5487
  a({ type: Boolean, attribute: "lock-scroll" })
5541
- ], E.prototype, "lockScroll", 2);
5542
- U([
5488
+ ], _.prototype, "lockScroll", 2);
5489
+ H([
5543
5490
  a({ type: String, reflect: !0 })
5544
- ], E.prototype, "variant", 2);
5545
- U([
5491
+ ], _.prototype, "variant", 2);
5492
+ H([
5546
5493
  a({ type: String, attribute: "max-width" })
5547
- ], E.prototype, "maxWidth", 2);
5548
- U([
5494
+ ], _.prototype, "maxWidth", 2);
5495
+ H([
5549
5496
  J()
5550
- ], E.prototype, "_labelId", 2);
5551
- customElements.define("o-popin", E);
5497
+ ], _.prototype, "_labelId", 2);
5498
+ customElements.define("o-popin", _);