@stokelp/ui 2.49.0 → 2.49.2

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/dist/ui.js CHANGED
@@ -15,20 +15,20 @@ import { defineGlobalStyles as sa, defineKeyframes as Ma, defineRecipe as a1, de
15
15
  const K7 = (...h) => h.filter(Boolean).join(" "), J = (h, p) => {
16
16
  const o = $0(null);
17
17
  return {
18
- withContext: (_, V, m) => V ? K((F, W) => {
18
+ withContext: (_, V, m) => V ? K((P, W) => {
19
19
  const q = G0(o), D1 = (p == null ? void 0 : p.dataAttr) ?? !1;
20
20
  return U0(_, {
21
21
  ...D1 && { "data-recipe-slot": V ?? "" },
22
22
  ...m == null ? void 0 : m.defaultProps,
23
- ...F,
24
- className: K7(q == null ? void 0 : q[V ?? ""], F.className),
23
+ ...P,
24
+ className: K7(q == null ? void 0 : q[V ?? ""], P.className),
25
25
  ref: W
26
26
  });
27
27
  }) : _,
28
- withProvider: (_, V, m) => K((F, W) => {
28
+ withProvider: (_, V, m) => K((P, W) => {
29
29
  const [q, { children: D1, ...w1 }] = h.splitVariantProps({
30
30
  ...m == null ? void 0 : m.defaultProps,
31
- ...F
31
+ ...P
32
32
  }), M1 = h(q), R1 = (p == null ? void 0 : p.dataAttr) ?? !1;
33
33
  return /* @__PURE__ */ C(o.Provider, { value: M1, children: /* @__PURE__ */ r(
34
34
  _,
@@ -75,15 +75,24 @@ const K7 = (...h) => h.filter(Boolean).join(" "), J = (h, p) => {
75
75
  fill: "white"
76
76
  }
77
77
  ) }), Ha = K((h, p) => {
78
- const [o, w] = Y7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...P } = _, F = Y7(o);
79
- return /* @__PURE__ */ r(K1.Root, { ref: p, className: X5(F.root, M2(H), m), ...P, children: [
80
- /* @__PURE__ */ r(K1.Control, { className: F.control, children: [
81
- /* @__PURE__ */ C(K1.Indicator, { children: /* @__PURE__ */ C(j0, {}) }),
82
- /* @__PURE__ */ C(K1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(K0, {}) })
83
- ] }),
84
- V && /* @__PURE__ */ C(K1.Label, { className: F.label, children: V }),
85
- /* @__PURE__ */ C(K1.HiddenInput, {})
86
- ] });
78
+ const [o, w] = Y7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...F } = _, P = Y7(o);
79
+ return /* @__PURE__ */ r(
80
+ K1.Root,
81
+ {
82
+ ref: p,
83
+ className: X5(P.root, M2(H), m),
84
+ ...F,
85
+ value: F.value,
86
+ children: [
87
+ /* @__PURE__ */ r(K1.Control, { className: P.control, children: [
88
+ /* @__PURE__ */ C(K1.Indicator, { children: /* @__PURE__ */ C(j0, {}) }),
89
+ /* @__PURE__ */ C(K1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(K0, {}) })
90
+ ] }),
91
+ V && /* @__PURE__ */ C(K1.Label, { className: P.label, children: V }),
92
+ /* @__PURE__ */ C(K1.HiddenInput, {})
93
+ ]
94
+ }
95
+ );
87
96
  }), Va = f(K1.Group, Vd);
88
97
  Ha.displayName = "Checkbox";
89
98
  Va.displayName = "CheckboxGroup";
@@ -118,8 +127,8 @@ const UL = I5(Q0, "header"), YL = I5(f(x1.Title), "title"), qL = I5(f(x1.Trigger
118
127
  if (!V) return;
119
128
  const m = document.getElementById(V);
120
129
  if (m) {
121
- const P = m.querySelector("footer");
122
- P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
130
+ const F = m.querySelector("footer");
131
+ F && (w ? m.style.setProperty("--footer-height", `${Math.ceil(F.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
123
132
  }
124
133
  }, [H, w]), /* @__PURE__ */ r(p2, { children: [
125
134
  /* @__PURE__ */ C(_a, {}),
@@ -157,11 +166,11 @@ const XL = I5(f(CC), "content"), jL = x1.Context, ba = f("div", _d, {
157
166
  ] }) }) })
158
167
  ] });
159
168
  }, Ta = f("label", e9), JL = (h) => {
160
- const [p, o] = e9.splitVariantProps(h), [w, H] = j5(o), { children: _, className: V, addon: m, tooltipInformation: P, ...F } = H, W = e9(p);
161
- return /* @__PURE__ */ r(Ta, { className: X5(W.root, M2(w), V), ...F, children: [
169
+ const [p, o] = e9.splitVariantProps(h), [w, H] = j5(o), { children: _, className: V, addon: m, tooltipInformation: F, ...P } = H, W = e9(p);
170
+ return /* @__PURE__ */ r(Ta, { className: X5(W.root, M2(w), V), ...P, children: [
162
171
  _,
163
172
  m ? /* @__PURE__ */ C(f.span, { className: W.addon, children: m }) : null,
164
- P ? /* @__PURE__ */ C(c9, { label: P, children: /* @__PURE__ */ C(
173
+ F ? /* @__PURE__ */ C(c9, { label: F, children: /* @__PURE__ */ C(
165
174
  f.svg,
166
175
  {
167
176
  className: W.icon,
@@ -186,10 +195,10 @@ const XL = I5(f(CC), "content"), jL = x1.Context, ba = f("div", _d, {
186
195
  const { as: p = "h2", ...o } = h, w = E2(() => f(p, Fd), [p]);
187
196
  return /* @__PURE__ */ C(w, { size: p, ...o });
188
197
  }, Da = K((h, p) => {
189
- const [o, w] = q7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...P } = _, F = q7(o);
190
- return /* @__PURE__ */ r(g5.Root, { ref: p, className: X5(F.root, M2(H), m), ...P, children: [
191
- /* @__PURE__ */ C(g5.Control, { className: F.control, children: /* @__PURE__ */ C(g5.Thumb, { className: F.thumb }) }),
192
- V ? /* @__PURE__ */ C(g5.Label, { className: F.label, children: V }) : null,
198
+ const [o, w] = q7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...F } = _, P = q7(o);
199
+ return /* @__PURE__ */ r(g5.Root, { ref: p, className: X5(P.root, M2(H), m), ...F, children: [
200
+ /* @__PURE__ */ C(g5.Control, { className: P.control, children: /* @__PURE__ */ C(g5.Thumb, { className: P.thumb }) }),
201
+ V ? /* @__PURE__ */ C(g5.Label, { className: P.label, children: V }) : null,
193
202
  /* @__PURE__ */ C(g5.HiddenInput, {})
194
203
  ] });
195
204
  });
@@ -248,20 +257,20 @@ function os({
248
257
  renderTrigger: V,
249
258
  ...m
250
259
  }) {
251
- const P = H4({
260
+ const F = H4({
252
261
  items: h
253
- }), F = V3(null);
262
+ }), P = V3(null);
254
263
  return /* @__PURE__ */ r(
255
264
  Na,
256
265
  {
257
266
  lazyMount: !0,
258
267
  unmountOnExit: !0,
259
- collection: P,
268
+ collection: F,
260
269
  positioning: { sameWidth: !0, gutter: 0, ...H },
261
270
  "data-recipe": "select",
262
271
  ...m,
263
272
  ref: (W) => {
264
- W && (F.current = W.closest('[role="dialog"]'));
273
+ W && (P.current = W.closest('[role="dialog"]'));
265
274
  },
266
275
  children: [
267
276
  /* @__PURE__ */ r($a, { children: [
@@ -287,7 +296,7 @@ function os({
287
296
  }
288
297
  ) }) }) })
289
298
  ] }),
290
- /* @__PURE__ */ C(L2, { when: w, wrapper: (W) => /* @__PURE__ */ C(Z5, { container: F, children: W }), children: /* @__PURE__ */ C(qa, { children: /* @__PURE__ */ C(Oa, { children: h.length === 0 ? /* @__PURE__ */ C(r9, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : h.map((W) => /* @__PURE__ */ C(
299
+ /* @__PURE__ */ C(L2, { when: w, wrapper: (W) => /* @__PURE__ */ C(Z5, { container: P, children: W }), children: /* @__PURE__ */ C(qa, { children: /* @__PURE__ */ C(Oa, { children: h.length === 0 ? /* @__PURE__ */ C(r9, { px: "space-8", textAlign: "center", children: o ?? "Aucun résultat" }) : h.map((W) => /* @__PURE__ */ C(
291
300
  L2,
292
301
  {
293
302
  when: !!W.tooltip,
@@ -452,8 +461,8 @@ const { withProvider: Cc, withContext: v2 } = J(Td), ec = Cc(f(N.Root), "root",
452
461
  o9,
453
462
  {
454
463
  onInput: (m) => {
455
- const P = m.currentTarget.value;
456
- w && P === "" && V.clearValue();
464
+ const F = m.currentTarget.value;
465
+ w && F === "" && V.clearValue();
457
466
  }
458
467
  }
459
468
  ) }),
@@ -475,8 +484,8 @@ const { withProvider: Cc, withContext: v2 } = J(Td), ec = Cc(f(N.Root), "root",
475
484
  o9,
476
485
  {
477
486
  onInput: (m) => {
478
- const P = m.currentTarget.value;
479
- w && P === "" && V.clearValue();
487
+ const F = m.currentTarget.value;
488
+ w && F === "" && V.clearValue();
480
489
  }
481
490
  }
482
491
  ) }),
@@ -502,16 +511,16 @@ const { withProvider: Cc, withContext: v2 } = J(Td), ec = Cc(f(N.Root), "root",
502
511
  /* @__PURE__ */ C(sc, { asChild: !0, children: /* @__PURE__ */ C(f2, { "aria-label": "next", variant: "secondary", size: "md", children: /* @__PURE__ */ C(yc, {}) }) })
503
512
  ] }),
504
513
  /* @__PURE__ */ r(Vc, { children: [
505
- /* @__PURE__ */ C(Rc, { children: /* @__PURE__ */ C(l0, { children: V.weekDays.map((m, P) => /* @__PURE__ */ C(Hc, { children: m.short }, P)) }) }),
506
- /* @__PURE__ */ C(gc, { children: V.weeks.map((m, P) => /* @__PURE__ */ C(l0, { children: m.map((F, W) => /* @__PURE__ */ C(Zc, { value: F, children: /* @__PURE__ */ C(wc, { asChild: !0, children: /* @__PURE__ */ C("button", { children: F.day }) }) }, W)) }, P)) })
514
+ /* @__PURE__ */ C(Rc, { children: /* @__PURE__ */ C(l0, { children: V.weekDays.map((m, F) => /* @__PURE__ */ C(Hc, { children: m.short }, F)) }) }),
515
+ /* @__PURE__ */ C(gc, { children: V.weeks.map((m, F) => /* @__PURE__ */ C(l0, { children: m.map((P, W) => /* @__PURE__ */ C(Zc, { value: P, children: /* @__PURE__ */ C(wc, { asChild: !0, children: /* @__PURE__ */ C("button", { children: P.day }) }) }, W)) }, F)) })
507
516
  ] })
508
517
  ] }) }) }) }) }) })
509
518
  ] });
510
519
  }, us = K((h, p) => {
511
- const [o, w] = X7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...P } = _, F = X7(o);
512
- return /* @__PURE__ */ r(D.div, { ref: p, className: X5(F.root, M2(H), m), ...P, children: [
520
+ const [o, w] = X7.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...F } = _, P = X7(o);
521
+ return /* @__PURE__ */ r(D.div, { ref: p, className: X5(P.root, M2(H), m), ...F, children: [
513
522
  V,
514
- /* @__PURE__ */ C(wd, { className: X5(F.badge) })
523
+ /* @__PURE__ */ C(wd, { className: X5(P.badge) })
515
524
  ] });
516
525
  }), { withProvider: Fc, withContext: _3 } = J(Wd), Pc = _3(f(m1.ItemControl), "itemControl"), Ac = _3(f(m1.ItemText), "itemText"), Bc = K(({ children: h, value: p, ...o }, w) => /* @__PURE__ */ r(m1.Item, { ref: w, ...o, value: p, children: [
517
526
  /* @__PURE__ */ C(Ac, { children: h }),
@@ -672,7 +681,7 @@ const bs = g2(f("thead"), "thead"), n0 = g2(f("div"), "sortIndicatorRoot"), v3 =
672
681
  ...H,
673
682
  ...o ? { "data-sortable": !0 } : {},
674
683
  role: "group",
675
- onClick: (F) => {
684
+ onClick: (P) => {
676
685
  o && (m === null ? V({
677
686
  type: "UPDATE_SORT_DESCRIPTOR",
678
687
  payload: {
@@ -693,7 +702,7 @@ const bs = g2(f("thead"), "thead"), n0 = g2(f("div"), "sortIndicatorRoot"), v3 =
693
702
  key: o,
694
703
  direction: "asc"
695
704
  }
696
- })), w == null || w(F);
705
+ })), w == null || w(P);
697
706
  },
698
707
  children: [
699
708
  h,
@@ -794,8 +803,8 @@ function hh({
794
803
  onChange: w = () => {
795
804
  }
796
805
  }) {
797
- const [H, _] = u2(p !== void 0 ? p : o), V = (m, ...P) => {
798
- _(m), w == null || w(m, ...P);
806
+ const [H, _] = u2(p !== void 0 ? p : o), V = (m, ...F) => {
807
+ _(m), w == null || w(m, ...F);
799
808
  };
800
809
  return h !== void 0 ? [h, w, !0] : [H, V, !1];
801
810
  }
@@ -811,14 +820,14 @@ const g4 = Symbol("dots"), uh = ({
811
820
  initialPage: H = 1,
812
821
  onChange: _
813
822
  }) => {
814
- const V = Math.max(Math.trunc(h), 0), [m, P] = hh({
823
+ const V = Math.max(Math.trunc(h), 0), [m, F] = hh({
815
824
  value: w,
816
825
  onChange: _,
817
826
  defaultValue: H,
818
827
  finalValue: H
819
- }), F = (R1) => {
820
- R1 <= 0 ? P(1) : R1 > V ? P(V) : P(R1);
821
- }, W = () => F(m + 1), q = () => F(m - 1), D1 = () => F(1), w1 = () => F(V);
828
+ }), P = (R1) => {
829
+ R1 <= 0 ? F(1) : R1 > V ? F(V) : F(R1);
830
+ }, W = () => P(m + 1), q = () => P(m - 1), D1 = () => P(1), w1 = () => P(V);
822
831
  return {
823
832
  range: E2(() => {
824
833
  if (p * 2 + 3 + o * 2 >= V)
@@ -841,7 +850,7 @@ const g4 = Symbol("dots"), uh = ({
841
850
  ];
842
851
  }, [V, p, o, m]),
843
852
  active: m,
844
- setPage: F,
853
+ setPage: P,
845
854
  next: W,
846
855
  previous: q,
847
856
  first: D1,
@@ -858,8 +867,8 @@ const g4 = Symbol("dots"), uh = ({
858
867
  onNextPage: _,
859
868
  onPrevPage: V,
860
869
  siblings: m = 2,
861
- boundaries: P = 1,
862
- ...F
870
+ boundaries: F = 1,
871
+ ...P
863
872
  }) => {
864
873
  const { range: W, setPage: q, next: D1, previous: w1, active: M1 } = uh({
865
874
  page: p,
@@ -867,9 +876,9 @@ const g4 = Symbol("dots"), uh = ({
867
876
  onChange: w,
868
877
  total: h,
869
878
  siblings: m,
870
- boundaries: P
879
+ boundaries: F
871
880
  }), R1 = o0(_, D1), n1 = o0(V, w1);
872
- return /* @__PURE__ */ r(fh, { ...F, children: [
881
+ return /* @__PURE__ */ r(fh, { ...P, children: [
873
882
  /* @__PURE__ */ C(
874
883
  f2,
875
884
  {
@@ -9846,8 +9855,8 @@ const g4 = Symbol("dots"), uh = ({
9846
9855
  onValueChange: _,
9847
9856
  severity: V,
9848
9857
  size: m,
9849
- closeOnSelect: P,
9850
- composite: F,
9858
+ closeOnSelect: F,
9859
+ composite: P,
9851
9860
  defaultOpen: W,
9852
9861
  defaultValue: q,
9853
9862
  disabled: D1,
@@ -9887,8 +9896,8 @@ const g4 = Symbol("dots"), uh = ({
9887
9896
  return /* @__PURE__ */ r(
9888
9897
  bh,
9889
9898
  {
9890
- closeOnSelect: P,
9891
- composite: F,
9899
+ closeOnSelect: F,
9900
+ composite: P,
9892
9901
  defaultOpen: W,
9893
9902
  lazyMount: p,
9894
9903
  unmountOnExit: w,
@@ -9940,10 +9949,10 @@ const g4 = Symbol("dots"), uh = ({
9940
9949
  }, { withProvider: Th, withContext: F3 } = J(l9, {
9941
9950
  dataAttr: !0
9942
9951
  }), Dh = Th(f(g5.Root)), zh = F3(f(g5.Label), "title"), kh = F3(f("div"), "content"), Eh = F3(f("p"), "description"), Nh = F3(f(D.img), "image"), rC = K((h, p) => {
9943
- const [o, w] = l9.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...P } = _, F = l9(o);
9944
- return /* @__PURE__ */ r(Dh, { ref: p, className: X5(F.root, M2(H), m), ...P, children: [
9952
+ const [o, w] = l9.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...F } = _, P = l9(o);
9953
+ return /* @__PURE__ */ r(Dh, { ref: p, className: X5(P.root, M2(H), m), ...F, children: [
9945
9954
  V,
9946
- /* @__PURE__ */ C(g5.Control, { className: F.control, children: /* @__PURE__ */ C(g5.Thumb, { className: F.thumb }) }),
9955
+ /* @__PURE__ */ C(g5.Control, { className: P.control, children: /* @__PURE__ */ C(g5.Thumb, { className: P.thumb }) }),
9947
9956
  /* @__PURE__ */ C(g5.HiddenInput, {})
9948
9957
  ] });
9949
9958
  });
@@ -9972,15 +9981,24 @@ const $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9972
9981
  }, Symbol.toStringTag, { value: "Module" })), { withProvider: Kh, withContext: P3 } = J(t9, {
9973
9982
  dataAttr: !0
9974
9983
  }), Jh = Kh(f(K1.Root)), Qh = P3(f(K1.Label), "title"), Cu = P3(f("div"), "content"), eu = P3(f("p"), "description"), lu = P3(f(D.img), "image"), nC = K((h, p) => {
9975
- const [o, w] = t9.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...P } = _, F = t9(o);
9976
- return /* @__PURE__ */ r(Jh, { ref: p, className: X5(F.root, M2(H), m), ...P, children: [
9977
- /* @__PURE__ */ r(K1.Control, { className: F.control, children: [
9978
- /* @__PURE__ */ C(K1.Indicator, { children: /* @__PURE__ */ C(j0, {}) }),
9979
- /* @__PURE__ */ C(K1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(K0, {}) })
9980
- ] }),
9981
- V,
9982
- /* @__PURE__ */ C(K1.HiddenInput, {})
9983
- ] });
9984
+ const [o, w] = t9.splitVariantProps(h), [H, _] = j5(w), { children: V, className: m, ...F } = _, P = t9(o);
9985
+ return /* @__PURE__ */ r(
9986
+ Jh,
9987
+ {
9988
+ ref: p,
9989
+ className: X5(P.root, M2(H), m),
9990
+ ...F,
9991
+ value: F.value,
9992
+ children: [
9993
+ /* @__PURE__ */ r(K1.Control, { className: P.control, children: [
9994
+ /* @__PURE__ */ C(K1.Indicator, { children: /* @__PURE__ */ C(j0, {}) }),
9995
+ /* @__PURE__ */ C(K1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(K0, {}) })
9996
+ ] }),
9997
+ V,
9998
+ /* @__PURE__ */ C(K1.HiddenInput, {})
9999
+ ]
10000
+ }
10001
+ );
9984
10002
  });
9985
10003
  nC.displayName = "CheckboxCard";
9986
10004
  const Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -10007,7 +10025,7 @@ var w3 = { exports: {} };
10007
10025
  w3.exports;
10008
10026
  (function(h, p) {
10009
10027
  (function() {
10010
- var o, w = "4.17.21", H = 200, _ = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", V = "Expected a function", m = "Invalid `variable` option passed into `_.template`", P = "__lodash_hash_undefined__", F = 500, W = "__lodash_placeholder__", q = 1, D1 = 2, w1 = 4, M1 = 1, R1 = 2, n1 = 1, u1 = 2, P1 = 4, v1 = 8, A1 = 16, z1 = 32, f5 = 64, B1 = 128, O1 = 256, L5 = 512, U2 = 30, Y2 = "...", q2 = 800, w2 = 16, l2 = 1, R2 = 2, c1 = 3, h1 = 1 / 0, p1 = 9007199254740991, X2 = 17976931348623157e292, H2 = NaN, J1 = 4294967295, A3 = J1 - 1, B3 = J1 >>> 1, g1 = [
10028
+ var o, w = "4.17.21", H = 200, _ = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", V = "Expected a function", m = "Invalid `variable` option passed into `_.template`", F = "__lodash_hash_undefined__", P = 500, W = "__lodash_placeholder__", q = 1, D1 = 2, w1 = 4, M1 = 1, R1 = 2, n1 = 1, u1 = 2, P1 = 4, v1 = 8, A1 = 16, z1 = 32, f5 = 64, B1 = 128, O1 = 256, L5 = 512, U2 = 30, Y2 = "...", q2 = 800, w2 = 16, l2 = 1, R2 = 2, c1 = 3, h1 = 1 / 0, p1 = 9007199254740991, X2 = 17976931348623157e292, H2 = NaN, J1 = 4294967295, A3 = J1 - 1, B3 = J1 >>> 1, g1 = [
10011
10029
  ["ary", B1],
10012
10030
  ["bind", n1],
10013
10031
  ["bindKey", u1],
@@ -10691,7 +10709,7 @@ w3.exports;
10691
10709
  var l = this.__data__;
10692
10710
  if (o4) {
10693
10711
  var t = l[e];
10694
- return t === P ? o : t;
10712
+ return t === F ? o : t;
10695
10713
  }
10696
10714
  return j.call(l, e) ? l[e] : o;
10697
10715
  }
@@ -10701,7 +10719,7 @@ w3.exports;
10701
10719
  }
10702
10720
  function ml(e, l) {
10703
10721
  var t = this.__data__;
10704
- return this.size += this.has(e) ? 0 : 1, t[e] = o4 && l === o ? P : l, this;
10722
+ return this.size += this.has(e) ? 0 : 1, t[e] = o4 && l === o ? F : l, this;
10705
10723
  }
10706
10724
  r2.prototype.clear = wl, r2.prototype.delete = Rl, r2.prototype.get = Hl, r2.prototype.has = Vl, r2.prototype.set = ml;
10707
10725
  function m5(e) {
@@ -10768,7 +10786,7 @@ w3.exports;
10768
10786
  this.add(e[l]);
10769
10787
  }
10770
10788
  function Tl(e) {
10771
- return this.__data__.set(e, P), this;
10789
+ return this.__data__.set(e, F), this;
10772
10790
  }
10773
10791
  function Dl(e) {
10774
10792
  return this.__data__.has(e);
@@ -12125,7 +12143,7 @@ w3.exports;
12125
12143
  }
12126
12144
  function Nt(e) {
12127
12145
  var l = p3(e, function(i) {
12128
- return t.size === F && t.clear(), i;
12146
+ return t.size === P && t.clear(), i;
12129
12147
  }), t = l.cache;
12130
12148
  return l;
12131
12149
  }
@@ -13702,8 +13720,8 @@ const Ys = ({
13702
13720
  loadingLabel: _,
13703
13721
  usePortal: V = !0,
13704
13722
  withAutoFilter: m = !0,
13705
- positioning: P,
13706
- loadItems: F,
13723
+ positioning: F,
13724
+ loadItems: P,
13707
13725
  renderItem: W,
13708
13726
  onResetInitialItems: q,
13709
13727
  isLoading: D1,
@@ -13712,11 +13730,11 @@ const Ys = ({
13712
13730
  clearValueWhenEmpty: R1 = !0,
13713
13731
  ...n1
13714
13732
  }) => {
13715
- const [u1, P1] = u2(() => h), [v1, A1] = u2(!1), [z1, f5] = u2(!1), B1 = typeof F == "function", O1 = E2(
13716
- () => F ? iu.debounce(async (c1) => {
13733
+ const [u1, P1] = u2(() => h), [v1, A1] = u2(!1), [z1, f5] = u2(!1), B1 = typeof P == "function", O1 = E2(
13734
+ () => P ? iu.debounce(async (c1) => {
13717
13735
  try {
13718
13736
  f5(!0), A1(!0);
13719
- const h1 = await F(c1);
13737
+ const h1 = await P(c1);
13720
13738
  P1(h1);
13721
13739
  } catch {
13722
13740
  P1([]);
@@ -13724,7 +13742,7 @@ const Ys = ({
13724
13742
  A1(!1);
13725
13743
  }
13726
13744
  }, o) : null,
13727
- [F, o]
13745
+ [P, o]
13728
13746
  ), L5 = [...u1, ...p ?? []], U2 = fa(
13729
13747
  async (c1) => {
13730
13748
  p && p.length > 0 && !p.find((p1) => p1.label === c1.inputValue) && (q == null || q());
@@ -13745,7 +13763,7 @@ const Ys = ({
13745
13763
  lazyMount: !0,
13746
13764
  unmountOnExit: !0,
13747
13765
  collection: Y2,
13748
- positioning: { sameWidth: !0, gutter: 0, ...P },
13766
+ positioning: { sameWidth: !0, gutter: 0, ...F },
13749
13767
  "data-recipe": "combobox",
13750
13768
  onInputValueChange: U2,
13751
13769
  value: w1,
@@ -13823,8 +13841,8 @@ const { withProvider: gu, withContext: dC } = J(na), Zu = gu(f(a9.Root), "root")
13823
13841
  V && setTimeout(() => {
13824
13842
  const m = document.getElementById(V);
13825
13843
  if (m) {
13826
- const P = m.querySelector("footer");
13827
- P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13844
+ const F = m.querySelector("footer");
13845
+ F && (w ? m.style.setProperty("--footer-height", `${Math.ceil(F.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13828
13846
  }
13829
13847
  }, 0);
13830
13848
  }, [H, w]), /* @__PURE__ */ r(Z5, { children: [
@@ -13870,7 +13888,7 @@ const { withProvider: Iu, withContext: pC } = J(W0), Su = f(D.div, da), Tu = (h,
13870
13888
  ({ children: h, size: p, max: o = 4, overflowContent: w, ...H }, _) => {
13871
13889
  const [V, m] = Tu(i9.toArray(h), o);
13872
13890
  return /* @__PURE__ */ r(Su, { ref: _, size: p, ...H, children: [
13873
- i9.map(V, (P) => N2(P, W0.raw({ size: p }))),
13891
+ i9.map(V, (F) => N2(F, W0.raw({ size: p }))),
13874
13892
  w && m.length > 0 ? N2(Au(w, m.length), { "data-overflow": "" }) : null
13875
13893
  ] });
13876
13894
  }
@@ -17548,9 +17566,9 @@ const Gu = Q5(f(fC), "content"), Uu = Q5(f(R5.Item), "item"), Yu = Q5(f(R5.ItemG
17548
17566
  const [o, w] = O0.splitVariantProps(h), { countryCode: H, ..._ } = w;
17549
17567
  return /* @__PURE__ */ C(Ju, { ref: p, ..._, ...o, asChild: !0, children: N2(LC[H]) });
17550
17568
  }), Qu = K((h, p) => {
17551
- const [o, w] = j7.splitVariantProps(h), [H, _] = j5(w), { className: V, unit: m, price: P, ...F } = _, W = j7(o), q = !!m;
17552
- return /* @__PURE__ */ r("span", { ref: p, className: X5("price-tag", W.root, M2(H), V), ...F, children: [
17553
- /* @__PURE__ */ C("span", { className: W.price, children: P }),
17569
+ const [o, w] = j7.splitVariantProps(h), [H, _] = j5(w), { className: V, unit: m, price: F, ...P } = _, W = j7(o), q = !!m;
17570
+ return /* @__PURE__ */ r("span", { ref: p, className: X5("price-tag", W.root, M2(H), V), ...P, children: [
17571
+ /* @__PURE__ */ C("span", { className: W.price, children: F }),
17554
17572
  q ? /* @__PURE__ */ r("span", { className: W.unit, children: [
17555
17573
  "/ ",
17556
17574
  m