@tb-dev/vue-components 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/components/__base/command/Command.vue.d.ts +40 -0
  2. package/dist/components/__base/command/CommandDialog.vue.d.ts +29 -0
  3. package/dist/components/__base/command/CommandEmpty.vue.d.ts +22 -0
  4. package/dist/components/__base/command/CommandGroup.vue.d.ts +23 -0
  5. package/dist/components/__base/command/CommandInput.vue.d.ts +7 -0
  6. package/dist/components/__base/command/CommandItem.vue.d.ts +30 -0
  7. package/dist/components/__base/command/CommandList.vue.d.ts +22 -0
  8. package/dist/components/__base/command/CommandSeparator.vue.d.ts +22 -0
  9. package/dist/components/__base/command/CommandShortcut.vue.d.ts +21 -0
  10. package/dist/components/__base/command/index.d.ts +90 -0
  11. package/dist/components/card/index.d.ts +1 -3
  12. package/dist/components/checkbox/index.d.ts +1 -4
  13. package/dist/components/command/index.d.ts +1 -0
  14. package/dist/components/index.d.ts +2 -5
  15. package/dist/components/input/index.d.ts +1 -3
  16. package/dist/components/number-field/index.d.ts +1 -0
  17. package/dist/components/select/index.d.ts +1 -4
  18. package/dist/components/switch/index.d.ts +1 -3
  19. package/dist/components/table/Table.vue.d.ts +0 -6
  20. package/dist/components/table/index.d.ts +1 -2
  21. package/dist/components/table/types.d.ts +0 -13
  22. package/dist/components/textarea/index.d.ts +1 -3
  23. package/dist/index.js +1324 -1587
  24. package/package.json +8 -8
  25. package/dist/components/button-icon/ButtonIcon.vue.d.ts +0 -19
  26. package/dist/components/button-icon/index.d.ts +0 -3
  27. package/dist/components/button-icon/types.d.ts +0 -9
  28. package/dist/components/button-link/ButtonLink.vue.d.ts +0 -19
  29. package/dist/components/button-link/ButtonLinkInner.vue.d.ts +0 -21
  30. package/dist/components/button-link/index.d.ts +0 -3
  31. package/dist/components/button-link/types.d.ts +0 -14
  32. package/dist/components/card/Card.vue.d.ts +0 -29
  33. package/dist/components/card/types.d.ts +0 -10
  34. package/dist/components/checkbox/Checkbox.vue.d.ts +0 -11
  35. package/dist/components/checkbox/types.d.ts +0 -6
  36. package/dist/components/checkbox/utils.d.ts +0 -3
  37. package/dist/components/dialog/types.d.ts +0 -8
  38. package/dist/components/input/Input.vue.d.ts +0 -39
  39. package/dist/components/input/types.d.ts +0 -19
  40. package/dist/components/input-number/InputNumber.vue.d.ts +0 -9
  41. package/dist/components/input-number/index.d.ts +0 -3
  42. package/dist/components/input-number/types.d.ts +0 -18
  43. package/dist/components/input-text/InputText.vue.d.ts +0 -70
  44. package/dist/components/input-text/index.d.ts +0 -3
  45. package/dist/components/input-text/types.d.ts +0 -16
  46. package/dist/components/link/Link.vue.d.ts +0 -19
  47. package/dist/components/link/index.d.ts +0 -3
  48. package/dist/components/link/types.d.ts +0 -4
  49. package/dist/components/select/Select.vue.d.ts +0 -27
  50. package/dist/components/select/types.d.ts +0 -14
  51. package/dist/components/switch/Switch.vue.d.ts +0 -31
  52. package/dist/components/switch/types.d.ts +0 -3
  53. package/dist/components/table/TableLink.vue.d.ts +0 -19
  54. package/dist/components/textarea/Textarea.vue.d.ts +0 -37
  55. package/dist/components/textarea/types.d.ts +0 -22
package/dist/index.js CHANGED
@@ -1,18 +1,17 @@
1
- import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, createElementBlock, computed, normalizeStyle, toDisplayString, resolveDynamicComponent, createCommentVNode, Fragment, renderList, createTextVNode, mergeModels, useModel, withDirectives, isRef, vModelText, useTemplateRef, normalizeProps, guardReactiveProps, ref, createSlots } from 'vue';
2
- import { useForwardPropsEmits, AccordionRoot, AccordionContent, useForwardProps, AccordionItem, AccordionHeader, AccordionTrigger, AlertDialogRoot, Primitive, AlertDialogAction, AlertDialogCancel, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, AlertDialogDescription, AlertDialogTitle, AlertDialogTrigger, AvatarRoot, AvatarFallback, AvatarImage, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, CalendarRoot, CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNext, CalendarPrev, CheckboxRoot, CheckboxIndicator, ComboboxRoot, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxContent, ComboboxSeparator, ComboboxViewport, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DialogRoot, DialogClose, DialogOverlay, DialogPortal, DialogContent, DialogDescription, DialogTitle, DialogTrigger, DropdownMenuRoot, DropdownMenuCheckboxItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCardRoot, HoverCardPortal, HoverCardContent, HoverCardTrigger, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, Label, MenubarRoot, MenubarCheckboxItem, MenubarItemIndicator, MenubarPortal, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenuViewport, NavigationMenuRoot, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, PaginationRoot, PaginationList, PaginationEllipsis, PaginationFirst, PaginationListItem, PaginationLast, PaginationNext, PaginationPrev, PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent, PopoverTrigger, ProgressRoot, ProgressIndicator, RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, SplitterResizeHandle, SplitterPanel, SplitterGroup, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectGroup, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectIcon, SelectValue, Separator, createContext, TooltipRoot, TooltipPortal, TooltipContent, TooltipArrow, TooltipProvider, TooltipTrigger, SliderRoot, SliderTrack, SliderRange, SliderThumb, SwitchRoot, SwitchThumb, TabsRoot, TabsContent, TabsList, TabsTrigger, TagsInputRoot, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, Toggle } from 'reka-ui';
1
+ import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, createElementBlock, computed, Fragment, renderList, createTextVNode, toDisplayString, createCommentVNode, ref, reactive, watch, normalizeProps, guardReactiveProps, onMounted, onUnmounted, withDirectives, isRef, vModelText, resolveDynamicComponent, normalizeStyle } from 'vue';
2
+ import { useForwardPropsEmits, AccordionRoot, AccordionContent, useForwardProps, AccordionItem, AccordionHeader, AccordionTrigger, AlertDialogRoot, Primitive, AlertDialogAction, AlertDialogCancel, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, AlertDialogDescription, AlertDialogTitle, AlertDialogTrigger, AvatarRoot, AvatarFallback, AvatarImage, CalendarRoot, CalendarCell, CalendarCellTrigger, CalendarGrid, CalendarGridBody, CalendarGridHead, CalendarGridRow, CalendarHeadCell, CalendarHeader, CalendarHeading, CalendarNext, CalendarPrev, CheckboxRoot, CheckboxIndicator, ComboboxRoot, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxContent, ComboboxSeparator, ComboboxViewport, useFilter, ListboxRoot, DialogRoot, DialogClose, DialogOverlay, DialogPortal, DialogContent, DialogDescription, DialogTitle, DialogTrigger, useId, ListboxGroup, ListboxGroupLabel, ListboxFilter, ListboxItem, ListboxContent, Separator, createContext, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DropdownMenuRoot, DropdownMenuCheckboxItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCardRoot, HoverCardPortal, HoverCardContent, HoverCardTrigger, Label, MenubarRoot, MenubarCheckboxItem, MenubarItemIndicator, MenubarPortal, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenuViewport, NavigationMenuRoot, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, PaginationRoot, PaginationList, PaginationEllipsis, PaginationFirst, PaginationListItem, PaginationLast, PaginationNext, PaginationPrev, PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent, PopoverTrigger, ProgressRoot, ProgressIndicator, RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, SplitterResizeHandle, SplitterPanel, SplitterGroup, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectGroup, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectIcon, SelectValue, TooltipRoot, TooltipPortal, TooltipContent, TooltipArrow, TooltipProvider, TooltipTrigger, SliderRoot, SliderTrack, SliderRange, SliderThumb, SwitchRoot, SwitchThumb, TabsRoot, TabsContent, TabsList, TabsTrigger, TagsInputRoot, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, Toggle } from 'reka-ui';
3
3
  export { ComboboxCancel, ComboboxTrigger, DropdownMenuPortal, PaginationList, PaginationListItem } from 'reka-ui';
4
- import { reactiveOmit, useVModel, useMediaQuery } from '@vueuse/core';
4
+ import { reactiveOmit, useCurrentElement, useVModel, useMediaQuery } from '@vueuse/core';
5
5
  import { twMerge } from 'tailwind-merge';
6
6
  import { clsx } from 'clsx';
7
- import { ChevronDown, ChevronRight, ChevronLeft, Check, SearchIcon, Circle, X, Minus, Plus, LoaderCircle, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, CircleIcon, GripVertical, ChevronUp, PanelLeft } from 'lucide-vue-next';
7
+ import { ChevronDown, ChevronRight, ChevronLeft, Check, SearchIcon, X, Search, Circle, LoaderCircle, Minus, Plus, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, CircleIcon, GripVertical, ChevronUp, PanelLeft } from 'lucide-vue-next';
8
8
  import { cva } from 'class-variance-authority';
9
- import { RouterLink } from 'vue-router';
10
- import { toPixel } from '@tb-dev/utils';
11
9
  import { DrawerRoot, DrawerClose, DrawerOverlay, DrawerPortal, DrawerContent, DrawerDescription, DrawerTitle, DrawerTrigger } from 'vaul-vue';
12
10
  import { Toaster } from 'vue-sonner';
13
11
  export { toast as sonner } from 'vue-sonner';
12
+ import { toPixel } from '@tb-dev/utils';
14
13
 
