@chaibuilder/sdk 3.0.13 → 3.0.14
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/README.md +1 -2
- package/dist/{code-editor-DFvtVxXd.cjs → code-editor-D5uDqrW1.cjs} +1 -1
- package/dist/{code-editor-GydqqBXp.js → code-editor-e5WfREx8.js} +1 -1
- package/dist/core.cjs +66 -48
- package/dist/core.js +2564 -2481
- package/dist/{css-import-modal-BvRHCuHm.js → css-import-modal-CSVrt6lz.js} +1 -1
- package/dist/{css-import-modal-DkVfKE_h.cjs → css-import-modal-Cm49bHmT.cjs} +1 -1
- package/dist/sdk.css +1 -1
- package/dist/{toggle-DrRMNSqS.js → toggle-C5YXnEL9.js} +409 -409
- package/dist/toggle-Ca6BayTf.cjs +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +279 -253
- package/package.json +3 -2
- package/dist/toggle-BaUXILMJ.cjs +0 -1
|
@@ -8,18 +8,18 @@ import * as d from "@radix-ui/react-dialog";
|
|
|
8
8
|
import * as h from "@radix-ui/react-popover";
|
|
9
9
|
import * as y from "@radix-ui/react-tooltip";
|
|
10
10
|
import * as b from "@radix-ui/react-accordion";
|
|
11
|
+
import * as f from "@radix-ui/react-alert-dialog";
|
|
12
|
+
import { Slot as q } from "@radix-ui/react-slot";
|
|
13
|
+
import * as v from "@radix-ui/react-avatar";
|
|
14
|
+
import * as l from "@radix-ui/react-context-menu";
|
|
11
15
|
import * as C from "@radix-ui/react-hover-card";
|
|
12
16
|
import * as A from "@radix-ui/react-label";
|
|
13
17
|
import * as g from "@radix-ui/react-scroll-area";
|
|
14
|
-
import * as x from "@radix-ui/react-tabs";
|
|
15
|
-
import * as w from "@radix-ui/react-slider";
|
|
16
18
|
import * as c from "@radix-ui/react-select";
|
|
17
19
|
import * as P from "@radix-ui/react-separator";
|
|
20
|
+
import * as w from "@radix-ui/react-slider";
|
|
18
21
|
import * as R from "@radix-ui/react-switch";
|
|
19
|
-
import * as
|
|
20
|
-
import * as f from "@radix-ui/react-alert-dialog";
|
|
21
|
-
import { Slot as q } from "@radix-ui/react-slot";
|
|
22
|
-
import * as l from "@radix-ui/react-context-menu";
|
|
22
|
+
import * as x from "@radix-ui/react-tabs";
|
|
23
23
|
import * as M from "@radix-ui/react-toggle";
|
|
24
24
|
import { clsx as $ } from "clsx";
|
|
25
25
|
import { twMerge as J } from "tailwind-merge";
|
|
@@ -163,18 +163,6 @@ const te = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(i.Separ
|
|
|
163
163
|
te.displayName = i.Separator.displayName;
|
|
164
164
|
const oe = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest opacity-60", a), ...e });
|
|
165
165
|
oe.displayName = "DropdownMenuShortcut";
|
|
166
|
-
function Ha({
|
|
167
|
-
className: a,
|
|
168
|
-
...e
|
|
169
|
-
}) {
|
|
170
|
-
return /* @__PURE__ */ o(
|
|
171
|
-
"div",
|
|
172
|
-
{
|
|
173
|
-
className: s("animate-pulse rounded-md bg-primary/10", a),
|
|
174
|
-
...e
|
|
175
|
-
}
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
166
|
const se = N(
|
|
179
167
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
180
168
|
{
|
|
@@ -213,7 +201,7 @@ const ie = r.forwardRef(
|
|
|
213
201
|
)
|
|
214
202
|
);
|
|
215
203
|
ie.displayName = "Input";
|
|
216
|
-
const le = d.Root,
|
|
204
|
+
const le = d.Root, Ha = d.Trigger, ce = d.Portal, Fa = d.Close, _ = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
217
205
|
d.Overlay,
|
|
218
206
|
{
|
|
219
207
|
ref: t,
|
|
@@ -274,7 +262,7 @@ const L = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
274
262
|
}
|
|
275
263
|
));
|
|
276
264
|
L.displayName = u.displayName;
|
|
277
|
-
const
|
|
265
|
+
const Ba = ({ children: a, ...e }) => /* @__PURE__ */ o(le, { ...e, children: /* @__PURE__ */ o(j, { className: "overflow-hidden p-0", children: /* @__PURE__ */ o(L, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: a }) }) }), ge = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
278
266
|
/* @__PURE__ */ o(U, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
279
267
|
/* @__PURE__ */ o(
|
|
280
268
|
u.Input,
|
|
@@ -354,7 +342,7 @@ const ve = ({
|
|
|
354
342
|
}
|
|
355
343
|
);
|
|
356
344
|
ve.displayName = "CommandShortcut";
|
|
357
|
-
const
|
|
345
|
+
const Oa = h.Root, Ua = h.Trigger, Ea = h.Anchor, we = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(h.Portal, { children: /* @__PURE__ */ o(
|
|
358
346
|
h.Content,
|
|
359
347
|
{
|
|
360
348
|
ref: m,
|
|
@@ -368,7 +356,7 @@ const Ua = h.Root, Ea = h.Trigger, qa = h.Anchor, we = r.forwardRef(({ className
|
|
|
368
356
|
}
|
|
369
357
|
) }));
|
|
370
358
|
we.displayName = h.Content.displayName;
|
|
371
|
-
const
|
|
359
|
+
const qa = y.Provider, $a = y.Root, Ja = y.Trigger, Ce = r.forwardRef(({ className: a, sideOffset: e = 4, ...t }, n) => /* @__PURE__ */ o(y.Portal, { children: /* @__PURE__ */ o(
|
|
372
360
|
y.Content,
|
|
373
361
|
{
|
|
374
362
|
ref: n,
|
|
@@ -381,26 +369,7 @@ const $a = y.Provider, Ja = y.Root, Ka = y.Trigger, Ce = r.forwardRef(({ classNa
|
|
|
381
369
|
}
|
|
382
370
|
) }));
|
|
383
371
|
Ce.displayName = y.Content.displayName;
|
|
384
|
-
const Re =
|
|
385
|
-
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
386
|
-
{
|
|
387
|
-
variants: {
|
|
388
|
-
variant: {
|
|
389
|
-
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
390
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
391
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
392
|
-
outline: "text-foreground"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
defaultVariants: {
|
|
396
|
-
variant: "default"
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
);
|
|
400
|
-
function Qa({ className: a, variant: e, ...t }) {
|
|
401
|
-
return /* @__PURE__ */ o("div", { className: s(Re({ variant: e }), a), ...t });
|
|
402
|
-
}
|
|
403
|
-
const Wa = b.Root, Se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
372
|
+
const Ka = b.Root, Re = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
404
373
|
b.Item,
|
|
405
374
|
{
|
|
406
375
|
ref: t,
|
|
@@ -408,8 +377,8 @@ const Wa = b.Root, Se = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__
|
|
|
408
377
|
...e
|
|
409
378
|
}
|
|
410
379
|
));
|
|
411
|
-
|
|
412
|
-
const
|
|
380
|
+
Re.displayName = "AccordionItem";
|
|
381
|
+
const Se = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(b.Header, { className: "flex", children: /* @__PURE__ */ p(
|
|
413
382
|
b.Trigger,
|
|
414
383
|
{
|
|
415
384
|
ref: n,
|
|
@@ -424,8 +393,8 @@ const ke = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
424
393
|
]
|
|
425
394
|
}
|
|
426
395
|
) }));
|
|
427
|
-
|
|
428
|
-
const
|
|
396
|
+
Se.displayName = b.Trigger.displayName;
|
|
397
|
+
const ke = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ o(
|
|
429
398
|
b.Content,
|
|
430
399
|
{
|
|
431
400
|
ref: n,
|
|
@@ -434,138 +403,275 @@ const Te = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
434
403
|
children: /* @__PURE__ */ o("div", { className: s("pb-4 pt-0", a), children: e })
|
|
435
404
|
}
|
|
436
405
|
));
|
|
437
|
-
|
|
438
|
-
const
|
|
439
|
-
|
|
406
|
+
ke.displayName = b.Content.displayName;
|
|
407
|
+
const Qa = f.Root, Wa = f.Trigger, Te = f.Portal, V = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
408
|
+
f.Overlay,
|
|
440
409
|
{
|
|
441
|
-
ref: m,
|
|
442
|
-
align: e,
|
|
443
|
-
sideOffset: t,
|
|
444
410
|
className: s(
|
|
445
|
-
"
|
|
411
|
+
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
446
412
|
a
|
|
447
413
|
),
|
|
448
|
-
...
|
|
414
|
+
...e,
|
|
415
|
+
ref: t
|
|
449
416
|
}
|
|
450
417
|
));
|
|
451
|
-
|
|
452
|
-
const
|
|
453
|
-
|
|
418
|
+
V.displayName = f.Overlay.displayName;
|
|
419
|
+
const De = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(Te, { children: [
|
|
420
|
+
/* @__PURE__ */ o(V, {}),
|
|
421
|
+
/* @__PURE__ */ o(
|
|
422
|
+
f.Content,
|
|
423
|
+
{
|
|
424
|
+
ref: t,
|
|
425
|
+
className: s(
|
|
426
|
+
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
427
|
+
a
|
|
428
|
+
),
|
|
429
|
+
...e
|
|
430
|
+
}
|
|
431
|
+
)
|
|
432
|
+
] }));
|
|
433
|
+
De.displayName = f.Content.displayName;
|
|
434
|
+
const Ie = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
435
|
+
Ie.displayName = "AlertDialogHeader";
|
|
436
|
+
const ze = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
437
|
+
ze.displayName = "AlertDialogFooter";
|
|
438
|
+
const Ae = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
|
|
439
|
+
Ae.displayName = f.Title.displayName;
|
|
440
|
+
const Pe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
441
|
+
Pe.displayName = f.Description.displayName;
|
|
442
|
+
const Me = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Action, { ref: t, className: s(T(), a), ...e }));
|
|
443
|
+
Me.displayName = f.Action.displayName;
|
|
444
|
+
const _e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
445
|
+
f.Cancel,
|
|
446
|
+
{
|
|
447
|
+
ref: t,
|
|
448
|
+
className: s(T({ variant: "outline" }), "mt-2 sm:mt-0", a),
|
|
449
|
+
...e
|
|
450
|
+
}
|
|
451
|
+
));
|
|
452
|
+
_e.displayName = f.Cancel.displayName;
|
|
453
|
+
const je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
454
|
+
v.Root,
|
|
454
455
|
{
|
|
456
|
+
ref: t,
|
|
455
457
|
className: s(
|
|
456
|
-
"flex
|
|
458
|
+
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
457
459
|
a
|
|
458
460
|
),
|
|
461
|
+
...e
|
|
462
|
+
}
|
|
463
|
+
));
|
|
464
|
+
je.displayName = v.Root.displayName;
|
|
465
|
+
const Le = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
466
|
+
v.Image,
|
|
467
|
+
{
|
|
459
468
|
ref: t,
|
|
469
|
+
className: s("aspect-square h-full w-full", a),
|
|
460
470
|
...e
|
|
461
471
|
}
|
|
462
472
|
));
|
|
463
|
-
|
|
464
|
-
const
|
|
465
|
-
|
|
466
|
-
|
|
473
|
+
Le.displayName = v.Image.displayName;
|
|
474
|
+
const Ve = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
475
|
+
v.Fallback,
|
|
476
|
+
{
|
|
477
|
+
ref: t,
|
|
478
|
+
className: s(
|
|
479
|
+
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
480
|
+
a
|
|
481
|
+
),
|
|
482
|
+
...e
|
|
483
|
+
}
|
|
484
|
+
));
|
|
485
|
+
Ve.displayName = v.Fallback.displayName;
|
|
486
|
+
const Ge = N(
|
|
487
|
+
"inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
488
|
+
{
|
|
489
|
+
variants: {
|
|
490
|
+
variant: {
|
|
491
|
+
default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
|
|
492
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
493
|
+
destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
|
|
494
|
+
outline: "text-foreground"
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
defaultVariants: {
|
|
498
|
+
variant: "default"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
);
|
|
502
|
+
function Xa({ className: a, variant: e, ...t }) {
|
|
503
|
+
return /* @__PURE__ */ o("div", { className: s(Ge({ variant: e }), a), ...t });
|
|
504
|
+
}
|
|
505
|
+
const He = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("rounded-xl border bg-card text-card-foreground shadow", a), ...e }));
|
|
506
|
+
He.displayName = "Card";
|
|
507
|
+
const Fe = r.forwardRef(
|
|
467
508
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex flex-col space-y-1.5 p-6", a), ...e })
|
|
468
509
|
);
|
|
469
|
-
|
|
470
|
-
const
|
|
510
|
+
Fe.displayName = "CardHeader";
|
|
511
|
+
const Be = r.forwardRef(
|
|
471
512
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("font-semibold leading-none tracking-tight", a), ...e })
|
|
472
513
|
);
|
|
473
|
-
|
|
474
|
-
const
|
|
514
|
+
Be.displayName = "CardTitle";
|
|
515
|
+
const Oe = r.forwardRef(
|
|
475
516
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("text-sm text-muted-foreground", a), ...e })
|
|
476
517
|
);
|
|
477
|
-
|
|
478
|
-
const
|
|
518
|
+
Oe.displayName = "CardDescription";
|
|
519
|
+
const Ue = r.forwardRef(
|
|
479
520
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("p-6 pt-0", a), ...e })
|
|
480
521
|
);
|
|
481
|
-
|
|
482
|
-
const
|
|
522
|
+
Ue.displayName = "CardContent";
|
|
523
|
+
const Ee = r.forwardRef(
|
|
483
524
|
({ className: a, ...e }, t) => /* @__PURE__ */ o("div", { ref: t, className: s("flex items-center p-6 pt-0", a), ...e })
|
|
484
525
|
);
|
|
485
|
-
|
|
486
|
-
const
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
526
|
+
Ee.displayName = "CardFooter";
|
|
527
|
+
const Ya = l.Root, Za = l.Trigger, et = l.Group, at = l.Portal, tt = l.Sub, ot = l.RadioGroup, qe = r.forwardRef(({ className: a, inset: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
528
|
+
l.SubTrigger,
|
|
529
|
+
{
|
|
530
|
+
ref: m,
|
|
531
|
+
className: s(
|
|
532
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
533
|
+
e && "pl-8",
|
|
534
|
+
a
|
|
535
|
+
),
|
|
536
|
+
...n,
|
|
537
|
+
children: [
|
|
538
|
+
t,
|
|
539
|
+
/* @__PURE__ */ o(D, { className: "ml-auto h-4 w-4" })
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
));
|
|
543
|
+
qe.displayName = l.SubTrigger.displayName;
|
|
544
|
+
const $e = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
545
|
+
l.SubContent,
|
|
490
546
|
{
|
|
491
547
|
ref: t,
|
|
492
|
-
className: s(
|
|
548
|
+
className: s(
|
|
549
|
+
"z-50 min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
550
|
+
a
|
|
551
|
+
),
|
|
493
552
|
...e
|
|
494
553
|
}
|
|
495
554
|
));
|
|
496
|
-
|
|
497
|
-
const
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
555
|
+
$e.displayName = l.SubContent.displayName;
|
|
556
|
+
const Je = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Portal, { children: /* @__PURE__ */ o(
|
|
557
|
+
l.Content,
|
|
558
|
+
{
|
|
559
|
+
ref: t,
|
|
560
|
+
className: s(
|
|
561
|
+
"z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
562
|
+
a
|
|
563
|
+
),
|
|
564
|
+
...e
|
|
565
|
+
}
|
|
566
|
+
) }));
|
|
567
|
+
Je.displayName = l.Content.displayName;
|
|
568
|
+
const Ke = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
569
|
+
l.Item,
|
|
505
570
|
{
|
|
506
571
|
ref: n,
|
|
507
|
-
orientation: e,
|
|
508
572
|
className: s(
|
|
509
|
-
"flex
|
|
510
|
-
e
|
|
511
|
-
e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
573
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
574
|
+
e && "pl-8",
|
|
512
575
|
a
|
|
513
576
|
),
|
|
514
|
-
...t
|
|
515
|
-
children: /* @__PURE__ */ o(g.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
577
|
+
...t
|
|
516
578
|
}
|
|
517
579
|
));
|
|
518
|
-
|
|
519
|
-
const
|
|
520
|
-
|
|
580
|
+
Ke.displayName = l.Item.displayName;
|
|
581
|
+
const Qe = r.forwardRef(({ className: a, children: e, checked: t, ...n }, m) => /* @__PURE__ */ p(
|
|
582
|
+
l.CheckboxItem,
|
|
521
583
|
{
|
|
522
|
-
ref:
|
|
584
|
+
ref: m,
|
|
523
585
|
className: s(
|
|
524
|
-
"
|
|
586
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
525
587
|
a
|
|
526
588
|
),
|
|
527
|
-
|
|
589
|
+
checked: t,
|
|
590
|
+
...n,
|
|
591
|
+
children: [
|
|
592
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(S, { className: "h-4 w-4" }) }) }),
|
|
593
|
+
e
|
|
594
|
+
]
|
|
528
595
|
}
|
|
529
596
|
));
|
|
530
|
-
|
|
531
|
-
const
|
|
532
|
-
|
|
597
|
+
Qe.displayName = l.CheckboxItem.displayName;
|
|
598
|
+
const We = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
599
|
+
l.RadioItem,
|
|
533
600
|
{
|
|
534
|
-
ref:
|
|
601
|
+
ref: n,
|
|
535
602
|
className: s(
|
|
536
|
-
"
|
|
603
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
537
604
|
a
|
|
538
605
|
),
|
|
539
|
-
...
|
|
606
|
+
...t,
|
|
607
|
+
children: [
|
|
608
|
+
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(I, { className: "h-2 w-2 fill-current" }) }) }),
|
|
609
|
+
e
|
|
610
|
+
]
|
|
540
611
|
}
|
|
541
612
|
));
|
|
542
|
-
|
|
543
|
-
const
|
|
544
|
-
|
|
613
|
+
We.displayName = l.RadioItem.displayName;
|
|
614
|
+
const Xe = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
615
|
+
l.Label,
|
|
545
616
|
{
|
|
546
|
-
ref:
|
|
617
|
+
ref: n,
|
|
618
|
+
className: s("px-2 py-1.5 text-sm font-semibold text-foreground", e && "pl-8", a),
|
|
619
|
+
...t
|
|
620
|
+
}
|
|
621
|
+
));
|
|
622
|
+
Xe.displayName = l.Label.displayName;
|
|
623
|
+
const Ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-border", a), ...e }));
|
|
624
|
+
Ye.displayName = l.Separator.displayName;
|
|
625
|
+
const Ze = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
626
|
+
Ze.displayName = "ContextMenuShortcut";
|
|
627
|
+
const st = C.Root, rt = C.Trigger, ea = r.forwardRef(({ className: a, align: e = "center", sideOffset: t = 4, ...n }, m) => /* @__PURE__ */ o(
|
|
628
|
+
C.Content,
|
|
629
|
+
{
|
|
630
|
+
ref: m,
|
|
631
|
+
align: e,
|
|
632
|
+
sideOffset: t,
|
|
547
633
|
className: s(
|
|
548
|
-
"
|
|
634
|
+
"z-50 w-64 origin-[--radix-hover-card-content-transform-origin] rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
549
635
|
a
|
|
550
636
|
),
|
|
551
|
-
...
|
|
637
|
+
...n
|
|
552
638
|
}
|
|
553
639
|
));
|
|
554
|
-
|
|
555
|
-
const
|
|
556
|
-
|
|
640
|
+
ea.displayName = C.Content.displayName;
|
|
641
|
+
const aa = N(
|
|
642
|
+
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
643
|
+
), ta = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
644
|
+
A.Root,
|
|
557
645
|
{
|
|
558
646
|
ref: t,
|
|
559
|
-
className: s(
|
|
560
|
-
...e
|
|
561
|
-
children: [
|
|
562
|
-
/* @__PURE__ */ o(w.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-neutral-300", children: /* @__PURE__ */ o(w.Range, { className: "absolute h-full bg-neutral-900" }) }),
|
|
563
|
-
/* @__PURE__ */ o(w.Thumb, { className: "block h-4 w-4 rounded-full border border-neutral-900 bg-neutral-900 shadow transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-900 disabled:pointer-events-none disabled:opacity-50" })
|
|
564
|
-
]
|
|
647
|
+
className: s(aa(), a),
|
|
648
|
+
...e
|
|
565
649
|
}
|
|
566
650
|
));
|
|
567
|
-
|
|
568
|
-
const
|
|
651
|
+
ta.displayName = A.Root.displayName;
|
|
652
|
+
const oa = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(g.Root, { ref: n, className: s("relative overflow-hidden", a), ...t, children: [
|
|
653
|
+
/* @__PURE__ */ o(g.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
|
|
654
|
+
/* @__PURE__ */ o(G, {}),
|
|
655
|
+
/* @__PURE__ */ o(g.Corner, {})
|
|
656
|
+
] }));
|
|
657
|
+
oa.displayName = g.Root.displayName;
|
|
658
|
+
const G = r.forwardRef(({ className: a, orientation: e = "vertical", ...t }, n) => /* @__PURE__ */ o(
|
|
659
|
+
g.ScrollAreaScrollbar,
|
|
660
|
+
{
|
|
661
|
+
ref: n,
|
|
662
|
+
orientation: e,
|
|
663
|
+
className: s(
|
|
664
|
+
"flex touch-none select-none transition-colors",
|
|
665
|
+
e === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
666
|
+
e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
667
|
+
a
|
|
668
|
+
),
|
|
669
|
+
...t,
|
|
670
|
+
children: /* @__PURE__ */ o(g.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
671
|
+
}
|
|
672
|
+
));
|
|
673
|
+
G.displayName = g.ScrollAreaScrollbar.displayName;
|
|
674
|
+
const nt = c.Root, dt = c.Group, it = c.Value, sa = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
569
675
|
c.Trigger,
|
|
570
676
|
{
|
|
571
677
|
ref: n,
|
|
@@ -580,8 +686,8 @@ const et = c.Root, at = c.Group, tt = c.Value, Ue = r.forwardRef(({ className: a
|
|
|
580
686
|
]
|
|
581
687
|
}
|
|
582
688
|
));
|
|
583
|
-
|
|
584
|
-
const
|
|
689
|
+
sa.displayName = c.Trigger.displayName;
|
|
690
|
+
const H = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
585
691
|
c.ScrollUpButton,
|
|
586
692
|
{
|
|
587
693
|
ref: t,
|
|
@@ -590,8 +696,8 @@ const G = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
590
696
|
children: /* @__PURE__ */ o(E, { className: "h-4 w-4" })
|
|
591
697
|
}
|
|
592
698
|
));
|
|
593
|
-
|
|
594
|
-
const
|
|
699
|
+
H.displayName = c.ScrollUpButton.displayName;
|
|
700
|
+
const F = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
595
701
|
c.ScrollDownButton,
|
|
596
702
|
{
|
|
597
703
|
ref: t,
|
|
@@ -600,8 +706,8 @@ const H = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
|
600
706
|
children: /* @__PURE__ */ o(k, { className: "h-4 w-4" })
|
|
601
707
|
}
|
|
602
708
|
));
|
|
603
|
-
|
|
604
|
-
const
|
|
709
|
+
F.displayName = c.ScrollDownButton.displayName;
|
|
710
|
+
const ra = r.forwardRef(({ className: a, children: e, position: t = "popper", ...n }, m) => /* @__PURE__ */ o(c.Portal, { children: /* @__PURE__ */ p(
|
|
605
711
|
c.Content,
|
|
606
712
|
{
|
|
607
713
|
ref: m,
|
|
@@ -613,7 +719,7 @@ const Ee = r.forwardRef(({ className: a, children: e, position: t = "popper", ..
|
|
|
613
719
|
position: t,
|
|
614
720
|
...n,
|
|
615
721
|
children: [
|
|
616
|
-
/* @__PURE__ */ o(
|
|
722
|
+
/* @__PURE__ */ o(H, {}),
|
|
617
723
|
/* @__PURE__ */ o(
|
|
618
724
|
c.Viewport,
|
|
619
725
|
{
|
|
@@ -624,14 +730,14 @@ const Ee = r.forwardRef(({ className: a, children: e, position: t = "popper", ..
|
|
|
624
730
|
children: e
|
|
625
731
|
}
|
|
626
732
|
),
|
|
627
|
-
/* @__PURE__ */ o(
|
|
733
|
+
/* @__PURE__ */ o(F, {})
|
|
628
734
|
]
|
|
629
735
|
}
|
|
630
736
|
) }));
|
|
631
|
-
|
|
632
|
-
const
|
|
633
|
-
|
|
634
|
-
const
|
|
737
|
+
ra.displayName = c.Content.displayName;
|
|
738
|
+
const na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Label, { ref: t, className: s("px-2 py-1.5 text-sm font-semibold", a), ...e }));
|
|
739
|
+
na.displayName = c.Label.displayName;
|
|
740
|
+
const da = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__ */ p(
|
|
635
741
|
c.Item,
|
|
636
742
|
{
|
|
637
743
|
ref: n,
|
|
@@ -646,10 +752,10 @@ const $e = r.forwardRef(({ className: a, children: e, ...t }, n) => /* @__PURE__
|
|
|
646
752
|
]
|
|
647
753
|
}
|
|
648
754
|
));
|
|
649
|
-
|
|
650
|
-
const
|
|
651
|
-
|
|
652
|
-
const
|
|
755
|
+
da.displayName = c.Item.displayName;
|
|
756
|
+
const ia = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(c.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-muted", a), ...e }));
|
|
757
|
+
ia.displayName = c.Separator.displayName;
|
|
758
|
+
const la = r.forwardRef(({ className: a, orientation: e = "horizontal", decorative: t = !0, ...n }, m) => /* @__PURE__ */ o(
|
|
653
759
|
P.Root,
|
|
654
760
|
{
|
|
655
761
|
ref: m,
|
|
@@ -659,115 +765,8 @@ const Ke = r.forwardRef(({ className: a, orientation: e = "horizontal", decorati
|
|
|
659
765
|
...n
|
|
660
766
|
}
|
|
661
767
|
));
|
|
662
|
-
|
|
663
|
-
const
|
|
664
|
-
({
|
|
665
|
-
className: a,
|
|
666
|
-
thumbClassName: e,
|
|
667
|
-
...t
|
|
668
|
-
}, n) => /* @__PURE__ */ o(
|
|
669
|
-
R.Root,
|
|
670
|
-
{
|
|
671
|
-
className: s(
|
|
672
|
-
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
673
|
-
a
|
|
674
|
-
),
|
|
675
|
-
...t,
|
|
676
|
-
ref: n,
|
|
677
|
-
children: /* @__PURE__ */ o(
|
|
678
|
-
R.Thumb,
|
|
679
|
-
{
|
|
680
|
-
className: s(
|
|
681
|
-
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
682
|
-
e,
|
|
683
|
-
"data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0"
|
|
684
|
-
)
|
|
685
|
-
}
|
|
686
|
-
)
|
|
687
|
-
}
|
|
688
|
-
)
|
|
689
|
-
);
|
|
690
|
-
Qe.displayName = R.Root.displayName;
|
|
691
|
-
const We = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
692
|
-
v.Root,
|
|
693
|
-
{
|
|
694
|
-
ref: t,
|
|
695
|
-
className: s(
|
|
696
|
-
"relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
|
|
697
|
-
a
|
|
698
|
-
),
|
|
699
|
-
...e
|
|
700
|
-
}
|
|
701
|
-
));
|
|
702
|
-
We.displayName = v.Root.displayName;
|
|
703
|
-
const Xe = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
704
|
-
v.Image,
|
|
705
|
-
{
|
|
706
|
-
ref: t,
|
|
707
|
-
className: s("aspect-square h-full w-full", a),
|
|
708
|
-
...e
|
|
709
|
-
}
|
|
710
|
-
));
|
|
711
|
-
Xe.displayName = v.Image.displayName;
|
|
712
|
-
const Ye = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
713
|
-
v.Fallback,
|
|
714
|
-
{
|
|
715
|
-
ref: t,
|
|
716
|
-
className: s(
|
|
717
|
-
"flex h-full w-full items-center justify-center rounded-full bg-muted",
|
|
718
|
-
a
|
|
719
|
-
),
|
|
720
|
-
...e
|
|
721
|
-
}
|
|
722
|
-
));
|
|
723
|
-
Ye.displayName = v.Fallback.displayName;
|
|
724
|
-
const ot = f.Root, st = f.Trigger, Ze = f.Portal, F = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
725
|
-
f.Overlay,
|
|
726
|
-
{
|
|
727
|
-
className: s(
|
|
728
|
-
"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
729
|
-
a
|
|
730
|
-
),
|
|
731
|
-
...e,
|
|
732
|
-
ref: t
|
|
733
|
-
}
|
|
734
|
-
));
|
|
735
|
-
F.displayName = f.Overlay.displayName;
|
|
736
|
-
const ea = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(Ze, { children: [
|
|
737
|
-
/* @__PURE__ */ o(F, {}),
|
|
738
|
-
/* @__PURE__ */ o(
|
|
739
|
-
f.Content,
|
|
740
|
-
{
|
|
741
|
-
ref: t,
|
|
742
|
-
className: s(
|
|
743
|
-
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
744
|
-
a
|
|
745
|
-
),
|
|
746
|
-
...e
|
|
747
|
-
}
|
|
748
|
-
)
|
|
749
|
-
] }));
|
|
750
|
-
ea.displayName = f.Content.displayName;
|
|
751
|
-
const aa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
752
|
-
aa.displayName = "AlertDialogHeader";
|
|
753
|
-
const ta = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
754
|
-
ta.displayName = "AlertDialogFooter";
|
|
755
|
-
const oa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Title, { ref: t, className: s("text-lg font-semibold", a), ...e }));
|
|
756
|
-
oa.displayName = f.Title.displayName;
|
|
757
|
-
const sa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
758
|
-
sa.displayName = f.Description.displayName;
|
|
759
|
-
const ra = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(f.Action, { ref: t, className: s(T(), a), ...e }));
|
|
760
|
-
ra.displayName = f.Action.displayName;
|
|
761
|
-
const na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
762
|
-
f.Cancel,
|
|
763
|
-
{
|
|
764
|
-
ref: t,
|
|
765
|
-
className: s(T({ variant: "outline" }), "mt-2 sm:mt-0", a),
|
|
766
|
-
...e
|
|
767
|
-
}
|
|
768
|
-
));
|
|
769
|
-
na.displayName = f.Cancel.displayName;
|
|
770
|
-
const rt = d.Root, nt = d.Trigger, dt = d.Close, da = d.Portal, B = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
768
|
+
la.displayName = P.Root.displayName;
|
|
769
|
+
const lt = d.Root, ct = d.Trigger, mt = d.Close, ca = d.Portal, B = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
771
770
|
d.Overlay,
|
|
772
771
|
{
|
|
773
772
|
className: s(
|
|
@@ -779,7 +778,7 @@ const rt = d.Root, nt = d.Trigger, dt = d.Close, da = d.Portal, B = r.forwardRef
|
|
|
779
778
|
}
|
|
780
779
|
));
|
|
781
780
|
B.displayName = d.Overlay.displayName;
|
|
782
|
-
const
|
|
781
|
+
const ma = N(
|
|
783
782
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
784
783
|
{
|
|
785
784
|
variants: {
|
|
@@ -794,10 +793,10 @@ const ia = N(
|
|
|
794
793
|
side: "right"
|
|
795
794
|
}
|
|
796
795
|
}
|
|
797
|
-
),
|
|
798
|
-
({ side: a = "right", className: e, children: t, ...n }, m) => /* @__PURE__ */ p(
|
|
796
|
+
), pa = r.forwardRef(
|
|
797
|
+
({ side: a = "right", className: e, children: t, ...n }, m) => /* @__PURE__ */ p(ca, { children: [
|
|
799
798
|
/* @__PURE__ */ o(B, {}),
|
|
800
|
-
/* @__PURE__ */ p(d.Content, { ref: m, className: s(
|
|
799
|
+
/* @__PURE__ */ p(d.Content, { ref: m, className: s(ma({ side: a }), e), ...n, children: [
|
|
801
800
|
/* @__PURE__ */ p(d.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
802
801
|
/* @__PURE__ */ o(z, { className: "h-4 w-4" }),
|
|
803
802
|
/* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
|
|
@@ -806,115 +805,116 @@ const ia = N(
|
|
|
806
805
|
] })
|
|
807
806
|
] })
|
|
808
807
|
);
|
|
809
|
-
|
|
810
|
-
const
|
|
811
|
-
|
|
812
|
-
const
|
|
813
|
-
|
|
814
|
-
const
|
|
815
|
-
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
808
|
+
pa.displayName = d.Content.displayName;
|
|
809
|
+
const fa = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
|
|
810
|
+
fa.displayName = "SheetHeader";
|
|
811
|
+
const ua = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
|
|
812
|
+
ua.displayName = "SheetFooter";
|
|
813
|
+
const ga = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Title, { ref: t, className: s("text-lg font-semibold text-foreground", a), ...e }));
|
|
814
|
+
ga.displayName = d.Title.displayName;
|
|
815
|
+
const ba = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(d.Description, { ref: t, className: s("text-sm text-muted-foreground", a), ...e }));
|
|
816
|
+
ba.displayName = d.Description.displayName;
|
|
817
|
+
function pt({
|
|
818
|
+
className: a,
|
|
819
|
+
...e
|
|
820
|
+
}) {
|
|
821
|
+
return /* @__PURE__ */ o(
|
|
822
|
+
"div",
|
|
823
|
+
{
|
|
824
|
+
className: s("animate-pulse rounded-md bg-primary/10", a),
|
|
825
|
+
...e
|
|
826
|
+
}
|
|
827
|
+
);
|
|
828
|
+
}
|
|
829
|
+
const xa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ p(
|
|
830
|
+
w.Root,
|
|
820
831
|
{
|
|
821
|
-
ref:
|
|
822
|
-
className: s(
|
|
823
|
-
|
|
824
|
-
e && "pl-8",
|
|
825
|
-
a
|
|
826
|
-
),
|
|
827
|
-
...n,
|
|
832
|
+
ref: t,
|
|
833
|
+
className: s("relative flex w-full touch-none select-none items-center", a),
|
|
834
|
+
...e,
|
|
828
835
|
children: [
|
|
829
|
-
|
|
830
|
-
/* @__PURE__ */ o(
|
|
836
|
+
/* @__PURE__ */ o(w.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-neutral-300", children: /* @__PURE__ */ o(w.Range, { className: "absolute h-full bg-neutral-900" }) }),
|
|
837
|
+
/* @__PURE__ */ o(w.Thumb, { className: "block h-4 w-4 rounded-full border border-neutral-900 bg-neutral-900 shadow transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-900 disabled:pointer-events-none disabled:opacity-50" })
|
|
831
838
|
]
|
|
832
839
|
}
|
|
833
840
|
));
|
|
834
|
-
|
|
835
|
-
const
|
|
836
|
-
|
|
841
|
+
xa.displayName = w.Root.displayName;
|
|
842
|
+
const ha = r.forwardRef(
|
|
843
|
+
({
|
|
844
|
+
className: a,
|
|
845
|
+
thumbClassName: e,
|
|
846
|
+
...t
|
|
847
|
+
}, n) => /* @__PURE__ */ o(
|
|
848
|
+
R.Root,
|
|
849
|
+
{
|
|
850
|
+
className: s(
|
|
851
|
+
"peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
852
|
+
a
|
|
853
|
+
),
|
|
854
|
+
...t,
|
|
855
|
+
ref: n,
|
|
856
|
+
children: /* @__PURE__ */ o(
|
|
857
|
+
R.Thumb,
|
|
858
|
+
{
|
|
859
|
+
className: s(
|
|
860
|
+
"pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",
|
|
861
|
+
e,
|
|
862
|
+
"data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0"
|
|
863
|
+
)
|
|
864
|
+
}
|
|
865
|
+
)
|
|
866
|
+
}
|
|
867
|
+
)
|
|
868
|
+
);
|
|
869
|
+
ha.displayName = R.Root.displayName;
|
|
870
|
+
const ft = x.Root, ya = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
871
|
+
x.List,
|
|
837
872
|
{
|
|
838
873
|
ref: t,
|
|
839
874
|
className: s(
|
|
840
|
-
"
|
|
875
|
+
"inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
|
|
841
876
|
a
|
|
842
877
|
),
|
|
843
878
|
...e
|
|
844
879
|
}
|
|
845
880
|
));
|
|
846
|
-
|
|
847
|
-
const
|
|
848
|
-
|
|
881
|
+
ya.displayName = x.List.displayName;
|
|
882
|
+
const Na = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
883
|
+
x.Trigger,
|
|
849
884
|
{
|
|
850
885
|
ref: t,
|
|
851
886
|
className: s(
|
|
852
|
-
"
|
|
887
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
|
|
853
888
|
a
|
|
854
889
|
),
|
|
855
890
|
...e
|
|
856
891
|
}
|
|
857
|
-
) }));
|
|
858
|
-
ba.displayName = l.Content.displayName;
|
|
859
|
-
const xa = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
860
|
-
l.Item,
|
|
861
|
-
{
|
|
862
|
-
ref: n,
|
|
863
|
-
className: s(
|
|
864
|
-
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
865
|
-
e && "pl-8",
|
|
866
|
-
a
|
|
867
|
-
),
|
|
868
|
-
...t
|
|
869
|
-
}
|
|
870
892
|
));
|
|
871
|
-
|
|
872
|
-
const
|
|
873
|
-
|
|
893
|
+
Na.displayName = x.Trigger.displayName;
|
|
894
|
+
const va = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
895
|
+
x.Content,
|
|
874
896
|
{
|
|
875
|
-
ref:
|
|
897
|
+
ref: t,
|
|
876
898
|
className: s(
|
|
877
|
-
"
|
|
899
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
878
900
|
a
|
|
879
901
|
),
|
|
880
|
-
|
|
881
|
-
...n,
|
|
882
|
-
children: [
|
|
883
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(S, { className: "h-4 w-4" }) }) }),
|
|
884
|
-
e
|
|
885
|
-
]
|
|
902
|
+
...e
|
|
886
903
|
}
|
|
887
904
|
));
|
|
888
|
-
|
|
889
|
-
const
|
|
890
|
-
|
|
905
|
+
va.displayName = x.Content.displayName;
|
|
906
|
+
const wa = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(
|
|
907
|
+
"textarea",
|
|
891
908
|
{
|
|
892
|
-
ref: n,
|
|
893
909
|
className: s(
|
|
894
|
-
"
|
|
910
|
+
"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
895
911
|
a
|
|
896
912
|
),
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
/* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(l.ItemIndicator, { children: /* @__PURE__ */ o(I, { className: "h-2 w-2 fill-current" }) }) }),
|
|
900
|
-
e
|
|
901
|
-
]
|
|
902
|
-
}
|
|
903
|
-
));
|
|
904
|
-
ya.displayName = l.RadioItem.displayName;
|
|
905
|
-
const Na = r.forwardRef(({ className: a, inset: e, ...t }, n) => /* @__PURE__ */ o(
|
|
906
|
-
l.Label,
|
|
907
|
-
{
|
|
908
|
-
ref: n,
|
|
909
|
-
className: s("px-2 py-1.5 text-sm font-semibold text-foreground", e && "pl-8", a),
|
|
910
|
-
...t
|
|
913
|
+
ref: t,
|
|
914
|
+
...e
|
|
911
915
|
}
|
|
912
916
|
));
|
|
913
|
-
|
|
914
|
-
const va = r.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(l.Separator, { ref: t, className: s("-mx-1 my-1 h-px bg-border", a), ...e }));
|
|
915
|
-
va.displayName = l.Separator.displayName;
|
|
916
|
-
const wa = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
|
|
917
|
-
wa.displayName = "ContextMenuShortcut";
|
|
917
|
+
wa.displayName = "Textarea";
|
|
918
918
|
const Ca = N(
|
|
919
919
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
920
920
|
{
|
|
@@ -937,14 +937,14 @@ const Ca = N(
|
|
|
937
937
|
), Ra = r.forwardRef(({ className: a, variant: e, size: t, ...n }, m) => /* @__PURE__ */ o(M.Root, { ref: m, className: s(Ca({ variant: e, size: t, className: a })), ...n }));
|
|
938
938
|
Ra.displayName = M.Root.displayName;
|
|
939
939
|
export {
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
940
|
+
qe as $,
|
|
941
|
+
Ka as A,
|
|
942
|
+
Xa as B,
|
|
943
|
+
He as C,
|
|
944
|
+
Fe as D,
|
|
945
|
+
Be as E,
|
|
946
946
|
L as F,
|
|
947
|
-
|
|
947
|
+
Ba as G,
|
|
948
948
|
ge as H,
|
|
949
949
|
be as I,
|
|
950
950
|
xe as J,
|
|
@@ -952,24 +952,24 @@ export {
|
|
|
952
952
|
Ne as L,
|
|
953
953
|
ve as M,
|
|
954
954
|
ye as N,
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
955
|
+
Ya as O,
|
|
956
|
+
Qe as P,
|
|
957
|
+
Je as Q,
|
|
958
|
+
et as R,
|
|
959
|
+
Ke as S,
|
|
960
|
+
Xe as T,
|
|
961
|
+
at as U,
|
|
962
|
+
ot as V,
|
|
963
|
+
We as W,
|
|
964
|
+
Ye as X,
|
|
965
|
+
Ze as Y,
|
|
966
|
+
tt as Z,
|
|
967
|
+
$e as _,
|
|
968
|
+
Re as a,
|
|
969
|
+
ya as a$,
|
|
970
|
+
Za as a0,
|
|
971
971
|
le as a1,
|
|
972
|
-
|
|
972
|
+
Fa as a2,
|
|
973
973
|
j as a3,
|
|
974
974
|
ue as a4,
|
|
975
975
|
pe as a5,
|
|
@@ -977,34 +977,34 @@ export {
|
|
|
977
977
|
_ as a7,
|
|
978
978
|
ce as a8,
|
|
979
979
|
fe as a9,
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
980
|
+
G as aA,
|
|
981
|
+
nt as aB,
|
|
982
|
+
ra as aC,
|
|
983
|
+
dt as aD,
|
|
984
|
+
da as aE,
|
|
985
|
+
na as aF,
|
|
986
|
+
F as aG,
|
|
987
|
+
H as aH,
|
|
988
|
+
ia as aI,
|
|
989
|
+
sa as aJ,
|
|
990
|
+
it as aK,
|
|
991
|
+
la as aL,
|
|
992
|
+
lt as aM,
|
|
993
|
+
mt as aN,
|
|
994
|
+
pa as aO,
|
|
995
|
+
ba as aP,
|
|
996
|
+
ua as aQ,
|
|
997
|
+
fa as aR,
|
|
998
998
|
B as aS,
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
999
|
+
ca as aT,
|
|
1000
|
+
ga as aU,
|
|
1001
|
+
ct as aV,
|
|
1002
|
+
pt as aW,
|
|
1003
|
+
xa as aX,
|
|
1004
|
+
ha as aY,
|
|
1005
|
+
ft as aZ,
|
|
1006
|
+
va as a_,
|
|
1007
|
+
Ha as aa,
|
|
1008
1008
|
Ma as ab,
|
|
1009
1009
|
Z as ac,
|
|
1010
1010
|
X as ad,
|
|
@@ -1020,48 +1020,48 @@ export {
|
|
|
1020
1020
|
W as an,
|
|
1021
1021
|
Q as ao,
|
|
1022
1022
|
_a as ap,
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1023
|
+
st as aq,
|
|
1024
|
+
ea as ar,
|
|
1025
|
+
rt as as,
|
|
1026
1026
|
ie as at,
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1027
|
+
ta as au,
|
|
1028
|
+
Oa as av,
|
|
1029
|
+
Ea as aw,
|
|
1030
1030
|
we as ax,
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1031
|
+
Ua as ay,
|
|
1032
|
+
oa as az,
|
|
1033
|
+
Se as b,
|
|
1034
|
+
Na as b0,
|
|
1035
|
+
wa as b1,
|
|
1036
1036
|
Ra as b2,
|
|
1037
1037
|
Ca as b3,
|
|
1038
|
-
|
|
1038
|
+
$a as b4,
|
|
1039
1039
|
Ce as b5,
|
|
1040
|
-
|
|
1041
|
-
|
|
1040
|
+
qa as b6,
|
|
1041
|
+
Ja as b7,
|
|
1042
1042
|
s as b8,
|
|
1043
|
-
|
|
1043
|
+
ke as c,
|
|
1044
1044
|
re as d,
|
|
1045
1045
|
de as e,
|
|
1046
1046
|
ne as f,
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1047
|
+
Qa as g,
|
|
1048
|
+
Me as h,
|
|
1049
|
+
_e as i,
|
|
1050
|
+
De as j,
|
|
1051
|
+
Pe as k,
|
|
1052
|
+
ze as l,
|
|
1053
|
+
Ie as m,
|
|
1054
|
+
V as n,
|
|
1055
|
+
Te as o,
|
|
1056
|
+
Ae as p,
|
|
1057
|
+
Wa as q,
|
|
1058
|
+
je as r,
|
|
1059
|
+
Le as s,
|
|
1060
|
+
Ve as t,
|
|
1061
|
+
Ge as u,
|
|
1062
1062
|
K as v,
|
|
1063
1063
|
T as w,
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1064
|
+
Ue as x,
|
|
1065
|
+
Oe as y,
|
|
1066
|
+
Ee as z
|
|
1067
1067
|
};
|