@tb-dev/vue 0.1.7 → 0.2.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 (208) hide show
  1. package/dist/components/__base/badge/Badge.vue.d.ts +24 -0
  2. package/dist/components/__base/badge/index.d.ts +6 -0
  3. package/dist/components/__base/button/Button.vue.d.ts +27 -0
  4. package/dist/components/__base/button/index.d.ts +7 -0
  5. package/dist/components/__base/card/Card.vue.d.ts +21 -0
  6. package/dist/components/__base/card/CardAction.vue.d.ts +21 -0
  7. package/dist/components/__base/card/CardContent.vue.d.ts +21 -0
  8. package/dist/components/__base/card/CardDescription.vue.d.ts +21 -0
  9. package/dist/components/__base/card/CardFooter.vue.d.ts +21 -0
  10. package/dist/components/__base/card/CardHeader.vue.d.ts +21 -0
  11. package/dist/components/__base/card/CardTitle.vue.d.ts +21 -0
  12. package/dist/components/__base/card/index.d.ts +7 -0
  13. package/dist/components/__base/checkbox/Checkbox.vue.d.ts +26 -0
  14. package/dist/components/__base/checkbox/index.d.ts +1 -0
  15. package/dist/components/__base/context-menu/ContextMenu.vue.d.ts +22 -0
  16. package/dist/components/__base/context-menu/ContextMenuCheckboxItem.vue.d.ts +28 -0
  17. package/dist/components/__base/context-menu/ContextMenuContent.vue.d.ts +50 -0
  18. package/dist/components/__base/context-menu/ContextMenuGroup.vue.d.ts +18 -0
  19. package/dist/components/__base/context-menu/ContextMenuItem.vue.d.ts +30 -0
  20. package/dist/components/__base/context-menu/ContextMenuLabel.vue.d.ts +23 -0
  21. package/dist/components/__base/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
  22. package/dist/components/__base/context-menu/ContextMenuRadioItem.vue.d.ts +26 -0
  23. package/dist/components/__base/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
  24. package/dist/components/__base/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
  25. package/dist/components/__base/context-menu/ContextMenuSub.vue.d.ts +22 -0
  26. package/dist/components/__base/context-menu/ContextMenuSubContent.vue.d.ts +54 -0
  27. package/dist/components/__base/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
  28. package/dist/components/__base/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
  29. package/dist/components/__base/context-menu/index.d.ts +14 -0
  30. package/dist/components/__base/dialog/Dialog.vue.d.ts +22 -0
  31. package/dist/components/__base/dialog/DialogClose.vue.d.ts +18 -0
  32. package/dist/components/__base/dialog/DialogContent.vue.d.ts +52 -0
  33. package/dist/components/__base/dialog/DialogDescription.vue.d.ts +22 -0
  34. package/dist/components/__base/dialog/DialogFooter.vue.d.ts +21 -0
  35. package/dist/components/__base/dialog/DialogHeader.vue.d.ts +21 -0
  36. package/dist/components/__base/dialog/DialogOverlay.vue.d.ts +22 -0
  37. package/dist/components/__base/dialog/DialogScrollContent.vue.d.ts +52 -0
  38. package/dist/components/__base/dialog/DialogTitle.vue.d.ts +22 -0
  39. package/dist/components/__base/dialog/DialogTrigger.vue.d.ts +18 -0
  40. package/dist/components/__base/dialog/index.d.ts +10 -0
  41. package/dist/components/__base/dropdown-menu/DropdownMenu.vue.d.ts +22 -0
  42. package/dist/components/__base/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +28 -0
  43. package/dist/components/__base/dropdown-menu/DropdownMenuContent.vue.d.ts +52 -0
  44. package/dist/components/__base/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  45. package/dist/components/__base/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  46. package/dist/components/__base/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  47. package/dist/components/__base/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  48. package/dist/components/__base/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +26 -0
  49. package/dist/components/__base/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  50. package/dist/components/__base/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  51. package/dist/components/__base/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  52. package/dist/components/__base/dropdown-menu/DropdownMenuSubContent.vue.d.ts +54 -0
  53. package/dist/components/__base/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  54. package/dist/components/__base/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  55. package/dist/components/__base/dropdown-menu/index.d.ts +15 -0
  56. package/dist/components/__base/input/Input.vue.d.ts +12 -0
  57. package/dist/components/__base/input/index.d.ts +1 -0
  58. package/dist/components/__base/label/Label.vue.d.ts +22 -0
  59. package/dist/components/__base/label/index.d.ts +1 -0
  60. package/dist/components/__base/number-field/NumberField.vue.d.ts +26 -0
  61. package/dist/components/__base/number-field/NumberFieldContent.vue.d.ts +21 -0
  62. package/dist/components/__base/number-field/NumberFieldDecrement.vue.d.ts +22 -0
  63. package/dist/components/__base/number-field/NumberFieldIncrement.vue.d.ts +22 -0
  64. package/dist/components/__base/number-field/NumberFieldInput.vue.d.ts +6 -0
  65. package/dist/components/__base/number-field/index.d.ts +5 -0
  66. package/dist/components/__base/popover/Popover.vue.d.ts +22 -0
  67. package/dist/components/__base/popover/PopoverAnchor.vue.d.ts +18 -0
  68. package/dist/components/__base/popover/PopoverContent.vue.d.ts +55 -0
  69. package/dist/components/__base/popover/PopoverTrigger.vue.d.ts +18 -0
  70. package/dist/components/__base/popover/index.d.ts +4 -0
  71. package/dist/components/__base/progress/Progress.vue.d.ts +9 -0
  72. package/dist/components/__base/progress/index.d.ts +1 -0
  73. package/dist/components/__base/radio-group/RadioGroup.vue.d.ts +26 -0
  74. package/dist/components/__base/radio-group/RadioGroupItem.vue.d.ts +7 -0
  75. package/dist/components/__base/radio-group/index.d.ts +2 -0
  76. package/dist/components/__base/scroll-area/ScrollArea.vue.d.ts +22 -0
  77. package/dist/components/__base/scroll-area/ScrollBar.vue.d.ts +9 -0
  78. package/dist/components/__base/scroll-area/index.d.ts +2 -0
  79. package/dist/components/__base/select/Select.vue.d.ts +25 -0
  80. package/dist/components/__base/select/SelectContent.vue.d.ts +36 -0
  81. package/dist/components/__base/select/SelectGroup.vue.d.ts +18 -0
  82. package/dist/components/__base/select/SelectItem.vue.d.ts +22 -0
  83. package/dist/components/__base/select/SelectItemText.vue.d.ts +18 -0
  84. package/dist/components/__base/select/SelectLabel.vue.d.ts +22 -0
  85. package/dist/components/__base/select/SelectScrollDownButton.vue.d.ts +22 -0
  86. package/dist/components/__base/select/SelectScrollUpButton.vue.d.ts +22 -0
  87. package/dist/components/__base/select/SelectSeparator.vue.d.ts +7 -0
  88. package/dist/components/__base/select/SelectTrigger.vue.d.ts +25 -0
  89. package/dist/components/__base/select/SelectValue.vue.d.ts +18 -0
  90. package/dist/components/__base/select/index.d.ts +11 -0
  91. package/dist/components/__base/separator/Separator.vue.d.ts +10 -0
  92. package/dist/components/__base/separator/index.d.ts +1 -0
  93. package/dist/components/__base/sheet/Sheet.vue.d.ts +22 -0
  94. package/dist/components/__base/sheet/SheetClose.vue.d.ts +18 -0
  95. package/dist/components/__base/sheet/SheetContent.vue.d.ts +55 -0
  96. package/dist/components/__base/sheet/SheetDescription.vue.d.ts +22 -0
  97. package/dist/components/__base/sheet/SheetFooter.vue.d.ts +21 -0
  98. package/dist/components/__base/sheet/SheetHeader.vue.d.ts +21 -0
  99. package/dist/components/__base/sheet/SheetOverlay.vue.d.ts +22 -0
  100. package/dist/components/__base/sheet/SheetTitle.vue.d.ts +22 -0
  101. package/dist/components/__base/sheet/SheetTrigger.vue.d.ts +18 -0
  102. package/dist/components/__base/sheet/index.d.ts +8 -0
  103. package/dist/components/__base/sidebar/Sidebar.vue.d.ts +24 -0
  104. package/dist/components/__base/sidebar/SidebarContent.vue.d.ts +21 -0
  105. package/dist/components/__base/sidebar/SidebarFooter.vue.d.ts +21 -0
  106. package/dist/components/__base/sidebar/SidebarGroup.vue.d.ts +21 -0
  107. package/dist/components/__base/sidebar/SidebarGroupAction.vue.d.ts +22 -0
  108. package/dist/components/__base/sidebar/SidebarGroupContent.vue.d.ts +21 -0
  109. package/dist/components/__base/sidebar/SidebarGroupLabel.vue.d.ts +22 -0
  110. package/dist/components/__base/sidebar/SidebarHeader.vue.d.ts +21 -0
  111. package/dist/components/__base/sidebar/SidebarInput.vue.d.ts +21 -0
  112. package/dist/components/__base/sidebar/SidebarInset.vue.d.ts +21 -0
  113. package/dist/components/__base/sidebar/SidebarMenu.vue.d.ts +21 -0
  114. package/dist/components/__base/sidebar/SidebarMenuAction.vue.d.ts +25 -0
  115. package/dist/components/__base/sidebar/SidebarMenuBadge.vue.d.ts +21 -0
  116. package/dist/components/__base/sidebar/SidebarMenuButton.vue.d.ts +27 -0
  117. package/dist/components/__base/sidebar/SidebarMenuButtonChild.vue.d.ts +30 -0
  118. package/dist/components/__base/sidebar/SidebarMenuItem.vue.d.ts +21 -0
  119. package/dist/components/__base/sidebar/SidebarMenuSkeleton.vue.d.ts +7 -0
  120. package/dist/components/__base/sidebar/SidebarMenuSub.vue.d.ts +21 -0
  121. package/dist/components/__base/sidebar/SidebarMenuSubButton.vue.d.ts +27 -0
  122. package/dist/components/__base/sidebar/SidebarMenuSubItem.vue.d.ts +21 -0
  123. package/dist/components/__base/sidebar/SidebarProvider.vue.d.ts +30 -0
  124. package/dist/components/__base/sidebar/SidebarRail.vue.d.ts +21 -0
  125. package/dist/components/__base/sidebar/SidebarSeparator.vue.d.ts +21 -0
  126. package/dist/components/__base/sidebar/SidebarTrigger.vue.d.ts +6 -0
  127. package/dist/components/__base/sidebar/index.d.ts +37 -0
  128. package/dist/components/__base/sidebar/utils.d.ts +56 -0
  129. package/dist/components/__base/skeleton/Skeleton.vue.d.ts +6 -0
  130. package/dist/components/__base/skeleton/index.d.ts +1 -0
  131. package/dist/components/__base/table/Table.vue.d.ts +21 -0
  132. package/dist/components/__base/table/TableBody.vue.d.ts +21 -0
  133. package/dist/components/__base/table/TableCaption.vue.d.ts +21 -0
  134. package/dist/components/__base/table/TableCell.vue.d.ts +21 -0
  135. package/dist/components/__base/table/TableEmpty.vue.d.ts +24 -0
  136. package/dist/components/__base/table/TableFooter.vue.d.ts +21 -0
  137. package/dist/components/__base/table/TableHead.vue.d.ts +21 -0
  138. package/dist/components/__base/table/TableHeader.vue.d.ts +21 -0
  139. package/dist/components/__base/table/TableRow.vue.d.ts +21 -0
  140. package/dist/components/__base/table/index.d.ts +9 -0
  141. package/dist/components/__base/table/utils.d.ts +3 -0
  142. package/dist/components/__base/tabs/Tabs.vue.d.ts +26 -0
  143. package/dist/components/__base/tabs/TabsContent.vue.d.ts +22 -0
  144. package/dist/components/__base/tabs/TabsList.vue.d.ts +22 -0
  145. package/dist/components/__base/tabs/TabsTrigger.vue.d.ts +22 -0
  146. package/dist/components/__base/tabs/index.d.ts +4 -0
  147. package/dist/components/__base/tags-input/TagsInput.vue.d.ts +32 -0
  148. package/dist/components/__base/tags-input/TagsInputInput.vue.d.ts +7 -0
  149. package/dist/components/__base/tags-input/TagsInputItem.vue.d.ts +22 -0
  150. package/dist/components/__base/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
  151. package/dist/components/__base/tags-input/TagsInputItemText.vue.d.ts +7 -0
  152. package/dist/components/__base/tags-input/index.d.ts +5 -0
  153. package/dist/components/__base/textarea/Textarea.vue.d.ts +12 -0
  154. package/dist/components/__base/textarea/index.d.ts +1 -0
  155. package/dist/components/__base/toggle/Toggle.vue.d.ts +33 -0
  156. package/dist/components/__base/toggle/index.d.ts +7 -0
  157. package/dist/components/__base/tooltip/Tooltip.vue.d.ts +22 -0
  158. package/dist/components/__base/tooltip/TooltipContent.vue.d.ts +30 -0
  159. package/dist/components/__base/tooltip/TooltipProvider.vue.d.ts +20 -0
  160. package/dist/components/__base/tooltip/TooltipTrigger.vue.d.ts +18 -0
  161. package/dist/components/__base/tooltip/index.d.ts +4 -0
  162. package/dist/components/badge/index.d.ts +3 -0
  163. package/dist/components/button/index.d.ts +4 -0
  164. package/dist/components/button-link/ButtonLink.vue.d.ts +19 -0
  165. package/dist/components/button-link/index.d.ts +3 -0
  166. package/dist/components/button-link/types.d.ts +10 -0
  167. package/dist/components/card/Card.vue.d.ts +34 -0
  168. package/dist/components/card/index.d.ts +2 -0
  169. package/dist/components/checkbox/index.d.ts +1 -0
  170. package/dist/components/context-menu/index.d.ts +1 -0
  171. package/dist/components/dialog/index.d.ts +1 -0
  172. package/dist/components/dropdown-menu/index.d.ts +1 -0
  173. package/dist/components/index.d.ts +27 -0
  174. package/dist/components/input/index.d.ts +1 -0
  175. package/dist/components/input-number/InputNumber.vue.d.ts +9 -0
  176. package/dist/components/input-number/index.d.ts +3 -0
  177. package/dist/components/input-number/types.d.ts +9 -0
  178. package/dist/components/input-text/InputText.vue.d.ts +7 -0
  179. package/dist/components/input-text/index.d.ts +3 -0
  180. package/dist/components/input-text/types.d.ts +11 -0
  181. package/dist/components/label/Label.vue.d.ts +21 -0
  182. package/dist/components/label/index.d.ts +3 -0
  183. package/dist/components/label/types.d.ts +3 -0
  184. package/dist/components/popover/index.d.ts +1 -0
  185. package/dist/components/progress/index.d.ts +1 -0
  186. package/dist/components/radio-group/index.d.ts +1 -0
  187. package/dist/components/scroll-area/index.d.ts +1 -0
  188. package/dist/components/select/index.d.ts +1 -0
  189. package/dist/components/separator/index.d.ts +1 -0
  190. package/dist/components/sheet/index.d.ts +1 -0
  191. package/dist/components/sidebar/Sidebar.vue.d.ts +27 -0
  192. package/dist/components/sidebar/index.d.ts +4 -0
  193. package/dist/components/sidebar/types.d.ts +3 -0
  194. package/dist/components/skeleton/index.d.ts +1 -0
  195. package/dist/components/table/Table.vue.d.ts +22 -0
  196. package/dist/components/table/TableLink.vue.d.ts +19 -0
  197. package/dist/components/table/index.d.ts +4 -0
  198. package/dist/components/table/types.d.ts +5 -0
  199. package/dist/components/tabs/index.d.ts +1 -0
  200. package/dist/components/tags-input/index.d.ts +1 -0
  201. package/dist/components/textarea/index.d.ts +1 -0
  202. package/dist/components/toggle/index.d.ts +4 -0
  203. package/dist/components/tooltip/index.d.ts +1 -0
  204. package/dist/index.css +89 -0
  205. package/dist/index.js +3852 -60
  206. package/dist/utils/app.d.ts +3 -2
  207. package/dist/utils/index.d.ts +2 -0
  208. package/package.json +15 -6
package/dist/index.js CHANGED
@@ -1,10 +1,2005 @@
1
- import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, renderSlot, toDisplayString, inject as inject$1, toRef, effectScope, toValue, computed } from 'vue';
1
+ import { cva } from 'class-variance-authority';
2
+ import { inject as inject$1, toValue, defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createElementBlock, Fragment, createVNode, toDisplayString, createCommentVNode, normalizeStyle, createElementVNode, withDirectives, isRef, vModelText, createTextVNode, normalizeProps, guardReactiveProps, ref, toRef, effectScope } from 'vue';
3
+ import { twMerge } from 'tailwind-merge';
4
+ import { clsx } from 'clsx';
5
+ import { unwrap, isNil, toPixel } from '@tb-dev/utils';
6
+ import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, useForwardPropsEmits, CheckboxRoot, CheckboxIndicator, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, useForwardProps, 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, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, Label, PopoverRoot, PopoverAnchor, PopoverPortal, PopoverContent, PopoverTrigger, ProgressRoot, ProgressIndicator, RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectGroup, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectIcon, SelectValue, Separator, createContext, TooltipRoot, TooltipPortal, TooltipContent, TooltipArrow, TooltipProvider, TooltipTrigger, TabsRoot, TabsContent, TabsList, TabsTrigger, TagsInputRoot, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, Toggle } from 'reka-ui';
7
+ export { DropdownMenuPortal } from 'reka-ui';
2
8
  import { RouterLink } from 'vue-router';
3
- import { unwrap, isNil } from '@tb-dev/utils';
4
- import { computedAsync, useAsyncState, useElementSize as useElementSize$1, tryOnScopeDispose, onKeyStroke, useLocalStorage, useWindowSize } from '@vueuse/core';
9
+ import { createReusableTemplate, reactiveOmit, useVModel, useMediaQuery, useEventListener, computedAsync, useAsyncState, useElementSize as useElementSize$1, tryOnScopeDispose, onKeyStroke, useLocalStorage, useWindowSize } from '@vueuse/core';
10
+ import { Check, Circle, ChevronRight, X, Minus, Plus, CircleIcon, ChevronDown, ChevronUp } from 'lucide-vue-next';
5
11
 
