@tb-dev/vue 0.3.22 → 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/__base/hover-card/HoverCard.vue.d.ts +22 -0
- package/dist/components/__base/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/components/__base/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/components/__base/hover-card/index.d.ts +3 -0
- package/dist/components/__base/resizable/ResizableHandle.vue.d.ts +12 -0
- package/dist/components/__base/resizable/ResizablePanel.vue.d.ts +26 -0
- package/dist/components/__base/resizable/ResizablePanelGroup.vue.d.ts +26 -0
- package/dist/components/__base/resizable/index.d.ts +3 -0
- package/dist/components/__base/slider/Slider.vue.d.ts +13 -0
- package/dist/components/__base/slider/index.d.ts +1 -0
- package/dist/components/checkbox/Checkbox.vue.d.ts +9 -5
- package/dist/components/checkbox/types.d.ts +4 -6
- package/dist/components/hover-card/HoverCard.vue.d.ts +22 -0
- package/dist/components/hover-card/index.d.ts +2 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/input-text/types.d.ts +0 -1
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/resizable/index.d.ts +1 -0
- package/dist/components/select/types.d.ts +0 -1
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/switch/types.d.ts +0 -1
- package/dist/index.css +1 -1
- package/dist/index.js +549 -275
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
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, resolveDynamicComponent, createCommentVNode, normalizeStyle, createElementVNode, createTextVNode, withDirectives, isRef, vModelText,
|
|
2
|
+
import { inject as inject$1, toValue, defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createElementBlock, Fragment, createVNode, toDisplayString, resolveDynamicComponent, createCommentVNode, normalizeStyle, mergeModels, useModel, createElementVNode, createTextVNode, withDirectives, isRef, vModelText, normalizeProps, guardReactiveProps, useTemplateRef, ref, renderList, createSlots, toRef, effectScope } from 'vue';
|
|
3
3
|
import { twMerge } from 'tailwind-merge';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { unwrap, isNil, toPixel } from '@tb-dev/utils';
|
|
6
|
-
import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, Label, useForwardPropsEmits, CheckboxRoot, CheckboxIndicator, ComboboxRoot, useForwardProps, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxContent, ComboboxSeparator, ComboboxViewport, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DialogRoot, DialogClose, DialogOverlay, DialogPortal, DialogContent, DialogDescription, DialogTitle, DialogTrigger, DropdownMenuRoot, DropdownMenuCheckboxItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, MenubarRoot, MenubarCheckboxItem, MenubarItemIndicator, MenubarPortal, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, PaginationRoot, PaginationList, PaginationEllipsis, PaginationFirst, PaginationListItem, PaginationLast, PaginationNext, PaginationPrev, PopoverRoot, 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, SwitchRoot, SwitchThumb, TabsRoot, TabsContent, TabsList, TabsTrigger, TagsInputRoot, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, Toggle } from 'reka-ui';
|
|
6
|
+
import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, Label, useForwardPropsEmits, CheckboxRoot, CheckboxIndicator, ComboboxRoot, useForwardProps, ComboboxAnchor, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxContent, ComboboxSeparator, ComboboxViewport, ContextMenuRoot, ContextMenuCheckboxItem, ContextMenuItemIndicator, ContextMenuPortal, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DialogRoot, DialogClose, DialogOverlay, DialogPortal, DialogContent, DialogDescription, DialogTitle, DialogTrigger, DropdownMenuRoot, DropdownMenuCheckboxItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HoverCardRoot, HoverCardPortal, HoverCardContent, HoverCardTrigger, NumberFieldRoot, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput, MenubarRoot, MenubarCheckboxItem, MenubarItemIndicator, MenubarPortal, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, PaginationRoot, PaginationList, PaginationEllipsis, PaginationFirst, PaginationListItem, PaginationLast, PaginationNext, PaginationPrev, PopoverRoot, PopoverPortal, PopoverContent, PopoverTrigger, ProgressRoot, ProgressIndicator, RadioGroupRoot, RadioGroupItem, RadioGroupIndicator, SplitterResizeHandle, SplitterPanel, SplitterGroup, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectGroup, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectIcon, SelectValue, Separator, createContext, TooltipRoot, TooltipPortal, TooltipContent, TooltipArrow, TooltipProvider, TooltipTrigger, SliderRoot, SliderTrack, SliderRange, SliderThumb, SwitchRoot, SwitchThumb, TabsRoot, TabsContent, TabsList, TabsTrigger, TagsInputRoot, TagsInputInput, TagsInputItem, TagsInputItemDelete, TagsInputItemText, Toggle } from 'reka-ui';
|
|
7
7
|
export { ComboboxCancel, ComboboxTrigger, DropdownMenuPortal, PaginationList, PaginationListItem } from 'reka-ui';
|
|
8
8
|
import { RouterLink } from 'vue-router';
|
|
9
9
|
import { createReusableTemplate, reactiveOmit, useVModel, onClickOutside, useMediaQuery, useEventListener, computedAsync, useAsyncState, useWindowSize, useElementSize as useElementSize$1, tryOnScopeDispose, onKeyStroke, useLocalStorage } from '@vueuse/core';
|
|
10
|
-
import { Check, SearchIcon, Circle, ChevronRight, X, Minus, Plus, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, CircleIcon, ChevronDown, ChevronUp, PanelLeft } from 'lucide-vue-next';
|
|
10
|
+
import { Check, SearchIcon, Circle, ChevronRight, X, Minus, Plus, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, CircleIcon, GripVertical, ChevronDown, ChevronUp, PanelLeft } from 'lucide-vue-next';
|
|
11
11
|
import { Toaster } from 'vue-sonner';
|
|
12
12
|
export { toast as sonner } from 'vue-sonner';
|
|
13
13
|
|
|
@@ -90,7 +90,7 @@ function cn(...inputs) {
|
|
|
90
90
|
return twMerge(clsx(inputs));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
const _sfc_main$
|
|
93
|
+
const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
94
94
|
__name: "Badge",
|
|
95
95
|
props: {
|
|
96
96
|
asChild: { type: Boolean },
|
|
@@ -135,7 +135,7 @@ const badgeVariants = cva(
|
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
137
|
|
|
138
|
-
const _sfc_main$
|
|
138
|
+
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
139
139
|
__name: "Button",
|
|
140
140
|
props: {
|
|
141
141
|
variant: {},
|
|
@@ -188,9 +188,9 @@ const buttonVariants = cva(
|
|
|
188
188
|
}
|
|
189
189
|
);
|
|
190
190
|
|
|
191
|
-
const _hoisted_1$
|
|
191
|
+
const _hoisted_1$j = { key: 0 };
|
|
192
192
|
const _hoisted_2$2 = { key: 0 };
|
|
193
|
-
const _sfc_main$
|
|
193
|
+
const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
194
194
|
__name: "ButtonLink",
|
|
195
195
|
props: {
|
|
196
196
|
buttonClass: {},
|
|
@@ -206,14 +206,14 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
206
206
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
207
207
|
createVNode(unref(DefineTemplate), null, {
|
|
208
208
|
default: withCtx(() => [
|
|
209
|
-
createVNode(unref(_sfc_main$
|
|
209
|
+
createVNode(unref(_sfc_main$2Y), mergeProps(_ctx.$attrs, {
|
|
210
210
|
variant: _ctx.variant,
|
|
211
211
|
size: _ctx.size,
|
|
212
212
|
disabled: _ctx.disabled,
|
|
213
213
|
class: unref(cn)("size-full", _ctx.buttonClass)
|
|
214
214
|
}), {
|
|
215
215
|
default: withCtx(() => [
|
|
216
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
216
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$j, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
217
217
|
]),
|
|
218
218
|
_: 3
|
|
219
219
|
}, 16, ["variant", "size", "disabled", "class"])
|
|
@@ -236,7 +236,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
236
236
|
}
|
|
237
237
|
});
|
|
238
238
|
|
|
239
|
-
const _sfc_main$
|
|
239
|
+
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
240
240
|
__name: "ButtonIcon",
|
|
241
241
|
props: {
|
|
242
242
|
buttonClass: {},
|
|
@@ -249,7 +249,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
249
249
|
setup(__props) {
|
|
250
250
|
const props = __props;
|
|
251
251
|
return (_ctx, _cache) => {
|
|
252
|
-
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$
|
|
252
|
+
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2X), {
|
|
253
253
|
key: 0,
|
|
254
254
|
to: _ctx.to,
|
|
255
255
|
variant: "ghost",
|
|
@@ -264,7 +264,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
264
264
|
}, null, 8, ["class", "size"]))
|
|
265
265
|
]),
|
|
266
266
|
_: 1
|
|
267
|
-
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
267
|
+
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2Y), {
|
|
268
268
|
key: 1,
|
|
269
269
|
variant: "ghost",
|
|
270
270
|
size: "icon",
|
|
@@ -282,7 +282,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
282
282
|
}
|
|
283
283
|
});
|
|
284
284
|
|
|
285
|
-
const _sfc_main$
|
|
285
|
+
const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
286
286
|
__name: "ScrollBar",
|
|
287
287
|
props: {
|
|
288
288
|
orientation: { default: "vertical" },
|
|
@@ -318,7 +318,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
320
|
|
|
321
|
-
const _sfc_main$
|
|
321
|
+
const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
322
322
|
__name: "ScrollArea",
|
|
323
323
|
props: {
|
|
324
324
|
type: {},
|
|
@@ -348,7 +348,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
348
348
|
]),
|
|
349
349
|
_: 3
|
|
350
350
|
}),
|
|
351
|
-
createVNode(_sfc_main$
|
|
351
|
+
createVNode(_sfc_main$2V),
|
|
352
352
|
createVNode(unref(ScrollAreaCorner))
|
|
353
353
|
]),
|
|
354
354
|
_: 3
|
|
@@ -357,7 +357,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
359
|
|
|
360
|
-
const _sfc_main$
|
|
360
|
+
const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
361
361
|
__name: "Card",
|
|
362
362
|
props: {
|
|
363
363
|
class: {}
|
|
@@ -380,7 +380,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
382
|
|
|
383
|
-
const _sfc_main$
|
|
383
|
+
const _sfc_main$2S = /* @__PURE__ */ defineComponent({
|
|
384
384
|
__name: "CardContent",
|
|
385
385
|
props: {
|
|
386
386
|
class: {}
|
|
@@ -398,7 +398,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
const _sfc_main$
|
|
401
|
+
const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
402
402
|
__name: "CardDescription",
|
|
403
403
|
props: {
|
|
404
404
|
class: {}
|
|
@@ -416,7 +416,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
418
|
|
|
419
|
-
const _sfc_main$
|
|
419
|
+
const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
420
420
|
__name: "CardFooter",
|
|
421
421
|
props: {
|
|
422
422
|
class: {}
|
|
@@ -434,7 +434,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
434
434
|
}
|
|
435
435
|
});
|
|
436
436
|
|
|
437
|
-
const _sfc_main$
|
|
437
|
+
const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
438
438
|
__name: "CardHeader",
|
|
439
439
|
props: {
|
|
440
440
|
class: {}
|
|
@@ -457,7 +457,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
|
|
460
|
-
const _sfc_main$
|
|
460
|
+
const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
461
461
|
__name: "CardTitle",
|
|
462
462
|
props: {
|
|
463
463
|
class: {}
|
|
@@ -475,7 +475,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
|
475
475
|
}
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
const _sfc_main$
|
|
478
|
+
const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
479
479
|
__name: "Card",
|
|
480
480
|
props: {
|
|
481
481
|
contentClass: {},
|
|
@@ -488,14 +488,14 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
488
488
|
},
|
|
489
489
|
setup(__props) {
|
|
490
490
|
return (_ctx, _cache) => {
|
|
491
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
491
|
+
return openBlock(), createBlock(unref(_sfc_main$2T), null, {
|
|
492
492
|
default: withCtx(() => [
|
|
493
|
-
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
493
|
+
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$2P), {
|
|
494
494
|
key: 0,
|
|
495
495
|
class: normalizeClass(_ctx.headerClass)
|
|
496
496
|
}, {
|
|
497
497
|
default: withCtx(() => [
|
|
498
|
-
createVNode(unref(_sfc_main$
|
|
498
|
+
createVNode(unref(_sfc_main$2O), {
|
|
499
499
|
class: normalizeClass(_ctx.titleClass)
|
|
500
500
|
}, {
|
|
501
501
|
default: withCtx(() => [
|
|
@@ -503,7 +503,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
503
503
|
]),
|
|
504
504
|
_: 3
|
|
505
505
|
}, 8, ["class"]),
|
|
506
|
-
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$
|
|
506
|
+
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$2R), {
|
|
507
507
|
key: 0,
|
|
508
508
|
class: normalizeClass(_ctx.descriptionClass)
|
|
509
509
|
}, {
|
|
@@ -515,12 +515,12 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
515
515
|
]),
|
|
516
516
|
_: 3
|
|
517
517
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
518
|
-
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$
|
|
518
|
+
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2S), {
|
|
519
519
|
key: 1,
|
|
520
520
|
class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
|
|
521
521
|
}, {
|
|
522
522
|
default: withCtx(() => [
|
|
523
|
-
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
523
|
+
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$2U), {
|
|
524
524
|
key: 0,
|
|
525
525
|
class: normalizeClass(_ctx.scrollAreaClass),
|
|
526
526
|
style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
|
|
@@ -533,7 +533,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
533
533
|
]),
|
|
534
534
|
_: 3
|
|
535
535
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
536
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
536
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2Q), {
|
|
537
537
|
key: 2,
|
|
538
538
|
class: normalizeClass(_ctx.footerClass)
|
|
539
539
|
}, {
|
|
@@ -549,7 +549,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
551
|
|
|
552
|
-
const _sfc_main$
|
|
552
|
+
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
553
553
|
__name: "Label",
|
|
554
554
|
props: {
|
|
555
555
|
for: {},
|
|
@@ -579,7 +579,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
const _sfc_main$
|
|
582
|
+
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
583
583
|
__name: "Checkbox",
|
|
584
584
|
props: {
|
|
585
585
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -628,49 +628,42 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
|
628
628
|
}
|
|
629
629
|
});
|
|
630
630
|
|
|
631
|
-
const _hoisted_1$
|
|
632
|
-
const _sfc_main$
|
|
631
|
+
const _hoisted_1$i = { class: "w-full" };
|
|
632
|
+
const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
633
633
|
__name: "Checkbox",
|
|
634
|
-
props: {
|
|
635
|
-
|
|
636
|
-
defaultValue: { type: Boolean },
|
|
634
|
+
props: /* @__PURE__ */ mergeModels({
|
|
635
|
+
defaultValue: { type: [Boolean, String] },
|
|
637
636
|
disabled: { type: Boolean },
|
|
638
637
|
label: {},
|
|
639
|
-
labelClass: {}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
638
|
+
labelClass: {}
|
|
639
|
+
}, {
|
|
640
|
+
"modelValue": { type: [Boolean, String, null], ...{ required: false } },
|
|
641
|
+
"modelModifiers": {}
|
|
642
|
+
}),
|
|
643
643
|
emits: ["update:modelValue"],
|
|
644
|
-
setup(__props
|
|
645
|
-
const
|
|
646
|
-
const emit = __emit;
|
|
647
|
-
const value = computed({
|
|
648
|
-
get: () => props.modelValue ?? false,
|
|
649
|
-
set: (it) => emit("update:modelValue", it)
|
|
650
|
-
});
|
|
644
|
+
setup(__props) {
|
|
645
|
+
const value = useModel(__props, "modelValue");
|
|
651
646
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
652
647
|
return (_ctx, _cache) => {
|
|
653
648
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
654
649
|
createVNode(unref(DefineTemplate), null, {
|
|
655
650
|
default: withCtx(() => [
|
|
656
|
-
createVNode(unref(_sfc_main$
|
|
651
|
+
createVNode(unref(_sfc_main$2L), mergeProps(_ctx.$attrs, {
|
|
657
652
|
modelValue: value.value,
|
|
658
653
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
659
654
|
"default-value": _ctx.defaultValue,
|
|
660
|
-
disabled: _ctx.disabled
|
|
661
|
-
|
|
662
|
-
class: props.class
|
|
663
|
-
}), null, 16, ["modelValue", "default-value", "disabled", "required", "class"])
|
|
655
|
+
disabled: _ctx.disabled
|
|
656
|
+
}), null, 16, ["modelValue", "default-value", "disabled"])
|
|
664
657
|
]),
|
|
665
658
|
_: 1
|
|
666
659
|
}),
|
|
667
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
660
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
668
661
|
key: 0,
|
|
669
662
|
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-1 font-normal", _ctx.labelClass))
|
|
670
663
|
}, {
|
|
671
664
|
default: withCtx(() => [
|
|
672
665
|
createVNode(unref(ReuseTemplate)),
|
|
673
|
-
createElementVNode("span", _hoisted_1$
|
|
666
|
+
createElementVNode("span", _hoisted_1$i, toDisplayString(_ctx.label), 1)
|
|
674
667
|
]),
|
|
675
668
|
_: 1
|
|
676
669
|
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
@@ -679,7 +672,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
679
672
|
}
|
|
680
673
|
});
|
|
681
674
|
|
|
682
|
-
const _sfc_main$
|
|
675
|
+
const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
683
676
|
__name: "Combobox",
|
|
684
677
|
props: {
|
|
685
678
|
open: { type: Boolean },
|
|
@@ -715,7 +708,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
715
708
|
}
|
|
716
709
|
});
|
|
717
710
|
|
|
718
|
-
const _sfc_main$
|
|
711
|
+
const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
719
712
|
__name: "ComboboxAnchor",
|
|
720
713
|
props: {
|
|
721
714
|
reference: {},
|
|
@@ -743,7 +736,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
743
736
|
}
|
|
744
737
|
});
|
|
745
738
|
|
|
746
|
-
const _sfc_main$
|
|
739
|
+
const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
747
740
|
__name: "ComboboxEmpty",
|
|
748
741
|
props: {
|
|
749
742
|
asChild: { type: Boolean },
|
|
@@ -769,7 +762,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
769
762
|
}
|
|
770
763
|
});
|
|
771
764
|
|
|
772
|
-
const _sfc_main$
|
|
765
|
+
const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
773
766
|
__name: "ComboboxGroup",
|
|
774
767
|
props: {
|
|
775
768
|
asChild: { type: Boolean },
|
|
@@ -805,11 +798,11 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
805
798
|
}
|
|
806
799
|
});
|
|
807
800
|
|
|
808
|
-
const _hoisted_1$
|
|
801
|
+
const _hoisted_1$h = {
|
|
809
802
|
"data-slot": "command-input-wrapper",
|
|
810
803
|
class: "flex h-9 items-center gap-2 border-b px-3"
|
|
811
804
|
};
|
|
812
|
-
const _sfc_main$
|
|
805
|
+
const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
813
806
|
...{
|
|
814
807
|
inheritAttrs: false
|
|
815
808
|
},
|
|
@@ -833,7 +826,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
833
826
|
});
|
|
834
827
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
835
828
|
return (_ctx, _cache) => {
|
|
836
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
829
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
837
830
|
createVNode(unref(SearchIcon), { class: "size-4 shrink-0 opacity-50" }),
|
|
838
831
|
createVNode(unref(ComboboxInput), mergeProps({
|
|
839
832
|
"data-slot": "command-input",
|
|
@@ -852,7 +845,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
852
845
|
}
|
|
853
846
|
});
|
|
854
847
|
|
|
855
|
-
const _sfc_main$
|
|
848
|
+
const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
856
849
|
__name: "ComboboxItem",
|
|
857
850
|
props: {
|
|
858
851
|
textValue: {},
|
|
@@ -887,7 +880,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
887
880
|
}
|
|
888
881
|
});
|
|
889
882
|
|
|
890
|
-
const _sfc_main$
|
|
883
|
+
const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
891
884
|
__name: "ComboboxItemIndicator",
|
|
892
885
|
props: {
|
|
893
886
|
asChild: { type: Boolean },
|
|
@@ -914,7 +907,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
914
907
|
}
|
|
915
908
|
});
|
|
916
909
|
|
|
917
|
-
const _sfc_main$
|
|
910
|
+
const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
918
911
|
__name: "ComboboxList",
|
|
919
912
|
props: {
|
|
920
913
|
forceMount: { type: Boolean },
|
|
@@ -968,7 +961,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
968
961
|
}
|
|
969
962
|
});
|
|
970
963
|
|
|
971
|
-
const _sfc_main$
|
|
964
|
+
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
972
965
|
__name: "ComboboxSeparator",
|
|
973
966
|
props: {
|
|
974
967
|
asChild: { type: Boolean },
|
|
@@ -994,7 +987,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
994
987
|
}
|
|
995
988
|
});
|
|
996
989
|
|
|
997
|
-
const _sfc_main$
|
|
990
|
+
const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
998
991
|
__name: "ComboboxViewport",
|
|
999
992
|
props: {
|
|
1000
993
|
nonce: {},
|
|
@@ -1022,7 +1015,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
1022
1015
|
}
|
|
1023
1016
|
});
|
|
1024
1017
|
|
|
1025
|
-
const _sfc_main$
|
|
1018
|
+
const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
1026
1019
|
__name: "ContextMenu",
|
|
1027
1020
|
props: {
|
|
1028
1021
|
dir: {},
|
|
@@ -1044,8 +1037,8 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
1044
1037
|
}
|
|
1045
1038
|
});
|
|
1046
1039
|
|
|
1047
|
-
const _hoisted_1$
|
|
1048
|
-
const _sfc_main$
|
|
1040
|
+
const _hoisted_1$g = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1041
|
+
const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
1049
1042
|
__name: "ContextMenuCheckboxItem",
|
|
1050
1043
|
props: {
|
|
1051
1044
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1072,7 +1065,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
1072
1065
|
)
|
|
1073
1066
|
}), {
|
|
1074
1067
|
default: withCtx(() => [
|
|
1075
|
-
createElementVNode("span", _hoisted_1$
|
|
1068
|
+
createElementVNode("span", _hoisted_1$g, [
|
|
1076
1069
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1077
1070
|
default: withCtx(() => [
|
|
1078
1071
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1088,7 +1081,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
1088
1081
|
}
|
|
1089
1082
|
});
|
|
1090
1083
|
|
|
1091
|
-
const _sfc_main$
|
|
1084
|
+
const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
1092
1085
|
__name: "ContextMenuContent",
|
|
1093
1086
|
props: {
|
|
1094
1087
|
forceMount: { type: Boolean },
|
|
@@ -1137,7 +1130,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
1137
1130
|
}
|
|
1138
1131
|
});
|
|
1139
1132
|
|
|
1140
|
-
const _sfc_main$
|
|
1133
|
+
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
1141
1134
|
__name: "ContextMenuGroup",
|
|
1142
1135
|
props: {
|
|
1143
1136
|
asChild: { type: Boolean },
|
|
@@ -1156,7 +1149,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
1156
1149
|
}
|
|
1157
1150
|
});
|
|
1158
1151
|
|
|
1159
|
-
const _sfc_main$
|
|
1152
|
+
const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
1160
1153
|
__name: "ContextMenuItem",
|
|
1161
1154
|
props: {
|
|
1162
1155
|
disabled: { type: Boolean },
|
|
@@ -1196,7 +1189,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
1196
1189
|
}
|
|
1197
1190
|
});
|
|
1198
1191
|
|
|
1199
|
-
const _sfc_main$
|
|
1192
|
+
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
1200
1193
|
__name: "ContextMenuLabel",
|
|
1201
1194
|
props: {
|
|
1202
1195
|
asChild: { type: Boolean },
|
|
@@ -1226,7 +1219,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
1226
1219
|
}
|
|
1227
1220
|
});
|
|
1228
1221
|
|
|
1229
|
-
const _sfc_main$
|
|
1222
|
+
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
1230
1223
|
__name: "ContextMenuRadioGroup",
|
|
1231
1224
|
props: {
|
|
1232
1225
|
modelValue: {},
|
|
@@ -1249,8 +1242,8 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
|
1249
1242
|
}
|
|
1250
1243
|
});
|
|
1251
1244
|
|
|
1252
|
-
const _hoisted_1$
|
|
1253
|
-
const _sfc_main$
|
|
1245
|
+
const _hoisted_1$f = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1246
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
1254
1247
|
__name: "ContextMenuRadioItem",
|
|
1255
1248
|
props: {
|
|
1256
1249
|
value: {},
|
|
@@ -1277,7 +1270,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1277
1270
|
)
|
|
1278
1271
|
}), {
|
|
1279
1272
|
default: withCtx(() => [
|
|
1280
|
-
createElementVNode("span", _hoisted_1$
|
|
1273
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
1281
1274
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1282
1275
|
default: withCtx(() => [
|
|
1283
1276
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1293,7 +1286,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1293
1286
|
}
|
|
1294
1287
|
});
|
|
1295
1288
|
|
|
1296
|
-
const _sfc_main$
|
|
1289
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
1297
1290
|
__name: "ContextMenuSeparator",
|
|
1298
1291
|
props: {
|
|
1299
1292
|
asChild: { type: Boolean },
|
|
@@ -1314,7 +1307,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
1314
1307
|
}
|
|
1315
1308
|
});
|
|
1316
1309
|
|
|
1317
|
-
const _sfc_main$
|
|
1310
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
1318
1311
|
__name: "ContextMenuShortcut",
|
|
1319
1312
|
props: {
|
|
1320
1313
|
class: {}
|
|
@@ -1332,7 +1325,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
1332
1325
|
}
|
|
1333
1326
|
});
|
|
1334
1327
|
|
|
1335
|
-
const _sfc_main$
|
|
1328
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
1336
1329
|
__name: "ContextMenuSub",
|
|
1337
1330
|
props: {
|
|
1338
1331
|
defaultOpen: { type: Boolean },
|
|
@@ -1354,7 +1347,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
1354
1347
|
}
|
|
1355
1348
|
});
|
|
1356
1349
|
|
|
1357
|
-
const _sfc_main$
|
|
1350
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
1358
1351
|
__name: "ContextMenuSubContent",
|
|
1359
1352
|
props: {
|
|
1360
1353
|
forceMount: { type: Boolean },
|
|
@@ -1401,7 +1394,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
1401
1394
|
}
|
|
1402
1395
|
});
|
|
1403
1396
|
|
|
1404
|
-
const _sfc_main$
|
|
1397
|
+
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
1405
1398
|
__name: "ContextMenuSubTrigger",
|
|
1406
1399
|
props: {
|
|
1407
1400
|
disabled: { type: Boolean },
|
|
@@ -1438,7 +1431,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
|
1438
1431
|
}
|
|
1439
1432
|
});
|
|
1440
1433
|
|
|
1441
|
-
const _sfc_main$
|
|
1434
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
1442
1435
|
__name: "ContextMenuTrigger",
|
|
1443
1436
|
props: {
|
|
1444
1437
|
disabled: { type: Boolean },
|
|
@@ -1459,7 +1452,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
|
1459
1452
|
}
|
|
1460
1453
|
});
|
|
1461
1454
|
|
|
1462
|
-
const _sfc_main$
|
|
1455
|
+
const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
1463
1456
|
__name: "Dialog",
|
|
1464
1457
|
props: {
|
|
1465
1458
|
open: { type: Boolean },
|
|
@@ -1482,7 +1475,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
1482
1475
|
}
|
|
1483
1476
|
});
|
|
1484
1477
|
|
|
1485
|
-
const _sfc_main$
|
|
1478
|
+
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
1486
1479
|
__name: "DialogClose",
|
|
1487
1480
|
props: {
|
|
1488
1481
|
asChild: { type: Boolean },
|
|
@@ -1501,7 +1494,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
|
1501
1494
|
}
|
|
1502
1495
|
});
|
|
1503
1496
|
|
|
1504
|
-
const _sfc_main$
|
|
1497
|
+
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
1505
1498
|
__name: "DialogOverlay",
|
|
1506
1499
|
props: {
|
|
1507
1500
|
forceMount: { type: Boolean },
|
|
@@ -1531,7 +1524,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
1531
1524
|
}
|
|
1532
1525
|
});
|
|
1533
1526
|
|
|
1534
|
-
const _sfc_main$
|
|
1527
|
+
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
1535
1528
|
__name: "DialogContent",
|
|
1536
1529
|
props: {
|
|
1537
1530
|
forceMount: { type: Boolean },
|
|
@@ -1553,7 +1546,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1553
1546
|
return (_ctx, _cache) => {
|
|
1554
1547
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1555
1548
|
default: withCtx(() => [
|
|
1556
|
-
createVNode(_sfc_main$
|
|
1549
|
+
createVNode(_sfc_main$2j),
|
|
1557
1550
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1558
1551
|
class: unref(cn)(
|
|
1559
1552
|
"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",
|
|
@@ -1579,7 +1572,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1579
1572
|
}
|
|
1580
1573
|
});
|
|
1581
1574
|
|
|
1582
|
-
const _sfc_main$
|
|
1575
|
+
const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
1583
1576
|
__name: "DialogDescription",
|
|
1584
1577
|
props: {
|
|
1585
1578
|
asChild: { type: Boolean },
|
|
@@ -1606,7 +1599,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1606
1599
|
}
|
|
1607
1600
|
});
|
|
1608
1601
|
|
|
1609
|
-
const _sfc_main$
|
|
1602
|
+
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
1610
1603
|
__name: "DialogFooter",
|
|
1611
1604
|
props: {
|
|
1612
1605
|
class: {}
|
|
@@ -1624,7 +1617,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1624
1617
|
}
|
|
1625
1618
|
});
|
|
1626
1619
|
|
|
1627
|
-
const _sfc_main$
|
|
1620
|
+
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
1628
1621
|
__name: "DialogHeader",
|
|
1629
1622
|
props: {
|
|
1630
1623
|
class: {}
|
|
@@ -1642,7 +1635,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
1642
1635
|
}
|
|
1643
1636
|
});
|
|
1644
1637
|
|
|
1645
|
-
const _sfc_main$
|
|
1638
|
+
const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
1646
1639
|
__name: "DialogScrollContent",
|
|
1647
1640
|
props: {
|
|
1648
1641
|
forceMount: { type: Boolean },
|
|
@@ -1702,7 +1695,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1702
1695
|
}
|
|
1703
1696
|
});
|
|
1704
1697
|
|
|
1705
|
-
const _sfc_main$
|
|
1698
|
+
const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
1706
1699
|
__name: "DialogTitle",
|
|
1707
1700
|
props: {
|
|
1708
1701
|
asChild: { type: Boolean },
|
|
@@ -1729,7 +1722,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
1729
1722
|
}
|
|
1730
1723
|
});
|
|
1731
1724
|
|
|
1732
|
-
const _sfc_main$
|
|
1725
|
+
const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
1733
1726
|
__name: "DialogTrigger",
|
|
1734
1727
|
props: {
|
|
1735
1728
|
asChild: { type: Boolean },
|
|
@@ -1748,7 +1741,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1748
1741
|
}
|
|
1749
1742
|
});
|
|
1750
1743
|
|
|
1751
|
-
const _sfc_main$
|
|
1744
|
+
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
1752
1745
|
__name: "DropdownMenu",
|
|
1753
1746
|
props: {
|
|
1754
1747
|
defaultOpen: { type: Boolean },
|
|
@@ -1772,8 +1765,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
1772
1765
|
}
|
|
1773
1766
|
});
|
|
1774
1767
|
|
|
1775
|
-
const _hoisted_1$
|
|
1776
|
-
const _sfc_main$
|
|
1768
|
+
const _hoisted_1$e = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1769
|
+
const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
1777
1770
|
__name: "DropdownMenuCheckboxItem",
|
|
1778
1771
|
props: {
|
|
1779
1772
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1800,7 +1793,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1800
1793
|
)
|
|
1801
1794
|
}), {
|
|
1802
1795
|
default: withCtx(() => [
|
|
1803
|
-
createElementVNode("span", _hoisted_1$
|
|
1796
|
+
createElementVNode("span", _hoisted_1$e, [
|
|
1804
1797
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1805
1798
|
default: withCtx(() => [
|
|
1806
1799
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1816,7 +1809,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1816
1809
|
}
|
|
1817
1810
|
});
|
|
1818
1811
|
|
|
1819
|
-
const _sfc_main$
|
|
1812
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
1820
1813
|
__name: "DropdownMenuContent",
|
|
1821
1814
|
props: {
|
|
1822
1815
|
forceMount: { type: Boolean },
|
|
@@ -1870,7 +1863,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
1870
1863
|
}
|
|
1871
1864
|
});
|
|
1872
1865
|
|
|
1873
|
-
const _sfc_main$
|
|
1866
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
1874
1867
|
__name: "DropdownMenuGroup",
|
|
1875
1868
|
props: {
|
|
1876
1869
|
asChild: { type: Boolean },
|
|
@@ -1889,7 +1882,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
1889
1882
|
}
|
|
1890
1883
|
});
|
|
1891
1884
|
|
|
1892
|
-
const _sfc_main$
|
|
1885
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
1893
1886
|
__name: "DropdownMenuItem",
|
|
1894
1887
|
props: {
|
|
1895
1888
|
disabled: { type: Boolean },
|
|
@@ -1924,7 +1917,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
1924
1917
|
}
|
|
1925
1918
|
});
|
|
1926
1919
|
|
|
1927
|
-
const _sfc_main$
|
|
1920
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
1928
1921
|
__name: "DropdownMenuLabel",
|
|
1929
1922
|
props: {
|
|
1930
1923
|
asChild: { type: Boolean },
|
|
@@ -1952,7 +1945,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
1952
1945
|
}
|
|
1953
1946
|
});
|
|
1954
1947
|
|
|
1955
|
-
const _sfc_main$
|
|
1948
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
1956
1949
|
__name: "DropdownMenuRadioGroup",
|
|
1957
1950
|
props: {
|
|
1958
1951
|
modelValue: {},
|
|
@@ -1975,8 +1968,8 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
1975
1968
|
}
|
|
1976
1969
|
});
|
|
1977
1970
|
|
|
1978
|
-
const _hoisted_1$
|
|
1979
|
-
const _sfc_main$
|
|
1971
|
+
const _hoisted_1$d = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1972
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
1980
1973
|
__name: "DropdownMenuRadioItem",
|
|
1981
1974
|
props: {
|
|
1982
1975
|
value: {},
|
|
@@ -2003,7 +1996,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
2003
1996
|
)
|
|
2004
1997
|
}), {
|
|
2005
1998
|
default: withCtx(() => [
|
|
2006
|
-
createElementVNode("span", _hoisted_1$
|
|
1999
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
2007
2000
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
2008
2001
|
default: withCtx(() => [
|
|
2009
2002
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -2019,7 +2012,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
2019
2012
|
}
|
|
2020
2013
|
});
|
|
2021
2014
|
|
|
2022
|
-
const _sfc_main$
|
|
2015
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
2023
2016
|
__name: "DropdownMenuSeparator",
|
|
2024
2017
|
props: {
|
|
2025
2018
|
asChild: { type: Boolean },
|
|
@@ -2040,7 +2033,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
2040
2033
|
}
|
|
2041
2034
|
});
|
|
2042
2035
|
|
|
2043
|
-
const _sfc_main$
|
|
2036
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
2044
2037
|
__name: "DropdownMenuShortcut",
|
|
2045
2038
|
props: {
|
|
2046
2039
|
class: {}
|
|
@@ -2058,7 +2051,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
2058
2051
|
}
|
|
2059
2052
|
});
|
|
2060
2053
|
|
|
2061
|
-
const _sfc_main$
|
|
2054
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
2062
2055
|
__name: "DropdownMenuSub",
|
|
2063
2056
|
props: {
|
|
2064
2057
|
defaultOpen: { type: Boolean },
|
|
@@ -2080,7 +2073,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
2080
2073
|
}
|
|
2081
2074
|
});
|
|
2082
2075
|
|
|
2083
|
-
const _sfc_main$
|
|
2076
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
2084
2077
|
__name: "DropdownMenuSubContent",
|
|
2085
2078
|
props: {
|
|
2086
2079
|
forceMount: { type: Boolean },
|
|
@@ -2127,7 +2120,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
2127
2120
|
}
|
|
2128
2121
|
});
|
|
2129
2122
|
|
|
2130
|
-
const _sfc_main$
|
|
2123
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
2131
2124
|
__name: "DropdownMenuSubTrigger",
|
|
2132
2125
|
props: {
|
|
2133
2126
|
disabled: { type: Boolean },
|
|
@@ -2158,7 +2151,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
2158
2151
|
}
|
|
2159
2152
|
});
|
|
2160
2153
|
|
|
2161
|
-
const _sfc_main$
|
|
2154
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
2162
2155
|
__name: "DropdownMenuTrigger",
|
|
2163
2156
|
props: {
|
|
2164
2157
|
disabled: { type: Boolean },
|
|
@@ -2179,7 +2172,127 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
2179
2172
|
}
|
|
2180
2173
|
});
|
|
2181
2174
|
|
|
2182
|
-
const _sfc_main$
|
|
2175
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
2176
|
+
__name: "HoverCard",
|
|
2177
|
+
props: {
|
|
2178
|
+
defaultOpen: { type: Boolean },
|
|
2179
|
+
open: { type: Boolean },
|
|
2180
|
+
openDelay: {},
|
|
2181
|
+
closeDelay: {}
|
|
2182
|
+
},
|
|
2183
|
+
emits: ["update:open"],
|
|
2184
|
+
setup(__props, { emit: __emit }) {
|
|
2185
|
+
const props = __props;
|
|
2186
|
+
const emits = __emit;
|
|
2187
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
2188
|
+
return (_ctx, _cache) => {
|
|
2189
|
+
return openBlock(), createBlock(unref(HoverCardRoot), mergeProps({ "data-slot": "hover-card" }, unref(forwarded)), {
|
|
2190
|
+
default: withCtx(() => [
|
|
2191
|
+
renderSlot(_ctx.$slots, "default")
|
|
2192
|
+
]),
|
|
2193
|
+
_: 3
|
|
2194
|
+
}, 16);
|
|
2195
|
+
};
|
|
2196
|
+
}
|
|
2197
|
+
});
|
|
2198
|
+
|
|
2199
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
2200
|
+
__name: "HoverCardContent",
|
|
2201
|
+
props: {
|
|
2202
|
+
forceMount: { type: Boolean },
|
|
2203
|
+
side: {},
|
|
2204
|
+
sideOffset: { default: 4 },
|
|
2205
|
+
align: {},
|
|
2206
|
+
alignOffset: {},
|
|
2207
|
+
avoidCollisions: { type: Boolean },
|
|
2208
|
+
collisionBoundary: {},
|
|
2209
|
+
collisionPadding: {},
|
|
2210
|
+
arrowPadding: {},
|
|
2211
|
+
sticky: {},
|
|
2212
|
+
hideWhenDetached: { type: Boolean },
|
|
2213
|
+
positionStrategy: {},
|
|
2214
|
+
updatePositionStrategy: {},
|
|
2215
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
2216
|
+
prioritizePosition: { type: Boolean },
|
|
2217
|
+
reference: {},
|
|
2218
|
+
asChild: { type: Boolean },
|
|
2219
|
+
as: {},
|
|
2220
|
+
class: {}
|
|
2221
|
+
},
|
|
2222
|
+
setup(__props) {
|
|
2223
|
+
const props = __props;
|
|
2224
|
+
const delegatedProps = computed(() => {
|
|
2225
|
+
const { class: _, ...delegated } = props;
|
|
2226
|
+
return delegated;
|
|
2227
|
+
});
|
|
2228
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
2229
|
+
return (_ctx, _cache) => {
|
|
2230
|
+
return openBlock(), createBlock(unref(HoverCardPortal), null, {
|
|
2231
|
+
default: withCtx(() => [
|
|
2232
|
+
createVNode(unref(HoverCardContent), mergeProps({ "data-slot": "hover-card-content" }, unref(forwardedProps), {
|
|
2233
|
+
class: unref(cn)(
|
|
2234
|
+
"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-64 rounded-md border p-4 shadow-md outline-hidden",
|
|
2235
|
+
props.class
|
|
2236
|
+
)
|
|
2237
|
+
}), {
|
|
2238
|
+
default: withCtx(() => [
|
|
2239
|
+
renderSlot(_ctx.$slots, "default")
|
|
2240
|
+
]),
|
|
2241
|
+
_: 3
|
|
2242
|
+
}, 16, ["class"])
|
|
2243
|
+
]),
|
|
2244
|
+
_: 3
|
|
2245
|
+
});
|
|
2246
|
+
};
|
|
2247
|
+
}
|
|
2248
|
+
});
|
|
2249
|
+
|
|
2250
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
2251
|
+
__name: "HoverCardTrigger",
|
|
2252
|
+
props: {
|
|
2253
|
+
reference: {},
|
|
2254
|
+
asChild: { type: Boolean },
|
|
2255
|
+
as: {}
|
|
2256
|
+
},
|
|
2257
|
+
setup(__props) {
|
|
2258
|
+
const props = __props;
|
|
2259
|
+
return (_ctx, _cache) => {
|
|
2260
|
+
return openBlock(), createBlock(unref(HoverCardTrigger), mergeProps({ "data-slot": "hover-card-trigger" }, props), {
|
|
2261
|
+
default: withCtx(() => [
|
|
2262
|
+
renderSlot(_ctx.$slots, "default")
|
|
2263
|
+
]),
|
|
2264
|
+
_: 3
|
|
2265
|
+
}, 16);
|
|
2266
|
+
};
|
|
2267
|
+
}
|
|
2268
|
+
});
|
|
2269
|
+
|
|
2270
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
2271
|
+
__name: "HoverCard",
|
|
2272
|
+
setup(__props) {
|
|
2273
|
+
return (_ctx, _cache) => {
|
|
2274
|
+
return openBlock(), createBlock(unref(_sfc_main$1Z), null, {
|
|
2275
|
+
default: withCtx(() => [
|
|
2276
|
+
createVNode(unref(_sfc_main$1X), null, {
|
|
2277
|
+
default: withCtx(() => [
|
|
2278
|
+
renderSlot(_ctx.$slots, "trigger")
|
|
2279
|
+
]),
|
|
2280
|
+
_: 3
|
|
2281
|
+
}),
|
|
2282
|
+
createVNode(unref(_sfc_main$1Y), null, {
|
|
2283
|
+
default: withCtx(() => [
|
|
2284
|
+
renderSlot(_ctx.$slots, "default")
|
|
2285
|
+
]),
|
|
2286
|
+
_: 3
|
|
2287
|
+
})
|
|
2288
|
+
]),
|
|
2289
|
+
_: 3
|
|
2290
|
+
});
|
|
2291
|
+
};
|
|
2292
|
+
}
|
|
2293
|
+
});
|
|
2294
|
+
|
|
2295
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
2183
2296
|
__name: "Input",
|
|
2184
2297
|
props: {
|
|
2185
2298
|
defaultValue: {},
|
|
@@ -2213,8 +2326,8 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
2213
2326
|
}
|
|
2214
2327
|
});
|
|
2215
2328
|
|
|
2216
|
-
const _hoisted_1$
|
|
2217
|
-
const _sfc_main$
|
|
2329
|
+
const _hoisted_1$c = { class: "w-full" };
|
|
2330
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
2218
2331
|
__name: "Input",
|
|
2219
2332
|
props: {
|
|
2220
2333
|
autocomplete: {},
|
|
@@ -2248,9 +2361,10 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2248
2361
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2249
2362
|
createVNode(unref(DefineTemplate), null, {
|
|
2250
2363
|
default: withCtx(() => [
|
|
2251
|
-
createVNode(unref(_sfc_main$
|
|
2364
|
+
createVNode(unref(_sfc_main$1V), mergeProps(_ctx.$attrs, {
|
|
2252
2365
|
modelValue: value.value,
|
|
2253
2366
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2367
|
+
modelModifiers: { trim: true },
|
|
2254
2368
|
type: _ctx.type,
|
|
2255
2369
|
autocomplete: _ctx.autocomplete,
|
|
2256
2370
|
autofocus: _ctx.autofocus,
|
|
@@ -2268,12 +2382,12 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2268
2382
|
]),
|
|
2269
2383
|
_: 1
|
|
2270
2384
|
}),
|
|
2271
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2385
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2272
2386
|
key: 0,
|
|
2273
2387
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2274
2388
|
}, {
|
|
2275
2389
|
default: withCtx(() => [
|
|
2276
|
-
createElementVNode("span", _hoisted_1$
|
|
2390
|
+
createElementVNode("span", _hoisted_1$c, toDisplayString(_ctx.label), 1),
|
|
2277
2391
|
createVNode(unref(ReuseTemplate))
|
|
2278
2392
|
]),
|
|
2279
2393
|
_: 1
|
|
@@ -2283,7 +2397,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2283
2397
|
}
|
|
2284
2398
|
});
|
|
2285
2399
|
|
|
2286
|
-
const _sfc_main$
|
|
2400
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
2287
2401
|
__name: "NumberField",
|
|
2288
2402
|
props: {
|
|
2289
2403
|
defaultValue: {},
|
|
@@ -2325,7 +2439,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
2325
2439
|
}
|
|
2326
2440
|
});
|
|
2327
2441
|
|
|
2328
|
-
const _sfc_main$
|
|
2442
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
2329
2443
|
__name: "NumberFieldContent",
|
|
2330
2444
|
props: {
|
|
2331
2445
|
class: {}
|
|
@@ -2347,7 +2461,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
2347
2461
|
}
|
|
2348
2462
|
});
|
|
2349
2463
|
|
|
2350
|
-
const _sfc_main$
|
|
2464
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
2351
2465
|
__name: "NumberFieldDecrement",
|
|
2352
2466
|
props: {
|
|
2353
2467
|
disabled: { type: Boolean },
|
|
@@ -2380,7 +2494,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2380
2494
|
}
|
|
2381
2495
|
});
|
|
2382
2496
|
|
|
2383
|
-
const _sfc_main$
|
|
2497
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
2384
2498
|
__name: "NumberFieldIncrement",
|
|
2385
2499
|
props: {
|
|
2386
2500
|
disabled: { type: Boolean },
|
|
@@ -2413,7 +2527,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
2413
2527
|
}
|
|
2414
2528
|
});
|
|
2415
2529
|
|
|
2416
|
-
const _sfc_main$
|
|
2530
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
2417
2531
|
__name: "NumberFieldInput",
|
|
2418
2532
|
props: {
|
|
2419
2533
|
class: {}
|
|
@@ -2434,8 +2548,8 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2434
2548
|
}
|
|
2435
2549
|
});
|
|
2436
2550
|
|
|
2437
|
-
const _hoisted_1$
|
|
2438
|
-
const _sfc_main$
|
|
2551
|
+
const _hoisted_1$b = { class: "w-full" };
|
|
2552
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2439
2553
|
__name: "InputNumber",
|
|
2440
2554
|
props: {
|
|
2441
2555
|
class: {},
|
|
@@ -2467,7 +2581,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2467
2581
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2468
2582
|
createVNode(unref(DefineTemplate), null, {
|
|
2469
2583
|
default: withCtx(() => [
|
|
2470
|
-
createVNode(unref(_sfc_main$
|
|
2584
|
+
createVNode(unref(_sfc_main$1T), mergeProps(_ctx.$attrs, {
|
|
2471
2585
|
modelValue: value.value,
|
|
2472
2586
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2473
2587
|
"default-value": _ctx.defaultValue,
|
|
@@ -2481,13 +2595,13 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2481
2595
|
class: unref(cn)("w-full", props.class)
|
|
2482
2596
|
}), {
|
|
2483
2597
|
default: withCtx(() => [
|
|
2484
|
-
createVNode(unref(_sfc_main$
|
|
2598
|
+
createVNode(unref(_sfc_main$1S), null, {
|
|
2485
2599
|
default: withCtx(() => [
|
|
2486
|
-
createVNode(unref(_sfc_main$
|
|
2600
|
+
createVNode(unref(_sfc_main$1R), {
|
|
2487
2601
|
disabled: _ctx.disabled || _ctx.disableDecrement
|
|
2488
2602
|
}, null, 8, ["disabled"]),
|
|
2489
|
-
createVNode(unref(_sfc_main$
|
|
2490
|
-
createVNode(unref(_sfc_main$
|
|
2603
|
+
createVNode(unref(_sfc_main$1P)),
|
|
2604
|
+
createVNode(unref(_sfc_main$1Q), {
|
|
2491
2605
|
disabled: _ctx.disabled || _ctx.disableIncrement
|
|
2492
2606
|
}, null, 8, ["disabled"])
|
|
2493
2607
|
]),
|
|
@@ -2499,12 +2613,12 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2499
2613
|
]),
|
|
2500
2614
|
_: 1
|
|
2501
2615
|
}),
|
|
2502
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2616
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2503
2617
|
key: 0,
|
|
2504
2618
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2505
2619
|
}, {
|
|
2506
2620
|
default: withCtx(() => [
|
|
2507
|
-
createElementVNode("span", _hoisted_1$
|
|
2621
|
+
createElementVNode("span", _hoisted_1$b, toDisplayString(_ctx.label), 1),
|
|
2508
2622
|
createVNode(unref(ReuseTemplate))
|
|
2509
2623
|
]),
|
|
2510
2624
|
_: 1
|
|
@@ -2514,12 +2628,11 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2514
2628
|
}
|
|
2515
2629
|
});
|
|
2516
2630
|
|
|
2517
|
-
const _sfc_main$
|
|
2631
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2518
2632
|
__name: "InputText",
|
|
2519
2633
|
props: /* @__PURE__ */ mergeModels({
|
|
2520
2634
|
autocomplete: {},
|
|
2521
2635
|
autofocus: {},
|
|
2522
|
-
class: {},
|
|
2523
2636
|
disabled: {},
|
|
2524
2637
|
label: {},
|
|
2525
2638
|
labelClass: {},
|
|
@@ -2537,14 +2650,12 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2537
2650
|
}),
|
|
2538
2651
|
emits: ["update:modelValue"],
|
|
2539
2652
|
setup(__props) {
|
|
2540
|
-
const props = __props;
|
|
2541
2653
|
const value = useModel(__props, "modelValue");
|
|
2542
2654
|
return (_ctx, _cache) => {
|
|
2543
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2655
|
+
return openBlock(), createBlock(unref(_sfc_main$1U), {
|
|
2544
2656
|
modelValue: value.value,
|
|
2545
2657
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2546
2658
|
type: "text",
|
|
2547
|
-
class: props.class,
|
|
2548
2659
|
autocomplete: _ctx.autocomplete,
|
|
2549
2660
|
autofocus: _ctx.autofocus,
|
|
2550
2661
|
disabled: _ctx.disabled,
|
|
@@ -2558,13 +2669,13 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2558
2669
|
required: _ctx.required,
|
|
2559
2670
|
size: _ctx.size,
|
|
2560
2671
|
spellcheck: _ctx.spellcheck
|
|
2561
|
-
}
|
|
2672
|
+
}, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "label", "label-class", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck"]);
|
|
2562
2673
|
};
|
|
2563
2674
|
}
|
|
2564
2675
|
});
|
|
2565
2676
|
|
|
2566
|
-
const _hoisted_1$
|
|
2567
|
-
const _sfc_main$
|
|
2677
|
+
const _hoisted_1$a = { key: 0 };
|
|
2678
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2568
2679
|
__name: "Link",
|
|
2569
2680
|
props: {
|
|
2570
2681
|
label: {},
|
|
@@ -2576,7 +2687,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2576
2687
|
to: { name: _ctx.to }
|
|
2577
2688
|
}, {
|
|
2578
2689
|
default: withCtx(() => [
|
|
2579
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2690
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$a, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2580
2691
|
]),
|
|
2581
2692
|
_: 3
|
|
2582
2693
|
}, 8, ["to"]);
|
|
@@ -2584,7 +2695,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2584
2695
|
}
|
|
2585
2696
|
});
|
|
2586
2697
|
|
|
2587
|
-
const _sfc_main$
|
|
2698
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2588
2699
|
__name: "Menubar",
|
|
2589
2700
|
props: {
|
|
2590
2701
|
modelValue: {},
|
|
@@ -2615,8 +2726,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2615
2726
|
}
|
|
2616
2727
|
});
|
|
2617
2728
|
|
|
2618
|
-
const _hoisted_1$
|
|
2619
|
-
const _sfc_main$
|
|
2729
|
+
const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2730
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2620
2731
|
__name: "MenubarCheckboxItem",
|
|
2621
2732
|
props: {
|
|
2622
2733
|
modelValue: { type: [Boolean, String] },
|
|
@@ -2643,7 +2754,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2643
2754
|
)
|
|
2644
2755
|
}), {
|
|
2645
2756
|
default: withCtx(() => [
|
|
2646
|
-
createElementVNode("span", _hoisted_1$
|
|
2757
|
+
createElementVNode("span", _hoisted_1$9, [
|
|
2647
2758
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2648
2759
|
default: withCtx(() => [
|
|
2649
2760
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -2659,7 +2770,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2659
2770
|
}
|
|
2660
2771
|
});
|
|
2661
2772
|
|
|
2662
|
-
const _sfc_main$
|
|
2773
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2663
2774
|
__name: "MenubarContent",
|
|
2664
2775
|
props: {
|
|
2665
2776
|
forceMount: { type: Boolean },
|
|
@@ -2711,7 +2822,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2711
2822
|
}
|
|
2712
2823
|
});
|
|
2713
2824
|
|
|
2714
|
-
const _sfc_main$
|
|
2825
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2715
2826
|
__name: "MenubarGroup",
|
|
2716
2827
|
props: {
|
|
2717
2828
|
asChild: { type: Boolean },
|
|
@@ -2730,7 +2841,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2730
2841
|
}
|
|
2731
2842
|
});
|
|
2732
2843
|
|
|
2733
|
-
const _sfc_main$
|
|
2844
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2734
2845
|
__name: "MenubarItem",
|
|
2735
2846
|
props: {
|
|
2736
2847
|
disabled: { type: Boolean },
|
|
@@ -2767,7 +2878,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2767
2878
|
}
|
|
2768
2879
|
});
|
|
2769
2880
|
|
|
2770
|
-
const _sfc_main$
|
|
2881
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2771
2882
|
__name: "MenubarLabel",
|
|
2772
2883
|
props: {
|
|
2773
2884
|
asChild: { type: Boolean },
|
|
@@ -2793,7 +2904,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2793
2904
|
}
|
|
2794
2905
|
});
|
|
2795
2906
|
|
|
2796
|
-
const _sfc_main$
|
|
2907
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2797
2908
|
__name: "MenubarMenu",
|
|
2798
2909
|
props: {
|
|
2799
2910
|
value: {}
|
|
@@ -2811,7 +2922,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2811
2922
|
}
|
|
2812
2923
|
});
|
|
2813
2924
|
|
|
2814
|
-
const _sfc_main$
|
|
2925
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2815
2926
|
__name: "MenubarRadioGroup",
|
|
2816
2927
|
props: {
|
|
2817
2928
|
modelValue: {},
|
|
@@ -2834,8 +2945,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2834
2945
|
}
|
|
2835
2946
|
});
|
|
2836
2947
|
|
|
2837
|
-
const _hoisted_1$
|
|
2838
|
-
const _sfc_main$
|
|
2948
|
+
const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2949
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2839
2950
|
__name: "MenubarRadioItem",
|
|
2840
2951
|
props: {
|
|
2841
2952
|
value: {},
|
|
@@ -2862,7 +2973,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2862
2973
|
)
|
|
2863
2974
|
}), {
|
|
2864
2975
|
default: withCtx(() => [
|
|
2865
|
-
createElementVNode("span", _hoisted_1$
|
|
2976
|
+
createElementVNode("span", _hoisted_1$8, [
|
|
2866
2977
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2867
2978
|
default: withCtx(() => [
|
|
2868
2979
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -2878,7 +2989,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2878
2989
|
}
|
|
2879
2990
|
});
|
|
2880
2991
|
|
|
2881
|
-
const _sfc_main$
|
|
2992
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2882
2993
|
__name: "MenubarSeparator",
|
|
2883
2994
|
props: {
|
|
2884
2995
|
asChild: { type: Boolean },
|
|
@@ -2901,7 +3012,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
2901
3012
|
}
|
|
2902
3013
|
});
|
|
2903
3014
|
|
|
2904
|
-
const _sfc_main$
|
|
3015
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
2905
3016
|
__name: "MenubarShortcut",
|
|
2906
3017
|
props: {
|
|
2907
3018
|
class: {}
|
|
@@ -2919,7 +3030,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
2919
3030
|
}
|
|
2920
3031
|
});
|
|
2921
3032
|
|
|
2922
|
-
const _sfc_main$
|
|
3033
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
2923
3034
|
__name: "MenubarSub",
|
|
2924
3035
|
props: {
|
|
2925
3036
|
defaultOpen: { type: Boolean },
|
|
@@ -2941,7 +3052,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
2941
3052
|
}
|
|
2942
3053
|
});
|
|
2943
3054
|
|
|
2944
|
-
const _sfc_main$
|
|
3055
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
2945
3056
|
__name: "MenubarSubContent",
|
|
2946
3057
|
props: {
|
|
2947
3058
|
forceMount: { type: Boolean },
|
|
@@ -2993,7 +3104,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2993
3104
|
}
|
|
2994
3105
|
});
|
|
2995
3106
|
|
|
2996
|
-
const _sfc_main$
|
|
3107
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
2997
3108
|
__name: "MenubarSubTrigger",
|
|
2998
3109
|
props: {
|
|
2999
3110
|
disabled: { type: Boolean },
|
|
@@ -3027,7 +3138,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3027
3138
|
}
|
|
3028
3139
|
});
|
|
3029
3140
|
|
|
3030
|
-
const _sfc_main$
|
|
3141
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3031
3142
|
__name: "MenubarTrigger",
|
|
3032
3143
|
props: {
|
|
3033
3144
|
disabled: { type: Boolean },
|
|
@@ -3058,7 +3169,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3058
3169
|
}
|
|
3059
3170
|
});
|
|
3060
3171
|
|
|
3061
|
-
const _sfc_main$
|
|
3172
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3062
3173
|
__name: "Pagination",
|
|
3063
3174
|
props: {
|
|
3064
3175
|
page: {},
|
|
@@ -3091,7 +3202,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3091
3202
|
}
|
|
3092
3203
|
});
|
|
3093
3204
|
|
|
3094
|
-
const _sfc_main$
|
|
3205
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3095
3206
|
__name: "PaginationContent",
|
|
3096
3207
|
props: {
|
|
3097
3208
|
asChild: { type: Boolean },
|
|
@@ -3117,7 +3228,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3117
3228
|
}
|
|
3118
3229
|
});
|
|
3119
3230
|
|
|
3120
|
-
const _sfc_main$
|
|
3231
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3121
3232
|
__name: "PaginationEllipsis",
|
|
3122
3233
|
props: {
|
|
3123
3234
|
asChild: { type: Boolean },
|
|
@@ -3146,7 +3257,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3146
3257
|
}
|
|
3147
3258
|
});
|
|
3148
3259
|
|
|
3149
|
-
const _sfc_main$
|
|
3260
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3150
3261
|
__name: "PaginationFirst",
|
|
3151
3262
|
props: {
|
|
3152
3263
|
asChild: { type: Boolean },
|
|
@@ -3175,7 +3286,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3175
3286
|
}
|
|
3176
3287
|
});
|
|
3177
3288
|
|
|
3178
|
-
const _sfc_main$
|
|
3289
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
3179
3290
|
__name: "PaginationItem",
|
|
3180
3291
|
props: {
|
|
3181
3292
|
value: {},
|
|
@@ -3207,7 +3318,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
3207
3318
|
}
|
|
3208
3319
|
});
|
|
3209
3320
|
|
|
3210
|
-
const _sfc_main$
|
|
3321
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
3211
3322
|
__name: "PaginationLast",
|
|
3212
3323
|
props: {
|
|
3213
3324
|
asChild: { type: Boolean },
|
|
@@ -3236,7 +3347,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
3236
3347
|
}
|
|
3237
3348
|
});
|
|
3238
3349
|
|
|
3239
|
-
const _sfc_main$
|
|
3350
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
3240
3351
|
__name: "PaginationNext",
|
|
3241
3352
|
props: {
|
|
3242
3353
|
asChild: { type: Boolean },
|
|
@@ -3265,7 +3376,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
3265
3376
|
}
|
|
3266
3377
|
});
|
|
3267
3378
|
|
|
3268
|
-
const _sfc_main$
|
|
3379
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
3269
3380
|
__name: "PaginationPrevious",
|
|
3270
3381
|
props: {
|
|
3271
3382
|
asChild: { type: Boolean },
|
|
@@ -3294,7 +3405,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
3294
3405
|
}
|
|
3295
3406
|
});
|
|
3296
3407
|
|
|
3297
|
-
const _sfc_main$
|
|
3408
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
3298
3409
|
__name: "Popover",
|
|
3299
3410
|
props: {
|
|
3300
3411
|
defaultOpen: { type: Boolean },
|
|
@@ -3317,7 +3428,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3317
3428
|
}
|
|
3318
3429
|
});
|
|
3319
3430
|
|
|
3320
|
-
const _sfc_main$
|
|
3431
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
3321
3432
|
...{
|
|
3322
3433
|
inheritAttrs: false
|
|
3323
3434
|
},
|
|
@@ -3374,7 +3485,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3374
3485
|
}
|
|
3375
3486
|
});
|
|
3376
3487
|
|
|
3377
|
-
const _sfc_main$
|
|
3488
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3378
3489
|
__name: "PopoverTrigger",
|
|
3379
3490
|
props: {
|
|
3380
3491
|
asChild: { type: Boolean },
|
|
@@ -3393,7 +3504,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
3393
3504
|
}
|
|
3394
3505
|
});
|
|
3395
3506
|
|
|
3396
|
-
const _sfc_main$
|
|
3507
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
3397
3508
|
__name: "Popover",
|
|
3398
3509
|
props: /* @__PURE__ */ mergeModels({
|
|
3399
3510
|
contentClass: {},
|
|
@@ -3418,18 +3529,18 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3418
3529
|
}
|
|
3419
3530
|
__expose({ close, open });
|
|
3420
3531
|
return (_ctx, _cache) => {
|
|
3421
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3532
|
+
return openBlock(), createBlock(unref(_sfc_main$1o), {
|
|
3422
3533
|
open: isOpen.value,
|
|
3423
3534
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event)
|
|
3424
3535
|
}, {
|
|
3425
3536
|
default: withCtx(() => [
|
|
3426
|
-
createVNode(unref(_sfc_main$
|
|
3537
|
+
createVNode(unref(_sfc_main$1m), { "as-child": "" }, {
|
|
3427
3538
|
default: withCtx(() => [
|
|
3428
3539
|
renderSlot(_ctx.$slots, "trigger")
|
|
3429
3540
|
]),
|
|
3430
3541
|
_: 3
|
|
3431
3542
|
}),
|
|
3432
|
-
createVNode(unref(_sfc_main$
|
|
3543
|
+
createVNode(unref(_sfc_main$1n), {
|
|
3433
3544
|
ref: "contentEl",
|
|
3434
3545
|
class: normalizeClass(_ctx.contentClass)
|
|
3435
3546
|
}, {
|
|
@@ -3445,7 +3556,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3445
3556
|
}
|
|
3446
3557
|
});
|
|
3447
3558
|
|
|
3448
|
-
const _sfc_main$
|
|
3559
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
3449
3560
|
__name: "Progress",
|
|
3450
3561
|
props: {
|
|
3451
3562
|
modelValue: { default: 0 },
|
|
@@ -3478,7 +3589,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3478
3589
|
}
|
|
3479
3590
|
});
|
|
3480
3591
|
|
|
3481
|
-
const _sfc_main$
|
|
3592
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
3482
3593
|
__name: "RadioGroup",
|
|
3483
3594
|
props: {
|
|
3484
3595
|
modelValue: {},
|
|
@@ -3516,7 +3627,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
3516
3627
|
}
|
|
3517
3628
|
});
|
|
3518
3629
|
|
|
3519
|
-
const _sfc_main$
|
|
3630
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
3520
3631
|
__name: "RadioGroupItem",
|
|
3521
3632
|
props: {
|
|
3522
3633
|
id: {},
|
|
@@ -3559,7 +3670,110 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
3559
3670
|
}
|
|
3560
3671
|
});
|
|
3561
3672
|
|
|
3562
|
-
const
|
|
3673
|
+
const _hoisted_1$7 = {
|
|
3674
|
+
key: 0,
|
|
3675
|
+
class: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
|
|
3676
|
+
};
|
|
3677
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
3678
|
+
__name: "ResizableHandle",
|
|
3679
|
+
props: {
|
|
3680
|
+
id: {},
|
|
3681
|
+
hitAreaMargins: {},
|
|
3682
|
+
tabindex: {},
|
|
3683
|
+
disabled: { type: Boolean },
|
|
3684
|
+
asChild: { type: Boolean },
|
|
3685
|
+
as: {},
|
|
3686
|
+
class: {},
|
|
3687
|
+
withHandle: { type: Boolean }
|
|
3688
|
+
},
|
|
3689
|
+
emits: ["dragging"],
|
|
3690
|
+
setup(__props, { emit: __emit }) {
|
|
3691
|
+
const props = __props;
|
|
3692
|
+
const emits = __emit;
|
|
3693
|
+
const delegatedProps = reactiveOmit(props, "class", "withHandle");
|
|
3694
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
3695
|
+
return (_ctx, _cache) => {
|
|
3696
|
+
return openBlock(), createBlock(unref(SplitterResizeHandle), mergeProps({ "data-slot": "resizable-handle" }, unref(forwarded), {
|
|
3697
|
+
class: unref(cn)(
|
|
3698
|
+
"bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[orientation=vertical]:h-px data-[orientation=vertical]:w-full data-[orientation=vertical]:after:left-0 data-[orientation=vertical]:after:h-1 data-[orientation=vertical]:after:w-full data-[orientation=vertical]:after:translate-x-0 data-[orientation=vertical]:after:-translate-y-1/2 [&[data-orientation=vertical]>div]:rotate-90",
|
|
3699
|
+
props.class
|
|
3700
|
+
)
|
|
3701
|
+
}), {
|
|
3702
|
+
default: withCtx(() => [
|
|
3703
|
+
props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
3704
|
+
createVNode(unref(GripVertical), { class: "size-2.5" })
|
|
3705
|
+
])) : createCommentVNode("", true)
|
|
3706
|
+
]),
|
|
3707
|
+
_: 1
|
|
3708
|
+
}, 16, ["class"]);
|
|
3709
|
+
};
|
|
3710
|
+
}
|
|
3711
|
+
});
|
|
3712
|
+
|
|
3713
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
3714
|
+
__name: "ResizablePanel",
|
|
3715
|
+
props: {
|
|
3716
|
+
collapsedSize: {},
|
|
3717
|
+
collapsible: { type: Boolean },
|
|
3718
|
+
defaultSize: {},
|
|
3719
|
+
id: {},
|
|
3720
|
+
maxSize: {},
|
|
3721
|
+
minSize: {},
|
|
3722
|
+
order: {},
|
|
3723
|
+
asChild: { type: Boolean },
|
|
3724
|
+
as: {}
|
|
3725
|
+
},
|
|
3726
|
+
emits: ["collapse", "expand", "resize"],
|
|
3727
|
+
setup(__props, { emit: __emit }) {
|
|
3728
|
+
const props = __props;
|
|
3729
|
+
const emits = __emit;
|
|
3730
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
3731
|
+
return (_ctx, _cache) => {
|
|
3732
|
+
return openBlock(), createBlock(unref(SplitterPanel), mergeProps({ "data-slot": "resizable-panel" }, unref(forwarded)), {
|
|
3733
|
+
default: withCtx(() => [
|
|
3734
|
+
renderSlot(_ctx.$slots, "default")
|
|
3735
|
+
]),
|
|
3736
|
+
_: 3
|
|
3737
|
+
}, 16);
|
|
3738
|
+
};
|
|
3739
|
+
}
|
|
3740
|
+
});
|
|
3741
|
+
|
|
3742
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
3743
|
+
__name: "ResizablePanelGroup",
|
|
3744
|
+
props: {
|
|
3745
|
+
id: {},
|
|
3746
|
+
autoSaveId: {},
|
|
3747
|
+
direction: {},
|
|
3748
|
+
keyboardResizeBy: {},
|
|
3749
|
+
storage: {},
|
|
3750
|
+
asChild: { type: Boolean },
|
|
3751
|
+
as: {},
|
|
3752
|
+
class: {}
|
|
3753
|
+
},
|
|
3754
|
+
emits: ["layout"],
|
|
3755
|
+
setup(__props, { emit: __emit }) {
|
|
3756
|
+
const props = __props;
|
|
3757
|
+
const emits = __emit;
|
|
3758
|
+
const delegatedProps = computed(() => {
|
|
3759
|
+
const { class: _, ...delegated } = props;
|
|
3760
|
+
return delegated;
|
|
3761
|
+
});
|
|
3762
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
3763
|
+
return (_ctx, _cache) => {
|
|
3764
|
+
return openBlock(), createBlock(unref(SplitterGroup), mergeProps({ "data-slot": "resizable-panel-group" }, unref(forwarded), {
|
|
3765
|
+
class: unref(cn)("flex h-full w-full data-[orientation=vertical]:flex-col", props.class)
|
|
3766
|
+
}), {
|
|
3767
|
+
default: withCtx(() => [
|
|
3768
|
+
renderSlot(_ctx.$slots, "default")
|
|
3769
|
+
]),
|
|
3770
|
+
_: 3
|
|
3771
|
+
}, 16, ["class"]);
|
|
3772
|
+
};
|
|
3773
|
+
}
|
|
3774
|
+
});
|
|
3775
|
+
|
|
3776
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
3563
3777
|
__name: "Select",
|
|
3564
3778
|
props: {
|
|
3565
3779
|
open: { type: Boolean },
|
|
@@ -3590,7 +3804,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
3590
3804
|
}
|
|
3591
3805
|
});
|
|
3592
3806
|
|
|
3593
|
-
const _sfc_main$
|
|
3807
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
3594
3808
|
...{
|
|
3595
3809
|
inheritAttrs: false
|
|
3596
3810
|
},
|
|
@@ -3638,7 +3852,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3638
3852
|
)
|
|
3639
3853
|
}), {
|
|
3640
3854
|
default: withCtx(() => [
|
|
3641
|
-
createVNode(unref(_sfc_main$
|
|
3855
|
+
createVNode(unref(_sfc_main$17)),
|
|
3642
3856
|
createVNode(unref(SelectViewport), {
|
|
3643
3857
|
class: normalizeClass(
|
|
3644
3858
|
unref(cn)(
|
|
@@ -3652,7 +3866,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3652
3866
|
]),
|
|
3653
3867
|
_: 3
|
|
3654
3868
|
}, 8, ["class"]),
|
|
3655
|
-
createVNode(unref(_sfc_main$
|
|
3869
|
+
createVNode(unref(_sfc_main$18))
|
|
3656
3870
|
]),
|
|
3657
3871
|
_: 3
|
|
3658
3872
|
}, 16, ["class"])
|
|
@@ -3663,7 +3877,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3663
3877
|
}
|
|
3664
3878
|
});
|
|
3665
3879
|
|
|
3666
|
-
const _sfc_main$
|
|
3880
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
3667
3881
|
__name: "SelectGroup",
|
|
3668
3882
|
props: {
|
|
3669
3883
|
asChild: { type: Boolean },
|
|
@@ -3683,7 +3897,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3683
3897
|
});
|
|
3684
3898
|
|
|
3685
3899
|
const _hoisted_1$6 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
3686
|
-
const _sfc_main$
|
|
3900
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
3687
3901
|
__name: "SelectItem",
|
|
3688
3902
|
props: {
|
|
3689
3903
|
value: {},
|
|
@@ -3729,7 +3943,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
3729
3943
|
}
|
|
3730
3944
|
});
|
|
3731
3945
|
|
|
3732
|
-
const _sfc_main$
|
|
3946
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
3733
3947
|
__name: "SelectItemText",
|
|
3734
3948
|
props: {
|
|
3735
3949
|
asChild: { type: Boolean },
|
|
@@ -3748,7 +3962,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
3748
3962
|
}
|
|
3749
3963
|
});
|
|
3750
3964
|
|
|
3751
|
-
const _sfc_main$
|
|
3965
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
3752
3966
|
__name: "SelectLabel",
|
|
3753
3967
|
props: {
|
|
3754
3968
|
for: {},
|
|
@@ -3772,7 +3986,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
3772
3986
|
}
|
|
3773
3987
|
});
|
|
3774
3988
|
|
|
3775
|
-
const _sfc_main$
|
|
3989
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
3776
3990
|
__name: "SelectScrollDownButton",
|
|
3777
3991
|
props: {
|
|
3778
3992
|
asChild: { type: Boolean },
|
|
@@ -3801,7 +4015,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3801
4015
|
}
|
|
3802
4016
|
});
|
|
3803
4017
|
|
|
3804
|
-
const _sfc_main$
|
|
4018
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
3805
4019
|
__name: "SelectScrollUpButton",
|
|
3806
4020
|
props: {
|
|
3807
4021
|
asChild: { type: Boolean },
|
|
@@ -3830,7 +4044,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
3830
4044
|
}
|
|
3831
4045
|
});
|
|
3832
4046
|
|
|
3833
|
-
const _sfc_main$
|
|
4047
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
3834
4048
|
__name: "SelectSeparator",
|
|
3835
4049
|
props: {
|
|
3836
4050
|
asChild: { type: Boolean },
|
|
@@ -3851,7 +4065,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3851
4065
|
}
|
|
3852
4066
|
});
|
|
3853
4067
|
|
|
3854
|
-
const _sfc_main$
|
|
4068
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3855
4069
|
__name: "SelectTrigger",
|
|
3856
4070
|
props: {
|
|
3857
4071
|
disabled: { type: Boolean },
|
|
@@ -3890,7 +4104,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3890
4104
|
}
|
|
3891
4105
|
});
|
|
3892
4106
|
|
|
3893
|
-
const _sfc_main$
|
|
4107
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3894
4108
|
__name: "SelectValue",
|
|
3895
4109
|
props: {
|
|
3896
4110
|
placeholder: {},
|
|
@@ -3912,12 +4126,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3912
4126
|
|
|
3913
4127
|
const _hoisted_1$5 = { class: "flex w-full items-center justify-center gap-2" };
|
|
3914
4128
|
const _hoisted_2$1 = { class: "w-full" };
|
|
3915
|
-
const _sfc_main$
|
|
4129
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3916
4130
|
__name: "Select",
|
|
3917
4131
|
props: {
|
|
3918
4132
|
autocomplete: {},
|
|
3919
4133
|
autofocus: {},
|
|
3920
|
-
class: {},
|
|
3921
4134
|
contentClass: {},
|
|
3922
4135
|
disabled: { type: Boolean },
|
|
3923
4136
|
label: {},
|
|
@@ -3942,25 +4155,24 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3942
4155
|
createVNode(unref(DefineTemplate), null, {
|
|
3943
4156
|
default: withCtx(() => [
|
|
3944
4157
|
createElementVNode("div", _hoisted_1$5, [
|
|
3945
|
-
createVNode(unref(_sfc_main$
|
|
4158
|
+
createVNode(unref(_sfc_main$1e), mergeProps(_ctx.$attrs, {
|
|
3946
4159
|
modelValue: value.value,
|
|
3947
4160
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
3948
4161
|
autocomplete: _ctx.autocomplete,
|
|
3949
4162
|
autofocus: _ctx.autofocus,
|
|
3950
4163
|
disabled: _ctx.disabled,
|
|
3951
|
-
required: _ctx.required
|
|
3952
|
-
class: props.class
|
|
4164
|
+
required: _ctx.required
|
|
3953
4165
|
}), {
|
|
3954
4166
|
default: withCtx(() => [
|
|
3955
|
-
createVNode(unref(_sfc_main$
|
|
4167
|
+
createVNode(unref(_sfc_main$15), {
|
|
3956
4168
|
class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
|
|
3957
4169
|
}, {
|
|
3958
4170
|
default: withCtx(() => [
|
|
3959
|
-
createVNode(unref(_sfc_main$
|
|
4171
|
+
createVNode(unref(_sfc_main$14), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
|
|
3960
4172
|
]),
|
|
3961
4173
|
_: 1
|
|
3962
4174
|
}, 8, ["class"]),
|
|
3963
|
-
createVNode(unref(_sfc_main$
|
|
4175
|
+
createVNode(unref(_sfc_main$1d), {
|
|
3964
4176
|
class: normalizeClass(_ctx.contentClass)
|
|
3965
4177
|
}, {
|
|
3966
4178
|
default: withCtx(() => [
|
|
@@ -3970,13 +4182,13 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3970
4182
|
}, 8, ["class"])
|
|
3971
4183
|
]),
|
|
3972
4184
|
_: 3
|
|
3973
|
-
}, 16, ["modelValue", "autocomplete", "autofocus", "disabled", "required"
|
|
4185
|
+
}, 16, ["modelValue", "autocomplete", "autofocus", "disabled", "required"]),
|
|
3974
4186
|
renderSlot(_ctx.$slots, "action")
|
|
3975
4187
|
])
|
|
3976
4188
|
]),
|
|
3977
4189
|
_: 3
|
|
3978
4190
|
}),
|
|
3979
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4191
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
3980
4192
|
key: 0,
|
|
3981
4193
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
3982
4194
|
}, {
|
|
@@ -3991,7 +4203,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3991
4203
|
}
|
|
3992
4204
|
});
|
|
3993
4205
|
|
|
3994
|
-
const _sfc_main$
|
|
4206
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3995
4207
|
__name: "Separator",
|
|
3996
4208
|
props: {
|
|
3997
4209
|
orientation: { default: "horizontal" },
|
|
@@ -4014,7 +4226,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
4014
4226
|
}
|
|
4015
4227
|
});
|
|
4016
4228
|
|
|
4017
|
-
const _sfc_main$
|
|
4229
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
4018
4230
|
__name: "Sheet",
|
|
4019
4231
|
props: {
|
|
4020
4232
|
open: { type: Boolean },
|
|
@@ -4037,7 +4249,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4037
4249
|
}
|
|
4038
4250
|
});
|
|
4039
4251
|
|
|
4040
|
-
const _sfc_main
|
|
4252
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
4041
4253
|
__name: "SheetClose",
|
|
4042
4254
|
props: {
|
|
4043
4255
|
asChild: { type: Boolean },
|
|
@@ -4056,7 +4268,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4056
4268
|
}
|
|
4057
4269
|
});
|
|
4058
4270
|
|
|
4059
|
-
const _sfc_main
|
|
4271
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
4060
4272
|
__name: "SheetOverlay",
|
|
4061
4273
|
props: {
|
|
4062
4274
|
forceMount: { type: Boolean },
|
|
@@ -4087,7 +4299,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4087
4299
|
}
|
|
4088
4300
|
});
|
|
4089
4301
|
|
|
4090
|
-
const _sfc_main$
|
|
4302
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
4091
4303
|
...{
|
|
4092
4304
|
inheritAttrs: false
|
|
4093
4305
|
},
|
|
@@ -4110,7 +4322,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4110
4322
|
return (_ctx, _cache) => {
|
|
4111
4323
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
4112
4324
|
default: withCtx(() => [
|
|
4113
|
-
createVNode(_sfc_main
|
|
4325
|
+
createVNode(_sfc_main$$),
|
|
4114
4326
|
createVNode(unref(DialogContent), mergeProps({
|
|
4115
4327
|
"data-slot": "sheet-content",
|
|
4116
4328
|
class: unref(cn)(
|
|
@@ -4141,7 +4353,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4141
4353
|
}
|
|
4142
4354
|
});
|
|
4143
4355
|
|
|
4144
|
-
const _sfc_main$
|
|
4356
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
4145
4357
|
__name: "SheetDescription",
|
|
4146
4358
|
props: {
|
|
4147
4359
|
asChild: { type: Boolean },
|
|
@@ -4168,7 +4380,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
4168
4380
|
}
|
|
4169
4381
|
});
|
|
4170
4382
|
|
|
4171
|
-
const _sfc_main$
|
|
4383
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
4172
4384
|
__name: "SheetFooter",
|
|
4173
4385
|
props: {
|
|
4174
4386
|
class: {}
|
|
@@ -4186,7 +4398,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
4186
4398
|
}
|
|
4187
4399
|
});
|
|
4188
4400
|
|
|
4189
|
-
const _sfc_main$
|
|
4401
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
4190
4402
|
__name: "SheetHeader",
|
|
4191
4403
|
props: {
|
|
4192
4404
|
class: {}
|
|
@@ -4204,7 +4416,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
4204
4416
|
}
|
|
4205
4417
|
});
|
|
4206
4418
|
|
|
4207
|
-
const _sfc_main$
|
|
4419
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
4208
4420
|
__name: "SheetTitle",
|
|
4209
4421
|
props: {
|
|
4210
4422
|
asChild: { type: Boolean },
|
|
@@ -4231,7 +4443,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
4231
4443
|
}
|
|
4232
4444
|
});
|
|
4233
4445
|
|
|
4234
|
-
const _sfc_main$
|
|
4446
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
4235
4447
|
__name: "SheetTrigger",
|
|
4236
4448
|
props: {
|
|
4237
4449
|
asChild: { type: Boolean },
|
|
@@ -4264,7 +4476,7 @@ const _hoisted_3 = {
|
|
|
4264
4476
|
"data-sidebar": "sidebar",
|
|
4265
4477
|
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"
|
|
4266
4478
|
};
|
|
4267
|
-
const _sfc_main$
|
|
4479
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
4268
4480
|
...{
|
|
4269
4481
|
inheritAttrs: false
|
|
4270
4482
|
},
|
|
@@ -4285,12 +4497,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4285
4497
|
class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
4286
4498
|
}, _ctx.$attrs), [
|
|
4287
4499
|
renderSlot(_ctx.$slots, "default")
|
|
4288
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4500
|
+
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$11), mergeProps({
|
|
4289
4501
|
key: 1,
|
|
4290
4502
|
open: unref(openMobile)
|
|
4291
4503
|
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
4292
4504
|
default: withCtx(() => [
|
|
4293
|
-
createVNode(unref(_sfc_main$
|
|
4505
|
+
createVNode(unref(_sfc_main$_), {
|
|
4294
4506
|
"data-sidebar": "sidebar",
|
|
4295
4507
|
"data-slot": "sidebar",
|
|
4296
4508
|
"data-mobile": "true",
|
|
@@ -4301,15 +4513,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4301
4513
|
})
|
|
4302
4514
|
}, {
|
|
4303
4515
|
default: withCtx(() => [
|
|
4304
|
-
createVNode(_sfc_main$
|
|
4516
|
+
createVNode(_sfc_main$X, { class: "sr-only" }, {
|
|
4305
4517
|
default: withCtx(() => [
|
|
4306
|
-
createVNode(_sfc_main$
|
|
4518
|
+
createVNode(_sfc_main$W, null, {
|
|
4307
4519
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
4308
4520
|
createTextVNode("Sidebar")
|
|
4309
4521
|
])),
|
|
4310
4522
|
_: 1
|
|
4311
4523
|
}),
|
|
4312
|
-
createVNode(_sfc_main$
|
|
4524
|
+
createVNode(_sfc_main$Z, null, {
|
|
4313
4525
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
4314
4526
|
createTextVNode("Displays the mobile sidebar.")
|
|
4315
4527
|
])),
|
|
@@ -4363,7 +4575,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4363
4575
|
}
|
|
4364
4576
|
});
|
|
4365
4577
|
|
|
4366
|
-
const _sfc_main$
|
|
4578
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
4367
4579
|
__name: "SidebarContent",
|
|
4368
4580
|
props: {
|
|
4369
4581
|
class: {}
|
|
@@ -4387,7 +4599,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
4387
4599
|
}
|
|
4388
4600
|
});
|
|
4389
4601
|
|
|
4390
|
-
const _sfc_main$
|
|
4602
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
4391
4603
|
__name: "SidebarFooter",
|
|
4392
4604
|
props: {
|
|
4393
4605
|
class: {}
|
|
@@ -4406,7 +4618,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
4406
4618
|
}
|
|
4407
4619
|
});
|
|
4408
4620
|
|
|
4409
|
-
const _sfc_main$
|
|
4621
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
4410
4622
|
__name: "SidebarGroup",
|
|
4411
4623
|
props: {
|
|
4412
4624
|
class: {}
|
|
@@ -4425,7 +4637,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
4425
4637
|
}
|
|
4426
4638
|
});
|
|
4427
4639
|
|
|
4428
|
-
const _sfc_main$
|
|
4640
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
4429
4641
|
__name: "SidebarGroupAction",
|
|
4430
4642
|
props: {
|
|
4431
4643
|
asChild: { type: Boolean },
|
|
@@ -4458,7 +4670,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4458
4670
|
}
|
|
4459
4671
|
});
|
|
4460
4672
|
|
|
4461
|
-
const _sfc_main$
|
|
4673
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
4462
4674
|
__name: "SidebarGroupContent",
|
|
4463
4675
|
props: {
|
|
4464
4676
|
class: {}
|
|
@@ -4477,7 +4689,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
4477
4689
|
}
|
|
4478
4690
|
});
|
|
4479
4691
|
|
|
4480
|
-
const _sfc_main$
|
|
4692
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
4481
4693
|
__name: "SidebarGroupLabel",
|
|
4482
4694
|
props: {
|
|
4483
4695
|
asChild: { type: Boolean },
|
|
@@ -4509,7 +4721,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
4509
4721
|
}
|
|
4510
4722
|
});
|
|
4511
4723
|
|
|
4512
|
-
const _sfc_main$
|
|
4724
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
4513
4725
|
__name: "SidebarHeader",
|
|
4514
4726
|
props: {
|
|
4515
4727
|
class: {}
|
|
@@ -4528,7 +4740,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4528
4740
|
}
|
|
4529
4741
|
});
|
|
4530
4742
|
|
|
4531
|
-
const _sfc_main$
|
|
4743
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
4532
4744
|
__name: "SidebarInset",
|
|
4533
4745
|
props: {
|
|
4534
4746
|
class: {}
|
|
@@ -4552,7 +4764,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4552
4764
|
}
|
|
4553
4765
|
});
|
|
4554
4766
|
|
|
4555
|
-
const _sfc_main$
|
|
4767
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
4556
4768
|
__name: "SidebarMenu",
|
|
4557
4769
|
props: {
|
|
4558
4770
|
class: {}
|
|
@@ -4571,7 +4783,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
4571
4783
|
}
|
|
4572
4784
|
});
|
|
4573
4785
|
|
|
4574
|
-
const _sfc_main$
|
|
4786
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
4575
4787
|
__name: "SidebarMenuAction",
|
|
4576
4788
|
props: {
|
|
4577
4789
|
asChild: { type: Boolean },
|
|
@@ -4609,7 +4821,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
4609
4821
|
}
|
|
4610
4822
|
});
|
|
4611
4823
|
|
|
4612
|
-
const _sfc_main$
|
|
4824
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
4613
4825
|
__name: "SidebarMenuBadge",
|
|
4614
4826
|
props: {
|
|
4615
4827
|
class: {}
|
|
@@ -4638,7 +4850,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
4638
4850
|
}
|
|
4639
4851
|
});
|
|
4640
4852
|
|
|
4641
|
-
const _sfc_main$
|
|
4853
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
4642
4854
|
__name: "Tooltip",
|
|
4643
4855
|
props: {
|
|
4644
4856
|
defaultOpen: { type: Boolean },
|
|
@@ -4665,7 +4877,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
4665
4877
|
}
|
|
4666
4878
|
});
|
|
4667
4879
|
|
|
4668
|
-
const _sfc_main$
|
|
4880
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
4669
4881
|
...{
|
|
4670
4882
|
inheritAttrs: false
|
|
4671
4883
|
},
|
|
@@ -4717,7 +4929,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4717
4929
|
}
|
|
4718
4930
|
});
|
|
4719
4931
|
|
|
4720
|
-
const _sfc_main$
|
|
4932
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4721
4933
|
__name: "TooltipProvider",
|
|
4722
4934
|
props: {
|
|
4723
4935
|
delayDuration: { default: 0 },
|
|
@@ -4740,7 +4952,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
4740
4952
|
}
|
|
4741
4953
|
});
|
|
4742
4954
|
|
|
4743
|
-
const _sfc_main$
|
|
4955
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
4744
4956
|
__name: "TooltipTrigger",
|
|
4745
4957
|
props: {
|
|
4746
4958
|
reference: {},
|
|
@@ -4760,7 +4972,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
4760
4972
|
}
|
|
4761
4973
|
});
|
|
4762
4974
|
|
|
4763
|
-
const _sfc_main$
|
|
4975
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
4764
4976
|
__name: "SidebarMenuButtonChild",
|
|
4765
4977
|
props: {
|
|
4766
4978
|
variant: { default: "default" },
|
|
@@ -4791,7 +5003,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
4791
5003
|
}
|
|
4792
5004
|
});
|
|
4793
5005
|
|
|
4794
|
-
const _sfc_main$
|
|
5006
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
4795
5007
|
...{
|
|
4796
5008
|
inheritAttrs: false
|
|
4797
5009
|
},
|
|
@@ -4813,16 +5025,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4813
5025
|
return delegated;
|
|
4814
5026
|
});
|
|
4815
5027
|
return (_ctx, _cache) => {
|
|
4816
|
-
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$
|
|
5028
|
+
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$E, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4817
5029
|
default: withCtx(() => [
|
|
4818
5030
|
renderSlot(_ctx.$slots, "default")
|
|
4819
5031
|
]),
|
|
4820
5032
|
_: 3
|
|
4821
|
-
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
5033
|
+
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$I), { key: 1 }, {
|
|
4822
5034
|
default: withCtx(() => [
|
|
4823
|
-
createVNode(unref(_sfc_main$
|
|
5035
|
+
createVNode(unref(_sfc_main$F), { "as-child": "" }, {
|
|
4824
5036
|
default: withCtx(() => [
|
|
4825
|
-
createVNode(_sfc_main$
|
|
5037
|
+
createVNode(_sfc_main$E, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4826
5038
|
default: withCtx(() => [
|
|
4827
5039
|
renderSlot(_ctx.$slots, "default")
|
|
4828
5040
|
]),
|
|
@@ -4831,7 +5043,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4831
5043
|
]),
|
|
4832
5044
|
_: 3
|
|
4833
5045
|
}),
|
|
4834
|
-
createVNode(unref(_sfc_main$
|
|
5046
|
+
createVNode(unref(_sfc_main$H), {
|
|
4835
5047
|
side: "right",
|
|
4836
5048
|
align: "center",
|
|
4837
5049
|
hidden: unref(state) !== "collapsed" || unref(isMobile)
|
|
@@ -4850,7 +5062,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4850
5062
|
}
|
|
4851
5063
|
});
|
|
4852
5064
|
|
|
4853
|
-
const _sfc_main$
|
|
5065
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
4854
5066
|
__name: "SidebarMenuItem",
|
|
4855
5067
|
props: {
|
|
4856
5068
|
class: {}
|
|
@@ -4869,7 +5081,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
4869
5081
|
}
|
|
4870
5082
|
});
|
|
4871
5083
|
|
|
4872
|
-
const _sfc_main$
|
|
5084
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
4873
5085
|
__name: "Skeleton",
|
|
4874
5086
|
props: {
|
|
4875
5087
|
class: {}
|
|
@@ -4885,7 +5097,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
4885
5097
|
}
|
|
4886
5098
|
});
|
|
4887
5099
|
|
|
4888
|
-
const _sfc_main$
|
|
5100
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
4889
5101
|
__name: "SidebarMenuSkeleton",
|
|
4890
5102
|
props: {
|
|
4891
5103
|
showIcon: { type: Boolean },
|
|
@@ -4902,12 +5114,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
4902
5114
|
"data-sidebar": "menu-skeleton",
|
|
4903
5115
|
class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
|
|
4904
5116
|
}, [
|
|
4905
|
-
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5117
|
+
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$B), {
|
|
4906
5118
|
key: 0,
|
|
4907
5119
|
class: "size-4 rounded-md",
|
|
4908
5120
|
"data-sidebar": "menu-skeleton-icon"
|
|
4909
5121
|
})) : createCommentVNode("", true),
|
|
4910
|
-
createVNode(unref(_sfc_main$
|
|
5122
|
+
createVNode(unref(_sfc_main$B), {
|
|
4911
5123
|
class: "h-4 max-w-(--skeleton-width) flex-1",
|
|
4912
5124
|
"data-sidebar": "menu-skeleton-text",
|
|
4913
5125
|
style: normalizeStyle({ "--skeleton-width": width.value })
|
|
@@ -4917,7 +5129,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
4917
5129
|
}
|
|
4918
5130
|
});
|
|
4919
5131
|
|
|
4920
|
-
const _sfc_main$
|
|
5132
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
4921
5133
|
__name: "SidebarMenuSub",
|
|
4922
5134
|
props: {
|
|
4923
5135
|
class: {}
|
|
@@ -4942,7 +5154,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
4942
5154
|
}
|
|
4943
5155
|
});
|
|
4944
5156
|
|
|
4945
|
-
const _sfc_main$
|
|
5157
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
4946
5158
|
__name: "SidebarMenuSubButton",
|
|
4947
5159
|
props: {
|
|
4948
5160
|
asChild: { type: Boolean },
|
|
@@ -4981,7 +5193,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
4981
5193
|
}
|
|
4982
5194
|
});
|
|
4983
5195
|
|
|
4984
|
-
const _sfc_main$
|
|
5196
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
4985
5197
|
__name: "SidebarMenuSubItem",
|
|
4986
5198
|
props: {
|
|
4987
5199
|
class: {}
|
|
@@ -5000,7 +5212,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
5000
5212
|
}
|
|
5001
5213
|
});
|
|
5002
5214
|
|
|
5003
|
-
const _sfc_main$
|
|
5215
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
5004
5216
|
__name: "SidebarProvider",
|
|
5005
5217
|
props: {
|
|
5006
5218
|
defaultOpen: { type: Boolean, default: true },
|
|
@@ -5066,7 +5278,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
5066
5278
|
}
|
|
5067
5279
|
});
|
|
5068
5280
|
|
|
5069
|
-
const _sfc_main$
|
|
5281
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
5070
5282
|
__name: "SidebarRail",
|
|
5071
5283
|
props: {
|
|
5072
5284
|
class: {}
|
|
@@ -5101,7 +5313,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
5101
5313
|
}
|
|
5102
5314
|
});
|
|
5103
5315
|
|
|
5104
|
-
const _sfc_main$
|
|
5316
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
5105
5317
|
__name: "SidebarSeparator",
|
|
5106
5318
|
props: {
|
|
5107
5319
|
class: {}
|
|
@@ -5109,7 +5321,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
5109
5321
|
setup(__props) {
|
|
5110
5322
|
const props = __props;
|
|
5111
5323
|
return (_ctx, _cache) => {
|
|
5112
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5324
|
+
return openBlock(), createBlock(unref(_sfc_main$12), {
|
|
5113
5325
|
"data-slot": "sidebar-separator",
|
|
5114
5326
|
"data-sidebar": "separator",
|
|
5115
5327
|
class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
|
|
@@ -5123,7 +5335,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
5123
5335
|
}
|
|
5124
5336
|
});
|
|
5125
5337
|
|
|
5126
|
-
const _sfc_main$
|
|
5338
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
5127
5339
|
__name: "SidebarTrigger",
|
|
5128
5340
|
props: {
|
|
5129
5341
|
class: {}
|
|
@@ -5132,7 +5344,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
5132
5344
|
const props = __props;
|
|
5133
5345
|
const { toggleSidebar } = useSidebar();
|
|
5134
5346
|
return (_ctx, _cache) => {
|
|
5135
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5347
|
+
return openBlock(), createBlock(unref(_sfc_main$2Y), {
|
|
5136
5348
|
"data-sidebar": "trigger",
|
|
5137
5349
|
"data-slot": "sidebar-trigger",
|
|
5138
5350
|
variant: "ghost",
|
|
@@ -5171,7 +5383,7 @@ const sidebarMenuButtonVariants = cva(
|
|
|
5171
5383
|
}
|
|
5172
5384
|
);
|
|
5173
5385
|
|
|
5174
|
-
const _sfc_main$
|
|
5386
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
5175
5387
|
__name: "Sidebar",
|
|
5176
5388
|
props: {
|
|
5177
5389
|
collapsible: {},
|
|
@@ -5190,30 +5402,30 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5190
5402
|
return style;
|
|
5191
5403
|
});
|
|
5192
5404
|
return (_ctx, _cache) => {
|
|
5193
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5405
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
5194
5406
|
"default-open": _ctx.defaultOpen,
|
|
5195
5407
|
style: normalizeStyle(sidebarStyle.value)
|
|
5196
5408
|
}, {
|
|
5197
5409
|
default: withCtx(() => [
|
|
5198
|
-
createVNode(unref(_sfc_main$
|
|
5410
|
+
createVNode(unref(_sfc_main$U), {
|
|
5199
5411
|
collapsible: _ctx.collapsible,
|
|
5200
5412
|
side: _ctx.side,
|
|
5201
5413
|
variant: _ctx.variant
|
|
5202
5414
|
}, {
|
|
5203
5415
|
default: withCtx(() => [
|
|
5204
|
-
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5416
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$N), { key: 0 }, {
|
|
5205
5417
|
default: withCtx(() => [
|
|
5206
5418
|
renderSlot(_ctx.$slots, "header")
|
|
5207
5419
|
]),
|
|
5208
5420
|
_: 3
|
|
5209
5421
|
})) : createCommentVNode("", true),
|
|
5210
|
-
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5422
|
+
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$T), { key: 1 }, {
|
|
5211
5423
|
default: withCtx(() => [
|
|
5212
5424
|
renderSlot(_ctx.$slots, "content")
|
|
5213
5425
|
]),
|
|
5214
5426
|
_: 3
|
|
5215
5427
|
})) : createCommentVNode("", true),
|
|
5216
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5428
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$S), { key: 2 }, {
|
|
5217
5429
|
default: withCtx(() => [
|
|
5218
5430
|
renderSlot(_ctx.$slots, "footer")
|
|
5219
5431
|
]),
|
|
@@ -5222,7 +5434,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5222
5434
|
]),
|
|
5223
5435
|
_: 3
|
|
5224
5436
|
}, 8, ["collapsible", "side", "variant"]),
|
|
5225
|
-
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5437
|
+
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$M), { key: 0 }, {
|
|
5226
5438
|
default: withCtx(() => [
|
|
5227
5439
|
renderSlot(_ctx.$slots, "inset")
|
|
5228
5440
|
]),
|
|
@@ -5235,6 +5447,70 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5235
5447
|
}
|
|
5236
5448
|
});
|
|
5237
5449
|
|
|
5450
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
5451
|
+
__name: "Slider",
|
|
5452
|
+
props: {
|
|
5453
|
+
defaultValue: {},
|
|
5454
|
+
modelValue: {},
|
|
5455
|
+
disabled: { type: Boolean },
|
|
5456
|
+
orientation: {},
|
|
5457
|
+
dir: {},
|
|
5458
|
+
inverted: { type: Boolean },
|
|
5459
|
+
min: {},
|
|
5460
|
+
max: {},
|
|
5461
|
+
step: {},
|
|
5462
|
+
minStepsBetweenThumbs: {},
|
|
5463
|
+
thumbAlignment: {},
|
|
5464
|
+
asChild: { type: Boolean },
|
|
5465
|
+
as: {},
|
|
5466
|
+
name: {},
|
|
5467
|
+
required: { type: Boolean },
|
|
5468
|
+
class: {}
|
|
5469
|
+
},
|
|
5470
|
+
emits: ["update:modelValue", "valueCommit"],
|
|
5471
|
+
setup(__props, { emit: __emit }) {
|
|
5472
|
+
const props = __props;
|
|
5473
|
+
const emits = __emit;
|
|
5474
|
+
const delegatedProps = computed(() => {
|
|
5475
|
+
const { class: _, ...delegated } = props;
|
|
5476
|
+
return delegated;
|
|
5477
|
+
});
|
|
5478
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
5479
|
+
return (_ctx, _cache) => {
|
|
5480
|
+
return openBlock(), createBlock(unref(SliderRoot), mergeProps({
|
|
5481
|
+
"data-slot": "slider",
|
|
5482
|
+
class: unref(cn)(
|
|
5483
|
+
"relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
|
|
5484
|
+
props.class
|
|
5485
|
+
)
|
|
5486
|
+
}, unref(forwarded)), {
|
|
5487
|
+
default: withCtx(({ modelValue }) => [
|
|
5488
|
+
createVNode(unref(SliderTrack), {
|
|
5489
|
+
"data-slot": "slider-track",
|
|
5490
|
+
class: "bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
5491
|
+
}, {
|
|
5492
|
+
default: withCtx(() => [
|
|
5493
|
+
createVNode(unref(SliderRange), {
|
|
5494
|
+
"data-slot": "slider-range",
|
|
5495
|
+
class: "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
5496
|
+
})
|
|
5497
|
+
]),
|
|
5498
|
+
_: 1
|
|
5499
|
+
}),
|
|
5500
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(modelValue, (_, key) => {
|
|
5501
|
+
return openBlock(), createBlock(unref(SliderThumb), {
|
|
5502
|
+
key,
|
|
5503
|
+
"data-slot": "slider-thumb",
|
|
5504
|
+
class: "border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
5505
|
+
});
|
|
5506
|
+
}), 128))
|
|
5507
|
+
]),
|
|
5508
|
+
_: 1
|
|
5509
|
+
}, 16, ["class"]);
|
|
5510
|
+
};
|
|
5511
|
+
}
|
|
5512
|
+
});
|
|
5513
|
+
|
|
5238
5514
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
5239
5515
|
__name: "Sonner",
|
|
5240
5516
|
props: {
|
|
@@ -5328,7 +5604,6 @@ const _hoisted_1$3 = {
|
|
|
5328
5604
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
5329
5605
|
__name: "Switch",
|
|
5330
5606
|
props: /* @__PURE__ */ mergeModels({
|
|
5331
|
-
class: {},
|
|
5332
5607
|
disabled: { type: Boolean },
|
|
5333
5608
|
label: {},
|
|
5334
5609
|
labelClass: {},
|
|
@@ -5339,7 +5614,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5339
5614
|
}),
|
|
5340
5615
|
emits: ["update:modelValue"],
|
|
5341
5616
|
setup(__props) {
|
|
5342
|
-
const props = __props;
|
|
5343
5617
|
const toggled = useModel(__props, "modelValue");
|
|
5344
5618
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
5345
5619
|
return (_ctx, _cache) => {
|
|
@@ -5349,8 +5623,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5349
5623
|
createVNode(unref(_sfc_main$p), mergeProps(_ctx.$attrs, {
|
|
5350
5624
|
modelValue: toggled.value,
|
|
5351
5625
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => toggled.value = $event),
|
|
5352
|
-
disabled: _ctx.disabled
|
|
5353
|
-
class: props.class
|
|
5626
|
+
disabled: _ctx.disabled
|
|
5354
5627
|
}), createSlots({ _: 2 }, [
|
|
5355
5628
|
_ctx.$slots.thumb ? {
|
|
5356
5629
|
name: "thumb",
|
|
@@ -5359,11 +5632,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5359
5632
|
]),
|
|
5360
5633
|
key: "0"
|
|
5361
5634
|
} : void 0
|
|
5362
|
-
]), 1040, ["modelValue", "disabled"
|
|
5635
|
+
]), 1040, ["modelValue", "disabled"])
|
|
5363
5636
|
]),
|
|
5364
5637
|
_: 3
|
|
5365
5638
|
}),
|
|
5366
|
-
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5639
|
+
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
5367
5640
|
key: 0,
|
|
5368
5641
|
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-2", _ctx.labelClass))
|
|
5369
5642
|
}, {
|
|
@@ -5639,7 +5912,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5639
5912
|
return (_ctx, _cache) => {
|
|
5640
5913
|
return openBlock(), createBlock(unref(_sfc_main$k), null, {
|
|
5641
5914
|
default: withCtx(() => [
|
|
5642
|
-
createVNode(unref(_sfc_main$
|
|
5915
|
+
createVNode(unref(_sfc_main$1M), {
|
|
5643
5916
|
to: _ctx.to,
|
|
5644
5917
|
label: _ctx.label,
|
|
5645
5918
|
class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
|
|
@@ -6006,6 +6279,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6006
6279
|
createVNode(unref(_sfc_main$3), mergeProps(_ctx.$attrs, {
|
|
6007
6280
|
modelValue: value.value,
|
|
6008
6281
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
6282
|
+
modelModifiers: { trim: true },
|
|
6009
6283
|
autocapitalize: _ctx.autocapitalize,
|
|
6010
6284
|
autocomplete: _ctx.autocomplete,
|
|
6011
6285
|
autocorrect: _ctx.autocorrect,
|
|
@@ -6028,7 +6302,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6028
6302
|
]),
|
|
6029
6303
|
_: 1
|
|
6030
6304
|
}),
|
|
6031
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6305
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
6032
6306
|
key: 0,
|
|
6033
6307
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-1 font-normal", _ctx.labelClass))
|
|
6034
6308
|
}, {
|
|
@@ -6101,17 +6375,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6101
6375
|
__name: "Tooltip",
|
|
6102
6376
|
setup(__props) {
|
|
6103
6377
|
return (_ctx, _cache) => {
|
|
6104
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6378
|
+
return openBlock(), createBlock(unref(_sfc_main$G), null, {
|
|
6105
6379
|
default: withCtx(() => [
|
|
6106
|
-
createVNode(unref(_sfc_main$
|
|
6380
|
+
createVNode(unref(_sfc_main$I), null, {
|
|
6107
6381
|
default: withCtx(() => [
|
|
6108
|
-
createVNode(unref(_sfc_main$
|
|
6382
|
+
createVNode(unref(_sfc_main$F), { "as-child": "" }, {
|
|
6109
6383
|
default: withCtx(() => [
|
|
6110
6384
|
renderSlot(_ctx.$slots, "trigger")
|
|
6111
6385
|
]),
|
|
6112
6386
|
_: 3
|
|
6113
6387
|
}),
|
|
6114
|
-
createVNode(unref(_sfc_main$
|
|
6388
|
+
createVNode(unref(_sfc_main$H), null, {
|
|
6115
6389
|
default: withCtx(() => [
|
|
6116
6390
|
renderSlot(_ctx.$slots, "default")
|
|
6117
6391
|
]),
|
|
@@ -6259,4 +6533,4 @@ function localRef(key, initial, options) {
|
|
|
6259
6533
|
});
|
|
6260
6534
|
}
|
|
6261
6535
|
|
|
6262
|
-
export { _sfc_main$
|
|
6536
|
+
export { _sfc_main$2Z as Badge, _sfc_main$2Y as Button, _sfc_main$2W as ButtonIcon, _sfc_main$2X as ButtonLink, _sfc_main$2N as Card, _sfc_main$2K as Checkbox, _sfc_main$2J as Combobox, _sfc_main$2I as ComboboxAnchor, _sfc_main$2H as ComboboxEmpty, _sfc_main$2G as ComboboxGroup, _sfc_main$2F as ComboboxInput, _sfc_main$2E as ComboboxItem, _sfc_main$2D as ComboboxItemIndicator, _sfc_main$2C as ComboboxList, _sfc_main$2B as ComboboxSeparator, _sfc_main$2A as ComboboxViewport, _sfc_main$2z as ContextMenu, _sfc_main$2y as ContextMenuCheckboxItem, _sfc_main$2x as ContextMenuContent, _sfc_main$2w as ContextMenuGroup, _sfc_main$2v as ContextMenuItem, _sfc_main$2u as ContextMenuLabel, _sfc_main$2t as ContextMenuRadioGroup, _sfc_main$2s as ContextMenuRadioItem, _sfc_main$2r as ContextMenuSeparator, _sfc_main$2q as ContextMenuShortcut, _sfc_main$2p as ContextMenuSub, _sfc_main$2o as ContextMenuSubContent, _sfc_main$2n as ContextMenuSubTrigger, _sfc_main$2m as ContextMenuTrigger, _sfc_main$2l as Dialog, _sfc_main$2k as DialogClose, _sfc_main$2i as DialogContent, _sfc_main$2h as DialogDescription, _sfc_main$2g as DialogFooter, _sfc_main$2f as DialogHeader, _sfc_main$2j as DialogOverlay, _sfc_main$2e as DialogScrollContent, _sfc_main$2d as DialogTitle, _sfc_main$2c as DialogTrigger, _sfc_main$2b as DropdownMenu, _sfc_main$2a as DropdownMenuCheckboxItem, _sfc_main$29 as DropdownMenuContent, _sfc_main$28 as DropdownMenuGroup, _sfc_main$27 as DropdownMenuItem, _sfc_main$26 as DropdownMenuLabel, _sfc_main$25 as DropdownMenuRadioGroup, _sfc_main$24 as DropdownMenuRadioItem, _sfc_main$23 as DropdownMenuSeparator, _sfc_main$22 as DropdownMenuShortcut, _sfc_main$21 as DropdownMenuSub, _sfc_main$20 as DropdownMenuSubContent, _sfc_main$1$ as DropdownMenuSubTrigger, _sfc_main$1_ as DropdownMenuTrigger, _sfc_main$1W as HoverCard, _sfc_main$1U as Input, _sfc_main$1O as InputNumber, _sfc_main$1N as InputText, _sfc_main$2M as Label, _sfc_main$1M as Link, _sfc_main$1L as Menubar, _sfc_main$1K as MenubarCheckboxItem, _sfc_main$1J as MenubarContent, _sfc_main$1I as MenubarGroup, _sfc_main$1H as MenubarItem, _sfc_main$1G as MenubarLabel, _sfc_main$1F as MenubarMenu, _sfc_main$1E as MenubarRadioGroup, _sfc_main$1D as MenubarRadioItem, _sfc_main$1C as MenubarSeparator, _sfc_main$1B as MenubarShortcut, _sfc_main$1A as MenubarSub, _sfc_main$1z as MenubarSubContent, _sfc_main$1y as MenubarSubTrigger, _sfc_main$1x as MenubarTrigger, _sfc_main$1w as Pagination, _sfc_main$1v as PaginationContent, _sfc_main$1u as PaginationEllipsis, _sfc_main$1t as PaginationFirst, _sfc_main$1s as PaginationItem, _sfc_main$1r as PaginationLast, _sfc_main$1q as PaginationNext, _sfc_main$1p as PaginationPrevious, _sfc_main$1l as Popover, _sfc_main$1k as Progress, _sfc_main$1j as RadioGroup, _sfc_main$1i as RadioGroupItem, _sfc_main$1h as ResizableHandle, _sfc_main$1g as ResizablePanel, _sfc_main$1f as ResizablePanelGroup, _sfc_main$2U as ScrollArea, _sfc_main$13 as Select, _sfc_main$1c as SelectGroup, _sfc_main$1b as SelectItem, _sfc_main$1a as SelectItemText, _sfc_main$19 as SelectLabel, _sfc_main$18 as SelectScrollDownButton, _sfc_main$17 as SelectScrollUpButton, _sfc_main$16 as SelectSeparator, _sfc_main$12 as Separator, _sfc_main$11 as Sheet, _sfc_main$10 as SheetClose, _sfc_main$_ 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$s as Sidebar, _sfc_main$R as SidebarGroup, _sfc_main$Q as SidebarGroupAction, _sfc_main$P as SidebarGroupContent, _sfc_main$O as SidebarGroupLabel, _sfc_main$L as SidebarMenu, _sfc_main$K as SidebarMenuAction, _sfc_main$J as SidebarMenuBadge, _sfc_main$D as SidebarMenuButton, _sfc_main$C as SidebarMenuItem, _sfc_main$A as SidebarMenuSkeleton, _sfc_main$z as SidebarMenuSub, _sfc_main$y as SidebarMenuSubButton, _sfc_main$x as SidebarMenuSubItem, _sfc_main$v as SidebarRail, _sfc_main$u as SidebarSeparator, _sfc_main$t as SidebarTrigger, _sfc_main$B as Skeleton, _sfc_main$r as Slider, _sfc_main$q as Sonner, _sfc_main$o as Switch, _sfc_main$e as Table, _sfc_main$k as TableCell, _sfc_main$i as TableEmpty, _sfc_main$g as TableHead, _sfc_main$d as TableLink, _sfc_main$j as TableRow, _sfc_main$c as Tabs, _sfc_main$b as TabsContent, _sfc_main$a as TabsList, _sfc_main$9 as TabsTrigger, _sfc_main$8 as TagsInput, _sfc_main$7 as TagsInputInput, _sfc_main$6 as TagsInputItem, _sfc_main$5 as TagsInputItemDelete, _sfc_main$4 as TagsInputItemText, _sfc_main$2 as Textarea, _sfc_main$1 as Toggle, _sfc_main as Tooltip, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth };
|