@florid-kit/components 2.6.8 → 2.6.10

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.
@@ -30,6 +30,11 @@ declare const baseIconRegistry: {
30
30
  readonly sliderRightArrow: string;
31
31
  };
32
32
  export declare function onOccIconsLoaded(callback: () => void): () => void;
33
+ /**
34
+ * Pre-register OCC icons eagerly. Called by index.ts (webpack/bundle path)
35
+ * so that all icons are available synchronously without dynamic import.
36
+ */
37
+ export declare function registerOccIcons(registry: Record<string, Record<string, string>>): void;
33
38
  export type { OccIconName } from './icons-occ';
34
39
  export type IconName = keyof typeof baseIconRegistry | OccIconName;
35
40
  export type IconLogicalSize = "xsmall" | "small" | "medium" | "large";
@@ -3,7 +3,7 @@ import "../property-8EkRXcYy.mjs";
3
3
  import "../css-r3TDS8Ma.mjs";
4
4
  import "../element-internals-Dw7LndlH.mjs";
5
5
  import { O as n, v as s } from "./side-panel.mjs";
6
- import "../unsafe-svg-CRYN20gz.mjs";
6
+ import "../unsafe-svg-Dtdj_vMx.mjs";
7
7
  export {
8
8
  n as OccitaneButton,
9
9
  s as variants
@@ -1,7 +1,7 @@
1
1
  import { i as m, m as y, a as w, x as p, t as x } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n as c } from "../property-8EkRXcYy.mjs";
3
3
  import { r as f } from "../state-BvkYxy1c.mjs";
4
- import { o as _, i as k, a as $ } from "../unsafe-svg-CRYN20gz.mjs";
4
+ import { o as _, i as k, a as $ } from "../unsafe-svg-Dtdj_vMx.mjs";
5
5
  import { o as l } from "../if-defined-BaFqfNKT.mjs";
6
6
  var I = Object.defineProperty, O = Object.getOwnPropertyDescriptor, r = (e, i, o, t) => {
7
7
  for (var n = t > 1 ? void 0 : t ? O(i, o) : i, s = e.length - 1, d; s >= 0; s--)
@@ -1,7 +1,7 @@
1
1
  import { i as u, m as v, a as b, x as s, t as f } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n as l } from "../property-8EkRXcYy.mjs";
3
3
  import { r as h } from "../state-BvkYxy1c.mjs";
4
- import { o as g, i as y, a as p } from "../unsafe-svg-CRYN20gz.mjs";
4
+ import { o as g, i as y, a as p } from "../unsafe-svg-Dtdj_vMx.mjs";
5
5
  var m = Object.defineProperty, w = Object.getOwnPropertyDescriptor, n = (e, t, r, o) => {
6
6
  for (var i = o > 1 ? void 0 : o ? w(t, r) : t, c = e.length - 1, d; c >= 0; c--)
7
7
  (d = e[c]) && (i = (o ? d(t, r, i) : d(i)) || i);
@@ -2,7 +2,7 @@ import { m as b, a as u, i as p, x as o, E as l, t as f } from "../performance-m
2
2
  import { n as s } from "../property-8EkRXcYy.mjs";
3
3
  import { f as v } from "../css-r3TDS8Ma.mjs";
4
4
  import { m as g } from "../element-internals-Dw7LndlH.mjs";
5
- import { b as m, a as y } from "../unsafe-svg-CRYN20gz.mjs";
5
+ import { b as m, a as y } from "../unsafe-svg-Dtdj_vMx.mjs";
6
6
  import "./icon-button.mjs";
7
7
  var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t, i, a, c) => {
8
8
  for (var n = c > 1 ? void 0 : c ? k(i, a) : i, h = t.length - 1, d; h >= 0; h--)
@@ -1,6 +1,6 @@
1
1
  import { i as y, m as f, E as g, x as h, a as x, t as m } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n as s } from "../property-8EkRXcYy.mjs";