6
- const _hoisted_1 = { key: 0 };
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ function create$1() {
13
+ let APP = null;
14
+ function get() {
15
+ return unwrap(APP, "no active app");
16
+ }
17
+ function tryGet() {
18
+ return APP;
19
+ }
20
+ function set(app) {
21
+ APP = app;
22
+ }
23
+ function trySet(app) {
24
+ APP ??= app;
25
+ }
26
+ return { get, set, tryGet, trySet };
27
+ }
28
+ const {
29
+ get: getCurrentApp,
30
+ set: setCurrentApp,
31
+ tryGet: tryGetCurrentApp,
32
+ trySet: trySetCurrentApp
33
+ } = create$1();
34
+ function runWithContext(fn) {
35
+ return getCurrentApp().runWithContext(fn);
36
+ }
37
+ function provide(key, value) {
38
+ getCurrentApp().provide(key, value);
39
+ }
40
+ function inject(key) {
41
+ const value = tryInject(key);
42
+ if (typeof value === "undefined") {
43
+ throw new TypeError("injection failed: value not provided");
44
+ }
45
+ return value;
46
+ }
47
+ function tryInject(key) {
48
+ return runWithContext(() => inject$1(key));
49
+ }
50
+
51
+ function create() {
52
+ let ERROR_HANDLER_FN = null;
53
+ function get() {
54
+ return ERROR_HANDLER_FN;
55
+ }
56
+ function set(fn, app = true) {
57
+ ERROR_HANDLER_FN = fn;
58
+ if (app) {
59
+ let _app;
60
+ if (app === true) {
61
+ _app = getCurrentApp();
62
+ } else {
63
+ trySetCurrentApp(app);
64
+ _app = app;
65
+ }
66
+ _app.config.errorHandler = (err) => {
67
+ handle(err, true);
68
+ };
69
+ }
70
+ }
71
+ function handle(err, rethrow = true) {
72
+ if (ERROR_HANDLER_FN) {
73
+ void Promise.try(ERROR_HANDLER_FN, err);
74
+ } else if (rethrow) {
75
+ throw err;
76
+ }
77
+ }
78
+ return { get, set, handle };
79
+ }
80
+ const { get: getErrorHandler, set: setErrorHandler, handle: handleError } = create();
81
+
82
+ function maybe(value, fn) {
83
+ const _value = toValue(value);
84
+ return isNil(_value) ? null : fn(_value);
85
+ }
86
+
87
+ function cn(...inputs) {
88
+ return twMerge(clsx(inputs));
89
+ }
90
+
91
+ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
92
+ __name: "Badge",
93
+ props: {
94
+ asChild: { type: Boolean },
95
+ as: {},
96
+ variant: {},
97
+ class: {}
98
+ },
99
+ setup(__props) {
100
+ const props = __props;
101
+ const delegatedProps = computed(() => {
102
+ const { class: _, ...delegated } = props;
103
+ return delegated;
104
+ });
105
+ return (_ctx, _cache) => {
106
+ return openBlock(), createBlock(unref(Primitive), mergeProps({
107
+ "data-slot": "badge",
108
+ class: unref(cn)(unref(badgeVariants)({ variant: _ctx.variant }), props.class)
109
+ }, delegatedProps.value), {
110
+ default: withCtx(() => [
111
+ renderSlot(_ctx.$slots, "default")
112
+ ]),
113
+ _: 3
114
+ }, 16, ["class"]);
115
+ };
116
+ }
117
+ });
118
+
119
+ const badgeVariants = cva(
120
+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
121
+ {
122
+ variants: {
123
+ variant: {
124
+ default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
125
+ secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
126
+ destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
127
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
128
+ }
129
+ },
130
+ defaultVariants: {
131
+ variant: "default"
132
+ }
133
+ }
134
+ );
135
+
136
+ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
137
+ __name: "Button",
138
+ props: {
139
+ variant: {},
140
+ size: {},
141
+ class: {},
142
+ asChild: { type: Boolean },
143
+ as: { default: "button" }
144
+ },
145
+ setup(__props) {
146
+ const props = __props;
147
+ return (_ctx, _cache) => {
148
+ return openBlock(), createBlock(unref(Primitive), {
149
+ "data-slot": "button",
150
+ as: _ctx.as,
151
+ "as-child": _ctx.asChild,
152
+ class: normalizeClass(unref(cn)(unref(buttonVariants)({ variant: _ctx.variant, size: _ctx.size }), props.class))
153
+ }, {
154
+ default: withCtx(() => [
155
+ renderSlot(_ctx.$slots, "default")
156
+ ]),
157
+ _: 3
158
+ }, 8, ["as", "as-child", "class"]);
159
+ };
160
+ }
161
+ });
162
+
163
+ const buttonVariants = cva(
164
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
165
+ {
166
+ variants: {
167
+ variant: {
168
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
169
+ destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
170
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
171
+ secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
172
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
173
+ link: "text-primary underline-offset-4 hover:underline"
174
+ },
175
+ size: {
176
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
177
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
178
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
179
+ icon: "size-9"
180
+ }
181
+ },
182
+ defaultVariants: {
183
+ variant: "default",
184
+ size: "default"
185
+ }
186
+ }
187
+ );
188
+
189
+ const _hoisted_1$8 = { key: 0 };
190
+ const _hoisted_2$1 = { key: 0 };
191
+ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
192
+ __name: "ButtonLink",
193
+ props: {
194
+ buttonClass: {},
195
+ disabled: {},
196
+ label: {},
197
+ size: { default: "default" },
198
+ to: {},
199
+ variant: { default: "ghost" }
200
+ },
201
+ setup(__props) {
202
+ const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
203
+ return (_ctx, _cache) => {
204
+ return openBlock(), createElementBlock(Fragment, null, [
205
+ createVNode(unref(DefineTemplate), null, {
206
+ default: withCtx(() => [
207
+ createVNode(unref(_sfc_main$1S), {
208
+ variant: _ctx.variant,
209
+ size: _ctx.size,
210
+ disabled: _ctx.disabled,
211
+ class: normalizeClass(unref(cn)("size-full", _ctx.buttonClass))
212
+ }, {
213
+ default: withCtx(() => [
214
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$8, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
215
+ ]),
216
+ _: 3
217
+ }, 8, ["variant", "size", "disabled", "class"])
218
+ ]),
219
+ _: 3
220
+ }),
221
+ _ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
222
+ createVNode(unref(ReuseTemplate))
223
+ ])) : (openBlock(), createBlock(unref(RouterLink), {
224
+ key: 1,
225
+ to: { name: _ctx.to }
226
+ }, {
227
+ default: withCtx(() => [
228
+ createVNode(unref(ReuseTemplate))
229
+ ]),
230
+ _: 1
231
+ }, 8, ["to"]))
232
+ ], 64);
233
+ };
234
+ }
235
+ });
236
+
237
+ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
238
+ __name: "ScrollBar",
239
+ props: {
240
+ orientation: { default: "vertical" },
241
+ forceMount: { type: Boolean },
242
+ asChild: { type: Boolean },
243
+ as: {},
244
+ class: {}
245
+ },
246
+ setup(__props) {
247
+ const props = __props;
248
+ const delegatedProps = computed(() => {
249
+ const { class: _, ...delegated } = props;
250
+ return delegated;
251
+ });
252
+ return (_ctx, _cache) => {
253
+ return openBlock(), createBlock(unref(ScrollAreaScrollbar), mergeProps({ "data-slot": "scroll-area-scrollbar" }, delegatedProps.value, {
254
+ class: unref(cn)(
255
+ "flex touch-none p-px transition-colors select-none",
256
+ _ctx.orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
257
+ _ctx.orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
258
+ props.class
259
+ )
260
+ }), {
261
+ default: withCtx(() => [
262
+ createVNode(unref(ScrollAreaThumb), {
263
+ "data-slot": "scroll-area-thumb",
264
+ class: "bg-border relative flex-1 rounded-full"
265
+ })
266
+ ]),
267
+ _: 1
268
+ }, 16, ["class"]);
269
+ };
270
+ }
271
+ });
272
+
273
+ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
274
+ __name: "ScrollArea",
275
+ props: {
276
+ type: {},
277
+ dir: {},
278
+ scrollHideDelay: {},
279
+ asChild: { type: Boolean },
280
+ as: {},
281
+ class: {}
282
+ },
283
+ setup(__props) {
284
+ const props = __props;
285
+ const delegatedProps = computed(() => {
286
+ const { class: _, ...delegated } = props;
287
+ return delegated;
288
+ });
289
+ return (_ctx, _cache) => {
290
+ return openBlock(), createBlock(unref(ScrollAreaRoot), mergeProps({ "data-slot": "scroll-area" }, delegatedProps.value, {
291
+ class: unref(cn)("relative", props.class)
292
+ }), {
293
+ default: withCtx(() => [
294
+ createVNode(unref(ScrollAreaViewport), {
295
+ "data-slot": "scroll-area-viewport",
296
+ class: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
297
+ }, {
298
+ default: withCtx(() => [
299
+ renderSlot(_ctx.$slots, "default")
300
+ ]),
301
+ _: 3
302
+ }),
303
+ createVNode(_sfc_main$1Q),
304
+ createVNode(unref(ScrollAreaCorner))
305
+ ]),
306
+ _: 3
307
+ }, 16, ["class"]);
308
+ };
309
+ }
310
+ });
311
+
312
+ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
313
+ __name: "Card",
314
+ props: {
315
+ class: {}
316
+ },
317
+ setup(__props) {
318
+ const props = __props;
319
+ return (_ctx, _cache) => {
320
+ return openBlock(), createElementBlock("div", {
321
+ "data-slot": "card",
322
+ class: normalizeClass(
323
+ unref(cn)(
324
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
325
+ props.class
326
+ )
327
+ )
328
+ }, [
329
+ renderSlot(_ctx.$slots, "default")
330
+ ], 2);
331
+ };
332
+ }
333
+ });
334
+
335
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
336
+ __name: "CardContent",
337
+ props: {
338
+ class: {}
339
+ },
340
+ setup(__props) {
341
+ const props = __props;
342
+ return (_ctx, _cache) => {
343
+ return openBlock(), createElementBlock("div", {
344
+ "data-slot": "card-content",
345
+ class: normalizeClass(unref(cn)("px-6", props.class))
346
+ }, [
347
+ renderSlot(_ctx.$slots, "default")
348
+ ], 2);
349
+ };
350
+ }
351
+ });
352
+
353
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
354
+ __name: "CardDescription",
355
+ props: {
356
+ class: {}
357
+ },
358
+ setup(__props) {
359
+ const props = __props;
360
+ return (_ctx, _cache) => {
361
+ return openBlock(), createElementBlock("p", {
362
+ "data-slot": "card-description",
363
+ class: normalizeClass(unref(cn)("text-muted-foreground text-sm", props.class))
364
+ }, [
365
+ renderSlot(_ctx.$slots, "default")
366
+ ], 2);
367
+ };
368
+ }
369
+ });
370
+
371
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
372
+ __name: "CardHeader",
373
+ props: {
374
+ class: {}
375
+ },
376
+ setup(__props) {
377
+ const props = __props;
378
+ return (_ctx, _cache) => {
379
+ return openBlock(), createElementBlock("div", {
380
+ "data-slot": "card-header",
381
+ class: normalizeClass(
382
+ unref(cn)(
383
+ "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
384
+ props.class
385
+ )
386
+ )
387
+ }, [
388
+ renderSlot(_ctx.$slots, "default")
389
+ ], 2);
390
+ };
391
+ }
392
+ });
393
+
394
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
395
+ __name: "CardTitle",
396
+ props: {
397
+ class: {}
398
+ },
399
+ setup(__props) {
400
+ const props = __props;
401
+ return (_ctx, _cache) => {
402
+ return openBlock(), createElementBlock("h3", {
403
+ "data-slot": "card-title",
404
+ class: normalizeClass(unref(cn)("leading-none font-semibold", props.class))
405
+ }, [
406
+ renderSlot(_ctx.$slots, "default")
407
+ ], 2);
408
+ };
409
+ }
410
+ });
411
+
412
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
413
+ __name: "Card",
414
+ props: {
415
+ contentClass: {},
416
+ descriptionClass: {},
417
+ headerClass: {},
418
+ scrollAreaClass: {},
419
+ scrollAreaHeight: { default: "auto" },
420
+ titleClass: {}
421
+ },
422
+ setup(__props) {
423
+ return (_ctx, _cache) => {
424
+ return openBlock(), createBlock(unref(_sfc_main$1O), null, {
425
+ default: withCtx(() => [
426
+ _ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$1L), {
427
+ key: 0,
428
+ class: normalizeClass(_ctx.headerClass)
429
+ }, {
430
+ default: withCtx(() => [
431
+ createVNode(unref(_sfc_main$1K), {
432
+ class: normalizeClass(_ctx.titleClass)
433
+ }, {
434
+ default: withCtx(() => [
435
+ renderSlot(_ctx.$slots, "title")
436
+ ]),
437
+ _: 3
438
+ }, 8, ["class"]),
439
+ _ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$1M), {
440
+ key: 0,
441
+ class: normalizeClass(_ctx.descriptionClass)
442
+ }, {
443
+ default: withCtx(() => [
444
+ renderSlot(_ctx.$slots, "description")
445
+ ]),
446
+ _: 3
447
+ }, 8, ["class"])) : createCommentVNode("", true)
448
+ ]),
449
+ _: 3
450
+ }, 8, ["class"])) : createCommentVNode("", true),
451
+ createVNode(unref(_sfc_main$1N), {
452
+ class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
453
+ }, {
454
+ default: withCtx(() => [
455
+ _ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$1P), {
456
+ key: 0,
457
+ class: normalizeClass(_ctx.scrollAreaClass),
458
+ style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
459
+ }, {
460
+ default: withCtx(() => [
461
+ renderSlot(_ctx.$slots, "default")
462
+ ]),
463
+ _: 3
464
+ }, 8, ["class", "style"])) : renderSlot(_ctx.$slots, "default", { key: 1 })
465
+ ]),
466
+ _: 3
467
+ }, 8, ["class"])
468
+ ]),
469
+ _: 3
470
+ });
471
+ };
472
+ }
473
+ });
474
+
475
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
476
+ __name: "Checkbox",
477
+ props: {
478
+ defaultValue: { type: [Boolean, String] },
479
+ modelValue: { type: [Boolean, String, null] },
480
+ disabled: { type: Boolean },
481
+ value: {},
482
+ id: {},
483
+ asChild: { type: Boolean },
484
+ as: {},
485
+ name: {},
486
+ required: { type: Boolean },
487
+ class: {}
488
+ },
489
+ emits: ["update:modelValue"],
490
+ setup(__props, { emit: __emit }) {
491
+ const props = __props;
492
+ const emits = __emit;
493
+ const delegatedProps = computed(() => {
494
+ const { class: _, ...delegated } = props;
495
+ return delegated;
496
+ });
497
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
498
+ return (_ctx, _cache) => {
499
+ return openBlock(), createBlock(unref(CheckboxRoot), mergeProps({ "data-slot": "checkbox" }, unref(forwarded), {
500
+ class: unref(cn)(
501
+ "peer border-input data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
502
+ props.class
503
+ )
504
+ }), {
505
+ default: withCtx(() => [
506
+ createVNode(unref(CheckboxIndicator), {
507
+ "data-slot": "checkbox-indicator",
508
+ class: "flex items-center justify-center text-current transition-none"
509
+ }, {
510
+ default: withCtx(() => [
511
+ renderSlot(_ctx.$slots, "default", {}, () => [
512
+ createVNode(unref(Check), { class: "size-3.5" })
513
+ ])
514
+ ]),
515
+ _: 3
516
+ })
517
+ ]),
518
+ _: 3
519
+ }, 16, ["class"]);
520
+ };
521
+ }
522
+ });
523
+
524
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
525
+ __name: "ContextMenu",
526
+ props: {
527
+ dir: {},
528
+ modal: { type: Boolean }
529
+ },
530
+ emits: ["update:open"],
531
+ setup(__props, { emit: __emit }) {
532
+ const props = __props;
533
+ const emits = __emit;
534
+ const forwarded = useForwardPropsEmits(props, emits);
535
+ return (_ctx, _cache) => {
536
+ return openBlock(), createBlock(unref(ContextMenuRoot), mergeProps({ "data-slot": "context-menu" }, unref(forwarded)), {
537
+ default: withCtx(() => [
538
+ renderSlot(_ctx.$slots, "default")
539
+ ]),
540
+ _: 3
541
+ }, 16);
542
+ };
543
+ }
544
+ });
545
+
546
+ const _hoisted_1$7 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
547
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
548
+ __name: "ContextMenuCheckboxItem",
549
+ props: {
550
+ modelValue: { type: [Boolean, String] },
551
+ disabled: { type: Boolean },
552
+ textValue: {},
553
+ asChild: { type: Boolean },
554
+ as: {},
555
+ class: {}
556
+ },
557
+ emits: ["select", "update:modelValue"],
558
+ setup(__props, { emit: __emit }) {
559
+ const props = __props;
560
+ const emits = __emit;
561
+ const delegatedProps = computed(() => {
562
+ const { class: _, ...delegated } = props;
563
+ return delegated;
564
+ });
565
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
566
+ return (_ctx, _cache) => {
567
+ return openBlock(), createBlock(unref(ContextMenuCheckboxItem), mergeProps({ "data-slot": "context-menu-checkbox-item" }, unref(forwarded), {
568
+ class: unref(cn)(
569
+ `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`,
570
+ props.class
571
+ )
572
+ }), {
573
+ default: withCtx(() => [
574
+ createElementVNode("span", _hoisted_1$7, [
575
+ createVNode(unref(ContextMenuItemIndicator), null, {
576
+ default: withCtx(() => [
577
+ createVNode(unref(Check), { class: "size-4" })
578
+ ]),
579
+ _: 1
580
+ })
581
+ ]),
582
+ renderSlot(_ctx.$slots, "default")
583
+ ]),
584
+ _: 3
585
+ }, 16, ["class"]);
586
+ };
587
+ }
588
+ });
589
+
590
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
591
+ __name: "ContextMenuContent",
592
+ props: {
593
+ forceMount: { type: Boolean },
594
+ loop: { type: Boolean },
595
+ alignOffset: {},
596
+ avoidCollisions: { type: Boolean },
597
+ collisionBoundary: {},
598
+ collisionPadding: {},
599
+ sticky: {},
600
+ hideWhenDetached: { type: Boolean },
601
+ positionStrategy: {},
602
+ disableUpdateOnLayoutShift: { type: Boolean },
603
+ prioritizePosition: { type: Boolean },
604
+ reference: {},
605
+ asChild: { type: Boolean },
606
+ as: {},
607
+ class: {}
608
+ },
609
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
610
+ setup(__props, { emit: __emit }) {
611
+ const props = __props;
612
+ const emits = __emit;
613
+ const delegatedProps = computed(() => {
614
+ const { class: _, ...delegated } = props;
615
+ return delegated;
616
+ });
617
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
618
+ return (_ctx, _cache) => {
619
+ return openBlock(), createBlock(unref(ContextMenuPortal), null, {
620
+ default: withCtx(() => [
621
+ createVNode(unref(ContextMenuContent), mergeProps({ "data-slot": "context-menu-content" }, unref(forwarded), {
622
+ class: unref(cn)(
623
+ "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",
624
+ props.class
625
+ )
626
+ }), {
627
+ default: withCtx(() => [
628
+ renderSlot(_ctx.$slots, "default")
629
+ ]),
630
+ _: 3
631
+ }, 16, ["class"])
632
+ ]),
633
+ _: 3
634
+ });
635
+ };
636
+ }
637
+ });
638
+
639
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
640
+ __name: "ContextMenuGroup",
641
+ props: {
642
+ asChild: { type: Boolean },
643
+ as: {}
644
+ },
645
+ setup(__props) {
646
+ const props = __props;
647
+ return (_ctx, _cache) => {
648
+ return openBlock(), createBlock(unref(ContextMenuGroup), mergeProps({ "data-slot": "context-menu-group" }, props), {
649
+ default: withCtx(() => [
650
+ renderSlot(_ctx.$slots, "default")
651
+ ]),
652
+ _: 3
653
+ }, 16);
654
+ };
655
+ }
656
+ });
657
+
658
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
659
+ __name: "ContextMenuItem",
660
+ props: {
661
+ disabled: { type: Boolean },
662
+ textValue: {},
663
+ asChild: { type: Boolean },
664
+ as: {},
665
+ class: {},
666
+ inset: { type: Boolean },
667
+ variant: { default: "default" }
668
+ },
669
+ emits: ["select"],
670
+ setup(__props, { emit: __emit }) {
671
+ const props = __props;
672
+ const emits = __emit;
673
+ const delegatedProps = computed(() => {
674
+ const { class: _, ...delegated } = props;
675
+ return delegated;
676
+ });
677
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
678
+ return (_ctx, _cache) => {
679
+ return openBlock(), createBlock(unref(ContextMenuItem), mergeProps({
680
+ "data-slot": "context-menu-item",
681
+ "data-inset": _ctx.inset ? "" : void 0,
682
+ "data-variant": _ctx.variant
683
+ }, unref(forwarded), {
684
+ class: unref(cn)(
685
+ `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`,
686
+ props.class
687
+ )
688
+ }), {
689
+ default: withCtx(() => [
690
+ renderSlot(_ctx.$slots, "default")
691
+ ]),
692
+ _: 3
693
+ }, 16, ["data-inset", "data-variant", "class"]);
694
+ };
695
+ }
696
+ });
697
+
698
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
699
+ __name: "ContextMenuLabel",
700
+ props: {
701
+ asChild: { type: Boolean },
702
+ as: {},
703
+ class: {},
704
+ inset: { type: Boolean }
705
+ },
706
+ setup(__props) {
707
+ const props = __props;
708
+ const delegatedProps = computed(() => {
709
+ const { class: _, ...delegated } = props;
710
+ return delegated;
711
+ });
712
+ return (_ctx, _cache) => {
713
+ return openBlock(), createBlock(unref(ContextMenuLabel), mergeProps({
714
+ "data-slot": "context-menu-label",
715
+ "data-inset": _ctx.inset ? "" : void 0
716
+ }, delegatedProps.value, {
717
+ class: unref(cn)("text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", props.class)
718
+ }), {
719
+ default: withCtx(() => [
720
+ renderSlot(_ctx.$slots, "default")
721
+ ]),
722
+ _: 3
723
+ }, 16, ["data-inset", "class"]);
724
+ };
725
+ }
726
+ });
727
+
728
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
729
+ __name: "ContextMenuRadioGroup",
730
+ props: {
731
+ modelValue: {},
732
+ asChild: { type: Boolean },
733
+ as: {}
734
+ },
735
+ emits: ["update:modelValue"],
736
+ setup(__props, { emit: __emit }) {
737
+ const props = __props;
738
+ const emits = __emit;
739
+ const forwarded = useForwardPropsEmits(props, emits);
740
+ return (_ctx, _cache) => {
741
+ return openBlock(), createBlock(unref(ContextMenuRadioGroup), mergeProps({ "data-slot": "context-menu-radio-group" }, unref(forwarded)), {
742
+ default: withCtx(() => [
743
+ renderSlot(_ctx.$slots, "default")
744
+ ]),
745
+ _: 3
746
+ }, 16);
747
+ };
748
+ }
749
+ });
750
+
751
+ const _hoisted_1$6 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
752
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
753
+ __name: "ContextMenuRadioItem",
754
+ props: {
755
+ value: {},
756
+ disabled: { type: Boolean },
757
+ textValue: {},
758
+ asChild: { type: Boolean },
759
+ as: {},
760
+ class: {}
761
+ },
762
+ emits: ["select"],
763
+ setup(__props, { emit: __emit }) {
764
+ const props = __props;
765
+ const emits = __emit;
766
+ const delegatedProps = computed(() => {
767
+ const { class: _, ...delegated } = props;
768
+ return delegated;
769
+ });
770
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
771
+ return (_ctx, _cache) => {
772
+ return openBlock(), createBlock(unref(ContextMenuRadioItem), mergeProps({ "data-slot": "context-menu-radio-item" }, unref(forwarded), {
773
+ class: unref(cn)(
774
+ `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`,
775
+ props.class
776
+ )
777
+ }), {
778
+ default: withCtx(() => [
779
+ createElementVNode("span", _hoisted_1$6, [
780
+ createVNode(unref(ContextMenuItemIndicator), null, {
781
+ default: withCtx(() => [
782
+ createVNode(unref(Circle), { class: "size-2 fill-current" })
783
+ ]),
784
+ _: 1
785
+ })
786
+ ]),
787
+ renderSlot(_ctx.$slots, "default")
788
+ ]),
789
+ _: 3
790
+ }, 16, ["class"]);
791
+ };
792
+ }
793
+ });
794
+
795
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
796
+ __name: "ContextMenuSeparator",
797
+ props: {
798
+ asChild: { type: Boolean },
799
+ as: {},
800
+ class: {}
801
+ },
802
+ setup(__props) {
803
+ const props = __props;
804
+ const delegatedProps = computed(() => {
805
+ const { class: _, ...delegated } = props;
806
+ return delegated;
807
+ });
808
+ return (_ctx, _cache) => {
809
+ return openBlock(), createBlock(unref(ContextMenuSeparator), mergeProps({ "data-slot": "context-menu-separator" }, delegatedProps.value, {
810
+ class: unref(cn)("bg-border -mx-1 my-1 h-px", props.class)
811
+ }), null, 16, ["class"]);
812
+ };
813
+ }
814
+ });
815
+
816
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
817
+ __name: "ContextMenuShortcut",
818
+ props: {
819
+ class: {}
820
+ },
821
+ setup(__props) {
822
+ const props = __props;
823
+ return (_ctx, _cache) => {
824
+ return openBlock(), createElementBlock("span", {
825
+ "data-slot": "context-menu-shortcut",
826
+ class: normalizeClass(unref(cn)("text-muted-foreground ml-auto text-xs tracking-widest", props.class))
827
+ }, [
828
+ renderSlot(_ctx.$slots, "default")
829
+ ], 2);
830
+ };
831
+ }
832
+ });
833
+
834
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
835
+ __name: "ContextMenuSub",
836
+ props: {
837
+ defaultOpen: { type: Boolean },
838
+ open: { type: Boolean }
839
+ },
840
+ emits: ["update:open"],
841
+ setup(__props, { emit: __emit }) {
842
+ const props = __props;
843
+ const emits = __emit;
844
+ const forwarded = useForwardPropsEmits(props, emits);
845
+ return (_ctx, _cache) => {
846
+ return openBlock(), createBlock(unref(ContextMenuSub), mergeProps({ "data-slot": "context-menu-sub" }, unref(forwarded)), {
847
+ default: withCtx(() => [
848
+ renderSlot(_ctx.$slots, "default")
849
+ ]),
850
+ _: 3
851
+ }, 16);
852
+ };
853
+ }
854
+ });
855
+
856
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
857
+ __name: "ContextMenuSubContent",
858
+ props: {
859
+ forceMount: { type: Boolean },
860
+ loop: { type: Boolean },
861
+ sideOffset: {},
862
+ alignOffset: {},
863
+ avoidCollisions: { type: Boolean },
864
+ collisionBoundary: {},
865
+ collisionPadding: {},
866
+ arrowPadding: {},
867
+ sticky: {},
868
+ hideWhenDetached: { type: Boolean },
869
+ positionStrategy: {},
870
+ updatePositionStrategy: {},
871
+ disableUpdateOnLayoutShift: { type: Boolean },
872
+ prioritizePosition: { type: Boolean },
873
+ reference: {},
874
+ asChild: { type: Boolean },
875
+ as: {},
876
+ class: {}
877
+ },
878
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
879
+ setup(__props, { emit: __emit }) {
880
+ const props = __props;
881
+ const emits = __emit;
882
+ const delegatedProps = computed(() => {
883
+ const { class: _, ...delegated } = props;
884
+ return delegated;
885
+ });
886
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
887
+ return (_ctx, _cache) => {
888
+ return openBlock(), createBlock(unref(ContextMenuSubContent), mergeProps({ "data-slot": "context-menu-sub-content" }, unref(forwarded), {
889
+ class: unref(cn)(
890
+ "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",
891
+ props.class
892
+ )
893
+ }), {
894
+ default: withCtx(() => [
895
+ renderSlot(_ctx.$slots, "default")
896
+ ]),
897
+ _: 3
898
+ }, 16, ["class"]);
899
+ };
900
+ }
901
+ });
902
+
903
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
904
+ __name: "ContextMenuSubTrigger",
905
+ props: {
906
+ disabled: { type: Boolean },
907
+ textValue: {},
908
+ asChild: { type: Boolean },
909
+ as: {},
910
+ class: {},
911
+ inset: { type: Boolean }
912
+ },
913
+ setup(__props) {
914
+ const props = __props;
915
+ const delegatedProps = computed(() => {
916
+ const { class: _, ...delegated } = props;
917
+ return delegated;
918
+ });
919
+ const forwardedProps = useForwardProps(delegatedProps);
920
+ return (_ctx, _cache) => {
921
+ return openBlock(), createBlock(unref(ContextMenuSubTrigger), mergeProps({
922
+ "data-slot": "context-menu-sub-trigger",
923
+ "data-inset": _ctx.inset ? "" : void 0
924
+ }, unref(forwardedProps), {
925
+ class: unref(cn)(
926
+ `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`,
927
+ props.class
928
+ )
929
+ }), {
930
+ default: withCtx(() => [
931
+ renderSlot(_ctx.$slots, "default"),
932
+ createVNode(unref(ChevronRight), { class: "ml-auto" })
933
+ ]),
934
+ _: 3
935
+ }, 16, ["data-inset", "class"]);
936
+ };
937
+ }
938
+ });
939
+
940
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
941
+ __name: "ContextMenuTrigger",
942
+ props: {
943
+ disabled: { type: Boolean },
944
+ asChild: { type: Boolean },
945
+ as: {}
946
+ },
947
+ setup(__props) {
948
+ const props = __props;
949
+ const forwardedProps = useForwardProps(props);
950
+ return (_ctx, _cache) => {
951
+ return openBlock(), createBlock(unref(ContextMenuTrigger), mergeProps({ "data-slot": "context-menu-trigger" }, unref(forwardedProps)), {
952
+ default: withCtx(() => [
953
+ renderSlot(_ctx.$slots, "default")
954
+ ]),
955
+ _: 3
956
+ }, 16);
957
+ };
958
+ }
959
+ });
960
+
961
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
962
+ __name: "Dialog",
963
+ props: {
964
+ open: { type: Boolean },
965
+ defaultOpen: { type: Boolean },
966
+ modal: { type: Boolean }
967
+ },
968
+ emits: ["update:open"],
969
+ setup(__props, { emit: __emit }) {
970
+ const props = __props;
971
+ const emits = __emit;
972
+ const forwarded = useForwardPropsEmits(props, emits);
973
+ return (_ctx, _cache) => {
974
+ return openBlock(), createBlock(unref(DialogRoot), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
975
+ default: withCtx(() => [
976
+ renderSlot(_ctx.$slots, "default")
977
+ ]),
978
+ _: 3
979
+ }, 16);
980
+ };
981
+ }
982
+ });
983
+
984
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
985
+ __name: "DialogClose",
986
+ props: {
987
+ asChild: { type: Boolean },
988
+ as: {}
989
+ },
990
+ setup(__props) {
991
+ const props = __props;
992
+ return (_ctx, _cache) => {
993
+ return openBlock(), createBlock(unref(DialogClose), mergeProps({ "data-slot": "dialog-close" }, props), {
994
+ default: withCtx(() => [
995
+ renderSlot(_ctx.$slots, "default")
996
+ ]),
997
+ _: 3
998
+ }, 16);
999
+ };
1000
+ }
1001
+ });
1002
+
1003
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
1004
+ __name: "DialogOverlay",
1005
+ props: {
1006
+ forceMount: { type: Boolean },
1007
+ asChild: { type: Boolean },
1008
+ as: {},
1009
+ class: {}
1010
+ },
1011
+ setup(__props) {
1012
+ const props = __props;
1013
+ const delegatedProps = computed(() => {
1014
+ const { class: _, ...delegated } = props;
1015
+ return delegated;
1016
+ });
1017
+ return (_ctx, _cache) => {
1018
+ return openBlock(), createBlock(unref(DialogOverlay), mergeProps({ "data-slot": "dialog-overlay" }, delegatedProps.value, {
1019
+ class: unref(cn)(
1020
+ "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",
1021
+ props.class
1022
+ )
1023
+ }), {
1024
+ default: withCtx(() => [
1025
+ renderSlot(_ctx.$slots, "default")
1026
+ ]),
1027
+ _: 3
1028
+ }, 16, ["class"]);
1029
+ };
1030
+ }
1031
+ });
1032
+
1033
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
1034
+ __name: "DialogContent",
1035
+ props: {
1036
+ forceMount: { type: Boolean },
1037
+ trapFocus: { type: Boolean },
1038
+ disableOutsidePointerEvents: { type: Boolean },
1039
+ asChild: { type: Boolean },
1040
+ as: {},
1041
+ class: {}
1042
+ },
1043
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
1044
+ setup(__props, { emit: __emit }) {
1045
+ const props = __props;
1046
+ const emits = __emit;
1047
+ const delegatedProps = computed(() => {
1048
+ const { class: _, ...delegated } = props;
1049
+ return delegated;
1050
+ });
1051
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1052
+ return (_ctx, _cache) => {
1053
+ return openBlock(), createBlock(unref(DialogPortal), null, {
1054
+ default: withCtx(() => [
1055
+ createVNode(_sfc_main$1r),
1056
+ createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
1057
+ class: unref(cn)(
1058
+ "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",
1059
+ props.class
1060
+ )
1061
+ }), {
1062
+ default: withCtx(() => [
1063
+ renderSlot(_ctx.$slots, "default"),
1064
+ 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" }, {
1065
+ default: withCtx(() => [
1066
+ createVNode(unref(X)),
1067
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1068
+ ]),
1069
+ _: 1
1070
+ })
1071
+ ]),
1072
+ _: 3
1073
+ }, 16, ["class"])
1074
+ ]),
1075
+ _: 3
1076
+ });
1077
+ };
1078
+ }
1079
+ });
1080
+
1081
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
1082
+ __name: "DialogDescription",
1083
+ props: {
1084
+ asChild: { type: Boolean },
1085
+ as: {},
1086
+ class: {}
1087
+ },
1088
+ setup(__props) {
1089
+ const props = __props;
1090
+ const delegatedProps = computed(() => {
1091
+ const { class: _, ...delegated } = props;
1092
+ return delegated;
1093
+ });
1094
+ const forwardedProps = useForwardProps(delegatedProps);
1095
+ return (_ctx, _cache) => {
1096
+ return openBlock(), createBlock(unref(DialogDescription), mergeProps({ "data-slot": "dialog-description" }, unref(forwardedProps), {
1097
+ class: unref(cn)("text-muted-foreground text-sm", props.class)
1098
+ }), {
1099
+ default: withCtx(() => [
1100
+ renderSlot(_ctx.$slots, "default")
1101
+ ]),
1102
+ _: 3
1103
+ }, 16, ["class"]);
1104
+ };
1105
+ }
1106
+ });
1107
+
1108
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
1109
+ __name: "DialogFooter",
1110
+ props: {
1111
+ class: {}
1112
+ },
1113
+ setup(__props) {
1114
+ const props = __props;
1115
+ return (_ctx, _cache) => {
1116
+ return openBlock(), createElementBlock("div", {
1117
+ "data-slot": "dialog-footer",
1118
+ class: normalizeClass(unref(cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", props.class))
1119
+ }, [
1120
+ renderSlot(_ctx.$slots, "default")
1121
+ ], 2);
1122
+ };
1123
+ }
1124
+ });
1125
+
1126
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
1127
+ __name: "DialogHeader",
1128
+ props: {
1129
+ class: {}
1130
+ },
1131
+ setup(__props) {
1132
+ const props = __props;
1133
+ return (_ctx, _cache) => {
1134
+ return openBlock(), createElementBlock("div", {
1135
+ "data-slot": "dialog-header",
1136
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 text-center sm:text-left", props.class))
1137
+ }, [
1138
+ renderSlot(_ctx.$slots, "default")
1139
+ ], 2);
1140
+ };
1141
+ }
1142
+ });
1143
+
1144
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
1145
+ __name: "DialogScrollContent",
1146
+ props: {
1147
+ forceMount: { type: Boolean },
1148
+ trapFocus: { type: Boolean },
1149
+ disableOutsidePointerEvents: { type: Boolean },
1150
+ asChild: { type: Boolean },
1151
+ as: {},
1152
+ class: {}
1153
+ },
1154
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
1155
+ setup(__props, { emit: __emit }) {
1156
+ const props = __props;
1157
+ const emits = __emit;
1158
+ const delegatedProps = computed(() => {
1159
+ const { class: _, ...delegated } = props;
1160
+ return delegated;
1161
+ });
1162
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1163
+ return (_ctx, _cache) => {
1164
+ return openBlock(), createBlock(unref(DialogPortal), null, {
1165
+ default: withCtx(() => [
1166
+ createVNode(unref(DialogOverlay), { class: "fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0" }, {
1167
+ default: withCtx(() => [
1168
+ createVNode(unref(DialogContent), mergeProps({
1169
+ class: unref(cn)(
1170
+ "relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
1171
+ props.class
1172
+ )
1173
+ }, unref(forwarded), {
1174
+ onPointerDownOutside: _cache[0] || (_cache[0] = (event) => {
1175
+ const originalEvent = event.detail.originalEvent;
1176
+ const target = originalEvent.target;
1177
+ if (originalEvent.offsetX > target.clientWidth || originalEvent.offsetY > target.clientHeight) {
1178
+ event.preventDefault();
1179
+ }
1180
+ })
1181
+ }), {
1182
+ default: withCtx(() => [
1183
+ renderSlot(_ctx.$slots, "default"),
1184
+ createVNode(unref(DialogClose), { class: "absolute top-4 right-4 p-0.5 transition-colors rounded-md hover:bg-secondary" }, {
1185
+ default: withCtx(() => [
1186
+ createVNode(unref(X), { class: "w-4 h-4" }),
1187
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
1188
+ ]),
1189
+ _: 1
1190
+ })
1191
+ ]),
1192
+ _: 3
1193
+ }, 16, ["class"])
1194
+ ]),
1195
+ _: 3
1196
+ })
1197
+ ]),
1198
+ _: 3
1199
+ });
1200
+ };
1201
+ }
1202
+ });
1203
+
1204
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
1205
+ __name: "DialogTitle",
1206
+ props: {
1207
+ asChild: { type: Boolean },
1208
+ as: {},
1209
+ class: {}
1210
+ },
1211
+ setup(__props) {
1212
+ const props = __props;
1213
+ const delegatedProps = computed(() => {
1214
+ const { class: _, ...delegated } = props;
1215
+ return delegated;
1216
+ });
1217
+ const forwardedProps = useForwardProps(delegatedProps);
1218
+ return (_ctx, _cache) => {
1219
+ return openBlock(), createBlock(unref(DialogTitle), mergeProps({ "data-slot": "dialog-title" }, unref(forwardedProps), {
1220
+ class: unref(cn)("text-lg leading-none font-semibold", props.class)
1221
+ }), {
1222
+ default: withCtx(() => [
1223
+ renderSlot(_ctx.$slots, "default")
1224
+ ]),
1225
+ _: 3
1226
+ }, 16, ["class"]);
1227
+ };
1228
+ }
1229
+ });
1230
+
1231
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
1232
+ __name: "DialogTrigger",
1233
+ props: {
1234
+ asChild: { type: Boolean },
1235
+ as: {}
1236
+ },
1237
+ setup(__props) {
1238
+ const props = __props;
1239
+ return (_ctx, _cache) => {
1240
+ return openBlock(), createBlock(unref(DialogTrigger), mergeProps({ "data-slot": "dialog-trigger" }, props), {
1241
+ default: withCtx(() => [
1242
+ renderSlot(_ctx.$slots, "default")
1243
+ ]),
1244
+ _: 3
1245
+ }, 16);
1246
+ };
1247
+ }
1248
+ });
1249
+
1250
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
1251
+ __name: "DropdownMenu",
1252
+ props: {
1253
+ defaultOpen: { type: Boolean },
1254
+ open: { type: Boolean },
1255
+ dir: {},
1256
+ modal: { type: Boolean }
1257
+ },
1258
+ emits: ["update:open"],
1259
+ setup(__props, { emit: __emit }) {
1260
+ const props = __props;
1261
+ const emits = __emit;
1262
+ const forwarded = useForwardPropsEmits(props, emits);
1263
+ return (_ctx, _cache) => {
1264
+ return openBlock(), createBlock(unref(DropdownMenuRoot), mergeProps({ "data-slot": "dropdown-menu" }, unref(forwarded)), {
1265
+ default: withCtx(() => [
1266
+ renderSlot(_ctx.$slots, "default")
1267
+ ]),
1268
+ _: 3
1269
+ }, 16);
1270
+ };
1271
+ }
1272
+ });
1273
+
1274
+ const _hoisted_1$5 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
1275
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
1276
+ __name: "DropdownMenuCheckboxItem",
1277
+ props: {
1278
+ modelValue: { type: [Boolean, String] },
1279
+ disabled: { type: Boolean },
1280
+ textValue: {},
1281
+ asChild: { type: Boolean },
1282
+ as: {},
1283
+ class: {}
1284
+ },
1285
+ emits: ["select", "update:modelValue"],
1286
+ setup(__props, { emit: __emit }) {
1287
+ const props = __props;
1288
+ const emits = __emit;
1289
+ const delegatedProps = computed(() => {
1290
+ const { class: _, ...delegated } = props;
1291
+ return delegated;
1292
+ });
1293
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1294
+ return (_ctx, _cache) => {
1295
+ return openBlock(), createBlock(unref(DropdownMenuCheckboxItem), mergeProps({ "data-slot": "dropdown-menu-checkbox-item" }, unref(forwarded), {
1296
+ class: unref(cn)(
1297
+ `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`,
1298
+ props.class
1299
+ )
1300
+ }), {
1301
+ default: withCtx(() => [
1302
+ createElementVNode("span", _hoisted_1$5, [
1303
+ createVNode(unref(DropdownMenuItemIndicator), null, {
1304
+ default: withCtx(() => [
1305
+ createVNode(unref(Check), { class: "size-4" })
1306
+ ]),
1307
+ _: 1
1308
+ })
1309
+ ]),
1310
+ renderSlot(_ctx.$slots, "default")
1311
+ ]),
1312
+ _: 3
1313
+ }, 16, ["class"]);
1314
+ };
1315
+ }
1316
+ });
1317
+
1318
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
1319
+ __name: "DropdownMenuContent",
1320
+ props: {
1321
+ forceMount: { type: Boolean },
1322
+ loop: { type: Boolean },
1323
+ side: {},
1324
+ sideOffset: { default: 4 },
1325
+ align: {},
1326
+ alignOffset: {},
1327
+ avoidCollisions: { type: Boolean },
1328
+ collisionBoundary: {},
1329
+ collisionPadding: {},
1330
+ arrowPadding: {},
1331
+ sticky: {},
1332
+ hideWhenDetached: { type: Boolean },
1333
+ positionStrategy: {},
1334
+ updatePositionStrategy: {},
1335
+ disableUpdateOnLayoutShift: { type: Boolean },
1336
+ prioritizePosition: { type: Boolean },
1337
+ reference: {},
1338
+ asChild: { type: Boolean },
1339
+ as: {},
1340
+ class: {}
1341
+ },
1342
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
1343
+ setup(__props, { emit: __emit }) {
1344
+ const props = __props;
1345
+ const emits = __emit;
1346
+ const delegatedProps = computed(() => {
1347
+ const { class: _, ...delegated } = props;
1348
+ return delegated;
1349
+ });
1350
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1351
+ return (_ctx, _cache) => {
1352
+ return openBlock(), createBlock(unref(DropdownMenuPortal), null, {
1353
+ default: withCtx(() => [
1354
+ createVNode(unref(DropdownMenuContent), mergeProps({ "data-slot": "dropdown-menu-content" }, unref(forwarded), {
1355
+ class: unref(cn)(
1356
+ "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-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
1357
+ props.class
1358
+ )
1359
+ }), {
1360
+ default: withCtx(() => [
1361
+ renderSlot(_ctx.$slots, "default")
1362
+ ]),
1363
+ _: 3
1364
+ }, 16, ["class"])
1365
+ ]),
1366
+ _: 3
1367
+ });
1368
+ };
1369
+ }
1370
+ });
1371
+
1372
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
1373
+ __name: "DropdownMenuGroup",
1374
+ props: {
1375
+ asChild: { type: Boolean },
1376
+ as: {}
1377
+ },
1378
+ setup(__props) {
1379
+ const props = __props;
1380
+ return (_ctx, _cache) => {
1381
+ return openBlock(), createBlock(unref(DropdownMenuGroup), mergeProps({ "data-slot": "dropdown-menu-group" }, props), {
1382
+ default: withCtx(() => [
1383
+ renderSlot(_ctx.$slots, "default")
1384
+ ]),
1385
+ _: 3
1386
+ }, 16);
1387
+ };
1388
+ }
1389
+ });
1390
+
1391
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
1392
+ __name: "DropdownMenuItem",
1393
+ props: {
1394
+ disabled: { type: Boolean },
1395
+ textValue: {},
1396
+ asChild: { type: Boolean },
1397
+ as: {},
1398
+ class: {},
1399
+ inset: { type: Boolean },
1400
+ variant: { default: "default" }
1401
+ },
1402
+ setup(__props) {
1403
+ const props = __props;
1404
+ const delegatedProps = reactiveOmit(props, "inset", "variant");
1405
+ const forwardedProps = useForwardProps(delegatedProps);
1406
+ return (_ctx, _cache) => {
1407
+ return openBlock(), createBlock(unref(DropdownMenuItem), mergeProps({
1408
+ "data-slot": "dropdown-menu-item",
1409
+ "data-inset": _ctx.inset ? "" : void 0,
1410
+ "data-variant": _ctx.variant
1411
+ }, unref(forwardedProps), {
1412
+ class: unref(cn)(
1413
+ `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`,
1414
+ props.class
1415
+ )
1416
+ }), {
1417
+ default: withCtx(() => [
1418
+ renderSlot(_ctx.$slots, "default")
1419
+ ]),
1420
+ _: 3
1421
+ }, 16, ["data-inset", "data-variant", "class"]);
1422
+ };
1423
+ }
1424
+ });
1425
+
1426
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
1427
+ __name: "DropdownMenuLabel",
1428
+ props: {
1429
+ asChild: { type: Boolean },
1430
+ as: {},
1431
+ class: {},
1432
+ inset: { type: Boolean }
1433
+ },
1434
+ setup(__props) {
1435
+ const props = __props;
1436
+ const delegatedProps = reactiveOmit(props, "class", "inset");
1437
+ const forwardedProps = useForwardProps(delegatedProps);
1438
+ return (_ctx, _cache) => {
1439
+ return openBlock(), createBlock(unref(DropdownMenuLabel), mergeProps({
1440
+ "data-slot": "dropdown-menu-label",
1441
+ "data-inset": _ctx.inset ? "" : void 0
1442
+ }, unref(forwardedProps), {
1443
+ class: unref(cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", props.class)
1444
+ }), {
1445
+ default: withCtx(() => [
1446
+ renderSlot(_ctx.$slots, "default")
1447
+ ]),
1448
+ _: 3
1449
+ }, 16, ["data-inset", "class"]);
1450
+ };
1451
+ }
1452
+ });
1453
+
1454
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
1455
+ __name: "DropdownMenuRadioGroup",
1456
+ props: {
1457
+ modelValue: {},
1458
+ asChild: { type: Boolean },
1459
+ as: {}
1460
+ },
1461
+ emits: ["update:modelValue"],
1462
+ setup(__props, { emit: __emit }) {
1463
+ const props = __props;
1464
+ const emits = __emit;
1465
+ const forwarded = useForwardPropsEmits(props, emits);
1466
+ return (_ctx, _cache) => {
1467
+ return openBlock(), createBlock(unref(DropdownMenuRadioGroup), mergeProps({ "data-slot": "dropdown-menu-radio-group" }, unref(forwarded)), {
1468
+ default: withCtx(() => [
1469
+ renderSlot(_ctx.$slots, "default")
1470
+ ]),
1471
+ _: 3
1472
+ }, 16);
1473
+ };
1474
+ }
1475
+ });
1476
+
1477
+ const _hoisted_1$4 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
1478
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1479
+ __name: "DropdownMenuRadioItem",
1480
+ props: {
1481
+ value: {},
1482
+ disabled: { type: Boolean },
1483
+ textValue: {},
1484
+ asChild: { type: Boolean },
1485
+ as: {},
1486
+ class: {}
1487
+ },
1488
+ emits: ["select"],
1489
+ setup(__props, { emit: __emit }) {
1490
+ const props = __props;
1491
+ const emits = __emit;
1492
+ const delegatedProps = computed(() => {
1493
+ const { class: _, ...delegated } = props;
1494
+ return delegated;
1495
+ });
1496
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1497
+ return (_ctx, _cache) => {
1498
+ return openBlock(), createBlock(unref(DropdownMenuRadioItem), mergeProps({ "data-slot": "dropdown-menu-radio-item" }, unref(forwarded), {
1499
+ class: unref(cn)(
1500
+ `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`,
1501
+ props.class
1502
+ )
1503
+ }), {
1504
+ default: withCtx(() => [
1505
+ createElementVNode("span", _hoisted_1$4, [
1506
+ createVNode(unref(DropdownMenuItemIndicator), null, {
1507
+ default: withCtx(() => [
1508
+ createVNode(unref(Circle), { class: "size-2 fill-current" })
1509
+ ]),
1510
+ _: 1
1511
+ })
1512
+ ]),
1513
+ renderSlot(_ctx.$slots, "default")
1514
+ ]),
1515
+ _: 3
1516
+ }, 16, ["class"]);
1517
+ };
1518
+ }
1519
+ });
1520
+
1521
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1522
+ __name: "DropdownMenuSeparator",
1523
+ props: {
1524
+ asChild: { type: Boolean },
1525
+ as: {},
1526
+ class: {}
1527
+ },
1528
+ setup(__props) {
1529
+ const props = __props;
1530
+ const delegatedProps = computed(() => {
1531
+ const { class: _, ...delegated } = props;
1532
+ return delegated;
1533
+ });
1534
+ return (_ctx, _cache) => {
1535
+ return openBlock(), createBlock(unref(DropdownMenuSeparator), mergeProps({ "data-slot": "dropdown-menu-separator" }, delegatedProps.value, {
1536
+ class: unref(cn)("bg-border -mx-1 my-1 h-px", props.class)
1537
+ }), null, 16, ["class"]);
1538
+ };
1539
+ }
1540
+ });
1541
+
1542
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1543
+ __name: "DropdownMenuShortcut",
1544
+ props: {
1545
+ class: {}
1546
+ },
1547
+ setup(__props) {
1548
+ const props = __props;
1549
+ return (_ctx, _cache) => {
1550
+ return openBlock(), createElementBlock("span", {
1551
+ "data-slot": "dropdown-menu-shortcut",
1552
+ class: normalizeClass(unref(cn)("text-muted-foreground ml-auto text-xs tracking-widest", props.class))
1553
+ }, [
1554
+ renderSlot(_ctx.$slots, "default")
1555
+ ], 2);
1556
+ };
1557
+ }
1558
+ });
1559
+
1560
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
1561
+ __name: "DropdownMenuSub",
1562
+ props: {
1563
+ defaultOpen: { type: Boolean },
1564
+ open: { type: Boolean }
1565
+ },
1566
+ emits: ["update:open"],
1567
+ setup(__props, { emit: __emit }) {
1568
+ const props = __props;
1569
+ const emits = __emit;
1570
+ const forwarded = useForwardPropsEmits(props, emits);
1571
+ return (_ctx, _cache) => {
1572
+ return openBlock(), createBlock(unref(DropdownMenuSub), mergeProps({ "data-slot": "dropdown-menu-sub" }, unref(forwarded)), {
1573
+ default: withCtx(() => [
1574
+ renderSlot(_ctx.$slots, "default")
1575
+ ]),
1576
+ _: 3
1577
+ }, 16);
1578
+ };
1579
+ }
1580
+ });
1581
+
1582
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1583
+ __name: "DropdownMenuSubContent",
1584
+ props: {
1585
+ forceMount: { type: Boolean },
1586
+ loop: { type: Boolean },
1587
+ sideOffset: {},
1588
+ alignOffset: {},
1589
+ avoidCollisions: { type: Boolean },
1590
+ collisionBoundary: {},
1591
+ collisionPadding: {},
1592
+ arrowPadding: {},
1593
+ sticky: {},
1594
+ hideWhenDetached: { type: Boolean },
1595
+ positionStrategy: {},
1596
+ updatePositionStrategy: {},
1597
+ disableUpdateOnLayoutShift: { type: Boolean },
1598
+ prioritizePosition: { type: Boolean },
1599
+ reference: {},
1600
+ asChild: { type: Boolean },
1601
+ as: {},
1602
+ class: {}
1603
+ },
1604
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
1605
+ setup(__props, { emit: __emit }) {
1606
+ const props = __props;
1607
+ const emits = __emit;
1608
+ const delegatedProps = computed(() => {
1609
+ const { class: _, ...delegated } = props;
1610
+ return delegated;
1611
+ });
1612
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1613
+ return (_ctx, _cache) => {
1614
+ return openBlock(), createBlock(unref(DropdownMenuSubContent), mergeProps({ "data-slot": "dropdown-menu-sub-content" }, unref(forwarded), {
1615
+ class: unref(cn)(
1616
+ "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-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
1617
+ props.class
1618
+ )
1619
+ }), {
1620
+ default: withCtx(() => [
1621
+ renderSlot(_ctx.$slots, "default")
1622
+ ]),
1623
+ _: 3
1624
+ }, 16, ["class"]);
1625
+ };
1626
+ }
1627
+ });
1628
+
1629
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1630
+ __name: "DropdownMenuSubTrigger",
1631
+ props: {
1632
+ disabled: { type: Boolean },
1633
+ textValue: {},
1634
+ asChild: { type: Boolean },
1635
+ as: {},
1636
+ class: {},
1637
+ inset: { type: Boolean }
1638
+ },
1639
+ setup(__props) {
1640
+ const props = __props;
1641
+ const delegatedProps = reactiveOmit(props, "class", "inset");
1642
+ const forwardedProps = useForwardProps(delegatedProps);
1643
+ return (_ctx, _cache) => {
1644
+ return openBlock(), createBlock(unref(DropdownMenuSubTrigger), mergeProps({ "data-slot": "dropdown-menu-sub-trigger" }, unref(forwardedProps), {
1645
+ class: unref(cn)(
1646
+ "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",
1647
+ props.class
1648
+ )
1649
+ }), {
1650
+ default: withCtx(() => [
1651
+ renderSlot(_ctx.$slots, "default"),
1652
+ createVNode(unref(ChevronRight), { class: "ml-auto size-4" })
1653
+ ]),
1654
+ _: 3
1655
+ }, 16, ["class"]);
1656
+ };
1657
+ }
1658
+ });
1659
+
1660
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1661
+ __name: "DropdownMenuTrigger",
1662
+ props: {
1663
+ disabled: { type: Boolean },
1664
+ asChild: { type: Boolean },
1665
+ as: {}
1666
+ },
1667
+ setup(__props) {
1668
+ const props = __props;
1669
+ const forwardedProps = useForwardProps(props);
1670
+ return (_ctx, _cache) => {
1671
+ return openBlock(), createBlock(unref(DropdownMenuTrigger), mergeProps({ "data-slot": "dropdown-menu-trigger" }, unref(forwardedProps)), {
1672
+ default: withCtx(() => [
1673
+ renderSlot(_ctx.$slots, "default")
1674
+ ]),
1675
+ _: 3
1676
+ }, 16);
1677
+ };
1678
+ }
1679
+ });
1680
+
1681
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1682
+ __name: "Input",
1683
+ props: {
1684
+ defaultValue: {},
1685
+ modelValue: {},
1686
+ class: {}
1687
+ },
1688
+ emits: ["update:modelValue"],
1689
+ setup(__props, { emit: __emit }) {
1690
+ const props = __props;
1691
+ const emits = __emit;
1692
+ const modelValue = useVModel(props, "modelValue", emits, {
1693
+ passive: true,
1694
+ defaultValue: props.defaultValue
1695
+ });
1696
+ return (_ctx, _cache) => {
1697
+ return withDirectives((openBlock(), createElementBlock("input", {
1698
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
1699
+ "data-slot": "input",
1700
+ class: normalizeClass(
1701
+ unref(cn)(
1702
+ "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",
1703
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
1704
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
1705
+ props.class
1706
+ )
1707
+ )
1708
+ }, null, 2)), [
1709
+ [vModelText, unref(modelValue)]
1710
+ ]);
1711
+ };
1712
+ }
1713
+ });
1714
+
1715
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
1716
+ __name: "NumberField",
1717
+ props: {
1718
+ defaultValue: {},
1719
+ modelValue: {},
1720
+ min: {},
1721
+ max: {},
1722
+ step: {},
1723
+ stepSnapping: { type: Boolean },
1724
+ formatOptions: {},
1725
+ locale: {},
1726
+ disabled: { type: Boolean },
1727
+ disableWheelChange: { type: Boolean },
1728
+ id: {},
1729
+ asChild: { type: Boolean },
1730
+ as: {},
1731
+ name: {},
1732
+ required: { type: Boolean },
1733
+ class: {}
1734
+ },
1735
+ emits: ["update:modelValue"],
1736
+ setup(__props, { emit: __emit }) {
1737
+ const props = __props;
1738
+ const emits = __emit;
1739
+ const delegatedProps = computed(() => {
1740
+ const { class: _, ...delegated } = props;
1741
+ return delegated;
1742
+ });
1743
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
1744
+ return (_ctx, _cache) => {
1745
+ return openBlock(), createBlock(unref(NumberFieldRoot), mergeProps(unref(forwarded), {
1746
+ class: unref(cn)("grid gap-1.5", props.class)
1747
+ }), {
1748
+ default: withCtx(() => [
1749
+ renderSlot(_ctx.$slots, "default")
1750
+ ]),
1751
+ _: 3
1752
+ }, 16, ["class"]);
1753
+ };
1754
+ }
1755
+ });
1756
+
1757
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
1758
+ __name: "NumberFieldContent",
1759
+ props: {
1760
+ class: {}
1761
+ },
1762
+ setup(__props) {
1763
+ const props = __props;
1764
+ return (_ctx, _cache) => {
1765
+ return openBlock(), createElementBlock("div", {
1766
+ class: normalizeClass(
1767
+ unref(cn)(
1768
+ "relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5",
1769
+ props.class
1770
+ )
1771
+ )
1772
+ }, [
1773
+ renderSlot(_ctx.$slots, "default")
1774
+ ], 2);
1775
+ };
1776
+ }
1777
+ });
1778
+
1779
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
1780
+ __name: "NumberFieldDecrement",
1781
+ props: {
1782
+ disabled: { type: Boolean },
1783
+ asChild: { type: Boolean },
1784
+ as: {},
1785
+ class: {}
1786
+ },
1787
+ setup(__props) {
1788
+ const props = __props;
1789
+ const delegatedProps = computed(() => {
1790
+ const { class: _, ...delegated } = props;
1791
+ return delegated;
1792
+ });
1793
+ const forwarded = useForwardProps(delegatedProps);
1794
+ return (_ctx, _cache) => {
1795
+ return openBlock(), createBlock(unref(NumberFieldDecrement), mergeProps({ "data-slot": "decrement" }, unref(forwarded), {
1796
+ class: unref(cn)(
1797
+ "absolute top-1/2 -translate-y-1/2 left-0 p-3 disabled:cursor-not-allowed disabled:opacity-20",
1798
+ props.class
1799
+ )
1800
+ }), {
1801
+ default: withCtx(() => [
1802
+ renderSlot(_ctx.$slots, "default", {}, () => [
1803
+ createVNode(unref(Minus), { class: "h-4 w-4" })
1804
+ ])
1805
+ ]),
1806
+ _: 3
1807
+ }, 16, ["class"]);
1808
+ };
1809
+ }
1810
+ });
1811
+
1812
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
1813
+ __name: "NumberFieldIncrement",
1814
+ props: {
1815
+ disabled: { type: Boolean },
1816
+ asChild: { type: Boolean },
1817
+ as: {},
1818
+ class: {}
1819
+ },
1820
+ setup(__props) {
1821
+ const props = __props;
1822
+ const delegatedProps = computed(() => {
1823
+ const { class: _, ...delegated } = props;
1824
+ return delegated;
1825
+ });
1826
+ const forwarded = useForwardProps(delegatedProps);
1827
+ return (_ctx, _cache) => {
1828
+ return openBlock(), createBlock(unref(NumberFieldIncrement), mergeProps({ "data-slot": "increment" }, unref(forwarded), {
1829
+ class: unref(cn)(
1830
+ "absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20 p-3",
1831
+ props.class
1832
+ )
1833
+ }), {
1834
+ default: withCtx(() => [
1835
+ renderSlot(_ctx.$slots, "default", {}, () => [
1836
+ createVNode(unref(Plus), { class: "h-4 w-4" })
1837
+ ])
1838
+ ]),
1839
+ _: 3
1840
+ }, 16, ["class"]);
1841
+ };
1842
+ }
1843
+ });
1844
+
1845
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
1846
+ __name: "NumberFieldInput",
1847
+ props: {
1848
+ class: {}
1849
+ },
1850
+ setup(__props) {
1851
+ const props = __props;
1852
+ return (_ctx, _cache) => {
1853
+ return openBlock(), createBlock(unref(NumberFieldInput), {
1854
+ "data-slot": "input",
1855
+ class: normalizeClass(
1856
+ unref(cn)(
1857
+ "flex h-9 w-full rounded-md border border-input bg-transparent py-1 text-sm text-center shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
1858
+ props.class
1859
+ )
1860
+ )
1861
+ }, null, 8, ["class"]);
1862
+ };
1863
+ }
1864
+ });
1865
+
1866
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
1867
+ __name: "InputNumber",
1868
+ props: {
1869
+ defaultValue: {},
1870
+ disabled: { type: Boolean },
1871
+ formatOptions: { default: () => ({ useGrouping: false }) },
1872
+ max: {},
1873
+ min: {},
1874
+ modelValue: {}
1875
+ },
1876
+ emits: ["update:modelValue"],
1877
+ setup(__props, { emit: __emit }) {
1878
+ const props = __props;
1879
+ const emit = __emit;
1880
+ const value = computed({
1881
+ // eslint-disable-next-line no-undefined
1882
+ get: () => props.modelValue ?? void 0,
1883
+ set: (it) => emit("update:modelValue", it ?? null)
1884
+ });
1885
+ return (_ctx, _cache) => {
1886
+ return openBlock(), createBlock(unref(_sfc_main$14), {
1887
+ modelValue: value.value,
1888
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
1889
+ "default-value": _ctx.defaultValue,
1890
+ "format-options": _ctx.formatOptions,
1891
+ min: _ctx.min,
1892
+ max: _ctx.max,
1893
+ disabled: _ctx.disabled
1894
+ }, {
1895
+ default: withCtx(() => [
1896
+ createVNode(unref(_sfc_main$13), null, {
1897
+ default: withCtx(() => [
1898
+ createVNode(unref(_sfc_main$12)),
1899
+ createVNode(unref(_sfc_main$10)),
1900
+ createVNode(unref(_sfc_main$11))
1901
+ ]),
1902
+ _: 1
1903
+ })
1904
+ ]),
1905
+ _: 1
1906
+ }, 8, ["modelValue", "default-value", "format-options", "min", "max", "disabled"]);
1907
+ };
1908
+ }
1909
+ });
1910
+
1911
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
1912
+ __name: "InputText",
1913
+ props: {
1914
+ class: {},
1915
+ disabled: { type: Boolean },
1916
+ max: {},
1917
+ min: {},
1918
+ modelValue: {},
1919
+ onBlur: { type: Function },
1920
+ placeholder: {},
1921
+ size: {}
1922
+ },
1923
+ emits: ["update:modelValue"],
1924
+ setup(__props, { emit: __emit }) {
1925
+ const props = __props;
1926
+ const emit = __emit;
1927
+ const value = computed({
1928
+ // eslint-disable-next-line no-undefined
1929
+ get: () => props.modelValue ?? void 0,
1930
+ set: (it) => emit("update:modelValue", it ?? null)
1931
+ });
1932
+ return (_ctx, _cache) => {
1933
+ return openBlock(), createBlock(unref(_sfc_main$15), {
1934
+ modelValue: value.value,
1935
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
1936
+ modelModifiers: { trim: true },
1937
+ type: "text",
1938
+ placeholder: _ctx.placeholder,
1939
+ disabled: _ctx.disabled,
1940
+ maxlength: _ctx.max,
1941
+ minlength: _ctx.min,
1942
+ size: _ctx.size,
1943
+ spellcheck: "false",
1944
+ class: normalizeClass(unref(cn)("focus-visible:ring-0 disabled:cursor-default", props.class)),
1945
+ onBlur: _ctx.onBlur
1946
+ }, null, 8, ["modelValue", "placeholder", "disabled", "maxlength", "minlength", "size", "class", "onBlur"]);
1947
+ };
1948
+ }
1949
+ });
1950
+
1951
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
1952
+ __name: "Label",
1953
+ props: {
1954
+ for: {},
1955
+ asChild: { type: Boolean },
1956
+ as: {},
1957
+ class: {}
1958
+ },
1959
+ setup(__props) {
1960
+ const props = __props;
1961
+ const delegatedProps = computed(() => {
1962
+ const { class: _, ...delegated } = props;
1963
+ return delegated;
1964
+ });
1965
+ return (_ctx, _cache) => {
1966
+ return openBlock(), createBlock(unref(Label), mergeProps({ "data-slot": "label" }, delegatedProps.value, {
1967
+ class: unref(cn)(
1968
+ "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
1969
+ props.class
1970
+ )
1971
+ }), {
1972
+ default: withCtx(() => [
1973
+ renderSlot(_ctx.$slots, "default")
1974
+ ]),
1975
+ _: 3
1976
+ }, 16, ["class"]);
1977
+ };
1978
+ }
1979
+ });
1980
+
1981
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
1982
+ __name: "Label",
1983
+ props: {
1984
+ class: {}
1985
+ },
1986
+ setup(__props) {
1987
+ const props = __props;
1988
+ return (_ctx, _cache) => {
1989
+ return openBlock(), createBlock(unref(_sfc_main$Z), {
1990
+ class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", props.class))
1991
+ }, {
1992
+ default: withCtx(() => [
1993
+ renderSlot(_ctx.$slots, "default")
1994
+ ]),
1995
+ _: 3
1996
+ }, 8, ["class"]);
1997
+ };
1998
+ }
1999
+ });
2000
+
2001
+ const _hoisted_1$3 = { key: 0 };
2002
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8
2003
  __name: "Link",
