@tb-dev/vue 0.3.10 → 0.3.12
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/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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, createTextVNode, createElementVNode, withDirectives, isRef, vModelText, normalizeProps, guardReactiveProps, ref, 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, createTextVNode, createElementVNode, withDirectives, isRef, vModelText, normalizeProps, guardReactiveProps, ref, mergeModels, useModel, 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';
|
|
@@ -88,7 +88,7 @@ function cn(...inputs) {
|
|
|
88
88
|
return twMerge(clsx(inputs));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
const _sfc_main$
|
|
91
|
+
const _sfc_main$2M = /* @__PURE__ */ defineComponent({
|
|
92
92
|
__name: "Badge",
|
|
93
93
|
props: {
|
|
94
94
|
asChild: { type: Boolean },
|
|
@@ -133,7 +133,7 @@ const badgeVariants = cva(
|
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
|
|
136
|
-
const _sfc_main$
|
|
136
|
+
const _sfc_main$2L = /* @__PURE__ */ defineComponent({
|
|
137
137
|
__name: "Button",
|
|
138
138
|
props: {
|
|
139
139
|
variant: {},
|
|
@@ -186,9 +186,9 @@ const buttonVariants = cva(
|
|
|
186
186
|
}
|
|
187
187
|
);
|
|
188
188
|
|
|
189
|
-
const _hoisted_1$
|
|
189
|
+
const _hoisted_1$f = { key: 0 };
|
|
190
190
|
const _hoisted_2$1 = { key: 0 };
|
|
191
|
-
const _sfc_main$
|
|
191
|
+
const _sfc_main$2K = /* @__PURE__ */ defineComponent({
|
|
192
192
|
__name: "ButtonLink",
|
|
193
193
|
props: {
|
|
194
194
|
buttonClass: {},
|
|
@@ -204,14 +204,14 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
204
204
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
205
205
|
createVNode(unref(DefineTemplate), null, {
|
|
206
206
|
default: withCtx(() => [
|
|
207
|
-
createVNode(unref(_sfc_main$
|
|
207
|
+
createVNode(unref(_sfc_main$2L), {
|
|
208
208
|
variant: _ctx.variant,
|
|
209
209
|
size: _ctx.size,
|
|
210
210
|
disabled: _ctx.disabled,
|
|
211
211
|
class: normalizeClass(unref(cn)("size-full", _ctx.buttonClass))
|
|
212
212
|
}, {
|
|
213
213
|
default: withCtx(() => [
|
|
214
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
214
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$f, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
215
215
|
]),
|
|
216
216
|
_: 3
|
|
217
217
|
}, 8, ["variant", "size", "disabled", "class"])
|
|
@@ -234,7 +234,7 @@ const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
|
|
237
|
-
const _sfc_main$
|
|
237
|
+
const _sfc_main$2J = /* @__PURE__ */ defineComponent({
|
|
238
238
|
__name: "ButtonIcon",
|
|
239
239
|
props: {
|
|
240
240
|
buttonClass: {},
|
|
@@ -247,7 +247,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
247
247
|
setup(__props) {
|
|
248
248
|
const props = __props;
|
|
249
249
|
return (_ctx, _cache) => {
|
|
250
|
-
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$
|
|
250
|
+
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2K), {
|
|
251
251
|
key: 0,
|
|
252
252
|
to: _ctx.to,
|
|
253
253
|
variant: "ghost",
|
|
@@ -262,7 +262,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
262
262
|
}, null, 8, ["class", "size"]))
|
|
263
263
|
]),
|
|
264
264
|
_: 1
|
|
265
|
-
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
265
|
+
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2L), {
|
|
266
266
|
key: 1,
|
|
267
267
|
variant: "ghost",
|
|
268
268
|
size: "icon",
|
|
@@ -280,7 +280,7 @@ const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
|
280
280
|
}
|
|
281
281
|
});
|
|
282
282
|
|
|
283
|
-
const _sfc_main$
|
|
283
|
+
const _sfc_main$2I = /* @__PURE__ */ defineComponent({
|
|
284
284
|
__name: "ScrollBar",
|
|
285
285
|
props: {
|
|
286
286
|
orientation: { default: "vertical" },
|
|
@@ -316,7 +316,7 @@ const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
const _sfc_main$
|
|
319
|
+
const _sfc_main$2H = /* @__PURE__ */ defineComponent({
|
|
320
320
|
__name: "ScrollArea",
|
|
321
321
|
props: {
|
|
322
322
|
type: {},
|
|
@@ -346,7 +346,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
|
346
346
|
]),
|
|
347
347
|
_: 3
|
|
348
348
|
}),
|
|
349
|
-
createVNode(_sfc_main$
|
|
349
|
+
createVNode(_sfc_main$2I),
|
|
350
350
|
createVNode(unref(ScrollAreaCorner))
|
|
351
351
|
]),
|
|
352
352
|
_: 3
|
|
@@ -355,7 +355,7 @@ const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
357
|
|
|
358
|
-
const _sfc_main$
|
|
358
|
+
const _sfc_main$2G = /* @__PURE__ */ defineComponent({
|
|
359
359
|
__name: "Card",
|
|
360
360
|
props: {
|
|
361
361
|
class: {}
|
|
@@ -378,7 +378,7 @@ const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
|
|
381
|
-
const _sfc_main$
|
|
381
|
+
const _sfc_main$2F = /* @__PURE__ */ defineComponent({
|
|
382
382
|
__name: "CardContent",
|
|
383
383
|
props: {
|
|
384
384
|
class: {}
|
|
@@ -396,7 +396,7 @@ const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
|
|
399
|
-
const _sfc_main$
|
|
399
|
+
const _sfc_main$2E = /* @__PURE__ */ defineComponent({
|
|
400
400
|
__name: "CardDescription",
|
|
401
401
|
props: {
|
|
402
402
|
class: {}
|
|
@@ -414,7 +414,7 @@ const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
416
|
|
|
417
|
-
const _sfc_main$
|
|
417
|
+
const _sfc_main$2D = /* @__PURE__ */ defineComponent({
|
|
418
418
|
__name: "CardFooter",
|
|
419
419
|
props: {
|
|
420
420
|
class: {}
|
|
@@ -432,7 +432,7 @@ const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
|
|
435
|
-
const _sfc_main$
|
|
435
|
+
const _sfc_main$2C = /* @__PURE__ */ defineComponent({
|
|
436
436
|
__name: "CardHeader",
|
|
437
437
|
props: {
|
|
438
438
|
class: {}
|
|
@@ -455,7 +455,7 @@ const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
|
|
458
|
-
const _sfc_main$
|
|
458
|
+
const _sfc_main$2B = /* @__PURE__ */ defineComponent({
|
|
459
459
|
__name: "CardTitle",
|
|
460
460
|
props: {
|
|
461
461
|
class: {}
|
|
@@ -473,7 +473,7 @@ const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
|
|
476
|
-
const _sfc_main$
|
|
476
|
+
const _sfc_main$2A = /* @__PURE__ */ defineComponent({
|
|
477
477
|
__name: "Card",
|
|
478
478
|
props: {
|
|
479
479
|
contentClass: {},
|
|
@@ -486,14 +486,14 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
486
486
|
},
|
|
487
487
|
setup(__props) {
|
|
488
488
|
return (_ctx, _cache) => {
|
|
489
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
489
|
+
return openBlock(), createBlock(unref(_sfc_main$2G), null, {
|
|
490
490
|
default: withCtx(() => [
|
|
491
|
-
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
491
|
+
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$2C), {
|
|
492
492
|
key: 0,
|
|
493
493
|
class: normalizeClass(_ctx.headerClass)
|
|
494
494
|
}, {
|
|
495
495
|
default: withCtx(() => [
|
|
496
|
-
createVNode(unref(_sfc_main$
|
|
496
|
+
createVNode(unref(_sfc_main$2B), {
|
|
497
497
|
class: normalizeClass(_ctx.titleClass)
|
|
498
498
|
}, {
|
|
499
499
|
default: withCtx(() => [
|
|
@@ -501,7 +501,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
501
501
|
]),
|
|
502
502
|
_: 3
|
|
503
503
|
}, 8, ["class"]),
|
|
504
|
-
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$
|
|
504
|
+
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$2E), {
|
|
505
505
|
key: 0,
|
|
506
506
|
class: normalizeClass(_ctx.descriptionClass)
|
|
507
507
|
}, {
|
|
@@ -513,12 +513,12 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
513
513
|
]),
|
|
514
514
|
_: 3
|
|
515
515
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
516
|
-
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$
|
|
516
|
+
_ctx.$slots.default ? (openBlock(), createBlock(unref(_sfc_main$2F), {
|
|
517
517
|
key: 1,
|
|
518
518
|
class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
|
|
519
519
|
}, {
|
|
520
520
|
default: withCtx(() => [
|
|
521
|
-
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
521
|
+
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$2H), {
|
|
522
522
|
key: 0,
|
|
523
523
|
class: normalizeClass(_ctx.scrollAreaClass),
|
|
524
524
|
style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
|
|
@@ -531,7 +531,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
531
531
|
]),
|
|
532
532
|
_: 3
|
|
533
533
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
534
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
534
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2D), {
|
|
535
535
|
key: 2,
|
|
536
536
|
class: normalizeClass(_ctx.footerClass)
|
|
537
537
|
}, {
|
|
@@ -547,7 +547,7 @@ const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
549
|
|
|
550
|
-
const _sfc_main$
|
|
550
|
+
const _sfc_main$2z = /* @__PURE__ */ defineComponent({
|
|
551
551
|
__name: "Checkbox",
|
|
552
552
|
props: {
|
|
553
553
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -596,7 +596,7 @@ const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
|
596
596
|
}
|
|
597
597
|
});
|
|
598
598
|
|
|
599
|
-
const _sfc_main$
|
|
599
|
+
const _sfc_main$2y = /* @__PURE__ */ defineComponent({
|
|
600
600
|
__name: "Combobox",
|
|
601
601
|
props: {
|
|
602
602
|
open: { type: Boolean },
|
|
@@ -632,7 +632,7 @@ const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
634
|
|
|
635
|
-
const _sfc_main$
|
|
635
|
+
const _sfc_main$2x = /* @__PURE__ */ defineComponent({
|
|
636
636
|
__name: "ComboboxAnchor",
|
|
637
637
|
props: {
|
|
638
638
|
reference: {},
|
|
@@ -660,7 +660,7 @@ const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
|
660
660
|
}
|
|
661
661
|
});
|
|
662
662
|
|
|
663
|
-
const _sfc_main$
|
|
663
|
+
const _sfc_main$2w = /* @__PURE__ */ defineComponent({
|
|
664
664
|
__name: "ComboboxEmpty",
|
|
665
665
|
props: {
|
|
666
666
|
asChild: { type: Boolean },
|
|
@@ -686,7 +686,7 @@ const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
|
686
686
|
}
|
|
687
687
|
});
|
|
688
688
|
|
|
689
|
-
const _sfc_main$
|
|
689
|
+
const _sfc_main$2v = /* @__PURE__ */ defineComponent({
|
|
690
690
|
__name: "ComboboxGroup",
|
|
691
691
|
props: {
|
|
692
692
|
asChild: { type: Boolean },
|
|
@@ -702,12 +702,12 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
702
702
|
});
|
|
703
703
|
return (_ctx, _cache) => {
|
|
704
704
|
return openBlock(), createBlock(unref(ComboboxGroup), mergeProps({ "data-slot": "combobox-group" }, delegatedProps.value, {
|
|
705
|
-
class: unref(cn)("overflow-hidden p-1
|
|
705
|
+
class: unref(cn)("text-foreground overflow-hidden p-1", props.class)
|
|
706
706
|
}), {
|
|
707
707
|
default: withCtx(() => [
|
|
708
708
|
_ctx.heading ? (openBlock(), createBlock(unref(ComboboxLabel), {
|
|
709
709
|
key: 0,
|
|
710
|
-
class: "px-2 py-1.5 text-xs font-medium
|
|
710
|
+
class: "text-muted-foreground px-2 py-1.5 text-xs font-medium"
|
|
711
711
|
}, {
|
|
712
712
|
default: withCtx(() => [
|
|
713
713
|
createTextVNode(toDisplayString(_ctx.heading), 1)
|
|
@@ -722,11 +722,11 @@ const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
|
722
722
|
}
|
|
723
723
|
});
|
|
724
724
|
|
|
725
|
-
const _hoisted_1$
|
|
725
|
+
const _hoisted_1$e = {
|
|
726
726
|
"data-slot": "command-input-wrapper",
|
|
727
727
|
class: "flex h-9 items-center gap-2 border-b px-3"
|
|
728
728
|
};
|
|
729
|
-
const _sfc_main$
|
|
729
|
+
const _sfc_main$2u = /* @__PURE__ */ defineComponent({
|
|
730
730
|
...{
|
|
731
731
|
inheritAttrs: false
|
|
732
732
|
},
|
|
@@ -750,7 +750,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
750
750
|
});
|
|
751
751
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
752
752
|
return (_ctx, _cache) => {
|
|
753
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
753
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
754
754
|
createVNode(unref(SearchIcon), { class: "size-4 shrink-0 opacity-50" }),
|
|
755
755
|
createVNode(unref(ComboboxInput), mergeProps({
|
|
756
756
|
"data-slot": "command-input",
|
|
@@ -769,7 +769,7 @@ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
|
769
769
|
}
|
|
770
770
|
});
|
|
771
771
|
|
|
772
|
-
const _sfc_main$
|
|
772
|
+
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
773
773
|
__name: "ComboboxItem",
|
|
774
774
|
props: {
|
|
775
775
|
textValue: {},
|
|
@@ -804,7 +804,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
804
804
|
}
|
|
805
805
|
});
|
|
806
806
|
|
|
807
|
-
const _sfc_main$
|
|
807
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
808
808
|
__name: "ComboboxItemIndicator",
|
|
809
809
|
props: {
|
|
810
810
|
asChild: { type: Boolean },
|
|
@@ -831,7 +831,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
831
831
|
}
|
|
832
832
|
});
|
|
833
833
|
|
|
834
|
-
const _sfc_main$
|
|
834
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
835
835
|
__name: "ComboboxList",
|
|
836
836
|
props: {
|
|
837
837
|
forceMount: { type: Boolean },
|
|
@@ -869,7 +869,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
869
869
|
default: withCtx(() => [
|
|
870
870
|
createVNode(unref(ComboboxContent), mergeProps({ "data-slot": "combobox-list" }, unref(forwarded), {
|
|
871
871
|
class: unref(cn)(
|
|
872
|
-
"
|
|
872
|
+
"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-[200px] origin-(--reka-combobox-content-transform-origin) overflow-hidden rounded-md border shadow-md outline-none",
|
|
873
873
|
props.class
|
|
874
874
|
)
|
|
875
875
|
}), {
|
|
@@ -885,7 +885,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
885
885
|
}
|
|
886
886
|
});
|
|
887
887
|
|
|
888
|
-
const _sfc_main$
|
|
888
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
889
889
|
__name: "ComboboxSeparator",
|
|
890
890
|
props: {
|
|
891
891
|
asChild: { type: Boolean },
|
|
@@ -911,7 +911,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
911
911
|
}
|
|
912
912
|
});
|
|
913
913
|
|
|
914
|
-
const _sfc_main$
|
|
914
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
915
915
|
__name: "ComboboxViewport",
|
|
916
916
|
props: {
|
|
917
917
|
nonce: {},
|
|
@@ -939,7 +939,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
939
939
|
}
|
|
940
940
|
});
|
|
941
941
|
|
|
942
|
-
const _sfc_main$
|
|
942
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
943
943
|
__name: "ContextMenu",
|
|
944
944
|
props: {
|
|
945
945
|
dir: {},
|
|
@@ -961,8 +961,8 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
961
961
|
}
|
|
962
962
|
});
|
|
963
963
|
|
|
964
|
-
const _hoisted_1$
|
|
965
|
-
const _sfc_main$
|
|
964
|
+
const _hoisted_1$d = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
965
|
+
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
966
966
|
__name: "ContextMenuCheckboxItem",
|
|
967
967
|
props: {
|
|
968
968
|
modelValue: { type: [Boolean, String] },
|
|
@@ -989,7 +989,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
989
989
|
)
|
|
990
990
|
}), {
|
|
991
991
|
default: withCtx(() => [
|
|
992
|
-
createElementVNode("span", _hoisted_1$
|
|
992
|
+
createElementVNode("span", _hoisted_1$d, [
|
|
993
993
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
994
994
|
default: withCtx(() => [
|
|
995
995
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1005,7 +1005,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
1007
|
|
|
1008
|
-
const _sfc_main$
|
|
1008
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
1009
1009
|
__name: "ContextMenuContent",
|
|
1010
1010
|
props: {
|
|
1011
1011
|
forceMount: { type: Boolean },
|
|
@@ -1054,7 +1054,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
|
1054
1054
|
}
|
|
1055
1055
|
});
|
|
1056
1056
|
|
|
1057
|
-
const _sfc_main$
|
|
1057
|
+
const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
1058
1058
|
__name: "ContextMenuGroup",
|
|
1059
1059
|
props: {
|
|
1060
1060
|
asChild: { type: Boolean },
|
|
@@ -1073,7 +1073,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
1073
1073
|
}
|
|
1074
1074
|
});
|
|
1075
1075
|
|
|
1076
|
-
const _sfc_main$
|
|
1076
|
+
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
1077
1077
|
__name: "ContextMenuItem",
|
|
1078
1078
|
props: {
|
|
1079
1079
|
disabled: { type: Boolean },
|
|
@@ -1113,7 +1113,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
1113
1113
|
}
|
|
1114
1114
|
});
|
|
1115
1115
|
|
|
1116
|
-
const _sfc_main$
|
|
1116
|
+
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
1117
1117
|
__name: "ContextMenuLabel",
|
|
1118
1118
|
props: {
|
|
1119
1119
|
asChild: { type: Boolean },
|
|
@@ -1143,7 +1143,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
1143
1143
|
}
|
|
1144
1144
|
});
|
|
1145
1145
|
|
|
1146
|
-
const _sfc_main$
|
|
1146
|
+
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
1147
1147
|
__name: "ContextMenuRadioGroup",
|
|
1148
1148
|
props: {
|
|
1149
1149
|
modelValue: {},
|
|
@@ -1166,8 +1166,8 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
1166
1166
|
}
|
|
1167
1167
|
});
|
|
1168
1168
|
|
|
1169
|
-
const _hoisted_1$
|
|
1170
|
-
const _sfc_main$
|
|
1169
|
+
const _hoisted_1$c = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1170
|
+
const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
1171
1171
|
__name: "ContextMenuRadioItem",
|
|
1172
1172
|
props: {
|
|
1173
1173
|
value: {},
|
|
@@ -1194,7 +1194,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
1194
1194
|
)
|
|
1195
1195
|
}), {
|
|
1196
1196
|
default: withCtx(() => [
|
|
1197
|
-
createElementVNode("span", _hoisted_1$
|
|
1197
|
+
createElementVNode("span", _hoisted_1$c, [
|
|
1198
1198
|
createVNode(unref(ContextMenuItemIndicator), null, {
|
|
1199
1199
|
default: withCtx(() => [
|
|
1200
1200
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1210,7 +1210,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
|
1210
1210
|
}
|
|
1211
1211
|
});
|
|
1212
1212
|
|
|
1213
|
-
const _sfc_main$
|
|
1213
|
+
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
1214
1214
|
__name: "ContextMenuSeparator",
|
|
1215
1215
|
props: {
|
|
1216
1216
|
asChild: { type: Boolean },
|
|
@@ -1231,7 +1231,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
|
1231
1231
|
}
|
|
1232
1232
|
});
|
|
1233
1233
|
|
|
1234
|
-
const _sfc_main$
|
|
1234
|
+
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
1235
1235
|
__name: "ContextMenuShortcut",
|
|
1236
1236
|
props: {
|
|
1237
1237
|
class: {}
|
|
@@ -1249,7 +1249,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
|
1249
1249
|
}
|
|
1250
1250
|
});
|
|
1251
1251
|
|
|
1252
|
-
const _sfc_main$
|
|
1252
|
+
const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
1253
1253
|
__name: "ContextMenuSub",
|
|
1254
1254
|
props: {
|
|
1255
1255
|
defaultOpen: { type: Boolean },
|
|
@@ -1271,7 +1271,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
1271
1271
|
}
|
|
1272
1272
|
});
|
|
1273
1273
|
|
|
1274
|
-
const _sfc_main$
|
|
1274
|
+
const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
1275
1275
|
__name: "ContextMenuSubContent",
|
|
1276
1276
|
props: {
|
|
1277
1277
|
forceMount: { type: Boolean },
|
|
@@ -1318,7 +1318,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
|
1318
1318
|
}
|
|
1319
1319
|
});
|
|
1320
1320
|
|
|
1321
|
-
const _sfc_main$
|
|
1321
|
+
const _sfc_main$2c = /* @__PURE__ */ defineComponent({
|
|
1322
1322
|
__name: "ContextMenuSubTrigger",
|
|
1323
1323
|
props: {
|
|
1324
1324
|
disabled: { type: Boolean },
|
|
@@ -1355,7 +1355,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
|
1355
1355
|
}
|
|
1356
1356
|
});
|
|
1357
1357
|
|
|
1358
|
-
const _sfc_main$
|
|
1358
|
+
const _sfc_main$2b = /* @__PURE__ */ defineComponent({
|
|
1359
1359
|
__name: "ContextMenuTrigger",
|
|
1360
1360
|
props: {
|
|
1361
1361
|
disabled: { type: Boolean },
|
|
@@ -1376,7 +1376,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
|
1376
1376
|
}
|
|
1377
1377
|
});
|
|
1378
1378
|
|
|
1379
|
-
const _sfc_main$
|
|
1379
|
+
const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
1380
1380
|
__name: "Dialog",
|
|
1381
1381
|
props: {
|
|
1382
1382
|
open: { type: Boolean },
|
|
@@ -1399,7 +1399,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
1399
1399
|
}
|
|
1400
1400
|
});
|
|
1401
1401
|
|
|
1402
|
-
const _sfc_main$
|
|
1402
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
1403
1403
|
__name: "DialogClose",
|
|
1404
1404
|
props: {
|
|
1405
1405
|
asChild: { type: Boolean },
|
|
@@ -1418,7 +1418,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
1418
1418
|
}
|
|
1419
1419
|
});
|
|
1420
1420
|
|
|
1421
|
-
const _sfc_main$
|
|
1421
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
1422
1422
|
__name: "DialogOverlay",
|
|
1423
1423
|
props: {
|
|
1424
1424
|
forceMount: { type: Boolean },
|
|
@@ -1448,7 +1448,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
1448
1448
|
}
|
|
1449
1449
|
});
|
|
1450
1450
|
|
|
1451
|
-
const _sfc_main$
|
|
1451
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
1452
1452
|
__name: "DialogContent",
|
|
1453
1453
|
props: {
|
|
1454
1454
|
forceMount: { type: Boolean },
|
|
@@ -1470,7 +1470,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1470
1470
|
return (_ctx, _cache) => {
|
|
1471
1471
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1472
1472
|
default: withCtx(() => [
|
|
1473
|
-
createVNode(_sfc_main$
|
|
1473
|
+
createVNode(_sfc_main$28),
|
|
1474
1474
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1475
1475
|
class: unref(cn)(
|
|
1476
1476
|
"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",
|
|
@@ -1496,7 +1496,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
1496
1496
|
}
|
|
1497
1497
|
});
|
|
1498
1498
|
|
|
1499
|
-
const _sfc_main$
|
|
1499
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
1500
1500
|
__name: "DialogDescription",
|
|
1501
1501
|
props: {
|
|
1502
1502
|
asChild: { type: Boolean },
|
|
@@ -1523,7 +1523,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
1523
1523
|
}
|
|
1524
1524
|
});
|
|
1525
1525
|
|
|
1526
|
-
const _sfc_main$
|
|
1526
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
1527
1527
|
__name: "DialogFooter",
|
|
1528
1528
|
props: {
|
|
1529
1529
|
class: {}
|
|
@@ -1541,7 +1541,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
1543
1543
|
|
|
1544
|
-
const _sfc_main$
|
|
1544
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
1545
1545
|
__name: "DialogHeader",
|
|
1546
1546
|
props: {
|
|
1547
1547
|
class: {}
|
|
@@ -1559,7 +1559,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
1559
1559
|
}
|
|
1560
1560
|
});
|
|
1561
1561
|
|
|
1562
|
-
const _sfc_main$
|
|
1562
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
1563
1563
|
__name: "DialogScrollContent",
|
|
1564
1564
|
props: {
|
|
1565
1565
|
forceMount: { type: Boolean },
|
|
@@ -1581,11 +1581,11 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1581
1581
|
return (_ctx, _cache) => {
|
|
1582
1582
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1583
1583
|
default: withCtx(() => [
|
|
1584
|
-
createVNode(unref(DialogOverlay), { class: "
|
|
1584
|
+
createVNode(unref(DialogOverlay), { class: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 grid place-items-center overflow-y-auto bg-black/80" }, {
|
|
1585
1585
|
default: withCtx(() => [
|
|
1586
1586
|
createVNode(unref(DialogContent), mergeProps({
|
|
1587
1587
|
class: unref(cn)(
|
|
1588
|
-
"relative z-50 grid w-full max-w-lg
|
|
1588
|
+
"border-border bg-background relative z-50 my-8 grid w-full max-w-lg gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",
|
|
1589
1589
|
props.class
|
|
1590
1590
|
)
|
|
1591
1591
|
}, unref(forwarded), {
|
|
@@ -1599,9 +1599,9 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1599
1599
|
}), {
|
|
1600
1600
|
default: withCtx(() => [
|
|
1601
1601
|
renderSlot(_ctx.$slots, "default"),
|
|
1602
|
-
createVNode(unref(DialogClose), { class: "absolute top-4 right-4 p-0.5 transition-colors
|
|
1602
|
+
createVNode(unref(DialogClose), { class: "hover:bg-secondary absolute top-4 right-4 rounded-md p-0.5 transition-colors" }, {
|
|
1603
1603
|
default: withCtx(() => [
|
|
1604
|
-
createVNode(unref(X), { class: "
|
|
1604
|
+
createVNode(unref(X), { class: "h-4 w-4" }),
|
|
1605
1605
|
_cache[1] || (_cache[1] = createElementVNode("span", { class: "sr-only" }, "Close", -1))
|
|
1606
1606
|
]),
|
|
1607
1607
|
_: 1
|
|
@@ -1619,7 +1619,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
1619
1619
|
}
|
|
1620
1620
|
});
|
|
1621
1621
|
|
|
1622
|
-
const _sfc_main$
|
|
1622
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
1623
1623
|
__name: "DialogTitle",
|
|
1624
1624
|
props: {
|
|
1625
1625
|
asChild: { type: Boolean },
|
|
@@ -1646,7 +1646,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
1646
1646
|
}
|
|
1647
1647
|
});
|
|
1648
1648
|
|
|
1649
|
-
const _sfc_main$
|
|
1649
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
1650
1650
|
__name: "DialogTrigger",
|
|
1651
1651
|
props: {
|
|
1652
1652
|
asChild: { type: Boolean },
|
|
@@ -1665,7 +1665,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
1665
1665
|
}
|
|
1666
1666
|
});
|
|
1667
1667
|
|
|
1668
|
-
const _sfc_main$
|
|
1668
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
1669
1669
|
__name: "DropdownMenu",
|
|
1670
1670
|
props: {
|
|
1671
1671
|
defaultOpen: { type: Boolean },
|
|
@@ -1689,8 +1689,8 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
|
1689
1689
|
}
|
|
1690
1690
|
});
|
|
1691
1691
|
|
|
1692
|
-
const _hoisted_1$
|
|
1693
|
-
const _sfc_main$
|
|
1692
|
+
const _hoisted_1$b = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1693
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
1694
1694
|
__name: "DropdownMenuCheckboxItem",
|
|
1695
1695
|
props: {
|
|
1696
1696
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1717,7 +1717,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
1717
1717
|
)
|
|
1718
1718
|
}), {
|
|
1719
1719
|
default: withCtx(() => [
|
|
1720
|
-
createElementVNode("span", _hoisted_1$
|
|
1720
|
+
createElementVNode("span", _hoisted_1$b, [
|
|
1721
1721
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1722
1722
|
default: withCtx(() => [
|
|
1723
1723
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -1733,7 +1733,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
|
1733
1733
|
}
|
|
1734
1734
|
});
|
|
1735
1735
|
|
|
1736
|
-
const _sfc_main$
|
|
1736
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
1737
1737
|
__name: "DropdownMenuContent",
|
|
1738
1738
|
props: {
|
|
1739
1739
|
forceMount: { type: Boolean },
|
|
@@ -1787,7 +1787,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
|
1787
1787
|
}
|
|
1788
1788
|
});
|
|
1789
1789
|
|
|
1790
|
-
const _sfc_main$
|
|
1790
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
1791
1791
|
__name: "DropdownMenuGroup",
|
|
1792
1792
|
props: {
|
|
1793
1793
|
asChild: { type: Boolean },
|
|
@@ -1806,7 +1806,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
|
1806
1806
|
}
|
|
1807
1807
|
});
|
|
1808
1808
|
|
|
1809
|
-
const _sfc_main$
|
|
1809
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
1810
1810
|
__name: "DropdownMenuItem",
|
|
1811
1811
|
props: {
|
|
1812
1812
|
disabled: { type: Boolean },
|
|
@@ -1841,7 +1841,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
|
1841
1841
|
}
|
|
1842
1842
|
});
|
|
1843
1843
|
|
|
1844
|
-
const _sfc_main$
|
|
1844
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
1845
1845
|
__name: "DropdownMenuLabel",
|
|
1846
1846
|
props: {
|
|
1847
1847
|
asChild: { type: Boolean },
|
|
@@ -1869,7 +1869,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
1869
1869
|
}
|
|
1870
1870
|
});
|
|
1871
1871
|
|
|
1872
|
-
const _sfc_main$
|
|
1872
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
1873
1873
|
__name: "DropdownMenuRadioGroup",
|
|
1874
1874
|
props: {
|
|
1875
1875
|
modelValue: {},
|
|
@@ -1892,8 +1892,8 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
1892
1892
|
}
|
|
1893
1893
|
});
|
|
1894
1894
|
|
|
1895
|
-
const _hoisted_1$
|
|
1896
|
-
const _sfc_main$
|
|
1895
|
+
const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1896
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
1897
1897
|
__name: "DropdownMenuRadioItem",
|
|
1898
1898
|
props: {
|
|
1899
1899
|
value: {},
|
|
@@ -1920,7 +1920,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
1920
1920
|
)
|
|
1921
1921
|
}), {
|
|
1922
1922
|
default: withCtx(() => [
|
|
1923
|
-
createElementVNode("span", _hoisted_1$
|
|
1923
|
+
createElementVNode("span", _hoisted_1$a, [
|
|
1924
1924
|
createVNode(unref(DropdownMenuItemIndicator), null, {
|
|
1925
1925
|
default: withCtx(() => [
|
|
1926
1926
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -1936,7 +1936,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
1936
1936
|
}
|
|
1937
1937
|
});
|
|
1938
1938
|
|
|
1939
|
-
const _sfc_main$
|
|
1939
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
1940
1940
|
__name: "DropdownMenuSeparator",
|
|
1941
1941
|
props: {
|
|
1942
1942
|
asChild: { type: Boolean },
|
|
@@ -1957,7 +1957,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
1957
1957
|
}
|
|
1958
1958
|
});
|
|
1959
1959
|
|
|
1960
|
-
const _sfc_main$
|
|
1960
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
1961
1961
|
__name: "DropdownMenuShortcut",
|
|
1962
1962
|
props: {
|
|
1963
1963
|
class: {}
|
|
@@ -1975,7 +1975,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
1975
1975
|
}
|
|
1976
1976
|
});
|
|
1977
1977
|
|
|
1978
|
-
const _sfc_main$
|
|
1978
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
1979
1979
|
__name: "DropdownMenuSub",
|
|
1980
1980
|
props: {
|
|
1981
1981
|
defaultOpen: { type: Boolean },
|
|
@@ -1997,7 +1997,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
1997
1997
|
}
|
|
1998
1998
|
});
|
|
1999
1999
|
|
|
2000
|
-
const _sfc_main$
|
|
2000
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
2001
2001
|
__name: "DropdownMenuSubContent",
|
|
2002
2002
|
props: {
|
|
2003
2003
|
forceMount: { type: Boolean },
|
|
@@ -2044,7 +2044,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
2044
2044
|
}
|
|
2045
2045
|
});
|
|
2046
2046
|
|
|
2047
|
-
const _sfc_main$
|
|
2047
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
2048
2048
|
__name: "DropdownMenuSubTrigger",
|
|
2049
2049
|
props: {
|
|
2050
2050
|
disabled: { type: Boolean },
|
|
@@ -2075,7 +2075,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
2075
2075
|
}
|
|
2076
2076
|
});
|
|
2077
2077
|
|
|
2078
|
-
const _sfc_main$
|
|
2078
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
2079
2079
|
__name: "DropdownMenuTrigger",
|
|
2080
2080
|
props: {
|
|
2081
2081
|
disabled: { type: Boolean },
|
|
@@ -2096,7 +2096,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
2096
2096
|
}
|
|
2097
2097
|
});
|
|
2098
2098
|
|
|
2099
|
-
const _sfc_main$
|
|
2099
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
2100
2100
|
__name: "Input",
|
|
2101
2101
|
props: {
|
|
2102
2102
|
defaultValue: {},
|
|
@@ -2130,7 +2130,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
2130
2130
|
}
|
|
2131
2131
|
});
|
|
2132
2132
|
|
|
2133
|
-
const _sfc_main$
|
|
2133
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
2134
2134
|
__name: "Label",
|
|
2135
2135
|
props: {
|
|
2136
2136
|
for: {},
|
|
@@ -2160,7 +2160,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
2160
2160
|
}
|
|
2161
2161
|
});
|
|
2162
2162
|
|
|
2163
|
-
const _sfc_main$
|
|
2163
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
2164
2164
|
__name: "Label",
|
|
2165
2165
|
props: {
|
|
2166
2166
|
class: {}
|
|
@@ -2168,7 +2168,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2168
2168
|
setup(__props) {
|
|
2169
2169
|
const props = __props;
|
|
2170
2170
|
return (_ctx, _cache) => {
|
|
2171
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2171
|
+
return openBlock(), createBlock(unref(_sfc_main$1N), {
|
|
2172
2172
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", props.class))
|
|
2173
2173
|
}, {
|
|
2174
2174
|
default: withCtx(() => [
|
|
@@ -2180,7 +2180,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
2180
2180
|
}
|
|
2181
2181
|
});
|
|
2182
2182
|
|
|
2183
|
-
const _sfc_main$
|
|
2183
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
2184
2184
|
__name: "NumberField",
|
|
2185
2185
|
props: {
|
|
2186
2186
|
defaultValue: {},
|
|
@@ -2222,7 +2222,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
2222
2222
|
}
|
|
2223
2223
|
});
|
|
2224
2224
|
|
|
2225
|
-
const _sfc_main$
|
|
2225
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
2226
2226
|
__name: "NumberFieldContent",
|
|
2227
2227
|
props: {
|
|
2228
2228
|
class: {}
|
|
@@ -2233,7 +2233,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2233
2233
|
return openBlock(), createElementBlock("div", {
|
|
2234
2234
|
class: normalizeClass(
|
|
2235
2235
|
unref(cn)(
|
|
2236
|
-
"relative [&>[data-slot=input]]:has-[[data-slot=
|
|
2236
|
+
"relative [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5 [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5",
|
|
2237
2237
|
props.class
|
|
2238
2238
|
)
|
|
2239
2239
|
)
|
|
@@ -2244,7 +2244,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
2244
2244
|
}
|
|
2245
2245
|
});
|
|
2246
2246
|
|
|
2247
|
-
const _sfc_main$
|
|
2247
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
2248
2248
|
__name: "NumberFieldDecrement",
|
|
2249
2249
|
props: {
|
|
2250
2250
|
disabled: { type: Boolean },
|
|
@@ -2262,7 +2262,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2262
2262
|
return (_ctx, _cache) => {
|
|
2263
2263
|
return openBlock(), createBlock(unref(NumberFieldDecrement), mergeProps({ "data-slot": "decrement" }, unref(forwarded), {
|
|
2264
2264
|
class: unref(cn)(
|
|
2265
|
-
"absolute top-1/2 -translate-y-1/2
|
|
2265
|
+
"absolute top-1/2 left-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
|
|
2266
2266
|
props.class
|
|
2267
2267
|
)
|
|
2268
2268
|
}), {
|
|
@@ -2277,7 +2277,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
2277
2277
|
}
|
|
2278
2278
|
});
|
|
2279
2279
|
|
|
2280
|
-
const _sfc_main$
|
|
2280
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
2281
2281
|
__name: "NumberFieldIncrement",
|
|
2282
2282
|
props: {
|
|
2283
2283
|
disabled: { type: Boolean },
|
|
@@ -2295,7 +2295,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2295
2295
|
return (_ctx, _cache) => {
|
|
2296
2296
|
return openBlock(), createBlock(unref(NumberFieldIncrement), mergeProps({ "data-slot": "increment" }, unref(forwarded), {
|
|
2297
2297
|
class: unref(cn)(
|
|
2298
|
-
"absolute top-1/2 -translate-y-1/2
|
|
2298
|
+
"absolute top-1/2 right-0 -translate-y-1/2 p-3 disabled:cursor-not-allowed disabled:opacity-20",
|
|
2299
2299
|
props.class
|
|
2300
2300
|
)
|
|
2301
2301
|
}), {
|
|
@@ -2310,7 +2310,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
2310
2310
|
}
|
|
2311
2311
|
});
|
|
2312
2312
|
|
|
2313
|
-
const _sfc_main$
|
|
2313
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
2314
2314
|
__name: "NumberFieldInput",
|
|
2315
2315
|
props: {
|
|
2316
2316
|
class: {}
|
|
@@ -2322,7 +2322,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2322
2322
|
"data-slot": "input",
|
|
2323
2323
|
class: normalizeClass(
|
|
2324
2324
|
unref(cn)(
|
|
2325
|
-
"flex h-9 w-full rounded-md border
|
|
2325
|
+
"border-input placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent py-1 text-center text-sm shadow-sm transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
2326
2326
|
props.class
|
|
2327
2327
|
)
|
|
2328
2328
|
)
|
|
@@ -2331,8 +2331,8 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
2331
2331
|
}
|
|
2332
2332
|
});
|
|
2333
2333
|
|
|
2334
|
-
const _hoisted_1$
|
|
2335
|
-
const _sfc_main$
|
|
2334
|
+
const _hoisted_1$9 = { class: "w-full" };
|
|
2335
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
2336
2336
|
__name: "InputNumber",
|
|
2337
2337
|
props: {
|
|
2338
2338
|
class: {},
|
|
@@ -2359,7 +2359,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2359
2359
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2360
2360
|
createVNode(unref(DefineTemplate), null, {
|
|
2361
2361
|
default: withCtx(() => [
|
|
2362
|
-
createVNode(unref(_sfc_main$
|
|
2362
|
+
createVNode(unref(_sfc_main$1L), {
|
|
2363
2363
|
modelValue: value.value,
|
|
2364
2364
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2365
2365
|
"default-value": _ctx.defaultValue,
|
|
@@ -2370,11 +2370,11 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2370
2370
|
class: normalizeClass(unref(cn)("w-full", props.class))
|
|
2371
2371
|
}, {
|
|
2372
2372
|
default: withCtx(() => [
|
|
2373
|
-
createVNode(unref(_sfc_main$
|
|
2373
|
+
createVNode(unref(_sfc_main$1K), null, {
|
|
2374
2374
|
default: withCtx(() => [
|
|
2375
|
-
createVNode(unref(_sfc_main$
|
|
2376
|
-
createVNode(unref(_sfc_main$
|
|
2377
|
-
createVNode(unref(_sfc_main$
|
|
2375
|
+
createVNode(unref(_sfc_main$1J)),
|
|
2376
|
+
createVNode(unref(_sfc_main$1H)),
|
|
2377
|
+
createVNode(unref(_sfc_main$1I))
|
|
2378
2378
|
]),
|
|
2379
2379
|
_: 1
|
|
2380
2380
|
})
|
|
@@ -2384,12 +2384,12 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2384
2384
|
]),
|
|
2385
2385
|
_: 1
|
|
2386
2386
|
}),
|
|
2387
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2387
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1M), {
|
|
2388
2388
|
key: 0,
|
|
2389
2389
|
class: normalizeClass(_ctx.labelClass)
|
|
2390
2390
|
}, {
|
|
2391
2391
|
default: withCtx(() => [
|
|
2392
|
-
createElementVNode("span", _hoisted_1$
|
|
2392
|
+
createElementVNode("span", _hoisted_1$9, toDisplayString(_ctx.label), 1),
|
|
2393
2393
|
createVNode(unref(ReuseTemplate))
|
|
2394
2394
|
]),
|
|
2395
2395
|
_: 1
|
|
@@ -2399,8 +2399,8 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
2399
2399
|
}
|
|
2400
2400
|
});
|
|
2401
2401
|
|
|
2402
|
-
const _hoisted_1$
|
|
2403
|
-
const _sfc_main$
|
|
2402
|
+
const _hoisted_1$8 = { class: "w-full" };
|
|
2403
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
2404
2404
|
__name: "InputText",
|
|
2405
2405
|
props: {
|
|
2406
2406
|
class: {},
|
|
@@ -2428,7 +2428,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2428
2428
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2429
2429
|
createVNode(unref(DefineTemplate), null, {
|
|
2430
2430
|
default: withCtx(() => [
|
|
2431
|
-
createVNode(unref(_sfc_main$
|
|
2431
|
+
createVNode(unref(_sfc_main$1O), {
|
|
2432
2432
|
modelValue: value.value,
|
|
2433
2433
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2434
2434
|
modelModifiers: { trim: true },
|
|
@@ -2445,12 +2445,12 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2445
2445
|
]),
|
|
2446
2446
|
_: 1
|
|
2447
2447
|
}),
|
|
2448
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2448
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1M), {
|
|
2449
2449
|
key: 0,
|
|
2450
2450
|
class: normalizeClass(_ctx.labelClass)
|
|
2451
2451
|
}, {
|
|
2452
2452
|
default: withCtx(() => [
|
|
2453
|
-
createElementVNode("span", _hoisted_1$
|
|
2453
|
+
createElementVNode("span", _hoisted_1$8, toDisplayString(_ctx.label), 1),
|
|
2454
2454
|
createVNode(unref(ReuseTemplate))
|
|
2455
2455
|
]),
|
|
2456
2456
|
_: 1
|
|
@@ -2460,8 +2460,8 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
2460
2460
|
}
|
|
2461
2461
|
});
|
|
2462
2462
|
|
|
2463
|
-
const _hoisted_1$
|
|
2464
|
-
const _sfc_main$
|
|
2463
|
+
const _hoisted_1$7 = { key: 0 };
|
|
2464
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
2465
2465
|
__name: "Link",
|
|
2466
2466
|
props: {
|
|
2467
2467
|
label: {},
|
|
@@ -2473,7 +2473,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2473
2473
|
to: { name: _ctx.to }
|
|
2474
2474
|
}, {
|
|
2475
2475
|
default: withCtx(() => [
|
|
2476
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
2476
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$7, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
2477
2477
|
]),
|
|
2478
2478
|
_: 3
|
|
2479
2479
|
}, 8, ["to"]);
|
|
@@ -2481,7 +2481,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
2481
2481
|
}
|
|
2482
2482
|
});
|
|
2483
2483
|
|
|
2484
|
-
const _sfc_main$
|
|
2484
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
2485
2485
|
__name: "Menubar",
|
|
2486
2486
|
props: {
|
|
2487
2487
|
modelValue: {},
|
|
@@ -2512,8 +2512,8 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
2512
2512
|
}
|
|
2513
2513
|
});
|
|
2514
2514
|
|
|
2515
|
-
const _hoisted_1$
|
|
2516
|
-
const _sfc_main$
|
|
2515
|
+
const _hoisted_1$6 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2516
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
2517
2517
|
__name: "MenubarCheckboxItem",
|
|
2518
2518
|
props: {
|
|
2519
2519
|
modelValue: { type: [Boolean, String] },
|
|
@@ -2540,7 +2540,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2540
2540
|
)
|
|
2541
2541
|
}), {
|
|
2542
2542
|
default: withCtx(() => [
|
|
2543
|
-
createElementVNode("span", _hoisted_1$
|
|
2543
|
+
createElementVNode("span", _hoisted_1$6, [
|
|
2544
2544
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2545
2545
|
default: withCtx(() => [
|
|
2546
2546
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -2556,7 +2556,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
2556
2556
|
}
|
|
2557
2557
|
});
|
|
2558
2558
|
|
|
2559
|
-
const _sfc_main$
|
|
2559
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
2560
2560
|
__name: "MenubarContent",
|
|
2561
2561
|
props: {
|
|
2562
2562
|
forceMount: { type: Boolean },
|
|
@@ -2608,7 +2608,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
2608
2608
|
}
|
|
2609
2609
|
});
|
|
2610
2610
|
|
|
2611
|
-
const _sfc_main$
|
|
2611
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
2612
2612
|
__name: "MenubarGroup",
|
|
2613
2613
|
props: {
|
|
2614
2614
|
asChild: { type: Boolean },
|
|
@@ -2627,7 +2627,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
2627
2627
|
}
|
|
2628
2628
|
});
|
|
2629
2629
|
|
|
2630
|
-
const _sfc_main$
|
|
2630
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
2631
2631
|
__name: "MenubarItem",
|
|
2632
2632
|
props: {
|
|
2633
2633
|
disabled: { type: Boolean },
|
|
@@ -2664,7 +2664,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
2664
2664
|
}
|
|
2665
2665
|
});
|
|
2666
2666
|
|
|
2667
|
-
const _sfc_main$
|
|
2667
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
2668
2668
|
__name: "MenubarLabel",
|
|
2669
2669
|
props: {
|
|
2670
2670
|
asChild: { type: Boolean },
|
|
@@ -2690,7 +2690,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
2690
2690
|
}
|
|
2691
2691
|
});
|
|
2692
2692
|
|
|
2693
|
-
const _sfc_main$
|
|
2693
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
2694
2694
|
__name: "MenubarMenu",
|
|
2695
2695
|
props: {
|
|
2696
2696
|
value: {}
|
|
@@ -2708,7 +2708,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
2708
2708
|
}
|
|
2709
2709
|
});
|
|
2710
2710
|
|
|
2711
|
-
const _sfc_main$
|
|
2711
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
2712
2712
|
__name: "MenubarRadioGroup",
|
|
2713
2713
|
props: {
|
|
2714
2714
|
modelValue: {},
|
|
@@ -2731,8 +2731,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
2731
2731
|
}
|
|
2732
2732
|
});
|
|
2733
2733
|
|
|
2734
|
-
const _hoisted_1$
|
|
2735
|
-
const _sfc_main$
|
|
2734
|
+
const _hoisted_1$5 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
2735
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
2736
2736
|
__name: "MenubarRadioItem",
|
|
2737
2737
|
props: {
|
|
2738
2738
|
value: {},
|
|
@@ -2759,7 +2759,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
2759
2759
|
)
|
|
2760
2760
|
}), {
|
|
2761
2761
|
default: withCtx(() => [
|
|
2762
|
-
createElementVNode("span", _hoisted_1$
|
|
2762
|
+
createElementVNode("span", _hoisted_1$5, [
|
|
2763
2763
|
createVNode(unref(MenubarItemIndicator), null, {
|
|
2764
2764
|
default: withCtx(() => [
|
|
2765
2765
|
createVNode(unref(Circle), { class: "size-2 fill-current" })
|
|
@@ -2775,7 +2775,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
2775
2775
|
}
|
|
2776
2776
|
});
|
|
2777
2777
|
|
|
2778
|
-
const _sfc_main$
|
|
2778
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
2779
2779
|
__name: "MenubarSeparator",
|
|
2780
2780
|
props: {
|
|
2781
2781
|
asChild: { type: Boolean },
|
|
@@ -2798,7 +2798,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
2798
2798
|
}
|
|
2799
2799
|
});
|
|
2800
2800
|
|
|
2801
|
-
const _sfc_main$
|
|
2801
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
2802
2802
|
__name: "MenubarShortcut",
|
|
2803
2803
|
props: {
|
|
2804
2804
|
class: {}
|
|
@@ -2816,7 +2816,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
2816
2816
|
}
|
|
2817
2817
|
});
|
|
2818
2818
|
|
|
2819
|
-
const _sfc_main$
|
|
2819
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
2820
2820
|
__name: "MenubarSub",
|
|
2821
2821
|
props: {
|
|
2822
2822
|
defaultOpen: { type: Boolean },
|
|
@@ -2838,7 +2838,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
2838
2838
|
}
|
|
2839
2839
|
});
|
|
2840
2840
|
|
|
2841
|
-
const _sfc_main$
|
|
2841
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
2842
2842
|
__name: "MenubarSubContent",
|
|
2843
2843
|
props: {
|
|
2844
2844
|
forceMount: { type: Boolean },
|
|
@@ -2890,7 +2890,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
2890
2890
|
}
|
|
2891
2891
|
});
|
|
2892
2892
|
|
|
2893
|
-
const _sfc_main$
|
|
2893
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
2894
2894
|
__name: "MenubarSubTrigger",
|
|
2895
2895
|
props: {
|
|
2896
2896
|
disabled: { type: Boolean },
|
|
@@ -2924,7 +2924,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
2924
2924
|
}
|
|
2925
2925
|
});
|
|
2926
2926
|
|
|
2927
|
-
const _sfc_main$
|
|
2927
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
2928
2928
|
__name: "MenubarTrigger",
|
|
2929
2929
|
props: {
|
|
2930
2930
|
disabled: { type: Boolean },
|
|
@@ -2955,7 +2955,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
2955
2955
|
}
|
|
2956
2956
|
});
|
|
2957
2957
|
|
|
2958
|
-
const _sfc_main$
|
|
2958
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
2959
2959
|
__name: "Pagination",
|
|
2960
2960
|
props: {
|
|
2961
2961
|
page: {},
|
|
@@ -2988,7 +2988,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
2988
2988
|
}
|
|
2989
2989
|
});
|
|
2990
2990
|
|
|
2991
|
-
const _sfc_main$
|
|
2991
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
2992
2992
|
__name: "PaginationContent",
|
|
2993
2993
|
props: {
|
|
2994
2994
|
asChild: { type: Boolean },
|
|
@@ -3014,7 +3014,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
3014
3014
|
}
|
|
3015
3015
|
});
|
|
3016
3016
|
|
|
3017
|
-
const _sfc_main$
|
|
3017
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
3018
3018
|
__name: "PaginationEllipsis",
|
|
3019
3019
|
props: {
|
|
3020
3020
|
asChild: { type: Boolean },
|
|
@@ -3043,7 +3043,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
3043
3043
|
}
|
|
3044
3044
|
});
|
|
3045
3045
|
|
|
3046
|
-
const _sfc_main$
|
|
3046
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
3047
3047
|
__name: "PaginationFirst",
|
|
3048
3048
|
props: {
|
|
3049
3049
|
asChild: { type: Boolean },
|
|
@@ -3072,7 +3072,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
3072
3072
|
}
|
|
3073
3073
|
});
|
|
3074
3074
|
|
|
3075
|
-
const _sfc_main$
|
|
3075
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
3076
3076
|
__name: "PaginationItem",
|
|
3077
3077
|
props: {
|
|
3078
3078
|
value: {},
|
|
@@ -3104,7 +3104,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
3104
3104
|
}
|
|
3105
3105
|
});
|
|
3106
3106
|
|
|
3107
|
-
const _sfc_main$
|
|
3107
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
3108
3108
|
__name: "PaginationLast",
|
|
3109
3109
|
props: {
|
|
3110
3110
|
asChild: { type: Boolean },
|
|
@@ -3133,7 +3133,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
3133
3133
|
}
|
|
3134
3134
|
});
|
|
3135
3135
|
|
|
3136
|
-
const _sfc_main$
|
|
3136
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
3137
3137
|
__name: "PaginationNext",
|
|
3138
3138
|
props: {
|
|
3139
3139
|
asChild: { type: Boolean },
|
|
@@ -3162,7 +3162,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
3162
3162
|
}
|
|
3163
3163
|
});
|
|
3164
3164
|
|
|
3165
|
-
const _sfc_main$
|
|
3165
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
3166
3166
|
__name: "PaginationPrevious",
|
|
3167
3167
|
props: {
|
|
3168
3168
|
asChild: { type: Boolean },
|
|
@@ -3191,7 +3191,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
3191
3191
|
}
|
|
3192
3192
|
});
|
|
3193
3193
|
|
|
3194
|
-
const _sfc_main$
|
|
3194
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
3195
3195
|
__name: "Popover",
|
|
3196
3196
|
props: {
|
|
3197
3197
|
defaultOpen: { type: Boolean },
|
|
@@ -3214,7 +3214,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
3214
3214
|
}
|
|
3215
3215
|
});
|
|
3216
3216
|
|
|
3217
|
-
const _sfc_main$
|
|
3217
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
3218
3218
|
__name: "PopoverAnchor",
|
|
3219
3219
|
props: {
|
|
3220
3220
|
reference: {},
|
|
@@ -3234,7 +3234,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
3234
3234
|
}
|
|
3235
3235
|
});
|
|
3236
3236
|
|
|
3237
|
-
const _sfc_main$
|
|
3237
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
3238
3238
|
...{
|
|
3239
3239
|
inheritAttrs: false
|
|
3240
3240
|
},
|
|
@@ -3275,7 +3275,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
3275
3275
|
default: withCtx(() => [
|
|
3276
3276
|
createVNode(unref(PopoverContent), mergeProps({ "data-slot": "popover-content" }, { ...unref(forwarded), ..._ctx.$attrs }, {
|
|
3277
3277
|
class: unref(cn)(
|
|
3278
|
-
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72
|
|
3278
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--reka-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
|
|
3279
3279
|
props.class
|
|
3280
3280
|
)
|
|
3281
3281
|
}), {
|
|
@@ -3291,7 +3291,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
3291
3291
|
}
|
|
3292
3292
|
});
|
|
3293
3293
|
|
|
3294
|
-
const _sfc_main$
|
|
3294
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
3295
3295
|
__name: "PopoverTrigger",
|
|
3296
3296
|
props: {
|
|
3297
3297
|
asChild: { type: Boolean },
|
|
@@ -3310,7 +3310,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
3310
3310
|
}
|
|
3311
3311
|
});
|
|
3312
3312
|
|
|
3313
|
-
const _sfc_main$
|
|
3313
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
3314
3314
|
__name: "Progress",
|
|
3315
3315
|
props: {
|
|
3316
3316
|
modelValue: { default: 0 },
|
|
@@ -3343,7 +3343,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
3343
3343
|
}
|
|
3344
3344
|
});
|
|
3345
3345
|
|
|
3346
|
-
const _sfc_main$
|
|
3346
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
3347
3347
|
__name: "RadioGroup",
|
|
3348
3348
|
props: {
|
|
3349
3349
|
modelValue: {},
|
|
@@ -3381,7 +3381,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
3381
3381
|
}
|
|
3382
3382
|
});
|
|
3383
3383
|
|
|
3384
|
-
const _sfc_main$
|
|
3384
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
3385
3385
|
__name: "RadioGroupItem",
|
|
3386
3386
|
props: {
|
|
3387
3387
|
id: {},
|
|
@@ -3424,7 +3424,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
3424
3424
|
}
|
|
3425
3425
|
});
|
|
3426
3426
|
|
|
3427
|
-
const _sfc_main$
|
|
3427
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
3428
3428
|
__name: "Select",
|
|
3429
3429
|
props: {
|
|
3430
3430
|
open: { type: Boolean },
|
|
@@ -3455,7 +3455,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
3455
3455
|
}
|
|
3456
3456
|
});
|
|
3457
3457
|
|
|
3458
|
-
const _sfc_main$
|
|
3458
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
3459
3459
|
...{
|
|
3460
3460
|
inheritAttrs: false
|
|
3461
3461
|
},
|
|
@@ -3503,7 +3503,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3503
3503
|
)
|
|
3504
3504
|
}), {
|
|
3505
3505
|
default: withCtx(() => [
|
|
3506
|
-
createVNode(unref(_sfc_main$
|
|
3506
|
+
createVNode(unref(_sfc_main$12)),
|
|
3507
3507
|
createVNode(unref(SelectViewport), {
|
|
3508
3508
|
class: normalizeClass(
|
|
3509
3509
|
unref(cn)(
|
|
@@ -3517,7 +3517,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3517
3517
|
]),
|
|
3518
3518
|
_: 3
|
|
3519
3519
|
}, 8, ["class"]),
|
|
3520
|
-
createVNode(unref(_sfc_main$
|
|
3520
|
+
createVNode(unref(_sfc_main$13))
|
|
3521
3521
|
]),
|
|
3522
3522
|
_: 3
|
|
3523
3523
|
}, 16, ["class"])
|
|
@@ -3528,7 +3528,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
3528
3528
|
}
|
|
3529
3529
|
});
|
|
3530
3530
|
|
|
3531
|
-
const _sfc_main$
|
|
3531
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
3532
3532
|
__name: "SelectGroup",
|
|
3533
3533
|
props: {
|
|
3534
3534
|
asChild: { type: Boolean },
|
|
@@ -3547,8 +3547,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
3547
3547
|
}
|
|
3548
3548
|
});
|
|
3549
3549
|
|
|
3550
|
-
const _hoisted_1$
|
|
3551
|
-
const _sfc_main$
|
|
3550
|
+
const _hoisted_1$4 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
3551
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
3552
3552
|
__name: "SelectItem",
|
|
3553
3553
|
props: {
|
|
3554
3554
|
value: {},
|
|
@@ -3573,7 +3573,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3573
3573
|
)
|
|
3574
3574
|
}), {
|
|
3575
3575
|
default: withCtx(() => [
|
|
3576
|
-
createElementVNode("span", _hoisted_1$
|
|
3576
|
+
createElementVNode("span", _hoisted_1$4, [
|
|
3577
3577
|
createVNode(unref(SelectItemIndicator), null, {
|
|
3578
3578
|
default: withCtx(() => [
|
|
3579
3579
|
createVNode(unref(Check), { class: "size-4" })
|
|
@@ -3594,7 +3594,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
3594
3594
|
}
|
|
3595
3595
|
});
|
|
3596
3596
|
|
|
3597
|
-
const _sfc_main$
|
|
3597
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
3598
3598
|
__name: "SelectItemText",
|
|
3599
3599
|
props: {
|
|
3600
3600
|
asChild: { type: Boolean },
|
|
@@ -3613,7 +3613,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
3613
3613
|
}
|
|
3614
3614
|
});
|
|
3615
3615
|
|
|
3616
|
-
const _sfc_main$
|
|
3616
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
3617
3617
|
__name: "SelectLabel",
|
|
3618
3618
|
props: {
|
|
3619
3619
|
for: {},
|
|
@@ -3637,7 +3637,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
3637
3637
|
}
|
|
3638
3638
|
});
|
|
3639
3639
|
|
|
3640
|
-
const _sfc_main$
|
|
3640
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
3641
3641
|
__name: "SelectScrollDownButton",
|
|
3642
3642
|
props: {
|
|
3643
3643
|
asChild: { type: Boolean },
|
|
@@ -3666,7 +3666,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
3666
3666
|
}
|
|
3667
3667
|
});
|
|
3668
3668
|
|
|
3669
|
-
const _sfc_main$
|
|
3669
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
3670
3670
|
__name: "SelectScrollUpButton",
|
|
3671
3671
|
props: {
|
|
3672
3672
|
asChild: { type: Boolean },
|
|
@@ -3695,7 +3695,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
3695
3695
|
}
|
|
3696
3696
|
});
|
|
3697
3697
|
|
|
3698
|
-
const _sfc_main$
|
|
3698
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
3699
3699
|
__name: "SelectSeparator",
|
|
3700
3700
|
props: {
|
|
3701
3701
|
asChild: { type: Boolean },
|
|
@@ -3716,7 +3716,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
3716
3716
|
}
|
|
3717
3717
|
});
|
|
3718
3718
|
|
|
3719
|
-
const _sfc_main
|
|
3719
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
3720
3720
|
__name: "SelectTrigger",
|
|
3721
3721
|
props: {
|
|
3722
3722
|
disabled: { type: Boolean },
|
|
@@ -3755,7 +3755,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
3755
3755
|
}
|
|
3756
3756
|
});
|
|
3757
3757
|
|
|
3758
|
-
const _sfc_main
|
|
3758
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
3759
3759
|
__name: "SelectValue",
|
|
3760
3760
|
props: {
|
|
3761
3761
|
placeholder: {},
|
|
@@ -3775,7 +3775,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
3775
3775
|
}
|
|
3776
3776
|
});
|
|
3777
3777
|
|
|
3778
|
-
const _sfc_main$
|
|
3778
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
3779
3779
|
__name: "Separator",
|
|
3780
3780
|
props: {
|
|
3781
3781
|
orientation: { default: "horizontal" },
|
|
@@ -3798,7 +3798,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
3798
3798
|
}
|
|
3799
3799
|
});
|
|
3800
3800
|
|
|
3801
|
-
const _sfc_main$
|
|
3801
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
3802
3802
|
__name: "Sheet",
|
|
3803
3803
|
props: {
|
|
3804
3804
|
open: { type: Boolean },
|
|
@@ -3821,7 +3821,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
3821
3821
|
}
|
|
3822
3822
|
});
|
|
3823
3823
|
|
|
3824
|
-
const _sfc_main$
|
|
3824
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
3825
3825
|
__name: "SheetClose",
|
|
3826
3826
|
props: {
|
|
3827
3827
|
asChild: { type: Boolean },
|
|
@@ -3840,7 +3840,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
3840
3840
|
}
|
|
3841
3841
|
});
|
|
3842
3842
|
|
|
3843
|
-
const _sfc_main$
|
|
3843
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
3844
3844
|
__name: "SheetOverlay",
|
|
3845
3845
|
props: {
|
|
3846
3846
|
forceMount: { type: Boolean },
|
|
@@ -3871,7 +3871,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
3871
3871
|
}
|
|
3872
3872
|
});
|
|
3873
3873
|
|
|
3874
|
-
const _sfc_main$
|
|
3874
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
3875
3875
|
...{
|
|
3876
3876
|
inheritAttrs: false
|
|
3877
3877
|
},
|
|
@@ -3894,7 +3894,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
3894
3894
|
return (_ctx, _cache) => {
|
|
3895
3895
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
3896
3896
|
default: withCtx(() => [
|
|
3897
|
-
createVNode(_sfc_main$
|
|
3897
|
+
createVNode(_sfc_main$X),
|
|
3898
3898
|
createVNode(unref(DialogContent), mergeProps({
|
|
3899
3899
|
"data-slot": "sheet-content",
|
|
3900
3900
|
class: unref(cn)(
|
|
@@ -3925,7 +3925,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
3925
3925
|
}
|
|
3926
3926
|
});
|
|
3927
3927
|
|
|
3928
|
-
const _sfc_main$
|
|
3928
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
3929
3929
|
__name: "SheetDescription",
|
|
3930
3930
|
props: {
|
|
3931
3931
|
asChild: { type: Boolean },
|
|
@@ -3952,7 +3952,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
3952
3952
|
}
|
|
3953
3953
|
});
|
|
3954
3954
|
|
|
3955
|
-
const _sfc_main$
|
|
3955
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
3956
3956
|
__name: "SheetFooter",
|
|
3957
3957
|
props: {
|
|
3958
3958
|
class: {}
|
|
@@ -3970,7 +3970,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
3970
3970
|
}
|
|
3971
3971
|
});
|
|
3972
3972
|
|
|
3973
|
-
const _sfc_main$
|
|
3973
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
3974
3974
|
__name: "SheetHeader",
|
|
3975
3975
|
props: {
|
|
3976
3976
|
class: {}
|
|
@@ -3988,7 +3988,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
3988
3988
|
}
|
|
3989
3989
|
});
|
|
3990
3990
|
|
|
3991
|
-
const _sfc_main$
|
|
3991
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
3992
3992
|
__name: "SheetTitle",
|
|
3993
3993
|
props: {
|
|
3994
3994
|
asChild: { type: Boolean },
|
|
@@ -4015,7 +4015,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
4015
4015
|
}
|
|
4016
4016
|
});
|
|
4017
4017
|
|
|
4018
|
-
const _sfc_main$
|
|
4018
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
4019
4019
|
__name: "SheetTrigger",
|
|
4020
4020
|
props: {
|
|
4021
4021
|
asChild: { type: Boolean },
|
|
@@ -4042,13 +4042,13 @@ const SIDEBAR_WIDTH_ICON = "3rem";
|
|
|
4042
4042
|
const SIDEBAR_KEYBOARD_SHORTCUT = "b";
|
|
4043
4043
|
const [useSidebar, provideSidebarContext] = createContext("Sidebar");
|
|
4044
4044
|
|
|
4045
|
-
const _hoisted_1$
|
|
4045
|
+
const _hoisted_1$3 = { class: "flex h-full w-full flex-col" };
|
|
4046
4046
|
const _hoisted_2 = ["data-state", "data-collapsible", "data-variant", "data-side"];
|
|
4047
4047
|
const _hoisted_3 = {
|
|
4048
4048
|
"data-sidebar": "sidebar",
|
|
4049
4049
|
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"
|
|
4050
4050
|
};
|
|
4051
|
-
const _sfc_main$
|
|
4051
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
4052
4052
|
...{
|
|
4053
4053
|
inheritAttrs: false
|
|
4054
4054
|
},
|
|
@@ -4069,12 +4069,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4069
4069
|
class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
4070
4070
|
}, _ctx.$attrs), [
|
|
4071
4071
|
renderSlot(_ctx.$slots, "default")
|
|
4072
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4072
|
+
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$Z), mergeProps({
|
|
4073
4073
|
key: 1,
|
|
4074
4074
|
open: unref(openMobile)
|
|
4075
4075
|
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
4076
4076
|
default: withCtx(() => [
|
|
4077
|
-
createVNode(unref(_sfc_main$
|
|
4077
|
+
createVNode(unref(_sfc_main$W), {
|
|
4078
4078
|
"data-sidebar": "sidebar",
|
|
4079
4079
|
"data-slot": "sidebar",
|
|
4080
4080
|
"data-mobile": "true",
|
|
@@ -4085,15 +4085,15 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4085
4085
|
})
|
|
4086
4086
|
}, {
|
|
4087
4087
|
default: withCtx(() => [
|
|
4088
|
-
createVNode(_sfc_main$
|
|
4088
|
+
createVNode(_sfc_main$T, { class: "sr-only" }, {
|
|
4089
4089
|
default: withCtx(() => [
|
|
4090
|
-
createVNode(_sfc_main$
|
|
4090
|
+
createVNode(_sfc_main$S, null, {
|
|
4091
4091
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
4092
4092
|
createTextVNode("Sidebar")
|
|
4093
4093
|
])),
|
|
4094
4094
|
_: 1
|
|
4095
4095
|
}),
|
|
4096
|
-
createVNode(_sfc_main$
|
|
4096
|
+
createVNode(_sfc_main$V, null, {
|
|
4097
4097
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
4098
4098
|
createTextVNode("Displays the mobile sidebar.")
|
|
4099
4099
|
])),
|
|
@@ -4102,7 +4102,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4102
4102
|
]),
|
|
4103
4103
|
_: 1
|
|
4104
4104
|
}),
|
|
4105
|
-
createElementVNode("div", _hoisted_1$
|
|
4105
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
4106
4106
|
renderSlot(_ctx.$slots, "default")
|
|
4107
4107
|
])
|
|
4108
4108
|
]),
|
|
@@ -4147,7 +4147,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4147
4147
|
}
|
|
4148
4148
|
});
|
|
4149
4149
|
|
|
4150
|
-
const _sfc_main$
|
|
4150
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
4151
4151
|
__name: "SidebarContent",
|
|
4152
4152
|
props: {
|
|
4153
4153
|
class: {}
|
|
@@ -4171,7 +4171,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
4171
4171
|
}
|
|
4172
4172
|
});
|
|
4173
4173
|
|
|
4174
|
-
const _sfc_main$
|
|
4174
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
4175
4175
|
__name: "SidebarFooter",
|
|
4176
4176
|
props: {
|
|
4177
4177
|
class: {}
|
|
@@ -4190,7 +4190,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
4190
4190
|
}
|
|
4191
4191
|
});
|
|
4192
4192
|
|
|
4193
|
-
const _sfc_main$
|
|
4193
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
4194
4194
|
__name: "SidebarGroup",
|
|
4195
4195
|
props: {
|
|
4196
4196
|
class: {}
|
|
@@ -4209,7 +4209,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
4209
4209
|
}
|
|
4210
4210
|
});
|
|
4211
4211
|
|
|
4212
|
-
const _sfc_main$
|
|
4212
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
4213
4213
|
__name: "SidebarGroupAction",
|
|
4214
4214
|
props: {
|
|
4215
4215
|
asChild: { type: Boolean },
|
|
@@ -4242,7 +4242,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
4242
4242
|
}
|
|
4243
4243
|
});
|
|
4244
4244
|
|
|
4245
|
-
const _sfc_main$
|
|
4245
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
4246
4246
|
__name: "SidebarGroupContent",
|
|
4247
4247
|
props: {
|
|
4248
4248
|
class: {}
|
|
@@ -4261,7 +4261,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
4261
4261
|
}
|
|
4262
4262
|
});
|
|
4263
4263
|
|
|
4264
|
-
const _sfc_main$
|
|
4264
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
4265
4265
|
__name: "SidebarGroupLabel",
|
|
4266
4266
|
props: {
|
|
4267
4267
|
asChild: { type: Boolean },
|
|
@@ -4293,7 +4293,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
4293
4293
|
}
|
|
4294
4294
|
});
|
|
4295
4295
|
|
|
4296
|
-
const _sfc_main$
|
|
4296
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
4297
4297
|
__name: "SidebarHeader",
|
|
4298
4298
|
props: {
|
|
4299
4299
|
class: {}
|
|
@@ -4312,7 +4312,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
4312
4312
|
}
|
|
4313
4313
|
});
|
|
4314
4314
|
|
|
4315
|
-
const _sfc_main$
|
|
4315
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
4316
4316
|
__name: "SidebarInset",
|
|
4317
4317
|
props: {
|
|
4318
4318
|
class: {}
|
|
@@ -4336,7 +4336,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
4336
4336
|
}
|
|
4337
4337
|
});
|
|
4338
4338
|
|
|
4339
|
-
const _sfc_main$
|
|
4339
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
4340
4340
|
__name: "SidebarMenu",
|
|
4341
4341
|
props: {
|
|
4342
4342
|
class: {}
|
|
@@ -4355,7 +4355,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
4355
4355
|
}
|
|
4356
4356
|
});
|
|
4357
4357
|
|
|
4358
|
-
const _sfc_main$
|
|
4358
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
4359
4359
|
__name: "SidebarMenuAction",
|
|
4360
4360
|
props: {
|
|
4361
4361
|
asChild: { type: Boolean },
|
|
@@ -4393,7 +4393,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
4393
4393
|
}
|
|
4394
4394
|
});
|
|
4395
4395
|
|
|
4396
|
-
const _sfc_main$
|
|
4396
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
4397
4397
|
__name: "SidebarMenuBadge",
|
|
4398
4398
|
props: {
|
|
4399
4399
|
class: {}
|
|
@@ -4422,7 +4422,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
4422
4422
|
}
|
|
4423
4423
|
});
|
|
4424
4424
|
|
|
4425
|
-
const _sfc_main$
|
|
4425
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
4426
4426
|
__name: "Tooltip",
|
|
4427
4427
|
props: {
|
|
4428
4428
|
defaultOpen: { type: Boolean },
|
|
@@ -4449,7 +4449,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
4449
4449
|
}
|
|
4450
4450
|
});
|
|
4451
4451
|
|
|
4452
|
-
const _sfc_main$
|
|
4452
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
4453
4453
|
...{
|
|
4454
4454
|
inheritAttrs: false
|
|
4455
4455
|
},
|
|
@@ -4501,7 +4501,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
4501
4501
|
}
|
|
4502
4502
|
});
|
|
4503
4503
|
|
|
4504
|
-
const _sfc_main$
|
|
4504
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
4505
4505
|
__name: "TooltipProvider",
|
|
4506
4506
|
props: {
|
|
4507
4507
|
delayDuration: { default: 0 },
|
|
@@ -4524,7 +4524,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
4524
4524
|
}
|
|
4525
4525
|
});
|
|
4526
4526
|
|
|
4527
|
-
const _sfc_main$
|
|
4527
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
4528
4528
|
__name: "TooltipTrigger",
|
|
4529
4529
|
props: {
|
|
4530
4530
|
reference: {},
|
|
@@ -4544,7 +4544,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
4544
4544
|
}
|
|
4545
4545
|
});
|
|
4546
4546
|
|
|
4547
|
-
const _sfc_main$
|
|
4547
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
4548
4548
|
__name: "SidebarMenuButtonChild",
|
|
4549
4549
|
props: {
|
|
4550
4550
|
variant: { default: "default" },
|
|
@@ -4575,7 +4575,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
4575
4575
|
}
|
|
4576
4576
|
});
|
|
4577
4577
|
|
|
4578
|
-
const _sfc_main$
|
|
4578
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
4579
4579
|
...{
|
|
4580
4580
|
inheritAttrs: false
|
|
4581
4581
|
},
|
|
@@ -4597,16 +4597,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
4597
4597
|
return delegated;
|
|
4598
4598
|
});
|
|
4599
4599
|
return (_ctx, _cache) => {
|
|
4600
|
-
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$
|
|
4600
|
+
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$A, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4601
4601
|
default: withCtx(() => [
|
|
4602
4602
|
renderSlot(_ctx.$slots, "default")
|
|
4603
4603
|
]),
|
|
4604
4604
|
_: 3
|
|
4605
|
-
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
4605
|
+
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$E), { key: 1 }, {
|
|
4606
4606
|
default: withCtx(() => [
|
|
4607
|
-
createVNode(unref(_sfc_main$
|
|
4607
|
+
createVNode(unref(_sfc_main$B), { "as-child": "" }, {
|
|
4608
4608
|
default: withCtx(() => [
|
|
4609
|
-
createVNode(_sfc_main$
|
|
4609
|
+
createVNode(_sfc_main$A, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
4610
4610
|
default: withCtx(() => [
|
|
4611
4611
|
renderSlot(_ctx.$slots, "default")
|
|
4612
4612
|
]),
|
|
@@ -4615,7 +4615,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
4615
4615
|
]),
|
|
4616
4616
|
_: 3
|
|
4617
4617
|
}),
|
|
4618
|
-
createVNode(unref(_sfc_main$
|
|
4618
|
+
createVNode(unref(_sfc_main$D), {
|
|
4619
4619
|
side: "right",
|
|
4620
4620
|
align: "center",
|
|
4621
4621
|
hidden: unref(state) !== "collapsed" || unref(isMobile)
|
|
@@ -4634,7 +4634,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
4634
4634
|
}
|
|
4635
4635
|
});
|
|
4636
4636
|
|
|
4637
|
-
const _sfc_main$
|
|
4637
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
4638
4638
|
__name: "SidebarMenuItem",
|
|
4639
4639
|
props: {
|
|
4640
4640
|
class: {}
|
|
@@ -4653,7 +4653,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
4653
4653
|
}
|
|
4654
4654
|
});
|
|
4655
4655
|
|
|
4656
|
-
const _sfc_main$
|
|
4656
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
4657
4657
|
__name: "Skeleton",
|
|
4658
4658
|
props: {
|
|
4659
4659
|
class: {}
|
|
@@ -4663,13 +4663,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
4663
4663
|
return (_ctx, _cache) => {
|
|
4664
4664
|
return openBlock(), createElementBlock("div", {
|
|
4665
4665
|
"data-slot": "skeleton",
|
|
4666
|
-
class: normalizeClass(unref(cn)("animate-pulse rounded-md
|
|
4666
|
+
class: normalizeClass(unref(cn)("bg-primary/10 animate-pulse rounded-md", props.class))
|
|
4667
4667
|
}, null, 2);
|
|
4668
4668
|
};
|
|
4669
4669
|
}
|
|
4670
4670
|
});
|
|
4671
4671
|
|
|
4672
|
-
const _sfc_main$
|
|
4672
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
4673
4673
|
__name: "SidebarMenuSkeleton",
|
|
4674
4674
|
props: {
|
|
4675
4675
|
showIcon: { type: Boolean },
|
|
@@ -4686,12 +4686,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
4686
4686
|
"data-sidebar": "menu-skeleton",
|
|
4687
4687
|
class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
|
|
4688
4688
|
}, [
|
|
4689
|
-
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4689
|
+
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$x), {
|
|
4690
4690
|
key: 0,
|
|
4691
4691
|
class: "size-4 rounded-md",
|
|
4692
4692
|
"data-sidebar": "menu-skeleton-icon"
|
|
4693
4693
|
})) : createCommentVNode("", true),
|
|
4694
|
-
createVNode(unref(_sfc_main$
|
|
4694
|
+
createVNode(unref(_sfc_main$x), {
|
|
4695
4695
|
class: "h-4 max-w-(--skeleton-width) flex-1",
|
|
4696
4696
|
"data-sidebar": "menu-skeleton-text",
|
|
4697
4697
|
style: normalizeStyle({ "--skeleton-width": width.value })
|
|
@@ -4701,7 +4701,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
4701
4701
|
}
|
|
4702
4702
|
});
|
|
4703
4703
|
|
|
4704
|
-
const _sfc_main$
|
|
4704
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
4705
4705
|
__name: "SidebarMenuSub",
|
|
4706
4706
|
props: {
|
|
4707
4707
|
class: {}
|
|
@@ -4726,7 +4726,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
4726
4726
|
}
|
|
4727
4727
|
});
|
|
4728
4728
|
|
|
4729
|
-
const _sfc_main$
|
|
4729
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
4730
4730
|
__name: "SidebarMenuSubButton",
|
|
4731
4731
|
props: {
|
|
4732
4732
|
asChild: { type: Boolean },
|
|
@@ -4765,7 +4765,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
4765
4765
|
}
|
|
4766
4766
|
});
|
|
4767
4767
|
|
|
4768
|
-
const _sfc_main$
|
|
4768
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
4769
4769
|
__name: "SidebarMenuSubItem",
|
|
4770
4770
|
props: {
|
|
4771
4771
|
class: {}
|
|
@@ -4784,7 +4784,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
4784
4784
|
}
|
|
4785
4785
|
});
|
|
4786
4786
|
|
|
4787
|
-
const _sfc_main$
|
|
4787
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
4788
4788
|
__name: "SidebarProvider",
|
|
4789
4789
|
props: {
|
|
4790
4790
|
defaultOpen: { type: Boolean, default: true },
|
|
@@ -4850,7 +4850,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
4850
4850
|
}
|
|
4851
4851
|
});
|
|
4852
4852
|
|
|
4853
|
-
const _sfc_main$
|
|
4853
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
4854
4854
|
__name: "SidebarRail",
|
|
4855
4855
|
props: {
|
|
4856
4856
|
class: {}
|
|
@@ -4885,7 +4885,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
4885
4885
|
}
|
|
4886
4886
|
});
|
|
4887
4887
|
|
|
4888
|
-
const _sfc_main$
|
|
4888
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
4889
4889
|
__name: "SidebarSeparator",
|
|
4890
4890
|
props: {
|
|
4891
4891
|
class: {}
|
|
@@ -4893,7 +4893,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4893
4893
|
setup(__props) {
|
|
4894
4894
|
const props = __props;
|
|
4895
4895
|
return (_ctx, _cache) => {
|
|
4896
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4896
|
+
return openBlock(), createBlock(unref(_sfc_main$_), {
|
|
4897
4897
|
"data-slot": "sidebar-separator",
|
|
4898
4898
|
"data-sidebar": "separator",
|
|
4899
4899
|
class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
|
|
@@ -4907,7 +4907,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
4907
4907
|
}
|
|
4908
4908
|
});
|
|
4909
4909
|
|
|
4910
|
-
const _sfc_main$
|
|
4910
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
4911
4911
|
__name: "SidebarTrigger",
|
|
4912
4912
|
props: {
|
|
4913
4913
|
class: {}
|
|
@@ -4916,7 +4916,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
4916
4916
|
const props = __props;
|
|
4917
4917
|
const { toggleSidebar } = useSidebar();
|
|
4918
4918
|
return (_ctx, _cache) => {
|
|
4919
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4919
|
+
return openBlock(), createBlock(unref(_sfc_main$2L), {
|
|
4920
4920
|
"data-sidebar": "trigger",
|
|
4921
4921
|
"data-slot": "sidebar-trigger",
|
|
4922
4922
|
variant: "ghost",
|
|
@@ -4955,30 +4955,30 @@ const sidebarMenuButtonVariants = cva(
|
|
|
4955
4955
|
}
|
|
4956
4956
|
);
|
|
4957
4957
|
|
|
4958
|
-
const _sfc_main$
|
|
4958
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
4959
4959
|
__name: "Sidebar",
|
|
4960
4960
|
props: {
|
|
4961
4961
|
defaultOpen: { type: Boolean }
|
|
4962
4962
|
},
|
|
4963
4963
|
setup(__props) {
|
|
4964
4964
|
return (_ctx, _cache) => {
|
|
4965
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4965
|
+
return openBlock(), createBlock(unref(_sfc_main$s), { "default-open": _ctx.defaultOpen }, {
|
|
4966
4966
|
default: withCtx(() => [
|
|
4967
|
-
createVNode(unref(_sfc_main$
|
|
4967
|
+
createVNode(unref(_sfc_main$Q), null, {
|
|
4968
4968
|
default: withCtx(() => [
|
|
4969
|
-
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4969
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$J), { key: 0 }, {
|
|
4970
4970
|
default: withCtx(() => [
|
|
4971
4971
|
renderSlot(_ctx.$slots, "header")
|
|
4972
4972
|
]),
|
|
4973
4973
|
_: 3
|
|
4974
4974
|
})) : createCommentVNode("", true),
|
|
4975
|
-
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4975
|
+
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$P), { key: 1 }, {
|
|
4976
4976
|
default: withCtx(() => [
|
|
4977
4977
|
renderSlot(_ctx.$slots, "content")
|
|
4978
4978
|
]),
|
|
4979
4979
|
_: 3
|
|
4980
4980
|
})) : createCommentVNode("", true),
|
|
4981
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4981
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$O), { key: 2 }, {
|
|
4982
4982
|
default: withCtx(() => [
|
|
4983
4983
|
renderSlot(_ctx.$slots, "footer")
|
|
4984
4984
|
]),
|
|
@@ -4987,7 +4987,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
4987
4987
|
]),
|
|
4988
4988
|
_: 3
|
|
4989
4989
|
}),
|
|
4990
|
-
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4990
|
+
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$I), { key: 0 }, {
|
|
4991
4991
|
default: withCtx(() => [
|
|
4992
4992
|
renderSlot(_ctx.$slots, "inset")
|
|
4993
4993
|
]),
|
|
@@ -5000,7 +5000,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
5000
5000
|
}
|
|
5001
5001
|
});
|
|
5002
5002
|
|
|
5003
|
-
const _sfc_main$
|
|
5003
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
5004
5004
|
__name: "Switch",
|
|
5005
5005
|
props: {
|
|
5006
5006
|
defaultValue: { type: Boolean },
|
|
@@ -5051,6 +5051,62 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
5051
5051
|
}
|
|
5052
5052
|
});
|
|
5053
5053
|
|
|
5054
|
+
const _hoisted_1$2 = {
|
|
5055
|
+
key: 0,
|
|
5056
|
+
class: "w-full"
|
|
5057
|
+
};
|
|
5058
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
5059
|
+
__name: "Switch",
|
|
5060
|
+
props: /* @__PURE__ */ mergeModels({
|
|
5061
|
+
class: {},
|
|
5062
|
+
disabled: { type: Boolean },
|
|
5063
|
+
label: {},
|
|
5064
|
+
labelClass: {}
|
|
5065
|
+
}, {
|
|
5066
|
+
"modelValue": { type: Boolean, ...{ required: true } },
|
|
5067
|
+
"modelModifiers": {}
|
|
5068
|
+
}),
|
|
5069
|
+
emits: ["update:modelValue"],
|
|
5070
|
+
setup(__props) {
|
|
5071
|
+
const props = __props;
|
|
5072
|
+
const toggled = useModel(__props, "modelValue");
|
|
5073
|
+
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
5074
|
+
return (_ctx, _cache) => {
|
|
5075
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
5076
|
+
createVNode(unref(DefineTemplate), null, {
|
|
5077
|
+
default: withCtx(() => [
|
|
5078
|
+
createVNode(unref(_sfc_main$n), {
|
|
5079
|
+
modelValue: toggled.value,
|
|
5080
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => toggled.value = $event),
|
|
5081
|
+
disabled: _ctx.disabled,
|
|
5082
|
+
class: normalizeClass(props.class)
|
|
5083
|
+
}, createSlots({ _: 2 }, [
|
|
5084
|
+
_ctx.$slots.thumb ? {
|
|
5085
|
+
name: "thumb",
|
|
5086
|
+
fn: withCtx(() => [
|
|
5087
|
+
renderSlot(_ctx.$slots, "thumb")
|
|
5088
|
+
]),
|
|
5089
|
+
key: "0"
|
|
5090
|
+
} : void 0
|
|
5091
|
+
]), 1032, ["modelValue", "disabled", "class"])
|
|
5092
|
+
]),
|
|
5093
|
+
_: 3
|
|
5094
|
+
}),
|
|
5095
|
+
_ctx.label || _ctx.$slots.label ? (openBlock(), createBlock(unref(_sfc_main$1M), {
|
|
5096
|
+
key: 0,
|
|
5097
|
+
class: normalizeClass(unref(cn)("flex flex-row items-center justify-start gap-2", _ctx.labelClass))
|
|
5098
|
+
}, {
|
|
5099
|
+
default: withCtx(() => [
|
|
5100
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$2, toDisplayString(_ctx.label), 1)) : renderSlot(_ctx.$slots, "label", { key: 1 }),
|
|
5101
|
+
createVNode(unref(ReuseTemplate))
|
|
5102
|
+
]),
|
|
5103
|
+
_: 3
|
|
5104
|
+
}, 8, ["class"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))
|
|
5105
|
+
], 64);
|
|
5106
|
+
};
|
|
5107
|
+
}
|
|
5108
|
+
});
|
|
5109
|
+
|
|
5054
5110
|
const _hoisted_1$1 = {
|
|
5055
5111
|
"data-slot": "table-container",
|
|
5056
5112
|
class: "relative w-full overflow-auto"
|
|
@@ -5171,7 +5227,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
5171
5227
|
return openBlock(), createBlock(_sfc_main$h, null, {
|
|
5172
5228
|
default: withCtx(() => [
|
|
5173
5229
|
createVNode(_sfc_main$i, mergeProps({
|
|
5174
|
-
class: unref(cn)("p-4
|
|
5230
|
+
class: unref(cn)("text-foreground p-4 align-middle text-sm whitespace-nowrap", props.class)
|
|
5175
5231
|
}, delegatedProps.value), {
|
|
5176
5232
|
default: withCtx(() => [
|
|
5177
5233
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -5311,7 +5367,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
5311
5367
|
return (_ctx, _cache) => {
|
|
5312
5368
|
return openBlock(), createBlock(unref(_sfc_main$i), null, {
|
|
5313
5369
|
default: withCtx(() => [
|
|
5314
|
-
createVNode(unref(_sfc_main$
|
|
5370
|
+
createVNode(unref(_sfc_main$1E), {
|
|
5315
5371
|
to: _ctx.to,
|
|
5316
5372
|
label: _ctx.label,
|
|
5317
5373
|
class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
|
|
@@ -5485,7 +5541,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5485
5541
|
return (_ctx, _cache) => {
|
|
5486
5542
|
return openBlock(), createBlock(unref(TagsInputRoot), mergeProps(unref(forwarded), {
|
|
5487
5543
|
class: unref(cn)(
|
|
5488
|
-
"flex flex-wrap gap-2
|
|
5544
|
+
"border-input bg-background flex flex-wrap items-center gap-2 rounded-md border px-3 py-1.5 text-sm",
|
|
5489
5545
|
props.class
|
|
5490
5546
|
)
|
|
5491
5547
|
}), {
|
|
@@ -5517,7 +5573,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
5517
5573
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
5518
5574
|
return (_ctx, _cache) => {
|
|
5519
5575
|
return openBlock(), createBlock(unref(TagsInputInput), mergeProps(unref(forwardedProps), {
|
|
5520
|
-
class: unref(cn)("
|
|
5576
|
+
class: unref(cn)("min-h-5 flex-1 bg-transparent px-1 text-sm focus:outline-none", props.class)
|
|
5521
5577
|
}), null, 16, ["class"]);
|
|
5522
5578
|
};
|
|
5523
5579
|
}
|
|
@@ -5542,7 +5598,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
5542
5598
|
return (_ctx, _cache) => {
|
|
5543
5599
|
return openBlock(), createBlock(unref(TagsInputItem), mergeProps(unref(forwardedProps), {
|
|
5544
5600
|
class: unref(cn)(
|
|
5545
|
-
"
|
|
5601
|
+
"bg-secondary data-[state=active]:ring-ring ring-offset-background flex h-5 items-center rounded-md data-[state=active]:ring-2 data-[state=active]:ring-offset-2",
|
|
5546
5602
|
props.class
|
|
5547
5603
|
)
|
|
5548
5604
|
}), {
|
|
@@ -5571,11 +5627,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
5571
5627
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
5572
5628
|
return (_ctx, _cache) => {
|
|
5573
5629
|
return openBlock(), createBlock(unref(TagsInputItemDelete), mergeProps(unref(forwardedProps), {
|
|
5574
|
-
class: unref(cn)("flex rounded bg-transparent
|
|
5630
|
+
class: unref(cn)("mr-1 flex rounded bg-transparent", props.class)
|
|
5575
5631
|
}), {
|
|
5576
5632
|
default: withCtx(() => [
|
|
5577
5633
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5578
|
-
createVNode(unref(X), { class: "
|
|
5634
|
+
createVNode(unref(X), { class: "h-4 w-4" })
|
|
5579
5635
|
])
|
|
5580
5636
|
]),
|
|
5581
5637
|
_: 3
|
|
@@ -5600,7 +5656,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
5600
5656
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
5601
5657
|
return (_ctx, _cache) => {
|
|
5602
5658
|
return openBlock(), createBlock(unref(TagsInputItemText), mergeProps(unref(forwardedProps), {
|
|
5603
|
-
class: unref(cn)("py-0.5
|
|
5659
|
+
class: unref(cn)("rounded bg-transparent px-2 py-0.5 text-sm", props.class)
|
|
5604
5660
|
}), null, 16, ["class"]);
|
|
5605
5661
|
};
|
|
5606
5662
|
}
|
|
@@ -5824,4 +5880,4 @@ function localRef(key, initial, options) {
|
|
|
5824
5880
|
});
|
|
5825
5881
|
}
|
|
5826
5882
|
|
|
5827
|
-
export { _sfc_main$
|
|
5883
|
+
export { _sfc_main$2M as Badge, _sfc_main$2L as Button, _sfc_main$2J as ButtonIcon, _sfc_main$2K as ButtonLink, _sfc_main$2A as Card, _sfc_main$2z as Checkbox, _sfc_main$2y as Combobox, _sfc_main$2x as ComboboxAnchor, _sfc_main$2w as ComboboxEmpty, _sfc_main$2v as ComboboxGroup, _sfc_main$2u as ComboboxInput, _sfc_main$2t as ComboboxItem, _sfc_main$2s as ComboboxItemIndicator, _sfc_main$2r as ComboboxList, _sfc_main$2q as ComboboxSeparator, _sfc_main$2p as ComboboxViewport, _sfc_main$2o as ContextMenu, _sfc_main$2n as ContextMenuCheckboxItem, _sfc_main$2m as ContextMenuContent, _sfc_main$2l as ContextMenuGroup, _sfc_main$2k as ContextMenuItem, _sfc_main$2j as ContextMenuLabel, _sfc_main$2i as ContextMenuRadioGroup, _sfc_main$2h as ContextMenuRadioItem, _sfc_main$2g as ContextMenuSeparator, _sfc_main$2f as ContextMenuShortcut, _sfc_main$2e as ContextMenuSub, _sfc_main$2d as ContextMenuSubContent, _sfc_main$2c as ContextMenuSubTrigger, _sfc_main$2b as ContextMenuTrigger, _sfc_main$2a as Dialog, _sfc_main$29 as DialogClose, _sfc_main$27 as DialogContent, _sfc_main$26 as DialogDescription, _sfc_main$25 as DialogFooter, _sfc_main$24 as DialogHeader, _sfc_main$28 as DialogOverlay, _sfc_main$23 as DialogScrollContent, _sfc_main$22 as DialogTitle, _sfc_main$21 as DialogTrigger, _sfc_main$20 as DropdownMenu, _sfc_main$1$ as DropdownMenuCheckboxItem, _sfc_main$1_ as DropdownMenuContent, _sfc_main$1Z as DropdownMenuGroup, _sfc_main$1Y as DropdownMenuItem, _sfc_main$1X as DropdownMenuLabel, _sfc_main$1W as DropdownMenuRadioGroup, _sfc_main$1V as DropdownMenuRadioItem, _sfc_main$1U as DropdownMenuSeparator, _sfc_main$1T as DropdownMenuShortcut, _sfc_main$1S as DropdownMenuSub, _sfc_main$1R as DropdownMenuSubContent, _sfc_main$1Q as DropdownMenuSubTrigger, _sfc_main$1P as DropdownMenuTrigger, _sfc_main$1O as Input, _sfc_main$1G as InputNumber, _sfc_main$1F as InputText, _sfc_main$1M as Label, _sfc_main$1E as Link, _sfc_main$1D as Menubar, _sfc_main$1C as MenubarCheckboxItem, _sfc_main$1B as MenubarContent, _sfc_main$1A as MenubarGroup, _sfc_main$1z as MenubarItem, _sfc_main$1y as MenubarLabel, _sfc_main$1x as MenubarMenu, _sfc_main$1w as MenubarRadioGroup, _sfc_main$1v as MenubarRadioItem, _sfc_main$1u as MenubarSeparator, _sfc_main$1t as MenubarShortcut, _sfc_main$1s as MenubarSub, _sfc_main$1r as MenubarSubContent, _sfc_main$1q as MenubarSubTrigger, _sfc_main$1p as MenubarTrigger, _sfc_main$1o as Pagination, _sfc_main$1n as PaginationContent, _sfc_main$1m as PaginationEllipsis, _sfc_main$1l as PaginationFirst, _sfc_main$1k as PaginationItem, _sfc_main$1j as PaginationLast, _sfc_main$1i as PaginationNext, _sfc_main$1h as PaginationPrevious, _sfc_main$1g as Popover, _sfc_main$1f as PopoverAnchor, _sfc_main$1e as PopoverContent, _sfc_main$1d as PopoverTrigger, _sfc_main$1c as Progress, _sfc_main$1b as RadioGroup, _sfc_main$1a as RadioGroupItem, _sfc_main$2H as ScrollArea, _sfc_main$19 as Select, _sfc_main$18 as SelectContent, _sfc_main$17 as SelectGroup, _sfc_main$16 as SelectItem, _sfc_main$15 as SelectItemText, _sfc_main$14 as SelectLabel, _sfc_main$13 as SelectScrollDownButton, _sfc_main$12 as SelectScrollUpButton, _sfc_main$11 as SelectSeparator, _sfc_main$10 as SelectTrigger, _sfc_main$$ as SelectValue, _sfc_main$_ as Separator, _sfc_main$Z as Sheet, _sfc_main$Y as SheetClose, _sfc_main$W as SheetContent, _sfc_main$V as SheetDescription, _sfc_main$U as SheetFooter, _sfc_main$T as SheetHeader, _sfc_main$S as SheetTitle, _sfc_main$R as SheetTrigger, _sfc_main$o as Sidebar, _sfc_main$N as SidebarGroup, _sfc_main$M as SidebarGroupAction, _sfc_main$L as SidebarGroupContent, _sfc_main$K as SidebarGroupLabel, _sfc_main$H as SidebarMenu, _sfc_main$G as SidebarMenuAction, _sfc_main$F as SidebarMenuBadge, _sfc_main$z as SidebarMenuButton, _sfc_main$y as SidebarMenuItem, _sfc_main$w as SidebarMenuSkeleton, _sfc_main$v as SidebarMenuSub, _sfc_main$u as SidebarMenuSubButton, _sfc_main$t as SidebarMenuSubItem, _sfc_main$r as SidebarRail, _sfc_main$q as SidebarSeparator, _sfc_main$p as SidebarTrigger, _sfc_main$x as Skeleton, _sfc_main$m as Switch, _sfc_main$c as Table, _sfc_main$i as TableCell, _sfc_main$g as TableEmpty, _sfc_main$e as TableHead, _sfc_main$b as TableLink, _sfc_main$h as TableRow, _sfc_main$a as Tabs, _sfc_main$9 as TabsContent, _sfc_main$8 as TabsList, _sfc_main$7 as TabsTrigger, _sfc_main$6 as TagsInput, _sfc_main$5 as TagsInputInput, _sfc_main$4 as TagsInputItem, _sfc_main$3 as TagsInputItemDelete, _sfc_main$2 as TagsInputItemText, _sfc_main$1 as Textarea, _sfc_main as Toggle, _sfc_main$E as Tooltip, _sfc_main$D as TooltipContent, _sfc_main$C as TooltipProvider, _sfc_main$B as TooltipTrigger, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth };
|