15
- const _sfc_main$3I = /* @__PURE__ */ defineComponent({
14
+ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
16
15
  __name: "Accordion",
17
16
  props: {
18
17
  collapsible: { type: Boolean },
@@ -46,7 +45,7 @@ function cn(...inputs) {
46
45
  return twMerge(clsx(inputs));
47
46
  }
48
47
 
49
- const _sfc_main$3H = /* @__PURE__ */ defineComponent({
48
+ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
50
49
  __name: "AccordionContent",
51
50
  props: {
52
51
  forceMount: { type: Boolean },
@@ -72,7 +71,7 @@ const _sfc_main$3H = /* @__PURE__ */ defineComponent({
72
71
  }
73
72
  });
74
73
 
75
- const _sfc_main$3G = /* @__PURE__ */ defineComponent({
74
+ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
76
75
  __name: "AccordionItem",
77
76
  props: {
78
77
  disabled: { type: Boolean },
@@ -99,7 +98,7 @@ const _sfc_main$3G = /* @__PURE__ */ defineComponent({
99
98
  }
100
99
  });
101
100
 
102
- const _sfc_main$3F = /* @__PURE__ */ defineComponent({
101
+ const _sfc_main$3C = /* @__PURE__ */ defineComponent({
103
102
  __name: "AccordionTrigger",
104
103
  props: {
105
104
  asChild: { type: Boolean },
@@ -133,7 +132,7 @@ const _sfc_main$3F = /* @__PURE__ */ defineComponent({
133
132
  }
134
133
  });
135
134
 
136
- const _sfc_main$3E = /* @__PURE__ */ defineComponent({
135
+ const _sfc_main$3B = /* @__PURE__ */ defineComponent({
137
136
  __name: "Alert",
138
137
  props: {
139
138
  class: {},
@@ -153,7 +152,7 @@ const _sfc_main$3E = /* @__PURE__ */ defineComponent({
153
152
  }
154
153
  });
155
154
 
156
- const _sfc_main$3D = /* @__PURE__ */ defineComponent({
155
+ const _sfc_main$3A = /* @__PURE__ */ defineComponent({
157
156
  __name: "AlertDescription",
158
157
  props: {
159
158
  class: {}
@@ -176,7 +175,7 @@ const _sfc_main$3D = /* @__PURE__ */ defineComponent({
176
175
  }
177
176
  });
178
177
 
179
- const _sfc_main$3C = /* @__PURE__ */ defineComponent({
178
+ const _sfc_main$3z = /* @__PURE__ */ defineComponent({
180
179
  __name: "AlertTitle",
181
180
  props: {
182
181
  class: {}
@@ -209,7 +208,7 @@ const alertVariants = cva(
209
208
  }
210
209
  );
211
210
 
212
- const _sfc_main$3B = /* @__PURE__ */ defineComponent({
211
+ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
213
212
  __name: "AlertDialog",
214
213
  props: {
215
214
  open: { type: Boolean },
@@ -231,7 +230,7 @@ const _sfc_main$3B = /* @__PURE__ */ defineComponent({
231
230
  }
232
231
  });
233
232
 
234
- const _sfc_main$3A = /* @__PURE__ */ defineComponent({
233
+ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
235
234
  __name: "Button",
236
235
  props: {
237
236
  variant: {},
@@ -286,7 +285,7 @@ const buttonVariants = cva(
286
285
  }
287
286
  );
288
287
 
289
- const _sfc_main$3z = /* @__PURE__ */ defineComponent({
288
+ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
290
289
  __name: "AlertDialogAction",
291
290
  props: {
292
291
  asChild: { type: Boolean },
@@ -309,7 +308,7 @@ const _sfc_main$3z = /* @__PURE__ */ defineComponent({
309
308
  }
310
309
  });
311
310
 
312
- const _sfc_main$3y = /* @__PURE__ */ defineComponent({
311
+ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
313
312
  __name: "AlertDialogCancel",
314
313
  props: {
315
314
  asChild: { type: Boolean },
@@ -332,7 +331,7 @@ const _sfc_main$3y = /* @__PURE__ */ defineComponent({
332
331
  }
333
332
  });
334
333
 
335
- const _sfc_main$3x = /* @__PURE__ */ defineComponent({
334
+ const _sfc_main$3u = /* @__PURE__ */ defineComponent({
336
335
  __name: "AlertDialogContent",
337
336
  props: {
338
337
  forceMount: { type: Boolean },
@@ -372,7 +371,7 @@ const _sfc_main$3x = /* @__PURE__ */ defineComponent({
372
371
  }
373
372
  });
374
373
 
375
- const _sfc_main$3w = /* @__PURE__ */ defineComponent({
374
+ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
376
375
  __name: "AlertDialogDescription",
377
376
  props: {
378
377
  asChild: { type: Boolean },
@@ -395,7 +394,7 @@ const _sfc_main$3w = /* @__PURE__ */ defineComponent({
395
394
  }
396
395
  });
397
396
 
398
- const _sfc_main$3v = /* @__PURE__ */ defineComponent({
397
+ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
399
398
  __name: "AlertDialogFooter",
400
399
  props: {
401
400
  class: {}
@@ -413,7 +412,7 @@ const _sfc_main$3v = /* @__PURE__ */ defineComponent({
413
412
  }
414
413
  });
415
414
 
416
- const _sfc_main$3u = /* @__PURE__ */ defineComponent({
415
+ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
417
416
  __name: "AlertDialogHeader",
418
417
  props: {
419
418
  class: {}
@@ -431,7 +430,7 @@ const _sfc_main$3u = /* @__PURE__ */ defineComponent({
431
430
  }
432
431
  });
433
432
 
434
- const _sfc_main$3t = /* @__PURE__ */ defineComponent({
433
+ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
435
434
  __name: "AlertDialogTitle",
436
435
  props: {
437
436
  asChild: { type: Boolean },
@@ -454,7 +453,7 @@ const _sfc_main$3t = /* @__PURE__ */ defineComponent({
454
453
  }
455
454
  });
456
455
 
457
- const _sfc_main$3s = /* @__PURE__ */ defineComponent({
456
+ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
458
457
  __name: "AlertDialogTrigger",
459
458
  props: {
460
459
  asChild: { type: Boolean },
@@ -473,7 +472,7 @@ const _sfc_main$3s = /* @__PURE__ */ defineComponent({
473
472
  }
474
473
  });
475
474
 
476
- const _sfc_main$3r = /* @__PURE__ */ defineComponent({
475
+ const _sfc_main$3o = /* @__PURE__ */ defineComponent({
477
476
  __name: "Avatar",
478
477
  props: {
479
478
  class: {}
@@ -494,7 +493,7 @@ const _sfc_main$3r = /* @__PURE__ */ defineComponent({
494
493
  }
495
494
  });
496
495
 
497
- const _sfc_main$3q = /* @__PURE__ */ defineComponent({
496
+ const _sfc_main$3n = /* @__PURE__ */ defineComponent({
498
497
  __name: "AvatarFallback",
499
498
  props: {
500
499
  delayMs: {},
@@ -518,7 +517,7 @@ const _sfc_main$3q = /* @__PURE__ */ defineComponent({
518
517
  }
519
518
  });
520
519
 
521
- const _sfc_main$3p = /* @__PURE__ */ defineComponent({
520
+ const _sfc_main$3m = /* @__PURE__ */ defineComponent({
522
521
  __name: "AvatarImage",
523
522
  props: {
524
523
  src: {},
@@ -540,7 +539,7 @@ const _sfc_main$3p = /* @__PURE__ */ defineComponent({
540
539
  }
541
540
  });
542
541
 
543
- const _sfc_main$3o = /* @__PURE__ */ defineComponent({
542
+ const _sfc_main$3l = /* @__PURE__ */ defineComponent({
544
543
  __name: "Badge",
545
544
  props: {
546
545
  asChild: { type: Boolean },
@@ -585,212 +584,31 @@ const badgeVariants = cva(
585
584
  }
586
585
  );
587
586
 
588
- const _hoisted_1$g = { key: 0 };
589
- const _sfc_main$3n = /* @__PURE__ */ defineComponent({
590
- __name: "ButtonLinkInner",
591
- props: {
592
- buttonClass: {},
593
- disabled: {},
594
- label: {},
595
- size: {},
596
- style: {},
597
- variant: {}
598
- },
599
- setup(__props) {
600
- const props = __props;
601
- return (_ctx, _cache) => {
602
- return openBlock(), createBlock(unref(_sfc_main$3A), {
603
- disabled: _ctx.disabled,
604
- size: _ctx.size,
605
- variant: _ctx.variant,
606
- style: normalizeStyle(_ctx.style),
607
- class: normalizeClass(unref(cn)("size-full", props.buttonClass))
608
- }, {
609
- default: withCtx(() => [
610
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$g, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
611
- ]),
612
- _: 3
613
- }, 8, ["disabled", "size", "variant", "style", "class"]);
614
- };
615
- }
616
- });
617
-
618
- const _hoisted_1$f = { key: 0 };
619
- const _sfc_main$3m = /* @__PURE__ */ defineComponent({
620
- __name: "ButtonLink",
621
- props: {
622
- to: {},
623
- buttonClass: {},
624
- disabled: {},
625
- label: {},
626
- size: { default: "default" },
627
- style: {},
628
- variant: { default: "ghost" }
629
- },
630
- setup(__props) {
631
- return (_ctx, _cache) => {
632
- return _ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
633
- createVNode(_sfc_main$3n, {
634
- label: _ctx.label,
635
- size: _ctx.size,
636
- variant: _ctx.variant,
637
- style: normalizeStyle(_ctx.style),
638
- "button-class": _ctx.buttonClass
639
- }, {
640
- default: withCtx(() => [
641
- renderSlot(_ctx.$slots, "default")
642
- ]),
643
- _: 3
644
- }, 8, ["label", "size", "variant", "style", "button-class"])
645
- ])) : (openBlock(), createBlock(unref(RouterLink), {
646
- key: 1,
647
- to: { name: _ctx.to }
648
- }, {
649
- default: withCtx(() => [
650
- createVNode(_sfc_main$3n, {
651
- label: _ctx.label,
652
- size: _ctx.size,
653
- variant: _ctx.variant,
654
- style: normalizeStyle(_ctx.style),
655
- "button-class": _ctx.buttonClass
656
- }, {
657
- default: withCtx(() => [
658
- renderSlot(_ctx.$slots, "default")
659
- ]),
660
- _: 3
661
- }, 8, ["label", "size", "variant", "style", "button-class"])
662
- ]),
663
- _: 3
664
- }, 8, ["to"]));
665
- };
666
- }
667
- });
668
-
669
- const _sfc_main$3l = /* @__PURE__ */ defineComponent({
670
- __name: "ButtonIcon",
671
- props: {
672
- buttonClass: {},
673
- class: {},
674
- icon: {},
675
- iconClass: {},
676
- iconSize: {},
677
- to: {}
678
- },
679
- setup(__props) {
680
- const props = __props;
681
- const delegatedProps = computed(() => {
682
- const { class: _, ...delegated } = props;
683
- return delegated;
684
- });
685
- return (_ctx, _cache) => {
686
- return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$3m), mergeProps({ key: 0 }, delegatedProps.value, {
687
- to: _ctx.to,
688
- variant: "ghost",
689
- size: "icon",
690
- class: props.class,
691
- "button-class": _ctx.buttonClass
692
- }), {
693
- default: withCtx(() => [
694
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
695
- class: normalizeClass(_ctx.iconClass),
696
- size: _ctx.iconSize
697
- }, null, 8, ["class", "size"]))
698
- ]),
699
- _: 1
700
- }, 16, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$3A), mergeProps({ key: 1 }, delegatedProps.value, {
701
- variant: "ghost",
702
- size: "icon",
703
- class: unref(cn)(props.class, _ctx.buttonClass)
704
- }), {
705
- default: withCtx(() => [
706
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
707
- class: normalizeClass(_ctx.iconClass),
708
- size: _ctx.iconSize
709
- }, null, 8, ["class", "size"]))
710
- ]),
711
- _: 1
712
- }, 16, ["class"]));
713
- };
714
- }
715
- });
716
-
717
587
  const _sfc_main$3k = /* @__PURE__ */ defineComponent({
718
- __name: "ScrollBar",
588
+ __name: "Card",
719
589
  props: {
720
- orientation: { default: "vertical" },
721
- forceMount: { type: Boolean },
722
- asChild: { type: Boolean },
723
- as: {},
724
590
  class: {}
725
591
  },
726
592
  setup(__props) {
727
593
  const props = __props;
728
- const delegatedProps = computed(() => {
729
- const { class: _, ...delegated } = props;
730
- return delegated;
731
- });
732
594
  return (_ctx, _cache) => {
733
- return openBlock(), createBlock(unref(ScrollAreaScrollbar), mergeProps({ "data-slot": "scroll-area-scrollbar" }, delegatedProps.value, {
734
- class: unref(cn)(
735
- "flex touch-none p-px transition-colors select-none",
736
- _ctx.orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
737
- _ctx.orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
738
- props.class
595
+ return openBlock(), createElementBlock("div", {
596
+ "data-slot": "card",
597
+ class: normalizeClass(
598
+ unref(cn)(
599
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
600
+ props.class
601
+ )
739
602
  )
740
- }), {
741
- default: withCtx(() => [
742
- createVNode(unref(ScrollAreaThumb), {
743
- "data-slot": "scroll-area-thumb",
744
- class: "bg-border relative flex-1 rounded-full"
745
- })
746
- ]),
747
- _: 1
748
- }, 16, ["class"]);
603
+ }, [
604
+ renderSlot(_ctx.$slots, "default")
605
+ ], 2);
749
606
  };
750
607
  }
751
608
  });
752
609
 
753
610
  const _sfc_main$3j = /* @__PURE__ */ defineComponent({
754
- __name: "ScrollArea",
755
- props: {
756
- type: {},
757
- dir: {},
758
- scrollHideDelay: {},
759
- asChild: { type: Boolean },
760
- as: {},
761
- class: {}
762
- },
763
- setup(__props) {
764
- const props = __props;
765
- const delegatedProps = computed(() => {
766
- const { class: _, ...delegated } = props;
767
- return delegated;
768
- });
769
- return (_ctx, _cache) => {
770
- return openBlock(), createBlock(unref(ScrollAreaRoot), mergeProps({ "data-slot": "scroll-area" }, delegatedProps.value, {
771
- class: unref(cn)("relative", props.class)
772
- }), {
773
- default: withCtx(() => [
774
- createVNode(unref(ScrollAreaViewport), {
775
- "data-slot": "scroll-area-viewport",
776
- class: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none"
777
- }, {
778
- default: withCtx(() => [
779
- renderSlot(_ctx.$slots, "default")
780
- ]),
781
- _: 3
782
- }),
783
- createVNode(_sfc_main$3k),
784
- createVNode(unref(ScrollAreaCorner))
785
- ]),
786
- _: 3
787
- }, 16, ["class"]);
788
- };
789
- }
790
- });
791
-
792
- const _sfc_main$3i = /* @__PURE__ */ defineComponent({
793
- __name: "Card",
611
+ __name: "CardAction",
794
612
  props: {
795
613
  class: {}
796
614
  },
@@ -798,13 +616,8 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
798
616
  const props = __props;
799
617
  return (_ctx, _cache) => {
800
618
  return openBlock(), createElementBlock("div", {
801
- "data-slot": "card",
802
- class: normalizeClass(
803
- unref(cn)(
804
- "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
805
- props.class
806
- )
807
- )
619
+ "data-slot": "card-action",
620
+ class: normalizeClass(unref(cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end", props.class))
808
621
  }, [
809
622
  renderSlot(_ctx.$slots, "default")
810
623
  ], 2);
@@ -812,7 +625,7 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
812
625
  }
813
626
  });
814
627
 
815
- const _sfc_main$3h = /* @__PURE__ */ defineComponent({
628
+ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
816
629
  __name: "CardContent",
817
630
  props: {
818
631
  class: {}
@@ -830,7 +643,7 @@ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
830
643
  }
831
644
  });
832
645
 
833
- const _sfc_main$3g = /* @__PURE__ */ defineComponent({
646
+ const _sfc_main$3h = /* @__PURE__ */ defineComponent({
834
647
  __name: "CardDescription",
835
648
  props: {
836
649
  class: {}
@@ -848,7 +661,7 @@ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
848
661
  }
849
662
  });
850
663
 
851
- const _sfc_main$3f = /* @__PURE__ */ defineComponent({
664
+ const _sfc_main$3g = /* @__PURE__ */ defineComponent({
852
665
  __name: "CardFooter",
853
666
  props: {
854
667
  class: {}
@@ -866,7 +679,7 @@ const _sfc_main$3f = /* @__PURE__ */ defineComponent({
866
679
  }
867
680
  });
868
681
 
869
- const _sfc_main$3e = /* @__PURE__ */ defineComponent({
682
+ const _sfc_main$3f = /* @__PURE__ */ defineComponent({
870
683
  __name: "CardHeader",
871
684
  props: {
872
685
  class: {}
@@ -889,7 +702,7 @@ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
889
702
  }
890
703
  });
891
704
 
892
- const _sfc_main$3d = /* @__PURE__ */ defineComponent({
705
+ const _sfc_main$3e = /* @__PURE__ */ defineComponent({
893
706
  __name: "CardTitle",
894
707
  props: {
895
708
  class: {}
@@ -907,83 +720,9 @@ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
907
720
  }
908
721
  });
909
722
 
910
- const _sfc_main$3c = /* @__PURE__ */ defineComponent({
911
- __name: "Card",
912
- props: {
913
- contentClass: {},
914
- descriptionClass: {},
915
- footerClass: {},
916
- headerClass: {},
917
- scrollAreaClass: {},
918
- scrollAreaHeight: { default: "auto" },
919
- titleClass: {}
920
- },
921
- setup(__props) {
922
- return (_ctx, _cache) => {
923
- return openBlock(), createBlock(unref(_sfc_main$3i), null, {
924
- default: withCtx(() => [
925
- _ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$3e), {
926
- key: 0,
927
- class: normalizeClass(_ctx.headerClass)
928
- }, {
929
- default: withCtx(() => [
930
- createVNode(unref(_sfc_main$3d), {
931
- class: normalizeClass(_ctx.titleClass)
932
- }, {
933
- default: withCtx(() => [
934
- renderSlot(_ctx.$slots, "title")
935
- ]),
936
- _: 3
937
- }, 8, ["class"]),
938
- _ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$3g), {
939
- key: 0,
940
- class: normalizeClass(_ctx.descriptionClass)
941
- }, {
942
- default: withCtx(() => [
943
- renderSlot(_ctx.$slots, "description")
944
- ]),
945
- _: 3
946
- }, 8, ["class"])) : createCommentVNode("", true)
947
- ]),
948
- _: 3
949
- }, 8, ["class"])) : createCommentVNode("", true),
950
- _ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$3h), {
951
- key: 1,
952
- class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
953
- }, {
954
- default: withCtx(() => [
955
- _ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$3j), {
956
- key: 0,
957
- class: normalizeClass(_ctx.scrollAreaClass),
958
- style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
959
- }, {
960
- default: withCtx(() => [
961
- renderSlot(_ctx.$slots, "default")
962
- ]),
963
- _: 3
964
- }, 8, ["class", "style"])) : renderSlot(_ctx.$slots, "default", { key: 1 })
965
- ]),
966
- _: 3
967
- }, 8, ["class"])) : createCommentVNode("", true),
968
- _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$3f), {
969
- key: 2,
970
- class: normalizeClass(_ctx.footerClass)
971
- }, {
972
- default: withCtx(() => [
973
- renderSlot(_ctx.$slots, "footer")
974
- ]),
975
- _: 3
976
- }, 8, ["class"])) : createCommentVNode("", true)
977
- ]),
978
- _: 3
979
- });
980
- };
981
- }
982
- });
983
-
984
723
  const _hoisted_1$e = { class: "flex items-center gap-1" };
985
724
  const _hoisted_2$1 = { class: "mt-4 flex flex-col gap-y-4 sm:flex-row sm:gap-x-4 sm:gap-y-0" };
986
- const _sfc_main$3b = /* @__PURE__ */ defineComponent({
725
+ const _sfc_main$3d = /* @__PURE__ */ defineComponent({
987
726
  __name: "Calendar",
988
727
  props: {
989
728
  defaultValue: {},
@@ -1026,28 +765,28 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
1026
765
  class: unref(cn)("p-3", props.class)
1027
766
  }, unref(forwarded)), {
1028
767
  default: withCtx(({ grid, weekDays }) => [
1029
- createVNode(unref(_sfc_main$33), null, {
768
+ createVNode(unref(_sfc_main$35), null, {
1030
769
  default: withCtx(() => [
1031
- createVNode(unref(_sfc_main$32)),
770
+ createVNode(unref(_sfc_main$34)),
1032
771
  createElementVNode("div", _hoisted_1$e, [
1033
- createVNode(unref(_sfc_main$30)),
1034
- createVNode(unref(_sfc_main$31))
772
+ createVNode(unref(_sfc_main$32)),
773
+ createVNode(unref(_sfc_main$33))
1035
774
  ])
1036
775
  ]),
1037
776
  _: 1
1038
777
  }),
1039
778
  createElementVNode("div", _hoisted_2$1, [
1040
779
  (openBlock(true), createElementBlock(Fragment, null, renderList(grid, (month) => {
1041
- return openBlock(), createBlock(unref(_sfc_main$38), {
780
+ return openBlock(), createBlock(unref(_sfc_main$3a), {
1042
781
  key: month.value.toString()
1043
782
  }, {
1044
783
  default: withCtx(() => [
1045
- createVNode(unref(_sfc_main$36), null, {
784
+ createVNode(unref(_sfc_main$38), null, {
1046
785
  default: withCtx(() => [
1047
- createVNode(unref(_sfc_main$35), null, {
786
+ createVNode(unref(_sfc_main$37), null, {
1048
787
  default: withCtx(() => [
1049
788
  (openBlock(true), createElementBlock(Fragment, null, renderList(weekDays, (day) => {
1050
- return openBlock(), createBlock(unref(_sfc_main$34), { key: day }, {
789
+ return openBlock(), createBlock(unref(_sfc_main$36), { key: day }, {
1051
790
  default: withCtx(() => [
1052
791
  createTextVNode(toDisplayString(day), 1)
1053
792
  ]),
@@ -1060,21 +799,21 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
1060
799
  ]),
1061
800
  _: 2
1062
801
  }, 1024),
1063
- createVNode(unref(_sfc_main$37), null, {
802
+ createVNode(unref(_sfc_main$39), null, {
1064
803
  default: withCtx(() => [
1065
804
  (openBlock(true), createElementBlock(Fragment, null, renderList(month.rows, (weekDates, index) => {
1066
- return openBlock(), createBlock(unref(_sfc_main$35), {
805
+ return openBlock(), createBlock(unref(_sfc_main$37), {
1067
806
  key: `weekDate-${index}`,
1068
807
  class: "mt-2 w-full"
1069
808
  }, {
1070
809
  default: withCtx(() => [
1071
810
  (openBlock(true), createElementBlock(Fragment, null, renderList(weekDates, (weekDate) => {
1072
- return openBlock(), createBlock(unref(_sfc_main$3a), {
811
+ return openBlock(), createBlock(unref(_sfc_main$3c), {
1073
812
  key: weekDate.toString(),
1074
813
  date: weekDate
1075
814
  }, {
1076
815
  default: withCtx(() => [
1077
- createVNode(unref(_sfc_main$39), {
816
+ createVNode(unref(_sfc_main$3b), {
1078
817
  day: weekDate,
1079
818
  month: month.value
1080
819
  }, null, 8, ["day", "month"])
@@ -1101,7 +840,7 @@ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
1101
840
  }
1102
841
  });
1103
842
 
1104
- const _sfc_main$3a = /* @__PURE__ */ defineComponent({
843
+ const _sfc_main$3c = /* @__PURE__ */ defineComponent({
1105
844
  __name: "CalendarCell",
1106
845
  props: {
1107
846
  date: {},
@@ -1130,7 +869,7 @@ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
1130
869
  }
1131
870
  });
1132
871
 
1133
- const _sfc_main$39 = /* @__PURE__ */ defineComponent({
872
+ const _sfc_main$3b = /* @__PURE__ */ defineComponent({
1134
873
  __name: "CalendarCellTrigger",
1135
874
  props: {
1136
875
  day: {},
@@ -1170,7 +909,7 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
1170
909
  }
1171
910
  });
1172
911
 
1173
- const _sfc_main$38 = /* @__PURE__ */ defineComponent({
912
+ const _sfc_main$3a = /* @__PURE__ */ defineComponent({
1174
913
  __name: "CalendarGrid",
1175
914
  props: {
1176
915
  asChild: { type: Boolean },
@@ -1195,7 +934,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
1195
934
  }
1196
935
  });
1197
936
 
1198
- const _sfc_main$37 = /* @__PURE__ */ defineComponent({
937
+ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
1199
938
  __name: "CalendarGridBody",
1200
939
  props: {
1201
940
  asChild: { type: Boolean },
@@ -1214,7 +953,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
1214
953
  }
1215
954
  });
1216
955
 
1217
- const _sfc_main$36 = /* @__PURE__ */ defineComponent({
956
+ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
1218
957
  __name: "CalendarGridHead",
1219
958
  props: {
1220
959
  asChild: { type: Boolean },
@@ -1234,7 +973,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
1234
973
  }
1235
974
  });
1236
975
 
1237
- const _sfc_main$35 = /* @__PURE__ */ defineComponent({
976
+ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
1238
977
  __name: "CalendarGridRow",
1239
978
  props: {
1240
979
  asChild: { type: Boolean },
@@ -1259,7 +998,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
1259
998
  }
1260
999
  });
1261
1000
 
1262
- const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1001
+ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
1263
1002
  __name: "CalendarHeadCell",
1264
1003
  props: {
1265
1004
  asChild: { type: Boolean },
@@ -1284,7 +1023,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1284
1023
  }
1285
1024
  });
1286
1025
 
1287
- const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1026
+ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
1288
1027
  __name: "CalendarHeader",
1289
1028
  props: {
1290
1029
  asChild: { type: Boolean },
@@ -1309,7 +1048,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1309
1048
  }
1310
1049
  });
1311
1050
 
1312
- const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1051
+ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
1313
1052
  __name: "CalendarHeading",
1314
1053
  props: {
1315
1054
  asChild: { type: Boolean },
@@ -1336,7 +1075,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1336
1075
  }
1337
1076
  });
1338
1077
 
1339
- const _sfc_main$31 = /* @__PURE__ */ defineComponent({
1078
+ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
1340
1079
  __name: "CalendarNextButton",
1341
1080
  props: {
1342
1081
  nextPage: { type: Function },
@@ -1369,7 +1108,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
1369
1108
  }
1370
1109
  });
1371
1110
 
1372
- const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1111
+ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
1373
1112
  __name: "CalendarPrevButton",
1374
1113
  props: {
1375
1114
  prevPage: { type: Function },
@@ -1402,7 +1141,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1402
1141
  }
1403
1142
  });
1404
1143
 
1405
- const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
1144
+ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
1406
1145
  __name: "Checkbox",
1407
1146
  props: {
1408
1147
  defaultValue: { type: [Boolean, String] },
@@ -1451,34 +1190,7 @@ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
1451
1190
  }
1452
1191
  });
1453
1192
 
1454
- const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
1455
- __name: "Checkbox",
1456
- props: /* @__PURE__ */ mergeModels({
1457
- defaultValue: { type: [Boolean, String] },
1458
- disabled: { type: Boolean }
1459
- }, {
1460
- "modelValue": { type: [Boolean, String, null], ...{ required: false } },
1461
- "modelModifiers": {}
1462
- }),
1463
- emits: ["update:modelValue"],
1464
- setup(__props) {
1465
- const value = useModel(__props, "modelValue");
1466
- return (_ctx, _cache) => {
1467
- return openBlock(), createBlock(unref(_sfc_main$2$), {
1468
- modelValue: value.value,
1469
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
1470
- "default-value": _ctx.defaultValue,
1471
- disabled: _ctx.disabled
1472
- }, null, 8, ["modelValue", "default-value", "disabled"]);
1473
- };
1474
- }
1475
- });
1476
-
1477
- function toBooleanCheckboxValue(value) {
1478
- return value === true;
1479
- }
1480
-
1481
- const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
1193
+ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
1482
1194
  __name: "Combobox",
1483
1195
  props: {
1484
1196
  open: { type: Boolean },
@@ -1514,7 +1226,7 @@ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
1514
1226
  }
1515
1227
  });
1516
1228
 
1517
- const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
1229
+ const _sfc_main$2$ = /* @__PURE__ */ defineComponent({
1518
1230
  __name: "ComboboxAnchor",
1519
1231
  props: {
1520
1232
  reference: {},
@@ -1542,7 +1254,7 @@ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
1542
1254
  }
1543
1255
  });
1544
1256
 
1545
- const _sfc_main$2X = /* @__PURE__ */ defineComponent({
1257
+ const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
1546
1258
  __name: "ComboboxEmpty",
1547
1259
  props: {
1548
1260
  asChild: { type: Boolean },
@@ -1568,7 +1280,7 @@ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
1568
1280
  }
1569
1281
  });
1570
1282
 
1571
- const _sfc_main$2W = /* @__PURE__ */ defineComponent({
1283
+ const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
1572
1284
  __name: "ComboboxGroup",
1573
1285
  props: {
1574
1286
  asChild: { type: Boolean },
@@ -1608,7 +1320,7 @@ const _hoisted_1$d = {
1608
1320
  "data-slot": "command-input-wrapper",
1609
1321
  class: "flex h-9 items-center gap-2 border-b px-3"
1610
1322
  };
1611
- const _sfc_main$2V = /* @__PURE__ */ defineComponent({
1323
+ const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
1612
1324
  ...{
1613
1325
  inheritAttrs: false
1614
1326
  },
@@ -1651,7 +1363,7 @@ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
1651
1363
  }
1652
1364
  });
1653
1365
 
1654
- const _sfc_main$2U = /* @__PURE__ */ defineComponent({
1366
+ const _sfc_main$2X = /* @__PURE__ */ defineComponent({
1655
1367
  __name: "ComboboxItem",
1656
1368
  props: {
1657
1369
  textValue: {},
@@ -1686,7 +1398,7 @@ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
1686
1398
  }
1687
1399
  });
1688
1400
 
1689
- const _sfc_main$2T = /* @__PURE__ */ defineComponent({
1401
+ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
1690
1402
  __name: "ComboboxItemIndicator",
1691
1403
  props: {
1692
1404
  asChild: { type: Boolean },
@@ -1713,7 +1425,7 @@ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
1713
1425
  }
1714
1426
  });
1715
1427
 
1716
- const _sfc_main$2S = /* @__PURE__ */ defineComponent({
1428
+ const _sfc_main$2V = /* @__PURE__ */ defineComponent({
1717
1429
  __name: "ComboboxList",
1718
1430
  props: {
1719
1431
  forceMount: { type: Boolean },
@@ -1767,7 +1479,7 @@ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
1767
1479
  }
1768
1480
  });
1769
1481
 
1770
- const _sfc_main$2R = /* @__PURE__ */ defineComponent({
1482
+ const _sfc_main$2U = /* @__PURE__ */ defineComponent({
1771
1483
  __name: "ComboboxSeparator",
1772
1484
  props: {
1773
1485
  asChild: { type: Boolean },
@@ -1793,7 +1505,7 @@ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
1793
1505
  }
1794
1506
  });
1795
1507
 
1796
- const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
1508
+ const _sfc_main$2T = /* @__PURE__ */ defineComponent({
1797
1509
  __name: "ComboboxViewport",
1798
1510
  props: {
1799
1511
  nonce: {},
@@ -1821,64 +1533,85 @@ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
1821
1533
  }
1822
1534
  });
1823
1535
 
1824
- const _sfc_main$2P = /* @__PURE__ */ defineComponent({
1825
- __name: "ContextMenu",
1536
+ const _sfc_main$2S = /* @__PURE__ */ defineComponent({
1537
+ __name: "Command",
1826
1538
  props: {
1539
+ modelValue: { default: "" },
1540
+ defaultValue: {},
1541
+ multiple: { type: Boolean },
1542
+ orientation: {},
1827
1543
  dir: {},
1828
- modal: { type: Boolean }
1829
- },
1830
- emits: ["update:open"],
1831
- setup(__props, { emit: __emit }) {
1832
- const props = __props;
1833
- const emits = __emit;
1834
- const forwarded = useForwardPropsEmits(props, emits);
1835
- return (_ctx, _cache) => {
1836
- return openBlock(), createBlock(unref(ContextMenuRoot), mergeProps({ "data-slot": "context-menu" }, unref(forwarded)), {
1837
- default: withCtx(() => [
1838
- renderSlot(_ctx.$slots, "default")
1839
- ]),
1840
- _: 3
1841
- }, 16);
1842
- };
1843
- }
1844
- });
1845
-
1846
- const _hoisted_1$c = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
1847
- const _sfc_main$2O = /* @__PURE__ */ defineComponent({
1848
- __name: "ContextMenuCheckboxItem",
1849
- props: {
1850
- modelValue: { type: [Boolean, String] },
1851
1544
  disabled: { type: Boolean },
1852
- textValue: {},
1545
+ selectionBehavior: {},
1546
+ highlightOnHover: { type: Boolean },
1547
+ by: {},
1853
1548
  asChild: { type: Boolean },
1854
1549
  as: {},
1550
+ name: {},
1551
+ required: { type: Boolean },
1855
1552
  class: {}
1856
1553
  },
1857
- emits: ["select", "update:modelValue"],
1554
+ emits: ["update:modelValue", "highlight", "entryFocus", "leave"],
1858
1555
  setup(__props, { emit: __emit }) {
1859
1556
  const props = __props;
1860
1557
  const emits = __emit;
1861
- const delegatedProps = computed(() => {
1862
- const { class: _, ...delegated } = props;
1863
- return delegated;
1864
- });
1558
+ const delegatedProps = reactiveOmit(props, "class");
1865
1559
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
1560
+ const allItems = ref(/* @__PURE__ */ new Map());
1561
+ const allGroups = ref(/* @__PURE__ */ new Map());
1562
+ const { contains } = useFilter({ sensitivity: "base" });
1563
+ const filterState = reactive({
1564
+ search: "",
1565
+ filtered: {
1566
+ /** The count of all visible items. */
1567
+ count: 0,
1568
+ /** Map from visible item id to its search score. */
1569
+ items: /* @__PURE__ */ new Map(),
1570
+ /** Set of groups with at least one visible item. */
1571
+ groups: /* @__PURE__ */ new Set()
1572
+ }
1573
+ });
1574
+ function filterItems() {
1575
+ if (!filterState.search) {
1576
+ filterState.filtered.count = allItems.value.size;
1577
+ return;
1578
+ }
1579
+ filterState.filtered.groups = /* @__PURE__ */ new Set();
1580
+ let itemCount = 0;
1581
+ for (const [id, value] of allItems.value) {
1582
+ const score = contains(value, filterState.search);
1583
+ filterState.filtered.items.set(id, score ? 1 : 0);
1584
+ if (score) itemCount++;
1585
+ }
1586
+ for (const [groupId, group] of allGroups.value) {
1587
+ for (const itemId of group) {
1588
+ if (filterState.filtered.items.get(itemId) > 0) {
1589
+ filterState.filtered.groups.add(groupId);
1590
+ break;
1591
+ }
1592
+ }
1593
+ }
1594
+ filterState.filtered.count = itemCount;
1595
+ }
1596
+ watch(
1597
+ () => filterState.search,
1598
+ () => {
1599
+ filterItems();
1600
+ }
1601
+ );
1602
+ provideCommandContext({
1603
+ allItems,
1604
+ allGroups,
1605
+ filterState
1606
+ });
1866
1607
  return (_ctx, _cache) => {
1867
- return openBlock(), createBlock(unref(ContextMenuCheckboxItem), mergeProps({ "data-slot": "context-menu-checkbox-item" }, unref(forwarded), {
1608
+ return openBlock(), createBlock(unref(ListboxRoot), mergeProps({ "data-slot": "command" }, unref(forwarded), {
1868
1609
  class: unref(cn)(
1869
- `focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
1610
+ "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
1870
1611
  props.class
1871
1612
  )
1872
1613
  }), {
1873
1614
  default: withCtx(() => [
1874
- createElementVNode("span", _hoisted_1$c, [
1875
- createVNode(unref(ContextMenuItemIndicator), null, {
1876
- default: withCtx(() => [
1877
- createVNode(unref(Check), { class: "size-4" })
1878
- ]),
1879
- _: 1
1880
- })
1881
- ]),
1882
1615
  renderSlot(_ctx.$slots, "default")
1883
1616
  ]),
1884
1617
  _: 3
@@ -1887,57 +1620,31 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
1887
1620
  }
1888
1621
  });
1889
1622
 
1890
- const _sfc_main$2N = /* @__PURE__ */ defineComponent({
1891
- __name: "ContextMenuContent",
1623
+ const _sfc_main$2R = /* @__PURE__ */ defineComponent({
1624
+ __name: "Dialog",
1892
1625
  props: {
1893
- forceMount: { type: Boolean },
1894
- loop: { type: Boolean },
1895
- alignOffset: {},
1896
- avoidCollisions: { type: Boolean },
1897
- collisionBoundary: {},
1898
- collisionPadding: {},
1899
- sticky: {},
1900
- hideWhenDetached: { type: Boolean },
1901
- positionStrategy: {},
1902
- disableUpdateOnLayoutShift: { type: Boolean },
1903
- prioritizePosition: { type: Boolean },
1904
- reference: {},
1905
- asChild: { type: Boolean },
1906
- as: {},
1907
- class: {}
1626
+ open: { type: Boolean },
1627
+ defaultOpen: { type: Boolean },
1628
+ modal: { type: Boolean }
1908
1629
  },
1909
- emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
1630
+ emits: ["update:open"],
1910
1631
  setup(__props, { emit: __emit }) {
1911
1632
  const props = __props;
1912
1633
  const emits = __emit;
1913
- const delegatedProps = computed(() => {
1914
- const { class: _, ...delegated } = props;
1915
- return delegated;
1916
- });
1917
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
1634
+ const forwarded = useForwardPropsEmits(props, emits);
1918
1635
  return (_ctx, _cache) => {
1919
- return openBlock(), createBlock(unref(ContextMenuPortal), null, {
1636
+ return openBlock(), createBlock(unref(DialogRoot), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
1920
1637
  default: withCtx(() => [
1921
- createVNode(unref(ContextMenuContent), mergeProps({ "data-slot": "context-menu-content" }, unref(forwarded), {
1922
- class: unref(cn)(
1923
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-context-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
1924
- props.class
1925
- )
1926
- }), {
1927
- default: withCtx(() => [
1928
- renderSlot(_ctx.$slots, "default")
1929
- ]),
1930
- _: 3
1931
- }, 16, ["class"])
1638
+ renderSlot(_ctx.$slots, "default")
1932
1639
  ]),
1933
1640
  _: 3
1934
- });
1641
+ }, 16);
1935
1642
  };
1936
1643
  }
1937
1644
  });
1938
1645
 
1939
- const _sfc_main$2M = /* @__PURE__ */ defineComponent({
1940
- __name: "ContextMenuGroup",
1646
+ const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
1647
+ __name: "DialogClose",
1941
1648
  props: {
1942
1649
  asChild: { type: Boolean },
1943
1650
  as: {}
@@ -1945,7 +1652,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
1945
1652
  setup(__props) {
1946
1653
  const props = __props;
1947
1654
  return (_ctx, _cache) => {
1948
- return openBlock(), createBlock(unref(ContextMenuGroup), mergeProps({ "data-slot": "context-menu-group" }, props), {
1655
+ return openBlock(), createBlock(unref(DialogClose), mergeProps({ "data-slot": "dialog-close" }, props), {
1949
1656
  default: withCtx(() => [
1950
1657
  renderSlot(_ctx.$slots, "default")
1951
1658
  ]),
@@ -1955,34 +1662,24 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
1955
1662
  }
1956
1663
  });
1957
1664
 
1958
- const _sfc_main$2L = /* @__PURE__ */ defineComponent({
1959
- __name: "ContextMenuItem",
1665
+ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
1666
+ __name: "DialogOverlay",
1960
1667
  props: {
1961
- disabled: { type: Boolean },
1962
- textValue: {},
1668
+ forceMount: { type: Boolean },
1963
1669
  asChild: { type: Boolean },
1964
1670
  as: {},
1965
- class: {},
1966
- inset: { type: Boolean },
1967
- variant: { default: "default" }
1671
+ class: {}
1968
1672
  },
1969
- emits: ["select"],
1970
- setup(__props, { emit: __emit }) {
1673
+ setup(__props) {
1971
1674
  const props = __props;
1972
- const emits = __emit;
1973
1675
  const delegatedProps = computed(() => {
1974
1676
  const { class: _, ...delegated } = props;
1975
1677
  return delegated;
1976
1678
  });
1977
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
1978
1679
  return (_ctx, _cache) => {
1979
- return openBlock(), createBlock(unref(ContextMenuItem), mergeProps({
1980
- "data-slot": "context-menu-item",
1981
- "data-inset": _ctx.inset ? "" : void 0,
1982
- "data-variant": _ctx.variant
1983
- }, unref(forwarded), {
1680
+ return openBlock(), createBlock(unref(DialogOverlay), mergeProps({ "data-slot": "dialog-overlay" }, delegatedProps.value, {
1984
1681
  class: unref(cn)(
1985
- `focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
1682
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
1986
1683
  props.class
1987
1684
  )
1988
1685
  }), {
@@ -1990,77 +1687,133 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
1990
1687
  renderSlot(_ctx.$slots, "default")
1991
1688
  ]),
1992
1689
  _: 3
1993
- }, 16, ["data-inset", "data-variant", "class"]);
1690
+ }, 16, ["class"]);
1994
1691
  };
1995
1692
  }
1996
1693
  });
1997
1694
 
1998
- const _sfc_main$2K = /* @__PURE__ */ defineComponent({
1999
- __name: "ContextMenuLabel",
1695
+ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
1696
+ __name: "DialogContent",
2000
1697
  props: {
1698
+ forceMount: { type: Boolean },
1699
+ disableOutsidePointerEvents: { type: Boolean },
2001
1700
  asChild: { type: Boolean },
2002
1701
  as: {},
2003
- class: {},
2004
- inset: { type: Boolean }
1702
+ class: {}
2005
1703
  },
2006
- setup(__props) {
1704
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
1705
+ setup(__props, { emit: __emit }) {
2007
1706
  const props = __props;
1707
+ const emits = __emit;
2008
1708
  const delegatedProps = computed(() => {
2009
1709
  const { class: _, ...delegated } = props;
2010
1710
  return delegated;
2011
1711
  });
1712
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2012
1713
  return (_ctx, _cache) => {
2013
- return openBlock(), createBlock(unref(ContextMenuLabel), mergeProps({
2014
- "data-slot": "context-menu-label",
2015
- "data-inset": _ctx.inset ? "" : void 0
2016
- }, delegatedProps.value, {
2017
- class: unref(cn)("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", props.class)
2018
- }), {
1714
+ return openBlock(), createBlock(unref(DialogPortal), null, {
2019
1715
  default: withCtx(() => [
2020
- renderSlot(_ctx.$slots, "default")
1716
+ createVNode(_sfc_main$2P),
1717
+ createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
1718
+ class: unref(cn)(
1719
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
1720
+ props.class
1721
+ )
1722
+ }), {
1723
+ default: withCtx(() => [
1724
+ renderSlot(_ctx.$slots, "default"),
1725
+ createVNode(unref(DialogClose), { class: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" }, {
1726
+ default: withCtx(() => [
1727
+ createVNode(unref(X)),
1728
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1729
+ ]),
1730
+ _: 1,
1731
+ __: [0]
1732
+ })
1733
+ ]),
1734
+ _: 3
1735
+ }, 16, ["class"])
2021
1736
  ]),
2022
1737
  _: 3
2023
- }, 16, ["data-inset", "class"]);
1738
+ });
2024
1739
  };
2025
1740
  }
2026
1741
  });
2027
1742
 
2028
- const _sfc_main$2J = /* @__PURE__ */ defineComponent({
2029
- __name: "ContextMenuRadioGroup",
1743
+ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
1744
+ __name: "DialogDescription",
2030
1745
  props: {
2031
- modelValue: {},
2032
1746
  asChild: { type: Boolean },
2033
- as: {}
1747
+ as: {},
1748
+ class: {}
2034
1749
  },
2035
- emits: ["update:modelValue"],
2036
- setup(__props, { emit: __emit }) {
1750
+ setup(__props) {
2037
1751
  const props = __props;
2038
- const emits = __emit;
2039
- const forwarded = useForwardPropsEmits(props, emits);
1752
+ const delegatedProps = computed(() => {
1753
+ const { class: _, ...delegated } = props;
1754
+ return delegated;
1755
+ });
1756
+ const forwardedProps = useForwardProps(delegatedProps);
2040
1757
  return (_ctx, _cache) => {
2041
- return openBlock(), createBlock(unref(ContextMenuRadioGroup), mergeProps({ "data-slot": "context-menu-radio-group" }, unref(forwarded)), {
1758
+ return openBlock(), createBlock(unref(DialogDescription), mergeProps({ "data-slot": "dialog-description" }, unref(forwardedProps), {
1759
+ class: unref(cn)("text-muted-foreground text-sm", props.class)
1760
+ }), {
2042
1761
  default: withCtx(() => [
2043
1762
  renderSlot(_ctx.$slots, "default")
2044
1763
  ]),
2045
1764
  _: 3
2046
- }, 16);
1765
+ }, 16, ["class"]);
2047
1766
  };
2048
1767
  }
2049
1768
  });
2050
1769
 
2051
- const _hoisted_1$b = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2052
- const _sfc_main$2I = /* @__PURE__ */ defineComponent({
2053
- __name: "ContextMenuRadioItem",
1770
+ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
1771
+ __name: "DialogFooter",
2054
1772
  props: {
2055
- value: {},
2056
- disabled: { type: Boolean },
2057
- textValue: {},
2058
- asChild: { type: Boolean },
2059
- as: {},
2060
1773
  class: {}
2061
1774
  },
2062
- emits: ["select"],
2063
- setup(__props, { emit: __emit }) {
1775
+ setup(__props) {
1776
+ const props = __props;
1777
+ return (_ctx, _cache) => {
1778
+ return openBlock(), createElementBlock("div", {
1779
+ "data-slot": "dialog-footer",
1780
+ class: normalizeClass(unref(cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", props.class))
1781
+ }, [
1782
+ renderSlot(_ctx.$slots, "default")
1783
+ ], 2);
1784
+ };
1785
+ }
1786
+ });
1787
+
1788
+ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
1789
+ __name: "DialogHeader",
1790
+ props: {
1791
+ class: {}
1792
+ },
1793
+ setup(__props) {
1794
+ const props = __props;
1795
+ return (_ctx, _cache) => {
1796
+ return openBlock(), createElementBlock("div", {
1797
+ "data-slot": "dialog-header",
1798
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 text-center sm:text-left", props.class))
1799
+ }, [
1800
+ renderSlot(_ctx.$slots, "default")
1801
+ ], 2);
1802
+ };
1803
+ }
1804
+ });
1805
+
1806
+ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
1807
+ __name: "DialogScrollContent",
1808
+ props: {
1809
+ forceMount: { type: Boolean },
1810
+ disableOutsidePointerEvents: { type: Boolean },
1811
+ asChild: { type: Boolean },
1812
+ as: {},
1813
+ class: {}
1814
+ },
1815
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
1816
+ setup(__props, { emit: __emit }) {
2064
1817
  const props = __props;
2065
1818
  const emits = __emit;
2066
1819
  const delegatedProps = computed(() => {
@@ -2069,31 +1822,49 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
2069
1822
  });
2070
1823
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
2071
1824
  return (_ctx, _cache) => {
2072
- return openBlock(), createBlock(unref(ContextMenuRadioItem), mergeProps({ "data-slot": "context-menu-radio-item" }, unref(forwarded), {
2073
- class: unref(cn)(
2074
- `focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2075
- props.class
2076
- )
2077
- }), {
1825
+ return openBlock(), createBlock(unref(DialogPortal), null, {
2078
1826
  default: withCtx(() => [
2079
- createElementVNode("span", _hoisted_1$b, [
2080
- createVNode(unref(ContextMenuItemIndicator), null, {
2081
- default: withCtx(() => [
2082
- createVNode(unref(Circle), { class: "size-2 fill-current" })
2083
- ]),
2084
- _: 1
2085
- })
2086
- ]),
2087
- renderSlot(_ctx.$slots, "default")
1827
+ createVNode(unref(DialogOverlay), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
1828
+ default: withCtx(() => [
1829
+ createVNode(unref(DialogContent), mergeProps({
1830
+ class: unref(cn)(
1831
+ "border-border bg-background relative z-50 my-8 grid w-full max-w-lg gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
1832
+ props.class
1833
+ )
1834
+ }, unref(forwarded), {
1835
+ onPointerDownOutside: _cache[0] || (_cache[0] = (event) => {
1836
+ const originalEvent = event.detail.originalEvent;
1837
+ const target = originalEvent.target;
1838
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
1839
+ event.preventDefault();
1840
+ }
1841
+ })
1842
+ }), {
1843
+ default: withCtx(() => [
1844
+ renderSlot(_ctx.$slots, "default"),
1845
+ createVNode(unref(DialogClose), { class: "hover:bg-secondary absolute top-4 right-4 rounded-md p-0.5 transition-colors" }, {
1846
+ default: withCtx(() => [
1847
+ createVNode(unref(X), { class: "h-4 w-4" }),
1848
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1849
+ ]),
1850
+ _: 1,
1851
+ __: [1]
1852
+ })
1853
+ ]),
1854
+ _: 3
1855
+ }, 16, ["class"])
1856
+ ]),
1857
+ _: 3
1858
+ })
2088
1859
  ]),
2089
1860
  _: 3
2090
- }, 16, ["class"]);
1861
+ });
2091
1862
  };
2092
1863
  }
2093
1864
  });
2094
1865
 
2095
- const _sfc_main$2H = /* @__PURE__ */ defineComponent({
2096
- __name: "ContextMenuSeparator",
1866
+ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
1867
+ __name: "DialogTitle",
2097
1868
  props: {
2098
1869
  asChild: { type: Boolean },
2099
1870
  as: {},
@@ -2105,16 +1876,328 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
2105
1876
  const { class: _, ...delegated } = props;
2106
1877
  return delegated;
2107
1878
  });
1879
+ const forwardedProps = useForwardProps(delegatedProps);
2108
1880
  return (_ctx, _cache) => {
2109
- return openBlock(), createBlock(unref(ContextMenuSeparator), mergeProps({ "data-slot": "context-menu-separator" }, delegatedProps.value, {
2110
- class: unref(cn)("bg-border -mx-1 my-1 h-px", props.class)
2111
- }), null, 16, ["class"]);
1881
+ return openBlock(), createBlock(unref(DialogTitle), mergeProps({ "data-slot": "dialog-title" }, unref(forwardedProps), {
1882
+ class: unref(cn)("text-lg leading-none font-semibold", props.class)
1883
+ }), {
1884
+ default: withCtx(() => [
1885
+ renderSlot(_ctx.$slots, "default")
1886
+ ]),
1887
+ _: 3
1888
+ }, 16, ["class"]);
1889
+ };
1890
+ }
1891
+ });
1892
+
1893
+ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
1894
+ __name: "DialogTrigger",
1895
+ props: {
1896
+ asChild: { type: Boolean },
1897
+ as: {}
1898
+ },
1899
+ setup(__props) {
1900
+ const props = __props;
1901
+ return (_ctx, _cache) => {
1902
+ return openBlock(), createBlock(unref(DialogTrigger), mergeProps({ "data-slot": "dialog-trigger" }, props), {
1903
+ default: withCtx(() => [
1904
+ renderSlot(_ctx.$slots, "default")
1905
+ ]),
1906
+ _: 3
1907
+ }, 16);
1908
+ };
1909
+ }
1910
+ });
1911
+
1912
+ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
1913
+ __name: "CommandDialog",
1914
+ props: {
1915
+ open: { type: Boolean },
1916
+ defaultOpen: { type: Boolean },
1917
+ modal: { type: Boolean },
1918
+ title: { default: "Command Palette" },
1919
+ description: { default: "Search for a command to run..." }
1920
+ },
1921
+ emits: ["update:open"],
1922
+ setup(__props, { emit: __emit }) {
1923
+ const props = __props;
1924
+ const emits = __emit;
1925
+ const forwarded = useForwardPropsEmits(props, emits);
1926
+ return (_ctx, _cache) => {
1927
+ return openBlock(), createBlock(unref(_sfc_main$2R), normalizeProps(guardReactiveProps(unref(forwarded))), {
1928
+ default: withCtx(() => [
1929
+ createVNode(unref(_sfc_main$2O), { class: "overflow-hidden p-0" }, {
1930
+ default: withCtx(() => [
1931
+ createVNode(unref(_sfc_main$2L), { class: "sr-only" }, {
1932
+ default: withCtx(() => [
1933
+ createVNode(unref(_sfc_main$2J), null, {
1934
+ default: withCtx(() => [
1935
+ createTextVNode(toDisplayString(_ctx.title), 1)
1936
+ ]),
1937
+ _: 1
1938
+ }),
1939
+ createVNode(unref(_sfc_main$2N), null, {
1940
+ default: withCtx(() => [
1941
+ createTextVNode(toDisplayString(_ctx.description), 1)
1942
+ ]),
1943
+ _: 1
1944
+ })
1945
+ ]),
1946
+ _: 1
1947
+ }),
1948
+ createVNode(_sfc_main$2S, null, {
1949
+ default: withCtx(() => [
1950
+ renderSlot(_ctx.$slots, "default")
1951
+ ]),
1952
+ _: 3
1953
+ })
1954
+ ]),
1955
+ _: 3
1956
+ })
1957
+ ]),
1958
+ _: 3
1959
+ }, 16);
2112
1960
  };
2113
1961
  }
2114
1962
  });
2115
1963
 
2116
1964
  const _sfc_main$2G = /* @__PURE__ */ defineComponent({
2117
- __name: "ContextMenuShortcut",
1965
+ __name: "CommandEmpty",
1966
+ props: {
1967
+ asChild: { type: Boolean },
1968
+ as: {},
1969
+ class: {}
1970
+ },
1971
+ setup(__props) {
1972
+ const props = __props;
1973
+ const delegatedProps = reactiveOmit(props, "class");
1974
+ const { filterState } = useCommand();
1975
+ const isRender = computed(() => !!filterState.search && filterState.filtered.count === 0);
1976
+ return (_ctx, _cache) => {
1977
+ return isRender.value ? (openBlock(), createBlock(unref(Primitive), mergeProps({
1978
+ key: 0,
1979
+ "data-slot": "command-empty"
1980
+ }, unref(delegatedProps), {
1981
+ class: unref(cn)("py-6 text-center text-sm", props.class)
1982
+ }), {
1983
+ default: withCtx(() => [
1984
+ renderSlot(_ctx.$slots, "default")
1985
+ ]),
1986
+ _: 3
1987
+ }, 16, ["class"])) : createCommentVNode("", true);
1988
+ };
1989
+ }
1990
+ });
1991
+
1992
+ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
1993
+ __name: "CommandGroup",
1994
+ props: {
1995
+ asChild: { type: Boolean },
1996
+ as: {},
1997
+ class: {},
1998
+ heading: {}
1999
+ },
2000
+ setup(__props) {
2001
+ const props = __props;
2002
+ const delegatedProps = reactiveOmit(props, "class");
2003
+ const { allGroups, filterState } = useCommand();
2004
+ const id = useId();
2005
+ const isRender = computed(() => !filterState.search ? true : filterState.filtered.groups.has(id));
2006
+ provideCommandGroupContext({ id });
2007
+ onMounted(() => {
2008
+ if (!allGroups.value.has(id)) allGroups.value.set(id, /* @__PURE__ */ new Set());
2009
+ });
2010
+ onUnmounted(() => {
2011
+ allGroups.value.delete(id);
2012
+ });
2013
+ return (_ctx, _cache) => {
2014
+ return openBlock(), createBlock(unref(ListboxGroup), mergeProps(unref(delegatedProps), {
2015
+ id: unref(id),
2016
+ "data-slot": "command-group",
2017
+ class: unref(cn)("text-foreground overflow-hidden p-1", props.class),
2018
+ hidden: isRender.value ? void 0 : true
2019
+ }), {
2020
+ default: withCtx(() => [
2021
+ _ctx.heading ? (openBlock(), createBlock(unref(ListboxGroupLabel), {
2022
+ key: 0,
2023
+ class: "text-muted-foreground px-2 py-1.5 text-xs font-medium"
2024
+ }, {
2025
+ default: withCtx(() => [
2026
+ createTextVNode(toDisplayString(_ctx.heading), 1)
2027
+ ]),
2028
+ _: 1
2029
+ })) : createCommentVNode("", true),
2030
+ renderSlot(_ctx.$slots, "default")
2031
+ ]),
2032
+ _: 3
2033
+ }, 16, ["id", "class", "hidden"]);
2034
+ };
2035
+ }
2036
+ });
2037
+
2038
+ const _hoisted_1$c = {
2039
+ "data-slot": "command-input-wrapper",
2040
+ class: "flex h-12 items-center gap-2 border-b px-3"
2041
+ };
2042
+ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
2043
+ ...{
2044
+ inheritAttrs: false
2045
+ },
2046
+ __name: "CommandInput",
2047
+ props: {
2048
+ modelValue: {},
2049
+ autoFocus: { type: Boolean },
2050
+ disabled: { type: Boolean },
2051
+ asChild: { type: Boolean },
2052
+ as: {},
2053
+ class: {}
2054
+ },
2055
+ setup(__props) {
2056
+ const props = __props;
2057
+ const delegatedProps = reactiveOmit(props, "class");
2058
+ const forwardedProps = useForwardProps(delegatedProps);
2059
+ const { filterState } = useCommand();
2060
+ return (_ctx, _cache) => {
2061
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
2062
+ createVNode(unref(Search), { class: "size-4 shrink-0 opacity-50" }),
2063
+ createVNode(unref(ListboxFilter), mergeProps({ ...unref(forwardedProps), ..._ctx.$attrs }, {
2064
+ modelValue: unref(filterState).search,
2065
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(filterState).search = $event),
2066
+ "data-slot": "command-input",
2067
+ "auto-focus": "",
2068
+ class: unref(cn)(
2069
+ "placeholder:text-muted-foreground flex h-12 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
2070
+ props.class
2071
+ )
2072
+ }), null, 16, ["modelValue", "class"])
2073
+ ]);
2074
+ };
2075
+ }
2076
+ });
2077
+
2078
+ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
2079
+ __name: "CommandItem",
2080
+ props: {
2081
+ value: {},
2082
+ disabled: { type: Boolean },
2083
+ asChild: { type: Boolean },
2084
+ as: {},
2085
+ class: {}
2086
+ },
2087
+ emits: ["select"],
2088
+ setup(__props, { emit: __emit }) {
2089
+ const props = __props;
2090
+ const emits = __emit;
2091
+ const delegatedProps = reactiveOmit(props, "class");
2092
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2093
+ const id = useId();
2094
+ const { filterState, allItems, allGroups } = useCommand();
2095
+ const groupContext = useCommandGroup();
2096
+ const isRender = computed(() => {
2097
+ if (!filterState.search) {
2098
+ return true;
2099
+ } else {
2100
+ const filteredCurrentItem = filterState.filtered.items.get(id);
2101
+ if (filteredCurrentItem === void 0) {
2102
+ return true;
2103
+ }
2104
+ return filteredCurrentItem > 0;
2105
+ }
2106
+ });
2107
+ const itemRef = ref();
2108
+ const currentElement = useCurrentElement(itemRef);
2109
+ onMounted(() => {
2110
+ if (!(currentElement.value instanceof HTMLElement)) return;
2111
+ allItems.value.set(id, currentElement.value.textContent ?? props.value?.toString() ?? "");
2112
+ const groupId = groupContext?.id;
2113
+ if (groupId) {
2114
+ if (!allGroups.value.has(groupId)) {
2115
+ allGroups.value.set(groupId, /* @__PURE__ */ new Set([id]));
2116
+ } else {
2117
+ allGroups.value.get(groupId)?.add(id);
2118
+ }
2119
+ }
2120
+ });
2121
+ onUnmounted(() => {
2122
+ allItems.value.delete(id);
2123
+ });
2124
+ return (_ctx, _cache) => {
2125
+ return isRender.value ? (openBlock(), createBlock(unref(ListboxItem), mergeProps({ key: 0 }, unref(forwarded), {
2126
+ id: unref(id),
2127
+ ref_key: "itemRef",
2128
+ ref: itemRef,
2129
+ "data-slot": "command-item",
2130
+ class: unref(cn)(
2131
+ `data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-3 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2132
+ props.class
2133
+ ),
2134
+ onSelect: _cache[0] || (_cache[0] = () => {
2135
+ unref(filterState).search = "";
2136
+ })
2137
+ }), {
2138
+ default: withCtx(() => [
2139
+ renderSlot(_ctx.$slots, "default")
2140
+ ]),
2141
+ _: 3
2142
+ }, 16, ["id", "class"])) : createCommentVNode("", true);
2143
+ };
2144
+ }
2145
+ });
2146
+
2147
+ const _hoisted_1$b = { role: "presentation" };
2148
+ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
2149
+ __name: "CommandList",
2150
+ props: {
2151
+ asChild: { type: Boolean },
2152
+ as: {},
2153
+ class: {}
2154
+ },
2155
+ setup(__props) {
2156
+ const props = __props;
2157
+ const delegatedProps = reactiveOmit(props, "class");
2158
+ const forwarded = useForwardProps(delegatedProps);
2159
+ return (_ctx, _cache) => {
2160
+ return openBlock(), createBlock(unref(ListboxContent), mergeProps({ "data-slot": "command-list" }, unref(forwarded), {
2161
+ class: unref(cn)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", props.class)
2162
+ }), {
2163
+ default: withCtx(() => [
2164
+ createElementVNode("div", _hoisted_1$b, [
2165
+ renderSlot(_ctx.$slots, "default")
2166
+ ])
2167
+ ]),
2168
+ _: 3
2169
+ }, 16, ["class"]);
2170
+ };
2171
+ }
2172
+ });
2173
+
2174
+ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
2175
+ __name: "CommandSeparator",
2176
+ props: {
2177
+ orientation: {},
2178
+ decorative: { type: Boolean },
2179
+ asChild: { type: Boolean },
2180
+ as: {},
2181
+ class: {}
2182
+ },
2183
+ setup(__props) {
2184
+ const props = __props;
2185
+ const delegatedProps = reactiveOmit(props, "class");
2186
+ return (_ctx, _cache) => {
2187
+ return openBlock(), createBlock(unref(Separator), mergeProps({ "data-slot": "command-separator" }, unref(delegatedProps), {
2188
+ class: unref(cn)("bg-border -mx-1 h-px", props.class)
2189
+ }), {
2190
+ default: withCtx(() => [
2191
+ renderSlot(_ctx.$slots, "default")
2192
+ ]),
2193
+ _: 3
2194
+ }, 16, ["class"]);
2195
+ };
2196
+ }
2197
+ });
2198
+
2199
+ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
2200
+ __name: "CommandShortcut",
2118
2201
  props: {
2119
2202
  class: {}
2120
2203
  },
@@ -2122,7 +2205,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
2122
2205
  const props = __props;
2123
2206
  return (_ctx, _cache) => {
2124
2207
  return openBlock(), createElementBlock("span", {
2125
- "data-slot": "context-menu-shortcut",
2208
+ "data-slot": "command-shortcut",
2126
2209
  class: normalizeClass(unref(cn)("text-muted-foreground ml-auto text-xs tracking-widest", props.class))
2127
2210
  }, [
2128
2211
  renderSlot(_ctx.$slots, "default")
@@ -2131,11 +2214,14 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
2131
2214
  }
2132
2215
  });
2133
2216
 
2134
- const _sfc_main$2F = /* @__PURE__ */ defineComponent({
2135
- __name: "ContextMenuSub",
2217
+ const [useCommand, provideCommandContext] = createContext("Command");
2218
+ const [useCommandGroup, provideCommandGroupContext] = createContext("CommandGroup");
2219
+
2220
+ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
2221
+ __name: "ContextMenu",
2136
2222
  props: {
2137
- defaultOpen: { type: Boolean },
2138
- open: { type: Boolean }
2223
+ dir: {},
2224
+ modal: { type: Boolean }
2139
2225
  },
2140
2226
  emits: ["update:open"],
2141
2227
  setup(__props, { emit: __emit }) {
@@ -2143,7 +2229,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
2143
2229
  const emits = __emit;
2144
2230
  const forwarded = useForwardPropsEmits(props, emits);
2145
2231
  return (_ctx, _cache) => {
2146
- return openBlock(), createBlock(unref(ContextMenuSub), mergeProps({ "data-slot": "context-menu-sub" }, unref(forwarded)), {
2232
+ return openBlock(), createBlock(unref(ContextMenuRoot), mergeProps({ "data-slot": "context-menu" }, unref(forwarded)), {
2147
2233
  default: withCtx(() => [
2148
2234
  renderSlot(_ctx.$slots, "default")
2149
2235
  ]),
@@ -2153,29 +2239,18 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
2153
2239
  }
2154
2240
  });
2155
2241
 
2156
- const _sfc_main$2E = /* @__PURE__ */ defineComponent({
2157
- __name: "ContextMenuSubContent",
2242
+ const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2243
+ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
2244
+ __name: "ContextMenuCheckboxItem",
2158
2245
  props: {
2159
- forceMount: { type: Boolean },
2160
- loop: { type: Boolean },
2161
- sideOffset: {},
2162
- alignOffset: {},
2163
- avoidCollisions: { type: Boolean },
2164
- collisionBoundary: {},
2165
- collisionPadding: {},
2166
- arrowPadding: {},
2167
- sticky: {},
2168
- hideWhenDetached: { type: Boolean },
2169
- positionStrategy: {},
2170
- updatePositionStrategy: {},
2171
- disableUpdateOnLayoutShift: { type: Boolean },
2172
- prioritizePosition: { type: Boolean },
2173
- reference: {},
2246
+ modelValue: { type: [Boolean, String] },
2247
+ disabled: { type: Boolean },
2248
+ textValue: {},
2174
2249
  asChild: { type: Boolean },
2175
2250
  as: {},
2176
2251
  class: {}
2177
2252
  },
2178
- emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
2253
+ emits: ["select", "update:modelValue"],
2179
2254
  setup(__props, { emit: __emit }) {
2180
2255
  const props = __props;
2181
2256
  const emits = __emit;
@@ -2185,13 +2260,21 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
2185
2260
  });
2186
2261
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
2187
2262
  return (_ctx, _cache) => {
2188
- return openBlock(), createBlock(unref(ContextMenuSubContent), mergeProps({ "data-slot": "context-menu-sub-content" }, unref(forwarded), {
2263
+ return openBlock(), createBlock(unref(ContextMenuCheckboxItem), mergeProps({ "data-slot": "context-menu-checkbox-item" }, unref(forwarded), {
2189
2264
  class: unref(cn)(
2190
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--reka-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
2265
+ `focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2191
2266
  props.class
2192
2267
  )
2193
2268
  }), {
2194
2269
  default: withCtx(() => [
2270
+ createElementVNode("span", _hoisted_1$a, [
2271
+ createVNode(unref(ContextMenuItemIndicator), null, {
2272
+ default: withCtx(() => [
2273
+ createVNode(unref(Check), { class: "size-4" })
2274
+ ]),
2275
+ _: 1
2276
+ })
2277
+ ]),
2195
2278
  renderSlot(_ctx.$slots, "default")
2196
2279
  ]),
2197
2280
  _: 3
@@ -2200,55 +2283,65 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
2200
2283
  }
2201
2284
  });
2202
2285
 
2203
- const _sfc_main$2D = /* @__PURE__ */ defineComponent({
2204
- __name: "ContextMenuSubTrigger",
2286
+ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
2287
+ __name: "ContextMenuContent",
2205
2288
  props: {
2206
- disabled: { type: Boolean },
2207
- textValue: {},
2289
+ forceMount: { type: Boolean },
2290
+ loop: { type: Boolean },
2291
+ alignOffset: {},
2292
+ avoidCollisions: { type: Boolean },
2293
+ collisionBoundary: {},
2294
+ collisionPadding: {},
2295
+ sticky: {},
2296
+ hideWhenDetached: { type: Boolean },
2297
+ positionStrategy: {},
2298
+ disableUpdateOnLayoutShift: { type: Boolean },
2299
+ prioritizePosition: { type: Boolean },
2300
+ reference: {},
2208
2301
  asChild: { type: Boolean },
2209
2302
  as: {},
2210
- class: {},
2211
- inset: { type: Boolean }
2303
+ class: {}
2212
2304
  },
2213
- setup(__props) {
2305
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
2306
+ setup(__props, { emit: __emit }) {
2214
2307
  const props = __props;
2308
+ const emits = __emit;
2215
2309
  const delegatedProps = computed(() => {
2216
2310
  const { class: _, ...delegated } = props;
2217
2311
  return delegated;
2218
2312
  });
2219
- const forwardedProps = useForwardProps(delegatedProps);
2313
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2220
2314
  return (_ctx, _cache) => {
2221
- return openBlock(), createBlock(unref(ContextMenuSubTrigger), mergeProps({
2222
- "data-slot": "context-menu-sub-trigger",
2223
- "data-inset": _ctx.inset ? "" : void 0
2224
- }, unref(forwardedProps), {
2225
- class: unref(cn)(
2226
- `focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2227
- props.class
2228
- )
2229
- }), {
2315
+ return openBlock(), createBlock(unref(ContextMenuPortal), null, {
2230
2316
  default: withCtx(() => [
2231
- renderSlot(_ctx.$slots, "default"),
2232
- createVNode(unref(ChevronRight), { class: "ml-auto" })
2317
+ createVNode(unref(ContextMenuContent), mergeProps({ "data-slot": "context-menu-content" }, unref(forwarded), {
2318
+ class: unref(cn)(
2319
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-context-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
2320
+ props.class
2321
+ )
2322
+ }), {
2323
+ default: withCtx(() => [
2324
+ renderSlot(_ctx.$slots, "default")
2325
+ ]),
2326
+ _: 3
2327
+ }, 16, ["class"])
2233
2328
  ]),
2234
2329
  _: 3
2235
- }, 16, ["data-inset", "class"]);
2330
+ });
2236
2331
  };
2237
2332
  }
2238
2333
  });
2239
2334
 
2240
- const _sfc_main$2C = /* @__PURE__ */ defineComponent({
2241
- __name: "ContextMenuTrigger",
2335
+ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
2336
+ __name: "ContextMenuGroup",
2242
2337
  props: {
2243
- disabled: { type: Boolean },
2244
2338
  asChild: { type: Boolean },
2245
2339
  as: {}
2246
2340
  },
2247
2341
  setup(__props) {
2248
2342
  const props = __props;
2249
- const forwardedProps = useForwardProps(props);
2250
2343
  return (_ctx, _cache) => {
2251
- return openBlock(), createBlock(unref(ContextMenuTrigger), mergeProps({ "data-slot": "context-menu-trigger" }, unref(forwardedProps)), {
2344
+ return openBlock(), createBlock(unref(ContextMenuGroup), mergeProps({ "data-slot": "context-menu-group" }, props), {
2252
2345
  default: withCtx(() => [
2253
2346
  renderSlot(_ctx.$slots, "default")
2254
2347
  ]),
@@ -2258,88 +2351,111 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
2258
2351
  }
2259
2352
  });
2260
2353
 
2261
- const _sfc_main$2B = /* @__PURE__ */ defineComponent({
2262
- __name: "Dialog",
2354
+ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
2355
+ __name: "ContextMenuItem",
2263
2356
  props: {
2264
- open: { type: Boolean },
2265
- defaultOpen: { type: Boolean },
2266
- modal: { type: Boolean }
2357
+ disabled: { type: Boolean },
2358
+ textValue: {},
2359
+ asChild: { type: Boolean },
2360
+ as: {},
2361
+ class: {},
2362
+ inset: { type: Boolean },
2363
+ variant: { default: "default" }
2267
2364
  },
2268
- emits: ["update:open"],
2365
+ emits: ["select"],
2269
2366
  setup(__props, { emit: __emit }) {
2270
2367
  const props = __props;
2271
2368
  const emits = __emit;
2272
- const forwarded = useForwardPropsEmits(props, emits);
2369
+ const delegatedProps = computed(() => {
2370
+ const { class: _, ...delegated } = props;
2371
+ return delegated;
2372
+ });
2373
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2273
2374
  return (_ctx, _cache) => {
2274
- return openBlock(), createBlock(unref(DialogRoot), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
2375
+ return openBlock(), createBlock(unref(ContextMenuItem), mergeProps({
2376
+ "data-slot": "context-menu-item",
2377
+ "data-inset": _ctx.inset ? "" : void 0,
2378
+ "data-variant": _ctx.variant
2379
+ }, unref(forwarded), {
2380
+ class: unref(cn)(
2381
+ `focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2382
+ props.class
2383
+ )
2384
+ }), {
2275
2385
  default: withCtx(() => [
2276
2386
  renderSlot(_ctx.$slots, "default")
2277
2387
  ]),
2278
2388
  _: 3
2279
- }, 16);
2389
+ }, 16, ["data-inset", "data-variant", "class"]);
2280
2390
  };
2281
2391
  }
2282
2392
  });
2283
2393
 
2284
- const _sfc_main$2A = /* @__PURE__ */ defineComponent({
2285
- __name: "DialogClose",
2394
+ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
2395
+ __name: "ContextMenuLabel",
2286
2396
  props: {
2287
2397
  asChild: { type: Boolean },
2288
- as: {}
2398
+ as: {},
2399
+ class: {},
2400
+ inset: { type: Boolean }
2289
2401
  },
2290
2402
  setup(__props) {
2291
2403
  const props = __props;
2404
+ const delegatedProps = computed(() => {
2405
+ const { class: _, ...delegated } = props;
2406
+ return delegated;
2407
+ });
2292
2408
  return (_ctx, _cache) => {
2293
- return openBlock(), createBlock(unref(DialogClose), mergeProps({ "data-slot": "dialog-close" }, props), {
2409
+ return openBlock(), createBlock(unref(ContextMenuLabel), mergeProps({
2410
+ "data-slot": "context-menu-label",
2411
+ "data-inset": _ctx.inset ? "" : void 0
2412
+ }, delegatedProps.value, {
2413
+ class: unref(cn)("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", props.class)
2414
+ }), {
2294
2415
  default: withCtx(() => [
2295
2416
  renderSlot(_ctx.$slots, "default")
2296
2417
  ]),
2297
2418
  _: 3
2298
- }, 16);
2419
+ }, 16, ["data-inset", "class"]);
2299
2420
  };
2300
2421
  }
2301
2422
  });
2302
2423
 
2303
- const _sfc_main$2z = /* @__PURE__ */ defineComponent({
2304
- __name: "DialogOverlay",
2424
+ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
2425
+ __name: "ContextMenuRadioGroup",
2305
2426
  props: {
2306
- forceMount: { type: Boolean },
2427
+ modelValue: {},
2307
2428
  asChild: { type: Boolean },
2308
- as: {},
2309
- class: {}
2429
+ as: {}
2310
2430
  },
2311
- setup(__props) {
2431
+ emits: ["update:modelValue"],
2432
+ setup(__props, { emit: __emit }) {
2312
2433
  const props = __props;
2313
- const delegatedProps = computed(() => {
2314
- const { class: _, ...delegated } = props;
2315
- return delegated;
2316
- });
2434
+ const emits = __emit;
2435
+ const forwarded = useForwardPropsEmits(props, emits);
2317
2436
  return (_ctx, _cache) => {
2318
- return openBlock(), createBlock(unref(DialogOverlay), mergeProps({ "data-slot": "dialog-overlay" }, delegatedProps.value, {
2319
- class: unref(cn)(
2320
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
2321
- props.class
2322
- )
2323
- }), {
2437
+ return openBlock(), createBlock(unref(ContextMenuRadioGroup), mergeProps({ "data-slot": "context-menu-radio-group" }, unref(forwarded)), {
2324
2438
  default: withCtx(() => [
2325
2439
  renderSlot(_ctx.$slots, "default")
2326
2440
  ]),
2327
2441
  _: 3
2328
- }, 16, ["class"]);
2442
+ }, 16);
2329
2443
  };
2330
2444
  }
2331
2445
  });
2332
2446
 
2333
- const _sfc_main$2y = /* @__PURE__ */ defineComponent({
2334
- __name: "DialogContent",
2447
+ const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2448
+ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
2449
+ __name: "ContextMenuRadioItem",
2335
2450
  props: {
2336
- forceMount: { type: Boolean },
2337
- disableOutsidePointerEvents: { type: Boolean },
2451
+ value: {},
2452
+ disabled: { type: Boolean },
2453
+ textValue: {},
2338
2454
  asChild: { type: Boolean },
2339
2455
  as: {},
2340
2456
  class: {}
2341
2457
  },
2342
- emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
2458
+ emits: ["select"],
2343
2459
  setup(__props, { emit: __emit }) {
2344
2460
  const props = __props;
2345
2461
  const emits = __emit;
@@ -2349,37 +2465,31 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
2349
2465
  });
2350
2466
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
2351
2467
  return (_ctx, _cache) => {
2352
- return openBlock(), createBlock(unref(DialogPortal), null, {
2468
+ return openBlock(), createBlock(unref(ContextMenuRadioItem), mergeProps({ "data-slot": "context-menu-radio-item" }, unref(forwarded), {
2469
+ class: unref(cn)(
2470
+ `focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2471
+ props.class
2472
+ )
2473
+ }), {
2353
2474
  default: withCtx(() => [
2354
- createVNode(_sfc_main$2z),
2355
- createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
2356
- class: unref(cn)(
2357
- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
2358
- props.class
2359
- )
2360
- }), {
2361
- default: withCtx(() => [
2362
- renderSlot(_ctx.$slots, "default"),
2363
- createVNode(unref(DialogClose), { class: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4" }, {
2364
- default: withCtx(() => [
2365
- createVNode(unref(X)),
2366
- _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
2367
- ]),
2368
- _: 1,
2369
- __: [0]
2370
- })
2371
- ]),
2372
- _: 3
2373
- }, 16, ["class"])
2475
+ createElementVNode("span", _hoisted_1$9, [
2476
+ createVNode(unref(ContextMenuItemIndicator), null, {
2477
+ default: withCtx(() => [
2478
+ createVNode(unref(Circle), { class: "size-2 fill-current" })
2479
+ ]),
2480
+ _: 1
2481
+ })
2482
+ ]),
2483
+ renderSlot(_ctx.$slots, "default")
2374
2484
  ]),
2375
2485
  _: 3
2376
- });
2486
+ }, 16, ["class"]);
2377
2487
  };
2378
2488
  }
2379
2489
  });
2380
2490
 
2381
- const _sfc_main$2x = /* @__PURE__ */ defineComponent({
2382
- __name: "DialogDescription",
2491
+ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
2492
+ __name: "ContextMenuSeparator",
2383
2493
  props: {
2384
2494
  asChild: { type: Boolean },
2385
2495
  as: {},
@@ -2391,31 +2501,25 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
2391
2501
  const { class: _, ...delegated } = props;
2392
2502
  return delegated;
2393
2503
  });
2394
- const forwardedProps = useForwardProps(delegatedProps);
2395
2504
  return (_ctx, _cache) => {
2396
- return openBlock(), createBlock(unref(DialogDescription), mergeProps({ "data-slot": "dialog-description" }, unref(forwardedProps), {
2397
- class: unref(cn)("text-muted-foreground text-sm", props.class)
2398
- }), {
2399
- default: withCtx(() => [
2400
- renderSlot(_ctx.$slots, "default")
2401
- ]),
2402
- _: 3
2403
- }, 16, ["class"]);
2505
+ return openBlock(), createBlock(unref(ContextMenuSeparator), mergeProps({ "data-slot": "context-menu-separator" }, delegatedProps.value, {
2506
+ class: unref(cn)("bg-border -mx-1 my-1 h-px", props.class)
2507
+ }), null, 16, ["class"]);
2404
2508
  };
2405
2509
  }
2406
2510
  });
2407
2511
 
2408
- const _sfc_main$2w = /* @__PURE__ */ defineComponent({
2409
- __name: "DialogFooter",
2512
+ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
2513
+ __name: "ContextMenuShortcut",
2410
2514
  props: {
2411
2515
  class: {}
2412
2516
  },
2413
2517
  setup(__props) {
2414
2518
  const props = __props;
2415
2519
  return (_ctx, _cache) => {
2416
- return openBlock(), createElementBlock("div", {
2417
- "data-slot": "dialog-footer",
2418
- class: normalizeClass(unref(cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", props.class))
2520
+ return openBlock(), createElementBlock("span", {
2521
+ "data-slot": "context-menu-shortcut",
2522
+ class: normalizeClass(unref(cn)("text-muted-foreground ml-auto text-xs tracking-widest", props.class))
2419
2523
  }, [
2420
2524
  renderSlot(_ctx.$slots, "default")
2421
2525
  ], 2);
@@ -2423,34 +2527,51 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
2423
2527
  }
2424
2528
  });
2425
2529
 
2426
- const _sfc_main$2v = /* @__PURE__ */ defineComponent({
2427
- __name: "DialogHeader",
2530
+ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
2531
+ __name: "ContextMenuSub",
2428
2532
  props: {
2429
- class: {}
2533
+ defaultOpen: { type: Boolean },
2534
+ open: { type: Boolean }
2430
2535
  },
2431
- setup(__props) {
2536
+ emits: ["update:open"],
2537
+ setup(__props, { emit: __emit }) {
2432
2538
  const props = __props;
2539
+ const emits = __emit;
2540
+ const forwarded = useForwardPropsEmits(props, emits);
2433
2541
  return (_ctx, _cache) => {
2434
- return openBlock(), createElementBlock("div", {
2435
- "data-slot": "dialog-header",
2436
- class: normalizeClass(unref(cn)("flex flex-col gap-2 text-center sm:text-left", props.class))
2437
- }, [
2438
- renderSlot(_ctx.$slots, "default")
2439
- ], 2);
2542
+ return openBlock(), createBlock(unref(ContextMenuSub), mergeProps({ "data-slot": "context-menu-sub" }, unref(forwarded)), {
2543
+ default: withCtx(() => [
2544
+ renderSlot(_ctx.$slots, "default")
2545
+ ]),
2546
+ _: 3
2547
+ }, 16);
2440
2548
  };
2441
2549
  }
2442
2550
  });
2443
2551
 
2444
- const _sfc_main$2u = /* @__PURE__ */ defineComponent({
2445
- __name: "DialogScrollContent",
2552
+ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
2553
+ __name: "ContextMenuSubContent",
2446
2554
  props: {
2447
2555
  forceMount: { type: Boolean },
2448
- disableOutsidePointerEvents: { type: Boolean },
2556
+ loop: { type: Boolean },
2557
+ sideOffset: {},
2558
+ alignOffset: {},
2559
+ avoidCollisions: { type: Boolean },
2560
+ collisionBoundary: {},
2561
+ collisionPadding: {},
2562
+ arrowPadding: {},
2563
+ sticky: {},
2564
+ hideWhenDetached: { type: Boolean },
2565
+ positionStrategy: {},
2566
+ updatePositionStrategy: {},
2567
+ disableUpdateOnLayoutShift: { type: Boolean },
2568
+ prioritizePosition: { type: Boolean },
2569
+ reference: {},
2449
2570
  asChild: { type: Boolean },
2450
2571
  as: {},
2451
2572
  class: {}
2452
2573
  },
2453
- emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
2574
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
2454
2575
  setup(__props, { emit: __emit }) {
2455
2576
  const props = __props;
2456
2577
  const emits = __emit;
@@ -2460,53 +2581,30 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
2460
2581
  });
2461
2582
  const forwarded = useForwardPropsEmits(delegatedProps, emits);
2462
2583
  return (_ctx, _cache) => {
2463
- return openBlock(), createBlock(unref(DialogPortal), null, {
2584
+ return openBlock(), createBlock(unref(ContextMenuSubContent), mergeProps({ "data-slot": "context-menu-sub-content" }, unref(forwarded), {
2585
+ class: unref(cn)(
2586
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--reka-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
2587
+ props.class
2588
+ )
2589
+ }), {
2464
2590
  default: withCtx(() => [
2465
- createVNode(unref(DialogOverlay), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
2466
- default: withCtx(() => [
2467
- createVNode(unref(DialogContent), mergeProps({
2468
- class: unref(cn)(
2469
- "border-border bg-background relative z-50 my-8 grid w-full max-w-lg gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
2470
- props.class
2471
- )
2472
- }, unref(forwarded), {
2473
- onPointerDownOutside: _cache[0] || (_cache[0] = (event) => {
2474
- const originalEvent = event.detail.originalEvent;
2475
- const target = originalEvent.target;
2476
- if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
2477
- event.preventDefault();
2478
- }
2479
- })
2480
- }), {
2481
- default: withCtx(() => [
2482
- renderSlot(_ctx.$slots, "default"),
2483
- createVNode(unref(DialogClose), { class: "hover:bg-secondary absolute top-4 right-4 rounded-md p-0.5 transition-colors" }, {
2484
- default: withCtx(() => [
2485
- createVNode(unref(X), { class: "h-4 w-4" }),
2486
- _cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
2487
- ]),
2488
- _: 1,
2489
- __: [1]
2490
- })
2491
- ]),
2492
- _: 3
2493
- }, 16, ["class"])
2494
- ]),
2495
- _: 3
2496
- })
2591
+ renderSlot(_ctx.$slots, "default")
2497
2592
  ]),
2498
2593
  _: 3
2499
- });
2594
+ }, 16, ["class"]);
2500
2595
  };
2501
2596
  }
2502
2597
  });
2503
2598
 
2504
- const _sfc_main$2t = /* @__PURE__ */ defineComponent({
2505
- __name: "DialogTitle",
2599
+ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
2600
+ __name: "ContextMenuSubTrigger",
2506
2601
  props: {
2602
+ disabled: { type: Boolean },
2603
+ textValue: {},
2507
2604
  asChild: { type: Boolean },
2508
2605
  as: {},
2509
- class: {}
2606
+ class: {},
2607
+ inset: { type: Boolean }
2510
2608
  },
2511
2609
  setup(__props) {
2512
2610
  const props = __props;
@@ -2516,28 +2614,37 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
2516
2614
  });
2517
2615
  const forwardedProps = useForwardProps(delegatedProps);
2518
2616
  return (_ctx, _cache) => {
2519
- return openBlock(), createBlock(unref(DialogTitle), mergeProps({ "data-slot": "dialog-title" }, unref(forwardedProps), {
2520
- class: unref(cn)("text-lg leading-none font-semibold", props.class)
2617
+ return openBlock(), createBlock(unref(ContextMenuSubTrigger), mergeProps({
2618
+ "data-slot": "context-menu-sub-trigger",
2619
+ "data-inset": _ctx.inset ? "" : void 0
2620
+ }, unref(forwardedProps), {
2621
+ class: unref(cn)(
2622
+ `focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2623
+ props.class
2624
+ )
2521
2625
  }), {
2522
2626
  default: withCtx(() => [
2523
- renderSlot(_ctx.$slots, "default")
2627
+ renderSlot(_ctx.$slots, "default"),
2628
+ createVNode(unref(ChevronRight), { class: "ml-auto" })
2524
2629
  ]),
2525
2630
  _: 3
2526
- }, 16, ["class"]);
2631
+ }, 16, ["data-inset", "class"]);
2527
2632
  };
2528
2633
  }
2529
2634
  });
2530
2635
 
2531
- const _sfc_main$2s = /* @__PURE__ */ defineComponent({
2532
- __name: "DialogTrigger",
2636
+ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
2637
+ __name: "ContextMenuTrigger",
2533
2638
  props: {
2639
+ disabled: { type: Boolean },
2534
2640
  asChild: { type: Boolean },
2535
2641
  as: {}
2536
2642
  },
2537
2643
  setup(__props) {
2538
2644
  const props = __props;
2645
+ const forwardedProps = useForwardProps(props);
2539
2646
  return (_ctx, _cache) => {
2540
- return openBlock(), createBlock(unref(DialogTrigger), mergeProps({ "data-slot": "dialog-trigger" }, props), {
2647
+ return openBlock(), createBlock(unref(ContextMenuTrigger), mergeProps({ "data-slot": "context-menu-trigger" }, unref(forwardedProps)), {
2541
2648
  default: withCtx(() => [
2542
2649
  renderSlot(_ctx.$slots, "default")
2543
2650
  ]),
@@ -2547,7 +2654,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
2547
2654
  }
2548
2655
  });
2549
2656
 
2550
- const _sfc_main$2r = /* @__PURE__ */ defineComponent({
2657
+ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
2551
2658
  __name: "Drawer",
2552
2659
  props: {
2553
2660
  activeSnapPoint: {},
@@ -2584,7 +2691,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
2584
2691
  }
2585
2692
  });
2586
2693
 
2587
- const _sfc_main$2q = /* @__PURE__ */ defineComponent({
2694
+ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
2588
2695
  __name: "DrawerClose",
2589
2696
  props: {
2590
2697
  asChild: { type: Boolean },
@@ -2603,7 +2710,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
2603
2710
  }
2604
2711
  });
2605
2712
 
2606
- const _sfc_main$2p = /* @__PURE__ */ defineComponent({
2713
+ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
2607
2714
  __name: "DrawerOverlay",
2608
2715
  props: {
2609
2716
  forceMount: { type: Boolean },
@@ -2625,7 +2732,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
2625
2732
  }
2626
2733
  });
2627
2734
 
2628
- const _sfc_main$2o = /* @__PURE__ */ defineComponent({
2735
+ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
2629
2736
  __name: "DrawerContent",
2630
2737
  props: {
2631
2738
  forceMount: { type: Boolean },
@@ -2642,7 +2749,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
2642
2749
  return (_ctx, _cache) => {
2643
2750
  return openBlock(), createBlock(unref(DrawerPortal), null, {
2644
2751
  default: withCtx(() => [
2645
- createVNode(_sfc_main$2p),
2752
+ createVNode(_sfc_main$2j),
2646
2753
  createVNode(unref(DrawerContent), mergeProps({ "data-slot": "drawer-content" }, unref(forwarded), {
2647
2754
  class: unref(cn)(
2648
2755
  `group/drawer-content bg-background fixed z-50 flex h-auto flex-col`,
@@ -2667,7 +2774,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
2667
2774
  }
2668
2775
  });
2669
2776
 
2670
- const _sfc_main$2n = /* @__PURE__ */ defineComponent({
2777
+ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
2671
2778
  __name: "DrawerDescription",
2672
2779
  props: {
2673
2780
  asChild: { type: Boolean },
@@ -2690,7 +2797,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
2690
2797
  }
2691
2798
  });
2692
2799
 
2693
- const _sfc_main$2m = /* @__PURE__ */ defineComponent({
2800
+ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
2694
2801
  __name: "DrawerFooter",
2695
2802
  props: {
2696
2803
  class: {}
@@ -2708,7 +2815,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
2708
2815
  }
2709
2816
  });
2710
2817
 
2711
- const _sfc_main$2l = /* @__PURE__ */ defineComponent({
2818
+ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
2712
2819
  __name: "DrawerHeader",
2713
2820
  props: {
2714
2821
  class: {}
@@ -2726,7 +2833,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
2726
2833
  }
2727
2834
  });
2728
2835
 
2729
- const _sfc_main$2k = /* @__PURE__ */ defineComponent({
2836
+ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
2730
2837
  __name: "DrawerTitle",
2731
2838
  props: {
2732
2839
  asChild: { type: Boolean },
@@ -2749,7 +2856,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
2749
2856
  }
2750
2857
  });
2751
2858
 
2752
- const _sfc_main$2j = /* @__PURE__ */ defineComponent({
2859
+ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
2753
2860
  __name: "DrawerTrigger",
2754
2861
  props: {
2755
2862
  asChild: { type: Boolean },
@@ -2768,7 +2875,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
2768
2875
  }
2769
2876
  });
2770
2877
 
2771
- const _sfc_main$2i = /* @__PURE__ */ defineComponent({
2878
+ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
2772
2879
  __name: "DropdownMenu",
2773
2880
  props: {
2774
2881
  defaultOpen: { type: Boolean },
@@ -2792,8 +2899,8 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
2792
2899
  }
2793
2900
  });
2794
2901
 
2795
- const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2796
- const _sfc_main$2h = /* @__PURE__ */ defineComponent({
2902
+ const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2903
+ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
2797
2904
  __name: "DropdownMenuCheckboxItem",
2798
2905
  props: {
2799
2906
  modelValue: { type: [Boolean, String] },
@@ -2820,7 +2927,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
2820
2927
  )
2821
2928
  }), {
2822
2929
  default: withCtx(() => [
2823
- createElementVNode("span", _hoisted_1$a, [
2930
+ createElementVNode("span", _hoisted_1$8, [
2824
2931
  createVNode(unref(DropdownMenuItemIndicator), null, {
2825
2932
  default: withCtx(() => [
2826
2933
  createVNode(unref(Check), { class: "size-4" })
@@ -2836,7 +2943,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
2836
2943
  }
2837
2944
  });
2838
2945
 
2839
- const _sfc_main$2g = /* @__PURE__ */ defineComponent({
2946
+ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
2840
2947
  __name: "DropdownMenuContent",
2841
2948
  props: {
2842
2949
  forceMount: { type: Boolean },
@@ -2890,7 +2997,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
2890
2997
  }
2891
2998
  });
2892
2999
 
2893
- const _sfc_main$2f = /* @__PURE__ */ defineComponent({
3000
+ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
2894
3001
  __name: "DropdownMenuGroup",
2895
3002
  props: {
2896
3003
  asChild: { type: Boolean },
@@ -2909,7 +3016,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
2909
3016
  }
2910
3017
  });
2911
3018
 
2912
- const _sfc_main$2e = /* @__PURE__ */ defineComponent({
3019
+ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
2913
3020
  __name: "DropdownMenuItem",
2914
3021
  props: {
2915
3022
  disabled: { type: Boolean },
@@ -2944,7 +3051,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
2944
3051
  }
2945
3052
  });
2946
3053
 
2947
- const _sfc_main$2d = /* @__PURE__ */ defineComponent({
3054
+ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
2948
3055
  __name: "DropdownMenuLabel",
2949
3056
  props: {
2950
3057
  asChild: { type: Boolean },
@@ -2972,7 +3079,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
2972
3079
  }
2973
3080
  });
2974
3081
 
2975
- const _sfc_main$2c = /* @__PURE__ */ defineComponent({
3082
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
2976
3083
  __name: "DropdownMenuRadioGroup",
2977
3084
  props: {
2978
3085
  modelValue: {},
@@ -2995,8 +3102,8 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
2995
3102
  }
2996
3103
  });
2997
3104
 
2998
- const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
2999
- const _sfc_main$2b = /* @__PURE__ */ defineComponent({
3105
+ const _hoisted_1$7 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
3106
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
3000
3107
  __name: "DropdownMenuRadioItem",
3001
3108
  props: {
3002
3109
  value: {},
@@ -3023,7 +3130,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
3023
3130
  )
3024
3131
  }), {
3025
3132
  default: withCtx(() => [
3026
- createElementVNode("span", _hoisted_1$9, [
3133
+ createElementVNode("span", _hoisted_1$7, [
3027
3134
  createVNode(unref(DropdownMenuItemIndicator), null, {
3028
3135
  default: withCtx(() => [
3029
3136
  createVNode(unref(Circle), { class: "size-2 fill-current" })
@@ -3039,7 +3146,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
3039
3146
  }
3040
3147
  });
3041
3148
 
3042
- const _sfc_main$2a = /* @__PURE__ */ defineComponent({
3149
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
3043
3150
  __name: "DropdownMenuSeparator",
3044
3151
  props: {
3045
3152
  asChild: { type: Boolean },
@@ -3060,7 +3167,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
3060
3167
  }
3061
3168
  });
3062
3169
 
3063
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
3170
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
3064
3171
  __name: "DropdownMenuShortcut",
3065
3172
  props: {
3066
3173
  class: {}
@@ -3078,7 +3185,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
3078
3185
  }
3079
3186
  });
3080
3187
 
3081
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
3188
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
3082
3189
  __name: "DropdownMenuSub",
3083
3190
  props: {
3084
3191
  defaultOpen: { type: Boolean },
@@ -3100,7 +3207,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
3100
3207
  }
3101
3208
  });
3102
3209
 
3103
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
3210
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
3104
3211
  __name: "DropdownMenuSubContent",
3105
3212
  props: {
3106
3213
  forceMount: { type: Boolean },
@@ -3147,7 +3254,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
3147
3254
  }
3148
3255
  });
3149
3256
 
3150
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
3257
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
3151
3258
  __name: "DropdownMenuSubTrigger",
3152
3259
  props: {
3153
3260
  disabled: { type: Boolean },
@@ -3178,7 +3285,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
3178
3285
  }
3179
3286
  });
3180
3287
 
3181
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
3288
+ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
3182
3289
  __name: "DropdownMenuTrigger",
3183
3290
  props: {
3184
3291
  disabled: { type: Boolean },
@@ -3199,7 +3306,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
3199
3306
  }
3200
3307
  });
3201
3308
 
3202
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
3309
+ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
3203
3310
  __name: "HoverCard",
3204
3311
  props: {
3205
3312
  defaultOpen: { type: Boolean },
@@ -3223,7 +3330,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
3223
3330
  }
3224
3331
  });
3225
3332
 
3226
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
3333
+ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
3227
3334
  __name: "HoverCardContent",
3228
3335
  props: {
3229
3336
  forceMount: { type: Boolean },
@@ -3274,7 +3381,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
3274
3381
  }
3275
3382
  });
3276
3383
 
3277
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
3384
+ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
3278
3385
  __name: "HoverCardTrigger",
3279
3386
  props: {
3280
3387
  reference: {},
@@ -3285,390 +3392,50 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
3285
3392
  const props = __props;
3286
3393
  return (_ctx, _cache) => {
3287
3394
  return openBlock(), createBlock(unref(HoverCardTrigger), mergeProps({ "data-slot": "hover-card-trigger" }, props), {
3288
- default: withCtx(() => [
3289
- renderSlot(_ctx.$slots, "default")
3290
- ]),
3291
- _: 3
3292
- }, 16);
3293
- };
3294
- }
3295
- });
3296
-
3297
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
3298
- __name: "Input",
3299
- props: {
3300
- defaultValue: {},
3301
- modelValue: {},
3302
- class: {}
3303
- },
3304
- emits: ["update:modelValue"],
3305
- setup(__props, { emit: __emit }) {
3306
- const props = __props;
3307
- const emits = __emit;
3308
- const modelValue = useVModel(props, "modelValue", emits, {
3309
- passive: true,
3310
- defaultValue: props.defaultValue
3311
- });
3312
- return (_ctx, _cache) => {
3313
- return withDirectives((openBlock(), createElementBlock("input", {
3314
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
3315
- "data-slot": "input",
3316
- class: normalizeClass(
3317
- unref(cn)(
3318
- "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3319
- "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
3320
- "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
3321
- props.class
3322
- )
3323
- )
3324
- }, null, 2)), [
3325
- [vModelText, unref(modelValue)]
3326
- ]);
3327
- };
3328
- }
3329
- });
3330
-
3331
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
3332
- __name: "Input",
3333
- props: {
3334
- autocomplete: {},
3335
- autofocus: {},
3336
- class: {},
3337
- disabled: {},
3338
- max: {},
3339
- min: {},
3340
- modelValue: {},
3341
- onBlur: { type: Function },
3342
- placeholder: {},
3343
- readonly: {},
3344
- required: {},
3345
- size: {},
3346
- spellcheck: {},
3347
- style: {},
3348
- type: {}
3349
- },
3350
- emits: ["update:modelValue"],
3351
- setup(__props, { expose: __expose, emit: __emit }) {
3352
- const props = __props;
3353
- const emit = __emit;
3354
- const value = computed({
3355
- // eslint-disable-next-line no-undefined
3356
- get: () => props.modelValue ?? void 0,
3357
- set: (it) => emit("update:modelValue", it ?? null)
3358
- });
3359
- const component = useTemplateRef("inputComponent");
3360
- const inputEl = computed(() => {
3361
- return component.value?.$el;
3362
- });
3363
- function focus() {
3364
- inputEl.value?.focus();
3365
- }
3366
- function blur() {
3367
- inputEl.value?.blur();
3368
- }
3369
- function select() {
3370
- inputEl.value?.select();
3371
- }
3372
- __expose({ inputEl, focus, blur, select });
3373
- return (_ctx, _cache) => {
3374
- return openBlock(), createBlock(unref(_sfc_main$21), {
3375
- ref: "inputComponent",
3376
- modelValue: value.value,
3377
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
3378
- modelModifiers: { trim: true },
3379
- type: _ctx.type,
3380
- autocomplete: _ctx.autocomplete,
3381
- autofocus: _ctx.autofocus,
3382
- placeholder: _ctx.placeholder,
3383
- disabled: _ctx.disabled,
3384
- maxlength: _ctx.max,
3385
- minlength: _ctx.min,
3386
- readonly: _ctx.readonly,
3387
- required: _ctx.required,
3388
- size: _ctx.size,
3389
- spellcheck: _ctx.spellcheck,
3390
- style: normalizeStyle(_ctx.style),
3391
- class: normalizeClass(unref(cn)("focus-visible:ring-0 disabled:cursor-default", props.class)),
3392
- onBlur: _ctx.onBlur
3393
- }, null, 8, ["modelValue", "type", "autocomplete", "autofocus", "placeholder", "disabled", "maxlength", "minlength", "readonly", "required", "size", "spellcheck", "style", "class", "onBlur"]);
3394
- };
3395
- }
3396
- });
3397
-
3398
- const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
3399
- __name: "NumberField",
3400
- props: {
3401
- defaultValue: {},
3402
- modelValue: {},
3403
- min: {},
3404
- max: {},
3405
- step: {},
3406
- stepSnapping: { type: Boolean },
3407
- formatOptions: {},
3408
- locale: {},
3409
- disabled: { type: Boolean },
3410
- disableWheelChange: { type: Boolean },
3411
- invertWheelChange: { type: Boolean },
3412
- id: {},
3413
- asChild: { type: Boolean },
3414
- as: {},
3415
- name: {},
3416
- required: { type: Boolean },
3417
- class: {}
3418
- },
3419
- emits: ["update:modelValue"],
3420
- setup(__props, { emit: __emit }) {
3421
- const props = __props;
3422
- const emits = __emit;
3423
- const delegatedProps = computed(() => {
3424
- const { class: _, ...delegated } = props;
3425
- return delegated;
3426
- });
3427
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
3428
- return (_ctx, _cache) => {
3429
- return openBlock(), createBlock(unref(NumberFieldRoot), mergeProps(unref(forwarded), {
3430
- class: unref(cn)("grid gap-1.5", props.class)
3431
- }), {
3432
- default: withCtx(() => [
3433
- renderSlot(_ctx.$slots, "default")
3434
- ]),
3435
- _: 3
3436
- }, 16, ["class"]);
3437
- };
3438
- }
3439
- });
3440
-
3441
- const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
3442
- __name: "NumberFieldContent",
3443
- props: {
3444
- class: {}
3445
- },
3446
- setup(__props) {
3447
- const props = __props;
3448
- return (_ctx, _cache) => {
3449
- return openBlock(), createElementBlock("div", {
3450
- class: normalizeClass(
3451
- unref(cn)(
3452
- "relative [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5 [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5",
3453
- props.class
3454
- )
3455
- )
3456
- }, [
3457
- renderSlot(_ctx.$slots, "default")
3458
- ], 2);
3459
- };
3460
- }
3461
- });
3462
-
3463
- const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
3464
- __name: "NumberFieldDecrement",
3465
- props: {
3466
- disabled: { type: Boolean },
3467
- asChild: { type: Boolean },
3468
- as: {},
3469
- class: {}
3470
- },
3471
- setup(__props) {
3472
- const props = __props;
3473
- const delegatedProps = computed(() => {
3474
- const { class: _, ...delegated } = props;
3475
- return delegated;
3476
- });
3477
- const forwarded = useForwardProps(delegatedProps);
3478
- return (_ctx, _cache) => {
3479
- return openBlock(), createBlock(unref(NumberFieldDecrement), mergeProps({ "data-slot": "decrement" }, unref(forwarded), {
3480
- class: unref(cn)(
3481
- "absolute top-1/2 left-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
3482
- props.class
3483
- )
3484
- }), {
3485
- default: withCtx(() => [
3486
- renderSlot(_ctx.$slots, "default", {}, () => [
3487
- createVNode(unref(Minus), { class: "h-4 w-4" })
3488
- ])
3489
- ]),
3490
- _: 3
3491
- }, 16, ["class"]);
3492
- };
3493
- }
3494
- });
3495
-
3496
- const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
3497
- __name: "NumberFieldIncrement",
3498
- props: {
3499
- disabled: { type: Boolean },
3500
- asChild: { type: Boolean },
3501
- as: {},
3502
- class: {}
3503
- },
3504
- setup(__props) {
3505
- const props = __props;
3506
- const delegatedProps = computed(() => {
3507
- const { class: _, ...delegated } = props;
3508
- return delegated;
3509
- });
3510
- const forwarded = useForwardProps(delegatedProps);
3511
- return (_ctx, _cache) => {
3512
- return openBlock(), createBlock(unref(NumberFieldIncrement), mergeProps({ "data-slot": "increment" }, unref(forwarded), {
3513
- class: unref(cn)(
3514
- "absolute top-1/2 right-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
3515
- props.class
3516
- )
3517
- }), {
3518
- default: withCtx(() => [
3519
- renderSlot(_ctx.$slots, "default", {}, () => [
3520
- createVNode(unref(Plus), { class: "h-4 w-4" })
3521
- ])
3522
- ]),
3523
- _: 3
3524
- }, 16, ["class"]);
3525
- };
3526
- }
3527
- });
3528
-
3529
- const _sfc_main$1X = /* @__PURE__ */ defineComponent({
3530
- __name: "NumberFieldInput",
3531
- props: {
3532
- class: {}
3533
- },
3534
- setup(__props) {
3535
- const props = __props;
3536
- return (_ctx, _cache) => {
3537
- return openBlock(), createBlock(unref(NumberFieldInput), {
3538
- "data-slot": "input",
3539
- class: normalizeClass(
3540
- unref(cn)(
3541
- "border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent py-1 text-center text-sm shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3542
- props.class
3543
- )
3544
- )
3545
- }, null, 8, ["class"]);
3546
- };
3547
- }
3548
- });
3549
-
3550
- const _sfc_main$1W = /* @__PURE__ */ defineComponent({
3551
- __name: "InputNumber",
3552
- props: {
3553
- class: {},
3554
- defaultValue: {},
3555
- disabled: { type: Boolean },
3556
- disableDecrement: { type: Boolean },
3557
- disableIncrement: { type: Boolean },
3558
- disableWheelChange: { type: Boolean },
3559
- formatOptions: { default: () => ({ useGrouping: false }) },
3560
- max: {},
3561
- min: {},
3562
- modelValue: {},
3563
- step: {},
3564
- stepSnapping: { type: Boolean },
3565
- style: {}
3566
- },
3567
- emits: ["update:modelValue"],
3568
- setup(__props, { emit: __emit }) {
3569
- const props = __props;
3570
- const emit = __emit;
3571
- const value = computed({
3572
- // eslint-disable-next-line no-undefined
3573
- get: () => props.modelValue ?? void 0,
3574
- set: (it) => emit("update:modelValue", it ?? null)
3575
- });
3576
- return (_ctx, _cache) => {
3577
- return openBlock(), createBlock(unref(_sfc_main$1$), {
3578
- modelValue: value.value,
3579
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
3580
- "default-value": _ctx.defaultValue,
3581
- disabled: _ctx.disabled,
3582
- "disable-wheel-change": _ctx.disableWheelChange,
3583
- "format-options": _ctx.formatOptions,
3584
- min: _ctx.min,
3585
- max: _ctx.max,
3586
- step: _ctx.step,
3587
- "step-snapping": _ctx.stepSnapping,
3588
- style: normalizeStyle(_ctx.style),
3589
- class: normalizeClass(unref(cn)("w-full", props.class))
3590
- }, {
3591
- default: withCtx(() => [
3592
- createVNode(unref(_sfc_main$1_), null, {
3593
- default: withCtx(() => [
3594
- createVNode(unref(_sfc_main$1Z), {
3595
- disabled: _ctx.disabled || _ctx.disableDecrement
3596
- }, null, 8, ["disabled"]),
3597
- createVNode(unref(_sfc_main$1X)),
3598
- createVNode(unref(_sfc_main$1Y), {
3599
- disabled: _ctx.disabled || _ctx.disableIncrement
3600
- }, null, 8, ["disabled"])
3601
- ]),
3602
- _: 1
3603
- })
3395
+ default: withCtx(() => [
3396
+ renderSlot(_ctx.$slots, "default")
3604
3397
  ]),
3605
- _: 1
3606
- }, 8, ["modelValue", "default-value", "disabled", "disable-wheel-change", "format-options", "min", "max", "step", "step-snapping", "style", "class"]);
3398
+ _: 3
3399
+ }, 16);
3607
3400
  };
3608
3401
  }
3609
3402
  });
3610
3403
 
3611
- const _sfc_main$1V = /* @__PURE__ */ defineComponent({
3612
- __name: "InputText",
3613
- props: /* @__PURE__ */ mergeModels({
3614
- autocomplete: {},
3615
- autofocus: {},
3616
- class: {},
3617
- disabled: {},
3618
- max: {},
3619
- min: {},
3620
- onBlur: {},
3621
- placeholder: {},
3622
- readonly: {},
3623
- required: {},
3624
- size: {},
3625
- spellcheck: { default: "false" },
3626
- style: {}
3627
- }, {
3628
- "modelValue": { required: true },
3629
- "modelModifiers": {}
3630
- }),
3404
+ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
3405
+ __name: "Input",
3406
+ props: {
3407
+ defaultValue: {},
3408
+ modelValue: {},
3409
+ class: {}
3410
+ },
3631
3411
  emits: ["update:modelValue"],
3632
- setup(__props, { expose: __expose }) {
3412
+ setup(__props, { emit: __emit }) {
3633
3413
  const props = __props;
3634
- const value = useModel(__props, "modelValue");
3635
- const component = useTemplateRef("inputComponent");
3636
- const inputEl = computed(() => component.value?.inputEl);
3637
- function focus() {
3638
- inputEl.value?.focus();
3639
- }
3640
- function blur() {
3641
- inputEl.value?.blur();
3642
- }
3643
- function select() {
3644
- inputEl.value?.select();
3645
- }
3646
- __expose({ inputEl, focus, blur, select });
3647
- return (_ctx, _cache) => {
3648
- return openBlock(), createBlock(unref(_sfc_main$20), {
3649
- ref: "inputComponent",
3650
- modelValue: value.value,
3651
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
3652
- type: "text",
3653
- autocomplete: _ctx.autocomplete,
3654
- autofocus: _ctx.autofocus,
3655
- disabled: _ctx.disabled,
3656
- max: _ctx.max,
3657
- min: _ctx.min,
3658
- "on-blur": _ctx.onBlur,
3659
- placeholder: _ctx.placeholder,
3660
- readonly: _ctx.readonly,
3661
- required: _ctx.required,
3662
- size: _ctx.size,
3663
- spellcheck: _ctx.spellcheck,
3664
- style: normalizeStyle(_ctx.style),
3665
- class: normalizeClass(props.class)
3666
- }, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck", "style", "class"]);
3414
+ const emits = __emit;
3415
+ const modelValue = useVModel(props, "modelValue", emits, {
3416
+ passive: true,
3417
+ defaultValue: props.defaultValue
3418
+ });
3419
+ return (_ctx, _cache) => {
3420
+ return withDirectives((openBlock(), createElementBlock("input", {
3421
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
3422
+ "data-slot": "input",
3423
+ class: normalizeClass(
3424
+ unref(cn)(
3425
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3426
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
3427
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
3428
+ props.class
3429
+ )
3430
+ )
3431
+ }, null, 2)), [
3432
+ [vModelText, unref(modelValue)]
3433
+ ]);
3667
3434
  };
3668
3435
  }
3669
3436
  });
3670
3437
 
3671
- const _sfc_main$1U = /* @__PURE__ */ defineComponent({
3438
+ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
3672
3439
  __name: "Label",
3673
3440
  props: {
3674
3441
  for: {},
@@ -3698,28 +3465,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
3698
3465
  }
3699
3466
  });
3700
3467
 
3701
- const _hoisted_1$8 = { key: 0 };
3702
- const _sfc_main$1T = /* @__PURE__ */ defineComponent({
3703
- __name: "Link",
3704
- props: {
3705
- label: {},
3706
- to: {}
3707
- },
3708
- setup(__props) {
3709
- return (_ctx, _cache) => {
3710
- return openBlock(), createBlock(unref(RouterLink), {
3711
- to: { name: _ctx.to }
3712
- }, {
3713
- default: withCtx(() => [
3714
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
3715
- ]),
3716
- _: 3
3717
- }, 8, ["to"]);
3718
- };
3719
- }
3720
- });
3721
-
3722
- const _sfc_main$1S = /* @__PURE__ */ defineComponent({
3468
+ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
3723
3469
  __name: "Loading",
3724
3470
  props: {
3725
3471
  class: {},
@@ -3748,9 +3494,9 @@ const _export_sfc = (sfc, props) => {
3748
3494
  return target;
3749
3495
  };
3750
3496
 
3751
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__scopeId", "data-v-bf69e6e9"]]);
3497
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["__scopeId", "data-v-bf69e6e9"]]);
3752
3498
 
3753
- const _sfc_main$1R = /* @__PURE__ */ defineComponent({
3499
+ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
3754
3500
  __name: "Menubar",
3755
3501
  props: {
3756
3502
  modelValue: {},
@@ -3781,8 +3527,8 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
3781
3527
  }
3782
3528
  });
3783
3529
 
3784
- const _hoisted_1$7 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
3785
- const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
3530
+ const _hoisted_1$6 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
3531
+ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
3786
3532
  __name: "MenubarCheckboxItem",
3787
3533
  props: {
3788
3534
  modelValue: { type: [Boolean, String] },
@@ -3809,7 +3555,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
3809
3555
  )
3810
3556
  }), {
3811
3557
  default: withCtx(() => [
3812
- createElementVNode("span", _hoisted_1$7, [
3558
+ createElementVNode("span", _hoisted_1$6, [
3813
3559
  createVNode(unref(MenubarItemIndicator), null, {
3814
3560
  default: withCtx(() => [
3815
3561
  createVNode(unref(Check), { class: "size-4" })
@@ -3825,7 +3571,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
3825
3571
  }
3826
3572
  });
3827
3573
 
3828
- const _sfc_main$1P = /* @__PURE__ */ defineComponent({
3574
+ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
3829
3575
  __name: "MenubarContent",
3830
3576
  props: {
3831
3577
  forceMount: { type: Boolean },
@@ -3877,7 +3623,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
3877
3623
  }
3878
3624
  });
3879
3625
 
3880
- const _sfc_main$1O = /* @__PURE__ */ defineComponent({
3626
+ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
3881
3627
  __name: "MenubarGroup",
3882
3628
  props: {
3883
3629
  asChild: { type: Boolean },
@@ -3896,7 +3642,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
3896
3642
  }
3897
3643
  });
3898
3644
 
3899
- const _sfc_main$1N = /* @__PURE__ */ defineComponent({
3645
+ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
3900
3646
  __name: "MenubarItem",
3901
3647
  props: {
3902
3648
  disabled: { type: Boolean },
@@ -3933,7 +3679,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
3933
3679
  }
3934
3680
  });
3935
3681
 
3936
- const _sfc_main$1M = /* @__PURE__ */ defineComponent({
3682
+ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
3937
3683
  __name: "MenubarLabel",
3938
3684
  props: {
3939
3685
  asChild: { type: Boolean },
@@ -3959,7 +3705,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
3959
3705
  }
3960
3706
  });
3961
3707
 
3962
- const _sfc_main$1L = /* @__PURE__ */ defineComponent({
3708
+ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
3963
3709
  __name: "MenubarMenu",
3964
3710
  props: {
3965
3711
  value: {}
@@ -3977,7 +3723,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
3977
3723
  }
3978
3724
  });
3979
3725
 
3980
- const _sfc_main$1K = /* @__PURE__ */ defineComponent({
3726
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
3981
3727
  __name: "MenubarRadioGroup",
3982
3728
  props: {
3983
3729
  modelValue: {},
@@ -4000,8 +3746,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
4000
3746
  }
4001
3747
  });
4002
3748
 
4003
- const _hoisted_1$6 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
4004
- const _sfc_main$1J = /* @__PURE__ */ defineComponent({
3749
+ const _hoisted_1$5 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
3750
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
4005
3751
  __name: "MenubarRadioItem",
4006
3752
  props: {
4007
3753
  value: {},
@@ -4028,7 +3774,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
4028
3774
  )
4029
3775
  }), {
4030
3776
  default: withCtx(() => [
4031
- createElementVNode("span", _hoisted_1$6, [
3777
+ createElementVNode("span", _hoisted_1$5, [
4032
3778
  createVNode(unref(MenubarItemIndicator), null, {
4033
3779
  default: withCtx(() => [
4034
3780
  createVNode(unref(Circle), { class: "size-2 fill-current" })
@@ -4044,7 +3790,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
4044
3790
  }
4045
3791
  });
4046
3792
 
4047
- const _sfc_main$1I = /* @__PURE__ */ defineComponent({
3793
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
4048
3794
  __name: "MenubarSeparator",
4049
3795
  props: {
4050
3796
  asChild: { type: Boolean },
@@ -4067,7 +3813,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
4067
3813
  }
4068
3814
  });
4069
3815
 
4070
- const _sfc_main$1H = /* @__PURE__ */ defineComponent({
3816
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
4071
3817
  __name: "MenubarShortcut",
4072
3818
  props: {
4073
3819
  class: {}
@@ -4085,7 +3831,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
4085
3831
  }
4086
3832
  });
4087
3833
 
4088
- const _sfc_main$1G = /* @__PURE__ */ defineComponent({
3834
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
4089
3835
  __name: "MenubarSub",
4090
3836
  props: {
4091
3837
  defaultOpen: { type: Boolean },
@@ -4107,7 +3853,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
4107
3853
  }
4108
3854
  });
4109
3855
 
4110
- const _sfc_main$1F = /* @__PURE__ */ defineComponent({
3856
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
4111
3857
  __name: "MenubarSubContent",
4112
3858
  props: {
4113
3859
  forceMount: { type: Boolean },
@@ -4159,7 +3905,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
4159
3905
  }
4160
3906
  });
4161
3907
 
4162
- const _sfc_main$1E = /* @__PURE__ */ defineComponent({
3908
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
4163
3909
  __name: "MenubarSubTrigger",
4164
3910
  props: {
4165
3911
  disabled: { type: Boolean },
@@ -4193,7 +3939,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
4193
3939
  }
4194
3940
  });
4195
3941
 
4196
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
3942
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
4197
3943
  __name: "MenubarTrigger",
4198
3944
  props: {
4199
3945
  disabled: { type: Boolean },
@@ -4224,8 +3970,8 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
4224
3970
  }
4225
3971
  });
4226
3972
 
4227
- const _hoisted_1$5 = { class: "absolute top-full left-0 isolate z-50 flex justify-center" };
4228
- const _sfc_main$1C = /* @__PURE__ */ defineComponent({
3973
+ const _hoisted_1$4 = { class: "absolute top-full left-0 isolate z-50 flex justify-center" };
3974
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
4229
3975
  __name: "NavigationMenuViewport",
4230
3976
  props: {
4231
3977
  forceMount: { type: Boolean },
@@ -4239,7 +3985,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
4239
3985
  const delegatedProps = reactiveOmit(props, "class");
4240
3986
  const forwardedProps = useForwardProps(delegatedProps);
4241
3987
  return (_ctx, _cache) => {
4242
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
3988
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
4243
3989
  createVNode(unref(NavigationMenuViewport), mergeProps({ "data-slot": "navigation-menu-viewport" }, unref(forwardedProps), {
4244
3990
  class: unref(cn)(
4245
3991
  "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--reka-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--reka-navigation-menu-viewport-width)]",
@@ -4251,7 +3997,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
4251
3997
  }
4252
3998
  });
4253
3999
 
4254
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
4000
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
4255
4001
  __name: "NavigationMenu",
4256
4002
  props: {
4257
4003
  modelValue: {},
@@ -4287,7 +4033,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
4287
4033
  }), {
4288
4034
  default: withCtx(() => [
4289
4035
  renderSlot(_ctx.$slots, "default"),
4290
- _ctx.viewport ? (openBlock(), createBlock(_sfc_main$1C, { key: 0 })) : createCommentVNode("", true)
4036
+ _ctx.viewport ? (openBlock(), createBlock(_sfc_main$1F, { key: 0 })) : createCommentVNode("", true)
4291
4037
  ]),
4292
4038
  _: 3
4293
4039
  }, 16, ["data-viewport", "class"]);
@@ -4295,7 +4041,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
4295
4041
  }
4296
4042
  });
4297
4043
 
4298
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
4044
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
4299
4045
  __name: "NavigationMenuContent",
4300
4046
  props: {
4301
4047
  forceMount: { type: Boolean },
@@ -4327,7 +4073,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
4327
4073
  }
4328
4074
  });
4329
4075
 
4330
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
4076
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
4331
4077
  __name: "NavigationMenuIndicator",
4332
4078
  props: {
4333
4079
  forceMount: { type: Boolean },
@@ -4356,7 +4102,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
4356
4102
  }
4357
4103
  });
4358
4104
 
4359
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
4105
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
4360
4106
  __name: "NavigationMenuItem",
4361
4107
  props: {
4362
4108
  value: {},
@@ -4380,29 +4126,184 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
4380
4126
  }
4381
4127
  });
4382
4128
 
4383
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
4384
- __name: "NavigationMenuLink",
4129
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
4130
+ __name: "NavigationMenuLink",
4131
+ props: {
4132
+ active: { type: Boolean },
4133
+ asChild: { type: Boolean },
4134
+ as: {},
4135
+ class: {}
4136
+ },
4137
+ emits: ["select"],
4138
+ setup(__props, { emit: __emit }) {
4139
+ const props = __props;
4140
+ const emits = __emit;
4141
+ const delegatedProps = reactiveOmit(props, "class");
4142
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
4143
+ return (_ctx, _cache) => {
4144
+ return openBlock(), createBlock(unref(NavigationMenuLink), mergeProps({ "data-slot": "navigation-menu-link" }, unref(forwarded), {
4145
+ class: unref(cn)(
4146
+ `'data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4' flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1`,
4147
+ props.class
4148
+ )
4149
+ }), {
4150
+ default: withCtx(() => [
4151
+ renderSlot(_ctx.$slots, "default")
4152
+ ]),
4153
+ _: 3
4154
+ }, 16, ["class"]);
4155
+ };
4156
+ }
4157
+ });
4158
+
4159
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
4160
+ __name: "NavigationMenuList",
4161
+ props: {
4162
+ asChild: { type: Boolean },
4163
+ as: {},
4164
+ class: {}
4165
+ },
4166
+ setup(__props) {
4167
+ const props = __props;
4168
+ const delegatedProps = reactiveOmit(props, "class");
4169
+ const forwardedProps = useForwardProps(delegatedProps);
4170
+ return (_ctx, _cache) => {
4171
+ return openBlock(), createBlock(unref(NavigationMenuList), mergeProps({ "data-slot": "navigation-menu-list" }, unref(forwardedProps), {
4172
+ class: unref(cn)("group flex flex-1 list-none items-center justify-center gap-1", props.class)
4173
+ }), {
4174
+ default: withCtx(() => [
4175
+ renderSlot(_ctx.$slots, "default")
4176
+ ]),
4177
+ _: 3
4178
+ }, 16, ["class"]);
4179
+ };
4180
+ }
4181
+ });
4182
+
4183
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
4184
+ __name: "NavigationMenuTrigger",
4185
+ props: {
4186
+ disabled: { type: Boolean },
4187
+ asChild: { type: Boolean },
4188
+ as: {},
4189
+ class: {}
4190
+ },
4191
+ setup(__props) {
4192
+ const props = __props;
4193
+ const delegatedProps = reactiveOmit(props, "class");
4194
+ const forwardedProps = useForwardProps(delegatedProps);
4195
+ return (_ctx, _cache) => {
4196
+ return openBlock(), createBlock(unref(NavigationMenuTrigger), mergeProps({ "data-slot": "navigation-menu-trigger" }, unref(forwardedProps), {
4197
+ class: unref(cn)(unref(navigationMenuTriggerStyle)(), "group", props.class)
4198
+ }), {
4199
+ default: withCtx(() => [
4200
+ renderSlot(_ctx.$slots, "default"),
4201
+ createVNode(unref(ChevronDown), {
4202
+ class: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
4203
+ "aria-hidden": "true"
4204
+ })
4205
+ ]),
4206
+ _: 3
4207
+ }, 16, ["class"]);
4208
+ };
4209
+ }
4210
+ });
4211
+
4212
+ const navigationMenuTriggerStyle = cva(
4213
+ "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
4214
+ );
4215
+
4216
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
4217
+ __name: "NumberField",
4218
+ props: {
4219
+ defaultValue: {},
4220
+ modelValue: {},
4221
+ min: {},
4222
+ max: {},
4223
+ step: {},
4224
+ stepSnapping: { type: Boolean },
4225
+ formatOptions: {},
4226
+ locale: {},
4227
+ disabled: { type: Boolean },
4228
+ disableWheelChange: { type: Boolean },
4229
+ invertWheelChange: { type: Boolean },
4230
+ id: {},
4231
+ asChild: { type: Boolean },
4232
+ as: {},
4233
+ name: {},
4234
+ required: { type: Boolean },
4235
+ class: {}
4236
+ },
4237
+ emits: ["update:modelValue"],
4238
+ setup(__props, { emit: __emit }) {
4239
+ const props = __props;
4240
+ const emits = __emit;
4241
+ const delegatedProps = computed(() => {
4242
+ const { class: _, ...delegated } = props;
4243
+ return delegated;
4244
+ });
4245
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
4246
+ return (_ctx, _cache) => {
4247
+ return openBlock(), createBlock(unref(NumberFieldRoot), mergeProps(unref(forwarded), {
4248
+ class: unref(cn)("grid gap-1.5", props.class)
4249
+ }), {
4250
+ default: withCtx(() => [
4251
+ renderSlot(_ctx.$slots, "default")
4252
+ ]),
4253
+ _: 3
4254
+ }, 16, ["class"]);
4255
+ };
4256
+ }
4257
+ });
4258
+
4259
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
4260
+ __name: "NumberFieldContent",
4261
+ props: {
4262
+ class: {}
4263
+ },
4264
+ setup(__props) {
4265
+ const props = __props;
4266
+ return (_ctx, _cache) => {
4267
+ return openBlock(), createElementBlock("div", {
4268
+ class: normalizeClass(
4269
+ unref(cn)(
4270
+ "relative [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5 [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5",
4271
+ props.class
4272
+ )
4273
+ )
4274
+ }, [
4275
+ renderSlot(_ctx.$slots, "default")
4276
+ ], 2);
4277
+ };
4278
+ }
4279
+ });
4280
+
4281
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
4282
+ __name: "NumberFieldDecrement",
4385
4283
  props: {
4386
- active: { type: Boolean },
4284
+ disabled: { type: Boolean },
4387
4285
  asChild: { type: Boolean },
4388
4286
  as: {},
4389
4287
  class: {}
4390
4288
  },
4391
- emits: ["select"],
4392
- setup(__props, { emit: __emit }) {
4289
+ setup(__props) {
4393
4290
  const props = __props;
4394
- const emits = __emit;
4395
- const delegatedProps = reactiveOmit(props, "class");
4396
- const forwarded = useForwardPropsEmits(delegatedProps, emits);
4291
+ const delegatedProps = computed(() => {
4292
+ const { class: _, ...delegated } = props;
4293
+ return delegated;
4294
+ });
4295
+ const forwarded = useForwardProps(delegatedProps);
4397
4296
  return (_ctx, _cache) => {
4398
- return openBlock(), createBlock(unref(NavigationMenuLink), mergeProps({ "data-slot": "navigation-menu-link" }, unref(forwarded), {
4297
+ return openBlock(), createBlock(unref(NumberFieldDecrement), mergeProps({ "data-slot": "decrement" }, unref(forwarded), {
4399
4298
  class: unref(cn)(
4400
- `'data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4' flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1`,
4299
+ "absolute top-1/2 left-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
4401
4300
  props.class
4402
4301
  )
4403
4302
  }), {
4404
4303
  default: withCtx(() => [
4405
- renderSlot(_ctx.$slots, "default")
4304
+ renderSlot(_ctx.$slots, "default", {}, () => [
4305
+ createVNode(unref(Minus), { class: "h-4 w-4" })
4306
+ ])
4406
4307
  ]),
4407
4308
  _: 3
4408
4309
  }, 16, ["class"]);
@@ -4410,23 +4311,32 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
4410
4311
  }
4411
4312
  });
4412
4313
 
4413
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
4414
- __name: "NavigationMenuList",
4314
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
4315
+ __name: "NumberFieldIncrement",
4415
4316
  props: {
4317
+ disabled: { type: Boolean },
4416
4318
  asChild: { type: Boolean },
4417
4319
  as: {},
4418
4320
  class: {}
4419
4321
  },
4420
4322
  setup(__props) {
4421
4323
  const props = __props;
4422
- const delegatedProps = reactiveOmit(props, "class");
4423
- const forwardedProps = useForwardProps(delegatedProps);
4324
+ const delegatedProps = computed(() => {
4325
+ const { class: _, ...delegated } = props;
4326
+ return delegated;
4327
+ });
4328
+ const forwarded = useForwardProps(delegatedProps);
4424
4329
  return (_ctx, _cache) => {
4425
- return openBlock(), createBlock(unref(NavigationMenuList), mergeProps({ "data-slot": "navigation-menu-list" }, unref(forwardedProps), {
4426
- class: unref(cn)("group flex flex-1 list-none items-center justify-center gap-1", props.class)
4330
+ return openBlock(), createBlock(unref(NumberFieldIncrement), mergeProps({ "data-slot": "increment" }, unref(forwarded), {
4331
+ class: unref(cn)(
4332
+ "absolute top-1/2 right-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
4333
+ props.class
4334
+ )
4427
4335
  }), {
4428
4336
  default: withCtx(() => [
4429
- renderSlot(_ctx.$slots, "default")
4337
+ renderSlot(_ctx.$slots, "default", {}, () => [
4338
+ createVNode(unref(Plus), { class: "h-4 w-4" })
4339
+ ])
4430
4340
  ]),
4431
4341
  _: 3
4432
4342
  }, 16, ["class"]);
@@ -4434,40 +4344,28 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
4434
4344
  }
4435
4345
  });
4436
4346
 
4437
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
4438
- __name: "NavigationMenuTrigger",
4347
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
4348
+ __name: "NumberFieldInput",
4439
4349
  props: {
4440
- disabled: { type: Boolean },
4441
- asChild: { type: Boolean },
4442
- as: {},
4443
4350
  class: {}
4444
4351
  },
4445
4352
  setup(__props) {
4446
4353
  const props = __props;
4447
- const delegatedProps = reactiveOmit(props, "class");
4448
- const forwardedProps = useForwardProps(delegatedProps);
4449
4354
  return (_ctx, _cache) => {
4450
- return openBlock(), createBlock(unref(NavigationMenuTrigger), mergeProps({ "data-slot": "navigation-menu-trigger" }, unref(forwardedProps), {
4451
- class: unref(cn)(unref(navigationMenuTriggerStyle)(), "group", props.class)
4452
- }), {
4453
- default: withCtx(() => [
4454
- renderSlot(_ctx.$slots, "default"),
4455
- createVNode(unref(ChevronDown), {
4456
- class: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
4457
- "aria-hidden": "true"
4458
- })
4459
- ]),
4460
- _: 3
4461
- }, 16, ["class"]);
4355
+ return openBlock(), createBlock(unref(NumberFieldInput), {
4356
+ "data-slot": "input",
4357
+ class: normalizeClass(
4358
+ unref(cn)(
4359
+ "border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent py-1 text-center text-sm shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
4360
+ props.class
4361
+ )
4362
+ )
4363
+ }, null, 8, ["class"]);
4462
4364
  };
4463
4365
  }
4464
4366
  });
4465
4367
 
4466
- const navigationMenuTriggerStyle = cva(
4467
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
4468
- );
4469
-
4470
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
4368
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
4471
4369
  __name: "Pagination",
4472
4370
  props: {
4473
4371
  page: {},
@@ -4500,7 +4398,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
4500
4398
  }
4501
4399
  });
4502
4400
 
4503
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
4401
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4504
4402
  __name: "PaginationContent",
4505
4403
  props: {
4506
4404
  asChild: { type: Boolean },
@@ -4526,7 +4424,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
4526
4424
  }
4527
4425
  });
4528
4426
 
4529
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
4427
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4530
4428
  __name: "PaginationEllipsis",
4531
4429
  props: {
4532
4430
  asChild: { type: Boolean },
@@ -4555,7 +4453,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
4555
4453
  }
4556
4454
  });
4557
4455
 
4558
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4456
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4559
4457
  __name: "PaginationFirst",
4560
4458
  props: {
4561
4459
  asChild: { type: Boolean },
@@ -4584,7 +4482,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
4584
4482
  }
4585
4483
  });
4586
4484
 
4587
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4485
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4588
4486
  __name: "PaginationItem",
4589
4487
  props: {
4590
4488
  value: {},
@@ -4616,7 +4514,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
4616
4514
  }
4617
4515
  });
4618
4516
 
4619
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4517
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4620
4518
  __name: "PaginationLast",
4621
4519
  props: {
4622
4520
  asChild: { type: Boolean },
@@ -4645,7 +4543,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
4645
4543
  }
4646
4544
  });
4647
4545
 
4648
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4546
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
4649
4547
  __name: "PaginationNext",
4650
4548
  props: {
4651
4549
  asChild: { type: Boolean },
@@ -4674,7 +4572,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
4674
4572
  }
4675
4573
  });
4676
4574
 
4677
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4575
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
4678
4576
  __name: "PaginationPrevious",
4679
4577
  props: {
4680
4578
  asChild: { type: Boolean },
@@ -4703,7 +4601,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
4703
4601
  }
4704
4602
  });
4705
4603
 
4706
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
4604
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
4707
4605
  __name: "Popover",
4708
4606
  props: {
4709
4607
  defaultOpen: { type: Boolean },
@@ -4726,7 +4624,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
4726
4624
  }
4727
4625
  });
4728
4626
 
4729
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
4627
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
4730
4628
  __name: "PopoverAnchor",
4731
4629
  props: {
4732
4630
  reference: {},
@@ -4746,7 +4644,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
4746
4644
  }
4747
4645
  });
4748
4646
 
4749
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
4647
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4750
4648
  ...{
4751
4649
  inheritAttrs: false
4752
4650
  },
@@ -4803,7 +4701,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
4803
4701
  }
4804
4702
  });
4805
4703
 
4806
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
4704
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4807
4705
  __name: "PopoverTrigger",
4808
4706
  props: {
4809
4707
  asChild: { type: Boolean },
@@ -4822,7 +4720,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
4822
4720
  }
4823
4721
  });
4824
4722
 
4825
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4723
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4826
4724
  __name: "Progress",
4827
4725
  props: {
4828
4726
  modelValue: { default: 0 },
@@ -4856,7 +4754,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
4856
4754
  }
4857
4755
  });
4858
4756
 
4859
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4757
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4860
4758
  __name: "RadioGroup",
4861
4759
  props: {
4862
4760
  modelValue: {},
@@ -4894,7 +4792,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
4894
4792
  }
4895
4793
  });
4896
4794
 
4897
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4795
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
4898
4796
  __name: "RadioGroupItem",
4899
4797
  props: {
4900
4798
  id: {},
@@ -4937,11 +4835,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
4937
4835
  }
4938
4836
  });
4939
4837
 
4940
- const _hoisted_1$4 = {
4838
+ const _hoisted_1$3 = {
4941
4839
  key: 0,
4942
4840
  class: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
4943
4841
  };
4944
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4842
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
4945
4843
  __name: "ResizableHandle",
4946
4844
  props: {
4947
4845
  id: {},
@@ -4967,7 +4865,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4967
4865
  )
4968
4866
  }), {
4969
4867
  default: withCtx(() => [
4970
- props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
4868
+ props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
4971
4869
  createVNode(unref(GripVertical), { class: "size-2.5" })
4972
4870
  ])) : createCommentVNode("", true)
4973
4871
  ]),
@@ -4977,7 +4875,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
4977
4875
  }
4978
4876
  });
4979
4877
 
4980
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
4878
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
4981
4879
  __name: "ResizablePanel",
4982
4880
  props: {
4983
4881
  collapsedSize: {},
@@ -5006,7 +4904,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
5006
4904
  }
5007
4905
  });
5008
4906
 
5009
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
4907
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5010
4908
  __name: "ResizablePanelGroup",
5011
4909
  props: {
5012
4910
  id: {},
@@ -5040,7 +4938,82 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
5040
4938
  }
5041
4939
  });
5042
4940
 
5043
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
4941
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
4942
+ __name: "ScrollBar",
4943
+ props: {
4944
+ orientation: { default: "vertical" },
4945
+ forceMount: { type: Boolean },
4946
+ asChild: { type: Boolean },
4947
+ as: {},
4948
+ class: {}
4949
+ },
4950
+ setup(__props) {
4951
+ const props = __props;
4952
+ const delegatedProps = computed(() => {
4953
+ const { class: _, ...delegated } = props;
4954
+ return delegated;
4955
+ });
4956
+ return (_ctx, _cache) => {
4957
+ return openBlock(), createBlock(unref(ScrollAreaScrollbar), mergeProps({ "data-slot": "scroll-area-scrollbar" }, delegatedProps.value, {
4958
+ class: unref(cn)(
4959
+ "flex touch-none p-px transition-colors select-none",
4960
+ _ctx.orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
4961
+ _ctx.orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
4962
+ props.class
4963
+ )
4964
+ }), {
4965
+ default: withCtx(() => [
4966
+ createVNode(unref(ScrollAreaThumb), {
4967
+ "data-slot": "scroll-area-thumb",
4968
+ class: "bg-border relative flex-1 rounded-full"
4969
+ })
4970
+ ]),
4971
+ _: 1
4972
+ }, 16, ["class"]);
4973
+ };
4974
+ }
4975
+ });
4976
+
4977
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
4978
+ __name: "ScrollArea",
4979
+ props: {
4980
+ type: {},
4981
+ dir: {},
4982
+ scrollHideDelay: {},
4983
+ asChild: { type: Boolean },
4984
+ as: {},
4985
+ class: {}
4986
+ },
4987
+ setup(__props) {
4988
+ const props = __props;
4989
+ const delegatedProps = computed(() => {
4990
+ const { class: _, ...delegated } = props;
4991
+ return delegated;
4992
+ });
4993
+ return (_ctx, _cache) => {
4994
+ return openBlock(), createBlock(unref(ScrollAreaRoot), mergeProps({ "data-slot": "scroll-area" }, delegatedProps.value, {
4995
+ class: unref(cn)("relative", props.class)
4996
+ }), {
4997
+ default: withCtx(() => [
4998
+ createVNode(unref(ScrollAreaViewport), {
4999
+ "data-slot": "scroll-area-viewport",
5000
+ class: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none"
5001
+ }, {
5002
+ default: withCtx(() => [
5003
+ renderSlot(_ctx.$slots, "default")
5004
+ ]),
5005
+ _: 3
5006
+ }),
5007
+ createVNode(_sfc_main$1a),
5008
+ createVNode(unref(ScrollAreaCorner))
5009
+ ]),
5010
+ _: 3
5011
+ }, 16, ["class"]);
5012
+ };
5013
+ }
5014
+ });
5015
+
5016
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
5044
5017
  __name: "Select",
5045
5018
  props: {
5046
5019
  open: { type: Boolean },
@@ -5071,7 +5044,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
5071
5044
  }
5072
5045
  });
5073
5046
 
5074
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5047
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
5075
5048
  ...{
5076
5049
  inheritAttrs: false
5077
5050
  },
@@ -5119,7 +5092,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5119
5092
  )
5120
5093
  }), {
5121
5094
  default: withCtx(() => [
5122
- createVNode(unref(_sfc_main$15)),
5095
+ createVNode(unref(_sfc_main$11)),
5123
5096
  createVNode(unref(SelectViewport), {
5124
5097
  class: normalizeClass(
5125
5098
  unref(cn)(
@@ -5133,7 +5106,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5133
5106
  ]),
5134
5107
  _: 3
5135
5108
  }, 8, ["class"]),
5136
- createVNode(unref(_sfc_main$16))
5109
+ createVNode(unref(_sfc_main$12))
5137
5110
  ]),
5138
5111
  _: 3
5139
5112
  }, 16, ["class"])
@@ -5144,7 +5117,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
5144
5117
  }
5145
5118
  });
5146
5119
 
5147
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
5120
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
5148
5121
  __name: "SelectGroup",
5149
5122
  props: {
5150
5123
  asChild: { type: Boolean },
@@ -5163,8 +5136,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
5163
5136
  }
5164
5137
  });
5165
5138
 
5166
- const _hoisted_1$3 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
5167
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
5139
+ const _hoisted_1$2 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
5140
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
5168
5141
  __name: "SelectItem",
5169
5142
  props: {
5170
5143
  value: {},
@@ -5189,7 +5162,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
5189
5162
  )
5190
5163
  }), {
5191
5164
  default: withCtx(() => [
5192
- createElementVNode("span", _hoisted_1$3, [
5165
+ createElementVNode("span", _hoisted_1$2, [
5193
5166
  createVNode(unref(SelectItemIndicator), null, {
5194
5167
  default: withCtx(() => [
5195
5168
  createVNode(unref(Check), { class: "size-4" })
@@ -5210,7 +5183,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
5210
5183
  }
5211
5184
  });
5212
5185
 
5213
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
5186
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
5214
5187
  __name: "SelectItemText",
5215
5188
  props: {
5216
5189
  asChild: { type: Boolean },
@@ -5229,7 +5202,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
5229
5202
  }
5230
5203
  });
5231
5204
 
5232
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
5205
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
5233
5206
  __name: "SelectLabel",
5234
5207
  props: {
5235
5208
  for: {},
@@ -5253,7 +5226,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
5253
5226
  }
5254
5227
  });
5255
5228
 
5256
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
5229
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
5257
5230
  __name: "SelectScrollDownButton",
5258
5231
  props: {
5259
5232
  asChild: { type: Boolean },
@@ -5282,7 +5255,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
5282
5255
  }
5283
5256
  });
5284
5257
 
5285
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
5258
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
5286
5259
  __name: "SelectScrollUpButton",
5287
5260
  props: {
5288
5261
  asChild: { type: Boolean },
@@ -5311,7 +5284,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
5311
5284
  }
5312
5285
  });
5313
5286
 
5314
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
5287
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
5315
5288
  __name: "SelectSeparator",
5316
5289
  props: {
5317
5290
  asChild: { type: Boolean },
@@ -5332,7 +5305,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
5332
5305
  }
5333
5306
  });
5334
5307
 
5335
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
5308
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
5336
5309
  __name: "SelectTrigger",
5337
5310
  props: {
5338
5311
  disabled: { type: Boolean },
@@ -5371,7 +5344,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
5371
5344
  }
5372
5345
  });
5373
5346
 
5374
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
5347
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
5375
5348
  __name: "SelectValue",
5376
5349
  props: {
5377
5350
  placeholder: {},
@@ -5391,69 +5364,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
5391
5364
  }
5392
5365
  });
5393
5366
 
5394
- const _hoisted_1$2 = { class: "flex w-full items-center justify-center gap-2" };
5395
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
5396
- __name: "Select",
5397
- props: {
5398
- autocomplete: {},
5399
- autofocus: {},
5400
- contentClass: {},
5401
- disabled: { type: Boolean },
5402
- modelValue: {},
5403
- placeholder: {},
5404
- required: { type: Boolean },
5405
- selectClass: {},
5406
- selectStyle: {},
5407
- triggerClass: {}
5408
- },
5409
- emits: ["update:modelValue"],
5410
- setup(__props, { emit: __emit }) {
5411
- const props = __props;
5412
- const emit = __emit;
5413
- const value = computed({
5414
- // eslint-disable-next-line no-undefined
5415
- get: () => props.modelValue ?? void 0,
5416
- set: (it) => emit("update:modelValue", it ?? null)
5417
- });
5418
- return (_ctx, _cache) => {
5419
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
5420
- createVNode(unref(_sfc_main$1c), {
5421
- modelValue: value.value,
5422
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
5423
- autocomplete: _ctx.autocomplete,
5424
- autofocus: _ctx.autofocus,
5425
- disabled: _ctx.disabled,
5426
- required: _ctx.required,
5427
- style: normalizeStyle(_ctx.selectStyle),
5428
- class: normalizeClass(_ctx.selectClass)
5429
- }, {
5430
- default: withCtx(() => [
5431
- createVNode(unref(_sfc_main$13), {
5432
- class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
5433
- }, {
5434
- default: withCtx(() => [
5435
- createVNode(unref(_sfc_main$12), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
5436
- ]),
5437
- _: 1
5438
- }, 8, ["class"]),
5439
- createVNode(unref(_sfc_main$1b), {
5440
- class: normalizeClass(_ctx.contentClass)
5441
- }, {
5442
- default: withCtx(() => [
5443
- renderSlot(_ctx.$slots, "default")
5444
- ]),
5445
- _: 3
5446
- }, 8, ["class"])
5447
- ]),
5448
- _: 3
5449
- }, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "required", "style", "class"]),
5450
- renderSlot(_ctx.$slots, "action")
5451
- ]);
5452
- };
5453
- }
5454
- });
5455
-
5456
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
5367
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
5457
5368
  __name: "Separator",
5458
5369
  props: {
5459
5370
  orientation: { default: "horizontal" },
@@ -5476,7 +5387,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
5476
5387
  }
5477
5388
  });
5478
5389
 
5479
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
5390
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
5480
5391
  __name: "Sheet",
5481
5392
  props: {
5482
5393
  open: { type: Boolean },
@@ -5499,7 +5410,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
5499
5410
  }
5500
5411
  });
5501
5412
 
5502
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
5413
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
5503
5414
  __name: "SheetClose",
5504
5415
  props: {
5505
5416
  asChild: { type: Boolean },
@@ -5518,7 +5429,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
5518
5429
  }
5519
5430
  });
5520
5431
 
5521
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
5432
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
5522
5433
  __name: "SheetOverlay",
5523
5434
  props: {
5524
5435
  forceMount: { type: Boolean },
@@ -5549,7 +5460,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
5549
5460
  }
5550
5461
  });
5551
5462
 
5552
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
5463
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
5553
5464
  ...{
5554
5465
  inheritAttrs: false
5555
5466
  },
@@ -5571,7 +5482,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
5571
5482
  return (_ctx, _cache) => {
5572
5483
  return openBlock(), createBlock(unref(DialogPortal), null, {
5573
5484
  default: withCtx(() => [
5574
- createVNode(_sfc_main$Z),
5485
+ createVNode(_sfc_main$W),
5575
5486
  createVNode(unref(DialogContent), mergeProps({
5576
5487
  "data-slot": "sheet-content",
5577
5488
  class: unref(cn)(
@@ -5603,7 +5514,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
5603
5514
  }
5604
5515
  });
5605
5516
 
5606
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
5517
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
5607
5518
  __name: "SheetDescription",
5608
5519
  props: {
5609
5520
  asChild: { type: Boolean },
@@ -5630,7 +5541,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
5630
5541
  }
5631
5542
  });
5632
5543
 
5633
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
5544
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
5634
5545
  __name: "SheetFooter",
5635
5546
  props: {
5636
5547
  class: {}
@@ -5648,7 +5559,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
5648
5559
  }
5649
5560
  });
5650
5561
 
5651
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
5562
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5652
5563
  __name: "SheetHeader",
5653
5564
  props: {
5654
5565
  class: {}
@@ -5666,7 +5577,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
5666
5577
  }
5667
5578
  });
5668
5579
 
5669
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
5580
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5670
5581
  __name: "SheetTitle",
5671
5582
  props: {
5672
5583
  asChild: { type: Boolean },
@@ -5693,7 +5604,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
5693
5604
  }
5694
5605
  });
5695
5606
 
5696
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
5607
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5697
5608
  __name: "SheetTrigger",
5698
5609
  props: {
5699
5610
  asChild: { type: Boolean },
@@ -5725,7 +5636,7 @@ const _hoisted_3 = {
5725
5636
  "data-sidebar": "sidebar",
5726
5637
  class: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
5727
5638
  };
5728
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
5639
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5729
5640
  ...{
5730
5641
  inheritAttrs: false
5731
5642
  },
@@ -5746,12 +5657,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5746
5657
  class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
5747
5658
  }, _ctx.$attrs), [
5748
5659
  renderSlot(_ctx.$slots, "default")
5749
- ], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$$), mergeProps({
5660
+ ], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$Y), mergeProps({
5750
5661
  key: 1,
5751
5662
  open: unref(openMobile)
5752
5663
  }, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
5753
5664
  default: withCtx(() => [
5754
- createVNode(unref(_sfc_main$Y), {
5665
+ createVNode(unref(_sfc_main$V), {
5755
5666
  "data-sidebar": "sidebar",
5756
5667
  "data-slot": "sidebar",
5757
5668
  "data-mobile": "true",
@@ -5762,16 +5673,16 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5762
5673
  })
5763
5674
  }, {
5764
5675
  default: withCtx(() => [
5765
- createVNode(_sfc_main$V, { class: "sr-only" }, {
5676
+ createVNode(_sfc_main$S, { class: "sr-only" }, {
5766
5677
  default: withCtx(() => [
5767
- createVNode(_sfc_main$U, null, {
5678
+ createVNode(_sfc_main$R, null, {
5768
5679
  default: withCtx(() => _cache[0] || (_cache[0] = [
5769
5680
  createTextVNode("Sidebar")
5770
5681
  ])),
5771
5682
  _: 1,
5772
5683
  __: [0]
5773
5684
  }),
5774
- createVNode(_sfc_main$X, null, {
5685
+ createVNode(_sfc_main$U, null, {
5775
5686
  default: withCtx(() => _cache[1] || (_cache[1] = [
5776
5687
  createTextVNode("Displays the mobile sidebar.")
5777
5688
  ])),
@@ -5826,7 +5737,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
5826
5737
  }
5827
5738
  });
5828
5739
 
5829
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
5740
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5830
5741
  __name: "SidebarContent",
5831
5742
  props: {
5832
5743
  class: {}
@@ -5850,7 +5761,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
5850
5761
  }
5851
5762
  });
5852
5763
 
5853
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5764
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5854
5765
  __name: "SidebarFooter",
5855
5766
  props: {
5856
5767
  class: {}
@@ -5869,7 +5780,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
5869
5780
  }
5870
5781
  });
5871
5782
 
5872
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
5783
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5873
5784
  __name: "SidebarGroup",
5874
5785
  props: {
5875
5786
  class: {}
@@ -5888,7 +5799,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5888
5799
  }
5889
5800
  });
5890
5801
 
5891
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
5802
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5892
5803
  __name: "SidebarGroupAction",
5893
5804
  props: {
5894
5805
  asChild: { type: Boolean },
@@ -5921,7 +5832,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5921
5832
  }
5922
5833
  });
5923
5834
 
5924
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
5835
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5925
5836
  __name: "SidebarGroupContent",
5926
5837
  props: {
5927
5838
  class: {}
@@ -5940,7 +5851,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
5940
5851
  }
5941
5852
  });
5942
5853
 
5943
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
5854
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
5944
5855
  __name: "SidebarGroupLabel",
5945
5856
  props: {
5946
5857
  asChild: { type: Boolean },
@@ -5972,7 +5883,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
5972
5883
  }
5973
5884
  });
5974
5885
 
5975
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
5886
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
5976
5887
  __name: "SidebarHeader",
5977
5888
  props: {
5978
5889
  class: {}
@@ -5991,7 +5902,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
5991
5902
  }
5992
5903
  });
5993
5904
 
5994
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
5905
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
5995
5906
  __name: "SidebarInput",
5996
5907
  props: {
5997
5908
  class: {}
@@ -5999,7 +5910,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
5999
5910
  setup(__props) {
6000
5911
  const props = __props;
6001
5912
  return (_ctx, _cache) => {
6002
- return openBlock(), createBlock(unref(_sfc_main$21), {
5913
+ return openBlock(), createBlock(unref(_sfc_main$1X), {
6003
5914
  "data-slot": "sidebar-input",
6004
5915
  "data-sidebar": "input",
6005
5916
  class: normalizeClass(unref(cn)("bg-background h-8 w-full shadow-none", props.class))
@@ -6013,7 +5924,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6013
5924
  }
6014
5925
  });
6015
5926
 
6016
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
5927
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6017
5928
  __name: "SidebarInset",
6018
5929
  props: {
6019
5930
  class: {}
@@ -6037,7 +5948,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
6037
5948
  }
6038
5949
  });
6039
5950
 
6040
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
5951
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6041
5952
  __name: "SidebarMenu",
6042
5953
  props: {
6043
5954
  class: {}
@@ -6056,7 +5967,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
6056
5967
  }
6057
5968
  });
6058
5969
 
6059
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
5970
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6060
5971
  __name: "SidebarMenuAction",
6061
5972
  props: {
6062
5973
  asChild: { type: Boolean },
@@ -6094,7 +6005,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
6094
6005
  }
6095
6006
  });
6096
6007
 
6097
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
6008
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
6098
6009
  __name: "SidebarMenuBadge",
6099
6010
  props: {
6100
6011
  class: {}
@@ -6123,7 +6034,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6123
6034
  }
6124
6035
  });
6125
6036
 
6126
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
6037
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6127
6038
  __name: "Tooltip",
6128
6039
  props: {
6129
6040
  defaultOpen: { type: Boolean },
@@ -6150,7 +6061,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
6150
6061
  }
6151
6062
  });
6152
6063
 
6153
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
6064
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
6154
6065
  ...{
6155
6066
  inheritAttrs: false
6156
6067
  },
@@ -6202,7 +6113,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
6202
6113
  }
6203
6114
  });
6204
6115
 
6205
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
6116
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6206
6117
  __name: "TooltipProvider",
6207
6118
  props: {
6208
6119
  delayDuration: { default: 0 },
@@ -6225,7 +6136,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
6225
6136
  }
6226
6137
  });
6227
6138
 
6228
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
6139
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
6229
6140
  __name: "TooltipTrigger",
6230
6141
  props: {
6231
6142
  reference: {},
@@ -6245,7 +6156,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6245
6156
  }
6246
6157
  });
6247
6158
 
6248
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
6159
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
6249
6160
  __name: "SidebarMenuButtonChild",
6250
6161
  props: {
6251
6162
  variant: { default: "default" },
@@ -6276,7 +6187,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
6276
6187
  }
6277
6188
  });
6278
6189
 
6279
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
6190
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
6280
6191
  ...{
6281
6192
  inheritAttrs: false
6282
6193
  },
@@ -6298,16 +6209,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6298
6209
  return delegated;
6299
6210
  });
6300
6211
  return (_ctx, _cache) => {
6301
- return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$B, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
6212
+ return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$y, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
6302
6213
  default: withCtx(() => [
6303
6214
  renderSlot(_ctx.$slots, "default")
6304
6215
  ]),
6305
6216
  _: 3
6306
- }, 16)) : (openBlock(), createBlock(unref(_sfc_main$F), { key: 1 }, {
6217
+ }, 16)) : (openBlock(), createBlock(unref(_sfc_main$C), { key: 1 }, {
6307
6218
  default: withCtx(() => [
6308
- createVNode(unref(_sfc_main$C), { "as-child": "" }, {
6219
+ createVNode(unref(_sfc_main$z), { "as-child": "" }, {
6309
6220
  default: withCtx(() => [
6310
- createVNode(_sfc_main$B, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
6221
+ createVNode(_sfc_main$y, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
6311
6222
  default: withCtx(() => [
6312
6223
  renderSlot(_ctx.$slots, "default")
6313
6224
  ]),
@@ -6316,7 +6227,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6316
6227
  ]),
6317
6228
  _: 3
6318
6229
  }),
6319
- createVNode(unref(_sfc_main$E), {
6230
+ createVNode(unref(_sfc_main$B), {
6320
6231
  side: "right",
6321
6232
  align: "center",
6322
6233
  hidden: unref(state) !== "collapsed" || unref(isMobile)
@@ -6335,7 +6246,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
6335
6246
  }
6336
6247
  });
6337
6248
 
6338
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
6249
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
6339
6250
  __name: "SidebarMenuItem",
6340
6251
  props: {
6341
6252
  class: {}
@@ -6354,7 +6265,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
6354
6265
  }
6355
6266
  });
6356
6267
 
6357
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
6268
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
6358
6269
  __name: "Skeleton",
6359
6270
  props: {
6360
6271
  class: {}
@@ -6370,7 +6281,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
6370
6281
  }
6371
6282
  });
6372
6283
 
6373
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
6284
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6374
6285
  __name: "SidebarMenuSkeleton",
6375
6286
  props: {
6376
6287
  showIcon: { type: Boolean },
@@ -6387,12 +6298,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
6387
6298
  "data-sidebar": "menu-skeleton",
6388
6299
  class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
6389
6300
  }, [
6390
- _ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$y), {
6301
+ _ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$v), {
6391
6302
  key: 0,
6392
6303
  class: "size-4 rounded-md",
6393
6304
  "data-sidebar": "menu-skeleton-icon"
6394
6305
  })) : createCommentVNode("", true),
6395
- createVNode(unref(_sfc_main$y), {
6306
+ createVNode(unref(_sfc_main$v), {
6396
6307
  class: "h-4 max-w-(--skeleton-width) flex-1",
6397
6308
  "data-sidebar": "menu-skeleton-text",
6398
6309
  style: normalizeStyle({ "--skeleton-width": width.value })
@@ -6402,7 +6313,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
6402
6313
  }
6403
6314
  });
6404
6315
 
6405
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
6316
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
6406
6317
  __name: "SidebarMenuSub",
6407
6318
  props: {
6408
6319
  class: {}
@@ -6427,7 +6338,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
6427
6338
  }
6428
6339
  });
6429
6340
 
6430
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
6341
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
6431
6342
  __name: "SidebarMenuSubButton",
6432
6343
  props: {
6433
6344
  asChild: { type: Boolean },
@@ -6466,7 +6377,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
6466
6377
  }
6467
6378
  });
6468
6379
 
6469
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
6380
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6470
6381
  __name: "SidebarMenuSubItem",
6471
6382
  props: {
6472
6383
  class: {}
@@ -6485,7 +6396,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6485
6396
  }
6486
6397
  });
6487
6398
 
6488
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
6399
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
6489
6400
  __name: "SidebarProvider",
6490
6401
  props: {
6491
6402
  defaultOpen: { type: Boolean, default: true },
@@ -6545,7 +6456,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
6545
6456
  }
6546
6457
  });
6547
6458
 
6548
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
6459
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
6549
6460
  __name: "SidebarRail",
6550
6461
  props: {
6551
6462
  class: {}
@@ -6580,7 +6491,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
6580
6491
  }
6581
6492
  });
6582
6493
 
6583
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
6494
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
6584
6495
  __name: "SidebarSeparator",
6585
6496
  props: {
6586
6497
  class: {}
@@ -6588,7 +6499,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6588
6499
  setup(__props) {
6589
6500
  const props = __props;
6590
6501
  return (_ctx, _cache) => {
6591
- return openBlock(), createBlock(unref(_sfc_main$10), {
6502
+ return openBlock(), createBlock(unref(_sfc_main$Z), {
6592
6503
  "data-slot": "sidebar-separator",
6593
6504
  "data-sidebar": "separator",
6594
6505
  class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
@@ -6602,7 +6513,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6602
6513
  }
6603
6514
  });
6604
6515
 
6605
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
6516
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
6606
6517
  __name: "SidebarTrigger",
6607
6518
  props: {
6608
6519
  class: {}
@@ -6611,7 +6522,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
6611
6522
  const props = __props;
6612
6523
  const { toggleSidebar } = useSidebar();
6613
6524
  return (_ctx, _cache) => {
6614
- return openBlock(), createBlock(unref(_sfc_main$3A), {
6525
+ return openBlock(), createBlock(unref(_sfc_main$3x), {
6615
6526
  "data-sidebar": "trigger",
6616
6527
  "data-slot": "sidebar-trigger",
6617
6528
  variant: "ghost",
@@ -6651,7 +6562,7 @@ const sidebarMenuButtonVariants = cva(
6651
6562
  }
6652
6563
  );
6653
6564
 
6654
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
6565
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
6655
6566
  __name: "Slider",
6656
6567
  props: {
6657
6568
  defaultValue: {},
@@ -6715,7 +6626,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
6715
6626
  }
6716
6627
  });
6717
6628
 
6718
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
6629
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
6719
6630
  __name: "Sonner",
6720
6631
  props: {
6721
6632
  invert: { type: Boolean },
@@ -6750,7 +6661,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
6750
6661
  }
6751
6662
  });
6752
6663
 
6753
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
6664
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6754
6665
  __name: "Switch",
6755
6666
  props: {
6756
6667
  defaultValue: { type: Boolean },
@@ -6801,36 +6712,50 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
6801
6712
  }
6802
6713
  });
6803
6714
 
6804
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
6805
- __name: "Switch",
6806
- props: /* @__PURE__ */ mergeModels({
6807
- disabled: { type: Boolean }
6808
- }, {
6809
- "modelValue": { type: Boolean, ...{ required: true } },
6810
- "modelModifiers": {}
6811
- }),
6812
- emits: ["update:modelValue"],
6715
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6716
+ __name: "Table",
6717
+ props: {
6718
+ class: {},
6719
+ height: {},
6720
+ style: {},
6721
+ tableClass: {},
6722
+ tableStyle: {},
6723
+ width: {}
6724
+ },
6813
6725
  setup(__props) {
6814
- const toggled = useModel(__props, "modelValue");
6815
- return (_ctx, _cache) => {
6816
- return openBlock(), createBlock(unref(_sfc_main$n), {
6817
- modelValue: toggled.value,
6818
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => toggled.value = $event),
6819
- disabled: _ctx.disabled
6820
- }, createSlots({ _: 2 }, [
6821
- _ctx.$slots.thumb ? {
6822
- name: "thumb",
6823
- fn: withCtx(() => [
6824
- renderSlot(_ctx.$slots, "thumb")
6825
- ]),
6826
- key: "0"
6827
- } : void 0
6828
- ]), 1032, ["modelValue", "disabled"]);
6726
+ const props = __props;
6727
+ const containerHeight = computed(() => {
6728
+ return props.height ? { maxHeight: toPixel(props.height) } : null;
6729
+ });
6730
+ const containerWidth = computed(() => {
6731
+ return props.width ? { maxWidth: toPixel(props.width) } : null;
6732
+ });
6733
+ return (_ctx, _cache) => {
6734
+ return openBlock(), createElementBlock("div", {
6735
+ "data-slot": "table-container",
6736
+ style: normalizeStyle([containerHeight.value, containerWidth.value, _ctx.style]),
6737
+ class: normalizeClass(
6738
+ unref(cn)(
6739
+ "relative w-full",
6740
+ containerWidth.value ? "overflow-x-auto" : "overflow-x-hidden",
6741
+ containerHeight.value ? "overflow-y-auto" : "overflow-y-hidden",
6742
+ props.class
6743
+ )
6744
+ )
6745
+ }, [
6746
+ createElementVNode("table", {
6747
+ "data-slot": "table",
6748
+ style: normalizeStyle(_ctx.tableStyle),
6749
+ class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", props.tableClass))
6750
+ }, [
6751
+ renderSlot(_ctx.$slots, "default")
6752
+ ], 6)
6753
+ ], 6);
6829
6754
  };
6830
6755
  }
6831
6756
  });
6832
6757
 
6833
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
6758
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6834
6759
  __name: "TableBody",
6835
6760
  props: {
6836
6761
  class: {}
@@ -6848,7 +6773,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
6848
6773
  }
6849
6774
  });
6850
6775
 
6851
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
6776
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6852
6777
  __name: "TableCaption",
6853
6778
  props: {
6854
6779
  class: {}
@@ -6866,7 +6791,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6866
6791
  }
6867
6792
  });
6868
6793
 
6869
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
6794
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6870
6795
  __name: "TableCell",
6871
6796
  props: {
6872
6797
  class: {}
@@ -6889,7 +6814,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6889
6814
  }
6890
6815
  });
6891
6816
 
6892
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
6817
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6893
6818
  __name: "TableRow",
6894
6819
  props: {
6895
6820
  class: {}
@@ -6910,7 +6835,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6910
6835
  });
6911
6836
 
6912
6837
  const _hoisted_1 = { class: "flex items-center justify-center py-10" };
6913
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
6838
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6914
6839
  __name: "TableEmpty",
6915
6840
  props: {
6916
6841
  class: {},
@@ -6923,9 +6848,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6923
6848
  return delegated;
6924
6849
  });
6925
6850
  return (_ctx, _cache) => {
6926
- return openBlock(), createBlock(_sfc_main$i, null, {
6851
+ return openBlock(), createBlock(_sfc_main$f, null, {
6927
6852
  default: withCtx(() => [
6928
- createVNode(_sfc_main$j, mergeProps({
6853
+ createVNode(_sfc_main$g, mergeProps({
6929
6854
  class: unref(cn)("text-foreground p-4 align-middle text-sm whitespace-nowrap", props.class)
6930
6855
  }, delegatedProps.value), {
6931
6856
  default: withCtx(() => [
@@ -6942,7 +6867,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6942
6867
  }
6943
6868
  });
6944
6869
 
6945
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
6870
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6946
6871
  __name: "TableFooter",
6947
6872
  props: {
6948
6873
  class: {}
@@ -6960,7 +6885,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6960
6885
  }
6961
6886
  });
6962
6887
 
6963
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
6888
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6964
6889
  __name: "TableHead",
6965
6890
  props: {
6966
6891
  class: {}
@@ -6983,7 +6908,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6983
6908
  }
6984
6909
  });
6985
6910
 
6986
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
6911
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
6987
6912
  __name: "TableHeader",
6988
6913
  props: {
6989
6914
  class: {}
@@ -7001,124 +6926,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
7001
6926
  }
7002
6927
  });
7003
6928
 
7004
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
7005
- __name: "Table",
7006
- props: {
7007
- bodyClass: {},
7008
- bodyStyle: {},
7009
- captionClass: {},
7010
- captionStyle: {},
7011
- class: {},
7012
- footerClass: {},
7013
- footerStyle: {},
7014
- headerClass: {},
7015
- headerStyle: {},
7016
- height: {},
7017
- style: {},
7018
- tableClass: {},
7019
- tableStyle: {},
7020
- width: {}
7021
- },
7022
- setup(__props) {
7023
- const props = __props;
7024
- const containerHeight = computed(() => {
7025
- return props.height ? { maxHeight: toPixel(props.height) } : null;
7026
- });
7027
- const containerWidth = computed(() => {
7028
- return props.width ? { maxWidth: toPixel(props.width) } : null;
7029
- });
7030
- return (_ctx, _cache) => {
7031
- return openBlock(), createElementBlock("div", {
7032
- "data-slot": "table-container",
7033
- style: normalizeStyle([containerHeight.value, containerWidth.value, _ctx.style]),
7034
- class: normalizeClass(
7035
- unref(cn)(
7036
- "relative w-full",
7037
- containerWidth.value ? "overflow-x-auto" : "overflow-x-hidden",
7038
- containerHeight.value ? "overflow-y-auto" : "overflow-y-hidden",
7039
- props.class
7040
- )
7041
- )
7042
- }, [
7043
- createElementVNode("table", {
7044
- "data-slot": "table",
7045
- style: normalizeStyle(_ctx.tableStyle),
7046
- class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", props.tableClass))
7047
- }, [
7048
- _ctx.$slots.caption ? (openBlock(), createBlock(unref(_sfc_main$k), {
7049
- key: 0,
7050
- style: normalizeStyle(_ctx.captionStyle),
7051
- class: normalizeClass(_ctx.captionClass)
7052
- }, {
7053
- default: withCtx(() => [
7054
- renderSlot(_ctx.$slots, "caption")
7055
- ]),
7056
- _: 3
7057
- }, 8, ["style", "class"])) : createCommentVNode("", true),
7058
- _ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$e), {
7059
- key: 1,
7060
- style: normalizeStyle(_ctx.headerStyle),
7061
- class: normalizeClass(_ctx.headerClass)
7062
- }, {
7063
- default: withCtx(() => [
7064
- renderSlot(_ctx.$slots, "header")
7065
- ]),
7066
- _: 3
7067
- }, 8, ["style", "class"])) : createCommentVNode("", true),
7068
- createVNode(unref(_sfc_main$l), {
7069
- style: normalizeStyle(_ctx.bodyStyle),
7070
- class: normalizeClass(_ctx.bodyClass)
7071
- }, {
7072
- default: withCtx(() => [
7073
- renderSlot(_ctx.$slots, "default")
7074
- ]),
7075
- _: 3
7076
- }, 8, ["style", "class"]),
7077
- _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$g), {
7078
- key: 2,
7079
- style: normalizeStyle(_ctx.footerStyle),
7080
- class: normalizeClass(_ctx.footerClass)
7081
- }, {
7082
- default: withCtx(() => [
7083
- renderSlot(_ctx.$slots, "footer")
7084
- ]),
7085
- _: 3
7086
- }, 8, ["style", "class"])) : createCommentVNode("", true)
7087
- ], 6)
7088
- ], 6);
7089
- };
7090
- }
7091
- });
7092
-
7093
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
7094
- __name: "TableLink",
7095
- props: {
7096
- label: {},
7097
- linkClass: {},
7098
- to: {}
7099
- },
7100
- setup(__props) {
7101
- return (_ctx, _cache) => {
7102
- return openBlock(), createBlock(unref(_sfc_main$j), null, {
7103
- default: withCtx(() => [
7104
- createVNode(unref(_sfc_main$1T), {
7105
- to: _ctx.to,
7106
- label: _ctx.label,
7107
- class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
7108
- }, {
7109
- default: withCtx(() => [
7110
- renderSlot(_ctx.$slots, "default")
7111
- ]),
7112
- _: 3
7113
- }, 8, ["to", "label", "class"])
7114
- ]),
7115
- _: 3
7116
- });
7117
- };
7118
- }
7119
- });
7120
-
7121
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
6929
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7122
6930
  __name: "Tabs",
7123
6931
  props: {
7124
6932
  defaultValue: {},
@@ -7150,7 +6958,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7150
6958
  }
7151
6959
  });
7152
6960
 
7153
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
6961
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7154
6962
  __name: "TabsContent",
7155
6963
  props: {
7156
6964
  value: {},
@@ -7179,7 +6987,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7179
6987
  }
7180
6988
  });
7181
6989
 
7182
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6990
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7183
6991
  __name: "TabsList",
7184
6992
  props: {
7185
6993
  loop: { type: Boolean },
@@ -7209,7 +7017,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7209
7017
  }
7210
7018
  });
7211
7019
 
7212
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7020
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7213
7021
  __name: "TabsTrigger",
7214
7022
  props: {
7215
7023
  value: {},
@@ -7241,7 +7049,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7241
7049
  }
7242
7050
  });
7243
7051
 
7244
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7052
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7245
7053
  __name: "TagsInput",
7246
7054
  props: {
7247
7055
  modelValue: {},
@@ -7288,7 +7096,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7288
7096
  }
7289
7097
  });
7290
7098
 
7291
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7099
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
7292
7100
  __name: "TagsInputInput",
7293
7101
  props: {
7294
7102
  placeholder: {},
@@ -7313,7 +7121,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7313
7121
  }
7314
7122
  });
7315
7123
 
7316
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
7124
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7317
7125
  __name: "TagsInputItem",
7318
7126
  props: {
7319
7127
  value: {},
@@ -7345,7 +7153,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
7345
7153
  }
7346
7154
  });
7347
7155
 
7348
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7156
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7349
7157
  __name: "TagsInputItemDelete",
7350
7158
  props: {
7351
7159
  asChild: { type: Boolean },
@@ -7374,7 +7182,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7374
7182
  }
7375
7183
  });
7376
7184
 
7377
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7185
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7378
7186
  __name: "TagsInputItemText",
7379
7187
  props: {
7380
7188
  asChild: { type: Boolean },
@@ -7396,7 +7204,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7396
7204
  }
7397
7205
  });
7398
7206
 
7399
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7207
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7400
7208
  __name: "Textarea",
7401
7209
  props: {
7402
7210
  class: {},
@@ -7428,77 +7236,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7428
7236
  }
7429
7237
  });
7430
7238
 
7431
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7432
- ...{
7433
- inheritAttrs: false
7434
- },
7435
- __name: "Textarea",
7436
- props: {
7437
- autocapitalize: {},
7438
- autocomplete: { default: "off" },
7439
- autocorrect: { default: "off" },
7440
- autofocus: {},
7441
- class: {},
7442
- cols: {},
7443
- disabled: { type: Boolean },
7444
- height: {},
7445
- max: {},
7446
- min: {},
7447
- modelValue: {},
7448
- onBlur: {},
7449
- placeholder: {},
7450
- readonly: {},
7451
- required: {},
7452
- rows: {},
7453
- spellcheck: { default: "false" },
7454
- style: {}
7455
- },
7456
- emits: ["update:modelValue"],
7457
- setup(__props, { expose: __expose, emit: __emit }) {
7458
- const props = __props;
7459
- const emit = __emit;
7460
- const component = useTemplateRef("textareaComponent");
7461
- const textareaEl = computed(() => {
7462
- return component.value?.$el;
7463
- });
7464
- const value = computed({
7465
- // eslint-disable-next-line no-undefined
7466
- get: () => props.modelValue ?? void 0,
7467
- set: (it) => emit("update:modelValue", it ?? null)
7468
- });
7469
- const textareaHeight = computed(() => {
7470
- return props.height ? { height: toPixel(props.height) } : null;
7471
- });
7472
- __expose({ textareaEl });
7473
- return (_ctx, _cache) => {
7474
- return openBlock(), createBlock(unref(_sfc_main$2), mergeProps({ ref: "textareaComponent" }, _ctx.$attrs, {
7475
- modelValue: value.value,
7476
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
7477
- modelModifiers: { trim: true },
7478
- autocapitalize: _ctx.autocapitalize,
7479
- autocomplete: _ctx.autocomplete,
7480
- autocorrect: _ctx.autocorrect,
7481
- autofocus: _ctx.autofocus,
7482
- cols: _ctx.cols,
7483
- disabled: _ctx.disabled,
7484
- maxlength: _ctx.max,
7485
- minlength: _ctx.min,
7486
- placeholder: _ctx.placeholder,
7487
- readonly: _ctx.readonly,
7488
- required: _ctx.required,
7489
- rows: _ctx.rows,
7490
- spellcheck: _ctx.spellcheck,
7491
- style: [textareaHeight.value, _ctx.style],
7492
- class: unref(cn)(
7493
- "size-full resize-none font-normal focus-visible:ring-0 disabled:cursor-default",
7494
- props.class
7495
- ),
7496
- onBlur: _ctx.onBlur
7497
- }), null, 16, ["modelValue", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "cols", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "spellcheck", "style", "class", "onBlur"]);
7498
- };
7499
- }
7500
- });
7501
-
7502
7239
  const _sfc_main = /* @__PURE__ */ defineComponent({
7503
7240
  __name: "Toggle",
7504
7241
  props: {
@@ -7553,4 +7290,4 @@ const toggleVariants = cva(
7553
7290
  }
7554
7291
  );
7555
7292
 
7556
- export { _sfc_main$3I as Accordion, _sfc_main$3H as AccordionContent, _sfc_main$3G as AccordionItem, _sfc_main$3F as AccordionTrigger, _sfc_main$3E as Alert, _sfc_main$3D as AlertDescription, _sfc_main$3B as AlertDialog, _sfc_main$3z as AlertDialogAction, _sfc_main$3y as AlertDialogCancel, _sfc_main$3x as AlertDialogContent, _sfc_main$3w as AlertDialogDescription, _sfc_main$3v as AlertDialogFooter, _sfc_main$3u as AlertDialogHeader, _sfc_main$3t as AlertDialogTitle, _sfc_main$3s as AlertDialogTrigger, _sfc_main$3C as AlertTitle, _sfc_main$3r as Avatar, _sfc_main$3q as AvatarFallback, _sfc_main$3p as AvatarImage, _sfc_main$3o as Badge, _sfc_main$3A as Button, _sfc_main$3l as ButtonIcon, _sfc_main$3m as ButtonLink, _sfc_main$3b as Calendar, _sfc_main$3a as CalendarCell, _sfc_main$39 as CalendarCellTrigger, _sfc_main$38 as CalendarGrid, _sfc_main$37 as CalendarGridBody, _sfc_main$36 as CalendarGridHead, _sfc_main$35 as CalendarGridRow, _sfc_main$34 as CalendarHeadCell, _sfc_main$33 as CalendarHeader, _sfc_main$32 as CalendarHeading, _sfc_main$31 as CalendarNextButton, _sfc_main$30 as CalendarPrevButton, _sfc_main$3c as Card, _sfc_main$2_ as Checkbox, _sfc_main$2Z as Combobox, _sfc_main$2Y as ComboboxAnchor, _sfc_main$2X as ComboboxEmpty, _sfc_main$2W as ComboboxGroup, _sfc_main$2V as ComboboxInput, _sfc_main$2U as ComboboxItem, _sfc_main$2T as ComboboxItemIndicator, _sfc_main$2S as ComboboxList, _sfc_main$2R as ComboboxSeparator, _sfc_main$2Q as ComboboxViewport, _sfc_main$2P as ContextMenu, _sfc_main$2O as ContextMenuCheckboxItem, _sfc_main$2N as ContextMenuContent, _sfc_main$2M as ContextMenuGroup, _sfc_main$2L as ContextMenuItem, _sfc_main$2K as ContextMenuLabel, _sfc_main$2J as ContextMenuRadioGroup, _sfc_main$2I as ContextMenuRadioItem, _sfc_main$2H as ContextMenuSeparator, _sfc_main$2G as ContextMenuShortcut, _sfc_main$2F as ContextMenuSub, _sfc_main$2E as ContextMenuSubContent, _sfc_main$2D as ContextMenuSubTrigger, _sfc_main$2C as ContextMenuTrigger, _sfc_main$2B as Dialog, _sfc_main$2A as DialogClose, _sfc_main$2y as DialogContent, _sfc_main$2x as DialogDescription, _sfc_main$2w as DialogFooter, _sfc_main$2v as DialogHeader, _sfc_main$2z as DialogOverlay, _sfc_main$2u as DialogScrollContent, _sfc_main$2t as DialogTitle, _sfc_main$2s as DialogTrigger, _sfc_main$2r as Drawer, _sfc_main$2q as DrawerClose, _sfc_main$2o as DrawerContent, _sfc_main$2n as DrawerDescription, _sfc_main$2m as DrawerFooter, _sfc_main$2l as DrawerHeader, _sfc_main$2p as DrawerOverlay, _sfc_main$2k as DrawerTitle, _sfc_main$2j as DrawerTrigger, _sfc_main$2i as DropdownMenu, _sfc_main$2h as DropdownMenuCheckboxItem, _sfc_main$2g as DropdownMenuContent, _sfc_main$2f as DropdownMenuGroup, _sfc_main$2e as DropdownMenuItem, _sfc_main$2d as DropdownMenuLabel, _sfc_main$2c as DropdownMenuRadioGroup, _sfc_main$2b as DropdownMenuRadioItem, _sfc_main$2a as DropdownMenuSeparator, _sfc_main$29 as DropdownMenuShortcut, _sfc_main$28 as DropdownMenuSub, _sfc_main$27 as DropdownMenuSubContent, _sfc_main$26 as DropdownMenuSubTrigger, _sfc_main$25 as DropdownMenuTrigger, _sfc_main$24 as HoverCard, _sfc_main$23 as HoverCardContent, _sfc_main$22 as HoverCardTrigger, _sfc_main$20 as Input, _sfc_main$1W as InputNumber, _sfc_main$1V as InputText, _sfc_main$1U as Label, _sfc_main$1T as Link, Loading, _sfc_main$1R as Menubar, _sfc_main$1Q as MenubarCheckboxItem, _sfc_main$1P as MenubarContent, _sfc_main$1O as MenubarGroup, _sfc_main$1N as MenubarItem, _sfc_main$1M as MenubarLabel, _sfc_main$1L as MenubarMenu, _sfc_main$1K as MenubarRadioGroup, _sfc_main$1J as MenubarRadioItem, _sfc_main$1I as MenubarSeparator, _sfc_main$1H as MenubarShortcut, _sfc_main$1G as MenubarSub, _sfc_main$1F as MenubarSubContent, _sfc_main$1E as MenubarSubTrigger, _sfc_main$1D as MenubarTrigger, _sfc_main$1B as NavigationMenu, _sfc_main$1A as NavigationMenuContent, _sfc_main$1z as NavigationMenuIndicator, _sfc_main$1y as NavigationMenuItem, _sfc_main$1x as NavigationMenuLink, _sfc_main$1w as NavigationMenuList, _sfc_main$1v as NavigationMenuTrigger, _sfc_main$1C as NavigationMenuViewport, _sfc_main$1u as Pagination, _sfc_main$1t as PaginationContent, _sfc_main$1s as PaginationEllipsis, _sfc_main$1r as PaginationFirst, _sfc_main$1q as PaginationItem, _sfc_main$1p as PaginationLast, _sfc_main$1o as PaginationNext, _sfc_main$1n as PaginationPrevious, _sfc_main$1m as Popover, _sfc_main$1l as PopoverAnchor, _sfc_main$1k as PopoverContent, _sfc_main$1j as PopoverTrigger, _sfc_main$1i as Progress, _sfc_main$1h as RadioGroup, _sfc_main$1g as RadioGroupItem, _sfc_main$1f as ResizableHandle, _sfc_main$1e as ResizablePanel, _sfc_main$1d as ResizablePanelGroup, _sfc_main$3j as ScrollArea, _sfc_main$11 as Select, _sfc_main$1a as SelectGroup, _sfc_main$19 as SelectItem, _sfc_main$18 as SelectItemText, _sfc_main$17 as SelectLabel, _sfc_main$16 as SelectScrollDownButton, _sfc_main$15 as SelectScrollUpButton, _sfc_main$14 as SelectSeparator, _sfc_main$10 as Separator, _sfc_main$$ as Sheet, _sfc_main$_ as SheetClose, _sfc_main$Y as SheetContent, _sfc_main$X as SheetDescription, _sfc_main$W as SheetFooter, _sfc_main$V as SheetHeader, _sfc_main$U as SheetTitle, _sfc_main$T as SheetTrigger, _sfc_main$S as Sidebar, _sfc_main$R as SidebarContent, _sfc_main$Q as SidebarFooter, _sfc_main$P as SidebarGroup, _sfc_main$O as SidebarGroupAction, _sfc_main$N as SidebarGroupContent, _sfc_main$M as SidebarGroupLabel, _sfc_main$L as SidebarHeader, _sfc_main$K as SidebarInput, _sfc_main$J as SidebarInset, _sfc_main$I as SidebarMenu, _sfc_main$H as SidebarMenuAction, _sfc_main$G as SidebarMenuBadge, _sfc_main$A as SidebarMenuButton, _sfc_main$z as SidebarMenuItem, _sfc_main$x as SidebarMenuSkeleton, _sfc_main$w as SidebarMenuSub, _sfc_main$v as SidebarMenuSubButton, _sfc_main$u as SidebarMenuSubItem, _sfc_main$t as SidebarProvider, _sfc_main$s as SidebarRail, _sfc_main$r as SidebarSeparator, _sfc_main$q as SidebarTrigger, _sfc_main$y as Skeleton, _sfc_main$p as Slider, _sfc_main$o as Sonner, _sfc_main$m as Switch, _sfc_main$d as Table, _sfc_main$l as TableBody, _sfc_main$k as TableCaption, _sfc_main$j as TableCell, _sfc_main$h as TableEmpty, _sfc_main$g as TableFooter, _sfc_main$f as TableHead, _sfc_main$e as TableHeader, _sfc_main$c as TableLink, _sfc_main$i as TableRow, _sfc_main$b as Tabs, _sfc_main$a as TabsContent, _sfc_main$9 as TabsList, _sfc_main$8 as TabsTrigger, _sfc_main$7 as TagsInput, _sfc_main$6 as TagsInputInput, _sfc_main$5 as TagsInputItem, _sfc_main$4 as TagsInputItemDelete, _sfc_main$3 as TagsInputItemText, _sfc_main$1 as Textarea, _sfc_main as Toggle, _sfc_main$F as Tooltip, _sfc_main$E as TooltipContent, _sfc_main$D as TooltipProvider, _sfc_main$C as TooltipTrigger, cn, navigationMenuTriggerStyle, sidebarMenuButtonVariants, toBooleanCheckboxValue, useSidebar };
7293
+ export { _sfc_main$3F as Accordion, _sfc_main$3E as AccordionContent, _sfc_main$3D as AccordionItem, _sfc_main$3C as AccordionTrigger, _sfc_main$3B as Alert, _sfc_main$3A as AlertDescription, _sfc_main$3y as AlertDialog, _sfc_main$3w as AlertDialogAction, _sfc_main$3v as AlertDialogCancel, _sfc_main$3u as AlertDialogContent, _sfc_main$3t as AlertDialogDescription, _sfc_main$3s as AlertDialogFooter, _sfc_main$3r as AlertDialogHeader, _sfc_main$3q as AlertDialogTitle, _sfc_main$3p as AlertDialogTrigger, _sfc_main$3z as AlertTitle, _sfc_main$3o as Avatar, _sfc_main$3n as AvatarFallback, _sfc_main$3m as AvatarImage, _sfc_main$3l as Badge, _sfc_main$3x as Button, _sfc_main$3d as Calendar, _sfc_main$3c as CalendarCell, _sfc_main$3b as CalendarCellTrigger, _sfc_main$3a as CalendarGrid, _sfc_main$39 as CalendarGridBody, _sfc_main$38 as CalendarGridHead, _sfc_main$37 as CalendarGridRow, _sfc_main$36 as CalendarHeadCell, _sfc_main$35 as CalendarHeader, _sfc_main$34 as CalendarHeading, _sfc_main$33 as CalendarNextButton, _sfc_main$32 as CalendarPrevButton, _sfc_main$3k as Card, _sfc_main$3j as CardAction, _sfc_main$3i as CardContent, _sfc_main$3h as CardDescription, _sfc_main$3g as CardFooter, _sfc_main$3f as CardHeader, _sfc_main$3e as CardTitle, _sfc_main$31 as Checkbox, _sfc_main$30 as Combobox, _sfc_main$2$ as ComboboxAnchor, _sfc_main$2_ as ComboboxEmpty, _sfc_main$2Z as ComboboxGroup, _sfc_main$2Y as ComboboxInput, _sfc_main$2X as ComboboxItem, _sfc_main$2W as ComboboxItemIndicator, _sfc_main$2V as ComboboxList, _sfc_main$2U as ComboboxSeparator, _sfc_main$2T as ComboboxViewport, _sfc_main$2S as Command, _sfc_main$2H as CommandDialog, _sfc_main$2G as CommandEmpty, _sfc_main$2F as CommandGroup, _sfc_main$2E as CommandInput, _sfc_main$2D as CommandItem, _sfc_main$2C as CommandList, _sfc_main$2B as CommandSeparator, _sfc_main$2A as CommandShortcut, _sfc_main$2z as ContextMenu, _sfc_main$2y as ContextMenuCheckboxItem, _sfc_main$2x as ContextMenuContent, _sfc_main$2w as ContextMenuGroup, _sfc_main$2v as ContextMenuItem, _sfc_main$2u as ContextMenuLabel, _sfc_main$2t as ContextMenuRadioGroup, _sfc_main$2s as ContextMenuRadioItem, _sfc_main$2r as ContextMenuSeparator, _sfc_main$2q as ContextMenuShortcut, _sfc_main$2p as ContextMenuSub, _sfc_main$2o as ContextMenuSubContent, _sfc_main$2n as ContextMenuSubTrigger, _sfc_main$2m as ContextMenuTrigger, _sfc_main$2R as Dialog, _sfc_main$2Q as DialogClose, _sfc_main$2O as DialogContent, _sfc_main$2N as DialogDescription, _sfc_main$2M as DialogFooter, _sfc_main$2L as DialogHeader, _sfc_main$2P as DialogOverlay, _sfc_main$2K as DialogScrollContent, _sfc_main$2J as DialogTitle, _sfc_main$2I as DialogTrigger, _sfc_main$2l as Drawer, _sfc_main$2k as DrawerClose, _sfc_main$2i as DrawerContent, _sfc_main$2h as DrawerDescription, _sfc_main$2g as DrawerFooter, _sfc_main$2f as DrawerHeader, _sfc_main$2j as DrawerOverlay, _sfc_main$2e as DrawerTitle, _sfc_main$2d as DrawerTrigger, _sfc_main$2c as DropdownMenu, _sfc_main$2b as DropdownMenuCheckboxItem, _sfc_main$2a as DropdownMenuContent, _sfc_main$29 as DropdownMenuGroup, _sfc_main$28 as DropdownMenuItem, _sfc_main$27 as DropdownMenuLabel, _sfc_main$26 as DropdownMenuRadioGroup, _sfc_main$25 as DropdownMenuRadioItem, _sfc_main$24 as DropdownMenuSeparator, _sfc_main$23 as DropdownMenuShortcut, _sfc_main$22 as DropdownMenuSub, _sfc_main$21 as DropdownMenuSubContent, _sfc_main$20 as DropdownMenuSubTrigger, _sfc_main$1$ as DropdownMenuTrigger, _sfc_main$1_ as HoverCard, _sfc_main$1Z as HoverCardContent, _sfc_main$1Y as HoverCardTrigger, _sfc_main$1X as Input, _sfc_main$1W as Label, Loading, _sfc_main$1U as Menubar, _sfc_main$1T as MenubarCheckboxItem, _sfc_main$1S as MenubarContent, _sfc_main$1R as MenubarGroup, _sfc_main$1Q as MenubarItem, _sfc_main$1P as MenubarLabel, _sfc_main$1O as MenubarMenu, _sfc_main$1N as MenubarRadioGroup, _sfc_main$1M as MenubarRadioItem, _sfc_main$1L as MenubarSeparator, _sfc_main$1K as MenubarShortcut, _sfc_main$1J as MenubarSub, _sfc_main$1I as MenubarSubContent, _sfc_main$1H as MenubarSubTrigger, _sfc_main$1G as MenubarTrigger, _sfc_main$1E as NavigationMenu, _sfc_main$1D as NavigationMenuContent, _sfc_main$1C as NavigationMenuIndicator, _sfc_main$1B as NavigationMenuItem, _sfc_main$1A as NavigationMenuLink, _sfc_main$1z as NavigationMenuList, _sfc_main$1y as NavigationMenuTrigger, _sfc_main$1F as NavigationMenuViewport, _sfc_main$1x as NumberField, _sfc_main$1w as NumberFieldContent, _sfc_main$1v as NumberFieldDecrement, _sfc_main$1u as NumberFieldIncrement, _sfc_main$1t as NumberFieldInput, _sfc_main$1s as Pagination, _sfc_main$1r as PaginationContent, _sfc_main$1q as PaginationEllipsis, _sfc_main$1p as PaginationFirst, _sfc_main$1o as PaginationItem, _sfc_main$1n as PaginationLast, _sfc_main$1m as PaginationNext, _sfc_main$1l as PaginationPrevious, _sfc_main$1k as Popover, _sfc_main$1j as PopoverAnchor, _sfc_main$1i as PopoverContent, _sfc_main$1h as PopoverTrigger, _sfc_main$1g as Progress, _sfc_main$1f as RadioGroup, _sfc_main$1e as RadioGroupItem, _sfc_main$1d as ResizableHandle, _sfc_main$1c as ResizablePanel, _sfc_main$1b as ResizablePanelGroup, _sfc_main$19 as ScrollArea, _sfc_main$18 as Select, _sfc_main$17 as SelectContent, _sfc_main$16 as SelectGroup, _sfc_main$15 as SelectItem, _sfc_main$14 as SelectItemText, _sfc_main$13 as SelectLabel, _sfc_main$12 as SelectScrollDownButton, _sfc_main$11 as SelectScrollUpButton, _sfc_main$10 as SelectSeparator, _sfc_main$$ as SelectTrigger, _sfc_main$_ as SelectValue, _sfc_main$Z as Separator, _sfc_main$Y as Sheet, _sfc_main$X as SheetClose, _sfc_main$V as SheetContent, _sfc_main$U as SheetDescription, _sfc_main$T as SheetFooter, _sfc_main$S as SheetHeader, _sfc_main$R as SheetTitle, _sfc_main$Q as SheetTrigger, _sfc_main$P as Sidebar, _sfc_main$O as SidebarContent, _sfc_main$N as SidebarFooter, _sfc_main$M as SidebarGroup, _sfc_main$L as SidebarGroupAction, _sfc_main$K as SidebarGroupContent, _sfc_main$J as SidebarGroupLabel, _sfc_main$I as SidebarHeader, _sfc_main$H as SidebarInput, _sfc_main$G as SidebarInset, _sfc_main$F as SidebarMenu, _sfc_main$E as SidebarMenuAction, _sfc_main$D as SidebarMenuBadge, _sfc_main$x as SidebarMenuButton, _sfc_main$w as SidebarMenuItem, _sfc_main$u as SidebarMenuSkeleton, _sfc_main$t as SidebarMenuSub, _sfc_main$s as SidebarMenuSubButton, _sfc_main$r as SidebarMenuSubItem, _sfc_main$q as SidebarProvider, _sfc_main$p as SidebarRail, _sfc_main$o as SidebarSeparator, _sfc_main$n as SidebarTrigger, _sfc_main$v as Skeleton, _sfc_main$m as Slider, _sfc_main$l as Sonner, _sfc_main$k as Switch, _sfc_main$j as Table, _sfc_main$i as TableBody, _sfc_main$h as TableCaption, _sfc_main$g as TableCell, _sfc_main$e as TableEmpty, _sfc_main$d as TableFooter, _sfc_main$c as TableHead, _sfc_main$b as TableHeader, _sfc_main$f as TableRow, _sfc_main$a as Tabs, _sfc_main$9 as TabsContent, _sfc_main$8 as TabsList, _sfc_main$7 as TabsTrigger, _sfc_main$6 as TagsInput, _sfc_main$5 as TagsInputInput, _sfc_main$4 as TagsInputItem, _sfc_main$3 as TagsInputItemDelete, _sfc_main$2 as TagsInputItemText, _sfc_main$1 as Textarea, _sfc_main as Toggle, _sfc_main$C as Tooltip, _sfc_main$B as TooltipContent, _sfc_main$A as TooltipProvider, _sfc_main$z as TooltipTrigger, cn, navigationMenuTriggerStyle, sidebarMenuButtonVariants, useSidebar };