9
2004
  props: {
10
2005
  label: {},
@@ -12,70 +2007,1872 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
12
2007
  },
13
2008
  setup(__props) {
14
2009
  return (_ctx, _cache) => {
15
- return openBlock(), createBlock(unref(RouterLink), {
16
- to: { name: _ctx.to }
17
- }, {
2010
+ return openBlock(), createBlock(unref(RouterLink), {
2011
+ to: { name: _ctx.to }
2012
+ }, {
2013
+ default: withCtx(() => [
2014
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$3, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
2015
+ ]),
2016
+ _: 3
2017
+ }, 8, ["to"]);
2018
+ };
2019
+ }
2020
+ });
2021
+
2022
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
2023
+ __name: "Popover",
2024
+ props: {
2025
+ defaultOpen: { type: Boolean },
2026
+ open: { type: Boolean },
2027
+ modal: { type: Boolean }
2028
+ },
2029
+ emits: ["update:open"],
2030
+ setup(__props, { emit: __emit }) {
2031
+ const props = __props;
2032
+ const emits = __emit;
2033
+ const forwarded = useForwardPropsEmits(props, emits);
2034
+ return (_ctx, _cache) => {
2035
+ return openBlock(), createBlock(unref(PopoverRoot), mergeProps({ "data-slot": "popover" }, unref(forwarded)), {
2036
+ default: withCtx(() => [
2037
+ renderSlot(_ctx.$slots, "default")
2038
+ ]),
2039
+ _: 3
2040
+ }, 16);
2041
+ };
2042
+ }
2043
+ });
2044
+
2045
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
2046
+ __name: "PopoverAnchor",
2047
+ props: {
2048
+ reference: {},
2049
+ asChild: { type: Boolean },
2050
+ as: {}
2051
+ },
2052
+ setup(__props) {
2053
+ const props = __props;
2054
+ return (_ctx, _cache) => {
2055
+ return openBlock(), createBlock(unref(PopoverAnchor), mergeProps({ "data-slot": "popover-anchor" }, props), {
2056
+ default: withCtx(() => [
2057
+ renderSlot(_ctx.$slots, "default")
2058
+ ]),
2059
+ _: 3
2060
+ }, 16);
2061
+ };
2062
+ }
2063
+ });
2064
+
2065
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
2066
+ ...{
2067
+ inheritAttrs: false
2068
+ },
2069
+ __name: "PopoverContent",
2070
+ props: {
2071
+ forceMount: { type: Boolean },
2072
+ side: {},
2073
+ sideOffset: { default: 4 },
2074
+ align: { default: "center" },
2075
+ alignOffset: {},
2076
+ avoidCollisions: { type: Boolean },
2077
+ collisionBoundary: {},
2078
+ collisionPadding: {},
2079
+ arrowPadding: {},
2080
+ sticky: {},
2081
+ hideWhenDetached: { type: Boolean },
2082
+ positionStrategy: {},
2083
+ updatePositionStrategy: {},
2084
+ disableUpdateOnLayoutShift: { type: Boolean },
2085
+ prioritizePosition: { type: Boolean },
2086
+ reference: {},
2087
+ asChild: { type: Boolean },
2088
+ as: {},
2089
+ disableOutsidePointerEvents: { type: Boolean },
2090
+ class: {}
2091
+ },
2092
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
2093
+ setup(__props, { emit: __emit }) {
2094
+ const props = __props;
2095
+ const emits = __emit;
2096
+ const delegatedProps = computed(() => {
2097
+ const { class: _, ...delegated } = props;
2098
+ return delegated;
2099
+ });
2100
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2101
+ return (_ctx, _cache) => {
2102
+ return openBlock(), createBlock(unref(PopoverPortal), null, {
2103
+ default: withCtx(() => [
2104
+ createVNode(unref(PopoverContent), mergeProps({ "data-slot": "popover-content" }, { ...unref(forwarded), ..._ctx.$attrs }, {
2105
+ class: unref(cn)(
2106
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 rounded-md border p-4 shadow-md origin-(--reka-popover-content-transform-origin) outline-hidden",
2107
+ props.class
2108
+ )
2109
+ }), {
2110
+ default: withCtx(() => [
2111
+ renderSlot(_ctx.$slots, "default")
2112
+ ]),
2113
+ _: 3
2114
+ }, 16, ["class"])
2115
+ ]),
2116
+ _: 3
2117
+ });
2118
+ };
2119
+ }
2120
+ });
2121
+
2122
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2123
+ __name: "PopoverTrigger",
2124
+ props: {
2125
+ asChild: { type: Boolean },
2126
+ as: {}
2127
+ },
2128
+ setup(__props) {
2129
+ const props = __props;
2130
+ return (_ctx, _cache) => {
2131
+ return openBlock(), createBlock(unref(PopoverTrigger), mergeProps({ "data-slot": "popover-trigger" }, props), {
2132
+ default: withCtx(() => [
2133
+ renderSlot(_ctx.$slots, "default")
2134
+ ]),
2135
+ _: 3
2136
+ }, 16);
2137
+ };
2138
+ }
2139
+ });
2140
+
2141
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
2142
+ __name: "Progress",
2143
+ props: {
2144
+ modelValue: { default: 0 },
2145
+ max: {},
2146
+ getValueLabel: {},
2147
+ asChild: { type: Boolean },
2148
+ as: {},
2149
+ class: {}
2150
+ },
2151
+ setup(__props) {
2152
+ const props = __props;
2153
+ const delegatedProps = computed(() => {
2154
+ const { class: _, ...delegated } = props;
2155
+ return delegated;
2156
+ });
2157
+ return (_ctx, _cache) => {
2158
+ return openBlock(), createBlock(unref(ProgressRoot), mergeProps({ "data-slot": "progress" }, delegatedProps.value, {
2159
+ class: unref(cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", props.class)
2160
+ }), {
2161
+ default: withCtx(() => [
2162
+ createVNode(unref(ProgressIndicator), {
2163
+ "data-slot": "progress-indicator",
2164
+ class: "bg-primary h-full w-full flex-1 transition-all",
2165
+ style: normalizeStyle(`transform: translateX(-${100 - (props.modelValue ?? 0)}%);`)
2166
+ }, null, 8, ["style"])
2167
+ ]),
2168
+ _: 1
2169
+ }, 16, ["class"]);
2170
+ };
2171
+ }
2172
+ });
2173
+
2174
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
2175
+ __name: "RadioGroup",
2176
+ props: {
2177
+ modelValue: {},
2178
+ defaultValue: {},
2179
+ disabled: { type: Boolean },
2180
+ orientation: {},
2181
+ dir: {},
2182
+ loop: { type: Boolean },
2183
+ asChild: { type: Boolean },
2184
+ as: {},
2185
+ name: {},
2186
+ required: { type: Boolean },
2187
+ class: {}
2188
+ },
2189
+ emits: ["update:modelValue"],
2190
+ setup(__props, { emit: __emit }) {
2191
+ const props = __props;
2192
+ const emits = __emit;
2193
+ const delegatedProps = computed(() => {
2194
+ const { class: _, ...delegated } = props;
2195
+ return delegated;
2196
+ });
2197
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2198
+ return (_ctx, _cache) => {
2199
+ return openBlock(), createBlock(unref(RadioGroupRoot), mergeProps({
2200
+ "data-slot": "radio-group",
2201
+ class: unref(cn)("grid gap-3", props.class)
2202
+ }, unref(forwarded)), {
2203
+ default: withCtx(() => [
2204
+ renderSlot(_ctx.$slots, "default")
2205
+ ]),
2206
+ _: 3
2207
+ }, 16, ["class"]);
2208
+ };
2209
+ }
2210
+ });
2211
+
2212
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
2213
+ __name: "RadioGroupItem",
2214
+ props: {
2215
+ id: {},
2216
+ value: {},
2217
+ disabled: { type: Boolean },
2218
+ asChild: { type: Boolean },
2219
+ as: {},
2220
+ name: {},
2221
+ required: { type: Boolean },
2222
+ class: {}
2223
+ },
2224
+ setup(__props) {
2225
+ const props = __props;
2226
+ const delegatedProps = computed(() => {
2227
+ const { class: _, ...delegated } = props;
2228
+ return delegated;
2229
+ });
2230
+ const forwardedProps = useForwardProps(delegatedProps);
2231
+ return (_ctx, _cache) => {
2232
+ return openBlock(), createBlock(unref(RadioGroupItem), mergeProps({ "data-slot": "radio-group-item" }, unref(forwardedProps), {
2233
+ class: unref(cn)(
2234
+ "border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
2235
+ props.class
2236
+ )
2237
+ }), {
2238
+ default: withCtx(() => [
2239
+ createVNode(unref(RadioGroupIndicator), {
2240
+ "data-slot": "radio-group-indicator",
2241
+ class: "relative flex items-center justify-center"
2242
+ }, {
2243
+ default: withCtx(() => [
2244
+ createVNode(unref(CircleIcon), { class: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
2245
+ ]),
2246
+ _: 1
2247
+ })
2248
+ ]),
2249
+ _: 1
2250
+ }, 16, ["class"]);
2251
+ };
2252
+ }
2253
+ });
2254
+
2255
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2256
+ __name: "Select",
2257
+ props: {
2258
+ open: { type: Boolean },
2259
+ defaultOpen: { type: Boolean },
2260
+ defaultValue: {},
2261
+ modelValue: {},
2262
+ by: { type: [String, Function] },
2263
+ dir: {},
2264
+ multiple: { type: Boolean },
2265
+ autocomplete: {},
2266
+ disabled: { type: Boolean },
2267
+ name: {},
2268
+ required: { type: Boolean }
2269
+ },
2270
+ emits: ["update:modelValue", "update:open"],
2271
+ setup(__props, { emit: __emit }) {
2272
+ const props = __props;
2273
+ const emits = __emit;
2274
+ const forwarded = useForwardPropsEmits(props, emits);
2275
+ return (_ctx, _cache) => {
2276
+ return openBlock(), createBlock(unref(SelectRoot), mergeProps({ "data-slot": "select" }, unref(forwarded)), {
2277
+ default: withCtx(() => [
2278
+ renderSlot(_ctx.$slots, "default")
2279
+ ]),
2280
+ _: 3
2281
+ }, 16);
2282
+ };
2283
+ }
2284
+ });
2285
+
2286
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
2287
+ ...{
2288
+ inheritAttrs: false
2289
+ },
2290
+ __name: "SelectContent",
2291
+ props: {
2292
+ forceMount: { type: Boolean },
2293
+ position: { default: "popper" },
2294
+ bodyLock: { type: Boolean },
2295
+ side: {},
2296
+ sideOffset: {},
2297
+ align: {},
2298
+ alignOffset: {},
2299
+ avoidCollisions: { type: Boolean },
2300
+ collisionBoundary: {},
2301
+ collisionPadding: {},
2302
+ arrowPadding: {},
2303
+ sticky: {},
2304
+ hideWhenDetached: { type: Boolean },
2305
+ positionStrategy: {},
2306
+ updatePositionStrategy: {},
2307
+ disableUpdateOnLayoutShift: { type: Boolean },
2308
+ prioritizePosition: { type: Boolean },
2309
+ reference: {},
2310
+ asChild: { type: Boolean },
2311
+ as: {},
2312
+ class: {}
2313
+ },
2314
+ emits: ["closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
2315
+ setup(__props, { emit: __emit }) {
2316
+ const props = __props;
2317
+ const emits = __emit;
2318
+ const delegatedProps = computed(() => {
2319
+ const { class: _, ...delegated } = props;
2320
+ return delegated;
2321
+ });
2322
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2323
+ return (_ctx, _cache) => {
2324
+ return openBlock(), createBlock(unref(SelectPortal), null, {
2325
+ default: withCtx(() => [
2326
+ createVNode(unref(SelectContent), mergeProps({ "data-slot": "select-content" }, { ...unref(forwarded), ..._ctx.$attrs }, {
2327
+ class: unref(cn)(
2328
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--reka-select-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
2329
+ _ctx.position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
2330
+ props.class
2331
+ )
2332
+ }), {
2333
+ default: withCtx(() => [
2334
+ createVNode(unref(_sfc_main$I)),
2335
+ createVNode(unref(SelectViewport), {
2336
+ class: normalizeClass(
2337
+ unref(cn)(
2338
+ "p-1",
2339
+ _ctx.position === "popper" && "h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1"
2340
+ )
2341
+ )
2342
+ }, {
2343
+ default: withCtx(() => [
2344
+ renderSlot(_ctx.$slots, "default")
2345
+ ]),
2346
+ _: 3
2347
+ }, 8, ["class"]),
2348
+ createVNode(unref(_sfc_main$J))
2349
+ ]),
2350
+ _: 3
2351
+ }, 16, ["class"])
2352
+ ]),
2353
+ _: 3
2354
+ });
2355
+ };
2356
+ }
2357
+ });
2358
+
2359
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
2360
+ __name: "SelectGroup",
2361
+ props: {
2362
+ asChild: { type: Boolean },
2363
+ as: {}
2364
+ },
2365
+ setup(__props) {
2366
+ const props = __props;
2367
+ return (_ctx, _cache) => {
2368
+ return openBlock(), createBlock(unref(SelectGroup), mergeProps({ "data-slot": "select-group" }, props), {
2369
+ default: withCtx(() => [
2370
+ renderSlot(_ctx.$slots, "default")
2371
+ ]),
2372
+ _: 3
2373
+ }, 16);
2374
+ };
2375
+ }
2376
+ });
2377
+
2378
+ const _hoisted_1$2 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
2379
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
2380
+ __name: "SelectItem",
2381
+ props: {
2382
+ value: {},
2383
+ disabled: { type: Boolean },
2384
+ textValue: {},
2385
+ asChild: { type: Boolean },
2386
+ as: {},
2387
+ class: {}
2388
+ },
2389
+ setup(__props) {
2390
+ const props = __props;
2391
+ const delegatedProps = computed(() => {
2392
+ const { class: _, ...delegated } = props;
2393
+ return delegated;
2394
+ });
2395
+ const forwardedProps = useForwardProps(delegatedProps);
2396
+ return (_ctx, _cache) => {
2397
+ return openBlock(), createBlock(unref(SelectItem), mergeProps({ "data-slot": "select-item" }, unref(forwardedProps), {
2398
+ class: unref(cn)(
2399
+ `focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,
2400
+ props.class
2401
+ )
2402
+ }), {
2403
+ default: withCtx(() => [
2404
+ createElementVNode("span", _hoisted_1$2, [
2405
+ createVNode(unref(SelectItemIndicator), null, {
2406
+ default: withCtx(() => [
2407
+ createVNode(unref(Check), { class: "size-4" })
2408
+ ]),
2409
+ _: 1
2410
+ })
2411
+ ]),
2412
+ createVNode(unref(SelectItemText), null, {
2413
+ default: withCtx(() => [
2414
+ renderSlot(_ctx.$slots, "default")
2415
+ ]),
2416
+ _: 3
2417
+ })
2418
+ ]),
2419
+ _: 3
2420
+ }, 16, ["class"]);
2421
+ };
2422
+ }
2423
+ });
2424
+
2425
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
2426
+ __name: "SelectItemText",
2427
+ props: {
2428
+ asChild: { type: Boolean },
2429
+ as: {}
2430
+ },
2431
+ setup(__props) {
2432
+ const props = __props;
2433
+ return (_ctx, _cache) => {
2434
+ return openBlock(), createBlock(unref(SelectItemText), mergeProps({ "data-slot": "select-item-text" }, props), {
2435
+ default: withCtx(() => [
2436
+ renderSlot(_ctx.$slots, "default")
2437
+ ]),
2438
+ _: 3
2439
+ }, 16);
2440
+ };
2441
+ }
2442
+ });
2443
+
2444
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
2445
+ __name: "SelectLabel",
2446
+ props: {
2447
+ for: {},
2448
+ asChild: { type: Boolean },
2449
+ as: {},
2450
+ class: {}
2451
+ },
2452
+ setup(__props) {
2453
+ const props = __props;
2454
+ return (_ctx, _cache) => {
2455
+ return openBlock(), createBlock(unref(SelectLabel), {
2456
+ "data-slot": "select-label",
2457
+ class: normalizeClass(unref(cn)("px-2 py-1.5 text-sm font-medium", props.class))
2458
+ }, {
2459
+ default: withCtx(() => [
2460
+ renderSlot(_ctx.$slots, "default")
2461
+ ]),
2462
+ _: 3
2463
+ }, 8, ["class"]);
2464
+ };
2465
+ }
2466
+ });
2467
+
2468
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
2469
+ __name: "SelectScrollDownButton",
2470
+ props: {
2471
+ asChild: { type: Boolean },
2472
+ as: {},
2473
+ class: {}
2474
+ },
2475
+ setup(__props) {
2476
+ const props = __props;
2477
+ const delegatedProps = computed(() => {
2478
+ const { class: _, ...delegated } = props;
2479
+ return delegated;
2480
+ });
2481
+ const forwardedProps = useForwardProps(delegatedProps);
2482
+ return (_ctx, _cache) => {
2483
+ return openBlock(), createBlock(unref(SelectScrollDownButton), mergeProps({ "data-slot": "select-scroll-down-button" }, unref(forwardedProps), {
2484
+ class: unref(cn)("flex cursor-default items-center justify-center py-1", props.class)
2485
+ }), {
2486
+ default: withCtx(() => [
2487
+ renderSlot(_ctx.$slots, "default", {}, () => [
2488
+ createVNode(unref(ChevronDown), { class: "size-4" })
2489
+ ])
2490
+ ]),
2491
+ _: 3
2492
+ }, 16, ["class"]);
2493
+ };
2494
+ }
2495
+ });
2496
+
2497
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
2498
+ __name: "SelectScrollUpButton",
2499
+ props: {
2500
+ asChild: { type: Boolean },
2501
+ as: {},
2502
+ class: {}
2503
+ },
2504
+ setup(__props) {
2505
+ const props = __props;
2506
+ const delegatedProps = computed(() => {
2507
+ const { class: _, ...delegated } = props;
2508
+ return delegated;
2509
+ });
2510
+ const forwardedProps = useForwardProps(delegatedProps);
2511
+ return (_ctx, _cache) => {
2512
+ return openBlock(), createBlock(unref(SelectScrollUpButton), mergeProps({ "data-slot": "select-scroll-up-button" }, unref(forwardedProps), {
2513
+ class: unref(cn)("flex cursor-default items-center justify-center py-1", props.class)
2514
+ }), {
2515
+ default: withCtx(() => [
2516
+ renderSlot(_ctx.$slots, "default", {}, () => [
2517
+ createVNode(unref(ChevronUp), { class: "size-4" })
2518
+ ])
2519
+ ]),
2520
+ _: 3
2521
+ }, 16, ["class"]);
2522
+ };
2523
+ }
2524
+ });
2525
+
2526
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
2527
+ __name: "SelectSeparator",
2528
+ props: {
2529
+ asChild: { type: Boolean },
2530
+ as: {},
2531
+ class: {}
2532
+ },
2533
+ setup(__props) {
2534
+ const props = __props;
2535
+ const delegatedProps = computed(() => {
2536
+ const { class: _, ...delegated } = props;
2537
+ return delegated;
2538
+ });
2539
+ return (_ctx, _cache) => {
2540
+ return openBlock(), createBlock(unref(SelectSeparator), mergeProps({ "data-slot": "select-separator" }, delegatedProps.value, {
2541
+ class: unref(cn)("bg-border pointer-events-none -mx-1 my-1 h-px", props.class)
2542
+ }), null, 16, ["class"]);
2543
+ };
2544
+ }
2545
+ });
2546
+
2547
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
2548
+ __name: "SelectTrigger",
2549
+ props: {
2550
+ disabled: { type: Boolean },
2551
+ reference: {},
2552
+ asChild: { type: Boolean },
2553
+ as: {},
2554
+ class: {},
2555
+ size: { default: "default" }
2556
+ },
2557
+ setup(__props) {
2558
+ const props = __props;
2559
+ const delegatedProps = reactiveOmit(props, "class", "size");
2560
+ const forwardedProps = useForwardProps(delegatedProps);
2561
+ return (_ctx, _cache) => {
2562
+ return openBlock(), createBlock(unref(SelectTrigger), mergeProps({
2563
+ "data-slot": "select-trigger",
2564
+ "data-size": _ctx.size
2565
+ }, unref(forwardedProps), {
2566
+ class: unref(cn)(
2567
+ `border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
2568
+ props.class
2569
+ )
2570
+ }), {
2571
+ default: withCtx(() => [
2572
+ renderSlot(_ctx.$slots, "default"),
2573
+ createVNode(unref(SelectIcon), { "as-child": "" }, {
2574
+ default: withCtx(() => [
2575
+ createVNode(unref(ChevronDown), { class: "size-4 opacity-50" })
2576
+ ]),
2577
+ _: 1
2578
+ })
2579
+ ]),
2580
+ _: 3
2581
+ }, 16, ["data-size", "class"]);
2582
+ };
2583
+ }
2584
+ });
2585
+
2586
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
2587
+ __name: "SelectValue",
2588
+ props: {
2589
+ placeholder: {},
2590
+ asChild: { type: Boolean },
2591
+ as: {}
2592
+ },
2593
+ setup(__props) {
2594
+ const props = __props;
2595
+ return (_ctx, _cache) => {
2596
+ return openBlock(), createBlock(unref(SelectValue), mergeProps({ "data-slot": "select-value" }, props), {
2597
+ default: withCtx(() => [
2598
+ renderSlot(_ctx.$slots, "default")
2599
+ ]),
2600
+ _: 3
2601
+ }, 16);
2602
+ };
2603
+ }
2604
+ });
2605
+
2606
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
2607
+ __name: "Separator",
2608
+ props: {
2609
+ orientation: { default: "horizontal" },
2610
+ decorative: { type: Boolean, default: true },
2611
+ asChild: { type: Boolean },
2612
+ as: {},
2613
+ class: {}
2614
+ },
2615
+ setup(__props) {
2616
+ const props = __props;
2617
+ const delegatedProps = reactiveOmit(props, "class");
2618
+ return (_ctx, _cache) => {
2619
+ return openBlock(), createBlock(unref(Separator), mergeProps({ "data-slot": "separator-root" }, unref(delegatedProps), {
2620
+ class: unref(cn)(
2621
+ `bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px`,
2622
+ props.class
2623
+ )
2624
+ }), null, 16, ["class"]);
2625
+ };
2626
+ }
2627
+ });
2628
+
2629
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2630
+ __name: "Sheet",
2631
+ props: {
2632
+ open: { type: Boolean },
2633
+ defaultOpen: { type: Boolean },
2634
+ modal: { type: Boolean }
2635
+ },
2636
+ emits: ["update:open"],
2637
+ setup(__props, { emit: __emit }) {
2638
+ const props = __props;
2639
+ const emits = __emit;
2640
+ const forwarded = useForwardPropsEmits(props, emits);
2641
+ return (_ctx, _cache) => {
2642
+ return openBlock(), createBlock(unref(DialogRoot), mergeProps({ "data-slot": "sheet" }, unref(forwarded)), {
2643
+ default: withCtx(() => [
2644
+ renderSlot(_ctx.$slots, "default")
2645
+ ]),
2646
+ _: 3
2647
+ }, 16);
2648
+ };
2649
+ }
2650
+ });
2651
+
2652
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2653
+ __name: "SheetClose",
2654
+ props: {
2655
+ asChild: { type: Boolean },
2656
+ as: {}
2657
+ },
2658
+ setup(__props) {
2659
+ const props = __props;
2660
+ return (_ctx, _cache) => {
2661
+ return openBlock(), createBlock(unref(DialogClose), mergeProps({ "data-slot": "sheet-close" }, props), {
2662
+ default: withCtx(() => [
2663
+ renderSlot(_ctx.$slots, "default")
2664
+ ]),
2665
+ _: 3
2666
+ }, 16);
2667
+ };
2668
+ }
2669
+ });
2670
+
2671
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2672
+ __name: "SheetOverlay",
2673
+ props: {
2674
+ forceMount: { type: Boolean },
2675
+ asChild: { type: Boolean },
2676
+ as: {},
2677
+ class: {}
2678
+ },
2679
+ setup(__props) {
2680
+ const props = __props;
2681
+ const delegatedProps = computed(() => {
2682
+ const { class: _, ...delegated } = props;
2683
+ return delegated;
2684
+ });
2685
+ return (_ctx, _cache) => {
2686
+ return openBlock(), createBlock(unref(DialogOverlay), mergeProps({
2687
+ "data-slot": "sheet-overlay",
2688
+ class: unref(cn)(
2689
+ "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",
2690
+ props.class
2691
+ )
2692
+ }, delegatedProps.value), {
2693
+ default: withCtx(() => [
2694
+ renderSlot(_ctx.$slots, "default")
2695
+ ]),
2696
+ _: 3
2697
+ }, 16, ["class"]);
2698
+ };
2699
+ }
2700
+ });
2701
+
2702
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2703
+ ...{
2704
+ inheritAttrs: false
2705
+ },
2706
+ __name: "SheetContent",
2707
+ props: {
2708
+ class: {},
2709
+ side: { default: "right" },
2710
+ forceMount: { type: Boolean },
2711
+ trapFocus: { type: Boolean },
2712
+ disableOutsidePointerEvents: { type: Boolean },
2713
+ asChild: { type: Boolean },
2714
+ as: {}
2715
+ },
2716
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
2717
+ setup(__props, { emit: __emit }) {
2718
+ const props = __props;
2719
+ const emits = __emit;
2720
+ const delegatedProps = reactiveOmit(props, "class", "side");
2721
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
2722
+ return (_ctx, _cache) => {
2723
+ return openBlock(), createBlock(unref(DialogPortal), null, {
2724
+ default: withCtx(() => [
2725
+ createVNode(_sfc_main$B),
2726
+ createVNode(unref(DialogContent), mergeProps({
2727
+ "data-slot": "sheet-content",
2728
+ class: unref(cn)(
2729
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
2730
+ _ctx.side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
2731
+ _ctx.side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
2732
+ _ctx.side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
2733
+ _ctx.side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
2734
+ props.class
2735
+ )
2736
+ }, { ...unref(forwarded), ..._ctx.$attrs }), {
2737
+ default: withCtx(() => [
2738
+ renderSlot(_ctx.$slots, "default"),
2739
+ createVNode(unref(DialogClose), { class: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none" }, {
2740
+ default: withCtx(() => [
2741
+ createVNode(unref(X), { class: "size-4" }),
2742
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
2743
+ ]),
2744
+ _: 1
2745
+ })
2746
+ ]),
2747
+ _: 3
2748
+ }, 16, ["class"])
2749
+ ]),
2750
+ _: 3
2751
+ });
2752
+ };
2753
+ }
2754
+ });
2755
+
2756
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
2757
+ __name: "SheetDescription",
2758
+ props: {
2759
+ asChild: { type: Boolean },
2760
+ as: {},
2761
+ class: {}
2762
+ },
2763
+ setup(__props) {
2764
+ const props = __props;
2765
+ const delegatedProps = computed(() => {
2766
+ const { class: _, ...delegated } = props;
2767
+ return delegated;
2768
+ });
2769
+ return (_ctx, _cache) => {
2770
+ return openBlock(), createBlock(unref(DialogDescription), mergeProps({
2771
+ "data-slot": "sheet-description",
2772
+ class: unref(cn)("text-muted-foreground text-sm", props.class)
2773
+ }, delegatedProps.value), {
2774
+ default: withCtx(() => [
2775
+ renderSlot(_ctx.$slots, "default")
2776
+ ]),
2777
+ _: 3
2778
+ }, 16, ["class"]);
2779
+ };
2780
+ }
2781
+ });
2782
+
2783
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
2784
+ __name: "SheetFooter",
2785
+ props: {
2786
+ class: {}
2787
+ },
2788
+ setup(__props) {
2789
+ const props = __props;
2790
+ return (_ctx, _cache) => {
2791
+ return openBlock(), createElementBlock("div", {
2792
+ "data-slot": "sheet-footer",
2793
+ class: normalizeClass(unref(cn)("mt-auto flex flex-col gap-2 p-4", props.class))
2794
+ }, [
2795
+ renderSlot(_ctx.$slots, "default")
2796
+ ], 2);
2797
+ };
2798
+ }
2799
+ });
2800
+
2801
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
2802
+ __name: "SheetHeader",
2803
+ props: {
2804
+ class: {}
2805
+ },
2806
+ setup(__props) {
2807
+ const props = __props;
2808
+ return (_ctx, _cache) => {
2809
+ return openBlock(), createElementBlock("div", {
2810
+ "data-slot": "sheet-header",
2811
+ class: normalizeClass(unref(cn)("flex flex-col gap-1.5 p-4", props.class))
2812
+ }, [
2813
+ renderSlot(_ctx.$slots, "default")
2814
+ ], 2);
2815
+ };
2816
+ }
2817
+ });
2818
+
2819
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
2820
+ __name: "SheetTitle",
2821
+ props: {
2822
+ asChild: { type: Boolean },
2823
+ as: {},
2824
+ class: {}
2825
+ },
2826
+ setup(__props) {
2827
+ const props = __props;
2828
+ const delegatedProps = computed(() => {
2829
+ const { class: _, ...delegated } = props;
2830
+ return delegated;
2831
+ });
2832
+ return (_ctx, _cache) => {
2833
+ return openBlock(), createBlock(unref(DialogTitle), mergeProps({
2834
+ "data-slot": "sheet-title",
2835
+ class: unref(cn)("text-foreground font-semibold", props.class)
2836
+ }, delegatedProps.value), {
2837
+ default: withCtx(() => [
2838
+ renderSlot(_ctx.$slots, "default")
2839
+ ]),
2840
+ _: 3
2841
+ }, 16, ["class"]);
2842
+ };
2843
+ }
2844
+ });
2845
+
2846
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
2847
+ __name: "SheetTrigger",
2848
+ props: {
2849
+ asChild: { type: Boolean },
2850
+ as: {}
2851
+ },
2852
+ setup(__props) {
2853
+ const props = __props;
2854
+ return (_ctx, _cache) => {
2855
+ return openBlock(), createBlock(unref(DialogTrigger), mergeProps({ "data-slot": "sheet-trigger" }, props), {
2856
+ default: withCtx(() => [
2857
+ renderSlot(_ctx.$slots, "default")
2858
+ ]),
2859
+ _: 3
2860
+ }, 16);
2861
+ };
2862
+ }
2863
+ });
2864
+
2865
+ const SIDEBAR_COOKIE_NAME = "sidebar:state";
2866
+ const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2867
+ const SIDEBAR_WIDTH = "16rem";
2868
+ const SIDEBAR_WIDTH_MOBILE = "18rem";
2869
+ const SIDEBAR_WIDTH_ICON = "3rem";
2870
+ const SIDEBAR_KEYBOARD_SHORTCUT = "b";
2871
+ const [useSidebar, provideSidebarContext] = createContext("Sidebar");
2872
+
2873
+ const _hoisted_1$1 = { class: "flex h-full w-full flex-col" };
2874
+ const _hoisted_2 = ["data-state", "data-collapsible", "data-variant", "data-side"];
2875
+ const _hoisted_3 = {
2876
+ "data-sidebar": "sidebar",
2877
+ 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"
2878
+ };
2879
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
2880
+ ...{
2881
+ inheritAttrs: false
2882
+ },
2883
+ __name: "Sidebar",
2884
+ props: {
2885
+ side: { default: "left" },
2886
+ variant: { default: "sidebar" },
2887
+ collapsible: { default: "offcanvas" },
2888
+ class: {}
2889
+ },
2890
+ setup(__props) {
2891
+ const props = __props;
2892
+ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2893
+ return (_ctx, _cache) => {
2894
+ return _ctx.collapsible === "none" ? (openBlock(), createElementBlock("div", mergeProps({
2895
+ key: 0,
2896
+ "data-slot": "sidebar",
2897
+ class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
2898
+ }, _ctx.$attrs), [
2899
+ renderSlot(_ctx.$slots, "default")
2900
+ ], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$D), mergeProps({
2901
+ key: 1,
2902
+ open: unref(openMobile)
2903
+ }, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
2904
+ default: withCtx(() => [
2905
+ createVNode(unref(_sfc_main$A), {
2906
+ "data-sidebar": "sidebar",
2907
+ "data-slot": "sidebar",
2908
+ "data-mobile": "true",
2909
+ side: _ctx.side,
2910
+ class: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
2911
+ style: normalizeStyle({
2912
+ "--sidebar-width": unref(SIDEBAR_WIDTH_MOBILE)
2913
+ })
2914
+ }, {
2915
+ default: withCtx(() => [
2916
+ createVNode(_sfc_main$x, { class: "sr-only" }, {
2917
+ default: withCtx(() => [
2918
+ createVNode(_sfc_main$w, null, {
2919
+ default: withCtx(() => _cache[0] || (_cache[0] = [
2920
+ createTextVNode("Sidebar")
2921
+ ])),
2922
+ _: 1
2923
+ }),
2924
+ createVNode(_sfc_main$z, null, {
2925
+ default: withCtx(() => _cache[1] || (_cache[1] = [
2926
+ createTextVNode("Displays the mobile sidebar.")
2927
+ ])),
2928
+ _: 1
2929
+ })
2930
+ ]),
2931
+ _: 1
2932
+ }),
2933
+ createElementVNode("div", _hoisted_1$1, [
2934
+ renderSlot(_ctx.$slots, "default")
2935
+ ])
2936
+ ]),
2937
+ _: 3
2938
+ }, 8, ["side", "style"])
2939
+ ]),
2940
+ _: 3
2941
+ }, 16, ["open", "onUpdate:open"])) : (openBlock(), createElementBlock("div", {
2942
+ key: 2,
2943
+ class: "group peer text-sidebar-foreground hidden md:block",
2944
+ "data-slot": "sidebar",
2945
+ "data-state": unref(state),
2946
+ "data-collapsible": unref(state) === "collapsed" ? _ctx.collapsible : "",
2947
+ "data-variant": _ctx.variant,
2948
+ "data-side": _ctx.side
2949
+ }, [
2950
+ createElementVNode("div", {
2951
+ class: normalizeClass(
2952
+ unref(cn)(
2953
+ "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2954
+ "group-data-[collapsible=offcanvas]:w-0",
2955
+ "group-data-[side=right]:rotate-180",
2956
+ _ctx.variant === "floating" || _ctx.variant === "inset" ? "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon)"
2957
+ )
2958
+ )
2959
+ }, null, 2),
2960
+ createElementVNode("div", mergeProps({
2961
+ class: unref(cn)(
2962
+ "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
2963
+ _ctx.side === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
2964
+ // Adjust the padding for floating and inset variants.
2965
+ _ctx.variant === "floating" || _ctx.variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
2966
+ props.class
2967
+ )
2968
+ }, _ctx.$attrs), [
2969
+ createElementVNode("div", _hoisted_3, [
2970
+ renderSlot(_ctx.$slots, "default")
2971
+ ])
2972
+ ], 16)
2973
+ ], 8, _hoisted_2));
2974
+ };
2975
+ }
2976
+ });
2977
+
2978
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
2979
+ __name: "SidebarContent",
2980
+ props: {
2981
+ class: {}
2982
+ },
2983
+ setup(__props) {
2984
+ const props = __props;
2985
+ return (_ctx, _cache) => {
2986
+ return openBlock(), createElementBlock("div", {
2987
+ "data-slot": "sidebar-content",
2988
+ "data-sidebar": "content",
2989
+ class: normalizeClass(
2990
+ unref(cn)(
2991
+ "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2992
+ props.class
2993
+ )
2994
+ )
2995
+ }, [
2996
+ renderSlot(_ctx.$slots, "default")
2997
+ ], 2);
2998
+ };
2999
+ }
3000
+ });
3001
+
3002
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3003
+ __name: "SidebarFooter",
3004
+ props: {
3005
+ class: {}
3006
+ },
3007
+ setup(__props) {
3008
+ const props = __props;
3009
+ return (_ctx, _cache) => {
3010
+ return openBlock(), createElementBlock("div", {
3011
+ "data-slot": "sidebar-footer",
3012
+ "data-sidebar": "footer",
3013
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2", props.class))
3014
+ }, [
3015
+ renderSlot(_ctx.$slots, "default")
3016
+ ], 2);
3017
+ };
3018
+ }
3019
+ });
3020
+
3021
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3022
+ __name: "SidebarHeader",
3023
+ props: {
3024
+ class: {}
3025
+ },
3026
+ setup(__props) {
3027
+ const props = __props;
3028
+ return (_ctx, _cache) => {
3029
+ return openBlock(), createElementBlock("div", {
3030
+ "data-slot": "sidebar-header",
3031
+ "data-sidebar": "header",
3032
+ class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2", props.class))
3033
+ }, [
3034
+ renderSlot(_ctx.$slots, "default")
3035
+ ], 2);
3036
+ };
3037
+ }
3038
+ });
3039
+
3040
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
3041
+ __name: "SidebarInset",
3042
+ props: {
3043
+ class: {}
3044
+ },
3045
+ setup(__props) {
3046
+ const props = __props;
3047
+ return (_ctx, _cache) => {
3048
+ return openBlock(), createElementBlock("main", {
3049
+ "data-slot": "sidebar-inset",
3050
+ class: normalizeClass(
3051
+ unref(cn)(
3052
+ "bg-background relative flex w-full flex-1 flex-col",
3053
+ "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
3054
+ props.class
3055
+ )
3056
+ )
3057
+ }, [
3058
+ renderSlot(_ctx.$slots, "default")
3059
+ ], 2);
3060
+ };
3061
+ }
3062
+ });
3063
+
3064
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3065
+ __name: "Tooltip",
3066
+ props: {
3067
+ defaultOpen: { type: Boolean },
3068
+ open: { type: Boolean },
3069
+ delayDuration: {},
3070
+ disableHoverableContent: { type: Boolean },
3071
+ disableClosingTrigger: { type: Boolean },
3072
+ disabled: { type: Boolean },
3073
+ ignoreNonKeyboardFocus: { type: Boolean }
3074
+ },
3075
+ emits: ["update:open"],
3076
+ setup(__props, { emit: __emit }) {
3077
+ const props = __props;
3078
+ const emits = __emit;
3079
+ const forwarded = useForwardPropsEmits(props, emits);
3080
+ return (_ctx, _cache) => {
3081
+ return openBlock(), createBlock(unref(TooltipRoot), mergeProps({ "data-slot": "tooltip" }, unref(forwarded)), {
3082
+ default: withCtx(() => [
3083
+ renderSlot(_ctx.$slots, "default")
3084
+ ]),
3085
+ _: 3
3086
+ }, 16);
3087
+ };
3088
+ }
3089
+ });
3090
+
3091
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
3092
+ ...{
3093
+ inheritAttrs: false
3094
+ },
3095
+ __name: "TooltipContent",
3096
+ props: {
3097
+ forceMount: { type: Boolean },
3098
+ ariaLabel: {},
3099
+ asChild: { type: Boolean },
3100
+ as: {},
3101
+ side: {},
3102
+ sideOffset: { default: 4 },
3103
+ align: {},
3104
+ alignOffset: {},
3105
+ avoidCollisions: { type: Boolean },
3106
+ collisionBoundary: {},
3107
+ collisionPadding: {},
3108
+ arrowPadding: {},
3109
+ sticky: {},
3110
+ hideWhenDetached: { type: Boolean },
3111
+ positionStrategy: {},
3112
+ updatePositionStrategy: {},
3113
+ class: {}
3114
+ },
3115
+ emits: ["escapeKeyDown", "pointerDownOutside"],
3116
+ setup(__props, { emit: __emit }) {
3117
+ const props = __props;
3118
+ const emits = __emit;
3119
+ const delegatedProps = reactiveOmit(props, "class");
3120
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
3121
+ return (_ctx, _cache) => {
3122
+ return openBlock(), createBlock(unref(TooltipPortal), null, {
3123
+ default: withCtx(() => [
3124
+ createVNode(unref(TooltipContent), mergeProps({ "data-slot": "tooltip-content" }, { ...unref(forwarded), ..._ctx.$attrs }, {
3125
+ class: unref(cn)(
3126
+ "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance",
3127
+ props.class
3128
+ )
3129
+ }), {
3130
+ default: withCtx(() => [
3131
+ renderSlot(_ctx.$slots, "default"),
3132
+ createVNode(unref(TooltipArrow), { class: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
3133
+ ]),
3134
+ _: 3
3135
+ }, 16, ["class"])
3136
+ ]),
3137
+ _: 3
3138
+ });
3139
+ };
3140
+ }
3141
+ });
3142
+
3143
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
3144
+ __name: "TooltipProvider",
3145
+ props: {
3146
+ delayDuration: { default: 0 },
3147
+ skipDelayDuration: {},
3148
+ disableHoverableContent: { type: Boolean },
3149
+ disableClosingTrigger: { type: Boolean },
3150
+ disabled: { type: Boolean },
3151
+ ignoreNonKeyboardFocus: { type: Boolean }
3152
+ },
3153
+ setup(__props) {
3154
+ const props = __props;
3155
+ return (_ctx, _cache) => {
3156
+ return openBlock(), createBlock(unref(TooltipProvider), normalizeProps(guardReactiveProps(props)), {
3157
+ default: withCtx(() => [
3158
+ renderSlot(_ctx.$slots, "default")
3159
+ ]),
3160
+ _: 3
3161
+ }, 16);
3162
+ };
3163
+ }
3164
+ });
3165
+
3166
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
3167
+ __name: "TooltipTrigger",
3168
+ props: {
3169
+ reference: {},
3170
+ asChild: { type: Boolean },
3171
+ as: {}
3172
+ },
3173
+ setup(__props) {
3174
+ const props = __props;
3175
+ return (_ctx, _cache) => {
3176
+ return openBlock(), createBlock(unref(TooltipTrigger), mergeProps({ "data-slot": "tooltip-trigger" }, props), {
3177
+ default: withCtx(() => [
3178
+ renderSlot(_ctx.$slots, "default")
3179
+ ]),
3180
+ _: 3
3181
+ }, 16);
3182
+ };
3183
+ }
3184
+ });
3185
+
3186
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
3187
+ __name: "Skeleton",
3188
+ props: {
3189
+ class: {}
3190
+ },
3191
+ setup(__props) {
3192
+ const props = __props;
3193
+ return (_ctx, _cache) => {
3194
+ return openBlock(), createElementBlock("div", {
3195
+ "data-slot": "skeleton",
3196
+ class: normalizeClass(unref(cn)("animate-pulse rounded-md bg-primary/10", props.class))
3197
+ }, null, 2);
3198
+ };
3199
+ }
3200
+ });
3201
+
3202
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
3203
+ __name: "SidebarProvider",
3204
+ props: {
3205
+ defaultOpen: { type: Boolean, default: true },
3206
+ open: { type: Boolean, default: void 0 },
3207
+ class: {}
3208
+ },
3209
+ emits: ["update:open"],
3210
+ setup(__props, { emit: __emit }) {
3211
+ const props = __props;
3212
+ const emits = __emit;
3213
+ const isMobile = useMediaQuery("(max-width: 768px)");
3214
+ const openMobile = ref(false);
3215
+ const open = useVModel(props, "open", emits, {
3216
+ defaultValue: props.defaultOpen ?? false,
3217
+ passive: props.open === void 0
3218
+ });
3219
+ function setOpen(value) {
3220
+ open.value = value;
3221
+ document.cookie = `${SIDEBAR_COOKIE_NAME}=${open.value}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
3222
+ }
3223
+ function setOpenMobile(value) {
3224
+ openMobile.value = value;
3225
+ }
3226
+ function toggleSidebar() {
3227
+ return isMobile.value ? setOpenMobile(!openMobile.value) : setOpen(!open.value);
3228
+ }
3229
+ useEventListener("keydown", (event) => {
3230
+ if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
3231
+ event.preventDefault();
3232
+ toggleSidebar();
3233
+ }
3234
+ });
3235
+ const state = computed(() => open.value ? "expanded" : "collapsed");
3236
+ provideSidebarContext({
3237
+ state,
3238
+ open,
3239
+ setOpen,
3240
+ isMobile,
3241
+ openMobile,
3242
+ setOpenMobile,
3243
+ toggleSidebar
3244
+ });
3245
+ return (_ctx, _cache) => {
3246
+ return openBlock(), createBlock(unref(TooltipProvider), { "delay-duration": 0 }, {
3247
+ default: withCtx(() => [
3248
+ createElementVNode("div", mergeProps({
3249
+ "data-slot": "sidebar-wrapper",
3250
+ style: {
3251
+ "--sidebar-width": unref(SIDEBAR_WIDTH),
3252
+ "--sidebar-width-icon": unref(SIDEBAR_WIDTH_ICON)
3253
+ },
3254
+ class: unref(cn)(
3255
+ "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
3256
+ props.class
3257
+ )
3258
+ }, _ctx.$attrs), [
3259
+ renderSlot(_ctx.$slots, "default")
3260
+ ], 16)
3261
+ ]),
3262
+ _: 3
3263
+ });
3264
+ };
3265
+ }
3266
+ });
3267
+
3268
+ cva(
3269
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
3270
+ {
3271
+ variants: {
3272
+ variant: {
3273
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
3274
+ outline: "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
3275
+ },
3276
+ size: {
3277
+ default: "h-8 text-sm",
3278
+ sm: "h-7 text-xs",
3279
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
3280
+ }
3281
+ },
3282
+ defaultVariants: {
3283
+ variant: "default",
3284
+ size: "default"
3285
+ }
3286
+ }
3287
+ );
3288
+
3289
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3290
+ __name: "Sidebar",
3291
+ props: {
3292
+ defaultOpen: { type: Boolean }
3293
+ },
3294
+ setup(__props) {
3295
+ return (_ctx, _cache) => {
3296
+ return openBlock(), createBlock(unref(_sfc_main$k), { "default-open": _ctx.defaultOpen }, {
3297
+ default: withCtx(() => [
3298
+ createVNode(unref(_sfc_main$u), null, {
3299
+ default: withCtx(() => [
3300
+ _ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$r), { key: 0 }, {
3301
+ default: withCtx(() => [
3302
+ renderSlot(_ctx.$slots, "header")
3303
+ ]),
3304
+ _: 3
3305
+ })) : createCommentVNode("", true),
3306
+ _ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$t), { key: 1 }, {
3307
+ default: withCtx(() => [
3308
+ renderSlot(_ctx.$slots, "content")
3309
+ ]),
3310
+ _: 3
3311
+ })) : createCommentVNode("", true),
3312
+ _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$s), { key: 2 }, {
3313
+ default: withCtx(() => [
3314
+ renderSlot(_ctx.$slots, "footer")
3315
+ ]),
3316
+ _: 3
3317
+ })) : createCommentVNode("", true)
3318
+ ]),
3319
+ _: 3
3320
+ }),
3321
+ createVNode(unref(_sfc_main$q), null, {
3322
+ default: withCtx(() => [
3323
+ renderSlot(_ctx.$slots, "inset")
3324
+ ]),
3325
+ _: 3
3326
+ })
3327
+ ]),
3328
+ _: 3
3329
+ }, 8, ["default-open"]);
3330
+ };
3331
+ }
3332
+ });
3333
+
3334
+ const _hoisted_1 = {
3335
+ "data-slot": "table-container",
3336
+ class: "relative w-full overflow-auto"
3337
+ };
3338
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
3339
+ __name: "Table",
3340
+ props: {
3341
+ class: {}
3342
+ },
3343
+ setup(__props) {
3344
+ const props = __props;
3345
+ return (_ctx, _cache) => {
3346
+ return openBlock(), createElementBlock("div", _hoisted_1, [
3347
+ createElementVNode("table", {
3348
+ "data-slot": "table",
3349
+ class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", props.class))
3350
+ }, [
3351
+ renderSlot(_ctx.$slots, "default")
3352
+ ], 2)
3353
+ ]);
3354
+ };
3355
+ }
3356
+ });
3357
+
3358
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3359
+ __name: "TableBody",
3360
+ props: {
3361
+ class: {}
3362
+ },
3363
+ setup(__props) {
3364
+ const props = __props;
3365
+ return (_ctx, _cache) => {
3366
+ return openBlock(), createElementBlock("tbody", {
3367
+ "data-slot": "table-body",
3368
+ class: normalizeClass(unref(cn)("[&_tr:last-child]:border-0", props.class))
3369
+ }, [
3370
+ renderSlot(_ctx.$slots, "default")
3371
+ ], 2);
3372
+ };
3373
+ }
3374
+ });
3375
+
3376
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
3377
+ __name: "TableCell",
3378
+ props: {
3379
+ class: {}
3380
+ },
3381
+ setup(__props) {
3382
+ const props = __props;
3383
+ return (_ctx, _cache) => {
3384
+ return openBlock(), createElementBlock("td", {
3385
+ "data-slot": "table-cell",
3386
+ class: normalizeClass(
3387
+ unref(cn)(
3388
+ "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
3389
+ props.class
3390
+ )
3391
+ )
3392
+ }, [
3393
+ renderSlot(_ctx.$slots, "default")
3394
+ ], 2);
3395
+ };
3396
+ }
3397
+ });
3398
+
3399
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3400
+ __name: "TableRow",
3401
+ props: {
3402
+ class: {}
3403
+ },
3404
+ setup(__props) {
3405
+ const props = __props;
3406
+ return (_ctx, _cache) => {
3407
+ return openBlock(), createElementBlock("tr", {
3408
+ "data-slot": "table-row",
3409
+ class: normalizeClass(
3410
+ unref(cn)("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", props.class)
3411
+ )
3412
+ }, [
3413
+ renderSlot(_ctx.$slots, "default")
3414
+ ], 2);
3415
+ };
3416
+ }
3417
+ });
3418
+
3419
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3420
+ __name: "TableHead",
3421
+ props: {
3422
+ class: {}
3423
+ },
3424
+ setup(__props) {
3425
+ const props = __props;
3426
+ return (_ctx, _cache) => {
3427
+ return openBlock(), createElementBlock("th", {
3428
+ "data-slot": "table-head",
3429
+ class: normalizeClass(
3430
+ unref(cn)(
3431
+ "text-muted-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
3432
+ props.class
3433
+ )
3434
+ )
3435
+ }, [
3436
+ renderSlot(_ctx.$slots, "default")
3437
+ ], 2);
3438
+ };
3439
+ }
3440
+ });
3441
+
3442
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3443
+ __name: "TableHeader",
3444
+ props: {
3445
+ class: {}
3446
+ },
3447
+ setup(__props) {
3448
+ const props = __props;
3449
+ return (_ctx, _cache) => {
3450
+ return openBlock(), createElementBlock("thead", {
3451
+ "data-slot": "table-header",
3452
+ class: normalizeClass(unref(cn)("[&_tr]:border-b", props.class))
3453
+ }, [
3454
+ renderSlot(_ctx.$slots, "default")
3455
+ ], 2);
3456
+ };
3457
+ }
3458
+ });
3459
+
3460
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3461
+ __name: "Table",
3462
+ setup(__props) {
3463
+ return (_ctx, _cache) => {
3464
+ return openBlock(), createBlock(unref(_sfc_main$i), null, {
3465
+ default: withCtx(() => [
3466
+ _ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$d), { key: 0 }, {
3467
+ default: withCtx(() => [
3468
+ renderSlot(_ctx.$slots, "header")
3469
+ ]),
3470
+ _: 3
3471
+ })) : createCommentVNode("", true),
3472
+ createVNode(unref(_sfc_main$h), null, {
3473
+ default: withCtx(() => [
3474
+ renderSlot(_ctx.$slots, "default")
3475
+ ]),
3476
+ _: 3
3477
+ })
3478
+ ]),
3479
+ _: 3
3480
+ });
3481
+ };
3482
+ }
3483
+ });
3484
+
3485
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3486
+ __name: "TableLink",
3487
+ props: {
3488
+ label: {},
3489
+ linkClass: {},
3490
+ to: {}
3491
+ },
3492
+ setup(__props) {
3493
+ return (_ctx, _cache) => {
3494
+ return openBlock(), createBlock(unref(_sfc_main$g), null, {
18
3495
  default: withCtx(() => [
19
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
3496
+ createVNode(unref(_sfc_main$X), {
3497
+ to: _ctx.to,
3498
+ label: _ctx.label,
3499
+ class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
3500
+ }, {
3501
+ default: withCtx(() => [
3502
+ renderSlot(_ctx.$slots, "default")
3503
+ ]),
3504
+ _: 3
3505
+ }, 8, ["to", "label", "class"])
20
3506
  ]),
21
3507
  _: 3
22
- }, 8, ["to"]);
3508
+ });
23
3509
  };
24
3510
  }
25
3511
  });
26
3512
 
27
- function create$1() {
28
- let APP = null;
29
- function get() {
30
- return unwrap(APP, "no active app");
3513
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3514
+ __name: "Tabs",
3515
+ props: {
3516
+ defaultValue: {},
3517
+ orientation: {},
3518
+ dir: {},
3519
+ activationMode: {},
3520
+ modelValue: {},
3521
+ unmountOnHide: { type: Boolean },
3522
+ asChild: { type: Boolean },
3523
+ as: {},
3524
+ class: {}
3525
+ },
3526
+ emits: ["update:modelValue"],
3527
+ setup(__props, { emit: __emit }) {
3528
+ const props = __props;
3529
+ const emits = __emit;
3530
+ const delegatedProps = reactiveOmit(props, "class");
3531
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
3532
+ return (_ctx, _cache) => {
3533
+ return openBlock(), createBlock(unref(TabsRoot), mergeProps({ "data-slot": "tabs" }, unref(forwarded), {
3534
+ class: unref(cn)("flex flex-col gap-2", props.class)
3535
+ }), {
3536
+ default: withCtx(() => [
3537
+ renderSlot(_ctx.$slots, "default")
3538
+ ]),
3539
+ _: 3
3540
+ }, 16, ["class"]);
3541
+ };
31
3542
  }
32
- function set(app) {
33
- APP = app;
3543
+ });
3544
+
3545
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3546
+ __name: "TabsContent",
3547
+ props: {
3548
+ value: {},
3549
+ forceMount: { type: Boolean },
3550
+ asChild: { type: Boolean },
3551
+ as: {},
3552
+ class: {}
3553
+ },
3554
+ setup(__props) {
3555
+ const props = __props;
3556
+ const delegatedProps = computed(() => {
3557
+ const { class: _, ...delegated } = props;
3558
+ return delegated;
3559
+ });
3560
+ return (_ctx, _cache) => {
3561
+ return openBlock(), createBlock(unref(TabsContent), mergeProps({
3562
+ "data-slot": "tabs-content",
3563
+ class: unref(cn)("flex-1 outline-none", props.class)
3564
+ }, delegatedProps.value), {
3565
+ default: withCtx(() => [
3566
+ renderSlot(_ctx.$slots, "default")
3567
+ ]),
3568
+ _: 3
3569
+ }, 16, ["class"]);
3570
+ };
34
3571
  }
35
- return { get, set };
36
- }
37
- const { get: getCurrentApp, set: setCurrentApp } = create$1();
38
- function runWithContext(fn) {
39
- return getCurrentApp().runWithContext(fn);
40
- }
41
- function provide(key, value) {
42
- getCurrentApp().provide(key, value);
43
- }
44
- function inject(key) {
45
- const value = fallibleInject(key);
46
- if (typeof value === "undefined") {
47
- throw new TypeError("injection failed: value not provided");
3572
+ });
3573
+
3574
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3575
+ __name: "TabsList",
3576
+ props: {
3577
+ loop: { type: Boolean },
3578
+ asChild: { type: Boolean },
3579
+ as: {},
3580
+ class: {}
3581
+ },
3582
+ setup(__props) {
3583
+ const props = __props;
3584
+ const delegatedProps = computed(() => {
3585
+ const { class: _, ...delegated } = props;
3586
+ return delegated;
3587
+ });
3588
+ return (_ctx, _cache) => {
3589
+ return openBlock(), createBlock(unref(TabsList), mergeProps({ "data-slot": "tabs-list" }, delegatedProps.value, {
3590
+ class: unref(cn)(
3591
+ "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
3592
+ props.class
3593
+ )
3594
+ }), {
3595
+ default: withCtx(() => [
3596
+ renderSlot(_ctx.$slots, "default")
3597
+ ]),
3598
+ _: 3
3599
+ }, 16, ["class"]);
3600
+ };
48
3601
  }
49
- return value;
50
- }
51
- function fallibleInject(key) {
52
- return runWithContext(() => inject$1(key));
53
- }
3602
+ });
54
3603
 
55
- function create() {
56
- let ERROR_HANDLER_FN = null;
57
- function get() {
58
- return ERROR_HANDLER_FN;
3604
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3605
+ __name: "TabsTrigger",
3606
+ props: {
3607
+ value: {},
3608
+ disabled: { type: Boolean },
3609
+ asChild: { type: Boolean },
3610
+ as: {},
3611
+ class: {}
3612
+ },
3613
+ setup(__props) {
3614
+ const props = __props;
3615
+ const delegatedProps = computed(() => {
3616
+ const { class: _, ...delegated } = props;
3617
+ return delegated;
3618
+ });
3619
+ const forwardedProps = useForwardProps(delegatedProps);
3620
+ return (_ctx, _cache) => {
3621
+ return openBlock(), createBlock(unref(TabsTrigger), mergeProps({ "data-slot": "tabs-trigger" }, unref(forwardedProps), {
3622
+ class: unref(cn)(
3623
+ `data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,
3624
+ props.class
3625
+ )
3626
+ }), {
3627
+ default: withCtx(() => [
3628
+ renderSlot(_ctx.$slots, "default")
3629
+ ]),
3630
+ _: 3
3631
+ }, 16, ["class"]);
3632
+ };
59
3633
  }
