@typlog/ui 0.12.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/components.js CHANGED
@@ -1,9 +1,11 @@
1
- import { defineComponent, toRefs, createBlock, openBlock, unref, withCtx, createVNode, renderSlot, markRaw, createElementBlock, createElementVNode, computed, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, mergeProps, mergeModels, useTemplateRef, useModel, withDirectives, isRef, vModelDynamic, vModelText, onMounted, normalizeStyle, normalizeProps, guardReactiveProps, Fragment, ref, watch, renderList, withModifiers, vModelRadio, effectScope, createStaticVNode, resolveDynamicComponent } from "vue";
2
- import { createContext, TooltipProvider, Primitive, useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, injectDialogRootContext, useForwardExpose, DialogPortal, DialogOverlay, DialogContent, useForwardPropsEmits, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, DropdownMenuPortal, DropdownMenuContent, DropdownMenuItem, PopoverPortal, PopoverContent, SwitchRoot, SwitchThumb, CheckboxRoot, CheckboxIndicator, Toggle, ToggleGroupRoot, ToggleGroupItem, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectTrigger, SelectValue, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, ComboboxRoot, injectComboboxRootContext as injectComboboxRootContext$1, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxEmpty, RadioGroupRoot, RadioGroupItem, TabsList, TabsIndicator, TabsTrigger, EditableRoot, EditableArea, EditablePreview, EditableInput, AccordionRoot, useId, AccordionItem, AccordionContent, AccordionTrigger, CollapsibleRoot, CollapsibleTrigger, CollapsibleContent, ToastRoot, ToastTitle, ToastDescription, ToastAction, ToastProvider, ToastPortal, ToastViewport, TooltipRoot, TooltipTrigger, TooltipPortal, TooltipContent, TooltipArrow, ProgressRoot, ProgressIndicator } from "reka-ui";
3
- import { AlertDialogAction, AlertDialogCancel, AlertDialogRoot, AlertDialogTrigger, CheckboxGroupRoot, ComboboxGroup, DialogClose, DialogRoot, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, PopoverClose, PopoverRoot, PopoverTrigger, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
4
- import { Icon } from "@iconify/vue";
1
+ import { defineComponent, toRefs, createBlock, openBlock, unref, withCtx, createVNode, mergeProps, renderSlot, markRaw, createElementBlock, createElementVNode, computed, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, normalizeStyle, normalizeProps, guardReactiveProps, useAttrs, mergeModels, useTemplateRef, useModel, withDirectives, isRef, vModelDynamic, vModelText, onMounted, Fragment, ref, watch, renderList, withModifiers, vModelRadio, effectScope, createStaticVNode, resolveDynamicComponent } from "vue";
2
+ import { createContext, TooltipProvider, Primitive, useForwardProps, useEmitAsProps, AvatarRoot, AvatarImage, AvatarFallback, ScrollAreaRoot, ScrollAreaViewport, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaCorner, TooltipRoot, TooltipTrigger, TooltipPortal, TooltipContent, TooltipArrow, DialogClose, injectDialogRootContext, useForwardExpose, DialogPortal, DialogOverlay, DialogContent, useForwardPropsEmits, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, DropdownMenuPortal, DropdownMenuContent, DropdownMenuItem, PopoverPortal, PopoverContent, NavigationMenuRoot, NavigationMenuViewport, NavigationMenuList, NavigationMenuIndicator, NavigationMenuLink, NavigationMenuTrigger, NavigationMenuContent, SwitchRoot, SwitchThumb, CheckboxRoot, CheckboxIndicator, Toggle, ToggleGroupRoot, ToggleGroupItem, SelectRoot, SelectPortal, SelectContent, SelectViewport, SelectTrigger, SelectValue, SelectItem, SelectItemIndicator, SelectItemText, SelectLabel, ComboboxRoot, injectComboboxRootContext as injectComboboxRootContext$1, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxItem, ComboboxItemIndicator, ComboboxLabel, ComboboxEmpty, RadioGroupRoot, RadioGroupItem, TabsList, TabsIndicator, TabsTrigger, EditableRoot, EditableArea, EditablePreview, EditableInput, AccordionRoot, useId, AccordionItem, AccordionContent, AccordionTrigger, CollapsibleRoot, CollapsibleTrigger, CollapsibleContent, injectPaginationRootContext, PaginationEllipsis, PaginationRoot, PaginationList, PaginationFirst, PaginationPrev, PaginationListItem, PaginationNext, PaginationLast, ToastRoot, ToastTitle, ToastDescription, ToastAction, ToastProvider, ToastPortal, ToastViewport, ProgressRoot, ProgressIndicator } from "reka-ui";
3
+ import { AlertDialogAction, AlertDialogCancel, AlertDialogRoot, AlertDialogTrigger, CheckboxGroupRoot, ComboboxGroup, DialogClose as DialogClose2, DialogRoot, DialogTrigger, DropdownMenuRoot, DropdownMenuTrigger, NavigationMenuItem, PopoverClose, PopoverRoot, PopoverTrigger, SelectGroup, TabsContent, TabsRoot } from "reka-ui";
5
4
  const [injectThemeContext, provideThemeContext] = createContext("ThemeProvider");
6
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
5
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
6
+ ...{
7
+ inheritAttrs: false
8
+ },
7
9
  __name: "ThemeProvider",
8
10
  props: {
9
11
  accentColor: { default: "indigo" },
@@ -29,7 +31,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
29
31
  return (_ctx, _cache) => {
30
32
  return openBlock(), createBlock(unref(TooltipProvider), null, {
31
33
  default: withCtx(() => [
32
- createVNode(unref(Primitive), {
34
+ createVNode(unref(Primitive), mergeProps({
33
35
  class: "ui-root",
34
36
  "data-accent-color": unref(accentColor),
35
37
  "data-gray-color": unref(grayColor),
@@ -39,32 +41,32 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
39
41
  "data-has-background": unref(hasBackground),
40
42
  as: props.as,
41
43
  "as-child": props.asChild
42
- }, {
44
+ }, _ctx.$attrs), {
43
45
  default: withCtx(() => [
44
46
  renderSlot(_ctx.$slots, "default")
45
47
  ]),
46
48
  _: 3
47
- }, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling", "data-panel-background", "data-has-background", "as", "as-child"])
49
+ }, 16, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling", "data-panel-background", "data-has-background", "as", "as-child"])
48
50
  ]),
49
51
  _: 3
50
52
  });
51
53
  };
52
54
  }
53
55
  });
54
- const _hoisted_1$v = {
56
+ const _hoisted_1$A = {
55
57
  viewBox: "0 0 24 24",
56
58
  width: "1em",
57
59
  height: "1em"
58
60
  };
59
- function render$9(_ctx, _cache) {
60
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _cache[0] || (_cache[0] = [
61
+ function render$e(_ctx, _cache) {
62
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, [..._cache[0] || (_cache[0] = [
61
63
  createElementVNode("path", {
62
64
  fill: "currentColor",
63
65
  d: "M4 22a8 8 0 1 1 16 0h-2a6 6 0 0 0-12 0zm8-9c-3.315 0-6-2.685-6-6s2.685-6 6-6s6 2.685 6 6s-2.685 6-6 6m0-2c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4"
64
66
  }, null, -1)
65
- ]));
67
+ ])]);
66
68
  }
67
- const UserIcon = markRaw({ name: "ri-user-line", render: render$9 });
69
+ const UserIcon = markRaw({ name: "ri-user-line", render: render$e });
68
70
  function useForwardPropsWithout(props, exclude) {
69
71
  const parsedProps = useForwardProps(props);
70
72
  return computed(() => ({
@@ -111,7 +113,7 @@ function kebabize(str) {
111
113
  function _kebabReplace(str, ofs) {
112
114
  return (ofs ? "-" : "") + str.toLowerCase();
113
115
  }
114
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
116
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
115
117
  __name: "Avatar",
116
118
  props: {
117
119
  alt: {},
@@ -171,7 +173,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
171
173
  };
172
174
  }
173
175
  });
174
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
176
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
175
177
  __name: "Badge",
176
178
  props: {
177
179
  variant: { default: "soft" },
@@ -201,7 +203,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
201
203
  };
202
204
  }
203
205
  });
204
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
206
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
205
207
  __name: "Card",
206
208
  props: {
207
209
  variant: { default: "surface" },
@@ -228,7 +230,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
228
230
  };
229
231
  }
230
232
  });
231
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
233
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
232
234
  __name: "Button",
233
235
  props: {
234
236
  variant: { default: "solid" },
@@ -261,7 +263,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
261
263
  };
262
264
  }
263
265
  });
264
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
266
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
265
267
  __name: "IconButton",
266
268
  props: {
267
269
  variant: { default: "solid" },
@@ -294,23 +296,23 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
294
296
  };
295
297
  }
296
298
  });
297
- const _hoisted_1$u = {
299
+ const _hoisted_1$z = {
298
300
  viewBox: "0 0 15 15",
299
301
  width: "1em",
300
302
  height: "1em"
301
303
  };
302
- function render$8(_ctx, _cache) {
303
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _cache[0] || (_cache[0] = [
304
+ function render$d(_ctx, _cache) {
305
+ return openBlock(), createElementBlock("svg", _hoisted_1$z, [..._cache[0] || (_cache[0] = [
304
306
  createElementVNode("path", {
305
307
  fill: "currentColor",
306
308
  "fill-rule": "evenodd",
307
309
  d: "M11.782 4.032a.575.575 0 1 0-.813-.814L7.5 6.687L4.032 3.218a.575.575 0 0 0-.814.814L6.687 7.5l-3.469 3.468a.575.575 0 0 0 .814.814L7.5 8.313l3.469 3.469a.575.575 0 0 0 .813-.814L8.313 7.5z",
308
310
  "clip-rule": "evenodd"
309
311
  }, null, -1)
310
- ]));
312
+ ])]);
311
313
  }
312
- const CrossIcon = markRaw({ name: "radix-icons-cross-2", render: render$8 });
313
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
314
+ const CrossIcon = markRaw({ name: "radix-icons-cross-2", render: render$d });
315
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
314
316
  __name: "CloseButton",
315
317
  props: {
316
318
  variant: { default: "ghost" },
@@ -343,7 +345,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
343
345
  };
344
346
  }
345
347
  });
346
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
348
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
347
349
  __name: "ScrollArea",
348
350
  props: {
349
351
  size: { default: "1" },
@@ -401,13 +403,182 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
401
403
  "class-name": "ui-ScrollAreaCorner"
402
404
  })) : createCommentVNode("", true)
403
405
  ]),
404
- _: 3,
405
- __: [0]
406
+ _: 3
406
407
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]);
407
408
  };
408
409
  }
409
410
  });
