@tb-dev/vue 0.3.6 → 0.3.8
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
|
@@ -7,7 +7,7 @@ import { Primitive, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaRoot, Scroll
|
|
|
7
7
|
export { DropdownMenuPortal } from 'reka-ui';
|
|
8
8
|
import { RouterLink } from 'vue-router';
|
|
9
9
|
import { createReusableTemplate, reactiveOmit, useVModel, useMediaQuery, useEventListener, computedAsync, useAsyncState, useWindowSize, useElementSize as useElementSize$1, tryOnScopeDispose, onKeyStroke, useLocalStorage } from '@vueuse/core';
|
|
10
|
-
import { Check, Circle, ChevronRight, X, Minus, Plus, CircleIcon, ChevronDown, ChevronUp } from 'lucide-vue-next';
|
|
10
|
+
import { Check, Circle, ChevronRight, X, Minus, Plus, CircleIcon, ChevronDown, ChevronUp, PanelLeft } from 'lucide-vue-next';
|
|
11
11
|
|
|
12
12
|
function create$1() {
|
|
13
13
|
let APP = null;
|
|
@@ -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$2c = /* @__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$2b = /* @__PURE__ */ defineComponent({
|
|
137
137
|
__name: "Button",
|
|
138
138
|
props: {
|
|
139
139
|
variant: {},
|
|
@@ -188,7 +188,7 @@ const buttonVariants = cva(
|
|
|
188
188
|
|
|
189
189
|
const _hoisted_1$b = { key: 0 };
|
|
190
190
|
const _hoisted_2$1 = { key: 0 };
|
|
191
|
-
const _sfc_main$
|
|
191
|
+
const _sfc_main$2a = /* @__PURE__ */ defineComponent({
|
|
192
192
|
__name: "ButtonLink",
|
|
193
193
|
props: {
|
|
194
194
|
buttonClass: {},
|
|
@@ -204,7 +204,7 @@ const _sfc_main$1V = /* @__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$2b), {
|
|
208
208
|
variant: _ctx.variant,
|
|
209
209
|
size: _ctx.size,
|
|
210
210
|
disabled: _ctx.disabled,
|
|
@@ -234,7 +234,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
|
|
237
|
-
const _sfc_main$
|
|
237
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
238
238
|
__name: "ButtonIcon",
|
|
239
239
|
props: {
|
|
240
240
|
buttonClass: {},
|
|
@@ -247,7 +247,7 @@ const _sfc_main$1U = /* @__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$2a), {
|
|
251
251
|
key: 0,
|
|
252
252
|
to: _ctx.to,
|
|
253
253
|
variant: "ghost",
|
|
@@ -262,7 +262,7 @@ const _sfc_main$1U = /* @__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$2b), {
|
|
266
266
|
key: 1,
|
|
267
267
|
variant: "ghost",
|
|
268
268
|
size: "icon",
|
|
@@ -280,7 +280,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
280
280
|
}
|
|
281
281
|
});
|
|
282
282
|
|
|
283
|
-
const _sfc_main$
|
|
283
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
284
284
|
__name: "ScrollBar",
|
|
285
285
|
props: {
|
|
286
286
|
orientation: { default: "vertical" },
|
|
@@ -316,7 +316,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
const _sfc_main$
|
|
319
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
320
320
|
__name: "ScrollArea",
|
|
321
321
|
props: {
|
|
322
322
|
type: {},
|
|
@@ -346,7 +346,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
346
346
|
]),
|
|
347
347
|
_: 3
|
|
348
348
|
}),
|
|
349
|
-
createVNode(_sfc_main$
|
|
349
|
+
createVNode(_sfc_main$28),
|
|
350
350
|
createVNode(unref(ScrollAreaCorner))
|
|
351
351
|
]),
|
|
352
352
|
_: 3
|
|
@@ -355,7 +355,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
357
|
|
|
358
|
-
const _sfc_main$
|
|
358
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
359
359
|
__name: "Card",
|
|
360
360
|
props: {
|
|
361
361
|
class: {}
|
|
@@ -378,7 +378,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
|
|
381
|
-
const _sfc_main$
|
|
381
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
382
382
|
__name: "CardContent",
|
|
383
383
|
props: {
|
|
384
384
|
class: {}
|
|
@@ -396,7 +396,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
396
396
|
}
|
|
397
397
|
});
|
|
398
398
|
|
|
399
|
-
const _sfc_main$
|
|
399
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
400
400
|
__name: "CardDescription",
|
|
401
401
|
props: {
|
|
402
402
|
class: {}
|
|
@@ -414,7 +414,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
416
|
|
|
417
|
-
const _sfc_main$
|
|
417
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
418
418
|
__name: "CardHeader",
|
|
419
419
|
props: {
|
|
420
420
|
class: {}
|
|
@@ -437,7 +437,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
437
437
|
}
|
|
438
438
|
});
|
|
439
439
|
|
|
440
|
-
const _sfc_main$
|
|
440
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
441
441
|
__name: "CardTitle",
|
|
442
442
|
props: {
|
|
443
443
|
class: {}
|
|
@@ -455,7 +455,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
|
|
458
|
-
const _sfc_main$
|
|
458
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
459
459
|
__name: "Card",
|
|
460
460
|
props: {
|
|
461
461
|
contentClass: {},
|
|
@@ -467,14 +467,14 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
467
467
|
},
|
|
468
468
|
setup(__props) {
|
|
469
469
|
return (_ctx, _cache) => {
|
|
470
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
470
|
+
return openBlock(), createBlock(unref(_sfc_main$26), null, {
|
|
471
471
|
default: withCtx(() => [
|
|
472
|
-
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
472
|
+
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$23), {
|
|
473
473
|
key: 0,
|
|
474
474
|
class: normalizeClass(_ctx.headerClass)
|
|
475
475
|
}, {
|
|
476
476
|
default: withCtx(() => [
|
|
477
|
-
createVNode(unref(_sfc_main$
|
|
477
|
+
createVNode(unref(_sfc_main$22), {
|
|
478
478
|
class: normalizeClass(_ctx.titleClass)
|
|
479
479
|
}, {
|
|
480
480
|
default: withCtx(() => [
|
|
@@ -482,7 +482,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
482
482
|
]),
|
|
483
483
|
_: 3
|
|
484
484
|
}, 8, ["class"]),
|
|
485
|
-
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$
|
|
485
|
+
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$24), {
|
|
486
486
|
key: 0,
|
|
487
487
|
class: normalizeClass(_ctx.descriptionClass)
|
|
488
488
|
}, {
|
|
@@ -494,11 +494,11 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
494
494
|
]),
|
|
495
495
|
_: 3
|
|
496
496
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
497
|
-
createVNode(unref(_sfc_main$
|
|
497
|
+
createVNode(unref(_sfc_main$25), {
|
|
498
498
|
class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
|
|
499
499
|
}, {
|
|
500
500
|
default: withCtx(() => [
|
|
501
|
-
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
501
|
+
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$27), {
|
|
502
502
|
key: 0,
|
|
503
503
|
class: normalizeClass(_ctx.scrollAreaClass),
|
|
504
504
|
style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
|
|
@@ -518,7 +518,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
|
|
521
|
-
const _sfc_main$
|
|
521
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
522
522
|
__name: "Checkbox",
|
|
523
523
|
props: {
|
|
524
524
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -567,7 +567,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
569
|
|
|
570
|
-
const _sfc_main$
|
|
570
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
571
571
|
__name: "ContextMenu",
|
|
572
572
|
props: {
|
|
573
573
|
dir: {},
|
|
@@ -590,7 +590,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
590
590
|
});
|
|
591
591
|
|
|
592
592
|
const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
593
|
-
const _sfc_main$
|
|
593
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
594
594
|
__name: "ContextMenuCheckboxItem",
|
|
595
595
|
props: {
|
|
596
596
|
modelValue: { type: [Boolean, String] },
|
|
@@ -633,7 +633,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
633
633
|
}
|
|
634
634
|
});
|
|
635
635
|
|
|
636
|
-
const _sfc_main$
|
|
636
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
637
637
|
__name: "ContextMenuContent",
|
|
638
638
|
props: {
|
|
639
639
|
forceMount: { type: Boolean },
|
|
@@ -682,7 +682,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
682
682
|
}
|
|
683
683
|
});
|
|
684
684
|
|
|
685
|
-
const _sfc_main$
|
|
685
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
686
686
|
__name: "ContextMenuGroup",
|
|
687
687
|
props: {
|
|
688
688
|
asChild: { type: Boolean },
|
|
@@ -701,7 +701,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
|
|
704
|
-
const _sfc_main$
|
|
704
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
705
705
|
__name: "ContextMenuItem",
|
|
706
706
|
props: {
|
|
707
707
|
disabled: { type: Boolean },
|
|
@@ -741,7 +741,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
const _sfc_main$
|
|
744
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
745
745
|
__name: "ContextMenuLabel",
|
|
746
746
|
props: {
|
|
747
747
|
asChild: { type: Boolean },
|
|
@@ -771,7 +771,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
773
|
|
|
774
|
-
const _sfc_main$
|
|
774
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
775
775
|
__name: "ContextMenuRadioGroup",
|
|
776
776
|
props: {
|
|
777
777
|
modelValue: {},
|
|
@@ -795,7 +795,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
795
795
|
});
|
|
796
796
|
|
|
797
797
|
const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
798
|
-
const _sfc_main$
|
|
798
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
799
799
|
__name: "ContextMenuRadioItem",
|
|
800
800
|
props: {
|
|
801
801
|
value: {},
|
|
@@ -838,7 +838,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
838
838
|
}
|
|
839
839
|
});
|
|
840
840
|
|
|
841
|
-
const _sfc_main$
|
|
841
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
842
842
|
__name: "ContextMenuSeparator",
|
|
843
843
|
props: {
|
|
844
844
|
asChild: { type: Boolean },
|
|
@@ -859,7 +859,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
861
|
|
|
862
|
-
const _sfc_main$
|
|
862
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
863
863
|
__name: "ContextMenuShortcut",
|
|
864
864
|
props: {
|
|
865
865
|
class: {}
|
|
@@ -877,7 +877,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
879
|
|
|
880
|
-
const _sfc_main$
|
|
880
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
881
881
|
__name: "ContextMenuSub",
|
|
882
882
|
props: {
|
|
883
883
|
defaultOpen: { type: Boolean },
|
|
@@ -899,7 +899,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
901
|
|
|
902
|
-
const _sfc_main$
|
|
902
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
903
903
|
__name: "ContextMenuSubContent",
|
|
904
904
|
props: {
|
|
905
905
|
forceMount: { type: Boolean },
|
|
@@ -946,7 +946,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
|
|
949
|
-
const _sfc_main$
|
|
949
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
950
950
|
__name: "ContextMenuSubTrigger",
|
|
951
951
|
props: {
|
|
952
952
|
disabled: { type: Boolean },
|
|
@@ -983,7 +983,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
983
983
|
}
|
|
984
984
|
});
|
|
985
985
|
|
|
986
|
-
const _sfc_main$
|
|
986
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
987
987
|
__name: "ContextMenuTrigger",
|
|
988
988
|
props: {
|
|
989
989
|
disabled: { type: Boolean },
|
|
@@ -1004,7 +1004,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
1004
1004
|
}
|
|
1005
1005
|
});
|
|
1006
1006
|
|
|
1007
|
-
const _sfc_main$
|
|
1007
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
1008
1008
|
__name: "Dialog",
|
|
1009
1009
|
props: {
|
|
1010
1010
|
open: { type: Boolean },
|
|
@@ -1027,7 +1027,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
1027
1027
|
}
|
|
1028
1028
|
});
|
|
1029
1029
|
|
|
1030
|
-
const _sfc_main$
|
|
1030
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
1031
1031
|
__name: "DialogClose",
|
|
1032
1032
|
props: {
|
|
1033
1033
|
asChild: { type: Boolean },
|
|
@@ -1046,7 +1046,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
1046
1046
|
}
|
|
1047
1047
|
});
|
|
1048
1048
|
|
|
1049
|
-
const _sfc_main$
|
|
1049
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
1050
1050
|
__name: "DialogOverlay",
|
|
1051
1051
|
props: {
|
|
1052
1052
|
forceMount: { type: Boolean },
|
|
@@ -1076,7 +1076,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
1076
1076
|
}
|
|
1077
1077
|
});
|
|
1078
1078
|
|
|
1079
|
-
const _sfc_main$
|
|
1079
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
1080
1080
|
__name: "DialogContent",
|
|
1081
1081
|
props: {
|
|
1082
1082
|
forceMount: { type: Boolean },
|
|
@@ -1098,7 +1098,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
1098
1098
|
return (_ctx, _cache) => {
|
|
1099
1099
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1100
1100
|
default: withCtx(() => [
|
|
1101
|
-
createVNode(_sfc_main$
|
|
1101
|
+
createVNode(_sfc_main$1L),
|
|
1102
1102
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1103
1103
|
class: unref(cn)(
|
|
1104
1104
|
"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",
|
|
@@ -1124,7 +1124,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
1124
1124
|
}
|
|
1125
1125
|
});
|
|
1126
1126
|
|
|
1127
|
-
const _sfc_main$
|
|
1127
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
1128
1128
|
__name: "DialogDescription",
|
|
1129
1129
|
props: {
|
|
1130
1130
|
asChild: { type: Boolean },
|
|
@@ -1151,7 +1151,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
1151
1151
|
}
|
|
1152
1152
|
});
|
|
1153
1153
|
|
|
1154
|
-
const _sfc_main$
|
|
1154
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
1155
1155
|
__name: "DialogFooter",
|
|
1156
1156
|
props: {
|
|
1157
1157
|
class: {}
|
|
@@ -1169,7 +1169,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
1169
1169
|
}
|
|
1170
1170
|
});
|
|
1171
1171
|
|
|
1172
|
-
const _sfc_main$
|
|
1172
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
1173
1173
|
__name: "DialogHeader",
|
|
1174
1174
|
props: {
|
|
1175
1175
|
class: {}
|
|
@@ -1187,7 +1187,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
1187
1187
|
}
|
|
1188
1188
|
});
|
|
1189
1189
|
|
|
1190
|
-
const _sfc_main$
|
|
1190
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
1191
1191
|
__name: "DialogScrollContent",
|
|
1192
1192
|
props: {
|
|
1193
1193
|
forceMount: { type: Boolean },
|
|
@@ -1247,7 +1247,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1247
1247
|
}
|
|
1248
1248
|
});
|
|
1249
1249
|
|
|
1250
|
-
const _sfc_main$
|
|
1250
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
1251
1251
|
__name: "DialogTitle",
|
|
1252
1252
|
props: {
|
|
1253
1253
|
asChild: { type: Boolean },
|
|
@@ -1274,7 +1274,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1274
1274
|
}
|
|
1275
1275
|
});
|
|
1276
1276
|
|
|
1277
|
-
const _sfc_main$
|
|
1277
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
1278
1278
|
__name: "DialogTrigger",
|
|
1279
1279
|
props: {
|
|
1280
1280
|
asChild: { type: Boolean },
|
|
@@ -1293,7 +1293,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
1295
|
|
|
1296
|
-
const _sfc_main$
|
|
1296
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
1297
1297
|
__name: "DropdownMenu",
|
|
1298
1298
|
props: {
|
|
1299
1299
|
defaultOpen: { type: Boolean },
|
|
@@ -1318,7 +1318,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1318
1318
|
});
|
|
1319
1319
|
|
|
1320
1320
|
const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1321
|
-
const _sfc_main$
|
|
1321
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
1322
1322
|
__name: "DropdownMenuCheckboxItem",
|
|
1323
1323
|
props: {
|
|
1324
1324
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1361,7 +1361,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
1361
1361
|
}
|
|
1362
1362
|
});
|
|
1363
1363
|
|
|
1364
|
-
const _sfc_main$
|
|
1364
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
1365
1365
|
__name: "DropdownMenuContent",
|
|
1366
1366
|
props: {
|
|
1367
1367
|
forceMount: { type: Boolean },
|
|
@@ -1415,7 +1415,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
1415
1415
|
}
|
|
1416
1416
|
});
|
|
1417
1417
|
|
|
1418
|
-
const _sfc_main$
|
|
1418
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
1419
1419
|
__name: "DropdownMenuGroup",
|
|
1420
1420
|
props: {
|
|
1421
1421
|
asChild: { type: Boolean },
|
|
@@ -1434,7 +1434,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1434
1434
|
}
|
|
1435
1435
|
});
|
|
1436
1436
|
|
|
1437
|
-
const _sfc_main$
|
|
1437
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
1438
1438
|
__name: "DropdownMenuItem",
|
|
1439
1439
|
props: {
|
|
1440
1440
|
disabled: { type: Boolean },
|
|
@@ -1469,7 +1469,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
1469
1469
|
}
|
|
1470
1470
|
});
|
|
1471
1471
|
|
|
1472
|
-
const _sfc_main$
|
|
1472
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
1473
1473
|
__name: "DropdownMenuLabel",
|
|
1474
1474
|
props: {
|
|
1475
1475
|
asChild: { type: Boolean },
|
|
@@ -1497,7 +1497,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1497
1497
|
}
|
|
1498
1498
|
});
|
|
1499
1499
|
|
|
1500
|
-
const _sfc_main$
|
|
1500
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
1501
1501
|
__name: "DropdownMenuRadioGroup",
|
|
1502
1502
|
props: {
|
|
1503
1503
|
modelValue: {},
|
|
@@ -1521,7 +1521,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
1521
1521
|
});
|
|
1522
1522
|
|
|
1523
1523
|
const _hoisted_1$7 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1524
|
-
const _sfc_main$
|
|
1524
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
1525
1525
|
__name: "DropdownMenuRadioItem",
|
|
1526
1526
|
props: {
|
|
1527
1527
|
value: {},
|
|
@@ -1564,7 +1564,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
1564
1564
|
}
|
|
1565
1565
|
});
|
|
1566
1566
|
|
|
1567
|
-
const _sfc_main$
|
|
1567
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
1568
1568
|
__name: "DropdownMenuSeparator",
|
|
1569
1569
|
props: {
|
|
1570
1570
|
asChild: { type: Boolean },
|
|
@@ -1585,7 +1585,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
1585
1585
|
}
|
|
1586
1586
|
});
|
|
1587
1587
|
|
|
1588
|
-
const _sfc_main$
|
|
1588
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
1589
1589
|
__name: "DropdownMenuShortcut",
|
|
1590
1590
|
props: {
|
|
1591
1591
|
class: {}
|
|
@@ -1603,7 +1603,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
1603
1603
|
}
|
|
1604
1604
|
});
|
|
1605
1605
|
|
|
1606
|
-
const _sfc_main$
|
|
1606
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
1607
1607
|
__name: "DropdownMenuSub",
|
|
1608
1608
|
props: {
|
|
1609
1609
|
defaultOpen: { type: Boolean },
|
|
@@ -1625,7 +1625,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
1625
1625
|
}
|
|
1626
1626
|
});
|
|
1627
1627
|
|
|
1628
|
-
const _sfc_main$
|
|
1628
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
1629
1629
|
__name: "DropdownMenuSubContent",
|
|
1630
1630
|
props: {
|
|
1631
1631
|
forceMount: { type: Boolean },
|
|
@@ -1672,7 +1672,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1672
1672
|
}
|
|
1673
1673
|
});
|
|
1674
1674
|
|
|
1675
|
-
const _sfc_main$
|
|
1675
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
1676
1676
|
__name: "DropdownMenuSubTrigger",
|
|
1677
1677
|
props: {
|
|
1678
1678
|
disabled: { type: Boolean },
|
|
@@ -1703,7 +1703,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1703
1703
|
}
|
|
1704
1704
|
});
|
|
1705
1705
|
|
|
1706
|
-
const _sfc_main$
|
|
1706
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
1707
1707
|
__name: "DropdownMenuTrigger",
|
|
1708
1708
|
props: {
|
|
1709
1709
|
disabled: { type: Boolean },
|
|
@@ -1724,7 +1724,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
1724
1724
|
}
|
|
1725
1725
|
});
|
|
1726
1726
|
|
|
1727
|
-
const _sfc_main$
|
|
1727
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
1728
1728
|
__name: "Input",
|
|
1729
1729
|
props: {
|
|
1730
1730
|
defaultValue: {},
|
|
@@ -1758,7 +1758,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1758
1758
|
}
|
|
1759
1759
|
});
|
|
1760
1760
|
|
|
1761
|
-
const _sfc_main$
|
|
1761
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
1762
1762
|
__name: "Label",
|
|
1763
1763
|
props: {
|
|
1764
1764
|
for: {},
|
|
@@ -1788,7 +1788,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1788
1788
|
}
|
|
1789
1789
|
});
|
|
1790
1790
|
|
|
1791
|
-
const _sfc_main$
|
|
1791
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
1792
1792
|
__name: "Label",
|
|
1793
1793
|
props: {
|
|
1794
1794
|
class: {}
|
|
@@ -1796,7 +1796,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
1796
1796
|
setup(__props) {
|
|
1797
1797
|
const props = __props;
|
|
1798
1798
|
return (_ctx, _cache) => {
|
|
1799
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1799
|
+
return openBlock(), createBlock(unref(_sfc_main$1o), {
|
|
1800
1800
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", props.class))
|
|
1801
1801
|
}, {
|
|
1802
1802
|
default: withCtx(() => [
|
|
@@ -1808,7 +1808,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
1808
1808
|
}
|
|
1809
1809
|
});
|
|
1810
1810
|
|
|
1811
|
-
const _sfc_main$
|
|
1811
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
1812
1812
|
__name: "NumberField",
|
|
1813
1813
|
props: {
|
|
1814
1814
|
defaultValue: {},
|
|
@@ -1850,7 +1850,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
1850
1850
|
}
|
|
1851
1851
|
});
|
|
1852
1852
|
|
|
1853
|
-
const _sfc_main$
|
|
1853
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
1854
1854
|
__name: "NumberFieldContent",
|
|
1855
1855
|
props: {
|
|
1856
1856
|
class: {}
|
|
@@ -1872,7 +1872,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
1872
1872
|
}
|
|
1873
1873
|
});
|
|
1874
1874
|
|
|
1875
|
-
const _sfc_main$
|
|
1875
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
1876
1876
|
__name: "NumberFieldDecrement",
|
|
1877
1877
|
props: {
|
|
1878
1878
|
disabled: { type: Boolean },
|
|
@@ -1905,7 +1905,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
1905
1905
|
}
|
|
1906
1906
|
});
|
|
1907
1907
|
|
|
1908
|
-
const _sfc_main$
|
|
1908
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
1909
1909
|
__name: "NumberFieldIncrement",
|
|
1910
1910
|
props: {
|
|
1911
1911
|
disabled: { type: Boolean },
|
|
@@ -1938,7 +1938,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
1938
1938
|
}
|
|
1939
1939
|
});
|
|
1940
1940
|
|
|
1941
|
-
const _sfc_main$
|
|
1941
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
1942
1942
|
__name: "NumberFieldInput",
|
|
1943
1943
|
props: {
|
|
1944
1944
|
class: {}
|
|
@@ -1960,7 +1960,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
1960
1960
|
});
|
|
1961
1961
|
|
|
1962
1962
|
const _hoisted_1$6 = { class: "w-full" };
|
|
1963
|
-
const _sfc_main$
|
|
1963
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
1964
1964
|
__name: "InputNumber",
|
|
1965
1965
|
props: {
|
|
1966
1966
|
class: {},
|
|
@@ -1987,7 +1987,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1987
1987
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1988
1988
|
createVNode(unref(DefineTemplate), null, {
|
|
1989
1989
|
default: withCtx(() => [
|
|
1990
|
-
createVNode(unref(_sfc_main$
|
|
1990
|
+
createVNode(unref(_sfc_main$1m), {
|
|
1991
1991
|
modelValue: value.value,
|
|
1992
1992
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
1993
1993
|
"default-value": _ctx.defaultValue,
|
|
@@ -1995,14 +1995,14 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1995
1995
|
min: _ctx.min,
|
|
1996
1996
|
max: _ctx.max,
|
|
1997
1997
|
disabled: _ctx.disabled,
|
|
1998
|
-
class: normalizeClass(props.class)
|
|
1998
|
+
class: normalizeClass(unref(cn)("w-full", props.class))
|
|
1999
1999
|
}, {
|
|
2000
2000
|
default: withCtx(() => [
|
|
2001
|
-
createVNode(unref(_sfc_main$
|
|
2001
|
+
createVNode(unref(_sfc_main$1l), null, {
|
|
2002
2002
|
default: withCtx(() => [
|
|
2003
|
-
createVNode(unref(_sfc_main$
|
|
2004
|
-
createVNode(unref(_sfc_main$
|
|
2005
|
-
createVNode(unref(_sfc_main$
|
|
2003
|
+
createVNode(unref(_sfc_main$1k)),
|
|
2004
|
+
createVNode(unref(_sfc_main$1i)),
|
|
2005
|
+
createVNode(unref(_sfc_main$1j))
|
|
2006
2006
|
]),
|
|
2007
2007
|
_: 1
|
|
2008
2008
|
})
|
|
@@ -2012,7 +2012,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
2012
2012
|
]),
|
|
2013
2013
|
_: 1
|
|
2014
2014
|
}),
|
|
2015
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2015
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1n), {
|
|
2016
2016
|
key: 0,
|
|
2017
2017
|
class: normalizeClass(_ctx.labelClass)
|
|
2018
2018
|
}, {
|
|
@@ -2028,7 +2028,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
2028
2028
|
});
|
|
2029
2029
|
|
|
2030
2030
|
const _hoisted_1$5 = { class: "w-full" };
|
|
2031
|
-
const _sfc_main
|
|
2031
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
2032
2032
|
__name: "InputText",
|
|
2033
2033
|
props: {
|
|
2034
2034
|
class: {},
|
|
@@ -2056,7 +2056,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2056
2056
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2057
2057
|
createVNode(unref(DefineTemplate), null, {
|
|
2058
2058
|
default: withCtx(() => [
|
|
2059
|
-
createVNode(unref(_sfc_main$
|
|
2059
|
+
createVNode(unref(_sfc_main$1p), {
|
|
2060
2060
|
modelValue: value.value,
|
|
2061
2061
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2062
2062
|
modelModifiers: { trim: true },
|
|
@@ -2073,7 +2073,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2073
2073
|
]),
|
|
2074
2074
|
_: 1
|
|
2075
2075
|
}),
|
|
2076
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2076
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1n), {
|
|
2077
2077
|
key: 0,
|
|
2078
2078
|
class: normalizeClass(_ctx.labelClass)
|
|
2079
2079
|
}, {
|
|
@@ -2089,7 +2089,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2089
2089
|
});
|
|
2090
2090
|
|
|
2091
2091
|
const _hoisted_1$4 = { key: 0 };
|
|
2092
|
-
const _sfc_main$
|
|
2092
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
2093
2093
|
__name: "Link",
|
|
2094
2094
|
props: {
|
|
2095
2095
|
label: {},
|
|
@@ -2109,7 +2109,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
2109
2109
|
}
|
|
2110
2110
|
});
|
|
2111
2111
|
|
|
2112
|
-
const _sfc_main$
|
|
2112
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2113
2113
|
__name: "Popover",
|
|
2114
2114
|
props: {
|
|
2115
2115
|
defaultOpen: { type: Boolean },
|
|
@@ -2132,7 +2132,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
2132
2132
|
}
|
|
2133
2133
|
});
|
|
2134
2134
|
|
|
2135
|
-
const _sfc_main$
|
|
2135
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
2136
2136
|
__name: "PopoverAnchor",
|
|
2137
2137
|
props: {
|
|
2138
2138
|
reference: {},
|
|
@@ -2152,7 +2152,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
2152
2152
|
}
|
|
2153
2153
|
});
|
|
2154
2154
|
|
|
2155
|
-
const _sfc_main$
|
|
2155
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
2156
2156
|
...{
|
|
2157
2157
|
inheritAttrs: false
|
|
2158
2158
|
},
|
|
@@ -2209,7 +2209,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
2209
2209
|
}
|
|
2210
2210
|
});
|
|
2211
2211
|
|
|
2212
|
-
const _sfc_main$
|
|
2212
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
2213
2213
|
__name: "PopoverTrigger",
|
|
2214
2214
|
props: {
|
|
2215
2215
|
asChild: { type: Boolean },
|
|
@@ -2228,7 +2228,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
2228
2228
|
}
|
|
2229
2229
|
});
|
|
2230
2230
|
|
|
2231
|
-
const _sfc_main$
|
|
2231
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
2232
2232
|
__name: "Progress",
|
|
2233
2233
|
props: {
|
|
2234
2234
|
modelValue: { default: 0 },
|
|
@@ -2261,7 +2261,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2261
2261
|
}
|
|
2262
2262
|
});
|
|
2263
2263
|
|
|
2264
|
-
const _sfc_main$
|
|
2264
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2265
2265
|
__name: "RadioGroup",
|
|
2266
2266
|
props: {
|
|
2267
2267
|
modelValue: {},
|
|
@@ -2299,7 +2299,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
2299
2299
|
}
|
|
2300
2300
|
});
|
|
2301
2301
|
|
|
2302
|
-
const _sfc_main$
|
|
2302
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
2303
2303
|
__name: "RadioGroupItem",
|
|
2304
2304
|
props: {
|
|
2305
2305
|
id: {},
|
|
@@ -2342,7 +2342,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
2342
2342
|
}
|
|
2343
2343
|
});
|
|
2344
2344
|
|
|
2345
|
-
const _sfc_main$
|
|
2345
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2346
2346
|
__name: "Select",
|
|
2347
2347
|
props: {
|
|
2348
2348
|
open: { type: Boolean },
|
|
@@ -2373,7 +2373,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2373
2373
|
}
|
|
2374
2374
|
});
|
|
2375
2375
|
|
|
2376
|
-
const _sfc_main$
|
|
2376
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
2377
2377
|
...{
|
|
2378
2378
|
inheritAttrs: false
|
|
2379
2379
|
},
|
|
@@ -2421,7 +2421,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2421
2421
|
)
|
|
2422
2422
|
}), {
|
|
2423
2423
|
default: withCtx(() => [
|
|
2424
|
-
createVNode(unref(_sfc_main$
|
|
2424
|
+
createVNode(unref(_sfc_main$10)),
|
|
2425
2425
|
createVNode(unref(SelectViewport), {
|
|
2426
2426
|
class: normalizeClass(
|
|
2427
2427
|
unref(cn)(
|
|
@@ -2435,7 +2435,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2435
2435
|
]),
|
|
2436
2436
|
_: 3
|
|
2437
2437
|
}, 8, ["class"]),
|
|
2438
|
-
createVNode(unref(_sfc_main$
|
|
2438
|
+
createVNode(unref(_sfc_main$11))
|
|
2439
2439
|
]),
|
|
2440
2440
|
_: 3
|
|
2441
2441
|
}, 16, ["class"])
|
|
@@ -2446,7 +2446,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2446
2446
|
}
|
|
2447
2447
|
});
|
|
2448
2448
|
|
|
2449
|
-
const _sfc_main$
|
|
2449
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
2450
2450
|
__name: "SelectGroup",
|
|
2451
2451
|
props: {
|
|
2452
2452
|
asChild: { type: Boolean },
|
|
@@ -2466,7 +2466,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2466
2466
|
});
|
|
2467
2467
|
|
|
2468
2468
|
const _hoisted_1$3 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
2469
|
-
const _sfc_main$
|
|
2469
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
2470
2470
|
__name: "SelectItem",
|
|
2471
2471
|
props: {
|
|
2472
2472
|
value: {},
|
|
@@ -2512,7 +2512,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2512
2512
|
}
|
|
2513
2513
|
});
|
|
2514
2514
|
|
|
2515
|
-
const _sfc_main$
|
|
2515
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
2516
2516
|
__name: "SelectItemText",
|
|
2517
2517
|
props: {
|
|
2518
2518
|
asChild: { type: Boolean },
|
|
@@ -2531,7 +2531,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2531
2531
|
}
|
|
2532
2532
|
});
|
|
2533
2533
|
|
|
2534
|
-
const _sfc_main$
|
|
2534
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
2535
2535
|
__name: "SelectLabel",
|
|
2536
2536
|
props: {
|
|
2537
2537
|
for: {},
|
|
@@ -2555,7 +2555,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2555
2555
|
}
|
|
2556
2556
|
});
|
|
2557
2557
|
|
|
2558
|
-
const _sfc_main$
|
|
2558
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
2559
2559
|
__name: "SelectScrollDownButton",
|
|
2560
2560
|
props: {
|
|
2561
2561
|
asChild: { type: Boolean },
|
|
@@ -2584,7 +2584,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2584
2584
|
}
|
|
2585
2585
|
});
|
|
2586
2586
|
|
|
2587
|
-
const _sfc_main$
|
|
2587
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
2588
2588
|
__name: "SelectScrollUpButton",
|
|
2589
2589
|
props: {
|
|
2590
2590
|
asChild: { type: Boolean },
|
|
@@ -2613,7 +2613,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
2613
2613
|
}
|
|
2614
2614
|
});
|
|
2615
2615
|
|
|
2616
|
-
const _sfc_main
|
|
2616
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
2617
2617
|
__name: "SelectSeparator",
|
|
2618
2618
|
props: {
|
|
2619
2619
|
asChild: { type: Boolean },
|
|
@@ -2634,7 +2634,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
2634
2634
|
}
|
|
2635
2635
|
});
|
|
2636
2636
|
|
|
2637
|
-
const _sfc_main$
|
|
2637
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
2638
2638
|
__name: "SelectTrigger",
|
|
2639
2639
|
props: {
|
|
2640
2640
|
disabled: { type: Boolean },
|
|
@@ -2673,7 +2673,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
2673
2673
|
}
|
|
2674
2674
|
});
|
|
2675
2675
|
|
|
2676
|
-
const _sfc_main$
|
|
2676
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
2677
2677
|
__name: "SelectValue",
|
|
2678
2678
|
props: {
|
|
2679
2679
|
placeholder: {},
|
|
@@ -2693,7 +2693,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
2693
2693
|
}
|
|
2694
2694
|
});
|
|
2695
2695
|
|
|
2696
|
-
const _sfc_main$
|
|
2696
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
2697
2697
|
__name: "Separator",
|
|
2698
2698
|
props: {
|
|
2699
2699
|
orientation: { default: "horizontal" },
|
|
@@ -2716,7 +2716,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
2716
2716
|
}
|
|
2717
2717
|
});
|
|
2718
2718
|
|
|
2719
|
-
const _sfc_main$
|
|
2719
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
2720
2720
|
__name: "Sheet",
|
|
2721
2721
|
props: {
|
|
2722
2722
|
open: { type: Boolean },
|
|
@@ -2739,7 +2739,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
2739
2739
|
}
|
|
2740
2740
|
});
|
|
2741
2741
|
|
|
2742
|
-
const _sfc_main$
|
|
2742
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
2743
2743
|
__name: "SheetClose",
|
|
2744
2744
|
props: {
|
|
2745
2745
|
asChild: { type: Boolean },
|
|
@@ -2758,7 +2758,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2758
2758
|
}
|
|
2759
2759
|
});
|
|
2760
2760
|
|
|
2761
|
-
const _sfc_main$
|
|
2761
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
2762
2762
|
__name: "SheetOverlay",
|
|
2763
2763
|
props: {
|
|
2764
2764
|
forceMount: { type: Boolean },
|
|
@@ -2789,7 +2789,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
2789
2789
|
}
|
|
2790
2790
|
});
|
|
2791
2791
|
|
|
2792
|
-
const _sfc_main$
|
|
2792
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
2793
2793
|
...{
|
|
2794
2794
|
inheritAttrs: false
|
|
2795
2795
|
},
|
|
@@ -2812,7 +2812,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2812
2812
|
return (_ctx, _cache) => {
|
|
2813
2813
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
2814
2814
|
default: withCtx(() => [
|
|
2815
|
-
createVNode(_sfc_main$
|
|
2815
|
+
createVNode(_sfc_main$V),
|
|
2816
2816
|
createVNode(unref(DialogContent), mergeProps({
|
|
2817
2817
|
"data-slot": "sheet-content",
|
|
2818
2818
|
class: unref(cn)(
|
|
@@ -2843,7 +2843,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2843
2843
|
}
|
|
2844
2844
|
});
|
|
2845
2845
|
|
|
2846
|
-
const _sfc_main$
|
|
2846
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
2847
2847
|
__name: "SheetDescription",
|
|
2848
2848
|
props: {
|
|
2849
2849
|
asChild: { type: Boolean },
|
|
@@ -2870,7 +2870,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2870
2870
|
}
|
|
2871
2871
|
});
|
|
2872
2872
|
|
|
2873
|
-
const _sfc_main$
|
|
2873
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2874
2874
|
__name: "SheetFooter",
|
|
2875
2875
|
props: {
|
|
2876
2876
|
class: {}
|
|
@@ -2888,7 +2888,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2888
2888
|
}
|
|
2889
2889
|
});
|
|
2890
2890
|
|
|
2891
|
-
const _sfc_main$
|
|
2891
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
2892
2892
|
__name: "SheetHeader",
|
|
2893
2893
|
props: {
|
|
2894
2894
|
class: {}
|
|
@@ -2906,7 +2906,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2906
2906
|
}
|
|
2907
2907
|
});
|
|
2908
2908
|
|
|
2909
|
-
const _sfc_main$
|
|
2909
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
2910
2910
|
__name: "SheetTitle",
|
|
2911
2911
|
props: {
|
|
2912
2912
|
asChild: { type: Boolean },
|
|
@@ -2933,7 +2933,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2933
2933
|
}
|
|
2934
2934
|
});
|
|
2935
2935
|
|
|
2936
|
-
const _sfc_main$
|
|
2936
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2937
2937
|
__name: "SheetTrigger",
|
|
2938
2938
|
props: {
|
|
2939
2939
|
asChild: { type: Boolean },
|
|
@@ -2966,7 +2966,7 @@ const _hoisted_3 = {
|
|
|
2966
2966
|
"data-sidebar": "sidebar",
|
|
2967
2967
|
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"
|
|
2968
2968
|
};
|
|
2969
|
-
const _sfc_main$
|
|
2969
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
2970
2970
|
...{
|
|
2971
2971
|
inheritAttrs: false
|
|
2972
2972
|
},
|
|
@@ -2987,12 +2987,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2987
2987
|
class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
2988
2988
|
}, _ctx.$attrs), [
|
|
2989
2989
|
renderSlot(_ctx.$slots, "default")
|
|
2990
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2990
|
+
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$X), mergeProps({
|
|
2991
2991
|
key: 1,
|
|
2992
2992
|
open: unref(openMobile)
|
|
2993
2993
|
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
2994
2994
|
default: withCtx(() => [
|
|
2995
|
-
createVNode(unref(_sfc_main$
|
|
2995
|
+
createVNode(unref(_sfc_main$U), {
|
|
2996
2996
|
"data-sidebar": "sidebar",
|
|
2997
2997
|
"data-slot": "sidebar",
|
|
2998
2998
|
"data-mobile": "true",
|
|
@@ -3003,15 +3003,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
3003
3003
|
})
|
|
3004
3004
|
}, {
|
|
3005
3005
|
default: withCtx(() => [
|
|
3006
|
-
createVNode(_sfc_main$
|
|
3006
|
+
createVNode(_sfc_main$R, { class: "sr-only" }, {
|
|
3007
3007
|
default: withCtx(() => [
|
|
3008
|
-
createVNode(_sfc_main$
|
|
3008
|
+
createVNode(_sfc_main$Q, null, {
|
|
3009
3009
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
3010
3010
|
createTextVNode("Sidebar")
|
|
3011
3011
|
])),
|
|
3012
3012
|
_: 1
|
|
3013
3013
|
}),
|
|
3014
|
-
createVNode(_sfc_main$
|
|
3014
|
+
createVNode(_sfc_main$T, null, {
|
|
3015
3015
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
3016
3016
|
createTextVNode("Displays the mobile sidebar.")
|
|
3017
3017
|
])),
|
|
@@ -3065,7 +3065,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
3065
3065
|
}
|
|
3066
3066
|
});
|
|
3067
3067
|
|
|
3068
|
-
const _sfc_main$
|
|
3068
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
3069
3069
|
__name: "SidebarContent",
|
|
3070
3070
|
props: {
|
|
3071
3071
|
class: {}
|
|
@@ -3089,7 +3089,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
3089
3089
|
}
|
|
3090
3090
|
});
|
|
3091
3091
|
|
|
3092
|
-
const _sfc_main$
|
|
3092
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3093
3093
|
__name: "SidebarFooter",
|
|
3094
3094
|
props: {
|
|
3095
3095
|
class: {}
|
|
@@ -3108,8 +3108,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3108
3108
|
}
|
|
3109
3109
|
});
|
|
3110
3110
|
|
|
3111
|
-
const _sfc_main$
|
|
3112
|
-
__name: "
|
|
3111
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3112
|
+
__name: "SidebarGroup",
|
|
3113
3113
|
props: {
|
|
3114
3114
|
class: {}
|
|
3115
3115
|
},
|
|
@@ -3117,9 +3117,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3117
3117
|
const props = __props;
|
|
3118
3118
|
return (_ctx, _cache) => {
|
|
3119
3119
|
return openBlock(), createElementBlock("div", {
|
|
3120
|
-
"data-slot": "sidebar-
|
|
3121
|
-
"data-sidebar": "
|
|
3122
|
-
class: normalizeClass(unref(cn)("flex flex-col
|
|
3120
|
+
"data-slot": "sidebar-group",
|
|
3121
|
+
"data-sidebar": "group",
|
|
3122
|
+
class: normalizeClass(unref(cn)("relative flex w-full min-w-0 flex-col p-2", props.class))
|
|
3123
3123
|
}, [
|
|
3124
3124
|
renderSlot(_ctx.$slots, "default")
|
|
3125
3125
|
], 2);
|
|
@@ -3127,23 +3127,51 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3127
3127
|
}
|
|
3128
3128
|
});
|
|
3129
3129
|
|
|
3130
|
-
const _sfc_main$
|
|
3131
|
-
__name: "
|
|
3130
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
3131
|
+
__name: "SidebarGroupAction",
|
|
3132
3132
|
props: {
|
|
3133
|
+
asChild: { type: Boolean },
|
|
3134
|
+
as: {},
|
|
3133
3135
|
class: {}
|
|
3134
3136
|
},
|
|
3135
3137
|
setup(__props) {
|
|
3136
3138
|
const props = __props;
|
|
3137
3139
|
return (_ctx, _cache) => {
|
|
3138
|
-
return openBlock(),
|
|
3139
|
-
"data-slot": "sidebar-
|
|
3140
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
3141
|
+
"data-slot": "sidebar-group-action",
|
|
3142
|
+
"data-sidebar": "group-action",
|
|
3143
|
+
as: _ctx.as,
|
|
3144
|
+
"as-child": _ctx.asChild,
|
|
3140
3145
|
class: normalizeClass(
|
|
3141
3146
|
unref(cn)(
|
|
3142
|
-
"bg-
|
|
3143
|
-
"
|
|
3147
|
+
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3148
|
+
"after:absolute after:-inset-2 md:after:hidden",
|
|
3149
|
+
"group-data-[collapsible=icon]:hidden",
|
|
3144
3150
|
props.class
|
|
3145
3151
|
)
|
|
3146
3152
|
)
|
|
3153
|
+
}, {
|
|
3154
|
+
default: withCtx(() => [
|
|
3155
|
+
renderSlot(_ctx.$slots, "default")
|
|
3156
|
+
]),
|
|
3157
|
+
_: 3
|
|
3158
|
+
}, 8, ["as", "as-child", "class"]);
|
|
3159
|
+
};
|
|
3160
|
+
}
|
|
3161
|
+
});
|
|
3162
|
+
|
|
3163
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
3164
|
+
__name: "SidebarGroupContent",
|
|
3165
|
+
props: {
|
|
3166
|
+
class: {}
|
|
3167
|
+
},
|
|
3168
|
+
setup(__props) {
|
|
3169
|
+
const props = __props;
|
|
3170
|
+
return (_ctx, _cache) => {
|
|
3171
|
+
return openBlock(), createElementBlock("div", {
|
|
3172
|
+
"data-slot": "sidebar-group-content",
|
|
3173
|
+
"data-sidebar": "group-content",
|
|
3174
|
+
class: normalizeClass(unref(cn)("w-full text-sm", props.class))
|
|
3147
3175
|
}, [
|
|
3148
3176
|
renderSlot(_ctx.$slots, "default")
|
|
3149
3177
|
], 2);
|
|
@@ -3151,53 +3179,214 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3151
3179
|
}
|
|
3152
3180
|
});
|
|
3153
3181
|
|
|
3154
|
-
const _sfc_main$
|
|
3155
|
-
__name: "
|
|
3182
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
3183
|
+
__name: "SidebarGroupLabel",
|
|
3156
3184
|
props: {
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
disableHoverableContent: { type: Boolean },
|
|
3161
|
-
disableClosingTrigger: { type: Boolean },
|
|
3162
|
-
disabled: { type: Boolean },
|
|
3163
|
-
ignoreNonKeyboardFocus: { type: Boolean }
|
|
3185
|
+
asChild: { type: Boolean },
|
|
3186
|
+
as: {},
|
|
3187
|
+
class: {}
|
|
3164
3188
|
},
|
|
3165
|
-
|
|
3166
|
-
setup(__props, { emit: __emit }) {
|
|
3189
|
+
setup(__props) {
|
|
3167
3190
|
const props = __props;
|
|
3168
|
-
const emits = __emit;
|
|
3169
|
-
const forwarded = useForwardPropsEmits(props, emits);
|
|
3170
3191
|
return (_ctx, _cache) => {
|
|
3171
|
-
return openBlock(), createBlock(unref(
|
|
3192
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
3193
|
+
"data-slot": "sidebar-group-label",
|
|
3194
|
+
"data-sidebar": "group-label",
|
|
3195
|
+
as: _ctx.as,
|
|
3196
|
+
"as-child": _ctx.asChild,
|
|
3197
|
+
class: normalizeClass(
|
|
3198
|
+
unref(cn)(
|
|
3199
|
+
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3200
|
+
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
3201
|
+
props.class
|
|
3202
|
+
)
|
|
3203
|
+
)
|
|
3204
|
+
}, {
|
|
3172
3205
|
default: withCtx(() => [
|
|
3173
3206
|
renderSlot(_ctx.$slots, "default")
|
|
3174
3207
|
]),
|
|
3175
3208
|
_: 3
|
|
3176
|
-
},
|
|
3209
|
+
}, 8, ["as", "as-child", "class"]);
|
|
3177
3210
|
};
|
|
3178
3211
|
}
|
|
3179
3212
|
});
|
|
3180
3213
|
|
|
3181
|
-
const _sfc_main$
|
|
3182
|
-
|
|
3183
|
-
inheritAttrs: false
|
|
3184
|
-
},
|
|
3185
|
-
__name: "TooltipContent",
|
|
3214
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
3215
|
+
__name: "SidebarHeader",
|
|
3186
3216
|
props: {
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3217
|
+
class: {}
|
|
3218
|
+
},
|
|
3219
|
+
setup(__props) {
|
|
3220
|
+
const props = __props;
|
|
3221
|
+
return (_ctx, _cache) => {
|
|
3222
|
+
return openBlock(), createElementBlock("div", {
|
|
3223
|
+
"data-slot": "sidebar-header",
|
|
3224
|
+
"data-sidebar": "header",
|
|
3225
|
+
class: normalizeClass(unref(cn)("flex flex-col gap-2 p-2", props.class))
|
|
3226
|
+
}, [
|
|
3227
|
+
renderSlot(_ctx.$slots, "default")
|
|
3228
|
+
], 2);
|
|
3229
|
+
};
|
|
3230
|
+
}
|
|
3231
|
+
});
|
|
3232
|
+
|
|
3233
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
3234
|
+
__name: "SidebarInset",
|
|
3235
|
+
props: {
|
|
3236
|
+
class: {}
|
|
3237
|
+
},
|
|
3238
|
+
setup(__props) {
|
|
3239
|
+
const props = __props;
|
|
3240
|
+
return (_ctx, _cache) => {
|
|
3241
|
+
return openBlock(), createElementBlock("main", {
|
|
3242
|
+
"data-slot": "sidebar-inset",
|
|
3243
|
+
class: normalizeClass(
|
|
3244
|
+
unref(cn)(
|
|
3245
|
+
"bg-background relative flex w-full flex-1 flex-col",
|
|
3246
|
+
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
3247
|
+
props.class
|
|
3248
|
+
)
|
|
3249
|
+
)
|
|
3250
|
+
}, [
|
|
3251
|
+
renderSlot(_ctx.$slots, "default")
|
|
3252
|
+
], 2);
|
|
3253
|
+
};
|
|
3254
|
+
}
|
|
3255
|
+
});
|
|
3256
|
+
|
|
3257
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
3258
|
+
__name: "SidebarMenu",
|
|
3259
|
+
props: {
|
|
3260
|
+
class: {}
|
|
3261
|
+
},
|
|
3262
|
+
setup(__props) {
|
|
3263
|
+
const props = __props;
|
|
3264
|
+
return (_ctx, _cache) => {
|
|
3265
|
+
return openBlock(), createElementBlock("ul", {
|
|
3266
|
+
"data-slot": "sidebar-menu",
|
|
3267
|
+
"data-sidebar": "menu",
|
|
3268
|
+
class: normalizeClass(unref(cn)("flex w-full min-w-0 flex-col gap-1", props.class))
|
|
3269
|
+
}, [
|
|
3270
|
+
renderSlot(_ctx.$slots, "default")
|
|
3271
|
+
], 2);
|
|
3272
|
+
};
|
|
3273
|
+
}
|
|
3274
|
+
});
|
|
3275
|
+
|
|
3276
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
3277
|
+
__name: "SidebarMenuAction",
|
|
3278
|
+
props: {
|
|
3279
|
+
asChild: { type: Boolean },
|
|
3280
|
+
as: { default: "button" },
|
|
3281
|
+
showOnHover: { type: Boolean },
|
|
3282
|
+
class: {}
|
|
3283
|
+
},
|
|
3284
|
+
setup(__props) {
|
|
3285
|
+
const props = __props;
|
|
3286
|
+
return (_ctx, _cache) => {
|
|
3287
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
3288
|
+
"data-slot": "sidebar-menu-action",
|
|
3289
|
+
"data-sidebar": "menu-action",
|
|
3290
|
+
class: normalizeClass(
|
|
3291
|
+
unref(cn)(
|
|
3292
|
+
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3293
|
+
"after:absolute after:-inset-2 md:after:hidden",
|
|
3294
|
+
"peer-data-[size=sm]/menu-button:top-1",
|
|
3295
|
+
"peer-data-[size=default]/menu-button:top-1.5",
|
|
3296
|
+
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
3297
|
+
"group-data-[collapsible=icon]:hidden",
|
|
3298
|
+
_ctx.showOnHover && "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
|
|
3299
|
+
props.class
|
|
3300
|
+
)
|
|
3301
|
+
),
|
|
3302
|
+
as: _ctx.as,
|
|
3303
|
+
"as-child": _ctx.asChild
|
|
3304
|
+
}, {
|
|
3305
|
+
default: withCtx(() => [
|
|
3306
|
+
renderSlot(_ctx.$slots, "default")
|
|
3307
|
+
]),
|
|
3308
|
+
_: 3
|
|
3309
|
+
}, 8, ["class", "as", "as-child"]);
|
|
3310
|
+
};
|
|
3311
|
+
}
|
|
3312
|
+
});
|
|
3313
|
+
|
|
3314
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
3315
|
+
__name: "SidebarMenuBadge",
|
|
3316
|
+
props: {
|
|
3317
|
+
class: {}
|
|
3318
|
+
},
|
|
3319
|
+
setup(__props) {
|
|
3320
|
+
const props = __props;
|
|
3321
|
+
return (_ctx, _cache) => {
|
|
3322
|
+
return openBlock(), createElementBlock("div", {
|
|
3323
|
+
"data-slot": "sidebar-menu-badge",
|
|
3324
|
+
"data-sidebar": "menu-badge",
|
|
3325
|
+
class: normalizeClass(
|
|
3326
|
+
unref(cn)(
|
|
3327
|
+
"text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none",
|
|
3328
|
+
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
3329
|
+
"peer-data-[size=sm]/menu-button:top-1",
|
|
3330
|
+
"peer-data-[size=default]/menu-button:top-1.5",
|
|
3331
|
+
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
3332
|
+
"group-data-[collapsible=icon]:hidden",
|
|
3333
|
+
props.class
|
|
3334
|
+
)
|
|
3335
|
+
)
|
|
3336
|
+
}, [
|
|
3337
|
+
renderSlot(_ctx.$slots, "default")
|
|
3338
|
+
], 2);
|
|
3339
|
+
};
|
|
3340
|
+
}
|
|
3341
|
+
});
|
|
3342
|
+
|
|
3343
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
3344
|
+
__name: "Tooltip",
|
|
3345
|
+
props: {
|
|
3346
|
+
defaultOpen: { type: Boolean },
|
|
3347
|
+
open: { type: Boolean },
|
|
3348
|
+
delayDuration: {},
|
|
3349
|
+
disableHoverableContent: { type: Boolean },
|
|
3350
|
+
disableClosingTrigger: { type: Boolean },
|
|
3351
|
+
disabled: { type: Boolean },
|
|
3352
|
+
ignoreNonKeyboardFocus: { type: Boolean }
|
|
3353
|
+
},
|
|
3354
|
+
emits: ["update:open"],
|
|
3355
|
+
setup(__props, { emit: __emit }) {
|
|
3356
|
+
const props = __props;
|
|
3357
|
+
const emits = __emit;
|
|
3358
|
+
const forwarded = useForwardPropsEmits(props, emits);
|
|
3359
|
+
return (_ctx, _cache) => {
|
|
3360
|
+
return openBlock(), createBlock(unref(TooltipRoot), mergeProps({ "data-slot": "tooltip" }, unref(forwarded)), {
|
|
3361
|
+
default: withCtx(() => [
|
|
3362
|
+
renderSlot(_ctx.$slots, "default")
|
|
3363
|
+
]),
|
|
3364
|
+
_: 3
|
|
3365
|
+
}, 16);
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
});
|
|
3369
|
+
|
|
3370
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
3371
|
+
...{
|
|
3372
|
+
inheritAttrs: false
|
|
3373
|
+
},
|
|
3374
|
+
__name: "TooltipContent",
|
|
3375
|
+
props: {
|
|
3376
|
+
forceMount: { type: Boolean },
|
|
3377
|
+
ariaLabel: {},
|
|
3378
|
+
asChild: { type: Boolean },
|
|
3379
|
+
as: {},
|
|
3380
|
+
side: {},
|
|
3381
|
+
sideOffset: { default: 4 },
|
|
3382
|
+
align: {},
|
|
3383
|
+
alignOffset: {},
|
|
3384
|
+
avoidCollisions: { type: Boolean },
|
|
3385
|
+
collisionBoundary: {},
|
|
3386
|
+
collisionPadding: {},
|
|
3387
|
+
arrowPadding: {},
|
|
3388
|
+
sticky: {},
|
|
3389
|
+
hideWhenDetached: { type: Boolean },
|
|
3201
3390
|
positionStrategy: {},
|
|
3202
3391
|
updatePositionStrategy: {},
|
|
3203
3392
|
class: {}
|
|
@@ -3230,7 +3419,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3230
3419
|
}
|
|
3231
3420
|
});
|
|
3232
3421
|
|
|
3233
|
-
const _sfc_main$
|
|
3422
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
3234
3423
|
__name: "TooltipProvider",
|
|
3235
3424
|
props: {
|
|
3236
3425
|
delayDuration: { default: 0 },
|
|
@@ -3253,7 +3442,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
3253
3442
|
}
|
|
3254
3443
|
});
|
|
3255
3444
|
|
|
3256
|
-
const _sfc_main$
|
|
3445
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
3257
3446
|
__name: "TooltipTrigger",
|
|
3258
3447
|
props: {
|
|
3259
3448
|
reference: {},
|
|
@@ -3273,7 +3462,116 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
3273
3462
|
}
|
|
3274
3463
|
});
|
|
3275
3464
|
|
|
3276
|
-
const _sfc_main$
|
|
3465
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
3466
|
+
__name: "SidebarMenuButtonChild",
|
|
3467
|
+
props: {
|
|
3468
|
+
variant: { default: "default" },
|
|
3469
|
+
size: { default: "default" },
|
|
3470
|
+
isActive: { type: Boolean },
|
|
3471
|
+
class: {},
|
|
3472
|
+
asChild: { type: Boolean },
|
|
3473
|
+
as: { default: "button" }
|
|
3474
|
+
},
|
|
3475
|
+
setup(__props) {
|
|
3476
|
+
const props = __props;
|
|
3477
|
+
return (_ctx, _cache) => {
|
|
3478
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
3479
|
+
"data-slot": "sidebar-menu-button",
|
|
3480
|
+
"data-sidebar": "menu-button",
|
|
3481
|
+
"data-size": _ctx.size,
|
|
3482
|
+
"data-active": _ctx.isActive,
|
|
3483
|
+
class: unref(cn)(unref(sidebarMenuButtonVariants)({ variant: _ctx.variant, size: _ctx.size }), props.class),
|
|
3484
|
+
as: _ctx.as,
|
|
3485
|
+
"as-child": _ctx.asChild
|
|
3486
|
+
}, _ctx.$attrs), {
|
|
3487
|
+
default: withCtx(() => [
|
|
3488
|
+
renderSlot(_ctx.$slots, "default")
|
|
3489
|
+
]),
|
|
3490
|
+
_: 3
|
|
3491
|
+
}, 16, ["data-size", "data-active", "class", "as", "as-child"]);
|
|
3492
|
+
};
|
|
3493
|
+
}
|
|
3494
|
+
});
|
|
3495
|
+
|
|
3496
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
3497
|
+
...{
|
|
3498
|
+
inheritAttrs: false
|
|
3499
|
+
},
|
|
3500
|
+
__name: "SidebarMenuButton",
|
|
3501
|
+
props: {
|
|
3502
|
+
variant: { default: "default" },
|
|
3503
|
+
size: { default: "default" },
|
|
3504
|
+
isActive: { type: Boolean },
|
|
3505
|
+
class: {},
|
|
3506
|
+
asChild: { type: Boolean },
|
|
3507
|
+
as: { default: "button" },
|
|
3508
|
+
tooltip: {}
|
|
3509
|
+
},
|
|
3510
|
+
setup(__props) {
|
|
3511
|
+
const props = __props;
|
|
3512
|
+
const { isMobile, state } = useSidebar();
|
|
3513
|
+
const delegatedProps = computed(() => {
|
|
3514
|
+
const { tooltip, ...delegated } = props;
|
|
3515
|
+
return delegated;
|
|
3516
|
+
});
|
|
3517
|
+
return (_ctx, _cache) => {
|
|
3518
|
+
return !_ctx.tooltip ? (openBlock(), createBlock(_sfc_main$y, normalizeProps(mergeProps({ key: 0 }, { ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
3519
|
+
default: withCtx(() => [
|
|
3520
|
+
renderSlot(_ctx.$slots, "default")
|
|
3521
|
+
]),
|
|
3522
|
+
_: 3
|
|
3523
|
+
}, 16)) : (openBlock(), createBlock(unref(_sfc_main$C), { key: 1 }, {
|
|
3524
|
+
default: withCtx(() => [
|
|
3525
|
+
createVNode(unref(_sfc_main$z), { "as-child": "" }, {
|
|
3526
|
+
default: withCtx(() => [
|
|
3527
|
+
createVNode(_sfc_main$y, normalizeProps(guardReactiveProps({ ...delegatedProps.value, ..._ctx.$attrs })), {
|
|
3528
|
+
default: withCtx(() => [
|
|
3529
|
+
renderSlot(_ctx.$slots, "default")
|
|
3530
|
+
]),
|
|
3531
|
+
_: 3
|
|
3532
|
+
}, 16)
|
|
3533
|
+
]),
|
|
3534
|
+
_: 3
|
|
3535
|
+
}),
|
|
3536
|
+
createVNode(unref(_sfc_main$B), {
|
|
3537
|
+
side: "right",
|
|
3538
|
+
align: "center",
|
|
3539
|
+
hidden: unref(state) !== "collapsed" || unref(isMobile)
|
|
3540
|
+
}, {
|
|
3541
|
+
default: withCtx(() => [
|
|
3542
|
+
typeof _ctx.tooltip === "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3543
|
+
createTextVNode(toDisplayString(_ctx.tooltip), 1)
|
|
3544
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.tooltip), { key: 1 }))
|
|
3545
|
+
]),
|
|
3546
|
+
_: 1
|
|
3547
|
+
}, 8, ["hidden"])
|
|
3548
|
+
]),
|
|
3549
|
+
_: 3
|
|
3550
|
+
}));
|
|
3551
|
+
};
|
|
3552
|
+
}
|
|
3553
|
+
});
|
|
3554
|
+
|
|
3555
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
3556
|
+
__name: "SidebarMenuItem",
|
|
3557
|
+
props: {
|
|
3558
|
+
class: {}
|
|
3559
|
+
},
|
|
3560
|
+
setup(__props) {
|
|
3561
|
+
const props = __props;
|
|
3562
|
+
return (_ctx, _cache) => {
|
|
3563
|
+
return openBlock(), createElementBlock("li", {
|
|
3564
|
+
"data-slot": "sidebar-menu-item",
|
|
3565
|
+
"data-sidebar": "menu-item",
|
|
3566
|
+
class: normalizeClass(unref(cn)("group/menu-item relative", props.class))
|
|
3567
|
+
}, [
|
|
3568
|
+
renderSlot(_ctx.$slots, "default")
|
|
3569
|
+
], 2);
|
|
3570
|
+
};
|
|
3571
|
+
}
|
|
3572
|
+
});
|
|
3573
|
+
|
|
3574
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
3277
3575
|
__name: "Skeleton",
|
|
3278
3576
|
props: {
|
|
3279
3577
|
class: {}
|
|
@@ -3289,7 +3587,122 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
3289
3587
|
}
|
|
3290
3588
|
});
|
|
3291
3589
|
|
|
3292
|
-
const _sfc_main$
|
|
3590
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
3591
|
+
__name: "SidebarMenuSkeleton",
|
|
3592
|
+
props: {
|
|
3593
|
+
showIcon: { type: Boolean },
|
|
3594
|
+
class: {}
|
|
3595
|
+
},
|
|
3596
|
+
setup(__props) {
|
|
3597
|
+
const props = __props;
|
|
3598
|
+
const width = computed(() => {
|
|
3599
|
+
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
3600
|
+
});
|
|
3601
|
+
return (_ctx, _cache) => {
|
|
3602
|
+
return openBlock(), createElementBlock("div", {
|
|
3603
|
+
"data-slot": "sidebar-menu-skeleton",
|
|
3604
|
+
"data-sidebar": "menu-skeleton",
|
|
3605
|
+
class: normalizeClass(unref(cn)("flex h-8 items-center gap-2 rounded-md px-2", props.class))
|
|
3606
|
+
}, [
|
|
3607
|
+
_ctx.showIcon ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
3608
|
+
key: 0,
|
|
3609
|
+
class: "size-4 rounded-md",
|
|
3610
|
+
"data-sidebar": "menu-skeleton-icon"
|
|
3611
|
+
})) : createCommentVNode("", true),
|
|
3612
|
+
createVNode(unref(_sfc_main$v), {
|
|
3613
|
+
class: "h-4 max-w-(--skeleton-width) flex-1",
|
|
3614
|
+
"data-sidebar": "menu-skeleton-text",
|
|
3615
|
+
style: normalizeStyle({ "--skeleton-width": width.value })
|
|
3616
|
+
}, null, 8, ["style"])
|
|
3617
|
+
], 2);
|
|
3618
|
+
};
|
|
3619
|
+
}
|
|
3620
|
+
});
|
|
3621
|
+
|
|
3622
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
3623
|
+
__name: "SidebarMenuSub",
|
|
3624
|
+
props: {
|
|
3625
|
+
class: {}
|
|
3626
|
+
},
|
|
3627
|
+
setup(__props) {
|
|
3628
|
+
const props = __props;
|
|
3629
|
+
return (_ctx, _cache) => {
|
|
3630
|
+
return openBlock(), createElementBlock("ul", {
|
|
3631
|
+
"data-slot": "sidebar-menu-sub",
|
|
3632
|
+
"data-sidebar": "menu-badge",
|
|
3633
|
+
class: normalizeClass(
|
|
3634
|
+
unref(cn)(
|
|
3635
|
+
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
|
|
3636
|
+
"group-data-[collapsible=icon]:hidden",
|
|
3637
|
+
props.class
|
|
3638
|
+
)
|
|
3639
|
+
)
|
|
3640
|
+
}, [
|
|
3641
|
+
renderSlot(_ctx.$slots, "default")
|
|
3642
|
+
], 2);
|
|
3643
|
+
};
|
|
3644
|
+
}
|
|
3645
|
+
});
|
|
3646
|
+
|
|
3647
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
3648
|
+
__name: "SidebarMenuSubButton",
|
|
3649
|
+
props: {
|
|
3650
|
+
asChild: { type: Boolean },
|
|
3651
|
+
as: { default: "a" },
|
|
3652
|
+
size: { default: "md" },
|
|
3653
|
+
isActive: { type: Boolean },
|
|
3654
|
+
class: {}
|
|
3655
|
+
},
|
|
3656
|
+
setup(__props) {
|
|
3657
|
+
const props = __props;
|
|
3658
|
+
return (_ctx, _cache) => {
|
|
3659
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
3660
|
+
"data-slot": "sidebar-menu-sub-button",
|
|
3661
|
+
"data-sidebar": "menu-sub-button",
|
|
3662
|
+
as: _ctx.as,
|
|
3663
|
+
"as-child": _ctx.asChild,
|
|
3664
|
+
"data-size": _ctx.size,
|
|
3665
|
+
"data-active": _ctx.isActive,
|
|
3666
|
+
class: normalizeClass(
|
|
3667
|
+
unref(cn)(
|
|
3668
|
+
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3669
|
+
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
3670
|
+
_ctx.size === "sm" && "text-xs",
|
|
3671
|
+
_ctx.size === "md" && "text-sm",
|
|
3672
|
+
"group-data-[collapsible=icon]:hidden",
|
|
3673
|
+
props.class
|
|
3674
|
+
)
|
|
3675
|
+
)
|
|
3676
|
+
}, {
|
|
3677
|
+
default: withCtx(() => [
|
|
3678
|
+
renderSlot(_ctx.$slots, "default")
|
|
3679
|
+
]),
|
|
3680
|
+
_: 3
|
|
3681
|
+
}, 8, ["as", "as-child", "data-size", "data-active", "class"]);
|
|
3682
|
+
};
|
|
3683
|
+
}
|
|
3684
|
+
});
|
|
3685
|
+
|
|
3686
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
3687
|
+
__name: "SidebarMenuSubItem",
|
|
3688
|
+
props: {
|
|
3689
|
+
class: {}
|
|
3690
|
+
},
|
|
3691
|
+
setup(__props) {
|
|
3692
|
+
const props = __props;
|
|
3693
|
+
return (_ctx, _cache) => {
|
|
3694
|
+
return openBlock(), createElementBlock("li", {
|
|
3695
|
+
"data-slot": "sidebar-menu-sub-item",
|
|
3696
|
+
"data-sidebar": "menu-sub-item",
|
|
3697
|
+
class: normalizeClass(unref(cn)("group/menu-sub-item relative", props.class))
|
|
3698
|
+
}, [
|
|
3699
|
+
renderSlot(_ctx.$slots, "default")
|
|
3700
|
+
], 2);
|
|
3701
|
+
};
|
|
3702
|
+
}
|
|
3703
|
+
});
|
|
3704
|
+
|
|
3705
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
3293
3706
|
__name: "SidebarProvider",
|
|
3294
3707
|
props: {
|
|
3295
3708
|
defaultOpen: { type: Boolean, default: true },
|
|
@@ -3355,7 +3768,91 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
3355
3768
|
}
|
|
3356
3769
|
});
|
|
3357
3770
|
|
|
3358
|
-
|
|
3771
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
3772
|
+
__name: "SidebarRail",
|
|
3773
|
+
props: {
|
|
3774
|
+
class: {}
|
|
3775
|
+
},
|
|
3776
|
+
setup(__props) {
|
|
3777
|
+
const props = __props;
|
|
3778
|
+
const { toggleSidebar } = useSidebar();
|
|
3779
|
+
return (_ctx, _cache) => {
|
|
3780
|
+
return openBlock(), createElementBlock("button", {
|
|
3781
|
+
"data-sidebar": "rail",
|
|
3782
|
+
"data-slot": "sidebar-rail",
|
|
3783
|
+
"aria-label": "Toggle Sidebar",
|
|
3784
|
+
tabindex: -1,
|
|
3785
|
+
title: "Toggle Sidebar",
|
|
3786
|
+
class: normalizeClass(
|
|
3787
|
+
unref(cn)(
|
|
3788
|
+
"hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
|
|
3789
|
+
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
|
|
3790
|
+
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
|
|
3791
|
+
"hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
|
|
3792
|
+
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
|
|
3793
|
+
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",
|
|
3794
|
+
props.class
|
|
3795
|
+
)
|
|
3796
|
+
),
|
|
3797
|
+
onClick: _cache[0] || (_cache[0] = //@ts-ignore
|
|
3798
|
+
(...args) => unref(toggleSidebar) && unref(toggleSidebar)(...args))
|
|
3799
|
+
}, [
|
|
3800
|
+
renderSlot(_ctx.$slots, "default")
|
|
3801
|
+
], 2);
|
|
3802
|
+
};
|
|
3803
|
+
}
|
|
3804
|
+
});
|
|
3805
|
+
|
|
3806
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
3807
|
+
__name: "SidebarSeparator",
|
|
3808
|
+
props: {
|
|
3809
|
+
class: {}
|
|
3810
|
+
},
|
|
3811
|
+
setup(__props) {
|
|
3812
|
+
const props = __props;
|
|
3813
|
+
return (_ctx, _cache) => {
|
|
3814
|
+
return openBlock(), createBlock(unref(_sfc_main$Y), {
|
|
3815
|
+
"data-slot": "sidebar-separator",
|
|
3816
|
+
"data-sidebar": "separator",
|
|
3817
|
+
class: normalizeClass(unref(cn)("bg-sidebar-border mx-2 w-auto", props.class))
|
|
3818
|
+
}, {
|
|
3819
|
+
default: withCtx(() => [
|
|
3820
|
+
renderSlot(_ctx.$slots, "default")
|
|
3821
|
+
]),
|
|
3822
|
+
_: 3
|
|
3823
|
+
}, 8, ["class"]);
|
|
3824
|
+
};
|
|
3825
|
+
}
|
|
3826
|
+
});
|
|
3827
|
+
|
|
3828
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
3829
|
+
__name: "SidebarTrigger",
|
|
3830
|
+
props: {
|
|
3831
|
+
class: {}
|
|
3832
|
+
},
|
|
3833
|
+
setup(__props) {
|
|
3834
|
+
const props = __props;
|
|
3835
|
+
const { toggleSidebar } = useSidebar();
|
|
3836
|
+
return (_ctx, _cache) => {
|
|
3837
|
+
return openBlock(), createBlock(unref(_sfc_main$2b), {
|
|
3838
|
+
"data-sidebar": "trigger",
|
|
3839
|
+
"data-slot": "sidebar-trigger",
|
|
3840
|
+
variant: "ghost",
|
|
3841
|
+
size: "icon",
|
|
3842
|
+
class: normalizeClass(unref(cn)("h-7 w-7", props.class)),
|
|
3843
|
+
onClick: unref(toggleSidebar)
|
|
3844
|
+
}, {
|
|
3845
|
+
default: withCtx(() => [
|
|
3846
|
+
createVNode(unref(PanelLeft)),
|
|
3847
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "sr-only" }, "Toggle Sidebar", -1))
|
|
3848
|
+
]),
|
|
3849
|
+
_: 1
|
|
3850
|
+
}, 8, ["class", "onClick"]);
|
|
3851
|
+
};
|
|
3852
|
+
}
|
|
3853
|
+
});
|
|
3854
|
+
|
|
3855
|
+
const sidebarMenuButtonVariants = cva(
|
|
3359
3856
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3360
3857
|
{
|
|
3361
3858
|
variants: {
|
|
@@ -3383,23 +3880,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3383
3880
|
},
|
|
3384
3881
|
setup(__props) {
|
|
3385
3882
|
return (_ctx, _cache) => {
|
|
3386
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3883
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "default-open": _ctx.defaultOpen }, {
|
|
3387
3884
|
default: withCtx(() => [
|
|
3388
|
-
createVNode(unref(_sfc_main$
|
|
3885
|
+
createVNode(unref(_sfc_main$O), null, {
|
|
3389
3886
|
default: withCtx(() => [
|
|
3390
|
-
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3887
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$H), { key: 0 }, {
|
|
3391
3888
|
default: withCtx(() => [
|
|
3392
3889
|
renderSlot(_ctx.$slots, "header")
|
|
3393
3890
|
]),
|
|
3394
3891
|
_: 3
|
|
3395
3892
|
})) : createCommentVNode("", true),
|
|
3396
|
-
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3893
|
+
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$N), { key: 1 }, {
|
|
3397
3894
|
default: withCtx(() => [
|
|
3398
3895
|
renderSlot(_ctx.$slots, "content")
|
|
3399
3896
|
]),
|
|
3400
3897
|
_: 3
|
|
3401
3898
|
})) : createCommentVNode("", true),
|
|
3402
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3899
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$M), { key: 2 }, {
|
|
3403
3900
|
default: withCtx(() => [
|
|
3404
3901
|
renderSlot(_ctx.$slots, "footer")
|
|
3405
3902
|
]),
|
|
@@ -3408,12 +3905,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3408
3905
|
]),
|
|
3409
3906
|
_: 3
|
|
3410
3907
|
}),
|
|
3411
|
-
|
|
3908
|
+
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$G), { key: 0 }, {
|
|
3412
3909
|
default: withCtx(() => [
|
|
3413
3910
|
renderSlot(_ctx.$slots, "inset")
|
|
3414
3911
|
]),
|
|
3415
3912
|
_: 3
|
|
3416
|
-
})
|
|
3913
|
+
})) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
3417
3914
|
]),
|
|
3418
3915
|
_: 3
|
|
3419
3916
|
}, 8, ["default-open"]);
|
|
@@ -3681,7 +4178,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3681
4178
|
return (_ctx, _cache) => {
|
|
3682
4179
|
return openBlock(), createBlock(unref(_sfc_main$i), null, {
|
|
3683
4180
|
default: withCtx(() => [
|
|
3684
|
-
createVNode(unref(_sfc_main$
|
|
4181
|
+
createVNode(unref(_sfc_main$1f), {
|
|
3685
4182
|
to: _ctx.to,
|
|
3686
4183
|
label: _ctx.label,
|
|
3687
4184
|
class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
|
|
@@ -4194,4 +4691,4 @@ function localRef(key, initial, options) {
|
|
|
4194
4691
|
});
|
|
4195
4692
|
}
|
|
4196
4693
|
|
|
4197
|
-
export { _sfc_main$
|
|
4694
|
+
export { _sfc_main$2c as Badge, _sfc_main$2b as Button, _sfc_main$29 as ButtonIcon, _sfc_main$2a as ButtonLink, _sfc_main$21 as Card, _sfc_main$20 as Checkbox, _sfc_main$1$ as ContextMenu, _sfc_main$1_ as ContextMenuCheckboxItem, _sfc_main$1Z as ContextMenuContent, _sfc_main$1Y as ContextMenuGroup, _sfc_main$1X as ContextMenuItem, _sfc_main$1W as ContextMenuLabel, _sfc_main$1V as ContextMenuRadioGroup, _sfc_main$1U as ContextMenuRadioItem, _sfc_main$1T as ContextMenuSeparator, _sfc_main$1S as ContextMenuShortcut, _sfc_main$1R as ContextMenuSub, _sfc_main$1Q as ContextMenuSubContent, _sfc_main$1P as ContextMenuSubTrigger, _sfc_main$1O as ContextMenuTrigger, _sfc_main$1N as Dialog, _sfc_main$1M as DialogClose, _sfc_main$1K as DialogContent, _sfc_main$1J as DialogDescription, _sfc_main$1I as DialogFooter, _sfc_main$1H as DialogHeader, _sfc_main$1L as DialogOverlay, _sfc_main$1G as DialogScrollContent, _sfc_main$1F as DialogTitle, _sfc_main$1E as DialogTrigger, _sfc_main$1D as DropdownMenu, _sfc_main$1C as DropdownMenuCheckboxItem, _sfc_main$1B as DropdownMenuContent, _sfc_main$1A as DropdownMenuGroup, _sfc_main$1z as DropdownMenuItem, _sfc_main$1y as DropdownMenuLabel, _sfc_main$1x as DropdownMenuRadioGroup, _sfc_main$1w as DropdownMenuRadioItem, _sfc_main$1v as DropdownMenuSeparator, _sfc_main$1u as DropdownMenuShortcut, _sfc_main$1t as DropdownMenuSub, _sfc_main$1s as DropdownMenuSubContent, _sfc_main$1r as DropdownMenuSubTrigger, _sfc_main$1q as DropdownMenuTrigger, _sfc_main$1p as Input, _sfc_main$1h as InputNumber, _sfc_main$1g as InputText, _sfc_main$1n as Label, _sfc_main$1f as Link, _sfc_main$1e as Popover, _sfc_main$1d as PopoverAnchor, _sfc_main$1c as PopoverContent, _sfc_main$1b as PopoverTrigger, _sfc_main$1a as Progress, _sfc_main$19 as RadioGroup, _sfc_main$18 as RadioGroupItem, _sfc_main$27 as ScrollArea, _sfc_main$17 as Select, _sfc_main$16 as SelectContent, _sfc_main$15 as SelectGroup, _sfc_main$14 as SelectItem, _sfc_main$13 as SelectItemText, _sfc_main$12 as SelectLabel, _sfc_main$11 as SelectScrollDownButton, _sfc_main$10 as SelectScrollUpButton, _sfc_main$$ as SelectSeparator, _sfc_main$_ as SelectTrigger, _sfc_main$Z as SelectValue, _sfc_main$Y as Separator, _sfc_main$X as Sheet, _sfc_main$W as SheetClose, _sfc_main$U as SheetContent, _sfc_main$T as SheetDescription, _sfc_main$S as SheetFooter, _sfc_main$R as SheetHeader, _sfc_main$Q as SheetTitle, _sfc_main$P as SheetTrigger, _sfc_main$m as Sidebar, _sfc_main$L as SidebarGroup, _sfc_main$K as SidebarGroupAction, _sfc_main$J as SidebarGroupContent, _sfc_main$I as SidebarGroupLabel, _sfc_main$F as SidebarMenu, _sfc_main$E as SidebarMenuAction, _sfc_main$D as SidebarMenuBadge, _sfc_main$x as SidebarMenuButton, _sfc_main$w as SidebarMenuItem, _sfc_main$u as SidebarMenuSkeleton, _sfc_main$t as SidebarMenuSub, _sfc_main$s as SidebarMenuSubButton, _sfc_main$r as SidebarMenuSubItem, _sfc_main$p as SidebarRail, _sfc_main$o as SidebarSeparator, _sfc_main$n as SidebarTrigger, _sfc_main$v as Skeleton, _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$C as Tooltip, _sfc_main$B as TooltipContent, _sfc_main$A as TooltipProvider, _sfc_main$z 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 };
|