ikon-react-components-lib 1.0.5 → 1.0.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.
|
@@ -47,30 +47,30 @@ import { getDay as Io, startOfWeek as So, parse as Ao, format as wr } from "date
|
|
|
47
47
|
import { Views as W, dateFnsLocalizer as zo, Calendar as Ro } from "react-big-calendar";
|
|
48
48
|
import "react-big-calendar/lib/css/react-big-calendar.css";
|
|
49
49
|
import { enUS as Do } from "date-fns/locale";
|
|
50
|
-
import { useNavigate as To, Link as Ee,
|
|
50
|
+
import { useNavigate as To, Link as Ee, useLocation as Po, BrowserRouter as _o } from "react-router";
|
|
51
51
|
import Nr from "axios";
|
|
52
52
|
import na from "js-cookie";
|
|
53
|
-
import { jwtDecode as
|
|
54
|
-
import { useQuery as oa, useQueryClient as
|
|
53
|
+
import { jwtDecode as Mo } from "jwt-decode";
|
|
54
|
+
import { useQuery as oa, useQueryClient as Fo, useMutation as Eo, QueryClient as Lo, QueryClientProvider as Oo } from "@tanstack/react-query";
|
|
55
55
|
import yr from "react-cropper";
|
|
56
|
-
import { MessagePrimitive as Ce, ComposerPrimitive as ne, useAssistantApi as
|
|
56
|
+
import { MessagePrimitive as Ce, ComposerPrimitive as ne, useAssistantApi as jo, useAssistantState as St, AttachmentPrimitive as Wt, ThreadPrimitive as ye, ErrorPrimitive as Ia, BranchPickerPrimitive as ot, ActionBarPrimitive as dt, AssistantRuntimeProvider as Uo } from "@assistant-ui/react";
|
|
57
57
|
import * as Ht from "motion/react-m";
|
|
58
|
-
import { unstable_memoizeMarkdownComponents as
|
|
59
|
-
import
|
|
60
|
-
import { useChatRuntime as
|
|
58
|
+
import { unstable_memoizeMarkdownComponents as Bo, useIsMarkdownCodeBlock as $o, MarkdownTextPrimitive as Vo } from "@assistant-ui/react-markdown";
|
|
59
|
+
import Go from "remark-gfm";
|
|
60
|
+
import { useChatRuntime as Wo } from "@assistant-ui/react-ai-sdk";
|
|
61
61
|
import { v4 as Sa } from "uuid";
|
|
62
62
|
import * as vt from "xlsx";
|
|
63
63
|
import { useNavigate as Dt, useLocation as Tt, useSearchParams as Pt } from "react-router-dom";
|
|
64
|
-
import { useDebounce as
|
|
64
|
+
import { useDebounce as Ho } from "use-debounce";
|
|
65
65
|
function d(...t) {
|
|
66
66
|
return Yn(qn(t));
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function pc({
|
|
69
69
|
...t
|
|
70
70
|
}) {
|
|
71
71
|
return /* @__PURE__ */ e(ut.Root, { "data-slot": "accordion", ...t });
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function hc({
|
|
74
74
|
className: t,
|
|
75
75
|
...a
|
|
76
76
|
}) {
|
|
@@ -83,7 +83,7 @@ function pc({
|
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function bc({
|
|
87
87
|
className: t,
|
|
88
88
|
children: a,
|
|
89
89
|
...r
|
|
@@ -104,7 +104,7 @@ function hc({
|
|
|
104
104
|
}
|
|
105
105
|
) });
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function vc({
|
|
108
108
|
className: t,
|
|
109
109
|
children: a,
|
|
110
110
|
...r
|
|
@@ -119,13 +119,13 @@ function bc({
|
|
|
119
119
|
}
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Ko(t, a, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
123
123
|
return function(o) {
|
|
124
124
|
if (t?.(o), r === !1 || !o.defaultPrevented)
|
|
125
125
|
return a?.(o);
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function qo(t, a = []) {
|
|
129
129
|
let r = [];
|
|
130
130
|
function n(s, l) {
|
|
131
131
|
const c = A.createContext(l), m = r.length;
|
|
@@ -153,9 +153,9 @@ function Ko(t, a = []) {
|
|
|
153
153
|
);
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
|
-
return o.scopeName = t, [n,
|
|
156
|
+
return o.scopeName = t, [n, Yo(o, ...a)];
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Yo(...t) {
|
|
159
159
|
const a = t[0];
|
|
160
160
|
if (t.length === 1) return a;
|
|
161
161
|
const r = () => {
|
|
@@ -174,15 +174,15 @@ function qo(...t) {
|
|
|
174
174
|
return r.scopeName = a.scopeName, r;
|
|
175
175
|
}
|
|
176
176
|
var ft = globalThis?.document ? A.useLayoutEffect : () => {
|
|
177
|
-
},
|
|
178
|
-
function
|
|
177
|
+
}, Jo = A[" useInsertionEffect ".trim().toString()] || ft;
|
|
178
|
+
function Qo({
|
|
179
179
|
prop: t,
|
|
180
180
|
defaultProp: a,
|
|
181
181
|
onChange: r = () => {
|
|
182
182
|
},
|
|
183
183
|
caller: n
|
|
184
184
|
}) {
|
|
185
|
-
const [o, s, l] =
|
|
185
|
+
const [o, s, l] = Xo({
|
|
186
186
|
defaultProp: a,
|
|
187
187
|
onChange: r
|
|
188
188
|
}), c = t !== void 0, m = c ? t : o;
|
|
@@ -198,7 +198,7 @@ function Jo({
|
|
|
198
198
|
const u = A.useCallback(
|
|
199
199
|
(f) => {
|
|
200
200
|
if (c) {
|
|
201
|
-
const g =
|
|
201
|
+
const g = Zo(f) ? f(t) : f;
|
|
202
202
|
g !== t && l.current?.(g);
|
|
203
203
|
} else
|
|
204
204
|
s(f);
|
|
@@ -207,18 +207,18 @@ function Jo({
|
|
|
207
207
|
);
|
|
208
208
|
return [m, u];
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Xo({
|
|
211
211
|
defaultProp: t,
|
|
212
212
|
onChange: a
|
|
213
213
|
}) {
|
|
214
214
|
const [r, n] = A.useState(t), o = A.useRef(r), s = A.useRef(a);
|
|
215
|
-
return
|
|
215
|
+
return Jo(() => {
|
|
216
216
|
s.current = a;
|
|
217
217
|
}, [a]), A.useEffect(() => {
|
|
218
218
|
o.current !== r && (s.current?.(r), o.current = r);
|
|
219
219
|
}, [r, o]), [r, n, s];
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function Zo(t) {
|
|
222
222
|
return typeof t == "function";
|
|
223
223
|
}
|
|
224
224
|
function Aa(t, a) {
|
|
@@ -226,7 +226,7 @@ function Aa(t, a) {
|
|
|
226
226
|
return t(a);
|
|
227
227
|
t != null && (t.current = a);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function ei(...t) {
|
|
230
230
|
return (a) => {
|
|
231
231
|
let r = !1;
|
|
232
232
|
const n = t.map((o) => {
|
|
@@ -243,9 +243,9 @@ function Zo(...t) {
|
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
function Cr(...t) {
|
|
246
|
-
return A.useCallback(
|
|
246
|
+
return A.useCallback(ei(...t), t);
|
|
247
247
|
}
|
|
248
|
-
var
|
|
248
|
+
var ti = [
|
|
249
249
|
"a",
|
|
250
250
|
"button",
|
|
251
251
|
"div",
|
|
@@ -263,23 +263,23 @@ var ei = [
|
|
|
263
263
|
"span",
|
|
264
264
|
"svg",
|
|
265
265
|
"ul"
|
|
266
|
-
], ia =
|
|
266
|
+
], ia = ti.reduce((t, a) => {
|
|
267
267
|
const r = Zn(`Primitive.${a}`), n = A.forwardRef((o, s) => {
|
|
268
268
|
const { asChild: l, ...c } = o, m = l ? r : a;
|
|
269
269
|
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ e(m, { ...c, ref: s });
|
|
270
270
|
});
|
|
271
271
|
return n.displayName = `Primitive.${a}`, { ...t, [a]: n };
|
|
272
272
|
}, {});
|
|
273
|
-
function
|
|
273
|
+
function ai(t, a) {
|
|
274
274
|
return A.useReducer((r, n) => a[r][n] ?? r, t);
|
|
275
275
|
}
|
|
276
276
|
var kr = (t) => {
|
|
277
|
-
const { present: a, children: r } = t, n =
|
|
277
|
+
const { present: a, children: r } = t, n = ri(a), o = typeof r == "function" ? r({ present: n.isPresent }) : A.Children.only(r), s = Cr(n.ref, ni(o));
|
|
278
278
|
return typeof r == "function" || n.isPresent ? A.cloneElement(o, { ref: s }) : null;
|
|
279
279
|
};
|
|
280
280
|
kr.displayName = "Presence";
|
|
281
|
-
function
|
|
282
|
-
const [a, r] = A.useState(), n = A.useRef(null), o = A.useRef(t), s = A.useRef("none"), l = t ? "mounted" : "unmounted", [c, m] =
|
|
281
|
+
function ri(t) {
|
|
282
|
+
const [a, r] = A.useState(), n = A.useRef(null), o = A.useRef(t), s = A.useRef("none"), l = t ? "mounted" : "unmounted", [c, m] = ai(l, {
|
|
283
283
|
mounted: {
|
|
284
284
|
UNMOUNT: "unmounted",
|
|
285
285
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -330,19 +330,19 @@ function ai(t) {
|
|
|
330
330
|
function xt(t) {
|
|
331
331
|
return t?.animationName || "none";
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function ni(t) {
|
|
334
334
|
let a = Object.getOwnPropertyDescriptor(t.props, "ref")?.get, r = a && "isReactWarning" in a && a.isReactWarning;
|
|
335
335
|
return r ? t.ref : (a = Object.getOwnPropertyDescriptor(t, "ref")?.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? t.props.ref : t.props.ref || t.ref);
|
|
336
336
|
}
|
|
337
|
-
var
|
|
338
|
-
}),
|
|
339
|
-
function
|
|
340
|
-
const [a, r] = A.useState(
|
|
337
|
+
var oi = A[" useId ".trim().toString()] || (() => {
|
|
338
|
+
}), ii = 0;
|
|
339
|
+
function si(t) {
|
|
340
|
+
const [a, r] = A.useState(oi());
|
|
341
341
|
return ft(() => {
|
|
342
|
-
r((n) => n ?? String(
|
|
342
|
+
r((n) => n ?? String(ii++));
|
|
343
343
|
}, [t]), t || (a ? `radix-${a}` : "");
|
|
344
344
|
}
|
|
345
|
-
var _t = "Collapsible", [
|
|
345
|
+
var _t = "Collapsible", [li] = qo(_t), [di, sa] = li(_t), Ir = A.forwardRef(
|
|
346
346
|
(t, a) => {
|
|
347
347
|
const {
|
|
348
348
|
__scopeCollapsible: r,
|
|
@@ -351,18 +351,18 @@ var _t = "Collapsible", [si] = Ko(_t), [li, sa] = si(_t), Ir = A.forwardRef(
|
|
|
351
351
|
disabled: s,
|
|
352
352
|
onOpenChange: l,
|
|
353
353
|
...c
|
|
354
|
-
} = t, [m, u] =
|
|
354
|
+
} = t, [m, u] = Qo({
|
|
355
355
|
prop: n,
|
|
356
356
|
defaultProp: o ?? !1,
|
|
357
357
|
onChange: l,
|
|
358
358
|
caller: _t
|
|
359
359
|
});
|
|
360
360
|
return /* @__PURE__ */ e(
|
|
361
|
-
|
|
361
|
+
di,
|
|
362
362
|
{
|
|
363
363
|
scope: r,
|
|
364
364
|
disabled: s,
|
|
365
|
-
contentId:
|
|
365
|
+
contentId: si(),
|
|
366
366
|
open: m,
|
|
367
367
|
onOpenToggle: A.useCallback(() => u((f) => !f), [u]),
|
|
368
368
|
children: /* @__PURE__ */ e(
|
|
@@ -393,7 +393,7 @@ var Sr = "CollapsibleTrigger", Ar = A.forwardRef(
|
|
|
393
393
|
disabled: o.disabled,
|
|
394
394
|
...n,
|
|
395
395
|
ref: a,
|
|
396
|
-
onClick:
|
|
396
|
+
onClick: Ko(t.onClick, o.onOpenToggle)
|
|
397
397
|
}
|
|
398
398
|
);
|
|
399
399
|
}
|
|
@@ -402,11 +402,11 @@ Ar.displayName = Sr;
|
|
|
402
402
|
var la = "CollapsibleContent", zr = A.forwardRef(
|
|
403
403
|
(t, a) => {
|
|
404
404
|
const { forceMount: r, ...n } = t, o = sa(la, t.__scopeCollapsible);
|
|
405
|
-
return /* @__PURE__ */ e(kr, { present: r || o.open, children: ({ present: s }) => /* @__PURE__ */ e(
|
|
405
|
+
return /* @__PURE__ */ e(kr, { present: r || o.open, children: ({ present: s }) => /* @__PURE__ */ e(ci, { ...n, ref: a, present: s }) });
|
|
406
406
|
}
|
|
407
407
|
);
|
|
408
408
|
zr.displayName = la;
|
|
409
|
-
var
|
|
409
|
+
var ci = A.forwardRef((t, a) => {
|
|
410
410
|
const { __scopeCollapsible: r, present: n, children: o, ...s } = t, l = sa(la, r), [c, m] = A.useState(n), u = A.useRef(null), f = Cr(a, u), g = A.useRef(0), w = g.current, N = A.useRef(0), v = N.current, C = l.open || c, b = A.useRef(C), k = A.useRef(void 0);
|
|
411
411
|
return A.useEffect(() => {
|
|
412
412
|
const p = requestAnimationFrame(() => b.current = !1);
|
|
@@ -442,7 +442,7 @@ var di = A.forwardRef((t, a) => {
|
|
|
442
442
|
function da(t) {
|
|
443
443
|
return t ? "open" : "closed";
|
|
444
444
|
}
|
|
445
|
-
var
|
|
445
|
+
var ui = Ir;
|
|
446
446
|
const Kt = Ye(
|
|
447
447
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
448
448
|
{
|
|
@@ -492,22 +492,22 @@ function T({
|
|
|
492
492
|
}
|
|
493
493
|
);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function mi({
|
|
496
496
|
...t
|
|
497
497
|
}) {
|
|
498
498
|
return /* @__PURE__ */ e(ke.Root, { "data-slot": "alert-dialog", ...t });
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function xc({
|
|
501
501
|
...t
|
|
502
502
|
}) {
|
|
503
503
|
return /* @__PURE__ */ e(ke.Trigger, { "data-slot": "alert-dialog-trigger", ...t });
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function fi({
|
|
506
506
|
...t
|
|
507
507
|
}) {
|
|
508
508
|
return /* @__PURE__ */ e(ke.Portal, { "data-slot": "alert-dialog-portal", ...t });
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function gi({
|
|
511
511
|
className: t,
|
|
512
512
|
...a
|
|
513
513
|
}) {
|
|
@@ -523,13 +523,13 @@ function fi({
|
|
|
523
523
|
}
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function pi({
|
|
527
527
|
className: t,
|
|
528
528
|
size: a = "default",
|
|
529
529
|
...r
|
|
530
530
|
}) {
|
|
531
|
-
return /* @__PURE__ */ i(
|
|
532
|
-
/* @__PURE__ */ e(
|
|
531
|
+
return /* @__PURE__ */ i(fi, { children: [
|
|
532
|
+
/* @__PURE__ */ e(gi, {}),
|
|
533
533
|
/* @__PURE__ */ e(
|
|
534
534
|
ke.Content,
|
|
535
535
|
{
|
|
@@ -544,7 +544,7 @@ function gi({
|
|
|
544
544
|
)
|
|
545
545
|
] });
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function hi({
|
|
548
548
|
className: t,
|
|
549
549
|
...a
|
|
550
550
|
}) {
|
|
@@ -560,7 +560,7 @@ function pi({
|
|
|
560
560
|
}
|
|
561
561
|
);
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function bi({
|
|
564
564
|
className: t,
|
|
565
565
|
...a
|
|
566
566
|
}) {
|
|
@@ -576,7 +576,7 @@ function hi({
|
|
|
576
576
|
}
|
|
577
577
|
);
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function vi({
|
|
580
580
|
className: t,
|
|
581
581
|
...a
|
|
582
582
|
}) {
|
|
@@ -592,7 +592,7 @@ function bi({
|
|
|
592
592
|
}
|
|
593
593
|
);
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function xi({
|
|
596
596
|
className: t,
|
|
597
597
|
...a
|
|
598
598
|
}) {
|
|
@@ -605,7 +605,7 @@ function vi({
|
|
|
605
605
|
}
|
|
606
606
|
);
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function wc({
|
|
609
609
|
className: t,
|
|
610
610
|
...a
|
|
611
611
|
}) {
|
|
@@ -636,7 +636,7 @@ function za({
|
|
|
636
636
|
}
|
|
637
637
|
) });
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function wi({
|
|
640
640
|
className: t,
|
|
641
641
|
variant: a = "outline",
|
|
642
642
|
size: r = "default",
|
|
@@ -651,7 +651,7 @@ function xi({
|
|
|
651
651
|
}
|
|
652
652
|
) });
|
|
653
653
|
}
|
|
654
|
-
const
|
|
654
|
+
const Ni = Ye(
|
|
655
655
|
"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
656
656
|
{
|
|
657
657
|
variants: {
|
|
@@ -665,7 +665,7 @@ const wi = Ye(
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
);
|
|
668
|
-
function
|
|
668
|
+
function Nc({
|
|
669
669
|
className: t,
|
|
670
670
|
variant: a,
|
|
671
671
|
...r
|
|
@@ -675,12 +675,12 @@ function wc({
|
|
|
675
675
|
{
|
|
676
676
|
"data-slot": "alert",
|
|
677
677
|
role: "alert",
|
|
678
|
-
className: d(
|
|
678
|
+
className: d(Ni({ variant: a }), t),
|
|
679
679
|
...r
|
|
680
680
|
}
|
|
681
681
|
);
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function yc({ className: t, ...a }) {
|
|
684
684
|
return /* @__PURE__ */ e(
|
|
685
685
|
"div",
|
|
686
686
|
{
|
|
@@ -693,7 +693,7 @@ function Nc({ className: t, ...a }) {
|
|
|
693
693
|
}
|
|
694
694
|
);
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function Cc({
|
|
697
697
|
className: t,
|
|
698
698
|
...a
|
|
699
699
|
}) {
|
|
@@ -709,7 +709,7 @@ function yc({
|
|
|
709
709
|
}
|
|
710
710
|
);
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function yi({
|
|
713
713
|
className: t,
|
|
714
714
|
size: a = "default",
|
|
715
715
|
...r
|
|
@@ -727,7 +727,7 @@ function Ni({
|
|
|
727
727
|
}
|
|
728
728
|
);
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function Ci({
|
|
731
731
|
className: t,
|
|
732
732
|
...a
|
|
733
733
|
}) {
|
|
@@ -740,7 +740,7 @@ function yi({
|
|
|
740
740
|
}
|
|
741
741
|
);
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function ki({
|
|
744
744
|
className: t,
|
|
745
745
|
...a
|
|
746
746
|
}) {
|
|
@@ -756,7 +756,7 @@ function Ci({
|
|
|
756
756
|
}
|
|
757
757
|
);
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function kc({ className: t, ...a }) {
|
|
760
760
|
return /* @__PURE__ */ e(
|
|
761
761
|
"span",
|
|
762
762
|
{
|
|
@@ -772,7 +772,7 @@ function Cc({ className: t, ...a }) {
|
|
|
772
772
|
}
|
|
773
773
|
);
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function Ic({ className: t, ...a }) {
|
|
776
776
|
return /* @__PURE__ */ e(
|
|
777
777
|
"div",
|
|
778
778
|
{
|
|
@@ -785,7 +785,7 @@ function kc({ className: t, ...a }) {
|
|
|
785
785
|
}
|
|
786
786
|
);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function Sc({
|
|
789
789
|
className: t,
|
|
790
790
|
...a
|
|
791
791
|
}) {
|
|
@@ -801,7 +801,7 @@ function Ic({
|
|
|
801
801
|
}
|
|
802
802
|
);
|
|
803
803
|
}
|
|
804
|
-
const
|
|
804
|
+
const Ii = Ye(
|
|
805
805
|
"inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
806
806
|
{
|
|
807
807
|
variants: {
|
|
@@ -831,12 +831,12 @@ function Bt({
|
|
|
831
831
|
{
|
|
832
832
|
"data-slot": "badge",
|
|
833
833
|
"data-variant": a,
|
|
834
|
-
className: d(
|
|
834
|
+
className: d(Ii({ variant: a }), t),
|
|
835
835
|
...n
|
|
836
836
|
}
|
|
837
837
|
);
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Si({
|
|
840
840
|
className: t,
|
|
841
841
|
classNames: a,
|
|
842
842
|
showOutsideDays: r = !0,
|
|
@@ -962,7 +962,7 @@ function Ii({
|
|
|
962
962
|
...g
|
|
963
963
|
}
|
|
964
964
|
) : /* @__PURE__ */ e(Ke, { className: d("size-4", u), ...g }),
|
|
965
|
-
DayButton:
|
|
965
|
+
DayButton: Ai,
|
|
966
966
|
WeekNumber: ({ children: u, ...f }) => /* @__PURE__ */ e("td", { ...f, children: /* @__PURE__ */ e("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: u }) }),
|
|
967
967
|
...l
|
|
968
968
|
},
|
|
@@ -970,7 +970,7 @@ function Ii({
|
|
|
970
970
|
}
|
|
971
971
|
);
|
|
972
972
|
}
|
|
973
|
-
function
|
|
973
|
+
function Ai({
|
|
974
974
|
className: t,
|
|
975
975
|
day: a,
|
|
976
976
|
modifiers: r,
|
|
@@ -1012,7 +1012,7 @@ function qt({ className: t, ...a }) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
);
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function Ac({ className: t, ...a }) {
|
|
1016
1016
|
return /* @__PURE__ */ e(
|
|
1017
1017
|
"div",
|
|
1018
1018
|
{
|
|
@@ -1025,7 +1025,7 @@ function Sc({ className: t, ...a }) {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
);
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function zc({ className: t, ...a }) {
|
|
1029
1029
|
return /* @__PURE__ */ e(
|
|
1030
1030
|
"div",
|
|
1031
1031
|
{
|
|
@@ -1035,7 +1035,7 @@ function Ac({ className: t, ...a }) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
);
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function Rc({ className: t, ...a }) {
|
|
1039
1039
|
return /* @__PURE__ */ e(
|
|
1040
1040
|
"div",
|
|
1041
1041
|
{
|
|
@@ -1045,7 +1045,7 @@ function zc({ className: t, ...a }) {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
);
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Dc({ className: t, ...a }) {
|
|
1049
1049
|
return /* @__PURE__ */ e(
|
|
1050
1050
|
"div",
|
|
1051
1051
|
{
|
|
@@ -1058,7 +1058,7 @@ function Rc({ className: t, ...a }) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
);
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function zi({ className: t, ...a }) {
|
|
1062
1062
|
return /* @__PURE__ */ e(
|
|
1063
1063
|
"div",
|
|
1064
1064
|
{
|
|
@@ -1068,7 +1068,7 @@ function Ai({ className: t, ...a }) {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
);
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function Tc({ className: t, ...a }) {
|
|
1072
1072
|
return /* @__PURE__ */ e(
|
|
1073
1073
|
"div",
|
|
1074
1074
|
{
|
|
@@ -1107,22 +1107,22 @@ function ca({
|
|
|
1107
1107
|
}) {
|
|
1108
1108
|
return /* @__PURE__ */ e(U.Root, { "data-slot": "dialog", ...t });
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Ri({
|
|
1111
1111
|
...t
|
|
1112
1112
|
}) {
|
|
1113
1113
|
return /* @__PURE__ */ e(U.Trigger, { "data-slot": "dialog-trigger", ...t });
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Di({
|
|
1116
1116
|
...t
|
|
1117
1117
|
}) {
|
|
1118
1118
|
return /* @__PURE__ */ e(U.Portal, { "data-slot": "dialog-portal", ...t });
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function Pc({
|
|
1121
1121
|
...t
|
|
1122
1122
|
}) {
|
|
1123
1123
|
return /* @__PURE__ */ e(U.Close, { "data-slot": "dialog-close", ...t });
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Ti({
|
|
1126
1126
|
className: t,
|
|
1127
1127
|
...a
|
|
1128
1128
|
}) {
|
|
@@ -1144,8 +1144,8 @@ function ua({
|
|
|
1144
1144
|
showCloseButton: r = !0,
|
|
1145
1145
|
...n
|
|
1146
1146
|
}) {
|
|
1147
|
-
return /* @__PURE__ */ i(
|
|
1148
|
-
/* @__PURE__ */ e(
|
|
1147
|
+
return /* @__PURE__ */ i(Di, { "data-slot": "dialog-portal", children: [
|
|
1148
|
+
/* @__PURE__ */ e(Ti, {}),
|
|
1149
1149
|
/* @__PURE__ */ i(
|
|
1150
1150
|
U.Content,
|
|
1151
1151
|
{
|
|
@@ -1183,7 +1183,7 @@ function Rr({ className: t, ...a }) {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
);
|
|
1185
1185
|
}
|
|
1186
|
-
function
|
|
1186
|
+
function Pi({
|
|
1187
1187
|
className: t,
|
|
1188
1188
|
showCloseButton: a = !1,
|
|
1189
1189
|
children: r,
|
|
@@ -1218,7 +1218,7 @@ function ma({
|
|
|
1218
1218
|
}
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function _i({
|
|
1222
1222
|
className: t,
|
|
1223
1223
|
...a
|
|
1224
1224
|
}) {
|
|
@@ -1247,7 +1247,7 @@ function X({
|
|
|
1247
1247
|
}
|
|
1248
1248
|
);
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function _c({
|
|
1251
1251
|
title: t = "Command Palette",
|
|
1252
1252
|
description: a = "Search for a command to run...",
|
|
1253
1253
|
children: r,
|
|
@@ -1258,7 +1258,7 @@ function Pc({
|
|
|
1258
1258
|
return /* @__PURE__ */ i(ca, { ...s, children: [
|
|
1259
1259
|
/* @__PURE__ */ i(Rr, { className: "sr-only", children: [
|
|
1260
1260
|
/* @__PURE__ */ e(ma, { children: t }),
|
|
1261
|
-
/* @__PURE__ */ e(
|
|
1261
|
+
/* @__PURE__ */ e(_i, { children: a })
|
|
1262
1262
|
] }),
|
|
1263
1263
|
/* @__PURE__ */ e(
|
|
1264
1264
|
ua,
|
|
@@ -1340,7 +1340,7 @@ function ie({
|
|
|
1340
1340
|
}
|
|
1341
1341
|
);
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1343
|
+
function Mi({
|
|
1344
1344
|
className: t,
|
|
1345
1345
|
...a
|
|
1346
1346
|
}) {
|
|
@@ -1369,7 +1369,7 @@ function Q({
|
|
|
1369
1369
|
}
|
|
1370
1370
|
);
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function Mc({
|
|
1373
1373
|
className: t,
|
|
1374
1374
|
...a
|
|
1375
1375
|
}) {
|
|
@@ -1390,7 +1390,7 @@ function Se({
|
|
|
1390
1390
|
}) {
|
|
1391
1391
|
return /* @__PURE__ */ e($.Root, { "data-slot": "dropdown-menu", ...t });
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Fi({
|
|
1394
1394
|
...t
|
|
1395
1395
|
}) {
|
|
1396
1396
|
return /* @__PURE__ */ e($.Portal, { "data-slot": "dropdown-menu-portal", ...t });
|
|
@@ -1449,7 +1449,7 @@ function pe({
|
|
|
1449
1449
|
}
|
|
1450
1450
|
);
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Fc({
|
|
1453
1453
|
className: t,
|
|
1454
1454
|
children: a,
|
|
1455
1455
|
checked: r,
|
|
@@ -1472,7 +1472,7 @@ function Mc({
|
|
|
1472
1472
|
}
|
|
1473
1473
|
);
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function Ec({
|
|
1476
1476
|
...t
|
|
1477
1477
|
}) {
|
|
1478
1478
|
return /* @__PURE__ */ e(
|
|
@@ -1483,7 +1483,7 @@ function Fc({
|
|
|
1483
1483
|
}
|
|
1484
1484
|
);
|
|
1485
1485
|
}
|
|
1486
|
-
function
|
|
1486
|
+
function Lc({
|
|
1487
1487
|
className: t,
|
|
1488
1488
|
children: a,
|
|
1489
1489
|
...r
|
|
@@ -1535,7 +1535,7 @@ function Mt({
|
|
|
1535
1535
|
}
|
|
1536
1536
|
);
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function Oc({
|
|
1539
1539
|
className: t,
|
|
1540
1540
|
...a
|
|
1541
1541
|
}) {
|
|
@@ -1551,12 +1551,12 @@ function Lc({
|
|
|
1551
1551
|
}
|
|
1552
1552
|
);
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function Ei({
|
|
1555
1555
|
...t
|
|
1556
1556
|
}) {
|
|
1557
1557
|
return /* @__PURE__ */ e($.Sub, { "data-slot": "dropdown-menu-sub", ...t });
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1559
|
+
function Li({
|
|
1560
1560
|
className: t,
|
|
1561
1561
|
inset: a,
|
|
1562
1562
|
children: r,
|
|
@@ -1579,7 +1579,7 @@ function Ei({
|
|
|
1579
1579
|
}
|
|
1580
1580
|
);
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function Oi({
|
|
1583
1583
|
className: t,
|
|
1584
1584
|
...a
|
|
1585
1585
|
}) {
|
|
@@ -1595,17 +1595,17 @@ function Li({
|
|
|
1595
1595
|
}
|
|
1596
1596
|
);
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function jc({
|
|
1599
1599
|
...t
|
|
1600
1600
|
}) {
|
|
1601
1601
|
return /* @__PURE__ */ e(kt.Root, { "data-slot": "hover-card", ...t });
|
|
1602
1602
|
}
|
|
1603
|
-
function
|
|
1603
|
+
function Uc({
|
|
1604
1604
|
...t
|
|
1605
1605
|
}) {
|
|
1606
1606
|
return /* @__PURE__ */ e(kt.Trigger, { "data-slot": "hover-card-trigger", ...t });
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Bc({
|
|
1609
1609
|
className: t,
|
|
1610
1610
|
align: a = "center",
|
|
1611
1611
|
sideOffset: r = 4,
|
|
@@ -1657,7 +1657,7 @@ function Me({
|
|
|
1657
1657
|
}
|
|
1658
1658
|
);
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1660
|
+
function $c({
|
|
1661
1661
|
className: t,
|
|
1662
1662
|
children: a,
|
|
1663
1663
|
viewport: r = !0,
|
|
@@ -1675,12 +1675,12 @@ function Bc({
|
|
|
1675
1675
|
...n,
|
|
1676
1676
|
children: [
|
|
1677
1677
|
a,
|
|
1678
|
-
r && /* @__PURE__ */ e(
|
|
1678
|
+
r && /* @__PURE__ */ e(Ui, {})
|
|
1679
1679
|
]
|
|
1680
1680
|
}
|
|
1681
1681
|
);
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function Vc({
|
|
1684
1684
|
className: t,
|
|
1685
1685
|
...a
|
|
1686
1686
|
}) {
|
|
@@ -1696,7 +1696,7 @@ function $c({
|
|
|
1696
1696
|
}
|
|
1697
1697
|
);
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function Gc({
|
|
1700
1700
|
className: t,
|
|
1701
1701
|
...a
|
|
1702
1702
|
}) {
|
|
@@ -1709,10 +1709,10 @@ function Vc({
|
|
|
1709
1709
|
}
|
|
1710
1710
|
);
|
|
1711
1711
|
}
|
|
1712
|
-
const
|
|
1712
|
+
const ji = Ye(
|
|
1713
1713
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
|
|
1714
1714
|
);
|
|
1715
|
-
function
|
|
1715
|
+
function Wc({
|
|
1716
1716
|
className: t,
|
|
1717
1717
|
children: a,
|
|
1718
1718
|
...r
|
|
@@ -1721,7 +1721,7 @@ function Gc({
|
|
|
1721
1721
|
Oe.Trigger,
|
|
1722
1722
|
{
|
|
1723
1723
|
"data-slot": "navigation-menu-trigger",
|
|
1724
|
-
className: d(
|
|
1724
|
+
className: d(ji(), "group", t),
|
|
1725
1725
|
...r,
|
|
1726
1726
|
children: [
|
|
1727
1727
|
a,
|
|
@@ -1737,7 +1737,7 @@ function Gc({
|
|
|
1737
1737
|
}
|
|
1738
1738
|
);
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1740
|
+
function Hc({
|
|
1741
1741
|
className: t,
|
|
1742
1742
|
...a
|
|
1743
1743
|
}) {
|
|
@@ -1754,7 +1754,7 @@ function Wc({
|
|
|
1754
1754
|
}
|
|
1755
1755
|
);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1757
|
+
function Ui({
|
|
1758
1758
|
className: t,
|
|
1759
1759
|
...a
|
|
1760
1760
|
}) {
|
|
@@ -1778,7 +1778,7 @@ function ji({
|
|
|
1778
1778
|
}
|
|
1779
1779
|
);
|
|
1780
1780
|
}
|
|
1781
|
-
function
|
|
1781
|
+
function Kc({
|
|
1782
1782
|
className: t,
|
|
1783
1783
|
...a
|
|
1784
1784
|
}) {
|
|
@@ -1794,7 +1794,7 @@ function Hc({
|
|
|
1794
1794
|
}
|
|
1795
1795
|
);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function qc({
|
|
1798
1798
|
className: t,
|
|
1799
1799
|
...a
|
|
1800
1800
|
}) {
|
|
@@ -1841,12 +1841,12 @@ function te({
|
|
|
1841
1841
|
}
|
|
1842
1842
|
) });
|
|
1843
1843
|
}
|
|
1844
|
-
function
|
|
1844
|
+
function Yc({
|
|
1845
1845
|
...t
|
|
1846
1846
|
}) {
|
|
1847
1847
|
return /* @__PURE__ */ e(mt.Anchor, { "data-slot": "popover-anchor", ...t });
|
|
1848
1848
|
}
|
|
1849
|
-
function
|
|
1849
|
+
function Jc({ className: t, ...a }) {
|
|
1850
1850
|
return /* @__PURE__ */ e(
|
|
1851
1851
|
"div",
|
|
1852
1852
|
{
|
|
@@ -1856,7 +1856,7 @@ function Yc({ className: t, ...a }) {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
);
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function Qc({ className: t, ...a }) {
|
|
1860
1860
|
return /* @__PURE__ */ e(
|
|
1861
1861
|
"div",
|
|
1862
1862
|
{
|
|
@@ -1866,7 +1866,7 @@ function Jc({ className: t, ...a }) {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
);
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function Xc({
|
|
1870
1870
|
className: t,
|
|
1871
1871
|
...a
|
|
1872
1872
|
}) {
|
|
@@ -1904,7 +1904,7 @@ function ga({
|
|
|
1904
1904
|
}
|
|
1905
1905
|
);
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1907
|
+
function Zc({
|
|
1908
1908
|
className: t,
|
|
1909
1909
|
...a
|
|
1910
1910
|
}) {
|
|
@@ -1917,7 +1917,7 @@ function Xc({
|
|
|
1917
1917
|
}
|
|
1918
1918
|
);
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1920
|
+
function eu({
|
|
1921
1921
|
className: t,
|
|
1922
1922
|
...a
|
|
1923
1923
|
}) {
|
|
@@ -1941,7 +1941,7 @@ function Zc({
|
|
|
1941
1941
|
}
|
|
1942
1942
|
);
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1944
|
+
function tu({
|
|
1945
1945
|
className: t,
|
|
1946
1946
|
children: a,
|
|
1947
1947
|
...r
|
|
@@ -1961,13 +1961,13 @@ function eu({
|
|
|
1961
1961
|
children: a
|
|
1962
1962
|
}
|
|
1963
1963
|
),
|
|
1964
|
-
/* @__PURE__ */ e(
|
|
1964
|
+
/* @__PURE__ */ e(Bi, {}),
|
|
1965
1965
|
/* @__PURE__ */ e(lt.Corner, {})
|
|
1966
1966
|
]
|
|
1967
1967
|
}
|
|
1968
1968
|
);
|
|
1969
1969
|
}
|
|
1970
|
-
function
|
|
1970
|
+
function Bi({
|
|
1971
1971
|
className: t,
|
|
1972
1972
|
orientation: a = "vertical",
|
|
1973
1973
|
...r
|
|
@@ -1994,22 +1994,22 @@ function Ui({
|
|
|
1994
1994
|
}
|
|
1995
1995
|
);
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function $i({
|
|
1998
1998
|
...t
|
|
1999
1999
|
}) {
|
|
2000
2000
|
return /* @__PURE__ */ e(G.Root, { "data-slot": "select", ...t });
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function au({
|
|
2003
2003
|
...t
|
|
2004
2004
|
}) {
|
|
2005
2005
|
return /* @__PURE__ */ e(G.Group, { "data-slot": "select-group", ...t });
|
|
2006
2006
|
}
|
|
2007
|
-
function
|
|
2007
|
+
function Vi({
|
|
2008
2008
|
...t
|
|
2009
2009
|
}) {
|
|
2010
2010
|
return /* @__PURE__ */ e(G.Value, { "data-slot": "select-value", ...t });
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function Gi({
|
|
2013
2013
|
className: t,
|
|
2014
2014
|
size: a = "default",
|
|
2015
2015
|
children: r,
|
|
@@ -2032,7 +2032,7 @@ function Vi({
|
|
|
2032
2032
|
}
|
|
2033
2033
|
);
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function Wi({
|
|
2036
2036
|
className: t,
|
|
2037
2037
|
children: a,
|
|
2038
2038
|
position: r = "item-aligned",
|
|
@@ -2052,7 +2052,7 @@ function Gi({
|
|
|
2052
2052
|
align: n,
|
|
2053
2053
|
...o,
|
|
2054
2054
|
children: [
|
|
2055
|
-
/* @__PURE__ */ e(
|
|
2055
|
+
/* @__PURE__ */ e(Ki, {}),
|
|
2056
2056
|
/* @__PURE__ */ e(
|
|
2057
2057
|
G.Viewport,
|
|
2058
2058
|
{
|
|
@@ -2063,12 +2063,12 @@ function Gi({
|
|
|
2063
2063
|
children: a
|
|
2064
2064
|
}
|
|
2065
2065
|
),
|
|
2066
|
-
/* @__PURE__ */ e(
|
|
2066
|
+
/* @__PURE__ */ e(qi, {})
|
|
2067
2067
|
]
|
|
2068
2068
|
}
|
|
2069
2069
|
) });
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function ru({
|
|
2072
2072
|
className: t,
|
|
2073
2073
|
...a
|
|
2074
2074
|
}) {
|
|
@@ -2081,7 +2081,7 @@ function au({
|
|
|
2081
2081
|
}
|
|
2082
2082
|
);
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2084
|
+
function Hi({
|
|
2085
2085
|
className: t,
|
|
2086
2086
|
children: a,
|
|
2087
2087
|
...r
|
|
@@ -2109,7 +2109,7 @@ function Wi({
|
|
|
2109
2109
|
}
|
|
2110
2110
|
);
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function nu({
|
|
2113
2113
|
className: t,
|
|
2114
2114
|
...a
|
|
2115
2115
|
}) {
|
|
@@ -2122,7 +2122,7 @@ function ru({
|
|
|
2122
2122
|
}
|
|
2123
2123
|
);
|
|
2124
2124
|
}
|
|
2125
|
-
function
|
|
2125
|
+
function Ki({
|
|
2126
2126
|
className: t,
|
|
2127
2127
|
...a
|
|
2128
2128
|
}) {
|
|
@@ -2139,7 +2139,7 @@ function Hi({
|
|
|
2139
2139
|
}
|
|
2140
2140
|
);
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2142
|
+
function qi({
|
|
2143
2143
|
className: t,
|
|
2144
2144
|
...a
|
|
2145
2145
|
}) {
|
|
@@ -2179,22 +2179,22 @@ function pa({
|
|
|
2179
2179
|
function Tr({ ...t }) {
|
|
2180
2180
|
return /* @__PURE__ */ e(U.Root, { "data-slot": "sheet", ...t });
|
|
2181
2181
|
}
|
|
2182
|
-
function
|
|
2182
|
+
function Yi({
|
|
2183
2183
|
...t
|
|
2184
2184
|
}) {
|
|
2185
2185
|
return /* @__PURE__ */ e(U.Trigger, { "data-slot": "sheet-trigger", ...t });
|
|
2186
2186
|
}
|
|
2187
|
-
function
|
|
2187
|
+
function ou({
|
|
2188
2188
|
...t
|
|
2189
2189
|
}) {
|
|
2190
2190
|
return /* @__PURE__ */ e(U.Close, { "data-slot": "sheet-close", ...t });
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2192
|
+
function Ji({
|
|
2193
2193
|
...t
|
|
2194
2194
|
}) {
|
|
2195
2195
|
return /* @__PURE__ */ e(U.Portal, { "data-slot": "sheet-portal", ...t });
|
|
2196
2196
|
}
|
|
2197
|
-
function
|
|
2197
|
+
function Qi({
|
|
2198
2198
|
className: t,
|
|
2199
2199
|
...a
|
|
2200
2200
|
}) {
|
|
@@ -2217,8 +2217,8 @@ function Pr({
|
|
|
2217
2217
|
showCloseButton: n = !0,
|
|
2218
2218
|
...o
|
|
2219
2219
|
}) {
|
|
2220
|
-
return /* @__PURE__ */ i(
|
|
2221
|
-
/* @__PURE__ */ e(
|
|
2220
|
+
return /* @__PURE__ */ i(Ji, { children: [
|
|
2221
|
+
/* @__PURE__ */ e(Qi, {}),
|
|
2222
2222
|
/* @__PURE__ */ i(
|
|
2223
2223
|
U.Content,
|
|
2224
2224
|
{
|
|
@@ -2243,7 +2243,7 @@ function Pr({
|
|
|
2243
2243
|
)
|
|
2244
2244
|
] });
|
|
2245
2245
|
}
|
|
2246
|
-
function
|
|
2246
|
+
function Xi({ className: t, ...a }) {
|
|
2247
2247
|
return /* @__PURE__ */ e(
|
|
2248
2248
|
"div",
|
|
2249
2249
|
{
|
|
@@ -2253,7 +2253,7 @@ function Qi({ className: t, ...a }) {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
);
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function iu({ className: t, ...a }) {
|
|
2257
2257
|
return /* @__PURE__ */ e(
|
|
2258
2258
|
"div",
|
|
2259
2259
|
{
|
|
@@ -2276,7 +2276,7 @@ function _r({
|
|
|
2276
2276
|
}
|
|
2277
2277
|
);
|
|
2278
2278
|
}
|
|
2279
|
-
function
|
|
2279
|
+
function Zi({
|
|
2280
2280
|
className: t,
|
|
2281
2281
|
...a
|
|
2282
2282
|
}) {
|
|
@@ -2355,14 +2355,14 @@ function de({
|
|
|
2355
2355
|
}
|
|
2356
2356
|
) });
|
|
2357
2357
|
}
|
|
2358
|
-
const
|
|
2358
|
+
const es = "sidebar_state", ts = 3600 * 24 * 7, as = "16rem", rs = "18rem", ns = "3rem", os = "b", Mr = A.createContext(null);
|
|
2359
2359
|
function Ft() {
|
|
2360
2360
|
const t = A.useContext(Mr);
|
|
2361
2361
|
if (!t)
|
|
2362
2362
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
2363
2363
|
return t;
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2365
|
+
function is({
|
|
2366
2366
|
defaultOpen: t = !0,
|
|
2367
2367
|
open: a,
|
|
2368
2368
|
onOpenChange: r,
|
|
@@ -2374,13 +2374,13 @@ function os({
|
|
|
2374
2374
|
const c = ha(), [m, u] = A.useState(!1), [f, g] = A.useState(t), w = a ?? f, N = A.useCallback(
|
|
2375
2375
|
(k) => {
|
|
2376
2376
|
const p = typeof k == "function" ? k(w) : k;
|
|
2377
|
-
r ? r(p) : g(p), document.cookie = `${
|
|
2377
|
+
r ? r(p) : g(p), document.cookie = `${es}=${p}; path=/; max-age=${ts}`;
|
|
2378
2378
|
},
|
|
2379
2379
|
[r, w]
|
|
2380
2380
|
), v = A.useCallback(() => c ? u((k) => !k) : N((k) => !k), [c, N, u]);
|
|
2381
2381
|
A.useEffect(() => {
|
|
2382
2382
|
const k = (p) => {
|
|
2383
|
-
p.key ===
|
|
2383
|
+
p.key === os && (p.metaKey || p.ctrlKey) && (p.preventDefault(), v());
|
|
2384
2384
|
};
|
|
2385
2385
|
return window.addEventListener("keydown", k), () => window.removeEventListener("keydown", k);
|
|
2386
2386
|
}, [v]);
|
|
@@ -2401,8 +2401,8 @@ function os({
|
|
|
2401
2401
|
{
|
|
2402
2402
|
"data-slot": "sidebar-wrapper",
|
|
2403
2403
|
style: {
|
|
2404
|
-
"--sidebar-width":
|
|
2405
|
-
"--sidebar-width-icon":
|
|
2404
|
+
"--sidebar-width": as,
|
|
2405
|
+
"--sidebar-width-icon": ns,
|
|
2406
2406
|
...o
|
|
2407
2407
|
},
|
|
2408
2408
|
className: d(
|
|
@@ -2414,7 +2414,7 @@ function os({
|
|
|
2414
2414
|
}
|
|
2415
2415
|
) }) });
|
|
2416
2416
|
}
|
|
2417
|
-
function
|
|
2417
|
+
function ss({
|
|
2418
2418
|
side: t = "left",
|
|
2419
2419
|
variant: a = "sidebar",
|
|
2420
2420
|
collapsible: r = "offcanvas",
|
|
@@ -2442,13 +2442,13 @@ function is({
|
|
|
2442
2442
|
"data-mobile": "true",
|
|
2443
2443
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
2444
2444
|
style: {
|
|
2445
|
-
"--sidebar-width":
|
|
2445
|
+
"--sidebar-width": rs
|
|
2446
2446
|
},
|
|
2447
2447
|
side: t,
|
|
2448
2448
|
children: [
|
|
2449
|
-
/* @__PURE__ */ i(
|
|
2449
|
+
/* @__PURE__ */ i(Xi, { className: "sr-only", children: [
|
|
2450
2450
|
/* @__PURE__ */ e(_r, { children: "Sidebar" }),
|
|
2451
|
-
/* @__PURE__ */ e(
|
|
2451
|
+
/* @__PURE__ */ e(Zi, { children: "Displays the mobile sidebar." })
|
|
2452
2452
|
] }),
|
|
2453
2453
|
/* @__PURE__ */ e("div", { className: "flex h-full w-full flex-col", children: o })
|
|
2454
2454
|
]
|
|
@@ -2502,7 +2502,7 @@ function is({
|
|
|
2502
2502
|
}
|
|
2503
2503
|
);
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2505
|
+
function ls({
|
|
2506
2506
|
className: t,
|
|
2507
2507
|
onClick: a,
|
|
2508
2508
|
...r
|
|
@@ -2527,7 +2527,7 @@ function ss({
|
|
|
2527
2527
|
}
|
|
2528
2528
|
);
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2530
|
+
function ds({ className: t, ...a }) {
|
|
2531
2531
|
const { toggleSidebar: r } = Ft();
|
|
2532
2532
|
return /* @__PURE__ */ e(
|
|
2533
2533
|
"button",
|
|
@@ -2551,7 +2551,7 @@ function ls({ className: t, ...a }) {
|
|
|
2551
2551
|
}
|
|
2552
2552
|
);
|
|
2553
2553
|
}
|
|
2554
|
-
function
|
|
2554
|
+
function cs({ className: t, ...a }) {
|
|
2555
2555
|
return /* @__PURE__ */ e(
|
|
2556
2556
|
"main",
|
|
2557
2557
|
{
|
|
@@ -2565,7 +2565,7 @@ function ds({ className: t, ...a }) {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
);
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function su({
|
|
2569
2569
|
className: t,
|
|
2570
2570
|
...a
|
|
2571
2571
|
}) {
|
|
@@ -2579,7 +2579,7 @@ function iu({
|
|
|
2579
2579
|
}
|
|
2580
2580
|
);
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function us({ className: t, ...a }) {
|
|
2583
2583
|
return /* @__PURE__ */ e(
|
|
2584
2584
|
"div",
|
|
2585
2585
|
{
|
|
@@ -2590,7 +2590,7 @@ function cs({ className: t, ...a }) {
|
|
|
2590
2590
|
}
|
|
2591
2591
|
);
|
|
2592
2592
|
}
|
|
2593
|
-
function
|
|
2593
|
+
function ms({ className: t, ...a }) {
|
|
2594
2594
|
return /* @__PURE__ */ e(
|
|
2595
2595
|
"div",
|
|
2596
2596
|
{
|
|
@@ -2601,7 +2601,7 @@ function us({ className: t, ...a }) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
);
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2604
|
+
function lu({
|
|
2605
2605
|
className: t,
|
|
2606
2606
|
...a
|
|
2607
2607
|
}) {
|
|
@@ -2615,7 +2615,7 @@ function su({
|
|
|
2615
2615
|
}
|
|
2616
2616
|
);
|
|
2617
2617
|
}
|
|
2618
|
-
function
|
|
2618
|
+
function fs({ className: t, ...a }) {
|
|
2619
2619
|
return /* @__PURE__ */ e(
|
|
2620
2620
|
"div",
|
|
2621
2621
|
{
|
|
@@ -2629,7 +2629,7 @@ function ms({ className: t, ...a }) {
|
|
|
2629
2629
|
}
|
|
2630
2630
|
);
|
|
2631
2631
|
}
|
|
2632
|
-
function
|
|
2632
|
+
function gs({ className: t, ...a }) {
|
|
2633
2633
|
return /* @__PURE__ */ e(
|
|
2634
2634
|
"div",
|
|
2635
2635
|
{
|
|
@@ -2640,7 +2640,7 @@ function fs({ className: t, ...a }) {
|
|
|
2640
2640
|
}
|
|
2641
2641
|
);
|
|
2642
2642
|
}
|
|
2643
|
-
function
|
|
2643
|
+
function du({
|
|
2644
2644
|
className: t,
|
|
2645
2645
|
asChild: a = !1,
|
|
2646
2646
|
...r
|
|
@@ -2660,7 +2660,7 @@ function lu({
|
|
|
2660
2660
|
}
|
|
2661
2661
|
);
|
|
2662
2662
|
}
|
|
2663
|
-
function
|
|
2663
|
+
function cu({
|
|
2664
2664
|
className: t,
|
|
2665
2665
|
asChild: a = !1,
|
|
2666
2666
|
...r
|
|
@@ -2682,7 +2682,7 @@ function du({
|
|
|
2682
2682
|
}
|
|
2683
2683
|
);
|
|
2684
2684
|
}
|
|
2685
|
-
function
|
|
2685
|
+
function uu({
|
|
2686
2686
|
className: t,
|
|
2687
2687
|
...a
|
|
2688
2688
|
}) {
|
|
@@ -2696,7 +2696,7 @@ function cu({
|
|
|
2696
2696
|
}
|
|
2697
2697
|
);
|
|
2698
2698
|
}
|
|
2699
|
-
function
|
|
2699
|
+
function ps({ className: t, ...a }) {
|
|
2700
2700
|
return /* @__PURE__ */ e(
|
|
2701
2701
|
"ul",
|
|
2702
2702
|
{
|
|
@@ -2718,7 +2718,7 @@ function Ra({ className: t, ...a }) {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
);
|
|
2720
2720
|
}
|
|
2721
|
-
const
|
|
2721
|
+
const hs = Ye(
|
|
2722
2722
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
2723
2723
|
{
|
|
2724
2724
|
variants: {
|
|
@@ -2754,7 +2754,7 @@ function Da({
|
|
|
2754
2754
|
"data-sidebar": "menu-button",
|
|
2755
2755
|
"data-size": n,
|
|
2756
2756
|
"data-active": a,
|
|
2757
|
-
className: d(
|
|
2757
|
+
className: d(hs({ variant: r, size: n }), s),
|
|
2758
2758
|
...l
|
|
2759
2759
|
}
|
|
2760
2760
|
);
|
|
@@ -2773,7 +2773,7 @@ function Da({
|
|
|
2773
2773
|
)
|
|
2774
2774
|
] })) : f;
|
|
2775
2775
|
}
|
|
2776
|
-
function
|
|
2776
|
+
function mu({
|
|
2777
2777
|
className: t,
|
|
2778
2778
|
asChild: a = !1,
|
|
2779
2779
|
showOnHover: r = !1,
|
|
@@ -2800,7 +2800,7 @@ function uu({
|
|
|
2800
2800
|
}
|
|
2801
2801
|
);
|
|
2802
2802
|
}
|
|
2803
|
-
function
|
|
2803
|
+
function fu({
|
|
2804
2804
|
className: t,
|
|
2805
2805
|
...a
|
|
2806
2806
|
}) {
|
|
@@ -2822,7 +2822,7 @@ function mu({
|
|
|
2822
2822
|
}
|
|
2823
2823
|
);
|
|
2824
2824
|
}
|
|
2825
|
-
function
|
|
2825
|
+
function gu({
|
|
2826
2826
|
className: t,
|
|
2827
2827
|
showIcon: a = !1,
|
|
2828
2828
|
...r
|
|
@@ -2857,7 +2857,7 @@ function fu({
|
|
|
2857
2857
|
}
|
|
2858
2858
|
);
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function bs({ className: t, ...a }) {
|
|
2861
2861
|
return /* @__PURE__ */ e(
|
|
2862
2862
|
"ul",
|
|
2863
2863
|
{
|
|
@@ -2872,7 +2872,7 @@ function hs({ className: t, ...a }) {
|
|
|
2872
2872
|
}
|
|
2873
2873
|
);
|
|
2874
2874
|
}
|
|
2875
|
-
function
|
|
2875
|
+
function vs({
|
|
2876
2876
|
className: t,
|
|
2877
2877
|
...a
|
|
2878
2878
|
}) {
|
|
@@ -2886,7 +2886,7 @@ function bs({
|
|
|
2886
2886
|
}
|
|
2887
2887
|
);
|
|
2888
2888
|
}
|
|
2889
|
-
function
|
|
2889
|
+
function xs({
|
|
2890
2890
|
asChild: t = !1,
|
|
2891
2891
|
size: a = "md",
|
|
2892
2892
|
isActive: r = !1,
|
|
@@ -2913,7 +2913,7 @@ function vs({
|
|
|
2913
2913
|
}
|
|
2914
2914
|
);
|
|
2915
2915
|
}
|
|
2916
|
-
function
|
|
2916
|
+
function pu({
|
|
2917
2917
|
className: t,
|
|
2918
2918
|
defaultValue: a,
|
|
2919
2919
|
value: r,
|
|
@@ -2969,7 +2969,7 @@ function gu({
|
|
|
2969
2969
|
}
|
|
2970
2970
|
);
|
|
2971
2971
|
}
|
|
2972
|
-
const Fr = A.createContext(void 0),
|
|
2972
|
+
const Fr = A.createContext(void 0), ws = ({ children: t }) => {
|
|
2973
2973
|
const a = () => typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", [r, n] = A.useState(() => typeof window > "u" ? "system" : localStorage.getItem("theme") || "system"), [o, s] = A.useState(() => r === "system" ? a() : r), l = A.useCallback(
|
|
2974
2974
|
(m) => {
|
|
2975
2975
|
const u = document.documentElement;
|
|
@@ -2998,7 +2998,7 @@ const Fr = A.createContext(void 0), xs = ({ children: t }) => {
|
|
|
2998
2998
|
if (!t)
|
|
2999
2999
|
throw new Error("useTheme must be used within ThemeProvider");
|
|
3000
3000
|
return t;
|
|
3001
|
-
},
|
|
3001
|
+
}, hu = ({ ...t }) => {
|
|
3002
3002
|
const { theme: a = "system" } = Er();
|
|
3003
3003
|
return /* @__PURE__ */ e(
|
|
3004
3004
|
ro,
|
|
@@ -3022,7 +3022,7 @@ const Fr = A.createContext(void 0), xs = ({ children: t }) => {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
);
|
|
3024
3024
|
};
|
|
3025
|
-
function
|
|
3025
|
+
function bu({
|
|
3026
3026
|
className: t,
|
|
3027
3027
|
size: a = "default",
|
|
3028
3028
|
...r
|
|
@@ -3049,7 +3049,7 @@ function hu({
|
|
|
3049
3049
|
}
|
|
3050
3050
|
);
|
|
3051
3051
|
}
|
|
3052
|
-
function
|
|
3052
|
+
function Ns({ className: t, ...a }) {
|
|
3053
3053
|
return /* @__PURE__ */ e(
|
|
3054
3054
|
"div",
|
|
3055
3055
|
{
|
|
@@ -3066,7 +3066,7 @@ function ws({ className: t, ...a }) {
|
|
|
3066
3066
|
}
|
|
3067
3067
|
);
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3069
|
+
function ys({ className: t, ...a }) {
|
|
3070
3070
|
return /* @__PURE__ */ e(
|
|
3071
3071
|
"thead",
|
|
3072
3072
|
{
|
|
@@ -3076,7 +3076,7 @@ function Ns({ className: t, ...a }) {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
);
|
|
3078
3078
|
}
|
|
3079
|
-
function
|
|
3079
|
+
function Cs({ className: t, ...a }) {
|
|
3080
3080
|
return /* @__PURE__ */ e(
|
|
3081
3081
|
"tbody",
|
|
3082
3082
|
{
|
|
@@ -3086,7 +3086,7 @@ function ys({ className: t, ...a }) {
|
|
|
3086
3086
|
}
|
|
3087
3087
|
);
|
|
3088
3088
|
}
|
|
3089
|
-
function
|
|
3089
|
+
function ks({ className: t, ...a }) {
|
|
3090
3090
|
return /* @__PURE__ */ e(
|
|
3091
3091
|
"tfoot",
|
|
3092
3092
|
{
|
|
@@ -3138,7 +3138,7 @@ function wt({ className: t, ...a }) {
|
|
|
3138
3138
|
}
|
|
3139
3139
|
);
|
|
3140
3140
|
}
|
|
3141
|
-
function
|
|
3141
|
+
function vu({
|
|
3142
3142
|
className: t,
|
|
3143
3143
|
...a
|
|
3144
3144
|
}) {
|
|
@@ -3151,7 +3151,7 @@ function bu({
|
|
|
3151
3151
|
}
|
|
3152
3152
|
);
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3154
|
+
function Is({
|
|
3155
3155
|
className: t,
|
|
3156
3156
|
orientation: a = "horizontal",
|
|
3157
3157
|
...r
|
|
@@ -3170,7 +3170,7 @@ function ks({
|
|
|
3170
3170
|
}
|
|
3171
3171
|
);
|
|
3172
3172
|
}
|
|
3173
|
-
const
|
|
3173
|
+
const Ss = Ye(
|
|
3174
3174
|
"rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-9 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",
|
|
3175
3175
|
{
|
|
3176
3176
|
variants: {
|
|
@@ -3184,7 +3184,7 @@ const Is = Ye(
|
|
|
3184
3184
|
}
|
|
3185
3185
|
}
|
|
3186
3186
|
);
|
|
3187
|
-
function
|
|
3187
|
+
function As({
|
|
3188
3188
|
className: t,
|
|
3189
3189
|
variant: a = "default",
|
|
3190
3190
|
...r
|
|
@@ -3194,12 +3194,12 @@ function Ss({
|
|
|
3194
3194
|
{
|
|
3195
3195
|
"data-slot": "tabs-list",
|
|
3196
3196
|
"data-variant": a,
|
|
3197
|
-
className: d(
|
|
3197
|
+
className: d(Ss({ variant: a }), t),
|
|
3198
3198
|
...r
|
|
3199
3199
|
}
|
|
3200
3200
|
);
|
|
3201
3201
|
}
|
|
3202
|
-
function
|
|
3202
|
+
function zs({
|
|
3203
3203
|
className: t,
|
|
3204
3204
|
...a
|
|
3205
3205
|
}) {
|
|
@@ -3231,7 +3231,7 @@ function Pa({
|
|
|
3231
3231
|
}
|
|
3232
3232
|
);
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function Rs({ className: t, ...a }) {
|
|
3235
3235
|
return /* @__PURE__ */ e(
|
|
3236
3236
|
"textarea",
|
|
3237
3237
|
{
|
|
@@ -3249,10 +3249,10 @@ function _a({
|
|
|
3249
3249
|
}) {
|
|
3250
3250
|
return /* @__PURE__ */ e(Jn.Root, { "data-slot": "aspect-ratio", ...t });
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3252
|
+
function Ds({ ...t }) {
|
|
3253
3253
|
return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...t });
|
|
3254
3254
|
}
|
|
3255
|
-
function
|
|
3255
|
+
function Ts({ className: t, ...a }) {
|
|
3256
3256
|
return /* @__PURE__ */ e(
|
|
3257
3257
|
"ol",
|
|
3258
3258
|
{
|
|
@@ -3339,12 +3339,12 @@ function Fa({
|
|
|
3339
3339
|
}
|
|
3340
3340
|
);
|
|
3341
3341
|
}
|
|
3342
|
-
function
|
|
3342
|
+
function Ps({
|
|
3343
3343
|
...t
|
|
3344
3344
|
}) {
|
|
3345
|
-
return /* @__PURE__ */ e(
|
|
3345
|
+
return /* @__PURE__ */ e(ui, { "data-slot": "collapsible", ...t });
|
|
3346
3346
|
}
|
|
3347
|
-
function
|
|
3347
|
+
function _s({
|
|
3348
3348
|
...t
|
|
3349
3349
|
}) {
|
|
3350
3350
|
return /* @__PURE__ */ e(
|
|
@@ -3355,7 +3355,7 @@ function Ps({
|
|
|
3355
3355
|
}
|
|
3356
3356
|
);
|
|
3357
3357
|
}
|
|
3358
|
-
function
|
|
3358
|
+
function Ms({
|
|
3359
3359
|
...t
|
|
3360
3360
|
}) {
|
|
3361
3361
|
return /* @__PURE__ */ e(
|
|
@@ -3366,27 +3366,27 @@ function _s({
|
|
|
3366
3366
|
}
|
|
3367
3367
|
);
|
|
3368
3368
|
}
|
|
3369
|
-
function
|
|
3369
|
+
function Fs({
|
|
3370
3370
|
...t
|
|
3371
3371
|
}) {
|
|
3372
3372
|
return /* @__PURE__ */ e(Be.Root, { "data-slot": "drawer", ...t });
|
|
3373
3373
|
}
|
|
3374
|
-
function
|
|
3374
|
+
function Es({
|
|
3375
3375
|
...t
|
|
3376
3376
|
}) {
|
|
3377
3377
|
return /* @__PURE__ */ e(Be.Trigger, { "data-slot": "drawer-trigger", ...t });
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function Ls({
|
|
3380
3380
|
...t
|
|
3381
3381
|
}) {
|
|
3382
3382
|
return /* @__PURE__ */ e(Be.Portal, { "data-slot": "drawer-portal", ...t });
|
|
3383
3383
|
}
|
|
3384
|
-
function
|
|
3384
|
+
function Os({
|
|
3385
3385
|
...t
|
|
3386
3386
|
}) {
|
|
3387
3387
|
return /* @__PURE__ */ e(Be.Close, { "data-slot": "drawer-close", ...t });
|
|
3388
3388
|
}
|
|
3389
|
-
function
|
|
3389
|
+
function js({
|
|
3390
3390
|
className: t,
|
|
3391
3391
|
...a
|
|
3392
3392
|
}) {
|
|
@@ -3402,13 +3402,13 @@ function Os({
|
|
|
3402
3402
|
}
|
|
3403
3403
|
);
|
|
3404
3404
|
}
|
|
3405
|
-
function
|
|
3405
|
+
function Us({
|
|
3406
3406
|
className: t,
|
|
3407
3407
|
children: a,
|
|
3408
3408
|
...r
|
|
3409
3409
|
}) {
|
|
3410
|
-
return /* @__PURE__ */ i(
|
|
3411
|
-
/* @__PURE__ */ e(
|
|
3410
|
+
return /* @__PURE__ */ i(Ls, { "data-slot": "drawer-portal", children: [
|
|
3411
|
+
/* @__PURE__ */ e(js, {}),
|
|
3412
3412
|
/* @__PURE__ */ i(
|
|
3413
3413
|
Be.Content,
|
|
3414
3414
|
{
|
|
@@ -3430,7 +3430,7 @@ function js({
|
|
|
3430
3430
|
)
|
|
3431
3431
|
] });
|
|
3432
3432
|
}
|
|
3433
|
-
function
|
|
3433
|
+
function Bs({ className: t, ...a }) {
|
|
3434
3434
|
return /* @__PURE__ */ e(
|
|
3435
3435
|
"div",
|
|
3436
3436
|
{
|
|
@@ -3443,7 +3443,7 @@ function Us({ className: t, ...a }) {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
);
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function $s({ className: t, ...a }) {
|
|
3447
3447
|
return /* @__PURE__ */ e(
|
|
3448
3448
|
"div",
|
|
3449
3449
|
{
|
|
@@ -3453,7 +3453,7 @@ function Bs({ className: t, ...a }) {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
);
|
|
3455
3455
|
}
|
|
3456
|
-
function
|
|
3456
|
+
function Vs({
|
|
3457
3457
|
className: t,
|
|
3458
3458
|
...a
|
|
3459
3459
|
}) {
|
|
@@ -3466,7 +3466,7 @@ function $s({
|
|
|
3466
3466
|
}
|
|
3467
3467
|
);
|
|
3468
3468
|
}
|
|
3469
|
-
function
|
|
3469
|
+
function Gs({
|
|
3470
3470
|
className: t,
|
|
3471
3471
|
...a
|
|
3472
3472
|
}) {
|
|
@@ -3479,7 +3479,7 @@ function Vs({
|
|
|
3479
3479
|
}
|
|
3480
3480
|
);
|
|
3481
3481
|
}
|
|
3482
|
-
const
|
|
3482
|
+
const Ws = oo, Lr = A.createContext(
|
|
3483
3483
|
{}
|
|
3484
3484
|
), he = ({
|
|
3485
3485
|
...t
|
|
@@ -3564,7 +3564,7 @@ function xe({ className: t, ...a }) {
|
|
|
3564
3564
|
}
|
|
3565
3565
|
) : null;
|
|
3566
3566
|
}
|
|
3567
|
-
function
|
|
3567
|
+
function Hs({
|
|
3568
3568
|
className: t,
|
|
3569
3569
|
containerClassName: a,
|
|
3570
3570
|
...r
|
|
@@ -3582,7 +3582,7 @@ function Ws({
|
|
|
3582
3582
|
}
|
|
3583
3583
|
);
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3585
|
+
function Ks({ className: t, ...a }) {
|
|
3586
3586
|
return /* @__PURE__ */ e(
|
|
3587
3587
|
"div",
|
|
3588
3588
|
{
|
|
@@ -3615,7 +3615,7 @@ function yt({
|
|
|
3615
3615
|
}
|
|
3616
3616
|
);
|
|
3617
3617
|
}
|
|
3618
|
-
function
|
|
3618
|
+
function xu({ ...t }) {
|
|
3619
3619
|
return /* @__PURE__ */ e("div", { "data-slot": "input-otp-separator", role: "separator", ...t, children: /* @__PURE__ */ e(mn, {}) });
|
|
3620
3620
|
}
|
|
3621
3621
|
const jr = Ye(
|
|
@@ -3638,7 +3638,7 @@ const jr = Ye(
|
|
|
3638
3638
|
}
|
|
3639
3639
|
}
|
|
3640
3640
|
);
|
|
3641
|
-
function
|
|
3641
|
+
function wu({
|
|
3642
3642
|
className: t,
|
|
3643
3643
|
variant: a,
|
|
3644
3644
|
size: r,
|
|
@@ -3727,7 +3727,7 @@ function Lt({
|
|
|
3727
3727
|
}) {
|
|
3728
3728
|
return /* @__PURE__ */ e(T, { variant: a, size: n, ...o, asChild: r, children: t });
|
|
3729
3729
|
}
|
|
3730
|
-
function
|
|
3730
|
+
function Nu({
|
|
3731
3731
|
children: t,
|
|
3732
3732
|
variant: a,
|
|
3733
3733
|
asChild: r = !1,
|
|
@@ -3755,7 +3755,7 @@ function Ot({
|
|
|
3755
3755
|
}
|
|
3756
3756
|
);
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3758
|
+
function qs({
|
|
3759
3759
|
children: t,
|
|
3760
3760
|
variant: a,
|
|
3761
3761
|
size: r,
|
|
@@ -3774,7 +3774,7 @@ function Ks({
|
|
|
3774
3774
|
}
|
|
3775
3775
|
) });
|
|
3776
3776
|
}
|
|
3777
|
-
function
|
|
3777
|
+
function Ys({
|
|
3778
3778
|
children: t,
|
|
3779
3779
|
variant: a,
|
|
3780
3780
|
size: r,
|
|
@@ -3800,7 +3800,7 @@ function $e({
|
|
|
3800
3800
|
size: o,
|
|
3801
3801
|
...s
|
|
3802
3802
|
}) {
|
|
3803
|
-
return /* @__PURE__ */ e(We, { tooltipContent: a, children: /* @__PURE__ */ e(
|
|
3803
|
+
return /* @__PURE__ */ e(We, { tooltipContent: a, children: /* @__PURE__ */ e(Ys, { variant: n, size: o, ...s, asChild: r, children: t }) });
|
|
3804
3804
|
}
|
|
3805
3805
|
function Ea({
|
|
3806
3806
|
actionMenus: t,
|
|
@@ -3814,9 +3814,9 @@ function Ea({
|
|
|
3814
3814
|
if (o.type === "group" && o.items)
|
|
3815
3815
|
return /* @__PURE__ */ e(Dr, { children: r(o.items) }, s);
|
|
3816
3816
|
if (o.items)
|
|
3817
|
-
return /* @__PURE__ */ i(
|
|
3818
|
-
/* @__PURE__ */ e(
|
|
3819
|
-
/* @__PURE__ */ e(
|
|
3817
|
+
return /* @__PURE__ */ i(Ei, { children: [
|
|
3818
|
+
/* @__PURE__ */ e(Li, { children: String(o.label) }),
|
|
3819
|
+
/* @__PURE__ */ e(Fi, { children: /* @__PURE__ */ e(Oi, { children: r(o.items) }) })
|
|
3820
3820
|
] }, s);
|
|
3821
3821
|
let l = "";
|
|
3822
3822
|
return typeof o.label == "function" ? l = o.label(...a?.arguments || []) : l = o.label, /* @__PURE__ */ i(
|
|
@@ -3848,7 +3848,7 @@ function Ea({
|
|
|
3848
3848
|
/* @__PURE__ */ e(ze, { className: "w-56", align: "end", children: r(t) })
|
|
3849
3849
|
] });
|
|
3850
3850
|
}
|
|
3851
|
-
const
|
|
3851
|
+
const Js = ({
|
|
3852
3852
|
title: t,
|
|
3853
3853
|
description: a,
|
|
3854
3854
|
fontSize: r = "text-base",
|
|
@@ -3864,14 +3864,14 @@ const Ys = ({
|
|
|
3864
3864
|
// Optional callback for confirm action
|
|
3865
3865
|
onThird: m
|
|
3866
3866
|
// Optional callback for third action
|
|
3867
|
-
}) => /* @__PURE__ */ e(
|
|
3868
|
-
/* @__PURE__ */ i(pi, { children: [
|
|
3869
|
-
/* @__PURE__ */ e(bi, { className: r, children: t }),
|
|
3870
|
-
/* @__PURE__ */ e(vi, { className: r, children: a })
|
|
3871
|
-
] }),
|
|
3867
|
+
}) => /* @__PURE__ */ e(mi, { open: !0, children: /* @__PURE__ */ i(pi, { children: [
|
|
3872
3868
|
/* @__PURE__ */ i(hi, { children: [
|
|
3869
|
+
/* @__PURE__ */ e(vi, { className: r, children: t }),
|
|
3870
|
+
/* @__PURE__ */ e(xi, { className: r, children: a })
|
|
3871
|
+
] }),
|
|
3872
|
+
/* @__PURE__ */ i(bi, { children: [
|
|
3873
3873
|
n != "" && /* @__PURE__ */ e(
|
|
3874
|
-
|
|
3874
|
+
wi,
|
|
3875
3875
|
{
|
|
3876
3876
|
onClick: () => {
|
|
3877
3877
|
l && l();
|
|
@@ -3900,17 +3900,17 @@ const Ys = ({
|
|
|
3900
3900
|
}
|
|
3901
3901
|
)
|
|
3902
3902
|
] })
|
|
3903
|
-
] }) }), Br = je(void 0),
|
|
3903
|
+
] }) }), Br = je(void 0), yu = () => {
|
|
3904
3904
|
const t = Ue(Br);
|
|
3905
3905
|
if (!t)
|
|
3906
3906
|
throw new Error("useDialog must be used within a DialogProvider");
|
|
3907
3907
|
return t;
|
|
3908
|
-
},
|
|
3908
|
+
}, Qs = ({ children: t }) => {
|
|
3909
3909
|
const [a, r] = z(null), n = (s) => r(s), o = () => r(null);
|
|
3910
3910
|
return /* @__PURE__ */ i(Br.Provider, { value: { openDialog: n, closeDialog: o }, children: [
|
|
3911
3911
|
t,
|
|
3912
3912
|
a && /* @__PURE__ */ e(
|
|
3913
|
-
|
|
3913
|
+
Js,
|
|
3914
3914
|
{
|
|
3915
3915
|
title: a.title,
|
|
3916
3916
|
description: a.description,
|
|
@@ -3931,7 +3931,7 @@ const Ys = ({
|
|
|
3931
3931
|
)
|
|
3932
3932
|
] });
|
|
3933
3933
|
};
|
|
3934
|
-
function
|
|
3934
|
+
function Cu({
|
|
3935
3935
|
placeholder: t,
|
|
3936
3936
|
items: a,
|
|
3937
3937
|
disabled: r,
|
|
@@ -3988,7 +3988,7 @@ function yu({
|
|
|
3988
3988
|
] });
|
|
3989
3989
|
}
|
|
3990
3990
|
const Fe = (t) => t?.columnDef?.title || t?.columnDef?.header && typeof t.columnDef.header == "string" && t?.columnDef?.header || t.id;
|
|
3991
|
-
function
|
|
3991
|
+
function Xs({
|
|
3992
3992
|
table: t
|
|
3993
3993
|
}) {
|
|
3994
3994
|
return /* @__PURE__ */ i(Z, { children: [
|
|
@@ -4039,7 +4039,7 @@ function Qs({
|
|
|
4039
4039
|
] }) })
|
|
4040
4040
|
] });
|
|
4041
4041
|
}
|
|
4042
|
-
function
|
|
4042
|
+
function Zs({
|
|
4043
4043
|
column: t
|
|
4044
4044
|
}) {
|
|
4045
4045
|
const a = t?.getFacetedUniqueValues(), r = new Set(t?.getFilterValue()), n = A.useMemo(
|
|
@@ -4048,7 +4048,7 @@ function Xs({
|
|
|
4048
4048
|
);
|
|
4049
4049
|
return /* @__PURE__ */ i(Z, { children: [
|
|
4050
4050
|
/* @__PURE__ */ e(ee, { asChild: !0, children: /* @__PURE__ */ i(
|
|
4051
|
-
|
|
4051
|
+
qs,
|
|
4052
4052
|
{
|
|
4053
4053
|
variant: "dashed",
|
|
4054
4054
|
tooltipContent: Fe(t),
|
|
@@ -4131,7 +4131,7 @@ function Xs({
|
|
|
4131
4131
|
}) })
|
|
4132
4132
|
] }),
|
|
4133
4133
|
r.size > 0 && /* @__PURE__ */ i(E, { children: [
|
|
4134
|
-
/* @__PURE__ */ e(
|
|
4134
|
+
/* @__PURE__ */ e(Mi, {}),
|
|
4135
4135
|
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(
|
|
4136
4136
|
Q,
|
|
4137
4137
|
{
|
|
@@ -4144,7 +4144,7 @@ function Xs({
|
|
|
4144
4144
|
] }) })
|
|
4145
4145
|
] });
|
|
4146
4146
|
}
|
|
4147
|
-
function
|
|
4147
|
+
function el({ table: t }) {
|
|
4148
4148
|
const [a, r] = z([]);
|
|
4149
4149
|
return /* @__PURE__ */ i("div", { className: "flex-grow flex gap-3 items-center overflow-hidden", children: [
|
|
4150
4150
|
/* @__PURE__ */ i(Z, { children: [
|
|
@@ -4196,11 +4196,11 @@ function Zs({ table: t }) {
|
|
|
4196
4196
|
/* @__PURE__ */ e("div", { className: "flex-grow flex gap-3 items-center overflow-auto", children: a.map((n) => {
|
|
4197
4197
|
const o = t.getColumn(n);
|
|
4198
4198
|
if (o)
|
|
4199
|
-
return /* @__PURE__ */ e(
|
|
4199
|
+
return /* @__PURE__ */ e(Zs, { column: o }, n);
|
|
4200
4200
|
}) })
|
|
4201
4201
|
] });
|
|
4202
4202
|
}
|
|
4203
|
-
const
|
|
4203
|
+
const tl = async (t) => new Promise((a, r) => {
|
|
4204
4204
|
const n = new FileReader();
|
|
4205
4205
|
n.onload = () => {
|
|
4206
4206
|
const s = n.result.split(",")[1];
|
|
@@ -4214,18 +4214,18 @@ const el = async (t) => new Promise((a, r) => {
|
|
|
4214
4214
|
});
|
|
4215
4215
|
}, n.onerror = () => r(n.error), n.readAsDataURL(t);
|
|
4216
4216
|
});
|
|
4217
|
-
function
|
|
4217
|
+
function ku(t) {
|
|
4218
4218
|
const a = atob(t.base64), r = new Array(a.length).fill(0).map((s, l) => a.charCodeAt(l)), n = new Uint8Array(r), o = new Blob([n], { type: t.type });
|
|
4219
4219
|
return URL.createObjectURL(o);
|
|
4220
4220
|
}
|
|
4221
|
-
function
|
|
4221
|
+
function Iu({
|
|
4222
4222
|
label: t = "Upload File",
|
|
4223
4223
|
isDrag: a = !1,
|
|
4224
4224
|
onFileSelect: r
|
|
4225
4225
|
}) {
|
|
4226
4226
|
const [n, o] = z(!1), s = async (f) => {
|
|
4227
4227
|
if (!f) return;
|
|
4228
|
-
const g = await
|
|
4228
|
+
const g = await tl(f);
|
|
4229
4229
|
await r(g);
|
|
4230
4230
|
};
|
|
4231
4231
|
return /* @__PURE__ */ i("div", { className: "flex flex-col gap-2 w-full", children: [
|
|
@@ -4286,8 +4286,8 @@ function ku({
|
|
|
4286
4286
|
)
|
|
4287
4287
|
] });
|
|
4288
4288
|
}
|
|
4289
|
-
const
|
|
4290
|
-
function
|
|
4289
|
+
const al = [15, 20, 30, 40, 50, 100];
|
|
4290
|
+
function rl({
|
|
4291
4291
|
table: t,
|
|
4292
4292
|
extraParams: a
|
|
4293
4293
|
}) {
|
|
@@ -4307,20 +4307,20 @@ function al({
|
|
|
4307
4307
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-3", children: [
|
|
4308
4308
|
/* @__PURE__ */ e("small", { className: "text-gray-600 dark:text-gray-400", children: "Rows per page" }),
|
|
4309
4309
|
(a?.rowsPerPage == null || a.rowsPerPage) && /* @__PURE__ */ i(
|
|
4310
|
-
|
|
4310
|
+
$i,
|
|
4311
4311
|
{
|
|
4312
4312
|
value: `${t.getState().pagination.pageSize}`,
|
|
4313
4313
|
onValueChange: (r) => {
|
|
4314
4314
|
t.setPageSize(Number(r));
|
|
4315
4315
|
},
|
|
4316
4316
|
children: [
|
|
4317
|
-
/* @__PURE__ */ e(
|
|
4318
|
-
|
|
4317
|
+
/* @__PURE__ */ e(Gi, { className: "w-[70px] h-8", children: /* @__PURE__ */ e(
|
|
4318
|
+
Vi,
|
|
4319
4319
|
{
|
|
4320
4320
|
placeholder: t.getState().pagination.pageSize
|
|
4321
4321
|
}
|
|
4322
4322
|
) }),
|
|
4323
|
-
/* @__PURE__ */ e(
|
|
4323
|
+
/* @__PURE__ */ e(Wi, { side: "top", children: (a?.pageSizeArray || al).map((r) => /* @__PURE__ */ e(Hi, { value: `${r}`, children: r }, r)) })
|
|
4324
4324
|
]
|
|
4325
4325
|
}
|
|
4326
4326
|
)
|
|
@@ -4398,7 +4398,7 @@ function $r({ className: t, ...a }) {
|
|
|
4398
4398
|
)
|
|
4399
4399
|
] });
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function nl({
|
|
4402
4402
|
table: t,
|
|
4403
4403
|
extraParams: a
|
|
4404
4404
|
}) {
|
|
@@ -4412,15 +4412,15 @@ function rl({
|
|
|
4412
4412
|
className: "max-w-sm"
|
|
4413
4413
|
}
|
|
4414
4414
|
),
|
|
4415
|
-
(a?.defaultTools == null || a?.defaultTools == !0 || Array.isArray(a?.defaultTools) && a?.defaultTools?.includes("filter")) && /* @__PURE__ */ e(
|
|
4415
|
+
(a?.defaultTools == null || a?.defaultTools == !0 || Array.isArray(a?.defaultTools) && a?.defaultTools?.includes("filter")) && /* @__PURE__ */ e(el, { table: t })
|
|
4416
4416
|
] }),
|
|
4417
4417
|
/* @__PURE__ */ i("div", { className: "flex gap-3", children: [
|
|
4418
4418
|
a?.extraTools?.map((r, n) => /* @__PURE__ */ e(It, { children: r }, n)),
|
|
4419
|
-
(a?.defaultTools == null || a?.defaultTools == !0 || Array.isArray(a?.defaultTools) && a?.defaultTools?.includes("columnFilter")) && /* @__PURE__ */ e(
|
|
4419
|
+
(a?.defaultTools == null || a?.defaultTools == !0 || Array.isArray(a?.defaultTools) && a?.defaultTools?.includes("columnFilter")) && /* @__PURE__ */ e(Xs, { table: t })
|
|
4420
4420
|
] })
|
|
4421
4421
|
] });
|
|
4422
4422
|
}
|
|
4423
|
-
const
|
|
4423
|
+
const Su = ra(
|
|
4424
4424
|
({ columns: t, data: a, extraParams: r, onTableReady: n }, o) => {
|
|
4425
4425
|
const [s, l] = re.useState([]), [c, m] = re.useState(""), [u, f] = re.useState([]), [g, w] = re.useState({
|
|
4426
4426
|
pageIndex: r?.pageIndex || 0,
|
|
@@ -4549,7 +4549,7 @@ const Iu = ra(
|
|
|
4549
4549
|
n && n(h);
|
|
4550
4550
|
}, [n, h]), Te && /* @__PURE__ */ i("div", { className: "w-full h-full flex flex-col gap-3 justify-between", children: [
|
|
4551
4551
|
/* @__PURE__ */ i("div", { className: "flex-grow flex flex-col gap-3 overflow-hidden", children: [
|
|
4552
|
-
(r?.defaultTools == null || r.defaultTools || r.extraTools) && /* @__PURE__ */ e(
|
|
4552
|
+
(r?.defaultTools == null || r.defaultTools || r.extraTools) && /* @__PURE__ */ e(nl, { table: h, extraParams: r }),
|
|
4553
4553
|
/* @__PURE__ */ i("div", { className: "flex-grow flex flex-col overflow-hidden", children: [
|
|
4554
4554
|
(r?.grouping == null || r.grouping) && /* @__PURE__ */ e(
|
|
4555
4555
|
"div",
|
|
@@ -4570,8 +4570,8 @@ const Iu = ra(
|
|
|
4570
4570
|
))
|
|
4571
4571
|
}
|
|
4572
4572
|
),
|
|
4573
|
-
/* @__PURE__ */ e("div", { className: "flex-grow overflow-hidden", children: /* @__PURE__ */ i(
|
|
4574
|
-
(r?.header == null || r.header) && /* @__PURE__ */ e(
|
|
4573
|
+
/* @__PURE__ */ e("div", { className: "flex-grow overflow-hidden", children: /* @__PURE__ */ i(Ns, { className: "border-t whitespace-nowrap bg-card-new", children: [
|
|
4574
|
+
(r?.header == null || r.header) && /* @__PURE__ */ e(ys, { className: "sticky top-0 z-10 border-t bg-card-new", children: h.getHeaderGroups().map((y) => /* @__PURE__ */ e(it, { className: Ne(""), children: y.headers.map((I) => I.column.getIsGrouped() ? I.column.getGroupedIndex() < R.length - 1 ? null : /* @__PURE__ */ e(
|
|
4575
4575
|
Ta,
|
|
4576
4576
|
{
|
|
4577
4577
|
colSpan: R.length,
|
|
@@ -4634,7 +4634,7 @@ const Iu = ra(
|
|
|
4634
4634
|
},
|
|
4635
4635
|
I.id
|
|
4636
4636
|
)) }, y.id)) }),
|
|
4637
|
-
/* @__PURE__ */ e(
|
|
4637
|
+
/* @__PURE__ */ e(Cs, { children: h.getRowModel().rows.length ? h.getRowModel().rows.map(
|
|
4638
4638
|
(y) => y.getIsGrouped() ? /* @__PURE__ */ e(it, { children: y.getVisibleCells().map((I) => I.column.getIndex() < y.depth ? null : (
|
|
4639
4639
|
// colSpan={cell.column.getIndex() == row.depth ? row.depth + 1 : undefined}
|
|
4640
4640
|
/* @__PURE__ */ e(
|
|
@@ -4714,18 +4714,18 @@ const Iu = ra(
|
|
|
4714
4714
|
children: "No results."
|
|
4715
4715
|
}
|
|
4716
4716
|
) }) }),
|
|
4717
|
-
r?.footer && /* @__PURE__ */ e(
|
|
4717
|
+
r?.footer && /* @__PURE__ */ e(ks, { className: "sticky bottom-0 bg-background text-foreground", children: h.getFooterGroups().map((y) => /* @__PURE__ */ e(it, { children: y.headers.map((I) => /* @__PURE__ */ e(wt, { children: I.isPlaceholder ? null : /* @__PURE__ */ e("div", { className: "flex items-center", children: K(
|
|
4718
4718
|
I.column.columnDef.footer,
|
|
4719
4719
|
I.getContext()
|
|
4720
4720
|
) }) })) })) })
|
|
4721
4721
|
] }) })
|
|
4722
4722
|
] })
|
|
4723
4723
|
] }),
|
|
4724
|
-
(r?.paginationBar == null || r.paginationBar) && /* @__PURE__ */ e(
|
|
4724
|
+
(r?.paginationBar == null || r.paginationBar) && /* @__PURE__ */ e(rl, { table: h, extraParams: r })
|
|
4725
4725
|
] });
|
|
4726
4726
|
}
|
|
4727
4727
|
);
|
|
4728
|
-
function
|
|
4728
|
+
function ol({
|
|
4729
4729
|
isLoading: t,
|
|
4730
4730
|
onReload: a,
|
|
4731
4731
|
errorMessage: r
|
|
@@ -4740,12 +4740,12 @@ function nl({
|
|
|
4740
4740
|
}
|
|
4741
4741
|
) }) }) });
|
|
4742
4742
|
}
|
|
4743
|
-
function
|
|
4743
|
+
function il(t) {
|
|
4744
4744
|
(t == null || typeof t != "object") && (t = {});
|
|
4745
4745
|
const a = { ...t };
|
|
4746
4746
|
return (a.toolbox === void 0 || a.toolbox === null || typeof a.toolbox != "object") && (a.toolbox = {}), (a.toolbox.feature === void 0 || a.toolbox.feature === null || typeof a.toolbox.feature != "object") && (a.toolbox.feature = {}), a;
|
|
4747
4747
|
}
|
|
4748
|
-
const
|
|
4748
|
+
const Au = ra(
|
|
4749
4749
|
({
|
|
4750
4750
|
parentDivProps: t = {},
|
|
4751
4751
|
option: a = {},
|
|
@@ -4760,7 +4760,7 @@ const Su = ra(
|
|
|
4760
4760
|
onConfigure: u = () => {
|
|
4761
4761
|
}
|
|
4762
4762
|
}, f) => {
|
|
4763
|
-
const g = q(null), w = q(null), N =
|
|
4763
|
+
const g = q(null), w = q(null), N = il(a);
|
|
4764
4764
|
return l && (N.toolbox.feature = {
|
|
4765
4765
|
...N.toolbox.feature,
|
|
4766
4766
|
myConfigureChartTool: {
|
|
@@ -4822,7 +4822,7 @@ const Su = ra(
|
|
|
4822
4822
|
);
|
|
4823
4823
|
}
|
|
4824
4824
|
);
|
|
4825
|
-
function
|
|
4825
|
+
function sl({ tooltipContent: t, fileNamePlaceholder: a, fileName: r, onFileNameChange: n, ...o }) {
|
|
4826
4826
|
const s = q(null);
|
|
4827
4827
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ i("div", { className: "flex", children: [
|
|
4828
4828
|
/* @__PURE__ */ e(
|
|
@@ -4839,7 +4839,7 @@ function il({ tooltipContent: t, fileNamePlaceholder: a, fileName: r, onFileName
|
|
|
4839
4839
|
/* @__PURE__ */ e($e, { tooltipContent: t || "Browse File", onClick: () => s?.current?.click(), className: "border-s-0 rounded-s-none", children: /* @__PURE__ */ e(Xa, {}) })
|
|
4840
4840
|
] }) });
|
|
4841
4841
|
}
|
|
4842
|
-
const
|
|
4842
|
+
const zu = (({
|
|
4843
4843
|
blur: t = 0,
|
|
4844
4844
|
inactiveZone: a = 0.7,
|
|
4845
4845
|
proximity: r = 0,
|
|
@@ -4944,7 +4944,7 @@ function Yt({ name: t, ...a }) {
|
|
|
4944
4944
|
const r = rn[t];
|
|
4945
4945
|
return r ? /* @__PURE__ */ e(r, { ...a }) : (console.warn(`Icon "${t}" not found in lucide-react`), null);
|
|
4946
4946
|
}
|
|
4947
|
-
const
|
|
4947
|
+
const Ru = ({
|
|
4948
4948
|
size: t = 48,
|
|
4949
4949
|
className: a,
|
|
4950
4950
|
visible: r = !0,
|
|
@@ -4966,7 +4966,7 @@ const zu = ({
|
|
|
4966
4966
|
children: /* @__PURE__ */ e("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
4967
4967
|
}
|
|
4968
4968
|
) }) }) : null;
|
|
4969
|
-
function
|
|
4969
|
+
function Du({
|
|
4970
4970
|
placeholder: t,
|
|
4971
4971
|
items: a,
|
|
4972
4972
|
onValueChange: r,
|
|
@@ -5137,7 +5137,7 @@ function Vr({ text: t }) {
|
|
|
5137
5137
|
/* @__PURE__ */ e("p", { className: "text-muted-foreground", children: t || "No Data Available" })
|
|
5138
5138
|
] });
|
|
5139
5139
|
}
|
|
5140
|
-
function
|
|
5140
|
+
function Tu({ title: t, subtitle: a, tools: r, children: n }) {
|
|
5141
5141
|
return t = t ?? "", a = a ?? "", /* @__PURE__ */ i("div", { className: "flex flex-col gap-4 h-full", children: [
|
|
5142
5142
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-4", children: [
|
|
5143
5143
|
/* @__PURE__ */ i("div", { className: "grid grid-cols-1 gap-1", children: [
|
|
@@ -5149,7 +5149,7 @@ function Du({ title: t, subtitle: a, tools: r, children: n }) {
|
|
|
5149
5149
|
n
|
|
5150
5150
|
] });
|
|
5151
5151
|
}
|
|
5152
|
-
const
|
|
5152
|
+
const Pu = ({ value: t }) => {
|
|
5153
5153
|
const a = yo(t), r = a.score * 100 / 4;
|
|
5154
5154
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(ga, { value: r, className: (() => {
|
|
5155
5155
|
switch (a.score) {
|
|
@@ -5171,7 +5171,7 @@ const Tu = ({ value: t }) => {
|
|
|
5171
5171
|
const a = ko[t];
|
|
5172
5172
|
return /* @__PURE__ */ e(a, {});
|
|
5173
5173
|
};
|
|
5174
|
-
function
|
|
5174
|
+
function _u({ className: t, ...a }) {
|
|
5175
5175
|
const [r, n] = z(!1), [o, s] = z(""), [l, c] = z("");
|
|
5176
5176
|
return /* @__PURE__ */ i(Z, { open: r, onOpenChange: n, children: [
|
|
5177
5177
|
/* @__PURE__ */ e(ee, { asChild: !0, children: /* @__PURE__ */ i(
|
|
@@ -5221,7 +5221,7 @@ function Pu({ className: t, ...a }) {
|
|
|
5221
5221
|
) })
|
|
5222
5222
|
] });
|
|
5223
5223
|
}
|
|
5224
|
-
function
|
|
5224
|
+
function ll({
|
|
5225
5225
|
buttonText: t,
|
|
5226
5226
|
buttonIcon: a,
|
|
5227
5227
|
buttonStyle: r,
|
|
@@ -5231,7 +5231,7 @@ function sl({
|
|
|
5231
5231
|
closeButton: l
|
|
5232
5232
|
}) {
|
|
5233
5233
|
return /* @__PURE__ */ i(Tr, { children: [
|
|
5234
|
-
/* @__PURE__ */ e(
|
|
5234
|
+
/* @__PURE__ */ e(Yi, { asChild: !0, children: /* @__PURE__ */ i(T, { variant: "outline", className: r, size: "icon-sm", children: [
|
|
5235
5235
|
t,
|
|
5236
5236
|
a
|
|
5237
5237
|
] }) }),
|
|
@@ -5241,10 +5241,10 @@ function sl({
|
|
|
5241
5241
|
] })
|
|
5242
5242
|
] });
|
|
5243
5243
|
}
|
|
5244
|
-
const
|
|
5245
|
-
function
|
|
5244
|
+
const dl = wn;
|
|
5245
|
+
function Mu({ title: t, iconName: a, iconSize: r, iconClass: n, primaryText: o, secondaryText: s, mainClassName: l = "", loading: c, loadingMessage: m }) {
|
|
5246
5246
|
let u = null;
|
|
5247
|
-
return a && (u =
|
|
5247
|
+
return a && (u = dl[a]), r = r === void 0 ? 20 : r, n = n ?? "", m = m ?? "Loading...", /* @__PURE__ */ e(qt, { className: l, children: /* @__PURE__ */ i(zi, { className: "p-5", children: [
|
|
5248
5248
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-4", children: [
|
|
5249
5249
|
/* @__PURE__ */ e("span", { children: t }),
|
|
5250
5250
|
c ? /* @__PURE__ */ e(Nn, { size: r, className: "animate-spin " + n }) : u && /* @__PURE__ */ e(u, { size: r, className: n })
|
|
@@ -5253,7 +5253,7 @@ function _u({ title: t, iconName: a, iconSize: r, iconClass: n, primaryText: o,
|
|
|
5253
5253
|
s && /* @__PURE__ */ e("small", { className: "mt-2 text-gray-400", children: c ? m : s })
|
|
5254
5254
|
] }) });
|
|
5255
5255
|
}
|
|
5256
|
-
function
|
|
5256
|
+
function cl({
|
|
5257
5257
|
children: t,
|
|
5258
5258
|
tabArray: a,
|
|
5259
5259
|
pathName: r,
|
|
@@ -5290,16 +5290,16 @@ function dl({
|
|
|
5290
5290
|
}), S(h.tabId);
|
|
5291
5291
|
};
|
|
5292
5292
|
return /* @__PURE__ */ i(
|
|
5293
|
-
|
|
5293
|
+
Is,
|
|
5294
5294
|
{
|
|
5295
5295
|
value: k,
|
|
5296
5296
|
onValueChange: S,
|
|
5297
5297
|
className: "w-full h-full flex flex-col",
|
|
5298
5298
|
children: [
|
|
5299
|
-
/* @__PURE__ */ i(
|
|
5299
|
+
/* @__PURE__ */ i(As, { className: `flex justify-between items-center ${n}`, children: [
|
|
5300
5300
|
/* @__PURE__ */ i("div", { className: `flex w-full ${o}`, children: [
|
|
5301
5301
|
N.map((h) => /* @__PURE__ */ e(
|
|
5302
|
-
|
|
5302
|
+
zs,
|
|
5303
5303
|
{
|
|
5304
5304
|
value: h.tabId,
|
|
5305
5305
|
className: s,
|
|
@@ -5341,7 +5341,7 @@ function dl({
|
|
|
5341
5341
|
}
|
|
5342
5342
|
);
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5344
|
+
function ul() {
|
|
5345
5345
|
const { setTheme: t, theme: a, resolvedTheme: r } = Er(), [n, o] = z(!1);
|
|
5346
5346
|
_(() => {
|
|
5347
5347
|
o(!0);
|
|
@@ -5423,7 +5423,7 @@ function cl() {
|
|
|
5423
5423
|
] })
|
|
5424
5424
|
] });
|
|
5425
5425
|
}
|
|
5426
|
-
function
|
|
5426
|
+
function Fu({ title: t, value: a, valueText: r, isPercent: n = !0, className: o, titleClassName: s, valueClassName: l, progressClassName: c }) {
|
|
5427
5427
|
let m = a.toFixed(2);
|
|
5428
5428
|
const u = m.split(".");
|
|
5429
5429
|
return u[1] === "00" && (m = u[0]), /* @__PURE__ */ i("div", { className: "w-full " + (o ?? ""), children: [
|
|
@@ -5440,7 +5440,7 @@ function Mu({ title: t, value: a, valueText: r, isPercent: n = !0, className: o,
|
|
|
5440
5440
|
)
|
|
5441
5441
|
] });
|
|
5442
5442
|
}
|
|
5443
|
-
function
|
|
5443
|
+
function Eu({
|
|
5444
5444
|
processedData: t,
|
|
5445
5445
|
value: a,
|
|
5446
5446
|
onChange: r,
|
|
@@ -5585,7 +5585,7 @@ function Fu({
|
|
|
5585
5585
|
] }) })
|
|
5586
5586
|
] });
|
|
5587
5587
|
}
|
|
5588
|
-
function
|
|
5588
|
+
function Lu({ widgetData: t }) {
|
|
5589
5589
|
const a = t.slice(0, 4), r = t.slice(4);
|
|
5590
5590
|
return /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
|
|
5591
5591
|
/* @__PURE__ */ e("div", { className: "flex flex-col md:flex-row gap-2", children: a.map((n) => /* @__PURE__ */ i("div", { className: "flex flex-1 flex-row justify-between border rounded-md p-2 border-l-4 border-l-primary", children: [
|
|
@@ -5610,7 +5610,7 @@ function Eu({ widgetData: t }) {
|
|
|
5610
5610
|
] }, n.id)) })
|
|
5611
5611
|
] });
|
|
5612
5612
|
}
|
|
5613
|
-
function
|
|
5613
|
+
function ml({ onNavigate: t, onView: a, label: r, extraTools: n, view: o }) {
|
|
5614
5614
|
const [s, l] = z(o === W.DAY ? "DAY" : o === W.WEEK ? "WEEK" : "MONTH");
|
|
5615
5615
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ i("div", { className: "flex flex-col md:flex-row justify-between items-start md:items-center mb-3", children: [
|
|
5616
5616
|
/* @__PURE__ */ i(Ze, { type: "single", variant: "outline", onValueChange: (c) => {
|
|
@@ -5655,7 +5655,7 @@ function ul({ onNavigate: t, onView: a, label: r, extraTools: n, view: o }) {
|
|
|
5655
5655
|
] })
|
|
5656
5656
|
] }) });
|
|
5657
5657
|
}
|
|
5658
|
-
function
|
|
5658
|
+
function fl({ event: t, extraParamsEvent: a }) {
|
|
5659
5659
|
return /* @__PURE__ */ i("div", { className: "custom-event flex flex-row justify-between", children: [
|
|
5660
5660
|
/* @__PURE__ */ e("span", { className: "truncate w-auto", children: t.title }),
|
|
5661
5661
|
/* @__PURE__ */ i("span", { className: "flex flex-row gap-1", children: [
|
|
@@ -5682,23 +5682,23 @@ function ml({ event: t, extraParamsEvent: a }) {
|
|
|
5682
5682
|
] })
|
|
5683
5683
|
] });
|
|
5684
5684
|
}
|
|
5685
|
-
const
|
|
5685
|
+
const gl = {
|
|
5686
5686
|
"en-US": Do
|
|
5687
|
-
},
|
|
5687
|
+
}, pl = zo({
|
|
5688
5688
|
format: wr,
|
|
5689
5689
|
parse: Ao,
|
|
5690
5690
|
startOfWeek: So,
|
|
5691
5691
|
getDay: Io,
|
|
5692
|
-
locales:
|
|
5692
|
+
locales: gl
|
|
5693
5693
|
});
|
|
5694
|
-
function
|
|
5694
|
+
function Ou({ events: t, extraParamsEvent: a, extraTools: r }) {
|
|
5695
5695
|
const [n, o] = z(
|
|
5696
5696
|
a?.defaultView === "day" ? W.DAY : a?.defaultView === "week" ? W.WEEK : a?.defaultView === "month" ? W.MONTH : a?.defaultView === "work week" ? W.WORK_WEEK : a?.defaultView === "agenda" ? W.AGENDA : W.MONTH
|
|
5697
5697
|
), [s, l] = z(/* @__PURE__ */ new Date());
|
|
5698
5698
|
return /* @__PURE__ */ e(
|
|
5699
5699
|
Ro,
|
|
5700
5700
|
{
|
|
5701
|
-
localizer:
|
|
5701
|
+
localizer: pl,
|
|
5702
5702
|
events: t || [],
|
|
5703
5703
|
startAccessor: "start",
|
|
5704
5704
|
endAccessor: "end",
|
|
@@ -5708,8 +5708,8 @@ function Lu({ events: t, extraParamsEvent: a, extraTools: r }) {
|
|
|
5708
5708
|
date: s,
|
|
5709
5709
|
onNavigate: (c) => l(c),
|
|
5710
5710
|
components: {
|
|
5711
|
-
event: (c) => /* @__PURE__ */ e(
|
|
5712
|
-
toolbar: (c) => /* @__PURE__ */ e(
|
|
5711
|
+
event: (c) => /* @__PURE__ */ e(fl, { event: c.event, extraParamsEvent: a }),
|
|
5712
|
+
toolbar: (c) => /* @__PURE__ */ e(ml, { ...c, extraTools: r, view: n })
|
|
5713
5713
|
},
|
|
5714
5714
|
style: {
|
|
5715
5715
|
height: a?.height || "100%",
|
|
@@ -5719,7 +5719,7 @@ function Lu({ events: t, extraParamsEvent: a, extraTools: r }) {
|
|
|
5719
5719
|
);
|
|
5720
5720
|
}
|
|
5721
5721
|
const Gr = je(void 0);
|
|
5722
|
-
function
|
|
5722
|
+
function hl({ children: t }) {
|
|
5723
5723
|
const [a, r] = z([]), n = (c) => {
|
|
5724
5724
|
r((m) => [...m.filter((f) => f.level < c.level), c]);
|
|
5725
5725
|
}, o = (c, m) => {
|
|
@@ -5737,7 +5737,7 @@ function Wr() {
|
|
|
5737
5737
|
throw new Error("useBreadcrumb must be used within a BreadcrumbProvider");
|
|
5738
5738
|
return t;
|
|
5739
5739
|
}
|
|
5740
|
-
function
|
|
5740
|
+
function bl() {
|
|
5741
5741
|
const { breadcrumbItems: t, backBreadcrumb: a } = Wr(), [r, n] = z(!1), [o, s] = z(2), l = ha(), c = To();
|
|
5742
5742
|
_(() => {
|
|
5743
5743
|
s(l ? 2 : 4);
|
|
@@ -5749,7 +5749,7 @@ function hl() {
|
|
|
5749
5749
|
2 - (t.length < o ? t.length : o)
|
|
5750
5750
|
) : []
|
|
5751
5751
|
}), [t, o, l]);
|
|
5752
|
-
return !m || l == null || o == null ? null : /* @__PURE__ */ e(
|
|
5752
|
+
return !m || l == null || o == null ? null : /* @__PURE__ */ e(Ds, { children: /* @__PURE__ */ i(Ts, { children: [
|
|
5753
5753
|
m.firstVisibleBreadcrumbList.map(
|
|
5754
5754
|
(u, f) => f < t.length - 1 ? /* @__PURE__ */ i(It, { children: [
|
|
5755
5755
|
/* @__PURE__ */ e(st, { children: u.href ? /* @__PURE__ */ e(
|
|
@@ -5766,12 +5766,12 @@ function hl() {
|
|
|
5766
5766
|
] }, "first" + f) : /* @__PURE__ */ e(st, { children: /* @__PURE__ */ e(Nt, { className: "max-w-20 truncate md:max-w-none", children: u.title }) }, "first" + f)
|
|
5767
5767
|
),
|
|
5768
5768
|
t.length > o ? /* @__PURE__ */ i(E, { children: [
|
|
5769
|
-
/* @__PURE__ */ e(st, { children: l ? /* @__PURE__ */ i(
|
|
5770
|
-
/* @__PURE__ */ e(
|
|
5771
|
-
/* @__PURE__ */ i(
|
|
5772
|
-
/* @__PURE__ */ i(
|
|
5773
|
-
/* @__PURE__ */ e(
|
|
5774
|
-
/* @__PURE__ */ e(
|
|
5769
|
+
/* @__PURE__ */ e(st, { children: l ? /* @__PURE__ */ i(Fs, { open: r, onOpenChange: n, children: [
|
|
5770
|
+
/* @__PURE__ */ e(Es, { "aria-label": "Toggle Menu", children: /* @__PURE__ */ e(Fa, { className: "h-4 w-4" }) }),
|
|
5771
|
+
/* @__PURE__ */ i(Us, { children: [
|
|
5772
|
+
/* @__PURE__ */ i(Bs, { className: "text-left", children: [
|
|
5773
|
+
/* @__PURE__ */ e(Vs, { children: "Navigate to" }),
|
|
5774
|
+
/* @__PURE__ */ e(Gs, { children: "Select a page to navigate to." })
|
|
5775
5775
|
] }),
|
|
5776
5776
|
/* @__PURE__ */ e("div", { className: "grid gap-1 px-2 lg:px-4", children: m.hiddenBreadcrumbList.map(
|
|
5777
5777
|
(u, f) => /* @__PURE__ */ e("div", { children: u.clickable == !1 ? /* @__PURE__ */ e("span", { className: "py-1 text-sm", children: u.title }) : /* @__PURE__ */ e(
|
|
@@ -5783,7 +5783,7 @@ function hl() {
|
|
|
5783
5783
|
}
|
|
5784
5784
|
) }, f)
|
|
5785
5785
|
) }),
|
|
5786
|
-
/* @__PURE__ */ e(
|
|
5786
|
+
/* @__PURE__ */ e($s, { className: "pt-4", children: /* @__PURE__ */ e(Os, { asChild: !0, children: /* @__PURE__ */ e(T, { variant: "outline", children: "Close" }) }) })
|
|
5787
5787
|
] })
|
|
5788
5788
|
] }) : /* @__PURE__ */ i(Se, { open: r, onOpenChange: n, children: [
|
|
5789
5789
|
/* @__PURE__ */ e(
|
|
@@ -5817,7 +5817,7 @@ function hl() {
|
|
|
5817
5817
|
)
|
|
5818
5818
|
] }, "BreadcrumbList1") }, "Breadcrumb1");
|
|
5819
5819
|
}
|
|
5820
|
-
function
|
|
5820
|
+
function ju({
|
|
5821
5821
|
breadcrumb: t
|
|
5822
5822
|
}) {
|
|
5823
5823
|
const { addBreadcrumb: a } = Wr();
|
|
@@ -5826,7 +5826,7 @@ function Ou({
|
|
|
5826
5826
|
}, [t]), /* @__PURE__ */ e(E, {});
|
|
5827
5827
|
}
|
|
5828
5828
|
const Hr = je(void 0);
|
|
5829
|
-
function
|
|
5829
|
+
function vl({ children: t }) {
|
|
5830
5830
|
const [a, r] = z([]), [n, o] = z(null), [s, l] = z(null), c = (N) => {
|
|
5831
5831
|
r((v) => v.some((b) => b.title === N.title) ? v.map(
|
|
5832
5832
|
(b) => b.title === N.title ? { ...b, ...N } : b
|
|
@@ -5871,39 +5871,39 @@ function jt() {
|
|
|
5871
5871
|
throw new Error("useSidebarNav must be used within a SidebarNavProvider");
|
|
5872
5872
|
return t;
|
|
5873
5873
|
}
|
|
5874
|
-
function
|
|
5875
|
-
const { navItems: t } = jt();
|
|
5876
|
-
return /* @__PURE__ */ e(
|
|
5877
|
-
(
|
|
5878
|
-
|
|
5874
|
+
function xl() {
|
|
5875
|
+
const { navItems: t } = jt(), { pathname: a } = Po();
|
|
5876
|
+
return /* @__PURE__ */ e(gs, { children: /* @__PURE__ */ e(ps, { children: t.map(
|
|
5877
|
+
(r) => r.items && r.items.length > 0 ? /* @__PURE__ */ e(
|
|
5878
|
+
Ps,
|
|
5879
5879
|
{
|
|
5880
5880
|
asChild: !0,
|
|
5881
|
-
defaultOpen:
|
|
5881
|
+
defaultOpen: r.isActive,
|
|
5882
5882
|
className: "group/collapsible",
|
|
5883
5883
|
children: /* @__PURE__ */ i(Ra, { children: [
|
|
5884
|
-
/* @__PURE__ */ e(
|
|
5885
|
-
|
|
5886
|
-
/* @__PURE__ */ e("span", { children:
|
|
5884
|
+
/* @__PURE__ */ e(_s, { asChild: !0, children: /* @__PURE__ */ i(Da, { asChild: !0, tooltip: r.title, isActive: a === r.url || a.startsWith(`${r.url}/`), children: [
|
|
5885
|
+
r.icon && /* @__PURE__ */ e(r.icon, {}),
|
|
5886
|
+
/* @__PURE__ */ e("span", { children: r.title }),
|
|
5887
5887
|
/* @__PURE__ */ e(nt, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
|
|
5888
5888
|
] }) }),
|
|
5889
|
-
/* @__PURE__ */ e(
|
|
5889
|
+
/* @__PURE__ */ e(Ms, { children: /* @__PURE__ */ e(bs, { children: r.items.map((n) => /* @__PURE__ */ e(vs, { children: /* @__PURE__ */ e(xs, { asChild: !0, isActive: a === n.url || a.startsWith(`${n.url}/`), children: /* @__PURE__ */ e(Ee, { to: n.url, children: /* @__PURE__ */ e("span", { children: n.title }) }) }) }, n.title)) }) })
|
|
5890
5890
|
] })
|
|
5891
5891
|
},
|
|
5892
|
-
|
|
5893
|
-
) : /* @__PURE__ */ e(Ra, { children: /* @__PURE__ */ e(Da, { asChild: !0, tooltip:
|
|
5892
|
+
r.title
|
|
5893
|
+
) : /* @__PURE__ */ e(Ra, { children: /* @__PURE__ */ e(Da, { asChild: !0, tooltip: r.title, isActive: a === r.url || a.startsWith(`${r.url}/`), children: /* @__PURE__ */ i(
|
|
5894
5894
|
Ee,
|
|
5895
5895
|
{
|
|
5896
|
-
to:
|
|
5896
|
+
to: r.url,
|
|
5897
5897
|
className: "flex items-center gap-2 w-full",
|
|
5898
5898
|
children: [
|
|
5899
|
-
|
|
5900
|
-
/* @__PURE__ */ e("span", { children:
|
|
5899
|
+
r.icon && /* @__PURE__ */ e(r.icon, {}),
|
|
5900
|
+
/* @__PURE__ */ e("span", { children: r.title })
|
|
5901
5901
|
]
|
|
5902
5902
|
}
|
|
5903
|
-
) }) },
|
|
5903
|
+
) }) }, r.title)
|
|
5904
5904
|
) }) });
|
|
5905
5905
|
}
|
|
5906
|
-
function
|
|
5906
|
+
function Uu({
|
|
5907
5907
|
items: t,
|
|
5908
5908
|
sidebarHeader: a,
|
|
5909
5909
|
sidebarFooter: r
|
|
@@ -5920,7 +5920,7 @@ function ju({
|
|
|
5920
5920
|
s
|
|
5921
5921
|
]), null;
|
|
5922
5922
|
}
|
|
5923
|
-
function
|
|
5923
|
+
function Bu({
|
|
5924
5924
|
formControl: t,
|
|
5925
5925
|
name: a,
|
|
5926
5926
|
label: r,
|
|
@@ -5990,7 +5990,7 @@ function Uu({
|
|
|
5990
5990
|
}
|
|
5991
5991
|
) });
|
|
5992
5992
|
}
|
|
5993
|
-
function
|
|
5993
|
+
function $u(t) {
|
|
5994
5994
|
const { field: a } = co({ name: t.name, control: t.formControl }), r = t.value !== void 0 ? t.value : a.value;
|
|
5995
5995
|
return /* @__PURE__ */ e(
|
|
5996
5996
|
he,
|
|
@@ -6055,7 +6055,7 @@ function Bu(t) {
|
|
|
6055
6055
|
}
|
|
6056
6056
|
);
|
|
6057
6057
|
}
|
|
6058
|
-
function
|
|
6058
|
+
function Vu({
|
|
6059
6059
|
formControl: t,
|
|
6060
6060
|
name: a,
|
|
6061
6061
|
label: r,
|
|
@@ -6086,7 +6086,7 @@ function $u({
|
|
|
6086
6086
|
}
|
|
6087
6087
|
) }) }),
|
|
6088
6088
|
/* @__PURE__ */ e(te, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ e(
|
|
6089
|
-
|
|
6089
|
+
Si,
|
|
6090
6090
|
{
|
|
6091
6091
|
mode: "single",
|
|
6092
6092
|
selected: m.value,
|
|
@@ -6103,10 +6103,10 @@ function $u({
|
|
|
6103
6103
|
}
|
|
6104
6104
|
) });
|
|
6105
6105
|
}
|
|
6106
|
-
function
|
|
6106
|
+
function Gu() {
|
|
6107
6107
|
return /* @__PURE__ */ e(E, {});
|
|
6108
6108
|
}
|
|
6109
|
-
function
|
|
6109
|
+
function Wu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
|
|
6110
6110
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
6111
6111
|
he,
|
|
6112
6112
|
{
|
|
@@ -6122,7 +6122,7 @@ function Gu({ formControl: t, label: a, formDescription: r, extraFormComponent:
|
|
|
6122
6122
|
}
|
|
6123
6123
|
) });
|
|
6124
6124
|
}
|
|
6125
|
-
function
|
|
6125
|
+
function Hu({
|
|
6126
6126
|
formControl: t,
|
|
6127
6127
|
name: a,
|
|
6128
6128
|
label: r,
|
|
@@ -6326,7 +6326,7 @@ function Wu({
|
|
|
6326
6326
|
}
|
|
6327
6327
|
);
|
|
6328
6328
|
}
|
|
6329
|
-
function
|
|
6329
|
+
function Ku({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
|
|
6330
6330
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
6331
6331
|
he,
|
|
6332
6332
|
{
|
|
@@ -6334,7 +6334,7 @@ function Hu({ formControl: t, label: a, formDescription: r, extraFormComponent:
|
|
|
6334
6334
|
name: o,
|
|
6335
6335
|
render: ({ field: l }) => /* @__PURE__ */ i(be, { children: [
|
|
6336
6336
|
a && /* @__PURE__ */ e(Re, { children: a }),
|
|
6337
|
-
/* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(
|
|
6337
|
+
/* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(Hs, { maxLength: 4, ...l, children: /* @__PURE__ */ i(Ks, { children: [
|
|
6338
6338
|
/* @__PURE__ */ e(yt, { index: 0 }),
|
|
6339
6339
|
/* @__PURE__ */ e(yt, { index: 1 }),
|
|
6340
6340
|
/* @__PURE__ */ e(yt, { index: 2 }),
|
|
@@ -6347,10 +6347,10 @@ function Hu({ formControl: t, label: a, formDescription: r, extraFormComponent:
|
|
|
6347
6347
|
}
|
|
6348
6348
|
) });
|
|
6349
6349
|
}
|
|
6350
|
-
function
|
|
6350
|
+
function qu() {
|
|
6351
6351
|
return /* @__PURE__ */ e("div", { children: "FormPhoneInput" });
|
|
6352
6352
|
}
|
|
6353
|
-
function
|
|
6353
|
+
function Yu({ formControl: t, name: a, label: r, formItemClass: n, formDescription: o, ...s }) {
|
|
6354
6354
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
6355
6355
|
he,
|
|
6356
6356
|
{
|
|
@@ -6358,14 +6358,14 @@ function qu({ formControl: t, name: a, label: r, formItemClass: n, formDescripti
|
|
|
6358
6358
|
name: a,
|
|
6359
6359
|
render: ({ field: l }) => /* @__PURE__ */ i(be, { className: n, children: [
|
|
6360
6360
|
r && /* @__PURE__ */ e(Re, { children: r }),
|
|
6361
|
-
/* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(
|
|
6361
|
+
/* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(Rs, { ...l, ...s }) }),
|
|
6362
6362
|
o && /* @__PURE__ */ e(De, { children: o }),
|
|
6363
6363
|
/* @__PURE__ */ e(xe, {})
|
|
6364
6364
|
] })
|
|
6365
6365
|
}
|
|
6366
6366
|
) });
|
|
6367
6367
|
}
|
|
6368
|
-
function
|
|
6368
|
+
function Ju({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
|
|
6369
6369
|
const [l, c] = A.useState(!1), m = () => c(!l);
|
|
6370
6370
|
return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
6371
6371
|
he,
|
|
@@ -6403,7 +6403,7 @@ function Yu({ formControl: t, label: a, formDescription: r, extraFormComponent:
|
|
|
6403
6403
|
}
|
|
6404
6404
|
) });
|
|
6405
6405
|
}
|
|
6406
|
-
function
|
|
6406
|
+
function Qu({
|
|
6407
6407
|
rowCount: t = 6,
|
|
6408
6408
|
showToolbar: a = !0
|
|
6409
6409
|
}) {
|
|
@@ -6415,10 +6415,10 @@ function Ju({
|
|
|
6415
6415
|
/* @__PURE__ */ e("div", { className: "space-y-4", children: [...Array(t)].map((r, n) => /* @__PURE__ */ e("div", { className: "grid gap-4 items-center", children: /* @__PURE__ */ e(tt, { className: "h-8 w-full" }) }, n)) })
|
|
6416
6416
|
] });
|
|
6417
6417
|
}
|
|
6418
|
-
function
|
|
6418
|
+
function Xu({ count: t }) {
|
|
6419
6419
|
return /* @__PURE__ */ e("div", { className: "flex flex-row gap-3 w-full", children: t > 0 && Array.from({ length: t }).map((a, r) => /* @__PURE__ */ e(tt, { className: "w-1/" + t + " flex flex-col md:flex-row gap-2 h-20", children: /* @__PURE__ */ e("div", { className: "flex flex-1 flex-row justify-between border rounded-md p-2 bg-card-new" }) }, "widget_" + r)) });
|
|
6420
6420
|
}
|
|
6421
|
-
function
|
|
6421
|
+
function wl() {
|
|
6422
6422
|
const t = uo({
|
|
6423
6423
|
defaultValues: {
|
|
6424
6424
|
text: "",
|
|
@@ -6526,7 +6526,7 @@ function xl() {
|
|
|
6526
6526
|
] })
|
|
6527
6527
|
] }, k))
|
|
6528
6528
|
] }),
|
|
6529
|
-
/* @__PURE__ */ e(
|
|
6529
|
+
/* @__PURE__ */ e(Ws, { ...t, children: /* @__PURE__ */ e("form", { onSubmit: t.handleSubmit(() => N()), children: /* @__PURE__ */ e("div", { className: "flex flex-col", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-center gap-2", children: [
|
|
6530
6530
|
/* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
|
|
6531
6531
|
he,
|
|
6532
6532
|
{
|
|
@@ -6564,16 +6564,16 @@ function xl() {
|
|
|
6564
6564
|
] }) }) }) })
|
|
6565
6565
|
] }) });
|
|
6566
6566
|
}
|
|
6567
|
-
function
|
|
6567
|
+
function Nl({ ...t }) {
|
|
6568
6568
|
const { navItems: a, header: r, footer: n } = jt();
|
|
6569
|
-
return !a || a.length === 0 ? null : /* @__PURE__ */ i(
|
|
6570
|
-
r && /* @__PURE__ */ e(
|
|
6571
|
-
/* @__PURE__ */ e(
|
|
6572
|
-
n && /* @__PURE__ */ e(
|
|
6573
|
-
/* @__PURE__ */ e(
|
|
6569
|
+
return !a || a.length === 0 ? null : /* @__PURE__ */ i(ss, { className: "ml-12", collapsible: "offcanvas", ...t, children: [
|
|
6570
|
+
r && /* @__PURE__ */ e(us, { children: r }),
|
|
6571
|
+
/* @__PURE__ */ e(fs, { children: /* @__PURE__ */ e(xl, {}) }),
|
|
6572
|
+
n && /* @__PURE__ */ e(ms, { children: n }),
|
|
6573
|
+
/* @__PURE__ */ e(ds, {})
|
|
6574
6574
|
] });
|
|
6575
6575
|
}
|
|
6576
|
-
function
|
|
6576
|
+
function yl() {
|
|
6577
6577
|
return /* @__PURE__ */ e("footer", { className: "ml-12 flex border-t px-4 py-2 justify-center lg:justify-start", children: /* @__PURE__ */ i("div", { className: "flex gap-2 items-center", children: [
|
|
6578
6578
|
/* @__PURE__ */ e(Rn, { className: "size-4" }),
|
|
6579
6579
|
/* @__PURE__ */ e("span", { children: "Powered By" }),
|
|
@@ -6591,14 +6591,14 @@ const J = {
|
|
|
6591
6591
|
IKON_PLATFORM_UI_URL: "",
|
|
6592
6592
|
IKON_USER_API_URL: "",
|
|
6593
6593
|
LOGIN_PAGE_URL: ""
|
|
6594
|
-
},
|
|
6594
|
+
}, Zu = (t) => {
|
|
6595
6595
|
J.IKON_BASE_API_URL = t.IKON_BASE_API_URL, J.IKON_PLATFORM_API_URL = `${t.IKON_BASE_API_URL}/platform`, J.IKON_AUTH_API_URL = `${J.IKON_PLATFORM_API_URL}/auth`, J.IKON_USER_API_URL = `${J.IKON_PLATFORM_API_URL}/user`, J.IKON_ACCOUNT_API_URL = `${J.IKON_PLATFORM_API_URL}/account`, J.LOGIN_PAGE_URL = t.LOGIN_PAGE_URL, J.IKON_PLATFORM_UI_URL = t.IKON_PLATFORM_UI_URL, J.IKON_PLATFORM_PROFILE_URL = `${t.IKON_PLATFORM_UI_URL}/setting/profile`;
|
|
6596
6596
|
}, ge = () => J;
|
|
6597
|
-
function
|
|
6597
|
+
function Cl() {
|
|
6598
6598
|
const { navItems: t } = jt(), { IKON_PLATFORM_UI_URL: a } = ge();
|
|
6599
6599
|
return /* @__PURE__ */ e("header", { className: "ml-12 flex h-12 border-b shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 px-4 w-full", children: [
|
|
6600
6600
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
6601
|
-
!t || t.length === 0 ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(
|
|
6601
|
+
!t || t.length === 0 ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(ls, { className: "-ml-1" }),
|
|
6602
6602
|
!t || t.length === 0 ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(
|
|
6603
6603
|
pa,
|
|
6604
6604
|
{
|
|
@@ -6606,11 +6606,11 @@ function yl() {
|
|
|
6606
6606
|
className: "mr-2 data-[orientation=vertical]:h-4"
|
|
6607
6607
|
}
|
|
6608
6608
|
),
|
|
6609
|
-
/* @__PURE__ */ e(
|
|
6609
|
+
/* @__PURE__ */ e(bl, {})
|
|
6610
6610
|
] }),
|
|
6611
6611
|
/* @__PURE__ */ i("div", { className: "ml-auto flex gap-4", children: [
|
|
6612
6612
|
/* @__PURE__ */ e($e, { className: "px-2!", tooltipContent: "Notifications", children: /* @__PURE__ */ e(Dn, {}) }),
|
|
6613
|
-
/* @__PURE__ */ e(
|
|
6613
|
+
/* @__PURE__ */ e(ul, {}),
|
|
6614
6614
|
/* @__PURE__ */ e(Ee, { to: `${a}/app-store`, children: /* @__PURE__ */ i(
|
|
6615
6615
|
Ot,
|
|
6616
6616
|
{
|
|
@@ -6639,20 +6639,20 @@ function Jt(t) {
|
|
|
6639
6639
|
function ja(t) {
|
|
6640
6640
|
na.remove(ba + t);
|
|
6641
6641
|
}
|
|
6642
|
-
async function
|
|
6642
|
+
async function em() {
|
|
6643
6643
|
}
|
|
6644
6644
|
async function Ut(t) {
|
|
6645
6645
|
const a = Jt("accessToken"), r = Jt("refreshToken");
|
|
6646
6646
|
if (a)
|
|
6647
6647
|
return a;
|
|
6648
6648
|
if (r) {
|
|
6649
|
-
const n = await
|
|
6649
|
+
const n = await kl(r, t?.isSetToken);
|
|
6650
6650
|
if (n)
|
|
6651
6651
|
return n;
|
|
6652
6652
|
}
|
|
6653
6653
|
return null;
|
|
6654
6654
|
}
|
|
6655
|
-
async function
|
|
6655
|
+
async function kl(t, a) {
|
|
6656
6656
|
try {
|
|
6657
6657
|
const r = await fetch(
|
|
6658
6658
|
`${ge().IKON_AUTH_API_URL}/refresh-token`,
|
|
@@ -6712,7 +6712,7 @@ He.interceptors.response.use(
|
|
|
6712
6712
|
);
|
|
6713
6713
|
}
|
|
6714
6714
|
);
|
|
6715
|
-
function
|
|
6715
|
+
function Il(t) {
|
|
6716
6716
|
return oa({
|
|
6717
6717
|
queryKey: ["profile", t],
|
|
6718
6718
|
queryFn: async () => {
|
|
@@ -6724,9 +6724,9 @@ function kl(t) {
|
|
|
6724
6724
|
enabled: !!t
|
|
6725
6725
|
});
|
|
6726
6726
|
}
|
|
6727
|
-
function
|
|
6728
|
-
const t =
|
|
6729
|
-
return
|
|
6727
|
+
function Sl() {
|
|
6728
|
+
const t = Fo();
|
|
6729
|
+
return Eo({
|
|
6730
6730
|
mutationFn: async (a) => {
|
|
6731
6731
|
await He.post(
|
|
6732
6732
|
`${ge().IKON_AUTH_API_URL}/switch-account`,
|
|
@@ -6738,7 +6738,7 @@ function Il() {
|
|
|
6738
6738
|
}
|
|
6739
6739
|
});
|
|
6740
6740
|
}
|
|
6741
|
-
function
|
|
6741
|
+
function Al() {
|
|
6742
6742
|
return oa({
|
|
6743
6743
|
queryKey: ["accountMembership"],
|
|
6744
6744
|
queryFn: async () => {
|
|
@@ -6749,7 +6749,7 @@ function Sl() {
|
|
|
6749
6749
|
}
|
|
6750
6750
|
});
|
|
6751
6751
|
}
|
|
6752
|
-
function
|
|
6752
|
+
function zl() {
|
|
6753
6753
|
return oa({
|
|
6754
6754
|
queryKey: ["softwares"],
|
|
6755
6755
|
queryFn: async () => {
|
|
@@ -6763,13 +6763,13 @@ function Al() {
|
|
|
6763
6763
|
const Kr = je(
|
|
6764
6764
|
void 0
|
|
6765
6765
|
);
|
|
6766
|
-
function
|
|
6766
|
+
function Rl({ children: t }) {
|
|
6767
6767
|
const [a, r] = z(null);
|
|
6768
6768
|
_(() => {
|
|
6769
6769
|
const c = Jt("accessToken");
|
|
6770
6770
|
if (c)
|
|
6771
6771
|
try {
|
|
6772
|
-
const m =
|
|
6772
|
+
const m = Mo(c);
|
|
6773
6773
|
r((u) => ({
|
|
6774
6774
|
...u,
|
|
6775
6775
|
userId: m.sub,
|
|
@@ -6781,7 +6781,7 @@ function zl({ children: t }) {
|
|
|
6781
6781
|
r(null);
|
|
6782
6782
|
}
|
|
6783
6783
|
}, []);
|
|
6784
|
-
const n = a?.userId ?? "", { data: o, isSuccess: s } =
|
|
6784
|
+
const n = a?.userId ?? "", { data: o, isSuccess: s } = Il(n);
|
|
6785
6785
|
_(() => {
|
|
6786
6786
|
s && o && r((c) => ({
|
|
6787
6787
|
...c,
|
|
@@ -6802,7 +6802,7 @@ function qr() {
|
|
|
6802
6802
|
throw new Error("useUser must be used within a UserProvider");
|
|
6803
6803
|
return t;
|
|
6804
6804
|
}
|
|
6805
|
-
function
|
|
6805
|
+
function Dl() {
|
|
6806
6806
|
const { user: t, setUser: a } = qr();
|
|
6807
6807
|
return /* @__PURE__ */ i(Se, { children: [
|
|
6808
6808
|
/* @__PURE__ */ e(Ae, { asChild: !0, children: /* @__PURE__ */ e(T, { variant: "ghost", size: "icon", className: "h-10 w-10", children: /* @__PURE__ */ e(Na, { className: "h-8 w-8" }) }) }),
|
|
@@ -6832,13 +6832,13 @@ function Rl() {
|
|
|
6832
6832
|
] })
|
|
6833
6833
|
] });
|
|
6834
6834
|
}
|
|
6835
|
-
function
|
|
6836
|
-
const { data: t } =
|
|
6835
|
+
function Tl() {
|
|
6836
|
+
const { data: t } = Al(), { user: a, setAccountName: r } = qr(), n = (l) => l ? l.split(" ").map((c) => c[0]).join("").toUpperCase().slice(0, 2) : "UN";
|
|
6837
6837
|
_(() => {
|
|
6838
6838
|
const l = t?.find((c) => c.accountId === a?.activeAccountId);
|
|
6839
6839
|
r(l?.accountName || "");
|
|
6840
6840
|
}, [t]);
|
|
6841
|
-
const { mutateAsync: o } =
|
|
6841
|
+
const { mutateAsync: o } = Sl(), s = async (l) => {
|
|
6842
6842
|
await o(l.accountId), r(l.accountName);
|
|
6843
6843
|
};
|
|
6844
6844
|
return /* @__PURE__ */ i(Se, { children: [
|
|
@@ -6886,8 +6886,8 @@ function Dl() {
|
|
|
6886
6886
|
)
|
|
6887
6887
|
] });
|
|
6888
6888
|
}
|
|
6889
|
-
function
|
|
6890
|
-
const { IKON_PLATFORM_UI_URL: t } = ge(), { data: a } =
|
|
6889
|
+
function Pl() {
|
|
6890
|
+
const { IKON_PLATFORM_UI_URL: t } = ge(), { data: a } = zl();
|
|
6891
6891
|
function r(n) {
|
|
6892
6892
|
return n.split("-").map((o) => o.charAt(0).toUpperCase() + o.slice(1)).join("");
|
|
6893
6893
|
}
|
|
@@ -6928,11 +6928,11 @@ function Tl() {
|
|
|
6928
6928
|
}) })
|
|
6929
6929
|
] });
|
|
6930
6930
|
}
|
|
6931
|
-
const
|
|
6931
|
+
const _l = () => {
|
|
6932
6932
|
const { IKON_PLATFORM_UI_URL: t } = ge();
|
|
6933
6933
|
return /* @__PURE__ */ e(Ge, { delayDuration: 0, children: /* @__PURE__ */ i("aside", { className: "fixed left-0 top-0 z-20 h-screen w-12 border-r border-border bg-sidebar text-sidebar-foreground flex flex-col items-center py-4 ", children: [
|
|
6934
|
-
/* @__PURE__ */ e(Dl, {}),
|
|
6935
6934
|
/* @__PURE__ */ e(Tl, {}),
|
|
6935
|
+
/* @__PURE__ */ e(Pl, {}),
|
|
6936
6936
|
/* @__PURE__ */ i(se, { children: [
|
|
6937
6937
|
/* @__PURE__ */ e(le, { asChild: !0, className: "h-8 w-8", children: /* @__PURE__ */ e(T, { variant: "ghost", className: "h-10 w-10", asChild: !0, children: /* @__PURE__ */ i(Ee, { to: `${t}/settings`, children: [
|
|
6938
6938
|
/* @__PURE__ */ e(Fn, { className: "h-8 w-8" }),
|
|
@@ -6940,24 +6940,24 @@ const Pl = () => {
|
|
|
6940
6940
|
] }) }) }),
|
|
6941
6941
|
/* @__PURE__ */ e(de, { side: "right", sideOffset: 5, children: "Settings" })
|
|
6942
6942
|
] }, "settings"),
|
|
6943
|
-
/* @__PURE__ */ e(
|
|
6943
|
+
/* @__PURE__ */ e(Dl, {})
|
|
6944
6944
|
] }) });
|
|
6945
6945
|
};
|
|
6946
|
-
function
|
|
6946
|
+
function Ml({ children: t }) {
|
|
6947
6947
|
return /* @__PURE__ */ i(E, { children: [
|
|
6948
|
-
/* @__PURE__ */ e(
|
|
6949
|
-
/* @__PURE__ */ e(
|
|
6950
|
-
/* @__PURE__ */ e(
|
|
6951
|
-
/* @__PURE__ */ i(
|
|
6952
|
-
/* @__PURE__ */ e(
|
|
6948
|
+
/* @__PURE__ */ e(_l, {}),
|
|
6949
|
+
/* @__PURE__ */ e(is, { children: /* @__PURE__ */ e(Qs, { children: /* @__PURE__ */ i(vl, { children: [
|
|
6950
|
+
/* @__PURE__ */ e(Nl, {}),
|
|
6951
|
+
/* @__PURE__ */ i(cs, { className: "flex flex-col h-screen", children: [
|
|
6952
|
+
/* @__PURE__ */ e(Cl, {}),
|
|
6953
6953
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4 p-4 pt-0 ml-12 grow overflow-auto scrollbar-hidden", children: t }),
|
|
6954
|
-
/* @__PURE__ */ e(
|
|
6954
|
+
/* @__PURE__ */ e(yl, {})
|
|
6955
6955
|
] })
|
|
6956
6956
|
] }) }) })
|
|
6957
6957
|
] });
|
|
6958
6958
|
}
|
|
6959
6959
|
const Yr = je(void 0);
|
|
6960
|
-
function
|
|
6960
|
+
function Fl({ children: t }) {
|
|
6961
6961
|
const [a, r] = z("Poppins"), [n, o] = z(!1);
|
|
6962
6962
|
_(() => {
|
|
6963
6963
|
o(!0);
|
|
@@ -6975,13 +6975,13 @@ function Ml({ children: t }) {
|
|
|
6975
6975
|
const s = gt(() => ({ font: a, setFont: r }), [a]);
|
|
6976
6976
|
return /* @__PURE__ */ e(Yr.Provider, { value: s, children: t });
|
|
6977
6977
|
}
|
|
6978
|
-
const
|
|
6978
|
+
const tm = () => {
|
|
6979
6979
|
const t = Ue(Yr);
|
|
6980
6980
|
if (t === void 0)
|
|
6981
6981
|
throw new Error("useFont must be used within a FontProvider");
|
|
6982
6982
|
return t;
|
|
6983
6983
|
}, Jr = je(void 0);
|
|
6984
|
-
function
|
|
6984
|
+
function El({ children: t }) {
|
|
6985
6985
|
const [a, r] = z(0.5), [n, o] = z(!1);
|
|
6986
6986
|
_(() => {
|
|
6987
6987
|
o(!0);
|
|
@@ -6998,37 +6998,37 @@ function Fl({ children: t }) {
|
|
|
6998
6998
|
const s = gt(() => ({ radius: a, setRadius: r }), [a]);
|
|
6999
6999
|
return /* @__PURE__ */ e(Jr.Provider, { value: s, children: t });
|
|
7000
7000
|
}
|
|
7001
|
-
const
|
|
7001
|
+
const am = () => {
|
|
7002
7002
|
const t = Ue(Jr);
|
|
7003
7003
|
if (t === void 0)
|
|
7004
7004
|
throw new Error("useRadius must be used within a RadiusProvider");
|
|
7005
7005
|
return t;
|
|
7006
7006
|
}, Qr = je(void 0);
|
|
7007
|
-
function
|
|
7007
|
+
function Ll({ children: t }) {
|
|
7008
7008
|
const [a, r] = z(0), n = Ve(() => {
|
|
7009
7009
|
r((o) => o + 1);
|
|
7010
7010
|
}, []);
|
|
7011
7011
|
return /* @__PURE__ */ e(Qr.Provider, { value: { refresh: n, refreshCounter: a }, children: t });
|
|
7012
7012
|
}
|
|
7013
|
-
function
|
|
7013
|
+
function rm() {
|
|
7014
7014
|
const t = Ue(Qr);
|
|
7015
7015
|
if (t === void 0)
|
|
7016
7016
|
throw new Error("useRefresh must be used within a RefreshProvider");
|
|
7017
7017
|
return t;
|
|
7018
7018
|
}
|
|
7019
|
-
const
|
|
7020
|
-
function
|
|
7021
|
-
return /* @__PURE__ */ e(
|
|
7019
|
+
const Ol = new Lo();
|
|
7020
|
+
function jl({ children: t }) {
|
|
7021
|
+
return /* @__PURE__ */ e(Oo, { client: Ol, children: t });
|
|
7022
7022
|
}
|
|
7023
|
-
function
|
|
7023
|
+
function nm({ children: t }) {
|
|
7024
7024
|
const a = ge();
|
|
7025
7025
|
if (!a.IKON_BASE_API_URL || !a.IKON_PLATFORM_UI_URL || !a.LOGIN_PAGE_URL)
|
|
7026
7026
|
throw new Error(
|
|
7027
7027
|
"[IKON] ProviderWrapper: Ikon config not set. Please call setIkonConfig() before rendering ProviderWrapper."
|
|
7028
7028
|
);
|
|
7029
|
-
return /* @__PURE__ */ e(
|
|
7029
|
+
return /* @__PURE__ */ e(jl, { children: /* @__PURE__ */ e(Rl, { children: /* @__PURE__ */ e(ws, { children: /* @__PURE__ */ e(Fl, { children: /* @__PURE__ */ e(El, { children: /* @__PURE__ */ e(hl, { children: /* @__PURE__ */ e(Ll, { children: /* @__PURE__ */ e(_o, { children: /* @__PURE__ */ e(Ml, { children: t }) }) }) }) }) }) }) }) });
|
|
7030
7030
|
}
|
|
7031
|
-
function
|
|
7031
|
+
function om({ activityLogs: t = [] }) {
|
|
7032
7032
|
const a = [
|
|
7033
7033
|
{
|
|
7034
7034
|
tabName: "Activity",
|
|
@@ -7051,21 +7051,21 @@ function nm({ activityLogs: t = [] }) {
|
|
|
7051
7051
|
tabName: "File Upload",
|
|
7052
7052
|
tabId: "tab-upload",
|
|
7053
7053
|
default: !1,
|
|
7054
|
-
tabContent: /* @__PURE__ */ e(
|
|
7054
|
+
tabContent: /* @__PURE__ */ e(wl, {})
|
|
7055
7055
|
}
|
|
7056
7056
|
];
|
|
7057
7057
|
return /* @__PURE__ */ e(
|
|
7058
|
-
|
|
7058
|
+
ll,
|
|
7059
7059
|
{
|
|
7060
7060
|
buttonText: "",
|
|
7061
7061
|
buttonIcon: /* @__PURE__ */ e(En, {}),
|
|
7062
7062
|
sheetTitle: "",
|
|
7063
|
-
sheetContent: /* @__PURE__ */ e(
|
|
7063
|
+
sheetContent: /* @__PURE__ */ e(cl, { tabArray: a, tabListClass: "" }),
|
|
7064
7064
|
closeButton: !0
|
|
7065
7065
|
}
|
|
7066
7066
|
);
|
|
7067
7067
|
}
|
|
7068
|
-
const
|
|
7068
|
+
const Ul = ({ src: t, onCroppedImage: a, aspectRatio: r, rotationAngle: n, zoomLevel: o, moveDirection: s }) => {
|
|
7069
7069
|
const l = q(null);
|
|
7070
7070
|
function c(m) {
|
|
7071
7071
|
const u = l.current?.cropper;
|
|
@@ -7114,12 +7114,12 @@ const jl = ({ src: t, onCroppedImage: a, aspectRatio: r, rotationAngle: n, zoomL
|
|
|
7114
7114
|
cropBoxResizable: !1
|
|
7115
7115
|
}
|
|
7116
7116
|
);
|
|
7117
|
-
},
|
|
7117
|
+
}, Bl = Rt(Ul), Ua = {
|
|
7118
7118
|
landscape: 4 / 3,
|
|
7119
7119
|
portrait: 3 / 4,
|
|
7120
7120
|
icon: 1 / 1
|
|
7121
7121
|
};
|
|
7122
|
-
function
|
|
7122
|
+
function $l({ onNewFileUpload: t }) {
|
|
7123
7123
|
const {
|
|
7124
7124
|
originalImage: a,
|
|
7125
7125
|
setOriginalImage: r,
|
|
@@ -7178,7 +7178,7 @@ function Bl({ onNewFileUpload: t }) {
|
|
|
7178
7178
|
/* @__PURE__ */ i("div", { className: "w-full flex flex-col gap-4", children: [
|
|
7179
7179
|
/* @__PURE__ */ e(Me, { htmlFor: "imageName", children: "Image Name" }),
|
|
7180
7180
|
/* @__PURE__ */ e(
|
|
7181
|
-
|
|
7181
|
+
sl,
|
|
7182
7182
|
{
|
|
7183
7183
|
id: "inputImage",
|
|
7184
7184
|
accept: "image/*",
|
|
@@ -7222,7 +7222,7 @@ function Bl({ onNewFileUpload: t }) {
|
|
|
7222
7222
|
onDrop: k,
|
|
7223
7223
|
onDragOver: (x) => x.preventDefault(),
|
|
7224
7224
|
children: C ? /* @__PURE__ */ e(
|
|
7225
|
-
|
|
7225
|
+
Bl,
|
|
7226
7226
|
{
|
|
7227
7227
|
src: C,
|
|
7228
7228
|
onCroppedImage: l,
|
|
@@ -7357,15 +7357,15 @@ function Bl({ onNewFileUpload: t }) {
|
|
|
7357
7357
|
] })
|
|
7358
7358
|
] }) });
|
|
7359
7359
|
}
|
|
7360
|
-
const
|
|
7361
|
-
function
|
|
7360
|
+
const Vl = Rt($l);
|
|
7361
|
+
function Gl({ open: t, onOpenChange: a, onCropperChange: r }) {
|
|
7362
7362
|
const { originalImage: n, aspectRatioWiseImages: o } = Zr();
|
|
7363
7363
|
return /* @__PURE__ */ e(ca, { modal: !0, open: t, onOpenChange: (s) => {
|
|
7364
7364
|
a(s);
|
|
7365
7365
|
}, children: /* @__PURE__ */ i(ua, { className: "max-w-full lg:max-w-5xl max-h-full overflow-auto", children: [
|
|
7366
7366
|
/* @__PURE__ */ e(Rr, { children: /* @__PURE__ */ e(ma, { children: "Image to upload" }) }),
|
|
7367
|
-
/* @__PURE__ */ e(
|
|
7368
|
-
/* @__PURE__ */ e(
|
|
7367
|
+
/* @__PURE__ */ e(Vl, {}),
|
|
7368
|
+
/* @__PURE__ */ e(Pi, { children: /* @__PURE__ */ e(Lt, { onClick: () => {
|
|
7369
7369
|
r(n, o), a(!1);
|
|
7370
7370
|
}, children: "Save Changes" }) })
|
|
7371
7371
|
] }) });
|
|
@@ -7379,7 +7379,7 @@ async function Ct(t, a = "") {
|
|
|
7379
7379
|
return console.error("Error getting resource URL:", r), null;
|
|
7380
7380
|
}
|
|
7381
7381
|
}
|
|
7382
|
-
async function
|
|
7382
|
+
async function Wl(t) {
|
|
7383
7383
|
if (!t)
|
|
7384
7384
|
return null;
|
|
7385
7385
|
const a = t.originalImageInfo ? await Ct(t.originalImageInfo) : null, r = t.landscapeImageInfo ? await Ct(t.landscapeImageInfo) : null, n = t.portraitImageInfo ? await Ct(t.portraitImageInfo) : null, o = t.iconImageInfo ? await Ct(t.iconImageInfo) : null;
|
|
@@ -7397,7 +7397,7 @@ async function Gl(t) {
|
|
|
7397
7397
|
};
|
|
7398
7398
|
}
|
|
7399
7399
|
const Xr = je(void 0);
|
|
7400
|
-
function
|
|
7400
|
+
function im({ children: t, uploadedImages: a, onCropperChange: r, modalOpen: n, onModalOpenChange: o }) {
|
|
7401
7401
|
const [s, l] = z({
|
|
7402
7402
|
landscape: null,
|
|
7403
7403
|
portrait: null,
|
|
@@ -7411,7 +7411,7 @@ function om({ children: t, uploadedImages: a, onCropperChange: r, modalOpen: n,
|
|
|
7411
7411
|
async function u() {
|
|
7412
7412
|
if (a)
|
|
7413
7413
|
try {
|
|
7414
|
-
const f = await
|
|
7414
|
+
const f = await Wl(a);
|
|
7415
7415
|
f && (m(
|
|
7416
7416
|
(g) => JSON.stringify(g) === JSON.stringify(f.originalImage) ? g : f.originalImage
|
|
7417
7417
|
), l(
|
|
@@ -7429,7 +7429,7 @@ function om({ children: t, uploadedImages: a, onCropperChange: r, modalOpen: n,
|
|
|
7429
7429
|
setAspectRatioWiseImages: l
|
|
7430
7430
|
}, children: [
|
|
7431
7431
|
t,
|
|
7432
|
-
n && o && /* @__PURE__ */ e(
|
|
7432
|
+
n && o && /* @__PURE__ */ e(Gl, { open: n, onOpenChange: o, onCropperChange: r })
|
|
7433
7433
|
] });
|
|
7434
7434
|
}
|
|
7435
7435
|
const Zr = () => {
|
|
@@ -7437,7 +7437,7 @@ const Zr = () => {
|
|
|
7437
7437
|
if (!t)
|
|
7438
7438
|
throw new Error("useImageCropper must be used within a ImageCropperProvider");
|
|
7439
7439
|
return t;
|
|
7440
|
-
},
|
|
7440
|
+
}, Hl = ({ imageSrc: t, onCroppedImage: a, aspectRatio: r, rotationAngle: n, zoomLevel: o, moveDirection: s, currentState: l }) => {
|
|
7441
7441
|
const c = q(null), m = () => {
|
|
7442
7442
|
const u = c.current?.cropper;
|
|
7443
7443
|
if (u) {
|
|
@@ -7486,7 +7486,7 @@ const Zr = () => {
|
|
|
7486
7486
|
cropBoxResizable: !1
|
|
7487
7487
|
}
|
|
7488
7488
|
);
|
|
7489
|
-
},
|
|
7489
|
+
}, Kl = ({
|
|
7490
7490
|
open: t,
|
|
7491
7491
|
setOpen: a,
|
|
7492
7492
|
onImageSubmit: r
|
|
@@ -7622,7 +7622,7 @@ const Zr = () => {
|
|
|
7622
7622
|
onDrop: I,
|
|
7623
7623
|
onDragOver: (M) => M.preventDefault(),
|
|
7624
7624
|
children: n ? /* @__PURE__ */ e(
|
|
7625
|
-
|
|
7625
|
+
Hl,
|
|
7626
7626
|
{
|
|
7627
7627
|
imageSrc: n,
|
|
7628
7628
|
onCroppedImage: l,
|
|
@@ -7715,14 +7715,14 @@ const Zr = () => {
|
|
|
7715
7715
|
/* @__PURE__ */ e("div", { className: "w-2/5 flex flex-row-reverse", children: /* @__PURE__ */ e(T, { onClick: h, children: "Save" }) })
|
|
7716
7716
|
] })
|
|
7717
7717
|
] });
|
|
7718
|
-
},
|
|
7719
|
-
function
|
|
7718
|
+
}, sm = Rt(Kl);
|
|
7719
|
+
function lm() {
|
|
7720
7720
|
return /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ i("div", { className: "bg-background text-forefround rounded-xl p-6 text-center max-w-md", children: [
|
|
7721
7721
|
/* @__PURE__ */ e("div", { className: "text-3xl font-bold mb-2 animate-pulse", children: "🚧 Work in Progress" }),
|
|
7722
7722
|
/* @__PURE__ */ e("p", { className: "text-muted-foreground", children: "We’re currently working on this section. Check back soon!" })
|
|
7723
7723
|
] }) });
|
|
7724
7724
|
}
|
|
7725
|
-
function
|
|
7725
|
+
function dm({
|
|
7726
7726
|
formControl: t,
|
|
7727
7727
|
name: a,
|
|
7728
7728
|
label: r,
|
|
@@ -7904,15 +7904,15 @@ const ce = ra(({ children: t, tooltip: a, side: r = "bottom", className: n, ...o
|
|
|
7904
7904
|
/* @__PURE__ */ e(de, { side: r, children: a })
|
|
7905
7905
|
] }));
|
|
7906
7906
|
ce.displayName = "TooltipIconButton";
|
|
7907
|
-
const
|
|
7908
|
-
|
|
7907
|
+
const ql = () => /* @__PURE__ */ e(
|
|
7908
|
+
Vo,
|
|
7909
7909
|
{
|
|
7910
|
-
remarkPlugins: [
|
|
7910
|
+
remarkPlugins: [Go],
|
|
7911
7911
|
className: "aui-md",
|
|
7912
|
-
components:
|
|
7912
|
+
components: Xl
|
|
7913
7913
|
}
|
|
7914
|
-
),
|
|
7915
|
-
const { isCopied: r, copyToClipboard: n } =
|
|
7914
|
+
), Yl = Rt(ql), Jl = ({ language: t, code: a }) => {
|
|
7915
|
+
const { isCopied: r, copyToClipboard: n } = Ql();
|
|
7916
7916
|
return /* @__PURE__ */ i("div", { className: "aui-code-header-root mt-4 flex items-center justify-between gap-4 rounded-t-lg bg-muted-foreground/15 px-4 py-2 font-semibold text-foreground text-sm dark:bg-muted-foreground/20", children: [
|
|
7917
7917
|
/* @__PURE__ */ e("span", { className: "aui-code-header-language lowercase [&>span]:text-xs", children: t }),
|
|
7918
7918
|
/* @__PURE__ */ i(ce, { tooltip: "Copy", onClick: () => {
|
|
@@ -7922,7 +7922,7 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
7922
7922
|
r && /* @__PURE__ */ e(rt, {})
|
|
7923
7923
|
] })
|
|
7924
7924
|
] });
|
|
7925
|
-
},
|
|
7925
|
+
}, Ql = ({
|
|
7926
7926
|
copiedDuration: t = 3e3
|
|
7927
7927
|
} = {}) => {
|
|
7928
7928
|
const [a, r] = z(!1);
|
|
@@ -7931,7 +7931,7 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
7931
7931
|
r(!0), setTimeout(() => r(!1), t);
|
|
7932
7932
|
});
|
|
7933
7933
|
} };
|
|
7934
|
-
},
|
|
7934
|
+
}, Xl = Bo({
|
|
7935
7935
|
h1: ({ className: t, ...a }) => /* @__PURE__ */ e(
|
|
7936
7936
|
"h1",
|
|
7937
7937
|
{
|
|
@@ -8092,7 +8092,7 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
8092
8092
|
}
|
|
8093
8093
|
),
|
|
8094
8094
|
code: function({ className: a, ...r }) {
|
|
8095
|
-
const n =
|
|
8095
|
+
const n = $o();
|
|
8096
8096
|
return /* @__PURE__ */ e(
|
|
8097
8097
|
"code",
|
|
8098
8098
|
{
|
|
@@ -8104,8 +8104,8 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
8104
8104
|
}
|
|
8105
8105
|
);
|
|
8106
8106
|
},
|
|
8107
|
-
CodeHeader:
|
|
8108
|
-
}),
|
|
8107
|
+
CodeHeader: Jl
|
|
8108
|
+
}), Zl = ({
|
|
8109
8109
|
toolName: t,
|
|
8110
8110
|
argsText: a,
|
|
8111
8111
|
result: r,
|
|
@@ -8171,7 +8171,7 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
8171
8171
|
if (!n.has(o) || !Object.is(s, n.get(o)))
|
|
8172
8172
|
return !1;
|
|
8173
8173
|
return !0;
|
|
8174
|
-
},
|
|
8174
|
+
}, ed = (t, a) => {
|
|
8175
8175
|
const r = t[Symbol.iterator](), n = a[Symbol.iterator]();
|
|
8176
8176
|
let o = r.next(), s = n.next();
|
|
8177
8177
|
for (; !o.done && !s.done; ) {
|
|
@@ -8181,20 +8181,20 @@ const Kl = () => /* @__PURE__ */ e(
|
|
|
8181
8181
|
}
|
|
8182
8182
|
return !!o.done && !!s.done;
|
|
8183
8183
|
};
|
|
8184
|
-
function
|
|
8185
|
-
return Object.is(t, a) ? !0 : typeof t != "object" || t === null || typeof a != "object" || a === null || Object.getPrototypeOf(t) !== Object.getPrototypeOf(a) ? !1 : Ba(t) && Ba(a) ? $a(t) && $a(a) ? Va(t, a) :
|
|
8184
|
+
function td(t, a) {
|
|
8185
|
+
return Object.is(t, a) ? !0 : typeof t != "object" || t === null || typeof a != "object" || a === null || Object.getPrototypeOf(t) !== Object.getPrototypeOf(a) ? !1 : Ba(t) && Ba(a) ? $a(t) && $a(a) ? Va(t, a) : ed(t, a) : Va(
|
|
8186
8186
|
{ entries: () => Object.entries(t) },
|
|
8187
8187
|
{ entries: () => Object.entries(a) }
|
|
8188
8188
|
);
|
|
8189
8189
|
}
|
|
8190
|
-
function
|
|
8190
|
+
function ad(t) {
|
|
8191
8191
|
const a = re.useRef(void 0);
|
|
8192
8192
|
return (r) => {
|
|
8193
8193
|
const n = t(r);
|
|
8194
|
-
return
|
|
8194
|
+
return td(a.current, n) ? a.current : a.current = n;
|
|
8195
8195
|
};
|
|
8196
8196
|
}
|
|
8197
|
-
const
|
|
8197
|
+
const rd = (t) => {
|
|
8198
8198
|
const [a, r] = z(void 0);
|
|
8199
8199
|
return _(() => {
|
|
8200
8200
|
if (!t) {
|
|
@@ -8208,15 +8208,15 @@ const ad = (t) => {
|
|
|
8208
8208
|
}, [t]), a;
|
|
8209
8209
|
}, en = () => {
|
|
8210
8210
|
const { file: t, src: a } = St(
|
|
8211
|
-
|
|
8211
|
+
ad(({ attachment: r }) => {
|
|
8212
8212
|
if (r.type !== "image") return {};
|
|
8213
8213
|
if (r.file) return { file: r.file };
|
|
8214
8214
|
const n = r.content?.filter((o) => o.type === "image")[0]?.image;
|
|
8215
8215
|
return n ? { src: n } : {};
|
|
8216
8216
|
})
|
|
8217
8217
|
);
|
|
8218
|
-
return
|
|
8219
|
-
},
|
|
8218
|
+
return rd(t) ?? a;
|
|
8219
|
+
}, nd = ({ src: t }) => {
|
|
8220
8220
|
const [a, r] = z(!1);
|
|
8221
8221
|
return (
|
|
8222
8222
|
// <Image
|
|
@@ -8245,11 +8245,11 @@ const ad = (t) => {
|
|
|
8245
8245
|
}
|
|
8246
8246
|
)
|
|
8247
8247
|
);
|
|
8248
|
-
},
|
|
8248
|
+
}, od = ({ children: t }) => {
|
|
8249
8249
|
const a = en();
|
|
8250
8250
|
return a ? /* @__PURE__ */ i(ca, { children: [
|
|
8251
8251
|
/* @__PURE__ */ e(
|
|
8252
|
-
|
|
8252
|
+
Ri,
|
|
8253
8253
|
{
|
|
8254
8254
|
className: "aui-attachment-preview-trigger cursor-pointer transition-colors hover:bg-accent/50",
|
|
8255
8255
|
asChild: !0,
|
|
@@ -8258,26 +8258,26 @@ const ad = (t) => {
|
|
|
8258
8258
|
),
|
|
8259
8259
|
/* @__PURE__ */ i(ua, { className: "aui-attachment-preview-dialog-content p-2 sm:max-w-3xl [&>button]:rounded-full [&>button]:bg-foreground/60 [&>button]:p-1 [&>button]:opacity-100 [&>button]:ring-0! [&_svg]:text-background [&>button]:hover:[&_svg]:text-destructive", children: [
|
|
8260
8260
|
/* @__PURE__ */ e(ma, { className: "aui-sr-only sr-only", children: "Image Attachment Preview" }),
|
|
8261
|
-
/* @__PURE__ */ e("div", { className: "aui-attachment-preview relative mx-auto flex max-h-[80dvh] w-full items-center justify-center overflow-hidden bg-background", children: /* @__PURE__ */ e(
|
|
8261
|
+
/* @__PURE__ */ e("div", { className: "aui-attachment-preview relative mx-auto flex max-h-[80dvh] w-full items-center justify-center overflow-hidden bg-background", children: /* @__PURE__ */ e(nd, { src: a }) })
|
|
8262
8262
|
] })
|
|
8263
8263
|
] }) : t;
|
|
8264
|
-
},
|
|
8264
|
+
}, id = () => {
|
|
8265
8265
|
const t = St(
|
|
8266
8266
|
({ attachment: r }) => r.type === "image"
|
|
8267
8267
|
), a = en();
|
|
8268
|
-
return /* @__PURE__ */ i(
|
|
8268
|
+
return /* @__PURE__ */ i(yi, { className: "aui-attachment-tile-avatar h-full w-full rounded-none", children: [
|
|
8269
8269
|
/* @__PURE__ */ e(
|
|
8270
|
-
|
|
8270
|
+
Ci,
|
|
8271
8271
|
{
|
|
8272
8272
|
src: a,
|
|
8273
8273
|
alt: "Attachment preview",
|
|
8274
8274
|
className: "aui-attachment-tile-image object-cover"
|
|
8275
8275
|
}
|
|
8276
8276
|
),
|
|
8277
|
-
/* @__PURE__ */ e(
|
|
8277
|
+
/* @__PURE__ */ e(ki, { delayMs: t ? 200 : 0, children: /* @__PURE__ */ e(jn, { className: "aui-attachment-tile-fallback-icon size-8 text-muted-foreground" }) })
|
|
8278
8278
|
] });
|
|
8279
8279
|
}, tn = () => {
|
|
8280
|
-
const a =
|
|
8280
|
+
const a = jo().attachment.source === "composer", r = St(
|
|
8281
8281
|
({ attachment: o }) => o.type === "image"
|
|
8282
8282
|
), n = St(({ attachment: o }) => {
|
|
8283
8283
|
const s = o.type;
|
|
@@ -8303,7 +8303,7 @@ const ad = (t) => {
|
|
|
8303
8303
|
r && "aui-attachment-root-composer only:[&>#attachment-tile]:size-24"
|
|
8304
8304
|
),
|
|
8305
8305
|
children: [
|
|
8306
|
-
/* @__PURE__ */ e(
|
|
8306
|
+
/* @__PURE__ */ e(od, { children: /* @__PURE__ */ e(le, { asChild: !0, children: /* @__PURE__ */ e(
|
|
8307
8307
|
"div",
|
|
8308
8308
|
{
|
|
8309
8309
|
className: d(
|
|
@@ -8313,16 +8313,16 @@ const ad = (t) => {
|
|
|
8313
8313
|
role: "button",
|
|
8314
8314
|
id: "attachment-tile",
|
|
8315
8315
|
"aria-label": `${n} attachment`,
|
|
8316
|
-
children: /* @__PURE__ */ e(
|
|
8316
|
+
children: /* @__PURE__ */ e(id, {})
|
|
8317
8317
|
}
|
|
8318
8318
|
) }) }),
|
|
8319
|
-
a && /* @__PURE__ */ e(
|
|
8319
|
+
a && /* @__PURE__ */ e(sd, {})
|
|
8320
8320
|
]
|
|
8321
8321
|
}
|
|
8322
8322
|
),
|
|
8323
8323
|
/* @__PURE__ */ e(de, { side: "top", children: /* @__PURE__ */ e(Wt.Name, {}) })
|
|
8324
8324
|
] });
|
|
8325
|
-
},
|
|
8325
|
+
}, sd = () => /* @__PURE__ */ e(Wt.Remove, { asChild: !0, children: /* @__PURE__ */ e(
|
|
8326
8326
|
ce,
|
|
8327
8327
|
{
|
|
8328
8328
|
tooltip: "Remove file",
|
|
@@ -8330,12 +8330,12 @@ const ad = (t) => {
|
|
|
8330
8330
|
side: "top",
|
|
8331
8331
|
children: /* @__PURE__ */ e(Zt, { className: "aui-attachment-remove-icon size-3 dark:stroke-[2.5px]" })
|
|
8332
8332
|
}
|
|
8333
|
-
) }),
|
|
8333
|
+
) }), ld = () => /* @__PURE__ */ e("div", { className: "aui-user-message-attachments-end col-span-full col-start-1 row-start-1 flex w-full flex-row justify-end gap-2", children: /* @__PURE__ */ e(Ce.Attachments, { components: { Attachment: tn } }) }), dd = () => /* @__PURE__ */ e("div", { className: "aui-composer-attachments mb-2 flex w-full flex-row items-center gap-2 overflow-x-auto px-1.5 pt-0.5 pb-1 empty:hidden", children: /* @__PURE__ */ e(
|
|
8334
8334
|
ne.Attachments,
|
|
8335
8335
|
{
|
|
8336
8336
|
components: { Attachment: tn }
|
|
8337
8337
|
}
|
|
8338
|
-
) }),
|
|
8338
|
+
) }), cd = () => /* @__PURE__ */ e(ne.AddAttachment, { asChild: !0, children: /* @__PURE__ */ e(
|
|
8339
8339
|
ce,
|
|
8340
8340
|
{
|
|
8341
8341
|
tooltip: "Add Attachment",
|
|
@@ -8346,7 +8346,7 @@ const ad = (t) => {
|
|
|
8346
8346
|
"aria-label": "Add Attachment",
|
|
8347
8347
|
children: /* @__PURE__ */ e(On, { className: "aui-attachment-add-icon size-5 stroke-[1.5px]" })
|
|
8348
8348
|
}
|
|
8349
|
-
) }),
|
|
8349
|
+
) }), ud = ({
|
|
8350
8350
|
agents: t,
|
|
8351
8351
|
selectedAgent: a,
|
|
8352
8352
|
onSelectAgent: r,
|
|
@@ -8391,7 +8391,7 @@ const ad = (t) => {
|
|
|
8391
8391
|
)) })
|
|
8392
8392
|
] }) : /* @__PURE__ */ e("div", { className: "px-2 py-1.5 text-sm text-muted-foreground text-center", children: "No agents available" }) })
|
|
8393
8393
|
] });
|
|
8394
|
-
},
|
|
8394
|
+
}, md = ({
|
|
8395
8395
|
currentUserDetails: t,
|
|
8396
8396
|
agents: a = [],
|
|
8397
8397
|
initialAgentId: r = "default-agent",
|
|
@@ -8414,21 +8414,21 @@ const ad = (t) => {
|
|
|
8414
8414
|
turnAnchor: "top",
|
|
8415
8415
|
className: "aui-thread-viewport relative flex flex-1 flex-col overflow-x-auto overflow-y-scroll scroll-smooth px-4 pt-4",
|
|
8416
8416
|
children: [
|
|
8417
|
-
/* @__PURE__ */ e(ye.If, { empty: !0, children: /* @__PURE__ */ e(
|
|
8417
|
+
/* @__PURE__ */ e(ye.If, { empty: !0, children: /* @__PURE__ */ e(gd, { currentUserDetails: t }) }),
|
|
8418
8418
|
/* @__PURE__ */ e(
|
|
8419
8419
|
ye.Messages,
|
|
8420
8420
|
{
|
|
8421
8421
|
components: {
|
|
8422
|
-
UserMessage:
|
|
8423
|
-
EditComposer:
|
|
8424
|
-
AssistantMessage:
|
|
8422
|
+
UserMessage: Nd,
|
|
8423
|
+
EditComposer: Cd,
|
|
8424
|
+
AssistantMessage: xd
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
8427
|
),
|
|
8428
8428
|
/* @__PURE__ */ i(ye.ViewportFooter, { className: "aui-thread-viewport-footer sticky bottom-0 mx-auto mt-4 flex w-full max-w-[var(--thread-max-width)] flex-col gap-4 overflow-visible rounded-t-3xl bg-background pb-4 md:pb-6", children: [
|
|
8429
|
-
/* @__PURE__ */ e(
|
|
8429
|
+
/* @__PURE__ */ e(fd, {}),
|
|
8430
8430
|
/* @__PURE__ */ e(
|
|
8431
|
-
|
|
8431
|
+
hd,
|
|
8432
8432
|
{
|
|
8433
8433
|
agents: a,
|
|
8434
8434
|
selectedAgent: s,
|
|
@@ -8443,7 +8443,7 @@ const ad = (t) => {
|
|
|
8443
8443
|
)
|
|
8444
8444
|
}
|
|
8445
8445
|
) }) });
|
|
8446
|
-
},
|
|
8446
|
+
}, fd = () => /* @__PURE__ */ e(ye.ScrollToBottom, { asChild: !0, children: /* @__PURE__ */ e(
|
|
8447
8447
|
ce,
|
|
8448
8448
|
{
|
|
8449
8449
|
tooltip: "Scroll to bottom",
|
|
@@ -8451,7 +8451,7 @@ const ad = (t) => {
|
|
|
8451
8451
|
className: "aui-thread-scroll-to-bottom absolute -top-12 z-10 self-center rounded-full p-4 disabled:invisible dark:bg-background dark:hover:bg-accent",
|
|
8452
8452
|
children: /* @__PURE__ */ e(Un, {})
|
|
8453
8453
|
}
|
|
8454
|
-
) }),
|
|
8454
|
+
) }), gd = ({
|
|
8455
8455
|
currentUserDetails: t
|
|
8456
8456
|
}) => {
|
|
8457
8457
|
const r = (/* @__PURE__ */ new Date()).getHours();
|
|
@@ -8480,9 +8480,9 @@ const ad = (t) => {
|
|
|
8480
8480
|
}
|
|
8481
8481
|
)
|
|
8482
8482
|
] }) }),
|
|
8483
|
-
/* @__PURE__ */ e(
|
|
8483
|
+
/* @__PURE__ */ e(pd, {})
|
|
8484
8484
|
] });
|
|
8485
|
-
},
|
|
8485
|
+
}, pd = () => /* @__PURE__ */ e("div", { className: "aui-thread-welcome-suggestions grid w-full gap-2 pb-4 @md:grid-cols-2", children: [
|
|
8486
8486
|
{
|
|
8487
8487
|
title: "What's the weather",
|
|
8488
8488
|
label: "in San Francisco?",
|
|
@@ -8533,8 +8533,8 @@ const ad = (t) => {
|
|
|
8533
8533
|
)
|
|
8534
8534
|
},
|
|
8535
8535
|
`suggested-action-${t.title}-${a}`
|
|
8536
|
-
)) }),
|
|
8537
|
-
/* @__PURE__ */ e(
|
|
8536
|
+
)) }), hd = ({ agents: t = [], selectedAgent: a, onSelectAgent: r }) => /* @__PURE__ */ e(ne.Root, { className: "aui-composer-root relative flex w-full flex-col", children: /* @__PURE__ */ i(ne.AttachmentDropzone, { className: "aui-composer-attachment-dropzone group/input-group flex w-full flex-col rounded-3xl border border-input bg-background px-1 pt-2 shadow-xs transition-[color,box-shadow] outline-none has-[textarea:focus-visible]:border-ring has-[textarea:focus-visible]:ring-[3px] has-[textarea:focus-visible]:ring-ring/50 data-[dragging=true]:border-dashed data-[dragging=true]:border-ring data-[dragging=true]:bg-accent/50 dark:bg-background", children: [
|
|
8537
|
+
/* @__PURE__ */ e(dd, {}),
|
|
8538
8538
|
/* @__PURE__ */ e(
|
|
8539
8539
|
ne.Input,
|
|
8540
8540
|
{
|
|
@@ -8546,18 +8546,18 @@ const ad = (t) => {
|
|
|
8546
8546
|
}
|
|
8547
8547
|
),
|
|
8548
8548
|
/* @__PURE__ */ e(
|
|
8549
|
-
|
|
8549
|
+
bd,
|
|
8550
8550
|
{
|
|
8551
8551
|
agents: t,
|
|
8552
8552
|
selectedAgent: a,
|
|
8553
8553
|
onSelectAgent: r
|
|
8554
8554
|
}
|
|
8555
8555
|
)
|
|
8556
|
-
] }) }),
|
|
8557
|
-
/* @__PURE__ */ e(
|
|
8556
|
+
] }) }), bd = ({ agents: t = [], selectedAgent: a, onSelectAgent: r }) => /* @__PURE__ */ i("div", { className: "aui-composer-action-wrapper relative mx-1 mt-2 mb-2 flex items-center justify-between", children: [
|
|
8557
|
+
/* @__PURE__ */ e(cd, {}),
|
|
8558
8558
|
/* @__PURE__ */ i("div", { className: "flex gap-3", children: [
|
|
8559
8559
|
t.length > 0 && /* @__PURE__ */ e(
|
|
8560
|
-
|
|
8560
|
+
ud,
|
|
8561
8561
|
{
|
|
8562
8562
|
agents: t,
|
|
8563
8563
|
selectedAgent: a,
|
|
@@ -8591,7 +8591,7 @@ const ad = (t) => {
|
|
|
8591
8591
|
}
|
|
8592
8592
|
) }) })
|
|
8593
8593
|
] })
|
|
8594
|
-
] }),
|
|
8594
|
+
] }), vd = () => /* @__PURE__ */ e(Ce.Error, { children: /* @__PURE__ */ e(Ia.Root, { className: "aui-message-error-root mt-2 rounded-md border border-destructive bg-destructive/10 p-3 text-sm text-destructive dark:bg-destructive/5 dark:text-red-200", children: /* @__PURE__ */ e(Ia.Message, { className: "aui-message-error-message line-clamp-2" }) }) }), xd = () => /* @__PURE__ */ i(
|
|
8595
8595
|
Ce.Root,
|
|
8596
8596
|
{
|
|
8597
8597
|
className: "aui-assistant-message-root relative mx-auto w-full max-w-[var(--thread-max-width)] animate-in py-4 duration-150 ease-out fade-in slide-in-from-bottom-1",
|
|
@@ -8602,20 +8602,20 @@ const ad = (t) => {
|
|
|
8602
8602
|
Ce.Parts,
|
|
8603
8603
|
{
|
|
8604
8604
|
components: {
|
|
8605
|
-
Text:
|
|
8606
|
-
tools: { Fallback:
|
|
8605
|
+
Text: Yl,
|
|
8606
|
+
tools: { Fallback: Zl }
|
|
8607
8607
|
}
|
|
8608
8608
|
}
|
|
8609
8609
|
),
|
|
8610
|
-
/* @__PURE__ */ e(
|
|
8610
|
+
/* @__PURE__ */ e(vd, {})
|
|
8611
8611
|
] }),
|
|
8612
8612
|
/* @__PURE__ */ i("div", { className: "aui-assistant-message-footer mt-2 ml-2 flex", children: [
|
|
8613
8613
|
/* @__PURE__ */ e(an, {}),
|
|
8614
|
-
/* @__PURE__ */ e(
|
|
8614
|
+
/* @__PURE__ */ e(wd, {})
|
|
8615
8615
|
] })
|
|
8616
8616
|
]
|
|
8617
8617
|
}
|
|
8618
|
-
),
|
|
8618
|
+
), wd = () => /* @__PURE__ */ i(
|
|
8619
8619
|
dt.Root,
|
|
8620
8620
|
{
|
|
8621
8621
|
hideWhenRunning: !0,
|
|
@@ -8630,21 +8630,21 @@ const ad = (t) => {
|
|
|
8630
8630
|
/* @__PURE__ */ e(dt.Reload, { asChild: !0, children: /* @__PURE__ */ e(ce, { tooltip: "Refresh", children: /* @__PURE__ */ e(Bn, {}) }) })
|
|
8631
8631
|
]
|
|
8632
8632
|
}
|
|
8633
|
-
),
|
|
8633
|
+
), Nd = () => /* @__PURE__ */ i(
|
|
8634
8634
|
Ce.Root,
|
|
8635
8635
|
{
|
|
8636
8636
|
className: "aui-user-message-root mx-auto grid w-full max-w-[var(--thread-max-width)] animate-in auto-rows-auto grid-cols-[minmax(72px,1fr)_auto] content-start gap-y-2 px-2 py-4 duration-150 ease-out fade-in slide-in-from-bottom-1 [&:where(>*)]:col-start-2",
|
|
8637
8637
|
"data-role": "user",
|
|
8638
8638
|
children: [
|
|
8639
|
-
/* @__PURE__ */ e(
|
|
8639
|
+
/* @__PURE__ */ e(ld, {}),
|
|
8640
8640
|
/* @__PURE__ */ i("div", { className: "aui-user-message-content-wrapper relative col-start-2 min-w-0", children: [
|
|
8641
8641
|
/* @__PURE__ */ e("div", { className: "aui-user-message-content rounded-3xl bg-muted px-5 py-2.5 break-words text-foreground", children: /* @__PURE__ */ e(Ce.Parts, {}) }),
|
|
8642
|
-
/* @__PURE__ */ e("div", { className: "aui-user-action-bar-wrapper absolute top-1/2 left-0 -translate-x-full -translate-y-1/2 pr-2", children: /* @__PURE__ */ e(
|
|
8642
|
+
/* @__PURE__ */ e("div", { className: "aui-user-action-bar-wrapper absolute top-1/2 left-0 -translate-x-full -translate-y-1/2 pr-2", children: /* @__PURE__ */ e(yd, {}) })
|
|
8643
8643
|
] }),
|
|
8644
8644
|
/* @__PURE__ */ e(an, { className: "aui-user-branch-picker col-span-full col-start-1 row-start-3 -mr-1 justify-end" })
|
|
8645
8645
|
]
|
|
8646
8646
|
}
|
|
8647
|
-
),
|
|
8647
|
+
), yd = () => /* @__PURE__ */ e(
|
|
8648
8648
|
dt.Root,
|
|
8649
8649
|
{
|
|
8650
8650
|
hideWhenRunning: !0,
|
|
@@ -8652,7 +8652,7 @@ const ad = (t) => {
|
|
|
8652
8652
|
className: "aui-user-action-bar-root flex flex-col items-end",
|
|
8653
8653
|
children: /* @__PURE__ */ e(dt.Edit, { asChild: !0, children: /* @__PURE__ */ e(ce, { tooltip: "Edit", className: "aui-user-action-edit p-4", children: /* @__PURE__ */ e($n, {}) }) })
|
|
8654
8654
|
}
|
|
8655
|
-
),
|
|
8655
|
+
), Cd = () => /* @__PURE__ */ e(Ce.Root, { className: "aui-edit-composer-wrapper mx-auto flex w-full max-w-[var(--thread-max-width)] flex-col gap-4 px-2", children: /* @__PURE__ */ i(ne.Root, { className: "aui-edit-composer-root ml-auto flex w-full max-w-7/8 flex-col rounded-xl bg-muted", children: [
|
|
8656
8656
|
/* @__PURE__ */ e(
|
|
8657
8657
|
ne.Input,
|
|
8658
8658
|
{
|
|
@@ -8687,7 +8687,7 @@ const ad = (t) => {
|
|
|
8687
8687
|
]
|
|
8688
8688
|
}
|
|
8689
8689
|
);
|
|
8690
|
-
class
|
|
8690
|
+
class kd {
|
|
8691
8691
|
agentConfig;
|
|
8692
8692
|
baseUrl;
|
|
8693
8693
|
chatIdMap = /* @__PURE__ */ new Map();
|
|
@@ -8839,7 +8839,7 @@ class Cd {
|
|
|
8839
8839
|
});
|
|
8840
8840
|
}
|
|
8841
8841
|
}
|
|
8842
|
-
const
|
|
8842
|
+
const cm = ({
|
|
8843
8843
|
provider: t = "openai",
|
|
8844
8844
|
model: a = "gpt-4o-mini",
|
|
8845
8845
|
agentId: r = "default-agent",
|
|
@@ -8853,7 +8853,7 @@ const dm = ({
|
|
|
8853
8853
|
currentUserDetails: f
|
|
8854
8854
|
}) => {
|
|
8855
8855
|
const [g, w] = z([]), [N, v] = z(), C = gt(
|
|
8856
|
-
() => new
|
|
8856
|
+
() => new kd({
|
|
8857
8857
|
provider: t,
|
|
8858
8858
|
model: a,
|
|
8859
8859
|
agentId: N ? N.agentID : r,
|
|
@@ -8874,7 +8874,7 @@ const dm = ({
|
|
|
8874
8874
|
c,
|
|
8875
8875
|
m
|
|
8876
8876
|
]
|
|
8877
|
-
), b =
|
|
8877
|
+
), b = Wo({
|
|
8878
8878
|
transport: C
|
|
8879
8879
|
}), k = async () => {
|
|
8880
8880
|
try {
|
|
@@ -8902,12 +8902,12 @@ const dm = ({
|
|
|
8902
8902
|
const p = (S) => {
|
|
8903
8903
|
v(S), console.log("Agent changed to:", S.agentName);
|
|
8904
8904
|
};
|
|
8905
|
-
return /* @__PURE__ */ e(
|
|
8905
|
+
return /* @__PURE__ */ e(Uo, { runtime: b, children: /* @__PURE__ */ e("div", { className: l, children: /* @__PURE__ */ e(
|
|
8906
8906
|
"div",
|
|
8907
8907
|
{
|
|
8908
8908
|
className: `flex flex-col h-full border rounded-lg overflow-hidden ${l}`,
|
|
8909
8909
|
children: /* @__PURE__ */ e(
|
|
8910
|
-
|
|
8910
|
+
md,
|
|
8911
8911
|
{
|
|
8912
8912
|
currentUserDetails: f,
|
|
8913
8913
|
agents: g,
|
|
@@ -8919,8 +8919,8 @@ const dm = ({
|
|
|
8919
8919
|
}
|
|
8920
8920
|
) }) });
|
|
8921
8921
|
};
|
|
8922
|
-
function
|
|
8923
|
-
const t = Dt(), { pathname: a } = Tt(), [r] = Pt(), [n, o] = z(r.get("search") || ""), [s] =
|
|
8922
|
+
function Id() {
|
|
8923
|
+
const t = Dt(), { pathname: a } = Tt(), [r] = Pt(), [n, o] = z(r.get("search") || ""), [s] = Ho(n, 500);
|
|
8924
8924
|
return _(() => {
|
|
8925
8925
|
const l = new URLSearchParams(r.toString());
|
|
8926
8926
|
s ? l.set("search", s) : l.delete("search"), l.get("search") !== r.get("search") && (l.set("page", "1"), t(`${a}?${l.toString()}`, { replace: !0 }));
|
|
@@ -8941,7 +8941,7 @@ function kd() {
|
|
|
8941
8941
|
)
|
|
8942
8942
|
] });
|
|
8943
8943
|
}
|
|
8944
|
-
function
|
|
8944
|
+
function Sd() {
|
|
8945
8945
|
const t = Dt(), { pathname: a } = Tt(), [r] = Pt(), n = r.get("size") || "10";
|
|
8946
8946
|
return /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
8947
8947
|
/* @__PURE__ */ e("span", { className: "text-sm text-muted-foreground", children: "Rows per page:" }),
|
|
@@ -8964,7 +8964,7 @@ function Id() {
|
|
|
8964
8964
|
)
|
|
8965
8965
|
] });
|
|
8966
8966
|
}
|
|
8967
|
-
function
|
|
8967
|
+
function Ad({ totalPages: t, currentPage: a }) {
|
|
8968
8968
|
const r = Dt(), { pathname: n } = Tt(), [o] = Pt(), s = (l) => {
|
|
8969
8969
|
const c = new URLSearchParams(o.toString());
|
|
8970
8970
|
c.set("page", l.toString()), r(`${n}?${c.toString()}`);
|
|
@@ -8999,7 +8999,7 @@ function Sd({ totalPages: t, currentPage: a }) {
|
|
|
8999
8999
|
)
|
|
9000
9000
|
] });
|
|
9001
9001
|
}
|
|
9002
|
-
function
|
|
9002
|
+
function zd({ table: t }) {
|
|
9003
9003
|
const [a, r] = z(!1), [n, o] = z(""), s = q(null), l = t.getState().columnFilters, m = t.getAllLeafColumns().filter((u) => u.getCanFilter()).filter(
|
|
9004
9004
|
(u) => u.id.toLowerCase().includes(n.toLowerCase())
|
|
9005
9005
|
);
|
|
@@ -9052,13 +9052,13 @@ function Ad({ table: t }) {
|
|
|
9052
9052
|
] })
|
|
9053
9053
|
] }) });
|
|
9054
9054
|
}
|
|
9055
|
-
function
|
|
9055
|
+
function Rd({ activeFilters: t, table: a }) {
|
|
9056
9056
|
return (
|
|
9057
9057
|
// {/* --- ACTIVE FILTER TAGS --- */}
|
|
9058
|
-
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2 min-w-max max-w-[70%] overflow-y-auto", children: t.map((r) => /* @__PURE__ */ e(
|
|
9058
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-2 min-w-max max-w-[70%] overflow-y-auto", children: t.map((r) => /* @__PURE__ */ e(Dd, { filter: r, table: a }, r.id)) })
|
|
9059
9059
|
);
|
|
9060
9060
|
}
|
|
9061
|
-
function
|
|
9061
|
+
function Dd({ filter: t, table: a }) {
|
|
9062
9062
|
debugger;
|
|
9063
9063
|
const [r, n] = z(!1), [o, s] = z(t.value || []), l = q(null), c = a.getColumn(t.id);
|
|
9064
9064
|
_(() => {
|
|
@@ -9145,7 +9145,7 @@ function Rd({ filter: t, table: a }) {
|
|
|
9145
9145
|
)
|
|
9146
9146
|
] });
|
|
9147
9147
|
}
|
|
9148
|
-
function
|
|
9148
|
+
function Td({ table: t }) {
|
|
9149
9149
|
const [a, r] = z(!1), n = q(null);
|
|
9150
9150
|
return _(() => {
|
|
9151
9151
|
function o(s) {
|
|
@@ -9198,7 +9198,7 @@ function Dd({ table: t }) {
|
|
|
9198
9198
|
] })
|
|
9199
9199
|
] });
|
|
9200
9200
|
}
|
|
9201
|
-
function
|
|
9201
|
+
function Pd({
|
|
9202
9202
|
data: t,
|
|
9203
9203
|
columns: a,
|
|
9204
9204
|
extraTools: r
|
|
@@ -9302,13 +9302,13 @@ function Td({
|
|
|
9302
9302
|
return /* @__PURE__ */ i("div", { className: "space-y-2", children: [
|
|
9303
9303
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2", children: [
|
|
9304
9304
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
9305
|
-
/* @__PURE__ */ e(
|
|
9306
|
-
/* @__PURE__ */ e(
|
|
9305
|
+
/* @__PURE__ */ e(Id, {}),
|
|
9306
|
+
/* @__PURE__ */ e(Rd, { activeFilters: F.getState().columnFilters, table: F })
|
|
9307
9307
|
] }),
|
|
9308
9308
|
/* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
|
|
9309
9309
|
r?.actionNode && r?.actionNode,
|
|
9310
|
-
/* @__PURE__ */ e(
|
|
9311
|
-
/* @__PURE__ */ e(
|
|
9310
|
+
/* @__PURE__ */ e(Td, { table: F }),
|
|
9311
|
+
/* @__PURE__ */ e(zd, { table: F }),
|
|
9312
9312
|
/* @__PURE__ */ e(T, { variant: "outline", size: "sm", className: " gap-2", onClick: () => we(), children: /* @__PURE__ */ e(Wn, { className: "w-4 h-4" }) }),
|
|
9313
9313
|
r?.toggleViewMode && /* @__PURE__ */ i("div", { className: "flex items-center border border-border rounded-md bg-background overflow-hidden h-9", children: [
|
|
9314
9314
|
/* @__PURE__ */ e(
|
|
@@ -9391,28 +9391,28 @@ function Td({
|
|
|
9391
9391
|
) }, I.id)) }, y.id)) })
|
|
9392
9392
|
] }) }),
|
|
9393
9393
|
/* @__PURE__ */ i("div", { className: "flex items-center justify-between pt-2 border-t border-border", children: [
|
|
9394
|
-
/* @__PURE__ */ e(
|
|
9395
|
-
/* @__PURE__ */ e(
|
|
9394
|
+
/* @__PURE__ */ e(Sd, {}),
|
|
9395
|
+
/* @__PURE__ */ e(Ad, { totalPages: r?.totalPages, currentPage: m + 1 })
|
|
9396
9396
|
] })
|
|
9397
9397
|
] })
|
|
9398
9398
|
) : r?.gridComponent ? r.gridComponent(t) : /* @__PURE__ */ e("div", { className: "p-12 text-center text-muted-foreground border border-border border-dashed rounded-md bg-muted/20", children: "Grid view not implemented for this component yet." })
|
|
9399
9399
|
] });
|
|
9400
9400
|
}
|
|
9401
|
-
function
|
|
9401
|
+
function um({
|
|
9402
9402
|
data: t,
|
|
9403
9403
|
columns: a,
|
|
9404
9404
|
extraTools: r
|
|
9405
9405
|
}) {
|
|
9406
9406
|
return /* @__PURE__ */ e("div", { className: "space-y-6", children: /* @__PURE__ */ i("div", { className: "relative min-h-[300px]", children: [
|
|
9407
9407
|
/* @__PURE__ */ e(
|
|
9408
|
-
|
|
9408
|
+
ol,
|
|
9409
9409
|
{
|
|
9410
9410
|
isLoading: r?.isLoading,
|
|
9411
9411
|
onReload: r?.onReload || (() => window.location.reload())
|
|
9412
9412
|
}
|
|
9413
9413
|
),
|
|
9414
9414
|
/* @__PURE__ */ e("div", { className: `transition-all duration-300 ${r?.isLoading ? "opacity-50 pointer-events-none" : ""}`, children: /* @__PURE__ */ e(
|
|
9415
|
-
|
|
9415
|
+
Pd,
|
|
9416
9416
|
{
|
|
9417
9417
|
data: t,
|
|
9418
9418
|
columns: a,
|
|
@@ -9422,267 +9422,267 @@ function cm({
|
|
|
9422
9422
|
] }) });
|
|
9423
9423
|
}
|
|
9424
9424
|
export {
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9425
|
+
pc as Accordion,
|
|
9426
|
+
vc as AccordionContent,
|
|
9427
|
+
hc as AccordionItem,
|
|
9428
|
+
bc as AccordionTrigger,
|
|
9429
9429
|
Ea as ActionMenu,
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9430
|
+
om as ActivitySheet,
|
|
9431
|
+
Nc as Alert,
|
|
9432
|
+
Cc as AlertDescription,
|
|
9433
|
+
mi as AlertDialog,
|
|
9434
9434
|
za as AlertDialogAction,
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9435
|
+
wi as AlertDialogCancel,
|
|
9436
|
+
pi as AlertDialogContent,
|
|
9437
|
+
xi as AlertDialogDescription,
|
|
9438
|
+
bi as AlertDialogFooter,
|
|
9439
|
+
hi as AlertDialogHeader,
|
|
9440
|
+
wc as AlertDialogMedia,
|
|
9441
|
+
gi as AlertDialogOverlay,
|
|
9442
|
+
fi as AlertDialogPortal,
|
|
9443
|
+
vi as AlertDialogTitle,
|
|
9444
|
+
xc as AlertDialogTrigger,
|
|
9445
|
+
yc as AlertTitle,
|
|
9446
|
+
bl as AppBreadcrumb,
|
|
9447
|
+
Nl as AppSidebar,
|
|
9448
9448
|
_a as AspectRatio,
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9449
|
+
cm as AssistantComponent,
|
|
9450
|
+
yi as Avatar,
|
|
9451
|
+
kc as AvatarBadge,
|
|
9452
|
+
ki as AvatarFallback,
|
|
9453
|
+
Ic as AvatarGroup,
|
|
9454
|
+
Sc as AvatarGroupCount,
|
|
9455
|
+
Ci as AvatarImage,
|
|
9456
9456
|
Bt as Badge,
|
|
9457
|
-
|
|
9458
|
-
|
|
9457
|
+
Ou as BigCalendar,
|
|
9458
|
+
Ds as Breadcrumb,
|
|
9459
9459
|
Fa as BreadcrumbEllipsis,
|
|
9460
9460
|
st as BreadcrumbItem,
|
|
9461
9461
|
Ma as BreadcrumbLink,
|
|
9462
|
-
|
|
9462
|
+
Ts as BreadcrumbList,
|
|
9463
9463
|
Nt as BreadcrumbPage,
|
|
9464
|
-
|
|
9464
|
+
hl as BreadcrumbProvider,
|
|
9465
9465
|
Vt as BreadcrumbSeparator,
|
|
9466
9466
|
T as Button,
|
|
9467
|
-
|
|
9468
|
-
|
|
9467
|
+
Si as Calendar,
|
|
9468
|
+
Ai as CalendarDayButton,
|
|
9469
9469
|
qt as Card,
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9470
|
+
Dc as CardAction,
|
|
9471
|
+
zi as CardContent,
|
|
9472
|
+
Rc as CardDescription,
|
|
9473
|
+
Tc as CardFooter,
|
|
9474
|
+
Ac as CardHeader,
|
|
9475
|
+
zc as CardTitle,
|
|
9476
9476
|
at as Checkbox,
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9480
|
-
|
|
9477
|
+
Ps as Collapsible,
|
|
9478
|
+
Ms as CollapsibleContent,
|
|
9479
|
+
_s as CollapsibleTrigger,
|
|
9480
|
+
Cu as ComboboxInput,
|
|
9481
9481
|
X as Command,
|
|
9482
|
-
|
|
9482
|
+
_c as CommandDialog,
|
|
9483
9483
|
fe as CommandEmpty,
|
|
9484
9484
|
ie as CommandGroup,
|
|
9485
9485
|
ue as CommandInput,
|
|
9486
9486
|
Q as CommandItem,
|
|
9487
9487
|
me as CommandList,
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9488
|
+
Mi as CommandSeparator,
|
|
9489
|
+
Mc as CommandShortcut,
|
|
9490
|
+
Vl as CropperForm,
|
|
9491
|
+
Gl as CropperFormWithModal,
|
|
9492
|
+
Js as CustomAlertDialog,
|
|
9493
|
+
dm as CustomComboboxInput,
|
|
9494
|
+
cl as CustomTabs,
|
|
9495
|
+
Su as DataTable,
|
|
9496
|
+
Xs as DataTableColumnFilter,
|
|
9497
|
+
Zs as DataTableFacetedFilter,
|
|
9498
|
+
el as DataTableFilterMenu,
|
|
9499
|
+
um as DataTableLayout,
|
|
9500
|
+
rl as DataTablePagination,
|
|
9501
|
+
nl as DataTableToolbar,
|
|
9502
9502
|
ca as Dialog,
|
|
9503
|
-
|
|
9503
|
+
Pc as DialogClose,
|
|
9504
9504
|
ua as DialogContent,
|
|
9505
|
-
|
|
9506
|
-
|
|
9505
|
+
_i as DialogDescription,
|
|
9506
|
+
Pi as DialogFooter,
|
|
9507
9507
|
Rr as DialogHeader,
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9508
|
+
Ti as DialogOverlay,
|
|
9509
|
+
Di as DialogPortal,
|
|
9510
|
+
Qs as DialogProvider,
|
|
9511
9511
|
ma as DialogTitle,
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9512
|
+
Ri as DialogTrigger,
|
|
9513
|
+
Fs as Drawer,
|
|
9514
|
+
Os as DrawerClose,
|
|
9515
|
+
Us as DrawerContent,
|
|
9516
|
+
Gs as DrawerDescription,
|
|
9517
|
+
$s as DrawerFooter,
|
|
9518
|
+
Bs as DrawerHeader,
|
|
9519
|
+
js as DrawerOverlay,
|
|
9520
|
+
Ls as DrawerPortal,
|
|
9521
|
+
Vs as DrawerTitle,
|
|
9522
|
+
Es as DrawerTrigger,
|
|
9523
9523
|
Se as DropdownMenu,
|
|
9524
|
-
|
|
9524
|
+
Fc as DropdownMenuCheckboxItem,
|
|
9525
9525
|
ze as DropdownMenuContent,
|
|
9526
9526
|
Dr as DropdownMenuGroup,
|
|
9527
9527
|
pe as DropdownMenuItem,
|
|
9528
9528
|
fa as DropdownMenuLabel,
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9529
|
+
Fi as DropdownMenuPortal,
|
|
9530
|
+
Ec as DropdownMenuRadioGroup,
|
|
9531
|
+
Lc as DropdownMenuRadioItem,
|
|
9532
9532
|
Mt as DropdownMenuSeparator,
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9533
|
+
Oc as DropdownMenuShortcut,
|
|
9534
|
+
Ei as DropdownMenuSub,
|
|
9535
|
+
Oi as DropdownMenuSubContent,
|
|
9536
|
+
Li as DropdownMenuSubTrigger,
|
|
9537
9537
|
Ae as DropdownMenuTrigger,
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9538
|
+
Au as EChart,
|
|
9539
|
+
sl as FileInput,
|
|
9540
|
+
Iu as FileUploader,
|
|
9541
|
+
Fl as FontProvider,
|
|
9542
|
+
yl as Footer,
|
|
9543
|
+
Ws as Form,
|
|
9544
|
+
Bu as FormComboboxInput,
|
|
9545
|
+
$u as FormComboboxInputWithValue,
|
|
9546
9546
|
ve as FormControl,
|
|
9547
|
-
|
|
9547
|
+
Vu as FormDateInput,
|
|
9548
9548
|
De as FormDescription,
|
|
9549
9549
|
he as FormField,
|
|
9550
|
-
|
|
9551
|
-
|
|
9550
|
+
Gu as FormFileInput,
|
|
9551
|
+
Wu as FormInput,
|
|
9552
9552
|
be as FormItem,
|
|
9553
9553
|
Re as FormLabel,
|
|
9554
9554
|
xe as FormMessage,
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9555
|
+
Hu as FormMultiComboboxInput,
|
|
9556
|
+
Ku as FormOtpInput,
|
|
9557
|
+
Ju as FormPasswordInput,
|
|
9558
|
+
qu as FormPhoneInput,
|
|
9559
|
+
Yu as FormTextarea,
|
|
9560
|
+
Eu as FrameworkItemDropdown,
|
|
9561
|
+
zu as GlowingEffect,
|
|
9562
|
+
Qu as GradeTableLoader,
|
|
9563
|
+
Cl as Header,
|
|
9564
|
+
jc as HoverCard,
|
|
9565
|
+
Bc as HoverCardContent,
|
|
9566
|
+
Uc as HoverCardTrigger,
|
|
9567
9567
|
Yt as Icon,
|
|
9568
|
-
|
|
9568
|
+
Ys as IconButton,
|
|
9569
9569
|
$e as IconButtonWithTooltip,
|
|
9570
9570
|
Ot as IconTextButton,
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9571
|
+
qs as IconTextButtonWithTooltip,
|
|
9572
|
+
Bl as ImageCropper,
|
|
9573
|
+
im as ImageCropperProvider,
|
|
9574
9574
|
H as Input,
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9575
|
+
Hs as InputOTP,
|
|
9576
|
+
Ks as InputOTPGroup,
|
|
9577
|
+
xu as InputOTPSeparator,
|
|
9578
9578
|
yt as InputOTPSlot,
|
|
9579
9579
|
Me as Label,
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9580
|
+
Ru as LoadingSpinner,
|
|
9581
|
+
Ml as MainLayout,
|
|
9582
|
+
_l as MainSidebar,
|
|
9583
|
+
Du as MultiCombobox,
|
|
9584
|
+
xl as NavMain,
|
|
9585
|
+
$c as NavigationMenu,
|
|
9586
|
+
Hc as NavigationMenuContent,
|
|
9587
|
+
qc as NavigationMenuIndicator,
|
|
9588
|
+
Gc as NavigationMenuItem,
|
|
9589
|
+
Kc as NavigationMenuLink,
|
|
9590
|
+
Vc as NavigationMenuList,
|
|
9591
|
+
Wc as NavigationMenuTrigger,
|
|
9592
|
+
Ui as NavigationMenuViewport,
|
|
9593
|
+
Hl as NewCropperImg,
|
|
9594
|
+
sm as NewImageForm,
|
|
9595
9595
|
Vr as NoDataComponent,
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9596
|
+
Tu as PageWrapper,
|
|
9597
|
+
Pu as PasswordStrengthMeter,
|
|
9598
|
+
_u as PhoneInput,
|
|
9599
9599
|
Z as Popover,
|
|
9600
|
-
|
|
9600
|
+
Yc as PopoverAnchor,
|
|
9601
9601
|
te as PopoverContent,
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9602
|
+
Xc as PopoverDescription,
|
|
9603
|
+
Jc as PopoverHeader,
|
|
9604
|
+
Qc as PopoverTitle,
|
|
9605
9605
|
ee as PopoverTrigger,
|
|
9606
9606
|
ga as Progress,
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9607
|
+
nm as ProviderWrapper,
|
|
9608
|
+
Zc as RadioGroup,
|
|
9609
|
+
eu as RadioGroupItem,
|
|
9610
|
+
El as RadiusProvider,
|
|
9611
|
+
ol as Reload,
|
|
9612
|
+
ju as RenderAppBreadcrumb,
|
|
9613
|
+
Uu as RenderSidebarNav,
|
|
9614
|
+
tu as ScrollArea,
|
|
9615
|
+
Bi as ScrollBar,
|
|
9616
9616
|
$r as SearchInput,
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9617
|
+
$i as Select,
|
|
9618
|
+
Wi as SelectContent,
|
|
9619
|
+
au as SelectGroup,
|
|
9620
|
+
Hi as SelectItem,
|
|
9621
|
+
ru as SelectLabel,
|
|
9622
|
+
qi as SelectScrollDownButton,
|
|
9623
|
+
Ki as SelectScrollUpButton,
|
|
9624
|
+
nu as SelectSeparator,
|
|
9625
|
+
Gi as SelectTrigger,
|
|
9626
|
+
Vi as SelectValue,
|
|
9627
9627
|
pa as Separator,
|
|
9628
9628
|
Tr as Sheet,
|
|
9629
|
-
|
|
9630
|
-
|
|
9629
|
+
ou as SheetClose,
|
|
9630
|
+
ll as SheetComponent,
|
|
9631
9631
|
Pr as SheetContent,
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9632
|
+
Zi as SheetDescription,
|
|
9633
|
+
iu as SheetFooter,
|
|
9634
|
+
Xi as SheetHeader,
|
|
9635
9635
|
_r as SheetTitle,
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9636
|
+
Yi as SheetTrigger,
|
|
9637
|
+
ss as Sidebar,
|
|
9638
|
+
fs as SidebarContent,
|
|
9639
|
+
ms as SidebarFooter,
|
|
9640
|
+
gs as SidebarGroup,
|
|
9641
|
+
cu as SidebarGroupAction,
|
|
9642
|
+
uu as SidebarGroupContent,
|
|
9643
|
+
du as SidebarGroupLabel,
|
|
9644
|
+
us as SidebarHeader,
|
|
9645
|
+
su as SidebarInput,
|
|
9646
|
+
cs as SidebarInset,
|
|
9647
|
+
ps as SidebarMenu,
|
|
9648
|
+
mu as SidebarMenuAction,
|
|
9649
|
+
fu as SidebarMenuBadge,
|
|
9650
9650
|
Da as SidebarMenuButton,
|
|
9651
9651
|
Ra as SidebarMenuItem,
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9652
|
+
gu as SidebarMenuSkeleton,
|
|
9653
|
+
bs as SidebarMenuSub,
|
|
9654
|
+
xs as SidebarMenuSubButton,
|
|
9655
|
+
vs as SidebarMenuSubItem,
|
|
9656
|
+
vl as SidebarNavProvider,
|
|
9657
|
+
is as SidebarProvider,
|
|
9658
|
+
ds as SidebarRail,
|
|
9659
|
+
lu as SidebarSeparator,
|
|
9660
|
+
ls as SidebarTrigger,
|
|
9661
|
+
Mu as SimpleWidget,
|
|
9662
9662
|
tt as Skeleton,
|
|
9663
|
-
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
|
|
9663
|
+
Xu as SkeletonWidget,
|
|
9664
|
+
pu as Slider,
|
|
9665
|
+
bu as Switch,
|
|
9666
|
+
Ns as Table,
|
|
9667
|
+
Cs as TableBody,
|
|
9668
|
+
vu as TableCaption,
|
|
9669
9669
|
wt as TableCell,
|
|
9670
|
-
|
|
9670
|
+
ks as TableFooter,
|
|
9671
9671
|
Ta as TableHead,
|
|
9672
|
-
|
|
9672
|
+
ys as TableHeader,
|
|
9673
9673
|
it as TableRow,
|
|
9674
|
-
|
|
9674
|
+
Is as Tabs,
|
|
9675
9675
|
Pa as TabsContent,
|
|
9676
|
-
|
|
9677
|
-
|
|
9676
|
+
As as TabsList,
|
|
9677
|
+
zs as TabsTrigger,
|
|
9678
9678
|
Lt as TextButton,
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9679
|
+
Nu as TextButtonWithTooltip,
|
|
9680
|
+
Rs as Textarea,
|
|
9681
|
+
ws as ThemeProvider,
|
|
9682
|
+
ul as ThemeToggleBtn,
|
|
9683
|
+
Fu as TitleProgress,
|
|
9684
|
+
hu as Toaster,
|
|
9685
|
+
wu as Toggle,
|
|
9686
9686
|
Ze as ToggleGroup,
|
|
9687
9687
|
B as ToggleGroupItem,
|
|
9688
9688
|
se as Tooltip,
|
|
@@ -9690,34 +9690,34 @@ export {
|
|
|
9690
9690
|
de as TooltipContent,
|
|
9691
9691
|
Ge as TooltipProvider,
|
|
9692
9692
|
le as TooltipTrigger,
|
|
9693
|
-
|
|
9694
|
-
|
|
9695
|
-
|
|
9693
|
+
wl as UploadTab,
|
|
9694
|
+
Lu as Widgets,
|
|
9695
|
+
lm as WorkInProgress,
|
|
9696
9696
|
He as axiosInstance,
|
|
9697
|
-
|
|
9697
|
+
Ii as badgeVariants,
|
|
9698
9698
|
Kt as buttonVariants,
|
|
9699
|
-
|
|
9699
|
+
em as clearAllCookieSession,
|
|
9700
9700
|
ja as clearCookieSession,
|
|
9701
9701
|
d as cn,
|
|
9702
|
-
|
|
9702
|
+
tl as convertFileToObject,
|
|
9703
9703
|
Jt as getCookieSession,
|
|
9704
9704
|
Fe as getDataTableColumnTitle,
|
|
9705
|
-
|
|
9705
|
+
ku as getImageFromObject,
|
|
9706
9706
|
Ut as getValidAccessToken,
|
|
9707
|
-
|
|
9708
|
-
|
|
9707
|
+
ji as navigationMenuTriggerStyle,
|
|
9708
|
+
kl as refreshAccessToken,
|
|
9709
9709
|
Oa as setCookieSession,
|
|
9710
|
-
|
|
9711
|
-
|
|
9710
|
+
Zu as setIkonConfig,
|
|
9711
|
+
Ss as tabsListVariants,
|
|
9712
9712
|
jr as toggleVariants,
|
|
9713
9713
|
Wr as useBreadcrumb,
|
|
9714
|
-
|
|
9715
|
-
|
|
9714
|
+
yu as useDialog,
|
|
9715
|
+
tm as useFont,
|
|
9716
9716
|
Et as useFormField,
|
|
9717
9717
|
Zr as useImageCropper,
|
|
9718
9718
|
ha as useIsMobile,
|
|
9719
|
-
|
|
9720
|
-
|
|
9719
|
+
am as useRadius,
|
|
9720
|
+
rm as useRefresh,
|
|
9721
9721
|
Ft as useSidebar,
|
|
9722
9722
|
jt as useSidebarNav
|
|
9723
9723
|
};
|