410
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
411
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
412
+ __name: "ThemeWrapper",
413
+ props: {
414
+ accentColor: {},
415
+ radius: {}
416
+ },
417
+ setup(__props) {
418
+ const props = __props;
419
+ const theme = injectThemeContext();
420
+ return (_ctx, _cache) => {
421
+ return openBlock(), createBlock(unref(Primitive), {
422
+ class: "ui-root",
423
+ "data-accent-color": props.accentColor || unref(theme).accentColor.value,
424
+ "data-gray-color": unref(theme).grayColor.value,
425
+ "data-radius": props.radius || unref(theme).radius.value,
426
+ "data-scaling": unref(theme).scaling.value,
427
+ "as-child": ""
428
+ }, {
429
+ default: withCtx(() => [
430
+ renderSlot(_ctx.$slots, "default")
431
+ ]),
432
+ _: 3
433
+ }, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling"]);
434
+ };
435
+ }
436
+ });
437
+ const _hoisted_1$y = ["textContent"];
438
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
439
+ ...{
440
+ inheritAttrs: false
441
+ },
442
+ __name: "Tooltip",
443
+ props: {
444
+ content: {},
445
+ maxWidth: { default: "360px" },
446
+ color: { default: "gray" },
447
+ defaultOpen: { type: Boolean },
448
+ open: { type: Boolean },
449
+ delayDuration: {},
450
+ disableHoverableContent: { type: Boolean },
451
+ disableClosingTrigger: { type: Boolean },
452
+ disabled: { type: Boolean },
453
+ ignoreNonKeyboardFocus: { type: Boolean },
454
+ forceMount: { type: Boolean },
455
+ ariaLabel: {},
456
+ asChild: { type: Boolean },
457
+ as: {},
458
+ side: { default: "top" },
459
+ sideOffset: { default: 4 },
460
+ align: {},
461
+ alignOffset: {},
462
+ avoidCollisions: { type: Boolean, default: true },
463
+ collisionBoundary: {},
464
+ collisionPadding: { default: 10 },
465
+ arrowPadding: {},
466
+ sticky: {},
467
+ hideWhenDetached: { type: Boolean },
468
+ positionStrategy: {},
469
+ updatePositionStrategy: {}
470
+ },
471
+ emits: ["update:open"],
472
+ setup(__props, { emit: __emit }) {
473
+ const props = __props;
474
+ const emits = __emit;
475
+ return (_ctx, _cache) => {
476
+ return openBlock(), createBlock(unref(TooltipRoot), {
477
+ open: props.open,
478
+ "default-open": props.defaultOpen,
479
+ "delay-duration": props.delayDuration,
480
+ "disable-hoverable-content": props.disableHoverableContent,
481
+ "disable-closing-trigger": props.disableClosingTrigger,
482
+ disabled: props.disabled,
483
+ "ignore-non-keyboard-focus": props.ignoreNonKeyboardFocus,
484
+ "onUpdate:open": _cache[0] || (_cache[0] = ($event) => emits("update:open", $event))
485
+ }, {
486
+ default: withCtx(() => [
487
+ createVNode(unref(TooltipTrigger), mergeProps({
488
+ as: props.as,
489
+ "as-child": props.asChild
490
+ }, _ctx.$attrs), {
491
+ default: withCtx(() => [
492
+ renderSlot(_ctx.$slots, "default")
493
+ ]),
494
+ _: 3
495
+ }, 16, ["as", "as-child"]),
496
+ createVNode(unref(TooltipPortal), null, {
497
+ default: withCtx(() => [
498
+ createVNode(_sfc_main$$, null, {
499
+ default: withCtx(() => [
500
+ createVNode(unref(TooltipContent), {
501
+ class: "ui-Tooltip",
502
+ align: props.align,
503
+ "align-offset": props.alignOffset,
504
+ "aria-label": props.ariaLabel,
505
+ "arrow-padding": props.arrowPadding,
506
+ "avoid-collisions": props.avoidCollisions,
507
+ "collision-boundary": props.collisionBoundary,
508
+ "collision-padding": props.collisionPadding,
509
+ "hide-when-detached": props.hideWhenDetached,
510
+ side: props.side,
511
+ "side-offset": props.sideOffset,
512
+ sticky: props.sticky,
513
+ "data-accent-color": props.color,
514
+ style: normalizeStyle({ maxWidth: props.maxWidth })
515
+ }, {
516
+ default: withCtx(() => [
517
+ renderSlot(_ctx.$slots, "content", {}, () => [
518
+ createElementVNode("p", {
519
+ class: "ui-TooltipText",
520
+ textContent: toDisplayString(props.content)
521
+ }, null, 8, _hoisted_1$y)
522
+ ]),
523
+ createVNode(unref(TooltipArrow), { class: "ui-TooltipArrow" })
524
+ ]),
525
+ _: 3
526
+ }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky", "data-accent-color", "style"])
527
+ ]),
528
+ _: 3
529
+ })
530
+ ]),
531
+ _: 3
532
+ })
533
+ ]),
534
+ _: 3
535
+ }, 8, ["open", "default-open", "delay-duration", "disable-hoverable-content", "disable-closing-trigger", "disabled", "ignore-non-keyboard-focus"]);
536
+ };
537
+ }
538
+ });
539
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
540
+ __name: "DialogCloseButton",
541
+ props: {
542
+ tooltip: { default: "Close" },
543
+ variant: { default: "ghost" },
544
+ color: { default: "gray" },
545
+ radius: {},
546
+ size: { default: "2" },
547
+ highContrast: { type: Boolean, default: false },
548
+ disabled: { type: Boolean },
549
+ as: { default: "button" },
550
+ asChild: { type: Boolean }
551
+ },
552
+ setup(__props) {
553
+ const props = __props;
554
+ const forwarded = useForwardPropsWithout(props, ["tooltip"]);
555
+ return (_ctx, _cache) => {
556
+ return openBlock(), createBlock(_sfc_main$_, {
557
+ content: props.tooltip,
558
+ "as-child": ""
559
+ }, {
560
+ default: withCtx(() => [
561
+ createVNode(unref(DialogClose), {
562
+ class: "ui-DialogCloseButton",
563
+ "as-child": ""
564
+ }, {
565
+ default: withCtx(() => [
566
+ createVNode(_sfc_main$12, normalizeProps(guardReactiveProps(unref(forwarded))), {
567
+ default: withCtx(() => [
568
+ createVNode(unref(CrossIcon))
569
+ ]),
570
+ _: 1
571
+ }, 16)
572
+ ]),
573
+ _: 1
574
+ })
575
+ ]),
576
+ _: 1
577
+ }, 8, ["content"]);
578
+ };
579
+ }
580
+ });
581
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
411
582
  __name: "DialogTitle",
412
583
  props: {
413
584
  asChild: { type: Boolean },
@@ -430,7 +601,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
430
601
  };
431
602
  }
432
603
  });
433
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
604
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
434
605
  __name: "DialogDescription",
435
606
  props: {
436
607
  asChild: { type: Boolean },
@@ -453,35 +624,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
453
624
  };
454
625
  }
455
626
  });
456
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
457
- __name: "ThemeWrapper",
458
- props: {
459
- accentColor: {},
460
- radius: {}
461
- },
462
- setup(__props) {
463
- const props = __props;
464
- const theme = injectThemeContext();
465
- return (_ctx, _cache) => {
466
- return openBlock(), createBlock(unref(Primitive), {
467
- class: "ui-root",
468
- "data-accent-color": props.accentColor || unref(theme).accentColor.value,
469
- "data-gray-color": unref(theme).grayColor.value,
470
- "data-radius": props.radius || unref(theme).radius.value,
471
- "data-scaling": unref(theme).scaling.value,
472
- "as-child": ""
473
- }, {
474
- default: withCtx(() => [
475
- renderSlot(_ctx.$slots, "default")
476
- ]),
477
- _: 3
478
- }, 8, ["data-accent-color", "data-gray-color", "data-radius", "data-scaling"]);
479
- };
480
- }
481
- });
482
- const _hoisted_1$t = { class: "ui-DialogWrapper" };
627
+ const _hoisted_1$x = { class: "ui-DialogWrapper" };
483
628
  const _hoisted_2$8 = { class: "ui-DialogContainer" };
484
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
629
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
485
630
  ...{
486
631
  inheritAttrs: false
487
632
  },
