@starasia/admin 3.20.5 → 3.20.6
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/index.cjs.js +1 -1
- package/dist/index.es.js +77 -76
- package/dist/index.umd.js +1 -1
- package/package.json +11 -5
package/dist/index.es.js
CHANGED
|
@@ -8,7 +8,7 @@ export * from "@starasia/button";
|
|
|
8
8
|
export * from "@starasia/card";
|
|
9
9
|
import { StarasiaDate as Tt } from "@starasia/date";
|
|
10
10
|
export * from "@starasia/date";
|
|
11
|
-
import { Dialog as ze, DialogTitle as Se, DialogBody as Ie, DialogFooter as
|
|
11
|
+
import { Dialog as ze, DialogTitle as Se, DialogBody as Ie, DialogFooter as Je } from "@starasia/dialog";
|
|
12
12
|
export * from "@starasia/dialog";
|
|
13
13
|
import { Drawer as Ot } from "@starasia/drawer";
|
|
14
14
|
export * from "@starasia/drawer";
|
|
@@ -16,7 +16,7 @@ import { Dropdown as lt } from "@starasia/dropdown";
|
|
|
16
16
|
export * from "@starasia/dropdown";
|
|
17
17
|
import { useMediaQuery as ee } from "@starasia/hooks";
|
|
18
18
|
export * from "@starasia/hooks";
|
|
19
|
-
import { searchParamsToObject as
|
|
19
|
+
import { searchParamsToObject as Pe } from "@starasia/http";
|
|
20
20
|
export * from "@starasia/http";
|
|
21
21
|
import { Input as ot } from "@starasia/input";
|
|
22
22
|
export * from "@starasia/input";
|
|
@@ -30,7 +30,7 @@ export * from "@starasia/table";
|
|
|
30
30
|
export * from "@starasia/tabs";
|
|
31
31
|
import { Textarea as Ut } from "@starasia/textarea";
|
|
32
32
|
export * from "@starasia/textarea";
|
|
33
|
-
import { useTheme as
|
|
33
|
+
import { useTheme as qt, ThemeProvider as ht, useRadius as Jt, useColor as Pt } from "@starasia/theme";
|
|
34
34
|
export * from "@starasia/theme";
|
|
35
35
|
export * from "@starasia/toast";
|
|
36
36
|
import { Toggle as kt } from "@starasia/toggle";
|
|
@@ -121,7 +121,7 @@ const er = {
|
|
|
121
121
|
initialUserData: o,
|
|
122
122
|
theme: s
|
|
123
123
|
}) => {
|
|
124
|
-
const a = tr({ initialUserData: o }), { theme: h } =
|
|
124
|
+
const a = tr({ initialUserData: o }), { theme: h } = qt();
|
|
125
125
|
return /* @__PURE__ */ e(
|
|
126
126
|
Wt.Provider,
|
|
127
127
|
{
|
|
@@ -174,16 +174,16 @@ function lr({
|
|
|
174
174
|
}
|
|
175
175
|
);
|
|
176
176
|
}
|
|
177
|
-
const
|
|
177
|
+
const qe = "moduleSwitcherGroupId", nt = "sa-module-switcher-change";
|
|
178
178
|
function ft() {
|
|
179
179
|
if (typeof window > "u") return null;
|
|
180
|
-
const t = window.localStorage.getItem(
|
|
180
|
+
const t = window.localStorage.getItem(qe);
|
|
181
181
|
if (t === null) return null;
|
|
182
182
|
const r = Number(t);
|
|
183
183
|
return Number.isFinite(r) ? r : null;
|
|
184
184
|
}
|
|
185
185
|
function Rt(t) {
|
|
186
|
-
typeof window > "u" || (t === null ? window.localStorage.removeItem(
|
|
186
|
+
typeof window > "u" || (t === null ? window.localStorage.removeItem(qe) : window.localStorage.setItem(qe, String(t)), window.dispatchEvent(new CustomEvent(nt, { detail: t })));
|
|
187
187
|
}
|
|
188
188
|
function nn() {
|
|
189
189
|
Rt(null);
|
|
@@ -196,7 +196,7 @@ function Ht() {
|
|
|
196
196
|
const l = () => {
|
|
197
197
|
r(ft());
|
|
198
198
|
}, i = (o) => {
|
|
199
|
-
o.key ===
|
|
199
|
+
o.key === qe && l();
|
|
200
200
|
};
|
|
201
201
|
return window.addEventListener(nt, l), window.addEventListener("storage", i), () => {
|
|
202
202
|
window.removeEventListener(nt, l), window.removeEventListener("storage", i);
|
|
@@ -256,7 +256,7 @@ function ln({
|
|
|
256
256
|
logoutButton: p
|
|
257
257
|
}) {
|
|
258
258
|
var ke, je;
|
|
259
|
-
const [b] = Ge(), H = b.get("embed") === "true", D = Bt(), { badges: I } = ir(), Z = ct(), j = Te(), M = !ee("md"), [fe, G] = A(!1), [V, K] = A(!1), [oe, ce] = A(!1), [_, ae] = A(!1), [se, re] = A(/* @__PURE__ */ new Set()), [Q,
|
|
259
|
+
const [b] = Ge(), H = b.get("embed") === "true", D = Bt(), { badges: I } = ir(), Z = ct(), j = Te(), M = !ee("md"), [fe, G] = A(!1), [V, K] = A(!1), [oe, ce] = A(!1), [_, ae] = A(!1), [se, re] = A(/* @__PURE__ */ new Set()), [Q, J] = A(null), { selectedGroupId: O, setSelectedGroupId: z } = Ht(), Y = le(null), de = le(null);
|
|
260
260
|
U(() => {
|
|
261
261
|
const m = Y.current;
|
|
262
262
|
if (!m) return;
|
|
@@ -362,7 +362,7 @@ function ln({
|
|
|
362
362
|
if (F)
|
|
363
363
|
if (V && !M) {
|
|
364
364
|
const R = L.currentTarget.getBoundingClientRect();
|
|
365
|
-
|
|
365
|
+
J({
|
|
366
366
|
item: m,
|
|
367
367
|
top: R.top,
|
|
368
368
|
left: R.right + 8
|
|
@@ -1207,7 +1207,7 @@ function ln({
|
|
|
1207
1207
|
/* @__PURE__ */ d(ze, { isShow: fe, onHide: Oe, children: [
|
|
1208
1208
|
/* @__PURE__ */ e(Se, { children: "Confirmation Logout" }),
|
|
1209
1209
|
/* @__PURE__ */ e(Ie, { children: "Are you sure you want to end the session and exit the page?" }),
|
|
1210
|
-
/* @__PURE__ */ e(
|
|
1210
|
+
/* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(u, { display: "flex", align: "flex-end", justify: "center", children: /* @__PURE__ */ d($, { direction: "row", gap: "sm", align: "center", children: [
|
|
1211
1211
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(B, { secondary: !0, onClick: Oe, children: "Cancel" }) }),
|
|
1212
1212
|
/* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(B, { primary: !0, onClick: Qe, children: "Yes, Sure" }) })
|
|
1213
1213
|
] }) }) })
|
|
@@ -1216,7 +1216,7 @@ function ln({
|
|
|
1216
1216
|
/* @__PURE__ */ e(
|
|
1217
1217
|
"div",
|
|
1218
1218
|
{
|
|
1219
|
-
onClick: () =>
|
|
1219
|
+
onClick: () => J(null),
|
|
1220
1220
|
style: {
|
|
1221
1221
|
position: "fixed",
|
|
1222
1222
|
inset: 0,
|
|
@@ -1270,7 +1270,7 @@ function ln({
|
|
|
1270
1270
|
"button",
|
|
1271
1271
|
{
|
|
1272
1272
|
onClick: () => {
|
|
1273
|
-
Z(m.to),
|
|
1273
|
+
Z(m.to), J(null);
|
|
1274
1274
|
},
|
|
1275
1275
|
style: {
|
|
1276
1276
|
width: "100%",
|
|
@@ -1538,7 +1538,7 @@ function on({
|
|
|
1538
1538
|
}
|
|
1539
1539
|
const cn = te(
|
|
1540
1540
|
({ children: t, coverImage: r, logo: n }) => {
|
|
1541
|
-
const l = ee("md"), i =
|
|
1541
|
+
const l = ee("md"), i = Jt();
|
|
1542
1542
|
return /* @__PURE__ */ d(
|
|
1543
1543
|
u,
|
|
1544
1544
|
{
|
|
@@ -1768,7 +1768,7 @@ const cn = te(
|
|
|
1768
1768
|
return /* @__PURE__ */ d(ze, { isShow: i, onHide: n, children: [
|
|
1769
1769
|
a(),
|
|
1770
1770
|
/* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(C, { children: r }) }),
|
|
1771
|
-
/* @__PURE__ */ e(
|
|
1771
|
+
/* @__PURE__ */ e(Je, { children: /* @__PURE__ */ d(u, { justify: "flex-end", direction: "row", gap: "sm", children: [
|
|
1772
1772
|
/* @__PURE__ */ e(B, { secondary: !0, onClick: n, children: "Cancel" }),
|
|
1773
1773
|
h()
|
|
1774
1774
|
] }) })
|
|
@@ -1840,11 +1840,11 @@ const cn = te(
|
|
|
1840
1840
|
}
|
|
1841
1841
|
g(-1, { replace: !0 });
|
|
1842
1842
|
}, H = () => o ? it(o) ? o : /* @__PURE__ */ e(u, { direction: "row", gap: "lg", children: o.map(
|
|
1843
|
-
({ title: j, icon:
|
|
1843
|
+
({ title: j, icon: P, buttonProps: M, onClick: fe }, G) => !j && !P ? null : /* @__PURE__ */ e(
|
|
1844
1844
|
B,
|
|
1845
1845
|
{
|
|
1846
1846
|
fullWidth: !f,
|
|
1847
|
-
iconLeft:
|
|
1847
|
+
iconLeft: P ? /* @__PURE__ */ e(k, { name: P, size: "md" }) : void 0,
|
|
1848
1848
|
onClick: fe,
|
|
1849
1849
|
...M,
|
|
1850
1850
|
children: j
|
|
@@ -1863,8 +1863,8 @@ const cn = te(
|
|
|
1863
1863
|
}
|
|
1864
1864
|
) }) : /* @__PURE__ */ e(u, { direction: "row", children: /* @__PURE__ */ e(Vt, { onClick: b, children: j }) });
|
|
1865
1865
|
}, I = () => {
|
|
1866
|
-
const j = !!r,
|
|
1867
|
-
return !j && !
|
|
1866
|
+
const j = !!r, P = it(o) ? !0 : Array.isArray(o) && o.length > 0;
|
|
1867
|
+
return !j && !P && !p ? null : /* @__PURE__ */ d(
|
|
1868
1868
|
u,
|
|
1869
1869
|
{
|
|
1870
1870
|
gap: "xs",
|
|
@@ -1873,7 +1873,7 @@ const cn = te(
|
|
|
1873
1873
|
...h,
|
|
1874
1874
|
children: [
|
|
1875
1875
|
p && D(),
|
|
1876
|
-
(j ||
|
|
1876
|
+
(j || P) && /* @__PURE__ */ d(
|
|
1877
1877
|
u,
|
|
1878
1878
|
{
|
|
1879
1879
|
direction: f ? "row" : "column",
|
|
@@ -2156,7 +2156,7 @@ const cn = te(
|
|
|
2156
2156
|
Body2: Br,
|
|
2157
2157
|
Body3: Ar
|
|
2158
2158
|
}, at = () => {
|
|
2159
|
-
const [t, r] = Ge(), n =
|
|
2159
|
+
const [t, r] = Ge(), n = Pe(t.toString()), l = Lt(), i = Te(), o = l.id;
|
|
2160
2160
|
return {
|
|
2161
2161
|
// query params
|
|
2162
2162
|
setSearchParams: r,
|
|
@@ -2341,9 +2341,9 @@ const cn = te(
|
|
|
2341
2341
|
titleSearchLabel: H = "Work Order",
|
|
2342
2342
|
withTitleLabels: D = !1
|
|
2343
2343
|
}) => {
|
|
2344
|
-
const Z = (p == null ? void 0 : p.isShowLabel) ?? !0, [j,
|
|
2344
|
+
const Z = (p == null ? void 0 : p.isShowLabel) ?? !0, [j, P] = A(!1), [M, fe] = A(0), G = () => {
|
|
2345
2345
|
fe((z) => z + 1);
|
|
2346
|
-
}, { searchParams: V, setSearchParams: K, getQueryParam: oe } = at(), ce =
|
|
2346
|
+
}, { searchParams: V, setSearchParams: K, getQueryParam: oe } = at(), ce = Pe(V.toString()), _ = Or(t, V, a) || "", [ae, se] = A(_), re = oe(a), J = !!(re && !(() => {
|
|
2347
2347
|
if (re)
|
|
2348
2348
|
try {
|
|
2349
2349
|
const z = JSON.parse(re);
|
|
@@ -2389,7 +2389,7 @@ const cn = te(
|
|
|
2389
2389
|
},
|
|
2390
2390
|
align: "flex-end",
|
|
2391
2391
|
children: [
|
|
2392
|
-
|
|
2392
|
+
J && /* @__PURE__ */ e(u, { justify: "flex-end", children: /* @__PURE__ */ e(
|
|
2393
2393
|
B,
|
|
2394
2394
|
{
|
|
2395
2395
|
onClick: () => {
|
|
@@ -2419,8 +2419,8 @@ const cn = te(
|
|
|
2419
2419
|
!!(y != null && y.length) && /* @__PURE__ */ e(
|
|
2420
2420
|
B,
|
|
2421
2421
|
{
|
|
2422
|
-
primary:
|
|
2423
|
-
secondary: !
|
|
2422
|
+
primary: J,
|
|
2423
|
+
secondary: !J,
|
|
2424
2424
|
iconLeft: /* @__PURE__ */ e(
|
|
2425
2425
|
k,
|
|
2426
2426
|
{
|
|
@@ -2432,7 +2432,7 @@ const cn = te(
|
|
|
2432
2432
|
}
|
|
2433
2433
|
),
|
|
2434
2434
|
fullWidth: !O,
|
|
2435
|
-
onClick: () =>
|
|
2435
|
+
onClick: () => P(!0),
|
|
2436
2436
|
children: Z ? "Filter" : void 0
|
|
2437
2437
|
}
|
|
2438
2438
|
),
|
|
@@ -2524,7 +2524,7 @@ const cn = te(
|
|
|
2524
2524
|
Nr,
|
|
2525
2525
|
{
|
|
2526
2526
|
isOpen: j,
|
|
2527
|
-
onClose: () =>
|
|
2527
|
+
onClose: () => P(!1),
|
|
2528
2528
|
filterKey: a,
|
|
2529
2529
|
filters: y,
|
|
2530
2530
|
pageKey: h
|
|
@@ -2685,7 +2685,7 @@ const cn = te(
|
|
|
2685
2685
|
flexShrink: 0
|
|
2686
2686
|
},
|
|
2687
2687
|
children: i ? /* @__PURE__ */ d(X, { children: [
|
|
2688
|
-
/* @__PURE__ */ d(u, { style: { display: "flex", flexDirection: "row", gap: "8px", alignItems: "center" }, children: [
|
|
2688
|
+
/* @__PURE__ */ d(u, { style: { display: "flex", flexDirection: "row", gap: "8px", alignItems: "center", textWrap: "nowrap" }, children: [
|
|
2689
2689
|
/* @__PURE__ */ e(C, { children: "Rows Per Page: " }),
|
|
2690
2690
|
/* @__PURE__ */ e(
|
|
2691
2691
|
lt,
|
|
@@ -2700,6 +2700,7 @@ const cn = te(
|
|
|
2700
2700
|
onChange: (H) => {
|
|
2701
2701
|
y(H[0].value);
|
|
2702
2702
|
},
|
|
2703
|
+
value: f ? [{ label: `${f} per row`, value: f }] : [{ label: `${l} per row`, value: `${l}` }],
|
|
2703
2704
|
defaultValue: f ? [{ label: `${f} per row`, value: f }] : [{ label: `${l} per row`, value: `${l}` }]
|
|
2704
2705
|
}
|
|
2705
2706
|
),
|
|
@@ -2723,7 +2724,7 @@ const cn = te(
|
|
|
2723
2724
|
)
|
|
2724
2725
|
}
|
|
2725
2726
|
);
|
|
2726
|
-
},
|
|
2727
|
+
}, qr = ({ filter: t, columnTitle: r }) => {
|
|
2727
2728
|
const [n, l] = A(!1), i = le(null), o = le(null), s = le(null), [a, h] = A(""), [f, g] = A({ top: 0, left: 0 }), y = t.selectedValues, p = De(() => a ? t.options.filter(
|
|
2728
2729
|
(D) => D.label.toLowerCase().includes(a.toLowerCase())
|
|
2729
2730
|
) : t.options, [t.options, a]);
|
|
@@ -3015,7 +3016,7 @@ const cn = te(
|
|
|
3015
3016
|
}
|
|
3016
3017
|
)
|
|
3017
3018
|
] });
|
|
3018
|
-
},
|
|
3019
|
+
}, Jr = ({
|
|
3019
3020
|
direction: t
|
|
3020
3021
|
}) => {
|
|
3021
3022
|
const r = "var(--sa-text-primary, #292a2e)", n = "var(--sa-text-subtle, #8c8f97)";
|
|
@@ -3055,7 +3056,7 @@ const cn = te(
|
|
|
3055
3056
|
]
|
|
3056
3057
|
}
|
|
3057
3058
|
);
|
|
3058
|
-
},
|
|
3059
|
+
}, Pr = ({ frozen: t }) => /* @__PURE__ */ d(
|
|
3059
3060
|
"svg",
|
|
3060
3061
|
{
|
|
3061
3062
|
width: "11",
|
|
@@ -3091,7 +3092,7 @@ const cn = te(
|
|
|
3091
3092
|
enableColumnResize: I = !1,
|
|
3092
3093
|
defaultColumnWidths: Z,
|
|
3093
3094
|
onColumnWidthsChange: j,
|
|
3094
|
-
defaultMinColumnWidth:
|
|
3095
|
+
defaultMinColumnWidth: P = 60,
|
|
3095
3096
|
sort: M,
|
|
3096
3097
|
defaultSort: fe,
|
|
3097
3098
|
onSortChange: G,
|
|
@@ -3107,7 +3108,7 @@ const cn = te(
|
|
|
3107
3108
|
if (!w) return;
|
|
3108
3109
|
let v;
|
|
3109
3110
|
!_ || _.key !== w ? v = { key: w, direction: "asc" } : _.direction === "asc" ? v = { key: w, direction: "desc" } : v = null, K || ce(v), G == null || G(v);
|
|
3110
|
-
}, Q = [n, l, i].filter((x) => x !== void 0).length,
|
|
3111
|
+
}, Q = [n, l, i].filter((x) => x !== void 0).length, J = !!b, O = !!n || !!l || !!i || J, z = "var(--sa-border-subtle, #0b120e24)", Y = `1px solid ${z}`, de = `inset 1px 0 0 ${z}`, he = `inset -1px 0 0 ${z}`, Me = Q === 3 ? J ? "178px" : "140px" : Q === 2 ? J ? "140px" : "102px" : Q === 1 ? J ? "112px" : "74px" : J ? "74px" : "", Oe = (x, w) => {
|
|
3111
3112
|
if (!w) return x;
|
|
3112
3113
|
if (typeof w == "function") return w(x);
|
|
3113
3114
|
if (typeof w == "string") return x[w];
|
|
@@ -3154,7 +3155,7 @@ const cn = te(
|
|
|
3154
3155
|
var Fe;
|
|
3155
3156
|
const pe = ke.current;
|
|
3156
3157
|
if (!pe) return;
|
|
3157
|
-
const $e = ((Fe = t[pe.colIndex]) == null ? void 0 : Fe.minWidth) ??
|
|
3158
|
+
const $e = ((Fe = t[pe.colIndex]) == null ? void 0 : Fe.minWidth) ?? P, Ae = Math.max($e, pe.startWidth + (xe.clientX - pe.startX));
|
|
3158
3159
|
Be(
|
|
3159
3160
|
(Ye) => Ye[pe.colIndex] === Ae ? Ye : { ...Ye, [pe.colIndex]: Ae }
|
|
3160
3161
|
);
|
|
@@ -3238,7 +3239,7 @@ const cn = te(
|
|
|
3238
3239
|
children: x.title || (($e = x.accessor) == null ? void 0 : $e.toString())
|
|
3239
3240
|
}
|
|
3240
3241
|
),
|
|
3241
|
-
/* @__PURE__ */ e(
|
|
3242
|
+
/* @__PURE__ */ e(Jr, { direction: pe })
|
|
3242
3243
|
]
|
|
3243
3244
|
}
|
|
3244
3245
|
) : /* @__PURE__ */ e(
|
|
@@ -3255,7 +3256,7 @@ const cn = te(
|
|
|
3255
3256
|
}
|
|
3256
3257
|
),
|
|
3257
3258
|
x.filter && /* @__PURE__ */ e(
|
|
3258
|
-
|
|
3259
|
+
qr,
|
|
3259
3260
|
{
|
|
3260
3261
|
filter: x.filter,
|
|
3261
3262
|
columnTitle: x.title
|
|
@@ -3278,7 +3279,7 @@ const cn = te(
|
|
|
3278
3279
|
opacity: v ? 1 : 0.45,
|
|
3279
3280
|
transition: "opacity 0.15s"
|
|
3280
3281
|
},
|
|
3281
|
-
children: /* @__PURE__ */ e(
|
|
3282
|
+
children: /* @__PURE__ */ e(Pr, { frozen: v })
|
|
3282
3283
|
}
|
|
3283
3284
|
)
|
|
3284
3285
|
]
|
|
@@ -4524,7 +4525,7 @@ const si = (t) => {
|
|
|
4524
4525
|
size: r = "md",
|
|
4525
4526
|
...n
|
|
4526
4527
|
}) => {
|
|
4527
|
-
const l =
|
|
4528
|
+
const l = Pt(), i = (s) => {
|
|
4528
4529
|
var h, f, g, y, p, b;
|
|
4529
4530
|
if (!s) return;
|
|
4530
4531
|
const a = n.disabled ? "var(--sa-text-disable, #181a198f)" : t === "secondary" ? "var(--sa-text-subtle, #8c8f97)" : t === "secondary-danger" ? (f = (h = l == null ? void 0 : l.computed) == null ? void 0 : h.red) == null ? void 0 : f[600] : t === "secondary-primary" ? (y = (g = l == null ? void 0 : l.computed) == null ? void 0 : g.blue) == null ? void 0 : y[700] : (b = (p = l == null ? void 0 : l.computed) == null ? void 0 : p.gray) == null ? void 0 : b[50];
|
|
@@ -4712,7 +4713,7 @@ const Ct = {
|
|
|
4712
4713
|
maxFileSize: h = 2,
|
|
4713
4714
|
onError: f
|
|
4714
4715
|
}, g) => {
|
|
4715
|
-
const y = ee("md"), [p, b] = A(!1), [H, D] = A(null), [I, Z] = A(!1), [j,
|
|
4716
|
+
const y = ee("md"), [p, b] = A(!1), [H, D] = A(null), [I, Z] = A(!1), [j, P] = A({ x: 0, y: 0 }), [M, fe] = A(1), [G, V] = A(null);
|
|
4716
4717
|
U(() => {
|
|
4717
4718
|
r === null && i(null);
|
|
4718
4719
|
}, [r]);
|
|
@@ -4753,8 +4754,8 @@ const Ct = {
|
|
|
4753
4754
|
}
|
|
4754
4755
|
}));
|
|
4755
4756
|
const se = parseInt(o, 10), re = Ct[s];
|
|
4756
|
-
let Q,
|
|
4757
|
-
return re >= 1 ? (
|
|
4757
|
+
let Q, J;
|
|
4758
|
+
return re >= 1 ? (J = se, Q = se * re) : (Q = se, J = se / re), /* @__PURE__ */ d(
|
|
4758
4759
|
u,
|
|
4759
4760
|
{
|
|
4760
4761
|
display: "flex",
|
|
@@ -4769,7 +4770,7 @@ const Ct = {
|
|
|
4769
4770
|
justify: "center",
|
|
4770
4771
|
style: {
|
|
4771
4772
|
width: a != null && a.fullWidth ? "100%" : `${Q}px`,
|
|
4772
|
-
height: a != null && a.fullWidth ? "auto" : `${
|
|
4773
|
+
height: a != null && a.fullWidth ? "auto" : `${J}px`,
|
|
4773
4774
|
aspectRatio: re,
|
|
4774
4775
|
flexShrink: 0
|
|
4775
4776
|
},
|
|
@@ -4908,7 +4909,7 @@ const Ct = {
|
|
|
4908
4909
|
crop: j,
|
|
4909
4910
|
zoom: M,
|
|
4910
4911
|
aspect: s ? Ct[s] : void 0,
|
|
4911
|
-
onCropChange:
|
|
4912
|
+
onCropChange: P,
|
|
4912
4913
|
onZoomChange: fe,
|
|
4913
4914
|
onCropComplete: K,
|
|
4914
4915
|
objectFit: "contain",
|
|
@@ -4918,7 +4919,7 @@ const Ct = {
|
|
|
4918
4919
|
)
|
|
4919
4920
|
}
|
|
4920
4921
|
) }),
|
|
4921
|
-
/* @__PURE__ */ e(
|
|
4922
|
+
/* @__PURE__ */ e(Je, { children: /* @__PURE__ */ d(u, { justify: "flex-end", direction: "row", gap: "sm", children: [
|
|
4922
4923
|
/* @__PURE__ */ e(B, { size: "sm", secondary: !0, onClick: () => Z(!1), children: "Cancel" }),
|
|
4923
4924
|
/* @__PURE__ */ e(B, { size: "sm", primary: !0, onClick: ce, children: "Crop" })
|
|
4924
4925
|
] }) })
|
|
@@ -5264,7 +5265,7 @@ const Ct = {
|
|
|
5264
5265
|
/* @__PURE__ */ e(C, { color: "gray-500", variant: "sub-h3", children: t })
|
|
5265
5266
|
] }) : /* @__PURE__ */ e(C, { color: "gray-500", variant: "sub-h3", children: t }),
|
|
5266
5267
|
typeof r == "string" ? /* @__PURE__ */ e(C, { variant: "sub-h3", children: r }) : r
|
|
5267
|
-
] }),
|
|
5268
|
+
] }), q = {
|
|
5268
5269
|
silhouette: "#A7B0AC",
|
|
5269
5270
|
accent: "#78867F"
|
|
5270
5271
|
};
|
|
@@ -5282,112 +5283,112 @@ function Fi({ width: t, height: r }) {
|
|
|
5282
5283
|
"path",
|
|
5283
5284
|
{
|
|
5284
5285
|
d: "M51.0002 16.8145C36.0811 16.8145 24.8296 21.3801 24.8296 27.4328V76.5344C24.8296 82.573 36.0799 87.127 51.0002 87.127C65.9204 87.127 77.1707 82.573 77.1707 76.5344V27.4328C77.1707 21.3801 65.9204 16.8145 51.0002 16.8145ZM51.0002 19.1582C65.0602 19.1582 74.8582 23.5187 74.8582 27.4328C74.8582 30.1363 70.1615 32.9664 63.1708 34.4746C55.861 36.0543 46.1416 36.0543 38.8318 34.4746C31.8399 32.9664 27.1432 30.1363 27.1432 27.4328C27.1432 23.5187 36.9402 19.1582 51.0002 19.1582ZM74.8582 31.9199V43.784C74.8582 46.532 70.3142 49.2941 63.2737 50.8328C63.2391 50.8375 63.2032 50.8434 63.1697 50.8504C57.6867 52.0352 50.8498 52.3305 44.6893 51.7387C42.6358 51.5418 40.6575 51.2453 38.8306 50.8504C38.8029 50.8445 38.7682 50.8387 38.7347 50.8352C32.5707 49.4898 28.318 47.2047 27.3514 44.8141C27.2138 44.4719 27.1421 44.1285 27.1421 43.7852V31.9199C27.1999 31.9715 27.2693 32.0207 27.3294 32.0723C27.5052 32.2246 27.6902 32.3758 27.8844 32.5234C27.9954 32.609 28.1064 32.6934 28.2232 32.7766C28.4371 32.9301 28.6637 33.0801 28.8973 33.2289C29.0083 33.2992 29.1135 33.3719 29.2291 33.441C29.5702 33.6473 29.9275 33.8488 30.3044 34.0434C30.3195 34.0516 30.3333 34.0598 30.3484 34.068C30.7427 34.2707 31.1601 34.4652 31.5925 34.6551C31.7301 34.716 31.8758 34.7734 32.0168 34.832C32.3221 34.9598 32.6331 35.0852 32.9557 35.207C33.1303 35.2727 33.3095 35.3359 33.4887 35.4004C33.8032 35.5117 34.1247 35.6207 34.4542 35.7273C34.6404 35.7871 34.8254 35.8469 35.015 35.9043C35.3734 36.0133 35.7434 36.1164 36.1181 36.2184C36.2915 36.2652 36.4603 36.3145 36.6361 36.3602C37.1911 36.5031 37.7588 36.6402 38.3485 36.7668C42.1595 37.5906 46.5336 38.0254 50.999 38.0254C55.4644 38.0254 59.8397 37.5906 63.6495 36.768C64.2404 36.6402 64.8092 36.5031 65.3666 36.3602C65.5377 36.3156 65.7007 36.2688 65.8684 36.223C66.2499 36.1199 66.6246 36.0145 66.9888 35.9031C67.1749 35.8469 67.3553 35.7883 67.5368 35.7309C67.8745 35.623 68.2028 35.5105 68.5243 35.3969C68.6966 35.3359 68.8677 35.275 69.0353 35.2117C69.3672 35.0863 69.6852 34.9574 69.9985 34.8262C70.1326 34.7699 70.2725 34.7148 70.4032 34.6574C70.8379 34.4664 71.2576 34.2707 71.6542 34.0668C71.66 34.0633 71.6658 34.0609 71.6716 34.0574C72.0589 33.8582 72.4243 33.6508 72.7735 33.441C72.8868 33.3719 72.9909 33.3016 73.1007 33.2313C73.3354 33.0813 73.5632 32.9312 73.7794 32.7766C73.8951 32.6934 74.0049 32.609 74.1159 32.5258C74.3102 32.377 74.4963 32.2258 74.6732 32.0723C74.7322 32.0207 74.8027 31.9727 74.8594 31.9211L74.8582 31.9199ZM74.8582 48.2887V60.1598C74.8582 62.8773 70.3396 65.6359 63.335 67.2004C63.2737 67.2051 63.2136 67.2156 63.1547 67.2285C59.5021 68.016 55.2482 68.4109 50.9955 68.4098C48.8692 68.4098 46.7428 68.3113 44.6917 68.1145C42.6405 67.9176 40.6656 67.6211 38.8399 67.2273C38.7832 67.2133 38.7266 67.2051 38.6699 67.2004C31.663 65.6359 27.1432 62.8785 27.1432 60.1598V48.2887C27.2022 48.3426 27.2739 48.393 27.3352 48.4457C27.5075 48.5945 27.6878 48.7422 27.8763 48.8875C27.9908 48.9754 28.1052 49.0633 28.2255 49.15C28.4348 49.3 28.6568 49.4477 28.8834 49.593C28.999 49.6668 29.1089 49.7418 29.228 49.8145C29.5633 50.0172 29.9136 50.2152 30.2825 50.4074C30.3114 50.4227 30.338 50.4379 30.3669 50.452C30.7507 50.6488 31.1566 50.8398 31.5775 51.0262C31.722 51.0895 31.8746 51.1504 32.0226 51.2125C32.3198 51.3379 32.6227 51.4609 32.9372 51.5793C33.1164 51.6473 33.2991 51.7129 33.4841 51.7785C33.7917 51.8887 34.1073 51.9953 34.4299 52.0996C34.6196 52.1605 34.8092 52.2227 35.0046 52.2812C35.3584 52.3891 35.7238 52.4922 36.0938 52.593C36.2684 52.641 36.4395 52.6902 36.6176 52.7359C37.1714 52.8789 37.738 53.016 38.3253 53.1426C38.3554 53.1496 38.3889 53.1555 38.4236 53.159C42.2161 53.9723 46.5636 54.4023 51.0013 54.4023C55.439 54.4023 59.7784 53.9734 63.5697 53.1613C63.6056 53.1566 63.6414 53.1508 63.6773 53.1426C64.2647 53.0148 64.8312 52.8789 65.3851 52.7359C65.5643 52.6902 65.7342 52.6398 65.9088 52.593C66.2788 52.4922 66.6442 52.3891 66.998 52.2812C67.1934 52.2215 67.3831 52.1605 67.5727 52.0996C67.8953 51.9953 68.2109 51.8887 68.5185 51.7785C68.7023 51.7129 68.8862 51.6473 69.0654 51.5793C69.3799 51.4598 69.6817 51.3367 69.98 51.2125C70.128 51.1504 70.2806 51.0895 70.4252 51.0262C70.846 50.841 71.2507 50.65 71.6357 50.452C71.6646 50.4367 71.6912 50.4215 71.7201 50.4074C72.0901 50.2152 72.4405 50.0172 72.7747 49.8145C72.8949 49.7418 73.0036 49.6668 73.1192 49.593C73.347 49.4477 73.5678 49.3 73.7771 49.15C73.8974 49.0633 74.0118 48.9766 74.1263 48.8875C74.3148 48.7422 74.4952 48.5945 74.6674 48.4457C74.7287 48.393 74.7992 48.3426 74.8582 48.2887ZM74.8582 76.5355C74.8582 80.4367 65.0602 84.7844 51.0002 84.7844C36.9402 84.7844 27.1421 80.4367 27.1421 76.5355V64.6469C27.1987 64.6984 27.2693 64.7477 27.3282 64.7992C27.5028 64.9504 27.6844 65.0992 27.8763 65.2469C27.9873 65.3324 28.0995 65.418 28.2162 65.5023C28.4302 65.6559 28.6568 65.807 28.8892 65.9559C28.9979 66.0262 29.1019 66.0977 29.2152 66.1656C29.5691 66.3801 29.9367 66.591 30.3299 66.7937C30.331 66.7937 30.3322 66.7938 30.3333 66.7961C30.7253 66.9988 31.1404 67.1945 31.5694 67.3855C31.7058 67.4465 31.8515 67.5039 31.9914 67.5637C32.2955 67.6926 32.6054 67.8191 32.928 67.9422C33.1002 68.0078 33.2772 68.0711 33.4541 68.1355C33.7674 68.248 34.0888 68.3582 34.4184 68.466C34.6034 68.5258 34.7872 68.5867 34.9768 68.6453C35.3341 68.7555 35.703 68.8609 36.0764 68.9641C36.2476 69.0109 36.4141 69.0602 36.5887 69.1059C37.1413 69.2512 37.7079 69.3895 38.2941 69.5195C38.3462 69.5312 38.3993 69.5383 38.4514 69.543C42.2369 70.3516 46.5717 70.7793 50.999 70.7793C55.4263 70.7793 59.7599 70.3527 63.5478 69.543C63.5998 69.5383 63.653 69.5312 63.705 69.5195C64.2912 69.3906 64.8578 69.2512 65.4105 69.1059C65.5839 69.0602 65.7493 69.0121 65.9192 68.9652C66.295 68.8621 66.665 68.7555 67.0246 68.6453C67.2131 68.5879 67.3958 68.5281 67.5785 68.4684C67.9092 68.3605 68.2329 68.2492 68.5486 68.1355C68.7231 68.0723 68.8977 68.009 69.0689 67.9445C69.3938 67.8203 69.7071 67.6926 70.0135 67.5625C70.1511 67.5039 70.2933 67.4477 70.4275 67.3879C71.29 67.0047 72.0774 66.5969 72.7851 66.1668C72.8972 66.0988 73.0001 66.0273 73.1088 65.9582C73.3424 65.8082 73.5702 65.657 73.7852 65.5023C73.9008 65.4191 74.0118 65.3336 74.1217 65.2492C74.3148 65.1016 74.4975 64.9516 74.6732 64.7992C74.7322 64.7488 74.8016 64.6996 74.8582 64.648V76.5355Z",
|
|
5285
|
-
fill:
|
|
5286
|
+
fill: q.silhouette
|
|
5286
5287
|
}
|
|
5287
5288
|
),
|
|
5288
5289
|
/* @__PURE__ */ e(
|
|
5289
5290
|
"path",
|
|
5290
5291
|
{
|
|
5291
5292
|
d: "M33.2089 38.8535C31.3993 38.8535 29.9263 40.3453 29.9263 42.1805C29.9263 44.0156 31.3982 45.5062 33.2089 45.5062C35.0196 45.5062 36.4903 44.0145 36.4903 42.1805C36.4903 40.3465 35.0184 38.8535 33.2089 38.8535ZM33.2089 43.1625C32.6735 43.1625 32.2388 42.7219 32.2388 42.1805C32.2388 41.6391 32.6735 41.1973 33.2089 41.1973C33.7442 41.1973 34.1778 41.6379 34.1778 42.1805C34.1778 42.723 33.7431 43.1625 33.2089 43.1625Z",
|
|
5292
|
-
fill:
|
|
5293
|
+
fill: q.silhouette
|
|
5293
5294
|
}
|
|
5294
5295
|
),
|
|
5295
5296
|
/* @__PURE__ */ e(
|
|
5296
5297
|
"path",
|
|
5297
5298
|
{
|
|
5298
5299
|
d: "M33.2089 54.6777C31.3993 54.6777 29.9263 56.1695 29.9263 58.0047C29.9263 59.8398 31.3982 61.3316 33.2089 61.3316C35.0196 61.3316 36.4903 59.8398 36.4903 58.0047C36.4903 56.1695 35.0184 54.6777 33.2089 54.6777ZM33.2089 58.9879C32.6735 58.9879 32.2388 58.5473 32.2388 58.0047C32.2388 57.4621 32.6735 57.0215 33.2089 57.0215C33.7442 57.0215 34.1778 57.4621 34.1778 58.0047C34.1778 58.5473 33.7431 58.9879 33.2089 58.9879Z",
|
|
5299
|
-
fill:
|
|
5300
|
+
fill: q.silhouette
|
|
5300
5301
|
}
|
|
5301
5302
|
),
|
|
5302
5303
|
/* @__PURE__ */ e(
|
|
5303
5304
|
"path",
|
|
5304
5305
|
{
|
|
5305
5306
|
d: "M33.2089 70.5C31.3993 70.5 29.9263 71.9918 29.9263 73.827C29.9263 75.6621 31.3982 77.1539 33.2089 77.1539C35.0196 77.1539 36.4903 75.6621 36.4903 73.827C36.4903 71.9918 35.0184 70.5 33.2089 70.5ZM33.2089 74.8102C32.6735 74.8102 32.2388 74.3695 32.2388 73.827C32.2388 73.2844 32.6735 72.8438 33.2089 72.8438C33.7442 72.8438 34.1778 73.2844 34.1778 73.827C34.1778 74.3695 33.7431 74.8102 33.2089 74.8102Z",
|
|
5306
|
-
fill:
|
|
5307
|
+
fill: q.silhouette
|
|
5307
5308
|
}
|
|
5308
5309
|
),
|
|
5309
5310
|
/* @__PURE__ */ e(
|
|
5310
5311
|
"path",
|
|
5311
5312
|
{
|
|
5312
5313
|
d: "M70.0215 38.2852C69.3821 38.2852 68.8652 38.809 68.8652 39.457V44.3332C68.8652 44.9812 69.3821 45.5051 70.0215 45.5051C70.6609 45.5051 71.1777 44.9812 71.1777 44.3332V39.457C71.1777 38.809 70.6609 38.2852 70.0215 38.2852Z",
|
|
5313
|
-
fill:
|
|
5314
|
+
fill: q.silhouette
|
|
5314
5315
|
}
|
|
5315
5316
|
),
|
|
5316
5317
|
/* @__PURE__ */ e(
|
|
5317
5318
|
"path",
|
|
5318
5319
|
{
|
|
5319
5320
|
d: "M70.0215 54.3926C69.3821 54.3926 68.8652 54.9164 68.8652 55.5645V60.4406C68.8652 61.0887 69.3821 61.6125 70.0215 61.6125C70.6609 61.6125 71.1777 61.0887 71.1777 60.4406V55.5645C71.1777 54.9164 70.6609 54.3926 70.0215 54.3926Z",
|
|
5320
|
-
fill:
|
|
5321
|
+
fill: q.silhouette
|
|
5321
5322
|
}
|
|
5322
5323
|
),
|
|
5323
5324
|
/* @__PURE__ */ e(
|
|
5324
5325
|
"path",
|
|
5325
5326
|
{
|
|
5326
5327
|
d: "M70.0215 70.5C69.3821 70.5 68.8652 71.0238 68.8652 71.6719V76.5492C68.8652 77.1973 69.3821 77.7211 70.0215 77.7211C70.6609 77.7211 71.1777 77.1973 71.1777 76.5492V71.6719C71.1777 71.0238 70.6609 70.5 70.0215 70.5Z",
|
|
5327
|
-
fill:
|
|
5328
|
+
fill: q.silhouette
|
|
5328
5329
|
}
|
|
5329
5330
|
),
|
|
5330
5331
|
/* @__PURE__ */ e(
|
|
5331
5332
|
"path",
|
|
5332
5333
|
{
|
|
5333
5334
|
d: "M65.77 39.7617C65.1306 39.7617 64.6138 40.2855 64.6138 40.9336V45.8098C64.6138 46.4578 65.1306 46.9816 65.77 46.9816C66.4094 46.9816 66.9263 46.4578 66.9263 45.8098V40.9336C66.9263 40.2855 66.4094 39.7617 65.77 39.7617Z",
|
|
5334
|
-
fill:
|
|
5335
|
+
fill: q.silhouette
|
|
5335
5336
|
}
|
|
5336
5337
|
),
|
|
5337
5338
|
/* @__PURE__ */ e(
|
|
5338
5339
|
"path",
|
|
5339
5340
|
{
|
|
5340
5341
|
d: "M65.77 55.8691C65.1306 55.8691 64.6138 56.393 64.6138 57.041V61.9172C64.6138 62.5652 65.1306 63.0891 65.77 63.0891C66.4094 63.0891 66.9263 62.5652 66.9263 61.9172V57.041C66.9263 56.393 66.4094 55.8691 65.77 55.8691Z",
|
|
5341
|
-
fill:
|
|
5342
|
+
fill: q.silhouette
|
|
5342
5343
|
}
|
|
5343
5344
|
),
|
|
5344
5345
|
/* @__PURE__ */ e(
|
|
5345
5346
|
"path",
|
|
5346
5347
|
{
|
|
5347
5348
|
d: "M65.77 71.9766C65.1306 71.9766 64.6138 72.5004 64.6138 73.1484V78.0246C64.6138 78.6727 65.1306 79.1965 65.77 79.1965C66.4094 79.1965 66.9263 78.6727 66.9263 78.0246V73.1484C66.9263 72.5004 66.4094 71.9766 65.77 71.9766Z",
|
|
5348
|
-
fill:
|
|
5349
|
+
fill: q.silhouette
|
|
5349
5350
|
}
|
|
5350
5351
|
),
|
|
5351
5352
|
/* @__PURE__ */ e(
|
|
5352
5353
|
"path",
|
|
5353
5354
|
{
|
|
5354
5355
|
d: "M61.2939 40.7246C60.6545 40.7246 60.1377 41.2484 60.1377 41.8965V46.7727C60.1377 47.4207 60.6545 47.9445 61.2939 47.9445C61.9334 47.9445 62.4502 47.4207 62.4502 46.7727V41.8965C62.4502 41.2484 61.9334 40.7246 61.2939 40.7246Z",
|
|
5355
|
-
fill:
|
|
5356
|
+
fill: q.silhouette
|
|
5356
5357
|
}
|
|
5357
5358
|
),
|
|
5358
5359
|
/* @__PURE__ */ e(
|
|
5359
5360
|
"path",
|
|
5360
5361
|
{
|
|
5361
5362
|
d: "M61.2939 56.832C60.6545 56.832 60.1377 57.3559 60.1377 58.0039V62.8801C60.1377 63.5281 60.6545 64.052 61.2939 64.052C61.9334 64.052 62.4502 63.5281 62.4502 62.8801V58.0039C62.4502 57.3559 61.9334 56.832 61.2939 56.832Z",
|
|
5362
|
-
fill:
|
|
5363
|
+
fill: q.silhouette
|
|
5363
5364
|
}
|
|
5364
5365
|
),
|
|
5365
5366
|
/* @__PURE__ */ e(
|
|
5366
5367
|
"path",
|
|
5367
5368
|
{
|
|
5368
5369
|
d: "M61.2939 72.9395C60.6545 72.9395 60.1377 73.4633 60.1377 74.1113V78.9875C60.1377 79.6355 60.6545 80.1594 61.2939 80.1594C61.9334 80.1594 62.4502 79.6355 62.4502 78.9875V74.1113C62.4502 73.4633 61.9334 72.9395 61.2939 72.9395Z",
|
|
5369
|
-
fill:
|
|
5370
|
+
fill: q.silhouette
|
|
5370
5371
|
}
|
|
5371
5372
|
),
|
|
5372
5373
|
/* @__PURE__ */ e(
|
|
5373
5374
|
"path",
|
|
5374
5375
|
{
|
|
5375
5376
|
d: "M39.0489 24.4037C39.131 24.4037 39.2154 24.3944 39.2986 24.3768C42.7316 23.6127 46.6755 23.185 51.0207 23.11C51.659 23.0983 52.1677 22.5651 52.1561 21.917C52.1446 21.2701 51.652 20.7451 50.9791 20.7662C46.4813 20.8448 42.3835 21.2889 38.8015 22.0881C38.1782 22.2264 37.7828 22.8522 37.9204 23.4838C38.0395 24.0311 38.5182 24.4037 39.0489 24.4037Z",
|
|
5376
|
-
fill:
|
|
5377
|
+
fill: q.silhouette
|
|
5377
5378
|
}
|
|
5378
5379
|
),
|
|
5379
5380
|
/* @__PURE__ */ e(
|
|
5380
5381
|
"path",
|
|
5381
5382
|
{
|
|
5382
5383
|
d: "M32.5406 26.6215C32.7407 26.6215 32.9442 26.57 33.128 26.4586C33.1315 26.4563 33.5096 26.2336 34.2889 25.9055C34.8786 25.6582 35.1584 24.9727 34.9144 24.3739C34.6704 23.775 33.9917 23.4926 33.4032 23.7399C32.4632 24.1348 31.9926 24.4149 31.9417 24.4465C31.396 24.7782 31.219 25.4942 31.544 26.0485C31.7613 26.4164 32.1452 26.6204 32.5395 26.6204L32.5406 26.6215Z",
|
|
5383
|
-
fill:
|
|
5384
|
+
fill: q.silhouette
|
|
5384
5385
|
}
|
|
5385
5386
|
),
|
|
5386
5387
|
/* @__PURE__ */ e(
|
|
5387
5388
|
"path",
|
|
5388
5389
|
{
|
|
5389
5390
|
d: "M92.7251 26.7272L82.3845 29.3124C81.6929 29.4856 80.9911 29.0642 80.8179 28.3727C80.6447 27.6799 81.066 26.978 81.7576 26.8048L92.0982 24.2196C92.791 24.0464 93.4929 24.4678 93.6661 25.1593C93.8393 25.8521 93.4179 26.554 92.7251 26.7272Z",
|
|
5390
|
-
fill:
|
|
5391
|
+
fill: q.accent,
|
|
5391
5392
|
fillOpacity: "0.65"
|
|
5392
5393
|
}
|
|
5393
5394
|
),
|
|
@@ -5395,7 +5396,7 @@ function Fi({ width: t, height: r }) {
|
|
|
5395
5396
|
"path",
|
|
5396
5397
|
{
|
|
5397
5398
|
d: "M94.4649 11.0082L80.2465 21.3488C79.6701 21.7676 78.8609 21.6409 78.4408 21.0632C78.022 20.4867 78.1487 19.6775 78.7265 19.2574L92.9448 8.91682C93.5213 8.49803 94.3305 8.6247 94.7505 9.20248C95.1693 9.77897 95.0414 10.5881 94.4649 11.0082Z",
|
|
5398
|
-
fill:
|
|
5399
|
+
fill: q.accent,
|
|
5399
5400
|
fillOpacity: "0.65"
|
|
5400
5401
|
}
|
|
5401
5402
|
),
|
|
@@ -5403,7 +5404,7 @@ function Fi({ width: t, height: r }) {
|
|
|
5403
5404
|
"path",
|
|
5404
5405
|
{
|
|
5405
5406
|
d: "M78.0091 10.6269L74.1314 17.0898C73.7643 17.7025 72.9706 17.9002 72.358 17.5331C71.7466 17.1673 71.5475 16.3724 71.9146 15.7597L75.7923 9.29684C76.1594 8.68545 76.9544 8.48769 77.5657 8.85349C78.1784 9.22058 78.3762 10.0155 78.0091 10.6269Z",
|
|
5406
|
-
fill:
|
|
5407
|
+
fill: q.accent,
|
|
5407
5408
|
fillOpacity: "0.65"
|
|
5408
5409
|
}
|
|
5409
5410
|
)
|
|
@@ -6702,7 +6703,7 @@ function Un({ onClick: t }) {
|
|
|
6702
6703
|
}
|
|
6703
6704
|
);
|
|
6704
6705
|
}
|
|
6705
|
-
const
|
|
6706
|
+
const qn = (t) => {
|
|
6706
6707
|
var n, l, i, o, s;
|
|
6707
6708
|
const r = ee("md");
|
|
6708
6709
|
return /* @__PURE__ */ d(
|
|
@@ -6720,7 +6721,7 @@ const Pn = (t) => {
|
|
|
6720
6721
|
children: [
|
|
6721
6722
|
/* @__PURE__ */ e(Se, { ...t.dialogTitleProps, children: typeof t.title == "string" ? /* @__PURE__ */ e(C, { fontSize: "lg", fontWeight: "medium", children: t.title }) : t.title }),
|
|
6722
6723
|
/* @__PURE__ */ e(Ie, { children: typeof t.description == "string" ? /* @__PURE__ */ e(C, { fontSize: "md", lineHeight: "leading-6", color: "tertiary", children: t.description }) : t.description }),
|
|
6723
|
-
/* @__PURE__ */ e(
|
|
6724
|
+
/* @__PURE__ */ e(Je, { children: /* @__PURE__ */ e(
|
|
6724
6725
|
u,
|
|
6725
6726
|
{
|
|
6726
6727
|
display: "flex",
|
|
@@ -6765,7 +6766,7 @@ const Pn = (t) => {
|
|
|
6765
6766
|
},
|
|
6766
6767
|
t.key
|
|
6767
6768
|
);
|
|
6768
|
-
},
|
|
6769
|
+
}, Jn = te(
|
|
6769
6770
|
({
|
|
6770
6771
|
children: t,
|
|
6771
6772
|
height: r,
|
|
@@ -6785,12 +6786,12 @@ const Pn = (t) => {
|
|
|
6785
6786
|
footerProps: D = { borderTop: !0 },
|
|
6786
6787
|
variantTag: I = "info"
|
|
6787
6788
|
}) => {
|
|
6788
|
-
const Z = le(null), [j,
|
|
6789
|
+
const Z = le(null), [j, P] = A("100vh");
|
|
6789
6790
|
U(() => {
|
|
6790
6791
|
const V = () => {
|
|
6791
6792
|
if (Z.current) {
|
|
6792
6793
|
const K = Z.current.getBoundingClientRect().top;
|
|
6793
|
-
|
|
6794
|
+
P(`calc(100vh - ${K}px)`);
|
|
6794
6795
|
}
|
|
6795
6796
|
};
|
|
6796
6797
|
return V(), window.addEventListener("resize", V), () => window.removeEventListener("resize", V);
|
|
@@ -6849,7 +6850,7 @@ const Pn = (t) => {
|
|
|
6849
6850
|
}
|
|
6850
6851
|
);
|
|
6851
6852
|
}
|
|
6852
|
-
),
|
|
6853
|
+
), Pn = Ft.memo(
|
|
6853
6854
|
({ value: t, options: r = [], onChange: n, multiple: l }) => {
|
|
6854
6855
|
const i = (t == null ? void 0 : t.map((a) => a.value)) || [], o = (r == null ? void 0 : r.filter((a) => i.includes(a.value))) || [], s = (a) => {
|
|
6855
6856
|
const h = [...o];
|
|
@@ -6867,7 +6868,7 @@ const Pn = (t) => {
|
|
|
6867
6868
|
)) });
|
|
6868
6869
|
}
|
|
6869
6870
|
), Gn = (t) => {
|
|
6870
|
-
const { defaultTab: r = 0, paramKey: n = "tab" } = t || {}, [l, i] = Ge(), o =
|
|
6871
|
+
const { defaultTab: r = 0, paramKey: n = "tab" } = t || {}, [l, i] = Ge(), o = Pe(l.toString());
|
|
6871
6872
|
return {
|
|
6872
6873
|
activeTab: o[n] ? parseInt(o[n]) : r,
|
|
6873
6874
|
handleTabChange: (h) => {
|
|
@@ -6901,7 +6902,7 @@ function Qn({
|
|
|
6901
6902
|
}, [l.pathname]);
|
|
6902
6903
|
}
|
|
6903
6904
|
const Yn = () => {
|
|
6904
|
-
const [t, r] = Ge(), n =
|
|
6905
|
+
const [t, r] = Ge(), n = Pe(t.toString()), l = Lt(), i = Te(), o = l.id;
|
|
6905
6906
|
return {
|
|
6906
6907
|
// query params
|
|
6907
6908
|
setSearchParams: r,
|
|
@@ -6953,8 +6954,8 @@ export {
|
|
|
6953
6954
|
ln as AppLayout,
|
|
6954
6955
|
On as AsideBar,
|
|
6955
6956
|
cn as AuthLayout,
|
|
6956
|
-
|
|
6957
|
-
|
|
6957
|
+
qr as ColumnFilterDropdown,
|
|
6958
|
+
qn as ConfirmationDialog,
|
|
6958
6959
|
Gr as DataTable,
|
|
6959
6960
|
T as DecisionWrapper,
|
|
6960
6961
|
st as EachUtils,
|
|
@@ -6963,7 +6964,7 @@ export {
|
|
|
6963
6964
|
Nn as FloatingFooter,
|
|
6964
6965
|
_n as ForbiddenPage,
|
|
6965
6966
|
Tn as Form,
|
|
6966
|
-
|
|
6967
|
+
Jn as FullSection,
|
|
6967
6968
|
an as HorizontalField,
|
|
6968
6969
|
di as InputFile,
|
|
6969
6970
|
Di as InputImage,
|
|
@@ -6978,7 +6979,7 @@ export {
|
|
|
6978
6979
|
hn as Section,
|
|
6979
6980
|
It as SectionFooter,
|
|
6980
6981
|
zt as SectionHeader,
|
|
6981
|
-
|
|
6982
|
+
Pn as SelectButton,
|
|
6982
6983
|
Un as ServerErrorPage,
|
|
6983
6984
|
rr as SidebarBadgesProvider,
|
|
6984
6985
|
lr as SidebarHeaderSlot,
|