3
- import { r as d, o as w, a as p } from "../unsafe-svg-CRYN20gz.mjs";
3
+ import { c as d, o as w, a as p } from "../unsafe-svg-Dtdj_vMx.mjs";
4
4
  import { o as k } from "../if-defined-BaFqfNKT.mjs";
5
5
  import { f as $, s as S } from "../css-r3TDS8Ma.mjs";
6
6
  var O = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, r = (t, i, e, c) => {
@@ -0,0 +1,105 @@
1
+ import { i as u, m as c, a as d, x as p, t as m } from "../performance-mixin-vBVz5Iib.mjs";
2
+ import { n as h } from "../property-8EkRXcYy.mjs";
3
+ var _ = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (e, t, s, i) => {
4
+ for (var r = i > 1 ? void 0 : i ? g(t, s) : t, l = e.length - 1, a; l >= 0; l--)
5
+ (a = e[l]) && (r = (i ? a(t, s, r) : a(r)) || r);
6
+ return i && r && _(t, s, r), r;
7
+ };
8
+ let o = class extends c(d) {
9
+ constructor() {
10
+ super(...arguments), this.layout = "row", this.columns = 3, this._lockedHeight = null, this._mutationObserver = null;
11
+ }
12
+ connectedCallback() {
13
+ var e;
14
+ super.connectedCallback(), this.hasAttribute("columns") && this.style.setProperty("--option-tile-group-columns", String(this.columns)), this._setupObserver(), this._scheduleRemeasure(), (e = document.fonts) == null || e.ready.then(() => this._scheduleRemeasure());
15
+ }
16
+ disconnectedCallback() {
17
+ var e;
18
+ super.disconnectedCallback(), (e = this._mutationObserver) == null || e.disconnect(), this._mutationObserver = null, this._retryFrame && cancelAnimationFrame(this._retryFrame);
19
+ }
20
+ _setupObserver() {
21
+ var e;
22
+ (e = this._mutationObserver) == null || e.disconnect(), this._mutationObserver = new MutationObserver((t) => {
23
+ const s = t.some((r) => r.attributeName === "selected"), i = t.some((r) => r.attributeName === "description-expanded");
24
+ s ? this._clearAndRemeasure() : i && this._applyLockedHeight();
25
+ }), this._mutationObserver.observe(this, {
26
+ subtree: !0,
27
+ attributes: !0,
28
+ attributeFilter: ["description-expanded", "selected"]
29
+ });
30
+ }
31
+ _clearAndRemeasure() {
32
+ this._lockedHeight = null, this._tiles().forEach((e) => e.style.removeProperty("height")), this._scheduleRemeasure();
33
+ }
34
+ _scheduleRemeasure() {
35
+ this._retryFrame && cancelAnimationFrame(this._retryFrame), this._retryFrame = requestAnimationFrame(() => {
36
+ this._retryFrame = void 0, this._tryMeasureAndLock(), this._lockedHeight === null && (this._retryFrame = requestAnimationFrame(() => {
37
+ this._retryFrame = void 0, this._tryMeasureAndLock(), this._lockedHeight === null && setTimeout(() => this._tryMeasureAndLock(), 200);
38
+ }));
39
+ });
40
+ }
41
+ _tryMeasureAndLock() {
42
+ if (this._lockedHeight !== null) return;
43
+ const e = this._tiles().filter((t) => !t.hasAttribute("description-expanded")).map((t) => t.getBoundingClientRect().height).filter((t) => t > 0);
44
+ e.length && (this._lockedHeight = Math.ceil(Math.max(...e)), this._applyLockedHeight());
45
+ }
46
+ _applyLockedHeight() {
47
+ this._lockedHeight !== null && this._tiles().forEach((e) => {
48
+ e.hasAttribute("description-expanded") ? e.style.removeProperty("height") : e.style.height = `${this._lockedHeight}px`;
49
+ });
50
+ }
51
+ _tiles() {
52
+ return Array.from(this.querySelectorAll("o-option-tile"));
53
+ }
54
+ render() {
55
+ return p`<div class="group" part="group"><slot @slotchange=${this._clearAndRemeasure}></slot></div>`;
56
+ }
57
+ };
58
+ o.styles = u`
59
+ :host {
60
+ display: block;
61
+ }
62
+
63
+ .group {
64
+ display: flex;
65
+ flex-direction: row;
66
+ overflow-x: auto;
67
+ gap: var(--option-tile-group-gap, 12px);
68
+ align-items: flex-start;
69
+ padding-bottom: 4px;
70
+ }
71
+
72
+ :host([layout="grid"]) .group {
73
+ display: grid;
74
+ grid-template-columns: repeat(var(--option-tile-group-columns, 3), 1fr);
75
+ align-items: start;
76
+ overflow-x: unset;
77
+ }
78
+
79
+ /* Make tiles fill their grid column by overriding the tile's own width CSS variable */
80
+ :host([layout="grid"]) {
81
+ --option-tile-width: 100%;
82
+ --option-tile-width-desktop: 100%;
83
+ }
84
+
85
+ ::slotted(o-option-tile) {
86
+ flex: 0 0 auto;
87
+ }
88
+
89
+ :host([layout="grid"]) ::slotted(o-option-tile) {
90
+ flex: unset;
91
+ width: 100%;
92
+ }
93
+ `;
94
+ n([
95
+ h({ type: String, reflect: !0 })
96
+ ], o.prototype, "layout", 2);
97
+ n([
98
+ h({ type: Number, reflect: !0 })
99
+ ], o.prototype, "columns", 2);
100
+ o = n([
101
+ m("o-option-tile-group")
102
+ ], o);
103
+ export {
104
+ o as OccitaneOptionTileGroup
105
+ };
@@ -1,7 +1,7 @@
1
1
  import { m as u, a as g, x as s, i as f } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n } from "../property-8EkRXcYy.mjs";
