@tb-dev/vue-components 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button-link/ButtonLinkInner.vue.d.ts +21 -0
- package/dist/components/button-link/types.d.ts +5 -3
- package/dist/components/checkbox/types.d.ts +0 -5
- package/dist/components/input/Input.vue.d.ts +2 -5
- package/dist/components/input/types.d.ts +0 -2
- package/dist/components/input-number/types.d.ts +0 -2
- package/dist/components/input-text/InputText.vue.d.ts +4 -10
- package/dist/components/input-text/types.d.ts +0 -2
- package/dist/components/select/Select.vue.d.ts +2 -2
- package/dist/components/select/types.d.ts +2 -4
- package/dist/components/switch/Switch.vue.d.ts +1 -3
- package/dist/components/switch/types.d.ts +0 -6
- package/dist/components/table/Table.vue.d.ts +2 -2
- package/dist/components/table/types.d.ts +2 -2
- package/dist/components/textarea/types.d.ts +0 -2
- package/dist/index.js +332 -481
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cva } from 'class-variance-authority';
|
|
2
|
-
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createElementBlock,
|
|
2
|
+
import { defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, normalizeStyle, createElementBlock, toDisplayString, createVNode, resolveDynamicComponent, createCommentVNode, mergeModels, useModel, createTextVNode, createElementVNode, withDirectives, isRef, vModelText, useTemplateRef, normalizeProps, guardReactiveProps, Fragment, ref, renderList, createSlots } from 'vue';
|
|
3
3
|
import { twMerge } from 'tailwind-merge';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
|
-
import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner,
|
|
5
|
+
import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaCorner, 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, Label, 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';
|
|
6
6
|
export { ComboboxCancel, ComboboxTrigger, DropdownMenuPortal, PaginationList, PaginationListItem } from 'reka-ui';
|
|
7
7
|
import { RouterLink } from 'vue-router';
|
|
8
|
-
import { createReusableTemplate, reactiveOmit, useVModel, onClickOutside, useMediaQuery } from '@vueuse/core';
|
|
9
8
|
import { toPixel } from '@tb-dev/utils';
|
|
10
9
|
import { Check, SearchIcon, Circle, ChevronRight, X, Minus, Plus, LoaderCircle, MoreHorizontal, ChevronLeftIcon, ChevronRightIcon, CircleIcon, GripVertical, ChevronDown, ChevronUp, PanelLeft } from 'lucide-vue-next';
|
|
10
|
+
import { reactiveOmit, useVModel, onClickOutside, useMediaQuery } from '@vueuse/core';
|
|
11
11
|
import { Toaster } from 'vue-sonner';
|
|
12
12
|
export { toast as sonner } from 'vue-sonner';
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ function cn(...inputs) {
|
|
|
15
15
|
return twMerge(clsx(inputs));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
const _sfc_main$
|
|
18
|
+
const _sfc_main$2_ = /* @__PURE__ */ defineComponent({
|
|
19
19
|
__name: "Badge",
|
|
20
20
|
props: {
|
|
21
21
|
asChild: { type: Boolean },
|
|
@@ -60,7 +60,7 @@ const badgeVariants = cva(
|
|
|
60
60
|
}
|
|
61
61
|
);
|
|
62
62
|
|
|
63
|
-
const _sfc_main$
|
|
63
|
+
const _sfc_main$2Z = /* @__PURE__ */ defineComponent({
|
|
64
64
|
__name: "Button",
|
|
65
65
|
props: {
|
|
66
66
|
variant: {},
|
|
@@ -115,55 +115,73 @@ const buttonVariants = cva(
|
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
|
|
118
|
-
const _hoisted_1$
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
const _hoisted_1$e = { key: 0 };
|
|
119
|
+
const _sfc_main$2Y = /* @__PURE__ */ defineComponent({
|
|
120
|
+
__name: "ButtonLinkInner",
|
|
121
|
+
props: {
|
|
122
|
+
buttonClass: {},
|
|
123
|
+
disabled: {},
|
|
124
|
+
label: {},
|
|
125
|
+
size: {},
|
|
126
|
+
style: {},
|
|
127
|
+
variant: {}
|
|
123
128
|
},
|
|
129
|
+
setup(__props) {
|
|
130
|
+
const props = __props;
|
|
131
|
+
return (_ctx, _cache) => {
|
|
132
|
+
return openBlock(), createBlock(unref(_sfc_main$2Z), {
|
|
133
|
+
disabled: _ctx.disabled,
|
|
134
|
+
size: _ctx.size,
|
|
135
|
+
variant: _ctx.variant,
|
|
136
|
+
style: normalizeStyle(_ctx.style),
|
|
137
|
+
class: normalizeClass(unref(cn)("size-full", props.buttonClass))
|
|
138
|
+
}, {
|
|
139
|
+
default: withCtx(() => [
|
|
140
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$e, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
141
|
+
]),
|
|
142
|
+
_: 3
|
|
143
|
+
}, 8, ["disabled", "size", "variant", "style", "class"]);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
const _hoisted_1$d = { key: 0 };
|
|
149
|
+
const _sfc_main$2X = /* @__PURE__ */ defineComponent({
|
|
124
150
|
__name: "ButtonLink",
|
|
125
151
|
props: {
|
|
152
|
+
to: {},
|
|
126
153
|
buttonClass: {},
|
|
127
154
|
disabled: {},
|
|
128
155
|
label: {},
|
|
129
156
|
size: { default: "default" },
|
|
130
157
|
style: {},
|
|
131
|
-
to: {},
|
|
132
158
|
variant: { default: "ghost" }
|
|
133
159
|
},
|
|
134
160
|
setup(__props) {
|
|
135
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
136
161
|
return (_ctx, _cache) => {
|
|
137
|
-
return openBlock(), createElementBlock(
|
|
138
|
-
createVNode(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
])
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}, {
|
|
161
|
-
default: withCtx(() => [
|
|
162
|
-
createVNode(unref(ReuseTemplate))
|
|
163
|
-
]),
|
|
164
|
-
_: 1
|
|
165
|
-
}, 8, ["to"]))
|
|
166
|
-
], 64);
|
|
162
|
+
return _ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
163
|
+
createVNode(_sfc_main$2Y, {
|
|
164
|
+
label: _ctx.label,
|
|
165
|
+
size: _ctx.size,
|
|
166
|
+
variant: _ctx.variant,
|
|
167
|
+
style: normalizeStyle(_ctx.style),
|
|
168
|
+
"button-class": _ctx.buttonClass
|
|
169
|
+
}, null, 8, ["label", "size", "variant", "style", "button-class"])
|
|
170
|
+
])) : (openBlock(), createBlock(unref(RouterLink), {
|
|
171
|
+
key: 1,
|
|
172
|
+
to: { name: _ctx.to }
|
|
173
|
+
}, {
|
|
174
|
+
default: withCtx(() => [
|
|
175
|
+
createVNode(_sfc_main$2Y, {
|
|
176
|
+
label: _ctx.label,
|
|
177
|
+
size: _ctx.size,
|
|
178
|
+
variant: _ctx.variant,
|
|
179
|
+
style: normalizeStyle(_ctx.style),
|
|
180
|
+
"button-class": _ctx.buttonClass
|
|
181
|
+
}, null, 8, ["label", "size", "variant", "style", "button-class"])
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["to"]));
|
|
167
185
|
};
|
|
168
186
|
}
|
|
169
187
|
});
|
|
@@ -196,7 +214,7 @@ const _sfc_main$2W = /* @__PURE__ */ defineComponent({
|
|
|
196
214
|
}, null, 8, ["class", "size"]))
|
|
197
215
|
]),
|
|
198
216
|
_: 1
|
|
199
|
-
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
217
|
+
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2Z), {
|
|
200
218
|
key: 1,
|
|
201
219
|
variant: "ghost",
|
|
202
220
|
size: "icon",
|
|
@@ -482,36 +500,6 @@ const _sfc_main$2N = /* @__PURE__ */ defineComponent({
|
|
|
482
500
|
});
|
|
483
501
|
|
|
484
502
|
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
485
|
-
__name: "Label",
|
|
486
|
-
props: {
|
|
487
|
-
for: {},
|
|
488
|
-
asChild: { type: Boolean },
|
|
489
|
-
as: {},
|
|
490
|
-
class: {}
|
|
491
|
-
},
|
|
492
|
-
setup(__props) {
|
|
493
|
-
const props = __props;
|
|
494
|
-
const delegatedProps = computed(() => {
|
|
495
|
-
const { class: _, ...delegated } = props;
|
|
496
|
-
return delegated;
|
|
497
|
-
});
|
|
498
|
-
return (_ctx, _cache) => {
|
|
499
|
-
return openBlock(), createBlock(unref(Label), mergeProps({ "data-slot": "label" }, delegatedProps.value, {
|
|
500
|
-
class: unref(cn)(
|
|
501
|
-
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
502
|
-
props.class
|
|
503
|
-
)
|
|
504
|
-
}), {
|
|
505
|
-
default: withCtx(() => [
|
|
506
|
-
renderSlot(_ctx.$slots, "default")
|
|
507
|
-
]),
|
|
508
|
-
_: 3
|
|
509
|
-
}, 16, ["class"]);
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
});
|
|
513
|
-
|
|
514
|
-
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
515
503
|
__name: "Checkbox",
|
|
516
504
|
props: {
|
|
517
505
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -560,54 +548,25 @@ const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
|
560
548
|
}
|
|
561
549
|
});
|
|
562
550
|
|
|
563
|
-
const
|
|
564
|
-
const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
565
|
-
...{
|
|
566
|
-
inheritAttrs: false
|
|
567
|
-
},
|
|
551
|
+
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
568
552
|
__name: "Checkbox",
|
|
569
553
|
props: /* @__PURE__ */ mergeModels({
|
|
570
|
-
class: {},
|
|
571
554
|
defaultValue: { type: [Boolean, String] },
|
|
572
|
-
disabled: { type: Boolean }
|
|
573
|
-
label: {},
|
|
574
|
-
labelClass: {},
|
|
575
|
-
style: {}
|
|
555
|
+
disabled: { type: Boolean }
|
|
576
556
|
}, {
|
|
577
557
|
"modelValue": { type: [Boolean, String, null], ...{ required: false } },
|
|
578
558
|
"modelModifiers": {}
|
|
579
559
|
}),
|
|
580
560
|
emits: ["update:modelValue"],
|
|
581
561
|
setup(__props) {
|
|
582
|
-
const props = __props;
|
|
583
562
|
const value = useModel(__props, "modelValue");
|
|
584
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
585
563
|
return (_ctx, _cache) => {
|
|
586
|
-
return openBlock(),
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
"default-value": _ctx.defaultValue,
|
|
593
|
-
disabled: _ctx.disabled,
|
|
594
|
-
style: _ctx.style,
|
|
595
|
-
class: props.class
|
|
596
|
-
}), null, 16, ["modelValue", "default-value", "disabled", "style", "class"])
|
|
597
|
-
]),
|
|
598
|
-
_: 1
|
|
599
|
-
}),
|
|
600
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
601
|
-
key: 0,
|
|
602
|
-
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-1 font-normal", _ctx.labelClass))
|
|
603
|
-
}, {
|
|
604
|
-
default: withCtx(() => [
|
|
605
|
-
createVNode(unref(ReuseTemplate)),
|
|
606
|
-
createElementVNode("span", _hoisted_1$h, toDisplayString(_ctx.label), 1)
|
|
607
|
-
]),
|
|
608
|
-
_: 1
|
|
609
|
-
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
610
|
-
], 64);
|
|
564
|
+
return openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
565
|
+
modelValue: value.value,
|
|
566
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
567
|
+
"default-value": _ctx.defaultValue,
|
|
568
|
+
disabled: _ctx.disabled
|
|
569
|
+
}, null, 8, ["modelValue", "default-value", "disabled"]);
|
|
611
570
|
};
|
|
612
571
|
}
|
|
613
572
|
});
|
|
@@ -616,7 +575,7 @@ function toBooleanCheckboxValue(value) {
|
|
|
616
575
|
return value === true;
|
|
617
576
|
}
|
|
618
577
|
|
|
619
|
-
const _sfc_main$
|
|
578
|
+
const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
620
579
|
__name: "Combobox",
|
|
621
580
|
props: {
|
|
622
581
|
open: { type: Boolean },
|
|
@@ -652,7 +611,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
652
611
|
}
|
|
653
612
|
});
|
|
654
613
|
|
|
655
|
-
const _sfc_main$
|
|
614
|
+
const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
656
615
|
__name: "ComboboxAnchor",
|
|
657
616
|
props: {
|
|
658
617
|
reference: {},
|
|
@@ -680,7 +639,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
680
639
|
}
|
|
681
640
|
});
|
|
682
641
|
|
|
683
|
-
const _sfc_main$
|
|
642
|
+
const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
684
643
|
__name: "ComboboxEmpty",
|
|
685
644
|
props: {
|
|
686
645
|
asChild: { type: Boolean },
|
|
@@ -706,7 +665,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
706
665
|
}
|
|
707
666
|
});
|
|
708
667
|
|
|
709
|
-
const _sfc_main$
|
|
668
|
+
const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
710
669
|
__name: "ComboboxGroup",
|
|
711
670
|
props: {
|
|
712
671
|
asChild: { type: Boolean },
|
|
@@ -742,11 +701,11 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
|
742
701
|
}
|
|
743
702
|
});
|
|
744
703
|
|
|
745
|
-
const _hoisted_1$
|
|
704
|
+
const _hoisted_1$c = {
|
|
746
705
|
"data-slot": "command-input-wrapper",
|
|
747
706
|
class: "flex h-9 items-center gap-2 border-b px-3"
|
|
748
707
|
};
|
|
749
|
-
const _sfc_main$
|
|
708
|
+
const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
750
709
|
...{
|
|
751
710
|
inheritAttrs: false
|
|
752
711
|
},
|
|
@@ -770,7 +729,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
770
729
|
});
|
|
771
730
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
772
731
|
return (_ctx, _cache) => {
|
|
773
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
732
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
774
733
|
createVNode(unref(SearchIcon), { class: "size-4 shrink-0 opacity-50" }),
|
|
775
734
|
createVNode(unref(ComboboxInput), mergeProps({
|
|
776
735
|
"data-slot": "command-input",
|
|
@@ -789,7 +748,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
789
748
|
}
|
|
790
749
|
});
|
|
791
750
|
|
|
792
|
-
const _sfc_main$
|
|
751
|
+
const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
793
752
|
__name: "ComboboxItem",
|
|
794
753
|
props: {
|
|
795
754
|
textValue: {},
|
|
@@ -824,7 +783,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
824
783
|
}
|
|
825
784
|
});
|
|
826
785
|
|
|
827
|
-
const _sfc_main$
|
|
786
|
+
const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
828
787
|
__name: "ComboboxItemIndicator",
|
|
829
788
|
props: {
|
|
830
789
|
asChild: { type: Boolean },
|
|
@@ -851,7 +810,7 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
|
851
810
|
}
|
|
852
811
|
});
|
|
853
812
|
|
|
854
|
-
const _sfc_main$
|
|
813
|
+
const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
855
814
|
__name: "ComboboxList",
|
|
856
815
|
props: {
|
|
857
816
|
forceMount: { type: Boolean },
|
|
@@ -905,7 +864,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
905
864
|
}
|
|
906
865
|
});
|
|
907
866
|
|
|
908
|
-
const _sfc_main$
|
|
867
|
+
const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
909
868
|
__name: "ComboboxSeparator",
|
|
910
869
|
props: {
|
|
911
870
|
asChild: { type: Boolean },
|
|
@@ -931,7 +890,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
931
890
|
}
|
|
932
891
|
});
|
|
933
892
|
|
|
934
|
-
const _sfc_main$
|
|
893
|
+
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
935
894
|
__name: "ComboboxViewport",
|
|
936
895
|
props: {
|
|
937
896
|
nonce: {},
|
|
@@ -959,7 +918,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
959
918
|
}
|
|
960
919
|
});
|
|
961
920
|
|
|
962
|
-
const _sfc_main$
|
|
921
|
+
const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
963
922
|
__name: "ContextMenu",
|
|
964
923
|
props: {
|
|
965
924
|
dir: {},
|
|
@@ -981,8 +940,8 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
981
940
|
}
|
|
982
941
|
});
|
|
983
942
|
|
|
984
|
-
const _hoisted_1$
|
|
985
|
-
const _sfc_main$
|
|
943
|
+
const _hoisted_1$b = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
944
|
+
const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
986
945
|
__name: "ContextMenuCheckboxItem",
|
|
987
946
|
props: {
|
|
988
947
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1009,7 +968,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
1009
968
|
)
|
|
1010
969
|
}), {
|
|
1011
970
|
default: withCtx(() => [
|
|
1012
|
-
createElementVNode("span", _hoisted_1$
|
|
971
|
+
createElementVNode("span", _hoisted_1$b, [
|
|
1013
972
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1014
973
|
default: withCtx(() => [
|
|
1015
974
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1025,7 +984,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
1025
984
|
}
|
|
1026
985
|
});
|
|
1027
986
|
|
|
1028
|
-
const _sfc_main$
|
|
987
|
+
const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
1029
988
|
__name: "ContextMenuContent",
|
|
1030
989
|
props: {
|
|
1031
990
|
forceMount: { type: Boolean },
|
|
@@ -1074,7 +1033,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
1074
1033
|
}
|
|
1075
1034
|
});
|
|
1076
1035
|
|
|
1077
|
-
const _sfc_main$
|
|
1036
|
+
const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
1078
1037
|
__name: "ContextMenuGroup",
|
|
1079
1038
|
props: {
|
|
1080
1039
|
asChild: { type: Boolean },
|
|
@@ -1093,7 +1052,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
1093
1052
|
}
|
|
1094
1053
|
});
|
|
1095
1054
|
|
|
1096
|
-
const _sfc_main$
|
|
1055
|
+
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
1097
1056
|
__name: "ContextMenuItem",
|
|
1098
1057
|
props: {
|
|
1099
1058
|
disabled: { type: Boolean },
|
|
@@ -1133,7 +1092,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
1133
1092
|
}
|
|
1134
1093
|
});
|
|
1135
1094
|
|
|
1136
|
-
const _sfc_main$
|
|
1095
|
+
const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
1137
1096
|
__name: "ContextMenuLabel",
|
|
1138
1097
|
props: {
|
|
1139
1098
|
asChild: { type: Boolean },
|
|
@@ -1163,7 +1122,7 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
1163
1122
|
}
|
|
1164
1123
|
});
|
|
1165
1124
|
|
|
1166
|
-
const _sfc_main$
|
|
1125
|
+
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
1167
1126
|
__name: "ContextMenuRadioGroup",
|
|
1168
1127
|
props: {
|
|
1169
1128
|
modelValue: {},
|
|
@@ -1186,8 +1145,8 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
1186
1145
|
}
|
|
1187
1146
|
});
|
|
1188
1147
|
|
|
1189
|
-
const _hoisted_1$
|
|
1190
|
-
const _sfc_main$
|
|
1148
|
+
const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1149
|
+
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
1191
1150
|
__name: "ContextMenuRadioItem",
|
|
1192
1151
|
props: {
|
|
1193
1152
|
value: {},
|
|
@@ -1214,7 +1173,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
1214
1173
|
)
|
|
1215
1174
|
}), {
|
|
1216
1175
|
default: withCtx(() => [
|
|
1217
|
-
createElementVNode("span", _hoisted_1$
|
|
1176
|
+
createElementVNode("span", _hoisted_1$a, [
|
|
1218
1177
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1219
1178
|
default: withCtx(() => [
|
|
1220
1179
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1230,7 +1189,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
1230
1189
|
}
|
|
1231
1190
|
});
|
|
1232
1191
|
|
|
1233
|
-
const _sfc_main$
|
|
1192
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
1234
1193
|
__name: "ContextMenuSeparator",
|
|
1235
1194
|
props: {
|
|
1236
1195
|
asChild: { type: Boolean },
|
|
@@ -1251,7 +1210,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
1251
1210
|
}
|
|
1252
1211
|
});
|
|
1253
1212
|
|
|
1254
|
-
const _sfc_main$
|
|
1213
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
1255
1214
|
__name: "ContextMenuShortcut",
|
|
1256
1215
|
props: {
|
|
1257
1216
|
class: {}
|
|
@@ -1269,7 +1228,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
1269
1228
|
}
|
|
1270
1229
|
});
|
|
1271
1230
|
|
|
1272
|
-
const _sfc_main$
|
|
1231
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
1273
1232
|
__name: "ContextMenuSub",
|
|
1274
1233
|
props: {
|
|
1275
1234
|
defaultOpen: { type: Boolean },
|
|
@@ -1291,7 +1250,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
1291
1250
|
}
|
|
1292
1251
|
});
|
|
1293
1252
|
|
|
1294
|
-
const _sfc_main$
|
|
1253
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
1295
1254
|
__name: "ContextMenuSubContent",
|
|
1296
1255
|
props: {
|
|
1297
1256
|
forceMount: { type: Boolean },
|
|
@@ -1338,7 +1297,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
1338
1297
|
}
|
|
1339
1298
|
});
|
|
1340
1299
|
|
|
1341
|
-
const _sfc_main$
|
|
1300
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
1342
1301
|
__name: "ContextMenuSubTrigger",
|
|
1343
1302
|
props: {
|
|
1344
1303
|
disabled: { type: Boolean },
|
|
@@ -1375,7 +1334,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
1375
1334
|
}
|
|
1376
1335
|
});
|
|
1377
1336
|
|
|
1378
|
-
const _sfc_main$
|
|
1337
|
+
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
1379
1338
|
__name: "ContextMenuTrigger",
|
|
1380
1339
|
props: {
|
|
1381
1340
|
disabled: { type: Boolean },
|
|
@@ -1396,7 +1355,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
1396
1355
|
}
|
|
1397
1356
|
});
|
|
1398
1357
|
|
|
1399
|
-
const _sfc_main$
|
|
1358
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
1400
1359
|
__name: "Dialog",
|
|
1401
1360
|
props: {
|
|
1402
1361
|
open: { type: Boolean },
|
|
@@ -1419,7 +1378,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
|
1419
1378
|
}
|
|
1420
1379
|
});
|
|
1421
1380
|
|
|
1422
|
-
const _sfc_main$
|
|
1381
|
+
const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
1423
1382
|
__name: "DialogClose",
|
|
1424
1383
|
props: {
|
|
1425
1384
|
asChild: { type: Boolean },
|
|
@@ -1438,7 +1397,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1438
1397
|
}
|
|
1439
1398
|
});
|
|
1440
1399
|
|
|
1441
|
-
const _sfc_main$
|
|
1400
|
+
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
1442
1401
|
__name: "DialogOverlay",
|
|
1443
1402
|
props: {
|
|
1444
1403
|
forceMount: { type: Boolean },
|
|
@@ -1468,7 +1427,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
1468
1427
|
}
|
|
1469
1428
|
});
|
|
1470
1429
|
|
|
1471
|
-
const _sfc_main$
|
|
1430
|
+
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
1472
1431
|
__name: "DialogContent",
|
|
1473
1432
|
props: {
|
|
1474
1433
|
forceMount: { type: Boolean },
|
|
@@ -1490,7 +1449,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
1490
1449
|
return (_ctx, _cache) => {
|
|
1491
1450
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1492
1451
|
default: withCtx(() => [
|
|
1493
|
-
createVNode(_sfc_main$
|
|
1452
|
+
createVNode(_sfc_main$2k),
|
|
1494
1453
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1495
1454
|
class: unref(cn)(
|
|
1496
1455
|
"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",
|
|
@@ -1516,7 +1475,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
1516
1475
|
}
|
|
1517
1476
|
});
|
|
1518
1477
|
|
|
1519
|
-
const _sfc_main$
|
|
1478
|
+
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
1520
1479
|
__name: "DialogDescription",
|
|
1521
1480
|
props: {
|
|
1522
1481
|
asChild: { type: Boolean },
|
|
@@ -1543,7 +1502,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
1543
1502
|
}
|
|
1544
1503
|
});
|
|
1545
1504
|
|
|
1546
|
-
const _sfc_main$
|
|
1505
|
+
const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
1547
1506
|
__name: "DialogFooter",
|
|
1548
1507
|
props: {
|
|
1549
1508
|
class: {}
|
|
@@ -1561,7 +1520,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
1561
1520
|
}
|
|
1562
1521
|
});
|
|
1563
1522
|
|
|
1564
|
-
const _sfc_main$
|
|
1523
|
+
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
1565
1524
|
__name: "DialogHeader",
|
|
1566
1525
|
props: {
|
|
1567
1526
|
class: {}
|
|
@@ -1579,7 +1538,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
|
1579
1538
|
}
|
|
1580
1539
|
});
|
|
1581
1540
|
|
|
1582
|
-
const _sfc_main$
|
|
1541
|
+
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
1583
1542
|
__name: "DialogScrollContent",
|
|
1584
1543
|
props: {
|
|
1585
1544
|
forceMount: { type: Boolean },
|
|
@@ -1639,7 +1598,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
|
1639
1598
|
}
|
|
1640
1599
|
});
|
|
1641
1600
|
|
|
1642
|
-
const _sfc_main$
|
|
1601
|
+
const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
1643
1602
|
__name: "DialogTitle",
|
|
1644
1603
|
props: {
|
|
1645
1604
|
asChild: { type: Boolean },
|
|
@@ -1666,7 +1625,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
1666
1625
|
}
|
|
1667
1626
|
});
|
|
1668
1627
|
|
|
1669
|
-
const _sfc_main$
|
|
1628
|
+
const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
1670
1629
|
__name: "DialogTrigger",
|
|
1671
1630
|
props: {
|
|
1672
1631
|
asChild: { type: Boolean },
|
|
@@ -1685,7 +1644,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
|
1685
1644
|
}
|
|
1686
1645
|
});
|
|
1687
1646
|
|
|
1688
|
-
const _sfc_main$
|
|
1647
|
+
const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
1689
1648
|
__name: "DropdownMenu",
|
|
1690
1649
|
props: {
|
|
1691
1650
|
defaultOpen: { type: Boolean },
|
|
@@ -1709,8 +1668,8 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
1709
1668
|
}
|
|
1710
1669
|
});
|
|
1711
1670
|
|
|
1712
|
-
const _hoisted_1$
|
|
1713
|
-
const _sfc_main$
|
|
1671
|
+
const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1672
|
+
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
1714
1673
|
__name: "DropdownMenuCheckboxItem",
|
|
1715
1674
|
props: {
|
|
1716
1675
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1737,7 +1696,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1737
1696
|
)
|
|
1738
1697
|
}), {
|
|
1739
1698
|
default: withCtx(() => [
|
|
1740
|
-
createElementVNode("span", _hoisted_1$
|
|
1699
|
+
createElementVNode("span", _hoisted_1$9, [
|
|
1741
1700
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1742
1701
|
default: withCtx(() => [
|
|
1743
1702
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1753,7 +1712,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1753
1712
|
}
|
|
1754
1713
|
});
|
|
1755
1714
|
|
|
1756
|
-
const _sfc_main$
|
|
1715
|
+
const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
1757
1716
|
__name: "DropdownMenuContent",
|
|
1758
1717
|
props: {
|
|
1759
1718
|
forceMount: { type: Boolean },
|
|
@@ -1807,7 +1766,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1807
1766
|
}
|
|
1808
1767
|
});
|
|
1809
1768
|
|
|
1810
|
-
const _sfc_main$
|
|
1769
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
1811
1770
|
__name: "DropdownMenuGroup",
|
|
1812
1771
|
props: {
|
|
1813
1772
|
asChild: { type: Boolean },
|
|
@@ -1826,7 +1785,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1826
1785
|
}
|
|
1827
1786
|
});
|
|
1828
1787
|
|
|
1829
|
-
const _sfc_main$
|
|
1788
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
1830
1789
|
__name: "DropdownMenuItem",
|
|
1831
1790
|
props: {
|
|
1832
1791
|
disabled: { type: Boolean },
|
|
@@ -1861,7 +1820,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
1861
1820
|
}
|
|
1862
1821
|
});
|
|
1863
1822
|
|
|
1864
|
-
const _sfc_main$
|
|
1823
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
1865
1824
|
__name: "DropdownMenuLabel",
|
|
1866
1825
|
props: {
|
|
1867
1826
|
asChild: { type: Boolean },
|
|
@@ -1889,7 +1848,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1889
1848
|
}
|
|
1890
1849
|
});
|
|
1891
1850
|
|
|
1892
|
-
const _sfc_main$
|
|
1851
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
1893
1852
|
__name: "DropdownMenuRadioGroup",
|
|
1894
1853
|
props: {
|
|
1895
1854
|
modelValue: {},
|
|
@@ -1912,8 +1871,8 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
1912
1871
|
}
|
|
1913
1872
|
});
|
|
1914
1873
|
|
|
1915
|
-
const _hoisted_1$
|
|
1916
|
-
const _sfc_main$
|
|
1874
|
+
const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1875
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
1917
1876
|
__name: "DropdownMenuRadioItem",
|
|
1918
1877
|
props: {
|
|
1919
1878
|
value: {},
|
|
@@ -1940,7 +1899,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1940
1899
|
)
|
|
1941
1900
|
}), {
|
|
1942
1901
|
default: withCtx(() => [
|
|
1943
|
-
createElementVNode("span", _hoisted_1$
|
|
1902
|
+
createElementVNode("span", _hoisted_1$8, [
|
|
1944
1903
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1945
1904
|
default: withCtx(() => [
|
|
1946
1905
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1956,7 +1915,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1956
1915
|
}
|
|
1957
1916
|
});
|
|
1958
1917
|
|
|
1959
|
-
const _sfc_main$
|
|
1918
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
1960
1919
|
__name: "DropdownMenuSeparator",
|
|
1961
1920
|
props: {
|
|
1962
1921
|
asChild: { type: Boolean },
|
|
@@ -1977,7 +1936,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
1977
1936
|
}
|
|
1978
1937
|
});
|
|
1979
1938
|
|
|
1980
|
-
const _sfc_main$
|
|
1939
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
1981
1940
|
__name: "DropdownMenuShortcut",
|
|
1982
1941
|
props: {
|
|
1983
1942
|
class: {}
|
|
@@ -1995,7 +1954,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1995
1954
|
}
|
|
1996
1955
|
});
|
|
1997
1956
|
|
|
1998
|
-
const _sfc_main$
|
|
1957
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
1999
1958
|
__name: "DropdownMenuSub",
|
|
2000
1959
|
props: {
|
|
2001
1960
|
defaultOpen: { type: Boolean },
|
|
@@ -2017,7 +1976,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
2017
1976
|
}
|
|
2018
1977
|
});
|
|
2019
1978
|
|
|
2020
|
-
const _sfc_main$
|
|
1979
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
2021
1980
|
__name: "DropdownMenuSubContent",
|
|
2022
1981
|
props: {
|
|
2023
1982
|
forceMount: { type: Boolean },
|
|
@@ -2064,7 +2023,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
2064
2023
|
}
|
|
2065
2024
|
});
|
|
2066
2025
|
|
|
2067
|
-
const _sfc_main$
|
|
2026
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
2068
2027
|
__name: "DropdownMenuSubTrigger",
|
|
2069
2028
|
props: {
|
|
2070
2029
|
disabled: { type: Boolean },
|
|
@@ -2095,7 +2054,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
2095
2054
|
}
|
|
2096
2055
|
});
|
|
2097
2056
|
|
|
2098
|
-
const _sfc_main$
|
|
2057
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
2099
2058
|
__name: "DropdownMenuTrigger",
|
|
2100
2059
|
props: {
|
|
2101
2060
|
disabled: { type: Boolean },
|
|
@@ -2116,7 +2075,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
2116
2075
|
}
|
|
2117
2076
|
});
|
|
2118
2077
|
|
|
2119
|
-
const _sfc_main$
|
|
2078
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
2120
2079
|
__name: "HoverCard",
|
|
2121
2080
|
props: {
|
|
2122
2081
|
defaultOpen: { type: Boolean },
|
|
@@ -2140,7 +2099,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
2140
2099
|
}
|
|
2141
2100
|
});
|
|
2142
2101
|
|
|
2143
|
-
const _sfc_main$
|
|
2102
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
2144
2103
|
__name: "HoverCardContent",
|
|
2145
2104
|
props: {
|
|
2146
2105
|
forceMount: { type: Boolean },
|
|
@@ -2191,7 +2150,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
2191
2150
|
}
|
|
2192
2151
|
});
|
|
2193
2152
|
|
|
2194
|
-
const _sfc_main$
|
|
2153
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
2195
2154
|
__name: "HoverCardTrigger",
|
|
2196
2155
|
props: {
|
|
2197
2156
|
reference: {},
|
|
@@ -2211,19 +2170,19 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
2211
2170
|
}
|
|
2212
2171
|
});
|
|
2213
2172
|
|
|
2214
|
-
const _sfc_main$
|
|
2173
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
2215
2174
|
__name: "HoverCard",
|
|
2216
2175
|
setup(__props) {
|
|
2217
2176
|
return (_ctx, _cache) => {
|
|
2218
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2177
|
+
return openBlock(), createBlock(unref(_sfc_main$1_), null, {
|
|
2219
2178
|
default: withCtx(() => [
|
|
2220
|
-
createVNode(unref(_sfc_main$
|
|
2179
|
+
createVNode(unref(_sfc_main$1Y), null, {
|
|
2221
2180
|
default: withCtx(() => [
|
|
2222
2181
|
renderSlot(_ctx.$slots, "trigger")
|
|
2223
2182
|
]),
|
|
2224
2183
|
_: 3
|
|
2225
2184
|
}),
|
|
2226
|
-
createVNode(unref(_sfc_main$
|
|
2185
|
+
createVNode(unref(_sfc_main$1Z), null, {
|
|
2227
2186
|
default: withCtx(() => [
|
|
2228
2187
|
renderSlot(_ctx.$slots, "default")
|
|
2229
2188
|
]),
|
|
@@ -2236,7 +2195,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
2236
2195
|
}
|
|
2237
2196
|
});
|
|
2238
2197
|
|
|
2239
|
-
const _sfc_main$
|
|
2198
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
2240
2199
|
__name: "Input",
|
|
2241
2200
|
props: {
|
|
2242
2201
|
defaultValue: {},
|
|
@@ -2270,45 +2229,38 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
2270
2229
|
}
|
|
2271
2230
|
});
|
|
2272
2231
|
|
|
2273
|
-
const
|
|
2274
|
-
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
2275
|
-
...{
|
|
2276
|
-
inheritAttrs: false
|
|
2277
|
-
},
|
|
2232
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
2278
2233
|
__name: "Input",
|
|
2279
2234
|
props: {
|
|
2280
2235
|
autocomplete: {},
|
|
2281
2236
|
autofocus: {},
|
|
2282
2237
|
class: {},
|
|
2283
2238
|
disabled: {},
|
|
2284
|
-
label: {},
|
|
2285
|
-
labelClass: {},
|
|
2286
2239
|
max: {},
|
|
2287
2240
|
min: {},
|
|
2288
2241
|
modelValue: {},
|
|
2289
|
-
onBlur: {},
|
|
2242
|
+
onBlur: { type: Function },
|
|
2290
2243
|
placeholder: {},
|
|
2291
2244
|
readonly: {},
|
|
2292
2245
|
required: {},
|
|
2293
2246
|
size: {},
|
|
2294
|
-
spellcheck: {
|
|
2247
|
+
spellcheck: {},
|
|
2295
2248
|
style: {},
|
|
2296
|
-
type: {
|
|
2249
|
+
type: {}
|
|
2297
2250
|
},
|
|
2298
2251
|
emits: ["update:modelValue"],
|
|
2299
2252
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2300
2253
|
const props = __props;
|
|
2301
2254
|
const emit = __emit;
|
|
2302
|
-
const inputComponent = useTemplateRef("inputComponent");
|
|
2303
|
-
const inputEl = computed(() => {
|
|
2304
|
-
return inputComponent.value?.$el;
|
|
2305
|
-
});
|
|
2306
2255
|
const value = computed({
|
|
2307
2256
|
// eslint-disable-next-line no-undefined
|
|
2308
2257
|
get: () => props.modelValue ?? void 0,
|
|
2309
2258
|
set: (it) => emit("update:modelValue", it ?? null)
|
|
2310
2259
|
});
|
|
2311
|
-
const
|
|
2260
|
+
const inputComponent = useTemplateRef("inputComponent");
|
|
2261
|
+
const inputEl = computed(() => {
|
|
2262
|
+
return inputComponent.value?.$el;
|
|
2263
|
+
});
|
|
2312
2264
|
function focus() {
|
|
2313
2265
|
inputEl.value?.focus();
|
|
2314
2266
|
}
|
|
@@ -2320,50 +2272,32 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
2320
2272
|
}
|
|
2321
2273
|
__expose({ inputEl, focus, blur, select });
|
|
2322
2274
|
return (_ctx, _cache) => {
|
|
2323
|
-
return openBlock(),
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
style: _ctx.style,
|
|
2345
|
-
class: unref(cn)("focus-visible:ring-0 disabled:cursor-default", props.class),
|
|
2346
|
-
onBlur: _ctx.onBlur
|
|
2347
|
-
}), null, 16, ["modelValue", "type", "autocomplete", "autofocus", "placeholder", "disabled", "maxlength", "minlength", "readonly", "required", "size", "spellcheck", "style", "class", "onBlur"])
|
|
2348
|
-
]),
|
|
2349
|
-
_: 1
|
|
2350
|
-
}),
|
|
2351
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2352
|
-
key: 0,
|
|
2353
|
-
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2354
|
-
}, {
|
|
2355
|
-
default: withCtx(() => [
|
|
2356
|
-
createElementVNode("span", _hoisted_1$b, toDisplayString(_ctx.label), 1),
|
|
2357
|
-
createVNode(unref(ReuseTemplate))
|
|
2358
|
-
]),
|
|
2359
|
-
_: 1
|
|
2360
|
-
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
2361
|
-
], 64);
|
|
2275
|
+
return openBlock(), createBlock(unref(_sfc_main$1W), {
|
|
2276
|
+
ref_key: "inputComponent",
|
|
2277
|
+
ref: inputComponent,
|
|
2278
|
+
modelValue: value.value,
|
|
2279
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2280
|
+
modelModifiers: { trim: true },
|
|
2281
|
+
type: _ctx.type,
|
|
2282
|
+
autocomplete: _ctx.autocomplete,
|
|
2283
|
+
autofocus: _ctx.autofocus,
|
|
2284
|
+
placeholder: _ctx.placeholder,
|
|
2285
|
+
disabled: _ctx.disabled,
|
|
2286
|
+
maxlength: _ctx.max,
|
|
2287
|
+
minlength: _ctx.min,
|
|
2288
|
+
readonly: _ctx.readonly,
|
|
2289
|
+
required: _ctx.required,
|
|
2290
|
+
size: _ctx.size,
|
|
2291
|
+
spellcheck: _ctx.spellcheck,
|
|
2292
|
+
style: normalizeStyle(_ctx.style),
|
|
2293
|
+
class: normalizeClass(unref(cn)("focus-visible:ring-0 disabled:cursor-default", props.class)),
|
|
2294
|
+
onBlur: _ctx.onBlur
|
|
2295
|
+
}, null, 8, ["modelValue", "type", "autocomplete", "autofocus", "placeholder", "disabled", "maxlength", "minlength", "readonly", "required", "size", "spellcheck", "style", "class", "onBlur"]);
|
|
2362
2296
|
};
|
|
2363
2297
|
}
|
|
2364
2298
|
});
|
|
2365
2299
|
|
|
2366
|
-
const _sfc_main$
|
|
2300
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
2367
2301
|
__name: "NumberField",
|
|
2368
2302
|
props: {
|
|
2369
2303
|
defaultValue: {},
|
|
@@ -2405,7 +2339,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
2405
2339
|
}
|
|
2406
2340
|
});
|
|
2407
2341
|
|
|
2408
|
-
const _sfc_main$
|
|
2342
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
2409
2343
|
__name: "NumberFieldContent",
|
|
2410
2344
|
props: {
|
|
2411
2345
|
class: {}
|
|
@@ -2427,7 +2361,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
2427
2361
|
}
|
|
2428
2362
|
});
|
|
2429
2363
|
|
|
2430
|
-
const _sfc_main$
|
|
2364
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
2431
2365
|
__name: "NumberFieldDecrement",
|
|
2432
2366
|
props: {
|
|
2433
2367
|
disabled: { type: Boolean },
|
|
@@ -2460,7 +2394,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
2460
2394
|
}
|
|
2461
2395
|
});
|
|
2462
2396
|
|
|
2463
|
-
const _sfc_main$
|
|
2397
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
2464
2398
|
__name: "NumberFieldIncrement",
|
|
2465
2399
|
props: {
|
|
2466
2400
|
disabled: { type: Boolean },
|
|
@@ -2493,7 +2427,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2493
2427
|
}
|
|
2494
2428
|
});
|
|
2495
2429
|
|
|
2496
|
-
const _sfc_main$
|
|
2430
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
2497
2431
|
__name: "NumberFieldInput",
|
|
2498
2432
|
props: {
|
|
2499
2433
|
class: {}
|
|
@@ -2514,11 +2448,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
2514
2448
|
}
|
|
2515
2449
|
});
|
|
2516
2450
|
|
|
2517
|
-
const
|
|
2518
|
-
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2519
|
-
...{
|
|
2520
|
-
inheritAttrs: false
|
|
2521
|
-
},
|
|
2451
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
2522
2452
|
__name: "InputNumber",
|
|
2523
2453
|
props: {
|
|
2524
2454
|
class: {},
|
|
@@ -2528,8 +2458,6 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
2528
2458
|
disableIncrement: { type: Boolean },
|
|
2529
2459
|
disableWheelChange: { type: Boolean },
|
|
2530
2460
|
formatOptions: { default: () => ({ useGrouping: false }) },
|
|
2531
|
-
label: {},
|
|
2532
|
-
labelClass: {},
|
|
2533
2461
|
max: {},
|
|
2534
2462
|
min: {},
|
|
2535
2463
|
modelValue: {},
|
|
@@ -2546,71 +2474,48 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
2546
2474
|
get: () => props.modelValue ?? void 0,
|
|
2547
2475
|
set: (it) => emit("update:modelValue", it ?? null)
|
|
2548
2476
|
});
|
|
2549
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
2550
2477
|
return (_ctx, _cache) => {
|
|
2551
|
-
return openBlock(),
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
]),
|
|
2582
|
-
_: 1
|
|
2583
|
-
}, 16, ["modelValue", "default-value", "disabled", "disable-wheel-change", "format-options", "min", "max", "step", "step-snapping", "style", "class"])
|
|
2584
|
-
]),
|
|
2585
|
-
_: 1
|
|
2586
|
-
}),
|
|
2587
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
2588
|
-
key: 0,
|
|
2589
|
-
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
2590
|
-
}, {
|
|
2591
|
-
default: withCtx(() => [
|
|
2592
|
-
createElementVNode("span", _hoisted_1$a, toDisplayString(_ctx.label), 1),
|
|
2593
|
-
createVNode(unref(ReuseTemplate))
|
|
2594
|
-
]),
|
|
2595
|
-
_: 1
|
|
2596
|
-
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
2597
|
-
], 64);
|
|
2478
|
+
return openBlock(), createBlock(unref(_sfc_main$1U), {
|
|
2479
|
+
modelValue: value.value,
|
|
2480
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2481
|
+
"default-value": _ctx.defaultValue,
|
|
2482
|
+
disabled: _ctx.disabled,
|
|
2483
|
+
"disable-wheel-change": _ctx.disableWheelChange,
|
|
2484
|
+
"format-options": _ctx.formatOptions,
|
|
2485
|
+
min: _ctx.min,
|
|
2486
|
+
max: _ctx.max,
|
|
2487
|
+
step: _ctx.step,
|
|
2488
|
+
"step-snapping": _ctx.stepSnapping,
|
|
2489
|
+
style: normalizeStyle(_ctx.style),
|
|
2490
|
+
class: normalizeClass(unref(cn)("w-full", props.class))
|
|
2491
|
+
}, {
|
|
2492
|
+
default: withCtx(() => [
|
|
2493
|
+
createVNode(unref(_sfc_main$1T), null, {
|
|
2494
|
+
default: withCtx(() => [
|
|
2495
|
+
createVNode(unref(_sfc_main$1S), {
|
|
2496
|
+
disabled: _ctx.disabled || _ctx.disableDecrement
|
|
2497
|
+
}, null, 8, ["disabled"]),
|
|
2498
|
+
createVNode(unref(_sfc_main$1Q)),
|
|
2499
|
+
createVNode(unref(_sfc_main$1R), {
|
|
2500
|
+
disabled: _ctx.disabled || _ctx.disableIncrement
|
|
2501
|
+
}, null, 8, ["disabled"])
|
|
2502
|
+
]),
|
|
2503
|
+
_: 1
|
|
2504
|
+
})
|
|
2505
|
+
]),
|
|
2506
|
+
_: 1
|
|
2507
|
+
}, 8, ["modelValue", "default-value", "disabled", "disable-wheel-change", "format-options", "min", "max", "step", "step-snapping", "style", "class"]);
|
|
2598
2508
|
};
|
|
2599
2509
|
}
|
|
2600
2510
|
});
|
|
2601
2511
|
|
|
2602
|
-
const _sfc_main$
|
|
2603
|
-
...{
|
|
2604
|
-
inheritAttrs: false
|
|
2605
|
-
},
|
|
2512
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2606
2513
|
__name: "InputText",
|
|
2607
2514
|
props: /* @__PURE__ */ mergeModels({
|
|
2608
2515
|
autocomplete: {},
|
|
2609
2516
|
autofocus: {},
|
|
2610
2517
|
class: {},
|
|
2611
2518
|
disabled: {},
|
|
2612
|
-
label: {},
|
|
2613
|
-
labelClass: {},
|
|
2614
2519
|
max: {},
|
|
2615
2520
|
min: {},
|
|
2616
2521
|
onBlur: {},
|
|
@@ -2641,7 +2546,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2641
2546
|
}
|
|
2642
2547
|
__expose({ inputEl, focus, blur, select });
|
|
2643
2548
|
return (_ctx, _cache) => {
|
|
2644
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2549
|
+
return openBlock(), createBlock(unref(_sfc_main$1V), {
|
|
2645
2550
|
ref_key: "inputComponent",
|
|
2646
2551
|
ref: inputComponent,
|
|
2647
2552
|
modelValue: value.value,
|
|
@@ -2650,8 +2555,6 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2650
2555
|
autocomplete: _ctx.autocomplete,
|
|
2651
2556
|
autofocus: _ctx.autofocus,
|
|
2652
2557
|
disabled: _ctx.disabled,
|
|
2653
|
-
label: _ctx.label,
|
|
2654
|
-
"label-class": _ctx.labelClass,
|
|
2655
2558
|
max: _ctx.max,
|
|
2656
2559
|
min: _ctx.min,
|
|
2657
2560
|
"on-blur": _ctx.onBlur,
|
|
@@ -2662,12 +2565,42 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2662
2565
|
spellcheck: _ctx.spellcheck,
|
|
2663
2566
|
style: normalizeStyle(_ctx.style),
|
|
2664
2567
|
class: normalizeClass(props.class)
|
|
2665
|
-
}, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "
|
|
2568
|
+
}, null, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "max", "min", "on-blur", "placeholder", "readonly", "required", "size", "spellcheck", "style", "class"]);
|
|
2666
2569
|
};
|
|
2667
2570
|
}
|
|
2668
2571
|
});
|
|
2669
2572
|
|
|
2670
|
-
const
|
|
2573
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2574
|
+
__name: "Label",
|
|
2575
|
+
props: {
|
|
2576
|
+
for: {},
|
|
2577
|
+
asChild: { type: Boolean },
|
|
2578
|
+
as: {},
|
|
2579
|
+
class: {}
|
|
2580
|
+
},
|
|
2581
|
+
setup(__props) {
|
|
2582
|
+
const props = __props;
|
|
2583
|
+
const delegatedProps = computed(() => {
|
|
2584
|
+
const { class: _, ...delegated } = props;
|
|
2585
|
+
return delegated;
|
|
2586
|
+
});
|
|
2587
|
+
return (_ctx, _cache) => {
|
|
2588
|
+
return openBlock(), createBlock(unref(Label), mergeProps({ "data-slot": "label" }, delegatedProps.value, {
|
|
2589
|
+
class: unref(cn)(
|
|
2590
|
+
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
2591
|
+
props.class
|
|
2592
|
+
)
|
|
2593
|
+
}), {
|
|
2594
|
+
default: withCtx(() => [
|
|
2595
|
+
renderSlot(_ctx.$slots, "default")
|
|
2596
|
+
]),
|
|
2597
|
+
_: 3
|
|
2598
|
+
}, 16, ["class"]);
|
|
2599
|
+
};
|
|
2600
|
+
}
|
|
2601
|
+
});
|
|
2602
|
+
|
|
2603
|
+
const _hoisted_1$7 = { key: 0 };
|
|
2671
2604
|
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2672
2605
|
__name: "Link",
|
|
2673
2606
|
props: {
|
|
@@ -2680,7 +2613,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
2680
2613
|
to: { name: _ctx.to }
|
|
2681
2614
|
}, {
|
|
2682
2615
|
default: withCtx(() => [
|
|
2683
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2616
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$7, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2684
2617
|
]),
|
|
2685
2618
|
_: 3
|
|
2686
2619
|
}, 8, ["to"]);
|
|
@@ -2750,7 +2683,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2750
2683
|
}
|
|
2751
2684
|
});
|
|
2752
2685
|
|
|
2753
|
-
const _hoisted_1$
|
|
2686
|
+
const _hoisted_1$6 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2754
2687
|
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2755
2688
|
__name: "MenubarCheckboxItem",
|
|
2756
2689
|
props: {
|
|
@@ -2778,7 +2711,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2778
2711
|
)
|
|
2779
2712
|
}), {
|
|
2780
2713
|
default: withCtx(() => [
|
|
2781
|
-
createElementVNode("span", _hoisted_1$
|
|
2714
|
+
createElementVNode("span", _hoisted_1$6, [
|
|
2782
2715
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2783
2716
|
default: withCtx(() => [
|
|
2784
2717
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -2969,7 +2902,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2969
2902
|
}
|
|
2970
2903
|
});
|
|
2971
2904
|
|
|
2972
|
-
const _hoisted_1$
|
|
2905
|
+
const _hoisted_1$5 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2973
2906
|
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2974
2907
|
__name: "MenubarRadioItem",
|
|
2975
2908
|
props: {
|
|
@@ -2997,7 +2930,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2997
2930
|
)
|
|
2998
2931
|
}), {
|
|
2999
2932
|
default: withCtx(() => [
|
|
3000
|
-
createElementVNode("span", _hoisted_1$
|
|
2933
|
+
createElementVNode("span", _hoisted_1$5, [
|
|
3001
2934
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
3002
2935
|
default: withCtx(() => [
|
|
3003
2936
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -3694,7 +3627,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3694
3627
|
}
|
|
3695
3628
|
});
|
|
3696
3629
|
|
|
3697
|
-
const _hoisted_1$
|
|
3630
|
+
const _hoisted_1$4 = {
|
|
3698
3631
|
key: 0,
|
|
3699
3632
|
class: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border"
|
|
3700
3633
|
};
|
|
@@ -3724,7 +3657,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3724
3657
|
)
|
|
3725
3658
|
}), {
|
|
3726
3659
|
default: withCtx(() => [
|
|
3727
|
-
props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3660
|
+
props.withHandle ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
3728
3661
|
createVNode(unref(GripVertical), { class: "size-2.5" })
|
|
3729
3662
|
])) : createCommentVNode("", true)
|
|
3730
3663
|
]),
|
|
@@ -3920,7 +3853,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3920
3853
|
}
|
|
3921
3854
|
});
|
|
3922
3855
|
|
|
3923
|
-
const _hoisted_1$
|
|
3856
|
+
const _hoisted_1$3 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
3924
3857
|
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
3925
3858
|
__name: "SelectItem",
|
|
3926
3859
|
props: {
|
|
@@ -3946,7 +3879,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
3946
3879
|
)
|
|
3947
3880
|
}), {
|
|
3948
3881
|
default: withCtx(() => [
|
|
3949
|
-
createElementVNode("span", _hoisted_1$
|
|
3882
|
+
createElementVNode("span", _hoisted_1$3, [
|
|
3950
3883
|
createVNode(unref(SelectItemIndicator), null, {
|
|
3951
3884
|
default: withCtx(() => [
|
|
3952
3885
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -4148,25 +4081,19 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
4148
4081
|
}
|
|
4149
4082
|
});
|
|
4150
4083
|
|
|
4151
|
-
const _hoisted_1$
|
|
4152
|
-
const _hoisted_2$1 = { class: "w-full" };
|
|
4084
|
+
const _hoisted_1$2 = { class: "flex w-full items-center justify-center gap-2" };
|
|
4153
4085
|
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
4154
|
-
...{
|
|
4155
|
-
inheritAttrs: false
|
|
4156
|
-
},
|
|
4157
4086
|
__name: "Select",
|
|
4158
4087
|
props: {
|
|
4159
4088
|
autocomplete: {},
|
|
4160
4089
|
autofocus: {},
|
|
4161
|
-
class: {},
|
|
4162
4090
|
contentClass: {},
|
|
4163
4091
|
disabled: { type: Boolean },
|
|
4164
|
-
label: {},
|
|
4165
|
-
labelClass: {},
|
|
4166
4092
|
modelValue: {},
|
|
4167
4093
|
placeholder: {},
|
|
4168
4094
|
required: { type: Boolean },
|
|
4169
|
-
|
|
4095
|
+
selectClass: {},
|
|
4096
|
+
selectStyle: {},
|
|
4170
4097
|
triggerClass: {}
|
|
4171
4098
|
},
|
|
4172
4099
|
emits: ["update:modelValue"],
|
|
@@ -4178,58 +4105,40 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
4178
4105
|
get: () => props.modelValue ?? void 0,
|
|
4179
4106
|
set: (it) => emit("update:modelValue", it ?? null)
|
|
4180
4107
|
});
|
|
4181
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
4182
4108
|
return (_ctx, _cache) => {
|
|
4183
|
-
return openBlock(), createElementBlock(
|
|
4184
|
-
createVNode(unref(
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
required: _ctx.required,
|
|
4194
|
-
style: _ctx.style,
|
|
4195
|
-
class: props.class
|
|
4196
|
-
}), {
|
|
4197
|
-
default: withCtx(() => [
|
|
4198
|
-
createVNode(unref(_sfc_main$14), {
|
|
4199
|
-
class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
|
|
4200
|
-
}, {
|
|
4201
|
-
default: withCtx(() => [
|
|
4202
|
-
createVNode(unref(_sfc_main$13), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
|
|
4203
|
-
]),
|
|
4204
|
-
_: 1
|
|
4205
|
-
}, 8, ["class"]),
|
|
4206
|
-
createVNode(unref(_sfc_main$1c), {
|
|
4207
|
-
class: normalizeClass(_ctx.contentClass)
|
|
4208
|
-
}, {
|
|
4209
|
-
default: withCtx(() => [
|
|
4210
|
-
renderSlot(_ctx.$slots, "default")
|
|
4211
|
-
]),
|
|
4212
|
-
_: 3
|
|
4213
|
-
}, 8, ["class"])
|
|
4214
|
-
]),
|
|
4215
|
-
_: 3
|
|
4216
|
-
}, 16, ["modelValue", "autocomplete", "autofocus", "disabled", "required", "style", "class"]),
|
|
4217
|
-
renderSlot(_ctx.$slots, "action")
|
|
4218
|
-
])
|
|
4219
|
-
]),
|
|
4220
|
-
_: 3
|
|
4221
|
-
}),
|
|
4222
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
4223
|
-
key: 0,
|
|
4224
|
-
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", _ctx.labelClass))
|
|
4109
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
4110
|
+
createVNode(unref(_sfc_main$1d), {
|
|
4111
|
+
modelValue: value.value,
|
|
4112
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
4113
|
+
autocomplete: _ctx.autocomplete,
|
|
4114
|
+
autofocus: _ctx.autofocus,
|
|
4115
|
+
disabled: _ctx.disabled,
|
|
4116
|
+
required: _ctx.required,
|
|
4117
|
+
style: normalizeStyle(_ctx.selectStyle),
|
|
4118
|
+
class: normalizeClass(_ctx.selectClass)
|
|
4225
4119
|
}, {
|
|
4226
4120
|
default: withCtx(() => [
|
|
4227
|
-
|
|
4228
|
-
|
|
4121
|
+
createVNode(unref(_sfc_main$14), {
|
|
4122
|
+
class: normalizeClass(unref(cn)("w-full", _ctx.triggerClass))
|
|
4123
|
+
}, {
|
|
4124
|
+
default: withCtx(() => [
|
|
4125
|
+
createVNode(unref(_sfc_main$13), { placeholder: _ctx.placeholder }, null, 8, ["placeholder"])
|
|
4126
|
+
]),
|
|
4127
|
+
_: 1
|
|
4128
|
+
}, 8, ["class"]),
|
|
4129
|
+
createVNode(unref(_sfc_main$1c), {
|
|
4130
|
+
class: normalizeClass(_ctx.contentClass)
|
|
4131
|
+
}, {
|
|
4132
|
+
default: withCtx(() => [
|
|
4133
|
+
renderSlot(_ctx.$slots, "default")
|
|
4134
|
+
]),
|
|
4135
|
+
_: 3
|
|
4136
|
+
}, 8, ["class"])
|
|
4229
4137
|
]),
|
|
4230
|
-
_:
|
|
4231
|
-
}, 8, ["
|
|
4232
|
-
|
|
4138
|
+
_: 3
|
|
4139
|
+
}, 8, ["modelValue", "autocomplete", "autofocus", "disabled", "required", "style", "class"]),
|
|
4140
|
+
renderSlot(_ctx.$slots, "action")
|
|
4141
|
+
]);
|
|
4233
4142
|
};
|
|
4234
4143
|
}
|
|
4235
4144
|
});
|
|
@@ -4500,7 +4409,7 @@ const SIDEBAR_WIDTH_MOBILE = "18rem";
|
|
|
4500
4409
|
const SIDEBAR_WIDTH_ICON = "3rem";
|
|
4501
4410
|
const [useSidebar, provideSidebarContext] = createContext("Sidebar");
|
|
4502
4411
|
|
|
4503
|
-
const _hoisted_1$
|
|
4412
|
+
const _hoisted_1$1 = { class: "flex h-full w-full flex-col" };
|
|
4504
4413
|
const _hoisted_2 = ["data-state", "data-collapsible", "data-variant", "data-side"];
|
|
4505
4414
|
const _hoisted_3 = {
|
|
4506
4415
|
"data-sidebar": "sidebar",
|
|
@@ -4560,7 +4469,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
4560
4469
|
]),
|
|
4561
4470
|
_: 1
|
|
4562
4471
|
}),
|
|
4563
|
-
createElementVNode("div", _hoisted_1$
|
|
4472
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
4564
4473
|
renderSlot(_ctx.$slots, "default")
|
|
4565
4474
|
])
|
|
4566
4475
|
]),
|
|
@@ -5368,7 +5277,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
5368
5277
|
const props = __props;
|
|
5369
5278
|
const { toggleSidebar } = useSidebar();
|
|
5370
5279
|
return (_ctx, _cache) => {
|
|
5371
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
5280
|
+
return openBlock(), createBlock(unref(_sfc_main$2Z), {
|
|
5372
5281
|
"data-sidebar": "trigger",
|
|
5373
5282
|
"data-slot": "sidebar-trigger",
|
|
5374
5283
|
variant: "ghost",
|
|
@@ -5621,65 +5530,31 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
5621
5530
|
}
|
|
5622
5531
|
});
|
|
5623
5532
|
|
|
5624
|
-
const _hoisted_1$2 = {
|
|
5625
|
-
key: 1,
|
|
5626
|
-
class: "w-full"
|
|
5627
|
-
};
|
|
5628
5533
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5629
|
-
...{
|
|
5630
|
-
inheritAttrs: false
|
|
5631
|
-
},
|
|
5632
5534
|
__name: "Switch",
|
|
5633
5535
|
props: /* @__PURE__ */ mergeModels({
|
|
5634
|
-
|
|
5635
|
-
disabled: { type: Boolean },
|
|
5636
|
-
label: {},
|
|
5637
|
-
labelClass: {},
|
|
5638
|
-
position: { default: "before" },
|
|
5639
|
-
style: {}
|
|
5536
|
+
disabled: { type: Boolean }
|
|
5640
5537
|
}, {
|
|
5641
5538
|
"modelValue": { type: Boolean, ...{ required: true } },
|
|
5642
5539
|
"modelModifiers": {}
|
|
5643
5540
|
}),
|
|
5644
5541
|
emits: ["update:modelValue"],
|
|
5645
5542
|
setup(__props) {
|
|
5646
|
-
const props = __props;
|
|
5647
5543
|
const toggled = useModel(__props, "modelValue");
|
|
5648
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
5649
5544
|
return (_ctx, _cache) => {
|
|
5650
|
-
return openBlock(),
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
}), createSlots({ _: 2 }, [
|
|
5660
|
-
_ctx.$slots.thumb ? {
|
|
5661
|
-
name: "thumb",
|
|
5662
|
-
fn: withCtx(() => [
|
|
5663
|
-
renderSlot(_ctx.$slots, "thumb")
|
|
5664
|
-
]),
|
|
5665
|
-
key: "0"
|
|
5666
|
-
} : void 0
|
|
5667
|
-
]), 1040, ["modelValue", "disabled", "style", "class"])
|
|
5668
|
-
]),
|
|
5669
|
-
_: 3
|
|
5670
|
-
}),
|
|
5671
|
-
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
5672
|
-
key: 0,
|
|
5673
|
-
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-2", _ctx.labelClass))
|
|
5674
|
-
}, {
|
|
5675
|
-
default: withCtx(() => [
|
|
5676
|
-
_ctx.position === "before" ? (openBlock(), createBlock(unref(ReuseTemplate), { key: 0 })) : createCommentVNode("", true),
|
|
5677
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$2, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "label", { key: 2 }),
|
|
5678
|
-
_ctx.position === "after" ? (openBlock(), createBlock(unref(ReuseTemplate), { key: 3 })) : createCommentVNode("", true)
|
|
5545
|
+
return openBlock(), createBlock(unref(_sfc_main$o), {
|
|
5546
|
+
modelValue: toggled.value,
|
|
5547
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => toggled.value = $event),
|
|
5548
|
+
disabled: _ctx.disabled
|
|
5549
|
+
}, createSlots({ _: 2 }, [
|
|
5550
|
+
_ctx.$slots.thumb ? {
|
|
5551
|
+
name: "thumb",
|
|
5552
|
+
fn: withCtx(() => [
|
|
5553
|
+
renderSlot(_ctx.$slots, "thumb")
|
|
5679
5554
|
]),
|
|
5680
|
-
|
|
5681
|
-
}
|
|
5682
|
-
],
|
|
5555
|
+
key: "0"
|
|
5556
|
+
} : void 0
|
|
5557
|
+
]), 1032, ["modelValue", "disabled"]);
|
|
5683
5558
|
};
|
|
5684
5559
|
}
|
|
5685
5560
|
});
|
|
@@ -5763,7 +5638,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5763
5638
|
}
|
|
5764
5639
|
});
|
|
5765
5640
|
|
|
5766
|
-
const _hoisted_1
|
|
5641
|
+
const _hoisted_1 = { class: "flex items-center justify-center py-10" };
|
|
5767
5642
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5768
5643
|
__name: "TableEmpty",
|
|
5769
5644
|
props: {
|
|
@@ -5783,7 +5658,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
5783
5658
|
class: unref(cn)("text-foreground p-4 align-middle text-sm whitespace-nowrap", props.class)
|
|
5784
5659
|
}, delegatedProps.value), {
|
|
5785
5660
|
default: withCtx(() => [
|
|
5786
|
-
createElementVNode("div", _hoisted_1
|
|
5661
|
+
createElementVNode("div", _hoisted_1, [
|
|
5787
5662
|
renderSlot(_ctx.$slots, "default")
|
|
5788
5663
|
])
|
|
5789
5664
|
]),
|
|
@@ -5856,9 +5731,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
5856
5731
|
});
|
|
5857
5732
|
|
|
5858
5733
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
5859
|
-
...{
|
|
5860
|
-
inheritAttrs: false
|
|
5861
|
-
},
|
|
5862
5734
|
__name: "Table",
|
|
5863
5735
|
props: {
|
|
5864
5736
|
bodyClass: {},
|
|
@@ -5866,14 +5738,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5866
5738
|
captionClass: {},
|
|
5867
5739
|
captionStyle: {},
|
|
5868
5740
|
class: {},
|
|
5869
|
-
containerClass: {},
|
|
5870
|
-
containerStyle: {},
|
|
5871
5741
|
footerClass: {},
|
|
5872
5742
|
footerStyle: {},
|
|
5873
5743
|
headerClass: {},
|
|
5874
5744
|
headerStyle: {},
|
|
5875
5745
|
height: {},
|
|
5876
5746
|
style: {},
|
|
5747
|
+
tableClass: {},
|
|
5748
|
+
tableStyle: {},
|
|
5877
5749
|
width: {}
|
|
5878
5750
|
},
|
|
5879
5751
|
setup(__props) {
|
|
@@ -5887,21 +5759,21 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5887
5759
|
return (_ctx, _cache) => {
|
|
5888
5760
|
return openBlock(), createElementBlock("div", {
|
|
5889
5761
|
"data-slot": "table-container",
|
|
5890
|
-
style: normalizeStyle([containerHeight.value, containerWidth.value, _ctx.
|
|
5762
|
+
style: normalizeStyle([containerHeight.value, containerWidth.value, _ctx.style]),
|
|
5891
5763
|
class: normalizeClass(
|
|
5892
5764
|
unref(cn)(
|
|
5893
5765
|
"relative w-full",
|
|
5894
5766
|
containerWidth.value ? "overflow-x-auto" : "overflow-x-hidden",
|
|
5895
5767
|
containerHeight.value ? "overflow-y-auto" : "overflow-y-hidden",
|
|
5896
|
-
|
|
5768
|
+
props.class
|
|
5897
5769
|
)
|
|
5898
5770
|
)
|
|
5899
5771
|
}, [
|
|
5900
|
-
createElementVNode("table",
|
|
5772
|
+
createElementVNode("table", {
|
|
5901
5773
|
"data-slot": "table",
|
|
5902
|
-
style: _ctx.
|
|
5903
|
-
class: unref(cn)("w-full caption-bottom text-sm", props.
|
|
5904
|
-
}
|
|
5774
|
+
style: normalizeStyle(_ctx.tableStyle),
|
|
5775
|
+
class: normalizeClass(unref(cn)("w-full caption-bottom text-sm", props.tableClass))
|
|
5776
|
+
}, [
|
|
5905
5777
|
_ctx.$slots.caption ? (openBlock(), createBlock(unref(_sfc_main$l), {
|
|
5906
5778
|
key: 0,
|
|
5907
5779
|
style: normalizeStyle(_ctx.captionStyle),
|
|
@@ -5941,7 +5813,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
5941
5813
|
]),
|
|
5942
5814
|
_: 3
|
|
5943
5815
|
}, 8, ["style", "class"])) : createCommentVNode("", true)
|
|
5944
|
-
],
|
|
5816
|
+
], 6)
|
|
5945
5817
|
], 6);
|
|
5946
5818
|
};
|
|
5947
5819
|
}
|
|
@@ -6285,7 +6157,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
6285
6157
|
}
|
|
6286
6158
|
});
|
|
6287
6159
|
|
|
6288
|
-
const _hoisted_1 = { class: "w-full" };
|
|
6289
6160
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6290
6161
|
...{
|
|
6291
6162
|
inheritAttrs: false
|
|
@@ -6300,8 +6171,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6300
6171
|
cols: {},
|
|
6301
6172
|
disabled: { type: Boolean },
|
|
6302
6173
|
height: {},
|
|
6303
|
-
label: {},
|
|
6304
|
-
labelClass: {},
|
|
6305
6174
|
max: {},
|
|
6306
6175
|
min: {},
|
|
6307
6176
|
modelValue: {},
|
|
@@ -6329,53 +6198,35 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
6329
6198
|
const textareaHeight = computed(() => {
|
|
6330
6199
|
return props.height ? { height: toPixel(props.height) } : null;
|
|
6331
6200
|
});
|
|
6332
|
-
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
6333
6201
|
__expose({ textareaEl });
|
|
6334
6202
|
return (_ctx, _cache) => {
|
|
6335
|
-
return openBlock(),
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
),
|
|
6363
|
-
onBlur: _ctx.onBlur
|
|
6364
|
-
}), null, 16, ["modelValue", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "cols", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "spellcheck", "style", "class", "onBlur"])
|
|
6365
|
-
]),
|
|
6366
|
-
_: 1
|
|
6367
|
-
}),
|
|
6368
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$2M), {
|
|
6369
|
-
key: 0,
|
|
6370
|
-
class: normalizeClass(unref(cn)("flex w-full flex-col gap-1 font-normal", _ctx.labelClass))
|
|
6371
|
-
}, {
|
|
6372
|
-
default: withCtx(() => [
|
|
6373
|
-
createElementVNode("span", _hoisted_1, toDisplayString(_ctx.label), 1),
|
|
6374
|
-
createVNode(unref(ReuseTemplate))
|
|
6375
|
-
]),
|
|
6376
|
-
_: 1
|
|
6377
|
-
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
6378
|
-
], 64);
|
|
6203
|
+
return openBlock(), createBlock(unref(_sfc_main$3), mergeProps({
|
|
6204
|
+
ref_key: "textareaComponent",
|
|
6205
|
+
ref: textareaComponent
|
|
6206
|
+
}, _ctx.$attrs, {
|
|
6207
|
+
modelValue: value.value,
|
|
6208
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
6209
|
+
modelModifiers: { trim: true },
|
|
6210
|
+
autocapitalize: _ctx.autocapitalize,
|
|
6211
|
+
autocomplete: _ctx.autocomplete,
|
|
6212
|
+
autocorrect: _ctx.autocorrect,
|
|
6213
|
+
autofocus: _ctx.autofocus,
|
|
6214
|
+
cols: _ctx.cols,
|
|
6215
|
+
disabled: _ctx.disabled,
|
|
6216
|
+
maxlength: _ctx.max,
|
|
6217
|
+
minlength: _ctx.min,
|
|
6218
|
+
placeholder: _ctx.placeholder,
|
|
6219
|
+
readonly: _ctx.readonly,
|
|
6220
|
+
required: _ctx.required,
|
|
6221
|
+
rows: _ctx.rows,
|
|
6222
|
+
spellcheck: _ctx.spellcheck,
|
|
6223
|
+
style: [textareaHeight.value, _ctx.style],
|
|
6224
|
+
class: unref(cn)(
|
|
6225
|
+
"size-full resize-none font-normal focus-visible:ring-0 disabled:cursor-default",
|
|
6226
|
+
props.class
|
|
6227
|
+
),
|
|
6228
|
+
onBlur: _ctx.onBlur
|
|
6229
|
+
}), null, 16, ["modelValue", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "cols", "disabled", "maxlength", "minlength", "placeholder", "readonly", "required", "rows", "spellcheck", "style", "class", "onBlur"]);
|
|
6379
6230
|
};
|
|
6380
6231
|
}
|
|
6381
6232
|
});
|
|
@@ -6464,4 +6315,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6464
6315
|
}
|
|
6465
6316
|
});
|
|
6466
6317
|
|
|
6467
|
-
export { _sfc_main$
|
|
6318
|
+
export { _sfc_main$2_ as Badge, _sfc_main$2Z as Button, _sfc_main$2W as ButtonIcon, _sfc_main$2X as ButtonLink, _sfc_main$2N as Card, _sfc_main$2L as Checkbox, _sfc_main$2K as Combobox, _sfc_main$2J as ComboboxAnchor, _sfc_main$2I as ComboboxEmpty, _sfc_main$2H as ComboboxGroup, _sfc_main$2G as ComboboxInput, _sfc_main$2F as ComboboxItem, _sfc_main$2E as ComboboxItemIndicator, _sfc_main$2D as ComboboxList, _sfc_main$2C as ComboboxSeparator, _sfc_main$2B as ComboboxViewport, _sfc_main$2A as ContextMenu, _sfc_main$2z as ContextMenuCheckboxItem, _sfc_main$2y as ContextMenuContent, _sfc_main$2x as ContextMenuGroup, _sfc_main$2w as ContextMenuItem, _sfc_main$2v as ContextMenuLabel, _sfc_main$2u as ContextMenuRadioGroup, _sfc_main$2t as ContextMenuRadioItem, _sfc_main$2s as ContextMenuSeparator, _sfc_main$2r as ContextMenuShortcut, _sfc_main$2q as ContextMenuSub, _sfc_main$2p as ContextMenuSubContent, _sfc_main$2o as ContextMenuSubTrigger, _sfc_main$2n as ContextMenuTrigger, _sfc_main$2m as Dialog, _sfc_main$2l as DialogClose, _sfc_main$2j as DialogContent, _sfc_main$2i as DialogDescription, _sfc_main$2h as DialogFooter, _sfc_main$2g as DialogHeader, _sfc_main$2k as DialogOverlay, _sfc_main$2f as DialogScrollContent, _sfc_main$2e as DialogTitle, _sfc_main$2d as DialogTrigger, _sfc_main$2c as DropdownMenu, _sfc_main$2b as DropdownMenuCheckboxItem, _sfc_main$2a as DropdownMenuContent, _sfc_main$29 as DropdownMenuGroup, _sfc_main$28 as DropdownMenuItem, _sfc_main$27 as DropdownMenuLabel, _sfc_main$26 as DropdownMenuRadioGroup, _sfc_main$25 as DropdownMenuRadioItem, _sfc_main$24 as DropdownMenuSeparator, _sfc_main$23 as DropdownMenuShortcut, _sfc_main$22 as DropdownMenuSub, _sfc_main$21 as DropdownMenuSubContent, _sfc_main$20 as DropdownMenuSubTrigger, _sfc_main$1$ as DropdownMenuTrigger, _sfc_main$1X as HoverCard, _sfc_main$1V as Input, _sfc_main$1P as InputNumber, _sfc_main$1O as InputText, _sfc_main$1N as Label, _sfc_main$1M as Link, Loading, _sfc_main$1K as Menubar, _sfc_main$1J as MenubarCheckboxItem, _sfc_main$1I as MenubarContent, _sfc_main$1H as MenubarGroup, _sfc_main$1G as MenubarItem, _sfc_main$1F as MenubarLabel, _sfc_main$1E as MenubarMenu, _sfc_main$1D as MenubarRadioGroup, _sfc_main$1C as MenubarRadioItem, _sfc_main$1B as MenubarSeparator, _sfc_main$1A as MenubarShortcut, _sfc_main$1z as MenubarSub, _sfc_main$1y as MenubarSubContent, _sfc_main$1x as MenubarSubTrigger, _sfc_main$1w as MenubarTrigger, _sfc_main$1v as Pagination, _sfc_main$1u as PaginationContent, _sfc_main$1t as PaginationEllipsis, _sfc_main$1s as PaginationFirst, _sfc_main$1r as PaginationItem, _sfc_main$1q as PaginationLast, _sfc_main$1p as PaginationNext, _sfc_main$1o as PaginationPrevious, _sfc_main$1k as Popover, _sfc_main$1j as Progress, _sfc_main$1i as RadioGroup, _sfc_main$1h as RadioGroupItem, _sfc_main$1g as ResizableHandle, _sfc_main$1f as ResizablePanel, _sfc_main$1e as ResizablePanelGroup, _sfc_main$2U as ScrollArea, _sfc_main$12 as Select, _sfc_main$1b as SelectGroup, _sfc_main$1a as SelectItem, _sfc_main$19 as SelectItemText, _sfc_main$18 as SelectLabel, _sfc_main$17 as SelectScrollDownButton, _sfc_main$16 as SelectScrollUpButton, _sfc_main$15 as SelectSeparator, _sfc_main$11 as Separator, _sfc_main$10 as Sheet, _sfc_main$$ as SheetClose, _sfc_main$Z as SheetContent, _sfc_main$Y as SheetDescription, _sfc_main$X as SheetFooter, _sfc_main$W as SheetHeader, _sfc_main$V as SheetTitle, _sfc_main$U as SheetTrigger, _sfc_main$r as Sidebar, _sfc_main$Q as SidebarGroup, _sfc_main$P as SidebarGroupAction, _sfc_main$O as SidebarGroupContent, _sfc_main$N as SidebarGroupLabel, _sfc_main$K as SidebarMenu, _sfc_main$J as SidebarMenuAction, _sfc_main$I as SidebarMenuBadge, _sfc_main$C as SidebarMenuButton, _sfc_main$B as SidebarMenuItem, _sfc_main$z as SidebarMenuSkeleton, _sfc_main$y as SidebarMenuSub, _sfc_main$x as SidebarMenuSubButton, _sfc_main$w as SidebarMenuSubItem, _sfc_main$u as SidebarRail, _sfc_main$t as SidebarSeparator, _sfc_main$s as SidebarTrigger, _sfc_main$A as Skeleton, _sfc_main$q as Slider, _sfc_main$p as Sonner, _sfc_main$n 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, cn, toBooleanCheckboxValue, useSidebar };
|