@@ -501,11 +646,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
501
646
  return (_ctx, _cache) => {
502
647
  return openBlock(), createBlock(unref(DialogPortal), null, {
503
648
  default: withCtx(() => [
504
- createVNode(_sfc_main$S, null, {
649
+ createVNode(_sfc_main$$, null, {
505
650
  default: withCtx(() => [
506
651
  createVNode(unref(DialogOverlay), { class: "ui-DialogOverlay" }, {
507
652
  default: withCtx(() => [
508
- createElementVNode("div", _hoisted_1$t, [
653
+ createElementVNode("div", _hoisted_1$x, [
509
654
  createElementVNode("div", _hoisted_2$8, [
510
655
  createVNode(unref(DialogContent), mergeProps({
511
656
  class: ["ui-DialogPopup", `r-size-${props.size}`]
@@ -532,9 +677,9 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
532
677
  };
533
678
  }
534
679
  });
535
- const _hoisted_1$s = { class: "ui-DialogWrapper" };
680
+ const _hoisted_1$w = { class: "ui-DialogWrapper" };
536
681
  const _hoisted_2$7 = { class: "ui-DialogContainer" };
537
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
682
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
538
683
  ...{
539
684
  inheritAttrs: false
540
685
  },
@@ -553,11 +698,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
553
698
  return (_ctx, _cache) => {
554
699
  return openBlock(), createBlock(unref(AlertDialogPortal), null, {
555
700
  default: withCtx(() => [
556
- createVNode(_sfc_main$S, null, {
701
+ createVNode(_sfc_main$$, null, {
557
702
  default: withCtx(() => [
558
703
  createVNode(unref(AlertDialogOverlay), { class: "ui-DialogOverlay" }, {
559
704
  default: withCtx(() => [
560
- createElementVNode("div", _hoisted_1$s, [
705
+ createElementVNode("div", _hoisted_1$w, [
561
706
  createElementVNode("div", _hoisted_2$7, [
562
707
  createVNode(unref(AlertDialogContent), mergeProps({ class: "ui-DialogPopup ui-AlertPopup r-size-3" }, {
563
708
  ..._ctx.$attrs,
@@ -582,9 +727,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
582
727
  };
583
728
  }
584
729
  });
585
- const _hoisted_1$r = { class: "ui-MenuViewport" };
730
+ const _hoisted_1$v = { class: "ui-MenuViewport" };
586
731
  const [injectDropdownMenuContentContext, provideDropdownMenuContentContext] = createContext("ui:DropdownMenuContent");
587
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
732
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
588
733
  ...{
589
734
  inheritAttrs: false
590
735
  },
@@ -634,7 +779,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
634
779
  return (_ctx, _cache) => {
635
780
  return openBlock(), createBlock(unref(DropdownMenuPortal), null, {
636
781
  default: withCtx(() => [
637
- createVNode(_sfc_main$S, {
782
+ createVNode(_sfc_main$$, {
638
783
  "accent-color": props.color
639
784
  }, {
640
785
  default: withCtx(() => [
@@ -646,9 +791,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
646
791
  class: ["ui-PopperContent ui-MenuContent", unref(resetClass)]
647
792
  }), {
648
793
  default: withCtx(() => [
649
- createVNode(_sfc_main$V, { type: "auto" }, {
794
+ createVNode(_sfc_main$10, { type: "auto" }, {
650
795
  default: withCtx(() => [
651
- createElementVNode("div", _hoisted_1$r, [
796
+ createElementVNode("div", _hoisted_1$v, [
652
797
  renderSlot(_ctx.$slots, "default")
653
798
  ])
654
799
  ]),
@@ -666,8 +811,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
666
811
  };
667
812
  }
668
813
  });
669
- const _hoisted_1$q = ["textContent"];
670
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
814
+ const _hoisted_1$u = ["textContent"];
815
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
671
816
  __name: "DropdownMenuItem",
672
817
  props: {
673
818
  color: {},
@@ -687,8 +832,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
687
832
  return (_ctx, _cache) => {
688
833
  return openBlock(), createBlock(unref(DropdownMenuItem), mergeProps({
689
834
  class: "ui-MenuItem",
690
- "data-accent-color": props.color,
691
- "data-variant": unref(rootContext).variant.value,
835
+ "data-accent-color": props.color || unref(rootContext).color.value,
692
836
  "data-high-contrast": unref(rootContext).highContrast?.value || void 0
693
837
  }, unref(forwarded)), {
694
838
  default: withCtx(() => [
@@ -697,10 +841,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
697
841
  key: 0,
698
842
  class: "ui-MenuShortcut",
699
843
  textContent: toDisplayString(props.shortcut)
700
- }, null, 8, _hoisted_1$q)) : createCommentVNode("", true)
844
+ }, null, 8, _hoisted_1$u)) : createCommentVNode("", true)
701
845
  ]),
702
846
  _: 3
703
- }, 16, ["data-accent-color", "data-variant", "data-high-contrast"]);
847
+ }, 16, ["data-accent-color", "data-high-contrast"]);
704
848
  };
705
849
  }
706
850
  });
@@ -711,16 +855,16 @@ const _export_sfc = (sfc, props) => {
711
855
  }
712
856
  return target;
713
857
  };
714
- const _sfc_main$N = {};
715
- const _hoisted_1$p = {
858
+ const _sfc_main$S = {};
859
+ const _hoisted_1$t = {
716
860
  class: "ui-DropdownMenuSeparator",
717
861
  "aria-hidden": "true"
718
862
  };
719
863
  function _sfc_render$2(_ctx, _cache) {
720
- return openBlock(), createElementBlock("div", _hoisted_1$p);
864
+ return openBlock(), createElementBlock("div", _hoisted_1$t);
721
865
  }
722
- const DropdownMenuSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$2]]);
723
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
866
+ const DropdownMenuSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$2]]);
867
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
724
868
  ...{
725
869
  inheritAttrs: false
726
870
  },
@@ -757,7 +901,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
757
901
  return (_ctx, _cache) => {
758
902
  return openBlock(), createBlock(unref(PopoverPortal), null, {
759
903
  default: withCtx(() => [
760
- createVNode(_sfc_main$S, null, {
904
+ createVNode(_sfc_main$$, null, {
761
905
  default: withCtx(() => [
762
906
  createVNode(unref(PopoverContent), mergeProps({ ..._ctx.$attrs, ...unref(forwarded) }, {
763
907
  class: ["ui-PopoverPopup ui-PopperContent", `r-size-${props.size}`]
@@ -772,7 +916,190 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
772
916
  })
773
917
  ]),
774
918
  _: 3
775
- });
919
+ });
920
+ };
921
+ }
922
+ });
923
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
924
+ __name: "NavigationMenuRoot",
925
+ props: {
926
+ modelValue: {},
927
+ defaultValue: {},
928
+ dir: {},
929
+ orientation: {},
930
+ delayDuration: {},
931
+ skipDelayDuration: {},
932
+ disableClickTrigger: { type: Boolean },
933
+ disableHoverTrigger: { type: Boolean },
934
+ disablePointerLeaveClose: { type: Boolean },
935
+ unmountOnHide: { type: Boolean },
936
+ asChild: { type: Boolean },
937
+ as: {}
938
+ },
939
+ emits: ["update:modelValue"],
940
+ setup(__props, { emit: __emit }) {
941
+ const props = __props;
942
+ const emits = __emit;
943
+ const forwarded = useForwardPropsEmits(props, emits);
944
+ return (_ctx, _cache) => {
945
+ return openBlock(), createBlock(unref(NavigationMenuRoot), mergeProps(unref(forwarded), { class: "ui-NavigationMenuRoot" }), {
946
+ default: withCtx(() => [
947
+ renderSlot(_ctx.$slots, "default"),
948
+ createVNode(unref(NavigationMenuViewport), { class: "ui-NavigationMenuViewport" })
949
+ ]),
950
+ _: 3
951
+ }, 16);
952
+ };
953
+ }
954
+ });
955
+ const [injectNavigationMenuListContext, provideNavigationMenuListContext] = createContext("ui:NavigationMenuList");
956
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
957
+ __name: "NavigationMenuList",
958
+ props: {
959
+ color: {},
960
+ size: { default: "2" },
961
+ radius: {},
962
+ asChild: { type: Boolean },
963
+ as: {}
964
+ },
965
+ setup(__props) {
966
+ const props = __props;
967
+ const forwarded = useForwardPropsWithout(props, ["color", "size", "radius"]);
968
+ const resetClass = buildPropsClass(props, ["size"]);
969
+ const { color, radius, size } = toRefs(props);
970
+ provideNavigationMenuListContext({
971
+ color,
972
+ radius,
973
+ size
974
+ });
975
+ return (_ctx, _cache) => {
976
+ return openBlock(), createBlock(unref(NavigationMenuList), mergeProps(unref(forwarded), {
977
+ class: ["ui-NavigationMenuList", unref(resetClass)]
978
+ }), {
979
+ default: withCtx(() => [
980
+ renderSlot(_ctx.$slots, "default"),
981
+ createVNode(unref(NavigationMenuIndicator), { class: "ui-NavigationMenuIndicator" })
982
+ ]),
983
+ _: 3
984
+ }, 16, ["class"]);
985
+ };
986
+ }
987
+ });
988
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
989
+ __name: "NavigationMenuLink",
990
+ props: {
991
+ color: {},
992
+ size: { default: "2" },
993
+ radius: {},
994
+ active: { type: Boolean },
995
+ asChild: { type: Boolean },
996
+ as: {}
997
+ },
998
+ emits: ["select"],
999
+ setup(__props, { emit: __emit }) {
1000
+ const props = __props;
1001
+ const emits = __emit;
1002
+ const ctx = injectNavigationMenuListContext(null);
1003
+ const forwarded = useForwardPropsEmitsWithout(props, emits, ["color", "size", "radius"]);
1004
+ const resetClass = computed(() => {
1005
+ const size = props.size || ctx?.size.value || "2";
1006
+ return `r-size-${size}`;
1007
+ });
1008
+ return (_ctx, _cache) => {
1009
+ return openBlock(), createBlock(unref(NavigationMenuLink), mergeProps({ class: "ui-NavigationMenuLink" }, unref(forwarded), {
1010
+ class: resetClass.value,
1011
+ "data-accent-color": props.color || unref(ctx)?.color.value,
1012
+ "data-radius": props.radius || unref(ctx)?.radius.value
1013
+ }), {
1014
+ default: withCtx(() => [
1015
+ renderSlot(_ctx.$slots, "default")
1016
+ ]),
1017
+ _: 3
1018
+ }, 16, ["class", "data-accent-color", "data-radius"]);
1019
+ };
1020
+ }
1021
+ });
1022
+ const _hoisted_1$s = {
1023
+ viewBox: "0 0 15 15",
1024
+ width: "1em",
1025
+ height: "1em"
1026
+ };
1027
+ function render$c(_ctx, _cache) {
1028
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, [..._cache[0] || (_cache[0] = [
1029
+ createElementVNode("path", {
1030
+ fill: "currentColor",
1031
+ "fill-rule": "evenodd",
1032
+ d: "M4.182 6.182a.45.45 0 0 1 .636 0L7.5 8.864l2.682-2.682a.45.45 0 0 1 .636.636l-3 3a.45.45 0 0 1-.636 0l-3-3a.45.45 0 0 1 0-.636",
1033
+ "clip-rule": "evenodd"
1034
+ }, null, -1)
1035
+ ])]);
1036
+ }
1037
+ const CaretDownIcon = markRaw({ name: "radix-icons-caret-down", render: render$c });
1038
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
1039
+ __name: "NavigationMenuTrigger",
1040
+ props: {
1041
+ color: {},
1042
+ size: {},
1043
+ radius: {},
1044
+ disabled: { type: Boolean },
1045
+ asChild: { type: Boolean },
1046
+ as: {}
1047
+ },
1048
+ setup(__props) {
1049
+ const props = __props;
1050
+ const ctx = injectNavigationMenuListContext(null);
1051
+ const forwarded = useForwardPropsWithout(props, ["color", "size", "radius"]);
1052
+ const attrs = useAttrs();
1053
+ const defaultAs = computed(() => {
1054
+ if (props.as) {
1055
+ return props.as;
1056
+ }
1057
+ if (attrs.href) {
1058
+ return "a";
1059
+ } else {
1060
+ return forwarded.value.as;
1061
+ }
1062
+ });
1063
+ const resetClass = computed(() => {
1064
+ const size = props.size || ctx?.size.value || "2";
1065
+ return `r-size-${size}`;
1066
+ });
1067
+ return (_ctx, _cache) => {
1068
+ return openBlock(), createBlock(unref(NavigationMenuTrigger), mergeProps({ class: "ui-NavigationMenuTrigger" }, unref(forwarded), {
1069
+ as: defaultAs.value,
1070
+ class: resetClass.value,
1071
+ "data-accent-color": props.color || unref(ctx)?.color.value,
1072
+ "data-radius": props.radius || unref(ctx)?.radius.value
1073
+ }), {
1074
+ default: withCtx(() => [
1075
+ renderSlot(_ctx.$slots, "default"),
1076
+ createVNode(unref(CaretDownIcon), { class: "ui-NavigationMenuTriggerArrow" })
1077
+ ]),
1078
+ _: 3
1079
+ }, 16, ["as", "class", "data-accent-color", "data-radius"]);
1080
+ };
1081
+ }
1082
+ });
1083
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1084
+ __name: "NavigationMenuContent",
1085
+ props: {
1086
+ forceMount: { type: Boolean },
1087
+ disableOutsidePointerEvents: { type: Boolean },
1088
+ asChild: { type: Boolean },
1089
+ as: {}
1090
+ },
1091
+ emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1092
+ setup(__props, { emit: __emit }) {
1093
+ const props = __props;
1094
+ const emits = __emit;
1095
+ const forwarded = useForwardPropsEmits(props, emits);
1096
+ return (_ctx, _cache) => {
1097
+ return openBlock(), createBlock(unref(NavigationMenuContent), mergeProps(unref(forwarded), { class: "ui-NavigationMenuContent" }), {
1098
+ default: withCtx(() => [
1099
+ renderSlot(_ctx.$slots, "default")
1100
+ ]),
1101
+ _: 3
1102
+ }, 16);
776
1103
  };
777
1104
  }
778
1105
  });
@@ -807,14 +1134,19 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
807
1134
  "data-radius": props.radius
808
1135
  }), {
809
1136
  default: withCtx(() => [
810
- createVNode(unref(SwitchThumb), { class: "ui-SwitchThumb" })
1137
+ createVNode(unref(SwitchThumb), { class: "ui-SwitchThumb" }, {
1138
+ default: withCtx(() => [
1139
+ renderSlot(_ctx.$slots, "default")
1140
+ ]),
1141
+ _: 3
1142
+ })
811
1143
  ]),
812
- _: 1
1144
+ _: 3
813
1145
  }, 16, ["class", "data-accent-color", "data-radius"]);
814
1146
  };
815
1147
  }
816
1148
  });
817
- const _hoisted_1$o = {
1149
+ const _hoisted_1$r = {
818
1150
  width: "9",
819
1151
  height: "9",
820
1152
  viewBox: "0 0 9 9",
@@ -867,7 +1199,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
867
1199
  "as-child": ""
868
1200
  }, {
869
1201
  default: withCtx(() => [
870
- (openBlock(), createElementBlock("svg", _hoisted_1$o, [
1202
+ (openBlock(), createElementBlock("svg", _hoisted_1$r, [
871
1203
  state === "indeterminate" ? (openBlock(), createElementBlock("path", _hoisted_2$6)) : (openBlock(), createElementBlock("path", _hoisted_3$2))
872
1204
  ]))
873
1205
  ]),
@@ -977,7 +1309,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
977
1309
  };
978
1310
  }
979
1311
  });
980
- const _hoisted_1$n = ["data-radius", "data-accent-color"];
1312
+ const _hoisted_1$q = ["data-radius", "data-accent-color"];
981
1313
  const _hoisted_2$5 = ["id", "type"];
982
1314
  const _hoisted_3$1 = ["id", "type"];
983
1315
  const _hoisted_4 = {
@@ -1070,11 +1402,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1070
1402
  _ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_5, [
1071
1403
  renderSlot(_ctx.$slots, "right")
1072
1404
  ])) : createCommentVNode("", true)
1073
- ], 42, _hoisted_1$n);
1405
+ ], 42, _hoisted_1$q);
1074
1406
  };
1075
1407
  }
1076
1408
  });
1077
- const _hoisted_1$m = ["data-accent-color", "data-radius"];
1409
+ const _hoisted_1$p = ["data-accent-color", "data-radius"];
1078
1410
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
1079
1411
  ...{
1080
1412
  inheritAttrs: false
@@ -1109,11 +1441,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1109
1441
  }, _ctx.$attrs, { class: "ui-TextAreaInput" }), null, 16), [
1110
1442
  [vModelText, modelValue.value]
1111
1443
  ])
1112
- ], 10, _hoisted_1$m);
1444
+ ], 10, _hoisted_1$p);
1113
1445
  };
1114
1446
  }
1115
1447
  });
1116
- const _hoisted_1$l = ["id"];
1448
+ const _hoisted_1$o = ["id"];
1117
1449
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
1118
1450
  __name: "ColorField",
1119
1451
  props: /* @__PURE__ */ mergeModels({
@@ -1150,7 +1482,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1150
1482
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
1151
1483
  class: "ui-ColorFieldInput",
1152
1484
  type: "color"
1153
- }, null, 8, _hoisted_1$l), [
1485
+ }, null, 8, _hoisted_1$o), [
1154
1486
  [vModelText, modelValue.value]
1155
1487
  ])
1156
1488
  ]),