3
3
  import { r as h } from "../state-BvkYxy1c.mjs";
4
- import { a as m } from "../unsafe-svg-CRYN20gz.mjs";
4
+ import { a as m } from "../unsafe-svg-Dtdj_vMx.mjs";
5
5
  import "./icon-button.mjs";
6
6
  const b = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
7
7
  <svg
@@ -2,7 +2,7 @@ import { E as p, i as k, a as x, m as C, x as h, t as B } from "../performance-m
2
2
  import { n as s } from "../property-8EkRXcYy.mjs";
3
3
  import { f as w } from "../css-r3TDS8Ma.mjs";
4
4
  import { i as S, m as A } from "../element-internals-Dw7LndlH.mjs";
5
- import { o as P, i as _, a as I } from "../unsafe-svg-CRYN20gz.mjs";
5
+ import { o as P, i as _, a as I } from "../unsafe-svg-Dtdj_vMx.mjs";
6
6
  import "./icon-button.mjs";
7
7
  import { i as z, t as F, e as L } from "../directive-oAbCiebi.mjs";
8
8
  import { f as O } from "../directive-helpers-CjGdYF2i.mjs";
@@ -1,6 +1,6 @@
1
1
  import { i as f, m as p, a as u, x as m, t as d } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n as a } from "../property-8EkRXcYy.mjs";
3
- import { t as v, a as g } from "../unsafe-svg-CRYN20gz.mjs";
3
+ import { t as v, a as g } from "../unsafe-svg-Dtdj_vMx.mjs";
4
4
  import "./icon-button.mjs";
