@tb-dev/vue 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button-icon/ButtonIcon.vue.d.ts +19 -0
- package/dist/components/button-icon/index.d.ts +3 -0
- package/dist/components/button-icon/types.d.ts +9 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/sidebar/Sidebar.vue.d.ts +4 -2
- package/dist/components/sidebar/index.d.ts +3 -3
- package/dist/index.js +704 -161
- package/package.json +4 -4
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, createCommentVNode, normalizeStyle, createElementVNode, withDirectives, isRef, vModelText, createTextVNode, 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, createElementVNode, withDirectives, isRef, vModelText, createTextVNode, normalizeProps, guardReactiveProps, ref, 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';
|
|
@@ -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$1U = /* @__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,53 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
|
|
237
|
-
const _sfc_main$
|
|
237
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
238
|
+
__name: "ButtonIcon",
|
|
239
|
+
props: {
|
|
240
|
+
buttonClass: {},
|
|
241
|
+
class: {},
|
|
242
|
+
icon: {},
|
|
243
|
+
iconClass: {},
|
|
244
|
+
iconSize: {},
|
|
245
|
+
to: {}
|
|
246
|
+
},
|
|
247
|
+
setup(__props) {
|
|
248
|
+
const props = __props;
|
|
249
|
+
return (_ctx, _cache) => {
|
|
250
|
+
return _ctx.to ? (openBlock(), createBlock(unref(_sfc_main$2a), {
|
|
251
|
+
key: 0,
|
|
252
|
+
to: _ctx.to,
|
|
253
|
+
variant: "ghost",
|
|
254
|
+
size: "icon",
|
|
255
|
+
class: normalizeClass(props.class),
|
|
256
|
+
"button-class": _ctx.buttonClass
|
|
257
|
+
}, {
|
|
258
|
+
default: withCtx(() => [
|
|
259
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
260
|
+
class: normalizeClass(_ctx.iconClass),
|
|
261
|
+
size: _ctx.iconSize
|
|
262
|
+
}, null, 8, ["class", "size"]))
|
|
263
|
+
]),
|
|
264
|
+
_: 1
|
|
265
|
+
}, 8, ["to", "class", "button-class"])) : (openBlock(), createBlock(unref(_sfc_main$2b), {
|
|
266
|
+
key: 1,
|
|
267
|
+
variant: "ghost",
|
|
268
|
+
size: "icon",
|
|
269
|
+
class: normalizeClass(unref(cn)(props.class, _ctx.buttonClass))
|
|
270
|
+
}, {
|
|
271
|
+
default: withCtx(() => [
|
|
272
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
273
|
+
class: normalizeClass(_ctx.iconClass),
|
|
274
|
+
size: _ctx.iconSize
|
|
275
|
+
}, null, 8, ["class", "size"]))
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}, 8, ["class"]));
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
238
284
|
__name: "ScrollBar",
|
|
239
285
|
props: {
|
|
240
286
|
orientation: { default: "vertical" },
|
|
@@ -270,7 +316,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
|
270
316
|
}
|
|
271
317
|
});
|
|
272
318
|
|
|
273
|
-
const _sfc_main$
|
|
319
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
274
320
|
__name: "ScrollArea",
|
|
275
321
|
props: {
|
|
276
322
|
type: {},
|
|
@@ -300,7 +346,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
300
346
|
]),
|
|
301
347
|
_: 3
|
|
302
348
|
}),
|
|
303
|
-
createVNode(_sfc_main$
|
|
349
|
+
createVNode(_sfc_main$28),
|
|
304
350
|
createVNode(unref(ScrollAreaCorner))
|
|
305
351
|
]),
|
|
306
352
|
_: 3
|
|
@@ -309,7 +355,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
|
309
355
|
}
|
|
310
356
|
});
|
|
311
357
|
|
|
312
|
-
const _sfc_main$
|
|
358
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
313
359
|
__name: "Card",
|
|
314
360
|
props: {
|
|
315
361
|
class: {}
|
|
@@ -332,7 +378,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
|
332
378
|
}
|
|
333
379
|
});
|
|
334
380
|
|
|
335
|
-
const _sfc_main$
|
|
381
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
336
382
|
__name: "CardContent",
|
|
337
383
|
props: {
|
|
338
384
|
class: {}
|
|
@@ -350,7 +396,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
|
350
396
|
}
|
|
351
397
|
});
|
|
352
398
|
|
|
353
|
-
const _sfc_main$
|
|
399
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
354
400
|
__name: "CardDescription",
|
|
355
401
|
props: {
|
|
356
402
|
class: {}
|
|
@@ -368,7 +414,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
|
368
414
|
}
|
|
369
415
|
});
|
|
370
416
|
|
|
371
|
-
const _sfc_main$
|
|
417
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
372
418
|
__name: "CardHeader",
|
|
373
419
|
props: {
|
|
374
420
|
class: {}
|
|
@@ -391,7 +437,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
|
391
437
|
}
|
|
392
438
|
});
|
|
393
439
|
|
|
394
|
-
const _sfc_main$
|
|
440
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
395
441
|
__name: "CardTitle",
|
|
396
442
|
props: {
|
|
397
443
|
class: {}
|
|
@@ -409,7 +455,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
|
409
455
|
}
|
|
410
456
|
});
|
|
411
457
|
|
|
412
|
-
const _sfc_main$
|
|
458
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
413
459
|
__name: "Card",
|
|
414
460
|
props: {
|
|
415
461
|
contentClass: {},
|
|
@@ -421,14 +467,14 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
421
467
|
},
|
|
422
468
|
setup(__props) {
|
|
423
469
|
return (_ctx, _cache) => {
|
|
424
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
470
|
+
return openBlock(), createBlock(unref(_sfc_main$26), null, {
|
|
425
471
|
default: withCtx(() => [
|
|
426
|
-
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$
|
|
472
|
+
_ctx.$slots.title ? (openBlock(), createBlock(unref(_sfc_main$23), {
|
|
427
473
|
key: 0,
|
|
428
474
|
class: normalizeClass(_ctx.headerClass)
|
|
429
475
|
}, {
|
|
430
476
|
default: withCtx(() => [
|
|
431
|
-
createVNode(unref(_sfc_main$
|
|
477
|
+
createVNode(unref(_sfc_main$22), {
|
|
432
478
|
class: normalizeClass(_ctx.titleClass)
|
|
433
479
|
}, {
|
|
434
480
|
default: withCtx(() => [
|
|
@@ -436,7 +482,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
436
482
|
]),
|
|
437
483
|
_: 3
|
|
438
484
|
}, 8, ["class"]),
|
|
439
|
-
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$
|
|
485
|
+
_ctx.$slots.description ? (openBlock(), createBlock(unref(_sfc_main$24), {
|
|
440
486
|
key: 0,
|
|
441
487
|
class: normalizeClass(_ctx.descriptionClass)
|
|
442
488
|
}, {
|
|
@@ -448,11 +494,11 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
448
494
|
]),
|
|
449
495
|
_: 3
|
|
450
496
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
451
|
-
createVNode(unref(_sfc_main$
|
|
497
|
+
createVNode(unref(_sfc_main$25), {
|
|
452
498
|
class: normalizeClass(unref(cn)("p-0", _ctx.contentClass))
|
|
453
499
|
}, {
|
|
454
500
|
default: withCtx(() => [
|
|
455
|
-
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
501
|
+
_ctx.scrollAreaHeight && _ctx.scrollAreaHeight !== "auto" ? (openBlock(), createBlock(unref(_sfc_main$27), {
|
|
456
502
|
key: 0,
|
|
457
503
|
class: normalizeClass(_ctx.scrollAreaClass),
|
|
458
504
|
style: normalizeStyle({ height: unref(toPixel)(_ctx.scrollAreaHeight) })
|
|
@@ -472,7 +518,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
|
472
518
|
}
|
|
473
519
|
});
|
|
474
520
|
|
|
475
|
-
const _sfc_main$
|
|
521
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
476
522
|
__name: "Checkbox",
|
|
477
523
|
props: {
|
|
478
524
|
defaultValue: { type: [Boolean, String] },
|
|
@@ -521,7 +567,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
|
521
567
|
}
|
|
522
568
|
});
|
|
523
569
|
|
|
524
|
-
const _sfc_main$
|
|
570
|
+
const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
|
|
525
571
|
__name: "ContextMenu",
|
|
526
572
|
props: {
|
|
527
573
|
dir: {},
|
|
@@ -544,7 +590,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
|
544
590
|
});
|
|
545
591
|
|
|
546
592
|
const _hoisted_1$a = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
547
|
-
const _sfc_main$
|
|
593
|
+
const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
|
|
548
594
|
__name: "ContextMenuCheckboxItem",
|
|
549
595
|
props: {
|
|
550
596
|
modelValue: { type: [Boolean, String] },
|
|
@@ -587,7 +633,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
|
587
633
|
}
|
|
588
634
|
});
|
|
589
635
|
|
|
590
|
-
const _sfc_main$
|
|
636
|
+
const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
|
|
591
637
|
__name: "ContextMenuContent",
|
|
592
638
|
props: {
|
|
593
639
|
forceMount: { type: Boolean },
|
|
@@ -636,7 +682,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
636
682
|
}
|
|
637
683
|
});
|
|
638
684
|
|
|
639
|
-
const _sfc_main$
|
|
685
|
+
const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
|
|
640
686
|
__name: "ContextMenuGroup",
|
|
641
687
|
props: {
|
|
642
688
|
asChild: { type: Boolean },
|
|
@@ -655,7 +701,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
|
655
701
|
}
|
|
656
702
|
});
|
|
657
703
|
|
|
658
|
-
const _sfc_main$
|
|
704
|
+
const _sfc_main$1X = /* @__PURE__ */ defineComponent({
|
|
659
705
|
__name: "ContextMenuItem",
|
|
660
706
|
props: {
|
|
661
707
|
disabled: { type: Boolean },
|
|
@@ -695,7 +741,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
695
741
|
}
|
|
696
742
|
});
|
|
697
743
|
|
|
698
|
-
const _sfc_main$
|
|
744
|
+
const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
699
745
|
__name: "ContextMenuLabel",
|
|
700
746
|
props: {
|
|
701
747
|
asChild: { type: Boolean },
|
|
@@ -725,7 +771,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
|
725
771
|
}
|
|
726
772
|
});
|
|
727
773
|
|
|
728
|
-
const _sfc_main$
|
|
774
|
+
const _sfc_main$1V = /* @__PURE__ */ defineComponent({
|
|
729
775
|
__name: "ContextMenuRadioGroup",
|
|
730
776
|
props: {
|
|
731
777
|
modelValue: {},
|
|
@@ -749,7 +795,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
|
749
795
|
});
|
|
750
796
|
|
|
751
797
|
const _hoisted_1$9 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
752
|
-
const _sfc_main$
|
|
798
|
+
const _sfc_main$1U = /* @__PURE__ */ defineComponent({
|
|
753
799
|
__name: "ContextMenuRadioItem",
|
|
754
800
|
props: {
|
|
755
801
|
value: {},
|
|
@@ -792,7 +838,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
|
792
838
|
}
|
|
793
839
|
});
|
|
794
840
|
|
|
795
|
-
const _sfc_main$
|
|
841
|
+
const _sfc_main$1T = /* @__PURE__ */ defineComponent({
|
|
796
842
|
__name: "ContextMenuSeparator",
|
|
797
843
|
props: {
|
|
798
844
|
asChild: { type: Boolean },
|
|
@@ -813,7 +859,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
|
813
859
|
}
|
|
814
860
|
});
|
|
815
861
|
|
|
816
|
-
const _sfc_main$
|
|
862
|
+
const _sfc_main$1S = /* @__PURE__ */ defineComponent({
|
|
817
863
|
__name: "ContextMenuShortcut",
|
|
818
864
|
props: {
|
|
819
865
|
class: {}
|
|
@@ -831,7 +877,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
|
831
877
|
}
|
|
832
878
|
});
|
|
833
879
|
|
|
834
|
-
const _sfc_main$
|
|
880
|
+
const _sfc_main$1R = /* @__PURE__ */ defineComponent({
|
|
835
881
|
__name: "ContextMenuSub",
|
|
836
882
|
props: {
|
|
837
883
|
defaultOpen: { type: Boolean },
|
|
@@ -853,7 +899,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
|
853
899
|
}
|
|
854
900
|
});
|
|
855
901
|
|
|
856
|
-
const _sfc_main$
|
|
902
|
+
const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
|
|
857
903
|
__name: "ContextMenuSubContent",
|
|
858
904
|
props: {
|
|
859
905
|
forceMount: { type: Boolean },
|
|
@@ -900,7 +946,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
|
900
946
|
}
|
|
901
947
|
});
|
|
902
948
|
|
|
903
|
-
const _sfc_main$
|
|
949
|
+
const _sfc_main$1P = /* @__PURE__ */ defineComponent({
|
|
904
950
|
__name: "ContextMenuSubTrigger",
|
|
905
951
|
props: {
|
|
906
952
|
disabled: { type: Boolean },
|
|
@@ -937,7 +983,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
|
937
983
|
}
|
|
938
984
|
});
|
|
939
985
|
|
|
940
|
-
const _sfc_main$
|
|
986
|
+
const _sfc_main$1O = /* @__PURE__ */ defineComponent({
|
|
941
987
|
__name: "ContextMenuTrigger",
|
|
942
988
|
props: {
|
|
943
989
|
disabled: { type: Boolean },
|
|
@@ -958,7 +1004,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
|
958
1004
|
}
|
|
959
1005
|
});
|
|
960
1006
|
|
|
961
|
-
const _sfc_main$
|
|
1007
|
+
const _sfc_main$1N = /* @__PURE__ */ defineComponent({
|
|
962
1008
|
__name: "Dialog",
|
|
963
1009
|
props: {
|
|
964
1010
|
open: { type: Boolean },
|
|
@@ -981,7 +1027,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
|
981
1027
|
}
|
|
982
1028
|
});
|
|
983
1029
|
|
|
984
|
-
const _sfc_main$
|
|
1030
|
+
const _sfc_main$1M = /* @__PURE__ */ defineComponent({
|
|
985
1031
|
__name: "DialogClose",
|
|
986
1032
|
props: {
|
|
987
1033
|
asChild: { type: Boolean },
|
|
@@ -1000,7 +1046,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
|
1000
1046
|
}
|
|
1001
1047
|
});
|
|
1002
1048
|
|
|
1003
|
-
const _sfc_main$
|
|
1049
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
1004
1050
|
__name: "DialogOverlay",
|
|
1005
1051
|
props: {
|
|
1006
1052
|
forceMount: { type: Boolean },
|
|
@@ -1030,7 +1076,7 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
|
1030
1076
|
}
|
|
1031
1077
|
});
|
|
1032
1078
|
|
|
1033
|
-
const _sfc_main$
|
|
1079
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
1034
1080
|
__name: "DialogContent",
|
|
1035
1081
|
props: {
|
|
1036
1082
|
forceMount: { type: Boolean },
|
|
@@ -1052,7 +1098,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
1052
1098
|
return (_ctx, _cache) => {
|
|
1053
1099
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
1054
1100
|
default: withCtx(() => [
|
|
1055
|
-
createVNode(_sfc_main$
|
|
1101
|
+
createVNode(_sfc_main$1L),
|
|
1056
1102
|
createVNode(unref(DialogContent), mergeProps({ "data-slot": "dialog-content" }, unref(forwarded), {
|
|
1057
1103
|
class: unref(cn)(
|
|
1058
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",
|
|
@@ -1078,7 +1124,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
|
1078
1124
|
}
|
|
1079
1125
|
});
|
|
1080
1126
|
|
|
1081
|
-
const _sfc_main$
|
|
1127
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
1082
1128
|
__name: "DialogDescription",
|
|
1083
1129
|
props: {
|
|
1084
1130
|
asChild: { type: Boolean },
|
|
@@ -1105,7 +1151,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
|
1105
1151
|
}
|
|
1106
1152
|
});
|
|
1107
1153
|
|
|
1108
|
-
const _sfc_main$
|
|
1154
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
1109
1155
|
__name: "DialogFooter",
|
|
1110
1156
|
props: {
|
|
1111
1157
|
class: {}
|
|
@@ -1123,7 +1169,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
|
1123
1169
|
}
|
|
1124
1170
|
});
|
|
1125
1171
|
|
|
1126
|
-
const _sfc_main$
|
|
1172
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
1127
1173
|
__name: "DialogHeader",
|
|
1128
1174
|
props: {
|
|
1129
1175
|
class: {}
|
|
@@ -1141,7 +1187,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
|
1141
1187
|
}
|
|
1142
1188
|
});
|
|
1143
1189
|
|
|
1144
|
-
const _sfc_main$
|
|
1190
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
1145
1191
|
__name: "DialogScrollContent",
|
|
1146
1192
|
props: {
|
|
1147
1193
|
forceMount: { type: Boolean },
|
|
@@ -1201,7 +1247,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
|
1201
1247
|
}
|
|
1202
1248
|
});
|
|
1203
1249
|
|
|
1204
|
-
const _sfc_main$
|
|
1250
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
1205
1251
|
__name: "DialogTitle",
|
|
1206
1252
|
props: {
|
|
1207
1253
|
asChild: { type: Boolean },
|
|
@@ -1228,7 +1274,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
|
1228
1274
|
}
|
|
1229
1275
|
});
|
|
1230
1276
|
|
|
1231
|
-
const _sfc_main$
|
|
1277
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
1232
1278
|
__name: "DialogTrigger",
|
|
1233
1279
|
props: {
|
|
1234
1280
|
asChild: { type: Boolean },
|
|
@@ -1247,7 +1293,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
1247
1293
|
}
|
|
1248
1294
|
});
|
|
1249
1295
|
|
|
1250
|
-
const _sfc_main$
|
|
1296
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
1251
1297
|
__name: "DropdownMenu",
|
|
1252
1298
|
props: {
|
|
1253
1299
|
defaultOpen: { type: Boolean },
|
|
@@ -1272,7 +1318,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
1272
1318
|
});
|
|
1273
1319
|
|
|
1274
1320
|
const _hoisted_1$8 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1275
|
-
const _sfc_main$
|
|
1321
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
1276
1322
|
__name: "DropdownMenuCheckboxItem",
|
|
1277
1323
|
props: {
|
|
1278
1324
|
modelValue: { type: [Boolean, String] },
|
|
@@ -1315,7 +1361,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
1315
1361
|
}
|
|
1316
1362
|
});
|
|
1317
1363
|
|
|
1318
|
-
const _sfc_main$
|
|
1364
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
1319
1365
|
__name: "DropdownMenuContent",
|
|
1320
1366
|
props: {
|
|
1321
1367
|
forceMount: { type: Boolean },
|
|
@@ -1369,7 +1415,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
1369
1415
|
}
|
|
1370
1416
|
});
|
|
1371
1417
|
|
|
1372
|
-
const _sfc_main$
|
|
1418
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
1373
1419
|
__name: "DropdownMenuGroup",
|
|
1374
1420
|
props: {
|
|
1375
1421
|
asChild: { type: Boolean },
|
|
@@ -1388,7 +1434,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
|
1388
1434
|
}
|
|
1389
1435
|
});
|
|
1390
1436
|
|
|
1391
|
-
const _sfc_main$
|
|
1437
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
1392
1438
|
__name: "DropdownMenuItem",
|
|
1393
1439
|
props: {
|
|
1394
1440
|
disabled: { type: Boolean },
|
|
@@ -1423,7 +1469,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
1423
1469
|
}
|
|
1424
1470
|
});
|
|
1425
1471
|
|
|
1426
|
-
const _sfc_main$
|
|
1472
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
1427
1473
|
__name: "DropdownMenuLabel",
|
|
1428
1474
|
props: {
|
|
1429
1475
|
asChild: { type: Boolean },
|
|
@@ -1451,7 +1497,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
1451
1497
|
}
|
|
1452
1498
|
});
|
|
1453
1499
|
|
|
1454
|
-
const _sfc_main$
|
|
1500
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
1455
1501
|
__name: "DropdownMenuRadioGroup",
|
|
1456
1502
|
props: {
|
|
1457
1503
|
modelValue: {},
|
|
@@ -1475,7 +1521,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
1475
1521
|
});
|
|
1476
1522
|
|
|
1477
1523
|
const _hoisted_1$7 = { class: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center" };
|
|
1478
|
-
const _sfc_main$
|
|
1524
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
1479
1525
|
__name: "DropdownMenuRadioItem",
|
|
1480
1526
|
props: {
|
|
1481
1527
|
value: {},
|
|
@@ -1518,7 +1564,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
1518
1564
|
}
|
|
1519
1565
|
});
|
|
1520
1566
|
|
|
1521
|
-
const _sfc_main$
|
|
1567
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
1522
1568
|
__name: "DropdownMenuSeparator",
|
|
1523
1569
|
props: {
|
|
1524
1570
|
asChild: { type: Boolean },
|
|
@@ -1539,7 +1585,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
1539
1585
|
}
|
|
1540
1586
|
});
|
|
1541
1587
|
|
|
1542
|
-
const _sfc_main$
|
|
1588
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
1543
1589
|
__name: "DropdownMenuShortcut",
|
|
1544
1590
|
props: {
|
|
1545
1591
|
class: {}
|
|
@@ -1557,7 +1603,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
1557
1603
|
}
|
|
1558
1604
|
});
|
|
1559
1605
|
|
|
1560
|
-
const _sfc_main$
|
|
1606
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
1561
1607
|
__name: "DropdownMenuSub",
|
|
1562
1608
|
props: {
|
|
1563
1609
|
defaultOpen: { type: Boolean },
|
|
@@ -1579,7 +1625,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
1579
1625
|
}
|
|
1580
1626
|
});
|
|
1581
1627
|
|
|
1582
|
-
const _sfc_main$
|
|
1628
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
1583
1629
|
__name: "DropdownMenuSubContent",
|
|
1584
1630
|
props: {
|
|
1585
1631
|
forceMount: { type: Boolean },
|
|
@@ -1626,7 +1672,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
1626
1672
|
}
|
|
1627
1673
|
});
|
|
1628
1674
|
|
|
1629
|
-
const _sfc_main$
|
|
1675
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent({
|
|
1630
1676
|
__name: "DropdownMenuSubTrigger",
|
|
1631
1677
|
props: {
|
|
1632
1678
|
disabled: { type: Boolean },
|
|
@@ -1657,7 +1703,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
1657
1703
|
}
|
|
1658
1704
|
});
|
|
1659
1705
|
|
|
1660
|
-
const _sfc_main$
|
|
1706
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
1661
1707
|
__name: "DropdownMenuTrigger",
|
|
1662
1708
|
props: {
|
|
1663
1709
|
disabled: { type: Boolean },
|
|
@@ -1678,7 +1724,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
1678
1724
|
}
|
|
1679
1725
|
});
|
|
1680
1726
|
|
|
1681
|
-
const _sfc_main$
|
|
1727
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
1682
1728
|
__name: "Input",
|
|
1683
1729
|
props: {
|
|
1684
1730
|
defaultValue: {},
|
|
@@ -1712,7 +1758,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
1712
1758
|
}
|
|
1713
1759
|
});
|
|
1714
1760
|
|
|
1715
|
-
const _sfc_main$
|
|
1761
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
1716
1762
|
__name: "Label",
|
|
1717
1763
|
props: {
|
|
1718
1764
|
for: {},
|
|
@@ -1742,7 +1788,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
1742
1788
|
}
|
|
1743
1789
|
});
|
|
1744
1790
|
|
|
1745
|
-
const _sfc_main$
|
|
1791
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
1746
1792
|
__name: "Label",
|
|
1747
1793
|
props: {
|
|
1748
1794
|
class: {}
|
|
@@ -1750,7 +1796,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
1750
1796
|
setup(__props) {
|
|
1751
1797
|
const props = __props;
|
|
1752
1798
|
return (_ctx, _cache) => {
|
|
1753
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1799
|
+
return openBlock(), createBlock(unref(_sfc_main$1o), {
|
|
1754
1800
|
class: normalizeClass(unref(cn)("flex w-full flex-col gap-2 font-normal", props.class))
|
|
1755
1801
|
}, {
|
|
1756
1802
|
default: withCtx(() => [
|
|
@@ -1762,7 +1808,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
1762
1808
|
}
|
|
1763
1809
|
});
|
|
1764
1810
|
|
|
1765
|
-
const _sfc_main$
|
|
1811
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
1766
1812
|
__name: "NumberField",
|
|
1767
1813
|
props: {
|
|
1768
1814
|
defaultValue: {},
|
|
@@ -1804,7 +1850,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
1804
1850
|
}
|
|
1805
1851
|
});
|
|
1806
1852
|
|
|
1807
|
-
const _sfc_main$
|
|
1853
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
1808
1854
|
__name: "NumberFieldContent",
|
|
1809
1855
|
props: {
|
|
1810
1856
|
class: {}
|
|
@@ -1826,7 +1872,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
1826
1872
|
}
|
|
1827
1873
|
});
|
|
1828
1874
|
|
|
1829
|
-
const _sfc_main$
|
|
1875
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
1830
1876
|
__name: "NumberFieldDecrement",
|
|
1831
1877
|
props: {
|
|
1832
1878
|
disabled: { type: Boolean },
|
|
@@ -1859,7 +1905,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
1859
1905
|
}
|
|
1860
1906
|
});
|
|
1861
1907
|
|
|
1862
|
-
const _sfc_main$
|
|
1908
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
1863
1909
|
__name: "NumberFieldIncrement",
|
|
1864
1910
|
props: {
|
|
1865
1911
|
disabled: { type: Boolean },
|
|
@@ -1892,7 +1938,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
1892
1938
|
}
|
|
1893
1939
|
});
|
|
1894
1940
|
|
|
1895
|
-
const _sfc_main$
|
|
1941
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
1896
1942
|
__name: "NumberFieldInput",
|
|
1897
1943
|
props: {
|
|
1898
1944
|
class: {}
|
|
@@ -1914,7 +1960,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
1914
1960
|
});
|
|
1915
1961
|
|
|
1916
1962
|
const _hoisted_1$6 = { class: "w-full" };
|
|
1917
|
-
const _sfc_main$
|
|
1963
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
1918
1964
|
__name: "InputNumber",
|
|
1919
1965
|
props: {
|
|
1920
1966
|
class: {},
|
|
@@ -1941,7 +1987,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1941
1987
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1942
1988
|
createVNode(unref(DefineTemplate), null, {
|
|
1943
1989
|
default: withCtx(() => [
|
|
1944
|
-
createVNode(unref(_sfc_main$
|
|
1990
|
+
createVNode(unref(_sfc_main$1m), {
|
|
1945
1991
|
modelValue: value.value,
|
|
1946
1992
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
1947
1993
|
"default-value": _ctx.defaultValue,
|
|
@@ -1952,11 +1998,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1952
1998
|
class: normalizeClass(props.class)
|
|
1953
1999
|
}, {
|
|
1954
2000
|
default: withCtx(() => [
|
|
1955
|
-
createVNode(unref(_sfc_main$
|
|
2001
|
+
createVNode(unref(_sfc_main$1l), null, {
|
|
1956
2002
|
default: withCtx(() => [
|
|
1957
|
-
createVNode(unref(_sfc_main$
|
|
1958
|
-
createVNode(unref(_sfc_main$
|
|
1959
|
-
createVNode(unref(_sfc_main$
|
|
2003
|
+
createVNode(unref(_sfc_main$1k)),
|
|
2004
|
+
createVNode(unref(_sfc_main$1i)),
|
|
2005
|
+
createVNode(unref(_sfc_main$1j))
|
|
1960
2006
|
]),
|
|
1961
2007
|
_: 1
|
|
1962
2008
|
})
|
|
@@ -1966,7 +2012,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1966
2012
|
]),
|
|
1967
2013
|
_: 1
|
|
1968
2014
|
}),
|
|
1969
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2015
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1n), {
|
|
1970
2016
|
key: 0,
|
|
1971
2017
|
class: normalizeClass(_ctx.labelClass)
|
|
1972
2018
|
}, {
|
|
@@ -1982,7 +2028,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
1982
2028
|
});
|
|
1983
2029
|
|
|
1984
2030
|
const _hoisted_1$5 = { class: "w-full" };
|
|
1985
|
-
const _sfc_main
|
|
2031
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
1986
2032
|
__name: "InputText",
|
|
1987
2033
|
props: {
|
|
1988
2034
|
class: {},
|
|
@@ -2010,7 +2056,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2010
2056
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2011
2057
|
createVNode(unref(DefineTemplate), null, {
|
|
2012
2058
|
default: withCtx(() => [
|
|
2013
|
-
createVNode(unref(_sfc_main$
|
|
2059
|
+
createVNode(unref(_sfc_main$1p), {
|
|
2014
2060
|
modelValue: value.value,
|
|
2015
2061
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
2016
2062
|
modelModifiers: { trim: true },
|
|
@@ -2027,7 +2073,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2027
2073
|
]),
|
|
2028
2074
|
_: 1
|
|
2029
2075
|
}),
|
|
2030
|
-
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2076
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$1n), {
|
|
2031
2077
|
key: 0,
|
|
2032
2078
|
class: normalizeClass(_ctx.labelClass)
|
|
2033
2079
|
}, {
|
|
@@ -2043,7 +2089,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
2043
2089
|
});
|
|
2044
2090
|
|
|
2045
2091
|
const _hoisted_1$4 = { key: 0 };
|
|
2046
|
-
const _sfc_main$
|
|
2092
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
2047
2093
|
__name: "Link",
|
|
2048
2094
|
props: {
|
|
2049
2095
|
label: {},
|
|
@@ -2063,7 +2109,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
2063
2109
|
}
|
|
2064
2110
|
});
|
|
2065
2111
|
|
|
2066
|
-
const _sfc_main$
|
|
2112
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
2067
2113
|
__name: "Popover",
|
|
2068
2114
|
props: {
|
|
2069
2115
|
defaultOpen: { type: Boolean },
|
|
@@ -2086,7 +2132,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
2086
2132
|
}
|
|
2087
2133
|
});
|
|
2088
2134
|
|
|
2089
|
-
const _sfc_main$
|
|
2135
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
2090
2136
|
__name: "PopoverAnchor",
|
|
2091
2137
|
props: {
|
|
2092
2138
|
reference: {},
|
|
@@ -2106,7 +2152,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
2106
2152
|
}
|
|
2107
2153
|
});
|
|
2108
2154
|
|
|
2109
|
-
const _sfc_main$
|
|
2155
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
2110
2156
|
...{
|
|
2111
2157
|
inheritAttrs: false
|
|
2112
2158
|
},
|
|
@@ -2163,7 +2209,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
2163
2209
|
}
|
|
2164
2210
|
});
|
|
2165
2211
|
|
|
2166
|
-
const _sfc_main$
|
|
2212
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
2167
2213
|
__name: "PopoverTrigger",
|
|
2168
2214
|
props: {
|
|
2169
2215
|
asChild: { type: Boolean },
|
|
@@ -2182,7 +2228,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
2182
2228
|
}
|
|
2183
2229
|
});
|
|
2184
2230
|
|
|
2185
|
-
const _sfc_main$
|
|
2231
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
2186
2232
|
__name: "Progress",
|
|
2187
2233
|
props: {
|
|
2188
2234
|
modelValue: { default: 0 },
|
|
@@ -2215,7 +2261,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
2215
2261
|
}
|
|
2216
2262
|
});
|
|
2217
2263
|
|
|
2218
|
-
const _sfc_main$
|
|
2264
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
2219
2265
|
__name: "RadioGroup",
|
|
2220
2266
|
props: {
|
|
2221
2267
|
modelValue: {},
|
|
@@ -2253,7 +2299,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
2253
2299
|
}
|
|
2254
2300
|
});
|
|
2255
2301
|
|
|
2256
|
-
const _sfc_main$
|
|
2302
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
2257
2303
|
__name: "RadioGroupItem",
|
|
2258
2304
|
props: {
|
|
2259
2305
|
id: {},
|
|
@@ -2296,7 +2342,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
2296
2342
|
}
|
|
2297
2343
|
});
|
|
2298
2344
|
|
|
2299
|
-
const _sfc_main$
|
|
2345
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
2300
2346
|
__name: "Select",
|
|
2301
2347
|
props: {
|
|
2302
2348
|
open: { type: Boolean },
|
|
@@ -2327,7 +2373,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
2327
2373
|
}
|
|
2328
2374
|
});
|
|
2329
2375
|
|
|
2330
|
-
const _sfc_main$
|
|
2376
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
2331
2377
|
...{
|
|
2332
2378
|
inheritAttrs: false
|
|
2333
2379
|
},
|
|
@@ -2375,7 +2421,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2375
2421
|
)
|
|
2376
2422
|
}), {
|
|
2377
2423
|
default: withCtx(() => [
|
|
2378
|
-
createVNode(unref(_sfc_main$
|
|
2424
|
+
createVNode(unref(_sfc_main$10)),
|
|
2379
2425
|
createVNode(unref(SelectViewport), {
|
|
2380
2426
|
class: normalizeClass(
|
|
2381
2427
|
unref(cn)(
|
|
@@ -2389,7 +2435,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2389
2435
|
]),
|
|
2390
2436
|
_: 3
|
|
2391
2437
|
}, 8, ["class"]),
|
|
2392
|
-
createVNode(unref(_sfc_main$
|
|
2438
|
+
createVNode(unref(_sfc_main$11))
|
|
2393
2439
|
]),
|
|
2394
2440
|
_: 3
|
|
2395
2441
|
}, 16, ["class"])
|
|
@@ -2400,7 +2446,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
2400
2446
|
}
|
|
2401
2447
|
});
|
|
2402
2448
|
|
|
2403
|
-
const _sfc_main$
|
|
2449
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
2404
2450
|
__name: "SelectGroup",
|
|
2405
2451
|
props: {
|
|
2406
2452
|
asChild: { type: Boolean },
|
|
@@ -2420,7 +2466,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
2420
2466
|
});
|
|
2421
2467
|
|
|
2422
2468
|
const _hoisted_1$3 = { class: "absolute right-2 flex size-3.5 items-center justify-center" };
|
|
2423
|
-
const _sfc_main$
|
|
2469
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
2424
2470
|
__name: "SelectItem",
|
|
2425
2471
|
props: {
|
|
2426
2472
|
value: {},
|
|
@@ -2466,7 +2512,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
2466
2512
|
}
|
|
2467
2513
|
});
|
|
2468
2514
|
|
|
2469
|
-
const _sfc_main$
|
|
2515
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
2470
2516
|
__name: "SelectItemText",
|
|
2471
2517
|
props: {
|
|
2472
2518
|
asChild: { type: Boolean },
|
|
@@ -2485,7 +2531,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
2485
2531
|
}
|
|
2486
2532
|
});
|
|
2487
2533
|
|
|
2488
|
-
const _sfc_main$
|
|
2534
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
2489
2535
|
__name: "SelectLabel",
|
|
2490
2536
|
props: {
|
|
2491
2537
|
for: {},
|
|
@@ -2509,7 +2555,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
2509
2555
|
}
|
|
2510
2556
|
});
|
|
2511
2557
|
|
|
2512
|
-
const _sfc_main$
|
|
2558
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
2513
2559
|
__name: "SelectScrollDownButton",
|
|
2514
2560
|
props: {
|
|
2515
2561
|
asChild: { type: Boolean },
|
|
@@ -2538,7 +2584,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
2538
2584
|
}
|
|
2539
2585
|
});
|
|
2540
2586
|
|
|
2541
|
-
const _sfc_main$
|
|
2587
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
2542
2588
|
__name: "SelectScrollUpButton",
|
|
2543
2589
|
props: {
|
|
2544
2590
|
asChild: { type: Boolean },
|
|
@@ -2567,7 +2613,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
2567
2613
|
}
|
|
2568
2614
|
});
|
|
2569
2615
|
|
|
2570
|
-
const _sfc_main
|
|
2616
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
2571
2617
|
__name: "SelectSeparator",
|
|
2572
2618
|
props: {
|
|
2573
2619
|
asChild: { type: Boolean },
|
|
@@ -2588,7 +2634,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
2588
2634
|
}
|
|
2589
2635
|
});
|
|
2590
2636
|
|
|
2591
|
-
const _sfc_main$
|
|
2637
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
2592
2638
|
__name: "SelectTrigger",
|
|
2593
2639
|
props: {
|
|
2594
2640
|
disabled: { type: Boolean },
|
|
@@ -2627,7 +2673,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
2627
2673
|
}
|
|
2628
2674
|
});
|
|
2629
2675
|
|
|
2630
|
-
const _sfc_main$
|
|
2676
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
2631
2677
|
__name: "SelectValue",
|
|
2632
2678
|
props: {
|
|
2633
2679
|
placeholder: {},
|
|
@@ -2647,7 +2693,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
2647
2693
|
}
|
|
2648
2694
|
});
|
|
2649
2695
|
|
|
2650
|
-
const _sfc_main$
|
|
2696
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
2651
2697
|
__name: "Separator",
|
|
2652
2698
|
props: {
|
|
2653
2699
|
orientation: { default: "horizontal" },
|
|
@@ -2670,7 +2716,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
2670
2716
|
}
|
|
2671
2717
|
});
|
|
2672
2718
|
|
|
2673
|
-
const _sfc_main$
|
|
2719
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
2674
2720
|
__name: "Sheet",
|
|
2675
2721
|
props: {
|
|
2676
2722
|
open: { type: Boolean },
|
|
@@ -2693,7 +2739,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
2693
2739
|
}
|
|
2694
2740
|
});
|
|
2695
2741
|
|
|
2696
|
-
const _sfc_main$
|
|
2742
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
2697
2743
|
__name: "SheetClose",
|
|
2698
2744
|
props: {
|
|
2699
2745
|
asChild: { type: Boolean },
|
|
@@ -2712,7 +2758,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
2712
2758
|
}
|
|
2713
2759
|
});
|
|
2714
2760
|
|
|
2715
|
-
const _sfc_main$
|
|
2761
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
2716
2762
|
__name: "SheetOverlay",
|
|
2717
2763
|
props: {
|
|
2718
2764
|
forceMount: { type: Boolean },
|
|
@@ -2743,7 +2789,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
2743
2789
|
}
|
|
2744
2790
|
});
|
|
2745
2791
|
|
|
2746
|
-
const _sfc_main$
|
|
2792
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
2747
2793
|
...{
|
|
2748
2794
|
inheritAttrs: false
|
|
2749
2795
|
},
|
|
@@ -2766,7 +2812,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2766
2812
|
return (_ctx, _cache) => {
|
|
2767
2813
|
return openBlock(), createBlock(unref(DialogPortal), null, {
|
|
2768
2814
|
default: withCtx(() => [
|
|
2769
|
-
createVNode(_sfc_main$
|
|
2815
|
+
createVNode(_sfc_main$V),
|
|
2770
2816
|
createVNode(unref(DialogContent), mergeProps({
|
|
2771
2817
|
"data-slot": "sheet-content",
|
|
2772
2818
|
class: unref(cn)(
|
|
@@ -2797,7 +2843,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
2797
2843
|
}
|
|
2798
2844
|
});
|
|
2799
2845
|
|
|
2800
|
-
const _sfc_main$
|
|
2846
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
2801
2847
|
__name: "SheetDescription",
|
|
2802
2848
|
props: {
|
|
2803
2849
|
asChild: { type: Boolean },
|
|
@@ -2824,7 +2870,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
2824
2870
|
}
|
|
2825
2871
|
});
|
|
2826
2872
|
|
|
2827
|
-
const _sfc_main$
|
|
2873
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2828
2874
|
__name: "SheetFooter",
|
|
2829
2875
|
props: {
|
|
2830
2876
|
class: {}
|
|
@@ -2842,7 +2888,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
2842
2888
|
}
|
|
2843
2889
|
});
|
|
2844
2890
|
|
|
2845
|
-
const _sfc_main$
|
|
2891
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
2846
2892
|
__name: "SheetHeader",
|
|
2847
2893
|
props: {
|
|
2848
2894
|
class: {}
|
|
@@ -2860,7 +2906,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
2860
2906
|
}
|
|
2861
2907
|
});
|
|
2862
2908
|
|
|
2863
|
-
const _sfc_main$
|
|
2909
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
2864
2910
|
__name: "SheetTitle",
|
|
2865
2911
|
props: {
|
|
2866
2912
|
asChild: { type: Boolean },
|
|
@@ -2887,7 +2933,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
2887
2933
|
}
|
|
2888
2934
|
});
|
|
2889
2935
|
|
|
2890
|
-
const _sfc_main$
|
|
2936
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
2891
2937
|
__name: "SheetTrigger",
|
|
2892
2938
|
props: {
|
|
2893
2939
|
asChild: { type: Boolean },
|
|
@@ -2920,7 +2966,7 @@ const _hoisted_3 = {
|
|
|
2920
2966
|
"data-sidebar": "sidebar",
|
|
2921
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"
|
|
2922
2968
|
};
|
|
2923
|
-
const _sfc_main$
|
|
2969
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
2924
2970
|
...{
|
|
2925
2971
|
inheritAttrs: false
|
|
2926
2972
|
},
|
|
@@ -2941,12 +2987,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2941
2987
|
class: unref(cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", props.class)
|
|
2942
2988
|
}, _ctx.$attrs), [
|
|
2943
2989
|
renderSlot(_ctx.$slots, "default")
|
|
2944
|
-
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2990
|
+
], 16)) : unref(isMobile) ? (openBlock(), createBlock(unref(_sfc_main$X), mergeProps({
|
|
2945
2991
|
key: 1,
|
|
2946
2992
|
open: unref(openMobile)
|
|
2947
2993
|
}, _ctx.$attrs, { "onUpdate:open": unref(setOpenMobile) }), {
|
|
2948
2994
|
default: withCtx(() => [
|
|
2949
|
-
createVNode(unref(_sfc_main$
|
|
2995
|
+
createVNode(unref(_sfc_main$U), {
|
|
2950
2996
|
"data-sidebar": "sidebar",
|
|
2951
2997
|
"data-slot": "sidebar",
|
|
2952
2998
|
"data-mobile": "true",
|
|
@@ -2957,15 +3003,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2957
3003
|
})
|
|
2958
3004
|
}, {
|
|
2959
3005
|
default: withCtx(() => [
|
|
2960
|
-
createVNode(_sfc_main$
|
|
3006
|
+
createVNode(_sfc_main$R, { class: "sr-only" }, {
|
|
2961
3007
|
default: withCtx(() => [
|
|
2962
|
-
createVNode(_sfc_main$
|
|
3008
|
+
createVNode(_sfc_main$Q, null, {
|
|
2963
3009
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
2964
3010
|
createTextVNode("Sidebar")
|
|
2965
3011
|
])),
|
|
2966
3012
|
_: 1
|
|
2967
3013
|
}),
|
|
2968
|
-
createVNode(_sfc_main$
|
|
3014
|
+
createVNode(_sfc_main$T, null, {
|
|
2969
3015
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
2970
3016
|
createTextVNode("Displays the mobile sidebar.")
|
|
2971
3017
|
])),
|
|
@@ -3019,7 +3065,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
3019
3065
|
}
|
|
3020
3066
|
});
|
|
3021
3067
|
|
|
3022
|
-
const _sfc_main$
|
|
3068
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
3023
3069
|
__name: "SidebarContent",
|
|
3024
3070
|
props: {
|
|
3025
3071
|
class: {}
|
|
@@ -3043,7 +3089,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
3043
3089
|
}
|
|
3044
3090
|
});
|
|
3045
3091
|
|
|
3046
|
-
const _sfc_main$
|
|
3092
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
3047
3093
|
__name: "SidebarFooter",
|
|
3048
3094
|
props: {
|
|
3049
3095
|
class: {}
|
|
@@ -3062,8 +3108,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
3062
3108
|
}
|
|
3063
3109
|
});
|
|
3064
3110
|
|
|
3065
|
-
const _sfc_main$
|
|
3066
|
-
__name: "
|
|
3111
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
3112
|
+
__name: "SidebarGroup",
|
|
3067
3113
|
props: {
|
|
3068
3114
|
class: {}
|
|
3069
3115
|
},
|
|
@@ -3071,9 +3117,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3071
3117
|
const props = __props;
|
|
3072
3118
|
return (_ctx, _cache) => {
|
|
3073
3119
|
return openBlock(), createElementBlock("div", {
|
|
3074
|
-
"data-slot": "sidebar-
|
|
3075
|
-
"data-sidebar": "
|
|
3076
|
-
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))
|
|
3077
3123
|
}, [
|
|
3078
3124
|
renderSlot(_ctx.$slots, "default")
|
|
3079
3125
|
], 2);
|
|
@@ -3081,23 +3127,51 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
3081
3127
|
}
|
|
3082
3128
|
});
|
|
3083
3129
|
|
|
3084
|
-
const _sfc_main$
|
|
3085
|
-
__name: "
|
|
3130
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
3131
|
+
__name: "SidebarGroupAction",
|
|
3086
3132
|
props: {
|
|
3133
|
+
asChild: { type: Boolean },
|
|
3134
|
+
as: {},
|
|
3087
3135
|
class: {}
|
|
3088
3136
|
},
|
|
3089
3137
|
setup(__props) {
|
|
3090
3138
|
const props = __props;
|
|
3091
3139
|
return (_ctx, _cache) => {
|
|
3092
|
-
return openBlock(),
|
|
3093
|
-
"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,
|
|
3094
3145
|
class: normalizeClass(
|
|
3095
3146
|
unref(cn)(
|
|
3096
|
-
"bg-
|
|
3097
|
-
"
|
|
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",
|
|
3098
3150
|
props.class
|
|
3099
3151
|
)
|
|
3100
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))
|
|
3101
3175
|
}, [
|
|
3102
3176
|
renderSlot(_ctx.$slots, "default")
|
|
3103
3177
|
], 2);
|
|
@@ -3105,34 +3179,195 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
3105
3179
|
}
|
|
3106
3180
|
});
|
|
3107
3181
|
|
|
3108
|
-
const _sfc_main$
|
|
3109
|
-
__name: "
|
|
3182
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
3183
|
+
__name: "SidebarGroupLabel",
|
|
3110
3184
|
props: {
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
disableHoverableContent: { type: Boolean },
|
|
3115
|
-
disableClosingTrigger: { type: Boolean },
|
|
3116
|
-
disabled: { type: Boolean },
|
|
3117
|
-
ignoreNonKeyboardFocus: { type: Boolean }
|
|
3185
|
+
asChild: { type: Boolean },
|
|
3186
|
+
as: {},
|
|
3187
|
+
class: {}
|
|
3118
3188
|
},
|
|
3119
|
-
|
|
3120
|
-
setup(__props, { emit: __emit }) {
|
|
3189
|
+
setup(__props) {
|
|
3121
3190
|
const props = __props;
|
|
3122
|
-
const emits = __emit;
|
|
3123
|
-
const forwarded = useForwardPropsEmits(props, emits);
|
|
3124
3191
|
return (_ctx, _cache) => {
|
|
3125
|
-
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
|
+
}, {
|
|
3126
3205
|
default: withCtx(() => [
|
|
3127
3206
|
renderSlot(_ctx.$slots, "default")
|
|
3128
3207
|
]),
|
|
3129
3208
|
_: 3
|
|
3130
|
-
},
|
|
3209
|
+
}, 8, ["as", "as-child", "class"]);
|
|
3131
3210
|
};
|
|
3132
3211
|
}
|
|
3133
3212
|
});
|
|
3134
3213
|
|
|
3135
|
-
const _sfc_main$
|
|
3214
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
3215
|
+
__name: "SidebarHeader",
|
|
3216
|
+
props: {
|
|
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({
|
|
3136
3371
|
...{
|
|
3137
3372
|
inheritAttrs: false
|
|
3138
3373
|
},
|
|
@@ -3184,7 +3419,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
3184
3419
|
}
|
|
3185
3420
|
});
|
|
3186
3421
|
|
|
3187
|
-
const _sfc_main$
|
|
3422
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
3188
3423
|
__name: "TooltipProvider",
|
|
3189
3424
|
props: {
|
|
3190
3425
|
delayDuration: { default: 0 },
|
|
@@ -3207,7 +3442,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
3207
3442
|
}
|
|
3208
3443
|
});
|
|
3209
3444
|
|
|
3210
|
-
const _sfc_main$
|
|
3445
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
3211
3446
|
__name: "TooltipTrigger",
|
|
3212
3447
|
props: {
|
|
3213
3448
|
reference: {},
|
|
@@ -3227,7 +3462,116 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
3227
3462
|
}
|
|
3228
3463
|
});
|
|
3229
3464
|
|
|
3230
|
-
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({
|
|
3231
3575
|
__name: "Skeleton",
|
|
3232
3576
|
props: {
|
|
3233
3577
|
class: {}
|
|
@@ -3243,7 +3587,122 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
3243
3587
|
}
|
|
3244
3588
|
});
|
|
3245
3589
|
|
|
3246
|
-
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({
|
|
3247
3706
|
__name: "SidebarProvider",
|
|
3248
3707
|
props: {
|
|
3249
3708
|
defaultOpen: { type: Boolean, default: true },
|
|
@@ -3309,7 +3768,91 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
3309
3768
|
}
|
|
3310
3769
|
});
|
|
3311
3770
|
|
|
3312
|
-
|
|
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(
|
|
3313
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",
|
|
3314
3857
|
{
|
|
3315
3858
|
variants: {
|
|
@@ -3337,23 +3880,23 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3337
3880
|
},
|
|
3338
3881
|
setup(__props) {
|
|
3339
3882
|
return (_ctx, _cache) => {
|
|
3340
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3883
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "default-open": _ctx.defaultOpen }, {
|
|
3341
3884
|
default: withCtx(() => [
|
|
3342
|
-
createVNode(unref(_sfc_main$
|
|
3885
|
+
createVNode(unref(_sfc_main$O), null, {
|
|
3343
3886
|
default: withCtx(() => [
|
|
3344
|
-
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3887
|
+
_ctx.$slots.header ? (openBlock(), createBlock(unref(_sfc_main$H), { key: 0 }, {
|
|
3345
3888
|
default: withCtx(() => [
|
|
3346
3889
|
renderSlot(_ctx.$slots, "header")
|
|
3347
3890
|
]),
|
|
3348
3891
|
_: 3
|
|
3349
3892
|
})) : createCommentVNode("", true),
|
|
3350
|
-
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3893
|
+
_ctx.$slots.content ? (openBlock(), createBlock(unref(_sfc_main$N), { key: 1 }, {
|
|
3351
3894
|
default: withCtx(() => [
|
|
3352
3895
|
renderSlot(_ctx.$slots, "content")
|
|
3353
3896
|
]),
|
|
3354
3897
|
_: 3
|
|
3355
3898
|
})) : createCommentVNode("", true),
|
|
3356
|
-
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3899
|
+
_ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$M), { key: 2 }, {
|
|
3357
3900
|
default: withCtx(() => [
|
|
3358
3901
|
renderSlot(_ctx.$slots, "footer")
|
|
3359
3902
|
]),
|
|
@@ -3362,12 +3905,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3362
3905
|
]),
|
|
3363
3906
|
_: 3
|
|
3364
3907
|
}),
|
|
3365
|
-
|
|
3908
|
+
_ctx.$slots.inset ? (openBlock(), createBlock(unref(_sfc_main$G), { key: 0 }, {
|
|
3366
3909
|
default: withCtx(() => [
|
|
3367
3910
|
renderSlot(_ctx.$slots, "inset")
|
|
3368
3911
|
]),
|
|
3369
3912
|
_: 3
|
|
3370
|
-
})
|
|
3913
|
+
})) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
3371
3914
|
]),
|
|
3372
3915
|
_: 3
|
|
3373
3916
|
}, 8, ["default-open"]);
|
|
@@ -3635,7 +4178,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3635
4178
|
return (_ctx, _cache) => {
|
|
3636
4179
|
return openBlock(), createBlock(unref(_sfc_main$i), null, {
|
|
3637
4180
|
default: withCtx(() => [
|
|
3638
|
-
createVNode(unref(_sfc_main$
|
|
4181
|
+
createVNode(unref(_sfc_main$1f), {
|
|
3639
4182
|
to: _ctx.to,
|
|
3640
4183
|
label: _ctx.label,
|
|
3641
4184
|
class: normalizeClass(unref(cn)("flex w-full", _ctx.linkClass))
|
|
@@ -4148,4 +4691,4 @@ function localRef(key, initial, options) {
|
|
|
4148
4691
|
});
|
|
4149
4692
|
}
|
|
4150
4693
|
|
|
4151
|
-
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 };
|