@tb-dev/vue 0.3.23 → 0.3.25
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/button-icon/types.d.ts +4 -4
- package/dist/components/button-link/types.d.ts +3 -1
- package/dist/components/card/types.d.ts +7 -6
- package/dist/components/checkbox/Checkbox.vue.d.ts +2 -3
- package/dist/components/checkbox/types.d.ts +4 -0
- 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/types.d.ts +4 -3
- package/dist/components/input-number/types.d.ts +4 -2
- package/dist/components/input-text/types.d.ts +3 -2
- package/dist/components/link/index.d.ts +1 -1
- package/dist/components/popover/types.d.ts +2 -1
- package/dist/components/resizable/index.d.ts +1 -0
- package/dist/components/select/types.d.ts +6 -4
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/switch/types.d.ts +4 -1
- package/dist/components/textarea/types.d.ts +4 -3
- package/dist/index.js +596 -261
- package/package.json +1 -1
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, mergeModels, useModel, createElementVNode, createTextVNode, withDirectives, isRef, vModelText, normalizeProps, guardReactiveProps, useTemplateRef, ref, createSlots, toRef, effectScope } from 'vue';
|
|
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,15 +188,19 @@ 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
|
+
...{
|
|
195
|
+
inheritAttrs: false
|
|
196
|
+
},
|
|
194
197
|
__name: "ButtonLink",
|
|
195
198
|
props: {
|
|
196
199
|
buttonClass: {},
|
|
197
200
|
disabled: {},
|
|
198
201
|
label: {},
|
|
199
202
|
size: { default: "default" },
|
|
203
|
+
style: {},
|
|
200
204
|
to: {},
|
|
201
205
|
variant: { default: "ghost" }
|
|
202
206
|
},
|
|
@@ -206,17 +210,18 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
206
210
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
207
211
|
createVNode(unref(DefineTemplate), null, {
|
|
208
212
|
default: withCtx(() => [
|
|
209
|
-
createVNode(unref(_sfc_main$
|
|
213
|
+
createVNode(unref(_sfc_main$2Y), mergeProps(_ctx.$attrs, {
|
|
210
214
|
variant: _ctx.variant,
|
|
211
215
|
size: _ctx.size,
|
|
212
216
|
disabled: _ctx.disabled,
|
|
217
|
+
style: _ctx.style,
|
|
213
218
|
class: unref(cn)("size-full", _ctx.buttonClass)
|
|
214
219
|
}), {
|
|
215
220
|
default: withCtx(() => [
|
|
216
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
221
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$j, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
217
222
|
]),
|
|
218
223
|
_: 3
|
|
219
|
-
}, 16, ["variant", "size", "disabled", "class"])
|
|
224
|
+
}, 16, ["variant", "size", "disabled", "style", "class"])
|
|
220
225
|
]),
|
|
221
226
|
_: 3
|
|
222
227
|
}),
|
|
@@ -236,7 +241,7 @@ const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
|
236
241
|
}
|
|
237
242
|
});
|
|
238
243
|
|
|
239
|
-
const _sfc_main$
|
|
244
|
+
const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
240
245
|
__name: "ButtonIcon",
|
|
241
246
|
props: {
|
|
242
247
|
buttonClass: {},
|
|
@@ -249,7 +254,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
249
254
|
setup(__props) {
|
|
250
255
|
const props = __props;
|
|
251
256
|
return (_ctx, _cache) => {
|
|
252
|
-
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$
|
|
257
|
+
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2X), {
|
|
253
258
|
key: 0,
|
|
254
259
|
to: _ctx.to,
|
|
255
260
|
variant: "ghost",
|
|
@@ -264,7 +269,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
264
269
|
}, null, 8, ["class", "size"]))
|
|
265
270
|
]),
|
|
266
271
|
_: 1
|
|
267
|
-
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
272
|
+
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2Y), {
|
|
268
273
|
key: 1,
|
|
269
274
|
variant: "ghost",
|
|
270
275
|
size: "icon",
|
|
@@ -282,7 +287,7 @@ const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
|
282
287
|
}
|
|
283
288
|
});
|
|
284
289
|
|
|
285
|
-
const _sfc_main$
|
|
290
|
+
const _sfc_main$2V = /* @__PURE__ */ defineComponent({
|
|
286
291
|
__name: "ScrollBar",
|
|
287
292
|
props: {
|
|
288
293
|
orientation: { default: "vertical" },
|
|
@@ -318,7 +323,7 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
318
323
|
}
|
|
319
324
|
});
|
|
320
325
|
|
|
321
|
-
const _sfc_main$
|
|
326
|
+
const _sfc_main$2U = /* @__PURE__ */ defineComponent({
|
|
322
327
|
__name: "ScrollArea",
|
|
323
328
|
props: {
|
|
324
329
|
type: {},
|
|
@@ -348,7 +353,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
348
353
|
]),
|
|
349
354
|
_: 3
|
|
350
355
|
}),
|
|
351
|
-
createVNode(_sfc_main$
|
|
356
|
+
createVNode(_sfc_main$2V),
|
|
352
357
|
createVNode(unref(ScrollAreaCorner))
|
|
353
358
|
]),
|
|
354
359
|
_: 3
|
|
@@ -357,7 +362,7 @@ const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
|
357
362
|
}
|
|
358
363
|
});
|
|
359
364
|
|
|
360
|
-
const _sfc_main$
|
|
365
|
+
const _sfc_main$2T = /* @__PURE__ */ defineComponent({
|
|
361
366
|
__name: "Card",
|
|
362
367
|
props: {
|
|
363
368
|
class: {}
|
|
@@ -380,7 +385,7 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
380
385
|
}
|
|
381
386
|
});
|
|
382
387
|
|
|
383
|
-
const _sfc_main$
|
|
388
|
+
const _sfc_main$2S = /* @__PURE__ */ defineComponent({
|
|
384
389
|
__name: "CardContent",
|
|
385
390
|
props: {
|
|
386
391
|
class: {}
|
|
@@ -398,7 +403,7 @@ const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
|
398
403
|
}
|
|
399
404
|
});
|
|
400
405
|
|
|
401
|
-
const _sfc_main$
|
|
406
|
+
const _sfc_main$2R = /* @__PURE__ */ defineComponent({
|
|
402
407
|
__name: "CardDescription",
|
|
403
408
|
props: {
|
|
404
409
|
class: {}
|
|
@@ -416,7 +421,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
416
421
|
}
|
|
417
422
|
});
|
|
418
423
|
|
|
419
|
-
const _sfc_main$
|
|
424
|
+
const _sfc_main$2Q = /* @__PURE__ */ defineComponent({
|
|
420
425
|
__name: "CardFooter",
|
|
421
426
|
props: {
|
|
422
427
|
class: {}
|
|
@@ -434,7 +439,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
434
439
|
}
|
|
435
440
|
});
|
|
436
441
|
|
|
437
|
-
const _sfc_main$
|
|
442
|
+
const _sfc_main$2P = /* @__PURE__ */ defineComponent({
|
|
438
443
|
__name: "CardHeader",
|
|
439
444
|
props: {
|
|
440
445
|
class: {}
|
|
@@ -457,7 +462,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
457
462
|
}
|
|
458
463
|
});
|
|
459
464
|
|
|
460
|
-
const _sfc_main$
|
|
465
|
+
const _sfc_main$2O = /* @__PURE__ */ defineComponent({
|
|
461
466
|
__name: "CardTitle",
|
|
462
467
|
props: {
|
|
463
468
|
class: {}
|
|
@@ -475,7 +480,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
|
475
480
|
}
|
|
476
481
|
});
|
|
477
482
|
|
|
478
|
-
const _sfc_main$
|
|
483
|
+
const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
479
484
|
__name: "Card",
|
|
480
485
|
props: {
|
|
481
486
|
contentClass: {},
|
|
@@ -488,14 +493,14 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
488
493
|
},
|
|
489
494
|
setup(__props) {
|
|
490
495
|
return (_ctx, _cache) => {
|
|
491
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
496
|
+
return openBlock(), createBlock(unref(_sfc_main$2T), null, {
|
|
492
497
|
default: withCtx(() => [
|
|
493
|
-
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
498
|
+
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$2P), {
|
|
494
499
|
key: 0,
|
|
495
500
|
class: normalizeClass(_ctx.headerClass)
|
|
496
501
|
}, {
|
|
497
502
|
default: withCtx(() => [
|
|
498
|
-
createVNode(unref(_sfc_main$
|
|
503
|
+
createVNode(unref(_sfc_main$2O), {
|
|
499
504
|
class: normalizeClass(_ctx.titleClass)
|
|
500
505
|
}, {
|
|
501
506
|
default: withCtx(() => [
|
|
@@ -503,7 +508,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
503
508
|
]),
|
|
504
509
|
_: 3
|
|
505
510
|
}, 8, ["class"]),
|
|
506
|
-
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$
|
|
511
|
+
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$2R), {
|
|
507
512
|
key: 0,
|
|
508
513
|
class: normalizeClass(_ctx.descriptionClass)
|
|
509
514
|
}, {
|
|
@@ -515,12 +520,12 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
515
520
|
]),
|
|
516
521
|
_: 3
|
|
517
522
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
518
|
-
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$
|
|
523
|
+
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2S), {
|
|
519
524
|
key: 1,
|
|
520
525
|
class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
|
|
521
526
|
}, {
|
|
522
527
|
default: withCtx(() => [
|
|
523
|
-
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
528
|
+
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$2U), {
|
|
524
529
|
key: 0,
|
|
525
530
|
class: normalizeClass(_ctx.scrollAreaClass),
|
|
526
531
|
style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
|
|
@@ -533,7 +538,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
533
538
|
]),
|
|
534
539
|
_: 3
|
|
535
540
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
536
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
541
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2Q), {
|
|
537
542
|
key: 2,
|
|
538
543
|
class: normalizeClass(_ctx.footerClass)
|
|
539
544
|
}, {
|
|
@@ -549,7 +554,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
549
554
|
}
|
|
550
555
|
});
|
|
551
556
|
|
|
552
|
-
const _sfc_main$
|
|
557
|
+
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
553
558
|
__name: "Label",
|
|
554
559
|
props: {
|
|
555
560
|
for: {},
|
|
@@ -579,7 +584,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
579
584
|
}
|
|
580
585
|
});
|
|
581
586
|
|
|
582
|
-
const _sfc_main$
|
|
587
|
+
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
583
588
|
__name: "Checkbox",
|
|
584
589
|
props: {
|
|
585
590
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -628,42 +633,50 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
|
628
633
|
}
|
|
629
634
|
});
|
|
630
635
|
|
|
631
|
-
const _hoisted_1$
|
|
632
|
-
const _sfc_main$
|
|
636
|
+
const _hoisted_1$i = { class: "w-full" };
|
|
637
|
+
const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
638
|
+
...{
|
|
639
|
+
inheritAttrs: false
|
|
640
|
+
},
|
|
633
641
|
__name: "Checkbox",
|
|
634
642
|
props: /* @__PURE__ */ mergeModels({
|
|
643
|
+
class: {},
|
|
635
644
|
defaultValue: { type: [Boolean, String] },
|
|
636
645
|
disabled: { type: Boolean },
|
|
637
646
|
label: {},
|
|
638
|
-
labelClass: {}
|
|
647
|
+
labelClass: {},
|
|
648
|
+
style: {}
|
|
639
649
|
}, {
|
|
640
650
|
"modelValue": { type: [Boolean, String, null], ...{ required: false } },
|
|
641
651
|
"modelModifiers": {}
|
|
642
652
|
}),
|
|
643
653
|
emits: ["update:modelValue"],
|
|
644
654
|
setup(__props) {
|
|
655
|
+
const props = __props;
|
|
645
656
|
const value = useModel(__props, "modelValue");
|
|
646
657
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
647
658
|
return (_ctx, _cache) => {
|
|
648
659
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
649
660
|
createVNode(unref(DefineTemplate), null, {
|
|
650
661
|
default: withCtx(() => [
|
|
651
|
-
createVNode(unref(_sfc_main$
|
|
662
|
+
createVNode(unref(_sfc_main$2L), mergeProps(_ctx.$attrs, {
|
|
652
663
|
modelValue: value.value,
|
|
653
664
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
654
665
|
"default-value": _ctx.defaultValue,
|
|
655
|
-
disabled: _ctx.disabled
|
|
656
|
-
|
|
666
|
+
disabled: _ctx.disabled,
|
|
667
|
+
style: _ctx.style,
|
|
668
|
+
class: props.class
|
|
669
|
+
}), null, 16, ["modelValue", "default-value", "disabled", "style", "class"])
|
|
657
670
|
]),
|
|
658
671
|
_: 1
|
|
659
672
|
}),
|
|
660
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
673
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
661
674
|
key: 0,
|
|
662
675
|
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-1 font-normal", _ctx.labelClass))
|
|
663
676
|
}, {
|
|
664
677
|
default: withCtx(() => [
|
|
665
678
|
createVNode(unref(ReuseTemplate)),
|
|
666
|
-
createElementVNode("span", _hoisted_1$
|
|
679
|
+
createElementVNode("span", _hoisted_1$i, toDisplayString(_ctx.label), 1)
|
|
667
680
|
]),
|
|
668
681
|
_: 1
|
|
669
682
|
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
@@ -672,7 +685,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
672
685
|
}
|
|
673
686
|
});
|
|
674
687
|
|
|
675
|
-
const _sfc_main$
|
|
688
|
+
const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
676
689
|
__name: "Combobox",
|
|
677
690
|
props: {
|
|
678
691
|
open: { type: Boolean },
|
|
@@ -708,7 +721,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
708
721
|
}
|
|
709
722
|
});
|
|
710
723
|
|
|
711
|
-
const _sfc_main$
|
|
724
|
+
const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
712
725
|
__name: "ComboboxAnchor",
|
|
713
726
|
props: {
|
|
714
727
|
reference: {},
|
|
@@ -736,7 +749,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
736
749
|
}
|
|
737
750
|
});
|
|
738
751
|
|
|
739
|
-
const _sfc_main$
|
|
752
|
+
const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
740
753
|
__name: "ComboboxEmpty",
|
|
741
754
|
props: {
|
|
742
755
|
asChild: { type: Boolean },
|
|
@@ -762,7 +775,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
762
775
|
}
|
|
763
776
|
});
|
|
764
777
|
|
|
765
|
-
const _sfc_main$
|
|
778
|
+
const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
766
779
|
__name: "ComboboxGroup",
|
|
767
780
|
props: {
|
|
768
781
|
asChild: { type: Boolean },
|
|
@@ -798,11 +811,11 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
798
811
|
}
|
|
799
812
|
});
|
|
800
813
|
|
|
801
|
-
const _hoisted_1$
|
|
814
|
+
const _hoisted_1$h = {
|
|
802
815
|
"data-slot": "command-input-wrapper",
|
|
803
816
|
class: "flex h-9 items-center gap-2 border-b px-3"
|
|
804
817
|
};
|
|
805
|
-
const _sfc_main$
|
|
818
|
+
const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
806
819
|
...{
|
|
807
820
|
inheritAttrs: false
|
|
808
821
|
},
|
|
@@ -826,7 +839,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
826
839
|
});
|
|
827
840
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
828
841
|
return (_ctx, _cache) => {
|
|
829
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
842
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
830
843
|
createVNode(unref(SearchIcon), { class: "size-4 shrink-0 opacity-50" }),
|
|
831
844
|
createVNode(unref(ComboboxInput), mergeProps({
|
|
832
845
|
"data-slot": "command-input",
|
|
@@ -845,7 +858,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
845
858
|
}
|
|
846
859
|
});
|
|
847
860
|
|
|
848
|
-
const _sfc_main$
|
|
861
|
+
const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
849
862
|
__name: "ComboboxItem",
|
|
850
863
|
props: {
|
|
851
864
|
textValue: {},
|
|
@@ -880,7 +893,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
880
893
|
}
|
|
881
894
|
});
|
|
882
895
|
|
|
883
|
-
const _sfc_main$
|
|
896
|
+
const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
884
897
|
__name: "ComboboxItemIndicator",
|
|
885
898
|
props: {
|
|
886
899
|
asChild: { type: Boolean },
|
|
@@ -907,7 +920,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
907
920
|
}
|
|
908
921
|
});
|
|
909
922
|
|
|
910
|
-
const _sfc_main$
|
|
923
|
+
const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
911
924
|
__name: "ComboboxList",
|
|
912
925
|
props: {
|
|
913
926
|
forceMount: { type: Boolean },
|
|
@@ -961,7 +974,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
961
974
|
}
|
|
962
975
|
});
|
|
963
976
|
|
|
964
|
-
const _sfc_main$
|
|
977
|
+
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
965
978
|
__name: "ComboboxSeparator",
|
|
966
979
|
props: {
|
|
967
980
|
asChild: { type: Boolean },
|
|
@@ -987,7 +1000,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
987
1000
|
}
|
|
988
1001
|
});
|
|
989
1002
|
|
|
990
|
-
const _sfc_main$
|
|
1003
|
+
const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
991
1004
|
__name: "ComboboxViewport",
|
|
992
1005
|
props: {
|
|
993
1006
|
nonce: {},
|
|
@@ -1015,7 +1028,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
1015
1028
|
}
|
|
1016
1029
|
});
|
|
1017
1030
|
|
|
1018
|
-
const _sfc_main$
|
|
1031
|
+
const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
1019
1032
|
__name: "ContextMenu",
|
|
1020
1033
|
props: {
|
|
1021
1034
|
dir: {},
|
|
@@ -1037,8 +1050,8 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
1037
1050
|
}
|
|
1038
1051
|
});
|
|
1039
1052
|
|
|
1040
|
-
const _hoisted_1$
|
|
1041
|
-
const _sfc_main$
|
|
1053
|
+
const _hoisted_1$g = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1054
|
+
const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
1042
1055
|
__name: "ContextMenuCheckboxItem",
|
|
1043
1056
|
props: {
|
|
1044
1057
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1065,7 +1078,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
1065
1078
|
)
|
|
1066
1079
|
}), {
|
|
1067
1080
|
default: withCtx(() => [
|
|
1068
|
-
createElementVNode("span", _hoisted_1$
|
|
1081
|
+
createElementVNode("span", _hoisted_1$g, [
|
|
1069
1082
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1070
1083
|
default: withCtx(() => [
|
|
1071
1084
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1081,7 +1094,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
1081
1094
|
}
|
|
1082
1095
|
});
|
|
1083
1096
|
|
|
1084
|
-
const _sfc_main$
|
|
1097
|
+
const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
1085
1098
|
__name: "ContextMenuContent",
|
|
1086
1099
|
props: {
|
|
1087
1100
|
forceMount: { type: Boolean },
|
|
@@ -1130,7 +1143,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
1130
1143
|
}
|
|
1131
1144
|
});
|
|
1132
1145
|
|
|
1133
|
-
const _sfc_main$
|
|
1146
|
+
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
1134
1147
|
__name: "ContextMenuGroup",
|
|
1135
1148
|
props: {
|
|
1136
1149
|
asChild: { type: Boolean },
|
|
@@ -1149,7 +1162,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
1149
1162
|
}
|
|
1150
1163
|
});
|
|
1151
1164
|
|
|
1152
|
-
const _sfc_main$
|
|
1165
|
+
const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
1153
1166
|
__name: "ContextMenuItem",
|
|
1154
1167
|
props: {
|
|
1155
1168
|
disabled: { type: Boolean },
|
|
@@ -1189,7 +1202,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
1189
1202
|
}
|
|
1190
1203
|
});
|
|
1191
1204
|
|
|
1192
|
-
const _sfc_main$
|
|
1205
|
+
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
1193
1206
|
__name: "ContextMenuLabel",
|
|
1194
1207
|
props: {
|
|
1195
1208
|
asChild: { type: Boolean },
|
|
@@ -1219,7 +1232,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
1219
1232
|
}
|
|
1220
1233
|
});
|
|
1221
1234
|
|
|
1222
|
-
const _sfc_main$
|
|
1235
|
+
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
1223
1236
|
__name: "ContextMenuRadioGroup",
|
|
1224
1237
|
props: {
|
|
1225
1238
|
modelValue: {},
|
|
@@ -1242,8 +1255,8 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
|
1242
1255
|
}
|
|
1243
1256
|
});
|
|
1244
1257
|
|
|
1245
|
-
const _hoisted_1$
|
|
1246
|
-
const _sfc_main$
|
|
1258
|
+
const _hoisted_1$f = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1259
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
1247
1260
|
__name: "ContextMenuRadioItem",
|
|
1248
1261
|
props: {
|
|
1249
1262
|
value: {},
|
|
@@ -1270,7 +1283,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1270
1283
|
)
|
|
1271
1284
|
}), {
|
|
1272
1285
|
default: withCtx(() => [
|
|
1273
|
-
createElementVNode("span", _hoisted_1$
|
|
1286
|
+
createElementVNode("span", _hoisted_1$f, [
|
|
1274
1287
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1275
1288
|
default: withCtx(() => [
|
|
1276
1289
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1286,7 +1299,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1286
1299
|
}
|
|
1287
1300
|
});
|
|
1288
1301
|
|
|
1289
|
-
const _sfc_main$
|
|
1302
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
1290
1303
|
__name: "ContextMenuSeparator",
|
|
1291
1304
|
props: {
|
|
1292
1305
|
asChild: { type: Boolean },
|
|
@@ -1307,7 +1320,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
1307
1320
|
}
|
|
1308
1321
|
});
|
|
1309
1322
|
|
|
1310
|
-
const _sfc_main$
|
|
1323
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
1311
1324
|
__name: "ContextMenuShortcut",
|
|
1312
1325
|
props: {
|
|
1313
1326
|
class: {}
|
|
@@ -1325,7 +1338,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
1325
1338
|
}
|
|
1326
1339
|
});
|
|
1327
1340
|
|
|
1328
|
-
const _sfc_main$
|
|
1341
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
1329
1342
|
__name: "ContextMenuSub",
|
|
1330
1343
|
props: {
|
|
1331
1344
|
defaultOpen: { type: Boolean },
|
|
@@ -1347,7 +1360,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
1347
1360
|
}
|
|
1348
1361
|
});
|
|
1349
1362
|
|
|
1350
|
-
const _sfc_main$
|
|
1363
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
1351
1364
|
__name: "ContextMenuSubContent",
|
|
1352
1365
|
props: {
|
|
1353
1366
|
forceMount: { type: Boolean },
|
|
@@ -1394,7 +1407,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
1394
1407
|
}
|
|
1395
1408
|
});
|
|
1396
1409
|
|
|
1397
|
-
const _sfc_main$
|
|
1410
|
+
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
1398
1411
|
__name: "ContextMenuSubTrigger",
|
|
1399
1412
|
props: {
|
|
1400
1413
|
disabled: { type: Boolean },
|
|
@@ -1431,7 +1444,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
|
1431
1444
|
}
|
|
1432
1445
|
});
|
|
1433
1446
|
|
|
1434
|
-
const _sfc_main$
|
|
1447
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
1435
1448
|
__name: "ContextMenuTrigger",
|
|
1436
1449
|
props: {
|
|
1437
1450
|
disabled: { type: Boolean },
|
|
@@ -1452,7 +1465,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
|
1452
1465
|
}
|
|
1453
1466
|
});
|
|
1454
1467
|
|
|
1455
|
-
const _sfc_main$
|
|
1468
|
+
const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
1456
1469
|
__name: "Dialog",
|
|
1457
1470
|
props: {
|
|
1458
1471
|
open: { type: Boolean },
|
|
@@ -1475,7 +1488,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
1475
1488
|
}
|
|
1476
1489
|
});
|
|
1477
1490
|
|
|
1478
|
-
const _sfc_main$
|
|
1491
|
+
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
1479
1492
|
__name: "DialogClose",
|
|
1480
1493
|
props: {
|
|
1481
1494
|
asChild: { type: Boolean },
|
|
@@ -1494,7 +1507,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
|
1494
1507
|
}
|
|
1495
1508
|
});
|
|
1496
1509
|
|
|
1497
|
-
const _sfc_main$
|
|
1510
|
+
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
1498
1511
|
__name: "DialogOverlay",
|
|
1499
1512
|
props: {
|
|
1500
1513
|
forceMount: { type: Boolean },
|
|
@@ -1524,7 +1537,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
1524
1537
|
}
|
|
1525
1538
|
});
|
|
1526
1539
|
|
|
1527
|
-
const _sfc_main$
|
|
1540
|
+
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
1528
1541
|
__name: "DialogContent",
|
|
1529
1542
|
props: {
|
|
1530
1543
|
forceMount: { type: Boolean },
|
|
@@ -1546,7 +1559,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1546
1559
|
return (_ctx, _cache) => {
|
|
1547
1560
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1548
1561
|
default: withCtx(() => [
|
|
1549
|
-
createVNode(_sfc_main$
|
|
1562
|
+
createVNode(_sfc_main$2j),
|
|
1550
1563
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1551
1564
|
class: unref(cn)(
|
|
1552
1565
|
"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",
|
|
@@ -1572,7 +1585,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1572
1585
|
}
|
|
1573
1586
|
});
|
|
1574
1587
|
|
|
1575
|
-
const _sfc_main$
|
|
1588
|
+
const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
1576
1589
|
__name: "DialogDescription",
|
|
1577
1590
|
props: {
|
|
1578
1591
|
asChild: { type: Boolean },
|
|
@@ -1599,7 +1612,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1599
1612
|
}
|
|
1600
1613
|
});
|
|
1601
1614
|
|
|
1602
|
-
const _sfc_main$
|
|
1615
|
+
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
1603
1616
|
__name: "DialogFooter",
|
|
1604
1617
|
props: {
|
|
1605
1618
|
class: {}
|
|
@@ -1617,7 +1630,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1617
1630
|
}
|
|
1618
1631
|
});
|
|
1619
1632
|
|
|
1620
|
-
const _sfc_main$
|
|
1633
|
+
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
1621
1634
|
__name: "DialogHeader",
|
|
1622
1635
|
props: {
|
|
1623
1636
|
class: {}
|
|
@@ -1635,7 +1648,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
1635
1648
|
}
|
|
1636
1649
|
});
|
|
1637
1650
|
|
|
1638
|
-
const _sfc_main$
|
|
1651
|
+
const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
1639
1652
|
__name: "DialogScrollContent",
|
|
1640
1653
|
props: {
|
|
1641
1654
|
forceMount: { type: Boolean },
|
|
@@ -1695,7 +1708,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1695
1708
|
}
|
|
1696
1709
|
});
|
|
1697
1710
|
|
|
1698
|
-
const _sfc_main$
|
|
1711
|
+
const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
1699
1712
|
__name: "DialogTitle",
|
|
1700
1713
|
props: {
|
|
1701
1714
|
asChild: { type: Boolean },
|
|
@@ -1722,7 +1735,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
1722
1735
|
}
|
|
1723
1736
|
});
|
|
1724
1737
|
|
|
1725
|
-
const _sfc_main$
|
|
1738
|
+
const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
1726
1739
|
__name: "DialogTrigger",
|
|
1727
1740
|
props: {
|
|
1728
1741
|
asChild: { type: Boolean },
|
|
@@ -1741,7 +1754,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1741
1754
|
}
|
|
1742
1755
|
});
|
|
1743
1756
|
|
|
1744
|
-
const _sfc_main$
|
|
1757
|
+
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
1745
1758
|
__name: "DropdownMenu",
|
|
1746
1759
|
props: {
|
|
1747
1760
|
defaultOpen: { type: Boolean },
|
|
@@ -1765,8 +1778,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
1765
1778
|
}
|
|
1766
1779
|
});
|
|
1767
1780
|
|
|
1768
|
-
const _hoisted_1$
|
|
1769
|
-
const _sfc_main$
|
|
1781
|
+
const _hoisted_1$e = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1782
|
+
const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
1770
1783
|
__name: "DropdownMenuCheckboxItem",
|
|
1771
1784
|
props: {
|
|
1772
1785
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1793,7 +1806,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1793
1806
|
)
|
|
1794
1807
|
}), {
|
|
1795
1808
|
default: withCtx(() => [
|
|
1796
|
-
createElementVNode("span", _hoisted_1$
|
|
1809
|
+
createElementVNode("span", _hoisted_1$e, [
|
|
1797
1810
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1798
1811
|
default: withCtx(() => [
|
|
1799
1812
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1809,7 +1822,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1809
1822
|
}
|
|
1810
1823
|
});
|
|
1811
1824
|
|
|
1812
|
-
const _sfc_main$
|
|
1825
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
1813
1826
|
__name: "DropdownMenuContent",
|
|
1814
1827
|
props: {
|
|
1815
1828
|
forceMount: { type: Boolean },
|
|
@@ -1863,7 +1876,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
1863
1876
|
}
|
|
1864
1877
|
});
|
|
1865
1878
|
|
|
1866
|
-
const _sfc_main$
|
|
1879
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
1867
1880
|
__name: "DropdownMenuGroup",
|
|
1868
1881
|
props: {
|
|
1869
1882
|
asChild: { type: Boolean },
|
|
@@ -1882,7 +1895,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
1882
1895
|
}
|
|
1883
1896
|
});
|
|
1884
1897
|
|
|
1885
|
-
const _sfc_main$
|
|
1898
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
1886
1899
|
__name: "DropdownMenuItem",
|
|
1887
1900
|
props: {
|
|
1888
1901
|
disabled: { type: Boolean },
|
|
@@ -1917,7 +1930,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
1917
1930
|
}
|
|
1918
1931
|
});
|
|
1919
1932
|
|
|
1920
|
-
const _sfc_main$
|
|
1933
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
1921
1934
|
__name: "DropdownMenuLabel",
|
|
1922
1935
|
props: {
|
|
1923
1936
|
asChild: { type: Boolean },
|
|
@@ -1945,7 +1958,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
1945
1958
|
}
|
|
1946
1959
|
});
|
|
1947
1960
|
|
|
1948
|
-
const _sfc_main$
|
|
1961
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
1949
1962
|
__name: "DropdownMenuRadioGroup",
|
|
1950
1963
|
props: {
|
|
1951
1964
|
modelValue: {},
|
|
@@ -1968,8 +1981,8 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
1968
1981
|
}
|
|
1969
1982
|
});
|
|
1970
1983
|
|
|
1971
|
-
const _hoisted_1$
|
|
1972
|
-
const _sfc_main$
|
|
1984
|
+
const _hoisted_1$d = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1985
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
1973
1986
|
__name: "DropdownMenuRadioItem",
|
|
1974
1987
|
props: {
|
|
1975
1988
|
value: {},
|
|
@@ -1996,7 +2009,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
1996
2009
|
)
|
|
1997
2010
|
}), {
|
|
1998
2011
|
default: withCtx(() => [
|
|
1999
|
-
createElementVNode("span", _hoisted_1$
|
|
2012
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
2000
2013
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
2001
2014
|
default: withCtx(() => [
|
|
2002
2015
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -2012,7 +2025,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
2012
2025
|
}
|
|
2013
2026
|
});
|
|
2014
2027
|
|
|
2015
|
-
const _sfc_main$
|
|
2028
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
2016
2029
|
__name: "DropdownMenuSeparator",
|
|
2017
2030
|
props: {
|
|
2018
2031
|
asChild: { type: Boolean },
|
|
@@ -2033,7 +2046,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
2033
2046
|
}
|
|
2034
2047
|
});
|
|
2035
2048
|
|
|
2036
|
-
const _sfc_main$
|
|
2049
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
2037
2050
|
__name: "DropdownMenuShortcut",
|
|
2038
2051
|
props: {
|
|
2039
2052
|
class: {}
|
|
@@ -2051,7 +2064,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
2051
2064
|
}
|
|
2052
2065
|
});
|
|
2053
2066
|
|
|
2054
|
-
const _sfc_main$
|
|
2067
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
2055
2068
|
__name: "DropdownMenuSub",
|
|
2056
2069
|
props: {
|
|
2057
2070
|
defaultOpen: { type: Boolean },
|
|
@@ -2073,7 +2086,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
2073
2086
|
}
|
|
2074
2087
|
});
|
|
2075
2088
|
|
|
2076
|
-
const _sfc_main$
|
|
2089
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
2077
2090
|
__name: "DropdownMenuSubContent",
|
|
2078
2091
|
props: {
|
|
2079
2092
|
forceMount: { type: Boolean },
|
|
@@ -2120,7 +2133,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
2120
2133
|
}
|
|
2121
2134
|
});
|
|
2122
2135
|
|
|
2123
|
-
const _sfc_main$
|
|
2136
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
2124
2137
|
__name: "DropdownMenuSubTrigger",
|
|
2125
2138
|
props: {
|
|
2126
2139
|
disabled: { type: Boolean },
|
|
@@ -2151,7 +2164,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
2151
2164
|
}
|
|
2152
2165
|
});
|
|
2153
2166
|
|
|
2154
|
-
const _sfc_main$
|
|
2167
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
2155
2168
|
__name: "DropdownMenuTrigger",
|
|
2156
2169
|
props: {
|
|
2157
2170
|
disabled: { type: Boolean },
|
|
@@ -2172,7 +2185,127 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
2172
2185
|
}
|
|
2173
2186
|
});
|
|
2174
2187
|
|
|
2175
|
-
const _sfc_main$
|
|
2188
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
2189
|
+
__name: "HoverCard",
|
|
2190
|
+
props: {
|
|
2191
|
+
defaultOpen: { type: Boolean },
|
|
2192
|
+
open: { type: Boolean },
|
|
2193
|
+
openDelay: {},
|
|
2194
|
+
closeDelay: {}
|
|
2195
|
+
},
|
|
2196
|
+
emits: ["update:open"],
|
|
2197
|
+
setup(__props, { emit: __emit }) {
|
|
2198
|
+
const props = __props;
|
|
2199
|
+
const emits = __emit;
|
|
2200
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
2201
|
+
return (_ctx, _cache) => {
|
|
2202
|
+
return openBlock(), createBlock(unref(HoverCardRoot), mergeProps({ "data-slot": "hover-card" }, unref(forwarded)), {
|
|
2203
|
+
default: withCtx(() => [
|
|
2204
|
+
renderSlot(_ctx.$slots, "default")
|
|
2205
|
+
]),
|
|
2206
|
+
_: 3
|
|
2207
|
+
}, 16);
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
});
|
|
2211
|
+
|
|
2212
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
2213
|
+
__name: "HoverCardContent",
|
|
2214
|
+
props: {
|
|
2215
|
+
forceMount: { type: Boolean },
|
|
2216
|
+
side: {},
|
|
2217
|
+
sideOffset: { default: 4 },
|
|
2218
|
+
align: {},
|
|
2219
|
+
alignOffset: {},
|
|
2220
|
+
avoidCollisions: { type: Boolean },
|
|
2221
|
+
collisionBoundary: {},
|
|
2222
|
+
collisionPadding: {},
|
|
2223
|
+
arrowPadding: {},
|
|
2224
|
+
sticky: {},
|
|
2225
|
+
hideWhenDetached: { type: Boolean },
|
|
2226
|
+
positionStrategy: {},
|
|
2227
|
+
updatePositionStrategy: {},
|
|
2228
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
2229
|
+
prioritizePosition: { type: Boolean },
|
|
2230
|
+
reference: {},
|
|
2231
|
+
asChild: { type: Boolean },
|
|
2232
|
+
as: {},
|
|
2233
|
+
class: {}
|
|
2234
|
+
},
|
|
2235
|
+
setup(__props) {
|
|
2236
|
+
const props = __props;
|
|
2237
|
+
const delegatedProps = computed(() => {
|
|
2238
|
+
const { class: _, ...delegated } = props;
|
|
2239
|
+
return delegated;
|
|
2240
|
+
});
|
|
2241
|
+
const forwardedProps = useForwardProps(delegatedProps);
|
|
2242
|
+
return (_ctx, _cache) => {
|
|
2243
|
+
return openBlock(), createBlock(unref(HoverCardPortal), null, {
|
|
2244
|
+
default: withCtx(() => [
|
|
2245
|
+
createVNode(unref(HoverCardContent), mergeProps({ "data-slot": "hover-card-content" }, unref(forwardedProps), {
|
|
2246
|
+
class: unref(cn)(
|
|
2247
|
+
"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",
|
|
2248
|
+
props.class
|
|
2249
|
+
)
|
|
2250
|
+
}), {
|
|
2251
|
+
default: withCtx(() => [
|
|
2252
|
+
renderSlot(_ctx.$slots, "default")
|
|
2253
|
+
]),
|
|
2254
|
+
_: 3
|
|
2255
|
+
}, 16, ["class"])
|
|
2256
|
+
]),
|
|
2257
|
+
_: 3
|
|
2258
|
+
});
|
|
2259
|
+
};
|
|
2260
|
+
}
|
|
2261
|
+
});
|
|
2262
|
+
|
|
2263
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
2264
|
+
__name: "HoverCardTrigger",
|
|
2265
|
+
props: {
|
|
2266
|
+
reference: {},
|
|
2267
|
+
asChild: { type: Boolean },
|
|
2268
|
+
as: {}
|
|
2269
|
+
},
|
|
2270
|
+
setup(__props) {
|
|
2271
|
+
const props = __props;
|
|
2272
|
+
return (_ctx, _cache) => {
|
|
2273
|
+
return openBlock(), createBlock(unref(HoverCardTrigger), mergeProps({ "data-slot": "hover-card-trigger" }, props), {
|
|
2274
|
+
default: withCtx(() => [
|
|
2275
|
+
renderSlot(_ctx.$slots, "default")
|
|
2276
|
+
]),
|
|
2277
|
+
_: 3
|
|
2278
|
+
}, 16);
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
});
|
|
2282
|
+
|
|
2283
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
2284
|
+
__name: "HoverCard",
|
|
2285
|
+
setup(__props) {
|
|
2286
|
+
return (_ctx, _cache) => {
|
|
2287
|
+
return openBlock(), createBlock(unref(_sfc_main$1Z), null, {
|
|
2288
|
+
default: withCtx(() => [
|
|
2289
|
+
createVNode(unref(_sfc_main$1X), null, {
|
|
2290
|
+
default: withCtx(() => [
|
|
2291
|
+
renderSlot(_ctx.$slots, "trigger")
|
|
2292
|
+
]),
|
|
2293
|
+
_: 3
|
|
2294
|
+
}),
|
|
2295
|
+
createVNode(unref(_sfc_main$1Y), null, {
|
|
2296
|
+
default: withCtx(() => [
|
|
2297
|
+
renderSlot(_ctx.$slots, "default")
|
|
2298
|
+
]),
|
|
2299
|
+
_: 3
|
|
2300
|
+
})
|
|
2301
|
+
]),
|
|
2302
|
+
_: 3
|
|
2303
|
+
});
|
|
2304
|
+
};
|
|
2305
|
+
}
|
|
2306
|
+
});
|
|
2307
|
+
|
|
2308
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
2176
2309
|
__name: "Input",
|
|
2177
2310
|
props: {
|
|
2178
2311
|
defaultValue: {},
|
|
@@ -2206,8 +2339,11 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
2206
2339
|
}
|
|
2207
2340
|
});
|
|
2208
2341
|
|
|
2209
|
-
const _hoisted_1$
|
|
2210
|
-
const _sfc_main$
|
|
2342
|
+
const _hoisted_1$c = { class: "w-full" };
|
|
2343
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
2344
|
+
...{
|
|
2345
|
+
inheritAttrs: false
|
|
2346
|
+
},
|
|
2211
2347
|
__name: "Input",
|
|
2212
2348
|
props: {
|
|
2213
2349
|
autocomplete: {},
|
|
@@ -2225,6 +2361,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2225
2361
|
required: {},
|
|
2226
2362
|
size: {},
|
|
2227
2363
|
spellcheck: { default: "false" },
|
|
2364
|
+
style: {},
|
|
2228
2365
|
type: { default: "text" }
|
|
2229
2366
|
},
|
|
2230
2367
|
emits: ["update:modelValue"],
|
|
@@ -2241,7 +2378,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2241
2378
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2242
2379
|
createVNode(unref(DefineTemplate), null, {
|
|
2243
2380
|
default: withCtx(() => [
|
|
2244
|
-
createVNode(unref(_sfc_main$
|
|
2381
|
+
createVNode(unref(_sfc_main$1V), mergeProps(_ctx.$attrs, {
|
|
2245
2382
|
modelValue: value.value,
|
|
2246
2383
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2247
2384
|
modelModifiers: { trim: true },
|
|
@@ -2256,18 +2393,19 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2256
2393
|
required: _ctx.required,
|
|
2257
2394
|
size: _ctx.size,
|
|
2258
2395
|
spellcheck: _ctx.spellcheck,
|
|
2396
|
+
style: _ctx.style,
|
|
2259
2397
|
class: unref(cn)("focus-visible:ring-0 disabled:cursor-default", props.class),
|
|
2260
2398
|
onBlur: _ctx.onBlur
|
|
2261
|
-
}), null, 16, ["modelValue", "type", "autocomplete", "autofocus", "placeholder", "disabled", "maxlength", "minlength", "readonly", "required", "size", "spellcheck", "class", "onBlur"])
|
|
2399
|
+
}), null, 16, ["modelValue", "type", "autocomplete", "autofocus", "placeholder", "disabled", "maxlength", "minlength", "readonly", "required", "size", "spellcheck", "style", "class", "onBlur"])
|
|
2262
2400
|
]),
|
|
2263
2401
|
_: 1
|
|
2264
2402
|
}),
|
|
2265
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2403
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2266
2404
|
key: 0,
|
|
2267
2405
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2268
2406
|
}, {
|
|
2269
2407
|
default: withCtx(() => [
|
|
2270
|
-
createElementVNode("span", _hoisted_1$
|
|
2408
|
+
createElementVNode("span", _hoisted_1$c, toDisplayString(_ctx.label), 1),
|
|
2271
2409
|
createVNode(unref(ReuseTemplate))
|
|
2272
2410
|
]),
|
|
2273
2411
|
_: 1
|
|
@@ -2277,7 +2415,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2277
2415
|
}
|
|
2278
2416
|
});
|
|
2279
2417
|
|
|
2280
|
-
const _sfc_main$
|
|
2418
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
2281
2419
|
__name: "NumberField",
|
|
2282
2420
|
props: {
|
|
2283
2421
|
defaultValue: {},
|
|
@@ -2319,7 +2457,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
2319
2457
|
}
|
|
2320
2458
|
});
|
|
2321
2459
|
|
|
2322
|
-
const _sfc_main$
|
|
2460
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
2323
2461
|
__name: "NumberFieldContent",
|
|
2324
2462
|
props: {
|
|
2325
2463
|
class: {}
|
|
@@ -2341,7 +2479,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
2341
2479
|
}
|
|
2342
2480
|
});
|
|
2343
2481
|
|
|
2344
|
-
const _sfc_main$
|
|
2482
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
2345
2483
|
__name: "NumberFieldDecrement",
|
|
2346
2484
|
props: {
|
|
2347
2485
|
disabled: { type: Boolean },
|
|
@@ -2374,7 +2512,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2374
2512
|
}
|
|
2375
2513
|
});
|
|
2376
2514
|
|
|
2377
|
-
const _sfc_main$
|
|
2515
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
2378
2516
|
__name: "NumberFieldIncrement",
|
|
2379
2517
|
props: {
|
|
2380
2518
|
disabled: { type: Boolean },
|
|
@@ -2407,7 +2545,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
2407
2545
|
}
|
|
2408
2546
|
});
|
|
2409
2547
|
|
|
2410
|
-
const _sfc_main$
|
|
2548
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
2411
2549
|
__name: "NumberFieldInput",
|
|
2412
2550
|
props: {
|
|
2413
2551
|
class: {}
|
|
@@ -2428,8 +2566,11 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2428
2566
|
}
|
|
2429
2567
|
});
|
|
2430
2568
|
|
|
2431
|
-
const _hoisted_1$
|
|
2432
|
-
const _sfc_main$
|
|
2569
|
+
const _hoisted_1$b = { class: "w-full" };
|
|
2570
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2571
|
+
...{
|
|
2572
|
+
inheritAttrs: false
|
|
2573
|
+
},
|
|
2433
2574
|
__name: "InputNumber",
|
|
2434
2575
|
props: {
|
|
2435
2576
|
class: {},
|
|
@@ -2445,7 +2586,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2445
2586
|
min: {},
|
|
2446
2587
|
modelValue: {},
|
|
2447
2588
|
step: {},
|
|
2448
|
-
stepSnapping: { type: Boolean }
|
|
2589
|
+
stepSnapping: { type: Boolean },
|
|
2590
|
+
style: {}
|
|
2449
2591
|
},
|
|
2450
2592
|
emits: ["update:modelValue"],
|
|
2451
2593
|
setup(__props, { emit: __emit }) {
|
|
@@ -2461,7 +2603,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2461
2603
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2462
2604
|
createVNode(unref(DefineTemplate), null, {
|
|
2463
2605
|
default: withCtx(() => [
|
|
2464
|
-
createVNode(unref(_sfc_main$
|
|
2606
|
+
createVNode(unref(_sfc_main$1T), mergeProps(_ctx.$attrs, {
|
|
2465
2607
|
modelValue: value.value,
|
|
2466
2608
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2467
2609
|
"default-value": _ctx.defaultValue,
|
|
@@ -2472,16 +2614,17 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2472
2614
|
max: _ctx.max,
|
|
2473
2615
|
step: _ctx.step,
|
|
2474
2616
|
"step-snapping": _ctx.stepSnapping,
|
|
2617
|
+
style: _ctx.style,
|
|
2475
2618
|
class: unref(cn)("w-full", props.class)
|
|
2476
2619
|
}), {
|
|
2477
2620
|
default: withCtx(() => [
|
|
2478
|
-
createVNode(unref(_sfc_main$
|
|
2621
|
+
createVNode(unref(_sfc_main$1S), null, {
|
|
2479
2622
|
default: withCtx(() => [
|
|
2480
|
-
createVNode(unref(_sfc_main$
|
|
2623
|
+
createVNode(unref(_sfc_main$1R), {
|
|
2481
2624
|
disabled: _ctx.disabled || _ctx.disableDecrement
|
|
2482
2625
|
}, null, 8, ["disabled"]),
|
|
2483
|
-
createVNode(unref(_sfc_main$
|
|
2484
|
-
createVNode(unref(_sfc_main$
|
|
2626
|
+
createVNode(unref(_sfc_main$1P)),
|
|
2627
|
+
createVNode(unref(_sfc_main$1Q), {
|
|
2485
2628
|
disabled: _ctx.disabled || _ctx.disableIncrement
|
|
2486
2629
|
}, null, 8, ["disabled"])
|
|
2487
2630
|
]),
|
|
@@ -2489,16 +2632,16 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2489
2632
|
})
|
|
2490
2633
|
]),
|
|
2491
2634
|
_: 1
|
|
2492
|
-
}, 16, ["modelValue", "default-value", "disabled", "disable-wheel-change", "format-options", "min", "max", "step", "step-snapping", "class"])
|
|
2635
|
+
}, 16, ["modelValue", "default-value", "disabled", "disable-wheel-change", "format-options", "min", "max", "step", "step-snapping", "style", "class"])
|
|
2493
2636
|
]),
|
|
2494
2637
|
_: 1
|
|
2495
2638
|
}),
|
|
2496
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2639
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2497
2640
|
key: 0,
|
|
2498
2641
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2499
2642
|
}, {
|
|
2500
2643
|
default: withCtx(() => [
|
|
2501
|
-
createElementVNode("span", _hoisted_1$
|
|
2644
|
+
createElementVNode("span", _hoisted_1$b, toDisplayString(_ctx.label), 1),
|
|
2502
2645
|
createVNode(unref(ReuseTemplate))
|
|
2503
2646
|
]),
|
|
2504
2647
|
_: 1
|
|
@@ -2508,7 +2651,10 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2508
2651
|
}
|
|
2509
2652
|
});
|
|
2510
2653
|
|
|
2511
|
-
const _sfc_main$
|
|
2654
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2655
|
+
...{
|
|
2656
|
+
inheritAttrs: false
|
|
2657
|
+
},
|
|
2512
2658
|
__name: "InputText",
|
|
2513
2659
|
props: /* @__PURE__ */ mergeModels({
|
|
2514
2660
|
autocomplete: {},
|
|
@@ -2523,7 +2669,8 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2523
2669
|
readonly: {},
|
|
2524
2670
|
required: {},
|
|
2525
2671
|
size: {},
|
|
2526
|
-
spellcheck: { default: "false" }
|
|
2672
|
+
spellcheck: { default: "false" },
|
|
2673
|
+
style: {}
|
|
2527
2674
|
}, {
|
|
2528
2675
|
"modelValue": { required: true },
|
|
2529
2676
|
"modelModifiers": {}
|
|
@@ -2532,7 +2679,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2532
2679
|
setup(__props) {
|
|
2533
2680
|
const value = useModel(__props, "modelValue");
|
|
2534
2681
|
return (_ctx, _cache) => {
|
|
2535
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2682
|
+
return openBlock(), createBlock(unref(_sfc_main$1U), {
|
|
2536
2683
|
modelValue: value.value,
|
|
2537
2684
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2538
2685
|
type: "text",
|
|
@@ -2548,14 +2695,15 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2548
2695
|
readonly: _ctx.readonly,
|
|
2549
2696
|
required: _ctx.required,
|
|
2550
2697
|
size: _ctx.size,
|
|
2551
|
-
spellcheck: _ctx.spellcheck
|
|
2552
|
-
|
|
2698
|
+
spellcheck: _ctx.spellcheck,
|
|
2699
|
+
style: normalizeStyle(_ctx.style)
|
|
2700
|
+
}, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "label", "label-class", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck", "style"]);
|
|
2553
2701
|
};
|
|
2554
2702
|
}
|
|
2555
2703
|
});
|
|
2556
2704
|
|
|
2557
|
-
const _hoisted_1$
|
|
2558
|
-
const _sfc_main$
|
|
2705
|
+
const _hoisted_1$a = { key: 0 };
|
|
2706
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2559
2707
|
__name: "Link",
|
|
2560
2708
|
props: {
|
|
2561
2709
|
label: {},
|
|
@@ -2567,7 +2715,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2567
2715
|
to: { name: _ctx.to }
|
|
2568
2716
|
}, {
|
|
2569
2717
|
default: withCtx(() => [
|
|
2570
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2718
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$a, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2571
2719
|
]),
|
|
2572
2720
|
_: 3
|
|
2573
2721
|
}, 8, ["to"]);
|
|
@@ -2575,7 +2723,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2575
2723
|
}
|
|
2576
2724
|
});
|
|
2577
2725
|
|
|
2578
|
-
const _sfc_main$
|
|
2726
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2579
2727
|
__name: "Menubar",
|
|
2580
2728
|
props: {
|
|
2581
2729
|
modelValue: {},
|
|
@@ -2606,8 +2754,8 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2606
2754
|
}
|
|
2607
2755
|
});
|
|
2608
2756
|
|
|
2609
|
-
const _hoisted_1$
|
|
2610
|
-
const _sfc_main$
|
|
2757
|
+
const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2758
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2611
2759
|
__name: "MenubarCheckboxItem",
|
|
2612
2760
|
props: {
|
|
2613
2761
|
modelValue: { type: [Boolean, String] },
|
|
@@ -2634,7 +2782,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2634
2782
|
)
|
|
2635
2783
|
}), {
|
|
2636
2784
|
default: withCtx(() => [
|
|
2637
|
-
createElementVNode("span", _hoisted_1$
|
|
2785
|
+
createElementVNode("span", _hoisted_1$9, [
|
|
2638
2786
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2639
2787
|
default: withCtx(() => [
|
|
2640
2788
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -2650,7 +2798,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2650
2798
|
}
|
|
2651
2799
|
});
|
|
2652
2800
|
|
|
2653
|
-
const _sfc_main$
|
|
2801
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2654
2802
|
__name: "MenubarContent",
|
|
2655
2803
|
props: {
|
|
2656
2804
|
forceMount: { type: Boolean },
|
|
@@ -2702,7 +2850,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2702
2850
|
}
|
|
2703
2851
|
});
|
|
2704
2852
|
|
|
2705
|
-
const _sfc_main$
|
|
2853
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2706
2854
|
__name: "MenubarGroup",
|
|
2707
2855
|
props: {
|
|
2708
2856
|
asChild: { type: Boolean },
|
|
@@ -2721,7 +2869,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2721
2869
|
}
|
|
2722
2870
|
});
|
|
2723
2871
|
|
|
2724
|
-
const _sfc_main$
|
|
2872
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2725
2873
|
__name: "MenubarItem",
|
|
2726
2874
|
props: {
|
|
2727
2875
|
disabled: { type: Boolean },
|
|
@@ -2758,7 +2906,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2758
2906
|
}
|
|
2759
2907
|
});
|
|
2760
2908
|
|
|
2761
|
-
const _sfc_main$
|
|
2909
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2762
2910
|
__name: "MenubarLabel",
|
|
2763
2911
|
props: {
|
|
2764
2912
|
asChild: { type: Boolean },
|
|
@@ -2784,7 +2932,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2784
2932
|
}
|
|
2785
2933
|
});
|
|
2786
2934
|
|
|
2787
|
-
const _sfc_main$
|
|
2935
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2788
2936
|
__name: "MenubarMenu",
|
|
2789
2937
|
props: {
|
|
2790
2938
|
value: {}
|
|
@@ -2802,7 +2950,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2802
2950
|
}
|
|
2803
2951
|
});
|
|
2804
2952
|
|
|
2805
|
-
const _sfc_main$
|
|
2953
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2806
2954
|
__name: "MenubarRadioGroup",
|
|
2807
2955
|
props: {
|
|
2808
2956
|
modelValue: {},
|
|
@@ -2825,8 +2973,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2825
2973
|
}
|
|
2826
2974
|
});
|
|
2827
2975
|
|
|
2828
|
-
const _hoisted_1$
|
|
2829
|
-
const _sfc_main$
|
|
2976
|
+
const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2977
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2830
2978
|
__name: "MenubarRadioItem",
|
|
2831
2979
|
props: {
|
|
2832
2980
|
value: {},
|
|
@@ -2853,7 +3001,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2853
3001
|
)
|
|
2854
3002
|
}), {
|
|
2855
3003
|
default: withCtx(() => [
|
|
2856
|
-
createElementVNode("span", _hoisted_1$
|
|
3004
|
+
createElementVNode("span", _hoisted_1$8, [
|
|
2857
3005
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2858
3006
|
default: withCtx(() => [
|
|
2859
3007
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -2869,7 +3017,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2869
3017
|
}
|
|
2870
3018
|
});
|
|
2871
3019
|
|
|
2872
|
-
const _sfc_main$
|
|
3020
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2873
3021
|
__name: "MenubarSeparator",
|
|
2874
3022
|
props: {
|
|
2875
3023
|
asChild: { type: Boolean },
|
|
@@ -2892,7 +3040,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
2892
3040
|
}
|
|
2893
3041
|
});
|
|
2894
3042
|
|
|
2895
|
-
const _sfc_main$
|
|
3043
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
2896
3044
|
__name: "MenubarShortcut",
|
|
2897
3045
|
props: {
|
|
2898
3046
|
class: {}
|
|
@@ -2910,7 +3058,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
2910
3058
|
}
|
|
2911
3059
|
});
|
|
2912
3060
|
|
|
2913
|
-
const _sfc_main$
|
|
3061
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
2914
3062
|
__name: "MenubarSub",
|
|
2915
3063
|
props: {
|
|
2916
3064
|
defaultOpen: { type: Boolean },
|
|
@@ -2932,7 +3080,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
2932
3080
|
}
|
|
2933
3081
|
});
|
|
2934
3082
|
|
|
2935
|
-
const _sfc_main$
|
|
3083
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
2936
3084
|
__name: "MenubarSubContent",
|
|
2937
3085
|
props: {
|
|
2938
3086
|
forceMount: { type: Boolean },
|
|
@@ -2984,7 +3132,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2984
3132
|
}
|
|
2985
3133
|
});
|
|
2986
3134
|
|
|
2987
|
-
const _sfc_main$
|
|
3135
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
2988
3136
|
__name: "MenubarSubTrigger",
|
|
2989
3137
|
props: {
|
|
2990
3138
|
disabled: { type: Boolean },
|
|
@@ -3018,7 +3166,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
3018
3166
|
}
|
|
3019
3167
|
});
|
|
3020
3168
|
|
|
3021
|
-
const _sfc_main$
|
|
3169
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
3022
3170
|
__name: "MenubarTrigger",
|
|
3023
3171
|
props: {
|
|
3024
3172
|
disabled: { type: Boolean },
|
|
@@ -3049,7 +3197,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
3049
3197
|
}
|
|
3050
3198
|
});
|
|
3051
3199
|
|
|
3052
|
-
const _sfc_main$
|
|
3200
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
3053
3201
|
__name: "Pagination",
|
|
3054
3202
|
props: {
|
|
3055
3203
|
page: {},
|
|
@@ -3082,7 +3230,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
3082
3230
|
}
|
|
3083
3231
|
});
|
|
3084
3232
|
|
|
3085
|
-
const _sfc_main$
|
|
3233
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
3086
3234
|
__name: "PaginationContent",
|
|
3087
3235
|
props: {
|
|
3088
3236
|
asChild: { type: Boolean },
|
|
@@ -3108,7 +3256,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
3108
3256
|
}
|
|
3109
3257
|
});
|
|
3110
3258
|
|
|
3111
|
-
const _sfc_main$
|
|
3259
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
3112
3260
|
__name: "PaginationEllipsis",
|
|
3113
3261
|
props: {
|
|
3114
3262
|
asChild: { type: Boolean },
|
|
@@ -3137,7 +3285,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
3137
3285
|
}
|
|
3138
3286
|
});
|
|
3139
3287
|
|
|
3140
|
-
const _sfc_main$
|
|
3288
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
3141
3289
|
__name: "PaginationFirst",
|
|
3142
3290
|
props: {
|
|
3143
3291
|
asChild: { type: Boolean },
|
|
@@ -3166,7 +3314,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
3166
3314
|
}
|
|
3167
3315
|
});
|
|
3168
3316
|
|
|
3169
|
-
const _sfc_main$
|
|
3317
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
3170
3318
|
__name: "PaginationItem",
|
|
3171
3319
|
props: {
|
|
3172
3320
|
value: {},
|
|
@@ -3198,7 +3346,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
3198
3346
|
}
|
|
3199
3347
|
});
|
|
3200
3348
|
|
|
3201
|
-
const _sfc_main$
|
|
3349
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
3202
3350
|
__name: "PaginationLast",
|
|
3203
3351
|
props: {
|
|
3204
3352
|
asChild: { type: Boolean },
|
|
@@ -3227,7 +3375,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
3227
3375
|
}
|
|
3228
3376
|
});
|
|
3229
3377
|
|
|
3230
|
-
const _sfc_main$
|
|
3378
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
3231
3379
|
__name: "PaginationNext",
|
|
3232
3380
|
props: {
|
|
3233
3381
|
asChild: { type: Boolean },
|
|
@@ -3256,7 +3404,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
3256
3404
|
}
|
|
3257
3405
|
});
|
|
3258
3406
|
|
|
3259
|
-
const _sfc_main$
|
|
3407
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
3260
3408
|
__name: "PaginationPrevious",
|
|
3261
3409
|
props: {
|
|
3262
3410
|
asChild: { type: Boolean },
|
|
@@ -3285,7 +3433,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
3285
3433
|
}
|
|
3286
3434
|
});
|
|
3287
3435
|
|
|
3288
|
-
const _sfc_main$
|
|
3436
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
3289
3437
|
__name: "Popover",
|
|
3290
3438
|
props: {
|
|
3291
3439
|
defaultOpen: { type: Boolean },
|
|
@@ -3308,7 +3456,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3308
3456
|
}
|
|
3309
3457
|
});
|
|
3310
3458
|
|
|
3311
|
-
const _sfc_main$
|
|
3459
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
3312
3460
|
...{
|
|
3313
3461
|
inheritAttrs: false
|
|
3314
3462
|
},
|
|
@@ -3365,7 +3513,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3365
3513
|
}
|
|
3366
3514
|
});
|
|
3367
3515
|
|
|
3368
|
-
const _sfc_main$
|
|
3516
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3369
3517
|
__name: "PopoverTrigger",
|
|
3370
3518
|
props: {
|
|
3371
3519
|
asChild: { type: Boolean },
|
|
@@ -3384,7 +3532,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
3384
3532
|
}
|
|
3385
3533
|
});
|
|
3386
3534
|
|
|
3387
|
-
const _sfc_main$
|
|
3535
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
3388
3536
|
__name: "Popover",
|
|
3389
3537
|
props: /* @__PURE__ */ mergeModels({
|
|
3390
3538
|
contentClass: {},
|
|
@@ -3409,18 +3557,18 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3409
3557
|
}
|
|
3410
3558
|
__expose({ close, open });
|
|
3411
3559
|
return (_ctx, _cache) => {
|
|
3412
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3560
|
+
return openBlock(), createBlock(unref(_sfc_main$1o), {
|
|
3413
3561
|
open: isOpen.value,
|
|
3414
3562
|
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event)
|
|
3415
3563
|
}, {
|
|
3416
3564
|
default: withCtx(() => [
|
|
3417
|
-
createVNode(unref(_sfc_main$
|
|
3565
|
+
createVNode(unref(_sfc_main$1m), { "as-child": "" }, {
|
|
3418
3566
|
default: withCtx(() => [
|
|
3419
3567
|
renderSlot(_ctx.$slots, "trigger")
|
|
3420
3568
|
]),
|
|
3421
3569
|
_: 3
|
|
3422
3570
|
}),
|
|
3423
|
-
createVNode(unref(_sfc_main$
|
|
3571
|
+
createVNode(unref(_sfc_main$1n), {
|
|
3424
3572
|
ref: "contentEl",
|
|
3425
3573
|
class: normalizeClass(_ctx.contentClass)
|
|
3426
3574
|
}, {
|
|
@@ -3436,7 +3584,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3436
3584
|
}
|
|
3437
3585
|
});
|
|
3438
3586
|
|
|
3439
|
-
const _sfc_main$
|
|
3587
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
3440
3588
|
__name: "Progress",
|
|
3441
3589
|
props: {
|
|
3442
3590
|
modelValue: { default: 0 },
|
|
@@ -3469,7 +3617,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3469
3617
|
}
|
|
3470
3618
|
});
|
|
3471
3619
|
|
|
3472
|
-
const _sfc_main$
|
|
3620
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
3473
3621
|
__name: "RadioGroup",
|
|
3474
3622
|
props: {
|
|
3475
3623
|
modelValue: {},
|
|
@@ -3507,7 +3655,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
3507
3655
|
}
|
|
3508
3656
|
});
|
|
3509
3657
|
|
|
3510
|
-
const _sfc_main$
|
|
3658
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
3511
3659
|
__name: "RadioGroupItem",
|
|
3512
3660
|
props: {
|
|
3513
3661
|
id: {},
|
|
@@ -3550,7 +3698,110 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
3550
3698
|
}
|
|
3551
3699
|
});
|
|
3552
3700
|
|
|
3553
|
-
const
|
|
3701
|
+
const _hoisted_1$7 = {
|
|
3702
|
+
key: 0,
|
|
3703
|
+
class: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
|
|
3704
|
+
};
|
|
3705
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
3706
|
+
__name: "ResizableHandle",
|
|
3707
|
+
props: {
|
|
3708
|
+
id: {},
|
|
3709
|
+
hitAreaMargins: {},
|
|
3710
|
+
tabindex: {},
|
|
3711
|
+
disabled: { type: Boolean },
|
|
3712
|
+
asChild: { type: Boolean },
|
|
3713
|
+
as: {},
|
|
3714
|
+
class: {},
|
|
3715
|
+
withHandle: { type: Boolean }
|
|
3716
|
+
},
|
|
3717
|
+
emits: ["dragging"],
|
|
3718
|
+
setup(__props, { emit: __emit }) {
|
|
3719
|
+
const props = __props;
|
|
3720
|
+
const emits = __emit;
|
|
3721
|
+
const delegatedProps = reactiveOmit(props, "class", "withHandle");
|
|
3722
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
3723
|
+
return (_ctx, _cache) => {
|
|
3724
|
+
return openBlock(), createBlock(unref(SplitterResizeHandle), mergeProps({ "data-slot": "resizable-handle" }, unref(forwarded), {
|
|
3725
|
+
class: unref(cn)(
|
|
3726
|
+
"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",
|
|
3727
|
+
props.class
|
|
3728
|
+
)
|
|
3729
|
+
}), {
|
|
3730
|
+
default: withCtx(() => [
|
|
3731
|
+
props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
3732
|
+
createVNode(unref(GripVertical), { class: "size-2.5" })
|
|
3733
|
+
])) : createCommentVNode("", true)
|
|
3734
|
+
]),
|
|
3735
|
+
_: 1
|
|
3736
|
+
}, 16, ["class"]);
|
|
3737
|
+
};
|
|
3738
|
+
}
|
|
3739
|
+
});
|
|
3740
|
+
|
|
3741
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
3742
|
+
__name: "ResizablePanel",
|
|
3743
|
+
props: {
|
|
3744
|
+
collapsedSize: {},
|
|
3745
|
+
collapsible: { type: Boolean },
|
|
3746
|
+
defaultSize: {},
|
|
3747
|
+
id: {},
|
|
3748
|
+
maxSize: {},
|
|
3749
|
+
minSize: {},
|
|
3750
|
+
order: {},
|
|
3751
|
+
asChild: { type: Boolean },
|
|
3752
|
+
as: {}
|
|
3753
|
+
},
|
|
3754
|
+
emits: ["collapse", "expand", "resize"],
|
|
3755
|
+
setup(__props, { emit: __emit }) {
|
|
3756
|
+
const props = __props;
|
|
3757
|
+
const emits = __emit;
|
|
3758
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
3759
|
+
return (_ctx, _cache) => {
|
|
3760
|
+
return openBlock(), createBlock(unref(SplitterPanel), mergeProps({ "data-slot": "resizable-panel" }, unref(forwarded)), {
|
|
3761
|
+
default: withCtx(() => [
|
|
3762
|
+
renderSlot(_ctx.$slots, "default")
|
|
3763
|
+
]),
|
|
3764
|
+
_: 3
|
|
3765
|
+
}, 16);
|
|
3766
|
+
};
|
|
3767
|
+
}
|
|
3768
|
+
});
|
|
3769
|
+
|
|
3770
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
3771
|
+
__name: "ResizablePanelGroup",
|
|
3772
|
+
props: {
|
|
3773
|
+
id: {},
|
|
3774
|
+
autoSaveId: {},
|
|
3775
|
+
direction: {},
|
|
3776
|
+
keyboardResizeBy: {},
|
|
3777
|
+
storage: {},
|
|
3778
|
+
asChild: { type: Boolean },
|
|
3779
|
+
as: {},
|
|
3780
|
+
class: {}
|
|
3781
|
+
},
|
|
3782
|
+
emits: ["layout"],
|
|
3783
|
+
setup(__props, { emit: __emit }) {
|
|
3784
|
+
const props = __props;
|
|
3785
|
+
const emits = __emit;
|
|
3786
|
+
const delegatedProps = computed(() => {
|
|
3787
|
+
const { class: _, ...delegated } = props;
|
|
3788
|
+
return delegated;
|
|
3789
|
+
});
|
|
3790
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
3791
|
+
return (_ctx, _cache) => {
|
|
3792
|
+
return openBlock(), createBlock(unref(SplitterGroup), mergeProps({ "data-slot": "resizable-panel-group" }, unref(forwarded), {
|
|
3793
|
+
class: unref(cn)("flex h-full w-full data-[orientation=vertical]:flex-col", props.class)
|
|
3794
|
+
}), {
|
|
3795
|
+
default: withCtx(() => [
|
|
3796
|
+
renderSlot(_ctx.$slots, "default")
|
|
3797
|
+
]),
|
|
3798
|
+
_: 3
|
|
3799
|
+
}, 16, ["class"]);
|
|
3800
|
+
};
|
|
3801
|
+
}
|
|
3802
|
+
});
|
|
3803
|
+
|
|
3804
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
3554
3805
|
__name: "Select",
|
|
3555
3806
|
props: {
|
|
3556
3807
|
open: { type: Boolean },
|
|
@@ -3581,7 +3832,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
3581
3832
|
}
|
|
3582
3833
|
});
|
|
3583
3834
|
|
|
3584
|
-
const _sfc_main$
|
|
3835
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
3585
3836
|
...{
|
|
3586
3837
|
inheritAttrs: false
|
|
3587
3838
|
},
|
|
@@ -3629,7 +3880,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3629
3880
|
)
|
|
3630
3881
|
}), {
|
|
3631
3882
|
default: withCtx(() => [
|
|
3632
|
-
createVNode(unref(_sfc_main$
|
|
3883
|
+
createVNode(unref(_sfc_main$17)),
|
|
3633
3884
|
createVNode(unref(SelectViewport), {
|
|
3634
3885
|
class: normalizeClass(
|
|
3635
3886
|
unref(cn)(
|
|
@@ -3643,7 +3894,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3643
3894
|
]),
|
|
3644
3895
|
_: 3
|
|
3645
3896
|
}, 8, ["class"]),
|
|
3646
|
-
createVNode(unref(_sfc_main$
|
|
3897
|
+
createVNode(unref(_sfc_main$18))
|
|
3647
3898
|
]),
|
|
3648
3899
|
_: 3
|
|
3649
3900
|
}, 16, ["class"])
|
|
@@ -3654,7 +3905,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3654
3905
|
}
|
|
3655
3906
|
});
|
|
3656
3907
|
|
|
3657
|
-
const _sfc_main$
|
|
3908
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
3658
3909
|
__name: "SelectGroup",
|
|
3659
3910
|
props: {
|
|
3660
3911
|
asChild: { type: Boolean },
|
|
@@ -3674,7 +3925,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3674
3925
|
});
|
|
3675
3926
|
|
|
3676
3927
|
const _hoisted_1$6 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
3677
|
-
const _sfc_main$
|
|
3928
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
3678
3929
|
__name: "SelectItem",
|
|
3679
3930
|
props: {
|
|
3680
3931
|
value: {},
|
|
@@ -3720,7 +3971,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
3720
3971
|
}
|
|
3721
3972
|
});
|
|
3722
3973
|
|
|
3723
|
-
const _sfc_main$
|
|
3974
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
3724
3975
|
__name: "SelectItemText",
|
|
3725
3976
|
props: {
|
|
3726
3977
|
asChild: { type: Boolean },
|
|
@@ -3739,7 +3990,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
3739
3990
|
}
|
|
3740
3991
|
});
|
|
3741
3992
|
|
|
3742
|
-
const _sfc_main$
|
|
3993
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
3743
3994
|
__name: "SelectLabel",
|
|
3744
3995
|
props: {
|
|
3745
3996
|
for: {},
|
|
@@ -3763,7 +4014,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
3763
4014
|
}
|
|
3764
4015
|
});
|
|
3765
4016
|
|
|
3766
|
-
const _sfc_main$
|
|
4017
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
3767
4018
|
__name: "SelectScrollDownButton",
|
|
3768
4019
|
props: {
|
|
3769
4020
|
asChild: { type: Boolean },
|
|
@@ -3792,7 +4043,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3792
4043
|
}
|
|
3793
4044
|
});
|
|
3794
4045
|
|
|
3795
|
-
const _sfc_main$
|
|
4046
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
3796
4047
|
__name: "SelectScrollUpButton",
|
|
3797
4048
|
props: {
|
|
3798
4049
|
asChild: { type: Boolean },
|
|
@@ -3821,7 +4072,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
3821
4072
|
}
|
|
3822
4073
|
});
|
|
3823
4074
|
|
|
3824
|
-
const _sfc_main$
|
|
4075
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
3825
4076
|
__name: "SelectSeparator",
|
|
3826
4077
|
props: {
|
|
3827
4078
|
asChild: { type: Boolean },
|
|
@@ -3842,7 +4093,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3842
4093
|
}
|
|
3843
4094
|
});
|
|
3844
4095
|
|
|
3845
|
-
const _sfc_main$
|
|
4096
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3846
4097
|
__name: "SelectTrigger",
|
|
3847
4098
|
props: {
|
|
3848
4099
|
disabled: { type: Boolean },
|
|
@@ -3881,7 +4132,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3881
4132
|
}
|
|
3882
4133
|
});
|
|
3883
4134
|
|
|
3884
|
-
const _sfc_main$
|
|
4135
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3885
4136
|
__name: "SelectValue",
|
|
3886
4137
|
props: {
|
|
3887
4138
|
placeholder: {},
|
|
@@ -3903,11 +4154,15 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3903
4154
|
|
|
3904
4155
|
const _hoisted_1$5 = { class: "flex w-full items-center justify-center gap-2" };
|
|
3905
4156
|
const _hoisted_2$1 = { class: "w-full" };
|
|
3906
|
-
const _sfc_main$
|
|
4157
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
4158
|
+
...{
|
|
4159
|
+
inheritAttrs: false
|
|
4160
|
+
},
|
|
3907
4161
|
__name: "Select",
|
|
3908
4162
|
props: {
|
|
3909
4163
|
autocomplete: {},
|
|
3910
4164
|
autofocus: {},
|
|
4165
|
+
class: {},
|
|
3911
4166
|
contentClass: {},
|
|
3912
4167
|
disabled: { type: Boolean },
|
|
3913
4168
|
label: {},
|
|
@@ -3915,6 +4170,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3915
4170
|
modelValue: {},
|
|
3916
4171
|
placeholder: {},
|
|
3917
4172
|
required: { type: Boolean },
|
|
4173
|
+
style: {},
|
|
3918
4174
|
triggerClass: {}
|
|
3919
4175
|
},
|
|
3920
4176
|
emits: ["update:modelValue"],
|
|
@@ -3932,24 +4188,26 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3932
4188
|
createVNode(unref(DefineTemplate), null, {
|
|
3933
4189
|
default: withCtx(() => [
|
|
3934
4190
|
createElementVNode("div", _hoisted_1$5, [
|
|
3935
|
-
createVNode(unref(_sfc_main$
|
|
4191
|
+
createVNode(unref(_sfc_main$1e), mergeProps(_ctx.$attrs, {
|
|
3936
4192
|
modelValue: value.value,
|
|
3937
4193
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
3938
4194
|
autocomplete: _ctx.autocomplete,
|
|
3939
4195
|
autofocus: _ctx.autofocus,
|
|
3940
4196
|
disabled: _ctx.disabled,
|
|
3941
|
-
required: _ctx.required
|
|
4197
|
+
required: _ctx.required,
|
|
4198
|
+
style: _ctx.style,
|
|
4199
|
+
class: props.class
|
|
3942
4200
|
}), {
|
|
3943
4201
|
default: withCtx(() => [
|
|
3944
|
-
createVNode(unref(_sfc_main$
|
|
4202
|
+
createVNode(unref(_sfc_main$15), {
|
|
3945
4203
|
class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
|
|
3946
4204
|
}, {
|
|
3947
4205
|
default: withCtx(() => [
|
|
3948
|
-
createVNode(unref(_sfc_main$
|
|
4206
|
+
createVNode(unref(_sfc_main$14), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
|
|
3949
4207
|
]),
|
|
3950
4208
|
_: 1
|
|
3951
4209
|
}, 8, ["class"]),
|
|
3952
|
-
createVNode(unref(_sfc_main$
|
|
4210
|
+
createVNode(unref(_sfc_main$1d), {
|
|
3953
4211
|
class: normalizeClass(_ctx.contentClass)
|
|
3954
4212
|
}, {
|
|
3955
4213
|
default: withCtx(() => [
|
|
@@ -3959,13 +4217,13 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3959
4217
|
}, 8, ["class"])
|
|
3960
4218
|
]),
|
|
3961
4219
|
_: 3
|
|
3962
|
-
}, 16, ["modelValue", "autocomplete", "autofocus", "disabled", "required"]),
|
|
4220
|
+
}, 16, ["modelValue", "autocomplete", "autofocus", "disabled", "required", "style", "class"]),
|
|
3963
4221
|
renderSlot(_ctx.$slots, "action")
|
|
3964
4222
|
])
|
|
3965
4223
|
]),
|
|
3966
4224
|
_: 3
|
|
3967
4225
|
}),
|
|
3968
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4226
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
3969
4227
|
key: 0,
|
|
3970
4228
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
3971
4229
|
}, {
|
|
@@ -3980,7 +4238,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3980
4238
|
}
|
|
3981
4239
|
});
|
|
3982
4240
|
|
|
3983
|
-
const _sfc_main$
|
|
4241
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3984
4242
|
__name: "Separator",
|
|
3985
4243
|
props: {
|
|
3986
4244
|
orientation: { default: "horizontal" },
|
|
@@ -4003,7 +4261,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
4003
4261
|
}
|
|
4004
4262
|
});
|
|
4005
4263
|
|
|
4006
|
-
const _sfc_main$
|
|
4264
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
4007
4265
|
__name: "Sheet",
|
|
4008
4266
|
props: {
|
|
4009
4267
|
open: { type: Boolean },
|
|
@@ -4026,7 +4284,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
4026
4284
|
}
|
|
4027
4285
|
});
|
|
4028
4286
|
|
|
4029
|
-
const _sfc_main
|
|
4287
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
4030
4288
|
__name: "SheetClose",
|
|
4031
4289
|
props: {
|
|
4032
4290
|
asChild: { type: Boolean },
|
|
@@ -4045,7 +4303,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
4045
4303
|
}
|
|
4046
4304
|
});
|
|
4047
4305
|
|
|
4048
|
-
const _sfc_main
|
|
4306
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
4049
4307
|
__name: "SheetOverlay",
|
|
4050
4308
|
props: {
|
|
4051
4309
|
forceMount: { type: Boolean },
|
|
@@ -4076,7 +4334,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4076
4334
|
}
|
|
4077
4335
|
});
|
|
4078
4336
|
|
|
4079
|
-
const _sfc_main$
|
|
4337
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
4080
4338
|
...{
|
|
4081
4339
|
inheritAttrs: false
|
|
4082
4340
|
},
|
|
@@ -4099,7 +4357,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4099
4357
|
return (_ctx, _cache) => {
|
|
4100
4358
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
4101
4359
|
default: withCtx(() => [
|
|
4102
|
-
createVNode(_sfc_main
|
|
4360
|
+
createVNode(_sfc_main$$),
|
|
4103
4361
|
createVNode(unref(DialogContent), mergeProps({
|
|
4104
4362
|
"data-slot": "sheet-content",
|
|
4105
4363
|
class: unref(cn)(
|
|
@@ -4130,7 +4388,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
4130
4388
|
}
|
|
4131
4389
|
});
|
|
4132
4390
|
|
|
4133
|
-
const _sfc_main$
|
|
4391
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
4134
4392
|
__name: "SheetDescription",
|
|
4135
4393
|
props: {
|
|
4136
4394
|
asChild: { type: Boolean },
|
|
@@ -4157,7 +4415,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
4157
4415
|
}
|
|
4158
4416
|
});
|
|
4159
4417
|
|
|
4160
|
-
const _sfc_main$
|
|
4418
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
4161
4419
|
__name: "SheetFooter",
|
|
4162
4420
|
props: {
|
|
4163
4421
|
class: {}
|
|
@@ -4175,7 +4433,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
4175
4433
|
}
|
|
4176
4434
|
});
|
|
4177
4435
|
|
|
4178
|
-
const _sfc_main$
|
|
4436
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
4179
4437
|
__name: "SheetHeader",
|
|
4180
4438
|
props: {
|
|
4181
4439
|
class: {}
|
|
@@ -4193,7 +4451,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
4193
4451
|
}
|
|
4194
4452
|
});
|
|
4195
4453
|
|
|
4196
|
-
const _sfc_main$
|
|
4454
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
4197
4455
|
__name: "SheetTitle",
|
|
4198
4456
|
props: {
|
|
4199
4457
|
asChild: { type: Boolean },
|
|
@@ -4220,7 +4478,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
4220
4478
|
}
|
|
4221
4479
|
});
|
|
4222
4480
|
|
|
4223
|
-
const _sfc_main$
|
|
4481
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
4224
4482
|
__name: "SheetTrigger",
|
|
4225
4483
|
props: {
|
|
4226
4484
|
asChild: { type: Boolean },
|
|
@@ -4253,7 +4511,7 @@ const _hoisted_3 = {
|
|
|
4253
4511
|
"data-sidebar": "sidebar",
|
|
4254
4512
|
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"
|
|
4255
4513
|
};
|
|
4256
|
-
const _sfc_main$
|
|
4514
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
4257
4515
|
...{
|
|
4258
4516
|
inheritAttrs: false
|
|
4259
4517
|
},
|
|
@@ -4274,12 +4532,12 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4274
4532
|
class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
4275
4533
|
}, _ctx.$attrs), [
|
|
4276
4534
|
renderSlot(_ctx.$slots, "default")
|
|
4277
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4535
|
+
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$11), mergeProps({
|
|
4278
4536
|
key: 1,
|
|
4279
4537
|
open: unref(openMobile)
|
|
4280
4538
|
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
4281
4539
|
default: withCtx(() => [
|
|
4282
|
-
createVNode(unref(_sfc_main$
|
|
4540
|
+
createVNode(unref(_sfc_main$_), {
|
|
4283
4541
|
"data-sidebar": "sidebar",
|
|
4284
4542
|
"data-slot": "sidebar",
|
|
4285
4543
|
"data-mobile": "true",
|
|
@@ -4290,15 +4548,15 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4290
4548
|
})
|
|
4291
4549
|
}, {
|
|
4292
4550
|
default: withCtx(() => [
|
|
4293
|
-
createVNode(_sfc_main$
|
|
4551
|
+
createVNode(_sfc_main$X, { class: "sr-only" }, {
|
|
4294
4552
|
default: withCtx(() => [
|
|
4295
|
-
createVNode(_sfc_main$
|
|
4553
|
+
createVNode(_sfc_main$W, null, {
|
|
4296
4554
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
4297
4555
|
createTextVNode("Sidebar")
|
|
4298
4556
|
])),
|
|
4299
4557
|
_: 1
|
|
4300
4558
|
}),
|
|
4301
|
-
createVNode(_sfc_main$
|
|
4559
|
+
createVNode(_sfc_main$Z, null, {
|
|
4302
4560
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
4303
4561
|
createTextVNode("Displays the mobile sidebar.")
|
|
4304
4562
|
])),
|
|
@@ -4352,7 +4610,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4352
4610
|
}
|
|
4353
4611
|
});
|
|
4354
4612
|
|
|
4355
|
-
const _sfc_main$
|
|
4613
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
4356
4614
|
__name: "SidebarContent",
|
|
4357
4615
|
props: {
|
|
4358
4616
|
class: {}
|
|
@@ -4376,7 +4634,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
4376
4634
|
}
|
|
4377
4635
|
});
|
|
4378
4636
|
|
|
4379
|
-
const _sfc_main$
|
|
4637
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
4380
4638
|
__name: "SidebarFooter",
|
|
4381
4639
|
props: {
|
|
4382
4640
|
class: {}
|
|
@@ -4395,7 +4653,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
4395
4653
|
}
|
|
4396
4654
|
});
|
|
4397
4655
|
|
|
4398
|
-
const _sfc_main$
|
|
4656
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
4399
4657
|
__name: "SidebarGroup",
|
|
4400
4658
|
props: {
|
|
4401
4659
|
class: {}
|
|
@@ -4414,7 +4672,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
4414
4672
|
}
|
|
4415
4673
|
});
|
|
4416
4674
|
|
|
4417
|
-
const _sfc_main$
|
|
4675
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
4418
4676
|
__name: "SidebarGroupAction",
|
|
4419
4677
|
props: {
|
|
4420
4678
|
asChild: { type: Boolean },
|
|
@@ -4447,7 +4705,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4447
4705
|
}
|
|
4448
4706
|
});
|
|
4449
4707
|
|
|
4450
|
-
const _sfc_main$
|
|
4708
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
4451
4709
|
__name: "SidebarGroupContent",
|
|
4452
4710
|
props: {
|
|
4453
4711
|
class: {}
|
|
@@ -4466,7 +4724,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
4466
4724
|
}
|
|
4467
4725
|
});
|
|
4468
4726
|
|
|
4469
|
-
const _sfc_main$
|
|
4727
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
4470
4728
|
__name: "SidebarGroupLabel",
|
|
4471
4729
|
props: {
|
|
4472
4730
|
asChild: { type: Boolean },
|
|
@@ -4498,7 +4756,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
4498
4756
|
}
|
|
4499
4757
|
});
|
|
4500
4758
|
|
|
4501
|
-
const _sfc_main$
|
|
4759
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
4502
4760
|
__name: "SidebarHeader",
|
|
4503
4761
|
props: {
|
|
4504
4762
|
class: {}
|
|
@@ -4517,7 +4775,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4517
4775
|
}
|
|
4518
4776
|
});
|
|
4519
4777
|
|
|
4520
|
-
const _sfc_main$
|
|
4778
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
4521
4779
|
__name: "SidebarInset",
|
|
4522
4780
|
props: {
|
|
4523
4781
|
class: {}
|
|
@@ -4541,7 +4799,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4541
4799
|
}
|
|
4542
4800
|
});
|
|
4543
4801
|
|
|
4544
|
-
const _sfc_main$
|
|
4802
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
4545
4803
|
__name: "SidebarMenu",
|
|
4546
4804
|
props: {
|
|
4547
4805
|
class: {}
|
|
@@ -4560,7 +4818,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
4560
4818
|
}
|
|
4561
4819
|
});
|
|
4562
4820
|
|
|
4563
|
-
const _sfc_main$
|
|
4821
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
4564
4822
|
__name: "SidebarMenuAction",
|
|
4565
4823
|
props: {
|
|
4566
4824
|
asChild: { type: Boolean },
|
|
@@ -4598,7 +4856,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
4598
4856
|
}
|
|
4599
4857
|
});
|
|
4600
4858
|
|
|
4601
|
-
const _sfc_main$
|
|
4859
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
4602
4860
|
__name: "SidebarMenuBadge",
|
|
4603
4861
|
props: {
|
|
4604
4862
|
class: {}
|
|
@@ -4627,7 +4885,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
4627
4885
|
}
|
|
4628
4886
|
});
|
|
4629
4887
|
|
|
4630
|
-
const _sfc_main$
|
|
4888
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
4631
4889
|
__name: "Tooltip",
|
|
4632
4890
|
props: {
|
|
4633
4891
|
defaultOpen: { type: Boolean },
|
|
@@ -4654,7 +4912,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
4654
4912
|
}
|
|
4655
4913
|
});
|
|
4656
4914
|
|
|
4657
|
-
const _sfc_main$
|
|
4915
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
4658
4916
|
...{
|
|
4659
4917
|
inheritAttrs: false
|
|
4660
4918
|
},
|
|
@@ -4706,7 +4964,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4706
4964
|
}
|
|
4707
4965
|
});
|
|
4708
4966
|
|
|
4709
|
-
const _sfc_main$
|
|
4967
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4710
4968
|
__name: "TooltipProvider",
|
|
4711
4969
|
props: {
|
|
4712
4970
|
delayDuration: { default: 0 },
|
|
@@ -4729,7 +4987,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
4729
4987
|
}
|
|
4730
4988
|
});
|
|
4731
4989
|
|
|
4732
|
-
const _sfc_main$
|
|
4990
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
4733
4991
|
__name: "TooltipTrigger",
|
|
4734
4992
|
props: {
|
|
4735
4993
|
reference: {},
|
|
@@ -4749,7 +5007,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
4749
5007
|
}
|
|
4750
5008
|
});
|
|
4751
5009
|
|
|
4752
|
-
const _sfc_main$
|
|
5010
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
4753
5011
|
__name: "SidebarMenuButtonChild",
|
|
4754
5012
|
props: {
|
|
4755
5013
|
variant: { default: "default" },
|
|
@@ -4780,7 +5038,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
4780
5038
|
}
|
|
4781
5039
|
});
|
|
4782
5040
|
|
|
4783
|
-
const _sfc_main$
|
|
5041
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
4784
5042
|
...{
|
|
4785
5043
|
inheritAttrs: false
|
|
4786
5044
|
},
|
|
@@ -4802,16 +5060,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4802
5060
|
return delegated;
|
|
4803
5061
|
});
|
|
4804
5062
|
return (_ctx, _cache) => {
|
|
4805
|
-
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$
|
|
5063
|
+
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$E, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4806
5064
|
default: withCtx(() => [
|
|
4807
5065
|
renderSlot(_ctx.$slots, "default")
|
|
4808
5066
|
]),
|
|
4809
5067
|
_: 3
|
|
4810
|
-
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
5068
|
+
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$I), { key: 1 }, {
|
|
4811
5069
|
default: withCtx(() => [
|
|
4812
|
-
createVNode(unref(_sfc_main$
|
|
5070
|
+
createVNode(unref(_sfc_main$F), { "as-child": "" }, {
|
|
4813
5071
|
default: withCtx(() => [
|
|
4814
|
-
createVNode(_sfc_main$
|
|
5072
|
+
createVNode(_sfc_main$E, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4815
5073
|
default: withCtx(() => [
|
|
4816
5074
|
renderSlot(_ctx.$slots, "default")
|
|
4817
5075
|
]),
|
|
@@ -4820,7 +5078,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4820
5078
|
]),
|
|
4821
5079
|
_: 3
|
|
4822
5080
|
}),
|
|
4823
|
-
createVNode(unref(_sfc_main$
|
|
5081
|
+
createVNode(unref(_sfc_main$H), {
|
|
4824
5082
|
side: "right",
|
|
4825
5083
|
align: "center",
|
|
4826
5084
|
hidden: unref(state) !== "collapsed" || unref(isMobile)
|
|
@@ -4839,7 +5097,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4839
5097
|
}
|
|
4840
5098
|
});
|
|
4841
5099
|
|
|
4842
|
-
const _sfc_main$
|
|
5100
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
4843
5101
|
__name: "SidebarMenuItem",
|
|
4844
5102
|
props: {
|
|
4845
5103
|
class: {}
|
|
@@ -4858,7 +5116,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
4858
5116
|
}
|
|
4859
5117
|
});
|
|
4860
5118
|
|
|
4861
|
-
const _sfc_main$
|
|
5119
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
4862
5120
|
__name: "Skeleton",
|
|
4863
5121
|
props: {
|
|
4864
5122
|
class: {}
|
|
@@ -4874,7 +5132,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
4874
5132
|
}
|
|
4875
5133
|
});
|
|
4876
5134
|
|
|
4877
|
-
const _sfc_main$
|
|
5135
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
4878
5136
|
__name: "SidebarMenuSkeleton",
|
|
4879
5137
|
props: {
|
|
4880
5138
|
showIcon: { type: Boolean },
|
|
@@ -4891,12 +5149,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
4891
5149
|
"data-sidebar": "menu-skeleton",
|
|
4892
5150
|
class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
|
|
4893
5151
|
}, [
|
|
4894
|
-
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5152
|
+
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$B), {
|
|
4895
5153
|
key: 0,
|
|
4896
5154
|
class: "size-4 rounded-md",
|
|
4897
5155
|
"data-sidebar": "menu-skeleton-icon"
|
|
4898
5156
|
})) : createCommentVNode("", true),
|
|
4899
|
-
createVNode(unref(_sfc_main$
|
|
5157
|
+
createVNode(unref(_sfc_main$B), {
|
|
4900
5158
|
class: "h-4 max-w-(--skeleton-width) flex-1",
|
|
4901
5159
|
"data-sidebar": "menu-skeleton-text",
|
|
4902
5160
|
style: normalizeStyle({ "--skeleton-width": width.value })
|
|
@@ -4906,7 +5164,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
4906
5164
|
}
|
|
4907
5165
|
});
|
|
4908
5166
|
|
|
4909
|
-
const _sfc_main$
|
|
5167
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
4910
5168
|
__name: "SidebarMenuSub",
|
|
4911
5169
|
props: {
|
|
4912
5170
|
class: {}
|
|
@@ -4931,7 +5189,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
4931
5189
|
}
|
|
4932
5190
|
});
|
|
4933
5191
|
|
|
4934
|
-
const _sfc_main$
|
|
5192
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
4935
5193
|
__name: "SidebarMenuSubButton",
|
|
4936
5194
|
props: {
|
|
4937
5195
|
asChild: { type: Boolean },
|
|
@@ -4970,7 +5228,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
4970
5228
|
}
|
|
4971
5229
|
});
|
|
4972
5230
|
|
|
4973
|
-
const _sfc_main$
|
|
5231
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
4974
5232
|
__name: "SidebarMenuSubItem",
|
|
4975
5233
|
props: {
|
|
4976
5234
|
class: {}
|
|
@@ -4989,7 +5247,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
4989
5247
|
}
|
|
4990
5248
|
});
|
|
4991
5249
|
|
|
4992
|
-
const _sfc_main$
|
|
5250
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
4993
5251
|
__name: "SidebarProvider",
|
|
4994
5252
|
props: {
|
|
4995
5253
|
defaultOpen: { type: Boolean, default: true },
|
|
@@ -5055,7 +5313,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
5055
5313
|
}
|
|
5056
5314
|
});
|
|
5057
5315
|
|
|
5058
|
-
const _sfc_main$
|
|
5316
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
5059
5317
|
__name: "SidebarRail",
|
|
5060
5318
|
props: {
|
|
5061
5319
|
class: {}
|
|
@@ -5090,7 +5348,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
5090
5348
|
}
|
|
5091
5349
|
});
|
|
5092
5350
|
|
|
5093
|
-
const _sfc_main$
|
|
5351
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
5094
5352
|
__name: "SidebarSeparator",
|
|
5095
5353
|
props: {
|
|
5096
5354
|
class: {}
|
|
@@ -5098,7 +5356,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
5098
5356
|
setup(__props) {
|
|
5099
5357
|
const props = __props;
|
|
5100
5358
|
return (_ctx, _cache) => {
|
|
5101
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5359
|
+
return openBlock(), createBlock(unref(_sfc_main$12), {
|
|
5102
5360
|
"data-slot": "sidebar-separator",
|
|
5103
5361
|
"data-sidebar": "separator",
|
|
5104
5362
|
class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
|
|
@@ -5112,7 +5370,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
5112
5370
|
}
|
|
5113
5371
|
});
|
|
5114
5372
|
|
|
5115
|
-
const _sfc_main$
|
|
5373
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
5116
5374
|
__name: "SidebarTrigger",
|
|
5117
5375
|
props: {
|
|
5118
5376
|
class: {}
|
|
@@ -5121,7 +5379,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
5121
5379
|
const props = __props;
|
|
5122
5380
|
const { toggleSidebar } = useSidebar();
|
|
5123
5381
|
return (_ctx, _cache) => {
|
|
5124
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5382
|
+
return openBlock(), createBlock(unref(_sfc_main$2Y), {
|
|
5125
5383
|
"data-sidebar": "trigger",
|
|
5126
5384
|
"data-slot": "sidebar-trigger",
|
|
5127
5385
|
variant: "ghost",
|
|
@@ -5160,7 +5418,7 @@ const sidebarMenuButtonVariants = cva(
|
|
|
5160
5418
|
}
|
|
5161
5419
|
);
|
|
5162
5420
|
|
|
5163
|
-
const _sfc_main$
|
|
5421
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
5164
5422
|
__name: "Sidebar",
|
|
5165
5423
|
props: {
|
|
5166
5424
|
collapsible: {},
|
|
@@ -5179,30 +5437,30 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5179
5437
|
return style;
|
|
5180
5438
|
});
|
|
5181
5439
|
return (_ctx, _cache) => {
|
|
5182
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5440
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
5183
5441
|
"default-open": _ctx.defaultOpen,
|
|
5184
5442
|
style: normalizeStyle(sidebarStyle.value)
|
|
5185
5443
|
}, {
|
|
5186
5444
|
default: withCtx(() => [
|
|
5187
|
-
createVNode(unref(_sfc_main$
|
|
5445
|
+
createVNode(unref(_sfc_main$U), {
|
|
5188
5446
|
collapsible: _ctx.collapsible,
|
|
5189
5447
|
side: _ctx.side,
|
|
5190
5448
|
variant: _ctx.variant
|
|
5191
5449
|
}, {
|
|
5192
5450
|
default: withCtx(() => [
|
|
5193
|
-
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5451
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$N), { key: 0 }, {
|
|
5194
5452
|
default: withCtx(() => [
|
|
5195
5453
|
renderSlot(_ctx.$slots, "header")
|
|
5196
5454
|
]),
|
|
5197
5455
|
_: 3
|
|
5198
5456
|
})) : createCommentVNode("", true),
|
|
5199
|
-
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5457
|
+
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$T), { key: 1 }, {
|
|
5200
5458
|
default: withCtx(() => [
|
|
5201
5459
|
renderSlot(_ctx.$slots, "content")
|
|
5202
5460
|
]),
|
|
5203
5461
|
_: 3
|
|
5204
5462
|
})) : createCommentVNode("", true),
|
|
5205
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5463
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$S), { key: 2 }, {
|
|
5206
5464
|
default: withCtx(() => [
|
|
5207
5465
|
renderSlot(_ctx.$slots, "footer")
|
|
5208
5466
|
]),
|
|
@@ -5211,7 +5469,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5211
5469
|
]),
|
|
5212
5470
|
_: 3
|
|
5213
5471
|
}, 8, ["collapsible", "side", "variant"]),
|
|
5214
|
-
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5472
|
+
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$M), { key: 0 }, {
|
|
5215
5473
|
default: withCtx(() => [
|
|
5216
5474
|
renderSlot(_ctx.$slots, "inset")
|
|
5217
5475
|
]),
|
|
@@ -5224,6 +5482,70 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
5224
5482
|
}
|
|
5225
5483
|
});
|
|
5226
5484
|
|
|
5485
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
5486
|
+
__name: "Slider",
|
|
5487
|
+
props: {
|
|
5488
|
+
defaultValue: {},
|
|
5489
|
+
modelValue: {},
|
|
5490
|
+
disabled: { type: Boolean },
|
|
5491
|
+
orientation: {},
|
|
5492
|
+
dir: {},
|
|
5493
|
+
inverted: { type: Boolean },
|
|
5494
|
+
min: {},
|
|
5495
|
+
max: {},
|
|
5496
|
+
step: {},
|
|
5497
|
+
minStepsBetweenThumbs: {},
|
|
5498
|
+
thumbAlignment: {},
|
|
5499
|
+
asChild: { type: Boolean },
|
|
5500
|
+
as: {},
|
|
5501
|
+
name: {},
|
|
5502
|
+
required: { type: Boolean },
|
|
5503
|
+
class: {}
|
|
5504
|
+
},
|
|
5505
|
+
emits: ["update:modelValue", "valueCommit"],
|
|
5506
|
+
setup(__props, { emit: __emit }) {
|
|
5507
|
+
const props = __props;
|
|
5508
|
+
const emits = __emit;
|
|
5509
|
+
const delegatedProps = computed(() => {
|
|
5510
|
+
const { class: _, ...delegated } = props;
|
|
5511
|
+
return delegated;
|
|
5512
|
+
});
|
|
5513
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
5514
|
+
return (_ctx, _cache) => {
|
|
5515
|
+
return openBlock(), createBlock(unref(SliderRoot), mergeProps({
|
|
5516
|
+
"data-slot": "slider",
|
|
5517
|
+
class: unref(cn)(
|
|
5518
|
+
"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",
|
|
5519
|
+
props.class
|
|
5520
|
+
)
|
|
5521
|
+
}, unref(forwarded)), {
|
|
5522
|
+
default: withCtx(({ modelValue }) => [
|
|
5523
|
+
createVNode(unref(SliderTrack), {
|
|
5524
|
+
"data-slot": "slider-track",
|
|
5525
|
+
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"
|
|
5526
|
+
}, {
|
|
5527
|
+
default: withCtx(() => [
|
|
5528
|
+
createVNode(unref(SliderRange), {
|
|
5529
|
+
"data-slot": "slider-range",
|
|
5530
|
+
class: "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
5531
|
+
})
|
|
5532
|
+
]),
|
|
5533
|
+
_: 1
|
|
5534
|
+
}),
|
|
5535
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(modelValue, (_, key) => {
|
|
5536
|
+
return openBlock(), createBlock(unref(SliderThumb), {
|
|
5537
|
+
key,
|
|
5538
|
+
"data-slot": "slider-thumb",
|
|
5539
|
+
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"
|
|
5540
|
+
});
|
|
5541
|
+
}), 128))
|
|
5542
|
+
]),
|
|
5543
|
+
_: 1
|
|
5544
|
+
}, 16, ["class"]);
|
|
5545
|
+
};
|
|
5546
|
+
}
|
|
5547
|
+
});
|
|
5548
|
+
|
|
5227
5549
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
5228
5550
|
__name: "Sonner",
|
|
5229
5551
|
props: {
|
|
@@ -5315,18 +5637,24 @@ const _hoisted_1$3 = {
|
|
|
5315
5637
|
class: "w-full"
|
|
5316
5638
|
};
|
|
5317
5639
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
5640
|
+
...{
|
|
5641
|
+
inheritAttrs: false
|
|
5642
|
+
},
|
|
5318
5643
|
__name: "Switch",
|
|
5319
5644
|
props: /* @__PURE__ */ mergeModels({
|
|
5645
|
+
class: {},
|
|
5320
5646
|
disabled: { type: Boolean },
|
|
5321
5647
|
label: {},
|
|
5322
5648
|
labelClass: {},
|
|
5323
|
-
position: { default: "before" }
|
|
5649
|
+
position: { default: "before" },
|
|
5650
|
+
style: {}
|
|
5324
5651
|
}, {
|
|
5325
5652
|
"modelValue": { type: Boolean, ...{ required: true } },
|
|
5326
5653
|
"modelModifiers": {}
|
|
5327
5654
|
}),
|
|
5328
5655
|
emits: ["update:modelValue"],
|
|
5329
5656
|
setup(__props) {
|
|
5657
|
+
const props = __props;
|
|
5330
5658
|
const toggled = useModel(__props, "modelValue");
|
|
5331
5659
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
5332
5660
|
return (_ctx, _cache) => {
|
|
@@ -5336,7 +5664,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5336
5664
|
createVNode(unref(_sfc_main$p), mergeProps(_ctx.$attrs, {
|
|
5337
5665
|
modelValue: toggled.value,
|
|
5338
5666
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => toggled.value = $event),
|
|
5339
|
-
disabled: _ctx.disabled
|
|
5667
|
+
disabled: _ctx.disabled,
|
|
5668
|
+
style: _ctx.style,
|
|
5669
|
+
class: props.class
|
|
5340
5670
|
}), createSlots({ _: 2 }, [
|
|
5341
5671
|
_ctx.$slots.thumb ? {
|
|
5342
5672
|
name: "thumb",
|
|
@@ -5345,11 +5675,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5345
5675
|
]),
|
|
5346
5676
|
key: "0"
|
|
5347
5677
|
} : void 0
|
|
5348
|
-
]), 1040, ["modelValue", "disabled"])
|
|
5678
|
+
]), 1040, ["modelValue", "disabled", "style", "class"])
|
|
5349
5679
|
]),
|
|
5350
5680
|
_: 3
|
|
5351
5681
|
}),
|
|
5352
|
-
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
5682
|
+
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
5353
5683
|
key: 0,
|
|
5354
5684
|
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-2", _ctx.labelClass))
|
|
5355
5685
|
}, {
|
|
@@ -5625,7 +5955,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
5625
5955
|
return (_ctx, _cache) => {
|
|
5626
5956
|
return openBlock(), createBlock(unref(_sfc_main$k), null, {
|
|
5627
5957
|
default: withCtx(() => [
|
|
5628
|
-
createVNode(unref(_sfc_main$
|
|
5958
|
+
createVNode(unref(_sfc_main$1M), {
|
|
5629
5959
|
to: _ctx.to,
|
|
5630
5960
|
label: _ctx.label,
|
|
5631
5961
|
class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
|
|
@@ -5954,6 +6284,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
5954
6284
|
|
|
5955
6285
|
const _hoisted_1 = { class: "w-full" };
|
|
5956
6286
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6287
|
+
...{
|
|
6288
|
+
inheritAttrs: false
|
|
6289
|
+
},
|
|
5957
6290
|
__name: "Textarea",
|
|
5958
6291
|
props: {
|
|
5959
6292
|
autocapitalize: {},
|
|
@@ -5973,7 +6306,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
5973
6306
|
readonly: {},
|
|
5974
6307
|
required: {},
|
|
5975
6308
|
rows: {},
|
|
5976
|
-
spellcheck: { default: "false" }
|
|
6309
|
+
spellcheck: { default: "false" },
|
|
6310
|
+
style: {}
|
|
5977
6311
|
},
|
|
5978
6312
|
emits: ["update:modelValue"],
|
|
5979
6313
|
setup(__props, { emit: __emit }) {
|
|
@@ -6006,16 +6340,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6006
6340
|
required: _ctx.required,
|
|
6007
6341
|
rows: _ctx.rows,
|
|
6008
6342
|
spellcheck: _ctx.spellcheck,
|
|
6343
|
+
style: _ctx.style,
|
|
6009
6344
|
class: unref(cn)(
|
|
6010
6345
|
"size-full resize-none font-normal focus-visible:ring-0 disabled:cursor-default",
|
|
6011
6346
|
props.class
|
|
6012
6347
|
),
|
|
6013
6348
|
onBlur: _ctx.onBlur
|
|
6014
|
-
}), null, 16, ["modelValue", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "cols", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "spellcheck", "class", "onBlur"])
|
|
6349
|
+
}), null, 16, ["modelValue", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "cols", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "spellcheck", "style", "class", "onBlur"])
|
|
6015
6350
|
]),
|
|
6016
6351
|
_: 1
|
|
6017
6352
|
}),
|
|
6018
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
6353
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
6019
6354
|
key: 0,
|
|
6020
6355
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-1 font-normal", _ctx.labelClass))
|
|
6021
6356
|
}, {
|
|
@@ -6088,17 +6423,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6088
6423
|
__name: "Tooltip",
|
|
6089
6424
|
setup(__props) {
|
|
6090
6425
|
return (_ctx, _cache) => {
|
|
6091
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
6426
|
+
return openBlock(), createBlock(unref(_sfc_main$G), null, {
|
|
6092
6427
|
default: withCtx(() => [
|
|
6093
|
-
createVNode(unref(_sfc_main$
|
|
6428
|
+
createVNode(unref(_sfc_main$I), null, {
|
|
6094
6429
|
default: withCtx(() => [
|
|
6095
|
-
createVNode(unref(_sfc_main$
|
|
6430
|
+
createVNode(unref(_sfc_main$F), { "as-child": "" }, {
|
|
6096
6431
|
default: withCtx(() => [
|
|
6097
6432
|
renderSlot(_ctx.$slots, "trigger")
|
|
6098
6433
|
]),
|
|
6099
6434
|
_: 3
|
|
6100
6435
|
}),
|
|
6101
|
-
createVNode(unref(_sfc_main$
|
|
6436
|
+
createVNode(unref(_sfc_main$H), null, {
|
|
6102
6437
|
default: withCtx(() => [
|
|
6103
6438
|
renderSlot(_ctx.$slots, "default")
|
|
6104
6439
|
]),
|
|
@@ -6246,4 +6581,4 @@ function localRef(key, initial, options) {
|
|
|
6246
6581
|
});
|
|
6247
6582
|
}
|
|
6248
6583
|
|
|
6249
|
-
export { _sfc_main$
|
|
6584
|
+
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 };
|