@stokelp/ui 2.77.1 → 2.78.1
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/components/alert/Alert.d.ts +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +83 -83
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -17,20 +17,20 @@ import { defineGlobalStyles as _a, defineKeyframes as ba, defineRecipe as n1, de
|
|
|
17
17
|
const l0 = (...c) => c.filter(Boolean).join(" "), C1 = (c, u) => {
|
|
18
18
|
const n = K0(null);
|
|
19
19
|
return {
|
|
20
|
-
withContext: (x, V, m) => V ? J((
|
|
20
|
+
withContext: (x, V, m) => V ? J((P, j) => {
|
|
21
21
|
const Y = J0(n), U = (u == null ? void 0 : u.dataAttr) ?? !1;
|
|
22
22
|
return CC(x, {
|
|
23
23
|
...U && { "data-recipe-slot": V ?? "" },
|
|
24
24
|
...m == null ? void 0 : m.defaultProps,
|
|
25
|
-
...
|
|
26
|
-
className: l0(Y == null ? void 0 : Y[V ?? ""],
|
|
25
|
+
...P,
|
|
26
|
+
className: l0(Y == null ? void 0 : Y[V ?? ""], P.className),
|
|
27
27
|
ref: j
|
|
28
28
|
});
|
|
29
29
|
}) : x,
|
|
30
|
-
withProvider: (x, V, m) => J((
|
|
30
|
+
withProvider: (x, V, m) => J((P, j) => {
|
|
31
31
|
const [Y, { children: U, ...a1 }] = c.splitVariantProps({
|
|
32
32
|
...m == null ? void 0 : m.defaultProps,
|
|
33
|
-
...
|
|
33
|
+
...P
|
|
34
34
|
}), p1 = c(Y), H1 = (u == null ? void 0 : u.dataAttr) ?? !1;
|
|
35
35
|
return /* @__PURE__ */ C(n.Provider, { value: p1, children: /* @__PURE__ */ r(
|
|
36
36
|
x,
|
|
@@ -77,20 +77,20 @@ const l0 = (...c) => c.filter(Boolean).join(" "), C1 = (c, u) => {
|
|
|
77
77
|
fill: "white"
|
|
78
78
|
}
|
|
79
79
|
) }), Sa = J((c, u) => {
|
|
80
|
-
const [n, v] = K7.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...
|
|
80
|
+
const [n, v] = K7.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...F } = x, P = K7(n);
|
|
81
81
|
return /* @__PURE__ */ r(
|
|
82
82
|
Q1.Root,
|
|
83
83
|
{
|
|
84
84
|
ref: u,
|
|
85
|
-
className: e2(
|
|
86
|
-
...
|
|
87
|
-
value:
|
|
85
|
+
className: e2(P.root, w2(R), m),
|
|
86
|
+
...F,
|
|
87
|
+
value: F.value,
|
|
88
88
|
children: [
|
|
89
|
-
/* @__PURE__ */ r(Q1.Control, { className:
|
|
89
|
+
/* @__PURE__ */ r(Q1.Control, { className: P.control, children: [
|
|
90
90
|
/* @__PURE__ */ C(Q1.Indicator, { children: /* @__PURE__ */ C(iC, {}) }),
|
|
91
91
|
/* @__PURE__ */ C(Q1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(rC, {}) })
|
|
92
92
|
] }),
|
|
93
|
-
V && /* @__PURE__ */ C(Q1.Label, { className:
|
|
93
|
+
V && /* @__PURE__ */ C(Q1.Label, { className: P.label, children: V }),
|
|
94
94
|
/* @__PURE__ */ C(Q1.HiddenInput, {})
|
|
95
95
|
]
|
|
96
96
|
}
|
|
@@ -129,8 +129,8 @@ const wL = E5(oC, "header"), RL = E5(s(b1.Title), "title"), HL = E5(s(b1.Trigger
|
|
|
129
129
|
if (!V) return;
|
|
130
130
|
const m = document.getElementById(V);
|
|
131
131
|
if (m) {
|
|
132
|
-
const
|
|
133
|
-
|
|
132
|
+
const F = m.querySelector("footer");
|
|
133
|
+
F && (v ? m.style.setProperty("--footer-height", `${Math.ceil(F.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
|
|
134
134
|
}
|
|
135
135
|
}, [R, v]), /* @__PURE__ */ r(f5, { children: [
|
|
136
136
|
/* @__PURE__ */ C(za, {}),
|
|
@@ -168,11 +168,11 @@ const VL = E5(s(dC), "content"), mL = b1.Context, ka = s("div", Id, {
|
|
|
168
168
|
] }) }) })
|
|
169
169
|
] });
|
|
170
170
|
}, Ya = s("label", a9), _L = (c) => {
|
|
171
|
-
const [u, n] = a9.splitVariantProps(c), [v, R] = l2(n), { children: x, className: V, addon: m, tooltipInformation:
|
|
172
|
-
return /* @__PURE__ */ r(Ya, { className: e2(j.root, w2(v), V), ...
|
|
171
|
+
const [u, n] = a9.splitVariantProps(c), [v, R] = l2(n), { children: x, className: V, addon: m, tooltipInformation: F, ...P } = R, j = a9(u);
|
|
172
|
+
return /* @__PURE__ */ r(Ya, { className: e2(j.root, w2(v), V), ...P, children: [
|
|
173
173
|
x,
|
|
174
174
|
m ? /* @__PURE__ */ C("span", { className: j.addon, children: m }) : null,
|
|
175
|
-
|
|
175
|
+
F ? /* @__PURE__ */ C(V4, { label: F, children: /* @__PURE__ */ C(
|
|
176
176
|
"svg",
|
|
177
177
|
{
|
|
178
178
|
className: j.icon,
|
|
@@ -197,10 +197,10 @@ const VL = E5(s(dC), "content"), mL = b1.Context, ka = s("div", Id, {
|
|
|
197
197
|
const { as: u = "h2", ...n } = c, v = O2(() => s(u, zd), [u]);
|
|
198
198
|
return /* @__PURE__ */ C(v, { size: u, ...n });
|
|
199
199
|
}, qa = J((c, u) => {
|
|
200
|
-
const [n, v] = J7.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...
|
|
201
|
-
return /* @__PURE__ */ r(g5.Root, { ref: u, className: e2(
|
|
202
|
-
/* @__PURE__ */ C(g5.Control, { className:
|
|
203
|
-
V ? /* @__PURE__ */ C(g5.Label, { className:
|
|
200
|
+
const [n, v] = J7.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...F } = x, P = J7(n);
|
|
201
|
+
return /* @__PURE__ */ r(g5.Root, { ref: u, className: e2(P.root, w2(R), m), ...F, children: [
|
|
202
|
+
/* @__PURE__ */ C(g5.Control, { className: P.control, children: /* @__PURE__ */ C(g5.Thumb, { className: P.thumb }) }),
|
|
203
|
+
V ? /* @__PURE__ */ C(g5.Label, { className: P.label, children: V }) : null,
|
|
204
204
|
/* @__PURE__ */ C(g5.HiddenInput, {})
|
|
205
205
|
] });
|
|
206
206
|
});
|
|
@@ -269,8 +269,8 @@ function TL({
|
|
|
269
269
|
renderItem: x,
|
|
270
270
|
renderTrigger: V,
|
|
271
271
|
virtualized: m,
|
|
272
|
-
rowHeight:
|
|
273
|
-
...
|
|
272
|
+
rowHeight: F = 34,
|
|
273
|
+
...P
|
|
274
274
|
}) {
|
|
275
275
|
const j = b4({
|
|
276
276
|
items: c
|
|
@@ -283,7 +283,7 @@ function TL({
|
|
|
283
283
|
collection: j,
|
|
284
284
|
positioning: { sameWidth: !0, gutter: 0, ...R },
|
|
285
285
|
"data-recipe": "select",
|
|
286
|
-
...
|
|
286
|
+
...P,
|
|
287
287
|
ref: (U) => {
|
|
288
288
|
U && (Y.current = U.closest('[role="dialog"]'));
|
|
289
289
|
},
|
|
@@ -295,9 +295,9 @@ function TL({
|
|
|
295
295
|
{
|
|
296
296
|
renderTrigger: V,
|
|
297
297
|
placeholder: u,
|
|
298
|
-
allSelectedLabel:
|
|
298
|
+
allSelectedLabel: P.allSelectedLabel
|
|
299
299
|
}
|
|
300
|
-
) : /* @__PURE__ */ C(dc, { placeholder: u, allSelectedLabel:
|
|
300
|
+
) : /* @__PURE__ */ C(dc, { placeholder: u, allSelectedLabel: P.allSelectedLabel }),
|
|
301
301
|
/* @__PURE__ */ C(lc, { asChild: !0, children: /* @__PURE__ */ C("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
|
|
302
302
|
"path",
|
|
303
303
|
{
|
|
@@ -308,7 +308,7 @@ function TL({
|
|
|
308
308
|
}
|
|
309
309
|
) }) })
|
|
310
310
|
] }),
|
|
311
|
-
/* @__PURE__ */ C(Ja, { disabled:
|
|
311
|
+
/* @__PURE__ */ C(Ja, { disabled: P.readOnly, asChild: !0, children: /* @__PURE__ */ C("button", { children: /* @__PURE__ */ C("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
|
|
312
312
|
"path",
|
|
313
313
|
{
|
|
314
314
|
fillRule: "evenodd",
|
|
@@ -321,9 +321,9 @@ function TL({
|
|
|
321
321
|
/* @__PURE__ */ C(k5, { when: v, wrapper: (U) => /* @__PURE__ */ C(Z5, { container: Y, children: U }), children: /* @__PURE__ */ C(ic, { children: /* @__PURE__ */ C(Cc, { children: c.length === 0 ? /* @__PURE__ */ C(_3, { px: "space-8", textAlign: "center", children: n ?? "Aucun résultat" }) : m ? /* @__PURE__ */ C(f5, { children: /* @__PURE__ */ C(
|
|
322
322
|
tC,
|
|
323
323
|
{
|
|
324
|
-
height: Math.min(
|
|
324
|
+
height: Math.min(F * c.length, 180),
|
|
325
325
|
itemCount: c.length,
|
|
326
|
-
itemSize:
|
|
326
|
+
itemSize: F,
|
|
327
327
|
width: "100%",
|
|
328
328
|
children: ({ index: U, style: a1 }) => /* @__PURE__ */ C(
|
|
329
329
|
k5,
|
|
@@ -340,7 +340,7 @@ function TL({
|
|
|
340
340
|
{
|
|
341
341
|
when: !!U.tooltip,
|
|
342
342
|
wrapper: (a1) => /* @__PURE__ */ C(V4, { label: U.tooltip, children: a1 }),
|
|
343
|
-
children: /* @__PURE__ */ C(t0, { item: U, children: /* @__PURE__ */ C(i0, { renderItem: x, item: U, isMultiple:
|
|
343
|
+
children: /* @__PURE__ */ C(t0, { item: U, children: /* @__PURE__ */ C(i0, { renderItem: x, item: U, isMultiple: P.multiple }) }, U.value)
|
|
344
344
|
},
|
|
345
345
|
U.value
|
|
346
346
|
)) }) }) }),
|
|
@@ -514,8 +514,8 @@ const { withProvider: cc, withContext: R2 } = C1($d), hc = cc(s(N.Root), "root",
|
|
|
514
514
|
p9,
|
|
515
515
|
{
|
|
516
516
|
onInput: (m) => {
|
|
517
|
-
const
|
|
518
|
-
v &&
|
|
517
|
+
const F = m.currentTarget.value;
|
|
518
|
+
v && F === "" && V.clearValue();
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
) }),
|
|
@@ -537,8 +537,8 @@ const { withProvider: cc, withContext: R2 } = C1($d), hc = cc(s(N.Root), "root",
|
|
|
537
537
|
p9,
|
|
538
538
|
{
|
|
539
539
|
onInput: (m) => {
|
|
540
|
-
const
|
|
541
|
-
v &&
|
|
540
|
+
const F = m.currentTarget.value;
|
|
541
|
+
v && F === "" && V.clearValue();
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
) }),
|
|
@@ -564,18 +564,18 @@ const { withProvider: cc, withContext: R2 } = C1($d), hc = cc(s(N.Root), "root",
|
|
|
564
564
|
/* @__PURE__ */ C(xc, { asChild: !0, children: /* @__PURE__ */ C(g2, { "aria-label": "next", variant: "secondary", size: "md", children: /* @__PURE__ */ C(kc, {}) }) })
|
|
565
565
|
] }),
|
|
566
566
|
/* @__PURE__ */ r(Sc, { children: [
|
|
567
|
-
/* @__PURE__ */ C(Ac, { children: /* @__PURE__ */ C(a0, { children: V.weekDays.map((m,
|
|
568
|
-
/* @__PURE__ */ C(yc, { children: V.weeks.map((m,
|
|
567
|
+
/* @__PURE__ */ C(Ac, { children: /* @__PURE__ */ C(a0, { children: V.weekDays.map((m, F) => /* @__PURE__ */ C(Bc, { children: m.short }, F)) }) }),
|
|
568
|
+
/* @__PURE__ */ C(yc, { children: V.weeks.map((m, F) => /* @__PURE__ */ C(a0, { children: m.map((P, j) => /* @__PURE__ */ C(Fc, { value: P, children: /* @__PURE__ */ C(Pc, { asChild: !0, children: /* @__PURE__ */ C("button", { children: P.day }) }) }, j)) }, F)) })
|
|
569
569
|
] })
|
|
570
570
|
] }) }) }) }) }) })
|
|
571
571
|
]
|
|
572
572
|
}
|
|
573
573
|
);
|
|
574
574
|
}, Ec = J((c, u) => {
|
|
575
|
-
const [n, v] = C0.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...
|
|
576
|
-
return /* @__PURE__ */ r(I.div, { ref: u, className: e2(
|
|
575
|
+
const [n, v] = C0.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...F } = x, P = C0(n);
|
|
576
|
+
return /* @__PURE__ */ r(I.div, { ref: u, className: e2(P.root, w2(R), m), ...F, children: [
|
|
577
577
|
V,
|
|
578
|
-
/* @__PURE__ */ C(yd, { className: e2(
|
|
578
|
+
/* @__PURE__ */ C(yd, { className: e2(P.badge), borderRadius: "full" })
|
|
579
579
|
] });
|
|
580
580
|
}), { withProvider: Nc, withContext: I3 } = C1(jd), Wc = I3(s(_1.ItemControl), "itemControl"), Oc = I3(s(_1.ItemText), "itemText"), $c = J(({ children: c, value: u, ...n }, v) => /* @__PURE__ */ r(_1.Item, { ref: v, ...n, value: u, children: [
|
|
581
581
|
/* @__PURE__ */ C(Oc, { children: c }),
|
|
@@ -674,9 +674,9 @@ const { withProvider: cc, withContext: R2 } = C1($d), hc = cc(s(N.Root), "root",
|
|
|
674
674
|
) });
|
|
675
675
|
}
|
|
676
676
|
}, CM = J(
|
|
677
|
-
({ title: c, description: u, showDismissTrigger: n, onDismiss: v, severity: R, showIcon: x = !0,
|
|
677
|
+
({ title: c, description: u, showDismissTrigger: n, onDismiss: v, severity: R, showIcon: x = !0, icon: V, ...m }, F) => /* @__PURE__ */ r(Jc, { ref: F, severity: R, ...m, children: [
|
|
678
678
|
/* @__PURE__ */ r(eh, { children: [
|
|
679
|
-
x ? /* @__PURE__ */ C(Ch, { asChild: !0, children: th(R) }) : null,
|
|
679
|
+
x ? /* @__PURE__ */ C(Ch, { asChild: !0, children: V || th(R) }) : null,
|
|
680
680
|
c,
|
|
681
681
|
n ? /* @__PURE__ */ C(g2, { ml: "auto", onClick: v, size: "sm", variant: "tertiary", "aria-label": "dismiss", children: /* @__PURE__ */ C("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C(
|
|
682
682
|
"path",
|
|
@@ -736,7 +736,7 @@ const lM = H2(s("thead"), "thead"), p0 = H2(s("div"), "sortIndicatorRoot"), V3 =
|
|
|
736
736
|
...R,
|
|
737
737
|
...n ? { "data-sortable": !0 } : {},
|
|
738
738
|
role: "group",
|
|
739
|
-
onClick: (
|
|
739
|
+
onClick: (P) => {
|
|
740
740
|
n && (m === null ? V({
|
|
741
741
|
type: "UPDATE_SORT_DESCRIPTOR",
|
|
742
742
|
payload: {
|
|
@@ -757,7 +757,7 @@ const lM = H2(s("thead"), "thead"), p0 = H2(s("div"), "sortIndicatorRoot"), V3 =
|
|
|
757
757
|
key: n,
|
|
758
758
|
direction: "asc"
|
|
759
759
|
}
|
|
760
|
-
})), v == null || v(
|
|
760
|
+
})), v == null || v(P);
|
|
761
761
|
},
|
|
762
762
|
children: [
|
|
763
763
|
c,
|
|
@@ -857,8 +857,8 @@ function Rh({
|
|
|
857
857
|
onChange: v = () => {
|
|
858
858
|
}
|
|
859
859
|
}) {
|
|
860
|
-
const [R, x] = v2(u !== void 0 ? u : n), V = (m, ...
|
|
861
|
-
x(m), v == null || v(m, ...
|
|
860
|
+
const [R, x] = v2(u !== void 0 ? u : n), V = (m, ...F) => {
|
|
861
|
+
x(m), v == null || v(m, ...F);
|
|
862
862
|
};
|
|
863
863
|
return c !== void 0 ? [c, v, !0] : [R, V, !1];
|
|
864
864
|
}
|
|
@@ -874,14 +874,14 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
874
874
|
initialPage: R = 1,
|
|
875
875
|
onChange: x
|
|
876
876
|
}) => {
|
|
877
|
-
const V = Math.max(Math.trunc(c), 0), [m,
|
|
877
|
+
const V = Math.max(Math.trunc(c), 0), [m, F] = Rh({
|
|
878
878
|
value: v,
|
|
879
879
|
onChange: x,
|
|
880
880
|
defaultValue: R,
|
|
881
881
|
finalValue: R
|
|
882
|
-
}),
|
|
883
|
-
H1 <= 0 ?
|
|
884
|
-
}, j = () =>
|
|
882
|
+
}), P = (H1) => {
|
|
883
|
+
H1 <= 0 ? F(1) : H1 > V ? F(V) : F(H1);
|
|
884
|
+
}, j = () => P(m + 1), Y = () => P(m - 1), U = () => P(1), a1 = () => P(V);
|
|
885
885
|
return {
|
|
886
886
|
range: O2(() => {
|
|
887
887
|
if (u * 2 + 3 + n * 2 >= V)
|
|
@@ -904,7 +904,7 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
904
904
|
];
|
|
905
905
|
}, [V, u, n, m]),
|
|
906
906
|
active: m,
|
|
907
|
-
setPage:
|
|
907
|
+
setPage: P,
|
|
908
908
|
next: j,
|
|
909
909
|
previous: Y,
|
|
910
910
|
first: U,
|
|
@@ -921,8 +921,8 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
921
921
|
onNextPage: x,
|
|
922
922
|
onPrevPage: V,
|
|
923
923
|
siblings: m = 2,
|
|
924
|
-
boundaries:
|
|
925
|
-
...
|
|
924
|
+
boundaries: F = 1,
|
|
925
|
+
...P
|
|
926
926
|
}) => {
|
|
927
927
|
const { range: j, setPage: Y, next: U, previous: a1, active: p1 } = Hh({
|
|
928
928
|
page: u,
|
|
@@ -930,9 +930,9 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
930
930
|
onChange: v,
|
|
931
931
|
total: c,
|
|
932
932
|
siblings: m,
|
|
933
|
-
boundaries:
|
|
933
|
+
boundaries: F
|
|
934
934
|
}), H1 = s0(x, U), s1 = s0(V, a1);
|
|
935
|
-
return /* @__PURE__ */ r(mh, { ...
|
|
935
|
+
return /* @__PURE__ */ r(mh, { ...P, children: [
|
|
936
936
|
/* @__PURE__ */ C(
|
|
937
937
|
g2,
|
|
938
938
|
{
|
|
@@ -9909,8 +9909,8 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
9909
9909
|
onValueChange: x,
|
|
9910
9910
|
severity: V,
|
|
9911
9911
|
size: m,
|
|
9912
|
-
closeOnSelect:
|
|
9913
|
-
composite:
|
|
9912
|
+
closeOnSelect: F,
|
|
9913
|
+
composite: P,
|
|
9914
9914
|
defaultOpen: j,
|
|
9915
9915
|
defaultValue: Y,
|
|
9916
9916
|
disabled: U,
|
|
@@ -9950,8 +9950,8 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
9950
9950
|
return /* @__PURE__ */ r(
|
|
9951
9951
|
kh,
|
|
9952
9952
|
{
|
|
9953
|
-
closeOnSelect:
|
|
9954
|
-
composite:
|
|
9953
|
+
closeOnSelect: F,
|
|
9954
|
+
composite: P,
|
|
9955
9955
|
defaultOpen: j,
|
|
9956
9956
|
lazyMount: u,
|
|
9957
9957
|
unmountOnExit: v,
|
|
@@ -10003,10 +10003,10 @@ const w4 = Symbol("dots"), Hh = ({
|
|
|
10003
10003
|
}, { withProvider: Yh, withContext: z3 } = C1(c9, {
|
|
10004
10004
|
dataAttr: !0
|
|
10005
10005
|
}), qh = Yh(s(g5.Root)), Xh = z3(s(g5.Label), "title"), jh = z3(s("div"), "content"), Qh = z3(s("p"), "description"), Kh = z3(s(I.img), "image"), pC = J((c, u) => {
|
|
10006
|
-
const [n, v] = c9.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...
|
|
10007
|
-
return /* @__PURE__ */ r(qh, { ref: u, className: e2(
|
|
10006
|
+
const [n, v] = c9.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...F } = x, P = c9(n);
|
|
10007
|
+
return /* @__PURE__ */ r(qh, { ref: u, className: e2(P.root, w2(R), m), ...F, children: [
|
|
10008
10008
|
V,
|
|
10009
|
-
/* @__PURE__ */ C(g5.Control, { className:
|
|
10009
|
+
/* @__PURE__ */ C(g5.Control, { className: P.control, children: /* @__PURE__ */ C(g5.Thumb, { className: P.thumb }) }),
|
|
10010
10010
|
/* @__PURE__ */ C(g5.HiddenInput, {})
|
|
10011
10011
|
] });
|
|
10012
10012
|
});
|
|
@@ -10035,16 +10035,16 @@ const vM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10035
10035
|
}, Symbol.toStringTag, { value: "Module" })), { withProvider: du, withContext: k3 } = C1(h9, {
|
|
10036
10036
|
dataAttr: !0
|
|
10037
10037
|
}), au = du(s(Q1.Root)), cu = k3(s(Q1.Label), "title"), hu = k3(s("div"), "content"), uu = k3(s("p"), "description"), pu = k3(s(I.img), "image"), sC = J((c, u) => {
|
|
10038
|
-
const [n, v] = h9.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...
|
|
10038
|
+
const [n, v] = h9.splitVariantProps(c), [R, x] = l2(v), { children: V, className: m, ...F } = x, P = h9(n);
|
|
10039
10039
|
return /* @__PURE__ */ r(
|
|
10040
10040
|
au,
|
|
10041
10041
|
{
|
|
10042
10042
|
ref: u,
|
|
10043
|
-
className: e2(
|
|
10044
|
-
...
|
|
10045
|
-
value:
|
|
10043
|
+
className: e2(P.root, w2(R), m),
|
|
10044
|
+
...F,
|
|
10045
|
+
value: F.value,
|
|
10046
10046
|
children: [
|
|
10047
|
-
/* @__PURE__ */ r(Q1.Control, { className:
|
|
10047
|
+
/* @__PURE__ */ r(Q1.Control, { className: P.control, children: [
|
|
10048
10048
|
/* @__PURE__ */ C(Q1.Indicator, { children: /* @__PURE__ */ C(iC, {}) }),
|
|
10049
10049
|
/* @__PURE__ */ C(Q1.Indicator, { indeterminate: !0, children: /* @__PURE__ */ C(rC, {}) })
|
|
10050
10050
|
] }),
|
|
@@ -10079,7 +10079,7 @@ var b3 = { exports: {} };
|
|
|
10079
10079
|
b3.exports;
|
|
10080
10080
|
(function(c, u) {
|
|
10081
10081
|
(function() {
|
|
10082
|
-
var n, v = "4.17.21", R = 200, x = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", V = "Expected a function", m = "Invalid `variable` option passed into `_.template`",
|
|
10082
|
+
var n, v = "4.17.21", R = 200, x = "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, j = "__lodash_placeholder__", Y = 1, U = 2, a1 = 4, p1 = 1, H1 = 2, s1 = 1, L1 = 2, K1 = 4, Z1 = 8, O1 = 16, V1 = 32, m5 = 64, z1 = 128, x5 = 256, o2 = 512, d2 = 30, _5 = "...", F1 = 800, X2 = 16, m2 = 1, j2 = 2, x2 = 3, b5 = 1 / 0, S1 = 9007199254740991, Q = 17976931348623157e292, f1 = NaN, c1 = 4294967295, Q2 = c1 - 1, N3 = c1 >>> 1, w1 = [
|
|
10083
10083
|
["ary", z1],
|
|
10084
10084
|
["bind", s1],
|
|
10085
10085
|
["bindKey", L1],
|
|
@@ -10763,7 +10763,7 @@ b3.exports;
|
|
|
10763
10763
|
var l = this.__data__;
|
|
10764
10764
|
if (a4) {
|
|
10765
10765
|
var t = l[e];
|
|
10766
|
-
return t ===
|
|
10766
|
+
return t === F ? n : t;
|
|
10767
10767
|
}
|
|
10768
10768
|
return K.call(l, e) ? l[e] : n;
|
|
10769
10769
|
}
|
|
@@ -10773,7 +10773,7 @@ b3.exports;
|
|
|
10773
10773
|
}
|
|
10774
10774
|
function Bl(e, l) {
|
|
10775
10775
|
var t = this.__data__;
|
|
10776
|
-
return this.size += this.has(e) ? 0 : 1, t[e] = a4 && l === n ?
|
|
10776
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = a4 && l === n ? F : l, this;
|
|
10777
10777
|
}
|
|
10778
10778
|
h2.prototype.clear = yl, h2.prototype.delete = Fl, h2.prototype.get = Pl, h2.prototype.has = Al, h2.prototype.set = Bl;
|
|
10779
10779
|
function F5(e) {
|
|
@@ -10840,7 +10840,7 @@ b3.exports;
|
|
|
10840
10840
|
this.add(e[l]);
|
|
10841
10841
|
}
|
|
10842
10842
|
function $l(e) {
|
|
10843
|
-
return this.__data__.set(e,
|
|
10843
|
+
return this.__data__.set(e, F), this;
|
|
10844
10844
|
}
|
|
10845
10845
|
function Gl(e) {
|
|
10846
10846
|
return this.__data__.has(e);
|
|
@@ -12197,7 +12197,7 @@ b3.exports;
|
|
|
12197
12197
|
}
|
|
12198
12198
|
function Xt(e) {
|
|
12199
12199
|
var l = g3(e, function(i) {
|
|
12200
|
-
return t.size ===
|
|
12200
|
+
return t.size === P && t.clear(), i;
|
|
12201
12201
|
}), t = l.cache;
|
|
12202
12202
|
return l;
|
|
12203
12203
|
}
|
|
@@ -13774,8 +13774,8 @@ const wM = ({
|
|
|
13774
13774
|
loadingLabel: x,
|
|
13775
13775
|
usePortal: V = !0,
|
|
13776
13776
|
withAutoFilter: m = !0,
|
|
13777
|
-
positioning:
|
|
13778
|
-
loadItems:
|
|
13777
|
+
positioning: F,
|
|
13778
|
+
loadItems: P,
|
|
13779
13779
|
renderItem: j,
|
|
13780
13780
|
onResetInitialItems: Y,
|
|
13781
13781
|
isLoading: U,
|
|
@@ -13787,11 +13787,11 @@ const wM = ({
|
|
|
13787
13787
|
returnItemsOnEmpty: K1,
|
|
13788
13788
|
...Z1
|
|
13789
13789
|
}) => {
|
|
13790
|
-
const [O1, V1] = v2(() => c), [m5, z1] = v2(!1), [x5, o2] = v2(!1), d2 = typeof
|
|
13791
|
-
() =>
|
|
13790
|
+
const [O1, V1] = v2(() => c), [m5, z1] = v2(!1), [x5, o2] = v2(!1), d2 = typeof P == "function", _5 = O2(
|
|
13791
|
+
() => P ? fu.debounce(async (Q) => {
|
|
13792
13792
|
try {
|
|
13793
13793
|
o2(!0), z1(!0);
|
|
13794
|
-
const f1 = await
|
|
13794
|
+
const f1 = await P(Q);
|
|
13795
13795
|
V1(f1);
|
|
13796
13796
|
} catch (f1) {
|
|
13797
13797
|
console.error(f1), V1([]);
|
|
@@ -13799,7 +13799,7 @@ const wM = ({
|
|
|
13799
13799
|
z1(!1);
|
|
13800
13800
|
}
|
|
13801
13801
|
}, n) : null,
|
|
13802
|
-
[
|
|
13802
|
+
[P, n]
|
|
13803
13803
|
), F1 = [...O1, ...u ?? []], X2 = ma(
|
|
13804
13804
|
async (Q) => {
|
|
13805
13805
|
u && u.length > 0 && !u.find((c1) => c1.label === Q.inputValue) && (Y == null || Y());
|
|
@@ -13825,7 +13825,7 @@ const wM = ({
|
|
|
13825
13825
|
lazyMount: !0,
|
|
13826
13826
|
unmountOnExit: !0,
|
|
13827
13827
|
collection: m2,
|
|
13828
|
-
positioning: { sameWidth: !0, gutter: 0, ...
|
|
13828
|
+
positioning: { sameWidth: !0, gutter: 0, ...F },
|
|
13829
13829
|
"data-recipe": "combobox",
|
|
13830
13830
|
onInputValueChange: X2,
|
|
13831
13831
|
value: a1,
|
|
@@ -13920,8 +13920,8 @@ const { withProvider: bu, withContext: fC } = C1(sa), yu = bu(s(s9.Root), "root"
|
|
|
13920
13920
|
V && setTimeout(() => {
|
|
13921
13921
|
const m = document.getElementById(V);
|
|
13922
13922
|
if (m) {
|
|
13923
|
-
const
|
|
13924
|
-
|
|
13923
|
+
const F = m.querySelector("footer");
|
|
13924
|
+
F && (v ? m.style.setProperty("--footer-height", `${Math.ceil(F.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
|
|
13925
13925
|
}
|
|
13926
13926
|
}, 0);
|
|
13927
13927
|
}, [R, v]), /* @__PURE__ */ r(Z5, { children: [
|
|
@@ -13967,7 +13967,7 @@ const { withProvider: Ou, withContext: ZC } = C1(j0), $u = s(I.div, La), Gu = (c
|
|
|
13967
13967
|
({ children: c, size: u, max: n = 4, overflowContent: v, ...R }, x) => {
|
|
13968
13968
|
const [V, m] = Gu(u9.toArray(c), n);
|
|
13969
13969
|
return /* @__PURE__ */ r($u, { ref: x, size: u, ...R, children: [
|
|
13970
|
-
u9.map(V, (
|
|
13970
|
+
u9.map(V, (F) => $2(F, j0.raw({ size: u }))),
|
|
13971
13971
|
v && m.length > 0 ? $2(Nu(v, m.length), { "data-overflow": "" }) : null
|
|
13972
13972
|
] });
|
|
13973
13973
|
}
|
|
@@ -17759,9 +17759,9 @@ const wp = ({ messages: c = [], ...u }) => /* @__PURE__ */ r(f5, { children: [
|
|
|
17759
17759
|
MessageContainer: HC,
|
|
17760
17760
|
Root: wp
|
|
17761
17761
|
}, Symbol.toStringTag, { value: "Module" })), Rp = J((c, u) => {
|
|
17762
|
-
const [n, v] = e0.splitVariantProps(c), [R, x] = l2(v), { className: V, unit: m, price:
|
|
17763
|
-
return /* @__PURE__ */ r("span", { ref: u, className: e2("price-tag", j.root, w2(R), V), ...
|
|
17764
|
-
/* @__PURE__ */ C("span", { className: j.price, children:
|
|
17762
|
+
const [n, v] = e0.splitVariantProps(c), [R, x] = l2(v), { className: V, unit: m, price: F, ...P } = x, j = e0(n), Y = !!m;
|
|
17763
|
+
return /* @__PURE__ */ r("span", { ref: u, className: e2("price-tag", j.root, w2(R), V), ...P, children: [
|
|
17764
|
+
/* @__PURE__ */ C("span", { className: j.price, children: F }),
|
|
17765
17765
|
Y ? /* @__PURE__ */ r("span", { className: j.unit, children: [
|
|
17766
17766
|
"/ ",
|
|
17767
17767
|
m
|