60
- function set(fn, app = true) {
61
- ERROR_HANDLER_FN = fn;
62
- if (app) {
63
- const _app = app === true ? getCurrentApp() : app;
64
- _app.config.errorHandler = (err) => {
65
- handle(err, true);
66
- };
67
- }
3634
+ });
3635
+
3636
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3637
+ __name: "TagsInput",
3638
+ props: {
3639
+ modelValue: {},
3640
+ defaultValue: {},
3641
+ addOnPaste: { type: Boolean },
3642
+ addOnTab: { type: Boolean },
3643
+ addOnBlur: { type: Boolean },
3644
+ duplicate: { type: Boolean },
3645
+ disabled: { type: Boolean },
3646
+ delimiter: {},
3647
+ dir: {},
3648
+ max: {},
3649
+ id: {},
3650
+ convertValue: { type: Function },
3651
+ displayValue: { type: Function },
3652
+ asChild: { type: Boolean },
3653
+ as: {},
3654
+ name: {},
3655
+ required: { type: Boolean },
3656
+ class: {}
3657
+ },
3658
+ emits: ["update:modelValue", "invalid", "addTag", "removeTag"],
3659
+ setup(__props, { emit: __emit }) {
3660
+ const props = __props;
3661
+ const emits = __emit;
3662
+ const delegatedProps = computed(() => {
3663
+ const { class: _, ...delegated } = props;
3664
+ return delegated;
3665
+ });
3666
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
3667
+ return (_ctx, _cache) => {
3668
+ return openBlock(), createBlock(unref(TagsInputRoot), mergeProps(unref(forwarded), {
3669
+ class: unref(cn)(
3670
+ "flex flex-wrap gap-2 items-center rounded-md border border-input bg-background px-3 py-1.5 text-sm",
3671
+ props.class
3672
+ )
3673
+ }), {
3674
+ default: withCtx(() => [
3675
+ renderSlot(_ctx.$slots, "default")
3676
+ ]),
3677
+ _: 3
3678
+ }, 16, ["class"]);
3679
+ };
68
3680
  }
