@boxcustodia/library 2.0.0-alpha.14 → 2.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +3 -5
- package/dist/index.es.js +942 -964
- package/package.json +1 -1
- package/src/__doc__/Changelog.mdx +6 -6
- package/src/__doc__/V2.mdx +8 -9
- package/src/components/auto-complete/auto-complete.stories.tsx +0 -1
- package/src/components/button/button.stories.tsx +31 -14
- package/src/components/button/button.tsx +10 -34
- package/src/components/button/components/base-button.tsx +8 -13
- package/src/components/calendar/calendar.tsx +1 -1
- package/src/components/card/card.stories.tsx +0 -1
- package/src/components/combobox/combobox.tsx +1 -1
- package/src/components/date-picker/date-input.tsx +1 -1
- package/src/components/date-picker/date-picker.tsx +1 -1
- package/src/components/dropzone/dropzone.stories.tsx +0 -1
- package/src/components/empty/empty.stories.tsx +0 -1
- package/src/components/input/input.tsx +1 -1
- package/src/components/menu/menu.stories.tsx +0 -1
- package/src/components/number-input/number-input.tsx +4 -4
- package/src/components/pagination/pagination.stories.tsx +0 -1
- package/src/components/password/password.tsx +1 -1
- package/src/components/stepper/stepper.stories.tsx +0 -1
- package/src/components/tabs/tabs.stories.tsx +0 -1
- package/src/components/tag/tag.stories.tsx +13 -21
- package/src/components/tag/tag.tsx +1 -1
- package/src/components/timeline/timeline.stories.tsx +0 -1
- package/src/components/tree/tree.stories.tsx +0 -1
- package/src/utils/form.tsx +2 -0
package/dist/index.es.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import { findIndex as xt, isFunction as $e, isObject as it, range as Ne } from "lodash";
|
|
2
2
|
import * as K from "react";
|
|
3
|
-
import st, {
|
|
3
|
+
import st, { isValidElement as lt, createContext as j, useId as Be, useContext as O, useState as z, useRef as R, useEffect as L, useCallback as k, useMemo as re } from "react";
|
|
4
4
|
import { useControllableState as W } from "@radix-ui/react-use-controllable-state";
|
|
5
|
-
import { useControllableState as
|
|
6
|
-
import { createPortal as
|
|
5
|
+
import { useControllableState as bd } from "@radix-ui/react-use-controllable-state";
|
|
6
|
+
import { createPortal as tr } from "react-dom";
|
|
7
7
|
import { jsx as a, jsxs as f, Fragment as ne } from "react/jsx-runtime";
|
|
8
8
|
import { Accordion as me } from "@base-ui/react/accordion";
|
|
9
|
-
import { Accordion as
|
|
10
|
-
import { ChevronDownIcon as He, ChevronUpIcon as Xe, LoaderCircle as yt, ChevronsUpDownIcon as oe, XIcon as Ke, ChevronLeftIcon as
|
|
11
|
-
import { clsx as
|
|
12
|
-
import { extendTailwindMerge as
|
|
9
|
+
import { Accordion as xd } from "@base-ui/react/accordion";
|
|
10
|
+
import { ChevronDownIcon as He, ChevronUpIcon as Xe, LoaderCircle as yt, ChevronsUpDownIcon as oe, XIcon as Ke, ChevronLeftIcon as rr, ChevronRightIcon as Ue, Info as wt, CalendarIcon as Nt, X as We, UploadCloud as ar, Inbox as nr, CheckIcon as Ct, MinusIcon as or, PlusIcon as ir, ChevronsLeft as sr, ChevronLeft as lr, ChevronRight as dr, ChevronsRight as cr, MoreHorizontal as ur, Eye as pr, EyeOff as mr, TriangleAlert as fr, CircleX as gr, CircleCheck as hr } from "lucide-react";
|
|
11
|
+
import { clsx as br } from "clsx";
|
|
12
|
+
import { extendTailwindMerge as vr } from "tailwind-merge";
|
|
13
13
|
import { AlertDialog as U } from "@base-ui/react/alert-dialog";
|
|
14
|
-
import { AlertDialog as
|
|
14
|
+
import { AlertDialog as wd } from "@base-ui/react/alert-dialog";
|
|
15
15
|
import { cva as ee } from "class-variance-authority";
|
|
16
|
-
import { Button as
|
|
16
|
+
import { Button as xr } from "@base-ui/react/button";
|
|
17
17
|
import { Autocomplete as S } from "@base-ui/react/autocomplete";
|
|
18
|
-
import { Autocomplete as
|
|
18
|
+
import { Autocomplete as Cd } from "@base-ui/react/autocomplete";
|
|
19
19
|
import { Input as zt } from "@base-ui/react/input";
|
|
20
20
|
import { Input as Td } from "@base-ui/react/input";
|
|
21
21
|
import { ScrollArea as pe } from "@base-ui/react/scroll-area";
|
|
22
|
-
import { ScrollArea as
|
|
22
|
+
import { ScrollArea as Sd } from "@base-ui/react/scroll-area";
|
|
23
23
|
import { Avatar as Ye } from "@base-ui/react/avatar";
|
|
24
|
-
import { Avatar as
|
|
25
|
-
import { es as
|
|
26
|
-
import { DayPicker as
|
|
27
|
-
import { mergeProps as
|
|
24
|
+
import { Avatar as Id } from "@base-ui/react/avatar";
|
|
25
|
+
import { es as yr } from "date-fns/locale";
|
|
26
|
+
import { DayPicker as wr } from "react-day-picker";
|
|
27
|
+
import { mergeProps as T } from "@base-ui/react/merge-props";
|
|
28
28
|
import { Select as _ } from "@base-ui/react/select";
|
|
29
|
-
import { Select as
|
|
29
|
+
import { Select as Dd } from "@base-ui/react/select";
|
|
30
30
|
import { useRender as C } from "@base-ui/react/use-render";
|
|
31
|
-
import { Checkbox as
|
|
31
|
+
import { Checkbox as Tt } from "@base-ui/react/checkbox";
|
|
32
32
|
import { Checkbox as Ld } from "@base-ui/react/checkbox";
|
|
33
33
|
import { CheckboxGroup as qe } from "@base-ui/react/checkbox-group";
|
|
34
34
|
import { Field as H } from "@base-ui/react/field";
|
|
35
|
-
import { Field as
|
|
36
|
-
import { Fieldset as
|
|
37
|
-
import { Fieldset as
|
|
35
|
+
import { Field as Rd } from "@base-ui/react/field";
|
|
36
|
+
import { Fieldset as Te } from "@base-ui/react/fieldset";
|
|
37
|
+
import { Fieldset as Md } from "@base-ui/react/fieldset";
|
|
38
38
|
import { Tooltip as Z } from "@base-ui/react/tooltip";
|
|
39
|
-
import { Tooltip as
|
|
39
|
+
import { Tooltip as jd } from "@base-ui/react/tooltip";
|
|
40
40
|
import { Combobox as w } from "@base-ui/react/combobox";
|
|
41
|
-
import { Combobox as
|
|
41
|
+
import { Combobox as Gd } from "@base-ui/react/combobox";
|
|
42
42
|
import { isDate as ae, format as fe } from "date-fns";
|
|
43
43
|
import { Popover as $ } from "@base-ui/react/popover";
|
|
44
|
-
import { Popover as
|
|
44
|
+
import { Popover as Bd } from "@base-ui/react/popover";
|
|
45
45
|
import { Dialog as B } from "@base-ui/react/dialog";
|
|
46
|
-
import { Dialog as
|
|
47
|
-
import { Separator as
|
|
48
|
-
import { Separator as
|
|
49
|
-
import { cn as
|
|
50
|
-
import { useDropzone as
|
|
46
|
+
import { Dialog as Xd } from "@base-ui/react/dialog";
|
|
47
|
+
import { Separator as Nr } from "@base-ui/react/separator";
|
|
48
|
+
import { Separator as Ud } from "@base-ui/react/separator";
|
|
49
|
+
import { cn as Cr } from "tailwind-variants";
|
|
50
|
+
import { useDropzone as zr } from "react-dropzone";
|
|
51
51
|
import { Form as Tr } from "@base-ui/react/form";
|
|
52
|
-
import { Form as
|
|
52
|
+
import { Form as Yd } from "@base-ui/react/form";
|
|
53
53
|
import { Menu as D } from "@base-ui/react/menu";
|
|
54
54
|
import { NumberField as te } from "@base-ui/react/number-field";
|
|
55
|
-
import { NumberField as
|
|
55
|
+
import { NumberField as Jd } from "@base-ui/react/number-field";
|
|
56
56
|
import { Progress as be } from "@base-ui/react/progress";
|
|
57
|
-
import { Switch as
|
|
57
|
+
import { Switch as kt } from "@base-ui/react/switch";
|
|
58
58
|
import { Tabs as ge } from "@base-ui/react/tabs";
|
|
59
|
-
import { Tabs as
|
|
59
|
+
import { Tabs as Qd } from "@base-ui/react/tabs";
|
|
60
60
|
import { Toast as V } from "@base-ui/react/toast";
|
|
61
|
-
import { Toast as
|
|
62
|
-
import { zodResolver as
|
|
63
|
-
import { useForm as
|
|
64
|
-
import { z as
|
|
65
|
-
const
|
|
61
|
+
import { Toast as tc } from "@base-ui/react/toast";
|
|
62
|
+
import { zodResolver as kr } from "@hookform/resolvers/zod";
|
|
63
|
+
import { useForm as Sr, FormProvider as Pr, useFormContext as Ir, Controller as _r } from "react-hook-form";
|
|
64
|
+
import { z as Dr } from "zod";
|
|
65
|
+
const Ar = vr({});
|
|
66
66
|
function l(...e) {
|
|
67
|
-
return
|
|
67
|
+
return Ar(br(e));
|
|
68
68
|
}
|
|
69
69
|
function Lr({
|
|
70
70
|
className: e,
|
|
@@ -79,7 +79,7 @@ function Lr({
|
|
|
79
79
|
}
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Er({
|
|
83
83
|
className: e,
|
|
84
84
|
...t
|
|
85
85
|
}) {
|
|
@@ -92,7 +92,7 @@ function Rr({
|
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Rr({
|
|
96
96
|
className: e,
|
|
97
97
|
children: t,
|
|
98
98
|
...r
|
|
@@ -126,7 +126,7 @@ function Fr({
|
|
|
126
126
|
}
|
|
127
127
|
) });
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function Fr({
|
|
130
130
|
className: e,
|
|
131
131
|
children: t,
|
|
132
132
|
...r
|
|
@@ -150,27 +150,27 @@ function Mr({
|
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function ls({
|
|
154
154
|
items: e,
|
|
155
155
|
className: t,
|
|
156
156
|
classNames: r,
|
|
157
157
|
...o
|
|
158
158
|
}) {
|
|
159
159
|
return /* @__PURE__ */ a(Lr, { className: t, ...o, children: e.map(({ value: n, trigger: i, content: s, disabled: d }) => /* @__PURE__ */ f(
|
|
160
|
-
|
|
160
|
+
Er,
|
|
161
161
|
{
|
|
162
162
|
value: n,
|
|
163
163
|
disabled: d,
|
|
164
164
|
className: r?.item,
|
|
165
165
|
children: [
|
|
166
|
-
/* @__PURE__ */ a(
|
|
167
|
-
/* @__PURE__ */ a(
|
|
166
|
+
/* @__PURE__ */ a(Rr, { className: r?.trigger, children: i }),
|
|
167
|
+
/* @__PURE__ */ a(Fr, { className: r?.content, children: s })
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
n
|
|
171
171
|
)) });
|
|
172
172
|
}
|
|
173
|
-
const
|
|
173
|
+
const Mr = ({
|
|
174
174
|
onClick: e,
|
|
175
175
|
loading: t,
|
|
176
176
|
style: r,
|
|
@@ -182,7 +182,7 @@ const Vr = ({
|
|
|
182
182
|
defaultProp: !1
|
|
183
183
|
});
|
|
184
184
|
return /* @__PURE__ */ f(
|
|
185
|
-
|
|
185
|
+
xr,
|
|
186
186
|
{
|
|
187
187
|
"data-slot": "button",
|
|
188
188
|
"data-loading": i || void 0,
|
|
@@ -195,34 +195,28 @@ const Vr = ({
|
|
|
195
195
|
},
|
|
196
196
|
style: r,
|
|
197
197
|
children: [
|
|
198
|
-
/* @__PURE__ */ a("span", {
|
|
199
|
-
/* @__PURE__ */ a(
|
|
198
|
+
/* @__PURE__ */ a("span", { "data-content": !0, className: "contents", children: o }),
|
|
199
|
+
i && /* @__PURE__ */ a(
|
|
200
200
|
yt,
|
|
201
201
|
{
|
|
202
202
|
"data-loader": !0,
|
|
203
203
|
"data-testid": "btn-loader",
|
|
204
|
-
className:
|
|
205
|
-
"hidden animate-spin",
|
|
206
|
-
"group-data-[loading]/button:absolute",
|
|
207
|
-
"group-data-[loading]/button:block",
|
|
208
|
-
"group-data-[loading]/button:inset-0",
|
|
209
|
-
"group-data-[loading]/button:m-auto"
|
|
210
|
-
)
|
|
204
|
+
className: "absolute inset-0 m-auto size-4 animate-spin"
|
|
211
205
|
}
|
|
212
206
|
)
|
|
213
207
|
]
|
|
214
208
|
}
|
|
215
209
|
);
|
|
216
|
-
},
|
|
210
|
+
}, Vr = ee(
|
|
217
211
|
[
|
|
218
|
-
"group/button relative inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding",
|
|
212
|
+
"group/button relative inline-flex shrink-0 items-center justify-center gap-1 rounded-lg border border-transparent bg-clip-padding",
|
|
219
213
|
"text-sm font-medium whitespace-nowrap transition-all outline-none select-none",
|
|
220
214
|
"focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50",
|
|
221
215
|
"active:not-aria-[haspopup]:translate-y-px",
|
|
222
216
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
223
217
|
"aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
224
218
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
225
|
-
"[&[data-loading]
|
|
219
|
+
"[&[data-loading]>[data-content]]:invisible",
|
|
226
220
|
"[&[data-loading]]:pointer-events-none"
|
|
227
221
|
],
|
|
228
222
|
{
|
|
@@ -238,10 +232,10 @@ const Vr = ({
|
|
|
238
232
|
link: "text-primary underline-offset-4 hover:underline"
|
|
239
233
|
},
|
|
240
234
|
size: {
|
|
241
|
-
default: "h-8
|
|
242
|
-
xs: "h-6
|
|
243
|
-
sm: "h-7
|
|
244
|
-
lg: "h-9
|
|
235
|
+
default: "h-8 px-2.5",
|
|
236
|
+
xs: "h-6 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
237
|
+
sm: "h-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3.5",
|
|
238
|
+
lg: "h-9 px-2.5",
|
|
245
239
|
icon: "size-8",
|
|
246
240
|
"icon-xs": "size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
|
|
247
241
|
"icon-sm": "size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
|
|
@@ -253,35 +247,18 @@ const Vr = ({
|
|
|
253
247
|
size: "default"
|
|
254
248
|
}
|
|
255
249
|
}
|
|
256
|
-
), Q = ({
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"data-icon": s
|
|
266
|
-
}) : null;
|
|
267
|
-
return /* @__PURE__ */ f(
|
|
268
|
-
Vr,
|
|
269
|
-
{
|
|
270
|
-
...i,
|
|
271
|
-
className: l(jr({ variant: e, size: t }), r),
|
|
272
|
-
"data-variant": e || "default",
|
|
273
|
-
children: [
|
|
274
|
-
d && s !== "inline-end" && d,
|
|
275
|
-
n,
|
|
276
|
-
d && s === "inline-end" && d
|
|
277
|
-
]
|
|
278
|
-
}
|
|
279
|
-
);
|
|
280
|
-
};
|
|
281
|
-
function Or(e) {
|
|
250
|
+
), Q = ({ variant: e, size: t, className: r, ...o }) => /* @__PURE__ */ a(
|
|
251
|
+
Mr,
|
|
252
|
+
{
|
|
253
|
+
...o,
|
|
254
|
+
className: l(Vr({ variant: e, size: t }), r),
|
|
255
|
+
"data-variant": e || "default"
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
function jr(e) {
|
|
282
259
|
return /* @__PURE__ */ a(U.Root, { ...e });
|
|
283
260
|
}
|
|
284
|
-
function
|
|
261
|
+
function Or({
|
|
285
262
|
className: e,
|
|
286
263
|
...t
|
|
287
264
|
}) {
|
|
@@ -294,7 +271,7 @@ function Gr({
|
|
|
294
271
|
}
|
|
295
272
|
);
|
|
296
273
|
}
|
|
297
|
-
function
|
|
274
|
+
function Gr({
|
|
298
275
|
className: e,
|
|
299
276
|
...t
|
|
300
277
|
}) {
|
|
@@ -313,7 +290,7 @@ function $r({
|
|
|
313
290
|
}
|
|
314
291
|
);
|
|
315
292
|
}
|
|
316
|
-
function
|
|
293
|
+
function $r({
|
|
317
294
|
className: e,
|
|
318
295
|
...t
|
|
319
296
|
}) {
|
|
@@ -329,15 +306,15 @@ function Br({
|
|
|
329
306
|
}
|
|
330
307
|
);
|
|
331
308
|
}
|
|
332
|
-
function
|
|
309
|
+
function Br({
|
|
333
310
|
className: e,
|
|
334
311
|
classNames: t,
|
|
335
312
|
portalProps: r,
|
|
336
313
|
...o
|
|
337
314
|
}) {
|
|
338
315
|
return /* @__PURE__ */ f(U.Portal, { ...r, children: [
|
|
339
|
-
/* @__PURE__ */ a(
|
|
340
|
-
/* @__PURE__ */ a(
|
|
316
|
+
/* @__PURE__ */ a(Gr, { className: t?.backdrop }),
|
|
317
|
+
/* @__PURE__ */ a($r, { className: t?.viewport, children: /* @__PURE__ */ a(
|
|
341
318
|
U.Popup,
|
|
342
319
|
{
|
|
343
320
|
"data-slot": "alert-dialog-popup",
|
|
@@ -366,7 +343,7 @@ function dt({
|
|
|
366
343
|
}
|
|
367
344
|
);
|
|
368
345
|
}
|
|
369
|
-
function
|
|
346
|
+
function Hr({
|
|
370
347
|
className: e,
|
|
371
348
|
...t
|
|
372
349
|
}) {
|
|
@@ -382,7 +359,7 @@ function Xr({
|
|
|
382
359
|
}
|
|
383
360
|
);
|
|
384
361
|
}
|
|
385
|
-
function
|
|
362
|
+
function Xr({
|
|
386
363
|
className: e,
|
|
387
364
|
...t
|
|
388
365
|
}) {
|
|
@@ -395,7 +372,7 @@ function Kr({
|
|
|
395
372
|
}
|
|
396
373
|
);
|
|
397
374
|
}
|
|
398
|
-
function
|
|
375
|
+
function Kr({
|
|
399
376
|
className: e,
|
|
400
377
|
...t
|
|
401
378
|
}) {
|
|
@@ -408,7 +385,7 @@ function Ur({
|
|
|
408
385
|
}
|
|
409
386
|
);
|
|
410
387
|
}
|
|
411
|
-
function
|
|
388
|
+
function Ur({
|
|
412
389
|
className: e,
|
|
413
390
|
...t
|
|
414
391
|
}) {
|
|
@@ -424,7 +401,7 @@ function Wr({
|
|
|
424
401
|
}
|
|
425
402
|
);
|
|
426
403
|
}
|
|
427
|
-
function
|
|
404
|
+
function ds({
|
|
428
405
|
trigger: e,
|
|
429
406
|
title: t,
|
|
430
407
|
description: r,
|
|
@@ -438,20 +415,20 @@ function cs({
|
|
|
438
415
|
classNames: p,
|
|
439
416
|
...h
|
|
440
417
|
}) {
|
|
441
|
-
return /* @__PURE__ */ f(
|
|
442
|
-
e && /* @__PURE__ */ a(
|
|
418
|
+
return /* @__PURE__ */ f(jr, { ...h, children: [
|
|
419
|
+
e && /* @__PURE__ */ a(Or, { render: e }),
|
|
443
420
|
/* @__PURE__ */ f(
|
|
444
|
-
|
|
421
|
+
Br,
|
|
445
422
|
{
|
|
446
423
|
className: u,
|
|
447
424
|
classNames: { backdrop: p?.backdrop },
|
|
448
425
|
children: [
|
|
449
|
-
(t || r) && /* @__PURE__ */ f(
|
|
450
|
-
t && /* @__PURE__ */ a(
|
|
451
|
-
r && /* @__PURE__ */ a(
|
|
426
|
+
(t || r) && /* @__PURE__ */ f(Kr, { className: p?.header, children: [
|
|
427
|
+
t && /* @__PURE__ */ a(Hr, { className: p?.title, children: t }),
|
|
428
|
+
r && /* @__PURE__ */ a(Xr, { className: p?.description, children: r })
|
|
452
429
|
] }),
|
|
453
430
|
o,
|
|
454
|
-
/* @__PURE__ */ f(
|
|
431
|
+
/* @__PURE__ */ f(Ur, { className: p?.footer, children: [
|
|
455
432
|
/* @__PURE__ */ a(
|
|
456
433
|
dt,
|
|
457
434
|
{
|
|
@@ -479,8 +456,8 @@ function cs({
|
|
|
479
456
|
)
|
|
480
457
|
] });
|
|
481
458
|
}
|
|
482
|
-
const ie = "h-
|
|
483
|
-
function
|
|
459
|
+
const ie = "h-8 w-full px-3 rounded-md border border-input bg-background text-sm outline-none transition-shadow placeholder:text-muted-foreground";
|
|
460
|
+
function Wr({
|
|
484
461
|
className: e,
|
|
485
462
|
nativeInput: t = !1,
|
|
486
463
|
onValueChange: r,
|
|
@@ -586,8 +563,8 @@ function ct({
|
|
|
586
563
|
}
|
|
587
564
|
);
|
|
588
565
|
}
|
|
589
|
-
const
|
|
590
|
-
function
|
|
566
|
+
const Yr = S.Root;
|
|
567
|
+
function qr({
|
|
591
568
|
className: e,
|
|
592
569
|
adornment: t,
|
|
593
570
|
startAddon: r,
|
|
@@ -627,12 +604,12 @@ function Jr({
|
|
|
627
604
|
...i
|
|
628
605
|
}
|
|
629
606
|
),
|
|
630
|
-
t === "clear" ? /* @__PURE__ */ a(
|
|
607
|
+
t === "clear" ? /* @__PURE__ */ a(ra, { ...n }) : t === "trigger" ? /* @__PURE__ */ a(ta, { ...o }) : null
|
|
631
608
|
]
|
|
632
609
|
}
|
|
633
610
|
);
|
|
634
611
|
}
|
|
635
|
-
function
|
|
612
|
+
function Jr({
|
|
636
613
|
className: e,
|
|
637
614
|
children: t,
|
|
638
615
|
side: r = "bottom",
|
|
@@ -674,7 +651,7 @@ function Zr({
|
|
|
674
651
|
}
|
|
675
652
|
) });
|
|
676
653
|
}
|
|
677
|
-
function
|
|
654
|
+
function Zr({
|
|
678
655
|
className: e,
|
|
679
656
|
...t
|
|
680
657
|
}) {
|
|
@@ -690,7 +667,7 @@ function Qr({
|
|
|
690
667
|
}
|
|
691
668
|
) });
|
|
692
669
|
}
|
|
693
|
-
function
|
|
670
|
+
function Qr({
|
|
694
671
|
className: e,
|
|
695
672
|
children: t,
|
|
696
673
|
...r
|
|
@@ -708,7 +685,7 @@ function ea({
|
|
|
708
685
|
}
|
|
709
686
|
);
|
|
710
687
|
}
|
|
711
|
-
function
|
|
688
|
+
function cs({
|
|
712
689
|
className: e,
|
|
713
690
|
...t
|
|
714
691
|
}) {
|
|
@@ -721,7 +698,7 @@ function us({
|
|
|
721
698
|
}
|
|
722
699
|
);
|
|
723
700
|
}
|
|
724
|
-
function
|
|
701
|
+
function us({
|
|
725
702
|
className: e,
|
|
726
703
|
...t
|
|
727
704
|
}) {
|
|
@@ -734,7 +711,7 @@ function ps({
|
|
|
734
711
|
}
|
|
735
712
|
);
|
|
736
713
|
}
|
|
737
|
-
function
|
|
714
|
+
function ps({
|
|
738
715
|
className: e,
|
|
739
716
|
...t
|
|
740
717
|
}) {
|
|
@@ -750,7 +727,7 @@ function ms({
|
|
|
750
727
|
}
|
|
751
728
|
);
|
|
752
729
|
}
|
|
753
|
-
function
|
|
730
|
+
function ea({
|
|
754
731
|
className: e,
|
|
755
732
|
...t
|
|
756
733
|
}) {
|
|
@@ -766,7 +743,7 @@ function ta({
|
|
|
766
743
|
}
|
|
767
744
|
);
|
|
768
745
|
}
|
|
769
|
-
function
|
|
746
|
+
function ta({
|
|
770
747
|
className: e,
|
|
771
748
|
children: t,
|
|
772
749
|
...r
|
|
@@ -784,7 +761,7 @@ function ra({
|
|
|
784
761
|
}
|
|
785
762
|
);
|
|
786
763
|
}
|
|
787
|
-
function
|
|
764
|
+
function ra({
|
|
788
765
|
className: e,
|
|
789
766
|
children: t,
|
|
790
767
|
...r
|
|
@@ -802,7 +779,7 @@ function aa({
|
|
|
802
779
|
}
|
|
803
780
|
);
|
|
804
781
|
}
|
|
805
|
-
function
|
|
782
|
+
function ms({
|
|
806
783
|
className: e,
|
|
807
784
|
...t
|
|
808
785
|
}) {
|
|
@@ -815,12 +792,12 @@ function fs({
|
|
|
815
792
|
}
|
|
816
793
|
);
|
|
817
794
|
}
|
|
818
|
-
function
|
|
795
|
+
function fs({
|
|
819
796
|
...e
|
|
820
797
|
}) {
|
|
821
798
|
return /* @__PURE__ */ a(S.Value, { "data-slot": "autocomplete-value", ...e });
|
|
822
799
|
}
|
|
823
|
-
function
|
|
800
|
+
function aa({
|
|
824
801
|
className: e,
|
|
825
802
|
...t
|
|
826
803
|
}) {
|
|
@@ -836,7 +813,7 @@ function na({
|
|
|
836
813
|
}
|
|
837
814
|
);
|
|
838
815
|
}
|
|
839
|
-
function
|
|
816
|
+
function gs({
|
|
840
817
|
...e
|
|
841
818
|
}) {
|
|
842
819
|
return /* @__PURE__ */ a(
|
|
@@ -847,8 +824,8 @@ function hs({
|
|
|
847
824
|
}
|
|
848
825
|
);
|
|
849
826
|
}
|
|
850
|
-
const
|
|
851
|
-
function
|
|
827
|
+
const hs = S.useFilter;
|
|
828
|
+
function bs({
|
|
852
829
|
items: e,
|
|
853
830
|
value: t,
|
|
854
831
|
defaultValue: r,
|
|
@@ -868,7 +845,7 @@ function vs({
|
|
|
868
845
|
classNames: x
|
|
869
846
|
}) {
|
|
870
847
|
return /* @__PURE__ */ f(
|
|
871
|
-
|
|
848
|
+
Yr,
|
|
872
849
|
{
|
|
873
850
|
items: e,
|
|
874
851
|
value: t?.label,
|
|
@@ -881,7 +858,7 @@ function vs({
|
|
|
881
858
|
itemToStringValue: (v) => v.label,
|
|
882
859
|
children: [
|
|
883
860
|
/* @__PURE__ */ a(
|
|
884
|
-
|
|
861
|
+
qr,
|
|
885
862
|
{
|
|
886
863
|
adornment: y,
|
|
887
864
|
startAddon: b,
|
|
@@ -889,10 +866,10 @@ function vs({
|
|
|
889
866
|
className: g
|
|
890
867
|
}
|
|
891
868
|
),
|
|
892
|
-
/* @__PURE__ */ f(
|
|
893
|
-
/* @__PURE__ */ a(
|
|
894
|
-
/* @__PURE__ */ a(
|
|
895
|
-
|
|
869
|
+
/* @__PURE__ */ f(Jr, { className: x?.popup, children: [
|
|
870
|
+
/* @__PURE__ */ a(aa, { className: x?.status, children: s ? h : void 0 }),
|
|
871
|
+
/* @__PURE__ */ a(Zr, { className: x?.list, children: (v) => /* @__PURE__ */ a(
|
|
872
|
+
Qr,
|
|
896
873
|
{
|
|
897
874
|
value: v,
|
|
898
875
|
className: x?.item,
|
|
@@ -900,33 +877,34 @@ function vs({
|
|
|
900
877
|
},
|
|
901
878
|
v.value
|
|
902
879
|
) }),
|
|
903
|
-
!s && /* @__PURE__ */ a(
|
|
880
|
+
!s && /* @__PURE__ */ a(ea, { className: x?.empty, children: p })
|
|
904
881
|
] })
|
|
905
882
|
]
|
|
906
883
|
}
|
|
907
884
|
);
|
|
908
885
|
}
|
|
909
|
-
function
|
|
886
|
+
function vs(e, t) {
|
|
910
887
|
const r = e.safeParse(t);
|
|
911
888
|
return r.success ? { data: r.data, errors: {} } : {
|
|
912
889
|
data: null,
|
|
913
|
-
errors:
|
|
890
|
+
errors: Dr.flattenError(r.error).fieldErrors
|
|
914
891
|
};
|
|
915
892
|
}
|
|
916
|
-
function
|
|
917
|
-
return
|
|
893
|
+
function xs(e, t) {
|
|
894
|
+
return Sr({
|
|
918
895
|
...t,
|
|
919
|
-
|
|
896
|
+
// @ts-expect-error zodResolver returns Resolver<any, any, any>; incompatible with Resolver<T, any, T>.
|
|
897
|
+
resolver: kr(e)
|
|
920
898
|
});
|
|
921
899
|
}
|
|
922
|
-
function
|
|
900
|
+
function ys({
|
|
923
901
|
form: e,
|
|
924
902
|
onFormSubmit: t,
|
|
925
903
|
children: r,
|
|
926
904
|
...o
|
|
927
905
|
}) {
|
|
928
|
-
return /* @__PURE__ */ a(
|
|
929
|
-
|
|
906
|
+
return /* @__PURE__ */ a(Pr, { ...e, children: /* @__PURE__ */ a(
|
|
907
|
+
Un,
|
|
930
908
|
{
|
|
931
909
|
onSubmit: (n) => {
|
|
932
910
|
n.preventDefault(), e.handleSubmit(t)();
|
|
@@ -936,16 +914,16 @@ function ws({
|
|
|
936
914
|
}
|
|
937
915
|
) });
|
|
938
916
|
}
|
|
939
|
-
function
|
|
940
|
-
const { control: n } =
|
|
917
|
+
function ws({ name: e, rules: t, render: r, ...o }) {
|
|
918
|
+
const { control: n } = Ir();
|
|
941
919
|
return /* @__PURE__ */ a(
|
|
942
|
-
|
|
920
|
+
_r,
|
|
943
921
|
{
|
|
944
922
|
name: e,
|
|
945
923
|
control: n,
|
|
946
924
|
rules: t,
|
|
947
925
|
render: ({ field: i, fieldState: s }) => /* @__PURE__ */ a(
|
|
948
|
-
|
|
926
|
+
Xa,
|
|
949
927
|
{
|
|
950
928
|
...o,
|
|
951
929
|
invalid: s.invalid,
|
|
@@ -956,7 +934,7 @@ function Ns({ name: e, rules: t, render: r, ...o }) {
|
|
|
956
934
|
}
|
|
957
935
|
);
|
|
958
936
|
}
|
|
959
|
-
const
|
|
937
|
+
const Ns = () => {
|
|
960
938
|
const e = st.createContext(null);
|
|
961
939
|
return [() => {
|
|
962
940
|
const r = st.useContext(e);
|
|
@@ -964,14 +942,14 @@ const Cs = () => {
|
|
|
964
942
|
throw new Error("Context value is null");
|
|
965
943
|
return r;
|
|
966
944
|
}, e.Provider];
|
|
967
|
-
},
|
|
945
|
+
}, Cs = ({
|
|
968
946
|
children: e,
|
|
969
947
|
as: t = "div",
|
|
970
948
|
props: r
|
|
971
949
|
}) => {
|
|
972
950
|
let o;
|
|
973
951
|
return typeof e == "string" ? o = /* @__PURE__ */ a(t, { children: e }) : lt(e) ? o = e : typeof e == "function" ? o = e(r) : o = /* @__PURE__ */ a(t, { children: e }), lt(o) ? o : /* @__PURE__ */ a(t, { children: o });
|
|
974
|
-
},
|
|
952
|
+
}, zs = (e) => {
|
|
975
953
|
e.preventDefault();
|
|
976
954
|
const t = e.currentTarget.elements, r = {};
|
|
977
955
|
return Array.from(t).forEach((o) => {
|
|
@@ -986,7 +964,7 @@ function Ts(e) {
|
|
|
986
964
|
});
|
|
987
965
|
};
|
|
988
966
|
}
|
|
989
|
-
const
|
|
967
|
+
const na = (e) => e.split(" ").map((t) => t.charAt(0)).join(""), Pt = ee(
|
|
990
968
|
"group/avatar relative flex aspect-square shrink-0 select-none rounded-full bg-muted items-center justify-center font-medium",
|
|
991
969
|
{
|
|
992
970
|
variants: {
|
|
@@ -1003,7 +981,7 @@ const oa = (e) => e.split(" ").map((t) => t.charAt(0)).join(""), Pt = ee(
|
|
|
1003
981
|
}
|
|
1004
982
|
}
|
|
1005
983
|
);
|
|
1006
|
-
function
|
|
984
|
+
function oa({
|
|
1007
985
|
className: e,
|
|
1008
986
|
size: t,
|
|
1009
987
|
...r
|
|
@@ -1018,7 +996,7 @@ function ia({
|
|
|
1018
996
|
}
|
|
1019
997
|
);
|
|
1020
998
|
}
|
|
1021
|
-
function
|
|
999
|
+
function ia({
|
|
1022
1000
|
className: e,
|
|
1023
1001
|
...t
|
|
1024
1002
|
}) {
|
|
@@ -1034,7 +1012,7 @@ function sa({
|
|
|
1034
1012
|
}
|
|
1035
1013
|
);
|
|
1036
1014
|
}
|
|
1037
|
-
function
|
|
1015
|
+
function sa({
|
|
1038
1016
|
className: e,
|
|
1039
1017
|
...t
|
|
1040
1018
|
}) {
|
|
@@ -1050,7 +1028,7 @@ function la({
|
|
|
1050
1028
|
}
|
|
1051
1029
|
);
|
|
1052
1030
|
}
|
|
1053
|
-
function
|
|
1031
|
+
function la({ className: e, ...t }) {
|
|
1054
1032
|
return /* @__PURE__ */ a(
|
|
1055
1033
|
"span",
|
|
1056
1034
|
{
|
|
@@ -1068,7 +1046,7 @@ function da({ className: e, ...t }) {
|
|
|
1068
1046
|
}
|
|
1069
1047
|
);
|
|
1070
1048
|
}
|
|
1071
|
-
function
|
|
1049
|
+
function ks({ className: e, ...t }) {
|
|
1072
1050
|
return /* @__PURE__ */ a(
|
|
1073
1051
|
"div",
|
|
1074
1052
|
{
|
|
@@ -1081,7 +1059,7 @@ function Ss({ className: e, ...t }) {
|
|
|
1081
1059
|
}
|
|
1082
1060
|
);
|
|
1083
1061
|
}
|
|
1084
|
-
function
|
|
1062
|
+
function Ss({
|
|
1085
1063
|
className: e,
|
|
1086
1064
|
size: t,
|
|
1087
1065
|
...r
|
|
@@ -1099,7 +1077,7 @@ function Ps({
|
|
|
1099
1077
|
}
|
|
1100
1078
|
);
|
|
1101
1079
|
}
|
|
1102
|
-
function
|
|
1080
|
+
function Ps({
|
|
1103
1081
|
src: e,
|
|
1104
1082
|
alt: t,
|
|
1105
1083
|
fallback: r,
|
|
@@ -1110,10 +1088,10 @@ function Is({
|
|
|
1110
1088
|
classNames: d,
|
|
1111
1089
|
...c
|
|
1112
1090
|
}) {
|
|
1113
|
-
return /* @__PURE__ */ f(
|
|
1114
|
-
/* @__PURE__ */ a(
|
|
1115
|
-
/* @__PURE__ */ a(
|
|
1116
|
-
o ? /* @__PURE__ */ a(
|
|
1091
|
+
return /* @__PURE__ */ f(oa, { size: i, className: s, ...c, children: [
|
|
1092
|
+
/* @__PURE__ */ a(ia, { src: e, alt: t, className: d?.image }),
|
|
1093
|
+
/* @__PURE__ */ a(sa, { delay: n, className: d?.fallback, children: r ?? na(t) }),
|
|
1094
|
+
o ? /* @__PURE__ */ a(la, { className: d?.badge, children: o }) : null
|
|
1117
1095
|
] });
|
|
1118
1096
|
}
|
|
1119
1097
|
const It = l(
|
|
@@ -1125,12 +1103,12 @@ const It = l(
|
|
|
1125
1103
|
"data-disabled:cursor-not-allowed data-disabled:opacity-50",
|
|
1126
1104
|
"[&_svg]:pointer-events-none [&_svg]:shrink-0"
|
|
1127
1105
|
), _t = "-me-1 size-4.5 opacity-80 sm:size-4";
|
|
1128
|
-
function
|
|
1106
|
+
function da({
|
|
1129
1107
|
...e
|
|
1130
1108
|
}) {
|
|
1131
1109
|
return /* @__PURE__ */ a(_.Root, { ...e });
|
|
1132
1110
|
}
|
|
1133
|
-
function
|
|
1111
|
+
function ca({
|
|
1134
1112
|
className: e,
|
|
1135
1113
|
children: t,
|
|
1136
1114
|
...r
|
|
@@ -1155,7 +1133,7 @@ function ua({
|
|
|
1155
1133
|
}
|
|
1156
1134
|
);
|
|
1157
1135
|
}
|
|
1158
|
-
function
|
|
1136
|
+
function Is({
|
|
1159
1137
|
className: e,
|
|
1160
1138
|
render: t,
|
|
1161
1139
|
children: r,
|
|
@@ -1172,11 +1150,11 @@ function _s({
|
|
|
1172
1150
|
};
|
|
1173
1151
|
return C({
|
|
1174
1152
|
defaultTagName: "button",
|
|
1175
|
-
props:
|
|
1153
|
+
props: T(i, o),
|
|
1176
1154
|
render: t
|
|
1177
1155
|
});
|
|
1178
1156
|
}
|
|
1179
|
-
function
|
|
1157
|
+
function ua({
|
|
1180
1158
|
className: e,
|
|
1181
1159
|
...t
|
|
1182
1160
|
}) {
|
|
@@ -1192,7 +1170,7 @@ function pa({
|
|
|
1192
1170
|
}
|
|
1193
1171
|
);
|
|
1194
1172
|
}
|
|
1195
|
-
function
|
|
1173
|
+
function pa({
|
|
1196
1174
|
className: e,
|
|
1197
1175
|
children: t,
|
|
1198
1176
|
side: r = "bottom",
|
|
@@ -1255,7 +1233,7 @@ function ma({
|
|
|
1255
1233
|
}
|
|
1256
1234
|
) });
|
|
1257
1235
|
}
|
|
1258
|
-
function
|
|
1236
|
+
function ma({
|
|
1259
1237
|
className: e,
|
|
1260
1238
|
children: t,
|
|
1261
1239
|
...r
|
|
@@ -1291,7 +1269,7 @@ function fa({
|
|
|
1291
1269
|
}
|
|
1292
1270
|
);
|
|
1293
1271
|
}
|
|
1294
|
-
function
|
|
1272
|
+
function _s({
|
|
1295
1273
|
className: e,
|
|
1296
1274
|
...t
|
|
1297
1275
|
}) {
|
|
@@ -1304,10 +1282,10 @@ function Ds({
|
|
|
1304
1282
|
}
|
|
1305
1283
|
);
|
|
1306
1284
|
}
|
|
1307
|
-
function
|
|
1285
|
+
function Ds(e) {
|
|
1308
1286
|
return /* @__PURE__ */ a(_.Group, { "data-slot": "select-group", ...e });
|
|
1309
1287
|
}
|
|
1310
|
-
function
|
|
1288
|
+
function As(e) {
|
|
1311
1289
|
return /* @__PURE__ */ a(
|
|
1312
1290
|
_.GroupLabel,
|
|
1313
1291
|
{
|
|
@@ -1333,7 +1311,7 @@ function Ls({
|
|
|
1333
1311
|
}
|
|
1334
1312
|
);
|
|
1335
1313
|
}
|
|
1336
|
-
function
|
|
1314
|
+
function fa(e) {
|
|
1337
1315
|
if (e == null) return "";
|
|
1338
1316
|
if (typeof e == "string" || typeof e == "number") return String(e);
|
|
1339
1317
|
if (typeof e == "object") {
|
|
@@ -1344,7 +1322,7 @@ function ga(e) {
|
|
|
1344
1322
|
}
|
|
1345
1323
|
return String(e);
|
|
1346
1324
|
}
|
|
1347
|
-
function
|
|
1325
|
+
function ga(e) {
|
|
1348
1326
|
if (e == null) return "";
|
|
1349
1327
|
if (typeof e == "string" || typeof e == "number") return String(e);
|
|
1350
1328
|
if (typeof e == "object") {
|
|
@@ -1354,10 +1332,10 @@ function ha(e) {
|
|
|
1354
1332
|
}
|
|
1355
1333
|
return String(e);
|
|
1356
1334
|
}
|
|
1357
|
-
function
|
|
1335
|
+
function ha(e) {
|
|
1358
1336
|
return e != null && typeof e == "object" && "disabled" in e ? !!e.disabled : !1;
|
|
1359
1337
|
}
|
|
1360
|
-
function
|
|
1338
|
+
function ba(e) {
|
|
1361
1339
|
const {
|
|
1362
1340
|
items: t,
|
|
1363
1341
|
getLabel: r,
|
|
@@ -1372,9 +1350,9 @@ function va(e) {
|
|
|
1372
1350
|
className: h,
|
|
1373
1351
|
classNames: m,
|
|
1374
1352
|
...y
|
|
1375
|
-
} = e, b = r ??
|
|
1353
|
+
} = e, b = r ?? fa, g = o ?? ga, x = n ?? ha, v = p ? c?.map(g) : c != null ? g(c) : void 0, A = p ? u?.map(g) : u != null ? g(u) : void 0;
|
|
1376
1354
|
return /* @__PURE__ */ f(
|
|
1377
|
-
|
|
1355
|
+
da,
|
|
1378
1356
|
{
|
|
1379
1357
|
itemToStringLabel: (I) => {
|
|
1380
1358
|
const X = t.find((G) => g(G) === I);
|
|
@@ -1398,9 +1376,9 @@ function va(e) {
|
|
|
1398
1376
|
},
|
|
1399
1377
|
...y,
|
|
1400
1378
|
children: [
|
|
1401
|
-
/* @__PURE__ */ a(
|
|
1402
|
-
/* @__PURE__ */ a(
|
|
1403
|
-
|
|
1379
|
+
/* @__PURE__ */ a(ca, { className: h, children: /* @__PURE__ */ a(ua, { placeholder: s }) }),
|
|
1380
|
+
/* @__PURE__ */ a(pa, { className: m?.popup, children: t.map((I) => /* @__PURE__ */ a(
|
|
1381
|
+
ma,
|
|
1404
1382
|
{
|
|
1405
1383
|
value: g(I),
|
|
1406
1384
|
disabled: x(I),
|
|
@@ -1413,8 +1391,8 @@ function va(e) {
|
|
|
1413
1391
|
}
|
|
1414
1392
|
);
|
|
1415
1393
|
}
|
|
1416
|
-
const Dt = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
1417
|
-
function
|
|
1394
|
+
const Dt = (/* @__PURE__ */ new Date()).getFullYear(), va = new Date(Dt - 100, 0), xa = new Date(Dt + 100, 11);
|
|
1395
|
+
function ya({
|
|
1418
1396
|
options: e = [],
|
|
1419
1397
|
value: t,
|
|
1420
1398
|
onChange: r
|
|
@@ -1424,11 +1402,11 @@ function wa({
|
|
|
1424
1402
|
value: i.value ?? 0
|
|
1425
1403
|
})), n = o.find((i) => i.value === Number(t)) ?? null;
|
|
1426
1404
|
return /* @__PURE__ */ a(
|
|
1427
|
-
|
|
1405
|
+
ba,
|
|
1428
1406
|
{
|
|
1429
1407
|
items: o,
|
|
1430
1408
|
value: n,
|
|
1431
|
-
className: "py-1 h-
|
|
1409
|
+
className: "py-1 h-7",
|
|
1432
1410
|
getLabel: (i) => i.label,
|
|
1433
1411
|
getId: (i) => String(i.value),
|
|
1434
1412
|
onValueChange: (i) => {
|
|
@@ -1440,15 +1418,15 @@ function wa({
|
|
|
1440
1418
|
);
|
|
1441
1419
|
}
|
|
1442
1420
|
const _e = "relative flex size-(--cell-size) text-base sm:text-sm items-center justify-center rounded-lg text-foreground not-in-data-selected:hover:bg-accent disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
|
|
1443
|
-
function
|
|
1421
|
+
function ke({
|
|
1444
1422
|
className: e,
|
|
1445
1423
|
classNames: t,
|
|
1446
1424
|
showOutsideDays: r = !0,
|
|
1447
1425
|
components: o,
|
|
1448
1426
|
mode: n = "single",
|
|
1449
1427
|
captionLayout: i = "dropdown",
|
|
1450
|
-
startMonth: s =
|
|
1451
|
-
endMonth: d =
|
|
1428
|
+
startMonth: s = va,
|
|
1429
|
+
endMonth: d = xa,
|
|
1452
1430
|
...c
|
|
1453
1431
|
}) {
|
|
1454
1432
|
const u = {
|
|
@@ -1485,13 +1463,13 @@ function Te({
|
|
|
1485
1463
|
{ ...u }
|
|
1486
1464
|
), m = {
|
|
1487
1465
|
...{
|
|
1488
|
-
Dropdown:
|
|
1466
|
+
Dropdown: ya,
|
|
1489
1467
|
Chevron: ({
|
|
1490
1468
|
className: b,
|
|
1491
1469
|
orientation: g,
|
|
1492
1470
|
...x
|
|
1493
1471
|
}) => g === "left" ? /* @__PURE__ */ a(
|
|
1494
|
-
|
|
1472
|
+
rr,
|
|
1495
1473
|
{
|
|
1496
1474
|
className: l(b, "rtl:rotate-180"),
|
|
1497
1475
|
...x,
|
|
@@ -1525,7 +1503,7 @@ function Te({
|
|
|
1525
1503
|
formatters: {
|
|
1526
1504
|
formatMonthDropdown: (b) => b.toLocaleString("es", { month: "short" })
|
|
1527
1505
|
},
|
|
1528
|
-
locale:
|
|
1506
|
+
locale: yr,
|
|
1529
1507
|
weekStartsOn: 1,
|
|
1530
1508
|
captionLayout: i,
|
|
1531
1509
|
startMonth: s,
|
|
@@ -1535,13 +1513,13 @@ function Te({
|
|
|
1535
1513
|
...c
|
|
1536
1514
|
};
|
|
1537
1515
|
return /* @__PURE__ */ a(
|
|
1538
|
-
|
|
1516
|
+
wr,
|
|
1539
1517
|
{
|
|
1540
1518
|
...y
|
|
1541
1519
|
}
|
|
1542
1520
|
);
|
|
1543
1521
|
}
|
|
1544
|
-
function
|
|
1522
|
+
function wa({
|
|
1545
1523
|
className: e,
|
|
1546
1524
|
size: t = "default",
|
|
1547
1525
|
...r
|
|
@@ -1559,7 +1537,7 @@ function Na({
|
|
|
1559
1537
|
}
|
|
1560
1538
|
);
|
|
1561
1539
|
}
|
|
1562
|
-
function
|
|
1540
|
+
function Na({
|
|
1563
1541
|
className: e,
|
|
1564
1542
|
...t
|
|
1565
1543
|
}) {
|
|
@@ -1575,7 +1553,7 @@ function Ca({
|
|
|
1575
1553
|
}
|
|
1576
1554
|
);
|
|
1577
1555
|
}
|
|
1578
|
-
function
|
|
1556
|
+
function Ca({
|
|
1579
1557
|
className: e,
|
|
1580
1558
|
...t
|
|
1581
1559
|
}) {
|
|
@@ -1591,7 +1569,7 @@ function za({
|
|
|
1591
1569
|
}
|
|
1592
1570
|
);
|
|
1593
1571
|
}
|
|
1594
|
-
function
|
|
1572
|
+
function za({
|
|
1595
1573
|
className: e,
|
|
1596
1574
|
...t
|
|
1597
1575
|
}) {
|
|
@@ -1620,7 +1598,7 @@ function Ta({
|
|
|
1620
1598
|
}
|
|
1621
1599
|
);
|
|
1622
1600
|
}
|
|
1623
|
-
function
|
|
1601
|
+
function ka({
|
|
1624
1602
|
className: e,
|
|
1625
1603
|
...t
|
|
1626
1604
|
}) {
|
|
@@ -1633,7 +1611,7 @@ function Sa({
|
|
|
1633
1611
|
}
|
|
1634
1612
|
);
|
|
1635
1613
|
}
|
|
1636
|
-
function
|
|
1614
|
+
function Sa({
|
|
1637
1615
|
className: e,
|
|
1638
1616
|
...t
|
|
1639
1617
|
}) {
|
|
@@ -1649,7 +1627,7 @@ function Pa({
|
|
|
1649
1627
|
}
|
|
1650
1628
|
);
|
|
1651
1629
|
}
|
|
1652
|
-
function
|
|
1630
|
+
function Es({
|
|
1653
1631
|
title: e,
|
|
1654
1632
|
description: t,
|
|
1655
1633
|
action: r,
|
|
@@ -1660,17 +1638,17 @@ function Rs({
|
|
|
1660
1638
|
classNames: d,
|
|
1661
1639
|
...c
|
|
1662
1640
|
}) {
|
|
1663
|
-
return /* @__PURE__ */ f(
|
|
1664
|
-
(e || t || r) && /* @__PURE__ */ f(
|
|
1665
|
-
e && /* @__PURE__ */ a(
|
|
1666
|
-
t && /* @__PURE__ */ a(
|
|
1641
|
+
return /* @__PURE__ */ f(wa, { size: i, className: s, ...c, children: [
|
|
1642
|
+
(e || t || r) && /* @__PURE__ */ f(Na, { className: d?.header, children: [
|
|
1643
|
+
e && /* @__PURE__ */ a(Ca, { className: d?.title, children: e }),
|
|
1644
|
+
t && /* @__PURE__ */ a(za, { className: d?.description, children: t }),
|
|
1667
1645
|
r && /* @__PURE__ */ a(Ta, { className: d?.action, children: r })
|
|
1668
1646
|
] }),
|
|
1669
|
-
n && /* @__PURE__ */ a(
|
|
1670
|
-
o && /* @__PURE__ */ a(
|
|
1647
|
+
n && /* @__PURE__ */ a(ka, { className: d?.content, children: n }),
|
|
1648
|
+
o && /* @__PURE__ */ a(Sa, { className: d?.footer, children: o })
|
|
1671
1649
|
] });
|
|
1672
1650
|
}
|
|
1673
|
-
const
|
|
1651
|
+
const Rs = ({
|
|
1674
1652
|
as: e = "div",
|
|
1675
1653
|
inline: t = !1,
|
|
1676
1654
|
className: r,
|
|
@@ -1687,7 +1665,7 @@ const Fs = ({
|
|
|
1687
1665
|
"data-slot": "center"
|
|
1688
1666
|
}
|
|
1689
1667
|
);
|
|
1690
|
-
function
|
|
1668
|
+
function Pa(e) {
|
|
1691
1669
|
return /* @__PURE__ */ a("svg", { width: "20", height: "10", viewBox: "0 0 20 10", fill: "none", ...e, children: /* @__PURE__ */ a(
|
|
1692
1670
|
"path",
|
|
1693
1671
|
{
|
|
@@ -1696,13 +1674,13 @@ function Ia(e) {
|
|
|
1696
1674
|
}
|
|
1697
1675
|
) });
|
|
1698
1676
|
}
|
|
1699
|
-
function
|
|
1677
|
+
function Ia(e) {
|
|
1700
1678
|
return /* @__PURE__ */ a(Z.Provider, { ...e });
|
|
1701
1679
|
}
|
|
1702
|
-
function
|
|
1680
|
+
function _a(e) {
|
|
1703
1681
|
return /* @__PURE__ */ a(Z.Root, { ...e });
|
|
1704
1682
|
}
|
|
1705
|
-
function
|
|
1683
|
+
function Da({ className: e, ...t }) {
|
|
1706
1684
|
return /* @__PURE__ */ a(
|
|
1707
1685
|
Z.Trigger,
|
|
1708
1686
|
{
|
|
@@ -1712,7 +1690,7 @@ function Aa({ className: e, ...t }) {
|
|
|
1712
1690
|
}
|
|
1713
1691
|
);
|
|
1714
1692
|
}
|
|
1715
|
-
function
|
|
1693
|
+
function Aa({ className: e, ...t }) {
|
|
1716
1694
|
return /* @__PURE__ */ a(
|
|
1717
1695
|
Z.Popup,
|
|
1718
1696
|
{
|
|
@@ -1743,11 +1721,11 @@ function La({ className: e, ...t }) {
|
|
|
1743
1721
|
e
|
|
1744
1722
|
),
|
|
1745
1723
|
...t,
|
|
1746
|
-
children: /* @__PURE__ */ a(
|
|
1724
|
+
children: /* @__PURE__ */ a(Pa, {})
|
|
1747
1725
|
}
|
|
1748
1726
|
);
|
|
1749
1727
|
}
|
|
1750
|
-
function
|
|
1728
|
+
function Ea({
|
|
1751
1729
|
content: e,
|
|
1752
1730
|
children: t,
|
|
1753
1731
|
open: r,
|
|
@@ -1763,14 +1741,14 @@ function Ra({
|
|
|
1763
1741
|
...m
|
|
1764
1742
|
}) {
|
|
1765
1743
|
return /* @__PURE__ */ f(
|
|
1766
|
-
|
|
1744
|
+
_a,
|
|
1767
1745
|
{
|
|
1768
1746
|
open: r,
|
|
1769
1747
|
defaultOpen: o,
|
|
1770
1748
|
onOpenChange: n,
|
|
1771
1749
|
children: [
|
|
1772
1750
|
/* @__PURE__ */ a(
|
|
1773
|
-
|
|
1751
|
+
Da,
|
|
1774
1752
|
{
|
|
1775
1753
|
delay: c,
|
|
1776
1754
|
closeDelay: u,
|
|
@@ -1785,7 +1763,7 @@ function Ra({
|
|
|
1785
1763
|
align: s,
|
|
1786
1764
|
sideOffset: d,
|
|
1787
1765
|
className: "z-float",
|
|
1788
|
-
children: /* @__PURE__ */ f(
|
|
1766
|
+
children: /* @__PURE__ */ f(Aa, { className: p, children: [
|
|
1789
1767
|
/* @__PURE__ */ a(La, { className: h?.arrow }),
|
|
1790
1768
|
e
|
|
1791
1769
|
] })
|
|
@@ -1807,7 +1785,7 @@ function Se({
|
|
|
1807
1785
|
const d = r || o ? /* @__PURE__ */ f(ne, { children: [
|
|
1808
1786
|
i,
|
|
1809
1787
|
r && /* @__PURE__ */ a("span", { "aria-hidden": !0, className: l("text-error", n?.asterisk), children: "*" }),
|
|
1810
|
-
o && /* @__PURE__ */ a(
|
|
1788
|
+
o && /* @__PURE__ */ a(Ea, { content: o, children: /* @__PURE__ */ a(
|
|
1811
1789
|
"button",
|
|
1812
1790
|
{
|
|
1813
1791
|
type: "button",
|
|
@@ -1830,7 +1808,7 @@ function Se({
|
|
|
1830
1808
|
};
|
|
1831
1809
|
return C({
|
|
1832
1810
|
defaultTagName: "label",
|
|
1833
|
-
props:
|
|
1811
|
+
props: T(c, s),
|
|
1834
1812
|
render: t
|
|
1835
1813
|
});
|
|
1836
1814
|
}
|
|
@@ -1839,7 +1817,7 @@ function At({
|
|
|
1839
1817
|
...t
|
|
1840
1818
|
}) {
|
|
1841
1819
|
return /* @__PURE__ */ a(
|
|
1842
|
-
|
|
1820
|
+
Tt.Root,
|
|
1843
1821
|
{
|
|
1844
1822
|
className: l(
|
|
1845
1823
|
"peer relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-[.25rem] border border-input bg-background not-dark:bg-clip-padding shadow-xs/5 outline-none ring-ring transition-shadow",
|
|
@@ -1858,12 +1836,12 @@ function At({
|
|
|
1858
1836
|
}
|
|
1859
1837
|
);
|
|
1860
1838
|
}
|
|
1861
|
-
function
|
|
1839
|
+
function Lt({
|
|
1862
1840
|
className: e,
|
|
1863
1841
|
...t
|
|
1864
1842
|
}) {
|
|
1865
1843
|
return /* @__PURE__ */ a(
|
|
1866
|
-
|
|
1844
|
+
Tt.Indicator,
|
|
1867
1845
|
{
|
|
1868
1846
|
className: l(
|
|
1869
1847
|
"absolute -inset-px flex items-center justify-center rounded-[.25rem] text-primary-foreground",
|
|
@@ -1912,7 +1890,7 @@ const Je = j({
|
|
|
1912
1890
|
controlFirst: !0,
|
|
1913
1891
|
invalid: !1
|
|
1914
1892
|
});
|
|
1915
|
-
function
|
|
1893
|
+
function Ra({
|
|
1916
1894
|
className: e,
|
|
1917
1895
|
classNames: t,
|
|
1918
1896
|
label: r,
|
|
@@ -1930,7 +1908,7 @@ function Fa({
|
|
|
1930
1908
|
className: e,
|
|
1931
1909
|
required: s,
|
|
1932
1910
|
...c,
|
|
1933
|
-
children: /* @__PURE__ */ a(
|
|
1911
|
+
children: /* @__PURE__ */ a(Lt, { className: t?.indicator })
|
|
1934
1912
|
}
|
|
1935
1913
|
);
|
|
1936
1914
|
return h !== void 0 ? /* @__PURE__ */ f(
|
|
@@ -1957,7 +1935,7 @@ function Fa({
|
|
|
1957
1935
|
}
|
|
1958
1936
|
) : m;
|
|
1959
1937
|
}
|
|
1960
|
-
function
|
|
1938
|
+
function Fa({
|
|
1961
1939
|
className: e,
|
|
1962
1940
|
classNames: t,
|
|
1963
1941
|
label: r,
|
|
@@ -1974,25 +1952,25 @@ function Ma({
|
|
|
1974
1952
|
t?.wrapper
|
|
1975
1953
|
),
|
|
1976
1954
|
children: [
|
|
1977
|
-
/* @__PURE__ */ a(At, { id: c, className: e, ...n, children: /* @__PURE__ */ a(
|
|
1955
|
+
/* @__PURE__ */ a(At, { id: c, className: e, ...n, children: /* @__PURE__ */ a(Lt, { className: t?.indicator }) }),
|
|
1978
1956
|
/* @__PURE__ */ a(Se, { htmlFor: c, className: t?.label, children: r })
|
|
1979
1957
|
]
|
|
1980
1958
|
}
|
|
1981
1959
|
) });
|
|
1982
1960
|
}
|
|
1983
|
-
function
|
|
1961
|
+
function Et({
|
|
1984
1962
|
children: e,
|
|
1985
1963
|
className: t
|
|
1986
1964
|
}) {
|
|
1987
1965
|
return /* @__PURE__ */ a(
|
|
1988
|
-
|
|
1966
|
+
Te.Legend,
|
|
1989
1967
|
{
|
|
1990
1968
|
className: l("text-sm font-medium leading-none", t),
|
|
1991
1969
|
children: e
|
|
1992
1970
|
}
|
|
1993
1971
|
);
|
|
1994
1972
|
}
|
|
1995
|
-
function
|
|
1973
|
+
function Ma({
|
|
1996
1974
|
legend: e,
|
|
1997
1975
|
children: t,
|
|
1998
1976
|
error: r,
|
|
@@ -2014,8 +1992,8 @@ function Va({
|
|
|
2014
1992
|
onValueChange: s,
|
|
2015
1993
|
allValues: d,
|
|
2016
1994
|
disabled: c,
|
|
2017
|
-
children: /* @__PURE__ */ f(
|
|
2018
|
-
e && /* @__PURE__ */ a(
|
|
1995
|
+
children: /* @__PURE__ */ f(Te.Root, { className: l("flex flex-col gap-3", p), children: [
|
|
1996
|
+
e && /* @__PURE__ */ a(Et, { className: h?.legend, children: e }),
|
|
2019
1997
|
/* @__PURE__ */ a("div", { className: l("flex flex-col gap-2", h?.items), children: t }),
|
|
2020
1998
|
r && /* @__PURE__ */ a(
|
|
2021
1999
|
"p",
|
|
@@ -2041,19 +2019,19 @@ function Va({
|
|
|
2041
2019
|
}
|
|
2042
2020
|
) });
|
|
2043
2021
|
}
|
|
2044
|
-
const
|
|
2045
|
-
Item:
|
|
2046
|
-
Group:
|
|
2047
|
-
Legend:
|
|
2022
|
+
const Va = Object.assign(Ra, {
|
|
2023
|
+
Item: Fa,
|
|
2024
|
+
Group: Ma,
|
|
2025
|
+
Legend: Et
|
|
2048
2026
|
}), Rt = j(void 0);
|
|
2049
|
-
function
|
|
2027
|
+
function Fs() {
|
|
2050
2028
|
return O(Rt);
|
|
2051
2029
|
}
|
|
2052
2030
|
const Ft = j(!1);
|
|
2053
2031
|
function Mt() {
|
|
2054
2032
|
return O(Ft);
|
|
2055
2033
|
}
|
|
2056
|
-
function
|
|
2034
|
+
function ja({
|
|
2057
2035
|
className: e,
|
|
2058
2036
|
required: t,
|
|
2059
2037
|
name: r,
|
|
@@ -2070,7 +2048,7 @@ function Oa({
|
|
|
2070
2048
|
}
|
|
2071
2049
|
) }) });
|
|
2072
2050
|
}
|
|
2073
|
-
function
|
|
2051
|
+
function Oa({
|
|
2074
2052
|
className: e,
|
|
2075
2053
|
...t
|
|
2076
2054
|
}) {
|
|
@@ -2086,7 +2064,7 @@ function Ga({
|
|
|
2086
2064
|
}
|
|
2087
2065
|
);
|
|
2088
2066
|
}
|
|
2089
|
-
function
|
|
2067
|
+
function Ms({ className: e, ...t }) {
|
|
2090
2068
|
return /* @__PURE__ */ a(
|
|
2091
2069
|
H.Item,
|
|
2092
2070
|
{
|
|
@@ -2096,7 +2074,7 @@ function Vs({ className: e, ...t }) {
|
|
|
2096
2074
|
}
|
|
2097
2075
|
);
|
|
2098
2076
|
}
|
|
2099
|
-
function
|
|
2077
|
+
function Ga({
|
|
2100
2078
|
className: e,
|
|
2101
2079
|
...t
|
|
2102
2080
|
}) {
|
|
@@ -2126,12 +2104,12 @@ function De({
|
|
|
2126
2104
|
);
|
|
2127
2105
|
}
|
|
2128
2106
|
const Vt = H.Control, jt = H.Validity;
|
|
2129
|
-
function
|
|
2107
|
+
function $a({
|
|
2130
2108
|
className: e,
|
|
2131
2109
|
...t
|
|
2132
2110
|
}) {
|
|
2133
2111
|
return /* @__PURE__ */ a(
|
|
2134
|
-
|
|
2112
|
+
Te.Root,
|
|
2135
2113
|
{
|
|
2136
2114
|
className: l("flex flex-col gap-3", e),
|
|
2137
2115
|
"data-slot": "fieldset",
|
|
@@ -2139,12 +2117,12 @@ function Ba({
|
|
|
2139
2117
|
}
|
|
2140
2118
|
);
|
|
2141
2119
|
}
|
|
2142
|
-
function
|
|
2120
|
+
function Ba({
|
|
2143
2121
|
className: e,
|
|
2144
2122
|
...t
|
|
2145
2123
|
}) {
|
|
2146
2124
|
return /* @__PURE__ */ a(
|
|
2147
|
-
|
|
2125
|
+
Te.Legend,
|
|
2148
2126
|
{
|
|
2149
2127
|
className: l("text-sm font-medium leading-none", e),
|
|
2150
2128
|
"data-slot": "fieldset-legend",
|
|
@@ -2152,10 +2130,10 @@ function Ha({
|
|
|
2152
2130
|
}
|
|
2153
2131
|
);
|
|
2154
2132
|
}
|
|
2155
|
-
function
|
|
2133
|
+
function Ha(e) {
|
|
2156
2134
|
return e === void 0 ? [] : typeof e == "string" ? [{ message: e, match: !0 }] : Array.isArray(e) ? e : [e];
|
|
2157
2135
|
}
|
|
2158
|
-
function
|
|
2136
|
+
function Xa({
|
|
2159
2137
|
label: e,
|
|
2160
2138
|
description: t,
|
|
2161
2139
|
error: r,
|
|
@@ -2168,8 +2146,8 @@ function Ka({
|
|
|
2168
2146
|
invalid: u,
|
|
2169
2147
|
...p
|
|
2170
2148
|
}) {
|
|
2171
|
-
const h =
|
|
2172
|
-
|
|
2149
|
+
const h = Ha(r), m = u || h.some((b) => b.match === !0) || void 0, y = e && /* @__PURE__ */ a(
|
|
2150
|
+
Oa,
|
|
2173
2151
|
{
|
|
2174
2152
|
render: n ? /* @__PURE__ */ a(Se, { tooltip: n }) : void 0,
|
|
2175
2153
|
className: c?.label,
|
|
@@ -2177,7 +2155,7 @@ function Ka({
|
|
|
2177
2155
|
}
|
|
2178
2156
|
);
|
|
2179
2157
|
return /* @__PURE__ */ f(
|
|
2180
|
-
|
|
2158
|
+
ja,
|
|
2181
2159
|
{
|
|
2182
2160
|
className: d,
|
|
2183
2161
|
required: o,
|
|
@@ -2191,14 +2169,14 @@ function Ka({
|
|
|
2191
2169
|
y,
|
|
2192
2170
|
s
|
|
2193
2171
|
] }),
|
|
2194
|
-
t && /* @__PURE__ */ a(
|
|
2172
|
+
t && /* @__PURE__ */ a(Ga, { className: c?.description, children: t }),
|
|
2195
2173
|
h.map((b, g) => /* @__PURE__ */ a(De, { match: b.match, className: c?.error, children: b.message }, g)),
|
|
2196
2174
|
!h.some((b) => b.match === void 0) && (h.length === 0 ? /* @__PURE__ */ a(De, { className: c?.error }) : /* @__PURE__ */ a(jt, { children: ({ validity: b, error: g }) => !b.valid && (g === "" || b.customError) ? /* @__PURE__ */ a(De, { className: c?.error }) : null }))
|
|
2197
2175
|
]
|
|
2198
2176
|
}
|
|
2199
2177
|
);
|
|
2200
2178
|
}
|
|
2201
|
-
function
|
|
2179
|
+
function Vs({
|
|
2202
2180
|
className: e,
|
|
2203
2181
|
...t
|
|
2204
2182
|
}) {
|
|
@@ -2211,7 +2189,7 @@ function js({
|
|
|
2211
2189
|
}
|
|
2212
2190
|
);
|
|
2213
2191
|
}
|
|
2214
|
-
function
|
|
2192
|
+
function js({
|
|
2215
2193
|
legend: e,
|
|
2216
2194
|
children: t,
|
|
2217
2195
|
items: r,
|
|
@@ -2231,10 +2209,10 @@ function Os({
|
|
|
2231
2209
|
onValueChange: i,
|
|
2232
2210
|
allValues: s,
|
|
2233
2211
|
disabled: d,
|
|
2234
|
-
children: /* @__PURE__ */ f(
|
|
2235
|
-
e && /* @__PURE__ */ a(
|
|
2212
|
+
children: /* @__PURE__ */ f($a, { className: u, children: [
|
|
2213
|
+
e && /* @__PURE__ */ a(Ba, { children: e }),
|
|
2236
2214
|
/* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: r ? r.map((y) => /* @__PURE__ */ a(
|
|
2237
|
-
|
|
2215
|
+
Va.Item,
|
|
2238
2216
|
{
|
|
2239
2217
|
value: y.value,
|
|
2240
2218
|
label: y.label,
|
|
@@ -2251,13 +2229,13 @@ const Pe = K.createContext({
|
|
|
2251
2229
|
chipsRef: null,
|
|
2252
2230
|
multiple: !1
|
|
2253
2231
|
});
|
|
2254
|
-
function
|
|
2232
|
+
function Ka({
|
|
2255
2233
|
...e
|
|
2256
2234
|
}) {
|
|
2257
2235
|
const t = K.useRef(null);
|
|
2258
2236
|
return /* @__PURE__ */ a(Pe.Provider, { value: { chipsRef: t, multiple: !!e.multiple }, children: /* @__PURE__ */ a(w.Root, { ...e }) });
|
|
2259
2237
|
}
|
|
2260
|
-
function
|
|
2238
|
+
function Ua({
|
|
2261
2239
|
className: e,
|
|
2262
2240
|
...t
|
|
2263
2241
|
}) {
|
|
@@ -2273,7 +2251,7 @@ function Wa({
|
|
|
2273
2251
|
}
|
|
2274
2252
|
);
|
|
2275
2253
|
}
|
|
2276
|
-
function
|
|
2254
|
+
function Wa({
|
|
2277
2255
|
className: e,
|
|
2278
2256
|
showTrigger: t = !0,
|
|
2279
2257
|
showClear: r = !1,
|
|
@@ -2306,7 +2284,7 @@ function Ya({
|
|
|
2306
2284
|
e
|
|
2307
2285
|
),
|
|
2308
2286
|
"data-slot": "combobox-input",
|
|
2309
|
-
render: (d) => /* @__PURE__ */ a(
|
|
2287
|
+
render: (d) => /* @__PURE__ */ a(Wr, { className: "has-disabled:opacity-100", nativeInput: !0, ...d }),
|
|
2310
2288
|
...s
|
|
2311
2289
|
}
|
|
2312
2290
|
),
|
|
@@ -2323,7 +2301,7 @@ function Ya({
|
|
|
2323
2301
|
}
|
|
2324
2302
|
);
|
|
2325
2303
|
}
|
|
2326
|
-
function
|
|
2304
|
+
function Ya({
|
|
2327
2305
|
className: e,
|
|
2328
2306
|
children: t,
|
|
2329
2307
|
...r
|
|
@@ -2338,7 +2316,7 @@ function qa({
|
|
|
2338
2316
|
}
|
|
2339
2317
|
);
|
|
2340
2318
|
}
|
|
2341
|
-
function
|
|
2319
|
+
function Os({
|
|
2342
2320
|
className: e,
|
|
2343
2321
|
placeholder: t,
|
|
2344
2322
|
children: r,
|
|
@@ -2399,7 +2377,7 @@ function Gs({
|
|
|
2399
2377
|
}
|
|
2400
2378
|
);
|
|
2401
2379
|
}
|
|
2402
|
-
function
|
|
2380
|
+
function Gs({
|
|
2403
2381
|
className: e,
|
|
2404
2382
|
...t
|
|
2405
2383
|
}) {
|
|
@@ -2416,7 +2394,7 @@ function $s({
|
|
|
2416
2394
|
}
|
|
2417
2395
|
) });
|
|
2418
2396
|
}
|
|
2419
|
-
function
|
|
2397
|
+
function qa({
|
|
2420
2398
|
className: e,
|
|
2421
2399
|
children: t,
|
|
2422
2400
|
side: r = "bottom",
|
|
@@ -2459,7 +2437,7 @@ function Ja({
|
|
|
2459
2437
|
}
|
|
2460
2438
|
) });
|
|
2461
2439
|
}
|
|
2462
|
-
function
|
|
2440
|
+
function Ja({
|
|
2463
2441
|
className: e,
|
|
2464
2442
|
children: t,
|
|
2465
2443
|
...r
|
|
@@ -2495,7 +2473,7 @@ function Za({
|
|
|
2495
2473
|
}
|
|
2496
2474
|
);
|
|
2497
2475
|
}
|
|
2498
|
-
function
|
|
2476
|
+
function $s({
|
|
2499
2477
|
className: e,
|
|
2500
2478
|
...t
|
|
2501
2479
|
}) {
|
|
@@ -2508,7 +2486,7 @@ function Bs({
|
|
|
2508
2486
|
}
|
|
2509
2487
|
);
|
|
2510
2488
|
}
|
|
2511
|
-
function
|
|
2489
|
+
function Bs({
|
|
2512
2490
|
className: e,
|
|
2513
2491
|
...t
|
|
2514
2492
|
}) {
|
|
@@ -2521,7 +2499,7 @@ function Hs({
|
|
|
2521
2499
|
}
|
|
2522
2500
|
);
|
|
2523
2501
|
}
|
|
2524
|
-
function
|
|
2502
|
+
function Hs({
|
|
2525
2503
|
className: e,
|
|
2526
2504
|
...t
|
|
2527
2505
|
}) {
|
|
@@ -2537,7 +2515,7 @@ function Xs({
|
|
|
2537
2515
|
}
|
|
2538
2516
|
);
|
|
2539
2517
|
}
|
|
2540
|
-
function
|
|
2518
|
+
function Za({
|
|
2541
2519
|
className: e,
|
|
2542
2520
|
...t
|
|
2543
2521
|
}) {
|
|
@@ -2553,7 +2531,7 @@ function Qa({
|
|
|
2553
2531
|
}
|
|
2554
2532
|
);
|
|
2555
2533
|
}
|
|
2556
|
-
function
|
|
2534
|
+
function Xs({
|
|
2557
2535
|
className: e,
|
|
2558
2536
|
...t
|
|
2559
2537
|
}) {
|
|
@@ -2566,12 +2544,12 @@ function Ks({
|
|
|
2566
2544
|
}
|
|
2567
2545
|
);
|
|
2568
2546
|
}
|
|
2569
|
-
function
|
|
2547
|
+
function Qa({
|
|
2570
2548
|
...e
|
|
2571
2549
|
}) {
|
|
2572
2550
|
return /* @__PURE__ */ a(w.Value, { "data-slot": "combobox-value", ...e });
|
|
2573
2551
|
}
|
|
2574
|
-
function
|
|
2552
|
+
function en({
|
|
2575
2553
|
className: e,
|
|
2576
2554
|
...t
|
|
2577
2555
|
}) {
|
|
@@ -2587,7 +2565,7 @@ function tn({
|
|
|
2587
2565
|
}
|
|
2588
2566
|
) });
|
|
2589
2567
|
}
|
|
2590
|
-
function
|
|
2568
|
+
function tn({
|
|
2591
2569
|
className: e,
|
|
2592
2570
|
...t
|
|
2593
2571
|
}) {
|
|
@@ -2609,7 +2587,7 @@ function Ze({
|
|
|
2609
2587
|
}) {
|
|
2610
2588
|
return !e && !t ? null : /* @__PURE__ */ f("div", { className: "text-muted-foreground hover:text-foreground transition-colors", children: [
|
|
2611
2589
|
e && /* @__PURE__ */ a(
|
|
2612
|
-
|
|
2590
|
+
Ya,
|
|
2613
2591
|
{
|
|
2614
2592
|
className: l(
|
|
2615
2593
|
ut,
|
|
@@ -2619,10 +2597,10 @@ function Ze({
|
|
|
2619
2597
|
children: /* @__PURE__ */ a(w.Icon, { "data-slot": "combobox-icon", children: /* @__PURE__ */ a(oe, {}) })
|
|
2620
2598
|
}
|
|
2621
2599
|
),
|
|
2622
|
-
t && /* @__PURE__ */ a(
|
|
2600
|
+
t && /* @__PURE__ */ a(tn, { className: ut, ...o, children: /* @__PURE__ */ a(Ke, {}) })
|
|
2623
2601
|
] });
|
|
2624
2602
|
}
|
|
2625
|
-
function
|
|
2603
|
+
function Ks({
|
|
2626
2604
|
className: e,
|
|
2627
2605
|
...t
|
|
2628
2606
|
}) {
|
|
@@ -2638,10 +2616,10 @@ function Us({
|
|
|
2638
2616
|
}
|
|
2639
2617
|
);
|
|
2640
2618
|
}
|
|
2641
|
-
function
|
|
2619
|
+
function Us(e) {
|
|
2642
2620
|
return /* @__PURE__ */ a(w.Collection, { "data-slot": "combobox-collection", ...e });
|
|
2643
2621
|
}
|
|
2644
|
-
function
|
|
2622
|
+
function rn({
|
|
2645
2623
|
className: e,
|
|
2646
2624
|
children: t,
|
|
2647
2625
|
startAddon: r,
|
|
@@ -2679,7 +2657,7 @@ function an({
|
|
|
2679
2657
|
);
|
|
2680
2658
|
return i ? /* @__PURE__ */ a(H.Validity, { children: ({ validity: d }) => s(d.valid === !1 ? !0 : void 0) }) : s(void 0);
|
|
2681
2659
|
}
|
|
2682
|
-
function
|
|
2660
|
+
function an({
|
|
2683
2661
|
children: e,
|
|
2684
2662
|
removeProps: t,
|
|
2685
2663
|
...r
|
|
@@ -2687,17 +2665,17 @@ function nn({
|
|
|
2687
2665
|
return /* @__PURE__ */ f(
|
|
2688
2666
|
w.Chip,
|
|
2689
2667
|
{
|
|
2690
|
-
className: "flex items-center pl-1 rounded-[calc(var(--radius-md)-1px)] bg-accent font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5",
|
|
2668
|
+
className: "flex my-auto items-center pl-1 rounded-[calc(var(--radius-md)-1px)] bg-accent font-medium text-accent-foreground text-sm outline-none sm:text-xs/(--text-xs--line-height) [&_svg:not([class*='size-'])]:size-4 sm:[&_svg:not([class*='size-'])]:size-3.5 h-6",
|
|
2691
2669
|
"data-slot": "combobox-chip",
|
|
2692
2670
|
...r,
|
|
2693
2671
|
children: [
|
|
2694
2672
|
e,
|
|
2695
|
-
/* @__PURE__ */ a(
|
|
2673
|
+
/* @__PURE__ */ a(nn, { ...t })
|
|
2696
2674
|
]
|
|
2697
2675
|
}
|
|
2698
2676
|
);
|
|
2699
2677
|
}
|
|
2700
|
-
function
|
|
2678
|
+
function nn(e) {
|
|
2701
2679
|
return /* @__PURE__ */ a(
|
|
2702
2680
|
w.ChipRemove,
|
|
2703
2681
|
{
|
|
@@ -2709,18 +2687,18 @@ function on(e) {
|
|
|
2709
2687
|
}
|
|
2710
2688
|
);
|
|
2711
2689
|
}
|
|
2712
|
-
const Ae = 4,
|
|
2690
|
+
const Ae = 4, on = 24, sn = 36, ln = 68;
|
|
2713
2691
|
function pt(e, t) {
|
|
2714
|
-
const r = e -
|
|
2692
|
+
const r = e - on - sn;
|
|
2715
2693
|
let o = 0, n = 0;
|
|
2716
2694
|
for (let i = 0; i < t.length; i++) {
|
|
2717
2695
|
const s = t[i], d = i < t.length - 1;
|
|
2718
|
-
if (o + (i > 0 ? Ae : 0) + s + (d ? Ae +
|
|
2696
|
+
if (o + (i > 0 ? Ae : 0) + s + (d ? Ae + ln : 0) > r) break;
|
|
2719
2697
|
o += (i > 0 ? Ae : 0) + s, n++;
|
|
2720
2698
|
}
|
|
2721
2699
|
return n;
|
|
2722
2700
|
}
|
|
2723
|
-
function
|
|
2701
|
+
function dn(e, t) {
|
|
2724
2702
|
const [r, o] = K.useState(null), n = K.useRef([]), i = r === null || r.items !== e;
|
|
2725
2703
|
return K.useLayoutEffect(() => {
|
|
2726
2704
|
if (!i) return;
|
|
@@ -2749,14 +2727,14 @@ function cn(e, t) {
|
|
|
2749
2727
|
return d.observe(s), () => d.disconnect();
|
|
2750
2728
|
}, [t]), { visibleCount: r?.visible ?? e, isMeasuring: i };
|
|
2751
2729
|
}
|
|
2752
|
-
function
|
|
2730
|
+
function cn({
|
|
2753
2731
|
value: e,
|
|
2754
2732
|
getLabel: t,
|
|
2755
2733
|
getId: r
|
|
2756
2734
|
}) {
|
|
2757
|
-
const { chipsRef: o } = K.useContext(Pe), { visibleCount: n, isMeasuring: i } =
|
|
2735
|
+
const { chipsRef: o } = K.useContext(Pe), { visibleCount: n, isMeasuring: i } = dn(e.length, o), s = i ? e : e.slice(0, n), d = i ? 0 : e.length - n;
|
|
2758
2736
|
return /* @__PURE__ */ f(ne, { children: [
|
|
2759
|
-
s.map((c) => /* @__PURE__ */ a(
|
|
2737
|
+
s.map((c) => /* @__PURE__ */ a(an, { "aria-label": t(c), children: t(c) }, r(c))),
|
|
2760
2738
|
d > 0 && /* @__PURE__ */ f("span", { className: "flex items-center whitespace-nowrap px-1 text-sm text-muted-foreground", children: [
|
|
2761
2739
|
"+",
|
|
2762
2740
|
d,
|
|
@@ -2764,7 +2742,7 @@ function un({
|
|
|
2764
2742
|
] })
|
|
2765
2743
|
] });
|
|
2766
2744
|
}
|
|
2767
|
-
function
|
|
2745
|
+
function un(e) {
|
|
2768
2746
|
if (e == null) return "";
|
|
2769
2747
|
if (typeof e == "string" || typeof e == "number") return String(e);
|
|
2770
2748
|
if (typeof e == "object") {
|
|
@@ -2775,7 +2753,7 @@ function pn(e) {
|
|
|
2775
2753
|
}
|
|
2776
2754
|
return String(e);
|
|
2777
2755
|
}
|
|
2778
|
-
function
|
|
2756
|
+
function pn(e) {
|
|
2779
2757
|
if (e == null) return "";
|
|
2780
2758
|
if (typeof e == "string" || typeof e == "number") return String(e);
|
|
2781
2759
|
if (typeof e == "object") {
|
|
@@ -2785,14 +2763,14 @@ function mn(e) {
|
|
|
2785
2763
|
}
|
|
2786
2764
|
return String(e);
|
|
2787
2765
|
}
|
|
2788
|
-
function
|
|
2766
|
+
function mn({
|
|
2789
2767
|
placeholder: e,
|
|
2790
2768
|
showClear: t,
|
|
2791
2769
|
startAddon: r,
|
|
2792
2770
|
className: o
|
|
2793
2771
|
}) {
|
|
2794
2772
|
return /* @__PURE__ */ a(
|
|
2795
|
-
|
|
2773
|
+
Wa,
|
|
2796
2774
|
{
|
|
2797
2775
|
className: o,
|
|
2798
2776
|
placeholder: e,
|
|
@@ -2801,16 +2779,16 @@ function fn({
|
|
|
2801
2779
|
}
|
|
2802
2780
|
);
|
|
2803
2781
|
}
|
|
2804
|
-
function
|
|
2782
|
+
function fn({
|
|
2805
2783
|
getLabel: e,
|
|
2806
2784
|
getId: t,
|
|
2807
2785
|
showClear: r,
|
|
2808
2786
|
startAddon: o,
|
|
2809
2787
|
className: n
|
|
2810
2788
|
}) {
|
|
2811
|
-
return /* @__PURE__ */ f(
|
|
2812
|
-
/* @__PURE__ */ a(
|
|
2813
|
-
|
|
2789
|
+
return /* @__PURE__ */ f(rn, { className: n, startAddon: o, children: [
|
|
2790
|
+
/* @__PURE__ */ a(Qa, { children: (i) => /* @__PURE__ */ a(
|
|
2791
|
+
cn,
|
|
2814
2792
|
{
|
|
2815
2793
|
value: i,
|
|
2816
2794
|
getLabel: e,
|
|
@@ -2820,7 +2798,7 @@ function gn({
|
|
|
2820
2798
|
/* @__PURE__ */ a(Ze, { showTrigger: !r, showClear: r })
|
|
2821
2799
|
] });
|
|
2822
2800
|
}
|
|
2823
|
-
function
|
|
2801
|
+
function Ws(e) {
|
|
2824
2802
|
const {
|
|
2825
2803
|
items: t,
|
|
2826
2804
|
getLabel: r,
|
|
@@ -2836,9 +2814,9 @@ function Ys(e) {
|
|
|
2836
2814
|
classNames: m,
|
|
2837
2815
|
showClear: y = !0,
|
|
2838
2816
|
...b
|
|
2839
|
-
} = e, g = r ??
|
|
2817
|
+
} = e, g = r ?? un, x = o ?? pn;
|
|
2840
2818
|
return /* @__PURE__ */ f(
|
|
2841
|
-
|
|
2819
|
+
Ka,
|
|
2842
2820
|
{
|
|
2843
2821
|
items: t,
|
|
2844
2822
|
itemToStringLabel: g,
|
|
@@ -2852,7 +2830,7 @@ function Ys(e) {
|
|
|
2852
2830
|
...b,
|
|
2853
2831
|
children: [
|
|
2854
2832
|
d ? /* @__PURE__ */ a(
|
|
2855
|
-
|
|
2833
|
+
fn,
|
|
2856
2834
|
{
|
|
2857
2835
|
getLabel: g,
|
|
2858
2836
|
getId: x,
|
|
@@ -2861,7 +2839,7 @@ function Ys(e) {
|
|
|
2861
2839
|
className: m?.chips
|
|
2862
2840
|
}
|
|
2863
2841
|
) : /* @__PURE__ */ a(
|
|
2864
|
-
|
|
2842
|
+
mn,
|
|
2865
2843
|
{
|
|
2866
2844
|
placeholder: i,
|
|
2867
2845
|
showClear: y,
|
|
@@ -2869,14 +2847,14 @@ function Ys(e) {
|
|
|
2869
2847
|
className: m?.input
|
|
2870
2848
|
}
|
|
2871
2849
|
),
|
|
2872
|
-
/* @__PURE__ */ f(
|
|
2850
|
+
/* @__PURE__ */ f(qa, { className: m?.popup, children: [
|
|
2873
2851
|
d && /* @__PURE__ */ a(
|
|
2874
2852
|
"div",
|
|
2875
2853
|
{
|
|
2876
2854
|
className: "border-b p-2",
|
|
2877
2855
|
"data-slot": "combobox-chips-input-wrapper",
|
|
2878
2856
|
children: /* @__PURE__ */ a(
|
|
2879
|
-
|
|
2857
|
+
Ua,
|
|
2880
2858
|
{
|
|
2881
2859
|
className: m?.chipsInput,
|
|
2882
2860
|
placeholder: i
|
|
@@ -2884,9 +2862,9 @@ function Ys(e) {
|
|
|
2884
2862
|
)
|
|
2885
2863
|
}
|
|
2886
2864
|
),
|
|
2887
|
-
/* @__PURE__ */ a(
|
|
2888
|
-
/* @__PURE__ */ a(
|
|
2889
|
-
|
|
2865
|
+
/* @__PURE__ */ a(Za, { className: m?.empty, children: s }),
|
|
2866
|
+
/* @__PURE__ */ a(en, { className: m?.list, children: (v) => /* @__PURE__ */ a(
|
|
2867
|
+
Ja,
|
|
2890
2868
|
{
|
|
2891
2869
|
value: v,
|
|
2892
2870
|
className: m?.item,
|
|
@@ -2899,13 +2877,13 @@ function Ys(e) {
|
|
|
2899
2877
|
}
|
|
2900
2878
|
);
|
|
2901
2879
|
}
|
|
2902
|
-
const
|
|
2880
|
+
const Ys = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(e, he), ft = (e, t) => {
|
|
2903
2881
|
if (!e) return t;
|
|
2904
2882
|
const { start: r, end: o } = e;
|
|
2905
2883
|
if (!r && !o) return t;
|
|
2906
2884
|
const n = r && ae(r) ? fe(r, he) : "...", i = o && ae(o) ? fe(o, he) : "...";
|
|
2907
2885
|
return `${n} → ${i}`;
|
|
2908
|
-
}, gt = (e, t) => !e || e.length === 0 ? t : e.length === 1 ? fe(e[0], he) : `${e.length} fechas seleccionadas`, de = (e) => ae(e) ? fe(e, he) : "",
|
|
2886
|
+
}, gt = (e, t) => !e || e.length === 0 ? t : e.length === 1 ? fe(e[0], he) : `${e.length} fechas seleccionadas`, de = (e) => ae(e) ? fe(e, he) : "", gn = (e) => {
|
|
2909
2887
|
const t = e.trim();
|
|
2910
2888
|
if (!t) return null;
|
|
2911
2889
|
const r = /^(\d{1,2})\/(\d{1,2})\/(\d{1,4})$/.exec(t);
|
|
@@ -2916,7 +2894,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
2916
2894
|
return null;
|
|
2917
2895
|
const p = new Date(u, d - 1, s);
|
|
2918
2896
|
return p.getFullYear() !== u || p.getMonth() !== d - 1 || p.getDate() !== s ? null : p;
|
|
2919
|
-
},
|
|
2897
|
+
}, hn = (e, t) => {
|
|
2920
2898
|
const r = (t.lastKey === "Backspace" || t.lastKey === "Delete") && e.length < t.previousValue.length, o = e.includes("/"), n = e.trim().endsWith("/");
|
|
2921
2899
|
if ((e.match(/\//g) ?? []).length >= 2) {
|
|
2922
2900
|
const x = e.split("/"), v = (x[0] ?? "").replace(/\D/g, "").slice(0, 2), A = (x[1] ?? "").replace(/\D/g, "").slice(0, 2), M = (x[2] ?? "").replace(/\D/g, "").slice(0, 4);
|
|
@@ -2961,9 +2939,9 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
2961
2939
|
}
|
|
2962
2940
|
const y = `${u}/${m}`, b = !h && m.length === 2 && !r;
|
|
2963
2941
|
return h ? `${y}/${h}` : b ? `${y}/` : y;
|
|
2964
|
-
},
|
|
2942
|
+
}, bn = (e) => {
|
|
2965
2943
|
const { date: t, onDateChange: r, disabledDate: o } = e, [n, i] = z(""), s = R(null), d = R("");
|
|
2966
|
-
|
|
2944
|
+
L(() => {
|
|
2967
2945
|
const b = de(t ?? null);
|
|
2968
2946
|
i(b), d.current = b;
|
|
2969
2947
|
}, [t]);
|
|
@@ -2973,7 +2951,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
2973
2951
|
r(null), i(""), d.current = "";
|
|
2974
2952
|
return;
|
|
2975
2953
|
}
|
|
2976
|
-
const g =
|
|
2954
|
+
const g = gn(b);
|
|
2977
2955
|
if (!g) {
|
|
2978
2956
|
r(null), i(""), d.current = "";
|
|
2979
2957
|
return;
|
|
@@ -2993,7 +2971,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
2993
2971
|
const g = b.target.value, x = {
|
|
2994
2972
|
lastKey: s.current,
|
|
2995
2973
|
previousValue: d.current
|
|
2996
|
-
}, v =
|
|
2974
|
+
}, v = hn(g, x);
|
|
2997
2975
|
i(v), d.current = v;
|
|
2998
2976
|
},
|
|
2999
2977
|
handleBlur: () => {
|
|
@@ -3019,8 +2997,8 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3019
2997
|
i(g), d.current = g;
|
|
3020
2998
|
}
|
|
3021
2999
|
};
|
|
3022
|
-
},
|
|
3023
|
-
const { disabled: t } = e, [r, o] = z(!1), n = R(null), i =
|
|
3000
|
+
}, vn = (e = {}) => {
|
|
3001
|
+
const { disabled: t } = e, [r, o] = z(!1), n = R(null), i = k(
|
|
3024
3002
|
(s) => {
|
|
3025
3003
|
if (!t) {
|
|
3026
3004
|
if (s.key === " " || s.key === "Spacebar") {
|
|
@@ -3040,7 +3018,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3040
3018
|
handleInputKeyDown: i,
|
|
3041
3019
|
inputRef: n
|
|
3042
3020
|
};
|
|
3043
|
-
},
|
|
3021
|
+
}, qs = (e) => {
|
|
3044
3022
|
const {
|
|
3045
3023
|
placeholder: t,
|
|
3046
3024
|
value: r,
|
|
@@ -3064,7 +3042,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3064
3042
|
handleKeyDown: v,
|
|
3065
3043
|
clear: A,
|
|
3066
3044
|
setFromExternalDate: M
|
|
3067
|
-
} =
|
|
3045
|
+
} = bn({
|
|
3068
3046
|
date: m ?? null,
|
|
3069
3047
|
onDateChange: (N) => y(N),
|
|
3070
3048
|
disabledDate: d
|
|
@@ -3073,7 +3051,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3073
3051
|
setOpen: I,
|
|
3074
3052
|
handleInputKeyDown: X,
|
|
3075
3053
|
inputRef: G
|
|
3076
|
-
} =
|
|
3054
|
+
} = vn({ disabled: u }), le = (N) => {
|
|
3077
3055
|
v(N), X(N);
|
|
3078
3056
|
}, q = c?.({
|
|
3079
3057
|
value: m ?? null,
|
|
@@ -3095,7 +3073,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3095
3073
|
{
|
|
3096
3074
|
className: l(
|
|
3097
3075
|
ie,
|
|
3098
|
-
"flex items-center gap-2 h-
|
|
3076
|
+
"flex items-center gap-2 h-8",
|
|
3099
3077
|
"has-[:focus-visible]:border-ring",
|
|
3100
3078
|
"aria-invalid:border-error has-[:focus-visible]:aria-invalid:ring-error/20",
|
|
3101
3079
|
"has-aria-invalid:border-error has-[:focus-visible]:has-aria-invalid:ring-error/20",
|
|
@@ -3156,7 +3134,7 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3156
3134
|
"data-slot": "date-input-content",
|
|
3157
3135
|
children: [
|
|
3158
3136
|
/* @__PURE__ */ a(
|
|
3159
|
-
|
|
3137
|
+
ke,
|
|
3160
3138
|
{
|
|
3161
3139
|
className: "border-none",
|
|
3162
3140
|
mode: "single",
|
|
@@ -3177,8 +3155,8 @@ const qs = w.useFilter, he = "dd/MM/yyyy", mt = (e, t) => !e || !ae(e) ? t : fe(
|
|
|
3177
3155
|
)
|
|
3178
3156
|
] });
|
|
3179
3157
|
};
|
|
3180
|
-
function
|
|
3181
|
-
return e.mode === "range" ? /* @__PURE__ */ a(
|
|
3158
|
+
function Js(e) {
|
|
3159
|
+
return e.mode === "range" ? /* @__PURE__ */ a(yn, { ...e }) : e.mode === "multiple" ? /* @__PURE__ */ a(wn, { ...e }) : /* @__PURE__ */ a(xn, { ...e });
|
|
3182
3160
|
}
|
|
3183
3161
|
const Qe = ({
|
|
3184
3162
|
open: e,
|
|
@@ -3206,7 +3184,7 @@ const Qe = ({
|
|
|
3206
3184
|
disabled: n,
|
|
3207
3185
|
className: l(
|
|
3208
3186
|
ie,
|
|
3209
|
-
"inline-flex items-center gap-2 h-
|
|
3187
|
+
"inline-flex items-center gap-2 h-8 cursor-pointer text-left",
|
|
3210
3188
|
"focus-visible:border-ring",
|
|
3211
3189
|
"aria-invalid:border-error focus-visible:aria-invalid:ring-error/20",
|
|
3212
3190
|
"group-data-[invalid]:border-error focus-visible:group-data-[invalid]:ring-error/20",
|
|
@@ -3261,7 +3239,7 @@ const Qe = ({
|
|
|
3261
3239
|
}
|
|
3262
3240
|
)
|
|
3263
3241
|
] });
|
|
3264
|
-
},
|
|
3242
|
+
}, xn = ({
|
|
3265
3243
|
value: e,
|
|
3266
3244
|
defaultValue: t,
|
|
3267
3245
|
onValueChange: r,
|
|
@@ -3302,7 +3280,7 @@ const Qe = ({
|
|
|
3302
3280
|
formValue: mt(m, ""),
|
|
3303
3281
|
required: u,
|
|
3304
3282
|
children: /* @__PURE__ */ a(
|
|
3305
|
-
|
|
3283
|
+
ke,
|
|
3306
3284
|
{
|
|
3307
3285
|
className: l("border-none", c?.calendar),
|
|
3308
3286
|
mode: "single",
|
|
@@ -3315,7 +3293,7 @@ const Qe = ({
|
|
|
3315
3293
|
)
|
|
3316
3294
|
}
|
|
3317
3295
|
);
|
|
3318
|
-
}, Ce = { start: null, end: null },
|
|
3296
|
+
}, Ce = { start: null, end: null }, yn = ({
|
|
3319
3297
|
value: e,
|
|
3320
3298
|
defaultValue: t,
|
|
3321
3299
|
onValueChange: r,
|
|
@@ -3358,7 +3336,7 @@ const Qe = ({
|
|
|
3358
3336
|
),
|
|
3359
3337
|
required: u,
|
|
3360
3338
|
children: /* @__PURE__ */ a(
|
|
3361
|
-
|
|
3339
|
+
ke,
|
|
3362
3340
|
{
|
|
3363
3341
|
className: l("border-none", c?.calendar),
|
|
3364
3342
|
mode: "range",
|
|
@@ -3374,7 +3352,7 @@ const Qe = ({
|
|
|
3374
3352
|
)
|
|
3375
3353
|
}
|
|
3376
3354
|
);
|
|
3377
|
-
},
|
|
3355
|
+
}, wn = ({
|
|
3378
3356
|
value: e,
|
|
3379
3357
|
defaultValue: t,
|
|
3380
3358
|
onValueChange: r,
|
|
@@ -3411,7 +3389,7 @@ const Qe = ({
|
|
|
3411
3389
|
formValue: gt(m, ""),
|
|
3412
3390
|
required: u,
|
|
3413
3391
|
children: /* @__PURE__ */ a(
|
|
3414
|
-
|
|
3392
|
+
ke,
|
|
3415
3393
|
{
|
|
3416
3394
|
className: l("border-none", c?.calendar),
|
|
3417
3395
|
mode: "multiple",
|
|
@@ -3425,10 +3403,10 @@ const Qe = ({
|
|
|
3425
3403
|
}
|
|
3426
3404
|
);
|
|
3427
3405
|
};
|
|
3428
|
-
function
|
|
3406
|
+
function Nn(e) {
|
|
3429
3407
|
return /* @__PURE__ */ a(B.Root, { ...e });
|
|
3430
3408
|
}
|
|
3431
|
-
function
|
|
3409
|
+
function Cn({
|
|
3432
3410
|
className: e,
|
|
3433
3411
|
...t
|
|
3434
3412
|
}) {
|
|
@@ -3441,7 +3419,7 @@ function zn({
|
|
|
3441
3419
|
}
|
|
3442
3420
|
);
|
|
3443
3421
|
}
|
|
3444
|
-
function
|
|
3422
|
+
function zn({
|
|
3445
3423
|
className: e,
|
|
3446
3424
|
...t
|
|
3447
3425
|
}) {
|
|
@@ -3476,7 +3454,7 @@ function Tn({
|
|
|
3476
3454
|
}
|
|
3477
3455
|
);
|
|
3478
3456
|
}
|
|
3479
|
-
function
|
|
3457
|
+
function kn({
|
|
3480
3458
|
className: e,
|
|
3481
3459
|
classNames: t,
|
|
3482
3460
|
children: r,
|
|
@@ -3485,7 +3463,7 @@ function Sn({
|
|
|
3485
3463
|
...i
|
|
3486
3464
|
}) {
|
|
3487
3465
|
return /* @__PURE__ */ f(B.Portal, { ...n, children: [
|
|
3488
|
-
/* @__PURE__ */ a(
|
|
3466
|
+
/* @__PURE__ */ a(zn, { className: t?.backdrop }),
|
|
3489
3467
|
/* @__PURE__ */ a(Tn, { className: t?.viewport, children: /* @__PURE__ */ f(
|
|
3490
3468
|
B.Popup,
|
|
3491
3469
|
{
|
|
@@ -3514,7 +3492,7 @@ function Sn({
|
|
|
3514
3492
|
) })
|
|
3515
3493
|
] });
|
|
3516
3494
|
}
|
|
3517
|
-
function
|
|
3495
|
+
function Zs({ className: e, ...t }) {
|
|
3518
3496
|
return /* @__PURE__ */ a(
|
|
3519
3497
|
B.Close,
|
|
3520
3498
|
{
|
|
@@ -3524,7 +3502,7 @@ function Qs({ className: e, ...t }) {
|
|
|
3524
3502
|
}
|
|
3525
3503
|
);
|
|
3526
3504
|
}
|
|
3527
|
-
function
|
|
3505
|
+
function Sn({ className: e, ...t }) {
|
|
3528
3506
|
return /* @__PURE__ */ a(
|
|
3529
3507
|
B.Title,
|
|
3530
3508
|
{
|
|
@@ -3537,7 +3515,7 @@ function Pn({ className: e, ...t }) {
|
|
|
3537
3515
|
}
|
|
3538
3516
|
);
|
|
3539
3517
|
}
|
|
3540
|
-
function
|
|
3518
|
+
function Pn({
|
|
3541
3519
|
className: e,
|
|
3542
3520
|
...t
|
|
3543
3521
|
}) {
|
|
@@ -3550,7 +3528,7 @@ function In({
|
|
|
3550
3528
|
}
|
|
3551
3529
|
);
|
|
3552
3530
|
}
|
|
3553
|
-
function
|
|
3531
|
+
function In({
|
|
3554
3532
|
className: e,
|
|
3555
3533
|
...t
|
|
3556
3534
|
}) {
|
|
@@ -3563,7 +3541,7 @@ function _n({
|
|
|
3563
3541
|
}
|
|
3564
3542
|
);
|
|
3565
3543
|
}
|
|
3566
|
-
function
|
|
3544
|
+
function _n({
|
|
3567
3545
|
className: e,
|
|
3568
3546
|
...t
|
|
3569
3547
|
}) {
|
|
@@ -3579,7 +3557,7 @@ function Dn({
|
|
|
3579
3557
|
}
|
|
3580
3558
|
);
|
|
3581
3559
|
}
|
|
3582
|
-
function
|
|
3560
|
+
function Qs({
|
|
3583
3561
|
trigger: e,
|
|
3584
3562
|
title: t,
|
|
3585
3563
|
description: r,
|
|
@@ -3593,16 +3571,16 @@ function el({
|
|
|
3593
3571
|
...p
|
|
3594
3572
|
}) {
|
|
3595
3573
|
return /* @__PURE__ */ f(
|
|
3596
|
-
|
|
3574
|
+
Nn,
|
|
3597
3575
|
{
|
|
3598
3576
|
onOpenChange: (h, m) => {
|
|
3599
3577
|
h || i?.(), u?.(h, m);
|
|
3600
3578
|
},
|
|
3601
3579
|
...p,
|
|
3602
3580
|
children: [
|
|
3603
|
-
e && /* @__PURE__ */ a(
|
|
3581
|
+
e && /* @__PURE__ */ a(Cn, { render: e }),
|
|
3604
3582
|
/* @__PURE__ */ f(
|
|
3605
|
-
|
|
3583
|
+
kn,
|
|
3606
3584
|
{
|
|
3607
3585
|
className: d,
|
|
3608
3586
|
hideClose: s,
|
|
@@ -3612,12 +3590,12 @@ function el({
|
|
|
3612
3590
|
closeButton: c?.closeButton
|
|
3613
3591
|
},
|
|
3614
3592
|
children: [
|
|
3615
|
-
(t || r) && /* @__PURE__ */ f(
|
|
3616
|
-
t && /* @__PURE__ */ a(
|
|
3617
|
-
r && /* @__PURE__ */ a(
|
|
3593
|
+
(t || r) && /* @__PURE__ */ f(In, { className: c?.header, children: [
|
|
3594
|
+
t && /* @__PURE__ */ a(Sn, { className: c?.title, children: t }),
|
|
3595
|
+
r && /* @__PURE__ */ a(Pn, { className: c?.description, children: r })
|
|
3618
3596
|
] }),
|
|
3619
3597
|
o,
|
|
3620
|
-
n && /* @__PURE__ */ a(
|
|
3598
|
+
n && /* @__PURE__ */ a(_n, { className: c?.footer, children: n })
|
|
3621
3599
|
]
|
|
3622
3600
|
}
|
|
3623
3601
|
)
|
|
@@ -3625,15 +3603,15 @@ function el({
|
|
|
3625
3603
|
}
|
|
3626
3604
|
);
|
|
3627
3605
|
}
|
|
3628
|
-
function
|
|
3606
|
+
function el({
|
|
3629
3607
|
className: e,
|
|
3630
3608
|
orientation: t = "horizontal",
|
|
3631
3609
|
...r
|
|
3632
3610
|
}) {
|
|
3633
3611
|
return /* @__PURE__ */ a(
|
|
3634
|
-
|
|
3612
|
+
Nr,
|
|
3635
3613
|
{
|
|
3636
|
-
className:
|
|
3614
|
+
className: Cr(
|
|
3637
3615
|
"shrink-0 bg-input data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch",
|
|
3638
3616
|
e
|
|
3639
3617
|
),
|
|
@@ -3643,12 +3621,12 @@ function tl({
|
|
|
3643
3621
|
}
|
|
3644
3622
|
);
|
|
3645
3623
|
}
|
|
3646
|
-
const
|
|
3624
|
+
const Dn = {
|
|
3647
3625
|
"file-too-large": "FILE_TOO_LARGE",
|
|
3648
3626
|
"too-many-files": "MAX_FILES_EXCEEDED",
|
|
3649
3627
|
"file-invalid-type": "INVALID_EXTENSION"
|
|
3650
3628
|
};
|
|
3651
|
-
function
|
|
3629
|
+
function An(e) {
|
|
3652
3630
|
const t = [], r = [];
|
|
3653
3631
|
for (const { file: o, errors: n } of e) {
|
|
3654
3632
|
t.push(o);
|
|
@@ -3656,7 +3634,7 @@ function En(e) {
|
|
|
3656
3634
|
r.push({
|
|
3657
3635
|
file: o,
|
|
3658
3636
|
errorMessage: i.message,
|
|
3659
|
-
errorCode:
|
|
3637
|
+
errorCode: Dn[i.code] ?? "INVALID_EXTENSION"
|
|
3660
3638
|
});
|
|
3661
3639
|
}
|
|
3662
3640
|
return [t, r];
|
|
@@ -3671,7 +3649,7 @@ function et() {
|
|
|
3671
3649
|
if (!e) throw new Error("useDropzoneCtx must be used within DropzoneRoot");
|
|
3672
3650
|
return e;
|
|
3673
3651
|
}
|
|
3674
|
-
function
|
|
3652
|
+
function En({
|
|
3675
3653
|
onFileAdd: e,
|
|
3676
3654
|
onFileRemove: t,
|
|
3677
3655
|
onFilesChange: r,
|
|
@@ -3685,22 +3663,22 @@ function Rn({
|
|
|
3685
3663
|
className: p,
|
|
3686
3664
|
...h
|
|
3687
3665
|
}) {
|
|
3688
|
-
const m = o !== void 0, [y, b] = z([]), [g, x] = z([]), v = m ? o : y, A = (
|
|
3689
|
-
m || b(
|
|
3690
|
-
}, M = i.length > 0 ? Object.fromEntries(i.map((
|
|
3691
|
-
onDrop(
|
|
3692
|
-
const [N, J] =
|
|
3693
|
-
A([...v, ...
|
|
3666
|
+
const m = o !== void 0, [y, b] = z([]), [g, x] = z([]), v = m ? o : y, A = (E) => {
|
|
3667
|
+
m || b(E), r?.(E);
|
|
3668
|
+
}, M = i.length > 0 ? Object.fromEntries(i.map((E) => [E, []])) : void 0, { getRootProps: ye, getInputProps: I, isDragActive: X, open: G } = zr({
|
|
3669
|
+
onDrop(E, q) {
|
|
3670
|
+
const [N, J] = An(q);
|
|
3671
|
+
A([...v, ...E]), x((er) => [...er, ...N]), e?.(E), J.length > 0 && c?.(J);
|
|
3694
3672
|
},
|
|
3695
3673
|
accept: M,
|
|
3696
3674
|
maxFiles: n,
|
|
3697
3675
|
maxSize: s,
|
|
3698
3676
|
multiple: d ?? n > 1,
|
|
3699
3677
|
noClick: !0
|
|
3700
|
-
}), le = (
|
|
3701
|
-
A(v.filter((q, N) => N !==
|
|
3702
|
-
}, we = (
|
|
3703
|
-
x((q) => q.filter((N, J) => J !==
|
|
3678
|
+
}), le = (E) => {
|
|
3679
|
+
A(v.filter((q, N) => N !== E)), t?.(E, "accepted");
|
|
3680
|
+
}, we = (E) => {
|
|
3681
|
+
x((q) => q.filter((N, J) => J !== E)), t?.(E, "rejected");
|
|
3704
3682
|
};
|
|
3705
3683
|
return /* @__PURE__ */ a(
|
|
3706
3684
|
Ot.Provider,
|
|
@@ -3719,7 +3697,7 @@ function Rn({
|
|
|
3719
3697
|
}
|
|
3720
3698
|
);
|
|
3721
3699
|
}
|
|
3722
|
-
function
|
|
3700
|
+
function Rn({
|
|
3723
3701
|
render: e,
|
|
3724
3702
|
className: t,
|
|
3725
3703
|
onClick: r,
|
|
@@ -3753,7 +3731,7 @@ function Fn({
|
|
|
3753
3731
|
)
|
|
3754
3732
|
] });
|
|
3755
3733
|
}
|
|
3756
|
-
function
|
|
3734
|
+
function Fn({
|
|
3757
3735
|
className: e,
|
|
3758
3736
|
...t
|
|
3759
3737
|
}) {
|
|
@@ -3766,7 +3744,7 @@ function Mn({
|
|
|
3766
3744
|
}
|
|
3767
3745
|
);
|
|
3768
3746
|
}
|
|
3769
|
-
function
|
|
3747
|
+
function Mn({
|
|
3770
3748
|
file: e,
|
|
3771
3749
|
onRemove: t,
|
|
3772
3750
|
className: r,
|
|
@@ -3808,7 +3786,7 @@ function Gt({
|
|
|
3808
3786
|
// biome-ignore lint/suspicious/noArrayIndexKey: file name not unique
|
|
3809
3787
|
/* @__PURE__ */ a("div", { children: r(o, () => t(n)) }, n)
|
|
3810
3788
|
) : /* @__PURE__ */ a(
|
|
3811
|
-
|
|
3789
|
+
Mn,
|
|
3812
3790
|
{
|
|
3813
3791
|
file: o,
|
|
3814
3792
|
onRemove: () => t(n)
|
|
@@ -3817,7 +3795,7 @@ function Gt({
|
|
|
3817
3795
|
)
|
|
3818
3796
|
) });
|
|
3819
3797
|
}
|
|
3820
|
-
function
|
|
3798
|
+
function Vn(e) {
|
|
3821
3799
|
const { acceptedFiles: t, removeAccepted: r } = et();
|
|
3822
3800
|
return /* @__PURE__ */ a(
|
|
3823
3801
|
Gt,
|
|
@@ -3828,7 +3806,7 @@ function jn(e) {
|
|
|
3828
3806
|
}
|
|
3829
3807
|
);
|
|
3830
3808
|
}
|
|
3831
|
-
function
|
|
3809
|
+
function jn(e) {
|
|
3832
3810
|
const { rejectedFiles: t, removeRejected: r } = et();
|
|
3833
3811
|
return /* @__PURE__ */ a(
|
|
3834
3812
|
Gt,
|
|
@@ -3839,7 +3817,7 @@ function On(e) {
|
|
|
3839
3817
|
}
|
|
3840
3818
|
);
|
|
3841
3819
|
}
|
|
3842
|
-
function
|
|
3820
|
+
function tl({
|
|
3843
3821
|
onFileAdd: e,
|
|
3844
3822
|
onFileRemove: t,
|
|
3845
3823
|
onFilesChange: r,
|
|
@@ -3853,7 +3831,7 @@ function rl({
|
|
|
3853
3831
|
showRejected: p = !1,
|
|
3854
3832
|
className: h,
|
|
3855
3833
|
classNames: m,
|
|
3856
|
-
icon: y =
|
|
3834
|
+
icon: y = ar,
|
|
3857
3835
|
iconSize: b = 40,
|
|
3858
3836
|
onError: g,
|
|
3859
3837
|
label: x = "Arrastra y suelta archivos aquí o haz clic para seleccionar",
|
|
@@ -3861,7 +3839,7 @@ function rl({
|
|
|
3861
3839
|
}) {
|
|
3862
3840
|
const A = i.map(Ln).join(", ");
|
|
3863
3841
|
return /* @__PURE__ */ f(
|
|
3864
|
-
|
|
3842
|
+
En,
|
|
3865
3843
|
{
|
|
3866
3844
|
onFileAdd: e,
|
|
3867
3845
|
onFileRemove: t,
|
|
@@ -3876,7 +3854,7 @@ function rl({
|
|
|
3876
3854
|
...v,
|
|
3877
3855
|
children: [
|
|
3878
3856
|
/* @__PURE__ */ a(
|
|
3879
|
-
|
|
3857
|
+
Rn,
|
|
3880
3858
|
{
|
|
3881
3859
|
render: /* @__PURE__ */ f(
|
|
3882
3860
|
"div",
|
|
@@ -3921,9 +3899,9 @@ function rl({
|
|
|
3921
3899
|
)
|
|
3922
3900
|
}
|
|
3923
3901
|
),
|
|
3924
|
-
/* @__PURE__ */ f(
|
|
3925
|
-
/* @__PURE__ */ a(
|
|
3926
|
-
p && /* @__PURE__ */ a(
|
|
3902
|
+
/* @__PURE__ */ f(Fn, { className: m?.content, children: [
|
|
3903
|
+
/* @__PURE__ */ a(Vn, { renderFile: c }),
|
|
3904
|
+
p && /* @__PURE__ */ a(jn, { renderFile: u })
|
|
3927
3905
|
] })
|
|
3928
3906
|
]
|
|
3929
3907
|
}
|
|
@@ -3960,7 +3938,7 @@ const P = {
|
|
|
3960
3938
|
// Otros
|
|
3961
3939
|
JSON: "application/json",
|
|
3962
3940
|
XML: "application/xml"
|
|
3963
|
-
},
|
|
3941
|
+
}, rl = {
|
|
3964
3942
|
IMAGES: [
|
|
3965
3943
|
P.JPEG,
|
|
3966
3944
|
P.JPG,
|
|
@@ -3981,7 +3959,7 @@ const P = {
|
|
|
3981
3959
|
COMPRESSED: [P.ZIP, P.RAR],
|
|
3982
3960
|
AUDIO: [P.MP3, P.WAV],
|
|
3983
3961
|
VIDEO: [P.MP4, P.WEBM]
|
|
3984
|
-
},
|
|
3962
|
+
}, On = ee(
|
|
3985
3963
|
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3986
3964
|
{
|
|
3987
3965
|
variants: {
|
|
@@ -3995,7 +3973,7 @@ const P = {
|
|
|
3995
3973
|
}
|
|
3996
3974
|
}
|
|
3997
3975
|
);
|
|
3998
|
-
function
|
|
3976
|
+
function Gn({ className: e, ...t }) {
|
|
3999
3977
|
return /* @__PURE__ */ a(
|
|
4000
3978
|
"div",
|
|
4001
3979
|
{
|
|
@@ -4008,7 +3986,7 @@ function $n({ className: e, ...t }) {
|
|
|
4008
3986
|
}
|
|
4009
3987
|
);
|
|
4010
3988
|
}
|
|
4011
|
-
function
|
|
3989
|
+
function $n({ className: e, ...t }) {
|
|
4012
3990
|
return /* @__PURE__ */ a(
|
|
4013
3991
|
"div",
|
|
4014
3992
|
{
|
|
@@ -4018,7 +3996,7 @@ function Bn({ className: e, ...t }) {
|
|
|
4018
3996
|
}
|
|
4019
3997
|
);
|
|
4020
3998
|
}
|
|
4021
|
-
function
|
|
3999
|
+
function Bn({
|
|
4022
4000
|
className: e,
|
|
4023
4001
|
variant: t,
|
|
4024
4002
|
...r
|
|
@@ -4026,14 +4004,14 @@ function Hn({
|
|
|
4026
4004
|
return /* @__PURE__ */ a(
|
|
4027
4005
|
"div",
|
|
4028
4006
|
{
|
|
4029
|
-
className: l(
|
|
4007
|
+
className: l(On({ variant: t }), e),
|
|
4030
4008
|
"data-slot": "empty-media",
|
|
4031
4009
|
"data-variant": t ?? "default",
|
|
4032
4010
|
...r
|
|
4033
4011
|
}
|
|
4034
4012
|
);
|
|
4035
4013
|
}
|
|
4036
|
-
function
|
|
4014
|
+
function Hn({ className: e, ...t }) {
|
|
4037
4015
|
return /* @__PURE__ */ a(
|
|
4038
4016
|
"div",
|
|
4039
4017
|
{
|
|
@@ -4046,7 +4024,7 @@ function Xn({ className: e, ...t }) {
|
|
|
4046
4024
|
}
|
|
4047
4025
|
);
|
|
4048
4026
|
}
|
|
4049
|
-
function
|
|
4027
|
+
function Xn({
|
|
4050
4028
|
className: e,
|
|
4051
4029
|
...t
|
|
4052
4030
|
}) {
|
|
@@ -4062,7 +4040,7 @@ function Kn({
|
|
|
4062
4040
|
}
|
|
4063
4041
|
);
|
|
4064
4042
|
}
|
|
4065
|
-
function
|
|
4043
|
+
function Kn({ className: e, ...t }) {
|
|
4066
4044
|
return /* @__PURE__ */ a(
|
|
4067
4045
|
"div",
|
|
4068
4046
|
{
|
|
@@ -4075,8 +4053,8 @@ function Un({ className: e, ...t }) {
|
|
|
4075
4053
|
}
|
|
4076
4054
|
);
|
|
4077
4055
|
}
|
|
4078
|
-
function
|
|
4079
|
-
icon: e = /* @__PURE__ */ a(
|
|
4056
|
+
function al({
|
|
4057
|
+
icon: e = /* @__PURE__ */ a(nr, {}),
|
|
4080
4058
|
iconVariant: t = "default",
|
|
4081
4059
|
title: r = "No hay datos",
|
|
4082
4060
|
description: o,
|
|
@@ -4085,20 +4063,20 @@ function nl({
|
|
|
4085
4063
|
classNames: s,
|
|
4086
4064
|
...d
|
|
4087
4065
|
}) {
|
|
4088
|
-
return /* @__PURE__ */ f(
|
|
4089
|
-
/* @__PURE__ */ f(
|
|
4090
|
-
e && /* @__PURE__ */ a(
|
|
4091
|
-
r && /* @__PURE__ */ a(
|
|
4092
|
-
o && /* @__PURE__ */ a(
|
|
4066
|
+
return /* @__PURE__ */ f(Gn, { ...d, children: [
|
|
4067
|
+
/* @__PURE__ */ f($n, { className: s?.header, children: [
|
|
4068
|
+
e && /* @__PURE__ */ a(Bn, { variant: t, className: s?.media, children: e }),
|
|
4069
|
+
r && /* @__PURE__ */ a(Hn, { className: s?.title, children: r }),
|
|
4070
|
+
o && /* @__PURE__ */ a(Xn, { className: s?.description, children: o })
|
|
4093
4071
|
] }),
|
|
4094
|
-
n != null && /* @__PURE__ */ a(
|
|
4072
|
+
n != null && /* @__PURE__ */ a(Kn, { className: s?.content, children: n }),
|
|
4095
4073
|
i
|
|
4096
4074
|
] });
|
|
4097
4075
|
}
|
|
4098
|
-
function
|
|
4076
|
+
function Un(e) {
|
|
4099
4077
|
return /* @__PURE__ */ a(Tr, { "data-slot": "form", ...e });
|
|
4100
4078
|
}
|
|
4101
|
-
function
|
|
4079
|
+
function nl({
|
|
4102
4080
|
className: e,
|
|
4103
4081
|
...t
|
|
4104
4082
|
}) {
|
|
@@ -4114,7 +4092,7 @@ function ol({
|
|
|
4114
4092
|
}
|
|
4115
4093
|
);
|
|
4116
4094
|
}
|
|
4117
|
-
function
|
|
4095
|
+
function ol({
|
|
4118
4096
|
className: e,
|
|
4119
4097
|
...t
|
|
4120
4098
|
}) {
|
|
@@ -4127,7 +4105,7 @@ function il({
|
|
|
4127
4105
|
}
|
|
4128
4106
|
);
|
|
4129
4107
|
}
|
|
4130
|
-
const
|
|
4108
|
+
const Wn = ee("animate-spin", {
|
|
4131
4109
|
variants: {
|
|
4132
4110
|
variant: {
|
|
4133
4111
|
primary: "text-primary",
|
|
@@ -4150,7 +4128,7 @@ const Yn = ee("animate-spin", {
|
|
|
4150
4128
|
variant: "primary",
|
|
4151
4129
|
size: "default"
|
|
4152
4130
|
}
|
|
4153
|
-
}),
|
|
4131
|
+
}), il = ({
|
|
4154
4132
|
center: e,
|
|
4155
4133
|
classNames: t,
|
|
4156
4134
|
variant: r,
|
|
@@ -4169,18 +4147,18 @@ const Yn = ee("animate-spin", {
|
|
|
4169
4147
|
{
|
|
4170
4148
|
"data-slot": "loader-icon",
|
|
4171
4149
|
...n,
|
|
4172
|
-
className: l(
|
|
4150
|
+
className: l(Wn({ variant: r, size: o }), n.className)
|
|
4173
4151
|
}
|
|
4174
4152
|
)
|
|
4175
4153
|
}
|
|
4176
4154
|
);
|
|
4177
|
-
function
|
|
4155
|
+
function Yn({ ...e }) {
|
|
4178
4156
|
return /* @__PURE__ */ a(D.Root, { "data-slot": "menu", ...e });
|
|
4179
4157
|
}
|
|
4180
|
-
function
|
|
4158
|
+
function sl({ ...e }) {
|
|
4181
4159
|
return /* @__PURE__ */ a(D.Portal, { "data-slot": "menu-portal", ...e });
|
|
4182
4160
|
}
|
|
4183
|
-
function
|
|
4161
|
+
function qn({ ...e }) {
|
|
4184
4162
|
return /* @__PURE__ */ a(D.Trigger, { "data-slot": "menu-trigger", ...e });
|
|
4185
4163
|
}
|
|
4186
4164
|
function $t({
|
|
@@ -4234,7 +4212,7 @@ function bt({
|
|
|
4234
4212
|
}
|
|
4235
4213
|
);
|
|
4236
4214
|
}
|
|
4237
|
-
function
|
|
4215
|
+
function Jn({
|
|
4238
4216
|
className: e,
|
|
4239
4217
|
inset: t,
|
|
4240
4218
|
variant: r = "default",
|
|
@@ -4254,10 +4232,10 @@ function Zn({
|
|
|
4254
4232
|
}
|
|
4255
4233
|
);
|
|
4256
4234
|
}
|
|
4257
|
-
function
|
|
4235
|
+
function Zn({ ...e }) {
|
|
4258
4236
|
return /* @__PURE__ */ a(D.SubmenuRoot, { "data-slot": "menu-sub", ...e });
|
|
4259
4237
|
}
|
|
4260
|
-
function
|
|
4238
|
+
function Qn({
|
|
4261
4239
|
className: e,
|
|
4262
4240
|
inset: t,
|
|
4263
4241
|
children: r,
|
|
@@ -4280,7 +4258,7 @@ function eo({
|
|
|
4280
4258
|
}
|
|
4281
4259
|
);
|
|
4282
4260
|
}
|
|
4283
|
-
function
|
|
4261
|
+
function eo({
|
|
4284
4262
|
align: e = "start",
|
|
4285
4263
|
alignOffset: t = -3,
|
|
4286
4264
|
side: r = "right",
|
|
@@ -4304,7 +4282,7 @@ function to({
|
|
|
4304
4282
|
}
|
|
4305
4283
|
);
|
|
4306
4284
|
}
|
|
4307
|
-
function
|
|
4285
|
+
function to({
|
|
4308
4286
|
className: e,
|
|
4309
4287
|
children: t,
|
|
4310
4288
|
checked: r,
|
|
@@ -4336,10 +4314,10 @@ function ro({
|
|
|
4336
4314
|
}
|
|
4337
4315
|
);
|
|
4338
4316
|
}
|
|
4339
|
-
function
|
|
4317
|
+
function ro({ ...e }) {
|
|
4340
4318
|
return /* @__PURE__ */ a(D.RadioGroup, { "data-slot": "menu-radio-group", ...e });
|
|
4341
4319
|
}
|
|
4342
|
-
function
|
|
4320
|
+
function ao({
|
|
4343
4321
|
className: e,
|
|
4344
4322
|
children: t,
|
|
4345
4323
|
inset: r,
|
|
@@ -4369,7 +4347,7 @@ function no({
|
|
|
4369
4347
|
}
|
|
4370
4348
|
);
|
|
4371
4349
|
}
|
|
4372
|
-
function
|
|
4350
|
+
function no({ className: e, ...t }) {
|
|
4373
4351
|
return /* @__PURE__ */ a(
|
|
4374
4352
|
D.Separator,
|
|
4375
4353
|
{
|
|
@@ -4379,7 +4357,7 @@ function oo({ className: e, ...t }) {
|
|
|
4379
4357
|
}
|
|
4380
4358
|
);
|
|
4381
4359
|
}
|
|
4382
|
-
function
|
|
4360
|
+
function Le({ className: e, ...t }) {
|
|
4383
4361
|
return /* @__PURE__ */ a(
|
|
4384
4362
|
"span",
|
|
4385
4363
|
{
|
|
@@ -4396,29 +4374,29 @@ function ze(e, t) {
|
|
|
4396
4374
|
switch (e.type) {
|
|
4397
4375
|
case "item": {
|
|
4398
4376
|
const { type: r, label: o, shortcut: n, ...i } = e;
|
|
4399
|
-
return /* @__PURE__ */ f(
|
|
4377
|
+
return /* @__PURE__ */ f(Jn, { ...i, children: [
|
|
4400
4378
|
o,
|
|
4401
|
-
n && /* @__PURE__ */ a(
|
|
4379
|
+
n && /* @__PURE__ */ a(Le, { children: n })
|
|
4402
4380
|
] }, t);
|
|
4403
4381
|
}
|
|
4404
4382
|
case "checkbox": {
|
|
4405
4383
|
const { type: r, label: o, shortcut: n, ...i } = e;
|
|
4406
|
-
return /* @__PURE__ */ f(
|
|
4384
|
+
return /* @__PURE__ */ f(to, { ...i, children: [
|
|
4407
4385
|
o,
|
|
4408
|
-
n && /* @__PURE__ */ a(
|
|
4386
|
+
n && /* @__PURE__ */ a(Le, { children: n })
|
|
4409
4387
|
] }, t);
|
|
4410
4388
|
}
|
|
4411
4389
|
case "radio": {
|
|
4412
4390
|
const { type: r, label: o, shortcut: n, ...i } = e;
|
|
4413
|
-
return /* @__PURE__ */ f(
|
|
4391
|
+
return /* @__PURE__ */ f(ao, { ...i, children: [
|
|
4414
4392
|
o,
|
|
4415
|
-
n && /* @__PURE__ */ a(
|
|
4393
|
+
n && /* @__PURE__ */ a(Le, { children: n })
|
|
4416
4394
|
] }, t);
|
|
4417
4395
|
}
|
|
4418
4396
|
case "radio-group": {
|
|
4419
4397
|
const { type: r, value: o, onValueChange: n, items: i } = e;
|
|
4420
4398
|
return /* @__PURE__ */ a(
|
|
4421
|
-
|
|
4399
|
+
ro,
|
|
4422
4400
|
{
|
|
4423
4401
|
value: o,
|
|
4424
4402
|
onValueChange: n,
|
|
@@ -4433,7 +4411,7 @@ function ze(e, t) {
|
|
|
4433
4411
|
}
|
|
4434
4412
|
case "separator": {
|
|
4435
4413
|
const { type: r, ...o } = e;
|
|
4436
|
-
return /* @__PURE__ */ a(
|
|
4414
|
+
return /* @__PURE__ */ a(no, { ...o }, t);
|
|
4437
4415
|
}
|
|
4438
4416
|
case "group": {
|
|
4439
4417
|
const { type: r, label: o, items: n } = e;
|
|
@@ -4444,14 +4422,14 @@ function ze(e, t) {
|
|
|
4444
4422
|
}
|
|
4445
4423
|
case "submenu": {
|
|
4446
4424
|
const { type: r, label: o, items: n, ...i } = e;
|
|
4447
|
-
return /* @__PURE__ */ f(
|
|
4448
|
-
/* @__PURE__ */ a(
|
|
4449
|
-
/* @__PURE__ */ a(
|
|
4425
|
+
return /* @__PURE__ */ f(Zn, { children: [
|
|
4426
|
+
/* @__PURE__ */ a(Qn, { ...i, children: o }),
|
|
4427
|
+
/* @__PURE__ */ a(eo, { children: n.map((s, d) => ze(s, d)) })
|
|
4450
4428
|
] }, t);
|
|
4451
4429
|
}
|
|
4452
4430
|
}
|
|
4453
4431
|
}
|
|
4454
|
-
const
|
|
4432
|
+
const ll = ({
|
|
4455
4433
|
trigger: e,
|
|
4456
4434
|
items: t,
|
|
4457
4435
|
className: r,
|
|
@@ -4460,8 +4438,8 @@ const dl = ({
|
|
|
4460
4438
|
offset: i,
|
|
4461
4439
|
alignOffset: s,
|
|
4462
4440
|
classNames: d
|
|
4463
|
-
}) => /* @__PURE__ */ f(
|
|
4464
|
-
/* @__PURE__ */ a(
|
|
4441
|
+
}) => /* @__PURE__ */ f(Yn, { children: [
|
|
4442
|
+
/* @__PURE__ */ a(qn, { render: e }),
|
|
4465
4443
|
/* @__PURE__ */ a(
|
|
4466
4444
|
$t,
|
|
4467
4445
|
{
|
|
@@ -4474,7 +4452,7 @@ const dl = ({
|
|
|
4474
4452
|
}
|
|
4475
4453
|
)
|
|
4476
4454
|
] });
|
|
4477
|
-
function
|
|
4455
|
+
function oo({
|
|
4478
4456
|
className: e,
|
|
4479
4457
|
...t
|
|
4480
4458
|
}) {
|
|
@@ -4487,7 +4465,7 @@ function io({
|
|
|
4487
4465
|
}
|
|
4488
4466
|
);
|
|
4489
4467
|
}
|
|
4490
|
-
function
|
|
4468
|
+
function io({
|
|
4491
4469
|
className: e,
|
|
4492
4470
|
...t
|
|
4493
4471
|
}) {
|
|
@@ -4495,7 +4473,7 @@ function so({
|
|
|
4495
4473
|
te.Group,
|
|
4496
4474
|
{
|
|
4497
4475
|
className: l(
|
|
4498
|
-
"flex h-
|
|
4476
|
+
"flex h-8 w-full items-center overflow-hidden rounded-md bg-background text-sm transition-shadow",
|
|
4499
4477
|
"outline outline-1 outline-input [outline-offset:-1px]",
|
|
4500
4478
|
"focus-within:outline-ring",
|
|
4501
4479
|
"aria-invalid:outline-error focus-within:aria-invalid:ring-error/20",
|
|
@@ -4510,7 +4488,7 @@ function so({
|
|
|
4510
4488
|
}
|
|
4511
4489
|
);
|
|
4512
4490
|
}
|
|
4513
|
-
function
|
|
4491
|
+
function so({
|
|
4514
4492
|
className: e,
|
|
4515
4493
|
...t
|
|
4516
4494
|
}) {
|
|
@@ -4518,7 +4496,7 @@ function lo({
|
|
|
4518
4496
|
te.Input,
|
|
4519
4497
|
{
|
|
4520
4498
|
className: l(
|
|
4521
|
-
"min-w-0 flex-1 bg-transparent px-3
|
|
4499
|
+
"min-w-0 flex-1 bg-transparent px-3 text-left tabular-nums outline-none",
|
|
4522
4500
|
"placeholder:text-muted-foreground",
|
|
4523
4501
|
e
|
|
4524
4502
|
),
|
|
@@ -4527,7 +4505,7 @@ function lo({
|
|
|
4527
4505
|
}
|
|
4528
4506
|
);
|
|
4529
4507
|
}
|
|
4530
|
-
function
|
|
4508
|
+
function lo({
|
|
4531
4509
|
className: e,
|
|
4532
4510
|
children: t,
|
|
4533
4511
|
...r
|
|
@@ -4536,18 +4514,18 @@ function co({
|
|
|
4536
4514
|
te.Decrement,
|
|
4537
4515
|
{
|
|
4538
4516
|
className: l(
|
|
4539
|
-
"flex shrink-0 cursor-pointer items-center justify-center border-r border-input px-2
|
|
4517
|
+
"flex shrink-0 cursor-pointer items-center justify-center border-r border-input px-2 text-muted-foreground transition-colors",
|
|
4540
4518
|
"hover:bg-accent hover:text-foreground",
|
|
4541
4519
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
4542
4520
|
e
|
|
4543
4521
|
),
|
|
4544
4522
|
"data-slot": "number-input-decrement",
|
|
4545
4523
|
...r,
|
|
4546
|
-
children: t ?? /* @__PURE__ */ a(
|
|
4524
|
+
children: t ?? /* @__PURE__ */ a(or, {})
|
|
4547
4525
|
}
|
|
4548
4526
|
);
|
|
4549
4527
|
}
|
|
4550
|
-
function
|
|
4528
|
+
function co({
|
|
4551
4529
|
className: e,
|
|
4552
4530
|
children: t,
|
|
4553
4531
|
...r
|
|
@@ -4556,18 +4534,18 @@ function uo({
|
|
|
4556
4534
|
te.Increment,
|
|
4557
4535
|
{
|
|
4558
4536
|
className: l(
|
|
4559
|
-
"flex shrink-0 cursor-pointer items-center justify-center border-l border-input px-2
|
|
4537
|
+
"flex shrink-0 cursor-pointer items-center justify-center border-l border-input px-2 text-muted-foreground transition-colors",
|
|
4560
4538
|
"hover:bg-accent hover:text-foreground",
|
|
4561
4539
|
"disabled:pointer-events-none disabled:opacity-50",
|
|
4562
4540
|
e
|
|
4563
4541
|
),
|
|
4564
4542
|
"data-slot": "number-input-increment",
|
|
4565
4543
|
...r,
|
|
4566
|
-
children: t ?? /* @__PURE__ */ a(
|
|
4544
|
+
children: t ?? /* @__PURE__ */ a(ir, {})
|
|
4567
4545
|
}
|
|
4568
4546
|
);
|
|
4569
4547
|
}
|
|
4570
|
-
function
|
|
4548
|
+
function dl({
|
|
4571
4549
|
className: e,
|
|
4572
4550
|
...t
|
|
4573
4551
|
}) {
|
|
@@ -4580,7 +4558,7 @@ function cl({
|
|
|
4580
4558
|
}
|
|
4581
4559
|
);
|
|
4582
4560
|
}
|
|
4583
|
-
function
|
|
4561
|
+
function cl({
|
|
4584
4562
|
className: e,
|
|
4585
4563
|
...t
|
|
4586
4564
|
}) {
|
|
@@ -4592,7 +4570,7 @@ function ul({
|
|
|
4592
4570
|
}
|
|
4593
4571
|
);
|
|
4594
4572
|
}
|
|
4595
|
-
function
|
|
4573
|
+
function ul(e) {
|
|
4596
4574
|
return /* @__PURE__ */ a(
|
|
4597
4575
|
"svg",
|
|
4598
4576
|
{
|
|
@@ -4608,7 +4586,7 @@ function pl(e) {
|
|
|
4608
4586
|
}
|
|
4609
4587
|
);
|
|
4610
4588
|
}
|
|
4611
|
-
function
|
|
4589
|
+
function pl({
|
|
4612
4590
|
className: e,
|
|
4613
4591
|
hideControls: t = !1,
|
|
4614
4592
|
onValueChange: r,
|
|
@@ -4617,14 +4595,14 @@ function ml({
|
|
|
4617
4595
|
classNames: i,
|
|
4618
4596
|
...s
|
|
4619
4597
|
}) {
|
|
4620
|
-
return /* @__PURE__ */ a(
|
|
4621
|
-
|
|
4598
|
+
return /* @__PURE__ */ a(oo, { onValueChange: r, ...s, children: /* @__PURE__ */ f(
|
|
4599
|
+
io,
|
|
4622
4600
|
{
|
|
4623
4601
|
"aria-invalid": o || void 0,
|
|
4624
4602
|
className: e,
|
|
4625
4603
|
children: [
|
|
4626
4604
|
/* @__PURE__ */ a(
|
|
4627
|
-
|
|
4605
|
+
so,
|
|
4628
4606
|
{
|
|
4629
4607
|
...o ? { "aria-invalid": !0 } : {},
|
|
4630
4608
|
placeholder: n,
|
|
@@ -4640,7 +4618,7 @@ function ml({
|
|
|
4640
4618
|
),
|
|
4641
4619
|
children: [
|
|
4642
4620
|
/* @__PURE__ */ a(
|
|
4643
|
-
|
|
4621
|
+
co,
|
|
4644
4622
|
{
|
|
4645
4623
|
"data-testid": "increment-trigger",
|
|
4646
4624
|
className: l(
|
|
@@ -4651,7 +4629,7 @@ function ml({
|
|
|
4651
4629
|
}
|
|
4652
4630
|
),
|
|
4653
4631
|
/* @__PURE__ */ a(
|
|
4654
|
-
|
|
4632
|
+
lo,
|
|
4655
4633
|
{
|
|
4656
4634
|
"data-testid": "decrement-trigger",
|
|
4657
4635
|
className: l(
|
|
@@ -4668,7 +4646,7 @@ function ml({
|
|
|
4668
4646
|
}
|
|
4669
4647
|
) });
|
|
4670
4648
|
}
|
|
4671
|
-
function
|
|
4649
|
+
function ml(e) {
|
|
4672
4650
|
const [t = [], r] = z(e);
|
|
4673
4651
|
return [
|
|
4674
4652
|
t,
|
|
@@ -4710,14 +4688,14 @@ function fl(e) {
|
|
|
4710
4688
|
}
|
|
4711
4689
|
];
|
|
4712
4690
|
}
|
|
4713
|
-
function
|
|
4691
|
+
function fl({
|
|
4714
4692
|
fn: e,
|
|
4715
4693
|
dependencies: t = [],
|
|
4716
4694
|
onError: r,
|
|
4717
4695
|
onSuccess: o,
|
|
4718
4696
|
onFinish: n
|
|
4719
4697
|
}) {
|
|
4720
|
-
const [i, s] = z(!0), [d, c] = z(null), [u, p] = z(null), h =
|
|
4698
|
+
const [i, s] = z(!0), [d, c] = z(null), [u, p] = z(null), h = k(() => {
|
|
4721
4699
|
s(!0), c(null), p(null), e().then((m) => {
|
|
4722
4700
|
o?.(m), p(m);
|
|
4723
4701
|
}).catch((m) => {
|
|
@@ -4726,23 +4704,23 @@ function gl({
|
|
|
4726
4704
|
n?.(), s(!1);
|
|
4727
4705
|
});
|
|
4728
4706
|
}, t);
|
|
4729
|
-
return
|
|
4707
|
+
return L(() => {
|
|
4730
4708
|
h();
|
|
4731
4709
|
}, [h]), { loading: i, error: d, data: u, refetch: h };
|
|
4732
4710
|
}
|
|
4733
|
-
const
|
|
4711
|
+
const gl = (e, t = !0) => {
|
|
4734
4712
|
const r = R(null), o = (n) => {
|
|
4735
4713
|
r.current && !r.current.contains(n.target) && e();
|
|
4736
4714
|
};
|
|
4737
|
-
return
|
|
4715
|
+
return L(() => {
|
|
4738
4716
|
if (t)
|
|
4739
4717
|
return document.addEventListener("mousedown", o), () => {
|
|
4740
4718
|
document.removeEventListener("mousedown", o);
|
|
4741
4719
|
};
|
|
4742
4720
|
}, [t]), r;
|
|
4743
4721
|
};
|
|
4744
|
-
function
|
|
4745
|
-
const [e, t] = z(null), r =
|
|
4722
|
+
function hl() {
|
|
4723
|
+
const [e, t] = z(null), r = k(async (o) => {
|
|
4746
4724
|
if (!navigator?.clipboard)
|
|
4747
4725
|
return !1;
|
|
4748
4726
|
try {
|
|
@@ -4753,9 +4731,9 @@ function bl() {
|
|
|
4753
4731
|
}, []);
|
|
4754
4732
|
return [e, r];
|
|
4755
4733
|
}
|
|
4756
|
-
function
|
|
4734
|
+
function bl(e, t) {
|
|
4757
4735
|
const r = R(null);
|
|
4758
|
-
return
|
|
4736
|
+
return k(
|
|
4759
4737
|
(...o) => {
|
|
4760
4738
|
r.current && clearTimeout(r.current), r.current = setTimeout(() => {
|
|
4761
4739
|
e(...o);
|
|
@@ -4764,49 +4742,49 @@ function vl(e, t) {
|
|
|
4764
4742
|
[e, t]
|
|
4765
4743
|
);
|
|
4766
4744
|
}
|
|
4767
|
-
function
|
|
4745
|
+
function vl(e, t) {
|
|
4768
4746
|
const [r, o] = z(e);
|
|
4769
|
-
return
|
|
4747
|
+
return L(() => {
|
|
4770
4748
|
const n = setTimeout(() => {
|
|
4771
4749
|
o(e);
|
|
4772
4750
|
}, t);
|
|
4773
4751
|
return () => clearTimeout(n);
|
|
4774
4752
|
}, [e, t]), r;
|
|
4775
4753
|
}
|
|
4776
|
-
function
|
|
4777
|
-
const { onOpen: r, onClose: o } = t || {}, [n, i] = z(e), s =
|
|
4754
|
+
function xl(e = !1, t) {
|
|
4755
|
+
const { onOpen: r, onClose: o } = t || {}, [n, i] = z(e), s = k(() => {
|
|
4778
4756
|
i((u) => u || (r?.(), !0));
|
|
4779
|
-
}, [r]), d =
|
|
4757
|
+
}, [r]), d = k(() => {
|
|
4780
4758
|
i((u) => u && (o?.(), !1));
|
|
4781
|
-
}, [o]), c =
|
|
4759
|
+
}, [o]), c = k(() => {
|
|
4782
4760
|
n ? d() : s();
|
|
4783
4761
|
}, [d, s, n]);
|
|
4784
4762
|
return [n, { open: s, close: d, toggle: c }];
|
|
4785
4763
|
}
|
|
4786
|
-
function
|
|
4787
|
-
|
|
4764
|
+
function yl(e) {
|
|
4765
|
+
L(() => {
|
|
4788
4766
|
typeof e == "string" && e.trim().length > 0 && (document.title = e.trim());
|
|
4789
4767
|
}, [e]);
|
|
4790
4768
|
}
|
|
4791
|
-
function
|
|
4769
|
+
function uo(e, t, r) {
|
|
4792
4770
|
const o = R(null);
|
|
4793
|
-
return
|
|
4771
|
+
return L(() => {
|
|
4794
4772
|
const n = o.current ?? document;
|
|
4795
4773
|
return n.addEventListener(e, t, r), () => {
|
|
4796
4774
|
n.removeEventListener(e, t, r);
|
|
4797
4775
|
};
|
|
4798
4776
|
}, [e, t, r]), o;
|
|
4799
4777
|
}
|
|
4800
|
-
const
|
|
4801
|
-
function
|
|
4778
|
+
const po = /input|select|textarea|button|object/, Bt = "a, input, select, textarea, button, object, [tabindex]";
|
|
4779
|
+
function mo(e) {
|
|
4802
4780
|
return process.env.NODE_ENV === "test" ? !1 : e.style.display === "none";
|
|
4803
4781
|
}
|
|
4804
|
-
function
|
|
4782
|
+
function fo(e) {
|
|
4805
4783
|
if (e.getAttribute("aria-hidden") || e.getAttribute("hidden") || e.getAttribute("type") === "hidden")
|
|
4806
4784
|
return !1;
|
|
4807
4785
|
let r = e;
|
|
4808
4786
|
for (; r && !(r === document.body || r.nodeType === 11); ) {
|
|
4809
|
-
if (
|
|
4787
|
+
if (mo(r))
|
|
4810
4788
|
return !1;
|
|
4811
4789
|
r = r.parentNode;
|
|
4812
4790
|
}
|
|
@@ -4818,19 +4796,19 @@ function Ht(e) {
|
|
|
4818
4796
|
}
|
|
4819
4797
|
function Ge(e) {
|
|
4820
4798
|
const t = e.nodeName.toLowerCase(), r = !Number.isNaN(Ht(e));
|
|
4821
|
-
return /* @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition */ (
|
|
4799
|
+
return /* @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition */ (po.test(t) && !e.disabled || e instanceof HTMLAnchorElement && e.href || r) && fo(e);
|
|
4822
4800
|
}
|
|
4823
4801
|
function Xt(e) {
|
|
4824
4802
|
const t = Ht(e);
|
|
4825
4803
|
return (Number.isNaN(t) || t >= 0) && Ge(e);
|
|
4826
4804
|
}
|
|
4827
|
-
function
|
|
4805
|
+
function go(e) {
|
|
4828
4806
|
return Array.from(
|
|
4829
4807
|
e.querySelectorAll(Bt)
|
|
4830
4808
|
).filter(Xt);
|
|
4831
4809
|
}
|
|
4832
|
-
function
|
|
4833
|
-
const r =
|
|
4810
|
+
function ho(e, t) {
|
|
4811
|
+
const r = go(e);
|
|
4834
4812
|
if (!r.length) {
|
|
4835
4813
|
t.preventDefault();
|
|
4836
4814
|
return;
|
|
@@ -4846,7 +4824,7 @@ function bo(e, t) {
|
|
|
4846
4824
|
const c = r[t.shiftKey ? r.length - 1 : 0];
|
|
4847
4825
|
c && c.focus();
|
|
4848
4826
|
}
|
|
4849
|
-
function
|
|
4827
|
+
function wl(e = !0) {
|
|
4850
4828
|
const t = R(null), r = (n) => {
|
|
4851
4829
|
let i = n.querySelector("[data-autofocus]");
|
|
4852
4830
|
if (!i) {
|
|
@@ -4856,7 +4834,7 @@ function Nl(e = !0) {
|
|
|
4856
4834
|
i = s.find(Xt) || s.find(Ge) || null, !i && Ge(n) && (i = n);
|
|
4857
4835
|
}
|
|
4858
4836
|
i && i.focus({ preventScroll: !0 });
|
|
4859
|
-
}, o =
|
|
4837
|
+
}, o = k(
|
|
4860
4838
|
(n) => {
|
|
4861
4839
|
e && n !== null && t.current !== n && (n ? (setTimeout(() => {
|
|
4862
4840
|
n.getRootNode() && r(n);
|
|
@@ -4864,17 +4842,17 @@ function Nl(e = !0) {
|
|
|
4864
4842
|
},
|
|
4865
4843
|
[e]
|
|
4866
4844
|
);
|
|
4867
|
-
return
|
|
4845
|
+
return L(() => {
|
|
4868
4846
|
if (!e)
|
|
4869
4847
|
return;
|
|
4870
4848
|
t.current && setTimeout(() => r(t.current));
|
|
4871
4849
|
const n = (i) => {
|
|
4872
|
-
i.key === "Tab" && t.current &&
|
|
4850
|
+
i.key === "Tab" && t.current && ho(t.current, i);
|
|
4873
4851
|
};
|
|
4874
4852
|
return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
|
|
4875
4853
|
}, [e]), o;
|
|
4876
4854
|
}
|
|
4877
|
-
const
|
|
4855
|
+
const bo = (e) => e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable, vo = (e, t) => t && bo(e.target), xo = (e) => {
|
|
4878
4856
|
const t = e.toLowerCase().split("+");
|
|
4879
4857
|
return {
|
|
4880
4858
|
mainKey: t.pop(),
|
|
@@ -4883,29 +4861,29 @@ const vo = (e) => e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isConte
|
|
|
4883
4861
|
isAlt: t.includes("alt"),
|
|
4884
4862
|
isMeta: t.includes("meta")
|
|
4885
4863
|
};
|
|
4886
|
-
},
|
|
4887
|
-
const { mainKey: r, isShift: o, isCtrl: n, isAlt: i, isMeta: s } =
|
|
4864
|
+
}, yo = (e, t) => {
|
|
4865
|
+
const { mainKey: r, isShift: o, isCtrl: n, isAlt: i, isMeta: s } = xo(t);
|
|
4888
4866
|
return e.key.toLowerCase() === r && e.shiftKey === o && e.ctrlKey === n && e.altKey === i && e.metaKey === s;
|
|
4889
|
-
},
|
|
4890
|
-
if (!n ||
|
|
4867
|
+
}, wo = (e, t, r, o, n) => (i) => {
|
|
4868
|
+
if (!n || vo(i, o))
|
|
4891
4869
|
return;
|
|
4892
|
-
(Array.isArray(e) ? e : [e]).some((c) =>
|
|
4870
|
+
(Array.isArray(e) ? e : [e]).some((c) => yo(i, c)) && (r && i.preventDefault(), t(i));
|
|
4893
4871
|
};
|
|
4894
|
-
function
|
|
4872
|
+
function Nl(e, t, r = {}) {
|
|
4895
4873
|
const {
|
|
4896
4874
|
eventName: o = "keydown",
|
|
4897
4875
|
preventDefault: n = !0,
|
|
4898
4876
|
ignoreInputFields: i = !0,
|
|
4899
4877
|
watch: s = !0
|
|
4900
|
-
} = r, d =
|
|
4901
|
-
|
|
4878
|
+
} = r, d = k(
|
|
4879
|
+
wo(e, t, n, i, s),
|
|
4902
4880
|
[e, t, n, i, s]
|
|
4903
4881
|
);
|
|
4904
|
-
return
|
|
4882
|
+
return uo(o, d);
|
|
4905
4883
|
}
|
|
4906
|
-
function
|
|
4884
|
+
function Cl(e) {
|
|
4907
4885
|
const [t, r] = z(!1), o = R(null);
|
|
4908
|
-
return
|
|
4886
|
+
return L(() => {
|
|
4909
4887
|
const n = (d) => {
|
|
4910
4888
|
r(!0), e?.onHoverStart?.(d);
|
|
4911
4889
|
}, i = (d) => {
|
|
@@ -4917,20 +4895,20 @@ function zl(e) {
|
|
|
4917
4895
|
};
|
|
4918
4896
|
}, [e]), { ref: o, isHovering: t };
|
|
4919
4897
|
}
|
|
4920
|
-
function
|
|
4898
|
+
function zl({
|
|
4921
4899
|
onVisible: e,
|
|
4922
4900
|
root: t = null,
|
|
4923
4901
|
rootMargin: r = "0px",
|
|
4924
4902
|
threshold: o = 0
|
|
4925
4903
|
} = {}) {
|
|
4926
|
-
const [n, i] = z(!1), s = R(null), d =
|
|
4904
|
+
const [n, i] = z(!1), s = R(null), d = k(
|
|
4927
4905
|
([c]) => {
|
|
4928
4906
|
const u = c.isIntersecting;
|
|
4929
4907
|
i(u);
|
|
4930
4908
|
},
|
|
4931
4909
|
[e]
|
|
4932
4910
|
);
|
|
4933
|
-
return
|
|
4911
|
+
return L(() => {
|
|
4934
4912
|
if (s.current == null) return;
|
|
4935
4913
|
const c = new IntersectionObserver(d, {
|
|
4936
4914
|
root: t,
|
|
@@ -4940,7 +4918,7 @@ function kl({
|
|
|
4940
4918
|
return c.observe(s.current), () => {
|
|
4941
4919
|
s.current != null && c.unobserve(s.current);
|
|
4942
4920
|
};
|
|
4943
|
-
}, [s, t, r, o, d]),
|
|
4921
|
+
}, [s, t, r, o, d]), L(() => {
|
|
4944
4922
|
n && e?.();
|
|
4945
4923
|
}, [n]), { ref: s, isVisible: n };
|
|
4946
4924
|
}
|
|
@@ -4953,7 +4931,7 @@ function Tl(e, t) {
|
|
|
4953
4931
|
return console.error(`Error parsing localStorage key "${e}":`, d), t !== void 0 ? t : void 0;
|
|
4954
4932
|
}
|
|
4955
4933
|
}, [o, n] = z(r);
|
|
4956
|
-
return
|
|
4934
|
+
return L(() => {
|
|
4957
4935
|
try {
|
|
4958
4936
|
o !== void 0 ? localStorage.setItem(e, JSON.stringify(o)) : localStorage.removeItem(e);
|
|
4959
4937
|
} catch (d) {
|
|
@@ -4969,16 +4947,16 @@ function Tl(e, t) {
|
|
|
4969
4947
|
}
|
|
4970
4948
|
}];
|
|
4971
4949
|
}
|
|
4972
|
-
const
|
|
4950
|
+
const kl = (e) => {
|
|
4973
4951
|
const [t, r] = z(!1);
|
|
4974
|
-
return
|
|
4952
|
+
return L(() => {
|
|
4975
4953
|
const o = window.matchMedia(e), n = () => r(o.matches);
|
|
4976
4954
|
return n(), o.addEventListener("change", n), () => {
|
|
4977
4955
|
o.removeEventListener("change", n);
|
|
4978
4956
|
};
|
|
4979
4957
|
}, [e]), t;
|
|
4980
4958
|
};
|
|
4981
|
-
function
|
|
4959
|
+
function Sl(e) {
|
|
4982
4960
|
$e(e) || console.error(
|
|
4983
4961
|
`useMemoizedFn expected parameter is a function, got ${typeof e}`
|
|
4984
4962
|
);
|
|
@@ -4989,10 +4967,10 @@ function Pl(e) {
|
|
|
4989
4967
|
return t.current.apply(this, o);
|
|
4990
4968
|
}), r.current;
|
|
4991
4969
|
}
|
|
4992
|
-
const
|
|
4970
|
+
const Pl = (e) => {
|
|
4993
4971
|
const [t, r] = z(!1), [o, n] = z(null), [i, s] = z(null);
|
|
4994
4972
|
return {
|
|
4995
|
-
mutate:
|
|
4973
|
+
mutate: k(
|
|
4996
4974
|
async (...c) => {
|
|
4997
4975
|
r(!0), n(null), s(null);
|
|
4998
4976
|
try {
|
|
@@ -5012,8 +4990,8 @@ const Il = (e) => {
|
|
|
5012
4990
|
data: i
|
|
5013
4991
|
};
|
|
5014
4992
|
};
|
|
5015
|
-
function
|
|
5016
|
-
const [t, r] = z(e), o =
|
|
4993
|
+
function Il(e) {
|
|
4994
|
+
const [t, r] = z(e), o = k(() => r(e), [e]), n = k(
|
|
5017
4995
|
(i) => {
|
|
5018
4996
|
r((s) => {
|
|
5019
4997
|
if ($e(i)) {
|
|
@@ -5034,7 +5012,7 @@ function _l(e) {
|
|
|
5034
5012
|
);
|
|
5035
5013
|
return [t, n, o];
|
|
5036
5014
|
}
|
|
5037
|
-
function
|
|
5015
|
+
function No({
|
|
5038
5016
|
totalItems: e,
|
|
5039
5017
|
pageSize: t,
|
|
5040
5018
|
currentPage: r,
|
|
@@ -5068,7 +5046,7 @@ function Co({
|
|
|
5068
5046
|
range: { start: m, end: y }
|
|
5069
5047
|
};
|
|
5070
5048
|
}
|
|
5071
|
-
function
|
|
5049
|
+
function _l(e) {
|
|
5072
5050
|
const t = () => document.getElementById(e), r = () => {
|
|
5073
5051
|
const n = document.createElement("div");
|
|
5074
5052
|
return n.id = e, n;
|
|
@@ -5076,14 +5054,14 @@ function Dl(e) {
|
|
|
5076
5054
|
const n = t();
|
|
5077
5055
|
return n || r();
|
|
5078
5056
|
}, [e]);
|
|
5079
|
-
return
|
|
5057
|
+
return L(() => (document.getElementById(e) || document.body.appendChild(o), () => {
|
|
5080
5058
|
const n = document.getElementById(e);
|
|
5081
5059
|
n && document.body.removeChild(n);
|
|
5082
5060
|
}), [e, o]), {
|
|
5083
|
-
render: (n) =>
|
|
5061
|
+
render: (n) => tr(n, o)
|
|
5084
5062
|
};
|
|
5085
5063
|
}
|
|
5086
|
-
function
|
|
5064
|
+
function Dl({
|
|
5087
5065
|
shouldPrevent: e,
|
|
5088
5066
|
message: t = "Es posible que no se guarden los cambios hayas hecho."
|
|
5089
5067
|
}) {
|
|
@@ -5091,13 +5069,13 @@ function Al({
|
|
|
5091
5069
|
if (e)
|
|
5092
5070
|
return o.preventDefault(), o.returnValue = t, t;
|
|
5093
5071
|
};
|
|
5094
|
-
|
|
5072
|
+
L(() => (window.addEventListener("beforeunload", r), () => window.removeEventListener("beforeunload", r)), [t, e]);
|
|
5095
5073
|
}
|
|
5096
|
-
const ue = "...",
|
|
5074
|
+
const ue = "...", Co = ({
|
|
5097
5075
|
siblingCount: e = 1,
|
|
5098
5076
|
...t
|
|
5099
5077
|
}) => {
|
|
5100
|
-
const r =
|
|
5078
|
+
const r = No(t), { currentPage: o, maxPage: n } = r, { totalItems: i, pageSize: s } = t, c = re(() => {
|
|
5101
5079
|
const h = 2 + 3 * e, m = 1;
|
|
5102
5080
|
if (h >= n)
|
|
5103
5081
|
return Ne(m, n + 1);
|
|
@@ -5123,26 +5101,26 @@ const ue = "...", zo = ({
|
|
|
5123
5101
|
paginationRange: c ?? []
|
|
5124
5102
|
};
|
|
5125
5103
|
};
|
|
5126
|
-
function
|
|
5127
|
-
const [t, r] = z(/* @__PURE__ */ new Set()), o =
|
|
5104
|
+
function Al(e) {
|
|
5105
|
+
const [t, r] = z(/* @__PURE__ */ new Set()), o = k((p) => t.has(p), [t]), n = k((p) => {
|
|
5128
5106
|
r((h) => /* @__PURE__ */ new Set([...h, p]));
|
|
5129
|
-
}, []), i =
|
|
5107
|
+
}, []), i = k((p) => {
|
|
5130
5108
|
r((h) => {
|
|
5131
5109
|
const m = new Set(h);
|
|
5132
5110
|
return m.delete(p), m;
|
|
5133
5111
|
});
|
|
5134
|
-
}, []), s =
|
|
5112
|
+
}, []), s = k((p) => {
|
|
5135
5113
|
r((h) => {
|
|
5136
5114
|
const m = new Set(h);
|
|
5137
5115
|
return m.has(p) ? m.delete(p) : m.add(p), m;
|
|
5138
5116
|
});
|
|
5139
|
-
}, []), d =
|
|
5117
|
+
}, []), d = k((p) => {
|
|
5140
5118
|
r(new Set(p));
|
|
5141
|
-
}, []), c =
|
|
5119
|
+
}, []), c = k(() => {
|
|
5142
5120
|
r(
|
|
5143
5121
|
(p) => p.size === e.length ? /* @__PURE__ */ new Set() : new Set(e)
|
|
5144
5122
|
);
|
|
5145
|
-
}, [e]), u =
|
|
5123
|
+
}, [e]), u = k(() => r(/* @__PURE__ */ new Set()), []);
|
|
5146
5124
|
return {
|
|
5147
5125
|
isAllSelected: t.size === e.length,
|
|
5148
5126
|
isSomeSelected: t.size > 0 && t.size < e.length,
|
|
@@ -5180,7 +5158,7 @@ function Ll(e, t) {
|
|
|
5180
5158
|
findAndGo: c
|
|
5181
5159
|
};
|
|
5182
5160
|
}
|
|
5183
|
-
function
|
|
5161
|
+
function zo(e = !1) {
|
|
5184
5162
|
const [t, r] = z(e);
|
|
5185
5163
|
return [t, (n) => {
|
|
5186
5164
|
r(n === void 0 ? !t : n);
|
|
@@ -5205,7 +5183,7 @@ function F() {
|
|
|
5205
5183
|
);
|
|
5206
5184
|
return e;
|
|
5207
5185
|
}
|
|
5208
|
-
function
|
|
5186
|
+
function ko({
|
|
5209
5187
|
totalItems: e,
|
|
5210
5188
|
pageSize: t,
|
|
5211
5189
|
defaultPageSize: r = tt[0],
|
|
@@ -5225,7 +5203,7 @@ function So({
|
|
|
5225
5203
|
prop: t,
|
|
5226
5204
|
defaultProp: r,
|
|
5227
5205
|
onChange: o
|
|
5228
|
-
}), x =
|
|
5206
|
+
}), x = Co({
|
|
5229
5207
|
totalItems: e,
|
|
5230
5208
|
pageSize: b,
|
|
5231
5209
|
currentPage: n,
|
|
@@ -5309,7 +5287,7 @@ function ve({
|
|
|
5309
5287
|
}
|
|
5310
5288
|
);
|
|
5311
5289
|
}
|
|
5312
|
-
function
|
|
5290
|
+
function So({
|
|
5313
5291
|
page: e,
|
|
5314
5292
|
isActive: t,
|
|
5315
5293
|
className: r,
|
|
@@ -5330,7 +5308,7 @@ function Po({
|
|
|
5330
5308
|
}
|
|
5331
5309
|
);
|
|
5332
5310
|
}
|
|
5333
|
-
function
|
|
5311
|
+
function El({
|
|
5334
5312
|
className: e,
|
|
5335
5313
|
buttonProps: t,
|
|
5336
5314
|
children: r
|
|
@@ -5345,11 +5323,11 @@ function Rl({
|
|
|
5345
5323
|
dataSlot: "pagination-first",
|
|
5346
5324
|
className: e,
|
|
5347
5325
|
buttonProps: t,
|
|
5348
|
-
children: r ?? /* @__PURE__ */ a(
|
|
5326
|
+
children: r ?? /* @__PURE__ */ a(sr, { "data-slot": "pagination-icon" })
|
|
5349
5327
|
}
|
|
5350
5328
|
);
|
|
5351
5329
|
}
|
|
5352
|
-
function
|
|
5330
|
+
function Po({
|
|
5353
5331
|
className: e,
|
|
5354
5332
|
buttonProps: t,
|
|
5355
5333
|
children: r
|
|
@@ -5364,11 +5342,11 @@ function Io({
|
|
|
5364
5342
|
dataSlot: "pagination-previous",
|
|
5365
5343
|
className: e,
|
|
5366
5344
|
buttonProps: t,
|
|
5367
|
-
children: r ?? /* @__PURE__ */ a(
|
|
5345
|
+
children: r ?? /* @__PURE__ */ a(lr, { "data-slot": "pagination-icon" })
|
|
5368
5346
|
}
|
|
5369
5347
|
);
|
|
5370
5348
|
}
|
|
5371
|
-
function
|
|
5349
|
+
function Io({
|
|
5372
5350
|
className: e,
|
|
5373
5351
|
buttonProps: t,
|
|
5374
5352
|
children: r
|
|
@@ -5383,11 +5361,11 @@ function _o({
|
|
|
5383
5361
|
dataSlot: "pagination-next",
|
|
5384
5362
|
className: e,
|
|
5385
5363
|
buttonProps: t,
|
|
5386
|
-
children: r ?? /* @__PURE__ */ a(
|
|
5364
|
+
children: r ?? /* @__PURE__ */ a(dr, { "data-slot": "pagination-icon" })
|
|
5387
5365
|
}
|
|
5388
5366
|
);
|
|
5389
5367
|
}
|
|
5390
|
-
function
|
|
5368
|
+
function Rl({
|
|
5391
5369
|
className: e,
|
|
5392
5370
|
buttonProps: t,
|
|
5393
5371
|
children: r
|
|
@@ -5402,11 +5380,11 @@ function Fl({
|
|
|
5402
5380
|
dataSlot: "pagination-last",
|
|
5403
5381
|
className: e,
|
|
5404
5382
|
buttonProps: t,
|
|
5405
|
-
children: r ?? /* @__PURE__ */ a(
|
|
5383
|
+
children: r ?? /* @__PURE__ */ a(cr, { "data-slot": "pagination-icon" })
|
|
5406
5384
|
}
|
|
5407
5385
|
);
|
|
5408
5386
|
}
|
|
5409
|
-
function
|
|
5387
|
+
function _o({
|
|
5410
5388
|
className: e,
|
|
5411
5389
|
...t
|
|
5412
5390
|
}) {
|
|
@@ -5423,13 +5401,13 @@ function Do({
|
|
|
5423
5401
|
),
|
|
5424
5402
|
...t,
|
|
5425
5403
|
children: [
|
|
5426
|
-
/* @__PURE__ */ a(
|
|
5404
|
+
/* @__PURE__ */ a(ur, {}),
|
|
5427
5405
|
/* @__PURE__ */ a("span", { className: "sr-only", children: r.morePages })
|
|
5428
5406
|
]
|
|
5429
5407
|
}
|
|
5430
5408
|
);
|
|
5431
5409
|
}
|
|
5432
|
-
function
|
|
5410
|
+
function Fl({
|
|
5433
5411
|
className: e,
|
|
5434
5412
|
linkClassName: t,
|
|
5435
5413
|
ellipsisClassName: r
|
|
@@ -5443,13 +5421,13 @@ function Ml({
|
|
|
5443
5421
|
className: l("flex items-center gap-1", e),
|
|
5444
5422
|
children: o.map(
|
|
5445
5423
|
(n, i) => n === ue ? /* @__PURE__ */ a(
|
|
5446
|
-
|
|
5424
|
+
_o,
|
|
5447
5425
|
{
|
|
5448
5426
|
className: r
|
|
5449
5427
|
},
|
|
5450
5428
|
`dots-${i}`
|
|
5451
5429
|
) : /* @__PURE__ */ a(
|
|
5452
|
-
|
|
5430
|
+
So,
|
|
5453
5431
|
{
|
|
5454
5432
|
page: n,
|
|
5455
5433
|
className: t
|
|
@@ -5460,7 +5438,7 @@ function Ml({
|
|
|
5460
5438
|
}
|
|
5461
5439
|
);
|
|
5462
5440
|
}
|
|
5463
|
-
function
|
|
5441
|
+
function Ml({
|
|
5464
5442
|
children: e,
|
|
5465
5443
|
className: t,
|
|
5466
5444
|
...r
|
|
@@ -5476,7 +5454,7 @@ function Vl({
|
|
|
5476
5454
|
}
|
|
5477
5455
|
);
|
|
5478
5456
|
}
|
|
5479
|
-
function
|
|
5457
|
+
function Vl({
|
|
5480
5458
|
children: e,
|
|
5481
5459
|
className: t,
|
|
5482
5460
|
...r
|
|
@@ -5492,7 +5470,7 @@ function jl({
|
|
|
5492
5470
|
}
|
|
5493
5471
|
);
|
|
5494
5472
|
}
|
|
5495
|
-
function
|
|
5473
|
+
function Do({
|
|
5496
5474
|
children: e,
|
|
5497
5475
|
className: t,
|
|
5498
5476
|
...r
|
|
@@ -5508,7 +5486,7 @@ function Ao({
|
|
|
5508
5486
|
}
|
|
5509
5487
|
);
|
|
5510
5488
|
}
|
|
5511
|
-
function
|
|
5489
|
+
function Ao({
|
|
5512
5490
|
sizes: e = tt,
|
|
5513
5491
|
className: t,
|
|
5514
5492
|
...r
|
|
@@ -5533,7 +5511,7 @@ function Eo({
|
|
|
5533
5511
|
}
|
|
5534
5512
|
);
|
|
5535
5513
|
}
|
|
5536
|
-
function
|
|
5514
|
+
function jl({
|
|
5537
5515
|
sizes: e = tt,
|
|
5538
5516
|
selectClassName: t,
|
|
5539
5517
|
rangeClassName: r,
|
|
@@ -5542,23 +5520,23 @@ function Ol({
|
|
|
5542
5520
|
className: i,
|
|
5543
5521
|
...s
|
|
5544
5522
|
}) {
|
|
5545
|
-
return /* @__PURE__ */ f(
|
|
5523
|
+
return /* @__PURE__ */ f(ko, { className: i, ...s, children: [
|
|
5546
5524
|
e && /* @__PURE__ */ a(
|
|
5547
|
-
|
|
5525
|
+
Ao,
|
|
5548
5526
|
{
|
|
5549
5527
|
sizes: e,
|
|
5550
5528
|
className: t
|
|
5551
5529
|
}
|
|
5552
5530
|
),
|
|
5553
|
-
/* @__PURE__ */ a(
|
|
5554
|
-
/* @__PURE__ */ a(
|
|
5555
|
-
/* @__PURE__ */ a(
|
|
5531
|
+
/* @__PURE__ */ a(Do, { className: r }),
|
|
5532
|
+
/* @__PURE__ */ a(Po, { className: o }),
|
|
5533
|
+
/* @__PURE__ */ a(Io, { className: n })
|
|
5556
5534
|
] });
|
|
5557
5535
|
}
|
|
5558
|
-
function
|
|
5536
|
+
function Ol({
|
|
5559
5537
|
className: e,
|
|
5560
|
-
showIcon: t = /* @__PURE__ */ a(
|
|
5561
|
-
hideIcon: r = /* @__PURE__ */ a(
|
|
5538
|
+
showIcon: t = /* @__PURE__ */ a(pr, { className: "h-4 w-4" }),
|
|
5539
|
+
hideIcon: r = /* @__PURE__ */ a(mr, { className: "h-4 w-4" }),
|
|
5562
5540
|
onShow: o,
|
|
5563
5541
|
onHide: n,
|
|
5564
5542
|
toggleable: i = !0,
|
|
@@ -5566,14 +5544,14 @@ function Gl({
|
|
|
5566
5544
|
classNames: d,
|
|
5567
5545
|
...c
|
|
5568
5546
|
}) {
|
|
5569
|
-
const [u, p] =
|
|
5547
|
+
const [u, p] = zo(!1), h = () => {
|
|
5570
5548
|
p(), u ? n?.() : o?.();
|
|
5571
5549
|
}, m = s ? (y) => s(y.target.value, y) : void 0;
|
|
5572
5550
|
return /* @__PURE__ */ f(
|
|
5573
5551
|
"div",
|
|
5574
5552
|
{
|
|
5575
5553
|
className: l(
|
|
5576
|
-
"relative inline-flex h-
|
|
5554
|
+
"relative inline-flex h-8 w-full items-center text-sm",
|
|
5577
5555
|
"rounded-md border border-input bg-background transition-shadow",
|
|
5578
5556
|
"focus-within:border-ring",
|
|
5579
5557
|
"aria-invalid:border-error focus-within:aria-invalid:ring-error/20",
|
|
@@ -5618,7 +5596,7 @@ function Gl({
|
|
|
5618
5596
|
}
|
|
5619
5597
|
);
|
|
5620
5598
|
}
|
|
5621
|
-
const
|
|
5599
|
+
const Gl = $.createHandle, rt = $.Root;
|
|
5622
5600
|
function at({
|
|
5623
5601
|
className: e,
|
|
5624
5602
|
children: t,
|
|
@@ -5687,7 +5665,7 @@ function nt({
|
|
|
5687
5665
|
}
|
|
5688
5666
|
) });
|
|
5689
5667
|
}
|
|
5690
|
-
function
|
|
5668
|
+
function $l({
|
|
5691
5669
|
...e
|
|
5692
5670
|
}) {
|
|
5693
5671
|
return /* @__PURE__ */ a($.Close, { "data-slot": "popover-close", ...e });
|
|
@@ -5705,7 +5683,7 @@ function Lo({
|
|
|
5705
5683
|
}
|
|
5706
5684
|
);
|
|
5707
5685
|
}
|
|
5708
|
-
function
|
|
5686
|
+
function Eo({
|
|
5709
5687
|
className: e,
|
|
5710
5688
|
...t
|
|
5711
5689
|
}) {
|
|
@@ -5718,7 +5696,7 @@ function Ro({
|
|
|
5718
5696
|
}
|
|
5719
5697
|
);
|
|
5720
5698
|
}
|
|
5721
|
-
function
|
|
5699
|
+
function Bl({
|
|
5722
5700
|
trigger: e,
|
|
5723
5701
|
children: t,
|
|
5724
5702
|
title: r,
|
|
@@ -5751,7 +5729,7 @@ function Hl({
|
|
|
5751
5729
|
children: [
|
|
5752
5730
|
(r ?? o) && /* @__PURE__ */ f("div", { className: "mb-2", children: [
|
|
5753
5731
|
r && /* @__PURE__ */ a(Lo, { children: r }),
|
|
5754
|
-
o && /* @__PURE__ */ a(
|
|
5732
|
+
o && /* @__PURE__ */ a(Eo, { children: o })
|
|
5755
5733
|
] }),
|
|
5756
5734
|
t
|
|
5757
5735
|
]
|
|
@@ -5759,7 +5737,7 @@ function Hl({
|
|
|
5759
5737
|
)
|
|
5760
5738
|
] });
|
|
5761
5739
|
}
|
|
5762
|
-
const
|
|
5740
|
+
const Ro = ee(
|
|
5763
5741
|
"block w-full overflow-hidden rounded-full bg-input",
|
|
5764
5742
|
{
|
|
5765
5743
|
variants: {
|
|
@@ -5771,7 +5749,7 @@ const Fo = ee(
|
|
|
5771
5749
|
},
|
|
5772
5750
|
defaultVariants: { size: "md" }
|
|
5773
5751
|
}
|
|
5774
|
-
),
|
|
5752
|
+
), Fo = ee("transition-all duration-500", {
|
|
5775
5753
|
variants: {
|
|
5776
5754
|
variant: {
|
|
5777
5755
|
default: "bg-primary",
|
|
@@ -5783,7 +5761,7 @@ const Fo = ee(
|
|
|
5783
5761
|
},
|
|
5784
5762
|
defaultVariants: { variant: "default" }
|
|
5785
5763
|
});
|
|
5786
|
-
function
|
|
5764
|
+
function Mo({
|
|
5787
5765
|
className: e,
|
|
5788
5766
|
...t
|
|
5789
5767
|
}) {
|
|
@@ -5796,7 +5774,7 @@ function Vo({
|
|
|
5796
5774
|
}
|
|
5797
5775
|
);
|
|
5798
5776
|
}
|
|
5799
|
-
function
|
|
5777
|
+
function Hl({
|
|
5800
5778
|
className: e,
|
|
5801
5779
|
...t
|
|
5802
5780
|
}) {
|
|
@@ -5809,7 +5787,7 @@ function Xl({
|
|
|
5809
5787
|
}
|
|
5810
5788
|
);
|
|
5811
5789
|
}
|
|
5812
|
-
function
|
|
5790
|
+
function Vo({
|
|
5813
5791
|
className: e,
|
|
5814
5792
|
size: t,
|
|
5815
5793
|
...r
|
|
@@ -5817,13 +5795,13 @@ function jo({
|
|
|
5817
5795
|
return /* @__PURE__ */ a(
|
|
5818
5796
|
be.Track,
|
|
5819
5797
|
{
|
|
5820
|
-
className: l(
|
|
5798
|
+
className: l(Ro({ size: t }), e),
|
|
5821
5799
|
"data-slot": "progress-track",
|
|
5822
5800
|
...r
|
|
5823
5801
|
}
|
|
5824
5802
|
);
|
|
5825
5803
|
}
|
|
5826
|
-
function
|
|
5804
|
+
function jo({
|
|
5827
5805
|
className: e,
|
|
5828
5806
|
variant: t,
|
|
5829
5807
|
...r
|
|
@@ -5831,13 +5809,13 @@ function Oo({
|
|
|
5831
5809
|
return /* @__PURE__ */ a(
|
|
5832
5810
|
be.Indicator,
|
|
5833
5811
|
{
|
|
5834
|
-
className: l(
|
|
5812
|
+
className: l(Fo({ variant: t }), e),
|
|
5835
5813
|
"data-slot": "progress-indicator",
|
|
5836
5814
|
...r
|
|
5837
5815
|
}
|
|
5838
5816
|
);
|
|
5839
5817
|
}
|
|
5840
|
-
function
|
|
5818
|
+
function Xl({
|
|
5841
5819
|
className: e,
|
|
5842
5820
|
...t
|
|
5843
5821
|
}) {
|
|
@@ -5850,7 +5828,7 @@ function Kl({
|
|
|
5850
5828
|
}
|
|
5851
5829
|
);
|
|
5852
5830
|
}
|
|
5853
|
-
function
|
|
5831
|
+
function Kl({
|
|
5854
5832
|
size: e,
|
|
5855
5833
|
variant: t,
|
|
5856
5834
|
className: r,
|
|
@@ -5858,9 +5836,9 @@ function Ul({
|
|
|
5858
5836
|
indicatorProps: n,
|
|
5859
5837
|
...i
|
|
5860
5838
|
}) {
|
|
5861
|
-
return /* @__PURE__ */ a(
|
|
5839
|
+
return /* @__PURE__ */ a(Mo, { className: r, ...i, children: /* @__PURE__ */ a(Vo, { size: e, ...o, children: /* @__PURE__ */ a(jo, { variant: t, ...n }) }) });
|
|
5862
5840
|
}
|
|
5863
|
-
function
|
|
5841
|
+
function Ul({ className: e, ...t }) {
|
|
5864
5842
|
return /* @__PURE__ */ a(
|
|
5865
5843
|
"div",
|
|
5866
5844
|
{
|
|
@@ -5873,7 +5851,7 @@ function Wl({ className: e, ...t }) {
|
|
|
5873
5851
|
}
|
|
5874
5852
|
);
|
|
5875
5853
|
}
|
|
5876
|
-
const
|
|
5854
|
+
const Wl = ({
|
|
5877
5855
|
as: e = "div",
|
|
5878
5856
|
inline: t = !1,
|
|
5879
5857
|
direction: r = "horizontal",
|
|
@@ -5909,7 +5887,7 @@ const Yl = ({
|
|
|
5909
5887
|
}
|
|
5910
5888
|
);
|
|
5911
5889
|
};
|
|
5912
|
-
function
|
|
5890
|
+
function Oo(e, t, r) {
|
|
5913
5891
|
return r === "none" ? !1 : r === "both" ? !0 : r === "backward-only" ? e <= t : e >= t;
|
|
5914
5892
|
}
|
|
5915
5893
|
const Ut = j(
|
|
@@ -5930,7 +5908,7 @@ function xe() {
|
|
|
5930
5908
|
throw new Error("useStepItem must be used within a StepperItem");
|
|
5931
5909
|
return e;
|
|
5932
5910
|
}
|
|
5933
|
-
function
|
|
5911
|
+
function Go({
|
|
5934
5912
|
defaultValue: e = 1,
|
|
5935
5913
|
value: t,
|
|
5936
5914
|
onValueChange: r,
|
|
@@ -5968,12 +5946,12 @@ function $o({
|
|
|
5968
5946
|
children: C({
|
|
5969
5947
|
defaultTagName: "div",
|
|
5970
5948
|
render: d,
|
|
5971
|
-
props:
|
|
5949
|
+
props: T(m, u)
|
|
5972
5950
|
})
|
|
5973
5951
|
}
|
|
5974
5952
|
);
|
|
5975
5953
|
}
|
|
5976
|
-
function
|
|
5954
|
+
function $o({
|
|
5977
5955
|
className: e,
|
|
5978
5956
|
render: t,
|
|
5979
5957
|
children: r,
|
|
@@ -5993,10 +5971,10 @@ function Bo({
|
|
|
5993
5971
|
return C({
|
|
5994
5972
|
defaultTagName: "nav",
|
|
5995
5973
|
render: t,
|
|
5996
|
-
props:
|
|
5974
|
+
props: T(i, o)
|
|
5997
5975
|
});
|
|
5998
5976
|
}
|
|
5999
|
-
function
|
|
5977
|
+
function Bo({
|
|
6000
5978
|
step: e,
|
|
6001
5979
|
disabled: t = !1,
|
|
6002
5980
|
loading: r = !1,
|
|
@@ -6023,18 +6001,18 @@ function Ho({
|
|
|
6023
6001
|
children: C({
|
|
6024
6002
|
defaultTagName: "div",
|
|
6025
6003
|
render: n,
|
|
6026
|
-
props:
|
|
6004
|
+
props: T(p, s)
|
|
6027
6005
|
})
|
|
6028
6006
|
}
|
|
6029
6007
|
);
|
|
6030
6008
|
}
|
|
6031
|
-
function
|
|
6009
|
+
function Ho({
|
|
6032
6010
|
className: e,
|
|
6033
6011
|
render: t,
|
|
6034
6012
|
children: r,
|
|
6035
6013
|
...o
|
|
6036
6014
|
}) {
|
|
6037
|
-
const { activeStep: n, setActiveStep: i, triggerMode: s } = se(), { step: d, state: c, isDisabled: u, isLoading: p } = xe(), h = n === d, m =
|
|
6015
|
+
const { activeStep: n, setActiveStep: i, triggerMode: s } = se(), { step: d, state: c, isDisabled: u, isLoading: p } = xe(), h = n === d, m = Oo(d, n, s), y = (g) => {
|
|
6038
6016
|
const x = Array.from(
|
|
6039
6017
|
g.currentTarget.closest('[data-slot="stepper-nav"]')?.querySelectorAll(
|
|
6040
6018
|
'[data-slot="stepper-trigger"]:not([disabled]):not([aria-disabled="true"])'
|
|
@@ -6085,10 +6063,10 @@ function Xo({
|
|
|
6085
6063
|
return C({
|
|
6086
6064
|
defaultTagName: "button",
|
|
6087
6065
|
render: t,
|
|
6088
|
-
props:
|
|
6066
|
+
props: T(b, o)
|
|
6089
6067
|
});
|
|
6090
6068
|
}
|
|
6091
|
-
function
|
|
6069
|
+
function Xo({
|
|
6092
6070
|
className: e,
|
|
6093
6071
|
render: t,
|
|
6094
6072
|
children: r,
|
|
@@ -6109,10 +6087,10 @@ function Ko({
|
|
|
6109
6087
|
return C({
|
|
6110
6088
|
defaultTagName: "div",
|
|
6111
6089
|
render: t,
|
|
6112
|
-
props:
|
|
6090
|
+
props: T(c, o)
|
|
6113
6091
|
});
|
|
6114
6092
|
}
|
|
6115
|
-
function
|
|
6093
|
+
function Ko({
|
|
6116
6094
|
className: e,
|
|
6117
6095
|
render: t,
|
|
6118
6096
|
children: r,
|
|
@@ -6133,10 +6111,10 @@ function Uo({
|
|
|
6133
6111
|
return C({
|
|
6134
6112
|
defaultTagName: "div",
|
|
6135
6113
|
render: t,
|
|
6136
|
-
props:
|
|
6114
|
+
props: T(i, o)
|
|
6137
6115
|
});
|
|
6138
6116
|
}
|
|
6139
|
-
function
|
|
6117
|
+
function Uo({
|
|
6140
6118
|
className: e,
|
|
6141
6119
|
render: t,
|
|
6142
6120
|
children: r,
|
|
@@ -6151,10 +6129,10 @@ function Wo({
|
|
|
6151
6129
|
return C({
|
|
6152
6130
|
defaultTagName: "h3",
|
|
6153
6131
|
render: t,
|
|
6154
|
-
props:
|
|
6132
|
+
props: T(i, o)
|
|
6155
6133
|
});
|
|
6156
6134
|
}
|
|
6157
|
-
function
|
|
6135
|
+
function Wo({
|
|
6158
6136
|
className: e,
|
|
6159
6137
|
render: t,
|
|
6160
6138
|
children: r,
|
|
@@ -6169,10 +6147,10 @@ function Yo({
|
|
|
6169
6147
|
return C({
|
|
6170
6148
|
defaultTagName: "p",
|
|
6171
6149
|
render: t,
|
|
6172
|
-
props:
|
|
6150
|
+
props: T(i, o)
|
|
6173
6151
|
});
|
|
6174
6152
|
}
|
|
6175
|
-
function
|
|
6153
|
+
function Yo({
|
|
6176
6154
|
className: e,
|
|
6177
6155
|
render: t,
|
|
6178
6156
|
children: r,
|
|
@@ -6187,10 +6165,10 @@ function qo({
|
|
|
6187
6165
|
return C({
|
|
6188
6166
|
defaultTagName: "div",
|
|
6189
6167
|
render: t,
|
|
6190
|
-
props:
|
|
6168
|
+
props: T(i, o)
|
|
6191
6169
|
});
|
|
6192
6170
|
}
|
|
6193
|
-
function
|
|
6171
|
+
function qo({
|
|
6194
6172
|
value: e,
|
|
6195
6173
|
forceMount: t = !1,
|
|
6196
6174
|
className: r,
|
|
@@ -6213,38 +6191,38 @@ function Jo({
|
|
|
6213
6191
|
return C({
|
|
6214
6192
|
defaultTagName: "div",
|
|
6215
6193
|
render: o,
|
|
6216
|
-
props:
|
|
6194
|
+
props: T(c, i)
|
|
6217
6195
|
});
|
|
6218
6196
|
}
|
|
6219
|
-
function
|
|
6197
|
+
function Yl({ items: e, classNames: t, ...r }) {
|
|
6220
6198
|
const o = e.some((n) => n.content != null);
|
|
6221
|
-
return /* @__PURE__ */ f(
|
|
6222
|
-
/* @__PURE__ */ a(
|
|
6199
|
+
return /* @__PURE__ */ f(Go, { ...r, children: [
|
|
6200
|
+
/* @__PURE__ */ a($o, { className: t?.nav, children: e.map((n, i) => {
|
|
6223
6201
|
const s = i + 1;
|
|
6224
6202
|
return /* @__PURE__ */ f(
|
|
6225
|
-
|
|
6203
|
+
Bo,
|
|
6226
6204
|
{
|
|
6227
6205
|
step: s,
|
|
6228
6206
|
disabled: n.disabled,
|
|
6229
6207
|
loading: n.loading,
|
|
6230
6208
|
className: t?.item,
|
|
6231
6209
|
children: [
|
|
6232
|
-
/* @__PURE__ */ f(
|
|
6233
|
-
/* @__PURE__ */ a(
|
|
6210
|
+
/* @__PURE__ */ f(Ho, { className: t?.trigger, children: [
|
|
6211
|
+
/* @__PURE__ */ a(Xo, { className: t?.indicator, children: n.indicator ?? s }),
|
|
6234
6212
|
(n.title || n.description) && /* @__PURE__ */ f("div", { className: "flex flex-col gap-0.5 text-left", children: [
|
|
6235
|
-
n.title ? /* @__PURE__ */ a(
|
|
6236
|
-
n.description ? /* @__PURE__ */ a(
|
|
6213
|
+
n.title ? /* @__PURE__ */ a(Uo, { className: t?.title, children: n.title }) : null,
|
|
6214
|
+
n.description ? /* @__PURE__ */ a(Wo, { className: t?.description, children: n.description }) : null
|
|
6237
6215
|
] })
|
|
6238
6216
|
] }),
|
|
6239
|
-
i < e.length - 1 ? /* @__PURE__ */ a(
|
|
6217
|
+
i < e.length - 1 ? /* @__PURE__ */ a(Ko, { className: t?.separator }) : null
|
|
6240
6218
|
]
|
|
6241
6219
|
},
|
|
6242
6220
|
s
|
|
6243
6221
|
);
|
|
6244
6222
|
}) }),
|
|
6245
|
-
o ? /* @__PURE__ */ a(
|
|
6223
|
+
o ? /* @__PURE__ */ a(Yo, { className: t?.panel, children: e.map(
|
|
6246
6224
|
(n, i) => n.content != null ? /* @__PURE__ */ a(
|
|
6247
|
-
|
|
6225
|
+
qo,
|
|
6248
6226
|
{
|
|
6249
6227
|
value: i + 1,
|
|
6250
6228
|
className: t?.content,
|
|
@@ -6255,12 +6233,12 @@ function ql({ items: e, classNames: t, ...r }) {
|
|
|
6255
6233
|
) }) : null
|
|
6256
6234
|
] });
|
|
6257
6235
|
}
|
|
6258
|
-
function
|
|
6236
|
+
function Jo({
|
|
6259
6237
|
className: e,
|
|
6260
6238
|
...t
|
|
6261
6239
|
}) {
|
|
6262
6240
|
return /* @__PURE__ */ a(
|
|
6263
|
-
|
|
6241
|
+
kt.Root,
|
|
6264
6242
|
{
|
|
6265
6243
|
className: l(
|
|
6266
6244
|
"peer inline-flex h-[calc(var(--thumb-size)+2px)] w-[calc(var(--thumb-size)*2-2px)] shrink-0 items-center rounded-full p-px outline-none transition-[background-color,box-shadow] duration-200",
|
|
@@ -6275,12 +6253,12 @@ function Zo({
|
|
|
6275
6253
|
}
|
|
6276
6254
|
);
|
|
6277
6255
|
}
|
|
6278
|
-
function
|
|
6256
|
+
function Zo({
|
|
6279
6257
|
className: e,
|
|
6280
6258
|
...t
|
|
6281
6259
|
}) {
|
|
6282
6260
|
return /* @__PURE__ */ a(
|
|
6283
|
-
|
|
6261
|
+
kt.Thumb,
|
|
6284
6262
|
{
|
|
6285
6263
|
className: l(
|
|
6286
6264
|
"pointer-events-none block aspect-square h-full rounded-(--thumb-size) bg-background shadow-sm/5 will-change-transform",
|
|
@@ -6295,7 +6273,7 @@ function Qo({
|
|
|
6295
6273
|
}
|
|
6296
6274
|
);
|
|
6297
6275
|
}
|
|
6298
|
-
function
|
|
6276
|
+
function ql({
|
|
6299
6277
|
children: e,
|
|
6300
6278
|
label: t,
|
|
6301
6279
|
className: r,
|
|
@@ -6315,7 +6293,7 @@ function Jl({
|
|
|
6315
6293
|
s?.wrapper
|
|
6316
6294
|
),
|
|
6317
6295
|
children: [
|
|
6318
|
-
/* @__PURE__ */ a(
|
|
6296
|
+
/* @__PURE__ */ a(Jo, { id: u, className: r, ...d, children: /* @__PURE__ */ a(Zo, { className: s?.thumb }) }),
|
|
6319
6297
|
p && /* @__PURE__ */ a(
|
|
6320
6298
|
Se,
|
|
6321
6299
|
{
|
|
@@ -6329,7 +6307,7 @@ function Jl({
|
|
|
6329
6307
|
}
|
|
6330
6308
|
);
|
|
6331
6309
|
}
|
|
6332
|
-
function
|
|
6310
|
+
function Qo({ className: e, classNames: t, ...r }) {
|
|
6333
6311
|
return /* @__PURE__ */ a(
|
|
6334
6312
|
"div",
|
|
6335
6313
|
{
|
|
@@ -6349,7 +6327,7 @@ function ei({ className: e, classNames: t, ...r }) {
|
|
|
6349
6327
|
}
|
|
6350
6328
|
);
|
|
6351
6329
|
}
|
|
6352
|
-
function
|
|
6330
|
+
function ei({
|
|
6353
6331
|
className: e,
|
|
6354
6332
|
...t
|
|
6355
6333
|
}) {
|
|
@@ -6362,7 +6340,7 @@ function ti({
|
|
|
6362
6340
|
}
|
|
6363
6341
|
);
|
|
6364
6342
|
}
|
|
6365
|
-
function
|
|
6343
|
+
function ti({
|
|
6366
6344
|
className: e,
|
|
6367
6345
|
...t
|
|
6368
6346
|
}) {
|
|
@@ -6375,7 +6353,7 @@ function ri({
|
|
|
6375
6353
|
}
|
|
6376
6354
|
);
|
|
6377
6355
|
}
|
|
6378
|
-
function
|
|
6356
|
+
function Jl({
|
|
6379
6357
|
className: e,
|
|
6380
6358
|
...t
|
|
6381
6359
|
}) {
|
|
@@ -6404,7 +6382,7 @@ function vt({ className: e, ...t }) {
|
|
|
6404
6382
|
}
|
|
6405
6383
|
);
|
|
6406
6384
|
}
|
|
6407
|
-
function
|
|
6385
|
+
function ri({ className: e, ...t }) {
|
|
6408
6386
|
return /* @__PURE__ */ a(
|
|
6409
6387
|
"th",
|
|
6410
6388
|
{
|
|
@@ -6417,7 +6395,7 @@ function ai({ className: e, ...t }) {
|
|
|
6417
6395
|
}
|
|
6418
6396
|
);
|
|
6419
6397
|
}
|
|
6420
|
-
function
|
|
6398
|
+
function ai({ className: e, ...t }) {
|
|
6421
6399
|
return /* @__PURE__ */ a(
|
|
6422
6400
|
"td",
|
|
6423
6401
|
{
|
|
@@ -6430,7 +6408,7 @@ function ni({ className: e, ...t }) {
|
|
|
6430
6408
|
}
|
|
6431
6409
|
);
|
|
6432
6410
|
}
|
|
6433
|
-
function
|
|
6411
|
+
function Zl({
|
|
6434
6412
|
className: e,
|
|
6435
6413
|
...t
|
|
6436
6414
|
}) {
|
|
@@ -6443,7 +6421,7 @@ function Ql({
|
|
|
6443
6421
|
}
|
|
6444
6422
|
);
|
|
6445
6423
|
}
|
|
6446
|
-
function
|
|
6424
|
+
function Ql({
|
|
6447
6425
|
data: e = [],
|
|
6448
6426
|
columns: t = [],
|
|
6449
6427
|
getRowKey: r,
|
|
@@ -6454,13 +6432,13 @@ function ed({
|
|
|
6454
6432
|
...d
|
|
6455
6433
|
}) {
|
|
6456
6434
|
return /* @__PURE__ */ f(
|
|
6457
|
-
|
|
6435
|
+
Qo,
|
|
6458
6436
|
{
|
|
6459
6437
|
...d,
|
|
6460
6438
|
classNames: { container: s?.container },
|
|
6461
6439
|
children: [
|
|
6462
|
-
/* @__PURE__ */ a(
|
|
6463
|
-
|
|
6440
|
+
/* @__PURE__ */ a(ei, { className: s?.thead, children: /* @__PURE__ */ a(vt, { className: s?.headerRow, children: t.map((c, u) => /* @__PURE__ */ a(
|
|
6441
|
+
ri,
|
|
6464
6442
|
{
|
|
6465
6443
|
className: s?.th,
|
|
6466
6444
|
style: { width: c.width },
|
|
@@ -6468,14 +6446,14 @@ function ed({
|
|
|
6468
6446
|
},
|
|
6469
6447
|
u
|
|
6470
6448
|
)) }) }),
|
|
6471
|
-
/* @__PURE__ */ a(
|
|
6449
|
+
/* @__PURE__ */ a(ti, { className: s?.tbody, children: e.map((c, u) => /* @__PURE__ */ a(
|
|
6472
6450
|
vt,
|
|
6473
6451
|
{
|
|
6474
6452
|
className: s?.tr,
|
|
6475
6453
|
"data-selected": i?.(c),
|
|
6476
6454
|
onClick: () => o?.(c),
|
|
6477
6455
|
onDoubleClick: () => n?.(c),
|
|
6478
|
-
children: t.map((p, h) => /* @__PURE__ */ a(
|
|
6456
|
+
children: t.map((p, h) => /* @__PURE__ */ a(ai, { className: s?.td, children: p.cell ? p.cell(c, u) : c[p.key] }, h))
|
|
6479
6457
|
},
|
|
6480
6458
|
r ? r(c, u) : u
|
|
6481
6459
|
)) })
|
|
@@ -6483,7 +6461,7 @@ function ed({
|
|
|
6483
6461
|
}
|
|
6484
6462
|
);
|
|
6485
6463
|
}
|
|
6486
|
-
function
|
|
6464
|
+
function ed({
|
|
6487
6465
|
className: e,
|
|
6488
6466
|
...t
|
|
6489
6467
|
}) {
|
|
@@ -6499,7 +6477,7 @@ function td({
|
|
|
6499
6477
|
}
|
|
6500
6478
|
);
|
|
6501
6479
|
}
|
|
6502
|
-
function
|
|
6480
|
+
function td({
|
|
6503
6481
|
variant: e = "underline",
|
|
6504
6482
|
centered: t = !1,
|
|
6505
6483
|
className: r,
|
|
@@ -6535,7 +6513,7 @@ function rd({
|
|
|
6535
6513
|
}
|
|
6536
6514
|
);
|
|
6537
6515
|
}
|
|
6538
|
-
function
|
|
6516
|
+
function rd({
|
|
6539
6517
|
className: e,
|
|
6540
6518
|
...t
|
|
6541
6519
|
}) {
|
|
@@ -6551,7 +6529,7 @@ function ad({
|
|
|
6551
6529
|
}
|
|
6552
6530
|
);
|
|
6553
6531
|
}
|
|
6554
|
-
function
|
|
6532
|
+
function ad({
|
|
6555
6533
|
className: e,
|
|
6556
6534
|
...t
|
|
6557
6535
|
}) {
|
|
@@ -6564,8 +6542,8 @@ function nd({
|
|
|
6564
6542
|
}
|
|
6565
6543
|
);
|
|
6566
6544
|
}
|
|
6567
|
-
const
|
|
6568
|
-
"group/tag inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50
|
|
6545
|
+
const ni = ee(
|
|
6546
|
+
"group/tag inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-error aria-invalid:ring-error/20 dark:aria-invalid:ring-error/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
|
|
6569
6547
|
{
|
|
6570
6548
|
variants: {
|
|
6571
6549
|
variant: {
|
|
@@ -6582,7 +6560,7 @@ const oi = ee(
|
|
|
6582
6560
|
}
|
|
6583
6561
|
}
|
|
6584
6562
|
);
|
|
6585
|
-
function
|
|
6563
|
+
function nd({
|
|
6586
6564
|
className: e,
|
|
6587
6565
|
variant: t = "default",
|
|
6588
6566
|
render: r,
|
|
@@ -6590,9 +6568,9 @@ function od({
|
|
|
6590
6568
|
}) {
|
|
6591
6569
|
return C({
|
|
6592
6570
|
defaultTagName: "span",
|
|
6593
|
-
props:
|
|
6571
|
+
props: T(
|
|
6594
6572
|
{
|
|
6595
|
-
className: l(
|
|
6573
|
+
className: l(ni({ variant: t }), e)
|
|
6596
6574
|
},
|
|
6597
6575
|
o
|
|
6598
6576
|
),
|
|
@@ -6603,7 +6581,7 @@ function od({
|
|
|
6603
6581
|
}
|
|
6604
6582
|
});
|
|
6605
6583
|
}
|
|
6606
|
-
function
|
|
6584
|
+
function od({
|
|
6607
6585
|
className: e,
|
|
6608
6586
|
onValueChange: t,
|
|
6609
6587
|
...r
|
|
@@ -6630,13 +6608,13 @@ function id({
|
|
|
6630
6608
|
const Yt = j(
|
|
6631
6609
|
void 0
|
|
6632
6610
|
);
|
|
6633
|
-
function
|
|
6611
|
+
function oi() {
|
|
6634
6612
|
const e = O(Yt);
|
|
6635
6613
|
if (!e)
|
|
6636
6614
|
throw new Error("useTimeline must be used within a TimelineRoot");
|
|
6637
6615
|
return e;
|
|
6638
6616
|
}
|
|
6639
|
-
function
|
|
6617
|
+
function ii({
|
|
6640
6618
|
defaultValue: e = 1,
|
|
6641
6619
|
value: t,
|
|
6642
6620
|
onValueChange: r,
|
|
@@ -6662,17 +6640,17 @@ function si({
|
|
|
6662
6640
|
return /* @__PURE__ */ a(Yt.Provider, { value: { activeStep: c, setActiveStep: u }, children: C({
|
|
6663
6641
|
defaultTagName: "div",
|
|
6664
6642
|
render: i,
|
|
6665
|
-
props:
|
|
6643
|
+
props: T(p, d)
|
|
6666
6644
|
}) });
|
|
6667
6645
|
}
|
|
6668
|
-
function
|
|
6646
|
+
function Ee({
|
|
6669
6647
|
step: e,
|
|
6670
6648
|
className: t,
|
|
6671
6649
|
render: r,
|
|
6672
6650
|
children: o,
|
|
6673
6651
|
...n
|
|
6674
6652
|
}) {
|
|
6675
|
-
const { activeStep: i } =
|
|
6653
|
+
const { activeStep: i } = oi(), s = {
|
|
6676
6654
|
className: l(
|
|
6677
6655
|
"group/timeline-item relative flex flex-1 flex-col gap-0.5 group-data-[orientation=vertical]/timeline:ms-8 group-data-[orientation=horizontal]/timeline:mt-8 group-data-[orientation=horizontal]/timeline:not-last:pe-8 group-data-[orientation=vertical]/timeline:not-last:pb-6 has-[+[data-completed]]:**:data-[slot=timeline-separator]:bg-primary",
|
|
6678
6656
|
t
|
|
@@ -6684,7 +6662,7 @@ function Le({
|
|
|
6684
6662
|
return C({
|
|
6685
6663
|
defaultTagName: "div",
|
|
6686
6664
|
render: r,
|
|
6687
|
-
props:
|
|
6665
|
+
props: T(s, n)
|
|
6688
6666
|
});
|
|
6689
6667
|
}
|
|
6690
6668
|
function Re({
|
|
@@ -6701,7 +6679,7 @@ function Re({
|
|
|
6701
6679
|
return C({
|
|
6702
6680
|
defaultTagName: "div",
|
|
6703
6681
|
render: t,
|
|
6704
|
-
props:
|
|
6682
|
+
props: T(n, o)
|
|
6705
6683
|
});
|
|
6706
6684
|
}
|
|
6707
6685
|
function Fe({
|
|
@@ -6718,7 +6696,7 @@ function Fe({
|
|
|
6718
6696
|
return C({
|
|
6719
6697
|
defaultTagName: "h3",
|
|
6720
6698
|
render: t,
|
|
6721
|
-
props:
|
|
6699
|
+
props: T(n, o)
|
|
6722
6700
|
});
|
|
6723
6701
|
}
|
|
6724
6702
|
function Me({
|
|
@@ -6738,7 +6716,7 @@ function Me({
|
|
|
6738
6716
|
return C({
|
|
6739
6717
|
defaultTagName: "time",
|
|
6740
6718
|
render: t,
|
|
6741
|
-
props:
|
|
6719
|
+
props: T(n, o)
|
|
6742
6720
|
});
|
|
6743
6721
|
}
|
|
6744
6722
|
function Ve({
|
|
@@ -6755,7 +6733,7 @@ function Ve({
|
|
|
6755
6733
|
return C({
|
|
6756
6734
|
defaultTagName: "div",
|
|
6757
6735
|
render: t,
|
|
6758
|
-
props:
|
|
6736
|
+
props: T(n, o)
|
|
6759
6737
|
});
|
|
6760
6738
|
}
|
|
6761
6739
|
function je({
|
|
@@ -6776,7 +6754,7 @@ function je({
|
|
|
6776
6754
|
return C({
|
|
6777
6755
|
defaultTagName: "div",
|
|
6778
6756
|
render: t,
|
|
6779
|
-
props:
|
|
6757
|
+
props: T(n, o)
|
|
6780
6758
|
});
|
|
6781
6759
|
}
|
|
6782
6760
|
function Oe({
|
|
@@ -6797,17 +6775,17 @@ function Oe({
|
|
|
6797
6775
|
return C({
|
|
6798
6776
|
defaultTagName: "div",
|
|
6799
6777
|
render: t,
|
|
6800
|
-
props:
|
|
6778
|
+
props: T(n, o)
|
|
6801
6779
|
});
|
|
6802
6780
|
}
|
|
6803
|
-
function
|
|
6781
|
+
function id({
|
|
6804
6782
|
items: e,
|
|
6805
6783
|
variant: t = "default",
|
|
6806
6784
|
classNames: r,
|
|
6807
6785
|
...o
|
|
6808
6786
|
}) {
|
|
6809
|
-
return /* @__PURE__ */ a(
|
|
6810
|
-
|
|
6787
|
+
return /* @__PURE__ */ a(ii, { ...o, children: e.map((n, i) => t === "alternate" ? /* @__PURE__ */ f(
|
|
6788
|
+
Ee,
|
|
6811
6789
|
{
|
|
6812
6790
|
step: i + 1,
|
|
6813
6791
|
className: l(
|
|
@@ -6829,7 +6807,7 @@ function sd({
|
|
|
6829
6807
|
},
|
|
6830
6808
|
i
|
|
6831
6809
|
) : t === "date-left" ? /* @__PURE__ */ f(
|
|
6832
|
-
|
|
6810
|
+
Ee,
|
|
6833
6811
|
{
|
|
6834
6812
|
step: i + 1,
|
|
6835
6813
|
className: l(
|
|
@@ -6862,7 +6840,7 @@ function sd({
|
|
|
6862
6840
|
]
|
|
6863
6841
|
},
|
|
6864
6842
|
i
|
|
6865
|
-
) : /* @__PURE__ */ f(
|
|
6843
|
+
) : /* @__PURE__ */ f(Ee, { step: i + 1, className: r?.item, children: [
|
|
6866
6844
|
/* @__PURE__ */ f(Re, { className: r?.header, children: [
|
|
6867
6845
|
n.date ? /* @__PURE__ */ a(Me, { className: r?.date, children: n.date }) : null,
|
|
6868
6846
|
n.title ? /* @__PURE__ */ a(Fe, { className: r?.title, children: n.title }) : null
|
|
@@ -6880,19 +6858,19 @@ const Ie = {
|
|
|
6880
6858
|
bgClass: ""
|
|
6881
6859
|
},
|
|
6882
6860
|
success: {
|
|
6883
|
-
icon:
|
|
6861
|
+
icon: hr,
|
|
6884
6862
|
ringClass: "ring-success",
|
|
6885
6863
|
titleClass: "text-success",
|
|
6886
6864
|
bgClass: "bg-success/5"
|
|
6887
6865
|
},
|
|
6888
6866
|
error: {
|
|
6889
|
-
icon:
|
|
6867
|
+
icon: gr,
|
|
6890
6868
|
ringClass: "ring-error",
|
|
6891
6869
|
titleClass: "text-error",
|
|
6892
6870
|
bgClass: "bg-error/5"
|
|
6893
6871
|
},
|
|
6894
6872
|
warning: {
|
|
6895
|
-
icon:
|
|
6873
|
+
icon: fr,
|
|
6896
6874
|
ringClass: "ring-warning",
|
|
6897
6875
|
titleClass: "text-warning",
|
|
6898
6876
|
bgClass: "bg-warning/5"
|
|
@@ -6904,7 +6882,7 @@ const Ie = {
|
|
|
6904
6882
|
bgClass: "bg-info/5"
|
|
6905
6883
|
}
|
|
6906
6884
|
};
|
|
6907
|
-
function
|
|
6885
|
+
function si({
|
|
6908
6886
|
variant: e = "default"
|
|
6909
6887
|
} = {}) {
|
|
6910
6888
|
return l(
|
|
@@ -6952,21 +6930,21 @@ function ot(e) {
|
|
|
6952
6930
|
})
|
|
6953
6931
|
};
|
|
6954
6932
|
}
|
|
6955
|
-
function
|
|
6933
|
+
function li() {
|
|
6956
6934
|
const e = V.useToastManager();
|
|
6957
6935
|
return {
|
|
6958
6936
|
...ot(e),
|
|
6959
6937
|
toasts: e.toasts
|
|
6960
6938
|
};
|
|
6961
6939
|
}
|
|
6962
|
-
function
|
|
6940
|
+
function sd() {
|
|
6963
6941
|
return ot(V.createToastManager());
|
|
6964
6942
|
}
|
|
6965
6943
|
let Y = null;
|
|
6966
6944
|
function ce(e) {
|
|
6967
6945
|
return typeof e == "string" ? { title: e } : e;
|
|
6968
6946
|
}
|
|
6969
|
-
const
|
|
6947
|
+
const ld = Object.assign(
|
|
6970
6948
|
(e) => Y?.add({ ...ce(e) }),
|
|
6971
6949
|
{
|
|
6972
6950
|
success: (e) => Y?.add({ variant: "success", ...ce(e) }),
|
|
@@ -6976,28 +6954,28 @@ const dd = Object.assign(
|
|
|
6976
6954
|
promise: (e, t) => Y?.promise(e, t)
|
|
6977
6955
|
}
|
|
6978
6956
|
);
|
|
6979
|
-
function
|
|
6957
|
+
function di() {
|
|
6980
6958
|
const e = V.useToastManager();
|
|
6981
|
-
return Y = re(() => ot(e), [e]),
|
|
6959
|
+
return Y = re(() => ot(e), [e]), L(
|
|
6982
6960
|
() => () => {
|
|
6983
6961
|
Y = null;
|
|
6984
6962
|
},
|
|
6985
6963
|
[]
|
|
6986
6964
|
), null;
|
|
6987
6965
|
}
|
|
6988
|
-
function
|
|
6966
|
+
function ci({
|
|
6989
6967
|
children: e,
|
|
6990
6968
|
toastManager: t,
|
|
6991
6969
|
container: r
|
|
6992
6970
|
}) {
|
|
6993
6971
|
return /* @__PURE__ */ f(V.Provider, { toastManager: t, children: [
|
|
6994
|
-
/* @__PURE__ */ a(
|
|
6972
|
+
/* @__PURE__ */ a(di, {}),
|
|
6995
6973
|
e,
|
|
6996
|
-
/* @__PURE__ */ a(V.Portal, { container: r, children: /* @__PURE__ */ a(V.Viewport, { className: "fixed top-auto right-4 bottom-4 mx-auto flex w-[calc(100%-2rem)] sm:right-8 sm:bottom-8 sm:w-[340px]", children: /* @__PURE__ */ a(
|
|
6974
|
+
/* @__PURE__ */ a(V.Portal, { container: r, children: /* @__PURE__ */ a(V.Viewport, { className: "fixed top-auto right-4 bottom-4 mx-auto flex w-[calc(100%-2rem)] sm:right-8 sm:bottom-8 sm:w-[340px]", children: /* @__PURE__ */ a(ui, {}) }) })
|
|
6997
6975
|
] });
|
|
6998
6976
|
}
|
|
6999
|
-
function
|
|
7000
|
-
const { toasts: e } =
|
|
6977
|
+
function ui() {
|
|
6978
|
+
const { toasts: e } = li();
|
|
7001
6979
|
return e.map((t) => /* @__PURE__ */ f(
|
|
7002
6980
|
V.Root,
|
|
7003
6981
|
{
|
|
@@ -7005,7 +6983,7 @@ function pi() {
|
|
|
7005
6983
|
"data-slot": "toast",
|
|
7006
6984
|
className: l(
|
|
7007
6985
|
"absolute right-0 bottom-0 left-auto z-[calc(var(--z-toast)-var(--toast-index))] mr-0 h-[var(--height)] w-full origin-bottom select-none",
|
|
7008
|
-
|
|
6986
|
+
si({ variant: t.variant }),
|
|
7009
6987
|
"[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]",
|
|
7010
6988
|
"[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s,height_0.15s]",
|
|
7011
6989
|
"after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']",
|
|
@@ -7018,10 +6996,10 @@ function pi() {
|
|
|
7018
6996
|
t.bump && "animate-toast-bump"
|
|
7019
6997
|
),
|
|
7020
6998
|
children: [
|
|
7021
|
-
/* @__PURE__ */ a(
|
|
6999
|
+
/* @__PURE__ */ a(pi, { variant: t.variant }),
|
|
7022
7000
|
/* @__PURE__ */ f(V.Content, { className: "isolate flex flex-col gap-1 transition-opacity [transition-duration:250ms] data-[behind]:pointer-events-none data-[behind]:opacity-0 data-[expanded]:pointer-events-auto data-[expanded]:opacity-100", children: [
|
|
7023
7001
|
t.content ?? /* @__PURE__ */ f("div", { className: "flex items-start gap-2", children: [
|
|
7024
|
-
/* @__PURE__ */ a(
|
|
7002
|
+
/* @__PURE__ */ a(mi, { variant: t.variant }),
|
|
7025
7003
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-1 overflow-hidden", children: [
|
|
7026
7004
|
/* @__PURE__ */ a(
|
|
7027
7005
|
V.Title,
|
|
@@ -7057,7 +7035,7 @@ function pi() {
|
|
|
7057
7035
|
t.id
|
|
7058
7036
|
));
|
|
7059
7037
|
}
|
|
7060
|
-
function
|
|
7038
|
+
function pi({ variant: e }) {
|
|
7061
7039
|
const t = e ? Ie[e].bgClass : "";
|
|
7062
7040
|
return /* @__PURE__ */ a(
|
|
7063
7041
|
"div",
|
|
@@ -7069,7 +7047,7 @@ function mi({ variant: e }) {
|
|
|
7069
7047
|
}
|
|
7070
7048
|
);
|
|
7071
7049
|
}
|
|
7072
|
-
function
|
|
7050
|
+
function mi({ variant: e }) {
|
|
7073
7051
|
if (!e || e === "default") return null;
|
|
7074
7052
|
const { icon: t, titleClass: r } = Ie[e];
|
|
7075
7053
|
return t ? /* @__PURE__ */ a(
|
|
@@ -7080,14 +7058,14 @@ function fi({ variant: e }) {
|
|
|
7080
7058
|
}
|
|
7081
7059
|
) : null;
|
|
7082
7060
|
}
|
|
7083
|
-
const
|
|
7061
|
+
const fi = /* @__PURE__ */ a(
|
|
7084
7062
|
Ue,
|
|
7085
7063
|
{
|
|
7086
7064
|
"aria-hidden": !0,
|
|
7087
7065
|
className: "size-4 shrink-0 text-muted-foreground transition-transform duration-200 in-data-[expanded=true]:rotate-90"
|
|
7088
7066
|
}
|
|
7089
7067
|
), qt = j(void 0);
|
|
7090
|
-
function
|
|
7068
|
+
function gi() {
|
|
7091
7069
|
const e = O(qt);
|
|
7092
7070
|
if (!e)
|
|
7093
7071
|
throw new Error("Tree components must be used within a TreeRoot");
|
|
@@ -7096,13 +7074,13 @@ function hi() {
|
|
|
7096
7074
|
const Jt = j(
|
|
7097
7075
|
void 0
|
|
7098
7076
|
);
|
|
7099
|
-
function
|
|
7077
|
+
function hi() {
|
|
7100
7078
|
const e = O(Jt);
|
|
7101
7079
|
if (!e)
|
|
7102
7080
|
throw new Error("TreeItemLabel must be used within a TreeItem");
|
|
7103
7081
|
return e;
|
|
7104
7082
|
}
|
|
7105
|
-
function
|
|
7083
|
+
function dd({
|
|
7106
7084
|
tree: e,
|
|
7107
7085
|
indent: t = 20,
|
|
7108
7086
|
className: r,
|
|
@@ -7123,20 +7101,20 @@ function cd({
|
|
|
7123
7101
|
return /* @__PURE__ */ a(qt.Provider, { value: { tree: e }, children: C({
|
|
7124
7102
|
defaultTagName: "div",
|
|
7125
7103
|
render: o,
|
|
7126
|
-
props:
|
|
7104
|
+
props: T(c, i)
|
|
7127
7105
|
}) });
|
|
7128
7106
|
}
|
|
7129
|
-
function
|
|
7107
|
+
function cd({
|
|
7130
7108
|
item: e,
|
|
7131
7109
|
leafIcon: t,
|
|
7132
|
-
parentIcon: r =
|
|
7110
|
+
parentIcon: r = fi,
|
|
7133
7111
|
className: o,
|
|
7134
7112
|
render: n,
|
|
7135
7113
|
children: i,
|
|
7136
7114
|
style: s,
|
|
7137
7115
|
...d
|
|
7138
7116
|
}) {
|
|
7139
|
-
const { style: c, ...u } = e.getProps(), p = e.getItemMeta().level, h = e.isFolder(), m = e.isExpanded(), y = h ? typeof r == "function" ? r(m) : r : t, b = /* @__PURE__ */ f(
|
|
7117
|
+
const { style: c, ...u } = e.getProps(), p = e.getItemMeta().level, h = e.isFolder(), m = e.isExpanded(), y = h ? typeof r == "function" ? r(m) : r : t, b = /* @__PURE__ */ f(bi, { children: [
|
|
7140
7118
|
y,
|
|
7141
7119
|
e.getItemName()
|
|
7142
7120
|
] }), g = {
|
|
@@ -7164,16 +7142,16 @@ function ud({
|
|
|
7164
7142
|
return /* @__PURE__ */ a(Jt.Provider, { value: { item: e }, children: C({
|
|
7165
7143
|
defaultTagName: "button",
|
|
7166
7144
|
render: n,
|
|
7167
|
-
props:
|
|
7145
|
+
props: T(g, d)
|
|
7168
7146
|
}) });
|
|
7169
7147
|
}
|
|
7170
|
-
function
|
|
7148
|
+
function bi({
|
|
7171
7149
|
className: e,
|
|
7172
7150
|
render: t,
|
|
7173
7151
|
children: r,
|
|
7174
7152
|
...o
|
|
7175
7153
|
}) {
|
|
7176
|
-
const { item: n } =
|
|
7154
|
+
const { item: n } = hi(), i = {
|
|
7177
7155
|
"data-slot": "tree-item-label",
|
|
7178
7156
|
className: l(
|
|
7179
7157
|
"flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm transition-colors",
|
|
@@ -7190,16 +7168,16 @@ function vi({
|
|
|
7190
7168
|
return C({
|
|
7191
7169
|
defaultTagName: "span",
|
|
7192
7170
|
render: t,
|
|
7193
|
-
props:
|
|
7171
|
+
props: T(i, o)
|
|
7194
7172
|
});
|
|
7195
7173
|
}
|
|
7196
|
-
function
|
|
7174
|
+
function ud({
|
|
7197
7175
|
className: e,
|
|
7198
7176
|
render: t,
|
|
7199
7177
|
style: r,
|
|
7200
7178
|
...o
|
|
7201
7179
|
}) {
|
|
7202
|
-
const { tree: n } =
|
|
7180
|
+
const { tree: n } = gi(), i = n.getDragLineStyle?.();
|
|
7203
7181
|
if (!i) return null;
|
|
7204
7182
|
const s = {
|
|
7205
7183
|
"data-slot": "tree-drag-line",
|
|
@@ -7214,21 +7192,21 @@ function pd({
|
|
|
7214
7192
|
return C({
|
|
7215
7193
|
defaultTagName: "div",
|
|
7216
7194
|
render: t,
|
|
7217
|
-
props:
|
|
7195
|
+
props: T(s, o)
|
|
7218
7196
|
});
|
|
7219
7197
|
}
|
|
7220
|
-
function
|
|
7198
|
+
function pd({
|
|
7221
7199
|
children: e,
|
|
7222
7200
|
tooltipDelay: t,
|
|
7223
7201
|
...r
|
|
7224
7202
|
}) {
|
|
7225
|
-
return /* @__PURE__ */ a(
|
|
7203
|
+
return /* @__PURE__ */ a(Ia, { delay: t, children: /* @__PURE__ */ a(ci, { ...r, children: e }) });
|
|
7226
7204
|
}
|
|
7227
|
-
const Zt = {}, Qt = j({ theme: Zt }),
|
|
7205
|
+
const Zt = {}, Qt = j({ theme: Zt }), vi = () => O(Qt), md = ({
|
|
7228
7206
|
children: e,
|
|
7229
7207
|
theme: t = Zt
|
|
7230
|
-
}) => /* @__PURE__ */ a(Qt.Provider, { value: { theme: t }, children: e }),
|
|
7231
|
-
const { theme: o } =
|
|
7208
|
+
}) => /* @__PURE__ */ a(Qt.Provider, { value: { theme: t }, children: e }), fd = (e, t, r = {}) => {
|
|
7209
|
+
const { theme: o } = vi(), n = o[e] || {};
|
|
7232
7210
|
return {
|
|
7233
7211
|
...r,
|
|
7234
7212
|
...n,
|
|
@@ -7236,331 +7214,331 @@ const Zt = {}, Qt = j({ theme: Zt }), xi = () => O(Qt), fd = ({
|
|
|
7236
7214
|
};
|
|
7237
7215
|
};
|
|
7238
7216
|
export {
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7217
|
+
ls as Accordion,
|
|
7218
|
+
Fr as AccordionContent,
|
|
7219
|
+
Er as AccordionItem,
|
|
7220
|
+
xd as AccordionPrimitive,
|
|
7243
7221
|
Lr as AccordionRoot,
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7222
|
+
Rr as AccordionTrigger,
|
|
7223
|
+
ds as AlertDialog,
|
|
7224
|
+
Gr as AlertDialogBackdrop,
|
|
7247
7225
|
dt as AlertDialogClose,
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7226
|
+
Xr as AlertDialogDescription,
|
|
7227
|
+
Ur as AlertDialogFooter,
|
|
7228
|
+
Kr as AlertDialogHeader,
|
|
7229
|
+
Br as AlertDialogPopup,
|
|
7230
|
+
wd as AlertDialogPrimitive,
|
|
7231
|
+
jr as AlertDialogRoot,
|
|
7232
|
+
Hr as AlertDialogTitle,
|
|
7233
|
+
Or as AlertDialogTrigger,
|
|
7234
|
+
$r as AlertDialogViewport,
|
|
7235
|
+
bs as Autocomplete,
|
|
7236
|
+
ra as AutocompleteClear,
|
|
7237
|
+
gs as AutocompleteCollection,
|
|
7238
|
+
ea as AutocompleteEmpty,
|
|
7239
|
+
us as AutocompleteGroup,
|
|
7240
|
+
ps as AutocompleteGroupLabel,
|
|
7241
|
+
qr as AutocompleteInput,
|
|
7242
|
+
Qr as AutocompleteItem,
|
|
7243
|
+
Zr as AutocompleteList,
|
|
7244
|
+
Jr as AutocompletePopup,
|
|
7245
|
+
Cd as AutocompletePrimitive,
|
|
7246
|
+
Yr as AutocompleteRoot,
|
|
7247
|
+
ms as AutocompleteRow,
|
|
7248
|
+
cs as AutocompleteSeparator,
|
|
7249
|
+
aa as AutocompleteStatus,
|
|
7250
|
+
ta as AutocompleteTrigger,
|
|
7251
|
+
fs as AutocompleteValue,
|
|
7252
|
+
Ps as Avatar,
|
|
7253
|
+
la as AvatarBadge,
|
|
7254
|
+
sa as AvatarFallback,
|
|
7255
|
+
ks as AvatarGroup,
|
|
7256
|
+
Ss as AvatarGroupCount,
|
|
7257
|
+
ia as AvatarImage,
|
|
7258
|
+
Id as AvatarPrimitive,
|
|
7259
|
+
oa as AvatarRoot,
|
|
7260
|
+
Mr as BaseButton,
|
|
7283
7261
|
Q as Button,
|
|
7284
|
-
|
|
7285
|
-
|
|
7262
|
+
ke as Calendar,
|
|
7263
|
+
Es as Card,
|
|
7286
7264
|
Ta as CardAction,
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7265
|
+
ka as CardContent,
|
|
7266
|
+
za as CardDescription,
|
|
7267
|
+
Sa as CardFooter,
|
|
7268
|
+
Na as CardHeader,
|
|
7269
|
+
wa as CardRoot,
|
|
7270
|
+
Ca as CardTitle,
|
|
7271
|
+
Rs as Center,
|
|
7272
|
+
Va as Checkbox,
|
|
7273
|
+
js as CheckboxGroup,
|
|
7296
7274
|
Je as CheckboxGroupContext,
|
|
7297
|
-
|
|
7298
|
-
|
|
7275
|
+
Vs as CheckboxGroupRoot,
|
|
7276
|
+
Lt as CheckboxIndicator,
|
|
7299
7277
|
Ld as CheckboxPrimitive,
|
|
7300
7278
|
At as CheckboxRoot,
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7279
|
+
Ws as Combobox,
|
|
7280
|
+
an as ComboboxChip,
|
|
7281
|
+
nn as ComboboxChipRemove,
|
|
7282
|
+
rn as ComboboxChips,
|
|
7283
|
+
Ua as ComboboxChipsInput,
|
|
7284
|
+
tn as ComboboxClear,
|
|
7285
|
+
Us as ComboboxCollection,
|
|
7308
7286
|
Pe as ComboboxContext,
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7287
|
+
Za as ComboboxEmpty,
|
|
7288
|
+
Bs as ComboboxGroup,
|
|
7289
|
+
Hs as ComboboxGroupLabel,
|
|
7290
|
+
Wa as ComboboxInput,
|
|
7291
|
+
Ja as ComboboxItem,
|
|
7292
|
+
en as ComboboxList,
|
|
7293
|
+
qa as ComboboxPopup,
|
|
7294
|
+
Gd as ComboboxPrimitive,
|
|
7295
|
+
Ka as ComboboxRoot,
|
|
7296
|
+
Xs as ComboboxRow,
|
|
7297
|
+
Gs as ComboboxSearchInput,
|
|
7298
|
+
Os as ComboboxSelectTrigger,
|
|
7299
|
+
$s as ComboboxSeparator,
|
|
7300
|
+
Ks as ComboboxStatus,
|
|
7301
|
+
Ya as ComboboxTrigger,
|
|
7302
|
+
Qa as ComboboxValue,
|
|
7325
7303
|
ue as DOTS,
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7304
|
+
qs as DateInput,
|
|
7305
|
+
Js as DatePicker,
|
|
7306
|
+
Qs as Dialog,
|
|
7307
|
+
zn as DialogBackdrop,
|
|
7308
|
+
Zs as DialogClose,
|
|
7309
|
+
Pn as DialogDescription,
|
|
7310
|
+
_n as DialogFooter,
|
|
7311
|
+
In as DialogHeader,
|
|
7312
|
+
kn as DialogPopup,
|
|
7313
|
+
Xd as DialogPrimitive,
|
|
7314
|
+
Nn as DialogRoot,
|
|
7315
|
+
Sn as DialogTitle,
|
|
7316
|
+
Cn as DialogTrigger,
|
|
7339
7317
|
Tn as DialogViewport,
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
|
|
7318
|
+
el as Divider,
|
|
7319
|
+
tl as Dropzone,
|
|
7320
|
+
Vn as DropzoneAcceptedFiles,
|
|
7321
|
+
Fn as DropzoneContent,
|
|
7322
|
+
Mn as DropzoneItem,
|
|
7323
|
+
jn as DropzoneRejectedFiles,
|
|
7324
|
+
En as DropzoneRoot,
|
|
7325
|
+
Rn as DropzoneTrigger,
|
|
7326
|
+
al as Empty,
|
|
7327
|
+
Kn as EmptyContent,
|
|
7328
|
+
Xn as EmptyDescription,
|
|
7329
|
+
$n as EmptyHeader,
|
|
7330
|
+
Bn as EmptyMedia,
|
|
7331
|
+
Gn as EmptyRoot,
|
|
7332
|
+
Hn as EmptyTitle,
|
|
7333
|
+
Xa as Field,
|
|
7356
7334
|
Vt as FieldControl,
|
|
7357
|
-
|
|
7335
|
+
Ga as FieldDescription,
|
|
7358
7336
|
De as FieldError,
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
7337
|
+
Ms as FieldItem,
|
|
7338
|
+
Oa as FieldLabel,
|
|
7339
|
+
Ba as FieldLegend,
|
|
7340
|
+
Rd as FieldPrimitive,
|
|
7341
|
+
ja as FieldRoot,
|
|
7342
|
+
$a as FieldSet,
|
|
7365
7343
|
jt as FieldValidity,
|
|
7366
|
-
|
|
7344
|
+
Md as FieldsetPrimitive,
|
|
7367
7345
|
P as FileType,
|
|
7368
|
-
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7346
|
+
rl as FileTypeGroups,
|
|
7347
|
+
Un as Form,
|
|
7348
|
+
Yd as FormPrimitive,
|
|
7349
|
+
ws as HookField,
|
|
7350
|
+
ys as HookForm,
|
|
7351
|
+
Wr as Input,
|
|
7374
7352
|
Td as InputPrimitive,
|
|
7375
|
-
|
|
7376
|
-
|
|
7353
|
+
nl as Kbd,
|
|
7354
|
+
ol as KbdGroup,
|
|
7377
7355
|
Se as Label,
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
|
|
7381
|
-
|
|
7356
|
+
pd as LibraryProvider,
|
|
7357
|
+
il as Loader,
|
|
7358
|
+
ll as Menu,
|
|
7359
|
+
to as MenuCheckboxItem,
|
|
7382
7360
|
ht as MenuGroup,
|
|
7383
|
-
|
|
7361
|
+
Jn as MenuItem,
|
|
7384
7362
|
bt as MenuLabel,
|
|
7385
7363
|
$t as MenuPopup,
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7364
|
+
sl as MenuPortal,
|
|
7365
|
+
ro as MenuRadioGroup,
|
|
7366
|
+
ao as MenuRadioItem,
|
|
7367
|
+
Yn as MenuRoot,
|
|
7368
|
+
no as MenuSeparator,
|
|
7369
|
+
Le as MenuShortcut,
|
|
7370
|
+
Zn as MenuSub,
|
|
7371
|
+
eo as MenuSubContent,
|
|
7372
|
+
Qn as MenuSubTrigger,
|
|
7373
|
+
qn as MenuTrigger,
|
|
7374
|
+
pl as NumberInput,
|
|
7375
|
+
ul as NumberInputCursorIcon,
|
|
7376
|
+
lo as NumberInputDecrement,
|
|
7377
|
+
io as NumberInputGroup,
|
|
7378
|
+
co as NumberInputIncrement,
|
|
7379
|
+
so as NumberInputInput,
|
|
7380
|
+
Jd as NumberInputPrimitive,
|
|
7381
|
+
oo as NumberInputRoot,
|
|
7382
|
+
dl as NumberInputScrubArea,
|
|
7383
|
+
cl as NumberInputScrubAreaCursor,
|
|
7406
7384
|
tt as PAGINATION_SIZES,
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7385
|
+
jl as Pagination,
|
|
7386
|
+
_o as PaginationEllipsis,
|
|
7387
|
+
El as PaginationFirst,
|
|
7388
|
+
Rl as PaginationLast,
|
|
7389
|
+
So as PaginationLink,
|
|
7390
|
+
Io as PaginationNext,
|
|
7391
|
+
Vl as PaginationPageInfo,
|
|
7392
|
+
Fl as PaginationPages,
|
|
7393
|
+
Po as PaginationPrevious,
|
|
7394
|
+
Do as PaginationRange,
|
|
7395
|
+
ko as PaginationRoot,
|
|
7396
|
+
Ao as PaginationSizeSelect,
|
|
7397
|
+
Ml as PaginationTotal,
|
|
7398
|
+
Ol as Password,
|
|
7399
|
+
Ol as PasswordRoot,
|
|
7400
|
+
Bl as Popover,
|
|
7401
|
+
$l as PopoverClose,
|
|
7424
7402
|
nt as PopoverContent,
|
|
7425
|
-
|
|
7426
|
-
|
|
7403
|
+
Gl as PopoverCreateHandle,
|
|
7404
|
+
Eo as PopoverDescription,
|
|
7427
7405
|
nt as PopoverPopup,
|
|
7428
|
-
|
|
7406
|
+
Bd as PopoverPrimitive,
|
|
7429
7407
|
rt as PopoverRoot,
|
|
7430
7408
|
Lo as PopoverTitle,
|
|
7431
7409
|
at as PopoverTrigger,
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7410
|
+
Kl as Progress,
|
|
7411
|
+
jo as ProgressIndicator,
|
|
7412
|
+
Hl as ProgressLabel,
|
|
7413
|
+
Mo as ProgressRoot,
|
|
7414
|
+
Vo as ProgressTrack,
|
|
7415
|
+
Xl as ProgressValue,
|
|
7438
7416
|
St as ScrollArea,
|
|
7439
|
-
|
|
7417
|
+
Sd as ScrollAreaPrimitive,
|
|
7440
7418
|
ct as ScrollBar,
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7419
|
+
ba as Select,
|
|
7420
|
+
Is as SelectButton,
|
|
7421
|
+
pa as SelectContent,
|
|
7422
|
+
Ds as SelectGroup,
|
|
7423
|
+
As as SelectGroupLabel,
|
|
7424
|
+
ma as SelectItem,
|
|
7447
7425
|
Ls as SelectLabel,
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7426
|
+
pa as SelectPopup,
|
|
7427
|
+
Dd as SelectPrimitive,
|
|
7428
|
+
da as SelectRoot,
|
|
7429
|
+
_s as SelectSeparator,
|
|
7430
|
+
ca as SelectTrigger,
|
|
7431
|
+
ua as SelectValue,
|
|
7432
|
+
Ud as SeparatorPrimitive,
|
|
7433
|
+
Ul as Skeleton,
|
|
7434
|
+
Wl as Stack,
|
|
7435
|
+
Yl as Stepper,
|
|
7436
|
+
qo as StepperContent,
|
|
7437
|
+
Wo as StepperDescription,
|
|
7438
|
+
Xo as StepperIndicator,
|
|
7439
|
+
Bo as StepperItem,
|
|
7440
|
+
$o as StepperNav,
|
|
7441
|
+
Yo as StepperPanel,
|
|
7442
|
+
Go as StepperRoot,
|
|
7443
|
+
Ko as StepperSeparator,
|
|
7444
|
+
Uo as StepperTitle,
|
|
7445
|
+
Ho as StepperTrigger,
|
|
7446
|
+
ql as Switch,
|
|
7447
|
+
Jo as SwitchRoot,
|
|
7448
|
+
Zo as SwitchThumb,
|
|
7449
|
+
td as TabList,
|
|
7450
|
+
Ql as Table,
|
|
7451
|
+
ti as TableBody,
|
|
7452
|
+
Zl as TableCaption,
|
|
7453
|
+
ai as TableCell,
|
|
7454
|
+
Jl as TableFooter,
|
|
7455
|
+
ri as TableHead,
|
|
7456
|
+
ei as TableHeader,
|
|
7457
|
+
Qo as TableRoot,
|
|
7480
7458
|
vt as TableRow,
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7459
|
+
ed as Tabs,
|
|
7460
|
+
ad as TabsContent,
|
|
7461
|
+
td as TabsList,
|
|
7462
|
+
ad as TabsPanel,
|
|
7463
|
+
Qd as TabsPrimitive,
|
|
7464
|
+
rd as TabsTab,
|
|
7465
|
+
rd as TabsTrigger,
|
|
7466
|
+
nd as Tag,
|
|
7467
|
+
od as Textarea,
|
|
7468
|
+
md as ThemeProvider,
|
|
7469
|
+
id as Timeline,
|
|
7492
7470
|
Ve as TimelineContent,
|
|
7493
7471
|
Me as TimelineDate,
|
|
7494
7472
|
Re as TimelineHeader,
|
|
7495
7473
|
je as TimelineIndicator,
|
|
7496
|
-
|
|
7497
|
-
|
|
7474
|
+
Ee as TimelineItem,
|
|
7475
|
+
ii as TimelineRoot,
|
|
7498
7476
|
Oe as TimelineSeparator,
|
|
7499
7477
|
Fe as TimelineTitle,
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7478
|
+
tc as ToastPrimitive,
|
|
7479
|
+
ci as ToastProvider,
|
|
7480
|
+
Ea as Tooltip,
|
|
7503
7481
|
La as TooltipArrow,
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7482
|
+
Aa as TooltipPopup,
|
|
7483
|
+
jd as TooltipPrimitive,
|
|
7484
|
+
Ia as TooltipProvider,
|
|
7485
|
+
_a as TooltipRoot,
|
|
7486
|
+
Da as TooltipTrigger,
|
|
7487
|
+
ud as TreeDragLine,
|
|
7488
|
+
cd as TreeItem,
|
|
7489
|
+
bi as TreeItemLabel,
|
|
7490
|
+
dd as TreeRoot,
|
|
7491
|
+
Vr as buttonVariants,
|
|
7514
7492
|
l as cn,
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
|
|
7519
|
-
|
|
7493
|
+
Ns as createSafeContext,
|
|
7494
|
+
sd as createToastManager,
|
|
7495
|
+
Cs as ensureReactElement,
|
|
7496
|
+
na as extractInitials,
|
|
7497
|
+
zs as getFormData,
|
|
7520
7498
|
ie as inputBaseClasses,
|
|
7521
7499
|
Ts as mergeRefs,
|
|
7522
|
-
|
|
7523
|
-
|
|
7500
|
+
Ha as normalizeError,
|
|
7501
|
+
vs as parseFormValues,
|
|
7524
7502
|
It as selectTriggerClasses,
|
|
7525
7503
|
_t as selectTriggerIconClassName,
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7530
|
-
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7534
|
-
|
|
7535
|
-
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7504
|
+
ni as tagVariants,
|
|
7505
|
+
ld as toast,
|
|
7506
|
+
si as toastVariants,
|
|
7507
|
+
Ar as twMerge,
|
|
7508
|
+
ml as useArray,
|
|
7509
|
+
fl as useAsync,
|
|
7510
|
+
hs as useAutocompleteFilter,
|
|
7511
|
+
gl as useClickOutside,
|
|
7512
|
+
hl as useClipboard,
|
|
7513
|
+
Ys as useComboboxFilter,
|
|
7514
|
+
bd as useControllableState,
|
|
7515
|
+
bl as useDebouncedCallback,
|
|
7516
|
+
vl as useDebouncedValue,
|
|
7517
|
+
xl as useDisclosure,
|
|
7518
|
+
yl as useDocumentTitle,
|
|
7519
|
+
uo as useEventListener,
|
|
7520
|
+
Fs as useFieldName,
|
|
7521
|
+
wl as useFocusTrap,
|
|
7522
|
+
xs as useHookForm,
|
|
7523
|
+
Nl as useHotkey,
|
|
7524
|
+
Cl as useHover,
|
|
7547
7525
|
Mt as useIsInsideFieldRoot,
|
|
7548
|
-
|
|
7526
|
+
zl as useIsVisible,
|
|
7549
7527
|
Tl as useLocalStorage,
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7528
|
+
kl as useMediaQuery,
|
|
7529
|
+
Sl as useMemoizedFn,
|
|
7530
|
+
Pl as useMutation,
|
|
7531
|
+
Il as useObject,
|
|
7532
|
+
No as usePagination,
|
|
7533
|
+
_l as usePortal,
|
|
7534
|
+
Dl as usePreventCloseWindow,
|
|
7535
|
+
Co as useRangePagination,
|
|
7536
|
+
Al as useSelection,
|
|
7559
7537
|
Ll as useStep,
|
|
7560
7538
|
xe as useStepItem,
|
|
7561
7539
|
se as useStepper,
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7540
|
+
vi as useTheme,
|
|
7541
|
+
fd as useThemeProps,
|
|
7542
|
+
li as useToastManager,
|
|
7543
|
+
zo as useToggle
|
|
7566
7544
|
};
|