@clidey/ux 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +487 -484
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { jsx as a, jsxs as i, Fragment as W } from "react/jsx-runtime";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import k, { Fragment as
|
|
3
|
+
import k, { Fragment as ve, createContext as xe, useState as we, useEffect as Ne, useContext as ye } from "react";
|
|
4
4
|
import { Slot as D } from "@radix-ui/react-slot";
|
|
5
5
|
import { cva as G } from "class-variance-authority";
|
|
6
|
-
import { clsx as
|
|
7
|
-
import { twMerge as
|
|
6
|
+
import { clsx as ke } from "clsx";
|
|
7
|
+
import { twMerge as ze } from "tailwind-merge";
|
|
8
8
|
import * as h from "@radix-ui/react-context-menu";
|
|
9
|
-
import { CheckIcon as O, CircleIcon as oe, ChevronRightIcon as q, Search as
|
|
10
|
-
import { Drawer as
|
|
9
|
+
import { CheckIcon as O, CircleIcon as oe, ChevronRightIcon as q, Search as Ce, MoreHorizontalIcon as Se, ChevronLeftIcon as Te, ChevronRight as ne, XIcon as ie, SearchIcon as _e, ChevronDownIcon as X, ChevronsUpDownIcon as De, ChevronUpIcon as Me, PanelLeftIcon as Ie, GripVerticalIcon as Pe, Sun as Q, Moon as Z, Monitor as Re } from "lucide-react";
|
|
10
|
+
import { Drawer as R } from "vaul";
|
|
11
11
|
import * as v from "@radix-ui/react-dropdown-menu";
|
|
12
|
-
import * as
|
|
12
|
+
import * as Ae from "@radix-ui/react-label";
|
|
13
13
|
import * as $ from "@radix-ui/react-popover";
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import { Toaster as
|
|
16
|
-
import { toast as
|
|
17
|
-
import { FixedSizeList as
|
|
14
|
+
import { useTheme as Le } from "next-themes";
|
|
15
|
+
import { Toaster as Ee } from "sonner";
|
|
16
|
+
import { toast as vo } from "sonner";
|
|
17
|
+
import { FixedSizeList as je } from "react-window";
|
|
18
18
|
import * as H from "@radix-ui/react-tabs";
|
|
19
|
-
import * as
|
|
20
|
-
import { Command as
|
|
19
|
+
import * as L from "@radix-ui/react-tooltip";
|
|
20
|
+
import { Command as E } from "cmdk";
|
|
21
21
|
import * as b from "@radix-ui/react-dialog";
|
|
22
22
|
import * as w from "@radix-ui/react-select";
|
|
23
|
-
import * as
|
|
23
|
+
import * as Be from "@radix-ui/react-separator";
|
|
24
24
|
import * as B from "@radix-ui/react-scroll-area";
|
|
25
25
|
import * as ee from "@radix-ui/react-checkbox";
|
|
26
26
|
import * as N from "@radix-ui/react-accordion";
|
|
27
|
-
import
|
|
27
|
+
import Oe from "use-resize-observer";
|
|
28
28
|
import * as Y from "react-resizable-panels";
|
|
29
29
|
import * as te from "@radix-ui/react-switch";
|
|
30
|
-
import * as
|
|
30
|
+
import * as S from "@radix-ui/react-alert-dialog";
|
|
31
31
|
function r(...e) {
|
|
32
|
-
return ke(
|
|
32
|
+
return ze(ke(e));
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Kt(e) {
|
|
35
35
|
return e.replace(/_/g, " ").replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase());
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ut(e) {
|
|
38
38
|
const o = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), n = Math.floor(o / 1e3);
|
|
39
39
|
if (n < 60)
|
|
40
40
|
return "just now";
|
|
@@ -50,10 +50,10 @@ function Kt(e) {
|
|
|
50
50
|
const c = Math.floor(u / 30);
|
|
51
51
|
if (c < 12)
|
|
52
52
|
return `${c} month${c === 1 ? "" : "s"} ago`;
|
|
53
|
-
const
|
|
54
|
-
return `${
|
|
53
|
+
const f = Math.floor(c / 12);
|
|
54
|
+
return `${f} year${f === 1 ? "" : "s"} ago`;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const $e = G(
|
|
57
57
|
"inline-flex items-center justify-center rounded-md border 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",
|
|
58
58
|
{
|
|
59
59
|
variants: {
|
|
@@ -69,7 +69,7 @@ const Oe = G(
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
|
-
function
|
|
72
|
+
function Wt({
|
|
73
73
|
className: e,
|
|
74
74
|
variant: t,
|
|
75
75
|
asChild: o = !1,
|
|
@@ -79,7 +79,7 @@ function Ut({
|
|
|
79
79
|
o ? D : "span",
|
|
80
80
|
{
|
|
81
81
|
"data-slot": "badge",
|
|
82
|
-
className: r(
|
|
82
|
+
className: r($e({ variant: t }), e),
|
|
83
83
|
...n
|
|
84
84
|
}
|
|
85
85
|
);
|
|
@@ -125,7 +125,7 @@ function J({
|
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function qt({ className: e, ...t }) {
|
|
129
129
|
return /* @__PURE__ */ a(
|
|
130
130
|
"div",
|
|
131
131
|
{
|
|
@@ -138,7 +138,7 @@ function Wt({ className: e, ...t }) {
|
|
|
138
138
|
}
|
|
139
139
|
);
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Xt({ className: e, ...t }) {
|
|
142
142
|
return /* @__PURE__ */ a(
|
|
143
143
|
"div",
|
|
144
144
|
{
|
|
@@ -151,7 +151,7 @@ function qt({ className: e, ...t }) {
|
|
|
151
151
|
}
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Yt({ className: e, ...t }) {
|
|
155
155
|
return /* @__PURE__ */ a(
|
|
156
156
|
"div",
|
|
157
157
|
{
|
|
@@ -161,7 +161,7 @@ function Xt({ className: e, ...t }) {
|
|
|
161
161
|
}
|
|
162
162
|
);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Jt({ className: e, ...t }) {
|
|
165
165
|
return /* @__PURE__ */ a(
|
|
166
166
|
"div",
|
|
167
167
|
{
|
|
@@ -171,7 +171,7 @@ function Yt({ className: e, ...t }) {
|
|
|
171
171
|
}
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Qt({ className: e, ...t }) {
|
|
175
175
|
return /* @__PURE__ */ a(
|
|
176
176
|
"div",
|
|
177
177
|
{
|
|
@@ -181,7 +181,7 @@ function Jt({ className: e, ...t }) {
|
|
|
181
181
|
}
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Zt({ className: e, ...t }) {
|
|
185
185
|
return /* @__PURE__ */ a(
|
|
186
186
|
"div",
|
|
187
187
|
{
|
|
@@ -191,22 +191,22 @@ function Qt({ className: e, ...t }) {
|
|
|
191
191
|
}
|
|
192
192
|
);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ea({
|
|
195
195
|
...e
|
|
196
196
|
}) {
|
|
197
197
|
return /* @__PURE__ */ a(h.Root, { "data-slot": "context-menu", ...e });
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function ta({
|
|
200
200
|
...e
|
|
201
201
|
}) {
|
|
202
202
|
return /* @__PURE__ */ a(h.Trigger, { "data-slot": "context-menu-trigger", ...e });
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function aa({
|
|
205
205
|
...e
|
|
206
206
|
}) {
|
|
207
207
|
return /* @__PURE__ */ a(h.Sub, { "data-slot": "context-menu-sub", ...e });
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function ra({
|
|
210
210
|
...e
|
|
211
211
|
}) {
|
|
212
212
|
return /* @__PURE__ */ a(
|
|
@@ -217,7 +217,7 @@ function aa({
|
|
|
217
217
|
}
|
|
218
218
|
);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function oa({
|
|
221
221
|
className: e,
|
|
222
222
|
inset: t,
|
|
223
223
|
children: o,
|
|
@@ -240,7 +240,7 @@ function ra({
|
|
|
240
240
|
}
|
|
241
241
|
);
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function na({
|
|
244
244
|
className: e,
|
|
245
245
|
...t
|
|
246
246
|
}) {
|
|
@@ -256,7 +256,7 @@ function oa({
|
|
|
256
256
|
}
|
|
257
257
|
);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function ia({
|
|
260
260
|
className: e,
|
|
261
261
|
...t
|
|
262
262
|
}) {
|
|
@@ -272,7 +272,7 @@ function na({
|
|
|
272
272
|
}
|
|
273
273
|
) });
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function sa({
|
|
276
276
|
className: e,
|
|
277
277
|
inset: t,
|
|
278
278
|
variant: o = "default",
|
|
@@ -292,7 +292,7 @@ function ia({
|
|
|
292
292
|
}
|
|
293
293
|
);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function da({
|
|
296
296
|
className: e,
|
|
297
297
|
children: t,
|
|
298
298
|
checked: o,
|
|
@@ -315,7 +315,7 @@ function sa({
|
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function la({
|
|
319
319
|
className: e,
|
|
320
320
|
children: t,
|
|
321
321
|
...o
|
|
@@ -336,7 +336,7 @@ function da({
|
|
|
336
336
|
}
|
|
337
337
|
);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function ca({
|
|
340
340
|
className: e,
|
|
341
341
|
inset: t,
|
|
342
342
|
...o
|
|
@@ -354,7 +354,7 @@ function la({
|
|
|
354
354
|
}
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function ua({
|
|
358
358
|
className: e,
|
|
359
359
|
...t
|
|
360
360
|
}) {
|
|
@@ -367,7 +367,7 @@ function ca({
|
|
|
367
367
|
}
|
|
368
368
|
);
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function ma({
|
|
371
371
|
className: e,
|
|
372
372
|
...t
|
|
373
373
|
}) {
|
|
@@ -383,27 +383,27 @@ function ua({
|
|
|
383
383
|
}
|
|
384
384
|
);
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function fa({
|
|
387
387
|
...e
|
|
388
388
|
}) {
|
|
389
|
-
return /* @__PURE__ */ a(
|
|
389
|
+
return /* @__PURE__ */ a(R.Root, { "data-slot": "drawer", ...e });
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function pa({
|
|
392
392
|
...e
|
|
393
393
|
}) {
|
|
394
|
-
return /* @__PURE__ */ a(
|
|
394
|
+
return /* @__PURE__ */ a(R.Trigger, { "data-slot": "drawer-trigger", ...e });
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function ga({
|
|
397
397
|
...e
|
|
398
398
|
}) {
|
|
399
|
-
return /* @__PURE__ */ a(
|
|
399
|
+
return /* @__PURE__ */ a(R.Close, { "data-slot": "drawer-close", ...e });
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function Ge({
|
|
402
402
|
className: e,
|
|
403
403
|
...t
|
|
404
404
|
}) {
|
|
405
405
|
return /* @__PURE__ */ a(
|
|
406
|
-
|
|
406
|
+
R.Overlay,
|
|
407
407
|
{
|
|
408
408
|
"data-slot": "drawer-overlay",
|
|
409
409
|
className: r(
|
|
@@ -414,15 +414,15 @@ function $e({
|
|
|
414
414
|
}
|
|
415
415
|
);
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function ba({
|
|
418
418
|
className: e,
|
|
419
419
|
children: t,
|
|
420
420
|
...o
|
|
421
421
|
}) {
|
|
422
422
|
return /* @__PURE__ */ i(W, { children: [
|
|
423
|
-
/* @__PURE__ */ a(
|
|
423
|
+
/* @__PURE__ */ a(Ge, {}),
|
|
424
424
|
/* @__PURE__ */ i(
|
|
425
|
-
|
|
425
|
+
R.Content,
|
|
426
426
|
{
|
|
427
427
|
"data-slot": "drawer-content",
|
|
428
428
|
className: r(
|
|
@@ -442,7 +442,7 @@ function ga({
|
|
|
442
442
|
)
|
|
443
443
|
] });
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function ha({ className: e, ...t }) {
|
|
446
446
|
return /* @__PURE__ */ a(
|
|
447
447
|
"div",
|
|
448
448
|
{
|
|
@@ -455,7 +455,7 @@ function ba({ className: e, ...t }) {
|
|
|
455
455
|
}
|
|
456
456
|
);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function va({ className: e, ...t }) {
|
|
459
459
|
return /* @__PURE__ */ a(
|
|
460
460
|
"div",
|
|
461
461
|
{
|
|
@@ -465,12 +465,12 @@ function ha({ className: e, ...t }) {
|
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function xa({
|
|
469
469
|
className: e,
|
|
470
470
|
...t
|
|
471
471
|
}) {
|
|
472
472
|
return /* @__PURE__ */ a(
|
|
473
|
-
|
|
473
|
+
R.Title,
|
|
474
474
|
{
|
|
475
475
|
"data-slot": "drawer-title",
|
|
476
476
|
className: r("text-foreground font-semibold", e),
|
|
@@ -478,12 +478,12 @@ function va({
|
|
|
478
478
|
}
|
|
479
479
|
);
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function wa({
|
|
482
482
|
className: e,
|
|
483
483
|
...t
|
|
484
484
|
}) {
|
|
485
485
|
return /* @__PURE__ */ a(
|
|
486
|
-
|
|
486
|
+
R.Description,
|
|
487
487
|
{
|
|
488
488
|
"data-slot": "drawer-description",
|
|
489
489
|
className: r("text-muted-foreground text-sm", e),
|
|
@@ -491,12 +491,12 @@ function xa({
|
|
|
491
491
|
}
|
|
492
492
|
);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function He({
|
|
495
495
|
...e
|
|
496
496
|
}) {
|
|
497
497
|
return /* @__PURE__ */ a(v.Root, { "data-slot": "dropdown-menu", ...e });
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function Ve({
|
|
500
500
|
...e
|
|
501
501
|
}) {
|
|
502
502
|
return /* @__PURE__ */ a(
|
|
@@ -507,7 +507,7 @@ function He({
|
|
|
507
507
|
}
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function Fe({
|
|
511
511
|
className: e,
|
|
512
512
|
sideOffset: t = 4,
|
|
513
513
|
...o
|
|
@@ -545,7 +545,7 @@ function K({
|
|
|
545
545
|
}
|
|
546
546
|
);
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Na({
|
|
549
549
|
className: e,
|
|
550
550
|
children: t,
|
|
551
551
|
checked: o,
|
|
@@ -568,7 +568,7 @@ function wa({
|
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function ya({
|
|
572
572
|
...e
|
|
573
573
|
}) {
|
|
574
574
|
return /* @__PURE__ */ a(
|
|
@@ -579,7 +579,7 @@ function Na({
|
|
|
579
579
|
}
|
|
580
580
|
);
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function ka({
|
|
583
583
|
className: e,
|
|
584
584
|
children: t,
|
|
585
585
|
...o
|
|
@@ -600,7 +600,7 @@ function ya({
|
|
|
600
600
|
}
|
|
601
601
|
);
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function za({
|
|
604
604
|
className: e,
|
|
605
605
|
inset: t,
|
|
606
606
|
...o
|
|
@@ -618,7 +618,7 @@ function ka({
|
|
|
618
618
|
}
|
|
619
619
|
);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Ca({
|
|
622
622
|
className: e,
|
|
623
623
|
...t
|
|
624
624
|
}) {
|
|
@@ -631,7 +631,7 @@ function za({
|
|
|
631
631
|
}
|
|
632
632
|
);
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Sa({
|
|
635
635
|
className: e,
|
|
636
636
|
...t
|
|
637
637
|
}) {
|
|
@@ -647,12 +647,12 @@ function Ca({
|
|
|
647
647
|
}
|
|
648
648
|
);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Ta({
|
|
651
651
|
...e
|
|
652
652
|
}) {
|
|
653
653
|
return /* @__PURE__ */ a(v.Sub, { "data-slot": "dropdown-menu-sub", ...e });
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function _a({
|
|
656
656
|
className: e,
|
|
657
657
|
inset: t,
|
|
658
658
|
children: o,
|
|
@@ -675,7 +675,7 @@ function Ta({
|
|
|
675
675
|
}
|
|
676
676
|
);
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function Da({
|
|
679
679
|
className: e,
|
|
680
680
|
...t
|
|
681
681
|
}) {
|
|
@@ -691,7 +691,7 @@ function _a({
|
|
|
691
691
|
}
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Ke({ className: e, type: t, ...o }) {
|
|
695
695
|
return /* @__PURE__ */ a(
|
|
696
696
|
"input",
|
|
697
697
|
{
|
|
@@ -707,7 +707,7 @@ function Fe({ className: e, type: t, ...o }) {
|
|
|
707
707
|
}
|
|
708
708
|
);
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Ma({
|
|
711
711
|
className: e,
|
|
712
712
|
...t
|
|
713
713
|
}) {
|
|
@@ -722,7 +722,7 @@ function Da({
|
|
|
722
722
|
),
|
|
723
723
|
"data-slot": "search-input-wrapper",
|
|
724
724
|
children: [
|
|
725
|
-
/* @__PURE__ */ a(
|
|
725
|
+
/* @__PURE__ */ a(Ce, { className: "size-4 text-muted-foreground mr-2" }),
|
|
726
726
|
/* @__PURE__ */ a(
|
|
727
727
|
"input",
|
|
728
728
|
{
|
|
@@ -737,12 +737,12 @@ function Da({
|
|
|
737
737
|
}
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function Ia({
|
|
741
741
|
className: e,
|
|
742
742
|
...t
|
|
743
743
|
}) {
|
|
744
744
|
return /* @__PURE__ */ a(
|
|
745
|
-
|
|
745
|
+
Ae.Root,
|
|
746
746
|
{
|
|
747
747
|
"data-slot": "label",
|
|
748
748
|
className: r(
|
|
@@ -753,7 +753,7 @@ function Ma({
|
|
|
753
753
|
}
|
|
754
754
|
);
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function Pa({ className: e, ...t }) {
|
|
757
757
|
return /* @__PURE__ */ a(
|
|
758
758
|
"nav",
|
|
759
759
|
{
|
|
@@ -765,7 +765,7 @@ function Ia({ className: e, ...t }) {
|
|
|
765
765
|
}
|
|
766
766
|
);
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Ra({
|
|
769
769
|
className: e,
|
|
770
770
|
...t
|
|
771
771
|
}) {
|
|
@@ -778,7 +778,7 @@ function Pa({
|
|
|
778
778
|
}
|
|
779
779
|
);
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function Aa({ ...e }) {
|
|
782
782
|
return /* @__PURE__ */ a("li", { "data-slot": "pagination-item", ...e });
|
|
783
783
|
}
|
|
784
784
|
function se({
|
|
@@ -804,7 +804,7 @@ function se({
|
|
|
804
804
|
}
|
|
805
805
|
);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function La({
|
|
808
808
|
className: e,
|
|
809
809
|
...t
|
|
810
810
|
}) {
|
|
@@ -816,13 +816,13 @@ function Aa({
|
|
|
816
816
|
className: r("gap-1 px-2.5 sm:pl-2.5", e),
|
|
817
817
|
...t,
|
|
818
818
|
children: [
|
|
819
|
-
/* @__PURE__ */ a(
|
|
819
|
+
/* @__PURE__ */ a(Te, {}),
|
|
820
820
|
/* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Previous" })
|
|
821
821
|
]
|
|
822
822
|
}
|
|
823
823
|
);
|
|
824
824
|
}
|
|
825
|
-
function
|
|
825
|
+
function Ea({
|
|
826
826
|
className: e,
|
|
827
827
|
...t
|
|
828
828
|
}) {
|
|
@@ -840,7 +840,7 @@ function La({
|
|
|
840
840
|
}
|
|
841
841
|
);
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function ja({
|
|
844
844
|
className: e,
|
|
845
845
|
...t
|
|
846
846
|
}) {
|
|
@@ -852,23 +852,23 @@ function Ea({
|
|
|
852
852
|
className: r("flex size-9 items-center justify-center", e),
|
|
853
853
|
...t,
|
|
854
854
|
children: [
|
|
855
|
-
/* @__PURE__ */ a(
|
|
855
|
+
/* @__PURE__ */ a(Se, { className: "size-4" }),
|
|
856
856
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "More pages" })
|
|
857
857
|
]
|
|
858
858
|
}
|
|
859
859
|
);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Ue({
|
|
862
862
|
...e
|
|
863
863
|
}) {
|
|
864
864
|
return /* @__PURE__ */ a($.Root, { "data-slot": "popover", ...e });
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function We({
|
|
867
867
|
...e
|
|
868
868
|
}) {
|
|
869
869
|
return /* @__PURE__ */ a($.Trigger, { "data-slot": "popover-trigger", ...e });
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function qe({
|
|
872
872
|
className: e,
|
|
873
873
|
align: t = "center",
|
|
874
874
|
sideOffset: o = 4,
|
|
@@ -898,10 +898,10 @@ function ae({ className: e, ...t }) {
|
|
|
898
898
|
}
|
|
899
899
|
);
|
|
900
900
|
}
|
|
901
|
-
const
|
|
902
|
-
const { theme: t = "system" } =
|
|
901
|
+
const Ba = ({ ...e }) => {
|
|
902
|
+
const { theme: t = "system" } = Le();
|
|
903
903
|
return /* @__PURE__ */ a(
|
|
904
|
-
|
|
904
|
+
Ee,
|
|
905
905
|
{
|
|
906
906
|
theme: t,
|
|
907
907
|
className: "toaster group",
|
|
@@ -914,7 +914,7 @@ const ja = ({ ...e }) => {
|
|
|
914
914
|
}
|
|
915
915
|
);
|
|
916
916
|
};
|
|
917
|
-
function
|
|
917
|
+
function Oa({
|
|
918
918
|
rowCount: e,
|
|
919
919
|
rowHeight: t = 48,
|
|
920
920
|
height: o = 400,
|
|
@@ -922,20 +922,20 @@ function Ba({
|
|
|
922
922
|
children: s
|
|
923
923
|
}) {
|
|
924
924
|
return /* @__PURE__ */ a(
|
|
925
|
-
|
|
925
|
+
je,
|
|
926
926
|
{
|
|
927
927
|
className: r("w-full relative block", n),
|
|
928
928
|
height: o,
|
|
929
929
|
itemCount: e,
|
|
930
930
|
itemSize: t,
|
|
931
931
|
width: "100%",
|
|
932
|
-
outerElementType:
|
|
933
|
-
innerElementType:
|
|
934
|
-
children: ({ index: d, style: u }) => /* @__PURE__ */ a(
|
|
932
|
+
outerElementType: Xe,
|
|
933
|
+
innerElementType: ve,
|
|
934
|
+
children: ({ index: d, style: u }) => /* @__PURE__ */ a(Ye, { style: u, children: s(d, u) }, d)
|
|
935
935
|
}
|
|
936
936
|
);
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function $a({ className: e, ...t }) {
|
|
939
939
|
return /* @__PURE__ */ a(
|
|
940
940
|
"div",
|
|
941
941
|
{
|
|
@@ -952,7 +952,7 @@ function Oa({ className: e, ...t }) {
|
|
|
952
952
|
}
|
|
953
953
|
);
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function Ga({ className: e, ...t }) {
|
|
956
956
|
return /* @__PURE__ */ a(
|
|
957
957
|
"thead",
|
|
958
958
|
{
|
|
@@ -962,7 +962,7 @@ function $a({ className: e, ...t }) {
|
|
|
962
962
|
}
|
|
963
963
|
);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function Xe({ className: e, ...t }) {
|
|
966
966
|
return /* @__PURE__ */ a(
|
|
967
967
|
"tbody",
|
|
968
968
|
{
|
|
@@ -972,7 +972,7 @@ function qe({ className: e, ...t }) {
|
|
|
972
972
|
}
|
|
973
973
|
);
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function Ye({ className: e, style: t, ...o }) {
|
|
976
976
|
return /* @__PURE__ */ a(
|
|
977
977
|
"tr",
|
|
978
978
|
{
|
|
@@ -986,7 +986,7 @@ function Xe({ className: e, style: t, ...o }) {
|
|
|
986
986
|
}
|
|
987
987
|
);
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function Ha({ className: e, ...t }) {
|
|
990
990
|
const { icon: o, ...n } = t, { children: s } = n;
|
|
991
991
|
return /* @__PURE__ */ i(
|
|
992
992
|
"th",
|
|
@@ -1005,7 +1005,7 @@ function Ga({ className: e, ...t }) {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
);
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function Va({ className: e, ...t }) {
|
|
1009
1009
|
return /* @__PURE__ */ a(
|
|
1010
1010
|
"td",
|
|
1011
1011
|
{
|
|
@@ -1018,7 +1018,7 @@ function Ha({ className: e, ...t }) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
);
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function Fa({
|
|
1022
1022
|
className: e,
|
|
1023
1023
|
...t
|
|
1024
1024
|
}) {
|
|
@@ -1031,7 +1031,7 @@ function Va({
|
|
|
1031
1031
|
}
|
|
1032
1032
|
);
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1034
|
+
function Ka({
|
|
1035
1035
|
className: e,
|
|
1036
1036
|
...t
|
|
1037
1037
|
}) {
|
|
@@ -1044,7 +1044,7 @@ function Fa({
|
|
|
1044
1044
|
}
|
|
1045
1045
|
);
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function Ua({
|
|
1048
1048
|
className: e,
|
|
1049
1049
|
...t
|
|
1050
1050
|
}) {
|
|
@@ -1060,7 +1060,7 @@ function Ka({
|
|
|
1060
1060
|
}
|
|
1061
1061
|
);
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function Wa({
|
|
1064
1064
|
className: e,
|
|
1065
1065
|
...t
|
|
1066
1066
|
}) {
|
|
@@ -1076,7 +1076,7 @@ function Ua({
|
|
|
1076
1076
|
}
|
|
1077
1077
|
);
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function qa({
|
|
1080
1080
|
className: e,
|
|
1081
1081
|
...t
|
|
1082
1082
|
}) {
|
|
@@ -1094,7 +1094,7 @@ function de({
|
|
|
1094
1094
|
...t
|
|
1095
1095
|
}) {
|
|
1096
1096
|
return /* @__PURE__ */ a(
|
|
1097
|
-
|
|
1097
|
+
L.Provider,
|
|
1098
1098
|
{
|
|
1099
1099
|
"data-slot": "tooltip-provider",
|
|
1100
1100
|
delayDuration: e,
|
|
@@ -1102,24 +1102,24 @@ function de({
|
|
|
1102
1102
|
}
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function Je({
|
|
1106
1106
|
...e
|
|
1107
1107
|
}) {
|
|
1108
|
-
return /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(
|
|
1108
|
+
return /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(L.Root, { "data-slot": "tooltip", ...e }) });
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Qe({
|
|
1111
1111
|
...e
|
|
1112
1112
|
}) {
|
|
1113
|
-
return /* @__PURE__ */ a(
|
|
1113
|
+
return /* @__PURE__ */ a(L.Trigger, { "data-slot": "tooltip-trigger", ...e });
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Ze({
|
|
1116
1116
|
className: e,
|
|
1117
1117
|
sideOffset: t = 0,
|
|
1118
1118
|
children: o,
|
|
1119
1119
|
...n
|
|
1120
1120
|
}) {
|
|
1121
|
-
return /* @__PURE__ */ a(
|
|
1122
|
-
|
|
1121
|
+
return /* @__PURE__ */ a(L.Portal, { children: /* @__PURE__ */ i(
|
|
1122
|
+
L.Content,
|
|
1123
1123
|
{
|
|
1124
1124
|
"data-slot": "tooltip-content",
|
|
1125
1125
|
sideOffset: t,
|
|
@@ -1130,15 +1130,15 @@ function Qe({
|
|
|
1130
1130
|
...n,
|
|
1131
1131
|
children: [
|
|
1132
1132
|
o,
|
|
1133
|
-
/* @__PURE__ */ a(
|
|
1133
|
+
/* @__PURE__ */ a(L.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
1134
1134
|
]
|
|
1135
1135
|
}
|
|
1136
1136
|
) });
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function Xa({ ...e }) {
|
|
1139
1139
|
return /* @__PURE__ */ a("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...e });
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Ya({ className: e, ...t }) {
|
|
1142
1142
|
return /* @__PURE__ */ a(
|
|
1143
1143
|
"ol",
|
|
1144
1144
|
{
|
|
@@ -1151,7 +1151,7 @@ function Xa({ className: e, ...t }) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
);
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function Ja({ className: e, ...t }) {
|
|
1155
1155
|
return /* @__PURE__ */ a(
|
|
1156
1156
|
"li",
|
|
1157
1157
|
{
|
|
@@ -1161,7 +1161,7 @@ function Ya({ className: e, ...t }) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
);
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1164
|
+
function Qa({
|
|
1165
1165
|
asChild: e,
|
|
1166
1166
|
className: t,
|
|
1167
1167
|
...o
|
|
@@ -1175,7 +1175,7 @@ function Ja({
|
|
|
1175
1175
|
}
|
|
1176
1176
|
);
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function Za({ className: e, ...t }) {
|
|
1179
1179
|
return /* @__PURE__ */ a(
|
|
1180
1180
|
"span",
|
|
1181
1181
|
{
|
|
@@ -1188,7 +1188,7 @@ function Qa({ className: e, ...t }) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
);
|
|
1190
1190
|
}
|
|
1191
|
-
function
|
|
1191
|
+
function er({
|
|
1192
1192
|
children: e,
|
|
1193
1193
|
className: t,
|
|
1194
1194
|
...o
|
|
@@ -1205,22 +1205,22 @@ function Za({
|
|
|
1205
1205
|
}
|
|
1206
1206
|
);
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1208
|
+
function tr({
|
|
1209
1209
|
...e
|
|
1210
1210
|
}) {
|
|
1211
1211
|
return /* @__PURE__ */ a(b.Root, { "data-slot": "dialog", ...e });
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function ar({
|
|
1214
1214
|
...e
|
|
1215
1215
|
}) {
|
|
1216
1216
|
return /* @__PURE__ */ a(b.Trigger, { "data-slot": "dialog-trigger", ...e });
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function et({
|
|
1219
1219
|
...e
|
|
1220
1220
|
}) {
|
|
1221
1221
|
return /* @__PURE__ */ a(b.Portal, { "data-slot": "dialog-portal", ...e });
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function tt({
|
|
1224
1224
|
className: e,
|
|
1225
1225
|
...t
|
|
1226
1226
|
}) {
|
|
@@ -1236,14 +1236,14 @@ function et({
|
|
|
1236
1236
|
}
|
|
1237
1237
|
);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function rr({
|
|
1240
1240
|
className: e,
|
|
1241
1241
|
children: t,
|
|
1242
1242
|
showCloseButton: o = !0,
|
|
1243
1243
|
...n
|
|
1244
1244
|
}) {
|
|
1245
|
-
return /* @__PURE__ */ i(
|
|
1246
|
-
/* @__PURE__ */ a(
|
|
1245
|
+
return /* @__PURE__ */ i(et, { "data-slot": "dialog-portal", children: [
|
|
1246
|
+
/* @__PURE__ */ a(tt, {}),
|
|
1247
1247
|
/* @__PURE__ */ i(
|
|
1248
1248
|
b.Content,
|
|
1249
1249
|
{
|
|
@@ -1271,7 +1271,7 @@ function ar({
|
|
|
1271
1271
|
)
|
|
1272
1272
|
] });
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function or({ className: e, ...t }) {
|
|
1275
1275
|
return /* @__PURE__ */ a(
|
|
1276
1276
|
"div",
|
|
1277
1277
|
{
|
|
@@ -1281,7 +1281,7 @@ function rr({ className: e, ...t }) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
);
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function nr({ className: e, ...t }) {
|
|
1285
1285
|
return /* @__PURE__ */ a(
|
|
1286
1286
|
"div",
|
|
1287
1287
|
{
|
|
@@ -1294,7 +1294,7 @@ function or({ className: e, ...t }) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1297
|
+
function ir({
|
|
1298
1298
|
className: e,
|
|
1299
1299
|
...t
|
|
1300
1300
|
}) {
|
|
@@ -1307,7 +1307,7 @@ function nr({
|
|
|
1307
1307
|
}
|
|
1308
1308
|
);
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function sr({
|
|
1311
1311
|
className: e,
|
|
1312
1312
|
...t
|
|
1313
1313
|
}) {
|
|
@@ -1320,12 +1320,12 @@ function ir({
|
|
|
1320
1320
|
}
|
|
1321
1321
|
);
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function at({
|
|
1324
1324
|
className: e,
|
|
1325
1325
|
...t
|
|
1326
1326
|
}) {
|
|
1327
1327
|
return /* @__PURE__ */ a(
|
|
1328
|
-
|
|
1328
|
+
E,
|
|
1329
1329
|
{
|
|
1330
1330
|
"data-slot": "command",
|
|
1331
1331
|
className: r(
|
|
@@ -1336,7 +1336,7 @@ function tt({
|
|
|
1336
1336
|
}
|
|
1337
1337
|
);
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function rt({
|
|
1340
1340
|
className: e,
|
|
1341
1341
|
...t
|
|
1342
1342
|
}) {
|
|
@@ -1346,9 +1346,9 @@ function at({
|
|
|
1346
1346
|
"data-slot": "command-input-wrapper",
|
|
1347
1347
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
1348
1348
|
children: [
|
|
1349
|
-
/* @__PURE__ */ a(
|
|
1349
|
+
/* @__PURE__ */ a(_e, { className: "size-4 shrink-0 opacity-50" }),
|
|
1350
1350
|
/* @__PURE__ */ a(
|
|
1351
|
-
|
|
1351
|
+
E.Input,
|
|
1352
1352
|
{
|
|
1353
1353
|
"data-slot": "command-input",
|
|
1354
1354
|
className: r(
|
|
@@ -1362,12 +1362,12 @@ function at({
|
|
|
1362
1362
|
}
|
|
1363
1363
|
);
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function ot({
|
|
1366
1366
|
className: e,
|
|
1367
1367
|
...t
|
|
1368
1368
|
}) {
|
|
1369
1369
|
return /* @__PURE__ */ a(
|
|
1370
|
-
|
|
1370
|
+
E.List,
|
|
1371
1371
|
{
|
|
1372
1372
|
"data-slot": "command-list",
|
|
1373
1373
|
className: r(
|
|
@@ -1378,11 +1378,11 @@ function rt({
|
|
|
1378
1378
|
}
|
|
1379
1379
|
);
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function nt({
|
|
1382
1382
|
...e
|
|
1383
1383
|
}) {
|
|
1384
1384
|
return /* @__PURE__ */ a(
|
|
1385
|
-
|
|
1385
|
+
E.Empty,
|
|
1386
1386
|
{
|
|
1387
1387
|
"data-slot": "command-empty",
|
|
1388
1388
|
className: "py-6 text-center text-sm",
|
|
@@ -1390,12 +1390,12 @@ function ot({
|
|
|
1390
1390
|
}
|
|
1391
1391
|
);
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function it({
|
|
1394
1394
|
className: e,
|
|
1395
1395
|
...t
|
|
1396
1396
|
}) {
|
|
1397
1397
|
return /* @__PURE__ */ a(
|
|
1398
|
-
|
|
1398
|
+
E.Group,
|
|
1399
1399
|
{
|
|
1400
1400
|
"data-slot": "command-group",
|
|
1401
1401
|
className: r(
|
|
@@ -1406,12 +1406,12 @@ function nt({
|
|
|
1406
1406
|
}
|
|
1407
1407
|
);
|
|
1408
1408
|
}
|
|
1409
|
-
function
|
|
1409
|
+
function st({
|
|
1410
1410
|
className: e,
|
|
1411
1411
|
...t
|
|
1412
1412
|
}) {
|
|
1413
1413
|
return /* @__PURE__ */ a(
|
|
1414
|
-
|
|
1414
|
+
E.Item,
|
|
1415
1415
|
{
|
|
1416
1416
|
"data-slot": "command-item",
|
|
1417
1417
|
className: r(
|
|
@@ -1422,22 +1422,22 @@ function it({
|
|
|
1422
1422
|
}
|
|
1423
1423
|
);
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1425
|
+
function dr({
|
|
1426
1426
|
...e
|
|
1427
1427
|
}) {
|
|
1428
1428
|
return /* @__PURE__ */ a(w.Root, { "data-slot": "select", ...e });
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function lr({
|
|
1431
1431
|
...e
|
|
1432
1432
|
}) {
|
|
1433
1433
|
return /* @__PURE__ */ a(w.Group, { "data-slot": "select-group", ...e });
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function cr({
|
|
1436
1436
|
...e
|
|
1437
1437
|
}) {
|
|
1438
1438
|
return /* @__PURE__ */ a(w.Value, { "data-slot": "select-value", ...e });
|
|
1439
1439
|
}
|
|
1440
|
-
function
|
|
1440
|
+
function ur({
|
|
1441
1441
|
className: e,
|
|
1442
1442
|
size: t = "default",
|
|
1443
1443
|
children: o,
|
|
@@ -1460,7 +1460,7 @@ function cr({
|
|
|
1460
1460
|
}
|
|
1461
1461
|
);
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function mr({
|
|
1464
1464
|
className: e,
|
|
1465
1465
|
children: t,
|
|
1466
1466
|
position: o = "popper",
|
|
@@ -1478,7 +1478,7 @@ function ur({
|
|
|
1478
1478
|
position: o,
|
|
1479
1479
|
...n,
|
|
1480
1480
|
children: [
|
|
1481
|
-
/* @__PURE__ */ a(
|
|
1481
|
+
/* @__PURE__ */ a(dt, {}),
|
|
1482
1482
|
/* @__PURE__ */ a(
|
|
1483
1483
|
w.Viewport,
|
|
1484
1484
|
{
|
|
@@ -1489,12 +1489,12 @@ function ur({
|
|
|
1489
1489
|
children: t
|
|
1490
1490
|
}
|
|
1491
1491
|
),
|
|
1492
|
-
/* @__PURE__ */ a(
|
|
1492
|
+
/* @__PURE__ */ a(lt, {})
|
|
1493
1493
|
]
|
|
1494
1494
|
}
|
|
1495
1495
|
) });
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function fr({
|
|
1498
1498
|
className: e,
|
|
1499
1499
|
...t
|
|
1500
1500
|
}) {
|
|
@@ -1507,7 +1507,7 @@ function mr({
|
|
|
1507
1507
|
}
|
|
1508
1508
|
);
|
|
1509
1509
|
}
|
|
1510
|
-
function
|
|
1510
|
+
function pr({
|
|
1511
1511
|
className: e,
|
|
1512
1512
|
children: t,
|
|
1513
1513
|
...o
|
|
@@ -1528,7 +1528,7 @@ function fr({
|
|
|
1528
1528
|
}
|
|
1529
1529
|
);
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function dt({
|
|
1532
1532
|
className: e,
|
|
1533
1533
|
...t
|
|
1534
1534
|
}) {
|
|
@@ -1541,11 +1541,11 @@ function st({
|
|
|
1541
1541
|
e
|
|
1542
1542
|
),
|
|
1543
1543
|
...t,
|
|
1544
|
-
children: /* @__PURE__ */ a(
|
|
1544
|
+
children: /* @__PURE__ */ a(Me, { className: "size-4" })
|
|
1545
1545
|
}
|
|
1546
1546
|
);
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function lt({
|
|
1549
1549
|
className: e,
|
|
1550
1550
|
...t
|
|
1551
1551
|
}) {
|
|
@@ -1562,7 +1562,7 @@ function dt({
|
|
|
1562
1562
|
}
|
|
1563
1563
|
);
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function gr({
|
|
1566
1566
|
options: e,
|
|
1567
1567
|
placeholder: t = "Select option...",
|
|
1568
1568
|
searchPlaceholder: o = "Search...",
|
|
@@ -1571,22 +1571,23 @@ function pr({
|
|
|
1571
1571
|
buttonClassName: d,
|
|
1572
1572
|
contentClassName: u,
|
|
1573
1573
|
disabled: c = !1,
|
|
1574
|
-
extraOptions:
|
|
1574
|
+
extraOptions: f,
|
|
1575
1575
|
side: l = "bottom",
|
|
1576
|
-
align:
|
|
1576
|
+
align: T = "start",
|
|
1577
1577
|
onlyIcon: M = !1,
|
|
1578
|
-
label: z
|
|
1578
|
+
label: z,
|
|
1579
|
+
inputProps: _
|
|
1579
1580
|
}) {
|
|
1580
|
-
const [C,
|
|
1581
|
+
const [C, I] = g.useState(!1), [y, p] = g.useState(""), m = n ?? y, [P, A] = g.useState(""), ge = g.useMemo(
|
|
1581
1582
|
() => e.filter(
|
|
1582
|
-
(x) => x.label.toLowerCase().includes(
|
|
1583
|
+
(x) => x.label.toLowerCase().includes(P.toLowerCase())
|
|
1583
1584
|
),
|
|
1584
|
-
[e,
|
|
1585
|
-
),
|
|
1586
|
-
n === void 0 &&
|
|
1587
|
-
}, j = e.find((x) => x.value ===
|
|
1588
|
-
return /* @__PURE__ */ i(
|
|
1589
|
-
/* @__PURE__ */ a(
|
|
1585
|
+
[e, P]
|
|
1586
|
+
), be = (x) => {
|
|
1587
|
+
n === void 0 && p(x === m ? "" : x), s?.(x === m ? "" : x), I(!1);
|
|
1588
|
+
}, j = e.find((x) => x.value === m);
|
|
1589
|
+
return /* @__PURE__ */ i(Ue, { open: C, onOpenChange: I, children: [
|
|
1590
|
+
/* @__PURE__ */ a(We, { children: /* @__PURE__ */ i(
|
|
1590
1591
|
J,
|
|
1591
1592
|
{
|
|
1592
1593
|
variant: "outline",
|
|
@@ -1618,38 +1619,40 @@ function pr({
|
|
|
1618
1619
|
] }) }) : /* @__PURE__ */ a("span", { className: "truncate", children: t })
|
|
1619
1620
|
}
|
|
1620
1621
|
),
|
|
1621
|
-
/* @__PURE__ */ a(
|
|
1622
|
+
/* @__PURE__ */ a(De, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
|
|
1622
1623
|
]
|
|
1623
1624
|
}
|
|
1624
1625
|
) }),
|
|
1625
|
-
/* @__PURE__ */ a(
|
|
1626
|
+
/* @__PURE__ */ a(qe, { className: r("p-0", u), side: l, align: T, children: /* @__PURE__ */ i(at, { children: [
|
|
1626
1627
|
/* @__PURE__ */ a(
|
|
1627
|
-
|
|
1628
|
+
rt,
|
|
1628
1629
|
{
|
|
1629
1630
|
placeholder: o,
|
|
1630
|
-
value:
|
|
1631
|
-
onValueChange:
|
|
1631
|
+
value: P,
|
|
1632
|
+
onValueChange: A,
|
|
1633
|
+
..._
|
|
1632
1634
|
}
|
|
1633
1635
|
),
|
|
1634
|
-
/* @__PURE__ */ i(
|
|
1635
|
-
/* @__PURE__ */ i(
|
|
1636
|
+
/* @__PURE__ */ i(ot, { children: [
|
|
1637
|
+
/* @__PURE__ */ i(nt, { children: [
|
|
1636
1638
|
"No ",
|
|
1637
1639
|
z?.toLowerCase() ?? "option",
|
|
1638
1640
|
" found."
|
|
1639
1641
|
] }),
|
|
1640
|
-
/* @__PURE__ */ i(
|
|
1641
|
-
|
|
1642
|
-
|
|
1642
|
+
/* @__PURE__ */ i(it, { children: [
|
|
1643
|
+
ge.map((x) => /* @__PURE__ */ i(
|
|
1644
|
+
st,
|
|
1643
1645
|
{
|
|
1644
1646
|
value: x.value,
|
|
1645
|
-
onSelect: (
|
|
1647
|
+
onSelect: (he) => be(he),
|
|
1648
|
+
className: "break-all",
|
|
1646
1649
|
children: [
|
|
1647
1650
|
/* @__PURE__ */ a(
|
|
1648
1651
|
O,
|
|
1649
1652
|
{
|
|
1650
1653
|
className: r(
|
|
1651
1654
|
"mr-2 h-4 w-4",
|
|
1652
|
-
|
|
1655
|
+
m === x.value ? "opacity-100" : "opacity-0"
|
|
1653
1656
|
)
|
|
1654
1657
|
}
|
|
1655
1658
|
),
|
|
@@ -1659,14 +1662,14 @@ function pr({
|
|
|
1659
1662
|
},
|
|
1660
1663
|
x.value
|
|
1661
1664
|
)),
|
|
1662
|
-
|
|
1665
|
+
f
|
|
1663
1666
|
] })
|
|
1664
1667
|
] })
|
|
1665
1668
|
] }) })
|
|
1666
1669
|
] });
|
|
1667
1670
|
}
|
|
1668
1671
|
const U = 768;
|
|
1669
|
-
function
|
|
1672
|
+
function ct() {
|
|
1670
1673
|
const [e, t] = g.useState(void 0);
|
|
1671
1674
|
return g.useEffect(() => {
|
|
1672
1675
|
const o = window.matchMedia(`(max-width: ${U - 1}px)`), n = () => {
|
|
@@ -1682,7 +1685,7 @@ function le({
|
|
|
1682
1685
|
...n
|
|
1683
1686
|
}) {
|
|
1684
1687
|
return /* @__PURE__ */ a(
|
|
1685
|
-
|
|
1688
|
+
Be.Root,
|
|
1686
1689
|
{
|
|
1687
1690
|
"data-slot": "separator",
|
|
1688
1691
|
decorative: o,
|
|
@@ -1695,20 +1698,20 @@ function le({
|
|
|
1695
1698
|
}
|
|
1696
1699
|
);
|
|
1697
1700
|
}
|
|
1698
|
-
function
|
|
1701
|
+
function ut({ ...e }) {
|
|
1699
1702
|
return /* @__PURE__ */ a(b.Root, { "data-slot": "sheet", ...e });
|
|
1700
1703
|
}
|
|
1701
|
-
function
|
|
1704
|
+
function br({
|
|
1702
1705
|
...e
|
|
1703
1706
|
}) {
|
|
1704
1707
|
return /* @__PURE__ */ a(b.Trigger, { "data-slot": "sheet-trigger", ...e });
|
|
1705
1708
|
}
|
|
1706
|
-
function
|
|
1709
|
+
function mt({
|
|
1707
1710
|
...e
|
|
1708
1711
|
}) {
|
|
1709
1712
|
return /* @__PURE__ */ a(b.Portal, { "data-slot": "sheet-portal", ...e });
|
|
1710
1713
|
}
|
|
1711
|
-
function
|
|
1714
|
+
function ft({
|
|
1712
1715
|
className: e,
|
|
1713
1716
|
...t
|
|
1714
1717
|
}) {
|
|
@@ -1724,14 +1727,14 @@ function mt({
|
|
|
1724
1727
|
}
|
|
1725
1728
|
);
|
|
1726
1729
|
}
|
|
1727
|
-
function
|
|
1730
|
+
function pt({
|
|
1728
1731
|
className: e,
|
|
1729
1732
|
children: t,
|
|
1730
1733
|
side: o = "right",
|
|
1731
1734
|
...n
|
|
1732
1735
|
}) {
|
|
1733
|
-
return /* @__PURE__ */ i(
|
|
1734
|
-
/* @__PURE__ */ a(
|
|
1736
|
+
return /* @__PURE__ */ i(mt, { children: [
|
|
1737
|
+
/* @__PURE__ */ a(ft, {}),
|
|
1735
1738
|
/* @__PURE__ */ i(
|
|
1736
1739
|
b.Content,
|
|
1737
1740
|
{
|
|
@@ -1756,7 +1759,7 @@ function ft({
|
|
|
1756
1759
|
)
|
|
1757
1760
|
] });
|
|
1758
1761
|
}
|
|
1759
|
-
function
|
|
1762
|
+
function gt({ className: e, ...t }) {
|
|
1760
1763
|
return /* @__PURE__ */ a(
|
|
1761
1764
|
"div",
|
|
1762
1765
|
{
|
|
@@ -1766,7 +1769,7 @@ function pt({ className: e, ...t }) {
|
|
|
1766
1769
|
}
|
|
1767
1770
|
);
|
|
1768
1771
|
}
|
|
1769
|
-
function
|
|
1772
|
+
function hr({ className: e, ...t }) {
|
|
1770
1773
|
return /* @__PURE__ */ a(
|
|
1771
1774
|
"div",
|
|
1772
1775
|
{
|
|
@@ -1776,7 +1779,7 @@ function br({ className: e, ...t }) {
|
|
|
1776
1779
|
}
|
|
1777
1780
|
);
|
|
1778
1781
|
}
|
|
1779
|
-
function
|
|
1782
|
+
function bt({
|
|
1780
1783
|
className: e,
|
|
1781
1784
|
...t
|
|
1782
1785
|
}) {
|
|
@@ -1789,7 +1792,7 @@ function gt({
|
|
|
1789
1792
|
}
|
|
1790
1793
|
);
|
|
1791
1794
|
}
|
|
1792
|
-
function
|
|
1795
|
+
function ht({
|
|
1793
1796
|
className: e,
|
|
1794
1797
|
...t
|
|
1795
1798
|
}) {
|
|
@@ -1802,14 +1805,14 @@ function bt({
|
|
|
1802
1805
|
}
|
|
1803
1806
|
);
|
|
1804
1807
|
}
|
|
1805
|
-
const
|
|
1808
|
+
const vt = "sidebar_state", xt = 3600 * 24 * 7, wt = "16rem", Nt = "18rem", yt = "3rem", kt = "b", ce = g.createContext(null);
|
|
1806
1809
|
function F() {
|
|
1807
1810
|
const e = g.useContext(ce);
|
|
1808
1811
|
if (!e)
|
|
1809
1812
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
1810
1813
|
return e;
|
|
1811
1814
|
}
|
|
1812
|
-
function
|
|
1815
|
+
function vr({
|
|
1813
1816
|
defaultOpen: e = !0,
|
|
1814
1817
|
open: t,
|
|
1815
1818
|
onOpenChange: o,
|
|
@@ -1818,38 +1821,38 @@ function hr({
|
|
|
1818
1821
|
children: d,
|
|
1819
1822
|
...u
|
|
1820
1823
|
}) {
|
|
1821
|
-
const c =
|
|
1822
|
-
(
|
|
1823
|
-
const m = typeof
|
|
1824
|
-
o ? o(m) : M(m), document.cookie = `${
|
|
1824
|
+
const c = ct(), [f, l] = g.useState(!1), [T, M] = g.useState(e), z = t ?? T, _ = g.useCallback(
|
|
1825
|
+
(p) => {
|
|
1826
|
+
const m = typeof p == "function" ? p(z) : p;
|
|
1827
|
+
o ? o(m) : M(m), document.cookie = `${vt}=${m}; path=/; max-age=${xt}`;
|
|
1825
1828
|
},
|
|
1826
1829
|
[o, z]
|
|
1827
|
-
),
|
|
1830
|
+
), C = g.useCallback(() => c ? l((p) => !p) : _((p) => !p), [c, _, l]);
|
|
1828
1831
|
g.useEffect(() => {
|
|
1829
|
-
const
|
|
1830
|
-
m.key ===
|
|
1832
|
+
const p = (m) => {
|
|
1833
|
+
m.key === kt && (m.metaKey || m.ctrlKey) && (m.preventDefault(), C());
|
|
1831
1834
|
};
|
|
1832
|
-
return window.addEventListener("keydown",
|
|
1833
|
-
}, [
|
|
1834
|
-
const
|
|
1835
|
+
return window.addEventListener("keydown", p), () => window.removeEventListener("keydown", p);
|
|
1836
|
+
}, [C]);
|
|
1837
|
+
const I = z ? "expanded" : "collapsed", y = g.useMemo(
|
|
1835
1838
|
() => ({
|
|
1836
|
-
state:
|
|
1839
|
+
state: I,
|
|
1837
1840
|
open: z,
|
|
1838
|
-
setOpen:
|
|
1841
|
+
setOpen: _,
|
|
1839
1842
|
isMobile: c,
|
|
1840
|
-
openMobile:
|
|
1843
|
+
openMobile: f,
|
|
1841
1844
|
setOpenMobile: l,
|
|
1842
|
-
toggleSidebar:
|
|
1845
|
+
toggleSidebar: C
|
|
1843
1846
|
}),
|
|
1844
|
-
[
|
|
1847
|
+
[I, z, _, c, f, l, C]
|
|
1845
1848
|
);
|
|
1846
1849
|
return /* @__PURE__ */ a(ce.Provider, { value: y, children: /* @__PURE__ */ a(de, { delayDuration: 0, children: /* @__PURE__ */ a(
|
|
1847
1850
|
"div",
|
|
1848
1851
|
{
|
|
1849
1852
|
"data-slot": "sidebar-wrapper",
|
|
1850
1853
|
style: {
|
|
1851
|
-
"--sidebar-width":
|
|
1852
|
-
"--sidebar-width-icon":
|
|
1854
|
+
"--sidebar-width": wt,
|
|
1855
|
+
"--sidebar-width-icon": yt,
|
|
1853
1856
|
...s
|
|
1854
1857
|
},
|
|
1855
1858
|
className: r(
|
|
@@ -1861,7 +1864,7 @@ function hr({
|
|
|
1861
1864
|
}
|
|
1862
1865
|
) }) });
|
|
1863
1866
|
}
|
|
1864
|
-
function
|
|
1867
|
+
function xr({
|
|
1865
1868
|
side: e = "left",
|
|
1866
1869
|
variant: t = "sidebar",
|
|
1867
1870
|
collapsible: o = "offcanvas",
|
|
@@ -1869,7 +1872,7 @@ function vr({
|
|
|
1869
1872
|
children: s,
|
|
1870
1873
|
...d
|
|
1871
1874
|
}) {
|
|
1872
|
-
const { isMobile: u, state: c, openMobile:
|
|
1875
|
+
const { isMobile: u, state: c, openMobile: f, setOpenMobile: l } = F();
|
|
1873
1876
|
return o === "none" ? /* @__PURE__ */ a(
|
|
1874
1877
|
"div",
|
|
1875
1878
|
{
|
|
@@ -1881,21 +1884,21 @@ function vr({
|
|
|
1881
1884
|
...d,
|
|
1882
1885
|
children: s
|
|
1883
1886
|
}
|
|
1884
|
-
) : u ? /* @__PURE__ */ a(
|
|
1885
|
-
|
|
1887
|
+
) : u ? /* @__PURE__ */ a(ut, { open: f, onOpenChange: l, ...d, children: /* @__PURE__ */ i(
|
|
1888
|
+
pt,
|
|
1886
1889
|
{
|
|
1887
1890
|
"data-sidebar": "sidebar",
|
|
1888
1891
|
"data-slot": "sidebar",
|
|
1889
1892
|
"data-mobile": "true",
|
|
1890
1893
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
1891
1894
|
style: {
|
|
1892
|
-
"--sidebar-width":
|
|
1895
|
+
"--sidebar-width": Nt
|
|
1893
1896
|
},
|
|
1894
1897
|
side: e,
|
|
1895
1898
|
children: [
|
|
1896
|
-
/* @__PURE__ */ i(
|
|
1897
|
-
/* @__PURE__ */ a(
|
|
1898
|
-
/* @__PURE__ */ a(
|
|
1899
|
+
/* @__PURE__ */ i(gt, { className: "sr-only", children: [
|
|
1900
|
+
/* @__PURE__ */ a(bt, { children: "Sidebar" }),
|
|
1901
|
+
/* @__PURE__ */ a(ht, { children: "Displays the mobile sidebar." })
|
|
1899
1902
|
] }),
|
|
1900
1903
|
/* @__PURE__ */ a("div", { className: "flex h-full w-full flex-col", children: s })
|
|
1901
1904
|
]
|
|
@@ -1953,7 +1956,7 @@ function vr({
|
|
|
1953
1956
|
}
|
|
1954
1957
|
);
|
|
1955
1958
|
}
|
|
1956
|
-
function
|
|
1959
|
+
function wr({
|
|
1957
1960
|
className: e,
|
|
1958
1961
|
onClick: t,
|
|
1959
1962
|
...o
|
|
@@ -1972,13 +1975,13 @@ function xr({
|
|
|
1972
1975
|
},
|
|
1973
1976
|
...o,
|
|
1974
1977
|
children: [
|
|
1975
|
-
/* @__PURE__ */ a(
|
|
1978
|
+
/* @__PURE__ */ a(Ie, {}),
|
|
1976
1979
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
1977
1980
|
]
|
|
1978
1981
|
}
|
|
1979
1982
|
);
|
|
1980
1983
|
}
|
|
1981
|
-
function
|
|
1984
|
+
function Nr({ className: e, ...t }) {
|
|
1982
1985
|
const { toggleSidebar: o } = F();
|
|
1983
1986
|
return /* @__PURE__ */ a(
|
|
1984
1987
|
"button",
|
|
@@ -2002,7 +2005,7 @@ function wr({ className: e, ...t }) {
|
|
|
2002
2005
|
}
|
|
2003
2006
|
);
|
|
2004
2007
|
}
|
|
2005
|
-
function
|
|
2008
|
+
function yr({ className: e, ...t }) {
|
|
2006
2009
|
return /* @__PURE__ */ a(
|
|
2007
2010
|
"main",
|
|
2008
2011
|
{
|
|
@@ -2016,12 +2019,12 @@ function Nr({ className: e, ...t }) {
|
|
|
2016
2019
|
}
|
|
2017
2020
|
);
|
|
2018
2021
|
}
|
|
2019
|
-
function
|
|
2022
|
+
function kr({
|
|
2020
2023
|
className: e,
|
|
2021
2024
|
...t
|
|
2022
2025
|
}) {
|
|
2023
2026
|
return /* @__PURE__ */ a(
|
|
2024
|
-
|
|
2027
|
+
Ke,
|
|
2025
2028
|
{
|
|
2026
2029
|
"data-slot": "sidebar-input",
|
|
2027
2030
|
"data-sidebar": "input",
|
|
@@ -2030,7 +2033,7 @@ function yr({
|
|
|
2030
2033
|
}
|
|
2031
2034
|
);
|
|
2032
2035
|
}
|
|
2033
|
-
function
|
|
2036
|
+
function zr({ className: e, ...t }) {
|
|
2034
2037
|
return /* @__PURE__ */ a(
|
|
2035
2038
|
"div",
|
|
2036
2039
|
{
|
|
@@ -2041,7 +2044,7 @@ function kr({ className: e, ...t }) {
|
|
|
2041
2044
|
}
|
|
2042
2045
|
);
|
|
2043
2046
|
}
|
|
2044
|
-
function
|
|
2047
|
+
function Cr({ className: e, ...t }) {
|
|
2045
2048
|
return /* @__PURE__ */ a(
|
|
2046
2049
|
"div",
|
|
2047
2050
|
{
|
|
@@ -2052,7 +2055,7 @@ function zr({ className: e, ...t }) {
|
|
|
2052
2055
|
}
|
|
2053
2056
|
);
|
|
2054
2057
|
}
|
|
2055
|
-
function
|
|
2058
|
+
function Sr({
|
|
2056
2059
|
className: e,
|
|
2057
2060
|
...t
|
|
2058
2061
|
}) {
|
|
@@ -2066,7 +2069,7 @@ function Cr({
|
|
|
2066
2069
|
}
|
|
2067
2070
|
);
|
|
2068
2071
|
}
|
|
2069
|
-
function
|
|
2072
|
+
function Tr({ className: e, ...t }) {
|
|
2070
2073
|
return /* @__PURE__ */ a(
|
|
2071
2074
|
"div",
|
|
2072
2075
|
{
|
|
@@ -2080,7 +2083,7 @@ function Sr({ className: e, ...t }) {
|
|
|
2080
2083
|
}
|
|
2081
2084
|
);
|
|
2082
2085
|
}
|
|
2083
|
-
function
|
|
2086
|
+
function _r({ className: e, ...t }) {
|
|
2084
2087
|
return /* @__PURE__ */ a(
|
|
2085
2088
|
"div",
|
|
2086
2089
|
{
|
|
@@ -2091,7 +2094,7 @@ function Tr({ className: e, ...t }) {
|
|
|
2091
2094
|
}
|
|
2092
2095
|
);
|
|
2093
2096
|
}
|
|
2094
|
-
function
|
|
2097
|
+
function Dr({
|
|
2095
2098
|
className: e,
|
|
2096
2099
|
asChild: t = !1,
|
|
2097
2100
|
...o
|
|
@@ -2110,7 +2113,7 @@ function _r({
|
|
|
2110
2113
|
}
|
|
2111
2114
|
);
|
|
2112
2115
|
}
|
|
2113
|
-
function
|
|
2116
|
+
function Mr({
|
|
2114
2117
|
className: e,
|
|
2115
2118
|
asChild: t = !1,
|
|
2116
2119
|
...o
|
|
@@ -2131,7 +2134,7 @@ function Dr({
|
|
|
2131
2134
|
}
|
|
2132
2135
|
);
|
|
2133
2136
|
}
|
|
2134
|
-
function
|
|
2137
|
+
function Ir({
|
|
2135
2138
|
className: e,
|
|
2136
2139
|
...t
|
|
2137
2140
|
}) {
|
|
@@ -2145,7 +2148,7 @@ function Mr({
|
|
|
2145
2148
|
}
|
|
2146
2149
|
);
|
|
2147
2150
|
}
|
|
2148
|
-
function
|
|
2151
|
+
function Pr({ className: e, ...t }) {
|
|
2149
2152
|
return /* @__PURE__ */ a(
|
|
2150
2153
|
"ul",
|
|
2151
2154
|
{
|
|
@@ -2156,7 +2159,7 @@ function Ir({ className: e, ...t }) {
|
|
|
2156
2159
|
}
|
|
2157
2160
|
);
|
|
2158
2161
|
}
|
|
2159
|
-
function
|
|
2162
|
+
function Rr({ className: e, ...t }) {
|
|
2160
2163
|
return /* @__PURE__ */ a(
|
|
2161
2164
|
"li",
|
|
2162
2165
|
{
|
|
@@ -2167,7 +2170,7 @@ function Pr({ className: e, ...t }) {
|
|
|
2167
2170
|
}
|
|
2168
2171
|
);
|
|
2169
2172
|
}
|
|
2170
|
-
const
|
|
2173
|
+
const zt = G(
|
|
2171
2174
|
"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",
|
|
2172
2175
|
{
|
|
2173
2176
|
variants: {
|
|
@@ -2187,7 +2190,7 @@ const kt = G(
|
|
|
2187
2190
|
}
|
|
2188
2191
|
}
|
|
2189
2192
|
);
|
|
2190
|
-
function
|
|
2193
|
+
function Ar({
|
|
2191
2194
|
asChild: e = !1,
|
|
2192
2195
|
isActive: t = !1,
|
|
2193
2196
|
variant: o = "default",
|
|
@@ -2196,33 +2199,33 @@ function Rr({
|
|
|
2196
2199
|
className: d,
|
|
2197
2200
|
...u
|
|
2198
2201
|
}) {
|
|
2199
|
-
const c = e ? D : "button", { isMobile:
|
|
2202
|
+
const c = e ? D : "button", { isMobile: f, state: l } = F(), T = /* @__PURE__ */ a(
|
|
2200
2203
|
c,
|
|
2201
2204
|
{
|
|
2202
2205
|
"data-slot": "sidebar-menu-button",
|
|
2203
2206
|
"data-sidebar": "menu-button",
|
|
2204
2207
|
"data-size": n,
|
|
2205
2208
|
"data-active": t,
|
|
2206
|
-
className: r(
|
|
2209
|
+
className: r(zt({ variant: o, size: n }), d),
|
|
2207
2210
|
...u
|
|
2208
2211
|
}
|
|
2209
2212
|
);
|
|
2210
2213
|
return s ? (typeof s == "string" && (s = {
|
|
2211
2214
|
children: s
|
|
2212
|
-
}), /* @__PURE__ */ i(
|
|
2213
|
-
/* @__PURE__ */ a(
|
|
2215
|
+
}), /* @__PURE__ */ i(Je, { children: [
|
|
2216
|
+
/* @__PURE__ */ a(Qe, { asChild: !0, children: T }),
|
|
2214
2217
|
/* @__PURE__ */ a(
|
|
2215
|
-
|
|
2218
|
+
Ze,
|
|
2216
2219
|
{
|
|
2217
2220
|
side: "right",
|
|
2218
2221
|
align: "center",
|
|
2219
|
-
hidden: l !== "collapsed" ||
|
|
2222
|
+
hidden: l !== "collapsed" || f,
|
|
2220
2223
|
...s
|
|
2221
2224
|
}
|
|
2222
2225
|
)
|
|
2223
|
-
] })) :
|
|
2226
|
+
] })) : T;
|
|
2224
2227
|
}
|
|
2225
|
-
function
|
|
2228
|
+
function Lr({
|
|
2226
2229
|
className: e,
|
|
2227
2230
|
asChild: t = !1,
|
|
2228
2231
|
showOnHover: o = !1,
|
|
@@ -2248,7 +2251,7 @@ function Ar({
|
|
|
2248
2251
|
}
|
|
2249
2252
|
);
|
|
2250
2253
|
}
|
|
2251
|
-
function
|
|
2254
|
+
function Er({
|
|
2252
2255
|
className: e,
|
|
2253
2256
|
...t
|
|
2254
2257
|
}) {
|
|
@@ -2270,7 +2273,7 @@ function Lr({
|
|
|
2270
2273
|
}
|
|
2271
2274
|
);
|
|
2272
2275
|
}
|
|
2273
|
-
function
|
|
2276
|
+
function jr({
|
|
2274
2277
|
className: e,
|
|
2275
2278
|
showIcon: t = !1,
|
|
2276
2279
|
...o
|
|
@@ -2305,7 +2308,7 @@ function Er({
|
|
|
2305
2308
|
}
|
|
2306
2309
|
);
|
|
2307
2310
|
}
|
|
2308
|
-
function
|
|
2311
|
+
function Br({ className: e, ...t }) {
|
|
2309
2312
|
return /* @__PURE__ */ a(
|
|
2310
2313
|
"ul",
|
|
2311
2314
|
{
|
|
@@ -2320,7 +2323,7 @@ function jr({ className: e, ...t }) {
|
|
|
2320
2323
|
}
|
|
2321
2324
|
);
|
|
2322
2325
|
}
|
|
2323
|
-
function
|
|
2326
|
+
function Or({
|
|
2324
2327
|
className: e,
|
|
2325
2328
|
...t
|
|
2326
2329
|
}) {
|
|
@@ -2334,7 +2337,7 @@ function Br({
|
|
|
2334
2337
|
}
|
|
2335
2338
|
);
|
|
2336
2339
|
}
|
|
2337
|
-
function
|
|
2340
|
+
function $r({
|
|
2338
2341
|
asChild: e = !1,
|
|
2339
2342
|
size: t = "md",
|
|
2340
2343
|
isActive: o = !1,
|
|
@@ -2360,7 +2363,7 @@ function Or({
|
|
|
2360
2363
|
}
|
|
2361
2364
|
);
|
|
2362
2365
|
}
|
|
2363
|
-
function
|
|
2366
|
+
function Ct({
|
|
2364
2367
|
className: e,
|
|
2365
2368
|
children: t,
|
|
2366
2369
|
...o
|
|
@@ -2380,13 +2383,13 @@ function zt({
|
|
|
2380
2383
|
children: t
|
|
2381
2384
|
}
|
|
2382
2385
|
),
|
|
2383
|
-
/* @__PURE__ */ a(
|
|
2386
|
+
/* @__PURE__ */ a(St, {}),
|
|
2384
2387
|
/* @__PURE__ */ a(B.Corner, {})
|
|
2385
2388
|
]
|
|
2386
2389
|
}
|
|
2387
2390
|
);
|
|
2388
2391
|
}
|
|
2389
|
-
function
|
|
2392
|
+
function St({
|
|
2390
2393
|
className: e,
|
|
2391
2394
|
orientation: t = "vertical",
|
|
2392
2395
|
...o
|
|
@@ -2413,7 +2416,7 @@ function Ct({
|
|
|
2413
2416
|
}
|
|
2414
2417
|
);
|
|
2415
2418
|
}
|
|
2416
|
-
function
|
|
2419
|
+
function Gr({
|
|
2417
2420
|
item: e,
|
|
2418
2421
|
children: t,
|
|
2419
2422
|
keyClassName: o = "font-semibold min-w-1/2",
|
|
@@ -2426,7 +2429,7 @@ function $r({
|
|
|
2426
2429
|
/* @__PURE__ */ a("span", { className: n, children: t })
|
|
2427
2430
|
] }) });
|
|
2428
2431
|
}
|
|
2429
|
-
function
|
|
2432
|
+
function Hr({
|
|
2430
2433
|
children: e,
|
|
2431
2434
|
separatorClassName: t = "w-full"
|
|
2432
2435
|
}) {
|
|
@@ -2436,7 +2439,7 @@ function Gr({
|
|
|
2436
2439
|
s !== o.length - 1 && /* @__PURE__ */ a(le, { className: t })
|
|
2437
2440
|
] }, s)) });
|
|
2438
2441
|
}
|
|
2439
|
-
function
|
|
2442
|
+
function Vr({
|
|
2440
2443
|
className: e,
|
|
2441
2444
|
...t
|
|
2442
2445
|
}) {
|
|
@@ -2460,7 +2463,7 @@ function Hr({
|
|
|
2460
2463
|
}
|
|
2461
2464
|
);
|
|
2462
2465
|
}
|
|
2463
|
-
const
|
|
2466
|
+
const Fr = ({
|
|
2464
2467
|
className: e,
|
|
2465
2468
|
title: t,
|
|
2466
2469
|
description: o,
|
|
@@ -2479,7 +2482,7 @@ const Vr = ({
|
|
|
2479
2482
|
s
|
|
2480
2483
|
]
|
|
2481
2484
|
}
|
|
2482
|
-
) }),
|
|
2485
|
+
) }), Kr = k.forwardRef(({
|
|
2483
2486
|
data: e,
|
|
2484
2487
|
initialSelectedItemId: t,
|
|
2485
2488
|
onSelectChange: o,
|
|
@@ -2488,34 +2491,34 @@ const Vr = ({
|
|
|
2488
2491
|
itemIcon: d,
|
|
2489
2492
|
className: u,
|
|
2490
2493
|
...c
|
|
2491
|
-
},
|
|
2492
|
-
const [l,
|
|
2493
|
-
|
|
2494
|
+
}, f) => {
|
|
2495
|
+
const [l, T] = k.useState(t), M = k.useCallback((y) => {
|
|
2496
|
+
T(y?.id), o && o(y);
|
|
2494
2497
|
}, [o]), z = k.useMemo(() => {
|
|
2495
2498
|
if (!t)
|
|
2496
2499
|
return [];
|
|
2497
2500
|
const y = [];
|
|
2498
|
-
function
|
|
2501
|
+
function p(m, P) {
|
|
2499
2502
|
if (m instanceof Array)
|
|
2500
|
-
for (let
|
|
2501
|
-
if (y.push(m[
|
|
2503
|
+
for (let A = 0; A < m.length; A++) {
|
|
2504
|
+
if (y.push(m[A].id), p(m[A], P) && !n)
|
|
2502
2505
|
return !0;
|
|
2503
2506
|
n || y.pop();
|
|
2504
2507
|
}
|
|
2505
2508
|
else {
|
|
2506
|
-
if (!n && m.id ===
|
|
2509
|
+
if (!n && m.id === P)
|
|
2507
2510
|
return !0;
|
|
2508
2511
|
if (m.children)
|
|
2509
|
-
return
|
|
2512
|
+
return p(m.children, P);
|
|
2510
2513
|
}
|
|
2511
2514
|
}
|
|
2512
|
-
return
|
|
2513
|
-
}, [e, t, n]), { ref:
|
|
2514
|
-
return /* @__PURE__ */ a("div", { ref:
|
|
2515
|
+
return p(e, t), y;
|
|
2516
|
+
}, [e, t, n]), { ref: _, width: C, height: I } = Oe();
|
|
2517
|
+
return /* @__PURE__ */ a("div", { ref: _, className: r("overflow-hidden", u), children: /* @__PURE__ */ a(Ct, { style: { width: C, height: I }, children: /* @__PURE__ */ a("div", { className: "relative p-2", children: /* @__PURE__ */ a(
|
|
2515
2518
|
ue,
|
|
2516
2519
|
{
|
|
2517
2520
|
data: e,
|
|
2518
|
-
ref:
|
|
2521
|
+
ref: f,
|
|
2519
2522
|
selectedItemId: l,
|
|
2520
2523
|
handleSelectChange: M,
|
|
2521
2524
|
expandedItemIds: z,
|
|
@@ -2524,7 +2527,7 @@ const Vr = ({
|
|
|
2524
2527
|
...c
|
|
2525
2528
|
}
|
|
2526
2529
|
) }) }) });
|
|
2527
|
-
}), ue = k.forwardRef(({ className: e, data: t, selectedItemId: o, handleSelectChange: n, expandedItemIds: s, FolderIcon: d, ItemIcon: u, ...c },
|
|
2530
|
+
}), ue = k.forwardRef(({ className: e, data: t, selectedItemId: o, handleSelectChange: n, expandedItemIds: s, FolderIcon: d, ItemIcon: u, ...c }, f) => /* @__PURE__ */ a("div", { ref: f, role: "tree", className: e, ...c, children: /* @__PURE__ */ a("ul", { children: t instanceof Array ? t.map((l) => /* @__PURE__ */ a("li", { children: l.children ? /* @__PURE__ */ a(N.Root, { type: "multiple", defaultValue: s, children: /* @__PURE__ */ i(N.Item, { value: l.id, children: [
|
|
2528
2531
|
/* @__PURE__ */ i(
|
|
2529
2532
|
me,
|
|
2530
2533
|
{
|
|
@@ -2624,12 +2627,12 @@ const fe = k.forwardRef(({ className: e, children: t, ...o }, n) => /* @__PURE__
|
|
|
2624
2627
|
}
|
|
2625
2628
|
));
|
|
2626
2629
|
fe.displayName = N.Content.displayName;
|
|
2627
|
-
function
|
|
2630
|
+
function Ur({
|
|
2628
2631
|
...e
|
|
2629
2632
|
}) {
|
|
2630
2633
|
return /* @__PURE__ */ a(N.Root, { "data-slot": "accordion", ...e });
|
|
2631
2634
|
}
|
|
2632
|
-
function
|
|
2635
|
+
function Wr({
|
|
2633
2636
|
className: e,
|
|
2634
2637
|
...t
|
|
2635
2638
|
}) {
|
|
@@ -2642,7 +2645,7 @@ function Ur({
|
|
|
2642
2645
|
}
|
|
2643
2646
|
);
|
|
2644
2647
|
}
|
|
2645
|
-
function
|
|
2648
|
+
function qr({
|
|
2646
2649
|
className: e,
|
|
2647
2650
|
children: t,
|
|
2648
2651
|
...o
|
|
@@ -2663,7 +2666,7 @@ function Wr({
|
|
|
2663
2666
|
}
|
|
2664
2667
|
) });
|
|
2665
2668
|
}
|
|
2666
|
-
function
|
|
2669
|
+
function Xr({
|
|
2667
2670
|
className: e,
|
|
2668
2671
|
children: t,
|
|
2669
2672
|
...o
|
|
@@ -2678,7 +2681,7 @@ function qr({
|
|
|
2678
2681
|
}
|
|
2679
2682
|
);
|
|
2680
2683
|
}
|
|
2681
|
-
function
|
|
2684
|
+
function Yr({
|
|
2682
2685
|
className: e,
|
|
2683
2686
|
...t
|
|
2684
2687
|
}) {
|
|
@@ -2694,12 +2697,12 @@ function Xr({
|
|
|
2694
2697
|
}
|
|
2695
2698
|
);
|
|
2696
2699
|
}
|
|
2697
|
-
function
|
|
2700
|
+
function Jr({
|
|
2698
2701
|
...e
|
|
2699
2702
|
}) {
|
|
2700
2703
|
return /* @__PURE__ */ a(Y.Panel, { "data-slot": "resizable-panel", ...e });
|
|
2701
2704
|
}
|
|
2702
|
-
function
|
|
2705
|
+
function Qr({
|
|
2703
2706
|
withHandle: e,
|
|
2704
2707
|
className: t,
|
|
2705
2708
|
...o
|
|
@@ -2713,11 +2716,11 @@ function Jr({
|
|
|
2713
2716
|
t
|
|
2714
2717
|
),
|
|
2715
2718
|
...o,
|
|
2716
|
-
children: e && /* @__PURE__ */ a("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ a(
|
|
2719
|
+
children: e && /* @__PURE__ */ a("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ a(Pe, { className: "size-2.5" }) })
|
|
2717
2720
|
}
|
|
2718
2721
|
);
|
|
2719
2722
|
}
|
|
2720
|
-
const
|
|
2723
|
+
const Tt = G(
|
|
2721
2724
|
"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",
|
|
2722
2725
|
{
|
|
2723
2726
|
variants: {
|
|
@@ -2731,7 +2734,7 @@ const St = G(
|
|
|
2731
2734
|
}
|
|
2732
2735
|
}
|
|
2733
2736
|
);
|
|
2734
|
-
function
|
|
2737
|
+
function Zr({
|
|
2735
2738
|
className: e,
|
|
2736
2739
|
variant: t,
|
|
2737
2740
|
...o
|
|
@@ -2741,12 +2744,12 @@ function Qr({
|
|
|
2741
2744
|
{
|
|
2742
2745
|
"data-slot": "alert",
|
|
2743
2746
|
role: "alert",
|
|
2744
|
-
className: r(
|
|
2747
|
+
className: r(Tt({ variant: t }), e),
|
|
2745
2748
|
...o
|
|
2746
2749
|
}
|
|
2747
2750
|
);
|
|
2748
2751
|
}
|
|
2749
|
-
function
|
|
2752
|
+
function eo({ className: e, ...t }) {
|
|
2750
2753
|
return /* @__PURE__ */ a(
|
|
2751
2754
|
"div",
|
|
2752
2755
|
{
|
|
@@ -2759,7 +2762,7 @@ function Zr({ className: e, ...t }) {
|
|
|
2759
2762
|
}
|
|
2760
2763
|
);
|
|
2761
2764
|
}
|
|
2762
|
-
function
|
|
2765
|
+
function to({
|
|
2763
2766
|
className: e,
|
|
2764
2767
|
...t
|
|
2765
2768
|
}) {
|
|
@@ -2775,7 +2778,7 @@ function eo({
|
|
|
2775
2778
|
}
|
|
2776
2779
|
);
|
|
2777
2780
|
}
|
|
2778
|
-
function
|
|
2781
|
+
function ao({
|
|
2779
2782
|
icon: e,
|
|
2780
2783
|
size: t = 24,
|
|
2781
2784
|
className: o,
|
|
@@ -2802,7 +2805,7 @@ function to({
|
|
|
2802
2805
|
}
|
|
2803
2806
|
);
|
|
2804
2807
|
}
|
|
2805
|
-
function
|
|
2808
|
+
function ro({
|
|
2806
2809
|
className: e,
|
|
2807
2810
|
...t
|
|
2808
2811
|
}) {
|
|
@@ -2827,27 +2830,27 @@ function ao({
|
|
|
2827
2830
|
}
|
|
2828
2831
|
);
|
|
2829
2832
|
}
|
|
2830
|
-
function
|
|
2833
|
+
function oo({
|
|
2831
2834
|
...e
|
|
2832
2835
|
}) {
|
|
2833
|
-
return /* @__PURE__ */ a(
|
|
2836
|
+
return /* @__PURE__ */ a(S.Root, { "data-slot": "alert-dialog", ...e });
|
|
2834
2837
|
}
|
|
2835
|
-
function
|
|
2838
|
+
function no({
|
|
2836
2839
|
...e
|
|
2837
2840
|
}) {
|
|
2838
|
-
return /* @__PURE__ */ a(
|
|
2841
|
+
return /* @__PURE__ */ a(S.Trigger, { "data-slot": "alert-dialog-trigger", ...e });
|
|
2839
2842
|
}
|
|
2840
|
-
function
|
|
2843
|
+
function _t({
|
|
2841
2844
|
...e
|
|
2842
2845
|
}) {
|
|
2843
|
-
return /* @__PURE__ */ a(
|
|
2846
|
+
return /* @__PURE__ */ a(S.Portal, { "data-slot": "alert-dialog-portal", ...e });
|
|
2844
2847
|
}
|
|
2845
|
-
function
|
|
2848
|
+
function Dt({
|
|
2846
2849
|
className: e,
|
|
2847
2850
|
...t
|
|
2848
2851
|
}) {
|
|
2849
2852
|
return /* @__PURE__ */ a(
|
|
2850
|
-
|
|
2853
|
+
S.Overlay,
|
|
2851
2854
|
{
|
|
2852
2855
|
"data-slot": "alert-dialog-overlay",
|
|
2853
2856
|
className: r(
|
|
@@ -2858,14 +2861,14 @@ function _t({
|
|
|
2858
2861
|
}
|
|
2859
2862
|
);
|
|
2860
2863
|
}
|
|
2861
|
-
function
|
|
2864
|
+
function io({
|
|
2862
2865
|
className: e,
|
|
2863
2866
|
...t
|
|
2864
2867
|
}) {
|
|
2865
|
-
return /* @__PURE__ */ i(
|
|
2866
|
-
/* @__PURE__ */ a(
|
|
2868
|
+
return /* @__PURE__ */ i(_t, { children: [
|
|
2869
|
+
/* @__PURE__ */ a(Dt, {}),
|
|
2867
2870
|
/* @__PURE__ */ a(
|
|
2868
|
-
|
|
2871
|
+
S.Content,
|
|
2869
2872
|
{
|
|
2870
2873
|
"data-slot": "alert-dialog-content",
|
|
2871
2874
|
className: r(
|
|
@@ -2877,7 +2880,7 @@ function no({
|
|
|
2877
2880
|
)
|
|
2878
2881
|
] });
|
|
2879
2882
|
}
|
|
2880
|
-
function
|
|
2883
|
+
function so({
|
|
2881
2884
|
className: e,
|
|
2882
2885
|
...t
|
|
2883
2886
|
}) {
|
|
@@ -2890,7 +2893,7 @@ function io({
|
|
|
2890
2893
|
}
|
|
2891
2894
|
);
|
|
2892
2895
|
}
|
|
2893
|
-
function
|
|
2896
|
+
function lo({
|
|
2894
2897
|
className: e,
|
|
2895
2898
|
...t
|
|
2896
2899
|
}) {
|
|
@@ -2906,12 +2909,12 @@ function so({
|
|
|
2906
2909
|
}
|
|
2907
2910
|
);
|
|
2908
2911
|
}
|
|
2909
|
-
function
|
|
2912
|
+
function co({
|
|
2910
2913
|
className: e,
|
|
2911
2914
|
...t
|
|
2912
2915
|
}) {
|
|
2913
2916
|
return /* @__PURE__ */ a(
|
|
2914
|
-
|
|
2917
|
+
S.Title,
|
|
2915
2918
|
{
|
|
2916
2919
|
"data-slot": "alert-dialog-title",
|
|
2917
2920
|
className: r("text-lg font-semibold", e),
|
|
@@ -2919,12 +2922,12 @@ function lo({
|
|
|
2919
2922
|
}
|
|
2920
2923
|
);
|
|
2921
2924
|
}
|
|
2922
|
-
function
|
|
2925
|
+
function uo({
|
|
2923
2926
|
className: e,
|
|
2924
2927
|
...t
|
|
2925
2928
|
}) {
|
|
2926
2929
|
return /* @__PURE__ */ a(
|
|
2927
|
-
|
|
2930
|
+
S.Description,
|
|
2928
2931
|
{
|
|
2929
2932
|
"data-slot": "alert-dialog-description",
|
|
2930
2933
|
className: r("text-muted-foreground text-sm", e),
|
|
@@ -2932,48 +2935,48 @@ function co({
|
|
|
2932
2935
|
}
|
|
2933
2936
|
);
|
|
2934
2937
|
}
|
|
2935
|
-
function
|
|
2938
|
+
function mo({
|
|
2936
2939
|
className: e,
|
|
2937
2940
|
...t
|
|
2938
2941
|
}) {
|
|
2939
2942
|
return /* @__PURE__ */ a(
|
|
2940
|
-
|
|
2943
|
+
S.Action,
|
|
2941
2944
|
{
|
|
2942
2945
|
className: r(V(), e),
|
|
2943
2946
|
...t
|
|
2944
2947
|
}
|
|
2945
2948
|
);
|
|
2946
2949
|
}
|
|
2947
|
-
function
|
|
2950
|
+
function fo({
|
|
2948
2951
|
className: e,
|
|
2949
2952
|
...t
|
|
2950
2953
|
}) {
|
|
2951
2954
|
return /* @__PURE__ */ a(
|
|
2952
|
-
|
|
2955
|
+
S.Cancel,
|
|
2953
2956
|
{
|
|
2954
2957
|
className: r(V({ variant: "outline" }), e),
|
|
2955
2958
|
...t
|
|
2956
2959
|
}
|
|
2957
2960
|
);
|
|
2958
2961
|
}
|
|
2959
|
-
const
|
|
2962
|
+
const Mt = {
|
|
2960
2963
|
theme: "system",
|
|
2961
2964
|
setTheme: () => null
|
|
2962
|
-
}, pe =
|
|
2963
|
-
function
|
|
2965
|
+
}, pe = xe(Mt);
|
|
2966
|
+
function po({
|
|
2964
2967
|
children: e,
|
|
2965
2968
|
defaultTheme: t = "system",
|
|
2966
2969
|
storageKey: o = "@clidey/ux/theme",
|
|
2967
2970
|
...n
|
|
2968
2971
|
}) {
|
|
2969
|
-
const [s, d] =
|
|
2972
|
+
const [s, d] = we(
|
|
2970
2973
|
() => localStorage.getItem(o) || t
|
|
2971
2974
|
);
|
|
2972
|
-
|
|
2975
|
+
Ne(() => {
|
|
2973
2976
|
const c = window.document.documentElement;
|
|
2974
2977
|
if (c.classList.remove("light", "dark"), s === "system") {
|
|
2975
|
-
const
|
|
2976
|
-
c.classList.add(
|
|
2978
|
+
const f = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
2979
|
+
c.classList.add(f);
|
|
2977
2980
|
return;
|
|
2978
2981
|
}
|
|
2979
2982
|
c.classList.add(s);
|
|
@@ -2986,21 +2989,21 @@ function fo({
|
|
|
2986
2989
|
};
|
|
2987
2990
|
return /* @__PURE__ */ a(pe.Provider, { ...n, value: u, children: e });
|
|
2988
2991
|
}
|
|
2989
|
-
const
|
|
2990
|
-
const e =
|
|
2992
|
+
const It = () => {
|
|
2993
|
+
const e = ye(pe);
|
|
2991
2994
|
if (e === void 0)
|
|
2992
2995
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
2993
2996
|
return e;
|
|
2994
2997
|
};
|
|
2995
|
-
function
|
|
2996
|
-
const { setTheme: e } =
|
|
2997
|
-
return /* @__PURE__ */ i(
|
|
2998
|
-
/* @__PURE__ */ a(
|
|
2998
|
+
function go() {
|
|
2999
|
+
const { setTheme: e } = It();
|
|
3000
|
+
return /* @__PURE__ */ i(He, { children: [
|
|
3001
|
+
/* @__PURE__ */ a(Ve, { children: /* @__PURE__ */ i(J, { variant: "outline", size: "icon", children: [
|
|
2999
3002
|
/* @__PURE__ */ a(Q, { className: "h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
|
|
3000
3003
|
/* @__PURE__ */ a(Z, { className: "absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
|
|
3001
3004
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle theme" })
|
|
3002
3005
|
] }) }),
|
|
3003
|
-
/* @__PURE__ */ i(
|
|
3006
|
+
/* @__PURE__ */ i(Fe, { align: "end", children: [
|
|
3004
3007
|
/* @__PURE__ */ i(K, { onClick: () => e("light"), children: [
|
|
3005
3008
|
/* @__PURE__ */ a(Q, { className: "size-4" }),
|
|
3006
3009
|
"Light"
|
|
@@ -3010,177 +3013,177 @@ function po() {
|
|
|
3010
3013
|
"Dark"
|
|
3011
3014
|
] }),
|
|
3012
3015
|
/* @__PURE__ */ i(K, { onClick: () => e("system"), children: [
|
|
3013
|
-
/* @__PURE__ */ a(
|
|
3016
|
+
/* @__PURE__ */ a(Re, { className: "size-4" }),
|
|
3014
3017
|
"System"
|
|
3015
3018
|
] })
|
|
3016
3019
|
] })
|
|
3017
3020
|
] });
|
|
3018
3021
|
}
|
|
3019
3022
|
export {
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3023
|
+
Ur as Accordion,
|
|
3024
|
+
Xr as AccordionContent,
|
|
3025
|
+
Wr as AccordionItem,
|
|
3026
|
+
qr as AccordionTrigger,
|
|
3027
|
+
Zr as Alert,
|
|
3028
|
+
to as AlertDescription,
|
|
3029
|
+
oo as AlertDialog,
|
|
3030
|
+
mo as AlertDialogAction,
|
|
3031
|
+
fo as AlertDialogCancel,
|
|
3032
|
+
io as AlertDialogContent,
|
|
3033
|
+
uo as AlertDialogDescription,
|
|
3034
|
+
lo as AlertDialogFooter,
|
|
3035
|
+
so as AlertDialogHeader,
|
|
3036
|
+
co as AlertDialogTitle,
|
|
3037
|
+
no as AlertDialogTrigger,
|
|
3038
|
+
eo as AlertTitle,
|
|
3039
|
+
Wt as Badge,
|
|
3040
|
+
Xa as Breadcrumb,
|
|
3041
|
+
Ja as BreadcrumbItem,
|
|
3042
|
+
Qa as BreadcrumbLink,
|
|
3043
|
+
Ya as BreadcrumbList,
|
|
3044
|
+
Za as BreadcrumbPage,
|
|
3045
|
+
er as BreadcrumbSeparator,
|
|
3043
3046
|
J as Button,
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3047
|
+
qt as Card,
|
|
3048
|
+
Qt as CardContent,
|
|
3049
|
+
Jt as CardDescription,
|
|
3050
|
+
Zt as CardFooter,
|
|
3051
|
+
Xt as CardHeader,
|
|
3052
|
+
Yt as CardTitle,
|
|
3053
|
+
Vr as Checkbox,
|
|
3054
|
+
at as Command,
|
|
3055
|
+
nt as CommandEmpty,
|
|
3056
|
+
it as CommandGroup,
|
|
3057
|
+
rt as CommandInput,
|
|
3058
|
+
st as CommandItem,
|
|
3059
|
+
ot as CommandList,
|
|
3060
|
+
ea as ContextMenu,
|
|
3061
|
+
da as ContextMenuCheckboxItem,
|
|
3062
|
+
ia as ContextMenuContent,
|
|
3063
|
+
sa as ContextMenuItem,
|
|
3064
|
+
ca as ContextMenuLabel,
|
|
3065
|
+
ra as ContextMenuRadioGroup,
|
|
3066
|
+
la as ContextMenuRadioItem,
|
|
3067
|
+
ua as ContextMenuSeparator,
|
|
3068
|
+
ma as ContextMenuShortcut,
|
|
3069
|
+
aa as ContextMenuSub,
|
|
3070
|
+
na as ContextMenuSubContent,
|
|
3071
|
+
oa as ContextMenuSubTrigger,
|
|
3072
|
+
ta as ContextMenuTrigger,
|
|
3073
|
+
tr as Dialog,
|
|
3074
|
+
rr as DialogContent,
|
|
3075
|
+
sr as DialogDescription,
|
|
3076
|
+
nr as DialogFooter,
|
|
3077
|
+
or as DialogHeader,
|
|
3078
|
+
ir as DialogTitle,
|
|
3079
|
+
ar as DialogTrigger,
|
|
3080
|
+
fa as Drawer,
|
|
3081
|
+
ga as DrawerClose,
|
|
3082
|
+
ba as DrawerContent,
|
|
3083
|
+
wa as DrawerDescription,
|
|
3084
|
+
va as DrawerFooter,
|
|
3085
|
+
ha as DrawerHeader,
|
|
3086
|
+
xa as DrawerTitle,
|
|
3087
|
+
pa as DrawerTrigger,
|
|
3088
|
+
He as DropdownMenu,
|
|
3089
|
+
Na as DropdownMenuCheckboxItem,
|
|
3090
|
+
Fe as DropdownMenuContent,
|
|
3088
3091
|
K as DropdownMenuItem,
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3092
|
+
za as DropdownMenuLabel,
|
|
3093
|
+
ya as DropdownMenuRadioGroup,
|
|
3094
|
+
ka as DropdownMenuRadioItem,
|
|
3095
|
+
Ca as DropdownMenuSeparator,
|
|
3096
|
+
Sa as DropdownMenuShortcut,
|
|
3097
|
+
Ta as DropdownMenuSub,
|
|
3098
|
+
Da as DropdownMenuSubContent,
|
|
3099
|
+
_a as DropdownMenuSubTrigger,
|
|
3100
|
+
Ve as DropdownMenuTrigger,
|
|
3101
|
+
Fr as EmptyState,
|
|
3102
|
+
ao as Icon,
|
|
3103
|
+
Ke as Input,
|
|
3104
|
+
Ia as Label,
|
|
3105
|
+
go as ModeToggle,
|
|
3106
|
+
Pa as Pagination,
|
|
3107
|
+
Ra as PaginationContent,
|
|
3108
|
+
ja as PaginationEllipsis,
|
|
3109
|
+
Aa as PaginationItem,
|
|
3107
3110
|
se as PaginationLink,
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3111
|
+
Ea as PaginationNext,
|
|
3112
|
+
La as PaginationPrevious,
|
|
3113
|
+
Ue as Popover,
|
|
3114
|
+
qe as PopoverContent,
|
|
3115
|
+
We as PopoverTrigger,
|
|
3116
|
+
Qr as ResizableHandle,
|
|
3117
|
+
Jr as ResizablePanel,
|
|
3118
|
+
Yr as ResizablePanelGroup,
|
|
3119
|
+
Ct as ScrollArea,
|
|
3120
|
+
Ma as SearchInput,
|
|
3121
|
+
gr as SearchSelect,
|
|
3122
|
+
dr as Select,
|
|
3123
|
+
mr as SelectContent,
|
|
3124
|
+
lr as SelectGroup,
|
|
3125
|
+
pr as SelectItem,
|
|
3126
|
+
fr as SelectLabel,
|
|
3127
|
+
ur as SelectTrigger,
|
|
3128
|
+
cr as SelectValue,
|
|
3126
3129
|
le as Separator,
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3130
|
+
ut as Sheet,
|
|
3131
|
+
pt as SheetContent,
|
|
3132
|
+
ht as SheetDescription,
|
|
3133
|
+
hr as SheetFooter,
|
|
3134
|
+
gt as SheetHeader,
|
|
3135
|
+
bt as SheetTitle,
|
|
3136
|
+
br as SheetTrigger,
|
|
3137
|
+
xr as Sidebar,
|
|
3138
|
+
Tr as SidebarContent,
|
|
3139
|
+
Cr as SidebarFooter,
|
|
3140
|
+
_r as SidebarGroup,
|
|
3141
|
+
Mr as SidebarGroupAction,
|
|
3142
|
+
Ir as SidebarGroupContent,
|
|
3143
|
+
Dr as SidebarGroupLabel,
|
|
3144
|
+
zr as SidebarHeader,
|
|
3145
|
+
kr as SidebarInput,
|
|
3146
|
+
yr as SidebarInset,
|
|
3147
|
+
Pr as SidebarMenu,
|
|
3148
|
+
Lr as SidebarMenuAction,
|
|
3149
|
+
Er as SidebarMenuBadge,
|
|
3150
|
+
Ar as SidebarMenuButton,
|
|
3151
|
+
Rr as SidebarMenuItem,
|
|
3152
|
+
jr as SidebarMenuSkeleton,
|
|
3153
|
+
Br as SidebarMenuSub,
|
|
3154
|
+
$r as SidebarMenuSubButton,
|
|
3155
|
+
Or as SidebarMenuSubItem,
|
|
3156
|
+
vr as SidebarProvider,
|
|
3157
|
+
Nr as SidebarRail,
|
|
3158
|
+
Sr as SidebarSeparator,
|
|
3159
|
+
wr as SidebarTrigger,
|
|
3157
3160
|
ae as Skeleton,
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3161
|
+
Hr as StackList,
|
|
3162
|
+
Gr as StackListItem,
|
|
3163
|
+
ro as Switch,
|
|
3164
|
+
$a as Table,
|
|
3165
|
+
Xe as TableBody,
|
|
3166
|
+
Fa as TableCaption,
|
|
3167
|
+
Va as TableCell,
|
|
3168
|
+
Ha as TableHead,
|
|
3169
|
+
Ga as TableHeader,
|
|
3170
|
+
Ye as TableRow,
|
|
3171
|
+
Ka as Tabs,
|
|
3172
|
+
qa as TabsContent,
|
|
3173
|
+
Ua as TabsList,
|
|
3174
|
+
Wa as TabsTrigger,
|
|
3175
|
+
po as ThemeProvider,
|
|
3176
|
+
Ba as Toaster,
|
|
3177
|
+
Je as Tooltip,
|
|
3178
|
+
Ze as TooltipContent,
|
|
3176
3179
|
de as TooltipProvider,
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
+
Qe as TooltipTrigger,
|
|
3181
|
+
Kr as Tree,
|
|
3182
|
+
Oa as VirtualizedTableBody,
|
|
3180
3183
|
r as cn,
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
+
Ut as formatDate,
|
|
3185
|
+
Kt as toTitleCase,
|
|
3186
|
+
vo as toast,
|
|
3184
3187
|
F as useSidebar,
|
|
3185
|
-
|
|
3188
|
+
It as useTheme
|
|
3186
3189
|
};
|