69
- function handle(err, rethrow = true) {
70
- if (ERROR_HANDLER_FN) {
71
- void Promise.try(ERROR_HANDLER_FN, err);
72
- } else if (rethrow) {
73
- throw err;
3681
+ });
3682
+
3683
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3684
+ __name: "TagsInputInput",
3685
+ props: {
3686
+ placeholder: {},
3687
+ autoFocus: { type: Boolean },
3688
+ maxLength: {},
3689
+ asChild: { type: Boolean },
3690
+ as: {},
3691
+ class: {}
3692
+ },
3693
+ setup(__props) {
3694
+ const props = __props;
3695
+ const delegatedProps = computed(() => {
3696
+ const { class: _, ...delegated } = props;
3697
+ return delegated;
3698
+ });
3699
+ const forwardedProps = useForwardProps(delegatedProps);
3700
+ return (_ctx, _cache) => {
3701
+ return openBlock(), createBlock(unref(TagsInputInput), mergeProps(unref(forwardedProps), {
3702
+ class: unref(cn)("text-sm min-h-5 focus:outline-none flex-1 bg-transparent px-1", props.class)
3703
+ }), null, 16, ["class"]);
3704
+ };
3705
+ }
3706
+ });
3707
+
3708
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3709
+ __name: "TagsInputItem",
3710
+ props: {
3711
+ value: {},
3712
+ disabled: { type: Boolean },
3713
+ asChild: { type: Boolean },
3714
+ as: {},
3715
+ class: {}
3716
+ },
3717
+ setup(__props) {
3718
+ const props = __props;
3719
+ const delegatedProps = computed(() => {
3720
+ const { class: _, ...delegated } = props;
3721
+ return delegated;
3722
+ });
3723
+ const forwardedProps = useForwardProps(delegatedProps);
3724
+ return (_ctx, _cache) => {
3725
+ return openBlock(), createBlock(unref(TagsInputItem), mergeProps(unref(forwardedProps), {
3726
+ class: unref(cn)(
3727
+ "flex h-5 items-center rounded-md bg-secondary data-[state=active]:ring-ring data-[state=active]:ring-2 data-[state=active]:ring-offset-2 ring-offset-background",
3728
+ props.class
3729
+ )
3730
+ }), {
3731
+ default: withCtx(() => [
3732
+ renderSlot(_ctx.$slots, "default")
3733
+ ]),
3734
+ _: 3
3735
+ }, 16, ["class"]);
3736
+ };
3737
+ }
3738
+ });
3739
+
3740
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3741
+ __name: "TagsInputItemDelete",
3742
+ props: {
3743
+ asChild: { type: Boolean },
3744
+ as: {},
3745
+ class: {}
3746
+ },
3747
+ setup(__props) {
3748
+ const props = __props;
3749
+ const delegatedProps = computed(() => {
3750
+ const { class: _, ...delegated } = props;
3751
+ return delegated;
3752
+ });
3753
+ const forwardedProps = useForwardProps(delegatedProps);
3754
+ return (_ctx, _cache) => {
3755
+ return openBlock(), createBlock(unref(TagsInputItemDelete), mergeProps(unref(forwardedProps), {
3756
+ class: unref(cn)("flex rounded bg-transparent mr-1", props.class)
3757
+ }), {
3758
+ default: withCtx(() => [
3759
+ renderSlot(_ctx.$slots, "default", {}, () => [
3760
+ createVNode(unref(X), { class: "w-4 h-4" })
3761
+ ])
3762
+ ]),
3763
+ _: 3
3764
+ }, 16, ["class"]);
3765
+ };
3766
+ }
3767
+ });
3768
+
3769
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3770
+ __name: "TagsInputItemText",
3771
+ props: {
3772
+ asChild: { type: Boolean },
3773
+ as: {},
3774
+ class: {}
3775
+ },
3776
+ setup(__props) {
3777
+ const props = __props;
3778
+ const delegatedProps = computed(() => {
3779
+ const { class: _, ...delegated } = props;
3780
+ return delegated;
3781
+ });
3782
+ const forwardedProps = useForwardProps(delegatedProps);
3783
+ return (_ctx, _cache) => {
3784
+ return openBlock(), createBlock(unref(TagsInputItemText), mergeProps(unref(forwardedProps), {
3785
+ class: unref(cn)("py-0.5 px-2 text-sm rounded bg-transparent", props.class)
3786
+ }), null, 16, ["class"]);
3787
+ };
3788
+ }
3789
+ });
3790
+
3791
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3792
+ __name: "Textarea",
3793
+ props: {
3794
+ class: {},
3795
+ defaultValue: {},
3796
+ modelValue: {}
3797
+ },
3798
+ emits: ["update:modelValue"],
3799
+ setup(__props, { emit: __emit }) {
3800
+ const props = __props;
3801
+ const emits = __emit;
3802
+ const modelValue = useVModel(props, "modelValue", emits, {
3803
+ passive: true,
3804
+ defaultValue: props.defaultValue
3805
+ });
3806
+ return (_ctx, _cache) => {
3807
+ return withDirectives((openBlock(), createElementBlock("textarea", {
3808
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
3809
+ "data-slot": "textarea",
3810
+ class: normalizeClass(
3811
+ unref(cn)(
3812
+ "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
3813
+ props.class
3814
+ )
3815
+ )
3816
+ }, null, 2)), [
3817
+ [vModelText, unref(modelValue)]
3818
+ ]);
3819
+ };
3820
+ }
3821
+ });
3822
+
3823
+ const _sfc_main = /* @__PURE__ */ defineComponent({
3824
+ __name: "Toggle",
3825
+ props: {
3826
+ defaultValue: { type: Boolean },
3827
+ modelValue: { type: [Boolean, null] },
3828
+ disabled: { type: Boolean, default: false },
3829
+ asChild: { type: Boolean },
3830
+ as: {},
3831
+ name: {},
3832
+ required: { type: Boolean },
3833
+ class: {},
3834
+ variant: { default: "default" },
3835
+ size: { default: "default" }
3836
+ },
3837
+ emits: ["update:modelValue"],
3838
+ setup(__props, { emit: __emit }) {
3839
+ const props = __props;
3840
+ const emits = __emit;
3841
+ const delegatedProps = reactiveOmit(props, "class", "size", "variant");
3842
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
3843
+ return (_ctx, _cache) => {
3844
+ return openBlock(), createBlock(unref(Toggle), mergeProps({ "data-slot": "toggle" }, unref(forwarded), {
3845
+ class: unref(cn)(unref(toggleVariants)({ variant: _ctx.variant, size: _ctx.size }), props.class)
3846
+ }), {
3847
+ default: withCtx(() => [
3848
+ renderSlot(_ctx.$slots, "default")
3849
+ ]),
3850
+ _: 3
3851
+ }, 16, ["class"]);
3852
+ };
3853
+ }
3854
+ });
3855
+
3856
+ const toggleVariants = cva(
3857
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
3858
+ {
3859
+ variants: {
3860
+ variant: {
3861
+ default: "bg-transparent",
3862
+ outline: "border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"
3863
+ },
3864
+ size: {
3865
+ default: "h-9 px-2 min-w-9",
3866
+ sm: "h-8 px-1.5 min-w-8",
3867
+ lg: "h-10 px-2.5 min-w-10"
3868
+ }
3869
+ },
3870
+ defaultVariants: {
3871
+ variant: "default",
3872
+ size: "default"
74
3873
  }
75
3874
  }
76
- return { get, set, handle };
77
- }
78
- const { get: getErrorHandler, set: setErrorHandler, handle: handleError } = create();
3875
+ );
79
3876
 