5
5
  var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, o = (t, i, r, s) => {
6
6
  for (var n = s > 1 ? void 0 : s ? x(i, r) : i, l = t.length - 1, c; l >= 0; l--)
@@ -1,6 +1,6 @@
1
1
  import { i as u, m as d, a as p, x as h, t as b } from "../performance-mixin-vBVz5Iib.mjs";
2
2
  import { n as r } from "../property-8EkRXcYy.mjs";
3
- import { o as g, i as y, a as f } from "../unsafe-svg-CRYN20gz.mjs";
3
+ import { o as g, i as y, a as f } from "../unsafe-svg-Dtdj_vMx.mjs";
4
4
  import { f as v, s as w } from "../css-r3TDS8Ma.mjs";
5
5
  var m = Object.defineProperty, S = Object.getOwnPropertyDescriptor, o = (t, i, a, n) => {
6
6
  for (var e = n > 1 ? void 0 : n ? S(i, a) : i, l = t.length - 1, c; l >= 0; l--)
package/index.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import { occIconRegistry as r } from "./icons-occ-DW--7nRr.mjs";
2
+ import { r as o } from "./unsafe-svg-Dtdj_vMx.mjs";
1
3
  import "./components/side-panel.mjs";
2
4
  import "./components/wishlist-button.mjs";
3
5
  import "./components/icon-button.mjs";
@@ -35,105 +37,5 @@ import "./components/textarea.mjs";
35
37
  import "./components/search-input.mjs";
36
38
  import "./components/search-input-dropdown.mjs";
37
39
  import "./components/option-tile.mjs";
38
- import { i as m, m as h, a as u, x as c, t as d } from "./performance-mixin-vBVz5Iib.mjs";
39
- import { n as p } from "./property-8EkRXcYy.mjs";
40
- var _ = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (t, e, o, r) => {
41
- for (var i = r > 1 ? void 0 : r ? g(e, o) : e, l = t.length - 1, a; l >= 0; l--)
42
- (a = t[l]) && (i = (r ? a(e, o, i) : a(i)) || i);
43
- return r && i && _(e, o, i), i;
44
- };
45
- let s = class extends h(u) {
46
- constructor() {
47
- super(...arguments), this.layout = "row", this.columns = 3, this._lockedHeight = null, this._mutationObserver = null;
48
- }
49
- connectedCallback() {
50
- var t;
51
- super.connectedCallback(), this.hasAttribute("columns") && this.style.setProperty("--option-tile-group-columns", String(this.columns)), this._setupObserver(), this._scheduleRemeasure(), (t = document.fonts) == null || t.ready.then(() => this._scheduleRemeasure());
52
- }
53
- disconnectedCallback() {
54
- var t;
55
- super.disconnectedCallback(), (t = this._mutationObserver) == null || t.disconnect(), this._mutationObserver = null, this._retryFrame && cancelAnimationFrame(this._retryFrame);
56
- }
57
- _setupObserver() {
58
- var t;
59
- (t = this._mutationObserver) == null || t.disconnect(), this._mutationObserver = new MutationObserver((e) => {
60
- const o = e.some((i) => i.attributeName === "selected"), r = e.some((i) => i.attributeName === "description-expanded");
61
- o ? this._clearAndRemeasure() : r && this._applyLockedHeight();
62
- }), this._mutationObserver.observe(this, {
63
- subtree: !0,
64
- attributes: !0,
65
- attributeFilter: ["description-expanded", "selected"]
66
- });
67
- }
68
- _clearAndRemeasure() {
69
- this._lockedHeight = null, this._tiles().forEach((t) => t.style.removeProperty("height")), this._scheduleRemeasure();
70
- }
71
- _scheduleRemeasure() {
72
- this._retryFrame && cancelAnimationFrame(this._retryFrame), this._retryFrame = requestAnimationFrame(() => {
73
- this._retryFrame = void 0, this._tryMeasureAndLock(), this._lockedHeight === null && (this._retryFrame = requestAnimationFrame(() => {
74
- this._retryFrame = void 0, this._tryMeasureAndLock(), this._lockedHeight === null && setTimeout(() => this._tryMeasureAndLock(), 200);
75
- }));
76
- });
77
- }
78
- _tryMeasureAndLock() {
79
- if (this._lockedHeight !== null) return;
80
- const t = this._tiles().filter((e) => !e.hasAttribute("description-expanded")).map((e) => e.getBoundingClientRect().height).filter((e) => e > 0);
81
- t.length && (this._lockedHeight = Math.ceil(Math.max(...t)), this._applyLockedHeight());
82
- }
83
- _applyLockedHeight() {
84
- this._lockedHeight !== null && this._tiles().forEach((t) => {
85
- t.hasAttribute("description-expanded") ? t.style.removeProperty("height") : t.style.height = `${this._lockedHeight}px`;
86
- });
87
- }
88
- _tiles() {
89
- return Array.from(this.querySelectorAll("o-option-tile"));
90
- }
91
- render() {
92
- return c`<div class="group" part="group"><slot @slotchange=${this._clearAndRemeasure}></slot></div>`;
93
- }
94
- };
95
- s.styles = m`
96
- :host {
97
- display: block;
98
- }
99
-
100
- .group {
101
- display: flex;
102
- flex-direction: row;
103
- overflow-x: auto;
104
- gap: var(--option-tile-group-gap, 12px);
105
- align-items: flex-start;
106
- padding-bottom: 4px;
107
- }
108
-
109
- :host([layout="grid"]) .group {
110
- display: grid;
111
- grid-template-columns: repeat(var(--option-tile-group-columns, 3), 1fr);
112
- align-items: start;
113
- overflow-x: unset;
114
- }
115
-
116
- /* Make tiles fill their grid column by overriding the tile's own width CSS variable */
117
- :host([layout="grid"]) {
118
- --option-tile-width: 100%;
119
- --option-tile-width-desktop: 100%;
120
- }
121
-
122
- ::slotted(o-option-tile) {
123
- flex: 0 0 auto;
124
- }
125
-
126
- :host([layout="grid"]) ::slotted(o-option-tile) {
127
- flex: unset;
128
- width: 100%;
129
- }
130
- `;
131
- n([
132
- p({ type: String, reflect: !0 })
133
- ], s.prototype, "layout", 2);
134
- n([
135
- p({ type: Number, reflect: !0 })
136
- ], s.prototype, "columns", 2);
137
- s = n([
138
- d("o-option-tile-group")
139
- ], s);
40
+ import "./components/option-tile-group.mjs";
41
+ o(r);
package/loader.mjs CHANGED
@@ -24,6 +24,7 @@ const r = {
24
24
  "o-medium-tile": () => import("./components/mediumtile.mjs"),
25
25
  "mini-tile": () => import("./components/minitile.mjs"),
26
26
  "o-option-tile": () => import("./components/option-tile.mjs"),
27
+ "o-option-tile-group": () => import("./components/option-tile-group.mjs"),
27
28
  "o-popin": () => import("./components/popin.mjs"),
28
29
  "o-radio": () => import("./components/radio.mjs"),
29
30
  "o-reassurance": () => import("./components/reassurance.mjs"),
@@ -40,26 +41,26 @@ const r = {
40
41
  }, a = document.createElement("style");
41
42
  a.textContent = `${Object.keys(r).join(":not(:defined),")}:not(:defined){opacity:0;max-height:0;overflow:hidden}`;
42
43
  document.head.appendChild(a);
43
- const m = /* @__PURE__ */ new Set();
44
- function p(n = document) {
44
+ const p = /* @__PURE__ */ new Set();
45
+ function m(n = document) {
45
46
  const t = /* @__PURE__ */ new Set();
46
47
  n.querySelectorAll("*").forEach((o) => {
47
48
  const e = o.tagName.toLowerCase();
48
- r[e] && !m.has(e) && t.add(e);
49
+ r[e] && !p.has(e) && t.add(e);
49
50
  });
50
51
  const i = [];
51
52
  for (const o of t)
52
- m.add(o), i.push(r[o]());
53
+ p.add(o), i.push(r[o]());
53
54
  return Promise.allSettled(i);
54
55
  }
55
- document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => p()) : p();
56
+ document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => m()) : m();
56
57
  const d = new MutationObserver((n) => {
57
58
  let t = !1;
58
59
  for (const i of n) {
59
60
  for (const o of Array.from(i.addedNodes))
60
61
  if (o instanceof Element) {
61
62
  const e = o.tagName.toLowerCase();
62
- if (r[e] && !m.has(e)) {
63
+ if (r[e] && !p.has(e)) {
63
64
  t = !0;
64
65
  break;
65
66
  }
@@ -70,12 +71,12 @@ const d = new MutationObserver((n) => {
70
71
  }
71
72
  if (t) break;
72
73
  }
73
- t && p();
74
+ t && m();
74
75
  });
75
76
  d.observe(document.documentElement, {
76
77
  childList: !0,
77
78
  subtree: !0
78
79
  });
79
80
  export {
80
- p as loadComponents
81
+ m as loadComponents
81
82
  };
package/package.json CHANGED
@@ -1,21 +1,25 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "2.6.8",
4
- "main": "index.js",
3
+ "version": "2.6.10",
4
+ "main": "index.mjs",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",
7
7
  "description": "This library was generated with [Nx](https://nx.dev).",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./index.d.ts",
11
+ "require": "./index.mjs",
10
12
  "import": "./index.mjs",
11
- "types": "./index.d.ts"
13
+ "default": "./index.mjs"
12
14
  },
13
15
  "./loader": {
14
16
  "import": "./loader.mjs",
17
+ "default": "./loader.mjs",
15
18
  "types": "./loader.d.ts"
16
19
  },
17
20
  "./components/*": {
18
21
  "import": "./components/*.mjs",
22
+ "default": "./components/*.mjs",
19
23
  "types": "./components/*.d.ts"
20
24
  }
21
25
  },
@@ -50,10 +50,10 @@ const d = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="ht
50
50
  `, y = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
51
51
  <path d="M15.0009 8.12175C15.0009 8.36347 14.805 8.55943 14.5634 8.55943H2.49495L7.43502 13.5017C7.60609 13.6726 7.60628 13.9499 7.43546 14.1211C7.26464 14.2922 6.98749 14.2924 6.81642 14.1215L1.13 8.43163C1.04685 8.34998 1 8.23831 1 8.12175C1 8.00518 1.04685 7.89351 1.13 7.81187L6.81642 2.12286C6.98808 1.95699 7.26094 1.95937 7.4297 2.12819C7.59845 2.29702 7.60082 2.57001 7.43502 2.74175L2.49495 7.68406H14.5634C14.805 7.68406 15.0009 7.88002 15.0009 8.12175Z" fill="#3F2B2E"/>
52
52
  </svg>
53
- `, k = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
53
+ `, I = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
54
54
  <path d="M14.1218 7.43502C13.9504 7.60543 13.6735 7.60543 13.5021 7.43502L8.55961 2.49408V14.5625C8.55961 14.8041 8.36365 15 8.12192 15C7.88018 15 7.68422 14.8041 7.68422 14.5625V2.49408L2.74177 7.43502C2.57002 7.60082 2.29703 7.59845 2.1282 7.4297C1.95936 7.26094 1.95699 6.98808 2.12287 6.81642L7.81203 1.13C7.89368 1.04685 8.00535 1 8.12192 1C8.23848 1 8.35015 1.04685 8.4318 1.13L14.121 6.81642C14.2921 6.98702 14.2925 7.26395 14.1218 7.43502Z" fill="#3F2B2E"/>
55
55
  </svg>
56
- `, I = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
56
+ `, k = `<svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
57
57
  <path d="M6.33317 8.00033C6.33317 3.95024 7.52708 0.666992 8.99984 0.666992C10.4726 0.666992 11.6665 3.95024 11.6665 8.00033M5.33317 15.3337H12.6665L16.3332 6.20033C14.9582 5.76699 12.2998 5.33366 8.99984 5.33366C5.69984 5.33366 3.49984 5.76699 1.6665 6.20033L5.33317 15.3337Z" stroke="#3F2B2E"/>
58
58
  </svg>
59
59
  `, S = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -68,14 +68,14 @@ const d = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="ht
68
68
  `, G = `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
69
69
  <path d="M5.24611 10.4659C5.04705 10.4654 4.85616 10.3867 4.71465 10.2467L0.210718 5.74273C-0.0737595 5.44819 -0.0696911 4.98 0.219862 4.69045C0.509415 4.4009 0.977603 4.39683 1.27214 4.6813L5.18306 8.59071L10.6628 1.74024C10.9219 1.41646 11.3945 1.36403 11.7183 1.62314C12.042 1.88225 12.0945 2.35477 11.8354 2.67856L5.83012 10.1851C5.69763 10.3521 5.49956 10.4539 5.28665 10.4643L5.24611 10.4659Z" fill="#3F2B2E"/>
70
70
  </svg>
71
- `, _ = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
71
+ `, O = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
72
72
  <rect x="1" width="2" height="8" fill="#3F2B2E"/>
73
73
  <rect x="5" width="2" height="8" fill="#3F2B2E"/>
74
74
  </svg>
75
- `, $ = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
75
+ `, _ = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
76
76
  <path d="M10.5037 5.99925C10.7795 5.99925 11.0037 6.22311 11.0037 6.49925V14.2922L13.1462 12.1448C13.3411 11.9498 13.6573 11.95 13.8523 12.1448H13.8533C14.0482 12.34 14.0481 12.6565 13.8533 12.8518L10.8572 15.8518C10.6618 16.0471 10.3455 16.0471 10.1501 15.8518L7.15406 12.8518C6.96522 12.6557 6.96774 12.3444 7.15992 12.1516C7.35242 11.9588 7.66416 11.9556 7.86011 12.1448L10.0046 14.2922V6.49925C10.0046 6.22319 10.228 5.99938 10.5037 5.99925ZM5.15699 0.145737C5.35218 -0.0485278 5.66791 -0.0486304 5.86304 0.145737L8.85913 3.14574C9.04829 3.34183 9.04562 3.65402 8.85327 3.84691C8.66066 4.03978 8.34902 4.04225 8.15308 3.85277L6.00952 1.70628V9.49925C6.0095 9.77533 5.78621 9.99918 5.5105 9.99925C5.23473 9.99925 5.0115 9.77538 5.01148 9.49925V1.70628L2.86695 3.85179C2.74288 3.98695 2.55447 4.04321 2.37671 3.99828C2.1991 3.95328 2.06051 3.81475 2.01538 3.63695C1.97026 3.45902 2.02608 3.27015 2.16089 3.14574L5.15699 0.145737Z" fill="#001022"/>
77
77
  </svg>
78
- `, O = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
78
+ `, $ = `<svg viewBox="0 0 200 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg">
79
79
  <line x1="0" y1="0" x2="200" y2="200" />
80
80
  </svg>`, T = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
81
81
  <path d="M2.31202e-08 7.85218C0.974855 6.83983 3.01741 4.44477 6.12766 0.666992L6.54545 0.926252C5.54739 3.04971 4.35203 5.40773 2.95938 8.00033C4.35203 10.5929 5.54739 12.9509 6.54545 15.0744L6.12766 15.3337C3.01741 11.5559 0.974855 9.16082 0 8.14847L2.31202e-08 7.85218Z" fill="#3F2B2E"/>
@@ -116,14 +116,14 @@ const d = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="ht
116
116
  cross: Z,
117
117
  search: E,
118
118
  arrowLeft: y,
119
- arrowTop: k,
120
- cart: I,
119
+ arrowTop: I,
120
+ cart: k,
121
121
  notifyme: S,
122
122
  triangledown: b,
123
123
  triangleup: A,
124
124
  checkstroke: G,
125
- pause: _,
126
- mapDualArrow: $,
125
+ pause: O,
126
+ mapDualArrow: _,
127
127
  swipeDualArrow: T,
128
128
  backToBag: z,
129
129
  checkbox: D,
@@ -132,41 +132,46 @@ const d = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="ht
132
132
  };
133
133
  let o = null, h = null;
134
134
  const l = /* @__PURE__ */ new Set();
135
- function e1(t) {
135
+ function o1(t) {
136
136
  return o ? (t(), () => {
137
137
  }) : (l.add(t), () => l.delete(t));
138
138
  }
139
- function W() {
140
- o || h || (h = import("./icons-occ-DW--7nRr.mjs").then((t) => {
141
- o = t.occIconRegistry;
139
+ function W(t) {
140
+ if (!o) {
141
+ o = t;
142
142
  for (const [n, e] of Object.entries(o)) {
143
143
  const s = e;
144
- U[n] = s.medium ?? s.small ?? s.large ?? "";
144
+ Y[n] = s.medium ?? s.small ?? s.large ?? "";
145
145
  }
146
146
  for (const n of l) n();
147
147
  l.clear();
148
+ }
149
+ }
150
+ function X() {
151
+ o || h || (h = import("./icons-occ-DW--7nRr.mjs").then((t) => {
152
+ W(t.occIconRegistry);
148
153
  }));
149
154
  }
150
- const X = (t) => t.startsWith("occ-"), J = {
155
+ const J = (t) => t.startsWith("occ-"), K = {
151
156
  xsmall: 8,
152
157
  small: 12,
153
158
  medium: 16,
154
159
  large: 24
155
- }, K = (t) => t === "xsmall" ? "small" : t, Q = (t, n, e) => {
160
+ }, Q = (t) => t === "xsmall" ? "small" : t, U = (t, n, e) => {
156
161
  if (!o) return "";
157
162
  const s = o[t];
158
163
  if (!s) return "";
159
164
  if (e) {
160
- const i = K(n);
165
+ const i = Q(n);
161
166
  return s[i] ?? s.large ?? s.medium ?? s.small ?? "";
162
167
  }
163
168
  return s.large ?? s.medium ?? s.small ?? "";
164
- }, o1 = (t, { size: n, bgstyle: e }) => {
165
- const s = J[n], i = e === "none-light" || e === "none-contrast";
166
- return X(t) ? (W(), { svg: Q(t, n, i), pixelSize: s, shouldApplyLogicalSize: i }) : { svg: C[t] ?? "", pixelSize: s, shouldApplyLogicalSize: i };
167
- }, U = { ...C }, i1 = {
168
- strikeDiagonal: O
169
- }, l1 = {
169
+ }, i1 = (t, { size: n, bgstyle: e }) => {
170
+ const s = K[n], i = e === "none-light" || e === "none-contrast";
171
+ return J(t) ? (X(), { svg: U(t, n, i), pixelSize: s, shouldApplyLogicalSize: i }) : { svg: C[t] ?? "", pixelSize: s, shouldApplyLogicalSize: i };
172
+ }, Y = { ...C }, l1 = {
173
+ strikeDiagonal: $
174
+ }, w1 = {
170
175
  success: N,
171
176
  error: R,
172
177
  info: P
@@ -199,12 +204,13 @@ w.directiveName = "unsafeHTML", w.resultType = 1;
199
204
  class r extends w {
200
205
  }
201
206
  r.directiveName = "unsafeSVG", r.resultType = 2;
202
- const w1 = c(r);
207
+ const r1 = c(r);
203
208
  export {
204
- w1 as a,
205
- i1 as b,
206
- U as i,
207
- e1 as o,
208
- o1 as r,
209
- l1 as t
209
+ r1 as a,
210
+ l1 as b,
211
+ i1 as c,
212
+ Y as i,
213
+ o1 as o,
214
+ W as r,
215
+ w1 as t
210
216
  };