@clidey/ux 0.13.0 → 0.14.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 +19 -0
- package/dist/index.js +1129 -1283
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import { Slot as
|
|
5
|
-
import { cva as
|
|
6
|
-
import { clsx as
|
|
7
|
-
import { twMerge as
|
|
8
|
-
import * as
|
|
9
|
-
import { CheckIcon as
|
|
10
|
-
import { Drawer as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import { Toaster as
|
|
16
|
-
import { toast as
|
|
17
|
-
import { FixedSizeList as
|
|
1
|
+
import { jsx as a, jsxs as i, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import * as g from "react";
|
|
3
|
+
import z, { Fragment as be, createContext as he, useState as ve, useEffect as xe, useContext as we } from "react";
|
|
4
|
+
import { Slot as D } from "@radix-ui/react-slot";
|
|
5
|
+
import { cva as G } from "class-variance-authority";
|
|
6
|
+
import { clsx as Ne } from "clsx";
|
|
7
|
+
import { twMerge as ye } from "tailwind-merge";
|
|
8
|
+
import * as h from "@radix-ui/react-context-menu";
|
|
9
|
+
import { CheckIcon as O, CircleIcon as oe, ChevronRightIcon as q, Search as ke, MoreHorizontalIcon as ze, ChevronLeftIcon as Ce, ChevronRight as ne, XIcon as ie, SearchIcon as Se, ChevronDownIcon as X, ChevronsUpDownIcon as Te, ChevronUpIcon as _e, PanelLeftIcon as De, GripVerticalIcon as Me, Sun as Q, Moon as Z, Monitor as Ie } from "lucide-react";
|
|
10
|
+
import { Drawer as M } from "vaul";
|
|
11
|
+
import * as v from "@radix-ui/react-dropdown-menu";
|
|
12
|
+
import * as Pe from "@radix-ui/react-label";
|
|
13
|
+
import * as $ from "@radix-ui/react-popover";
|
|
14
|
+
import { useTheme as Re } from "next-themes";
|
|
15
|
+
import { Toaster as Ae } from "sonner";
|
|
16
|
+
import { toast as bo } from "sonner";
|
|
17
|
+
import { FixedSizeList as Le } from "react-window";
|
|
18
18
|
import * as H from "@radix-ui/react-tabs";
|
|
19
|
-
import * as
|
|
20
|
-
import { Command as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import
|
|
28
|
-
import * as
|
|
29
|
-
import "react-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
19
|
+
import * as A from "@radix-ui/react-tooltip";
|
|
20
|
+
import { Command as L } from "cmdk";
|
|
21
|
+
import * as b from "@radix-ui/react-dialog";
|
|
22
|
+
import * as w from "@radix-ui/react-select";
|
|
23
|
+
import * as Ee from "@radix-ui/react-separator";
|
|
24
|
+
import * as B from "@radix-ui/react-scroll-area";
|
|
25
|
+
import * as ee from "@radix-ui/react-checkbox";
|
|
26
|
+
import * as y from "@radix-ui/react-accordion";
|
|
27
|
+
import je from "use-resize-observer";
|
|
28
|
+
import * as Y from "react-resizable-panels";
|
|
29
|
+
import * as te from "@radix-ui/react-switch";
|
|
30
|
+
import * as S from "@radix-ui/react-alert-dialog";
|
|
31
|
+
function r(...e) {
|
|
32
|
+
return ye(Ne(e));
|
|
33
|
+
}
|
|
34
|
+
function Vt(e) {
|
|
34
35
|
return e.replace(/_/g, " ").replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase());
|
|
35
36
|
}
|
|
36
|
-
function
|
|
37
|
-
const
|
|
37
|
+
function Ft(e) {
|
|
38
|
+
const o = (/* @__PURE__ */ new Date()).getTime() - e.getTime(), n = Math.floor(o / 1e3);
|
|
38
39
|
if (n < 60)
|
|
39
40
|
return "just now";
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
42
|
-
return `${
|
|
43
|
-
const
|
|
44
|
-
if (
|
|
45
|
-
return `${
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
return `${
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
return `${
|
|
52
|
-
const
|
|
53
|
-
return `${
|
|
54
|
-
}
|
|
55
|
-
const
|
|
41
|
+
const s = Math.floor(n / 60);
|
|
42
|
+
if (s < 60)
|
|
43
|
+
return `${s} minute${s === 1 ? "" : "s"} ago`;
|
|
44
|
+
const d = Math.floor(s / 60);
|
|
45
|
+
if (d < 24)
|
|
46
|
+
return `${d} hour${d === 1 ? "" : "s"} ago`;
|
|
47
|
+
const u = Math.floor(d / 24);
|
|
48
|
+
if (u < 30)
|
|
49
|
+
return `${u} day${u === 1 ? "" : "s"} ago`;
|
|
50
|
+
const c = Math.floor(u / 30);
|
|
51
|
+
if (c < 12)
|
|
52
|
+
return `${c} month${c === 1 ? "" : "s"} ago`;
|
|
53
|
+
const p = Math.floor(c / 12);
|
|
54
|
+
return `${p} year${p === 1 ? "" : "s"} ago`;
|
|
55
|
+
}
|
|
56
|
+
const Be = G(
|
|
56
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",
|
|
57
58
|
{
|
|
58
59
|
variants: {
|
|
@@ -68,22 +69,22 @@ const Ke = O(
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
);
|
|
71
|
-
function
|
|
72
|
+
function Kt({
|
|
72
73
|
className: e,
|
|
73
74
|
variant: t,
|
|
74
|
-
asChild:
|
|
75
|
+
asChild: o = !1,
|
|
75
76
|
...n
|
|
76
77
|
}) {
|
|
77
78
|
return /* @__PURE__ */ a(
|
|
78
|
-
|
|
79
|
+
o ? D : "span",
|
|
79
80
|
{
|
|
80
81
|
"data-slot": "badge",
|
|
81
|
-
className:
|
|
82
|
+
className: r(Be({ variant: t }), e),
|
|
82
83
|
...n
|
|
83
84
|
}
|
|
84
85
|
);
|
|
85
86
|
}
|
|
86
|
-
const
|
|
87
|
+
const V = G(
|
|
87
88
|
"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",
|
|
88
89
|
{
|
|
89
90
|
variants: {
|
|
@@ -108,28 +109,28 @@ const ie = O(
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
);
|
|
111
|
-
function
|
|
112
|
+
function J({
|
|
112
113
|
className: e,
|
|
113
114
|
variant: t,
|
|
114
|
-
size:
|
|
115
|
+
size: o,
|
|
115
116
|
asChild: n = !1,
|
|
116
|
-
...
|
|
117
|
+
...s
|
|
117
118
|
}) {
|
|
118
119
|
return /* @__PURE__ */ a(
|
|
119
|
-
n ?
|
|
120
|
+
n ? D : "button",
|
|
120
121
|
{
|
|
121
122
|
"data-slot": "button",
|
|
122
|
-
className:
|
|
123
|
-
...
|
|
123
|
+
className: r(V({ variant: t, size: o, className: e })),
|
|
124
|
+
...s
|
|
124
125
|
}
|
|
125
126
|
);
|
|
126
127
|
}
|
|
127
|
-
function
|
|
128
|
+
function Ut({ className: e, ...t }) {
|
|
128
129
|
return /* @__PURE__ */ a(
|
|
129
130
|
"div",
|
|
130
131
|
{
|
|
131
132
|
"data-slot": "card",
|
|
132
|
-
className:
|
|
133
|
+
className: r(
|
|
133
134
|
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
134
135
|
e
|
|
135
136
|
),
|
|
@@ -137,12 +138,12 @@ function ha({ className: e, ...t }) {
|
|
|
137
138
|
}
|
|
138
139
|
);
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
+
function Wt({ className: e, ...t }) {
|
|
141
142
|
return /* @__PURE__ */ a(
|
|
142
143
|
"div",
|
|
143
144
|
{
|
|
144
145
|
"data-slot": "card-header",
|
|
145
|
-
className:
|
|
146
|
+
className: r(
|
|
146
147
|
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
147
148
|
e
|
|
148
149
|
),
|
|
@@ -150,104 +151,104 @@ function va({ className: e, ...t }) {
|
|
|
150
151
|
}
|
|
151
152
|
);
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function qt({ className: e, ...t }) {
|
|
154
155
|
return /* @__PURE__ */ a(
|
|
155
156
|
"div",
|
|
156
157
|
{
|
|
157
158
|
"data-slot": "card-title",
|
|
158
|
-
className:
|
|
159
|
+
className: r("leading-none font-semibold", e),
|
|
159
160
|
...t
|
|
160
161
|
}
|
|
161
162
|
);
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
+
function Xt({ className: e, ...t }) {
|
|
164
165
|
return /* @__PURE__ */ a(
|
|
165
166
|
"div",
|
|
166
167
|
{
|
|
167
168
|
"data-slot": "card-description",
|
|
168
|
-
className:
|
|
169
|
+
className: r("text-muted-foreground text-sm", e),
|
|
169
170
|
...t
|
|
170
171
|
}
|
|
171
172
|
);
|
|
172
173
|
}
|
|
173
|
-
function
|
|
174
|
+
function Yt({ className: e, ...t }) {
|
|
174
175
|
return /* @__PURE__ */ a(
|
|
175
176
|
"div",
|
|
176
177
|
{
|
|
177
178
|
"data-slot": "card-content",
|
|
178
|
-
className:
|
|
179
|
+
className: r("px-6", e),
|
|
179
180
|
...t
|
|
180
181
|
}
|
|
181
182
|
);
|
|
182
183
|
}
|
|
183
|
-
function
|
|
184
|
+
function Jt({ className: e, ...t }) {
|
|
184
185
|
return /* @__PURE__ */ a(
|
|
185
186
|
"div",
|
|
186
187
|
{
|
|
187
188
|
"data-slot": "card-footer",
|
|
188
|
-
className:
|
|
189
|
+
className: r("flex items-center px-6 [.border-t]:pt-6", e),
|
|
189
190
|
...t
|
|
190
191
|
}
|
|
191
192
|
);
|
|
192
193
|
}
|
|
193
|
-
function
|
|
194
|
+
function Qt({
|
|
194
195
|
...e
|
|
195
196
|
}) {
|
|
196
|
-
return /* @__PURE__ */ a(
|
|
197
|
+
return /* @__PURE__ */ a(h.Root, { "data-slot": "context-menu", ...e });
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function Zt({
|
|
199
200
|
...e
|
|
200
201
|
}) {
|
|
201
|
-
return /* @__PURE__ */ a(
|
|
202
|
+
return /* @__PURE__ */ a(h.Trigger, { "data-slot": "context-menu-trigger", ...e });
|
|
202
203
|
}
|
|
203
|
-
function
|
|
204
|
+
function ea({
|
|
204
205
|
...e
|
|
205
206
|
}) {
|
|
206
|
-
return /* @__PURE__ */ a(
|
|
207
|
+
return /* @__PURE__ */ a(h.Sub, { "data-slot": "context-menu-sub", ...e });
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function ta({
|
|
209
210
|
...e
|
|
210
211
|
}) {
|
|
211
212
|
return /* @__PURE__ */ a(
|
|
212
|
-
|
|
213
|
+
h.RadioGroup,
|
|
213
214
|
{
|
|
214
215
|
"data-slot": "context-menu-radio-group",
|
|
215
216
|
...e
|
|
216
217
|
}
|
|
217
218
|
);
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
+
function aa({
|
|
220
221
|
className: e,
|
|
221
222
|
inset: t,
|
|
222
|
-
children:
|
|
223
|
+
children: o,
|
|
223
224
|
...n
|
|
224
225
|
}) {
|
|
225
|
-
return /* @__PURE__ */
|
|
226
|
-
|
|
226
|
+
return /* @__PURE__ */ i(
|
|
227
|
+
h.SubTrigger,
|
|
227
228
|
{
|
|
228
229
|
"data-slot": "context-menu-sub-trigger",
|
|
229
230
|
"data-inset": t,
|
|
230
|
-
className:
|
|
231
|
+
className: r(
|
|
231
232
|
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
232
233
|
e
|
|
233
234
|
),
|
|
234
235
|
...n,
|
|
235
236
|
children: [
|
|
236
|
-
|
|
237
|
-
/* @__PURE__ */ a(
|
|
237
|
+
o,
|
|
238
|
+
/* @__PURE__ */ a(q, { className: "ml-auto" })
|
|
238
239
|
]
|
|
239
240
|
}
|
|
240
241
|
);
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
+
function ra({
|
|
243
244
|
className: e,
|
|
244
245
|
...t
|
|
245
246
|
}) {
|
|
246
247
|
return /* @__PURE__ */ a(
|
|
247
|
-
|
|
248
|
+
h.SubContent,
|
|
248
249
|
{
|
|
249
250
|
"data-slot": "context-menu-sub-content",
|
|
250
|
-
className:
|
|
251
|
+
className: r(
|
|
251
252
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
252
253
|
e
|
|
253
254
|
),
|
|
@@ -255,15 +256,15 @@ function Ta({
|
|
|
255
256
|
}
|
|
256
257
|
);
|
|
257
258
|
}
|
|
258
|
-
function
|
|
259
|
+
function oa({
|
|
259
260
|
className: e,
|
|
260
261
|
...t
|
|
261
262
|
}) {
|
|
262
|
-
return /* @__PURE__ */ a(
|
|
263
|
-
|
|
263
|
+
return /* @__PURE__ */ a(h.Portal, { children: /* @__PURE__ */ a(
|
|
264
|
+
h.Content,
|
|
264
265
|
{
|
|
265
266
|
"data-slot": "context-menu-content",
|
|
266
|
-
className:
|
|
267
|
+
className: r(
|
|
267
268
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
268
269
|
e
|
|
269
270
|
),
|
|
@@ -271,19 +272,19 @@ function Ma({
|
|
|
271
272
|
}
|
|
272
273
|
) });
|
|
273
274
|
}
|
|
274
|
-
function
|
|
275
|
+
function na({
|
|
275
276
|
className: e,
|
|
276
277
|
inset: t,
|
|
277
|
-
variant:
|
|
278
|
+
variant: o = "default",
|
|
278
279
|
...n
|
|
279
280
|
}) {
|
|
280
281
|
return /* @__PURE__ */ a(
|
|
281
|
-
|
|
282
|
+
h.Item,
|
|
282
283
|
{
|
|
283
284
|
"data-slot": "context-menu-item",
|
|
284
285
|
"data-inset": t,
|
|
285
|
-
"data-variant":
|
|
286
|
-
className:
|
|
286
|
+
"data-variant": o,
|
|
287
|
+
className: r(
|
|
287
288
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
288
289
|
e
|
|
289
290
|
),
|
|
@@ -291,82 +292,82 @@ function Ia({
|
|
|
291
292
|
}
|
|
292
293
|
);
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
+
function ia({
|
|
295
296
|
className: e,
|
|
296
297
|
children: t,
|
|
297
|
-
checked:
|
|
298
|
+
checked: o,
|
|
298
299
|
...n
|
|
299
300
|
}) {
|
|
300
|
-
return /* @__PURE__ */
|
|
301
|
-
|
|
301
|
+
return /* @__PURE__ */ i(
|
|
302
|
+
h.CheckboxItem,
|
|
302
303
|
{
|
|
303
304
|
"data-slot": "context-menu-checkbox-item",
|
|
304
|
-
className:
|
|
305
|
+
className: r(
|
|
305
306
|
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
306
307
|
e
|
|
307
308
|
),
|
|
308
|
-
checked:
|
|
309
|
+
checked: o,
|
|
309
310
|
...n,
|
|
310
311
|
children: [
|
|
311
|
-
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
312
|
+
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(h.ItemIndicator, { children: /* @__PURE__ */ a(O, { className: "size-4" }) }) }),
|
|
312
313
|
t
|
|
313
314
|
]
|
|
314
315
|
}
|
|
315
316
|
);
|
|
316
317
|
}
|
|
317
|
-
function
|
|
318
|
+
function sa({
|
|
318
319
|
className: e,
|
|
319
320
|
children: t,
|
|
320
|
-
...
|
|
321
|
+
...o
|
|
321
322
|
}) {
|
|
322
|
-
return /* @__PURE__ */
|
|
323
|
-
|
|
323
|
+
return /* @__PURE__ */ i(
|
|
324
|
+
h.RadioItem,
|
|
324
325
|
{
|
|
325
326
|
"data-slot": "context-menu-radio-item",
|
|
326
|
-
className:
|
|
327
|
+
className: r(
|
|
327
328
|
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
328
329
|
e
|
|
329
330
|
),
|
|
330
|
-
...
|
|
331
|
+
...o,
|
|
331
332
|
children: [
|
|
332
|
-
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
333
|
+
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(h.ItemIndicator, { children: /* @__PURE__ */ a(oe, { className: "size-2 fill-current" }) }) }),
|
|
333
334
|
t
|
|
334
335
|
]
|
|
335
336
|
}
|
|
336
337
|
);
|
|
337
338
|
}
|
|
338
|
-
function
|
|
339
|
+
function da({
|
|
339
340
|
className: e,
|
|
340
341
|
inset: t,
|
|
341
|
-
...
|
|
342
|
+
...o
|
|
342
343
|
}) {
|
|
343
344
|
return /* @__PURE__ */ a(
|
|
344
|
-
|
|
345
|
+
h.Label,
|
|
345
346
|
{
|
|
346
347
|
"data-slot": "context-menu-label",
|
|
347
348
|
"data-inset": t,
|
|
348
|
-
className:
|
|
349
|
+
className: r(
|
|
349
350
|
"text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
350
351
|
e
|
|
351
352
|
),
|
|
352
|
-
...
|
|
353
|
+
...o
|
|
353
354
|
}
|
|
354
355
|
);
|
|
355
356
|
}
|
|
356
|
-
function
|
|
357
|
+
function la({
|
|
357
358
|
className: e,
|
|
358
359
|
...t
|
|
359
360
|
}) {
|
|
360
361
|
return /* @__PURE__ */ a(
|
|
361
|
-
|
|
362
|
+
h.Separator,
|
|
362
363
|
{
|
|
363
364
|
"data-slot": "context-menu-separator",
|
|
364
|
-
className:
|
|
365
|
+
className: r("bg-border -mx-1 my-1 h-px", e),
|
|
365
366
|
...t
|
|
366
367
|
}
|
|
367
368
|
);
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
+
function ca({
|
|
370
371
|
className: e,
|
|
371
372
|
...t
|
|
372
373
|
}) {
|
|
@@ -374,7 +375,7 @@ function Ba({
|
|
|
374
375
|
"span",
|
|
375
376
|
{
|
|
376
377
|
"data-slot": "context-menu-shortcut",
|
|
377
|
-
className:
|
|
378
|
+
className: r(
|
|
378
379
|
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
379
380
|
e
|
|
380
381
|
),
|
|
@@ -382,30 +383,30 @@ function Ba({
|
|
|
382
383
|
}
|
|
383
384
|
);
|
|
384
385
|
}
|
|
385
|
-
function
|
|
386
|
+
function ua({
|
|
386
387
|
...e
|
|
387
388
|
}) {
|
|
388
|
-
return /* @__PURE__ */ a(
|
|
389
|
+
return /* @__PURE__ */ a(M.Root, { "data-slot": "drawer", ...e });
|
|
389
390
|
}
|
|
390
|
-
function
|
|
391
|
+
function ma({
|
|
391
392
|
...e
|
|
392
393
|
}) {
|
|
393
|
-
return /* @__PURE__ */ a(
|
|
394
|
+
return /* @__PURE__ */ a(M.Trigger, { "data-slot": "drawer-trigger", ...e });
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
+
function fa({
|
|
396
397
|
...e
|
|
397
398
|
}) {
|
|
398
|
-
return /* @__PURE__ */ a(
|
|
399
|
+
return /* @__PURE__ */ a(M.Close, { "data-slot": "drawer-close", ...e });
|
|
399
400
|
}
|
|
400
|
-
function
|
|
401
|
+
function Oe({
|
|
401
402
|
className: e,
|
|
402
403
|
...t
|
|
403
404
|
}) {
|
|
404
405
|
return /* @__PURE__ */ a(
|
|
405
|
-
|
|
406
|
+
M.Overlay,
|
|
406
407
|
{
|
|
407
408
|
"data-slot": "drawer-overlay",
|
|
408
|
-
className:
|
|
409
|
+
className: r(
|
|
409
410
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 absolute inset-0 z-50 bg-black/50",
|
|
410
411
|
e
|
|
411
412
|
),
|
|
@@ -413,18 +414,18 @@ function qe({
|
|
|
413
414
|
}
|
|
414
415
|
);
|
|
415
416
|
}
|
|
416
|
-
function
|
|
417
|
+
function pa({
|
|
417
418
|
className: e,
|
|
418
419
|
children: t,
|
|
419
|
-
...
|
|
420
|
+
...o
|
|
420
421
|
}) {
|
|
421
|
-
return /* @__PURE__ */
|
|
422
|
-
/* @__PURE__ */ a(
|
|
423
|
-
/* @__PURE__ */
|
|
424
|
-
|
|
422
|
+
return /* @__PURE__ */ i(W, { children: [
|
|
423
|
+
/* @__PURE__ */ a(Oe, {}),
|
|
424
|
+
/* @__PURE__ */ i(
|
|
425
|
+
M.Content,
|
|
425
426
|
{
|
|
426
427
|
"data-slot": "drawer-content",
|
|
427
|
-
className:
|
|
428
|
+
className: r(
|
|
428
429
|
"group/drawer-content bg-background absolute z-50 flex h-auto flex-col",
|
|
429
430
|
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
430
431
|
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
@@ -432,7 +433,7 @@ function ja({
|
|
|
432
433
|
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
|
|
433
434
|
e
|
|
434
435
|
),
|
|
435
|
-
...
|
|
436
|
+
...o,
|
|
436
437
|
children: [
|
|
437
438
|
/* @__PURE__ */ a("div", { className: "bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
438
439
|
t
|
|
@@ -441,12 +442,12 @@ function ja({
|
|
|
441
442
|
)
|
|
442
443
|
] });
|
|
443
444
|
}
|
|
444
|
-
function
|
|
445
|
+
function ga({ className: e, ...t }) {
|
|
445
446
|
return /* @__PURE__ */ a(
|
|
446
447
|
"div",
|
|
447
448
|
{
|
|
448
449
|
"data-slot": "drawer-header",
|
|
449
|
-
className:
|
|
450
|
+
className: r(
|
|
450
451
|
"flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",
|
|
451
452
|
e
|
|
452
453
|
),
|
|
@@ -454,89 +455,89 @@ function Oa({ className: e, ...t }) {
|
|
|
454
455
|
}
|
|
455
456
|
);
|
|
456
457
|
}
|
|
457
|
-
function
|
|
458
|
+
function ba({ className: e, ...t }) {
|
|
458
459
|
return /* @__PURE__ */ a(
|
|
459
460
|
"div",
|
|
460
461
|
{
|
|
461
462
|
"data-slot": "drawer-footer",
|
|
462
|
-
className:
|
|
463
|
+
className: r("mt-auto flex flex-col gap-2 p-4", e),
|
|
463
464
|
...t
|
|
464
465
|
}
|
|
465
466
|
);
|
|
466
467
|
}
|
|
467
|
-
function
|
|
468
|
+
function ha({
|
|
468
469
|
className: e,
|
|
469
470
|
...t
|
|
470
471
|
}) {
|
|
471
472
|
return /* @__PURE__ */ a(
|
|
472
|
-
|
|
473
|
+
M.Title,
|
|
473
474
|
{
|
|
474
475
|
"data-slot": "drawer-title",
|
|
475
|
-
className:
|
|
476
|
+
className: r("text-foreground font-semibold", e),
|
|
476
477
|
...t
|
|
477
478
|
}
|
|
478
479
|
);
|
|
479
480
|
}
|
|
480
|
-
function
|
|
481
|
+
function va({
|
|
481
482
|
className: e,
|
|
482
483
|
...t
|
|
483
484
|
}) {
|
|
484
485
|
return /* @__PURE__ */ a(
|
|
485
|
-
|
|
486
|
+
M.Description,
|
|
486
487
|
{
|
|
487
488
|
"data-slot": "drawer-description",
|
|
488
|
-
className:
|
|
489
|
+
className: r("text-muted-foreground text-sm", e),
|
|
489
490
|
...t
|
|
490
491
|
}
|
|
491
492
|
);
|
|
492
493
|
}
|
|
493
|
-
function
|
|
494
|
+
function $e({
|
|
494
495
|
...e
|
|
495
496
|
}) {
|
|
496
|
-
return /* @__PURE__ */ a(
|
|
497
|
+
return /* @__PURE__ */ a(v.Root, { "data-slot": "dropdown-menu", ...e });
|
|
497
498
|
}
|
|
498
|
-
function
|
|
499
|
+
function Ge({
|
|
499
500
|
...e
|
|
500
501
|
}) {
|
|
501
502
|
return /* @__PURE__ */ a(
|
|
502
|
-
|
|
503
|
+
v.Trigger,
|
|
503
504
|
{
|
|
504
505
|
"data-slot": "dropdown-menu-trigger",
|
|
505
506
|
...e
|
|
506
507
|
}
|
|
507
508
|
);
|
|
508
509
|
}
|
|
509
|
-
function
|
|
510
|
+
function He({
|
|
510
511
|
className: e,
|
|
511
512
|
sideOffset: t = 4,
|
|
512
|
-
...
|
|
513
|
+
...o
|
|
513
514
|
}) {
|
|
514
|
-
return /* @__PURE__ */ a(
|
|
515
|
-
|
|
515
|
+
return /* @__PURE__ */ a(v.Portal, { children: /* @__PURE__ */ a(
|
|
516
|
+
v.Content,
|
|
516
517
|
{
|
|
517
518
|
"data-slot": "dropdown-menu-content",
|
|
518
519
|
sideOffset: t,
|
|
519
|
-
className:
|
|
520
|
+
className: r(
|
|
520
521
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
521
522
|
e
|
|
522
523
|
),
|
|
523
|
-
...
|
|
524
|
+
...o
|
|
524
525
|
}
|
|
525
526
|
) });
|
|
526
527
|
}
|
|
527
|
-
function
|
|
528
|
+
function K({
|
|
528
529
|
className: e,
|
|
529
530
|
inset: t,
|
|
530
|
-
variant:
|
|
531
|
+
variant: o = "default",
|
|
531
532
|
...n
|
|
532
533
|
}) {
|
|
533
534
|
return /* @__PURE__ */ a(
|
|
534
|
-
|
|
535
|
+
v.Item,
|
|
535
536
|
{
|
|
536
537
|
"data-slot": "dropdown-menu-item",
|
|
537
538
|
"data-inset": t,
|
|
538
|
-
"data-variant":
|
|
539
|
-
className:
|
|
539
|
+
"data-variant": o,
|
|
540
|
+
className: r(
|
|
540
541
|
"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
541
542
|
e
|
|
542
543
|
),
|
|
@@ -544,93 +545,93 @@ function F({
|
|
|
544
545
|
}
|
|
545
546
|
);
|
|
546
547
|
}
|
|
547
|
-
function
|
|
548
|
+
function xa({
|
|
548
549
|
className: e,
|
|
549
550
|
children: t,
|
|
550
|
-
checked:
|
|
551
|
+
checked: o,
|
|
551
552
|
...n
|
|
552
553
|
}) {
|
|
553
|
-
return /* @__PURE__ */
|
|
554
|
-
|
|
554
|
+
return /* @__PURE__ */ i(
|
|
555
|
+
v.CheckboxItem,
|
|
555
556
|
{
|
|
556
557
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
557
|
-
className:
|
|
558
|
+
className: r(
|
|
558
559
|
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
559
560
|
e
|
|
560
561
|
),
|
|
561
|
-
checked:
|
|
562
|
+
checked: o,
|
|
562
563
|
...n,
|
|
563
564
|
children: [
|
|
564
|
-
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
565
|
+
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(v.ItemIndicator, { children: /* @__PURE__ */ a(O, { className: "size-4" }) }) }),
|
|
565
566
|
t
|
|
566
567
|
]
|
|
567
568
|
}
|
|
568
569
|
);
|
|
569
570
|
}
|
|
570
|
-
function
|
|
571
|
+
function wa({
|
|
571
572
|
...e
|
|
572
573
|
}) {
|
|
573
574
|
return /* @__PURE__ */ a(
|
|
574
|
-
|
|
575
|
+
v.RadioGroup,
|
|
575
576
|
{
|
|
576
577
|
"data-slot": "dropdown-menu-radio-group",
|
|
577
578
|
...e
|
|
578
579
|
}
|
|
579
580
|
);
|
|
580
581
|
}
|
|
581
|
-
function
|
|
582
|
+
function Na({
|
|
582
583
|
className: e,
|
|
583
584
|
children: t,
|
|
584
|
-
...
|
|
585
|
+
...o
|
|
585
586
|
}) {
|
|
586
|
-
return /* @__PURE__ */
|
|
587
|
-
|
|
587
|
+
return /* @__PURE__ */ i(
|
|
588
|
+
v.RadioItem,
|
|
588
589
|
{
|
|
589
590
|
"data-slot": "dropdown-menu-radio-item",
|
|
590
|
-
className:
|
|
591
|
+
className: r(
|
|
591
592
|
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
592
593
|
e
|
|
593
594
|
),
|
|
594
|
-
...
|
|
595
|
+
...o,
|
|
595
596
|
children: [
|
|
596
|
-
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
597
|
+
/* @__PURE__ */ a("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(v.ItemIndicator, { children: /* @__PURE__ */ a(oe, { className: "size-2 fill-current" }) }) }),
|
|
597
598
|
t
|
|
598
599
|
]
|
|
599
600
|
}
|
|
600
601
|
);
|
|
601
602
|
}
|
|
602
|
-
function
|
|
603
|
+
function ya({
|
|
603
604
|
className: e,
|
|
604
605
|
inset: t,
|
|
605
|
-
...
|
|
606
|
+
...o
|
|
606
607
|
}) {
|
|
607
608
|
return /* @__PURE__ */ a(
|
|
608
|
-
|
|
609
|
+
v.Label,
|
|
609
610
|
{
|
|
610
611
|
"data-slot": "dropdown-menu-label",
|
|
611
612
|
"data-inset": t,
|
|
612
|
-
className:
|
|
613
|
+
className: r(
|
|
613
614
|
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
614
615
|
e
|
|
615
616
|
),
|
|
616
|
-
...
|
|
617
|
+
...o
|
|
617
618
|
}
|
|
618
619
|
);
|
|
619
620
|
}
|
|
620
|
-
function
|
|
621
|
+
function ka({
|
|
621
622
|
className: e,
|
|
622
623
|
...t
|
|
623
624
|
}) {
|
|
624
625
|
return /* @__PURE__ */ a(
|
|
625
|
-
|
|
626
|
+
v.Separator,
|
|
626
627
|
{
|
|
627
628
|
"data-slot": "dropdown-menu-separator",
|
|
628
|
-
className:
|
|
629
|
+
className: r("bg-border -mx-1 my-1 h-px", e),
|
|
629
630
|
...t
|
|
630
631
|
}
|
|
631
632
|
);
|
|
632
633
|
}
|
|
633
|
-
function
|
|
634
|
+
function za({
|
|
634
635
|
className: e,
|
|
635
636
|
...t
|
|
636
637
|
}) {
|
|
@@ -638,7 +639,7 @@ function Xa({
|
|
|
638
639
|
"span",
|
|
639
640
|
{
|
|
640
641
|
"data-slot": "dropdown-menu-shortcut",
|
|
641
|
-
className:
|
|
642
|
+
className: r(
|
|
642
643
|
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
643
644
|
e
|
|
644
645
|
),
|
|
@@ -646,43 +647,43 @@ function Xa({
|
|
|
646
647
|
}
|
|
647
648
|
);
|
|
648
649
|
}
|
|
649
|
-
function
|
|
650
|
+
function Ca({
|
|
650
651
|
...e
|
|
651
652
|
}) {
|
|
652
|
-
return /* @__PURE__ */ a(
|
|
653
|
+
return /* @__PURE__ */ a(v.Sub, { "data-slot": "dropdown-menu-sub", ...e });
|
|
653
654
|
}
|
|
654
|
-
function
|
|
655
|
+
function Sa({
|
|
655
656
|
className: e,
|
|
656
657
|
inset: t,
|
|
657
|
-
children:
|
|
658
|
+
children: o,
|
|
658
659
|
...n
|
|
659
660
|
}) {
|
|
660
|
-
return /* @__PURE__ */
|
|
661
|
-
|
|
661
|
+
return /* @__PURE__ */ i(
|
|
662
|
+
v.SubTrigger,
|
|
662
663
|
{
|
|
663
664
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
664
665
|
"data-inset": t,
|
|
665
|
-
className:
|
|
666
|
+
className: r(
|
|
666
667
|
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
|
|
667
668
|
e
|
|
668
669
|
),
|
|
669
670
|
...n,
|
|
670
671
|
children: [
|
|
671
|
-
|
|
672
|
-
/* @__PURE__ */ a(
|
|
672
|
+
o,
|
|
673
|
+
/* @__PURE__ */ a(q, { className: "ml-auto size-4" })
|
|
673
674
|
]
|
|
674
675
|
}
|
|
675
676
|
);
|
|
676
677
|
}
|
|
677
|
-
function
|
|
678
|
+
function Ta({
|
|
678
679
|
className: e,
|
|
679
680
|
...t
|
|
680
681
|
}) {
|
|
681
682
|
return /* @__PURE__ */ a(
|
|
682
|
-
|
|
683
|
+
v.SubContent,
|
|
683
684
|
{
|
|
684
685
|
"data-slot": "dropdown-menu-sub-content",
|
|
685
|
-
className:
|
|
686
|
+
className: r(
|
|
686
687
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
687
688
|
e
|
|
688
689
|
),
|
|
@@ -690,30 +691,30 @@ function Qa({
|
|
|
690
691
|
}
|
|
691
692
|
);
|
|
692
693
|
}
|
|
693
|
-
function
|
|
694
|
+
function Ve({ className: e, type: t, ...o }) {
|
|
694
695
|
return /* @__PURE__ */ a(
|
|
695
696
|
"input",
|
|
696
697
|
{
|
|
697
698
|
type: t,
|
|
698
699
|
"data-slot": "input",
|
|
699
|
-
className:
|
|
700
|
+
className: r(
|
|
700
701
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
701
702
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
702
703
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
703
704
|
e
|
|
704
705
|
),
|
|
705
|
-
...
|
|
706
|
+
...o
|
|
706
707
|
}
|
|
707
708
|
);
|
|
708
709
|
}
|
|
709
|
-
function
|
|
710
|
+
function _a({
|
|
710
711
|
className: e,
|
|
711
712
|
...t
|
|
712
713
|
}) {
|
|
713
|
-
return /* @__PURE__ */
|
|
714
|
+
return /* @__PURE__ */ i(
|
|
714
715
|
"div",
|
|
715
716
|
{
|
|
716
|
-
className:
|
|
717
|
+
className: r(
|
|
717
718
|
"flex items-center h-9 w-full min-w-0 rounded-md border border-input bg-transparent shadow-xs transition-[color,box-shadow] outline-none px-2 dark:bg-input/30",
|
|
718
719
|
"focus-within:border-ring focus-within:ring-ring/50 focus-within:ring-[3px]",
|
|
719
720
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
@@ -721,12 +722,12 @@ function Za({
|
|
|
721
722
|
),
|
|
722
723
|
"data-slot": "search-input-wrapper",
|
|
723
724
|
children: [
|
|
724
|
-
/* @__PURE__ */ a(
|
|
725
|
+
/* @__PURE__ */ a(ke, { className: "size-4 text-muted-foreground mr-2" }),
|
|
725
726
|
/* @__PURE__ */ a(
|
|
726
727
|
"input",
|
|
727
728
|
{
|
|
728
729
|
"data-slot": "search-input",
|
|
729
|
-
className:
|
|
730
|
+
className: r(
|
|
730
731
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground bg-transparent flex-1 border-0 outline-none px-0 py-1 text-base file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm"
|
|
731
732
|
),
|
|
732
733
|
...t
|
|
@@ -736,15 +737,15 @@ function Za({
|
|
|
736
737
|
}
|
|
737
738
|
);
|
|
738
739
|
}
|
|
739
|
-
function
|
|
740
|
+
function Da({
|
|
740
741
|
className: e,
|
|
741
742
|
...t
|
|
742
743
|
}) {
|
|
743
744
|
return /* @__PURE__ */ a(
|
|
744
|
-
|
|
745
|
+
Pe.Root,
|
|
745
746
|
{
|
|
746
747
|
"data-slot": "label",
|
|
747
|
-
className:
|
|
748
|
+
className: r(
|
|
748
749
|
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
749
750
|
e
|
|
750
751
|
),
|
|
@@ -752,19 +753,19 @@ function er({
|
|
|
752
753
|
}
|
|
753
754
|
);
|
|
754
755
|
}
|
|
755
|
-
function
|
|
756
|
+
function Ma({ className: e, ...t }) {
|
|
756
757
|
return /* @__PURE__ */ a(
|
|
757
758
|
"nav",
|
|
758
759
|
{
|
|
759
760
|
role: "navigation",
|
|
760
761
|
"aria-label": "pagination",
|
|
761
762
|
"data-slot": "pagination",
|
|
762
|
-
className:
|
|
763
|
+
className: r("mx-auto flex w-full justify-center", e),
|
|
763
764
|
...t
|
|
764
765
|
}
|
|
765
766
|
);
|
|
766
767
|
}
|
|
767
|
-
function
|
|
768
|
+
function Ia({
|
|
768
769
|
className: e,
|
|
769
770
|
...t
|
|
770
771
|
}) {
|
|
@@ -772,18 +773,18 @@ function ar({
|
|
|
772
773
|
"ul",
|
|
773
774
|
{
|
|
774
775
|
"data-slot": "pagination-content",
|
|
775
|
-
className:
|
|
776
|
+
className: r("flex flex-row items-center gap-1", e),
|
|
776
777
|
...t
|
|
777
778
|
}
|
|
778
779
|
);
|
|
779
780
|
}
|
|
780
|
-
function
|
|
781
|
+
function Pa({ ...e }) {
|
|
781
782
|
return /* @__PURE__ */ a("li", { "data-slot": "pagination-item", ...e });
|
|
782
783
|
}
|
|
783
784
|
function se({
|
|
784
785
|
className: e,
|
|
785
786
|
isActive: t,
|
|
786
|
-
size:
|
|
787
|
+
size: o = "icon",
|
|
787
788
|
...n
|
|
788
789
|
}) {
|
|
789
790
|
return /* @__PURE__ */ a(
|
|
@@ -792,10 +793,10 @@ function se({
|
|
|
792
793
|
"aria-current": t ? "page" : void 0,
|
|
793
794
|
"data-slot": "pagination-link",
|
|
794
795
|
"data-active": t,
|
|
795
|
-
className:
|
|
796
|
-
|
|
796
|
+
className: r(
|
|
797
|
+
V({
|
|
797
798
|
variant: t ? "outline" : "ghost",
|
|
798
|
-
size:
|
|
799
|
+
size: o
|
|
799
800
|
}),
|
|
800
801
|
e
|
|
801
802
|
),
|
|
@@ -803,83 +804,83 @@ function se({
|
|
|
803
804
|
}
|
|
804
805
|
);
|
|
805
806
|
}
|
|
806
|
-
function
|
|
807
|
+
function Ra({
|
|
807
808
|
className: e,
|
|
808
809
|
...t
|
|
809
810
|
}) {
|
|
810
|
-
return /* @__PURE__ */
|
|
811
|
+
return /* @__PURE__ */ i(
|
|
811
812
|
se,
|
|
812
813
|
{
|
|
813
814
|
"aria-label": "Go to previous page",
|
|
814
815
|
size: "default",
|
|
815
|
-
className:
|
|
816
|
+
className: r("gap-1 px-2.5 sm:pl-2.5", e),
|
|
816
817
|
...t,
|
|
817
818
|
children: [
|
|
818
|
-
/* @__PURE__ */ a(
|
|
819
|
+
/* @__PURE__ */ a(Ce, {}),
|
|
819
820
|
/* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Previous" })
|
|
820
821
|
]
|
|
821
822
|
}
|
|
822
823
|
);
|
|
823
824
|
}
|
|
824
|
-
function
|
|
825
|
+
function Aa({
|
|
825
826
|
className: e,
|
|
826
827
|
...t
|
|
827
828
|
}) {
|
|
828
|
-
return /* @__PURE__ */
|
|
829
|
+
return /* @__PURE__ */ i(
|
|
829
830
|
se,
|
|
830
831
|
{
|
|
831
832
|
"aria-label": "Go to next page",
|
|
832
833
|
size: "default",
|
|
833
|
-
className:
|
|
834
|
+
className: r("gap-1 px-2.5 sm:pr-2.5", e),
|
|
834
835
|
...t,
|
|
835
836
|
children: [
|
|
836
837
|
/* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Next" }),
|
|
837
|
-
/* @__PURE__ */ a(
|
|
838
|
+
/* @__PURE__ */ a(q, {})
|
|
838
839
|
]
|
|
839
840
|
}
|
|
840
841
|
);
|
|
841
842
|
}
|
|
842
|
-
function
|
|
843
|
+
function La({
|
|
843
844
|
className: e,
|
|
844
845
|
...t
|
|
845
846
|
}) {
|
|
846
|
-
return /* @__PURE__ */
|
|
847
|
+
return /* @__PURE__ */ i(
|
|
847
848
|
"span",
|
|
848
849
|
{
|
|
849
850
|
"aria-hidden": !0,
|
|
850
851
|
"data-slot": "pagination-ellipsis",
|
|
851
|
-
className:
|
|
852
|
+
className: r("flex size-9 items-center justify-center", e),
|
|
852
853
|
...t,
|
|
853
854
|
children: [
|
|
854
|
-
/* @__PURE__ */ a(
|
|
855
|
+
/* @__PURE__ */ a(ze, { className: "size-4" }),
|
|
855
856
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "More pages" })
|
|
856
857
|
]
|
|
857
858
|
}
|
|
858
859
|
);
|
|
859
860
|
}
|
|
860
|
-
function
|
|
861
|
+
function Fe({
|
|
861
862
|
...e
|
|
862
863
|
}) {
|
|
863
|
-
return /* @__PURE__ */ a(
|
|
864
|
+
return /* @__PURE__ */ a($.Root, { "data-slot": "popover", ...e });
|
|
864
865
|
}
|
|
865
|
-
function
|
|
866
|
+
function Ke({
|
|
866
867
|
...e
|
|
867
868
|
}) {
|
|
868
|
-
return /* @__PURE__ */ a(
|
|
869
|
+
return /* @__PURE__ */ a($.Trigger, { "data-slot": "popover-trigger", ...e });
|
|
869
870
|
}
|
|
870
|
-
function
|
|
871
|
+
function Ue({
|
|
871
872
|
className: e,
|
|
872
873
|
align: t = "center",
|
|
873
|
-
sideOffset:
|
|
874
|
+
sideOffset: o = 4,
|
|
874
875
|
...n
|
|
875
876
|
}) {
|
|
876
|
-
return /* @__PURE__ */ a(
|
|
877
|
-
|
|
877
|
+
return /* @__PURE__ */ a($.Portal, { children: /* @__PURE__ */ a(
|
|
878
|
+
$.Content,
|
|
878
879
|
{
|
|
879
880
|
"data-slot": "popover-content",
|
|
880
881
|
align: t,
|
|
881
|
-
sideOffset:
|
|
882
|
-
className:
|
|
882
|
+
sideOffset: o,
|
|
883
|
+
className: r(
|
|
883
884
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
884
885
|
e
|
|
885
886
|
),
|
|
@@ -887,20 +888,20 @@ function tt({
|
|
|
887
888
|
}
|
|
888
889
|
) });
|
|
889
890
|
}
|
|
890
|
-
function
|
|
891
|
+
function ae({ className: e, ...t }) {
|
|
891
892
|
return /* @__PURE__ */ a(
|
|
892
893
|
"div",
|
|
893
894
|
{
|
|
894
895
|
"data-slot": "skeleton",
|
|
895
|
-
className:
|
|
896
|
+
className: r("bg-accent animate-pulse rounded-md", e),
|
|
896
897
|
...t
|
|
897
898
|
}
|
|
898
899
|
);
|
|
899
900
|
}
|
|
900
|
-
const
|
|
901
|
-
const { theme: t = "system" } =
|
|
901
|
+
const Ea = ({ ...e }) => {
|
|
902
|
+
const { theme: t = "system" } = Re();
|
|
902
903
|
return /* @__PURE__ */ a(
|
|
903
|
-
|
|
904
|
+
Ae,
|
|
904
905
|
{
|
|
905
906
|
theme: t,
|
|
906
907
|
className: "toaster group",
|
|
@@ -913,28 +914,28 @@ const sr = ({ ...e }) => {
|
|
|
913
914
|
}
|
|
914
915
|
);
|
|
915
916
|
};
|
|
916
|
-
function
|
|
917
|
+
function ja({
|
|
917
918
|
rowCount: e,
|
|
918
919
|
rowHeight: t = 48,
|
|
919
|
-
height:
|
|
920
|
+
height: o = 400,
|
|
920
921
|
className: n,
|
|
921
|
-
children:
|
|
922
|
+
children: s
|
|
922
923
|
}) {
|
|
923
924
|
return /* @__PURE__ */ a(
|
|
924
|
-
|
|
925
|
+
Le,
|
|
925
926
|
{
|
|
926
|
-
className:
|
|
927
|
-
height:
|
|
927
|
+
className: r("w-full relative block", n),
|
|
928
|
+
height: o,
|
|
928
929
|
itemCount: e,
|
|
929
930
|
itemSize: t,
|
|
930
931
|
width: "100%",
|
|
931
|
-
outerElementType:
|
|
932
|
-
innerElementType:
|
|
933
|
-
children: ({ index:
|
|
932
|
+
outerElementType: We,
|
|
933
|
+
innerElementType: be,
|
|
934
|
+
children: ({ index: d, style: u }) => /* @__PURE__ */ a(qe, { style: u, children: s(d, u) }, d)
|
|
934
935
|
}
|
|
935
936
|
);
|
|
936
937
|
}
|
|
937
|
-
function
|
|
938
|
+
function Ba({ className: e, ...t }) {
|
|
938
939
|
return /* @__PURE__ */ a(
|
|
939
940
|
"div",
|
|
940
941
|
{
|
|
@@ -944,72 +945,72 @@ function lr({ className: e, ...t }) {
|
|
|
944
945
|
"table",
|
|
945
946
|
{
|
|
946
947
|
"data-slot": "table",
|
|
947
|
-
className:
|
|
948
|
+
className: r("w-full caption-bottom text-sm", e),
|
|
948
949
|
...t
|
|
949
950
|
}
|
|
950
951
|
)
|
|
951
952
|
}
|
|
952
953
|
);
|
|
953
954
|
}
|
|
954
|
-
function
|
|
955
|
+
function Oa({ className: e, ...t }) {
|
|
955
956
|
return /* @__PURE__ */ a(
|
|
956
957
|
"thead",
|
|
957
958
|
{
|
|
958
959
|
"data-slot": "table-header",
|
|
959
|
-
className:
|
|
960
|
+
className: r("[&_tr]:border-b", e),
|
|
960
961
|
...t
|
|
961
962
|
}
|
|
962
963
|
);
|
|
963
964
|
}
|
|
964
|
-
function
|
|
965
|
+
function We({ className: e, ...t }) {
|
|
965
966
|
return /* @__PURE__ */ a(
|
|
966
967
|
"tbody",
|
|
967
968
|
{
|
|
968
969
|
"data-slot": "table-body",
|
|
969
|
-
className:
|
|
970
|
+
className: r("[&_tr:last-child]:border-0", e),
|
|
970
971
|
...t
|
|
971
972
|
}
|
|
972
973
|
);
|
|
973
974
|
}
|
|
974
|
-
function
|
|
975
|
+
function qe({ className: e, style: t, ...o }) {
|
|
975
976
|
return /* @__PURE__ */ a(
|
|
976
977
|
"tr",
|
|
977
978
|
{
|
|
978
979
|
"data-slot": "table-row",
|
|
979
|
-
className:
|
|
980
|
+
className: r(
|
|
980
981
|
"hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors flex items-center",
|
|
981
982
|
e
|
|
982
983
|
),
|
|
983
984
|
style: t,
|
|
984
|
-
...
|
|
985
|
+
...o
|
|
985
986
|
}
|
|
986
987
|
);
|
|
987
988
|
}
|
|
988
|
-
function
|
|
989
|
-
const { icon:
|
|
990
|
-
return /* @__PURE__ */
|
|
989
|
+
function $a({ className: e, ...t }) {
|
|
990
|
+
const { icon: o, ...n } = t, { children: s } = n;
|
|
991
|
+
return /* @__PURE__ */ i(
|
|
991
992
|
"th",
|
|
992
993
|
{
|
|
993
994
|
"data-slot": "table-head",
|
|
994
|
-
className:
|
|
995
|
-
|
|
995
|
+
className: r(
|
|
996
|
+
o && "gap-2",
|
|
996
997
|
"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] w-full flex items-center",
|
|
997
998
|
e
|
|
998
999
|
),
|
|
999
1000
|
...n,
|
|
1000
1001
|
children: [
|
|
1001
|
-
|
|
1002
|
-
|
|
1002
|
+
o,
|
|
1003
|
+
s
|
|
1003
1004
|
]
|
|
1004
1005
|
}
|
|
1005
1006
|
);
|
|
1006
1007
|
}
|
|
1007
|
-
function
|
|
1008
|
+
function Ga({ className: e, ...t }) {
|
|
1008
1009
|
return /* @__PURE__ */ a(
|
|
1009
1010
|
"td",
|
|
1010
1011
|
{
|
|
1011
1012
|
"data-slot": "table-cell",
|
|
1012
|
-
className:
|
|
1013
|
+
className: r(
|
|
1013
1014
|
"p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px] w-full flex items-center",
|
|
1014
1015
|
e
|
|
1015
1016
|
),
|
|
@@ -1017,7 +1018,7 @@ function fr({ className: e, ...t }) {
|
|
|
1017
1018
|
}
|
|
1018
1019
|
);
|
|
1019
1020
|
}
|
|
1020
|
-
function
|
|
1021
|
+
function Ha({
|
|
1021
1022
|
className: e,
|
|
1022
1023
|
...t
|
|
1023
1024
|
}) {
|
|
@@ -1025,12 +1026,12 @@ function mr({
|
|
|
1025
1026
|
"caption",
|
|
1026
1027
|
{
|
|
1027
1028
|
"data-slot": "table-caption",
|
|
1028
|
-
className:
|
|
1029
|
+
className: r("text-muted-foreground mt-4 text-sm", e),
|
|
1029
1030
|
...t
|
|
1030
1031
|
}
|
|
1031
1032
|
);
|
|
1032
1033
|
}
|
|
1033
|
-
function
|
|
1034
|
+
function Va({
|
|
1034
1035
|
className: e,
|
|
1035
1036
|
...t
|
|
1036
1037
|
}) {
|
|
@@ -1038,12 +1039,12 @@ function pr({
|
|
|
1038
1039
|
H.Root,
|
|
1039
1040
|
{
|
|
1040
1041
|
"data-slot": "tabs",
|
|
1041
|
-
className:
|
|
1042
|
+
className: r("flex flex-col gap-2", e),
|
|
1042
1043
|
...t
|
|
1043
1044
|
}
|
|
1044
1045
|
);
|
|
1045
1046
|
}
|
|
1046
|
-
function
|
|
1047
|
+
function Fa({
|
|
1047
1048
|
className: e,
|
|
1048
1049
|
...t
|
|
1049
1050
|
}) {
|
|
@@ -1051,7 +1052,7 @@ function gr({
|
|
|
1051
1052
|
H.List,
|
|
1052
1053
|
{
|
|
1053
1054
|
"data-slot": "tabs-list",
|
|
1054
|
-
className:
|
|
1055
|
+
className: r(
|
|
1055
1056
|
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
1056
1057
|
e
|
|
1057
1058
|
),
|
|
@@ -1059,7 +1060,7 @@ function gr({
|
|
|
1059
1060
|
}
|
|
1060
1061
|
);
|
|
1061
1062
|
}
|
|
1062
|
-
function
|
|
1063
|
+
function Ka({
|
|
1063
1064
|
className: e,
|
|
1064
1065
|
...t
|
|
1065
1066
|
}) {
|
|
@@ -1067,7 +1068,7 @@ function br({
|
|
|
1067
1068
|
H.Trigger,
|
|
1068
1069
|
{
|
|
1069
1070
|
"data-slot": "tabs-trigger",
|
|
1070
|
-
className:
|
|
1071
|
+
className: r(
|
|
1071
1072
|
"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1072
1073
|
e
|
|
1073
1074
|
),
|
|
@@ -1075,7 +1076,7 @@ function br({
|
|
|
1075
1076
|
}
|
|
1076
1077
|
);
|
|
1077
1078
|
}
|
|
1078
|
-
function
|
|
1079
|
+
function Ua({
|
|
1079
1080
|
className: e,
|
|
1080
1081
|
...t
|
|
1081
1082
|
}) {
|
|
@@ -1083,7 +1084,7 @@ function hr({
|
|
|
1083
1084
|
H.Content,
|
|
1084
1085
|
{
|
|
1085
1086
|
"data-slot": "tabs-content",
|
|
1086
|
-
className:
|
|
1087
|
+
className: r("flex-1 outline-none", e),
|
|
1087
1088
|
...t
|
|
1088
1089
|
}
|
|
1089
1090
|
);
|
|
@@ -1093,7 +1094,7 @@ function de({
|
|
|
1093
1094
|
...t
|
|
1094
1095
|
}) {
|
|
1095
1096
|
return /* @__PURE__ */ a(
|
|
1096
|
-
|
|
1097
|
+
A.Provider,
|
|
1097
1098
|
{
|
|
1098
1099
|
"data-slot": "tooltip-provider",
|
|
1099
1100
|
delayDuration: e,
|
|
@@ -1101,48 +1102,48 @@ function de({
|
|
|
1101
1102
|
}
|
|
1102
1103
|
);
|
|
1103
1104
|
}
|
|
1104
|
-
function
|
|
1105
|
+
function Xe({
|
|
1105
1106
|
...e
|
|
1106
1107
|
}) {
|
|
1107
|
-
return /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(
|
|
1108
|
+
return /* @__PURE__ */ a(de, { children: /* @__PURE__ */ a(A.Root, { "data-slot": "tooltip", ...e }) });
|
|
1108
1109
|
}
|
|
1109
|
-
function
|
|
1110
|
+
function Ye({
|
|
1110
1111
|
...e
|
|
1111
1112
|
}) {
|
|
1112
|
-
return /* @__PURE__ */ a(
|
|
1113
|
+
return /* @__PURE__ */ a(A.Trigger, { "data-slot": "tooltip-trigger", ...e });
|
|
1113
1114
|
}
|
|
1114
|
-
function
|
|
1115
|
+
function Je({
|
|
1115
1116
|
className: e,
|
|
1116
1117
|
sideOffset: t = 0,
|
|
1117
|
-
children:
|
|
1118
|
+
children: o,
|
|
1118
1119
|
...n
|
|
1119
1120
|
}) {
|
|
1120
|
-
return /* @__PURE__ */ a(
|
|
1121
|
-
|
|
1121
|
+
return /* @__PURE__ */ a(A.Portal, { children: /* @__PURE__ */ i(
|
|
1122
|
+
A.Content,
|
|
1122
1123
|
{
|
|
1123
1124
|
"data-slot": "tooltip-content",
|
|
1124
1125
|
sideOffset: t,
|
|
1125
|
-
className:
|
|
1126
|
+
className: r(
|
|
1126
1127
|
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
1127
1128
|
e
|
|
1128
1129
|
),
|
|
1129
1130
|
...n,
|
|
1130
1131
|
children: [
|
|
1131
|
-
|
|
1132
|
-
/* @__PURE__ */ a(
|
|
1132
|
+
o,
|
|
1133
|
+
/* @__PURE__ */ a(A.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
1133
1134
|
]
|
|
1134
1135
|
}
|
|
1135
1136
|
) });
|
|
1136
1137
|
}
|
|
1137
|
-
function
|
|
1138
|
+
function Wa({ ...e }) {
|
|
1138
1139
|
return /* @__PURE__ */ a("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...e });
|
|
1139
1140
|
}
|
|
1140
|
-
function
|
|
1141
|
+
function qa({ className: e, ...t }) {
|
|
1141
1142
|
return /* @__PURE__ */ a(
|
|
1142
1143
|
"ol",
|
|
1143
1144
|
{
|
|
1144
1145
|
"data-slot": "breadcrumb-list",
|
|
1145
|
-
className:
|
|
1146
|
+
className: r(
|
|
1146
1147
|
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
|
|
1147
1148
|
e
|
|
1148
1149
|
),
|
|
@@ -1150,31 +1151,31 @@ function xr({ className: e, ...t }) {
|
|
|
1150
1151
|
}
|
|
1151
1152
|
);
|
|
1152
1153
|
}
|
|
1153
|
-
function
|
|
1154
|
+
function Xa({ className: e, ...t }) {
|
|
1154
1155
|
return /* @__PURE__ */ a(
|
|
1155
1156
|
"li",
|
|
1156
1157
|
{
|
|
1157
1158
|
"data-slot": "breadcrumb-item",
|
|
1158
|
-
className:
|
|
1159
|
+
className: r("inline-flex items-center gap-1.5", e),
|
|
1159
1160
|
...t
|
|
1160
1161
|
}
|
|
1161
1162
|
);
|
|
1162
1163
|
}
|
|
1163
|
-
function
|
|
1164
|
+
function Ya({
|
|
1164
1165
|
asChild: e,
|
|
1165
1166
|
className: t,
|
|
1166
|
-
...
|
|
1167
|
+
...o
|
|
1167
1168
|
}) {
|
|
1168
1169
|
return /* @__PURE__ */ a(
|
|
1169
|
-
e ?
|
|
1170
|
+
e ? D : "a",
|
|
1170
1171
|
{
|
|
1171
1172
|
"data-slot": "breadcrumb-link",
|
|
1172
|
-
className:
|
|
1173
|
-
...
|
|
1173
|
+
className: r("hover:text-foreground transition-colors", t),
|
|
1174
|
+
...o
|
|
1174
1175
|
}
|
|
1175
1176
|
);
|
|
1176
1177
|
}
|
|
1177
|
-
function
|
|
1178
|
+
function Ja({ className: e, ...t }) {
|
|
1178
1179
|
return /* @__PURE__ */ a(
|
|
1179
1180
|
"span",
|
|
1180
1181
|
{
|
|
@@ -1182,15 +1183,15 @@ function Nr({ className: e, ...t }) {
|
|
|
1182
1183
|
role: "link",
|
|
1183
1184
|
"aria-disabled": "true",
|
|
1184
1185
|
"aria-current": "page",
|
|
1185
|
-
className:
|
|
1186
|
+
className: r("text-foreground font-normal", e),
|
|
1186
1187
|
...t
|
|
1187
1188
|
}
|
|
1188
1189
|
);
|
|
1189
1190
|
}
|
|
1190
|
-
function
|
|
1191
|
+
function Qa({
|
|
1191
1192
|
children: e,
|
|
1192
1193
|
className: t,
|
|
1193
|
-
...
|
|
1194
|
+
...o
|
|
1194
1195
|
}) {
|
|
1195
1196
|
return /* @__PURE__ */ a(
|
|
1196
1197
|
"li",
|
|
@@ -1198,36 +1199,36 @@ function kr({
|
|
|
1198
1199
|
"data-slot": "breadcrumb-separator",
|
|
1199
1200
|
role: "presentation",
|
|
1200
1201
|
"aria-hidden": "true",
|
|
1201
|
-
className:
|
|
1202
|
-
...
|
|
1203
|
-
children: e ?? /* @__PURE__ */ a(
|
|
1202
|
+
className: r("[&>svg]:size-3.5", t),
|
|
1203
|
+
...o,
|
|
1204
|
+
children: e ?? /* @__PURE__ */ a(ne, {})
|
|
1204
1205
|
}
|
|
1205
1206
|
);
|
|
1206
1207
|
}
|
|
1207
|
-
function
|
|
1208
|
+
function Za({
|
|
1208
1209
|
...e
|
|
1209
1210
|
}) {
|
|
1210
|
-
return /* @__PURE__ */ a(
|
|
1211
|
+
return /* @__PURE__ */ a(b.Root, { "data-slot": "dialog", ...e });
|
|
1211
1212
|
}
|
|
1212
|
-
function
|
|
1213
|
+
function er({
|
|
1213
1214
|
...e
|
|
1214
1215
|
}) {
|
|
1215
|
-
return /* @__PURE__ */ a(
|
|
1216
|
+
return /* @__PURE__ */ a(b.Trigger, { "data-slot": "dialog-trigger", ...e });
|
|
1216
1217
|
}
|
|
1217
|
-
function
|
|
1218
|
+
function Qe({
|
|
1218
1219
|
...e
|
|
1219
1220
|
}) {
|
|
1220
|
-
return /* @__PURE__ */ a(
|
|
1221
|
+
return /* @__PURE__ */ a(b.Portal, { "data-slot": "dialog-portal", ...e });
|
|
1221
1222
|
}
|
|
1222
|
-
function
|
|
1223
|
+
function Ze({
|
|
1223
1224
|
className: e,
|
|
1224
1225
|
...t
|
|
1225
1226
|
}) {
|
|
1226
1227
|
return /* @__PURE__ */ a(
|
|
1227
|
-
|
|
1228
|
+
b.Overlay,
|
|
1228
1229
|
{
|
|
1229
1230
|
"data-slot": "dialog-overlay",
|
|
1230
|
-
className:
|
|
1231
|
+
className: r(
|
|
1231
1232
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
1232
1233
|
e
|
|
1233
1234
|
),
|
|
@@ -1235,32 +1236,32 @@ function dt({
|
|
|
1235
1236
|
}
|
|
1236
1237
|
);
|
|
1237
1238
|
}
|
|
1238
|
-
function
|
|
1239
|
+
function tr({
|
|
1239
1240
|
className: e,
|
|
1240
1241
|
children: t,
|
|
1241
|
-
showCloseButton:
|
|
1242
|
+
showCloseButton: o = !0,
|
|
1242
1243
|
...n
|
|
1243
1244
|
}) {
|
|
1244
|
-
return /* @__PURE__ */
|
|
1245
|
-
/* @__PURE__ */ a(
|
|
1246
|
-
/* @__PURE__ */
|
|
1247
|
-
|
|
1245
|
+
return /* @__PURE__ */ i(Qe, { "data-slot": "dialog-portal", children: [
|
|
1246
|
+
/* @__PURE__ */ a(Ze, {}),
|
|
1247
|
+
/* @__PURE__ */ i(
|
|
1248
|
+
b.Content,
|
|
1248
1249
|
{
|
|
1249
1250
|
"data-slot": "dialog-content",
|
|
1250
|
-
className:
|
|
1251
|
+
className: r(
|
|
1251
1252
|
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
1252
1253
|
e
|
|
1253
1254
|
),
|
|
1254
1255
|
...n,
|
|
1255
1256
|
children: [
|
|
1256
1257
|
t,
|
|
1257
|
-
|
|
1258
|
-
|
|
1258
|
+
o && /* @__PURE__ */ i(
|
|
1259
|
+
b.Close,
|
|
1259
1260
|
{
|
|
1260
1261
|
"data-slot": "dialog-close",
|
|
1261
1262
|
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1262
1263
|
children: [
|
|
1263
|
-
/* @__PURE__ */ a(
|
|
1264
|
+
/* @__PURE__ */ a(ie, {}),
|
|
1264
1265
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
1265
1266
|
]
|
|
1266
1267
|
}
|
|
@@ -1270,22 +1271,22 @@ function zr({
|
|
|
1270
1271
|
)
|
|
1271
1272
|
] });
|
|
1272
1273
|
}
|
|
1273
|
-
function
|
|
1274
|
+
function ar({ className: e, ...t }) {
|
|
1274
1275
|
return /* @__PURE__ */ a(
|
|
1275
1276
|
"div",
|
|
1276
1277
|
{
|
|
1277
1278
|
"data-slot": "dialog-header",
|
|
1278
|
-
className:
|
|
1279
|
+
className: r("flex flex-col gap-2 text-center sm:text-left", e),
|
|
1279
1280
|
...t
|
|
1280
1281
|
}
|
|
1281
1282
|
);
|
|
1282
1283
|
}
|
|
1283
|
-
function
|
|
1284
|
+
function rr({ className: e, ...t }) {
|
|
1284
1285
|
return /* @__PURE__ */ a(
|
|
1285
1286
|
"div",
|
|
1286
1287
|
{
|
|
1287
1288
|
"data-slot": "dialog-footer",
|
|
1288
|
-
className:
|
|
1289
|
+
className: r(
|
|
1289
1290
|
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
1290
1291
|
e
|
|
1291
1292
|
),
|
|
@@ -1293,41 +1294,41 @@ function Tr({ className: e, ...t }) {
|
|
|
1293
1294
|
}
|
|
1294
1295
|
);
|
|
1295
1296
|
}
|
|
1296
|
-
function
|
|
1297
|
+
function or({
|
|
1297
1298
|
className: e,
|
|
1298
1299
|
...t
|
|
1299
1300
|
}) {
|
|
1300
1301
|
return /* @__PURE__ */ a(
|
|
1301
|
-
|
|
1302
|
+
b.Title,
|
|
1302
1303
|
{
|
|
1303
1304
|
"data-slot": "dialog-title",
|
|
1304
|
-
className:
|
|
1305
|
+
className: r("text-lg leading-none font-semibold", e),
|
|
1305
1306
|
...t
|
|
1306
1307
|
}
|
|
1307
1308
|
);
|
|
1308
1309
|
}
|
|
1309
|
-
function
|
|
1310
|
+
function nr({
|
|
1310
1311
|
className: e,
|
|
1311
1312
|
...t
|
|
1312
1313
|
}) {
|
|
1313
1314
|
return /* @__PURE__ */ a(
|
|
1314
|
-
|
|
1315
|
+
b.Description,
|
|
1315
1316
|
{
|
|
1316
1317
|
"data-slot": "dialog-description",
|
|
1317
|
-
className:
|
|
1318
|
+
className: r("text-muted-foreground text-sm", e),
|
|
1318
1319
|
...t
|
|
1319
1320
|
}
|
|
1320
1321
|
);
|
|
1321
1322
|
}
|
|
1322
|
-
function
|
|
1323
|
+
function et({
|
|
1323
1324
|
className: e,
|
|
1324
1325
|
...t
|
|
1325
1326
|
}) {
|
|
1326
1327
|
return /* @__PURE__ */ a(
|
|
1327
|
-
|
|
1328
|
+
L,
|
|
1328
1329
|
{
|
|
1329
1330
|
"data-slot": "command",
|
|
1330
|
-
className:
|
|
1331
|
+
className: r(
|
|
1331
1332
|
"bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
|
|
1332
1333
|
e
|
|
1333
1334
|
),
|
|
@@ -1335,22 +1336,22 @@ function lt({
|
|
|
1335
1336
|
}
|
|
1336
1337
|
);
|
|
1337
1338
|
}
|
|
1338
|
-
function
|
|
1339
|
+
function tt({
|
|
1339
1340
|
className: e,
|
|
1340
1341
|
...t
|
|
1341
1342
|
}) {
|
|
1342
|
-
return /* @__PURE__ */
|
|
1343
|
+
return /* @__PURE__ */ i(
|
|
1343
1344
|
"div",
|
|
1344
1345
|
{
|
|
1345
1346
|
"data-slot": "command-input-wrapper",
|
|
1346
1347
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
1347
1348
|
children: [
|
|
1348
|
-
/* @__PURE__ */ a(
|
|
1349
|
+
/* @__PURE__ */ a(Se, { className: "size-4 shrink-0 opacity-50" }),
|
|
1349
1350
|
/* @__PURE__ */ a(
|
|
1350
|
-
|
|
1351
|
+
L.Input,
|
|
1351
1352
|
{
|
|
1352
1353
|
"data-slot": "command-input",
|
|
1353
|
-
className:
|
|
1354
|
+
className: r(
|
|
1354
1355
|
"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
1355
1356
|
e
|
|
1356
1357
|
),
|
|
@@ -1361,15 +1362,15 @@ function ct({
|
|
|
1361
1362
|
}
|
|
1362
1363
|
);
|
|
1363
1364
|
}
|
|
1364
|
-
function
|
|
1365
|
+
function at({
|
|
1365
1366
|
className: e,
|
|
1366
1367
|
...t
|
|
1367
1368
|
}) {
|
|
1368
1369
|
return /* @__PURE__ */ a(
|
|
1369
|
-
|
|
1370
|
+
L.List,
|
|
1370
1371
|
{
|
|
1371
1372
|
"data-slot": "command-list",
|
|
1372
|
-
className:
|
|
1373
|
+
className: r(
|
|
1373
1374
|
"max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
|
|
1374
1375
|
e
|
|
1375
1376
|
),
|
|
@@ -1377,11 +1378,11 @@ function ut({
|
|
|
1377
1378
|
}
|
|
1378
1379
|
);
|
|
1379
1380
|
}
|
|
1380
|
-
function
|
|
1381
|
+
function rt({
|
|
1381
1382
|
...e
|
|
1382
1383
|
}) {
|
|
1383
1384
|
return /* @__PURE__ */ a(
|
|
1384
|
-
|
|
1385
|
+
L.Empty,
|
|
1385
1386
|
{
|
|
1386
1387
|
"data-slot": "command-empty",
|
|
1387
1388
|
className: "py-6 text-center text-sm",
|
|
@@ -1389,15 +1390,15 @@ function ft({
|
|
|
1389
1390
|
}
|
|
1390
1391
|
);
|
|
1391
1392
|
}
|
|
1392
|
-
function
|
|
1393
|
+
function ot({
|
|
1393
1394
|
className: e,
|
|
1394
1395
|
...t
|
|
1395
1396
|
}) {
|
|
1396
1397
|
return /* @__PURE__ */ a(
|
|
1397
|
-
|
|
1398
|
+
L.Group,
|
|
1398
1399
|
{
|
|
1399
1400
|
"data-slot": "command-group",
|
|
1400
|
-
className:
|
|
1401
|
+
className: r(
|
|
1401
1402
|
"text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
|
|
1402
1403
|
e
|
|
1403
1404
|
),
|
|
@@ -1405,15 +1406,15 @@ function mt({
|
|
|
1405
1406
|
}
|
|
1406
1407
|
);
|
|
1407
1408
|
}
|
|
1408
|
-
function
|
|
1409
|
+
function nt({
|
|
1409
1410
|
className: e,
|
|
1410
1411
|
...t
|
|
1411
1412
|
}) {
|
|
1412
1413
|
return /* @__PURE__ */ a(
|
|
1413
|
-
|
|
1414
|
+
L.Item,
|
|
1414
1415
|
{
|
|
1415
1416
|
"data-slot": "command-item",
|
|
1416
|
-
className:
|
|
1417
|
+
className: r(
|
|
1417
1418
|
"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1418
1419
|
e
|
|
1419
1420
|
),
|
|
@@ -1421,258 +1422,258 @@ function pt({
|
|
|
1421
1422
|
}
|
|
1422
1423
|
);
|
|
1423
1424
|
}
|
|
1424
|
-
function
|
|
1425
|
+
function ir({
|
|
1425
1426
|
...e
|
|
1426
1427
|
}) {
|
|
1427
|
-
return /* @__PURE__ */ a(
|
|
1428
|
+
return /* @__PURE__ */ a(w.Root, { "data-slot": "select", ...e });
|
|
1428
1429
|
}
|
|
1429
|
-
function
|
|
1430
|
+
function sr({
|
|
1430
1431
|
...e
|
|
1431
1432
|
}) {
|
|
1432
|
-
return /* @__PURE__ */ a(
|
|
1433
|
+
return /* @__PURE__ */ a(w.Group, { "data-slot": "select-group", ...e });
|
|
1433
1434
|
}
|
|
1434
|
-
function
|
|
1435
|
+
function dr({
|
|
1435
1436
|
...e
|
|
1436
1437
|
}) {
|
|
1437
|
-
return /* @__PURE__ */ a(
|
|
1438
|
+
return /* @__PURE__ */ a(w.Value, { "data-slot": "select-value", ...e });
|
|
1438
1439
|
}
|
|
1439
|
-
function
|
|
1440
|
+
function lr({
|
|
1440
1441
|
className: e,
|
|
1441
1442
|
size: t = "default",
|
|
1442
|
-
children:
|
|
1443
|
+
children: o,
|
|
1443
1444
|
...n
|
|
1444
1445
|
}) {
|
|
1445
|
-
return /* @__PURE__ */
|
|
1446
|
-
|
|
1446
|
+
return /* @__PURE__ */ i(
|
|
1447
|
+
w.Trigger,
|
|
1447
1448
|
{
|
|
1448
1449
|
"data-slot": "select-trigger",
|
|
1449
1450
|
"data-size": t,
|
|
1450
|
-
className:
|
|
1451
|
+
className: r(
|
|
1451
1452
|
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
1452
1453
|
e
|
|
1453
1454
|
),
|
|
1454
1455
|
...n,
|
|
1455
1456
|
children: [
|
|
1456
|
-
|
|
1457
|
-
/* @__PURE__ */ a(
|
|
1457
|
+
o,
|
|
1458
|
+
/* @__PURE__ */ a(w.Icon, { asChild: !0, children: /* @__PURE__ */ a(X, { className: "size-4 opacity-50" }) })
|
|
1458
1459
|
]
|
|
1459
1460
|
}
|
|
1460
1461
|
);
|
|
1461
1462
|
}
|
|
1462
|
-
function
|
|
1463
|
+
function cr({
|
|
1463
1464
|
className: e,
|
|
1464
1465
|
children: t,
|
|
1465
|
-
position:
|
|
1466
|
+
position: o = "popper",
|
|
1466
1467
|
...n
|
|
1467
1468
|
}) {
|
|
1468
|
-
return /* @__PURE__ */ a(
|
|
1469
|
-
|
|
1469
|
+
return /* @__PURE__ */ a(w.Portal, { children: /* @__PURE__ */ i(
|
|
1470
|
+
w.Content,
|
|
1470
1471
|
{
|
|
1471
1472
|
"data-slot": "select-content",
|
|
1472
|
-
className:
|
|
1473
|
+
className: r(
|
|
1473
1474
|
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
1474
|
-
|
|
1475
|
+
o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
1475
1476
|
e
|
|
1476
1477
|
),
|
|
1477
|
-
position:
|
|
1478
|
+
position: o,
|
|
1478
1479
|
...n,
|
|
1479
1480
|
children: [
|
|
1480
|
-
/* @__PURE__ */ a(
|
|
1481
|
+
/* @__PURE__ */ a(it, {}),
|
|
1481
1482
|
/* @__PURE__ */ a(
|
|
1482
|
-
|
|
1483
|
+
w.Viewport,
|
|
1483
1484
|
{
|
|
1484
|
-
className:
|
|
1485
|
+
className: r(
|
|
1485
1486
|
"p-1",
|
|
1486
|
-
|
|
1487
|
+
o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
1487
1488
|
),
|
|
1488
1489
|
children: t
|
|
1489
1490
|
}
|
|
1490
1491
|
),
|
|
1491
|
-
/* @__PURE__ */ a(
|
|
1492
|
+
/* @__PURE__ */ a(st, {})
|
|
1492
1493
|
]
|
|
1493
1494
|
}
|
|
1494
1495
|
) });
|
|
1495
1496
|
}
|
|
1496
|
-
function
|
|
1497
|
+
function ur({
|
|
1497
1498
|
className: e,
|
|
1498
1499
|
...t
|
|
1499
1500
|
}) {
|
|
1500
1501
|
return /* @__PURE__ */ a(
|
|
1501
|
-
|
|
1502
|
+
w.Label,
|
|
1502
1503
|
{
|
|
1503
1504
|
"data-slot": "select-label",
|
|
1504
|
-
className:
|
|
1505
|
+
className: r("text-muted-foreground px-2 py-1.5 text-xs", e),
|
|
1505
1506
|
...t
|
|
1506
1507
|
}
|
|
1507
1508
|
);
|
|
1508
1509
|
}
|
|
1509
|
-
function
|
|
1510
|
+
function mr({
|
|
1510
1511
|
className: e,
|
|
1511
1512
|
children: t,
|
|
1512
|
-
...
|
|
1513
|
+
...o
|
|
1513
1514
|
}) {
|
|
1514
|
-
return /* @__PURE__ */
|
|
1515
|
-
|
|
1515
|
+
return /* @__PURE__ */ i(
|
|
1516
|
+
w.Item,
|
|
1516
1517
|
{
|
|
1517
1518
|
"data-slot": "select-item",
|
|
1518
|
-
className:
|
|
1519
|
+
className: r(
|
|
1519
1520
|
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
1520
1521
|
e
|
|
1521
1522
|
),
|
|
1522
|
-
...
|
|
1523
|
+
...o,
|
|
1523
1524
|
children: [
|
|
1524
|
-
/* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
1525
|
-
/* @__PURE__ */ a(
|
|
1525
|
+
/* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(w.ItemIndicator, { children: /* @__PURE__ */ a(O, { className: "size-4" }) }) }),
|
|
1526
|
+
/* @__PURE__ */ a(w.ItemText, { children: t })
|
|
1526
1527
|
]
|
|
1527
1528
|
}
|
|
1528
1529
|
);
|
|
1529
1530
|
}
|
|
1530
|
-
function
|
|
1531
|
+
function it({
|
|
1531
1532
|
className: e,
|
|
1532
1533
|
...t
|
|
1533
1534
|
}) {
|
|
1534
1535
|
return /* @__PURE__ */ a(
|
|
1535
|
-
|
|
1536
|
+
w.ScrollUpButton,
|
|
1536
1537
|
{
|
|
1537
1538
|
"data-slot": "select-scroll-up-button",
|
|
1538
|
-
className:
|
|
1539
|
+
className: r(
|
|
1539
1540
|
"flex cursor-default items-center justify-center py-1",
|
|
1540
1541
|
e
|
|
1541
1542
|
),
|
|
1542
1543
|
...t,
|
|
1543
|
-
children: /* @__PURE__ */ a(
|
|
1544
|
+
children: /* @__PURE__ */ a(_e, { className: "size-4" })
|
|
1544
1545
|
}
|
|
1545
1546
|
);
|
|
1546
1547
|
}
|
|
1547
|
-
function
|
|
1548
|
+
function st({
|
|
1548
1549
|
className: e,
|
|
1549
1550
|
...t
|
|
1550
1551
|
}) {
|
|
1551
1552
|
return /* @__PURE__ */ a(
|
|
1552
|
-
|
|
1553
|
+
w.ScrollDownButton,
|
|
1553
1554
|
{
|
|
1554
1555
|
"data-slot": "select-scroll-down-button",
|
|
1555
|
-
className:
|
|
1556
|
+
className: r(
|
|
1556
1557
|
"flex cursor-default items-center justify-center py-1",
|
|
1557
1558
|
e
|
|
1558
1559
|
),
|
|
1559
1560
|
...t,
|
|
1560
|
-
children: /* @__PURE__ */ a(
|
|
1561
|
+
children: /* @__PURE__ */ a(X, { className: "size-4" })
|
|
1561
1562
|
}
|
|
1562
1563
|
);
|
|
1563
1564
|
}
|
|
1564
|
-
function
|
|
1565
|
+
function fr({
|
|
1565
1566
|
options: e,
|
|
1566
1567
|
placeholder: t = "Select option...",
|
|
1567
|
-
searchPlaceholder:
|
|
1568
|
+
searchPlaceholder: o = "Search...",
|
|
1568
1569
|
value: n,
|
|
1569
|
-
onChange:
|
|
1570
|
-
buttonClassName:
|
|
1571
|
-
contentClassName:
|
|
1572
|
-
disabled:
|
|
1573
|
-
extraOptions:
|
|
1574
|
-
side:
|
|
1575
|
-
align:
|
|
1576
|
-
onlyIcon:
|
|
1577
|
-
}) {
|
|
1578
|
-
const [
|
|
1570
|
+
onChange: s,
|
|
1571
|
+
buttonClassName: d,
|
|
1572
|
+
contentClassName: u,
|
|
1573
|
+
disabled: c = !1,
|
|
1574
|
+
extraOptions: p,
|
|
1575
|
+
side: l = "bottom",
|
|
1576
|
+
align: T = "start",
|
|
1577
|
+
onlyIcon: I = !1
|
|
1578
|
+
}) {
|
|
1579
|
+
const [k, C] = g.useState(!1), [_, P] = g.useState(""), N = n ?? _, [m, f] = g.useState(""), E = g.useMemo(
|
|
1579
1580
|
() => e.filter(
|
|
1580
|
-
(
|
|
1581
|
+
(x) => x.label.toLowerCase().includes(m.toLowerCase())
|
|
1581
1582
|
),
|
|
1582
|
-
[e,
|
|
1583
|
-
),
|
|
1584
|
-
n === void 0 &&
|
|
1585
|
-
},
|
|
1586
|
-
return /* @__PURE__ */
|
|
1587
|
-
/* @__PURE__ */ a(
|
|
1588
|
-
|
|
1583
|
+
[e, m]
|
|
1584
|
+
), R = (x) => {
|
|
1585
|
+
n === void 0 && P(x === N ? "" : x), s?.(x === N ? "" : x), C(!1);
|
|
1586
|
+
}, j = e.find((x) => x.value === N);
|
|
1587
|
+
return /* @__PURE__ */ i(Fe, { open: k, onOpenChange: C, children: [
|
|
1588
|
+
/* @__PURE__ */ a(Ke, { children: /* @__PURE__ */ i(
|
|
1589
|
+
J,
|
|
1589
1590
|
{
|
|
1590
1591
|
variant: "outline",
|
|
1591
1592
|
role: "combobox",
|
|
1592
|
-
"aria-expanded":
|
|
1593
|
-
className:
|
|
1594
|
-
"has-[>svg]:px-2 px-2":
|
|
1593
|
+
"aria-expanded": k,
|
|
1594
|
+
className: r("w-full justify-between", d, {
|
|
1595
|
+
"has-[>svg]:px-2 px-2": I
|
|
1595
1596
|
}),
|
|
1596
|
-
disabled:
|
|
1597
|
+
disabled: c,
|
|
1597
1598
|
children: [
|
|
1598
1599
|
/* @__PURE__ */ a(
|
|
1599
1600
|
"span",
|
|
1600
1601
|
{
|
|
1601
|
-
className:
|
|
1602
|
-
"text-muted-foreground": !
|
|
1602
|
+
className: r("flex items-center gap-2", {
|
|
1603
|
+
"text-muted-foreground": !j && !!t
|
|
1603
1604
|
}),
|
|
1604
|
-
children:
|
|
1605
|
-
|
|
1606
|
-
|
|
1605
|
+
children: j ? /* @__PURE__ */ a(W, { children: I ? j.icon : /* @__PURE__ */ i(W, { children: [
|
|
1606
|
+
j.icon,
|
|
1607
|
+
j.label
|
|
1607
1608
|
] }) }) : t
|
|
1608
1609
|
}
|
|
1609
1610
|
),
|
|
1610
|
-
/* @__PURE__ */ a(
|
|
1611
|
+
/* @__PURE__ */ a(Te, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
|
|
1611
1612
|
]
|
|
1612
1613
|
}
|
|
1613
1614
|
) }),
|
|
1614
|
-
/* @__PURE__ */ a(
|
|
1615
|
+
/* @__PURE__ */ a(Ue, { className: r("p-0", u), side: l, align: T, children: /* @__PURE__ */ i(et, { children: [
|
|
1615
1616
|
/* @__PURE__ */ a(
|
|
1616
|
-
|
|
1617
|
+
tt,
|
|
1617
1618
|
{
|
|
1618
|
-
placeholder:
|
|
1619
|
-
value:
|
|
1620
|
-
onValueChange:
|
|
1619
|
+
placeholder: o,
|
|
1620
|
+
value: m,
|
|
1621
|
+
onValueChange: f
|
|
1621
1622
|
}
|
|
1622
1623
|
),
|
|
1623
|
-
/* @__PURE__ */
|
|
1624
|
-
/* @__PURE__ */ a(
|
|
1625
|
-
/* @__PURE__ */
|
|
1626
|
-
|
|
1627
|
-
|
|
1624
|
+
/* @__PURE__ */ i(at, { children: [
|
|
1625
|
+
/* @__PURE__ */ a(rt, { children: "No option found." }),
|
|
1626
|
+
/* @__PURE__ */ i(ot, { children: [
|
|
1627
|
+
E.map((x) => /* @__PURE__ */ i(
|
|
1628
|
+
nt,
|
|
1628
1629
|
{
|
|
1629
|
-
value:
|
|
1630
|
-
onSelect: (
|
|
1630
|
+
value: x.value,
|
|
1631
|
+
onSelect: (ge) => R(ge),
|
|
1631
1632
|
children: [
|
|
1632
1633
|
/* @__PURE__ */ a(
|
|
1633
|
-
|
|
1634
|
+
O,
|
|
1634
1635
|
{
|
|
1635
|
-
className:
|
|
1636
|
+
className: r(
|
|
1636
1637
|
"mr-2 h-4 w-4",
|
|
1637
|
-
|
|
1638
|
+
N === x.value ? "opacity-100" : "opacity-0"
|
|
1638
1639
|
)
|
|
1639
1640
|
}
|
|
1640
1641
|
),
|
|
1641
|
-
|
|
1642
|
-
|
|
1642
|
+
x.icon,
|
|
1643
|
+
x.label
|
|
1643
1644
|
]
|
|
1644
1645
|
},
|
|
1645
|
-
|
|
1646
|
+
x.value
|
|
1646
1647
|
)),
|
|
1647
|
-
|
|
1648
|
+
p
|
|
1648
1649
|
] })
|
|
1649
1650
|
] })
|
|
1650
1651
|
] }) })
|
|
1651
1652
|
] });
|
|
1652
1653
|
}
|
|
1653
1654
|
const U = 768;
|
|
1654
|
-
function
|
|
1655
|
-
const [e, t] =
|
|
1656
|
-
return
|
|
1657
|
-
const
|
|
1655
|
+
function dt() {
|
|
1656
|
+
const [e, t] = g.useState(void 0);
|
|
1657
|
+
return g.useEffect(() => {
|
|
1658
|
+
const o = window.matchMedia(`(max-width: ${U - 1}px)`), n = () => {
|
|
1658
1659
|
t(window.innerWidth < U);
|
|
1659
1660
|
};
|
|
1660
|
-
return
|
|
1661
|
+
return o.addEventListener("change", n), t(window.innerWidth < U), () => o.removeEventListener("change", n);
|
|
1661
1662
|
}, []), !!e;
|
|
1662
1663
|
}
|
|
1663
1664
|
function le({
|
|
1664
1665
|
className: e,
|
|
1665
1666
|
orientation: t = "horizontal",
|
|
1666
|
-
decorative:
|
|
1667
|
+
decorative: o = !0,
|
|
1667
1668
|
...n
|
|
1668
1669
|
}) {
|
|
1669
1670
|
return /* @__PURE__ */ a(
|
|
1670
|
-
|
|
1671
|
+
Ee.Root,
|
|
1671
1672
|
{
|
|
1672
1673
|
"data-slot": "separator",
|
|
1673
|
-
decorative:
|
|
1674
|
+
decorative: o,
|
|
1674
1675
|
orientation: t,
|
|
1675
|
-
className:
|
|
1676
|
+
className: r(
|
|
1676
1677
|
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
1677
1678
|
e
|
|
1678
1679
|
),
|
|
@@ -1680,28 +1681,28 @@ function le({
|
|
|
1680
1681
|
}
|
|
1681
1682
|
);
|
|
1682
1683
|
}
|
|
1683
|
-
function
|
|
1684
|
-
return /* @__PURE__ */ a(
|
|
1684
|
+
function lt({ ...e }) {
|
|
1685
|
+
return /* @__PURE__ */ a(b.Root, { "data-slot": "sheet", ...e });
|
|
1685
1686
|
}
|
|
1686
|
-
function
|
|
1687
|
+
function pr({
|
|
1687
1688
|
...e
|
|
1688
1689
|
}) {
|
|
1689
|
-
return /* @__PURE__ */ a(
|
|
1690
|
+
return /* @__PURE__ */ a(b.Trigger, { "data-slot": "sheet-trigger", ...e });
|
|
1690
1691
|
}
|
|
1691
|
-
function
|
|
1692
|
+
function ct({
|
|
1692
1693
|
...e
|
|
1693
1694
|
}) {
|
|
1694
|
-
return /* @__PURE__ */ a(
|
|
1695
|
+
return /* @__PURE__ */ a(b.Portal, { "data-slot": "sheet-portal", ...e });
|
|
1695
1696
|
}
|
|
1696
|
-
function
|
|
1697
|
+
function ut({
|
|
1697
1698
|
className: e,
|
|
1698
1699
|
...t
|
|
1699
1700
|
}) {
|
|
1700
1701
|
return /* @__PURE__ */ a(
|
|
1701
|
-
|
|
1702
|
+
b.Overlay,
|
|
1702
1703
|
{
|
|
1703
1704
|
"data-slot": "sheet-overlay",
|
|
1704
|
-
className:
|
|
1705
|
+
className: r(
|
|
1705
1706
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
1706
1707
|
e
|
|
1707
1708
|
),
|
|
@@ -1709,31 +1710,31 @@ function wt({
|
|
|
1709
1710
|
}
|
|
1710
1711
|
);
|
|
1711
1712
|
}
|
|
1712
|
-
function
|
|
1713
|
+
function mt({
|
|
1713
1714
|
className: e,
|
|
1714
1715
|
children: t,
|
|
1715
|
-
side:
|
|
1716
|
+
side: o = "right",
|
|
1716
1717
|
...n
|
|
1717
1718
|
}) {
|
|
1718
|
-
return /* @__PURE__ */
|
|
1719
|
-
/* @__PURE__ */ a(
|
|
1720
|
-
/* @__PURE__ */
|
|
1721
|
-
|
|
1719
|
+
return /* @__PURE__ */ i(ct, { children: [
|
|
1720
|
+
/* @__PURE__ */ a(ut, {}),
|
|
1721
|
+
/* @__PURE__ */ i(
|
|
1722
|
+
b.Content,
|
|
1722
1723
|
{
|
|
1723
1724
|
"data-slot": "sheet-content",
|
|
1724
|
-
className:
|
|
1725
|
+
className: r(
|
|
1725
1726
|
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1727
|
+
o === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
1728
|
+
o === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
1729
|
+
o === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
1730
|
+
o === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
1730
1731
|
e
|
|
1731
1732
|
),
|
|
1732
1733
|
...n,
|
|
1733
1734
|
children: [
|
|
1734
1735
|
t,
|
|
1735
|
-
/* @__PURE__ */
|
|
1736
|
-
/* @__PURE__ */ a(
|
|
1736
|
+
/* @__PURE__ */ i(b.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
1737
|
+
/* @__PURE__ */ a(ie, { className: "size-4" }),
|
|
1737
1738
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
1738
1739
|
] })
|
|
1739
1740
|
]
|
|
@@ -1741,156 +1742,156 @@ function yt({
|
|
|
1741
1742
|
)
|
|
1742
1743
|
] });
|
|
1743
1744
|
}
|
|
1744
|
-
function
|
|
1745
|
+
function ft({ className: e, ...t }) {
|
|
1745
1746
|
return /* @__PURE__ */ a(
|
|
1746
1747
|
"div",
|
|
1747
1748
|
{
|
|
1748
1749
|
"data-slot": "sheet-header",
|
|
1749
|
-
className:
|
|
1750
|
+
className: r("flex flex-col gap-1.5 p-4", e),
|
|
1750
1751
|
...t
|
|
1751
1752
|
}
|
|
1752
1753
|
);
|
|
1753
1754
|
}
|
|
1754
|
-
function
|
|
1755
|
+
function gr({ className: e, ...t }) {
|
|
1755
1756
|
return /* @__PURE__ */ a(
|
|
1756
1757
|
"div",
|
|
1757
1758
|
{
|
|
1758
1759
|
"data-slot": "sheet-footer",
|
|
1759
|
-
className:
|
|
1760
|
+
className: r("mt-auto flex flex-col gap-2 p-4", e),
|
|
1760
1761
|
...t
|
|
1761
1762
|
}
|
|
1762
1763
|
);
|
|
1763
1764
|
}
|
|
1764
|
-
function
|
|
1765
|
+
function pt({
|
|
1765
1766
|
className: e,
|
|
1766
1767
|
...t
|
|
1767
1768
|
}) {
|
|
1768
1769
|
return /* @__PURE__ */ a(
|
|
1769
|
-
|
|
1770
|
+
b.Title,
|
|
1770
1771
|
{
|
|
1771
1772
|
"data-slot": "sheet-title",
|
|
1772
|
-
className:
|
|
1773
|
+
className: r("text-foreground font-semibold", e),
|
|
1773
1774
|
...t
|
|
1774
1775
|
}
|
|
1775
1776
|
);
|
|
1776
1777
|
}
|
|
1777
|
-
function
|
|
1778
|
+
function gt({
|
|
1778
1779
|
className: e,
|
|
1779
1780
|
...t
|
|
1780
1781
|
}) {
|
|
1781
1782
|
return /* @__PURE__ */ a(
|
|
1782
|
-
|
|
1783
|
+
b.Description,
|
|
1783
1784
|
{
|
|
1784
1785
|
"data-slot": "sheet-description",
|
|
1785
|
-
className:
|
|
1786
|
+
className: r("text-muted-foreground text-sm", e),
|
|
1786
1787
|
...t
|
|
1787
1788
|
}
|
|
1788
1789
|
);
|
|
1789
1790
|
}
|
|
1790
|
-
const
|
|
1791
|
-
function
|
|
1792
|
-
const e =
|
|
1791
|
+
const bt = "sidebar_state", ht = 3600 * 24 * 7, vt = "16rem", xt = "18rem", wt = "3rem", Nt = "b", ce = g.createContext(null);
|
|
1792
|
+
function F() {
|
|
1793
|
+
const e = g.useContext(ce);
|
|
1793
1794
|
if (!e)
|
|
1794
1795
|
throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
1795
1796
|
return e;
|
|
1796
1797
|
}
|
|
1797
|
-
function
|
|
1798
|
+
function br({
|
|
1798
1799
|
defaultOpen: e = !0,
|
|
1799
1800
|
open: t,
|
|
1800
|
-
onOpenChange:
|
|
1801
|
+
onOpenChange: o,
|
|
1801
1802
|
className: n,
|
|
1802
|
-
style:
|
|
1803
|
-
children:
|
|
1804
|
-
...
|
|
1805
|
-
}) {
|
|
1806
|
-
const
|
|
1807
|
-
(
|
|
1808
|
-
const
|
|
1809
|
-
|
|
1803
|
+
style: s,
|
|
1804
|
+
children: d,
|
|
1805
|
+
...u
|
|
1806
|
+
}) {
|
|
1807
|
+
const c = dt(), [p, l] = g.useState(!1), [T, I] = g.useState(e), k = t ?? T, C = g.useCallback(
|
|
1808
|
+
(m) => {
|
|
1809
|
+
const f = typeof m == "function" ? m(k) : m;
|
|
1810
|
+
o ? o(f) : I(f), document.cookie = `${bt}=${f}; path=/; max-age=${ht}`;
|
|
1810
1811
|
},
|
|
1811
|
-
[
|
|
1812
|
-
),
|
|
1813
|
-
|
|
1814
|
-
const
|
|
1815
|
-
|
|
1812
|
+
[o, k]
|
|
1813
|
+
), _ = g.useCallback(() => c ? l((m) => !m) : C((m) => !m), [c, C, l]);
|
|
1814
|
+
g.useEffect(() => {
|
|
1815
|
+
const m = (f) => {
|
|
1816
|
+
f.key === Nt && (f.metaKey || f.ctrlKey) && (f.preventDefault(), _());
|
|
1816
1817
|
};
|
|
1817
|
-
return window.addEventListener("keydown",
|
|
1818
|
-
}, [
|
|
1819
|
-
const
|
|
1818
|
+
return window.addEventListener("keydown", m), () => window.removeEventListener("keydown", m);
|
|
1819
|
+
}, [_]);
|
|
1820
|
+
const P = k ? "expanded" : "collapsed", N = g.useMemo(
|
|
1820
1821
|
() => ({
|
|
1821
|
-
state:
|
|
1822
|
-
open:
|
|
1823
|
-
setOpen:
|
|
1824
|
-
isMobile:
|
|
1825
|
-
openMobile:
|
|
1826
|
-
setOpenMobile:
|
|
1827
|
-
toggleSidebar:
|
|
1822
|
+
state: P,
|
|
1823
|
+
open: k,
|
|
1824
|
+
setOpen: C,
|
|
1825
|
+
isMobile: c,
|
|
1826
|
+
openMobile: p,
|
|
1827
|
+
setOpenMobile: l,
|
|
1828
|
+
toggleSidebar: _
|
|
1828
1829
|
}),
|
|
1829
|
-
[
|
|
1830
|
+
[P, k, C, c, p, l, _]
|
|
1830
1831
|
);
|
|
1831
|
-
return /* @__PURE__ */ a(ce.Provider, { value:
|
|
1832
|
+
return /* @__PURE__ */ a(ce.Provider, { value: N, children: /* @__PURE__ */ a(de, { delayDuration: 0, children: /* @__PURE__ */ a(
|
|
1832
1833
|
"div",
|
|
1833
1834
|
{
|
|
1834
1835
|
"data-slot": "sidebar-wrapper",
|
|
1835
1836
|
style: {
|
|
1836
|
-
"--sidebar-width":
|
|
1837
|
-
"--sidebar-width-icon":
|
|
1838
|
-
...
|
|
1837
|
+
"--sidebar-width": vt,
|
|
1838
|
+
"--sidebar-width-icon": wt,
|
|
1839
|
+
...s
|
|
1839
1840
|
},
|
|
1840
|
-
className:
|
|
1841
|
+
className: r(
|
|
1841
1842
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
|
|
1842
1843
|
n
|
|
1843
1844
|
),
|
|
1844
|
-
...
|
|
1845
|
-
children:
|
|
1845
|
+
...u,
|
|
1846
|
+
children: d
|
|
1846
1847
|
}
|
|
1847
1848
|
) }) });
|
|
1848
1849
|
}
|
|
1849
|
-
function
|
|
1850
|
+
function hr({
|
|
1850
1851
|
side: e = "left",
|
|
1851
1852
|
variant: t = "sidebar",
|
|
1852
|
-
collapsible:
|
|
1853
|
+
collapsible: o = "offcanvas",
|
|
1853
1854
|
className: n,
|
|
1854
|
-
children:
|
|
1855
|
-
...
|
|
1855
|
+
children: s,
|
|
1856
|
+
...d
|
|
1856
1857
|
}) {
|
|
1857
|
-
const { isMobile:
|
|
1858
|
-
return
|
|
1858
|
+
const { isMobile: u, state: c, openMobile: p, setOpenMobile: l } = F();
|
|
1859
|
+
return o === "none" ? /* @__PURE__ */ a(
|
|
1859
1860
|
"div",
|
|
1860
1861
|
{
|
|
1861
1862
|
"data-slot": "sidebar",
|
|
1862
|
-
className:
|
|
1863
|
+
className: r(
|
|
1863
1864
|
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
|
|
1864
1865
|
n
|
|
1865
1866
|
),
|
|
1866
|
-
...
|
|
1867
|
-
children:
|
|
1867
|
+
...d,
|
|
1868
|
+
children: s
|
|
1868
1869
|
}
|
|
1869
|
-
) :
|
|
1870
|
-
|
|
1870
|
+
) : u ? /* @__PURE__ */ a(lt, { open: p, onOpenChange: l, ...d, children: /* @__PURE__ */ i(
|
|
1871
|
+
mt,
|
|
1871
1872
|
{
|
|
1872
1873
|
"data-sidebar": "sidebar",
|
|
1873
1874
|
"data-slot": "sidebar",
|
|
1874
1875
|
"data-mobile": "true",
|
|
1875
1876
|
className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
|
|
1876
1877
|
style: {
|
|
1877
|
-
"--sidebar-width":
|
|
1878
|
+
"--sidebar-width": xt
|
|
1878
1879
|
},
|
|
1879
1880
|
side: e,
|
|
1880
1881
|
children: [
|
|
1881
|
-
/* @__PURE__ */
|
|
1882
|
-
/* @__PURE__ */ a(
|
|
1883
|
-
/* @__PURE__ */ a(
|
|
1882
|
+
/* @__PURE__ */ i(ft, { className: "sr-only", children: [
|
|
1883
|
+
/* @__PURE__ */ a(pt, { children: "Sidebar" }),
|
|
1884
|
+
/* @__PURE__ */ a(gt, { children: "Displays the mobile sidebar." })
|
|
1884
1885
|
] }),
|
|
1885
|
-
/* @__PURE__ */ a("div", { className: "flex h-full w-full flex-col", children:
|
|
1886
|
+
/* @__PURE__ */ a("div", { className: "flex h-full w-full flex-col", children: s })
|
|
1886
1887
|
]
|
|
1887
1888
|
}
|
|
1888
|
-
) }) : /* @__PURE__ */
|
|
1889
|
+
) }) : /* @__PURE__ */ i(
|
|
1889
1890
|
"div",
|
|
1890
1891
|
{
|
|
1891
1892
|
className: "group peer text-sidebar-foreground hidden md:block",
|
|
1892
|
-
"data-state":
|
|
1893
|
-
"data-collapsible":
|
|
1893
|
+
"data-state": c,
|
|
1894
|
+
"data-collapsible": c === "collapsed" ? o : "",
|
|
1894
1895
|
"data-variant": t,
|
|
1895
1896
|
"data-side": e,
|
|
1896
1897
|
"data-slot": "sidebar",
|
|
@@ -1899,7 +1900,7 @@ function Gr({
|
|
|
1899
1900
|
"div",
|
|
1900
1901
|
{
|
|
1901
1902
|
"data-slot": "sidebar-gap",
|
|
1902
|
-
className:
|
|
1903
|
+
className: r(
|
|
1903
1904
|
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
1904
1905
|
"group-data-[collapsible=offcanvas]:w-0",
|
|
1905
1906
|
"group-data-[side=right]:rotate-180",
|
|
@@ -1911,7 +1912,7 @@ function Gr({
|
|
|
1911
1912
|
"div",
|
|
1912
1913
|
{
|
|
1913
1914
|
"data-slot": "sidebar-container",
|
|
1914
|
-
className:
|
|
1915
|
+
className: r(
|
|
1915
1916
|
"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
|
|
1916
1917
|
e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
|
|
1917
1918
|
// Adjust the padding for floating and inset variants.
|
|
@@ -1922,14 +1923,14 @@ function Gr({
|
|
|
1922
1923
|
},
|
|
1923
1924
|
n
|
|
1924
1925
|
),
|
|
1925
|
-
...
|
|
1926
|
+
...d,
|
|
1926
1927
|
children: /* @__PURE__ */ a(
|
|
1927
1928
|
"div",
|
|
1928
1929
|
{
|
|
1929
1930
|
"data-sidebar": "sidebar",
|
|
1930
1931
|
"data-slot": "sidebar-inner",
|
|
1931
1932
|
className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",
|
|
1932
|
-
children:
|
|
1933
|
+
children: s
|
|
1933
1934
|
}
|
|
1934
1935
|
)
|
|
1935
1936
|
}
|
|
@@ -1938,33 +1939,33 @@ function Gr({
|
|
|
1938
1939
|
}
|
|
1939
1940
|
);
|
|
1940
1941
|
}
|
|
1941
|
-
function
|
|
1942
|
+
function vr({
|
|
1942
1943
|
className: e,
|
|
1943
1944
|
onClick: t,
|
|
1944
|
-
...
|
|
1945
|
+
...o
|
|
1945
1946
|
}) {
|
|
1946
|
-
const { toggleSidebar: n } =
|
|
1947
|
-
return /* @__PURE__ */
|
|
1948
|
-
|
|
1947
|
+
const { toggleSidebar: n } = F();
|
|
1948
|
+
return /* @__PURE__ */ i(
|
|
1949
|
+
J,
|
|
1949
1950
|
{
|
|
1950
1951
|
"data-sidebar": "trigger",
|
|
1951
1952
|
"data-slot": "sidebar-trigger",
|
|
1952
1953
|
variant: "ghost",
|
|
1953
1954
|
size: "icon",
|
|
1954
|
-
className:
|
|
1955
|
-
onClick: (
|
|
1956
|
-
t?.(
|
|
1955
|
+
className: r("size-7", e),
|
|
1956
|
+
onClick: (s) => {
|
|
1957
|
+
t?.(s), n();
|
|
1957
1958
|
},
|
|
1958
|
-
...
|
|
1959
|
+
...o,
|
|
1959
1960
|
children: [
|
|
1960
|
-
/* @__PURE__ */ a(
|
|
1961
|
+
/* @__PURE__ */ a(De, {}),
|
|
1961
1962
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
1962
1963
|
]
|
|
1963
1964
|
}
|
|
1964
1965
|
);
|
|
1965
1966
|
}
|
|
1966
|
-
function
|
|
1967
|
-
const { toggleSidebar:
|
|
1967
|
+
function xr({ className: e, ...t }) {
|
|
1968
|
+
const { toggleSidebar: o } = F();
|
|
1968
1969
|
return /* @__PURE__ */ a(
|
|
1969
1970
|
"button",
|
|
1970
1971
|
{
|
|
@@ -1972,9 +1973,9 @@ function Fr({ className: e, ...t }) {
|
|
|
1972
1973
|
"data-slot": "sidebar-rail",
|
|
1973
1974
|
"aria-label": "Toggle Sidebar",
|
|
1974
1975
|
tabIndex: -1,
|
|
1975
|
-
onClick:
|
|
1976
|
+
onClick: o,
|
|
1976
1977
|
title: "Toggle Sidebar",
|
|
1977
|
-
className:
|
|
1978
|
+
className: r(
|
|
1978
1979
|
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
1979
1980
|
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
1980
1981
|
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
@@ -1987,12 +1988,12 @@ function Fr({ className: e, ...t }) {
|
|
|
1987
1988
|
}
|
|
1988
1989
|
);
|
|
1989
1990
|
}
|
|
1990
|
-
function
|
|
1991
|
+
function wr({ className: e, ...t }) {
|
|
1991
1992
|
return /* @__PURE__ */ a(
|
|
1992
1993
|
"main",
|
|
1993
1994
|
{
|
|
1994
1995
|
"data-slot": "sidebar-inset",
|
|
1995
|
-
className:
|
|
1996
|
+
className: r(
|
|
1996
1997
|
"bg-background relative flex w-full flex-1 flex-col",
|
|
1997
1998
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
1998
1999
|
e
|
|
@@ -2001,43 +2002,43 @@ function Ur({ className: e, ...t }) {
|
|
|
2001
2002
|
}
|
|
2002
2003
|
);
|
|
2003
2004
|
}
|
|
2004
|
-
function
|
|
2005
|
+
function Nr({
|
|
2005
2006
|
className: e,
|
|
2006
2007
|
...t
|
|
2007
2008
|
}) {
|
|
2008
2009
|
return /* @__PURE__ */ a(
|
|
2009
|
-
|
|
2010
|
+
Ve,
|
|
2010
2011
|
{
|
|
2011
2012
|
"data-slot": "sidebar-input",
|
|
2012
2013
|
"data-sidebar": "input",
|
|
2013
|
-
className:
|
|
2014
|
+
className: r("bg-background h-8 w-full shadow-none", e),
|
|
2014
2015
|
...t
|
|
2015
2016
|
}
|
|
2016
2017
|
);
|
|
2017
2018
|
}
|
|
2018
|
-
function
|
|
2019
|
+
function yr({ className: e, ...t }) {
|
|
2019
2020
|
return /* @__PURE__ */ a(
|
|
2020
2021
|
"div",
|
|
2021
2022
|
{
|
|
2022
2023
|
"data-slot": "sidebar-header",
|
|
2023
2024
|
"data-sidebar": "header",
|
|
2024
|
-
className:
|
|
2025
|
+
className: r("flex flex-col gap-2 p-2", e),
|
|
2025
2026
|
...t
|
|
2026
2027
|
}
|
|
2027
2028
|
);
|
|
2028
2029
|
}
|
|
2029
|
-
function
|
|
2030
|
+
function kr({ className: e, ...t }) {
|
|
2030
2031
|
return /* @__PURE__ */ a(
|
|
2031
2032
|
"div",
|
|
2032
2033
|
{
|
|
2033
2034
|
"data-slot": "sidebar-footer",
|
|
2034
2035
|
"data-sidebar": "footer",
|
|
2035
|
-
className:
|
|
2036
|
+
className: r("flex flex-col gap-2 p-2", e),
|
|
2036
2037
|
...t
|
|
2037
2038
|
}
|
|
2038
2039
|
);
|
|
2039
2040
|
}
|
|
2040
|
-
function
|
|
2041
|
+
function zr({
|
|
2041
2042
|
className: e,
|
|
2042
2043
|
...t
|
|
2043
2044
|
}) {
|
|
@@ -2046,18 +2047,18 @@ function Xr({
|
|
|
2046
2047
|
{
|
|
2047
2048
|
"data-slot": "sidebar-separator",
|
|
2048
2049
|
"data-sidebar": "separator",
|
|
2049
|
-
className:
|
|
2050
|
+
className: r("bg-sidebar-border mx-2 w-auto", e),
|
|
2050
2051
|
...t
|
|
2051
2052
|
}
|
|
2052
2053
|
);
|
|
2053
2054
|
}
|
|
2054
|
-
function
|
|
2055
|
+
function Cr({ className: e, ...t }) {
|
|
2055
2056
|
return /* @__PURE__ */ a(
|
|
2056
2057
|
"div",
|
|
2057
2058
|
{
|
|
2058
2059
|
"data-slot": "sidebar-content",
|
|
2059
2060
|
"data-sidebar": "content",
|
|
2060
|
-
className:
|
|
2061
|
+
className: r(
|
|
2061
2062
|
"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
|
2062
2063
|
e
|
|
2063
2064
|
),
|
|
@@ -2065,58 +2066,58 @@ function Yr({ className: e, ...t }) {
|
|
|
2065
2066
|
}
|
|
2066
2067
|
);
|
|
2067
2068
|
}
|
|
2068
|
-
function
|
|
2069
|
+
function Sr({ className: e, ...t }) {
|
|
2069
2070
|
return /* @__PURE__ */ a(
|
|
2070
2071
|
"div",
|
|
2071
2072
|
{
|
|
2072
2073
|
"data-slot": "sidebar-group",
|
|
2073
2074
|
"data-sidebar": "group",
|
|
2074
|
-
className:
|
|
2075
|
+
className: r("relative flex w-full min-w-0 flex-col p-2", e),
|
|
2075
2076
|
...t
|
|
2076
2077
|
}
|
|
2077
2078
|
);
|
|
2078
2079
|
}
|
|
2079
|
-
function
|
|
2080
|
+
function Tr({
|
|
2080
2081
|
className: e,
|
|
2081
2082
|
asChild: t = !1,
|
|
2082
|
-
...
|
|
2083
|
+
...o
|
|
2083
2084
|
}) {
|
|
2084
2085
|
return /* @__PURE__ */ a(
|
|
2085
|
-
t ?
|
|
2086
|
+
t ? D : "div",
|
|
2086
2087
|
{
|
|
2087
2088
|
"data-slot": "sidebar-group-label",
|
|
2088
2089
|
"data-sidebar": "group-label",
|
|
2089
|
-
className:
|
|
2090
|
+
className: r(
|
|
2090
2091
|
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
2091
2092
|
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
2092
2093
|
e
|
|
2093
2094
|
),
|
|
2094
|
-
...
|
|
2095
|
+
...o
|
|
2095
2096
|
}
|
|
2096
2097
|
);
|
|
2097
2098
|
}
|
|
2098
|
-
function
|
|
2099
|
+
function _r({
|
|
2099
2100
|
className: e,
|
|
2100
2101
|
asChild: t = !1,
|
|
2101
|
-
...
|
|
2102
|
+
...o
|
|
2102
2103
|
}) {
|
|
2103
2104
|
return /* @__PURE__ */ a(
|
|
2104
|
-
t ?
|
|
2105
|
+
t ? D : "button",
|
|
2105
2106
|
{
|
|
2106
2107
|
"data-slot": "sidebar-group-action",
|
|
2107
2108
|
"data-sidebar": "group-action",
|
|
2108
|
-
className:
|
|
2109
|
+
className: r(
|
|
2109
2110
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
2110
2111
|
// Increases the hit area of the button on mobile.
|
|
2111
2112
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
2112
2113
|
"group-data-[collapsible=icon]:hidden",
|
|
2113
2114
|
e
|
|
2114
2115
|
),
|
|
2115
|
-
...
|
|
2116
|
+
...o
|
|
2116
2117
|
}
|
|
2117
2118
|
);
|
|
2118
2119
|
}
|
|
2119
|
-
function
|
|
2120
|
+
function Dr({
|
|
2120
2121
|
className: e,
|
|
2121
2122
|
...t
|
|
2122
2123
|
}) {
|
|
@@ -2125,34 +2126,34 @@ function eo({
|
|
|
2125
2126
|
{
|
|
2126
2127
|
"data-slot": "sidebar-group-content",
|
|
2127
2128
|
"data-sidebar": "group-content",
|
|
2128
|
-
className:
|
|
2129
|
+
className: r("w-full text-sm", e),
|
|
2129
2130
|
...t
|
|
2130
2131
|
}
|
|
2131
2132
|
);
|
|
2132
2133
|
}
|
|
2133
|
-
function
|
|
2134
|
+
function Mr({ className: e, ...t }) {
|
|
2134
2135
|
return /* @__PURE__ */ a(
|
|
2135
2136
|
"ul",
|
|
2136
2137
|
{
|
|
2137
2138
|
"data-slot": "sidebar-menu",
|
|
2138
2139
|
"data-sidebar": "menu",
|
|
2139
|
-
className:
|
|
2140
|
+
className: r("flex w-full min-w-0 flex-col gap-1", e),
|
|
2140
2141
|
...t
|
|
2141
2142
|
}
|
|
2142
2143
|
);
|
|
2143
2144
|
}
|
|
2144
|
-
function
|
|
2145
|
+
function Ir({ className: e, ...t }) {
|
|
2145
2146
|
return /* @__PURE__ */ a(
|
|
2146
2147
|
"li",
|
|
2147
2148
|
{
|
|
2148
2149
|
"data-slot": "sidebar-menu-item",
|
|
2149
2150
|
"data-sidebar": "menu-item",
|
|
2150
|
-
className:
|
|
2151
|
+
className: r("group/menu-item relative", e),
|
|
2151
2152
|
...t
|
|
2152
2153
|
}
|
|
2153
2154
|
);
|
|
2154
2155
|
}
|
|
2155
|
-
const
|
|
2156
|
+
const yt = G(
|
|
2156
2157
|
"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",
|
|
2157
2158
|
{
|
|
2158
2159
|
variants: {
|
|
@@ -2172,53 +2173,53 @@ const Pt = O(
|
|
|
2172
2173
|
}
|
|
2173
2174
|
}
|
|
2174
2175
|
);
|
|
2175
|
-
function
|
|
2176
|
+
function Pr({
|
|
2176
2177
|
asChild: e = !1,
|
|
2177
2178
|
isActive: t = !1,
|
|
2178
|
-
variant:
|
|
2179
|
+
variant: o = "default",
|
|
2179
2180
|
size: n = "default",
|
|
2180
|
-
tooltip:
|
|
2181
|
-
className:
|
|
2182
|
-
...
|
|
2181
|
+
tooltip: s,
|
|
2182
|
+
className: d,
|
|
2183
|
+
...u
|
|
2183
2184
|
}) {
|
|
2184
|
-
const
|
|
2185
|
-
|
|
2185
|
+
const c = e ? D : "button", { isMobile: p, state: l } = F(), T = /* @__PURE__ */ a(
|
|
2186
|
+
c,
|
|
2186
2187
|
{
|
|
2187
2188
|
"data-slot": "sidebar-menu-button",
|
|
2188
2189
|
"data-sidebar": "menu-button",
|
|
2189
2190
|
"data-size": n,
|
|
2190
2191
|
"data-active": t,
|
|
2191
|
-
className:
|
|
2192
|
-
...
|
|
2192
|
+
className: r(yt({ variant: o, size: n }), d),
|
|
2193
|
+
...u
|
|
2193
2194
|
}
|
|
2194
2195
|
);
|
|
2195
|
-
return
|
|
2196
|
-
children:
|
|
2197
|
-
}), /* @__PURE__ */
|
|
2198
|
-
/* @__PURE__ */ a(
|
|
2196
|
+
return s ? (typeof s == "string" && (s = {
|
|
2197
|
+
children: s
|
|
2198
|
+
}), /* @__PURE__ */ i(Xe, { children: [
|
|
2199
|
+
/* @__PURE__ */ a(Ye, { asChild: !0, children: T }),
|
|
2199
2200
|
/* @__PURE__ */ a(
|
|
2200
|
-
|
|
2201
|
+
Je,
|
|
2201
2202
|
{
|
|
2202
2203
|
side: "right",
|
|
2203
2204
|
align: "center",
|
|
2204
|
-
hidden:
|
|
2205
|
-
...
|
|
2205
|
+
hidden: l !== "collapsed" || p,
|
|
2206
|
+
...s
|
|
2206
2207
|
}
|
|
2207
2208
|
)
|
|
2208
|
-
] })) :
|
|
2209
|
+
] })) : T;
|
|
2209
2210
|
}
|
|
2210
|
-
function
|
|
2211
|
+
function Rr({
|
|
2211
2212
|
className: e,
|
|
2212
2213
|
asChild: t = !1,
|
|
2213
|
-
showOnHover:
|
|
2214
|
+
showOnHover: o = !1,
|
|
2214
2215
|
...n
|
|
2215
2216
|
}) {
|
|
2216
2217
|
return /* @__PURE__ */ a(
|
|
2217
|
-
t ?
|
|
2218
|
+
t ? D : "button",
|
|
2218
2219
|
{
|
|
2219
2220
|
"data-slot": "sidebar-menu-action",
|
|
2220
2221
|
"data-sidebar": "menu-action",
|
|
2221
|
-
className:
|
|
2222
|
+
className: r(
|
|
2222
2223
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
2223
2224
|
// Increases the hit area of the button on mobile.
|
|
2224
2225
|
"after:absolute after:-inset-2 md:after:hidden",
|
|
@@ -2226,14 +2227,14 @@ function oo({
|
|
|
2226
2227
|
"peer-data-[size=default]/menu-button:top-1.5",
|
|
2227
2228
|
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
2228
2229
|
"group-data-[collapsible=icon]:hidden",
|
|
2229
|
-
|
|
2230
|
+
o && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
|
|
2230
2231
|
e
|
|
2231
2232
|
),
|
|
2232
2233
|
...n
|
|
2233
2234
|
}
|
|
2234
2235
|
);
|
|
2235
2236
|
}
|
|
2236
|
-
function
|
|
2237
|
+
function Ar({
|
|
2237
2238
|
className: e,
|
|
2238
2239
|
...t
|
|
2239
2240
|
}) {
|
|
@@ -2242,7 +2243,7 @@ function no({
|
|
|
2242
2243
|
{
|
|
2243
2244
|
"data-slot": "sidebar-menu-badge",
|
|
2244
2245
|
"data-sidebar": "menu-badge",
|
|
2245
|
-
className:
|
|
2246
|
+
className: r(
|
|
2246
2247
|
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
|
|
2247
2248
|
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
2248
2249
|
"peer-data-[size=sm]/menu-button:top-1",
|
|
@@ -2255,29 +2256,29 @@ function no({
|
|
|
2255
2256
|
}
|
|
2256
2257
|
);
|
|
2257
2258
|
}
|
|
2258
|
-
function
|
|
2259
|
+
function Lr({
|
|
2259
2260
|
className: e,
|
|
2260
2261
|
showIcon: t = !1,
|
|
2261
|
-
...
|
|
2262
|
+
...o
|
|
2262
2263
|
}) {
|
|
2263
|
-
const n =
|
|
2264
|
-
return /* @__PURE__ */
|
|
2264
|
+
const n = g.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
|
|
2265
|
+
return /* @__PURE__ */ i(
|
|
2265
2266
|
"div",
|
|
2266
2267
|
{
|
|
2267
2268
|
"data-slot": "sidebar-menu-skeleton",
|
|
2268
2269
|
"data-sidebar": "menu-skeleton",
|
|
2269
|
-
className:
|
|
2270
|
-
...
|
|
2270
|
+
className: r("flex h-8 items-center gap-2 rounded-md px-2", e),
|
|
2271
|
+
...o,
|
|
2271
2272
|
children: [
|
|
2272
2273
|
t && /* @__PURE__ */ a(
|
|
2273
|
-
|
|
2274
|
+
ae,
|
|
2274
2275
|
{
|
|
2275
2276
|
className: "size-4 rounded-md",
|
|
2276
2277
|
"data-sidebar": "menu-skeleton-icon"
|
|
2277
2278
|
}
|
|
2278
2279
|
),
|
|
2279
2280
|
/* @__PURE__ */ a(
|
|
2280
|
-
|
|
2281
|
+
ae,
|
|
2281
2282
|
{
|
|
2282
2283
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
2283
2284
|
"data-sidebar": "menu-skeleton-text",
|
|
@@ -2290,13 +2291,13 @@ function io({
|
|
|
2290
2291
|
}
|
|
2291
2292
|
);
|
|
2292
2293
|
}
|
|
2293
|
-
function
|
|
2294
|
+
function Er({ className: e, ...t }) {
|
|
2294
2295
|
return /* @__PURE__ */ a(
|
|
2295
2296
|
"ul",
|
|
2296
2297
|
{
|
|
2297
2298
|
"data-slot": "sidebar-menu-sub",
|
|
2298
2299
|
"data-sidebar": "menu-sub",
|
|
2299
|
-
className:
|
|
2300
|
+
className: r(
|
|
2300
2301
|
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
2301
2302
|
"group-data-[collapsible=icon]:hidden",
|
|
2302
2303
|
e
|
|
@@ -2305,7 +2306,7 @@ function so({ className: e, ...t }) {
|
|
|
2305
2306
|
}
|
|
2306
2307
|
);
|
|
2307
2308
|
}
|
|
2308
|
-
function
|
|
2309
|
+
function jr({
|
|
2309
2310
|
className: e,
|
|
2310
2311
|
...t
|
|
2311
2312
|
}) {
|
|
@@ -2314,26 +2315,26 @@ function lo({
|
|
|
2314
2315
|
{
|
|
2315
2316
|
"data-slot": "sidebar-menu-sub-item",
|
|
2316
2317
|
"data-sidebar": "menu-sub-item",
|
|
2317
|
-
className:
|
|
2318
|
+
className: r("group/menu-sub-item relative", e),
|
|
2318
2319
|
...t
|
|
2319
2320
|
}
|
|
2320
2321
|
);
|
|
2321
2322
|
}
|
|
2322
|
-
function
|
|
2323
|
+
function Br({
|
|
2323
2324
|
asChild: e = !1,
|
|
2324
2325
|
size: t = "md",
|
|
2325
|
-
isActive:
|
|
2326
|
+
isActive: o = !1,
|
|
2326
2327
|
className: n,
|
|
2327
|
-
...
|
|
2328
|
+
...s
|
|
2328
2329
|
}) {
|
|
2329
2330
|
return /* @__PURE__ */ a(
|
|
2330
|
-
e ?
|
|
2331
|
+
e ? D : "a",
|
|
2331
2332
|
{
|
|
2332
2333
|
"data-slot": "sidebar-menu-sub-button",
|
|
2333
2334
|
"data-sidebar": "menu-sub-button",
|
|
2334
2335
|
"data-size": t,
|
|
2335
|
-
"data-active":
|
|
2336
|
-
className:
|
|
2336
|
+
"data-active": o,
|
|
2337
|
+
className: r(
|
|
2337
2338
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
2338
2339
|
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
2339
2340
|
t === "sm" && "text-xs",
|
|
@@ -2341,55 +2342,55 @@ function co({
|
|
|
2341
2342
|
"group-data-[collapsible=icon]:hidden",
|
|
2342
2343
|
n
|
|
2343
2344
|
),
|
|
2344
|
-
...
|
|
2345
|
+
...s
|
|
2345
2346
|
}
|
|
2346
2347
|
);
|
|
2347
2348
|
}
|
|
2348
|
-
function
|
|
2349
|
+
function kt({
|
|
2349
2350
|
className: e,
|
|
2350
2351
|
children: t,
|
|
2351
|
-
...
|
|
2352
|
+
...o
|
|
2352
2353
|
}) {
|
|
2353
|
-
return /* @__PURE__ */
|
|
2354
|
-
|
|
2354
|
+
return /* @__PURE__ */ i(
|
|
2355
|
+
B.Root,
|
|
2355
2356
|
{
|
|
2356
2357
|
"data-slot": "scroll-area",
|
|
2357
|
-
className:
|
|
2358
|
-
...
|
|
2358
|
+
className: r("relative", e),
|
|
2359
|
+
...o,
|
|
2359
2360
|
children: [
|
|
2360
2361
|
/* @__PURE__ */ a(
|
|
2361
|
-
|
|
2362
|
+
B.Viewport,
|
|
2362
2363
|
{
|
|
2363
2364
|
"data-slot": "scroll-area-viewport",
|
|
2364
2365
|
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
2365
2366
|
children: t
|
|
2366
2367
|
}
|
|
2367
2368
|
),
|
|
2368
|
-
/* @__PURE__ */ a(
|
|
2369
|
-
/* @__PURE__ */ a(
|
|
2369
|
+
/* @__PURE__ */ a(zt, {}),
|
|
2370
|
+
/* @__PURE__ */ a(B.Corner, {})
|
|
2370
2371
|
]
|
|
2371
2372
|
}
|
|
2372
2373
|
);
|
|
2373
2374
|
}
|
|
2374
|
-
function
|
|
2375
|
+
function zt({
|
|
2375
2376
|
className: e,
|
|
2376
2377
|
orientation: t = "vertical",
|
|
2377
|
-
...
|
|
2378
|
+
...o
|
|
2378
2379
|
}) {
|
|
2379
2380
|
return /* @__PURE__ */ a(
|
|
2380
|
-
|
|
2381
|
+
B.ScrollAreaScrollbar,
|
|
2381
2382
|
{
|
|
2382
2383
|
"data-slot": "scroll-area-scrollbar",
|
|
2383
2384
|
orientation: t,
|
|
2384
|
-
className:
|
|
2385
|
+
className: r(
|
|
2385
2386
|
"flex touch-none p-px transition-colors select-none",
|
|
2386
2387
|
t === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
2387
2388
|
t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
2388
2389
|
e
|
|
2389
2390
|
),
|
|
2390
|
-
...
|
|
2391
|
+
...o,
|
|
2391
2392
|
children: /* @__PURE__ */ a(
|
|
2392
|
-
|
|
2393
|
+
B.ScrollAreaThumb,
|
|
2393
2394
|
{
|
|
2394
2395
|
"data-slot": "scroll-area-thumb",
|
|
2395
2396
|
className: "bg-border relative flex-1 rounded-full"
|
|
@@ -2398,280 +2399,280 @@ function Dt({
|
|
|
2398
2399
|
}
|
|
2399
2400
|
);
|
|
2400
2401
|
}
|
|
2401
|
-
function
|
|
2402
|
+
function Or({
|
|
2402
2403
|
item: e,
|
|
2403
2404
|
children: t,
|
|
2404
|
-
keyClassName:
|
|
2405
|
+
keyClassName: o = "font-semibold min-w-1/2",
|
|
2405
2406
|
valueClassName: n = "ml-4",
|
|
2406
|
-
rowClassName:
|
|
2407
|
-
itemClassName:
|
|
2407
|
+
rowClassName: s = "flex flex-row items-center text-lg py-3",
|
|
2408
|
+
itemClassName: d = "flex flex-col"
|
|
2408
2409
|
}) {
|
|
2409
|
-
return /* @__PURE__ */ a("div", { className:
|
|
2410
|
-
/* @__PURE__ */ a("span", { className:
|
|
2410
|
+
return /* @__PURE__ */ a("div", { className: d, children: /* @__PURE__ */ i("div", { className: s, children: [
|
|
2411
|
+
/* @__PURE__ */ a("span", { className: o, children: e }),
|
|
2411
2412
|
/* @__PURE__ */ a("span", { className: n, children: t })
|
|
2412
2413
|
] }) });
|
|
2413
2414
|
}
|
|
2414
|
-
function
|
|
2415
|
+
function $r({
|
|
2415
2416
|
children: e,
|
|
2416
2417
|
separatorClassName: t = "w-full"
|
|
2417
2418
|
}) {
|
|
2418
|
-
const
|
|
2419
|
-
return /* @__PURE__ */ a("div", { className: "flex flex-col", children:
|
|
2419
|
+
const o = z.Children.toArray(e);
|
|
2420
|
+
return /* @__PURE__ */ a("div", { className: "flex flex-col", children: o.map((n, s) => /* @__PURE__ */ i(z.Fragment, { children: [
|
|
2420
2421
|
n,
|
|
2421
|
-
|
|
2422
|
-
] },
|
|
2422
|
+
s !== o.length - 1 && /* @__PURE__ */ a(le, { className: t })
|
|
2423
|
+
] }, s)) });
|
|
2423
2424
|
}
|
|
2424
|
-
function
|
|
2425
|
+
function Gr({
|
|
2425
2426
|
className: e,
|
|
2426
2427
|
...t
|
|
2427
2428
|
}) {
|
|
2428
2429
|
return /* @__PURE__ */ a(
|
|
2429
|
-
|
|
2430
|
+
ee.Root,
|
|
2430
2431
|
{
|
|
2431
2432
|
"data-slot": "checkbox",
|
|
2432
|
-
className:
|
|
2433
|
+
className: r(
|
|
2433
2434
|
"peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
2434
2435
|
e
|
|
2435
2436
|
),
|
|
2436
2437
|
...t,
|
|
2437
2438
|
children: /* @__PURE__ */ a(
|
|
2438
|
-
|
|
2439
|
+
ee.Indicator,
|
|
2439
2440
|
{
|
|
2440
2441
|
"data-slot": "checkbox-indicator",
|
|
2441
2442
|
className: "flex items-center justify-center text-current transition-none",
|
|
2442
|
-
children: /* @__PURE__ */ a(
|
|
2443
|
+
children: /* @__PURE__ */ a(O, { className: "size-3.5" })
|
|
2443
2444
|
}
|
|
2444
2445
|
)
|
|
2445
2446
|
}
|
|
2446
2447
|
);
|
|
2447
2448
|
}
|
|
2448
|
-
const
|
|
2449
|
+
const Hr = ({
|
|
2449
2450
|
className: e,
|
|
2450
2451
|
title: t,
|
|
2451
|
-
description:
|
|
2452
|
+
description: o,
|
|
2452
2453
|
icon: n,
|
|
2453
|
-
children:
|
|
2454
|
-
}) => /* @__PURE__ */ a("div", { className:
|
|
2454
|
+
children: s
|
|
2455
|
+
}) => /* @__PURE__ */ a("div", { className: r("flex justify-center items-center w-full h-full grow", e), children: /* @__PURE__ */ i(
|
|
2455
2456
|
"div",
|
|
2456
2457
|
{
|
|
2457
|
-
className:
|
|
2458
|
+
className: r(
|
|
2458
2459
|
"flex flex-col gap-4 items-center w-[400px] p-8"
|
|
2459
2460
|
),
|
|
2460
2461
|
children: [
|
|
2461
2462
|
n,
|
|
2462
2463
|
/* @__PURE__ */ a("h1", { className: "text-2xl font-bold", children: t }),
|
|
2463
|
-
/* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground text-center", children:
|
|
2464
|
-
|
|
2464
|
+
/* @__PURE__ */ a("p", { className: "text-sm text-muted-foreground text-center", children: o }),
|
|
2465
|
+
s
|
|
2465
2466
|
]
|
|
2466
2467
|
}
|
|
2467
|
-
) }),
|
|
2468
|
+
) }), Vr = z.forwardRef(({
|
|
2468
2469
|
data: e,
|
|
2469
2470
|
initialSelectedItemId: t,
|
|
2470
|
-
onSelectChange:
|
|
2471
|
+
onSelectChange: o,
|
|
2471
2472
|
expandAll: n,
|
|
2472
|
-
folderIcon:
|
|
2473
|
-
itemIcon:
|
|
2474
|
-
className:
|
|
2475
|
-
...
|
|
2476
|
-
},
|
|
2477
|
-
const [
|
|
2478
|
-
|
|
2479
|
-
}, [
|
|
2473
|
+
folderIcon: s,
|
|
2474
|
+
itemIcon: d,
|
|
2475
|
+
className: u,
|
|
2476
|
+
...c
|
|
2477
|
+
}, p) => {
|
|
2478
|
+
const [l, T] = z.useState(t), I = z.useCallback((N) => {
|
|
2479
|
+
T(N?.id), o && o(N);
|
|
2480
|
+
}, [o]), k = z.useMemo(() => {
|
|
2480
2481
|
if (!t)
|
|
2481
2482
|
return [];
|
|
2482
|
-
const
|
|
2483
|
-
function
|
|
2484
|
-
if (
|
|
2485
|
-
for (let
|
|
2486
|
-
if (
|
|
2483
|
+
const N = [];
|
|
2484
|
+
function m(f, E) {
|
|
2485
|
+
if (f instanceof Array)
|
|
2486
|
+
for (let R = 0; R < f.length; R++) {
|
|
2487
|
+
if (N.push(f[R].id), m(f[R], E) && !n)
|
|
2487
2488
|
return !0;
|
|
2488
|
-
n ||
|
|
2489
|
+
n || N.pop();
|
|
2489
2490
|
}
|
|
2490
2491
|
else {
|
|
2491
|
-
if (!n &&
|
|
2492
|
+
if (!n && f.id === E)
|
|
2492
2493
|
return !0;
|
|
2493
|
-
if (
|
|
2494
|
-
return
|
|
2494
|
+
if (f.children)
|
|
2495
|
+
return m(f.children, E);
|
|
2495
2496
|
}
|
|
2496
2497
|
}
|
|
2497
|
-
return
|
|
2498
|
-
}, [e, t, n]), { ref:
|
|
2499
|
-
return /* @__PURE__ */ a("div", { ref:
|
|
2498
|
+
return m(e, t), N;
|
|
2499
|
+
}, [e, t, n]), { ref: C, width: _, height: P } = je();
|
|
2500
|
+
return /* @__PURE__ */ a("div", { ref: C, className: r("overflow-hidden", u), children: /* @__PURE__ */ a(kt, { style: { width: _, height: P }, children: /* @__PURE__ */ a("div", { className: "relative p-2", children: /* @__PURE__ */ a(
|
|
2500
2501
|
ue,
|
|
2501
2502
|
{
|
|
2502
2503
|
data: e,
|
|
2503
|
-
ref:
|
|
2504
|
-
selectedItemId:
|
|
2505
|
-
handleSelectChange:
|
|
2506
|
-
expandedItemIds:
|
|
2507
|
-
FolderIcon:
|
|
2508
|
-
ItemIcon:
|
|
2509
|
-
...
|
|
2504
|
+
ref: p,
|
|
2505
|
+
selectedItemId: l,
|
|
2506
|
+
handleSelectChange: I,
|
|
2507
|
+
expandedItemIds: k,
|
|
2508
|
+
FolderIcon: s,
|
|
2509
|
+
ItemIcon: d,
|
|
2510
|
+
...c
|
|
2510
2511
|
}
|
|
2511
2512
|
) }) }) });
|
|
2512
|
-
}), ue =
|
|
2513
|
-
/* @__PURE__ */
|
|
2514
|
-
|
|
2513
|
+
}), ue = z.forwardRef(({ className: e, data: t, selectedItemId: o, handleSelectChange: n, expandedItemIds: s, FolderIcon: d, ItemIcon: u, ...c }, p) => /* @__PURE__ */ a("div", { ref: p, role: "tree", className: e, ...c, children: /* @__PURE__ */ a("ul", { children: t instanceof Array ? t.map((l) => /* @__PURE__ */ a("li", { children: l.children ? /* @__PURE__ */ a(y.Root, { type: "multiple", defaultValue: s, children: /* @__PURE__ */ i(y.Item, { value: l.id, children: [
|
|
2514
|
+
/* @__PURE__ */ i(
|
|
2515
|
+
me,
|
|
2515
2516
|
{
|
|
2516
|
-
className:
|
|
2517
|
+
className: r(
|
|
2517
2518
|
"px-2 hover:before:opacity-100 before:absolute before:left-0 before:w-full before:opacity-0 before:bg-muted/80 before:h-[1.75rem] before:-z-10",
|
|
2518
|
-
|
|
2519
|
+
o === l.id && "before:opacity-100 before:bg-accent text-accent-foreground before:border-l-2 before:border-l-accent-foreground/50 dark:before:border-0"
|
|
2519
2520
|
),
|
|
2520
|
-
onClick: () => n(
|
|
2521
|
+
onClick: () => n(l),
|
|
2521
2522
|
children: [
|
|
2522
|
-
|
|
2523
|
-
|
|
2523
|
+
l.icon && /* @__PURE__ */ a(
|
|
2524
|
+
l.icon,
|
|
2524
2525
|
{
|
|
2525
2526
|
className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50",
|
|
2526
2527
|
"aria-hidden": "true"
|
|
2527
2528
|
}
|
|
2528
2529
|
),
|
|
2529
|
-
!
|
|
2530
|
-
|
|
2530
|
+
!l.icon && d && /* @__PURE__ */ a(
|
|
2531
|
+
d,
|
|
2531
2532
|
{
|
|
2532
2533
|
className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50",
|
|
2533
2534
|
"aria-hidden": "true"
|
|
2534
2535
|
}
|
|
2535
2536
|
),
|
|
2536
|
-
/* @__PURE__ */ a("span", { className: "text-sm truncate", children:
|
|
2537
|
+
/* @__PURE__ */ a("span", { className: "text-sm truncate", children: l.name })
|
|
2537
2538
|
]
|
|
2538
2539
|
}
|
|
2539
2540
|
),
|
|
2540
|
-
/* @__PURE__ */ a(
|
|
2541
|
+
/* @__PURE__ */ a(fe, { className: "pl-6", children: /* @__PURE__ */ a(
|
|
2541
2542
|
ue,
|
|
2542
2543
|
{
|
|
2543
|
-
data:
|
|
2544
|
-
selectedItemId:
|
|
2544
|
+
data: l.children ? l.children : l,
|
|
2545
|
+
selectedItemId: o,
|
|
2545
2546
|
handleSelectChange: n,
|
|
2546
|
-
expandedItemIds:
|
|
2547
|
-
FolderIcon:
|
|
2548
|
-
ItemIcon:
|
|
2547
|
+
expandedItemIds: s,
|
|
2548
|
+
FolderIcon: d,
|
|
2549
|
+
ItemIcon: u
|
|
2549
2550
|
}
|
|
2550
2551
|
) })
|
|
2551
2552
|
] }) }) : /* @__PURE__ */ a(
|
|
2552
|
-
|
|
2553
|
+
re,
|
|
2553
2554
|
{
|
|
2554
|
-
item:
|
|
2555
|
-
isSelected:
|
|
2556
|
-
onClick: () => n(
|
|
2557
|
-
Icon:
|
|
2555
|
+
item: l,
|
|
2556
|
+
isSelected: o === l.id,
|
|
2557
|
+
onClick: () => n(l),
|
|
2558
|
+
Icon: u
|
|
2558
2559
|
}
|
|
2559
|
-
) },
|
|
2560
|
-
|
|
2560
|
+
) }, l.id)) : /* @__PURE__ */ a("li", { children: /* @__PURE__ */ a(
|
|
2561
|
+
re,
|
|
2561
2562
|
{
|
|
2562
2563
|
item: t,
|
|
2563
|
-
isSelected:
|
|
2564
|
+
isSelected: o === t.id,
|
|
2564
2565
|
onClick: () => n(t),
|
|
2565
|
-
Icon:
|
|
2566
|
+
Icon: u
|
|
2566
2567
|
}
|
|
2567
|
-
) }) }) })),
|
|
2568
|
+
) }) }) })), re = z.forwardRef(({ className: e, item: t, isSelected: o, Icon: n, ...s }, d) => /* @__PURE__ */ i(
|
|
2568
2569
|
"div",
|
|
2569
2570
|
{
|
|
2570
|
-
ref:
|
|
2571
|
-
className:
|
|
2571
|
+
ref: d,
|
|
2572
|
+
className: r(
|
|
2572
2573
|
"flex items-center py-2 px-2 cursor-pointer hover:before:opacity-100 before:absolute before:left-0 before:right-1 before:w-full before:opacity-0 before:bg-muted/80 before:h-[1.75rem] before:-z-10",
|
|
2573
2574
|
e,
|
|
2574
|
-
|
|
2575
|
+
o && "before:opacity-100 before:bg-accent text-accent-foreground before:border-l-2 before:border-l-accent-foreground/50 dark:before:border-0"
|
|
2575
2576
|
),
|
|
2576
|
-
...
|
|
2577
|
+
...s,
|
|
2577
2578
|
children: [
|
|
2578
2579
|
t.icon && /* @__PURE__ */ a(t.icon, { className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50", "aria-hidden": "true" }),
|
|
2579
2580
|
!t.icon && n && /* @__PURE__ */ a(n, { className: "h-4 w-4 shrink-0 mr-2 text-accent-foreground/50", "aria-hidden": "true" }),
|
|
2580
2581
|
/* @__PURE__ */ a("span", { className: "flex-grow text-sm truncate", children: t.name })
|
|
2581
2582
|
]
|
|
2582
2583
|
}
|
|
2583
|
-
)),
|
|
2584
|
-
|
|
2584
|
+
)), me = z.forwardRef(({ className: e, children: t, ...o }, n) => /* @__PURE__ */ a(y.Header, { children: /* @__PURE__ */ i(
|
|
2585
|
+
y.Trigger,
|
|
2585
2586
|
{
|
|
2586
2587
|
ref: n,
|
|
2587
|
-
className:
|
|
2588
|
+
className: r(
|
|
2588
2589
|
"flex flex-1 w-full items-center py-2 transition-all last:[&[data-state=open]>svg]:rotate-90",
|
|
2589
2590
|
e
|
|
2590
2591
|
),
|
|
2591
|
-
...
|
|
2592
|
+
...o,
|
|
2592
2593
|
children: [
|
|
2593
2594
|
t,
|
|
2594
|
-
/* @__PURE__ */ a(
|
|
2595
|
+
/* @__PURE__ */ a(ne, { className: "h-4 w-4 shrink-0 transition-transform duration-200 text-accent-foreground/50 ml-auto" })
|
|
2595
2596
|
]
|
|
2596
2597
|
}
|
|
2597
2598
|
) }));
|
|
2598
|
-
|
|
2599
|
-
const
|
|
2600
|
-
|
|
2599
|
+
me.displayName = y.Trigger.displayName;
|
|
2600
|
+
const fe = z.forwardRef(({ className: e, children: t, ...o }, n) => /* @__PURE__ */ a(
|
|
2601
|
+
y.Content,
|
|
2601
2602
|
{
|
|
2602
2603
|
ref: n,
|
|
2603
|
-
className:
|
|
2604
|
+
className: r(
|
|
2604
2605
|
"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
2605
2606
|
e
|
|
2606
2607
|
),
|
|
2607
|
-
...
|
|
2608
|
+
...o,
|
|
2608
2609
|
children: /* @__PURE__ */ a("div", { className: "pb-1 pt-0", children: t })
|
|
2609
2610
|
}
|
|
2610
2611
|
));
|
|
2611
|
-
|
|
2612
|
-
function
|
|
2612
|
+
fe.displayName = y.Content.displayName;
|
|
2613
|
+
function Fr({
|
|
2613
2614
|
...e
|
|
2614
2615
|
}) {
|
|
2615
|
-
return /* @__PURE__ */ a(
|
|
2616
|
+
return /* @__PURE__ */ a(y.Root, { "data-slot": "accordion", ...e });
|
|
2616
2617
|
}
|
|
2617
|
-
function
|
|
2618
|
+
function Kr({
|
|
2618
2619
|
className: e,
|
|
2619
2620
|
...t
|
|
2620
2621
|
}) {
|
|
2621
2622
|
return /* @__PURE__ */ a(
|
|
2622
|
-
|
|
2623
|
+
y.Item,
|
|
2623
2624
|
{
|
|
2624
2625
|
"data-slot": "accordion-item",
|
|
2625
|
-
className:
|
|
2626
|
+
className: r("border-b last:border-b-0", e),
|
|
2626
2627
|
...t
|
|
2627
2628
|
}
|
|
2628
2629
|
);
|
|
2629
2630
|
}
|
|
2630
|
-
function
|
|
2631
|
+
function Ur({
|
|
2631
2632
|
className: e,
|
|
2632
2633
|
children: t,
|
|
2633
|
-
...
|
|
2634
|
+
...o
|
|
2634
2635
|
}) {
|
|
2635
|
-
return /* @__PURE__ */ a(
|
|
2636
|
-
|
|
2636
|
+
return /* @__PURE__ */ a(y.Header, { className: "flex", children: /* @__PURE__ */ i(
|
|
2637
|
+
y.Trigger,
|
|
2637
2638
|
{
|
|
2638
2639
|
"data-slot": "accordion-trigger",
|
|
2639
|
-
className:
|
|
2640
|
+
className: r(
|
|
2640
2641
|
"focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
2641
2642
|
e
|
|
2642
2643
|
),
|
|
2643
|
-
...
|
|
2644
|
+
...o,
|
|
2644
2645
|
children: [
|
|
2645
2646
|
t,
|
|
2646
|
-
/* @__PURE__ */ a(
|
|
2647
|
+
/* @__PURE__ */ a(X, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
|
|
2647
2648
|
]
|
|
2648
2649
|
}
|
|
2649
2650
|
) });
|
|
2650
2651
|
}
|
|
2651
|
-
function
|
|
2652
|
+
function Wr({
|
|
2652
2653
|
className: e,
|
|
2653
2654
|
children: t,
|
|
2654
|
-
...
|
|
2655
|
+
...o
|
|
2655
2656
|
}) {
|
|
2656
2657
|
return /* @__PURE__ */ a(
|
|
2657
|
-
|
|
2658
|
+
y.Content,
|
|
2658
2659
|
{
|
|
2659
2660
|
"data-slot": "accordion-content",
|
|
2660
2661
|
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
|
|
2661
|
-
...
|
|
2662
|
-
children: /* @__PURE__ */ a("div", { className:
|
|
2662
|
+
...o,
|
|
2663
|
+
children: /* @__PURE__ */ a("div", { className: r("pt-0 pb-4", e), children: t })
|
|
2663
2664
|
}
|
|
2664
2665
|
);
|
|
2665
2666
|
}
|
|
2666
|
-
function
|
|
2667
|
+
function qr({
|
|
2667
2668
|
className: e,
|
|
2668
2669
|
...t
|
|
2669
2670
|
}) {
|
|
2670
2671
|
return /* @__PURE__ */ a(
|
|
2671
|
-
|
|
2672
|
+
Y.PanelGroup,
|
|
2672
2673
|
{
|
|
2673
2674
|
"data-slot": "resizable-panel-group",
|
|
2674
|
-
className:
|
|
2675
|
+
className: r(
|
|
2675
2676
|
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
2676
2677
|
e
|
|
2677
2678
|
),
|
|
@@ -2679,30 +2680,30 @@ function wo({
|
|
|
2679
2680
|
}
|
|
2680
2681
|
);
|
|
2681
2682
|
}
|
|
2682
|
-
function
|
|
2683
|
+
function Xr({
|
|
2683
2684
|
...e
|
|
2684
2685
|
}) {
|
|
2685
|
-
return /* @__PURE__ */ a(
|
|
2686
|
+
return /* @__PURE__ */ a(Y.Panel, { "data-slot": "resizable-panel", ...e });
|
|
2686
2687
|
}
|
|
2687
|
-
function
|
|
2688
|
+
function Yr({
|
|
2688
2689
|
withHandle: e,
|
|
2689
2690
|
className: t,
|
|
2690
|
-
...
|
|
2691
|
+
...o
|
|
2691
2692
|
}) {
|
|
2692
2693
|
return /* @__PURE__ */ a(
|
|
2693
|
-
|
|
2694
|
+
Y.PanelResizeHandle,
|
|
2694
2695
|
{
|
|
2695
2696
|
"data-slot": "resizable-handle",
|
|
2696
|
-
className:
|
|
2697
|
+
className: r(
|
|
2697
2698
|
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
2698
2699
|
t
|
|
2699
2700
|
),
|
|
2700
|
-
...
|
|
2701
|
-
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(
|
|
2701
|
+
...o,
|
|
2702
|
+
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(Me, { className: "size-2.5" }) })
|
|
2702
2703
|
}
|
|
2703
2704
|
);
|
|
2704
2705
|
}
|
|
2705
|
-
const
|
|
2706
|
+
const Ct = G(
|
|
2706
2707
|
"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",
|
|
2707
2708
|
{
|
|
2708
2709
|
variants: {
|
|
@@ -2716,27 +2717,27 @@ const Et = O(
|
|
|
2716
2717
|
}
|
|
2717
2718
|
}
|
|
2718
2719
|
);
|
|
2719
|
-
function
|
|
2720
|
+
function Jr({
|
|
2720
2721
|
className: e,
|
|
2721
2722
|
variant: t,
|
|
2722
|
-
...
|
|
2723
|
+
...o
|
|
2723
2724
|
}) {
|
|
2724
2725
|
return /* @__PURE__ */ a(
|
|
2725
2726
|
"div",
|
|
2726
2727
|
{
|
|
2727
2728
|
"data-slot": "alert",
|
|
2728
2729
|
role: "alert",
|
|
2729
|
-
className:
|
|
2730
|
-
...
|
|
2730
|
+
className: r(Ct({ variant: t }), e),
|
|
2731
|
+
...o
|
|
2731
2732
|
}
|
|
2732
2733
|
);
|
|
2733
2734
|
}
|
|
2734
|
-
function
|
|
2735
|
+
function Qr({ className: e, ...t }) {
|
|
2735
2736
|
return /* @__PURE__ */ a(
|
|
2736
2737
|
"div",
|
|
2737
2738
|
{
|
|
2738
2739
|
"data-slot": "alert-title",
|
|
2739
|
-
className:
|
|
2740
|
+
className: r(
|
|
2740
2741
|
"col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",
|
|
2741
2742
|
e
|
|
2742
2743
|
),
|
|
@@ -2744,7 +2745,7 @@ function So({ className: e, ...t }) {
|
|
|
2744
2745
|
}
|
|
2745
2746
|
);
|
|
2746
2747
|
}
|
|
2747
|
-
function
|
|
2748
|
+
function Zr({
|
|
2748
2749
|
className: e,
|
|
2749
2750
|
...t
|
|
2750
2751
|
}) {
|
|
@@ -2752,7 +2753,7 @@ function Co({
|
|
|
2752
2753
|
"div",
|
|
2753
2754
|
{
|
|
2754
2755
|
"data-slot": "alert-description",
|
|
2755
|
-
className:
|
|
2756
|
+
className: r(
|
|
2756
2757
|
"text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
|
|
2757
2758
|
e
|
|
2758
2759
|
),
|
|
@@ -2760,24 +2761,24 @@ function Co({
|
|
|
2760
2761
|
}
|
|
2761
2762
|
);
|
|
2762
2763
|
}
|
|
2763
|
-
function
|
|
2764
|
+
function eo({
|
|
2764
2765
|
icon: e,
|
|
2765
2766
|
size: t = 24,
|
|
2766
|
-
className:
|
|
2767
|
+
className: o,
|
|
2767
2768
|
...n
|
|
2768
2769
|
}) {
|
|
2769
2770
|
return /* @__PURE__ */ a(
|
|
2770
2771
|
"span",
|
|
2771
2772
|
{
|
|
2772
|
-
className:
|
|
2773
|
+
className: r(
|
|
2773
2774
|
"inline-flex items-center justify-center rounded-md bg-icon dark:bg-icon",
|
|
2774
|
-
|
|
2775
|
+
o
|
|
2775
2776
|
),
|
|
2776
2777
|
...n,
|
|
2777
|
-
children:
|
|
2778
|
+
children: g.cloneElement(e, {
|
|
2778
2779
|
width: t,
|
|
2779
2780
|
height: t,
|
|
2780
|
-
className:
|
|
2781
|
+
className: r(
|
|
2781
2782
|
"stroke-icon-foreground dark:stroke-icon-foreground",
|
|
2782
2783
|
e.props.className
|
|
2783
2784
|
),
|
|
@@ -2787,540 +2788,385 @@ function zo({
|
|
|
2787
2788
|
}
|
|
2788
2789
|
);
|
|
2789
2790
|
}
|
|
2790
|
-
function
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
for (let i = 0; i < n.length; i++) {
|
|
2811
|
-
const s = n[i];
|
|
2812
|
-
typeof s == "function" ? s() : ae(e[i], null);
|
|
2791
|
+
function to({
|
|
2792
|
+
className: e,
|
|
2793
|
+
...t
|
|
2794
|
+
}) {
|
|
2795
|
+
return /* @__PURE__ */ a(
|
|
2796
|
+
te.Root,
|
|
2797
|
+
{
|
|
2798
|
+
"data-slot": "switch",
|
|
2799
|
+
className: r(
|
|
2800
|
+
"peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
2801
|
+
e
|
|
2802
|
+
),
|
|
2803
|
+
...t,
|
|
2804
|
+
children: /* @__PURE__ */ a(
|
|
2805
|
+
te.Thumb,
|
|
2806
|
+
{
|
|
2807
|
+
"data-slot": "switch-thumb",
|
|
2808
|
+
className: r(
|
|
2809
|
+
"bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
|
|
2810
|
+
)
|
|
2813
2811
|
}
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
}
|
|
2817
|
-
function pe(...e) {
|
|
2818
|
-
return u.useCallback(Lt(...e), e);
|
|
2819
|
-
}
|
|
2820
|
-
function At(e, t = []) {
|
|
2821
|
-
let r = [];
|
|
2822
|
-
function n(s, c) {
|
|
2823
|
-
const d = u.createContext(c), m = r.length;
|
|
2824
|
-
r = [...r, c];
|
|
2825
|
-
const f = (b) => {
|
|
2826
|
-
const { scope: h, children: x, ...w } = b, _ = h?.[e]?.[m] || d, y = u.useMemo(() => w, Object.values(w));
|
|
2827
|
-
return /* @__PURE__ */ a(_.Provider, { value: y, children: x });
|
|
2828
|
-
};
|
|
2829
|
-
f.displayName = s + "Provider";
|
|
2830
|
-
function p(b, h) {
|
|
2831
|
-
const x = h?.[e]?.[m] || d, w = u.useContext(x);
|
|
2832
|
-
if (w) return w;
|
|
2833
|
-
if (c !== void 0) return c;
|
|
2834
|
-
throw new Error(`\`${b}\` must be used within \`${s}\``);
|
|
2835
|
-
}
|
|
2836
|
-
return [f, p];
|
|
2837
|
-
}
|
|
2838
|
-
const i = () => {
|
|
2839
|
-
const s = r.map((c) => u.createContext(c));
|
|
2840
|
-
return function(d) {
|
|
2841
|
-
const m = d?.[e] || s;
|
|
2842
|
-
return u.useMemo(
|
|
2843
|
-
() => ({ [`__scope${e}`]: { ...d, [e]: m } }),
|
|
2844
|
-
[d, m]
|
|
2845
|
-
);
|
|
2846
|
-
};
|
|
2847
|
-
};
|
|
2848
|
-
return i.scopeName = e, [n, $t(i, ...t)];
|
|
2849
|
-
}
|
|
2850
|
-
function $t(...e) {
|
|
2851
|
-
const t = e[0];
|
|
2852
|
-
if (e.length === 1) return t;
|
|
2853
|
-
const r = () => {
|
|
2854
|
-
const n = e.map((i) => ({
|
|
2855
|
-
useScope: i(),
|
|
2856
|
-
scopeName: i.scopeName
|
|
2857
|
-
}));
|
|
2858
|
-
return function(s) {
|
|
2859
|
-
const c = n.reduce((d, { useScope: m, scopeName: f }) => {
|
|
2860
|
-
const b = m(s)[`__scope${f}`];
|
|
2861
|
-
return { ...d, ...b };
|
|
2862
|
-
}, {});
|
|
2863
|
-
return u.useMemo(() => ({ [`__scope${t.scopeName}`]: c }), [c]);
|
|
2864
|
-
};
|
|
2865
|
-
};
|
|
2866
|
-
return r.scopeName = t.scopeName, r;
|
|
2867
|
-
}
|
|
2868
|
-
var ge = globalThis?.document ? u.useLayoutEffect : () => {
|
|
2869
|
-
}, jt = u[" useInsertionEffect ".trim().toString()] || ge;
|
|
2870
|
-
function Ot({
|
|
2871
|
-
prop: e,
|
|
2872
|
-
defaultProp: t,
|
|
2873
|
-
onChange: r = () => {
|
|
2874
|
-
},
|
|
2875
|
-
caller: n
|
|
2876
|
-
}) {
|
|
2877
|
-
const [i, s, c] = Ht({
|
|
2878
|
-
defaultProp: t,
|
|
2879
|
-
onChange: r
|
|
2880
|
-
}), d = e !== void 0, m = d ? e : i;
|
|
2881
|
-
{
|
|
2882
|
-
const p = u.useRef(e !== void 0);
|
|
2883
|
-
u.useEffect(() => {
|
|
2884
|
-
const b = p.current;
|
|
2885
|
-
b !== d && console.warn(
|
|
2886
|
-
`${n} is changing from ${b ? "controlled" : "uncontrolled"} to ${d ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
2887
|
-
), p.current = d;
|
|
2888
|
-
}, [d, n]);
|
|
2889
|
-
}
|
|
2890
|
-
const f = u.useCallback(
|
|
2891
|
-
(p) => {
|
|
2892
|
-
if (d) {
|
|
2893
|
-
const b = Gt(p) ? p(e) : p;
|
|
2894
|
-
b !== e && c.current?.(b);
|
|
2895
|
-
} else
|
|
2896
|
-
s(p);
|
|
2897
|
-
},
|
|
2898
|
-
[d, e, s, c]
|
|
2812
|
+
)
|
|
2813
|
+
}
|
|
2899
2814
|
);
|
|
2900
|
-
return [m, f];
|
|
2901
2815
|
}
|
|
2902
|
-
function
|
|
2903
|
-
|
|
2904
|
-
onChange: t
|
|
2816
|
+
function ao({
|
|
2817
|
+
...e
|
|
2905
2818
|
}) {
|
|
2906
|
-
|
|
2907
|
-
return jt(() => {
|
|
2908
|
-
s.current = t;
|
|
2909
|
-
}, [t]), u.useEffect(() => {
|
|
2910
|
-
i.current !== r && (s.current?.(r), i.current = r);
|
|
2911
|
-
}, [r, i]), [r, n, s];
|
|
2819
|
+
return /* @__PURE__ */ a(S.Root, { "data-slot": "alert-dialog", ...e });
|
|
2912
2820
|
}
|
|
2913
|
-
function
|
|
2914
|
-
|
|
2821
|
+
function ro({
|
|
2822
|
+
...e
|
|
2823
|
+
}) {
|
|
2824
|
+
return /* @__PURE__ */ a(S.Trigger, { "data-slot": "alert-dialog-trigger", ...e });
|
|
2915
2825
|
}
|
|
2916
|
-
function
|
|
2917
|
-
|
|
2918
|
-
|
|
2826
|
+
function St({
|
|
2827
|
+
...e
|
|
2828
|
+
}) {
|
|
2829
|
+
return /* @__PURE__ */ a(S.Portal, { "data-slot": "alert-dialog-portal", ...e });
|
|
2919
2830
|
}
|
|
2920
|
-
function
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
const m = s.borderBoxSize, f = Array.isArray(m) ? m[0] : m;
|
|
2932
|
-
c = f.inlineSize, d = f.blockSize;
|
|
2933
|
-
} else
|
|
2934
|
-
c = e.offsetWidth, d = e.offsetHeight;
|
|
2935
|
-
r({ width: c, height: d });
|
|
2936
|
-
});
|
|
2937
|
-
return n.observe(e, { box: "border-box" }), () => n.unobserve(e);
|
|
2938
|
-
} else
|
|
2939
|
-
r(void 0);
|
|
2940
|
-
}, [e]), t;
|
|
2941
|
-
}
|
|
2942
|
-
var Ut = [
|
|
2943
|
-
"a",
|
|
2944
|
-
"button",
|
|
2945
|
-
"div",
|
|
2946
|
-
"form",
|
|
2947
|
-
"h2",
|
|
2948
|
-
"h3",
|
|
2949
|
-
"img",
|
|
2950
|
-
"input",
|
|
2951
|
-
"label",
|
|
2952
|
-
"li",
|
|
2953
|
-
"nav",
|
|
2954
|
-
"ol",
|
|
2955
|
-
"p",
|
|
2956
|
-
"select",
|
|
2957
|
-
"span",
|
|
2958
|
-
"svg",
|
|
2959
|
-
"ul"
|
|
2960
|
-
], be = Ut.reduce((e, t) => {
|
|
2961
|
-
const r = Me(`Primitive.${t}`), n = u.forwardRef((i, s) => {
|
|
2962
|
-
const { asChild: c, ...d } = i, m = c ? r : t;
|
|
2963
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ a(m, { ...d, ref: s });
|
|
2964
|
-
});
|
|
2965
|
-
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
2966
|
-
}, {}), V = "Switch", [Wt, _o] = At(V), [Kt, qt] = Wt(V), he = u.forwardRef(
|
|
2967
|
-
(e, t) => {
|
|
2968
|
-
const {
|
|
2969
|
-
__scopeSwitch: r,
|
|
2970
|
-
name: n,
|
|
2971
|
-
checked: i,
|
|
2972
|
-
defaultChecked: s,
|
|
2973
|
-
required: c,
|
|
2974
|
-
disabled: d,
|
|
2975
|
-
value: m = "on",
|
|
2976
|
-
onCheckedChange: f,
|
|
2977
|
-
form: p,
|
|
2978
|
-
...b
|
|
2979
|
-
} = e, [h, x] = u.useState(null), w = pe(t, (M) => x(M)), _ = u.useRef(!1), y = h ? p || !!h.closest("form") : !0, [g, v] = Ot({
|
|
2980
|
-
prop: i,
|
|
2981
|
-
defaultProp: s ?? !1,
|
|
2982
|
-
onChange: f,
|
|
2983
|
-
caller: V
|
|
2984
|
-
});
|
|
2985
|
-
return /* @__PURE__ */ l(Kt, { scope: r, checked: g, disabled: d, children: [
|
|
2986
|
-
/* @__PURE__ */ a(
|
|
2987
|
-
be.button,
|
|
2988
|
-
{
|
|
2989
|
-
type: "button",
|
|
2990
|
-
role: "switch",
|
|
2991
|
-
"aria-checked": g,
|
|
2992
|
-
"aria-required": c,
|
|
2993
|
-
"data-state": ye(g),
|
|
2994
|
-
"data-disabled": d ? "" : void 0,
|
|
2995
|
-
disabled: d,
|
|
2996
|
-
value: m,
|
|
2997
|
-
...b,
|
|
2998
|
-
ref: w,
|
|
2999
|
-
onClick: Bt(e.onClick, (M) => {
|
|
3000
|
-
v((P) => !P), y && (_.current = M.isPropagationStopped(), _.current || M.stopPropagation());
|
|
3001
|
-
})
|
|
3002
|
-
}
|
|
2831
|
+
function Tt({
|
|
2832
|
+
className: e,
|
|
2833
|
+
...t
|
|
2834
|
+
}) {
|
|
2835
|
+
return /* @__PURE__ */ a(
|
|
2836
|
+
S.Overlay,
|
|
2837
|
+
{
|
|
2838
|
+
"data-slot": "alert-dialog-overlay",
|
|
2839
|
+
className: r(
|
|
2840
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
2841
|
+
e
|
|
3003
2842
|
),
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
}
|
|
3017
|
-
)
|
|
3018
|
-
] });
|
|
3019
|
-
}
|
|
3020
|
-
);
|
|
3021
|
-
he.displayName = V;
|
|
3022
|
-
var ve = "SwitchThumb", xe = u.forwardRef(
|
|
3023
|
-
(e, t) => {
|
|
3024
|
-
const { __scopeSwitch: r, ...n } = e, i = qt(ve, r);
|
|
3025
|
-
return /* @__PURE__ */ a(
|
|
3026
|
-
be.span,
|
|
3027
|
-
{
|
|
3028
|
-
"data-state": ye(i.checked),
|
|
3029
|
-
"data-disabled": i.disabled ? "" : void 0,
|
|
3030
|
-
...n,
|
|
3031
|
-
ref: t
|
|
3032
|
-
}
|
|
3033
|
-
);
|
|
3034
|
-
}
|
|
3035
|
-
);
|
|
3036
|
-
xe.displayName = ve;
|
|
3037
|
-
var Xt = "SwitchBubbleInput", we = u.forwardRef(
|
|
3038
|
-
({
|
|
3039
|
-
__scopeSwitch: e,
|
|
3040
|
-
control: t,
|
|
3041
|
-
checked: r,
|
|
3042
|
-
bubbles: n = !0,
|
|
3043
|
-
...i
|
|
3044
|
-
}, s) => {
|
|
3045
|
-
const c = u.useRef(null), d = pe(c, s), m = Vt(r), f = Ft(t);
|
|
3046
|
-
return u.useEffect(() => {
|
|
3047
|
-
const p = c.current;
|
|
3048
|
-
if (!p) return;
|
|
3049
|
-
const b = window.HTMLInputElement.prototype, x = Object.getOwnPropertyDescriptor(
|
|
3050
|
-
b,
|
|
3051
|
-
"checked"
|
|
3052
|
-
).set;
|
|
3053
|
-
if (m !== r && x) {
|
|
3054
|
-
const w = new Event("click", { bubbles: n });
|
|
3055
|
-
x.call(p, r), p.dispatchEvent(w);
|
|
3056
|
-
}
|
|
3057
|
-
}, [m, r, n]), /* @__PURE__ */ a(
|
|
3058
|
-
"input",
|
|
2843
|
+
...t
|
|
2844
|
+
}
|
|
2845
|
+
);
|
|
2846
|
+
}
|
|
2847
|
+
function oo({
|
|
2848
|
+
className: e,
|
|
2849
|
+
...t
|
|
2850
|
+
}) {
|
|
2851
|
+
return /* @__PURE__ */ i(St, { children: [
|
|
2852
|
+
/* @__PURE__ */ a(Tt, {}),
|
|
2853
|
+
/* @__PURE__ */ a(
|
|
2854
|
+
S.Content,
|
|
3059
2855
|
{
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
style: {
|
|
3067
|
-
...i.style,
|
|
3068
|
-
...f,
|
|
3069
|
-
position: "absolute",
|
|
3070
|
-
pointerEvents: "none",
|
|
3071
|
-
opacity: 0,
|
|
3072
|
-
margin: 0
|
|
3073
|
-
}
|
|
2856
|
+
"data-slot": "alert-dialog-content",
|
|
2857
|
+
className: r(
|
|
2858
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
2859
|
+
e
|
|
2860
|
+
),
|
|
2861
|
+
...t
|
|
3074
2862
|
}
|
|
3075
|
-
)
|
|
3076
|
-
}
|
|
3077
|
-
);
|
|
3078
|
-
we.displayName = Xt;
|
|
3079
|
-
function ye(e) {
|
|
3080
|
-
return e ? "checked" : "unchecked";
|
|
2863
|
+
)
|
|
2864
|
+
] });
|
|
3081
2865
|
}
|
|
3082
|
-
|
|
3083
|
-
function To({
|
|
2866
|
+
function no({
|
|
3084
2867
|
className: e,
|
|
3085
2868
|
...t
|
|
3086
2869
|
}) {
|
|
3087
2870
|
return /* @__PURE__ */ a(
|
|
3088
|
-
|
|
2871
|
+
"div",
|
|
3089
2872
|
{
|
|
3090
|
-
"data-slot": "
|
|
3091
|
-
className:
|
|
3092
|
-
|
|
2873
|
+
"data-slot": "alert-dialog-header",
|
|
2874
|
+
className: r("flex flex-col gap-2 text-center sm:text-left", e),
|
|
2875
|
+
...t
|
|
2876
|
+
}
|
|
2877
|
+
);
|
|
2878
|
+
}
|
|
2879
|
+
function io({
|
|
2880
|
+
className: e,
|
|
2881
|
+
...t
|
|
2882
|
+
}) {
|
|
2883
|
+
return /* @__PURE__ */ a(
|
|
2884
|
+
"div",
|
|
2885
|
+
{
|
|
2886
|
+
"data-slot": "alert-dialog-footer",
|
|
2887
|
+
className: r(
|
|
2888
|
+
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
3093
2889
|
e
|
|
3094
2890
|
),
|
|
3095
|
-
...t
|
|
3096
|
-
children: /* @__PURE__ */ a(
|
|
3097
|
-
Jt,
|
|
3098
|
-
{
|
|
3099
|
-
"data-slot": "switch-thumb",
|
|
3100
|
-
className: o(
|
|
3101
|
-
"bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
|
|
3102
|
-
)
|
|
3103
|
-
}
|
|
3104
|
-
)
|
|
2891
|
+
...t
|
|
3105
2892
|
}
|
|
3106
2893
|
);
|
|
3107
2894
|
}
|
|
3108
|
-
|
|
2895
|
+
function so({
|
|
2896
|
+
className: e,
|
|
2897
|
+
...t
|
|
2898
|
+
}) {
|
|
2899
|
+
return /* @__PURE__ */ a(
|
|
2900
|
+
S.Title,
|
|
2901
|
+
{
|
|
2902
|
+
"data-slot": "alert-dialog-title",
|
|
2903
|
+
className: r("text-lg font-semibold", e),
|
|
2904
|
+
...t
|
|
2905
|
+
}
|
|
2906
|
+
);
|
|
2907
|
+
}
|
|
2908
|
+
function lo({
|
|
2909
|
+
className: e,
|
|
2910
|
+
...t
|
|
2911
|
+
}) {
|
|
2912
|
+
return /* @__PURE__ */ a(
|
|
2913
|
+
S.Description,
|
|
2914
|
+
{
|
|
2915
|
+
"data-slot": "alert-dialog-description",
|
|
2916
|
+
className: r("text-muted-foreground text-sm", e),
|
|
2917
|
+
...t
|
|
2918
|
+
}
|
|
2919
|
+
);
|
|
2920
|
+
}
|
|
2921
|
+
function co({
|
|
2922
|
+
className: e,
|
|
2923
|
+
...t
|
|
2924
|
+
}) {
|
|
2925
|
+
return /* @__PURE__ */ a(
|
|
2926
|
+
S.Action,
|
|
2927
|
+
{
|
|
2928
|
+
className: r(V(), e),
|
|
2929
|
+
...t
|
|
2930
|
+
}
|
|
2931
|
+
);
|
|
2932
|
+
}
|
|
2933
|
+
function uo({
|
|
2934
|
+
className: e,
|
|
2935
|
+
...t
|
|
2936
|
+
}) {
|
|
2937
|
+
return /* @__PURE__ */ a(
|
|
2938
|
+
S.Cancel,
|
|
2939
|
+
{
|
|
2940
|
+
className: r(V({ variant: "outline" }), e),
|
|
2941
|
+
...t
|
|
2942
|
+
}
|
|
2943
|
+
);
|
|
2944
|
+
}
|
|
2945
|
+
const _t = {
|
|
3109
2946
|
theme: "system",
|
|
3110
2947
|
setTheme: () => null
|
|
3111
|
-
},
|
|
3112
|
-
function
|
|
2948
|
+
}, pe = he(_t);
|
|
2949
|
+
function mo({
|
|
3113
2950
|
children: e,
|
|
3114
2951
|
defaultTheme: t = "system",
|
|
3115
|
-
storageKey:
|
|
2952
|
+
storageKey: o = "@clidey/ux/theme",
|
|
3116
2953
|
...n
|
|
3117
2954
|
}) {
|
|
3118
|
-
const [
|
|
3119
|
-
() => localStorage.getItem(
|
|
2955
|
+
const [s, d] = ve(
|
|
2956
|
+
() => localStorage.getItem(o) || t
|
|
3120
2957
|
);
|
|
3121
|
-
|
|
3122
|
-
const
|
|
3123
|
-
if (
|
|
3124
|
-
const
|
|
3125
|
-
|
|
2958
|
+
xe(() => {
|
|
2959
|
+
const c = window.document.documentElement;
|
|
2960
|
+
if (c.classList.remove("light", "dark"), s === "system") {
|
|
2961
|
+
const p = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
2962
|
+
c.classList.add(p);
|
|
3126
2963
|
return;
|
|
3127
2964
|
}
|
|
3128
|
-
|
|
3129
|
-
}, [
|
|
3130
|
-
const
|
|
3131
|
-
theme:
|
|
3132
|
-
setTheme: (
|
|
3133
|
-
localStorage.setItem(
|
|
2965
|
+
c.classList.add(s);
|
|
2966
|
+
}, [s]);
|
|
2967
|
+
const u = {
|
|
2968
|
+
theme: s,
|
|
2969
|
+
setTheme: (c) => {
|
|
2970
|
+
localStorage.setItem(o, c), d(c);
|
|
3134
2971
|
}
|
|
3135
2972
|
};
|
|
3136
|
-
return /* @__PURE__ */ a(
|
|
2973
|
+
return /* @__PURE__ */ a(pe.Provider, { ...n, value: u, children: e });
|
|
3137
2974
|
}
|
|
3138
|
-
const
|
|
3139
|
-
const e =
|
|
2975
|
+
const Dt = () => {
|
|
2976
|
+
const e = we(pe);
|
|
3140
2977
|
if (e === void 0)
|
|
3141
2978
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3142
2979
|
return e;
|
|
3143
2980
|
};
|
|
3144
|
-
function
|
|
3145
|
-
const { setTheme: e } =
|
|
3146
|
-
return /* @__PURE__ */
|
|
3147
|
-
/* @__PURE__ */ a(
|
|
3148
|
-
/* @__PURE__ */ a(
|
|
3149
|
-
/* @__PURE__ */ a(
|
|
2981
|
+
function fo() {
|
|
2982
|
+
const { setTheme: e } = Dt();
|
|
2983
|
+
return /* @__PURE__ */ i($e, { children: [
|
|
2984
|
+
/* @__PURE__ */ a(Ge, { children: /* @__PURE__ */ i(J, { variant: "outline", size: "icon", children: [
|
|
2985
|
+
/* @__PURE__ */ a(Q, { className: "h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
|
|
2986
|
+
/* @__PURE__ */ a(Z, { className: "absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
|
|
3150
2987
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Toggle theme" })
|
|
3151
2988
|
] }) }),
|
|
3152
|
-
/* @__PURE__ */
|
|
3153
|
-
/* @__PURE__ */
|
|
3154
|
-
/* @__PURE__ */ a(
|
|
2989
|
+
/* @__PURE__ */ i(He, { align: "end", children: [
|
|
2990
|
+
/* @__PURE__ */ i(K, { onClick: () => e("light"), children: [
|
|
2991
|
+
/* @__PURE__ */ a(Q, { className: "size-4" }),
|
|
3155
2992
|
"Light"
|
|
3156
2993
|
] }),
|
|
3157
|
-
/* @__PURE__ */
|
|
3158
|
-
/* @__PURE__ */ a(
|
|
2994
|
+
/* @__PURE__ */ i(K, { onClick: () => e("dark"), children: [
|
|
2995
|
+
/* @__PURE__ */ a(Z, { className: "size-4" }),
|
|
3159
2996
|
"Dark"
|
|
3160
2997
|
] }),
|
|
3161
|
-
/* @__PURE__ */
|
|
3162
|
-
/* @__PURE__ */ a(
|
|
2998
|
+
/* @__PURE__ */ i(K, { onClick: () => e("system"), children: [
|
|
2999
|
+
/* @__PURE__ */ a(Ie, { className: "size-4" }),
|
|
3163
3000
|
"System"
|
|
3164
3001
|
] })
|
|
3165
3002
|
] })
|
|
3166
3003
|
] });
|
|
3167
3004
|
}
|
|
3168
3005
|
export {
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3006
|
+
Fr as Accordion,
|
|
3007
|
+
Wr as AccordionContent,
|
|
3008
|
+
Kr as AccordionItem,
|
|
3009
|
+
Ur as AccordionTrigger,
|
|
3010
|
+
Jr as Alert,
|
|
3011
|
+
Zr as AlertDescription,
|
|
3012
|
+
ao as AlertDialog,
|
|
3013
|
+
co as AlertDialogAction,
|
|
3014
|
+
uo as AlertDialogCancel,
|
|
3015
|
+
oo as AlertDialogContent,
|
|
3016
|
+
lo as AlertDialogDescription,
|
|
3017
|
+
io as AlertDialogFooter,
|
|
3018
|
+
no as AlertDialogHeader,
|
|
3019
|
+
so as AlertDialogTitle,
|
|
3020
|
+
ro as AlertDialogTrigger,
|
|
3021
|
+
Qr as AlertTitle,
|
|
3022
|
+
Kt as Badge,
|
|
3023
|
+
Wa as Breadcrumb,
|
|
3024
|
+
Xa as BreadcrumbItem,
|
|
3025
|
+
Ya as BreadcrumbLink,
|
|
3026
|
+
qa as BreadcrumbList,
|
|
3027
|
+
Ja as BreadcrumbPage,
|
|
3028
|
+
Qa as BreadcrumbSeparator,
|
|
3029
|
+
J as Button,
|
|
3030
|
+
Ut as Card,
|
|
3031
|
+
Yt as CardContent,
|
|
3032
|
+
Xt as CardDescription,
|
|
3033
|
+
Jt as CardFooter,
|
|
3034
|
+
Wt as CardHeader,
|
|
3035
|
+
qt as CardTitle,
|
|
3036
|
+
Gr as Checkbox,
|
|
3037
|
+
et as Command,
|
|
3038
|
+
rt as CommandEmpty,
|
|
3039
|
+
ot as CommandGroup,
|
|
3040
|
+
tt as CommandInput,
|
|
3041
|
+
nt as CommandItem,
|
|
3042
|
+
at as CommandList,
|
|
3043
|
+
Qt as ContextMenu,
|
|
3044
|
+
ia as ContextMenuCheckboxItem,
|
|
3045
|
+
oa as ContextMenuContent,
|
|
3046
|
+
na as ContextMenuItem,
|
|
3047
|
+
da as ContextMenuLabel,
|
|
3048
|
+
ta as ContextMenuRadioGroup,
|
|
3049
|
+
sa as ContextMenuRadioItem,
|
|
3050
|
+
la as ContextMenuSeparator,
|
|
3051
|
+
ca as ContextMenuShortcut,
|
|
3052
|
+
ea as ContextMenuSub,
|
|
3053
|
+
ra as ContextMenuSubContent,
|
|
3054
|
+
aa as ContextMenuSubTrigger,
|
|
3055
|
+
Zt as ContextMenuTrigger,
|
|
3056
|
+
Za as Dialog,
|
|
3057
|
+
tr as DialogContent,
|
|
3058
|
+
nr as DialogDescription,
|
|
3059
|
+
rr as DialogFooter,
|
|
3060
|
+
ar as DialogHeader,
|
|
3061
|
+
or as DialogTitle,
|
|
3062
|
+
er as DialogTrigger,
|
|
3063
|
+
ua as Drawer,
|
|
3064
|
+
fa as DrawerClose,
|
|
3065
|
+
pa as DrawerContent,
|
|
3066
|
+
va as DrawerDescription,
|
|
3067
|
+
ba as DrawerFooter,
|
|
3068
|
+
ga as DrawerHeader,
|
|
3069
|
+
ha as DrawerTitle,
|
|
3070
|
+
ma as DrawerTrigger,
|
|
3071
|
+
$e as DropdownMenu,
|
|
3072
|
+
xa as DropdownMenuCheckboxItem,
|
|
3073
|
+
He as DropdownMenuContent,
|
|
3074
|
+
K as DropdownMenuItem,
|
|
3075
|
+
ya as DropdownMenuLabel,
|
|
3076
|
+
wa as DropdownMenuRadioGroup,
|
|
3077
|
+
Na as DropdownMenuRadioItem,
|
|
3078
|
+
ka as DropdownMenuSeparator,
|
|
3079
|
+
za as DropdownMenuShortcut,
|
|
3080
|
+
Ca as DropdownMenuSub,
|
|
3081
|
+
Ta as DropdownMenuSubContent,
|
|
3082
|
+
Sa as DropdownMenuSubTrigger,
|
|
3083
|
+
Ge as DropdownMenuTrigger,
|
|
3084
|
+
Hr as EmptyState,
|
|
3085
|
+
eo as Icon,
|
|
3086
|
+
Ve as Input,
|
|
3087
|
+
Da as Label,
|
|
3088
|
+
fo as ModeToggle,
|
|
3089
|
+
Ma as Pagination,
|
|
3090
|
+
Ia as PaginationContent,
|
|
3091
|
+
La as PaginationEllipsis,
|
|
3092
|
+
Pa as PaginationItem,
|
|
3247
3093
|
se as PaginationLink,
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3094
|
+
Aa as PaginationNext,
|
|
3095
|
+
Ra as PaginationPrevious,
|
|
3096
|
+
Fe as Popover,
|
|
3097
|
+
Ue as PopoverContent,
|
|
3098
|
+
Ke as PopoverTrigger,
|
|
3099
|
+
Yr as ResizableHandle,
|
|
3100
|
+
Xr as ResizablePanel,
|
|
3101
|
+
qr as ResizablePanelGroup,
|
|
3102
|
+
kt as ScrollArea,
|
|
3103
|
+
_a as SearchInput,
|
|
3104
|
+
fr as SearchSelect,
|
|
3105
|
+
ir as Select,
|
|
3106
|
+
cr as SelectContent,
|
|
3107
|
+
sr as SelectGroup,
|
|
3108
|
+
mr as SelectItem,
|
|
3109
|
+
ur as SelectLabel,
|
|
3110
|
+
lr as SelectTrigger,
|
|
3111
|
+
dr as SelectValue,
|
|
3266
3112
|
le as Separator,
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3113
|
+
lt as Sheet,
|
|
3114
|
+
mt as SheetContent,
|
|
3115
|
+
gt as SheetDescription,
|
|
3116
|
+
gr as SheetFooter,
|
|
3117
|
+
ft as SheetHeader,
|
|
3118
|
+
pt as SheetTitle,
|
|
3119
|
+
pr as SheetTrigger,
|
|
3120
|
+
hr as Sidebar,
|
|
3121
|
+
Cr as SidebarContent,
|
|
3122
|
+
kr as SidebarFooter,
|
|
3123
|
+
Sr as SidebarGroup,
|
|
3124
|
+
_r as SidebarGroupAction,
|
|
3125
|
+
Dr as SidebarGroupContent,
|
|
3126
|
+
Tr as SidebarGroupLabel,
|
|
3127
|
+
yr as SidebarHeader,
|
|
3128
|
+
Nr as SidebarInput,
|
|
3129
|
+
wr as SidebarInset,
|
|
3130
|
+
Mr as SidebarMenu,
|
|
3131
|
+
Rr as SidebarMenuAction,
|
|
3132
|
+
Ar as SidebarMenuBadge,
|
|
3133
|
+
Pr as SidebarMenuButton,
|
|
3134
|
+
Ir as SidebarMenuItem,
|
|
3135
|
+
Lr as SidebarMenuSkeleton,
|
|
3136
|
+
Er as SidebarMenuSub,
|
|
3137
|
+
Br as SidebarMenuSubButton,
|
|
3138
|
+
jr as SidebarMenuSubItem,
|
|
3139
|
+
br as SidebarProvider,
|
|
3140
|
+
xr as SidebarRail,
|
|
3141
|
+
zr as SidebarSeparator,
|
|
3142
|
+
vr as SidebarTrigger,
|
|
3143
|
+
ae as Skeleton,
|
|
3144
|
+
$r as StackList,
|
|
3145
|
+
Or as StackListItem,
|
|
3146
|
+
to as Switch,
|
|
3147
|
+
Ba as Table,
|
|
3148
|
+
We as TableBody,
|
|
3149
|
+
Ha as TableCaption,
|
|
3150
|
+
Ga as TableCell,
|
|
3151
|
+
$a as TableHead,
|
|
3152
|
+
Oa as TableHeader,
|
|
3153
|
+
qe as TableRow,
|
|
3154
|
+
Va as Tabs,
|
|
3155
|
+
Ua as TabsContent,
|
|
3156
|
+
Fa as TabsList,
|
|
3157
|
+
Ka as TabsTrigger,
|
|
3158
|
+
mo as ThemeProvider,
|
|
3159
|
+
Ea as Toaster,
|
|
3160
|
+
Xe as Tooltip,
|
|
3161
|
+
Je as TooltipContent,
|
|
3316
3162
|
de as TooltipProvider,
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3163
|
+
Ye as TooltipTrigger,
|
|
3164
|
+
Vr as Tree,
|
|
3165
|
+
ja as VirtualizedTableBody,
|
|
3166
|
+
r as cn,
|
|
3167
|
+
Ft as formatDate,
|
|
3168
|
+
Vt as toTitleCase,
|
|
3169
|
+
bo as toast,
|
|
3170
|
+
F as useSidebar,
|
|
3171
|
+
Dt as useTheme
|
|
3326
3172
|
};
|