@@ -1247,7 +1579,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
1247
1579
  return (_ctx, _cache) => {
1248
1580
  return openBlock(), createBlock(unref(SelectPortal), null, {
1249
1581
  default: withCtx(() => [
1250
- createVNode(_sfc_main$S, {
1582
+ createVNode(_sfc_main$$, {
1251
1583
  "accent-color": unref(context).color.value
1252
1584
  }, {
1253
1585
  default: withCtx(() => [
@@ -1287,8 +1619,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
1287
1619
  _: 1
1288
1620
  })
1289
1621
  ]),
1290
- _: 3,
1291
- __: [0]
1622
+ _: 3
1292
1623
  })
1293
1624
  ]),
1294
1625
  _: 3
@@ -1305,23 +1636,23 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
1305
1636
  };
1306
1637
  }
1307
1638
  });
1308
- const _hoisted_1$k = {
1639
+ const _hoisted_1$n = {
1309
1640
  viewBox: "0 0 15 15",
1310
1641
  width: "1em",
1311
1642
  height: "1em"
1312
1643
  };
1313
- function render$7(_ctx, _cache) {
1314
- return openBlock(), createElementBlock("svg", _hoisted_1$k, _cache[0] || (_cache[0] = [
1644
+ function render$b(_ctx, _cache) {
1645
+ return openBlock(), createElementBlock("svg", _hoisted_1$n, [..._cache[0] || (_cache[0] = [
1315
1646
  createElementVNode("path", {
1316
1647
  fill: "currentColor",
1317
1648
  "fill-rule": "evenodd",
1318
1649
  d: "M3.135 6.158a.5.5 0 0 1 .707-.023L7.5 9.565l3.658-3.43a.5.5 0 0 1 .684.73l-4 3.75a.5.5 0 0 1-.684 0l-4-3.75a.5.5 0 0 1-.023-.707",
1319
1650
  "clip-rule": "evenodd"
1320
1651
  }, null, -1)
1321
- ]));
1652
+ ])]);
1322
1653
  }
1323
- const ChevronDownIcon = markRaw({ name: "radix-icons-chevron-down", render: render$7 });
1324
- const _hoisted_1$j = { class: "ui-SelectTriggerInner" };
1654
+ const ChevronDownIcon = markRaw({ name: "radix-icons-chevron-down", render: render$b });
1655
+ const _hoisted_1$m = { class: "ui-SelectTriggerInner" };
1325
1656
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
1326
1657
  __name: "SelectTrigger",
1327
1658
  props: {
@@ -1347,7 +1678,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
1347
1678
  "data-radius": props.radius
1348
1679
  }, {
1349
1680
  default: withCtx(() => [
1350
- createElementVNode("span", _hoisted_1$j, [
1681
+ createElementVNode("span", _hoisted_1$m, [
1351
1682
  createVNode(unref(SelectValue), {
1352
1683
  placeholder: props.placeholder
1353
1684
  }, {
@@ -1372,22 +1703,22 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
1372
1703
  };
1373
1704
  }
1374
1705
  });
1375
- const _hoisted_1$i = {
1706
+ const _hoisted_1$l = {
1376
1707
  viewBox: "0 0 15 15",
1377
1708
  width: "1em",
1378
1709
  height: "1em"
1379
1710
  };
1380
- function render$6(_ctx, _cache) {
1381
- return openBlock(), createElementBlock("svg", _hoisted_1$i, _cache[0] || (_cache[0] = [
1711
+ function render$a(_ctx, _cache) {
1712
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, [..._cache[0] || (_cache[0] = [
1382
1713
  createElementVNode("path", {
1383
1714
  fill: "currentColor",
1384
1715
  "fill-rule": "evenodd",
1385
1716
  d: "M11.467 3.727c.289.189.37.576.181.865l-4.25 6.5a.625.625 0 0 1-.944.12l-2.75-2.5a.625.625 0 0 1 .841-.925l2.208 2.007l3.849-5.886a.625.625 0 0 1 .865-.181",
1386
1717
  "clip-rule": "evenodd"
1387
1718
  }, null, -1)
1388
- ]));
1719
+ ])]);
1389
1720
  }
1390
- const CheckIcon$1 = markRaw({ name: "radix-icons-check", render: render$6 });
1721
+ const CheckIcon$1 = markRaw({ name: "radix-icons-check", render: render$a });
1391
1722
  const _sfc_main$A = /* @__PURE__ */ defineComponent({
1392
1723
  __name: "SelectItem",
1393
1724
  props: {
@@ -1444,12 +1775,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
1444
1775
  }
1445
1776
  });
1446
1777
  const _sfc_main$y = {};
1447
- const _hoisted_1$h = {
1778
+ const _hoisted_1$k = {
1448
1779
  class: "ui-SelectSeparator",
1449
1780
  "aria-hidden": "true"
1450
1781
  };
1451
1782
  function _sfc_render$1(_ctx, _cache) {
1452
- return openBlock(), createElementBlock("div", _hoisted_1$h);
1783
+ return openBlock(), createElementBlock("div", _hoisted_1$k);
1453
1784
  }
1454
1785
  const SelectSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$1]]);
1455
1786
  const [injectComboboxRootContext, provideComboboxRootContext] = createContext("ui:ComboboxRoot");
@@ -1502,7 +1833,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
1502
1833
  };
1503
1834
  }
1504
1835
  });
1505
- const _hoisted_1$g = {
1836
+ const _hoisted_1$j = {
1506
1837
  key: 0,
1507
1838
  class: "ui-ComboboxValues"
1508
1839
  };
@@ -1574,7 +1905,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
1574
1905
  "data-multiple": unref(context).multiple.value || void 0
1575
1906
  }, {
1576
1907
  default: withCtx(() => [
1577
- unref(context).multiple.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
1908
+ unref(context).multiple.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
1578
1909
  (openBlock(true), createElementBlock(Fragment, null, renderList(values.value, (item, index) => {
1579
1910
  return openBlock(), createElementBlock("div", {
1580
1911
  key: displayValue(item),
@@ -1672,7 +2003,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1672
2003
  return (_ctx, _cache) => {
1673
2004
  return openBlock(), createBlock(unref(ComboboxPortal), null, {
1674
2005
  default: withCtx(() => [
1675
- createVNode(_sfc_main$S, {
2006
+ createVNode(_sfc_main$$, {
1676
2007
  "accent-color": unref(context).color.value
1677
2008
  }, {
1678
2009
  default: withCtx(() => [
@@ -1717,8 +2048,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
1717
2048
  _: 1
1718
2049
  })
1719
2050
  ]),
1720
- _: 3,
1721
- __: [0]
2051
+ _: 3
1722
2052
  })
1723
2053
  ]),
1724
2054
  _: 3
@@ -1794,7 +2124,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
1794
2124
  };
1795
2125
  }
1796
2126
  });
1797
- const _hoisted_1$f = ["data-accent-color"];
2127
+ const _hoisted_1$i = ["data-accent-color"];
1798
2128
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
1799
2129
  __name: "Radio",
1800
2130
  props: /* @__PURE__ */ mergeModels({
@@ -1829,7 +2159,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1829
2159
  class: normalizeClass(["ui-RadioBase ui-Radio", unref(resetClass)]),
1830
2160
  type: "radio",
1831
2161
  "data-accent-color": props.color
1832
- }, null, 10, _hoisted_1$f)), [
2162
+ }, null, 10, _hoisted_1$i)), [
1833
2163
  [vModelRadio, unref(modelValue)]
1834
2164
  ]);
1835
2165
  };
@@ -1872,7 +2202,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1872
2202
  };
1873
2203
  }
1874
2204
  });
1875
- const _hoisted_1$e = { class: "ui-RadioGroupItem" };
2205
+ const _hoisted_1$h = { class: "ui-RadioGroupItem" };
1876
2206
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
1877
2207
  __name: "RadioGroupItem",
1878
2208
  props: {
@@ -1893,7 +2223,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1893
2223
  const forwarded = useForwardPropsWithout(props, ["color", "size", "variant", "highContrast"]);
1894
2224
  const resetClass = buildPropsClass(props, ["size", "variant", "highContrast"]);
1895
2225
  return (_ctx, _cache) => {
1896
- return openBlock(), createElementBlock("label", _hoisted_1$e, [
2226
+ return openBlock(), createElementBlock("label", _hoisted_1$h, [
1897
2227
  createVNode(unref(RadioGroupItem), mergeProps({
1898
2228
  class: ["ui-RadioBase ui-RadioGroupItemIndicator", unref(resetClass)],
1899
2229
  "data-accent-color": props.color
@@ -2041,7 +2371,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2041
2371
  const resetClass = buildPropsClass(props, ["variant", "size", "highContrast"]);
2042
2372
  return (_ctx, _cache) => {
2043
2373
  return openBlock(), createBlock(unref(TabsList), {
2044
- class: normalizeClass(["ui-TabList", unref(resetClass)]),
2374
+ class: normalizeClass(["ui-TabsList", unref(resetClass)]),
2045
2375
  "data-radius": props.radius,
2046
2376
  "data-accent-color": props.color
2047
2377
  }, {
@@ -2054,7 +2384,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2054
2384
  };
2055
2385
  }
2056
2386
  });
2057
- const _hoisted_1$d = { class: "ui-TabTriggerInner" };
2387
+ const _hoisted_1$g = { class: "ui-TabTriggerInner" };
2058
2388
  const _hoisted_2$3 = { class: "ui-TabTriggerInnerHidden" };
2059
2389
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
2060
2390
  __name: "TabsTrigger",
@@ -2070,7 +2400,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2070
2400
  return (_ctx, _cache) => {
2071
2401
  return openBlock(), createBlock(unref(TabsTrigger), mergeProps(unref(forwarded), { class: "ui-TabTrigger" }), {
2072
2402
  default: withCtx(() => [
2073
- createElementVNode("span", _hoisted_1$d, [
2403
+ createElementVNode("span", _hoisted_1$g, [
2074
2404
  renderSlot(_ctx.$slots, "default")
2075
2405
  ]),
2076
2406
  createElementVNode("span", _hoisted_2$3, [
@@ -2230,23 +2560,23 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2230
2560
  };
2231
2561
  }
2232
2562
  });
2233
- const _hoisted_1$c = {
2563
+ const _hoisted_1$f = {
2234
2564
  viewBox: "0 0 15 15",
2235
2565
  width: "1em",
2236
2566
  height: "1em"
2237
2567
  };
2238
- function render$5(_ctx, _cache) {
2239
- return openBlock(), createElementBlock("svg", _hoisted_1$c, _cache[0] || (_cache[0] = [
2568
+ function render$9(_ctx, _cache) {
2569
+ return openBlock(), createElementBlock("svg", _hoisted_1$f, [..._cache[0] || (_cache[0] = [
2240
2570
  createElementVNode("path", {
2241
2571
  fill: "currentColor",
2242
2572
  "fill-rule": "evenodd",
2243
2573
  d: "M6.158 3.135a.5.5 0 0 1 .707.023l3.75 4a.5.5 0 0 1 0 .684l-3.75 4a.5.5 0 1 1-.73-.684L9.566 7.5l-3.43-3.658a.5.5 0 0 1 .023-.707",
2244
2574
  "clip-rule": "evenodd"
2245
2575
  }, null, -1)
2246
- ]));
2576
+ ])]);
2247
2577
  }
2248
- const ChevronIcon = markRaw({ name: "radix-icons-chevron-right", render: render$5 });
2249
- const _hoisted_1$b = { class: "ui-AccordionIndicator" };
2578
+ const NextIcon = markRaw({ name: "radix-icons-chevron-right", render: render$9 });
2579
+ const _hoisted_1$e = { class: "ui-AccordionIndicator" };
2250
2580
  const _hoisted_2$2 = {
2251
2581
  key: 1,
2252
2582
  class: "ui-AccordionIndicator-plus"
@@ -2258,20 +2588,20 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2258
2588
  },
2259
2589
  setup(__props) {
2260
2590
  return (_ctx, _cache) => {
2261
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
2262
- _ctx.variant == "chevron" ? (openBlock(), createBlock(unref(ChevronIcon), {
2591
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
2592
+ _ctx.variant == "chevron" ? (openBlock(), createBlock(unref(NextIcon), {
2263
2593
  key: 0,
2264
2594
  class: "ui-AccordionIndicator-chevron"
2265
2595
  })) : createCommentVNode("", true),
2266
- _ctx.variant == "plus" ? (openBlock(), createElementBlock("div", _hoisted_2$2, _cache[0] || (_cache[0] = [
2596
+ _ctx.variant == "plus" ? (openBlock(), createElementBlock("div", _hoisted_2$2, [..._cache[0] || (_cache[0] = [
2267
2597
  createElementVNode("span", { class: "ui-AccordionIndicator-plus-1" }, null, -1),
2268
2598
  createElementVNode("span", { class: "ui-AccordionIndicator-plus-2" }, null, -1)
2269
- ]))) : createCommentVNode("", true)
2599
+ ])])) : createCommentVNode("", true)
2270
2600
  ]);
2271
2601
  };
2272
2602
  }
2273
2603
  });
2274
- const _hoisted_1$a = { class: "ui-AccordionTriggerText" };
2604
+ const _hoisted_1$d = { class: "ui-AccordionTriggerText" };
2275
2605
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
2276
2606
  __name: "AccordionTrigger",
2277
2607
  props: {
@@ -2293,7 +2623,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2293
2623
  return (_ctx, _cache) => {
2294
2624
  return openBlock(), createBlock(unref(AccordionTrigger), mergeProps({ class: "ui-AccordionTrigger" }, unref(forwarded)), {
2295
2625
  default: withCtx(() => [
2296
- createElementVNode("div", _hoisted_1$a, [
2626
+ createElementVNode("div", _hoisted_1$d, [
2297
2627
  renderSlot(_ctx.$slots, "default")
2298
2628
  ]),
2299
2629
  indicatorIcon.value !== "none" ? (openBlock(), createBlock(_sfc_main$e, {
@@ -2346,11 +2676,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2346
2676
  __name: "CollapsibleIndicator",
2347
2677
  setup(__props) {
2348
2678
  return (_ctx, _cache) => {
2349
- return openBlock(), createBlock(unref(ChevronIcon), { class: "ui-CollapsibleIndicator" });
2679
+ return openBlock(), createBlock(unref(NextIcon), { class: "ui-CollapsibleIndicator" });
2350
2680
  };
2351
2681
  }
2352
2682
  });
2353
- const _hoisted_1$9 = { class: "ui-CollapsibleTriggerText" };
2683
+ const _hoisted_1$c = { class: "ui-CollapsibleTriggerText" };
2354
2684
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
2355
2685
  __name: "CollapsibleTrigger",
2356
2686
  props: {
@@ -2364,7 +2694,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2364
2694
  return (_ctx, _cache) => {
2365
2695
  return openBlock(), createBlock(unref(CollapsibleTrigger), mergeProps({ class: "ui-CollapsibleTrigger" }, unref(forwarded)), {
2366
2696
  default: withCtx(() => [
2367
- createElementVNode("span", _hoisted_1$9, [
2697
+ createElementVNode("span", _hoisted_1$c, [
2368
2698
  renderSlot(_ctx.$slots, "default")
2369
2699
  ]),
2370
2700
  _ctx.indicator !== "none" ? (openBlock(), createBlock(_sfc_main$b, {
@@ -2378,9 +2708,6 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2378
2708
  }
2379
2709
  });
2380
2710
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2381
- ...{
2382
- inheritAttrs: false
2383
- },
2384
2711
  __name: "CollapsibleContent",
2385
2712
  props: {
2386
2713
  forceMount: { type: Boolean },
@@ -2393,181 +2720,218 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2393
2720
  return (_ctx, _cache) => {
2394
2721
  return openBlock(), createBlock(unref(CollapsibleContent), mergeProps(unref(forwardedProps), { class: "ui-CollapsibleContent" }), {
2395
2722
  default: withCtx(() => [
2396
- createElementVNode("div", mergeProps({ class: "ui-CollapsibleContentInner" }, _ctx.$attrs), [
2397
- renderSlot(_ctx.$slots, "default")
2398
- ], 16)
2723
+ renderSlot(_ctx.$slots, "default")
2399
2724
  ]),
2400
2725
  _: 3
2401
2726
  }, 16);
2402
2727
  };
2403
2728
  }
2404
2729
  });
2730
+ const _hoisted_1$b = {
2731
+ viewBox: "0 0 15 15",
2732
+ width: "1em",
2733
+ height: "1em"
2734
+ };
2735
+ function render$8(_ctx, _cache) {
2736
+ return openBlock(), createElementBlock("svg", _hoisted_1$b, [..._cache[0] || (_cache[0] = [
2737
+ createElementVNode("path", {
2738
+ fill: "currentColor",
2739
+ "fill-rule": "evenodd",
2740
+ d: "M6.854 3.854a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L3.207 7.5zm6 0a.5.5 0 0 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L9.207 7.5z",
2741
+ "clip-rule": "evenodd"
2742
+ }, null, -1)
2743
+ ])]);
2744
+ }
2745
+ const FirstIcon = markRaw({ name: "radix-icons-double-arrow-left", render: render$8 });
2746
+ const _hoisted_1$a = {
2747
+ viewBox: "0 0 15 15",
2748
+ width: "1em",
2749
+ height: "1em"
2750
+ };
2751
+ function render$7(_ctx, _cache) {
2752
+ return openBlock(), createElementBlock("svg", _hoisted_1$a, [..._cache[0] || (_cache[0] = [
2753
+ createElementVNode("path", {
2754
+ fill: "currentColor",
2755
+ "fill-rule": "evenodd",
2756
+ d: "M2.146 11.146a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 1 0-.708.708L5.793 7.5zm6 0a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 1 0-.708.708L11.793 7.5z",
2757
+ "clip-rule": "evenodd"
2758
+ }, null, -1)
2759
+ ])]);
2760
+ }
2761
+ const LastIcon = markRaw({ name: "radix-icons-double-arrow-right", render: render$7 });
2762
+ const _hoisted_1$9 = {
2763
+ viewBox: "0 0 15 15",
2764
+ width: "1em",
2765
+ height: "1em"
2766
+ };
2767
+ function render$6(_ctx, _cache) {
2768
+ return openBlock(), createElementBlock("svg", _hoisted_1$9, [..._cache[0] || (_cache[0] = [
2769
+ createElementVNode("path", {
2770
+ fill: "currentColor",
2771
+ "fill-rule": "evenodd",
2772
+ d: "M8.842 3.135a.5.5 0 0 1 .023.707L5.435 7.5l3.43 3.658a.5.5 0 0 1-.73.684l-3.75-4a.5.5 0 0 1 0-.684l3.75-4a.5.5 0 0 1 .707-.023",
2773
+ "clip-rule": "evenodd"
2774
+ }, null, -1)
2775
+ ])]);
2776
+ }
2777
+ const PrevIcon = markRaw({ name: "radix-icons-chevron-left", render: render$6 });
2778
+ const _hoisted_1$8 = {
2779
+ viewBox: "0 0 15 15",
2780
+ width: "1em",
2781
+ height: "1em"
2782
+ };
2783
+ function render$5(_ctx, _cache) {
2784
+ return openBlock(), createElementBlock("svg", _hoisted_1$8, [..._cache[0] || (_cache[0] = [
2785
+ createElementVNode("path", {
2786
+ fill: "currentColor",
2787
+ "fill-rule": "evenodd",
2788
+ d: "M3.625 7.5a1.125 1.125 0 1 1-2.25 0a1.125 1.125 0 0 1 2.25 0m5 0a1.125 1.125 0 1 1-2.25 0a1.125 1.125 0 0 1 2.25 0M12.5 8.625a1.125 1.125 0 1 0 0-2.25a1.125 1.125 0 0 0 0 2.25",
2789
+ "clip-rule": "evenodd"
2790
+ }, null, -1)
2791
+ ])]);
2792
+ }
2793
+ const EllipsisIcon = markRaw({ name: "radix-icons-dots-horizontal", render: render$5 });
2405
2794
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2795
+ __name: "PaginationEllipsis",
2796
+ props: {
2797
+ items: {},
2798
+ index: {}
2799
+ },
2800
+ setup(__props) {
2801
+ const props = __props;
2802
+ const ellipsisPage = computed(() => {
2803
+ if (props.index === 1) {
2804
+ const page = props.items[props.index + 1];
2805
+ return page.value - 1;
2806
+ } else {
2807
+ const page = props.items[props.index - 1];
2808
+ return page.value + 1;
2809
+ }
2810
+ });
2811
+ const ctx = injectPaginationRootContext();
2812
+ const onSelect = () => {
2813
+ ctx.onPageChange(ellipsisPage.value);
2814
+ };
2815
+ return (_ctx, _cache) => {
2816
+ return openBlock(), createBlock(unref(PaginationEllipsis), {
2817
+ class: "ui-PaginationEllipsis ui-Button",
2818
+ as: "button",
2819
+ type: "button",
2820
+ "aria-label": ellipsisPage.value,
2821
+ value: `Page ${ellipsisPage.value}`,
2822
+ onClick: withModifiers(onSelect, ["prevent"])
2823
+ }, {
2824
+ default: withCtx(() => [
2825
+ createVNode(unref(EllipsisIcon))
2826
+ ]),
2827
+ _: 1
2828
+ }, 8, ["aria-label", "value"]);
2829
+ };
2830
+ }
2831
+ });
2832
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2406
2833
  __name: "Pagination",
2407
- props: /* @__PURE__ */ mergeModels({
2408
- total: {},
2409
- perpage: { default: 10 },
2410
- edge: { default: 2 },
2834
+ props: {
2835
+ color: { default: "gray" },
2836
+ size: { default: "2" },
2411
2837
  variant: { default: "ghost" },
2412
- color: {},
2413
- radius: {},
2414
- size: { default: "1" },
2415
- highContrast: { type: Boolean },
2838
+ navigation: { default: "all" },
2839
+ page: {},
2840
+ defaultPage: {},
2841
+ itemsPerPage: { default: 10 },
2842
+ total: {},
2843
+ siblingCount: {},
2416
2844
  disabled: { type: Boolean },
2417
- as: {},
2418
- asChild: { type: Boolean }
2419
- }, {
2420
- "page": { required: true },
2421
- "pageModifiers": {}
2422
- }),
2845
+ showEdges: { type: Boolean },
2846
+ asChild: { type: Boolean },
2847
+ as: {}
2848
+ },
2423
2849
  emits: ["update:page"],
2424
- setup(__props) {
2850
+ setup(__props, { emit: __emit }) {
2425
2851
  const props = __props;
2426
- const page = useModel(__props, "page");
2852
+ const emits = __emit;
2853
+ const forwarded = useForwardPropsEmitsWithout(
2854
+ props,
2855
+ emits,
2856
+ ["color", "size", "variant", "navigation"]
2857
+ );
2427
2858
  const resetClass = buildPropsClass(props, ["size", "variant"]);
2428
- const buttonProps = computed(() => {
2429
- return {
2430
- color: props.color,
2431
- radius: props.radius,
2432
- variant: props.variant,
2433
- size: props.size,
2434
- highContrast: props.highContrast,
2435
- disabled: props.disabled
2436
- };
2859
+ const showPrevNext = computed(() => {
2860
+ return props.navigation === "all" || props.navigation === "prev-next";
2437
2861
  });
2438
- const pagination = computed(() => {
2439
- const totalPages = Math.ceil(props.total / props.perpage);
2440
- const prevPage = page.value > 1 ? page.value - 1 : null;
2441
- const nextPage = page.value < totalPages ? page.value + 1 : null;
2442
- const pagesOverflow = 5 + props.edge * 2;
2443
- const hasLeftEdge = totalPages > pagesOverflow && page.value > props.edge + 3;
2444
- const hasRightEdge = totalPages > pagesOverflow && page.value + props.edge + 2 < totalPages;
2445
- const pageList = [];
2446
- let left = 2, right = totalPages - 1;
2447
- if (hasLeftEdge && !hasRightEdge) {
2448
- left = Math.max(4, totalPages - 2 * props.edge - 2);
2449
- } else if (!hasLeftEdge && hasRightEdge) {
2450
- right = Math.min(2 * props.edge + 3, totalPages - 1);
2451
- } else if (hasLeftEdge && hasRightEdge) {
2452
- left = page.value - props.edge;
2453
- right = page.value + props.edge;
2454
- }
2455
- for (let i = left; i <= right; i++) {
2456
- pageList.push(i);
2457
- }
2458
- return {
2459
- totalPages,
2460
- prev: prevPage,
2461
- next: nextPage,
2462
- hasLeftEdge,
2463
- hasRightEdge,
2464
- pageList
2465
- };
2862
+ const showFirstLast = computed(() => {
2863
+ return props.navigation === "all" || props.navigation === "first-last";
2466
2864
  });
2467
- const selectPage = (n) => {
2468
- page.value = n;
2469
- };
2470
- const selectLeft = () => {
2471
- selectPage(page.value - props.edge);
2472
- };
2473
- const selectRight = () => {
2474
- selectPage(page.value + props.edge);
2475
- };
2476
2865
  return (_ctx, _cache) => {
2477
- return openBlock(), createElementBlock("div", {
2478
- class: normalizeClass(["ui-Pagination", unref(resetClass)])
2479
- }, [
2480
- pagination.value.prev ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 0 }, buttonProps.value, {
2481
- "aria-label": "Previous",
2482
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => selectPage(pagination.value.prev), ["prevent"]))
2483
- }), {
2484
- default: withCtx(() => [
2485
- renderSlot(_ctx.$slots, "prev-page", {
2486
- page: pagination.value.prev
2487
- }, () => [
2488
- createVNode(unref(Icon), { icon: "lucide:chevron-left" })
2489
- ])
2490
- ]),
2491
- _: 3
2492
- }, 16)) : createCommentVNode("", true),
2493
- createVNode(_sfc_main$Y, mergeProps(buttonProps.value, {
2494
- disabled: page.value === 1,
2495
- "aria-current": "page",
2496
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => selectPage(1), ["prevent"]))
2497
- }), {
2498
- default: withCtx(() => [
2499
- renderSlot(_ctx.$slots, "page", { page: 1 }, () => [
2500
- _cache[4] || (_cache[4] = createTextVNode("1", -1))
2501
- ])
2502
- ]),
2503
- _: 3
2504
- }, 16, ["disabled"]),
2505
- pagination.value.hasLeftEdge ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 1 }, buttonProps.value, {
2506
- onClick: withModifiers(selectLeft, ["prevent"])
2507
- }), {
2508
- default: withCtx(() => [
2509
- renderSlot(_ctx.$slots, "prev-edge", {
2510
- page: page.value - _ctx.edge
2511
- }, () => [
2512
- createVNode(unref(Icon), { icon: "lucide:ellipsis" })
2513
- ])
2514
- ]),
2515
- _: 3
2516
- }, 16)) : createCommentVNode("", true),
2517
- (openBlock(true), createElementBlock(Fragment, null, renderList(pagination.value.pageList, (p) => {
2518
- return openBlock(), createBlock(_sfc_main$Y, mergeProps({ key: p }, { ref_for: true }, buttonProps.value, {
2519
- disabled: p === page.value,
2520
- "aria-current": "page",
2521
- onClick: withModifiers(($event) => selectPage(p), ["prevent"])
2522
- }), {
2523
- default: withCtx(() => [
2524
- renderSlot(_ctx.$slots, "page", { page: p }, () => [
2525
- createTextVNode(toDisplayString(p), 1)
2526
- ])
2866
+ return openBlock(), createBlock(unref(PaginationRoot), mergeProps(unref(forwarded), {
2867
+ class: ["ui-PaginationRoot", unref(resetClass)],
2868
+ "data-accent-color": _ctx.color
2869
+ }), {
2870
+ default: withCtx(() => [
2871
+ createVNode(unref(PaginationList), { class: "ui-PaginationList" }, {
2872
+ default: withCtx(({ items }) => [
2873
+ showFirstLast.value ? (openBlock(), createBlock(unref(PaginationFirst), {
2874
+ key: 0,
2875
+ class: normalizeClass(["ui-PaginationFirst ui-Button", unref(resetClass)])
2876
+ }, {
2877
+ default: withCtx(() => [
2878
+ createVNode(unref(FirstIcon))
2879
+ ]),
2880
+ _: 1
2881
+ }, 8, ["class"])) : createCommentVNode("", true),
2882
+ showPrevNext.value ? (openBlock(), createBlock(unref(PaginationPrev), {
2883
+ key: 1,
2884
+ class: normalizeClass(["ui-PaginationPrev ui-Button", unref(resetClass)])
2885
+ }, {
2886
+ default: withCtx(() => [
2887
+ createVNode(unref(PrevIcon))
2888
+ ]),
2889
+ _: 1
2890
+ }, 8, ["class"])) : createCommentVNode("", true),
2891
+ (openBlock(true), createElementBlock(Fragment, null, renderList(items, (page, index) => {
2892
+ return openBlock(), createElementBlock(Fragment, { key: index }, [
2893
+ page.type === "page" ? (openBlock(), createBlock(unref(PaginationListItem), {
2894
+ key: 0,
2895
+ class: normalizeClass(["ui-PaginationListItem ui-Button", unref(resetClass)]),
2896
+ value: page.value
2897
+ }, {
2898
+ default: withCtx(() => [
2899
+ createTextVNode(toDisplayString(page.value), 1)
2900
+ ]),
2901
+ _: 2
2902
+ }, 1032, ["class", "value"])) : (openBlock(), createBlock(_sfc_main$8, {
2903
+ key: 1,
2904
+ items,
2905
+ index,
2906
+ class: normalizeClass(unref(resetClass)),
2907
+ as: "button"
2908
+ }, null, 8, ["items", "index", "class"]))
2909
+ ], 64);
2910
+ }), 128)),
2911
+ showPrevNext.value ? (openBlock(), createBlock(unref(PaginationNext), {
2912
+ key: 2,
2913
+ class: normalizeClass(["ui-PaginationNext ui-Button", unref(resetClass)])
2914
+ }, {
2915
+ default: withCtx(() => [
2916
+ createVNode(unref(NextIcon))
2917
+ ]),
2918
+ _: 1
2919
+ }, 8, ["class"])) : createCommentVNode("", true),
2920
+ showFirstLast.value ? (openBlock(), createBlock(unref(PaginationLast), {
2921
+ key: 3,
2922
+ class: normalizeClass(["ui-PaginationLast ui-Button", unref(resetClass)])
2923
+ }, {
2924
+ default: withCtx(() => [
2925
+ createVNode(unref(LastIcon))
2926
+ ]),
2927
+ _: 1
2928
+ }, 8, ["class"])) : createCommentVNode("", true)
2527
2929
  ]),
2528
- _: 2
2529
- }, 1040, ["disabled", "onClick"]);
2530
- }), 128)),
2531
- pagination.value.hasRightEdge ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 2 }, buttonProps.value, {
2532
- onClick: withModifiers(selectRight, ["prevent"])
2533
- }), {
2534
- default: withCtx(() => [
2535
- renderSlot(_ctx.$slots, "next-edge", {
2536
- page: page.value + _ctx.edge
2537
- }, () => [
2538
- createVNode(unref(Icon), { icon: "lucide:ellipsis" })
2539
- ])
2540
- ]),
2541
- _: 3
2542
- }, 16)) : createCommentVNode("", true),
2543
- pagination.value.totalPages > 1 ? (openBlock(), createBlock(_sfc_main$Y, mergeProps({ key: 3 }, buttonProps.value, {
2544
- disabled: pagination.value.totalPages === page.value,
2545
- "aria-current": "page",
2546
- onClick: _cache[2] || (_cache[2] = withModifiers(($event) => selectPage(pagination.value.totalPages), ["prevent"]))
2547
- }), {
2548
- default: withCtx(() => [
2549
- renderSlot(_ctx.$slots, "page", {
2550
- page: pagination.value.totalPages
2551
- }, () => [
2552
- createTextVNode(toDisplayString(pagination.value.totalPages), 1)
2553
- ])
2554
- ]),
2555
- _: 3
2556
- }, 16, ["disabled"])) : createCommentVNode("", true),
2557
- pagination.value.next ? (openBlock(), createBlock(_sfc_main$X, mergeProps({ key: 4 }, buttonProps.value, {
2558
- "aria-label": "Next",
2559
- onClick: _cache[3] || (_cache[3] = withModifiers(($event) => selectPage(pagination.value.next), ["prevent"]))
2560
- }), {
2561
- default: withCtx(() => [
2562
- renderSlot(_ctx.$slots, "next-page", {
2563
- page: pagination.value.next
2564
- }, () => [
2565
- createVNode(unref(Icon), { icon: "lucide:chevron-right" })
2566
- ])
2567
- ]),
2568
- _: 3
2569
- }, 16)) : createCommentVNode("", true)
2570
- ], 2);
2930
+ _: 1
2931
+ })
2932
+ ]),
2933
+ _: 1
2934
+ }, 16, ["class", "data-accent-color"]);
2571
2935
  };
2572
2936
  }
2573
2937
  });
@@ -2639,9 +3003,9 @@ const useToastManager = /* @__PURE__ */ createGlobalState(() => {
2639
3003
  if (options.error) {
2640
3004
  const msg = options.error(e);
2641
3005
  if (typeof msg === "string") {
2642
- update(id, { title: msg, category: "error" });
3006
+ update(id, { duration: void 0, title: msg, category: "error" });
2643
3007
  } else {
2644
- update(id, { ...msg, category: "error" });
3008
+ update(id, { duration: void 0, ...msg, category: "error" });
2645
3009
  }
2646
3010
  }
2647
3011
  });
@@ -2659,71 +3023,71 @@ const useToastManager = /* @__PURE__ */ createGlobalState(() => {
2659
3023
  promise
2660
3024
  };
2661
3025
  });
2662
- const _sfc_main$7 = {};
2663
- const _hoisted_1$8 = { class: "ui-SpinnerIcon" };
3026
+ const _sfc_main$6 = {};
3027
+ const _hoisted_1$7 = { class: "ui-SpinnerIcon" };
2664
3028
  function _sfc_render(_ctx, _cache) {
2665
- return openBlock(), createElementBlock("span", _hoisted_1$8, _cache[0] || (_cache[0] = [
3029
+ return openBlock(), createElementBlock("span", _hoisted_1$7, [..._cache[0] || (_cache[0] = [
2666
3030
  createStaticVNode('<span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span><span class="ui-SpinnerLeaf"></span>', 8)
2667
- ]));
3031
+ ])]);
2668
3032
  }
2669
- const SpinnerIcon = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
2670
- const _hoisted_1$7 = {
3033
+ const SpinnerIcon = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]);
3034
+ const _hoisted_1$6 = {
2671
3035
  viewBox: "0 0 24 24",
2672
3036
  width: "1em",
2673
3037
  height: "1em"
2674
3038
  };
2675
3039
  function render$4(_ctx, _cache) {
2676
- return openBlock(), createElementBlock("svg", _hoisted_1$7, _cache[0] || (_cache[0] = [
3040
+ return openBlock(), createElementBlock("svg", _hoisted_1$6, [..._cache[0] || (_cache[0] = [
2677
3041
  createElementVNode("path", {
2678
3042
  fill: "currentColor",
2679
3043
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-12.5a1.5 1.5 0 1 0 0-3a1.5 1.5 0 0 0 0 3m2 5.5h-1v-4.5h-3v2h1V15h-1v2h4z"
2680
3044
  }, null, -1)
2681
- ]));
3045
+ ])]);
2682
3046
  }
2683
3047
  const InfoIcon = markRaw({ name: "ri-information-2-fill", render: render$4 });
2684
- const _hoisted_1$6 = {
3048
+ const _hoisted_1$5 = {
2685
3049
  viewBox: "0 0 24 24",
2686
3050
  width: "1em",
2687
3051
  height: "1em"
2688
3052
  };
2689
3053
  function render$3(_ctx, _cache) {
2690
- return openBlock(), createElementBlock("svg", _hoisted_1$6, _cache[0] || (_cache[0] = [
3054
+ return openBlock(), createElementBlock("svg", _hoisted_1$5, [..._cache[0] || (_cache[0] = [
2691
3055
  createElementVNode("path", {
2692
3056
  fill: "currentColor",
2693
3057
  d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2S2 6.477 2 12s4.477 10 10 10m5.457-12.543L11 15.914l-4.207-4.207l1.414-1.414L11 13.086l5.043-5.043z"
2694
3058
  }, null, -1)
2695
- ]));
3059
+ ])]);
2696
3060
  }
2697
3061
  const SuccessIcon = markRaw({ name: "ri-checkbox-circle-fill", render: render$3 });
2698
- const _hoisted_1$5 = {
3062
+ const _hoisted_1$4 = {
2699
3063
  viewBox: "0 0 24 24",
2700
3064
  width: "1em",
2701
3065
  height: "1em"
2702
3066
  };
2703
3067
  function render$2(_ctx, _cache) {
2704
- return openBlock(), createElementBlock("svg", _hoisted_1$5, _cache[0] || (_cache[0] = [
3068
+ return openBlock(), createElementBlock("svg", _hoisted_1$4, [..._cache[0] || (_cache[0] = [
2705
3069
  createElementVNode("path", {
2706
3070
  fill: "currentColor",
2707
3071
  d: "m12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0M11 16v2h2v-2zm0-7v5h2V9z"
2708
3072
  }, null, -1)
2709
- ]));
3073
+ ])]);
2710
3074
  }
2711
3075
  const WarningIcon = markRaw({ name: "ri-alert-fill", render: render$2 });
2712
- const _hoisted_1$4 = {
3076
+ const _hoisted_1$3 = {
2713
3077
  viewBox: "0 0 24 24",
2714
3078
  width: "1em",
2715
3079
  height: "1em"
2716
3080
  };
2717
3081
  function render$1(_ctx, _cache) {
2718
- return openBlock(), createElementBlock("svg", _hoisted_1$4, _cache[0] || (_cache[0] = [
3082
+ return openBlock(), createElementBlock("svg", _hoisted_1$3, [..._cache[0] || (_cache[0] = [
2719
3083
  createElementVNode("path", {
2720
3084
  fill: "currentColor",
2721
3085
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m-1-7v2h2v-2zm0-8v6h2V7z"
2722
3086
  }, null, -1)
2723
- ]));
3087
+ ])]);
2724
3088
  }
2725
3089
  const ErrorIcon = markRaw({ name: "ri-error-warning-fill", render: render$1 });
2726
- const _hoisted_1$3 = ["data-accent-color"];
3090
+ const _hoisted_1$2 = ["data-accent-color"];
2727
3091
  const _hoisted_2$1 = { class: "ui-ToastContent" };
2728
3092
  const CATEGORY_ICONS = {
2729
3093
  loading: SpinnerIcon,
@@ -2739,7 +3103,7 @@ const CATEGORY_COLORS = {
2739
3103
  warning: "orange",
2740
3104
  error: "red"
2741
3105
  };
2742
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3106
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2743
3107
  __name: "ToastItem",
2744
3108
  props: {
2745
3109
  yPosition: {},
@@ -2809,7 +3173,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2809
3173
  "data-accent-color": categoryColor.value
2810
3174
  }, [
2811
3175
  (openBlock(), createBlock(resolveDynamicComponent(categoryIcon.value)))
2812
- ], 8, _hoisted_1$3)) : createCommentVNode("", true),
3176
+ ], 8, _hoisted_1$2)) : createCommentVNode("", true),
2813
3177
  createElementVNode("div", _hoisted_2$1, [
2814
3178
  createVNode(unref(ToastTitle), { class: "ui-ToastTitle" }, {
2815
3179
  default: withCtx(() => [
@@ -2835,7 +3199,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2835
3199
  onClick: _ctx.message.action.onClick
2836
3200
  }, {
2837
3201
  default: withCtx(() => [
2838
- createVNode(_sfc_main$Y, {
3202
+ createVNode(_sfc_main$13, {
2839
3203
  variant: _ctx.message.action.variant || "soft",
2840
3204
  radius: _ctx.message.action.radius,
2841
3205
  size: _ctx.message.action.size || "1",
@@ -2855,7 +3219,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2855
3219
  };
2856
3220
  }
2857
3221
  });
2858
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3222
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2859
3223
  ...{
2860
3224
  inheritAttrs: false
2861
3225
  },
@@ -2882,7 +3246,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2882
3246
  if (props.swipeDirection) {
2883
3247
  return props.swipeDirection;
2884
3248
  }
2885
- return xPosition.value;
3249
+ if (xPosition.value !== "center") {
3250
+ return xPosition.value;
3251
+ }
3252
+ return yPosition.value === "top" ? "up" : "down";
2886
3253
  });
2887
3254
  return (_ctx, _cache) => {
2888
3255
  return openBlock(), createBlock(unref(ToastProvider), normalizeProps(guardReactiveProps({ ...unref(forwarded), swipeDirection: swipeDirection.value })), {
@@ -2894,7 +3261,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2894
3261
  message: msg,
2895
3262
  index
2896
3263
  }, () => [
2897
- (openBlock(), createBlock(_sfc_main$6, {
3264
+ (openBlock(), createBlock(_sfc_main$5, {
2898
3265
  key: msg.id,
2899
3266
  message: msg,
2900
3267
  index,
@@ -2905,7 +3272,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2905
3272
  }), 128)),
2906
3273
  createVNode(unref(ToastPortal), null, {
2907
3274
  default: withCtx(() => [
2908
- createVNode(_sfc_main$S, null, {
3275
+ createVNode(_sfc_main$$, null, {
2909
3276
  default: withCtx(() => [
2910
3277
  createVNode(unref(ToastViewport), mergeProps({ class: "ui-ToastViewport" }, _ctx.$attrs, {
2911
3278
  class: `r-size-${_ctx.size}`,
@@ -2937,9 +3304,9 @@ const toast = Object.assign(
2937
3304
  promise: toastManager.promise
2938
3305
  }
2939
3306
  );
2940
- const _hoisted_1$2 = ["data-size", "data-variant"];
3307
+ const _hoisted_1$1 = ["data-size", "data-variant"];
2941
3308
  const _hoisted_2 = ["data-layout"];
2942
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3309
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2943
3310
  __name: "Table",
2944
3311
  props: {
2945
3312
  size: { default: "2" },
@@ -2954,7 +3321,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2954
3321
  "data-size": props.size,
2955
3322
  "data-variant": props.variant
2956
3323
  }, [
2957
- createVNode(_sfc_main$V, null, {
3324
+ createVNode(_sfc_main$10, null, {
2958
3325
  default: withCtx(() => [
2959
3326
  createElementVNode("table", {
2960
3327
  class: "ui-TableContent",
@@ -2965,11 +3332,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2965
3332
  ]),
2966
3333
  _: 3
2967
3334
  })
2968
- ], 8, _hoisted_1$2);
3335
+ ], 8, _hoisted_1$1);
2969
3336
  };
2970
3337
  }
2971
3338
  });
2972
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3339
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2973
3340
  __name: "Separator",
2974
3341
  props: {
2975
3342
  as: { default: "span" },
@@ -2990,90 +3357,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2990
3357
  };
2991
3358
  }
2992
3359
  });
2993
- const _hoisted_1$1 = ["textContent"];
2994
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2995
- ...{
2996
- inheritAttrs: false
2997
- },
2998
- __name: "Tooltip",
2999
- props: {
3000
- content: {},
3001
- maxWidth: { default: "360px" },
3002
- color: { default: "gray" },
3003
- forceMount: { type: Boolean },
3004
- ariaLabel: {},
3005
- asChild: { type: Boolean },
3006
- as: {},
3007
- side: { default: "top" },
3008
- sideOffset: { default: 4 },
3009
- align: {},
3010
- alignOffset: {},
3011
- avoidCollisions: { type: Boolean, default: true },
3012
- collisionBoundary: {},
3013
- collisionPadding: { default: 10 },
3014
- arrowPadding: {},
3015
- sticky: {},
3016
- hideWhenDetached: { type: Boolean },
3017
- positionStrategy: {},
3018
- updatePositionStrategy: {}
3019
- },
3020
- setup(__props) {
3021
- const props = __props;
3022
- return (_ctx, _cache) => {
3023
- return openBlock(), createBlock(unref(TooltipRoot), null, {
3024
- default: withCtx(() => [
3025
- createVNode(unref(TooltipTrigger), mergeProps({
3026
- as: props.as,
3027
- "as-child": props.asChild
3028
- }, _ctx.$attrs), {
3029
- default: withCtx(() => [
3030
- renderSlot(_ctx.$slots, "default")
3031
- ]),
3032
- _: 3
3033
- }, 16, ["as", "as-child"]),
3034
- createVNode(unref(TooltipPortal), null, {
3035
- default: withCtx(() => [
3036
- createVNode(_sfc_main$S, null, {
3037
- default: withCtx(() => [
3038
- createVNode(unref(TooltipContent), {
3039
- class: "ui-Tooltip",
3040
- align: props.align,
3041
- "align-offset": props.alignOffset,
3042
- "aria-label": props.ariaLabel,
3043
- "arrow-padding": props.arrowPadding,
3044
- "avoid-collisions": props.avoidCollisions,
3045
- "collision-boundary": props.collisionBoundary,
3046
- "collision-padding": props.collisionPadding,
3047
- "hide-when-detached": props.hideWhenDetached,
3048
- side: props.side,
3049
- "side-offset": props.sideOffset,
3050
- sticky: props.sticky,
3051
- "data-accent-color": props.color,
3052
- style: normalizeStyle({ maxWidth: props.maxWidth })
3053
- }, {
3054
- default: withCtx(() => [
3055
- renderSlot(_ctx.$slots, "content", {}, () => [
3056
- createElementVNode("p", {
3057
- class: "ui-TooltipText",
3058
- textContent: toDisplayString(props.content)
3059
- }, null, 8, _hoisted_1$1)
3060
- ]),
3061
- createVNode(unref(TooltipArrow), { class: "ui-TooltipArrow" })
3062
- ]),
3063
- _: 3
3064
- }, 8, ["align", "align-offset", "aria-label", "arrow-padding", "avoid-collisions", "collision-boundary", "collision-padding", "hide-when-detached", "side", "side-offset", "sticky", "data-accent-color", "style"])
3065
- ]),
3066
- _: 3
3067
- })
3068
- ]),
3069
- _: 3
3070
- })
3071
- ]),
3072
- _: 3
3073
- });
3074
- };
3075
- }
3076
- });
3077
3360
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3078
3361
  __name: "Quota",
3079
3362
  props: {
@@ -3128,12 +3411,12 @@ const _hoisted_1 = {
3128
3411
  height: "1em"
3129
3412
  };
3130
3413
  function render(_ctx, _cache) {
3131
- return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
3414
+ return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
3132
3415
  createElementVNode("path", {
3133
3416
  fill: "currentColor",
3134
3417
  d: "M4 12a8 8 0 1 1 16 0a8 8 0 0 1-16 0m8-10C6.477 2 2 6.477 2 12s4.477 10 10 10s10-4.477 10-10S17.523 2 12 2m5.457 7.457l-1.414-1.414L11 13.086l-2.793-2.793l-1.414 1.414L11 15.914z"
3135
3418
  }, null, -1)
3136
- ]));
3419
+ ])]);
3137
3420
  }
3138
3421
  const CheckIcon = markRaw({ name: "ri-checkbox-circle-line", render });
3139
3422
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -3168,18 +3451,19 @@ export {
3168
3451
  _sfc_main$d as AccordionTrigger,
3169
3452
  AlertDialogAction,
3170
3453
  AlertDialogCancel,
3171
- _sfc_main$T as AlertDialogDescription,
3172
- _sfc_main$Q as AlertDialogPopup,
3454
+ _sfc_main$Z as AlertDialogCancelButton,
3455
+ _sfc_main$X as AlertDialogDescription,
3456
+ _sfc_main$V as AlertDialogPopup,
3173
3457
  AlertDialogRoot,
3174
- _sfc_main$U as AlertDialogTitle,
3458
+ _sfc_main$Y as AlertDialogTitle,
3175
3459
  AlertDialogTrigger,
3176
- _sfc_main$$ as Avatar,
3177
- _sfc_main$_ as Badge,
3178
- _sfc_main$Y as Button,
3179
- _sfc_main$Z as Card,
3460
+ _sfc_main$16 as Avatar,
3461
+ _sfc_main$15 as Badge,
3462
+ _sfc_main$13 as Button,
3463
+ _sfc_main$14 as Card,
3180
3464
  _sfc_main$K as Checkbox,
3181
3465
  CheckboxGroupRoot as CheckboxGroup,
3182
- _sfc_main$W as CloseButton,
3466
+ _sfc_main$11 as CloseButton,
3183
3467
  _sfc_main$9 as CollapsibleContent,
3184
3468
  _sfc_main$b as CollapsibleIndicator,
3185
3469
  _sfc_main$c as CollapsibleRoot,
@@ -3192,22 +3476,29 @@ export {
3192
3476
  _sfc_main$u as ComboboxItem,
3193
3477
  _sfc_main$t as ComboboxLabel,
3194
3478
  _sfc_main$x as ComboboxRoot,
3195
- DialogClose,
3196
- _sfc_main$T as DialogDescription,
3197
- _sfc_main$R as DialogPopup,
3479
+ DialogClose2 as DialogClose,
3480
+ _sfc_main$Z as DialogCloseButton,
3481
+ _sfc_main$X as DialogDescription,
3482
+ _sfc_main$W as DialogPopup,
3198
3483
  DialogRoot,
3199
- _sfc_main$U as DialogTitle,
3484
+ _sfc_main$Y as DialogTitle,
3200
3485
  DialogTrigger,
3201
- _sfc_main$P as DropdownMenuContent,
3202
- _sfc_main$O as DropdownMenuItem,
3486
+ _sfc_main$U as DropdownMenuContent,
3487
+ _sfc_main$T as DropdownMenuItem,
3203
3488
  DropdownMenuRoot,
3204
3489
  DropdownMenuSeparator,
3205
3490
  DropdownMenuTrigger,
3206
3491
  _sfc_main$i as Editable,
3207
- _sfc_main$X as IconButton,
3208
- _sfc_main$8 as Pagination,
3492
+ _sfc_main$12 as IconButton,
3493
+ _sfc_main$M as NavigationMenuContent,
3494
+ NavigationMenuItem,
3495
+ _sfc_main$O as NavigationMenuLink,
3496
+ _sfc_main$P as NavigationMenuList,
3497
+ _sfc_main$Q as NavigationMenuRoot,
3498
+ _sfc_main$N as NavigationMenuTrigger,
3499
+ _sfc_main$7 as Pagination,
3209
3500
  PopoverClose,
3210
- _sfc_main$M as PopoverPopup,
3501
+ _sfc_main$R as PopoverPopup,
3211
3502
  PopoverRoot,
3212
3503
  PopoverTrigger,
3213
3504
  _sfc_main$1 as Quota,
@@ -3219,7 +3510,7 @@ export {
3219
3510
  _sfc_main$l as RadioTabsItem,
3220
3511
  _sfc_main$m as RadioTabsRoot,
3221
3512
  _sfc_main as SavingIndicator,
3222
- _sfc_main$V as ScrollArea,
3513
+ _sfc_main$10 as ScrollArea,
3223
3514
  _sfc_main$C as SelectContent,
3224
3515
  SelectGroup,
3225
3516
  _sfc_main$A as SelectItem,
@@ -3227,22 +3518,22 @@ export {
3227
3518
  _sfc_main$D as SelectRoot,
3228
3519
  SelectSeparator,
3229
3520
  _sfc_main$B as SelectTrigger,
3230
- _sfc_main$3 as Separator,
3521
+ _sfc_main$2 as Separator,
3231
3522
  SpinnerIcon,
3232
3523
  _sfc_main$L as Switch,
3233
- _sfc_main$4 as Table,
3524
+ _sfc_main$3 as Table,
3234
3525
  TabsContent,
3235
3526
  _sfc_main$k as TabsList,
3236
3527
  TabsRoot,
3237
3528
  _sfc_main$j as TabsTrigger,
3238
3529
  _sfc_main$F as TextArea,
3239
3530
  _sfc_main$G as TextField,
3240
- _sfc_main$10 as ThemeProvider,
3241
- _sfc_main$5 as ToastProvider,
3531
+ _sfc_main$17 as ThemeProvider,
3532
+ _sfc_main$4 as ToastProvider,
3242
3533
  _sfc_main$J as Toggle,
3243
3534
  _sfc_main$H as ToggleGroupItem,
3244
3535
  _sfc_main$I as ToggleGroupRoot,
3245
- _sfc_main$2 as Tooltip,
3536
+ _sfc_main$_ as Tooltip,
3246
3537
  buildPropsClass,
3247
3538
  injectThemeContext,
3248
3539
  provideThemeContext,