@yuno-payments/dashboard-design-system 2.8.8 → 2.8.9
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/molecules/data-table-cells/data-table-icon-text-cell.d.ts +4 -1
- package/dist/components/molecules/data-table-cells/data-table-icon-text-cell.js +27 -26
- package/dist/index.esm.min.js +209 -209
- package/dist/index.umd.min.js +7 -7
- package/package.json +1 -1
- package/registry/components-registry.json +7 -7
package/dist/index.esm.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import W, { createContext as W1, useLayoutEffect as vo, forwardRef as
|
|
2
|
+
import W, { createContext as W1, useLayoutEffect as vo, forwardRef as t0, createElement as Un, useState as g0, useEffect as W0, useContext as ft, useRef as N0, useId as G1, Fragment as ql, useMemo as Q0, useCallback as Y0, useInsertionEffect as XA, memo as QA, startTransition as JA, useImperativeHandle as eM } from "react";
|
|
3
3
|
import * as i8 from "react-dom";
|
|
4
4
|
import $c, { flushSync as Tc, createPortal as Oc } from "react-dom";
|
|
5
5
|
var el = { exports: {} }, mn = {};
|
|
@@ -12277,7 +12277,7 @@ const Xe = dV, Qe = uV, Je = mV, Pe = t.forwardRef(({ className: e, sideOffset:
|
|
|
12277
12277
|
}
|
|
12278
12278
|
) }));
|
|
12279
12279
|
Pe.displayName = Tm.displayName;
|
|
12280
|
-
const pV = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0), ut =
|
|
12280
|
+
const pV = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0), ut = t0(
|
|
12281
12281
|
({
|
|
12282
12282
|
content: e,
|
|
12283
12283
|
children: a,
|
|
@@ -12339,7 +12339,7 @@ const gV = /* @__PURE__ */ new Set([
|
|
|
12339
12339
|
defaultVariants: {
|
|
12340
12340
|
size: "md"
|
|
12341
12341
|
}
|
|
12342
|
-
}),
|
|
12342
|
+
}), e0 = t0(
|
|
12343
12343
|
({
|
|
12344
12344
|
name: e,
|
|
12345
12345
|
weight: a = "light",
|
|
@@ -12374,10 +12374,10 @@ const gV = /* @__PURE__ */ new Set([
|
|
|
12374
12374
|
return o ? /* @__PURE__ */ i.jsx(ut, { content: o, ...s, children: f }) : f;
|
|
12375
12375
|
}
|
|
12376
12376
|
);
|
|
12377
|
-
|
|
12378
|
-
const Om =
|
|
12377
|
+
e0.displayName = "Icon";
|
|
12378
|
+
const Om = t0(
|
|
12379
12379
|
({ icon: e, title: a, description: n, iconProps: r, className: l, ...o }, s) => /* @__PURE__ */ i.jsxs(OM, { ref: s, className: y("yuno-alert", l), ...o, children: [
|
|
12380
|
-
e && /* @__PURE__ */ i.jsx(
|
|
12380
|
+
e && /* @__PURE__ */ i.jsx(e0, { name: e, className: y("size-4", r?.className), ...r }),
|
|
12381
12381
|
a && /* @__PURE__ */ i.jsx(zM, { children: a }),
|
|
12382
12382
|
n && /* @__PURE__ */ i.jsx(BM, { children: n })
|
|
12383
12383
|
] })
|
|
@@ -12805,7 +12805,7 @@ const i7 = t.forwardRef(({ className: e, children: a, ...n }, r) => /* @__PURE__
|
|
|
12805
12805
|
...n,
|
|
12806
12806
|
children: [
|
|
12807
12807
|
a,
|
|
12808
|
-
/* @__PURE__ */ i.jsx(
|
|
12808
|
+
/* @__PURE__ */ i.jsx(e0, { name: "CaretDown", size: "sm", className: "shrink-0 text-muted-foreground transition-transform duration-200" })
|
|
12809
12809
|
]
|
|
12810
12810
|
}
|
|
12811
12811
|
) }));
|
|
@@ -12820,11 +12820,11 @@ const c7 = t.forwardRef(({ className: e, children: a, ...n }, r) => /* @__PURE__
|
|
|
12820
12820
|
}
|
|
12821
12821
|
));
|
|
12822
12822
|
c7.displayName = o7.displayName;
|
|
12823
|
-
const zV =
|
|
12823
|
+
const zV = t0(
|
|
12824
12824
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(OV, { ref: r, className: y(e), ...n, children: a })
|
|
12825
12825
|
);
|
|
12826
12826
|
zV.displayName = "Accordion";
|
|
12827
|
-
const BV =
|
|
12827
|
+
const BV = t0(
|
|
12828
12828
|
({ className: e, children: a, value: n, ...r }, l) => /* @__PURE__ */ i.jsx(
|
|
12829
12829
|
s7,
|
|
12830
12830
|
{
|
|
@@ -12837,15 +12837,15 @@ const BV = e0(
|
|
|
12837
12837
|
)
|
|
12838
12838
|
);
|
|
12839
12839
|
BV.displayName = "AccordionItem";
|
|
12840
|
-
const WV =
|
|
12840
|
+
const WV = t0(
|
|
12841
12841
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(i7, { ref: r, className: y(e), ...n, children: a })
|
|
12842
12842
|
);
|
|
12843
12843
|
WV.displayName = "AccordionTrigger";
|
|
12844
|
-
const GV =
|
|
12844
|
+
const GV = t0(
|
|
12845
12845
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(c7, { ref: r, className: y(e), ...n, children: a })
|
|
12846
12846
|
);
|
|
12847
12847
|
GV.displayName = "AccordionContent";
|
|
12848
|
-
const UV = "It seems that you do not belong to any account with permissions to access this section's content. Verify your permissions or reach out to your account(s) administrator for assistance.", YV =
|
|
12848
|
+
const UV = "It seems that you do not belong to any account with permissions to access this section's content. Verify your permissions or reach out to your account(s) administrator for assistance.", YV = t0(
|
|
12849
12849
|
({
|
|
12850
12850
|
className: e,
|
|
12851
12851
|
iconName: a = "WarningCircle",
|
|
@@ -12863,7 +12863,7 @@ const UV = "It seems that you do not belong to any account with permissions to a
|
|
|
12863
12863
|
...l,
|
|
12864
12864
|
children: [
|
|
12865
12865
|
/* @__PURE__ */ i.jsx(
|
|
12866
|
-
|
|
12866
|
+
e0,
|
|
12867
12867
|
{
|
|
12868
12868
|
name: a,
|
|
12869
12869
|
weight: n,
|
|
@@ -13079,7 +13079,7 @@ const db = P0(
|
|
|
13079
13079
|
size: "default"
|
|
13080
13080
|
}
|
|
13081
13081
|
}
|
|
13082
|
-
), hb =
|
|
13082
|
+
), hb = t0(
|
|
13083
13083
|
({ size: e, src: a, alt: n, name: r, fallback: l, className: o, ...s }, c) => {
|
|
13084
13084
|
const d = r ? qV(r) : void 0;
|
|
13085
13085
|
let u;
|
|
@@ -13205,10 +13205,10 @@ function ko({
|
|
|
13205
13205
|
}
|
|
13206
13206
|
);
|
|
13207
13207
|
}
|
|
13208
|
-
const Ce =
|
|
13208
|
+
const Ce = t0(
|
|
13209
13209
|
({ children: e, className: a, startIcon: n, endIcon: r, startIconProps: l, endIconProps: o, ...s }, c) => /* @__PURE__ */ i.jsxs(ko, { ref: c, className: y("yuno-badge", a), ...s, children: [
|
|
13210
13210
|
n && /* @__PURE__ */ i.jsx(
|
|
13211
|
-
|
|
13211
|
+
e0,
|
|
13212
13212
|
{
|
|
13213
13213
|
name: n,
|
|
13214
13214
|
size: "xs",
|
|
@@ -13218,7 +13218,7 @@ const Ce = e0(
|
|
|
13218
13218
|
),
|
|
13219
13219
|
e,
|
|
13220
13220
|
r && /* @__PURE__ */ i.jsx(
|
|
13221
|
-
|
|
13221
|
+
e0,
|
|
13222
13222
|
{
|
|
13223
13223
|
name: r,
|
|
13224
13224
|
size: "xs",
|
|
@@ -13267,14 +13267,14 @@ const jr = P0(
|
|
|
13267
13267
|
);
|
|
13268
13268
|
});
|
|
13269
13269
|
me.displayName = "Button";
|
|
13270
|
-
const he =
|
|
13270
|
+
const he = t0(
|
|
13271
13271
|
({ children: e, className: a, startIcon: n, endIcon: r, startIconProps: l, endIconProps: o, loading: s = !1, disabled: c, asChild: d = !1, ...u }, h) => {
|
|
13272
13272
|
const m = c || s;
|
|
13273
13273
|
return d ? /* @__PURE__ */ i.jsx(me, { ref: h, disabled: m, asChild: !0, className: y("yuno-button", a), ...u, children: e }) : /* @__PURE__ */ i.jsxs(me, { ref: h, disabled: m, className: y("yuno-button", a), ...u, children: [
|
|
13274
|
-
s && /* @__PURE__ */ i.jsx(
|
|
13275
|
-
n && !s && /* @__PURE__ */ i.jsx(
|
|
13274
|
+
s && /* @__PURE__ */ i.jsx(e0, { name: "CircleNotch", size: "sm", className: "animate-spin" }),
|
|
13275
|
+
n && !s && /* @__PURE__ */ i.jsx(e0, { name: n, size: "sm", ...l }),
|
|
13276
13276
|
e,
|
|
13277
|
-
r && !s && /* @__PURE__ */ i.jsx(
|
|
13277
|
+
r && !s && /* @__PURE__ */ i.jsx(e0, { name: r, size: "sm", ...o })
|
|
13278
13278
|
] });
|
|
13279
13279
|
}
|
|
13280
13280
|
);
|
|
@@ -13344,31 +13344,31 @@ const Z7 = t.forwardRef(({ className: e, ...a }, n) => /* @__PURE__ */ i.jsx(
|
|
|
13344
13344
|
}
|
|
13345
13345
|
));
|
|
13346
13346
|
Z7.displayName = "CardFooter";
|
|
13347
|
-
const Do =
|
|
13347
|
+
const Do = t0(
|
|
13348
13348
|
({ className: e, children: a, variant: n = "default", ...r }, l) => /* @__PURE__ */ i.jsx(v7, { ref: l, className: y("yuno-card", e), variant: n, ...r, children: a })
|
|
13349
13349
|
);
|
|
13350
13350
|
Do.displayName = "CardBase";
|
|
13351
|
-
const H7 =
|
|
13351
|
+
const H7 = t0(
|
|
13352
13352
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(A7, { ref: r, className: y("yuno-card-header", e), ...n, children: a })
|
|
13353
13353
|
);
|
|
13354
13354
|
H7.displayName = "CardHeader";
|
|
13355
|
-
const y7 =
|
|
13355
|
+
const y7 = t0(
|
|
13356
13356
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(M7, { ref: r, className: y("yuno-card-title", e), ...n, children: a })
|
|
13357
13357
|
);
|
|
13358
13358
|
y7.displayName = "CardTitle";
|
|
13359
|
-
const w7 =
|
|
13359
|
+
const w7 = t0(
|
|
13360
13360
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(E7, { ref: r, className: y("yuno-card-description", e), ...n, children: a })
|
|
13361
13361
|
);
|
|
13362
13362
|
w7.displayName = "CardDescription";
|
|
13363
|
-
const Io =
|
|
13363
|
+
const Io = t0(
|
|
13364
13364
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(x7, { ref: r, className: y("yuno-card-content", e), ...n, children: a })
|
|
13365
13365
|
);
|
|
13366
13366
|
Io.displayName = "CardContent";
|
|
13367
|
-
const $o =
|
|
13367
|
+
const $o = t0(
|
|
13368
13368
|
({ className: e, children: a, ...n }, r) => /* @__PURE__ */ i.jsx(Z7, { ref: r, className: y("yuno-card-footer", e), ...n, children: a })
|
|
13369
13369
|
);
|
|
13370
13370
|
$o.displayName = "CardFooter";
|
|
13371
|
-
const yb =
|
|
13371
|
+
const yb = t0(
|
|
13372
13372
|
({
|
|
13373
13373
|
className: e,
|
|
13374
13374
|
title: a,
|
|
@@ -13432,7 +13432,7 @@ const wb = P0("", {
|
|
|
13432
13432
|
defaultVariants: {
|
|
13433
13433
|
size: "sm"
|
|
13434
13434
|
}
|
|
13435
|
-
}), V7 =
|
|
13435
|
+
}), V7 = t0(
|
|
13436
13436
|
({
|
|
13437
13437
|
value: e,
|
|
13438
13438
|
currency: a = "USD",
|
|
@@ -14825,7 +14825,7 @@ var DC = {
|
|
|
14825
14825
|
strokeLinecap: "round",
|
|
14826
14826
|
strokeLinejoin: "round"
|
|
14827
14827
|
};
|
|
14828
|
-
const IC =
|
|
14828
|
+
const IC = t0(
|
|
14829
14829
|
({
|
|
14830
14830
|
color: e = "currentColor",
|
|
14831
14831
|
size: a = 24,
|
|
@@ -14855,7 +14855,7 @@ const IC = e0(
|
|
|
14855
14855
|
)
|
|
14856
14856
|
);
|
|
14857
14857
|
const R1 = (e, a) => {
|
|
14858
|
-
const n =
|
|
14858
|
+
const n = t0(
|
|
14859
14859
|
({ className: r, ...l }, o) => Un(IC, {
|
|
14860
14860
|
ref: o,
|
|
14861
14861
|
iconNode: a,
|
|
@@ -15193,7 +15193,7 @@ function SL(e) {
|
|
|
15193
15193
|
function FL(e) {
|
|
15194
15194
|
return i.jsx("svg", f0({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: i.jsx("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
|
|
15195
15195
|
}
|
|
15196
|
-
var kr =
|
|
15196
|
+
var kr = t0(function(e, a) {
|
|
15197
15197
|
var n = R0(), r = n.classNames, l = n.styles, o = [r.button_reset, r.button];
|
|
15198
15198
|
e.className && o.push(e.className);
|
|
15199
15199
|
var s = o.join(" "), c = f0(f0({}, l.button_reset), l.button);
|
|
@@ -17010,7 +17010,7 @@ const De = ({
|
|
|
17010
17010
|
}
|
|
17011
17011
|
),
|
|
17012
17012
|
n && /* @__PURE__ */ i.jsx(ut, { content: n, children: /* @__PURE__ */ i.jsx(
|
|
17013
|
-
|
|
17013
|
+
e0,
|
|
17014
17014
|
{
|
|
17015
17015
|
name: "Info",
|
|
17016
17016
|
size: "sm",
|
|
@@ -18682,7 +18682,7 @@ const oR = t.forwardRef(({ className: e, variant: a, size: n, children: r, ...l
|
|
|
18682
18682
|
}
|
|
18683
18683
|
));
|
|
18684
18684
|
oR.displayName = "ToggleGroupItem";
|
|
18685
|
-
const A4 =
|
|
18685
|
+
const A4 = t0(
|
|
18686
18686
|
({ className: e, underline: a = !0, asChild: n = !1, children: r, ...l }, o) => {
|
|
18687
18687
|
const s = n ? H8 : "a";
|
|
18688
18688
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -18850,7 +18850,7 @@ function vR(e) {
|
|
|
18850
18850
|
return "p";
|
|
18851
18851
|
}
|
|
18852
18852
|
}
|
|
18853
|
-
const z0 =
|
|
18853
|
+
const z0 = t0(
|
|
18854
18854
|
({ className: e, variant: a = "p", weight: n, as: r, ...l }, o) => {
|
|
18855
18855
|
const s = r || vR(a ?? "p");
|
|
18856
18856
|
return Un(s, {
|
|
@@ -18874,9 +18874,9 @@ const AR = P0("animate-spin", {
|
|
|
18874
18874
|
defaultVariants: {
|
|
18875
18875
|
size: "md"
|
|
18876
18876
|
}
|
|
18877
|
-
}), MR =
|
|
18877
|
+
}), MR = t0(
|
|
18878
18878
|
({ size: e = "md", weight: a = "light", color: n, className: r, mirrored: l = !1, ...o }, s) => /* @__PURE__ */ i.jsx(
|
|
18879
|
-
|
|
18879
|
+
e0,
|
|
18880
18880
|
{
|
|
18881
18881
|
ref: s,
|
|
18882
18882
|
name: "CircleNotch",
|
|
@@ -18890,7 +18890,7 @@ const AR = P0("animate-spin", {
|
|
|
18890
18890
|
)
|
|
18891
18891
|
);
|
|
18892
18892
|
MR.displayName = "Loading";
|
|
18893
|
-
const ER =
|
|
18893
|
+
const ER = t0(
|
|
18894
18894
|
({ className: e, children: a, as: n = "h1", ...r }, l) => /* @__PURE__ */ i.jsx(
|
|
18895
18895
|
n,
|
|
18896
18896
|
{
|
|
@@ -19353,7 +19353,7 @@ function XR(e) {
|
|
|
19353
19353
|
}
|
|
19354
19354
|
const QR = (e) => {
|
|
19355
19355
|
var a, n, r, l, o, s, c, d, u;
|
|
19356
|
-
const { invert: h, toast: m, unstyled: p, interacting: f, setHeights: g, visibleToasts: v, heights: A, index: M, toasts: E, expanded: Z, removeToast: x, defaultRichColors: H, closeButton: w, style: V, cancelButtonStyle: L, actionButtonStyle: F, className: k = "", descriptionClassName: T = "", duration: j, position: R, gap: B, expandByDefault: G, classNames: I, icons: N, closeButtonAriaLabel: S = "Close toast" } = e, [_, J] = W.useState(null), [r0, P] = W.useState(null), [C, D] = W.useState(!1), [z, X] = W.useState(!1), [O, Y] = W.useState(!1), [c0, U] = W.useState(!1), [i0, u0] = W.useState(!1), [w0, s0] = W.useState(0), [$, q] = W.useState(0),
|
|
19356
|
+
const { invert: h, toast: m, unstyled: p, interacting: f, setHeights: g, visibleToasts: v, heights: A, index: M, toasts: E, expanded: Z, removeToast: x, defaultRichColors: H, closeButton: w, style: V, cancelButtonStyle: L, actionButtonStyle: F, className: k = "", descriptionClassName: T = "", duration: j, position: R, gap: B, expandByDefault: G, classNames: I, icons: N, closeButtonAriaLabel: S = "Close toast" } = e, [_, J] = W.useState(null), [r0, P] = W.useState(null), [C, D] = W.useState(!1), [z, X] = W.useState(!1), [O, Y] = W.useState(!1), [c0, U] = W.useState(!1), [i0, u0] = W.useState(!1), [w0, s0] = W.useState(0), [$, q] = W.useState(0), a0 = W.useRef(m.duration || j || Bi), Q = W.useRef(null), d0 = W.useRef(null), j0 = M === 0, Oe = M + 1 <= v, V0 = m.type, G0 = m.dismissible !== !1, oe = m.className || "", se = m.descriptionClassName || "", J0 = W.useMemo(() => A.findIndex((v0) => v0.toastId === m.id) || 0, [
|
|
19357
19357
|
A,
|
|
19358
19358
|
m.id
|
|
19359
19359
|
]), ge = W.useMemo(() => {
|
|
@@ -19373,7 +19373,7 @@ const QR = (e) => {
|
|
|
19373
19373
|
J0,
|
|
19374
19374
|
n1
|
|
19375
19375
|
]), W.useEffect(() => {
|
|
19376
|
-
|
|
19376
|
+
a0.current = E1;
|
|
19377
19377
|
}, [
|
|
19378
19378
|
E1
|
|
19379
19379
|
]), W.useEffect(() => {
|
|
@@ -19436,12 +19436,12 @@ const QR = (e) => {
|
|
|
19436
19436
|
return Z || f || un ? (() => {
|
|
19437
19437
|
if (Z0.current < ze.current) {
|
|
19438
19438
|
const _e = (/* @__PURE__ */ new Date()).getTime() - ze.current;
|
|
19439
|
-
|
|
19439
|
+
a0.current = a0.current - _e;
|
|
19440
19440
|
}
|
|
19441
19441
|
Z0.current = (/* @__PURE__ */ new Date()).getTime();
|
|
19442
|
-
})() :
|
|
19442
|
+
})() : a0.current !== 1 / 0 && (ze.current = (/* @__PURE__ */ new Date()).getTime(), v0 = setTimeout(() => {
|
|
19443
19443
|
m.onAutoClose == null || m.onAutoClose.call(m, m), x1();
|
|
19444
|
-
},
|
|
19444
|
+
}, a0.current)), () => clearTimeout(v0);
|
|
19445
19445
|
}, [
|
|
19446
19446
|
Z,
|
|
19447
19447
|
f,
|
|
@@ -19912,7 +19912,7 @@ function oj({
|
|
|
19912
19912
|
}
|
|
19913
19913
|
);
|
|
19914
19914
|
}
|
|
19915
|
-
const sj =
|
|
19915
|
+
const sj = t0(
|
|
19916
19916
|
({ items: e, separator: a, maxItems: n = 0, className: r }, l) => {
|
|
19917
19917
|
const o = n > 0 && e.length > n, s = o ? [
|
|
19918
19918
|
e[0],
|
|
@@ -19928,7 +19928,7 @@ const sj = e0(
|
|
|
19928
19928
|
})(s), h = () => /* @__PURE__ */ i.jsx(lj, { children: a }), m = (g) => /* @__PURE__ */ i.jsxs(h6, { children: [
|
|
19929
19929
|
/* @__PURE__ */ i.jsxs(f6, { className: "flex items-center gap-1 text-sm text-muted-foreground hover:text-neutral-700 transition-colors", children: [
|
|
19930
19930
|
g.label,
|
|
19931
|
-
/* @__PURE__ */ i.jsx(
|
|
19931
|
+
/* @__PURE__ */ i.jsx(e0, { name: "CaretDown", className: "size-4" })
|
|
19932
19932
|
] }),
|
|
19933
19933
|
/* @__PURE__ */ i.jsx(p6, { children: g.dropdown?.map((v, A) => /* @__PURE__ */ i.jsx(g6, { asChild: !0, children: /* @__PURE__ */ i.jsx("a", { href: v.href, children: v.label }) }, A)) })
|
|
19934
19934
|
] }), p = (g, v) => v ? /* @__PURE__ */ i.jsx(rj, { children: g.label }) : /* @__PURE__ */ i.jsx(nj, { href: g.href, children: g.label }), f = () => /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -20006,7 +20006,7 @@ const $f = ({
|
|
|
20006
20006
|
className: y("gap-1 ps-2.5 pe-4", e),
|
|
20007
20007
|
...l,
|
|
20008
20008
|
children: [
|
|
20009
|
-
/* @__PURE__ */ i.jsx(
|
|
20009
|
+
/* @__PURE__ */ i.jsx(e0, { name: "CaretLeft", size: "sm" }),
|
|
20010
20010
|
/* @__PURE__ */ i.jsx("span", { children: n })
|
|
20011
20011
|
]
|
|
20012
20012
|
}
|
|
@@ -20027,7 +20027,7 @@ const Tf = ({
|
|
|
20027
20027
|
...l,
|
|
20028
20028
|
children: [
|
|
20029
20029
|
/* @__PURE__ */ i.jsx("span", { children: n }),
|
|
20030
|
-
/* @__PURE__ */ i.jsx(
|
|
20030
|
+
/* @__PURE__ */ i.jsx(e0, { name: "CaretRight", size: "sm" })
|
|
20031
20031
|
]
|
|
20032
20032
|
}
|
|
20033
20033
|
);
|
|
@@ -20159,7 +20159,7 @@ function xj(e) {
|
|
|
20159
20159
|
const a = e ?? c8();
|
|
20160
20160
|
return Mj[a] ?? Ej;
|
|
20161
20161
|
}
|
|
20162
|
-
const Ui = "pointer-events-none opacity-50", Zj =
|
|
20162
|
+
const Ui = "pointer-events-none opacity-50", Zj = t0(
|
|
20163
20163
|
({
|
|
20164
20164
|
currentPage: e,
|
|
20165
20165
|
totalPages: a,
|
|
@@ -20417,7 +20417,7 @@ const Hj = t.forwardRef(
|
|
|
20417
20417
|
}
|
|
20418
20418
|
);
|
|
20419
20419
|
Hj.displayName = "NavTabs";
|
|
20420
|
-
const yj =
|
|
20420
|
+
const yj = t0(
|
|
20421
20421
|
({ className: e, icon: a, title: n, description: r, button: l, variant: o = "default", ...s }, c) => {
|
|
20422
20422
|
const d = o === "secondary";
|
|
20423
20423
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -20439,7 +20439,7 @@ const yj = e0(
|
|
|
20439
20439
|
d ? "border-primary" : "border-muted"
|
|
20440
20440
|
),
|
|
20441
20441
|
children: /* @__PURE__ */ i.jsx(
|
|
20442
|
-
|
|
20442
|
+
e0,
|
|
20443
20443
|
{
|
|
20444
20444
|
name: a,
|
|
20445
20445
|
size: "xl",
|
|
@@ -20481,7 +20481,7 @@ const yj = e0(
|
|
|
20481
20481
|
}
|
|
20482
20482
|
);
|
|
20483
20483
|
yj.displayName = "HighlightBanner";
|
|
20484
|
-
const wj = "https://dashboard-assets.y.uno/common/empty-states/empty_illustration_tables.svg", Vj = "https://dashboard-assets.y.uno/common/empty-states/empty_illustration_tables_dark.svg", Yf =
|
|
20484
|
+
const wj = "https://dashboard-assets.y.uno/common/empty-states/empty_illustration_tables.svg", Vj = "https://dashboard-assets.y.uno/common/empty-states/empty_illustration_tables_dark.svg", Yf = t0(
|
|
20485
20485
|
({ className: e, media: a, title: n, description: r, actions: l, ...o }, s) => {
|
|
20486
20486
|
const d = a === void 0 ? /* @__PURE__ */ i.jsx(
|
|
20487
20487
|
kf,
|
|
@@ -20528,7 +20528,7 @@ function XB({
|
|
|
20528
20528
|
className: n,
|
|
20529
20529
|
children: r
|
|
20530
20530
|
}) {
|
|
20531
|
-
return /* @__PURE__ */ i.jsx("div", { className: "p-4 bg-background rounded-lg shadow-sm", children: r || /* @__PURE__ */ i.jsx(
|
|
20531
|
+
return /* @__PURE__ */ i.jsx("div", { className: "p-4 bg-background rounded-lg shadow-sm", children: r || /* @__PURE__ */ i.jsx(e0, { name: e, size: a, className: n }) });
|
|
20532
20532
|
}
|
|
20533
20533
|
const qf = "https://dashboard-assets.y.uno", Ge = (e, a) => `${qf}/tables/empty-states/mask_${e}_${a}.svg`, da = (e, a) => `${qf}/risk-conditions/empty-states/mask_${e}_${a}.svg`, bj = {
|
|
20534
20534
|
payments: {
|
|
@@ -20589,7 +20589,7 @@ function Cj({
|
|
|
20589
20589
|
}
|
|
20590
20590
|
);
|
|
20591
20591
|
}
|
|
20592
|
-
const Lj =
|
|
20592
|
+
const Lj = t0(
|
|
20593
20593
|
({
|
|
20594
20594
|
variant: e,
|
|
20595
20595
|
tagline: a,
|
|
@@ -20656,7 +20656,7 @@ const Lj = e0(
|
|
|
20656
20656
|
}
|
|
20657
20657
|
);
|
|
20658
20658
|
Lj.displayName = "AnimatedEmpty";
|
|
20659
|
-
const Sj =
|
|
20659
|
+
const Sj = t0(
|
|
20660
20660
|
({
|
|
20661
20661
|
logo: e,
|
|
20662
20662
|
fallbackLogo: a,
|
|
@@ -20810,7 +20810,7 @@ function Pj({
|
|
|
20810
20810
|
className: "object-contain",
|
|
20811
20811
|
"aria-hidden": "true"
|
|
20812
20812
|
}
|
|
20813
|
-
) : /* @__PURE__ */ i.jsx(
|
|
20813
|
+
) : /* @__PURE__ */ i.jsx(e0, { name: "UploadSimple", size: "xl", className: "text-muted-foreground" }),
|
|
20814
20814
|
/* @__PURE__ */ i.jsxs("p", { className: "text-sm text-center text-foreground font-semibold", children: [
|
|
20815
20815
|
/* @__PURE__ */ i.jsx("span", { className: "text-primary cursor-pointer", children: "Select" }),
|
|
20816
20816
|
" ",
|
|
@@ -20835,7 +20835,7 @@ function kj({ file: e, onRemove: a, disabled: n }) {
|
|
|
20835
20835
|
),
|
|
20836
20836
|
children: [
|
|
20837
20837
|
/* @__PURE__ */ i.jsx(
|
|
20838
|
-
|
|
20838
|
+
e0,
|
|
20839
20839
|
{
|
|
20840
20840
|
name: l,
|
|
20841
20841
|
size: "lg",
|
|
@@ -20859,14 +20859,14 @@ function kj({ file: e, onRemove: a, disabled: n }) {
|
|
|
20859
20859
|
disabled: n,
|
|
20860
20860
|
className: "shrink-0 flex items-center justify-center cursor-pointer text-muted-foreground",
|
|
20861
20861
|
"aria-label": `Remove ${e.name}`,
|
|
20862
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20862
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", size: "sm" })
|
|
20863
20863
|
}
|
|
20864
20864
|
)
|
|
20865
20865
|
]
|
|
20866
20866
|
}
|
|
20867
20867
|
);
|
|
20868
20868
|
}
|
|
20869
|
-
const Dj =
|
|
20869
|
+
const Dj = t0(
|
|
20870
20870
|
({
|
|
20871
20871
|
value: e = [],
|
|
20872
20872
|
onFilesAdded: a,
|
|
@@ -20999,14 +20999,14 @@ const $j = ({ index: e, state: a }) => {
|
|
|
20999
20999
|
a === "inactive" && "bg-border text-muted-foreground",
|
|
21000
21000
|
a === "error" && "bg-destructive text-destructive-foreground"
|
|
21001
21001
|
);
|
|
21002
|
-
return /* @__PURE__ */ i.jsx("div", { className: n, children: a === "completed" ? /* @__PURE__ */ i.jsx(
|
|
21002
|
+
return /* @__PURE__ */ i.jsx("div", { className: n, children: a === "completed" ? /* @__PURE__ */ i.jsx(e0, { name: "Check", size: "xs", className: "text-primary-foreground", weight: "bold" }) : a === "error" ? /* @__PURE__ */ i.jsx(e0, { name: "X", size: "xs", className: "text-destructive-foreground", weight: "bold" }) : /* @__PURE__ */ i.jsx("span", { children: e + 1 }) });
|
|
21003
21003
|
}, Tj = ({
|
|
21004
21004
|
state: e,
|
|
21005
21005
|
orientation: a
|
|
21006
21006
|
}) => {
|
|
21007
21007
|
const n = e === "completed" || e === "active";
|
|
21008
21008
|
return a === "vertical" ? /* @__PURE__ */ i.jsx("div", { className: y("w-0.5 h-6 ml-3 my-1", n ? "bg-primary" : "bg-border") }) : /* @__PURE__ */ i.jsx("div", { className: y("mx-2 h-0.5 flex-1 rounded-sm", n ? "bg-primary" : "bg-border") });
|
|
21009
|
-
}, Oj =
|
|
21009
|
+
}, Oj = t0(
|
|
21010
21010
|
({ activeStep: e, steps: a, orientation: n = "horizontal", onStepClick: r, className: l, ...o }, s) => {
|
|
21011
21011
|
const c = n === "vertical";
|
|
21012
21012
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -21313,7 +21313,7 @@ function r9({
|
|
|
21313
21313
|
}
|
|
21314
21314
|
);
|
|
21315
21315
|
}
|
|
21316
|
-
const Or =
|
|
21316
|
+
const Or = t0(
|
|
21317
21317
|
({
|
|
21318
21318
|
label: e,
|
|
21319
21319
|
description: a,
|
|
@@ -21530,7 +21530,7 @@ function Jj({
|
|
|
21530
21530
|
}
|
|
21531
21531
|
);
|
|
21532
21532
|
}
|
|
21533
|
-
const d9 =
|
|
21533
|
+
const d9 = t0(
|
|
21534
21534
|
({
|
|
21535
21535
|
label: e,
|
|
21536
21536
|
description: a,
|
|
@@ -21639,7 +21639,7 @@ const eP = P0("flex gap-2 w-full", {
|
|
|
21639
21639
|
defaultVariants: {
|
|
21640
21640
|
layout: "vertical"
|
|
21641
21641
|
}
|
|
21642
|
-
}), aP =
|
|
21642
|
+
}), aP = t0(
|
|
21643
21643
|
({
|
|
21644
21644
|
className: e,
|
|
21645
21645
|
layout: a,
|
|
@@ -21781,11 +21781,11 @@ var f9 = t.createContext({}), p9 = t.forwardRef((e, a) => {
|
|
|
21781
21781
|
gn(d0.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), gn(d0.sheet, `[data-input-otp]:autofill { ${j0} }`), gn(d0.sheet, `[data-input-otp]:-webkit-autofill { ${j0} }`), gn(d0.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), gn(d0.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
|
|
21782
21782
|
}
|
|
21783
21783
|
}
|
|
21784
|
-
let
|
|
21784
|
+
let a0 = () => {
|
|
21785
21785
|
$ && $.style.setProperty("--root-height", `${s0.clientHeight}px`);
|
|
21786
21786
|
};
|
|
21787
|
-
|
|
21788
|
-
let Q = new ResizeObserver(
|
|
21787
|
+
a0();
|
|
21788
|
+
let Q = new ResizeObserver(a0);
|
|
21789
21789
|
return Q.observe(s0), () => {
|
|
21790
21790
|
document.removeEventListener("selectionchange", q, { capture: !0 }), Q.disconnect();
|
|
21791
21791
|
};
|
|
@@ -21793,9 +21793,9 @@ var f9 = t.createContext({}), p9 = t.forwardRef((e, a) => {
|
|
|
21793
21793
|
let [N, S] = t.useState(!1), [_, J] = t.useState(!1), [r0, P] = t.useState(null), [C, D] = t.useState(null);
|
|
21794
21794
|
t.useEffect(() => {
|
|
21795
21795
|
cP(() => {
|
|
21796
|
-
var s0, $, q,
|
|
21796
|
+
var s0, $, q, a0;
|
|
21797
21797
|
(s0 = R.current) == null || s0.dispatchEvent(new Event("input"));
|
|
21798
|
-
let Q = ($ = R.current) == null ? void 0 : $.selectionStart, d0 = (q = R.current) == null ? void 0 : q.selectionEnd, j0 = (
|
|
21798
|
+
let Q = ($ = R.current) == null ? void 0 : $.selectionStart, d0 = (q = R.current) == null ? void 0 : q.selectionEnd, j0 = (a0 = R.current) == null ? void 0 : a0.selectionDirection;
|
|
21799
21799
|
Q !== null && d0 !== null && (P(Q), D(d0), I.current.prev = [Q, d0, j0]);
|
|
21800
21800
|
});
|
|
21801
21801
|
}, [F, _]), t.useEffect(() => {
|
|
@@ -21817,15 +21817,15 @@ var f9 = t.createContext({}), p9 = t.forwardRef((e, a) => {
|
|
|
21817
21817
|
J(!0);
|
|
21818
21818
|
}, [o]), Y = t.useCallback((s0) => {
|
|
21819
21819
|
var $, q;
|
|
21820
|
-
let
|
|
21821
|
-
if (!p && (!G.current.isIOS || !s0.clipboardData || !
|
|
21820
|
+
let a0 = R.current;
|
|
21821
|
+
if (!p && (!G.current.isIOS || !s0.clipboardData || !a0)) return;
|
|
21822
21822
|
let Q = s0.clipboardData.getData("text/plain"), d0 = p ? p(Q) : Q;
|
|
21823
21823
|
s0.preventDefault();
|
|
21824
21824
|
let j0 = ($ = R.current) == null ? void 0 : $.selectionStart, Oe = (q = R.current) == null ? void 0 : q.selectionEnd, V0 = (j0 !== Oe ? F.slice(0, j0) + d0 + F.slice(Oe) : F.slice(0, j0) + d0 + F.slice(j0)).slice(0, o);
|
|
21825
21825
|
if (V0.length > 0 && j && !j.test(V0)) return;
|
|
21826
|
-
|
|
21826
|
+
a0.value = V0, T(V0);
|
|
21827
21827
|
let G0 = Math.min(V0.length, o - 1), oe = V0.length;
|
|
21828
|
-
|
|
21828
|
+
a0.setSelectionRange(G0, oe), P(G0), D(oe);
|
|
21829
21829
|
}, [o, T, j, F]), c0 = t.useMemo(() => ({ position: "relative", cursor: M.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [M.disabled]), U = t.useMemo(() => ({ position: "absolute", inset: 0, width: z.willPushPWMBadge ? `calc(100% + ${z.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: z.willPushPWMBadge ? `inset(0 ${z.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: s, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [z.PWM_BADGE_SPACE_WIDTH, z.willPushPWMBadge, s]), i0 = t.useMemo(() => t.createElement("input", sP(oP({ autoComplete: M.autoComplete || "one-time-code" }, M), { "data-input-otp": !0, "data-input-otp-placeholder-shown": F.length === 0 || void 0, "data-input-otp-mss": r0, "data-input-otp-mse": C, inputMode: u, pattern: j?.source, "aria-placeholder": d, style: U, maxLength: o, value: F, ref: R, onPaste: (s0) => {
|
|
21830
21830
|
var $;
|
|
21831
21831
|
Y(s0), ($ = M.onPaste) == null || $.call(M, s0);
|
|
@@ -21843,8 +21843,8 @@ var f9 = t.createContext({}), p9 = t.forwardRef((e, a) => {
|
|
|
21843
21843
|
J(!1), ($ = M.onBlur) == null || $.call(M, s0);
|
|
21844
21844
|
} })), [X, O, Y, u, U, o, C, r0, M, j?.source, F]), u0 = t.useMemo(() => ({ slots: Array.from({ length: o }).map((s0, $) => {
|
|
21845
21845
|
var q;
|
|
21846
|
-
let
|
|
21847
|
-
return { char: Q, placeholderChar: d0, isActive:
|
|
21846
|
+
let a0 = _ && r0 !== null && C !== null && (r0 === C && $ === r0 || $ >= r0 && $ < C), Q = F[$] !== void 0 ? F[$] : null, d0 = F[0] !== void 0 ? null : (q = d?.[$]) != null ? q : null;
|
|
21847
|
+
return { char: Q, placeholderChar: d0, isActive: a0, hasFakeCaret: a0 && Q === null };
|
|
21848
21848
|
}), isFocused: _, isHovering: !M.disabled && N }), [_, N, o, C, r0, M.disabled, F]), w0 = t.useMemo(() => v ? v(u0) : t.createElement(f9.Provider, { value: u0 }, A), [A, u0, v]);
|
|
21849
21849
|
return t.createElement(t.Fragment, null, g !== null && t.createElement("noscript", null, t.createElement("style", null, g)), t.createElement("div", { ref: B, "data-input-otp-container": !0, style: c0, className: f }, w0, t.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, i0)));
|
|
21850
21850
|
});
|
|
@@ -21927,7 +21927,7 @@ function AP({
|
|
|
21927
21927
|
}
|
|
21928
21928
|
);
|
|
21929
21929
|
}
|
|
21930
|
-
const MP =
|
|
21930
|
+
const MP = t0(
|
|
21931
21931
|
({
|
|
21932
21932
|
maxLength: e = 6,
|
|
21933
21933
|
className: a,
|
|
@@ -21971,7 +21971,7 @@ const MP = e0(
|
|
|
21971
21971
|
}
|
|
21972
21972
|
);
|
|
21973
21973
|
MP.displayName = "OTPField";
|
|
21974
|
-
const g9 =
|
|
21974
|
+
const g9 = t0(
|
|
21975
21975
|
({
|
|
21976
21976
|
value: e = [],
|
|
21977
21977
|
onChange: a,
|
|
@@ -22097,7 +22097,7 @@ const g9 = e0(
|
|
|
22097
22097
|
{
|
|
22098
22098
|
type: "button",
|
|
22099
22099
|
onClick: (z) => _(z, C),
|
|
22100
|
-
children: /* @__PURE__ */ i.jsx(
|
|
22100
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", className: "h-3 w-3" })
|
|
22101
22101
|
}
|
|
22102
22102
|
)
|
|
22103
22103
|
] }, `${C}-${D}`))
|
|
@@ -22440,7 +22440,7 @@ const _P = ({
|
|
|
22440
22440
|
] })
|
|
22441
22441
|
]
|
|
22442
22442
|
}
|
|
22443
|
-
), NP =
|
|
22443
|
+
), NP = t0(
|
|
22444
22444
|
({ options: e, name: a, orientation: n = "vertical", layout: r = "stacked", onChange: l, ...o }, s) => {
|
|
22445
22445
|
const c = r === "inline", d = n === "horizontal";
|
|
22446
22446
|
return /* @__PURE__ */ i.jsx(
|
|
@@ -22562,7 +22562,7 @@ const PP = P0(
|
|
|
22562
22562
|
}
|
|
22563
22563
|
));
|
|
22564
22564
|
kP.displayName = "InputGroupButton";
|
|
22565
|
-
const Pa =
|
|
22565
|
+
const Pa = t0(
|
|
22566
22566
|
({
|
|
22567
22567
|
className: e,
|
|
22568
22568
|
orientation: a = "vertical",
|
|
@@ -22605,7 +22605,7 @@ const Pa = e0(
|
|
|
22605
22605
|
/* @__PURE__ */ i.jsxs("div", { className: "flex gap-2 items-center", children: [
|
|
22606
22606
|
/* @__PURE__ */ i.jsxs(L9, { className: "flex-1", children: [
|
|
22607
22607
|
m && /* @__PURE__ */ i.jsx(M6, { align: "inline-start", children: /* @__PURE__ */ i.jsx(
|
|
22608
|
-
|
|
22608
|
+
e0,
|
|
22609
22609
|
{
|
|
22610
22610
|
name: p?.name || m,
|
|
22611
22611
|
size: "sm",
|
|
@@ -22634,7 +22634,7 @@ const Pa = e0(
|
|
|
22634
22634
|
}
|
|
22635
22635
|
),
|
|
22636
22636
|
f && /* @__PURE__ */ i.jsx(M6, { align: "inline-end", children: /* @__PURE__ */ i.jsx(
|
|
22637
|
-
|
|
22637
|
+
e0,
|
|
22638
22638
|
{
|
|
22639
22639
|
name: g?.name || f,
|
|
22640
22640
|
size: "sm",
|
|
@@ -22813,7 +22813,7 @@ const BP = ({
|
|
|
22813
22813
|
children: [
|
|
22814
22814
|
/* @__PURE__ */ i.jsx("span", { children: B }),
|
|
22815
22815
|
/* @__PURE__ */ i.jsx(
|
|
22816
|
-
|
|
22816
|
+
e0,
|
|
22817
22817
|
{
|
|
22818
22818
|
name: h ? "CaretUp" : "CaretDown",
|
|
22819
22819
|
size: "sm",
|
|
@@ -22906,7 +22906,7 @@ const BP = ({
|
|
|
22906
22906
|
defaultVariants: {
|
|
22907
22907
|
layout: "vertical"
|
|
22908
22908
|
}
|
|
22909
|
-
}), _9 =
|
|
22909
|
+
}), _9 = t0(
|
|
22910
22910
|
({
|
|
22911
22911
|
placeholder: e = "Search",
|
|
22912
22912
|
onSearch: a,
|
|
@@ -23005,7 +23005,7 @@ const BP = ({
|
|
|
23005
23005
|
}
|
|
23006
23006
|
),
|
|
23007
23007
|
/* @__PURE__ */ i.jsx(
|
|
23008
|
-
|
|
23008
|
+
e0,
|
|
23009
23009
|
{
|
|
23010
23010
|
name: "MagnifyingGlass",
|
|
23011
23011
|
size: "sm",
|
|
@@ -23017,7 +23017,7 @@ const BP = ({
|
|
|
23017
23017
|
}
|
|
23018
23018
|
),
|
|
23019
23019
|
x && /* @__PURE__ */ i.jsx(
|
|
23020
|
-
|
|
23020
|
+
e0,
|
|
23021
23021
|
{
|
|
23022
23022
|
name: "XCircle",
|
|
23023
23023
|
size: "sm",
|
|
@@ -23051,7 +23051,7 @@ const BP = ({
|
|
|
23051
23051
|
),
|
|
23052
23052
|
children: /* @__PURE__ */ i.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
23053
23053
|
/* @__PURE__ */ i.jsx(
|
|
23054
|
-
|
|
23054
|
+
e0,
|
|
23055
23055
|
{
|
|
23056
23056
|
name: "ClockCounterClockwise",
|
|
23057
23057
|
size: "sm",
|
|
@@ -23116,7 +23116,7 @@ const UP = ({
|
|
|
23116
23116
|
"aria-expanded": o,
|
|
23117
23117
|
"aria-haspopup": "true",
|
|
23118
23118
|
children: /* @__PURE__ */ i.jsx(
|
|
23119
|
-
|
|
23119
|
+
e0,
|
|
23120
23120
|
{
|
|
23121
23121
|
name: a || "DotsThreeCircleVertical",
|
|
23122
23122
|
size: "sm",
|
|
@@ -23145,7 +23145,7 @@ const UP = ({
|
|
|
23145
23145
|
disabled: !h.allowed,
|
|
23146
23146
|
className: "flex items-center gap-3.5 cursor-pointer",
|
|
23147
23147
|
children: [
|
|
23148
|
-
/* @__PURE__ */ i.jsx(
|
|
23148
|
+
/* @__PURE__ */ i.jsx(e0, { name: h.icon, size: "sm", className: "shrink-0" }),
|
|
23149
23149
|
/* @__PURE__ */ i.jsx("span", { children: h.name || String(h.key) })
|
|
23150
23150
|
]
|
|
23151
23151
|
}
|
|
@@ -23158,7 +23158,7 @@ const UP = ({
|
|
|
23158
23158
|
] }) });
|
|
23159
23159
|
};
|
|
23160
23160
|
YP.displayName = "DotsMenu";
|
|
23161
|
-
const qP =
|
|
23161
|
+
const qP = t0(
|
|
23162
23162
|
({ defaultVisible: e = !1, label: a, forgotPasswordLinkProps: n, ...r }, l) => {
|
|
23163
23163
|
const [o, s] = g0(e), c = () => {
|
|
23164
23164
|
s((d) => !d);
|
|
@@ -23606,7 +23606,7 @@ var mk = "SelectItemAlignedPosition", z9 = t.forwardRef((e, a) => {
|
|
|
23606
23606
|
if (o.trigger && o.valueNode && c && u && v && A && M) {
|
|
23607
23607
|
const V = o.trigger.getBoundingClientRect(), L = u.getBoundingClientRect(), F = o.valueNode.getBoundingClientRect(), k = M.getBoundingClientRect();
|
|
23608
23608
|
if (o.dir !== "rtl") {
|
|
23609
|
-
const i0 = k.left - L.left, u0 = F.left - i0, w0 = V.left - u0, s0 = V.width + w0, $ = Math.max(s0, L.width), q = window.innerWidth - o1,
|
|
23609
|
+
const i0 = k.left - L.left, u0 = F.left - i0, w0 = V.left - u0, s0 = V.width + w0, $ = Math.max(s0, L.width), q = window.innerWidth - o1, a0 = qi(u0, [
|
|
23610
23610
|
o1,
|
|
23611
23611
|
// Prevents the content from going off the starting edge of the
|
|
23612
23612
|
// viewport. It may still go off the ending edge, but this can be
|
|
@@ -23615,13 +23615,13 @@ var mk = "SelectItemAlignedPosition", z9 = t.forwardRef((e, a) => {
|
|
|
23615
23615
|
// https://github.com/radix-ui/primitives/issues/2049
|
|
23616
23616
|
Math.max(o1, q - $)
|
|
23617
23617
|
]);
|
|
23618
|
-
c.style.minWidth = s0 + "px", c.style.left =
|
|
23618
|
+
c.style.minWidth = s0 + "px", c.style.left = a0 + "px";
|
|
23619
23619
|
} else {
|
|
23620
|
-
const i0 = L.right - k.right, u0 = window.innerWidth - F.right - i0, w0 = window.innerWidth - V.right - u0, s0 = V.width + w0, $ = Math.max(s0, L.width), q = window.innerWidth - o1,
|
|
23620
|
+
const i0 = L.right - k.right, u0 = window.innerWidth - F.right - i0, w0 = window.innerWidth - V.right - u0, s0 = V.width + w0, $ = Math.max(s0, L.width), q = window.innerWidth - o1, a0 = qi(u0, [
|
|
23621
23621
|
o1,
|
|
23622
23622
|
Math.max(o1, q - $)
|
|
23623
23623
|
]);
|
|
23624
|
-
c.style.minWidth = s0 + "px", c.style.right =
|
|
23624
|
+
c.style.minWidth = s0 + "px", c.style.right = a0 + "px";
|
|
23625
23625
|
}
|
|
23626
23626
|
const T = p(), j = window.innerHeight - o1 * 2, R = v.scrollHeight, B = window.getComputedStyle(u), G = parseInt(B.borderTopWidth, 10), I = parseInt(B.paddingTop, 10), N = parseInt(B.borderBottomWidth, 10), S = parseInt(B.paddingBottom, 10), _ = G + I + R + S + N, J = Math.min(A.offsetHeight * 5, _), r0 = window.getComputedStyle(v), P = parseInt(r0.paddingTop, 10), C = parseInt(r0.paddingBottom, 10), D = V.top + V.height / 2 - o1, z = j - D, X = A.offsetHeight / 2, O = A.offsetTop + X, Y = G + I + O, c0 = _ - Y;
|
|
23627
23627
|
if (Y <= D) {
|
|
@@ -24058,7 +24058,7 @@ const Sk = ({ dir: e, ...a }) => /* @__PURE__ */ i.jsx(Zk, { dir: e ?? qt(), ...
|
|
|
24058
24058
|
...n,
|
|
24059
24059
|
children: [
|
|
24060
24060
|
a,
|
|
24061
|
-
/* @__PURE__ */ i.jsx(yk, { asChild: !0, children: /* @__PURE__ */ i.jsx(
|
|
24061
|
+
/* @__PURE__ */ i.jsx(yk, { asChild: !0, children: /* @__PURE__ */ i.jsx(e0, { name: "CaretDown", size: "sm", className: "opacity-50 shrink-0" }) })
|
|
24062
24062
|
]
|
|
24063
24063
|
}
|
|
24064
24064
|
));
|
|
@@ -24072,7 +24072,7 @@ const gp = t.forwardRef(({ className: e, ...a }, n) => /* @__PURE__ */ i.jsx(
|
|
|
24072
24072
|
e
|
|
24073
24073
|
),
|
|
24074
24074
|
...a,
|
|
24075
|
-
children: /* @__PURE__ */ i.jsx(
|
|
24075
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "CaretUp", size: "sm" })
|
|
24076
24076
|
}
|
|
24077
24077
|
));
|
|
24078
24078
|
gp.displayName = mp.displayName;
|
|
@@ -24085,7 +24085,7 @@ const vp = t.forwardRef(({ className: e, ...a }, n) => /* @__PURE__ */ i.jsx(
|
|
|
24085
24085
|
e
|
|
24086
24086
|
),
|
|
24087
24087
|
...a,
|
|
24088
|
-
children: /* @__PURE__ */ i.jsx(
|
|
24088
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "CaretDown", size: "sm" })
|
|
24089
24089
|
}
|
|
24090
24090
|
));
|
|
24091
24091
|
vp.displayName = hp.displayName;
|
|
@@ -24139,7 +24139,7 @@ const V6 = t.forwardRef(({ className: e, children: a, ...n }, r) => /* @__PURE__
|
|
|
24139
24139
|
),
|
|
24140
24140
|
...n,
|
|
24141
24141
|
children: [
|
|
24142
|
-
/* @__PURE__ */ i.jsx("span", { className: "absolute end-2 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ i.jsx(Lk, { children: /* @__PURE__ */ i.jsx(
|
|
24142
|
+
/* @__PURE__ */ i.jsx("span", { className: "absolute end-2 flex h-4 w-4 items-center justify-center", children: /* @__PURE__ */ i.jsx(Lk, { children: /* @__PURE__ */ i.jsx(e0, { name: "Check", size: "sm" }) }) }),
|
|
24143
24143
|
/* @__PURE__ */ i.jsx(Ck, { children: a })
|
|
24144
24144
|
]
|
|
24145
24145
|
}
|
|
@@ -25042,7 +25042,7 @@ const CD = t.forwardRef(
|
|
|
25042
25042
|
}
|
|
25043
25043
|
),
|
|
25044
25044
|
/* @__PURE__ */ i.jsx(
|
|
25045
|
-
|
|
25045
|
+
e0,
|
|
25046
25046
|
{
|
|
25047
25047
|
name: "CaretDown",
|
|
25048
25048
|
size: "sm",
|
|
@@ -25087,7 +25087,7 @@ const CD = t.forwardRef(
|
|
|
25087
25087
|
B.label
|
|
25088
25088
|
] }),
|
|
25089
25089
|
o === B.value && /* @__PURE__ */ i.jsx(
|
|
25090
|
-
|
|
25090
|
+
e0,
|
|
25091
25091
|
{
|
|
25092
25092
|
name: "Check",
|
|
25093
25093
|
size: "sm",
|
|
@@ -25112,7 +25112,7 @@ const CD = t.forwardRef(
|
|
|
25112
25112
|
j.icon && /* @__PURE__ */ i.jsx("span", { className: "mr-2 inline-flex items-center", children: j.icon }),
|
|
25113
25113
|
j.label
|
|
25114
25114
|
] }),
|
|
25115
|
-
o === j.value && /* @__PURE__ */ i.jsx(
|
|
25115
|
+
o === j.value && /* @__PURE__ */ i.jsx(e0, { name: "Check", size: "sm", className: "ml-auto" })
|
|
25116
25116
|
]
|
|
25117
25117
|
},
|
|
25118
25118
|
j.value
|
|
@@ -25125,9 +25125,9 @@ const CD = t.forwardRef(
|
|
|
25125
25125
|
}
|
|
25126
25126
|
);
|
|
25127
25127
|
CD.displayName = "SearchSelect";
|
|
25128
|
-
const LD = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0), SD =
|
|
25128
|
+
const LD = (e) => !!(e == null || typeof e == "string" && e.trim() === "" || Array.isArray(e) && e.length === 0), SD = t0(({ value: e, children: a, emptyState: n = "-" }, r) => LD(e) ? /* @__PURE__ */ i.jsx("span", { ref: r, children: n }) : /* @__PURE__ */ i.jsx(i.Fragment, { children: a }));
|
|
25129
25129
|
SD.displayName = "DataTableCellWrapper";
|
|
25130
|
-
const FD =
|
|
25130
|
+
const FD = t0(
|
|
25131
25131
|
({ value: e, formatFn: a, tooltip: n, emptyState: r = "-", className: l }, o) => {
|
|
25132
25132
|
if (!e) return /* @__PURE__ */ i.jsx(i.Fragment, { children: r });
|
|
25133
25133
|
const s = a ? a(e) : e, c = n === !1 ? null : n ?? s;
|
|
@@ -25158,7 +25158,7 @@ const _D = (e) => ({ copyToClipboard: Y0(
|
|
|
25158
25158
|
}
|
|
25159
25159
|
},
|
|
25160
25160
|
[e]
|
|
25161
|
-
) }), ND =
|
|
25161
|
+
) }), ND = t0(
|
|
25162
25162
|
({
|
|
25163
25163
|
value: e,
|
|
25164
25164
|
linkTo: a,
|
|
@@ -25186,7 +25186,7 @@ const _D = (e) => ({ copyToClipboard: Y0(
|
|
|
25186
25186
|
children: [
|
|
25187
25187
|
n && /* @__PURE__ */ i.jsx(Xe, { children: /* @__PURE__ */ i.jsxs(Qe, { children: [
|
|
25188
25188
|
/* @__PURE__ */ i.jsx(Je, { asChild: !0, children: /* @__PURE__ */ i.jsx("span", { className: "shrink-0 inline-flex", children: /* @__PURE__ */ i.jsx(
|
|
25189
|
-
|
|
25189
|
+
e0,
|
|
25190
25190
|
{
|
|
25191
25191
|
name: n,
|
|
25192
25192
|
weight: "fill",
|
|
@@ -25216,7 +25216,7 @@ const _D = (e) => ({ copyToClipboard: Y0(
|
|
|
25216
25216
|
className: "shrink-0 p-1 hover:bg-muted rounded",
|
|
25217
25217
|
onClick: m,
|
|
25218
25218
|
children: /* @__PURE__ */ i.jsx(
|
|
25219
|
-
|
|
25219
|
+
e0,
|
|
25220
25220
|
{
|
|
25221
25221
|
name: "CopySimple",
|
|
25222
25222
|
size: "sm",
|
|
@@ -25237,7 +25237,7 @@ const RD = (e) => {
|
|
|
25237
25237
|
if (!e) return e;
|
|
25238
25238
|
const a = e.replace(/[_.]/g, " ").toLowerCase();
|
|
25239
25239
|
return a.charAt(0).toUpperCase() + a.slice(1);
|
|
25240
|
-
}, jD =
|
|
25240
|
+
}, jD = t0(
|
|
25241
25241
|
({
|
|
25242
25242
|
status: e,
|
|
25243
25243
|
statusMap: a,
|
|
@@ -25258,7 +25258,7 @@ const RD = (e) => {
|
|
|
25258
25258
|
}
|
|
25259
25259
|
);
|
|
25260
25260
|
jD.displayName = "DataTableStatusCell";
|
|
25261
|
-
const PD =
|
|
25261
|
+
const PD = t0(
|
|
25262
25262
|
({
|
|
25263
25263
|
value: e,
|
|
25264
25264
|
currency: a = "USD",
|
|
@@ -25295,7 +25295,7 @@ const kD = (e) => {
|
|
|
25295
25295
|
} catch {
|
|
25296
25296
|
return String(e);
|
|
25297
25297
|
}
|
|
25298
|
-
}, DD =
|
|
25298
|
+
}, DD = t0(
|
|
25299
25299
|
({ value: e, formatFn: a, emptyState: n = "-", className: r }, l) => {
|
|
25300
25300
|
if (!e) return /* @__PURE__ */ i.jsx(i.Fragment, { children: n });
|
|
25301
25301
|
const s = (a ?? kD)(e);
|
|
@@ -25312,7 +25312,7 @@ const ID = (e) => {
|
|
|
25312
25312
|
return /^[A-Z]{2}$/.test(a) ? String.fromCodePoint(
|
|
25313
25313
|
...[...a].map((n) => n.charCodeAt(0) + 127397)
|
|
25314
25314
|
) : "";
|
|
25315
|
-
}, $D =
|
|
25315
|
+
}, $D = t0(
|
|
25316
25316
|
({
|
|
25317
25317
|
code: e,
|
|
25318
25318
|
showFlag: a = !0,
|
|
@@ -25346,7 +25346,7 @@ const ID = (e) => {
|
|
|
25346
25346
|
}
|
|
25347
25347
|
);
|
|
25348
25348
|
$D.displayName = "DataTableCountryCell";
|
|
25349
|
-
const TD =
|
|
25349
|
+
const TD = t0(
|
|
25350
25350
|
({
|
|
25351
25351
|
value: e,
|
|
25352
25352
|
decimals: a = 2,
|
|
@@ -25375,7 +25375,7 @@ const TD = e0(
|
|
|
25375
25375
|
}
|
|
25376
25376
|
);
|
|
25377
25377
|
TD.displayName = "DataTablePercentageCell";
|
|
25378
|
-
const OD =
|
|
25378
|
+
const OD = t0(
|
|
25379
25379
|
({
|
|
25380
25380
|
tags: e,
|
|
25381
25381
|
maxVisible: a = 2,
|
|
@@ -25412,7 +25412,7 @@ const OD = e0(
|
|
|
25412
25412
|
}
|
|
25413
25413
|
);
|
|
25414
25414
|
OD.displayName = "DataTableTagsCell";
|
|
25415
|
-
const zD =
|
|
25415
|
+
const zD = t0(({ items: e, maxVisible: a = 1, emptyState: n = "-", className: r }, l) => {
|
|
25416
25416
|
if (!e || e.length === 0) return /* @__PURE__ */ i.jsx(i.Fragment, { children: n });
|
|
25417
25417
|
const o = /* @__PURE__ */ new Set(), s = e.filter((u) => !u.name || o.has(u.name) ? !1 : (o.add(u.name), !0));
|
|
25418
25418
|
if (s.length === 0) return /* @__PURE__ */ i.jsx(i.Fragment, { children: n });
|
|
@@ -25424,17 +25424,17 @@ const zD = e0(({ items: e, maxVisible: a = 1, emptyState: n = "-", className: r
|
|
|
25424
25424
|
className: y("flex items-center gap-2", r),
|
|
25425
25425
|
children: [
|
|
25426
25426
|
c.map((u) => /* @__PURE__ */ i.jsxs("div", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
25427
|
-
u.
|
|
25427
|
+
u.src ? /* @__PURE__ */ i.jsx(
|
|
25428
25428
|
"img",
|
|
25429
25429
|
{
|
|
25430
|
-
src: u.
|
|
25430
|
+
src: u.src,
|
|
25431
25431
|
alt: u.name,
|
|
25432
25432
|
className: "h-4 w-4 shrink-0 object-contain",
|
|
25433
25433
|
onError: (h) => {
|
|
25434
25434
|
h.currentTarget.style.display = "none";
|
|
25435
25435
|
}
|
|
25436
25436
|
}
|
|
25437
|
-
),
|
|
25437
|
+
) : u.iconName ? /* @__PURE__ */ i.jsx(e0, { name: u.iconName, size: "sm", className: "shrink-0" }) : null,
|
|
25438
25438
|
/* @__PURE__ */ i.jsx(Xe, { children: /* @__PURE__ */ i.jsxs(Qe, { children: [
|
|
25439
25439
|
/* @__PURE__ */ i.jsx(Je, { asChild: !0, children: /* @__PURE__ */ i.jsx("span", { className: "truncate text-sm", children: u.name }) }),
|
|
25440
25440
|
/* @__PURE__ */ i.jsx(Pe, { children: /* @__PURE__ */ i.jsx("p", { children: u.name }) })
|
|
@@ -25457,17 +25457,17 @@ const zD = e0(({ items: e, maxVisible: a = 1, emptyState: n = "-", className: r
|
|
|
25457
25457
|
{
|
|
25458
25458
|
className: "flex items-center gap-3",
|
|
25459
25459
|
children: [
|
|
25460
|
-
u.
|
|
25460
|
+
u.src ? /* @__PURE__ */ i.jsx(
|
|
25461
25461
|
"img",
|
|
25462
25462
|
{
|
|
25463
|
-
src: u.
|
|
25463
|
+
src: u.src,
|
|
25464
25464
|
alt: u.name,
|
|
25465
25465
|
className: "h-4 w-4 object-contain",
|
|
25466
25466
|
onError: (h) => {
|
|
25467
25467
|
h.currentTarget.style.display = "none";
|
|
25468
25468
|
}
|
|
25469
25469
|
}
|
|
25470
|
-
),
|
|
25470
|
+
) : u.iconName ? /* @__PURE__ */ i.jsx(e0, { name: u.iconName, size: "sm" }) : null,
|
|
25471
25471
|
/* @__PURE__ */ i.jsx("span", { className: "text-sm", children: u.name })
|
|
25472
25472
|
]
|
|
25473
25473
|
},
|
|
@@ -27549,7 +27549,7 @@ function YI({
|
|
|
27549
27549
|
}
|
|
27550
27550
|
);
|
|
27551
27551
|
}
|
|
27552
|
-
const qI =
|
|
27552
|
+
const qI = t0(YI);
|
|
27553
27553
|
qI.displayName = "AggregatedTable";
|
|
27554
27554
|
var KI = /* @__PURE__ */ Symbol.for("preact-signals");
|
|
27555
27555
|
function W8() {
|
|
@@ -30883,7 +30883,7 @@ Kv = function() {
|
|
|
30883
30883
|
},
|
|
30884
30884
|
ue
|
|
30885
30885
|
), C && (h.insertAdjacentElement("afterend", C), o?.rootElement && (typeof o.rootElement == "function" ? o.rootElement(d) : o.rootElement).appendChild(h)), Q6(f) && (f.hasAttribute("popover") || f.setAttribute("popover", "manual"), s2(f), f.addEventListener("beforetoggle", vc));
|
|
30886
|
-
let
|
|
30886
|
+
let a0, Q, d0;
|
|
30887
30887
|
const j0 = lO({
|
|
30888
30888
|
placeholder: C,
|
|
30889
30889
|
element: h,
|
|
@@ -30899,7 +30899,7 @@ Kv = function() {
|
|
|
30899
30899
|
delta: U,
|
|
30900
30900
|
styles: V,
|
|
30901
30901
|
dragOperation: s,
|
|
30902
|
-
getElementMutationObserver: () =>
|
|
30902
|
+
getElementMutationObserver: () => a0,
|
|
30903
30903
|
getSavedCellWidths: () => d0,
|
|
30904
30904
|
setSavedCellWidths: (Z0) => {
|
|
30905
30905
|
d0 = Z0;
|
|
@@ -30909,7 +30909,7 @@ Kv = function() {
|
|
|
30909
30909
|
const V0 = $e(f), G0 = (Z0) => {
|
|
30910
30910
|
this.manager.actions.stop({ event: Z0 });
|
|
30911
30911
|
}, oe = vs(V0);
|
|
30912
|
-
D && V0.addEventListener("resize", G0), C0(() => d.status) === "idle" && requestAnimationFrame(() => d.status = "dragging"), C && (j0.observe(C),
|
|
30912
|
+
D && V0.addEventListener("resize", G0), C0(() => d.status) === "idle" && requestAnimationFrame(() => d.status = "dragging"), C && (j0.observe(C), a0 = nO(
|
|
30913
30913
|
h,
|
|
30914
30914
|
C,
|
|
30915
30915
|
_
|
|
@@ -30925,7 +30925,7 @@ Kv = function() {
|
|
|
30925
30925
|
Gt(U0) && U0.focus();
|
|
30926
30926
|
}, ge = () => {
|
|
30927
30927
|
var Z0;
|
|
30928
|
-
if (
|
|
30928
|
+
if (a0?.disconnect(), Q?.disconnect(), j0.disconnect(), V0.removeEventListener("resize", G0), Q6(f) && (f.removeEventListener(
|
|
30929
30929
|
"beforetoggle",
|
|
30930
30930
|
vc
|
|
30931
30931
|
), f.removeAttribute("popover")), f.removeAttribute(y1), V.reset(), d0 && ro(h)) {
|
|
@@ -30955,7 +30955,7 @@ Kv = function() {
|
|
|
30955
30955
|
translate: `${n1.x}px ${n1.y}px 0`
|
|
30956
30956
|
},
|
|
30957
30957
|
ue
|
|
30958
|
-
),
|
|
30958
|
+
), a0?.takeRecords(), Ht && Ht !== Oe && un && !J8.length) {
|
|
30959
30959
|
const yt = Ye.delta(n1, un);
|
|
30960
30960
|
s.shape = B1.from(
|
|
30961
30961
|
Ht.boundingRectangle
|
|
@@ -30990,7 +30990,7 @@ Kv = function() {
|
|
|
30990
30990
|
alignment: d.alignment,
|
|
30991
30991
|
styles: V,
|
|
30992
30992
|
animation: Z0 ?? void 0,
|
|
30993
|
-
getElementMutationObserver: () =>
|
|
30993
|
+
getElementMutationObserver: () => a0,
|
|
30994
30994
|
cleanup: ge,
|
|
30995
30995
|
restoreFocus: J0
|
|
30996
30996
|
});
|
|
@@ -31859,7 +31859,7 @@ var LO = Object.defineProperty, SO = Object.defineProperties, FO = Object.getOwn
|
|
|
31859
31859
|
}, jO = new nA(), Rs = W1(
|
|
31860
31860
|
jO
|
|
31861
31861
|
), PO = QA(
|
|
31862
|
-
|
|
31862
|
+
t0(({ children: e }, a) => {
|
|
31863
31863
|
const [n, r] = g0(0), l = N0(null), o = N0(null), s = Q0(
|
|
31864
31864
|
() => ({
|
|
31865
31865
|
renderer: {
|
|
@@ -33589,15 +33589,15 @@ function Jz({
|
|
|
33589
33589
|
return /* @__PURE__ */ i.jsxs(p4, { align: "start", children: [
|
|
33590
33590
|
l && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
33591
33591
|
/* @__PURE__ */ i.jsxs(H1, { onClick: () => e.toggleSorting(!1), children: [
|
|
33592
|
-
/* @__PURE__ */ i.jsx(
|
|
33592
|
+
/* @__PURE__ */ i.jsx(e0, { name: "ArrowUp", size: "sm" }),
|
|
33593
33593
|
r.ascending
|
|
33594
33594
|
] }),
|
|
33595
33595
|
/* @__PURE__ */ i.jsxs(H1, { onClick: () => e.toggleSorting(!0), children: [
|
|
33596
|
-
/* @__PURE__ */ i.jsx(
|
|
33596
|
+
/* @__PURE__ */ i.jsx(e0, { name: "ArrowDown", size: "sm" }),
|
|
33597
33597
|
r.descending
|
|
33598
33598
|
] }),
|
|
33599
33599
|
d && /* @__PURE__ */ i.jsxs(H1, { onClick: () => e.clearSorting(), children: [
|
|
33600
|
-
/* @__PURE__ */ i.jsx(
|
|
33600
|
+
/* @__PURE__ */ i.jsx(e0, { name: "X", size: "sm" }),
|
|
33601
33601
|
r.clearSorting
|
|
33602
33602
|
] }),
|
|
33603
33603
|
/* @__PURE__ */ i.jsx(v6, {})
|
|
@@ -33609,7 +33609,7 @@ function Jz({
|
|
|
33609
33609
|
onClick: () => e.pin("left"),
|
|
33610
33610
|
disabled: c === "left",
|
|
33611
33611
|
children: [
|
|
33612
|
-
/* @__PURE__ */ i.jsx(
|
|
33612
|
+
/* @__PURE__ */ i.jsx(e0, { name: "PushPinSimple", size: "sm" }),
|
|
33613
33613
|
r.pinToLeft
|
|
33614
33614
|
]
|
|
33615
33615
|
}
|
|
@@ -33620,13 +33620,13 @@ function Jz({
|
|
|
33620
33620
|
onClick: () => e.pin("right"),
|
|
33621
33621
|
disabled: c === "right",
|
|
33622
33622
|
children: [
|
|
33623
|
-
/* @__PURE__ */ i.jsx(
|
|
33623
|
+
/* @__PURE__ */ i.jsx(e0, { name: "PushPinSimple", size: "sm" }),
|
|
33624
33624
|
r.pinToRight
|
|
33625
33625
|
]
|
|
33626
33626
|
}
|
|
33627
33627
|
),
|
|
33628
33628
|
c && /* @__PURE__ */ i.jsxs(H1, { onClick: () => e.pin(!1), children: [
|
|
33629
|
-
/* @__PURE__ */ i.jsx(
|
|
33629
|
+
/* @__PURE__ */ i.jsx(e0, { name: "PushPinSimpleSlash", size: "sm" }),
|
|
33630
33630
|
r.unpin
|
|
33631
33631
|
] }),
|
|
33632
33632
|
/* @__PURE__ */ i.jsx(v6, {})
|
|
@@ -33637,14 +33637,14 @@ function Jz({
|
|
|
33637
33637
|
onClick: () => e.toggleVisibility(!1),
|
|
33638
33638
|
disabled: a,
|
|
33639
33639
|
children: [
|
|
33640
|
-
/* @__PURE__ */ i.jsx(
|
|
33640
|
+
/* @__PURE__ */ i.jsx(e0, { name: "EyeSlash", size: "sm" }),
|
|
33641
33641
|
r.hide,
|
|
33642
33642
|
a && /* @__PURE__ */ i.jsx("span", { className: "ml-auto text-xs text-muted-foreground", children: r.lastColumn })
|
|
33643
33643
|
]
|
|
33644
33644
|
}
|
|
33645
33645
|
),
|
|
33646
33646
|
/* @__PURE__ */ i.jsxs(H1, { onClick: n, children: [
|
|
33647
|
-
/* @__PURE__ */ i.jsx(
|
|
33647
|
+
/* @__PURE__ */ i.jsx(e0, { name: "Columns", size: "sm" }),
|
|
33648
33648
|
r.manageColumns
|
|
33649
33649
|
] })
|
|
33650
33650
|
] });
|
|
@@ -33887,7 +33887,7 @@ function nB({
|
|
|
33887
33887
|
tooltip: "Sort descending"
|
|
33888
33888
|
}
|
|
33889
33889
|
}[a];
|
|
33890
|
-
return /* @__PURE__ */ i.jsx(
|
|
33890
|
+
return /* @__PURE__ */ i.jsx(e0, { name: r.name, size: "sm", tooltip: r.tooltip });
|
|
33891
33891
|
}
|
|
33892
33892
|
function rB({
|
|
33893
33893
|
title: e,
|
|
@@ -33911,7 +33911,7 @@ function rB({
|
|
|
33911
33911
|
onMouseLeave: d,
|
|
33912
33912
|
children: [
|
|
33913
33913
|
a && /* @__PURE__ */ i.jsx(
|
|
33914
|
-
|
|
33914
|
+
e0,
|
|
33915
33915
|
{
|
|
33916
33916
|
name: "Info",
|
|
33917
33917
|
size: "sm",
|
|
@@ -33919,11 +33919,11 @@ function rB({
|
|
|
33919
33919
|
tooltip: a
|
|
33920
33920
|
}
|
|
33921
33921
|
),
|
|
33922
|
-
n && /* @__PURE__ */ i.jsx(
|
|
33922
|
+
n && /* @__PURE__ */ i.jsx(e0, { name: "PushPinSimple", size: "sm", tooltip: "Pinned column" }),
|
|
33923
33923
|
/* @__PURE__ */ i.jsx(nB, { canSort: r, sortDirection: l }),
|
|
33924
33924
|
/* @__PURE__ */ i.jsx("span", { className: "flex-1 text-left", children: e }),
|
|
33925
33925
|
(o || s) && /* @__PURE__ */ i.jsx(f4, { asChild: !0, children: /* @__PURE__ */ i.jsx(
|
|
33926
|
-
|
|
33926
|
+
e0,
|
|
33927
33927
|
{
|
|
33928
33928
|
name: "DotsThreeVertical",
|
|
33929
33929
|
size: "sm",
|
|
@@ -33960,7 +33960,7 @@ function Dc({
|
|
|
33960
33960
|
} = Qz(e, a), Z = a.options.meta?.translations ?? Ps;
|
|
33961
33961
|
return !f && !p ? /* @__PURE__ */ i.jsxs("div", { className: y("flex items-center gap-2", r), children: [
|
|
33962
33962
|
l && /* @__PURE__ */ i.jsx(
|
|
33963
|
-
|
|
33963
|
+
e0,
|
|
33964
33964
|
{
|
|
33965
33965
|
name: "Info",
|
|
33966
33966
|
size: "sm",
|
|
@@ -34438,7 +34438,7 @@ function iW({
|
|
|
34438
34438
|
}
|
|
34439
34439
|
) : c0;
|
|
34440
34440
|
}
|
|
34441
|
-
const sB =
|
|
34441
|
+
const sB = t0(
|
|
34442
34442
|
({ items: e, maxLength: a = 7, showRemainingCount: n = !0, className: r }, l) => {
|
|
34443
34443
|
if (!e || e.length === 0) return null;
|
|
34444
34444
|
const o = e[0], s = e.slice(1), c = o.name.length > a && a > 0, d = c ? `${o.name.slice(0, a)}...` : o.name;
|
|
@@ -34639,7 +34639,7 @@ const iB = P0(
|
|
|
34639
34639
|
onClick: o,
|
|
34640
34640
|
"aria-label": "Close",
|
|
34641
34641
|
className: "h-6 w-6",
|
|
34642
|
-
children: /* @__PURE__ */ i.jsx(
|
|
34642
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", size: "md" })
|
|
34643
34643
|
}
|
|
34644
34644
|
)
|
|
34645
34645
|
]
|
|
@@ -34671,7 +34671,7 @@ const iB = P0(
|
|
|
34671
34671
|
}
|
|
34672
34672
|
);
|
|
34673
34673
|
dB.displayName = "Sheet";
|
|
34674
|
-
const uB =
|
|
34674
|
+
const uB = t0(
|
|
34675
34675
|
({
|
|
34676
34676
|
continuous: e,
|
|
34677
34677
|
step: a,
|
|
@@ -34725,7 +34725,7 @@ const uB = e0(
|
|
|
34725
34725
|
size: "icon",
|
|
34726
34726
|
className: "h-8 w-8 shrink-0",
|
|
34727
34727
|
onClick: n?.onClick,
|
|
34728
|
-
children: /* @__PURE__ */ i.jsx(
|
|
34728
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", size: "sm" })
|
|
34729
34729
|
}
|
|
34730
34730
|
)
|
|
34731
34731
|
] }),
|
|
@@ -34807,13 +34807,13 @@ const mB = ({
|
|
|
34807
34807
|
"aria-selected": r,
|
|
34808
34808
|
tabIndex: -1,
|
|
34809
34809
|
children: [
|
|
34810
|
-
/* @__PURE__ */ i.jsx("span", { className: "flex items-center shrink-0", children: /* @__PURE__ */ i.jsx(
|
|
34810
|
+
/* @__PURE__ */ i.jsx("span", { className: "flex items-center shrink-0", children: /* @__PURE__ */ i.jsx(e0, { name: "DotsSixVertical", className: "text-muted-foreground" }) }),
|
|
34811
34811
|
/* @__PURE__ */ i.jsxs("span", { className: "text-xs text-foreground flex-1 flex flex-col gap-0.5", children: [
|
|
34812
34812
|
/* @__PURE__ */ i.jsx("span", { children: e.label }),
|
|
34813
34813
|
e.description && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-muted-foreground font-normal", children: e.description })
|
|
34814
34814
|
] }),
|
|
34815
34815
|
e.actions,
|
|
34816
|
-
a && /* @__PURE__ */ i.jsx(he, { variant: "ghost", size: "icon", onClick: (l) => l.stopPropagation(), children: /* @__PURE__ */ i.jsx(
|
|
34816
|
+
a && /* @__PURE__ */ i.jsx(he, { variant: "ghost", size: "icon", onClick: (l) => l.stopPropagation(), children: /* @__PURE__ */ i.jsx(e0, { name: n, className: "text-muted-foreground" }) })
|
|
34817
34817
|
]
|
|
34818
34818
|
}
|
|
34819
34819
|
), hB = ({
|
|
@@ -34840,7 +34840,7 @@ const mB = ({
|
|
|
34840
34840
|
(d.key === "Enter" || d.key === " ") && r && (d.preventDefault(), r(e));
|
|
34841
34841
|
},
|
|
34842
34842
|
children: [
|
|
34843
|
-
/* @__PURE__ */ i.jsx("span", { className: "flex items-center shrink-0", children: /* @__PURE__ */ i.jsx(
|
|
34843
|
+
/* @__PURE__ */ i.jsx("span", { className: "flex items-center shrink-0", children: /* @__PURE__ */ i.jsx(e0, { name: "DotsSixVertical", className: "text-muted-foreground" }) }),
|
|
34844
34844
|
/* @__PURE__ */ i.jsxs("span", { className: "text-xs text-foreground flex-1 flex flex-col gap-0.5", children: [
|
|
34845
34845
|
/* @__PURE__ */ i.jsx("span", { children: e.label }),
|
|
34846
34846
|
e.description && /* @__PURE__ */ i.jsx("span", { className: "text-xs text-muted-foreground font-normal", children: e.description })
|
|
@@ -34854,7 +34854,7 @@ const mB = ({
|
|
|
34854
34854
|
onClick: (d) => {
|
|
34855
34855
|
d.stopPropagation(), r(e);
|
|
34856
34856
|
},
|
|
34857
|
-
children: /* @__PURE__ */ i.jsx(
|
|
34857
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: l, className: "text-muted-foreground" })
|
|
34858
34858
|
}
|
|
34859
34859
|
)
|
|
34860
34860
|
]
|
|
@@ -34865,7 +34865,7 @@ const mB = ({
|
|
|
34865
34865
|
description: a = "No items available",
|
|
34866
34866
|
iconName: n = "TextColumns"
|
|
34867
34867
|
}) => /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col items-center justify-center h-full gap-4 border border-border rounded-lg p-4 bg-muted", children: [
|
|
34868
|
-
/* @__PURE__ */ i.jsx(
|
|
34868
|
+
/* @__PURE__ */ i.jsx(e0, { name: n, className: "text-muted-foreground", size: "xl" }),
|
|
34869
34869
|
/* @__PURE__ */ i.jsx("p", { className: "text-base text-center text-foreground font-bold", children: e }),
|
|
34870
34870
|
/* @__PURE__ */ i.jsx("p", { className: "text-xs text-center text-muted-foreground", children: a })
|
|
34871
34871
|
] }), pB = 1, Ic = ({
|
|
@@ -34924,7 +34924,7 @@ const mB = ({
|
|
|
34924
34924
|
]
|
|
34925
34925
|
}
|
|
34926
34926
|
);
|
|
34927
|
-
}, gB =
|
|
34927
|
+
}, gB = t0(
|
|
34928
34928
|
({
|
|
34929
34929
|
left: e,
|
|
34930
34930
|
right: a,
|
|
@@ -35037,7 +35037,7 @@ const mB = ({
|
|
|
35037
35037
|
}
|
|
35038
35038
|
);
|
|
35039
35039
|
gB.displayName = "TransferList";
|
|
35040
|
-
const vB = ({ message: e = "No results" }) => /* @__PURE__ */ i.jsx("div", { className: "p-4 text-center", children: /* @__PURE__ */ i.jsx(z0, { variant: "sm", className: "text-muted-foreground", children: e }) }), AB =
|
|
35040
|
+
const vB = ({ message: e = "No results" }) => /* @__PURE__ */ i.jsx("div", { className: "p-4 text-center", children: /* @__PURE__ */ i.jsx(z0, { variant: "sm", className: "text-muted-foreground", children: e }) }), AB = t0(
|
|
35041
35041
|
({
|
|
35042
35042
|
value: e,
|
|
35043
35043
|
options: a,
|
|
@@ -35173,7 +35173,7 @@ const vB = ({ message: e = "No results" }) => /* @__PURE__ */ i.jsx("div", { cla
|
|
|
35173
35173
|
P > 0 && /* @__PURE__ */ i.jsx(Ce, { variant: "outline", className: "flex items-center", children: `+${P}` })
|
|
35174
35174
|
] }) }),
|
|
35175
35175
|
/* @__PURE__ */ i.jsx(
|
|
35176
|
-
|
|
35176
|
+
e0,
|
|
35177
35177
|
{
|
|
35178
35178
|
name: "CaretUpDown",
|
|
35179
35179
|
size: "sm",
|
|
@@ -35197,7 +35197,7 @@ const vB = ({ message: e = "No results" }) => /* @__PURE__ */ i.jsx("div", { cla
|
|
|
35197
35197
|
children: /* @__PURE__ */ i.jsxs("div", { className: "flex flex-col", children: [
|
|
35198
35198
|
u && a.length > 0 && /* @__PURE__ */ i.jsxs("div", { className: "flex items-center gap-2 px-3 py-2 border-b", children: [
|
|
35199
35199
|
/* @__PURE__ */ i.jsx(
|
|
35200
|
-
|
|
35200
|
+
e0,
|
|
35201
35201
|
{
|
|
35202
35202
|
name: "MagnifyingGlass",
|
|
35203
35203
|
size: "sm",
|
|
@@ -35855,7 +35855,7 @@ function _B(e) {
|
|
|
35855
35855
|
function zA(e, a) {
|
|
35856
35856
|
return e.moreFilters.replace("{count}", String(a));
|
|
35857
35857
|
}
|
|
35858
|
-
const BA =
|
|
35858
|
+
const BA = t0(
|
|
35859
35859
|
({ label: e, onRemove: a, className: n, ...r }, l) => /* @__PURE__ */ i.jsxs(
|
|
35860
35860
|
ko,
|
|
35861
35861
|
{
|
|
@@ -35871,7 +35871,7 @@ const BA = e0(
|
|
|
35871
35871
|
onClick: a,
|
|
35872
35872
|
className: "inline-flex items-center justify-center",
|
|
35873
35873
|
"aria-label": `Remove ${e} filter`,
|
|
35874
|
-
children: /* @__PURE__ */ i.jsx(
|
|
35874
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", className: "size-4" })
|
|
35875
35875
|
}
|
|
35876
35876
|
)
|
|
35877
35877
|
]
|
|
@@ -35879,7 +35879,7 @@ const BA = e0(
|
|
|
35879
35879
|
)
|
|
35880
35880
|
);
|
|
35881
35881
|
BA.displayName = "FilterTag";
|
|
35882
|
-
const NB =
|
|
35882
|
+
const NB = t0(
|
|
35883
35883
|
({
|
|
35884
35884
|
appliedFilters: e = [],
|
|
35885
35885
|
onRemoveFilter: a,
|
|
@@ -35904,7 +35904,7 @@ const NB = e0(
|
|
|
35904
35904
|
className: y("h-8 gap-2 px-3 py-2", l),
|
|
35905
35905
|
...c,
|
|
35906
35906
|
children: [
|
|
35907
|
-
/* @__PURE__ */ i.jsx(
|
|
35907
|
+
/* @__PURE__ */ i.jsx(e0, { name: "FunnelSimple", className: "size-4" }),
|
|
35908
35908
|
/* @__PURE__ */ i.jsx("span", { className: "text-xs font-medium leading-none", children: u.addFilter })
|
|
35909
35909
|
]
|
|
35910
35910
|
}
|
|
@@ -35941,7 +35941,7 @@ const NB = e0(
|
|
|
35941
35941
|
}
|
|
35942
35942
|
);
|
|
35943
35943
|
NB.displayName = "FilterButton";
|
|
35944
|
-
const go =
|
|
35944
|
+
const go = t0(
|
|
35945
35945
|
(e, a) => {
|
|
35946
35946
|
const {
|
|
35947
35947
|
title: n,
|
|
@@ -36072,7 +36072,7 @@ const go = e0(
|
|
|
36072
36072
|
}
|
|
36073
36073
|
);
|
|
36074
36074
|
go.displayName = "FilterSection";
|
|
36075
|
-
const WA =
|
|
36075
|
+
const WA = t0(({ label: e, checked: a, onCheckedChange: n, description: r, className: l, icon: o }, s) => /* @__PURE__ */ i.jsxs("label", { className: y("flex items-start gap-2 cursor-pointer", l), children: [
|
|
36076
36076
|
/* @__PURE__ */ i.jsx(r9, { ref: s, checked: a, onCheckedChange: n }),
|
|
36077
36077
|
o && /* @__PURE__ */ i.jsx(
|
|
36078
36078
|
"img",
|
|
@@ -36091,7 +36091,7 @@ const WA = e0(({ label: e, checked: a, onCheckedChange: n, description: r, class
|
|
|
36091
36091
|
] })
|
|
36092
36092
|
] }));
|
|
36093
36093
|
WA.displayName = "FilterCheckboxOption";
|
|
36094
|
-
const GA =
|
|
36094
|
+
const GA = t0(
|
|
36095
36095
|
({ label: e, value: a, description: n, className: r }, l) => /* @__PURE__ */ i.jsxs("div", { className: y("flex items-start gap-3", r), children: [
|
|
36096
36096
|
/* @__PURE__ */ i.jsx(w4, { ref: l, value: a, id: `radio-${a}` }),
|
|
36097
36097
|
/* @__PURE__ */ i.jsxs(
|
|
@@ -36108,7 +36108,7 @@ const GA = e0(
|
|
|
36108
36108
|
] })
|
|
36109
36109
|
);
|
|
36110
36110
|
GA.displayName = "FilterRadioOption";
|
|
36111
|
-
const RB =
|
|
36111
|
+
const RB = t0(
|
|
36112
36112
|
({
|
|
36113
36113
|
children: e,
|
|
36114
36114
|
showSearch: a = !1,
|
|
@@ -36135,7 +36135,7 @@ const RB = e0(
|
|
|
36135
36135
|
children: [
|
|
36136
36136
|
a && /* @__PURE__ */ i.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ i.jsxs("div", { className: "relative", children: [
|
|
36137
36137
|
/* @__PURE__ */ i.jsx(
|
|
36138
|
-
|
|
36138
|
+
e0,
|
|
36139
36139
|
{
|
|
36140
36140
|
name: "MagnifyingGlass",
|
|
36141
36141
|
className: "absolute start-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground"
|
|
@@ -36189,7 +36189,7 @@ const s1 = {
|
|
|
36189
36189
|
last30Days: u,
|
|
36190
36190
|
thisMonth: h
|
|
36191
36191
|
};
|
|
36192
|
-
}, et =
|
|
36192
|
+
}, et = t0(
|
|
36193
36193
|
({ label: e, description: a, value: n, className: r, ...l }, o) => {
|
|
36194
36194
|
const s = `date-range-${n}`;
|
|
36195
36195
|
return /* @__PURE__ */ i.jsxs("div", { className: "flex items-start gap-4 w-full py-1", children: [
|
|
@@ -36213,7 +36213,7 @@ const s1 = {
|
|
|
36213
36213
|
}
|
|
36214
36214
|
);
|
|
36215
36215
|
et.displayName = "FilterDateRangeOption";
|
|
36216
|
-
const UA =
|
|
36216
|
+
const UA = t0(
|
|
36217
36217
|
({
|
|
36218
36218
|
showCustomFields: e = !1,
|
|
36219
36219
|
onCustomFieldsChange: a,
|
|
@@ -36390,7 +36390,7 @@ const UA = e0(
|
|
|
36390
36390
|
}
|
|
36391
36391
|
);
|
|
36392
36392
|
UA.displayName = "FilterDateRange";
|
|
36393
|
-
const DB =
|
|
36393
|
+
const DB = t0(
|
|
36394
36394
|
({
|
|
36395
36395
|
title: e,
|
|
36396
36396
|
value: a,
|
|
@@ -36437,7 +36437,7 @@ const DB = e0(
|
|
|
36437
36437
|
}
|
|
36438
36438
|
);
|
|
36439
36439
|
DB.displayName = "FilterMultiInput";
|
|
36440
|
-
const YA =
|
|
36440
|
+
const YA = t0(
|
|
36441
36441
|
({ icon: e, label: a, isActive: n = !1, showChevron: r = !1, className: l, ...o }, s) => /* @__PURE__ */ i.jsxs(
|
|
36442
36442
|
"button",
|
|
36443
36443
|
{
|
|
@@ -36449,7 +36449,7 @@ const YA = e0(
|
|
|
36449
36449
|
...o,
|
|
36450
36450
|
children: [
|
|
36451
36451
|
e && /* @__PURE__ */ i.jsx(
|
|
36452
|
-
|
|
36452
|
+
e0,
|
|
36453
36453
|
{
|
|
36454
36454
|
name: e,
|
|
36455
36455
|
className: y(
|
|
@@ -36469,7 +36469,7 @@ const YA = e0(
|
|
|
36469
36469
|
}
|
|
36470
36470
|
),
|
|
36471
36471
|
(n || r) && /* @__PURE__ */ i.jsx(
|
|
36472
|
-
|
|
36472
|
+
e0,
|
|
36473
36473
|
{
|
|
36474
36474
|
name: "CaretRight",
|
|
36475
36475
|
className: y(
|
|
@@ -36483,7 +36483,7 @@ const YA = e0(
|
|
|
36483
36483
|
)
|
|
36484
36484
|
);
|
|
36485
36485
|
YA.displayName = "FilterMenuItem";
|
|
36486
|
-
const qA =
|
|
36486
|
+
const qA = t0(
|
|
36487
36487
|
({ items: e, activeItemId: a, onItemClick: n, className: r }, l) => /* @__PURE__ */ i.jsx(
|
|
36488
36488
|
"div",
|
|
36489
36489
|
{
|
|
@@ -36507,7 +36507,7 @@ const qA = e0(
|
|
|
36507
36507
|
)
|
|
36508
36508
|
);
|
|
36509
36509
|
qA.displayName = "FilterMenu";
|
|
36510
|
-
const IB =
|
|
36510
|
+
const IB = t0(
|
|
36511
36511
|
({
|
|
36512
36512
|
filters: e,
|
|
36513
36513
|
buttonText: a,
|
|
@@ -36528,8 +36528,8 @@ const IB = e0(
|
|
|
36528
36528
|
}, [h, m]), [g, v] = g0(!1), [A, M] = g0({}), E = N0({}), Z = N0(e), x = Y0(
|
|
36529
36529
|
($) => {
|
|
36530
36530
|
M((q) => {
|
|
36531
|
-
const
|
|
36532
|
-
return E.current =
|
|
36531
|
+
const a0 = typeof $ == "function" ? $(q) : $;
|
|
36532
|
+
return E.current = a0, a0;
|
|
36533
36533
|
});
|
|
36534
36534
|
},
|
|
36535
36535
|
[]
|
|
@@ -36540,8 +36540,8 @@ const IB = e0(
|
|
|
36540
36540
|
const H = Y0(() => {
|
|
36541
36541
|
if (!u) return;
|
|
36542
36542
|
const $ = E.current, q = Z.current;
|
|
36543
|
-
Object.entries($).forEach(([
|
|
36544
|
-
const d0 = q.find((j0) => j0.id ===
|
|
36543
|
+
Object.entries($).forEach(([a0, Q]) => {
|
|
36544
|
+
const d0 = q.find((j0) => j0.id === a0);
|
|
36545
36545
|
if (d0)
|
|
36546
36546
|
switch (Q.type) {
|
|
36547
36547
|
case "checkbox":
|
|
@@ -36592,18 +36592,18 @@ const IB = e0(
|
|
|
36592
36592
|
) || w(!1);
|
|
36593
36593
|
}, q = (Q) => {
|
|
36594
36594
|
Q.key === "Escape" && w(!1);
|
|
36595
|
-
},
|
|
36595
|
+
}, a0 = setTimeout(() => {
|
|
36596
36596
|
document.addEventListener("mousedown", $), document.addEventListener("keydown", q);
|
|
36597
36597
|
}, 0);
|
|
36598
36598
|
return () => {
|
|
36599
|
-
clearTimeout(
|
|
36599
|
+
clearTimeout(a0), document.removeEventListener("mousedown", $), document.removeEventListener("keydown", q);
|
|
36600
36600
|
};
|
|
36601
36601
|
}, [g, w]);
|
|
36602
36602
|
const T = n.length > 0, j = n.slice(0, s), R = n.length - s, B = ($) => {
|
|
36603
36603
|
if (e.find((Q) => Q.id === $)) return $;
|
|
36604
|
-
const
|
|
36605
|
-
if (
|
|
36606
|
-
const Q =
|
|
36604
|
+
const a0 = $.split("-");
|
|
36605
|
+
if (a0.length > 1) {
|
|
36606
|
+
const Q = a0[0];
|
|
36607
36607
|
if (e.find((j0) => j0.id === Q)) return Q;
|
|
36608
36608
|
}
|
|
36609
36609
|
return $;
|
|
@@ -36619,8 +36619,8 @@ const IB = e0(
|
|
|
36619
36619
|
id: $.id,
|
|
36620
36620
|
icon: $.icon,
|
|
36621
36621
|
label: $.label
|
|
36622
|
-
})), _ = e.find(($) => $.id === V), J = ($, q) => u ? A[$]?.checkboxValues ?? q : q, r0 = ($, q) => u ? A[$]?.radioValue ?? q : q, P = ($, q) => u ? A[$]?.dateValue ?? q : q, C = ($, q) => u ? A[$]?.dateInit ?? q : q, D = ($, q) => u ? A[$]?.dateEnd ?? q : q, z = ($, q) => u ? A[$]?.startTime ?? q : q, X = ($, q) => u ? A[$]?.endTime ?? q : q, O = ($, q,
|
|
36623
|
-
|
|
36622
|
+
})), _ = e.find(($) => $.id === V), J = ($, q) => u ? A[$]?.checkboxValues ?? q : q, r0 = ($, q) => u ? A[$]?.radioValue ?? q : q, P = ($, q) => u ? A[$]?.dateValue ?? q : q, C = ($, q) => u ? A[$]?.dateInit ?? q : q, D = ($, q) => u ? A[$]?.dateEnd ?? q : q, z = ($, q) => u ? A[$]?.startTime ?? q : q, X = ($, q) => u ? A[$]?.endTime ?? q : q, O = ($, q, a0) => (Q) => {
|
|
36623
|
+
a0 !== void 0 && a0 > 0 && Q.length < a0 || (u ? x((d0) => ({
|
|
36624
36624
|
...d0,
|
|
36625
36625
|
[$]: {
|
|
36626
36626
|
...d0[$],
|
|
@@ -36628,60 +36628,60 @@ const IB = e0(
|
|
|
36628
36628
|
checkboxValues: Q
|
|
36629
36629
|
}
|
|
36630
36630
|
})) : q?.(Q));
|
|
36631
|
-
}, Y = ($, q) => (
|
|
36631
|
+
}, Y = ($, q) => (a0) => {
|
|
36632
36632
|
u ? x((Q) => ({
|
|
36633
36633
|
...Q,
|
|
36634
36634
|
[$]: {
|
|
36635
36635
|
...Q[$],
|
|
36636
36636
|
type: "radio",
|
|
36637
|
-
radioValue:
|
|
36637
|
+
radioValue: a0
|
|
36638
36638
|
}
|
|
36639
|
-
})) : q?.(
|
|
36640
|
-
}, c0 = ($, q) => (
|
|
36639
|
+
})) : q?.(a0);
|
|
36640
|
+
}, c0 = ($, q) => (a0) => {
|
|
36641
36641
|
u ? x((Q) => ({
|
|
36642
36642
|
...Q,
|
|
36643
36643
|
[$]: {
|
|
36644
36644
|
...Q[$],
|
|
36645
36645
|
type: "date",
|
|
36646
|
-
dateValue:
|
|
36646
|
+
dateValue: a0
|
|
36647
36647
|
}
|
|
36648
|
-
})) : q?.(
|
|
36649
|
-
}, U = ($, q) => (
|
|
36648
|
+
})) : q?.(a0);
|
|
36649
|
+
}, U = ($, q) => (a0) => {
|
|
36650
36650
|
u ? x((Q) => ({
|
|
36651
36651
|
...Q,
|
|
36652
36652
|
[$]: {
|
|
36653
36653
|
...Q[$],
|
|
36654
36654
|
type: "date",
|
|
36655
|
-
dateInit:
|
|
36655
|
+
dateInit: a0
|
|
36656
36656
|
}
|
|
36657
|
-
})) : q?.(
|
|
36658
|
-
}, i0 = ($, q) => (
|
|
36657
|
+
})) : q?.(a0);
|
|
36658
|
+
}, i0 = ($, q) => (a0) => {
|
|
36659
36659
|
u ? x((Q) => ({
|
|
36660
36660
|
...Q,
|
|
36661
36661
|
[$]: {
|
|
36662
36662
|
...Q[$],
|
|
36663
36663
|
type: "date",
|
|
36664
|
-
dateEnd:
|
|
36664
|
+
dateEnd: a0
|
|
36665
36665
|
}
|
|
36666
|
-
})) : q?.(
|
|
36667
|
-
}, u0 = ($, q) => (
|
|
36666
|
+
})) : q?.(a0);
|
|
36667
|
+
}, u0 = ($, q) => (a0) => {
|
|
36668
36668
|
u ? x((Q) => ({
|
|
36669
36669
|
...Q,
|
|
36670
36670
|
[$]: {
|
|
36671
36671
|
...Q[$],
|
|
36672
36672
|
type: "date",
|
|
36673
|
-
startTime:
|
|
36673
|
+
startTime: a0
|
|
36674
36674
|
}
|
|
36675
|
-
})) : q?.(
|
|
36676
|
-
}, w0 = ($, q) => (
|
|
36675
|
+
})) : q?.(a0);
|
|
36676
|
+
}, w0 = ($, q) => (a0) => {
|
|
36677
36677
|
u ? x((Q) => ({
|
|
36678
36678
|
...Q,
|
|
36679
36679
|
[$]: {
|
|
36680
36680
|
...Q[$],
|
|
36681
36681
|
type: "date",
|
|
36682
|
-
endTime:
|
|
36682
|
+
endTime: a0
|
|
36683
36683
|
}
|
|
36684
|
-
})) : q?.(
|
|
36684
|
+
})) : q?.(a0);
|
|
36685
36685
|
}, s0 = () => {
|
|
36686
36686
|
if (!_) return null;
|
|
36687
36687
|
switch (_.type) {
|
|
@@ -36746,7 +36746,7 @@ const IB = e0(
|
|
|
36746
36746
|
), q = C(
|
|
36747
36747
|
_.id,
|
|
36748
36748
|
_.dateInit
|
|
36749
|
-
),
|
|
36749
|
+
), a0 = D(
|
|
36750
36750
|
_.id,
|
|
36751
36751
|
_.dateEnd
|
|
36752
36752
|
), Q = z(
|
|
@@ -36785,7 +36785,7 @@ const IB = e0(
|
|
|
36785
36785
|
onValueChange: ge,
|
|
36786
36786
|
showCustomFields: $ === s1.CUSTOM,
|
|
36787
36787
|
startDate: q,
|
|
36788
|
-
endDate:
|
|
36788
|
+
endDate: a0,
|
|
36789
36789
|
startTime: Q,
|
|
36790
36790
|
endTime: d0,
|
|
36791
36791
|
mode: _.dateMode || "range",
|
|
@@ -36806,10 +36806,10 @@ const IB = e0(
|
|
|
36806
36806
|
const $ = u ? {
|
|
36807
36807
|
bufferedValue: A[_.id]?.customValue,
|
|
36808
36808
|
onDeferredChange: (q) => {
|
|
36809
|
-
x((
|
|
36810
|
-
...
|
|
36809
|
+
x((a0) => ({
|
|
36810
|
+
...a0,
|
|
36811
36811
|
[_.id]: {
|
|
36812
|
-
...
|
|
36812
|
+
...a0[_.id],
|
|
36813
36813
|
type: "custom",
|
|
36814
36814
|
customValue: q
|
|
36815
36815
|
}
|
|
@@ -36839,7 +36839,7 @@ const IB = e0(
|
|
|
36839
36839
|
onClick: () => w(!g),
|
|
36840
36840
|
disabled: d,
|
|
36841
36841
|
children: [
|
|
36842
|
-
/* @__PURE__ */ i.jsx(
|
|
36842
|
+
/* @__PURE__ */ i.jsx(e0, { name: "FunnelSimple", className: "size-4" }),
|
|
36843
36843
|
a ?? f.addFilter
|
|
36844
36844
|
]
|
|
36845
36845
|
}
|
|
@@ -36861,12 +36861,12 @@ const IB = e0(
|
|
|
36861
36861
|
r && q && /* @__PURE__ */ i.jsx(
|
|
36862
36862
|
"button",
|
|
36863
36863
|
{
|
|
36864
|
-
onClick: (
|
|
36865
|
-
|
|
36864
|
+
onClick: (a0) => {
|
|
36865
|
+
a0.stopPropagation(), r($.id);
|
|
36866
36866
|
},
|
|
36867
36867
|
className: "inline-flex items-center justify-center",
|
|
36868
36868
|
"aria-label": `Remove ${$.label} filter`,
|
|
36869
|
-
children: /* @__PURE__ */ i.jsx(
|
|
36869
|
+
children: /* @__PURE__ */ i.jsx(e0, { name: "X", className: "size-4" })
|
|
36870
36870
|
}
|
|
36871
36871
|
)
|
|
36872
36872
|
]
|
|
@@ -36966,7 +36966,7 @@ const $B = {
|
|
|
36966
36966
|
withProgress: c = !1
|
|
36967
36967
|
}) => {
|
|
36968
36968
|
const d = $B[e], u = !!a, h = !!(r && l), m = /* @__PURE__ */ i.jsx(
|
|
36969
|
-
|
|
36969
|
+
e0,
|
|
36970
36970
|
{
|
|
36971
36971
|
name: d,
|
|
36972
36972
|
className: "size-4",
|
|
@@ -37088,7 +37088,7 @@ export {
|
|
|
37088
37088
|
go as FilterSection,
|
|
37089
37089
|
BA as FilterTag,
|
|
37090
37090
|
yj as HighlightBanner,
|
|
37091
|
-
|
|
37091
|
+
e0 as Icon,
|
|
37092
37092
|
IM as LANGUAGE_STORAGE_KEY,
|
|
37093
37093
|
De as Label,
|
|
37094
37094
|
A4 as Link,
|