80
3877
  function asyncComputed(initial, callback, options) {
81
3878
  const state = computedAsync(callback, initial, {
@@ -194,9 +3991,4 @@ function useWindowWidth() {
194
3991
  return useWindowSize().width;
195
3992
  }
196
3993
 
197
- function maybe(value, fn) {
198
- const _value = toValue(value);
199
- return isNil(_value) ? null : fn(_value);
200
- }
201
-
202
- export { _sfc_main as Link, asyncComputed, asyncRef, fallibleInject, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, useElementSize, useHeight, useWidth, useWindowHeight, useWindowWidth };
3994
+ export { _sfc_main$1T as Badge, _sfc_main$1S as Button, _sfc_main$1R as ButtonLink, _sfc_main$1J as Card, _sfc_main$1I as Checkbox, _sfc_main$1H as ContextMenu, _sfc_main$1G as ContextMenuCheckboxItem, _sfc_main$1F as ContextMenuContent, _sfc_main$1E as ContextMenuGroup, _sfc_main$1D as ContextMenuItem, _sfc_main$1C as ContextMenuLabel, _sfc_main$1B as ContextMenuRadioGroup, _sfc_main$1A as ContextMenuRadioItem, _sfc_main$1z as ContextMenuSeparator, _sfc_main$1y as ContextMenuShortcut, _sfc_main$1x as ContextMenuSub, _sfc_main$1w as ContextMenuSubContent, _sfc_main$1v as ContextMenuSubTrigger, _sfc_main$1u as ContextMenuTrigger, _sfc_main$1t as Dialog, _sfc_main$1s as DialogClose, _sfc_main$1q as DialogContent, _sfc_main$1p as DialogDescription, _sfc_main$1o as DialogFooter, _sfc_main$1n as DialogHeader, _sfc_main$1r as DialogOverlay, _sfc_main$1m as DialogScrollContent, _sfc_main$1l as DialogTitle, _sfc_main$1k as DialogTrigger, _sfc_main$1j as DropdownMenu, _sfc_main$1i as DropdownMenuCheckboxItem, _sfc_main$1h as DropdownMenuContent, _sfc_main$1g as DropdownMenuGroup, _sfc_main$1f as DropdownMenuItem, _sfc_main$1e as DropdownMenuLabel, _sfc_main$1d as DropdownMenuRadioGroup, _sfc_main$1c as DropdownMenuRadioItem, _sfc_main$1b as DropdownMenuSeparator, _sfc_main$1a as DropdownMenuShortcut, _sfc_main$19 as DropdownMenuSub, _sfc_main$18 as DropdownMenuSubContent, _sfc_main$17 as DropdownMenuSubTrigger, _sfc_main$16 as DropdownMenuTrigger, _sfc_main$15 as Input, _sfc_main$$ as InputNumber, _sfc_main$_ as InputText, _sfc_main$Y as Label, _sfc_main$X as Link, _sfc_main$W as Popover, _sfc_main$V as PopoverAnchor, _sfc_main$U as PopoverContent, _sfc_main$T as PopoverTrigger, _sfc_main$S as Progress, _sfc_main$R as RadioGroup, _sfc_main$Q as RadioGroupItem, _sfc_main$1P as ScrollArea, _sfc_main$P as Select, _sfc_main$O as SelectContent, _sfc_main$N as SelectGroup, _sfc_main$M as SelectItem, _sfc_main$L as SelectItemText, _sfc_main$K as SelectLabel, _sfc_main$J as SelectScrollDownButton, _sfc_main$I as SelectScrollUpButton, _sfc_main$H as SelectSeparator, _sfc_main$G as SelectTrigger, _sfc_main$F as SelectValue, _sfc_main$E as Separator, _sfc_main$D as Sheet, _sfc_main$C as SheetClose, _sfc_main$A as SheetContent, _sfc_main$z as SheetDescription, _sfc_main$y as SheetFooter, _sfc_main$x as SheetHeader, _sfc_main$w as SheetTitle, _sfc_main$v as SheetTrigger, _sfc_main$j as Sidebar, _sfc_main$l as Skeleton, _sfc_main$c as Table, _sfc_main$g as TableCell, _sfc_main$e as TableHead, _sfc_main$b as TableLink, _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$p as Tooltip, _sfc_main$o as TooltipContent, _sfc_main$n as TooltipProvider, _sfc_main$m as TooltipTrigger, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useSidebar, useWidth, useWindowHeight, useWindowWidth };