@typlog/ui 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { computed as C, defineComponent as m, createBlock as u, openBlock as r, unref as a, normalizeClass as k, withCtx as c, createVNode as p, createTextVNode as W, toDisplayString as A, renderSlot as _, createElementBlock as $, mergeProps as g, createCommentVNode as z, createElementVNode as b, toRefs as ee, mergeModels as Q, ref as P, useModel as Z, onMounted as ue, onBeforeUnmount as Ce, withDirectives as te, isRef as be, vModelDynamic as Oe, vModelText as $e, normalizeStyle as Be, normalizeProps as Me, guardReactiveProps as Fe, watch as Le, Fragment as H, renderList as E, withModifiers as D, vModelRadio as Ge, withKeys as he, vShow as He } from "vue";
2
- import { useForwardProps as T, useEmitAsProps as xe, AvatarRoot as Ee, AvatarImage as We, AvatarFallback as je, Primitive as U, ScrollAreaRoot as de, ScrollAreaViewport as pe, ScrollAreaScrollbar as ne, ScrollAreaThumb as re, ScrollAreaCorner as Ue, AlertDialogPortal as qe, AlertDialogOverlay as Ne, AlertDialogContent as Ke, DialogPortal as Qe, DialogOverlay as Ze, DialogContent as Je, DialogTitle as Xe, DialogClose as Ye, useForwardExpose as M, createContext as oe, DropdownMenuPortal as et, DropdownMenuContent as tt, DropdownMenuItem as ot, PopoverPortal as at, PopoverContent as st, SwitchRoot as lt, SwitchThumb as nt, CheckboxRoot as rt, CheckboxIndicator as it, Toggle as ct, ToggleGroupRoot as ut, ToggleGroupItem as dt, SelectRoot as pt, SelectPortal as ft, SelectContent as mt, SelectViewport as ht, SelectTrigger as vt, SelectValue as _t, SelectIcon as gt, SelectItem as yt, SelectItemIndicator as Ct, SelectItemText as bt, SelectLabel as $t, ComboboxRoot as Bt, injectComboboxRootContext as xt, useForwardPropsEmits as we, ComboboxAnchor as wt, ComboboxInput as ve, ComboboxTrigger as St, ComboboxPortal as zt, ComboboxContent as kt, ComboboxViewport as It, ComboboxItem as Tt, ComboboxItemIndicator as Vt, ComboboxLabel as At, RadioGroupRoot as Se, RadioGroupItem as ze, TabsList as Rt, TabsIndicator as Pt, TabsTrigger as Dt, AccordionRoot as Ot, AccordionItem as Mt, AccordionContent as Ft, AccordionTrigger as Lt, CollapsibleContent as Gt, TooltipProvider as Ht, TooltipRoot as Et, TooltipTrigger as Wt, TooltipPortal as jt, TooltipContent as Ut, TooltipArrow as qt, ProgressRoot as Nt, ProgressIndicator as Kt } from "reka-ui";
3
- import { AlertDialogAction as hs, AlertDialogCancel as vs, AlertDialogDescription as _s, AlertDialogRoot as gs, AlertDialogTitle as ys, AlertDialogTrigger as Cs, CollapsibleRoot as bs, CollapsibleTrigger as $s, ComboboxEmpty as Bs, ComboboxGroup as xs, DialogClose as ws, DialogDescription as Ss, DialogRoot as zs, DialogTitle as ks, DialogTrigger as Is, DropdownMenuRoot as Ts, DropdownMenuTrigger as Vs, PopoverClose as As, PopoverRoot as Rs, PopoverTrigger as Ps, RadioGroupItem as Ds, SelectGroup as Os, TabsContent as Ms, TabsRoot as Fs } from "reka-ui";
1
+ import { computed as C, defineComponent as h, createBlock as d, openBlock as r, unref as a, normalizeClass as k, withCtx as c, createVNode as p, createTextVNode as L, toDisplayString as V, renderSlot as _, createElementBlock as $, mergeProps as g, createCommentVNode as z, createElementVNode as b, toRefs as ee, mergeModels as Q, ref as P, useModel as Z, onMounted as ue, onBeforeUnmount as Ce, withDirectives as te, isRef as be, vModelDynamic as Oe, vModelText as $e, normalizeStyle as Be, normalizeProps as Me, guardReactiveProps as Fe, Fragment as H, watch as Le, renderList as j, withModifiers as D, vModelRadio as Ge, withKeys as me, vShow as He } from "vue";
2
+ import { useForwardProps as T, useEmitAsProps as xe, AvatarRoot as Ee, AvatarImage as je, AvatarFallback as We, Primitive as U, ScrollAreaRoot as de, ScrollAreaViewport as pe, ScrollAreaScrollbar as ne, ScrollAreaThumb as re, ScrollAreaCorner as Ue, AlertDialogPortal as qe, AlertDialogOverlay as Ne, AlertDialogContent as Ke, DialogPortal as Qe, DialogOverlay as Ze, DialogContent as Je, DialogTitle as Xe, DialogClose as Ye, useForwardExpose as M, createContext as oe, DropdownMenuPortal as et, DropdownMenuContent as tt, DropdownMenuItem as ot, PopoverPortal as at, PopoverContent as st, SwitchRoot as lt, SwitchThumb as nt, CheckboxRoot as rt, CheckboxIndicator as it, Toggle as ct, ToggleGroupRoot as ut, ToggleGroupItem as dt, SelectRoot as pt, SelectPortal as ft, SelectContent as ht, SelectViewport as mt, SelectTrigger as vt, SelectValue as _t, SelectIcon as gt, SelectItem as yt, SelectItemIndicator as Ct, SelectItemText as bt, SelectLabel as $t, ComboboxRoot as Bt, injectComboboxRootContext as xt, useForwardPropsEmits as we, ComboboxAnchor as wt, ComboboxInput as ve, ComboboxTrigger as St, ComboboxPortal as zt, ComboboxContent as kt, ComboboxViewport as It, ComboboxItem as Tt, ComboboxItemIndicator as Vt, ComboboxLabel as At, RadioGroupRoot as Se, RadioGroupItem as ze, TabsList as Rt, TabsIndicator as Pt, TabsTrigger as Dt, AccordionRoot as Ot, AccordionItem as Mt, AccordionContent as Ft, AccordionTrigger as Lt, CollapsibleContent as Gt, TooltipProvider as Ht, TooltipRoot as Et, TooltipTrigger as jt, TooltipPortal as Wt, TooltipContent as Ut, TooltipArrow as qt, ProgressRoot as Nt, ProgressIndicator as Kt } from "reka-ui";
3
+ import { AlertDialogAction as ms, AlertDialogCancel as vs, AlertDialogDescription as _s, AlertDialogRoot as gs, AlertDialogTitle as ys, AlertDialogTrigger as Cs, CollapsibleRoot as bs, CollapsibleTrigger as $s, ComboboxEmpty as Bs, ComboboxGroup as xs, DialogClose as ws, DialogDescription as Ss, DialogRoot as zs, DialogTitle as ks, DialogTrigger as Is, DropdownMenuRoot as Ts, DropdownMenuTrigger as Vs, PopoverClose as As, PopoverRoot as Rs, PopoverTrigger as Ps, RadioGroupItem as Ds, SelectGroup as Os, TabsContent as Ms, TabsRoot as Fs } from "reka-ui";
4
4
  import { Icon as I } from "@iconify/vue";
5
5
  import { Icon as Gs } from "@iconify/vue";
6
6
  function q(s, e, t) {
@@ -42,7 +42,7 @@ function _e(s) {
42
42
  function Zt(s, e) {
43
43
  return (e ? "-" : "") + s.toLowerCase();
44
44
  }
45
- const _a = /* @__PURE__ */ m({
45
+ const _a = /* @__PURE__ */ h({
46
46
  __name: "Avatar",
47
47
  props: {
48
48
  src: {},
@@ -55,21 +55,21 @@ const _a = /* @__PURE__ */ m({
55
55
  },
56
56
  setup(s) {
57
57
  const e = s, t = C(() => R(e, ["size", "variant"])), o = C(() => e.fallback ? e.fallback : e.alt.split(/\s+/).map((l) => l[0]).slice(0, 2).join(""));
58
- return (l, n) => (r(), u(a(Ee), {
58
+ return (l, n) => (r(), d(a(Ee), {
59
59
  class: k(["ui-Avatar", t.value]),
60
60
  "data-accent-color": e.color,
61
61
  "data-radius": e.radius
62
62
  }, {
63
63
  default: c(() => [
64
- p(a(We), {
64
+ p(a(je), {
65
65
  alt: e.alt,
66
66
  src: e.src || ""
67
67
  }, null, 8, ["alt", "src"]),
68
- p(a(je), {
68
+ p(a(We), {
69
69
  class: k(`r-count-${o.value.length}`)
70
70
  }, {
71
71
  default: c(() => [
72
- W(A(o.value), 1)
72
+ L(V(o.value), 1)
73
73
  ]),
74
74
  _: 1
75
75
  }, 8, ["class"])
@@ -77,7 +77,7 @@ const _a = /* @__PURE__ */ m({
77
77
  _: 1
78
78
  }, 8, ["class", "data-accent-color", "data-radius"]));
79
79
  }
80
- }), ga = /* @__PURE__ */ m({
80
+ }), ga = /* @__PURE__ */ h({
81
81
  __name: "Badge",
82
82
  props: {
83
83
  variant: { default: "soft" },
@@ -90,7 +90,7 @@ const _a = /* @__PURE__ */ m({
90
90
  },
91
91
  setup(s) {
92
92
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
93
- return (o, l) => (r(), u(a(U), {
93
+ return (o, l) => (r(), d(a(U), {
94
94
  class: k(["ui-Badge", t.value]),
95
95
  as: e.as,
96
96
  "as-child": e.asChild,
@@ -103,7 +103,7 @@ const _a = /* @__PURE__ */ m({
103
103
  _: 3
104
104
  }, 8, ["class", "as", "as-child", "data-accent-color", "data-radius"]));
105
105
  }
106
- }), Jt = ["data-side", "data-clip"], Xt = /* @__PURE__ */ m({
106
+ }), Jt = ["data-side", "data-clip"], Xt = /* @__PURE__ */ h({
107
107
  __name: "Inset",
108
108
  props: {
109
109
  side: { default: "all" },
@@ -119,7 +119,7 @@ const _a = /* @__PURE__ */ m({
119
119
  _(t.$slots, "default")
120
120
  ], 8, Jt));
121
121
  }
122
- }), Yt = /* @__PURE__ */ m({
122
+ }), Yt = /* @__PURE__ */ h({
123
123
  __name: "Card",
124
124
  props: {
125
125
  variant: { default: "surface" },
@@ -130,7 +130,7 @@ const _a = /* @__PURE__ */ m({
130
130
  },
131
131
  setup(s) {
132
132
  const e = s, t = C(() => R(e, ["size", "variant"]));
133
- return (o, l) => (r(), u(a(U), {
133
+ return (o, l) => (r(), d(a(U), {
134
134
  class: k(["ui-Card", t.value]),
135
135
  "as-child": e.asChild,
136
136
  as: e.as,
@@ -142,7 +142,7 @@ const _a = /* @__PURE__ */ m({
142
142
  _: 3
143
143
  }, 8, ["class", "as-child", "as", "data-radius"]));
144
144
  }
145
- }), ya = /* @__PURE__ */ m({
145
+ }), ya = /* @__PURE__ */ h({
146
146
  __name: "CardHead",
147
147
  props: {
148
148
  color: {},
@@ -151,7 +151,7 @@ const _a = /* @__PURE__ */ m({
151
151
  },
152
152
  setup(s) {
153
153
  const e = s;
154
- return (t, o) => (r(), u(a(U), {
154
+ return (t, o) => (r(), d(a(U), {
155
155
  as: e.as,
156
156
  class: "ui-CardHead",
157
157
  "data-accent-color": e.color
@@ -162,7 +162,7 @@ const _a = /* @__PURE__ */ m({
162
162
  _: 3
163
163
  }, 8, ["as", "data-accent-color"]));
164
164
  }
165
- }), j = /* @__PURE__ */ m({
165
+ }), W = /* @__PURE__ */ h({
166
166
  __name: "Button",
167
167
  props: {
168
168
  color: {},
@@ -176,7 +176,7 @@ const _a = /* @__PURE__ */ m({
176
176
  },
177
177
  setup(s) {
178
178
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
179
- return (o, l) => (r(), u(a(U), {
179
+ return (o, l) => (r(), d(a(U), {
180
180
  class: k(["ui-Button", t.value]),
181
181
  "as-child": e.asChild,
182
182
  as: e.as,
@@ -190,7 +190,7 @@ const _a = /* @__PURE__ */ m({
190
190
  _: 3
191
191
  }, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled"]));
192
192
  }
193
- }), Y = /* @__PURE__ */ m({
193
+ }), Y = /* @__PURE__ */ h({
194
194
  __name: "IconButton",
195
195
  props: {
196
196
  color: {},
@@ -204,7 +204,7 @@ const _a = /* @__PURE__ */ m({
204
204
  },
205
205
  setup(s) {
206
206
  const t = T(s);
207
- return (o, l) => (r(), u(j, g({ class: "ui-IconButton" }, a(t)), {
207
+ return (o, l) => (r(), d(W, g({ class: "ui-IconButton" }, a(t)), {
208
208
  default: c(() => [
209
209
  _(o.$slots, "default")
210
210
  ]),
@@ -219,7 +219,7 @@ const _a = /* @__PURE__ */ m({
219
219
  apple: "simple-icons:apple",
220
220
  slack: "logos:slack-icon",
221
221
  figma: "logos:figma"
222
- }, Ca = /* @__PURE__ */ m({
222
+ }, Ca = /* @__PURE__ */ h({
223
223
  __name: "SocialButton",
224
224
  props: {
225
225
  brand: {},
@@ -231,7 +231,7 @@ const _a = /* @__PURE__ */ m({
231
231
  },
232
232
  setup(s) {
233
233
  const e = s, t = C(() => R(e, ["size", "brand"])), o = C(() => eo[e.brand]);
234
- return (l, n) => (r(), u(a(U), {
234
+ return (l, n) => (r(), d(a(U), {
235
235
  class: k(["ui-Button ui-SocialButton", t.value]),
236
236
  "as-child": e.asChild,
237
237
  as: e.as,
@@ -239,7 +239,7 @@ const _a = /* @__PURE__ */ m({
239
239
  "data-disabled": e.disabled ? !0 : void 0
240
240
  }, {
241
241
  default: c(() => [
242
- o.value ? (r(), u(a(I), {
242
+ o.value ? (r(), d(a(I), {
243
243
  key: 0,
244
244
  icon: o.value
245
245
  }, null, 8, ["icon"])) : z("", !0),
@@ -248,7 +248,7 @@ const _a = /* @__PURE__ */ m({
248
248
  _: 3
249
249
  }, 8, ["class", "as-child", "as", "data-radius", "data-disabled"]));
250
250
  }
251
- }), ke = /* @__PURE__ */ m({
251
+ }), ke = /* @__PURE__ */ h({
252
252
  __name: "ScrollArea",
253
253
  props: {
254
254
  size: { default: "1" },
@@ -262,7 +262,7 @@ const _a = /* @__PURE__ */ m({
262
262
  },
263
263
  setup(s) {
264
264
  const e = s;
265
- return (t, o) => (r(), u(a(de), {
265
+ return (t, o) => (r(), d(a(de), {
266
266
  class: "ui-ScrollArea",
267
267
  "as-child": e.asChild,
268
268
  dir: e.dir,
@@ -278,7 +278,7 @@ const _a = /* @__PURE__ */ m({
278
278
  _: 3
279
279
  }),
280
280
  o[0] || (o[0] = b("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
281
- e.scrollbars !== "horizontal" ? (r(), u(a(ne), {
281
+ e.scrollbars !== "horizontal" ? (r(), d(a(ne), {
282
282
  key: 0,
283
283
  class: "ui-ScrollAreaScrollbar",
284
284
  "data-size": e.size,
@@ -289,7 +289,7 @@ const _a = /* @__PURE__ */ m({
289
289
  ]),
290
290
  _: 1
291
291
  }, 8, ["data-size"])) : z("", !0),
292
- e.scrollbars !== "vertical" ? (r(), u(a(ne), {
292
+ e.scrollbars !== "vertical" ? (r(), d(a(ne), {
293
293
  key: 1,
294
294
  class: "ui-ScrollAreaScrollbar",
295
295
  "data-size": e.size,
@@ -300,7 +300,7 @@ const _a = /* @__PURE__ */ m({
300
300
  ]),
301
301
  _: 1
302
302
  }, 8, ["data-size"])) : z("", !0),
303
- e.scrollbars === "both" ? (r(), u(a(Ue), {
303
+ e.scrollbars === "both" ? (r(), d(a(Ue), {
304
304
  key: 2,
305
305
  "class-name": "ui-ScrollAreaCorner"
306
306
  })) : z("", !0)
@@ -308,7 +308,7 @@ const _a = /* @__PURE__ */ m({
308
308
  _: 3
309
309
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
310
310
  }
311
- }), to = { class: "ui-DialogScroll" }, oo = ["data-align"], ba = /* @__PURE__ */ m({
311
+ }), to = { class: "ui-DialogScroll" }, oo = ["data-align"], ba = /* @__PURE__ */ h({
312
312
  inheritAttrs: !1,
313
313
  __name: "AlertDialogContent",
314
314
  props: {
@@ -342,7 +342,7 @@ const _a = /* @__PURE__ */ m({
342
342
  "minHeight",
343
343
  "maxHeight"
344
344
  ]);
345
- return (n, i) => (r(), u(a(qe), {
345
+ return (n, i) => (r(), d(a(qe), {
346
346
  to: t.to
347
347
  }, {
348
348
  default: c(() => [
@@ -383,7 +383,7 @@ const _a = /* @__PURE__ */ m({
383
383
  _: 3
384
384
  }, 8, ["to"]));
385
385
  }
386
- }), ao = { class: "ui-DialogScroll" }, so = ["data-align"], $a = /* @__PURE__ */ m({
386
+ }), ao = { class: "ui-DialogScroll" }, so = ["data-align"], $a = /* @__PURE__ */ h({
387
387
  inheritAttrs: !1,
388
388
  __name: "DialogContent",
389
389
  props: {
@@ -417,7 +417,7 @@ const _a = /* @__PURE__ */ m({
417
417
  "minHeight",
418
418
  "maxHeight"
419
419
  ]);
420
- return (n, i) => (r(), u(a(Qe), {
420
+ return (n, i) => (r(), d(a(Qe), {
421
421
  to: t.to
422
422
  }, {
423
423
  default: c(() => [
@@ -458,25 +458,25 @@ const _a = /* @__PURE__ */ m({
458
458
  _: 3
459
459
  }, 8, ["to"]));
460
460
  }
461
- }), Ba = /* @__PURE__ */ m({
461
+ }), Ba = /* @__PURE__ */ h({
462
462
  __name: "DialogHead",
463
463
  props: {
464
464
  title: {}
465
465
  },
466
466
  setup(s) {
467
467
  const e = s;
468
- return (t, o) => (r(), u(Xt, {
468
+ return (t, o) => (r(), d(Xt, {
469
469
  class: "ui-DialogHead",
470
470
  side: "x"
471
471
  }, {
472
472
  default: c(() => [
473
473
  p(a(Xe), { class: "font-semibold" }, {
474
474
  default: c(() => [
475
- W(A(e.title), 1)
475
+ L(V(e.title), 1)
476
476
  ]),
477
477
  _: 1
478
478
  }),
479
- p(j, {
479
+ p(W, {
480
480
  as: a(Ye),
481
481
  type: "button",
482
482
  variant: "ghost",
@@ -494,7 +494,7 @@ const _a = /* @__PURE__ */ m({
494
494
  _: 1
495
495
  }));
496
496
  }
497
- }), lo = { class: "ui-MenuViewport" }, [no, ro] = oe("ui_DropdownMenuContent"), xa = /* @__PURE__ */ m({
497
+ }), lo = { class: "ui-MenuViewport" }, [no, ro] = oe("ui_DropdownMenuContent"), xa = /* @__PURE__ */ h({
498
498
  inheritAttrs: !1,
499
499
  __name: "DropdownMenuContent",
500
500
  props: {
@@ -531,13 +531,13 @@ const _a = /* @__PURE__ */ m({
531
531
  "variant",
532
532
  "color",
533
533
  "highContrast"
534
- ]), { forwardRef: n } = M(), { size: i, variant: d, color: y, highContrast: v } = ee(t);
535
- return ro({ size: i, variant: d, color: y, highContrast: v }), (h, f) => (r(), u(a(et), {
534
+ ]), { forwardRef: n } = M(), { size: i, variant: u, color: y, highContrast: v } = ee(t);
535
+ return ro({ size: i, variant: u, color: y, highContrast: v }), (m, f) => (r(), d(a(et), {
536
536
  to: t.to
537
537
  }, {
538
538
  default: c(() => [
539
539
  p(a(tt), g({
540
- ...h.$attrs,
540
+ ...m.$attrs,
541
541
  ...a(l)
542
542
  }, {
543
543
  ref: a(n),
@@ -549,7 +549,7 @@ const _a = /* @__PURE__ */ m({
549
549
  p(ke, { type: "auto" }, {
550
550
  default: c(() => [
551
551
  b("div", lo, [
552
- _(h.$slots, "default")
552
+ _(m.$slots, "default")
553
553
  ])
554
554
  ]),
555
555
  _: 3
@@ -561,7 +561,7 @@ const _a = /* @__PURE__ */ m({
561
561
  _: 3
562
562
  }, 8, ["to"]));
563
563
  }
564
- }), io = ["textContent"], wa = /* @__PURE__ */ m({
564
+ }), io = ["textContent"], wa = /* @__PURE__ */ h({
565
565
  __name: "DropdownMenuItem",
566
566
  props: {
567
567
  color: {},
@@ -576,9 +576,9 @@ const _a = /* @__PURE__ */ m({
576
576
  const t = s, l = q(t, e, ["color", "shortcut"]);
577
577
  M();
578
578
  const n = no();
579
- return (i, d) => {
579
+ return (i, u) => {
580
580
  var y;
581
- return r(), u(a(ot), g({
581
+ return r(), d(a(ot), g({
582
582
  class: "ui-MenuItem",
583
583
  "data-accent-color": t.color,
584
584
  "data-size": a(n).size.value,
@@ -590,14 +590,14 @@ const _a = /* @__PURE__ */ m({
590
590
  t.shortcut ? (r(), $("div", {
591
591
  key: 0,
592
592
  class: "ui-MenuShortcut",
593
- textContent: A(t.shortcut)
593
+ textContent: V(t.shortcut)
594
594
  }, null, 8, io)) : z("", !0)
595
595
  ]),
596
596
  _: 3
597
597
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
598
598
  };
599
599
  }
600
- }), Sa = /* @__PURE__ */ m({
600
+ }), Sa = /* @__PURE__ */ h({
601
601
  inheritAttrs: !1,
602
602
  __name: "PopoverContent",
603
603
  props: {
@@ -626,7 +626,7 @@ const _a = /* @__PURE__ */ m({
626
626
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"],
627
627
  setup(s, { emit: e }) {
628
628
  const t = s, l = q(t, e, ["to", "size"]);
629
- return (n, i) => (r(), u(a(at), {
629
+ return (n, i) => (r(), d(a(at), {
630
630
  to: t.to
631
631
  }, {
632
632
  default: c(() => [
@@ -643,7 +643,7 @@ const _a = /* @__PURE__ */ m({
643
643
  _: 3
644
644
  }, 8, ["to"]));
645
645
  }
646
- }), za = /* @__PURE__ */ m({
646
+ }), za = /* @__PURE__ */ h({
647
647
  __name: "Switch",
648
648
  props: {
649
649
  color: {},
@@ -670,7 +670,7 @@ const _a = /* @__PURE__ */ m({
670
670
  "highContrast",
671
671
  "radius"
672
672
  ]);
673
- return (i, d) => (r(), u(a(lt), g(a(l), {
673
+ return (i, u) => (r(), d(a(lt), g(a(l), {
674
674
  class: ["ui-Switch", a(n)],
675
675
  "data-accent-color": o.color,
676
676
  "data-radius": o.radius
@@ -696,7 +696,7 @@ const _a = /* @__PURE__ */ m({
696
696
  }, po = {
697
697
  key: 1,
698
698
  d: "M20 6 9 17l-5-5"
699
- }, Ie = /* @__PURE__ */ m({
699
+ }, Ie = /* @__PURE__ */ h({
700
700
  __name: "Checkbox",
701
701
  props: {
702
702
  color: {},
@@ -716,7 +716,7 @@ const _a = /* @__PURE__ */ m({
716
716
  emits: ["update:modelValue"],
717
717
  setup(s, { emit: e }) {
718
718
  const t = e, o = s, [l, n] = N(o, t, ["color", "size", "variant", "highContrast"]);
719
- return (i, d) => (r(), u(a(rt), g(a(l), {
719
+ return (i, u) => (r(), d(a(rt), g(a(l), {
720
720
  class: ["ui-Checkbox", a(n)],
721
721
  "data-accent-color": o.color
722
722
  }), {
@@ -736,7 +736,7 @@ const _a = /* @__PURE__ */ m({
736
736
  _: 1
737
737
  }, 16, ["class", "data-accent-color"]));
738
738
  }
739
- }), [Te, fo] = oe("ui_CheckboxGroupRoot"), ka = /* @__PURE__ */ m({
739
+ }), [Te, fo] = oe("ui_CheckboxGroupRoot"), ka = /* @__PURE__ */ h({
740
740
  __name: "CheckboxGroupRoot",
741
741
  props: /* @__PURE__ */ Q({
742
742
  disabled: { type: Boolean },
@@ -752,47 +752,47 @@ const _a = /* @__PURE__ */ m({
752
752
  emits: ["update:modelValue"],
753
753
  setup(s) {
754
754
  const e = s, { disabled: t, name: o } = ee(e), l = P([]), [n, i] = Z(s, "modelValue", {
755
- set(h) {
756
- return i.number ? h = h.map((f) => Number(f)) : i.trim && (h = h.map((f) => f.trim())), h;
755
+ set(m) {
756
+ return i.number ? m = m.map((f) => Number(f)) : i.trim && (m = m.map((f) => f.trim())), m;
757
757
  }
758
- }), d = C(() => n.value || []), y = C(() => {
759
- var h, f;
760
- return l.value.length ? ((h = n.value) == null ? void 0 : h.length) === l.value.length ? !0 : (f = n.value) != null && f.length ? "indeterminate" : !1 : !1;
761
- }), v = (h) => {
762
- var B, V;
763
- const f = (B = n.value) == null ? void 0 : B.indexOf(h);
764
- f !== -1 && f !== void 0 && ((V = n.value) == null || V.splice(f, 1));
758
+ }), u = C(() => n.value || []), y = C(() => {
759
+ var m, f;
760
+ return l.value.length ? ((m = n.value) == null ? void 0 : m.length) === l.value.length ? !0 : (f = n.value) != null && f.length ? "indeterminate" : !1 : !1;
761
+ }), v = (m) => {
762
+ var B, A;
763
+ const f = (B = n.value) == null ? void 0 : B.indexOf(m);
764
+ f !== -1 && f !== void 0 && ((A = n.value) == null || A.splice(f, 1));
765
765
  };
766
766
  return fo({
767
- selected: d,
767
+ selected: u,
768
768
  checked: y,
769
- addModelValue: (h) => {
769
+ addModelValue: (m) => {
770
770
  var f, B;
771
- ((f = n.value) == null ? void 0 : f.indexOf(h)) === -1 && ((B = n.value) == null || B.push(h));
771
+ ((f = n.value) == null ? void 0 : f.indexOf(m)) === -1 && ((B = n.value) == null || B.push(m));
772
772
  },
773
773
  removeModelValue: v,
774
- toggleModelValue: (h) => {
775
- h ? n.value = [...l.value] : n.value = [];
774
+ toggleModelValue: (m) => {
775
+ m ? n.value = [...l.value] : n.value = [];
776
776
  },
777
- initAllValue: (h) => {
778
- l.value.push(h);
777
+ initAllValue: (m) => {
778
+ l.value.push(m);
779
779
  },
780
- removeAllValue: (h) => {
781
- l.value.splice(l.value.indexOf(h), 1), v(h);
780
+ removeAllValue: (m) => {
781
+ l.value.splice(l.value.indexOf(m), 1), v(m);
782
782
  },
783
783
  disabled: t,
784
784
  name: o == null ? void 0 : o.value
785
- }), (h, f) => (r(), u(a(U), {
785
+ }), (m, f) => (r(), d(a(U), {
786
786
  as: e.as,
787
787
  "as-child": e.asChild
788
788
  }, {
789
789
  default: c(() => [
790
- _(h.$slots, "default")
790
+ _(m.$slots, "default")
791
791
  ]),
792
792
  _: 3
793
793
  }, 8, ["as", "as-child"]));
794
794
  }
795
- }), Ia = /* @__PURE__ */ m({
795
+ }), Ia = /* @__PURE__ */ h({
796
796
  __name: "CheckboxGroupItem",
797
797
  props: {
798
798
  value: {},
@@ -813,23 +813,23 @@ const _a = /* @__PURE__ */ m({
813
813
  const e = s, t = T(e);
814
814
  M();
815
815
  const o = Te(), l = C(() => {
816
- var d;
817
- return ((d = o.disabled) == null ? void 0 : d.value) || e.disabled;
818
- }), n = C(() => o.selected.value.indexOf(e.value) !== -1), i = (d) => {
819
- d ? o.addModelValue(e.value) : o.removeModelValue(e.value);
816
+ var u;
817
+ return ((u = o.disabled) == null ? void 0 : u.value) || e.disabled;
818
+ }), n = C(() => o.selected.value.indexOf(e.value) !== -1), i = (u) => {
819
+ u ? o.addModelValue(e.value) : o.removeModelValue(e.value);
820
820
  };
821
821
  return ue(() => {
822
822
  o.initAllValue(e.value);
823
823
  }), Ce(() => {
824
824
  o.removeAllValue(e.value);
825
- }), (d, y) => (r(), u(Ie, g({
825
+ }), (u, y) => (r(), d(Ie, g({
826
826
  ...a(t),
827
827
  name: e.name || a(o).name,
828
828
  checked: n.value,
829
829
  disabled: l.value
830
830
  }, { "onUpdate:checked": i }), null, 16));
831
831
  }
832
- }), Ta = /* @__PURE__ */ m({
832
+ }), Ta = /* @__PURE__ */ h({
833
833
  __name: "CheckboxGroupControl",
834
834
  props: {
835
835
  color: {},
@@ -853,7 +853,7 @@ const _a = /* @__PURE__ */ m({
853
853
  var i;
854
854
  return ((i = o.disabled) == null ? void 0 : i.value) || e.disabled;
855
855
  }), n = C(() => o.checked.value);
856
- return (i, d) => (r(), u(Ie, g({
856
+ return (i, u) => (r(), d(Ie, g({
857
857
  ...a(t),
858
858
  name: e.name || a(o).name,
859
859
  checked: n.value,
@@ -862,7 +862,7 @@ const _a = /* @__PURE__ */ m({
862
862
  "onUpdate:checked": a(o).toggleModelValue
863
863
  }), null, 16, ["onUpdate:checked"]));
864
864
  }
865
- }), Va = /* @__PURE__ */ m({
865
+ }), Va = /* @__PURE__ */ h({
866
866
  __name: "Toggle",
867
867
  props: {
868
868
  color: {},
@@ -887,7 +887,7 @@ const _a = /* @__PURE__ */ m({
887
887
  "highContrast",
888
888
  "radius"
889
889
  ]);
890
- return (i, d) => (r(), u(a(ct), g(a(l), {
890
+ return (i, u) => (r(), d(a(ct), g(a(l), {
891
891
  class: ["ui-Toggle", a(n)],
892
892
  "data-accent-color": o.color,
893
893
  "data-radius": o.radius
@@ -898,7 +898,7 @@ const _a = /* @__PURE__ */ m({
898
898
  _: 3
899
899
  }, 16, ["class", "data-accent-color", "data-radius"]));
900
900
  }
901
- }), Aa = /* @__PURE__ */ m({
901
+ }), Aa = /* @__PURE__ */ h({
902
902
  __name: "ToggleGroupRoot",
903
903
  props: {
904
904
  color: {},
@@ -928,7 +928,7 @@ const _a = /* @__PURE__ */ m({
928
928
  "highContrast",
929
929
  "radius"
930
930
  ]);
931
- return (i, d) => (r(), u(a(ut), g(a(l), {
931
+ return (i, u) => (r(), d(a(ut), g(a(l), {
932
932
  class: ["ui-ToggleGroupRoot", a(n)],
933
933
  "data-accent-color": o.color,
934
934
  "data-radius": o.radius
@@ -939,7 +939,7 @@ const _a = /* @__PURE__ */ m({
939
939
  _: 3
940
940
  }, 16, ["class", "data-accent-color", "data-radius"]));
941
941
  }
942
- }), Ra = /* @__PURE__ */ m({
942
+ }), Ra = /* @__PURE__ */ h({
943
943
  __name: "ToggleGroupItem",
944
944
  props: {
945
945
  value: {},
@@ -949,14 +949,14 @@ const _a = /* @__PURE__ */ m({
949
949
  },
950
950
  setup(s) {
951
951
  const t = T(s);
952
- return (o, l) => (r(), u(a(dt), g(a(t), { class: "ui-ToggleGroupItem" }), {
952
+ return (o, l) => (r(), d(a(dt), g(a(t), { class: "ui-ToggleGroupItem" }), {
953
953
  default: c(() => [
954
954
  _(o.$slots, "default")
955
955
  ]),
956
956
  _: 3
957
957
  }, 16));
958
958
  }
959
- }), mo = ["data-radius", "data-accent-color"], ho = ["id", "type"], vo = {
959
+ }), ho = ["data-radius", "data-accent-color"], mo = ["id", "type"], vo = {
960
960
  key: 0,
961
961
  class: "ui-TextFieldSlot",
962
962
  "data-side": "left"
@@ -964,7 +964,7 @@ const _a = /* @__PURE__ */ m({
964
964
  key: 1,
965
965
  class: "ui-TextFieldSlot",
966
966
  "data-side": "right"
967
- }, ae = /* @__PURE__ */ m({
967
+ }, ae = /* @__PURE__ */ h({
968
968
  inheritAttrs: !1,
969
969
  __name: "TextField",
970
970
  props: /* @__PURE__ */ Q({
@@ -983,8 +983,8 @@ const _a = /* @__PURE__ */ m({
983
983
  }),
984
984
  emits: ["update:modelValue"],
985
985
  setup(s) {
986
- const e = s, t = P(), o = (d) => {
987
- const y = d.target;
986
+ const e = s, t = P(), o = (u) => {
987
+ const y = u.target;
988
988
  if (y.closest("input, button, a")) return;
989
989
  const v = t.value;
990
990
  if (!v) return;
@@ -993,14 +993,14 @@ const _a = /* @__PURE__ */ m({
993
993
  v.setSelectionRange(f, f), v.focus();
994
994
  });
995
995
  }, [l, n] = Z(s, "modelValue", {
996
- set(d) {
997
- return n.number ? Number(d) : n.trim ? d.trim() : d;
996
+ set(u) {
997
+ return n.number ? Number(u) : n.trim ? u.trim() : u;
998
998
  }
999
999
  }), i = C(() => {
1000
- const d = R(e, ["size", "variant"]);
1001
- return e.class && d.push(e.class), d;
1000
+ const u = R(e, ["size", "variant"]);
1001
+ return e.class && u.push(e.class), u;
1002
1002
  });
1003
- return (d, y) => (r(), $("div", {
1003
+ return (u, y) => (r(), $("div", {
1004
1004
  class: k(["ui-TextField", i.value]),
1005
1005
  "data-radius": e.radius,
1006
1006
  "data-accent-color": e.color,
@@ -1012,18 +1012,18 @@ const _a = /* @__PURE__ */ m({
1012
1012
  ref: t,
1013
1013
  "onUpdate:modelValue": y[0] || (y[0] = (v) => be(l) ? l.value = v : null),
1014
1014
  type: e.type
1015
- }, d.$attrs, { class: "ui-TextFieldInput" }), null, 16, ho), [
1015
+ }, u.$attrs, { class: "ui-TextFieldInput" }), null, 16, mo), [
1016
1016
  [Oe, a(l)]
1017
1017
  ]),
1018
- d.$slots.left ? (r(), $("div", vo, [
1019
- _(d.$slots, "left")
1018
+ u.$slots.left ? (r(), $("div", vo, [
1019
+ _(u.$slots, "left")
1020
1020
  ])) : z("", !0),
1021
- d.$slots.right ? (r(), $("div", _o, [
1022
- _(d.$slots, "right")
1021
+ u.$slots.right ? (r(), $("div", _o, [
1022
+ _(u.$slots, "right")
1023
1023
  ])) : z("", !0)
1024
- ], 42, mo));
1024
+ ], 42, ho));
1025
1025
  }
1026
- }), go = ["data-accent-color"], Pa = /* @__PURE__ */ m({
1026
+ }), go = ["data-accent-color"], Pa = /* @__PURE__ */ h({
1027
1027
  inheritAttrs: !1,
1028
1028
  __name: "TextArea",
1029
1029
  props: /* @__PURE__ */ Q({
@@ -1056,7 +1056,7 @@ const _a = /* @__PURE__ */ m({
1056
1056
  ])
1057
1057
  ], 10, go));
1058
1058
  }
1059
- }), yo = ["data-radius"], Co = ["id"], Da = /* @__PURE__ */ m({
1059
+ }), yo = ["data-radius"], Co = ["id"], Da = /* @__PURE__ */ h({
1060
1060
  __name: "ColorField",
1061
1061
  props: /* @__PURE__ */ Q({
1062
1062
  id: {},
@@ -1087,7 +1087,7 @@ const _a = /* @__PURE__ */ m({
1087
1087
  ])
1088
1088
  ], 14, yo));
1089
1089
  }
1090
- }), [Ve, bo] = oe("ui_SelectRoot"), Oa = /* @__PURE__ */ m({
1090
+ }), [Ve, bo] = oe("ui_SelectRoot"), Oa = /* @__PURE__ */ h({
1091
1091
  __name: "SelectRoot",
1092
1092
  props: {
1093
1093
  size: { default: "2" },
@@ -1107,19 +1107,19 @@ const _a = /* @__PURE__ */ m({
1107
1107
  },
1108
1108
  emits: ["update:modelValue", "update:open"],
1109
1109
  setup(s, { emit: e }) {
1110
- const t = s, o = e, { size: l, color: n, highContrast: i } = ee(t), d = q(t, o, ["size", "color", "highContrast"]);
1110
+ const t = s, o = e, { size: l, color: n, highContrast: i } = ee(t), u = q(t, o, ["size", "color", "highContrast"]);
1111
1111
  return bo({
1112
1112
  size: l,
1113
1113
  color: n,
1114
1114
  highContrast: i
1115
- }), (y, v) => (r(), u(a(pt), Me(Fe(a(d))), {
1115
+ }), (y, v) => (r(), d(a(pt), Me(Fe(a(u))), {
1116
1116
  default: c(() => [
1117
1117
  _(y.$slots, "default")
1118
1118
  ]),
1119
1119
  _: 3
1120
1120
  }, 16));
1121
1121
  }
1122
- }), Ma = /* @__PURE__ */ m({
1122
+ }), Ma = /* @__PURE__ */ h({
1123
1123
  inheritAttrs: !1,
1124
1124
  __name: "SelectContent",
1125
1125
  props: {
@@ -1151,11 +1151,11 @@ const _a = /* @__PURE__ */ m({
1151
1151
  const i = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1152
1152
  return l.highContrast.value && i.push("r-high-contrast"), e.position === "popper" && i.push("ui-PopperContent"), i;
1153
1153
  });
1154
- return (i, d) => (r(), u(a(ft), {
1154
+ return (i, u) => (r(), d(a(ft), {
1155
1155
  to: e.to
1156
1156
  }, {
1157
1157
  default: c(() => [
1158
- p(a(mt), g({ ref: a(o) }, {
1158
+ p(a(ht), g({ ref: a(o) }, {
1159
1159
  ...i.$attrs,
1160
1160
  ...a(t),
1161
1161
  to: void 0,
@@ -1170,7 +1170,7 @@ const _a = /* @__PURE__ */ m({
1170
1170
  class: "ui-ScrollArea"
1171
1171
  }, {
1172
1172
  default: c(() => [
1173
- p(a(ht), {
1173
+ p(a(mt), {
1174
1174
  class: "ui-SelectViewport",
1175
1175
  "as-child": ""
1176
1176
  }, {
@@ -1181,7 +1181,7 @@ const _a = /* @__PURE__ */ m({
1181
1181
  ]),
1182
1182
  _: 3
1183
1183
  }),
1184
- d[0] || (d[0] = b("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1184
+ u[0] || (u[0] = b("div", { class: "ui-ScrollAreaViewportFocusRing" }, null, -1)),
1185
1185
  p(a(ne), {
1186
1186
  class: "ui-ScrollAreaScrollbar",
1187
1187
  "data-size": 1,
@@ -1205,7 +1205,7 @@ const _a = /* @__PURE__ */ m({
1205
1205
  _: 3
1206
1206
  }, 8, ["to"]));
1207
1207
  }
1208
- }), $o = { class: "ui-SelectTriggerInner" }, Fa = /* @__PURE__ */ m({
1208
+ }), $o = { class: "ui-SelectTriggerInner" }, Fa = /* @__PURE__ */ h({
1209
1209
  __name: "SelectTrigger",
1210
1210
  props: {
1211
1211
  variant: { default: "surface" },
@@ -1218,7 +1218,7 @@ const _a = /* @__PURE__ */ m({
1218
1218
  },
1219
1219
  setup(s) {
1220
1220
  const e = s, t = Ve(), o = C(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1221
- return (l, n) => (r(), u(a(vt), {
1221
+ return (l, n) => (r(), d(a(vt), {
1222
1222
  class: k(["ui-SelectTrigger", o.value]),
1223
1223
  disabled: e.disabled,
1224
1224
  "data-accent-color": a(t).color.value,
@@ -1228,7 +1228,20 @@ const _a = /* @__PURE__ */ m({
1228
1228
  b("span", $o, [
1229
1229
  p(a(_t), {
1230
1230
  placeholder: e.placeholder
1231
- }, null, 8, ["placeholder"])
1231
+ }, {
1232
+ default: c(({ selectedLabel: i, modelValue: u }) => [
1233
+ i.length ? _(l.$slots, "default", {
1234
+ key: 0,
1235
+ selectedLabel: i,
1236
+ modelValue: u
1237
+ }, () => [
1238
+ L(V(i.join(", ")), 1)
1239
+ ]) : (r(), $(H, { key: 1 }, [
1240
+ L(V(e.placeholder), 1)
1241
+ ], 64))
1242
+ ]),
1243
+ _: 3
1244
+ }, 8, ["placeholder"])
1232
1245
  ]),
1233
1246
  p(a(gt), { "as-child": "" }, {
1234
1247
  default: c(() => [
@@ -1240,10 +1253,10 @@ const _a = /* @__PURE__ */ m({
1240
1253
  _: 1
1241
1254
  })
1242
1255
  ]),
1243
- _: 1
1256
+ _: 3
1244
1257
  }, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
1245
1258
  }
1246
- }), La = /* @__PURE__ */ m({
1259
+ }), La = /* @__PURE__ */ h({
1247
1260
  __name: "SelectItem",
1248
1261
  props: {
1249
1262
  value: {},
@@ -1254,7 +1267,7 @@ const _a = /* @__PURE__ */ m({
1254
1267
  },
1255
1268
  setup(s) {
1256
1269
  const t = T(s);
1257
- return M(), (o, l) => (r(), u(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1270
+ return M(), (o, l) => (r(), d(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1258
1271
  default: c(() => [
1259
1272
  p(a(Ct), { class: "ui-SelectItemIndicator" }, {
1260
1273
  default: c(() => [
@@ -1272,7 +1285,7 @@ const _a = /* @__PURE__ */ m({
1272
1285
  _: 3
1273
1286
  }, 16));
1274
1287
  }
1275
- }), Ga = /* @__PURE__ */ m({
1288
+ }), Ga = /* @__PURE__ */ h({
1276
1289
  __name: "SelectLabel",
1277
1290
  props: {
1278
1291
  for: {},
@@ -1281,7 +1294,7 @@ const _a = /* @__PURE__ */ m({
1281
1294
  },
1282
1295
  setup(s) {
1283
1296
  const t = T(s);
1284
- return M(), (o, l) => (r(), u(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1297
+ return M(), (o, l) => (r(), d(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1285
1298
  default: c(() => [
1286
1299
  _(o.$slots, "default")
1287
1300
  ]),
@@ -1300,7 +1313,7 @@ const _a = /* @__PURE__ */ m({
1300
1313
  function So(s, e) {
1301
1314
  return r(), $("div", wo);
1302
1315
  }
1303
- const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxRoot"), Ea = /* @__PURE__ */ m({
1316
+ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxRoot"), Ea = /* @__PURE__ */ h({
1304
1317
  __name: "ComboboxRoot",
1305
1318
  props: {
1306
1319
  size: { default: "2" },
@@ -1325,14 +1338,14 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1325
1338
  },
1326
1339
  emits: ["update:modelValue", "highlight", "update:open"],
1327
1340
  setup(s, { emit: e }) {
1328
- const t = s, o = e, { size: l, color: n, highContrast: i } = ee(t), [d, y] = N(t, o, ["size", "color", "highContrast"]);
1341
+ const t = s, o = e, { size: l, color: n, highContrast: i } = ee(t), [u, y] = N(t, o, ["size", "color", "highContrast"]);
1329
1342
  return ko({
1330
1343
  size: l,
1331
1344
  color: n,
1332
1345
  highContrast: i
1333
- }), (v, h) => (r(), u(a(Bt), g({
1346
+ }), (v, m) => (r(), d(a(Bt), g({
1334
1347
  class: ["ui-ComboboxRoot", a(y)]
1335
- }, a(d)), {
1348
+ }, a(u)), {
1336
1349
  default: c(() => [
1337
1350
  _(v.$slots, "default")
1338
1351
  ]),
@@ -1342,7 +1355,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1342
1355
  }), Io = {
1343
1356
  key: 0,
1344
1357
  class: "ui-ComboboxValues"
1345
- }, To = ["aria-current", "value"], Vo = ["onClick"], Wa = /* @__PURE__ */ m({
1358
+ }, To = ["aria-current", "value"], Vo = ["onClick"], ja = /* @__PURE__ */ h({
1346
1359
  inheritAttrs: !1,
1347
1360
  __name: "ComboboxInput",
1348
1361
  props: {
@@ -1358,35 +1371,35 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1358
1371
  },
1359
1372
  emits: ["update:modelValue"],
1360
1373
  setup(s, { emit: e }) {
1361
- const t = xt(), n = we(s, e), i = P(-1), d = C(() => t.modelValue.value), y = (f) => typeof f == "object" ? JSON.stringify(f) : f.toString(), v = (f) => {
1374
+ const t = xt(), n = we(s, e), i = P(-1), u = C(() => t.modelValue.value), y = (f) => typeof f == "object" ? JSON.stringify(f) : f.toString(), v = (f) => {
1362
1375
  i.value = f, t.modelValue.value.splice(f, 1), i.value = -1;
1363
- }, h = (f) => {
1364
- !f.target.value && (f.key === "Delete" || f.key === "Backspace") && (i.value !== -1 ? v(i.value) : (i.value = d.value.length - 1, setTimeout(() => {
1376
+ }, m = (f) => {
1377
+ !f.target.value && (f.key === "Delete" || f.key === "Backspace") && (i.value !== -1 ? v(i.value) : (i.value = u.value.length - 1, setTimeout(() => {
1365
1378
  i.value = -1;
1366
1379
  }, 800)));
1367
1380
  };
1368
- return Le(d, () => {
1381
+ return Le(u, () => {
1369
1382
  t.filterState.search = "";
1370
- }, { deep: !0 }), (f, B) => (r(), u(a(wt), {
1383
+ }, { deep: !0 }), (f, B) => (r(), d(a(wt), {
1371
1384
  class: k(["ui-ComboboxField", `r-variant-${f.variant}`]),
1372
1385
  "data-radius": f.radius,
1373
1386
  "data-multiple": a(t).multiple.value || void 0
1374
1387
  }, {
1375
1388
  default: c(() => [
1376
1389
  a(t).multiple.value ? (r(), $("div", Io, [
1377
- (r(!0), $(H, null, E(d.value, (V, F) => (r(), $("div", {
1378
- key: y(V),
1390
+ (r(!0), $(H, null, j(u.value, (A, F) => (r(), $("div", {
1391
+ key: y(A),
1379
1392
  class: "ui-ComboboxValuesItem",
1380
1393
  "aria-current": F === i.value,
1381
- value: V
1394
+ value: A
1382
1395
  }, [
1383
- _(f.$slots, "item", { value: V }, () => [
1384
- b("span", null, A(y(V)), 1)
1396
+ _(f.$slots, "item", { value: A }, () => [
1397
+ b("span", null, V(y(A)), 1)
1385
1398
  ]),
1386
1399
  b("button", {
1387
1400
  type: "button",
1388
1401
  tabindex: "-1",
1389
- onClick: D((G) => v(F), ["prevent"])
1402
+ onClick: D((E) => v(F), ["prevent"])
1390
1403
  }, [
1391
1404
  p(a(I), { icon: "lucide:x" })
1392
1405
  ], 8, Vo)
@@ -1398,9 +1411,9 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1398
1411
  radius: void 0
1399
1412
  }, {
1400
1413
  class: "ui-ComboboxInput",
1401
- onKeydown: h
1414
+ onKeydown: m
1402
1415
  }), null, 16)
1403
- ])) : (r(), u(a(ve), g({
1416
+ ])) : (r(), d(a(ve), g({
1404
1417
  key: 1,
1405
1418
  class: "ui-ComboboxInput"
1406
1419
  }, {
@@ -1419,7 +1432,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1419
1432
  _: 3
1420
1433
  }, 8, ["class", "data-radius", "data-multiple"]));
1421
1434
  }
1422
- }), ja = /* @__PURE__ */ m({
1435
+ }), Wa = /* @__PURE__ */ h({
1423
1436
  inheritAttrs: !1,
1424
1437
  __name: "ComboboxContent",
1425
1438
  props: {
@@ -1449,11 +1462,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1449
1462
  },
1450
1463
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1451
1464
  setup(s, { emit: e }) {
1452
- const { forwardRef: t } = M(), o = s, n = we(o, e), i = zo(), d = C(() => {
1465
+ const { forwardRef: t } = M(), o = s, n = we(o, e), i = zo(), u = C(() => {
1453
1466
  const y = ["r-size-" + i.size.value, "r-variant-" + o.variant];
1454
1467
  return i.highContrast.value && y.push("r-high-contrast"), y;
1455
1468
  });
1456
- return (y, v) => (r(), u(a(zt), {
1469
+ return (y, v) => (r(), d(a(zt), {
1457
1470
  to: o.to
1458
1471
  }, {
1459
1472
  default: c(() => [
@@ -1464,7 +1477,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1464
1477
  to: void 0,
1465
1478
  variant: void 0
1466
1479
  }, {
1467
- class: ["ui-ComboboxContent", d.value],
1480
+ class: ["ui-ComboboxContent", u.value],
1468
1481
  "data-accent-color": a(i).color.value
1469
1482
  }), {
1470
1483
  default: c(() => [
@@ -1508,7 +1521,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1508
1521
  _: 3
1509
1522
  }, 8, ["to"]));
1510
1523
  }
1511
- }), Ua = /* @__PURE__ */ m({
1524
+ }), Ua = /* @__PURE__ */ h({
1512
1525
  __name: "ComboboxItem",
1513
1526
  props: {
1514
1527
  textValue: {},
@@ -1519,7 +1532,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1519
1532
  },
1520
1533
  setup(s) {
1521
1534
  const t = T(s);
1522
- return (o, l) => (r(), u(a(Tt), g({ class: "ui-ComboboxItem" }, a(t)), {
1535
+ return (o, l) => (r(), d(a(Tt), g({ class: "ui-ComboboxItem" }, a(t)), {
1523
1536
  default: c(() => [
1524
1537
  p(a(Vt), { class: "ui-ComboboxItemIndicator" }, {
1525
1538
  default: c(() => [
@@ -1532,7 +1545,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1532
1545
  _: 3
1533
1546
  }, 16));
1534
1547
  }
1535
- }), qa = /* @__PURE__ */ m({
1548
+ }), qa = /* @__PURE__ */ h({
1536
1549
  __name: "ComboboxLabel",
1537
1550
  props: {
1538
1551
  for: {},
@@ -1541,14 +1554,14 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1541
1554
  },
1542
1555
  setup(s) {
1543
1556
  const t = T(s);
1544
- return M(), (o, l) => (r(), u(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1557
+ return M(), (o, l) => (r(), d(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1545
1558
  default: c(() => [
1546
1559
  _(o.$slots, "default")
1547
1560
  ]),
1548
1561
  _: 3
1549
1562
  }, 16));
1550
1563
  }
1551
- }), Ao = ["data-accent-color"], Na = /* @__PURE__ */ m({
1564
+ }), Ao = ["data-accent-color"], Na = /* @__PURE__ */ h({
1552
1565
  __name: "Radio",
1553
1566
  props: /* @__PURE__ */ Q({
1554
1567
  color: {},
@@ -1569,7 +1582,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1569
1582
  }
1570
1583
  }), l = C(() => R(e, ["size", "variant", "highContrast"]));
1571
1584
  return (n, i) => te((r(), $("input", {
1572
- "onUpdate:modelValue": i[0] || (i[0] = (d) => be(t) ? t.value = d : null),
1585
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => be(t) ? t.value = u : null),
1573
1586
  class: k(["ui-Radio", l.value]),
1574
1587
  type: "radio",
1575
1588
  "data-accent-color": e.color
@@ -1577,7 +1590,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1577
1590
  [Ge, a(t)]
1578
1591
  ]);
1579
1592
  }
1580
- }), [Ae, Ro] = oe("ui_RadioGroupRoot"), Ka = /* @__PURE__ */ m({
1593
+ }), [Ae, Ro] = oe("ui_RadioGroupRoot"), Ka = /* @__PURE__ */ h({
1581
1594
  __name: "RadioGroupRoot",
1582
1595
  props: {
1583
1596
  color: {},
@@ -1597,15 +1610,15 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1597
1610
  },
1598
1611
  emits: ["update:modelValue"],
1599
1612
  setup(s, { emit: e }) {
1600
- const t = e, o = s, l = q(o, t, ["color", "size", "variant", "highContrast"]), { size: n, variant: i, color: d, highContrast: y } = ee(o);
1601
- return Ro({ size: n, variant: i, color: d, highContrast: y }), (v, h) => (r(), u(a(Se), g({ class: "ui-RadioGroupRoot" }, a(l)), {
1613
+ const t = e, o = s, l = q(o, t, ["color", "size", "variant", "highContrast"]), { size: n, variant: i, color: u, highContrast: y } = ee(o);
1614
+ return Ro({ size: n, variant: i, color: u, highContrast: y }), (v, m) => (r(), d(a(Se), g({ class: "ui-RadioGroupRoot" }, a(l)), {
1602
1615
  default: c(() => [
1603
1616
  _(v.$slots, "default")
1604
1617
  ]),
1605
1618
  _: 3
1606
1619
  }, 16));
1607
1620
  }
1608
- }), Po = { class: "ui-RadioGroupItem" }, Qa = /* @__PURE__ */ m({
1621
+ }), Po = { class: "ui-RadioGroupItem" }, Qa = /* @__PURE__ */ h({
1609
1622
  __name: "RadioGroupItem",
1610
1623
  props: {
1611
1624
  id: {},
@@ -1626,17 +1639,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1626
1639
  return (i = o.highContrast) != null && i.value && n.push("r-high-contrast"), n;
1627
1640
  });
1628
1641
  return (n, i) => {
1629
- var d;
1642
+ var u;
1630
1643
  return r(), $("label", Po, [
1631
1644
  p(a(ze), g({
1632
1645
  class: ["ui-Radio", l.value],
1633
- "data-accent-color": (d = a(o).color) == null ? void 0 : d.value
1646
+ "data-accent-color": (u = a(o).color) == null ? void 0 : u.value
1634
1647
  }, a(t)), null, 16, ["class", "data-accent-color"]),
1635
1648
  _(n.$slots, "default")
1636
1649
  ]);
1637
1650
  };
1638
1651
  }
1639
- }), Za = /* @__PURE__ */ m({
1652
+ }), Za = /* @__PURE__ */ h({
1640
1653
  __name: "RadioCardsItem",
1641
1654
  props: {
1642
1655
  id: {},
@@ -1652,13 +1665,13 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1652
1665
  M();
1653
1666
  const o = Ae();
1654
1667
  return (l, n) => {
1655
- var i, d;
1656
- return r(), u(a(ze), g({
1668
+ var i, u;
1669
+ return r(), d(a(ze), g({
1657
1670
  class: "ui-RadioCardsItem",
1658
1671
  "data-accent-color": (i = a(o).color) == null ? void 0 : i.value,
1659
1672
  "data-size": a(o).size.value,
1660
1673
  "data-variant": a(o).variant.value,
1661
- "data-high-contrast": (d = a(o).highContrast) == null ? void 0 : d.value
1674
+ "data-high-contrast": (u = a(o).highContrast) == null ? void 0 : u.value
1662
1675
  }, { ...a(t), asChild: !1 }), {
1663
1676
  default: c(() => [
1664
1677
  p(Yt, {
@@ -1674,7 +1687,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1674
1687
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
1675
1688
  };
1676
1689
  }
1677
- }), Ja = /* @__PURE__ */ m({
1690
+ }), Ja = /* @__PURE__ */ h({
1678
1691
  __name: "RadioTabsList",
1679
1692
  props: {
1680
1693
  size: { default: "2" },
@@ -1692,7 +1705,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1692
1705
  emits: ["update:modelValue"],
1693
1706
  setup(s, { emit: e }) {
1694
1707
  const t = e, o = s, [l, n] = N(o, t, ["size"]);
1695
- return (i, d) => (r(), u(a(Se), g(a(l), {
1708
+ return (i, u) => (r(), d(a(Se), g(a(l), {
1696
1709
  class: ["ui-RadioTabsList", a(n)]
1697
1710
  }), {
1698
1711
  default: c(() => [
@@ -1701,7 +1714,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1701
1714
  _: 3
1702
1715
  }, 16, ["class"]));
1703
1716
  }
1704
- }), Xa = /* @__PURE__ */ m({
1717
+ }), Xa = /* @__PURE__ */ h({
1705
1718
  __name: "TabsList",
1706
1719
  props: {
1707
1720
  size: { default: "2" },
@@ -1710,7 +1723,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1710
1723
  },
1711
1724
  setup(s) {
1712
1725
  const e = s, t = C(() => R(e, ["size", "highContrast"]));
1713
- return (o, l) => (r(), u(a(Rt), {
1726
+ return (o, l) => (r(), d(a(Rt), {
1714
1727
  class: k(["ui-TabList", t.value]),
1715
1728
  "data-accent-color": e.color
1716
1729
  }, {
@@ -1721,7 +1734,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1721
1734
  _: 3
1722
1735
  }, 8, ["class", "data-accent-color"]));
1723
1736
  }
1724
- }), Do = { class: "ui-TabTriggerInner" }, Oo = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ m({
1737
+ }), Do = { class: "ui-TabTriggerInner" }, Oo = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ h({
1725
1738
  __name: "TabsTrigger",
1726
1739
  props: {
1727
1740
  value: {},
@@ -1731,7 +1744,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1731
1744
  },
1732
1745
  setup(s) {
1733
1746
  const t = T(s);
1734
- return (o, l) => (r(), u(a(Dt), g(a(t), { class: "ui-TabTrigger" }), {
1747
+ return (o, l) => (r(), d(a(Dt), g(a(t), { class: "ui-TabTrigger" }), {
1735
1748
  default: c(() => [
1736
1749
  b("span", Do, [
1737
1750
  _(o.$slots, "default")
@@ -1743,7 +1756,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1743
1756
  _: 3
1744
1757
  }, 16));
1745
1758
  }
1746
- }), es = /* @__PURE__ */ m({
1759
+ }), es = /* @__PURE__ */ h({
1747
1760
  __name: "AccordionRoot",
1748
1761
  props: {
1749
1762
  size: { default: "1" },
@@ -1761,7 +1774,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1761
1774
  emits: ["update:modelValue"],
1762
1775
  setup(s, { emit: e }) {
1763
1776
  const t = s, o = e, [l, n] = N(t, o, ["size"]);
1764
- return (i, d) => (r(), u(a(Ot), g(a(l), {
1777
+ return (i, u) => (r(), d(a(Ot), g(a(l), {
1765
1778
  class: ["ui-AccordionRoot", a(n)]
1766
1779
  }), {
1767
1780
  default: c(() => [
@@ -1770,7 +1783,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1770
1783
  _: 3
1771
1784
  }, 16, ["class"]));
1772
1785
  }
1773
- }), ts = /* @__PURE__ */ m({
1786
+ }), ts = /* @__PURE__ */ h({
1774
1787
  __name: "AccordionItem",
1775
1788
  props: {
1776
1789
  disabled: { type: Boolean },
@@ -1781,14 +1794,14 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1781
1794
  },
1782
1795
  setup(s) {
1783
1796
  const t = T(s);
1784
- return (o, l) => (r(), u(a(Mt), g(a(t), { class: "ui-AccordionItem" }), {
1797
+ return (o, l) => (r(), d(a(Mt), g(a(t), { class: "ui-AccordionItem" }), {
1785
1798
  default: c(() => [
1786
1799
  _(o.$slots, "default")
1787
1800
  ]),
1788
1801
  _: 3
1789
1802
  }, 16));
1790
1803
  }
1791
- }), os = /* @__PURE__ */ m({
1804
+ }), os = /* @__PURE__ */ h({
1792
1805
  inheritAttrs: !1,
1793
1806
  __name: "AccordionContent",
1794
1807
  props: {
@@ -1798,7 +1811,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1798
1811
  },
1799
1812
  setup(s) {
1800
1813
  const t = T(s);
1801
- return (o, l) => (r(), u(a(Ft), g(a(t), { class: "ui-AccordionContent" }), {
1814
+ return (o, l) => (r(), d(a(Ft), g(a(t), { class: "ui-AccordionContent" }), {
1802
1815
  default: c(() => [
1803
1816
  b("div", g({ class: "ui-AccordionContentInner" }, o.$attrs), [
1804
1817
  _(o.$slots, "default")
@@ -1807,7 +1820,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1807
1820
  _: 3
1808
1821
  }, 16));
1809
1822
  }
1810
- }), Mo = ["data-accent-color"], Fo = /* @__PURE__ */ m({
1823
+ }), Mo = ["data-accent-color"], Fo = /* @__PURE__ */ h({
1811
1824
  __name: "PlusMinusIcon",
1812
1825
  props: {
1813
1826
  color: { default: void 0 },
@@ -1823,19 +1836,19 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1823
1836
  b("div", { class: "ui-PlusMinusIcon-2" }, null, -1)
1824
1837
  ]), 10, Mo));
1825
1838
  }
1826
- }), Lo = /* @__PURE__ */ m({
1839
+ }), Lo = /* @__PURE__ */ h({
1827
1840
  __name: "ChevronIcon",
1828
1841
  props: {
1829
1842
  arrowTransform: { default: "right-down" }
1830
1843
  },
1831
1844
  setup(s) {
1832
- return (e, t) => (r(), u(a(I), {
1845
+ return (e, t) => (r(), d(a(I), {
1833
1846
  class: "ui-ChevronIcon",
1834
1847
  icon: "lucide:chevron-right",
1835
1848
  "data-arrow-transform": e.arrowTransform
1836
1849
  }, null, 8, ["data-arrow-transform"]));
1837
1850
  }
1838
- }), Go = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ m({
1851
+ }), Go = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ h({
1839
1852
  __name: "AccordionTrigger",
1840
1853
  props: {
1841
1854
  indicator: { default: "chevron" },
@@ -1844,17 +1857,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1844
1857
  },
1845
1858
  setup(s) {
1846
1859
  const e = s, [t, o] = Qt(e, ["size"]);
1847
- return (l, n) => (r(), u(a(Lt), g({
1860
+ return (l, n) => (r(), d(a(Lt), g({
1848
1861
  class: ["ui-AccordionTrigger", a(o)]
1849
1862
  }, a(t)), {
1850
1863
  default: c(() => [
1851
1864
  b("div", Go, [
1852
1865
  _(l.$slots, "default")
1853
1866
  ]),
1854
- e.indicator === "plus-minus" ? (r(), u(Fo, {
1867
+ e.indicator === "plus-minus" ? (r(), d(Fo, {
1855
1868
  key: 0,
1856
1869
  class: "ui-AccordionTriggerIcon"
1857
- })) : e.indicator === "chevron" ? (r(), u(Lo, {
1870
+ })) : e.indicator === "chevron" ? (r(), d(Lo, {
1858
1871
  key: 1,
1859
1872
  "arrow-transform": "down-up"
1860
1873
  })) : z("", !0)
@@ -1862,7 +1875,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1862
1875
  _: 3
1863
1876
  }, 16, ["class"]));
1864
1877
  }
1865
- }), ss = /* @__PURE__ */ m({
1878
+ }), ss = /* @__PURE__ */ h({
1866
1879
  inheritAttrs: !1,
1867
1880
  __name: "CollapsibleContent",
1868
1881
  props: {
@@ -1872,7 +1885,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1872
1885
  },
1873
1886
  setup(s) {
1874
1887
  const t = T(s);
1875
- return (o, l) => (r(), u(a(Gt), g(a(t), { class: "ui-CollapsibleContent" }), {
1888
+ return (o, l) => (r(), d(a(Gt), g(a(t), { class: "ui-CollapsibleContent" }), {
1876
1889
  default: c(() => [
1877
1890
  b("div", g({ class: "ui-CollapsibleContentInner" }, o.$attrs), [
1878
1891
  _(o.$slots, "default")
@@ -1881,7 +1894,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1881
1894
  _: 3
1882
1895
  }, 16));
1883
1896
  }
1884
- }), Ho = /* @__PURE__ */ m({
1897
+ }), Ho = /* @__PURE__ */ h({
1885
1898
  __name: "Pagination",
1886
1899
  props: /* @__PURE__ */ Q({
1887
1900
  total: {},
@@ -1909,32 +1922,32 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1909
1922
  highContrast: e.highContrast,
1910
1923
  disabled: e.disabled
1911
1924
  })), n = C(() => {
1912
- const v = Math.ceil(e.total / e.perpage), h = t.value > 1 ? t.value - 1 : null, f = t.value < v ? t.value + 1 : null, B = 5 + e.edge * 2, V = v > B && t.value > e.edge + 3, F = v > B && t.value + e.edge + 2 < v, G = [];
1925
+ const v = Math.ceil(e.total / e.perpage), m = t.value > 1 ? t.value - 1 : null, f = t.value < v ? t.value + 1 : null, B = 5 + e.edge * 2, A = v > B && t.value > e.edge + 3, F = v > B && t.value + e.edge + 2 < v, E = [];
1913
1926
  let K = 2, J = v - 1;
1914
- V && !F ? K = Math.max(4, v - 2 * e.edge - 2) : !V && F ? J = Math.min(2 * e.edge + 3, v - 1) : V && F && (K = t.value - e.edge, J = t.value + e.edge);
1927
+ A && !F ? K = Math.max(4, v - 2 * e.edge - 2) : !A && F ? J = Math.min(2 * e.edge + 3, v - 1) : A && F && (K = t.value - e.edge, J = t.value + e.edge);
1915
1928
  for (let X = K; X <= J; X++)
1916
- G.push(X);
1929
+ E.push(X);
1917
1930
  return {
1918
1931
  totalPages: v,
1919
- prev: h,
1932
+ prev: m,
1920
1933
  next: f,
1921
- hasLeftEdge: V,
1934
+ hasLeftEdge: A,
1922
1935
  hasRightEdge: F,
1923
- pageList: G
1936
+ pageList: E
1924
1937
  };
1925
1938
  }), i = (v) => {
1926
1939
  t.value = v;
1927
- }, d = () => {
1940
+ }, u = () => {
1928
1941
  i(t.value - e.edge);
1929
1942
  }, y = () => {
1930
1943
  i(t.value + e.edge);
1931
1944
  };
1932
- return (v, h) => (r(), $("div", {
1945
+ return (v, m) => (r(), $("div", {
1933
1946
  class: k(["ui-Pagination", o.value])
1934
1947
  }, [
1935
- n.value.prev ? (r(), u(Y, g({ key: 0 }, l.value, {
1948
+ n.value.prev ? (r(), d(Y, g({ key: 0 }, l.value, {
1936
1949
  "aria-label": "Previous",
1937
- onClick: h[0] || (h[0] = D((f) => i(n.value.prev), ["prevent"]))
1950
+ onClick: m[0] || (m[0] = D((f) => i(n.value.prev), ["prevent"]))
1938
1951
  }), {
1939
1952
  default: c(() => [
1940
1953
  _(v.$slots, "prev-page", {
@@ -1945,20 +1958,20 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1945
1958
  ]),
1946
1959
  _: 3
1947
1960
  }, 16)) : z("", !0),
1948
- p(j, g(l.value, {
1961
+ p(W, g(l.value, {
1949
1962
  disabled: t.value === 1,
1950
1963
  "aria-current": "page",
1951
- onClick: h[1] || (h[1] = D((f) => i(1), ["prevent"]))
1964
+ onClick: m[1] || (m[1] = D((f) => i(1), ["prevent"]))
1952
1965
  }), {
1953
1966
  default: c(() => [
1954
1967
  _(v.$slots, "page", { page: 1 }, () => [
1955
- h[4] || (h[4] = W("1"))
1968
+ m[4] || (m[4] = L("1"))
1956
1969
  ])
1957
1970
  ]),
1958
1971
  _: 3
1959
1972
  }, 16, ["disabled"]),
1960
- n.value.hasLeftEdge ? (r(), u(Y, g({ key: 1 }, l.value, {
1961
- onClick: D(d, ["prevent"])
1973
+ n.value.hasLeftEdge ? (r(), d(Y, g({ key: 1 }, l.value, {
1974
+ onClick: D(u, ["prevent"])
1962
1975
  }), {
1963
1976
  default: c(() => [
1964
1977
  _(v.$slots, "prev-edge", {
@@ -1969,7 +1982,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1969
1982
  ]),
1970
1983
  _: 3
1971
1984
  }, 16)) : z("", !0),
1972
- (r(!0), $(H, null, E(n.value.pageList, (f) => (r(), u(j, g({
1985
+ (r(!0), $(H, null, j(n.value.pageList, (f) => (r(), d(W, g({
1973
1986
  key: f,
1974
1987
  ref_for: !0
1975
1988
  }, l.value, {
@@ -1979,12 +1992,12 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1979
1992
  }), {
1980
1993
  default: c(() => [
1981
1994
  _(v.$slots, "page", { page: f }, () => [
1982
- W(A(f), 1)
1995
+ L(V(f), 1)
1983
1996
  ])
1984
1997
  ]),
1985
1998
  _: 2
1986
1999
  }, 1040, ["disabled", "onClick"]))), 128)),
1987
- n.value.hasRightEdge ? (r(), u(Y, g({ key: 2 }, l.value, {
2000
+ n.value.hasRightEdge ? (r(), d(Y, g({ key: 2 }, l.value, {
1988
2001
  onClick: D(y, ["prevent"])
1989
2002
  }), {
1990
2003
  default: c(() => [
@@ -1996,23 +2009,23 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1996
2009
  ]),
1997
2010
  _: 3
1998
2011
  }, 16)) : z("", !0),
1999
- n.value.totalPages > 1 ? (r(), u(j, g({ key: 3 }, l.value, {
2012
+ n.value.totalPages > 1 ? (r(), d(W, g({ key: 3 }, l.value, {
2000
2013
  disabled: n.value.totalPages === t.value,
2001
2014
  "aria-current": "page",
2002
- onClick: h[2] || (h[2] = D((f) => i(n.value.totalPages), ["prevent"]))
2015
+ onClick: m[2] || (m[2] = D((f) => i(n.value.totalPages), ["prevent"]))
2003
2016
  }), {
2004
2017
  default: c(() => [
2005
2018
  _(v.$slots, "page", {
2006
2019
  page: n.value.totalPages
2007
2020
  }, () => [
2008
- W(A(n.value.totalPages), 1)
2021
+ L(V(n.value.totalPages), 1)
2009
2022
  ])
2010
2023
  ]),
2011
2024
  _: 3
2012
2025
  }, 16, ["disabled"])) : z("", !0),
2013
- n.value.next ? (r(), u(Y, g({ key: 4 }, l.value, {
2026
+ n.value.next ? (r(), d(Y, g({ key: 4 }, l.value, {
2014
2027
  "aria-label": "Next",
2015
- onClick: h[3] || (h[3] = D((f) => i(n.value.next), ["prevent"]))
2028
+ onClick: m[3] || (m[3] = D((f) => i(n.value.next), ["prevent"]))
2016
2029
  }), {
2017
2030
  default: c(() => [
2018
2031
  _(v.$slots, "next-page", {
@@ -2025,7 +2038,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2025
2038
  }, 16)) : z("", !0)
2026
2039
  ], 2));
2027
2040
  }
2028
- }), Eo = ["data-size", "data-variant"], Wo = ["data-layout"], ls = /* @__PURE__ */ m({
2041
+ }), Eo = ["data-size", "data-variant"], jo = ["data-layout"], ls = /* @__PURE__ */ h({
2029
2042
  __name: "Table",
2030
2043
  props: {
2031
2044
  size: { default: "2" },
@@ -2046,13 +2059,13 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2046
2059
  "data-layout": e.layout
2047
2060
  }, [
2048
2061
  _(t.$slots, "default")
2049
- ], 8, Wo)
2062
+ ], 8, jo)
2050
2063
  ]),
2051
2064
  _: 3
2052
2065
  })
2053
2066
  ], 8, Eo));
2054
2067
  }
2055
- }), ns = /* @__PURE__ */ m({
2068
+ }), ns = /* @__PURE__ */ h({
2056
2069
  __name: "Separator",
2057
2070
  props: {
2058
2071
  as: { default: "span" },
@@ -2062,7 +2075,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2062
2075
  },
2063
2076
  setup(s) {
2064
2077
  const e = s;
2065
- return (t, o) => (r(), u(a(U), {
2078
+ return (t, o) => (r(), d(a(U), {
2066
2079
  as: e.as,
2067
2080
  class: k(["ui-Separator", `r-size-${e.size}`]),
2068
2081
  role: "separator",
@@ -2070,7 +2083,8 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2070
2083
  "aria-orientation": e.orientation
2071
2084
  }, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
2072
2085
  }
2073
- }), jo = ["textContent"], Uo = /* @__PURE__ */ m({
2086
+ }), Wo = ["textContent"], Uo = /* @__PURE__ */ h({
2087
+ inheritAttrs: !1,
2074
2088
  __name: "Tooltip",
2075
2089
  props: {
2076
2090
  to: {},
@@ -2100,7 +2114,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2100
2114
  },
2101
2115
  setup(s) {
2102
2116
  const e = s;
2103
- return (t, o) => (r(), u(a(Ht), {
2117
+ return (t, o) => (r(), d(a(Ht), {
2104
2118
  "delay-duration": e.delayDuration,
2105
2119
  "disable-closing-trigger": e.disableClosingTrigger,
2106
2120
  "disable-hoverable-content": e.disableHoverableContent,
@@ -2111,16 +2125,16 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2111
2125
  default: c(() => [
2112
2126
  p(a(Et), null, {
2113
2127
  default: c(() => [
2114
- p(a(Wt), {
2128
+ p(a(jt), g({
2115
2129
  as: e.as,
2116
2130
  "as-child": e.asChild
2117
- }, {
2131
+ }, t.$attrs), {
2118
2132
  default: c(() => [
2119
2133
  _(t.$slots, "default")
2120
2134
  ]),
2121
2135
  _: 3
2122
- }, 8, ["as", "as-child"]),
2123
- p(a(jt), {
2136
+ }, 16, ["as", "as-child"]),
2137
+ p(a(Wt), {
2124
2138
  to: e.to
2125
2139
  }, {
2126
2140
  default: c(() => [
@@ -2142,8 +2156,8 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2142
2156
  _(t.$slots, "content", {}, () => [
2143
2157
  b("p", {
2144
2158
  class: "ui-TooltipText",
2145
- textContent: A(e.content)
2146
- }, null, 8, jo)
2159
+ textContent: V(e.content)
2160
+ }, null, 8, Wo)
2147
2161
  ]),
2148
2162
  p(a(qt), { class: "ui-TooltipArrow" })
2149
2163
  ]),
@@ -2159,7 +2173,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2159
2173
  _: 3
2160
2174
  }, 8, ["delay-duration", "disable-closing-trigger", "disable-hoverable-content", "disabled", "ignore-non-keyboard-focus", "skip-delay-duration"]));
2161
2175
  }
2162
- }), rs = /* @__PURE__ */ m({
2176
+ }), rs = /* @__PURE__ */ h({
2163
2177
  __name: "Quota",
2164
2178
  props: {
2165
2179
  percent: {},
@@ -2173,7 +2187,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2173
2187
  let n = "a4";
2174
2188
  return e.percent > 90 ? n = "a11" : e.percent > 66 ? n = "a9" : e.percent > 33 && (n = "a6"), { transform: l, "background-color": `var(--blue-${n})` };
2175
2189
  }), o = C(() => e.percent > 100 ? 100 : e.percent < 0 ? 0 : e.percent);
2176
- return (l, n) => (r(), u(a(Nt), {
2190
+ return (l, n) => (r(), d(a(Nt), {
2177
2191
  class: "ui-Quota",
2178
2192
  "model-value": o.value,
2179
2193
  "data-accent-color": e.color
@@ -2187,7 +2201,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2187
2201
  _: 1
2188
2202
  }, 8, ["model-value", "data-accent-color"]));
2189
2203
  }
2190
- }), is = /* @__PURE__ */ m({
2204
+ }), is = /* @__PURE__ */ h({
2191
2205
  __name: "Spinner",
2192
2206
  props: {
2193
2207
  icon: { default: "180-ring" },
@@ -2195,12 +2209,12 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2195
2209
  },
2196
2210
  setup(s) {
2197
2211
  const e = s, t = C(() => `svg-spinners:${e.icon}`);
2198
- return (o, l) => (r(), u(a(I), {
2212
+ return (o, l) => (r(), d(a(I), {
2199
2213
  class: k(["ui-Spinner", `r-size-${o.size}`]),
2200
2214
  icon: t.value
2201
2215
  }, null, 8, ["class", "icon"]));
2202
2216
  }
2203
- }), qo = ["data-status"], cs = /* @__PURE__ */ m({
2217
+ }), qo = ["data-status"], cs = /* @__PURE__ */ h({
2204
2218
  __name: "SavingIndicator",
2205
2219
  props: {
2206
2220
  status: {},
@@ -2212,16 +2226,16 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2212
2226
  class: k(["ui-SavingIndicator", `r-size-${t.size}`]),
2213
2227
  "data-status": e.status
2214
2228
  }, [
2215
- e.status === "saving" ? (r(), u(a(I), {
2229
+ e.status === "saving" ? (r(), d(a(I), {
2216
2230
  key: 0,
2217
2231
  icon: "svg-spinners:180-ring"
2218
- })) : e.status === "saved" ? (r(), u(a(I), {
2232
+ })) : e.status === "saved" ? (r(), d(a(I), {
2219
2233
  key: 1,
2220
2234
  icon: "lucide:check-circle-2"
2221
2235
  })) : z("", !0)
2222
2236
  ], 10, qo));
2223
2237
  }
2224
- }), No = ["data-accent-color"], us = /* @__PURE__ */ m({
2238
+ }), No = ["data-accent-color"], us = /* @__PURE__ */ h({
2225
2239
  __name: "IconCircle",
2226
2240
  props: {
2227
2241
  color: {},
@@ -2243,7 +2257,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2243
2257
  }
2244
2258
  }), Ko = "https://challenges.cloudflare.com/turnstile/v0/api.js", ge = "cfTurnstileOnLoad";
2245
2259
  let se = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", ie, le, ye;
2246
- const ds = /* @__PURE__ */ m({
2260
+ const ds = /* @__PURE__ */ h({
2247
2261
  __name: "Turnstile",
2248
2262
  props: {
2249
2263
  sitekey: {},
@@ -2261,7 +2275,7 @@ const ds = /* @__PURE__ */ m({
2261
2275
  window.turnstile && (o("update:modelValue", ""), window.turnstile.reset());
2262
2276
  }, i = () => {
2263
2277
  le && (window.turnstile.remove(le), le = void 0);
2264
- }, d = (v) => {
2278
+ }, u = (v) => {
2265
2279
  o("update:modelValue", v), ye = setTimeout(() => {
2266
2280
  n();
2267
2281
  }, t.resetInterval);
@@ -2270,7 +2284,7 @@ const ds = /* @__PURE__ */ m({
2270
2284
  sitekey: t.sitekey,
2271
2285
  theme: t.theme,
2272
2286
  size: t.size,
2273
- callback: d,
2287
+ callback: u,
2274
2288
  action: t.action,
2275
2289
  appearance: t.appearance
2276
2290
  });
@@ -2293,7 +2307,7 @@ const ds = /* @__PURE__ */ m({
2293
2307
  })(), t.renderOnMount && y();
2294
2308
  }), Ce(() => {
2295
2309
  i(), clearTimeout(ye);
2296
- }), (v, h) => (r(), $("div", {
2310
+ }), (v, m) => (r(), $("div", {
2297
2311
  ref_key: "element",
2298
2312
  ref: l
2299
2313
  }, null, 512));
@@ -2301,7 +2315,7 @@ const ds = /* @__PURE__ */ m({
2301
2315
  }), Qo = {
2302
2316
  type: "button",
2303
2317
  class: "ui-IconifySample"
2304
- }, Zo = { class: "ui-IconifySampleInfo" }, Jo = { class: "ui-IconifySampleIcons" }, Xo = /* @__PURE__ */ m({
2318
+ }, Zo = { class: "ui-IconifySampleInfo" }, Jo = { class: "ui-IconifySampleIcons" }, Xo = /* @__PURE__ */ h({
2305
2319
  __name: "IconifySample",
2306
2320
  props: {
2307
2321
  prefix: {},
@@ -2315,12 +2329,12 @@ const ds = /* @__PURE__ */ m({
2315
2329
  const e = s;
2316
2330
  return (t, o) => (r(), $("button", Qo, [
2317
2331
  b("div", Zo, [
2318
- b("strong", null, A(e.name), 1),
2319
- b("span", null, A(e.license.title), 1),
2320
- b("span", null, A(e.total) + " icons", 1)
2332
+ b("strong", null, V(e.name), 1),
2333
+ b("span", null, V(e.license.title), 1),
2334
+ b("span", null, V(e.total) + " icons", 1)
2321
2335
  ]),
2322
2336
  b("div", Jo, [
2323
- (r(!0), $(H, null, E(e.samples, (l) => (r(), $("span", { key: l }, [
2337
+ (r(!0), $(H, null, j(e.samples, (l) => (r(), $("span", { key: l }, [
2324
2338
  p(a(I), {
2325
2339
  icon: e.prefix + ":" + l
2326
2340
  }, null, 8, ["icon"])
@@ -2356,7 +2370,7 @@ const ds = /* @__PURE__ */ m({
2356
2370
  }, ce = (s, e, t) => s.filter((o) => {
2357
2371
  let l = !0;
2358
2372
  return e && o.indexOf(e) === -1 && (l = !1), t && o.indexOf(`-${t}`) === -1 && (l = !1), l;
2359
- }), ps = /* @__PURE__ */ m({
2373
+ }), ps = /* @__PURE__ */ h({
2360
2374
  __name: "IconifyCollection",
2361
2375
  props: {
2362
2376
  prefix: {},
@@ -2365,14 +2379,14 @@ const ds = /* @__PURE__ */ m({
2365
2379
  },
2366
2380
  emits: ["select"],
2367
2381
  setup(s, { emit: e }) {
2368
- const t = s, o = e, l = P("all"), n = P([]), i = P(""), d = P(1), y = P(""), v = P([]), h = P(), f = P(""), B = P(""), V = () => {
2369
- d.value = 1, y.value = "", v.value = [], h.value = void 0, f.value = "", B.value = "", l.value = "all";
2382
+ const t = s, o = e, l = P("all"), n = P([]), i = P(""), u = P(1), y = P(""), v = P([]), m = P(), f = P(""), B = P(""), A = () => {
2383
+ u.value = 1, y.value = "", v.value = [], m.value = void 0, f.value = "", B.value = "", l.value = "all";
2370
2384
  }, F = (w) => {
2371
2385
  o("select", w);
2372
- }, G = async () => {
2386
+ }, E = async () => {
2373
2387
  y.value ? (l.value = "search", v.value = await pa(y.value)) : l.value = "all";
2374
2388
  }, K = async (w) => {
2375
- h.value = void 0, f.value = "", B.value = "", l.value = "collection", h.value = await fa(w);
2389
+ m.value = void 0, f.value = "", B.value = "", l.value = "collection", m.value = await fa(w);
2376
2390
  }, J = C(() => {
2377
2391
  let w = 0;
2378
2392
  return n.value.forEach((S) => {
@@ -2383,27 +2397,27 @@ const ds = /* @__PURE__ */ m({
2383
2397
  return { ...w, items: S };
2384
2398
  }).filter((w) => w.items.length !== 0) : n.value), Re = C(() => {
2385
2399
  let w = [];
2386
- return h.value ? (h.value.uncategorized ? w = ce(h.value.uncategorized, f.value, B.value) : h.value.categories && Object.keys(h.value.categories).forEach((S) => {
2387
- const O = h.value.categories[S];
2400
+ return m.value ? (m.value.uncategorized ? w = ce(m.value.uncategorized, f.value, B.value) : m.value.categories && Object.keys(m.value.categories).forEach((S) => {
2401
+ const O = m.value.categories[S];
2388
2402
  ce(O, f.value, B.value).forEach((x) => {
2389
2403
  w.push(x);
2390
2404
  });
2391
- }), f.value && !w.length && h.value.hidden && (w = ce(h.value.hidden, f.value, B.value)), w.map((S) => {
2405
+ }), f.value && !w.length && m.value.hidden && (w = ce(m.value.hidden, f.value, B.value)), w.map((S) => {
2392
2406
  var O;
2393
- return `${(O = h.value) == null ? void 0 : O.prefix}:${S}`;
2407
+ return `${(O = m.value) == null ? void 0 : O.prefix}:${S}`;
2394
2408
  })) : w;
2395
- }), me = C(() => l.value === "search" ? v.value : l.value === "collection" ? Re.value : []), Pe = C(() => {
2396
- const w = (d.value - 1) * t.perpage, S = d.value * t.perpage;
2397
- return me.value.slice(w, S);
2409
+ }), he = C(() => l.value === "search" ? v.value : l.value === "collection" ? Re.value : []), Pe = C(() => {
2410
+ const w = (u.value - 1) * t.perpage, S = u.value * t.perpage;
2411
+ return he.value.slice(w, S);
2398
2412
  });
2399
2413
  return ue(async () => {
2400
- t.prefix ? K(t.prefix) : t.search && (y.value = t.search, G()), n.value = await da();
2414
+ t.prefix ? K(t.prefix) : t.search && (y.value = t.search, E()), n.value = await da();
2401
2415
  }), (w, S) => {
2402
2416
  var O;
2403
2417
  return r(), $("div", Yo, [
2404
2418
  te(b("div", ea, [
2405
2419
  b("section", ta, [
2406
- b("h1", null, A(J.value) + " icon sets", 1),
2420
+ b("h1", null, V(J.value) + " icon sets", 1),
2407
2421
  b("div", oa, [
2408
2422
  p(ae, {
2409
2423
  modelValue: i.value,
@@ -2414,24 +2428,24 @@ const ds = /* @__PURE__ */ m({
2414
2428
  modelValue: y.value,
2415
2429
  "onUpdate:modelValue": S[1] || (S[1] = (x) => y.value = x),
2416
2430
  placeholder: "Search icons...",
2417
- onKeydown: he(G, ["enter"])
2431
+ onKeydown: me(E, ["enter"])
2418
2432
  }, null, 8, ["modelValue"])
2419
2433
  ])
2420
2434
  ]),
2421
- (r(!0), $(H, null, E(X.value, (x) => (r(), $("section", {
2435
+ (r(!0), $(H, null, j(X.value, (x) => (r(), $("section", {
2422
2436
  key: x.category,
2423
2437
  class: "ui-IconifyCollectionSample"
2424
2438
  }, [
2425
2439
  b("h1", aa, [
2426
- b("span", sa, A(x.category), 1),
2427
- b("span", la, "(" + A(x.items.length) + " icon sets)", 1)
2440
+ b("span", sa, V(x.category), 1),
2441
+ b("span", la, "(" + V(x.items.length) + " icon sets)", 1)
2428
2442
  ]),
2429
2443
  b("div", na, [
2430
- (r(!0), $(H, null, E(x.items, (L) => (r(), u(Xo, g({
2431
- key: L.prefix,
2444
+ (r(!0), $(H, null, j(x.items, (G) => (r(), d(Xo, g({
2445
+ key: G.prefix,
2432
2446
  ref_for: !0
2433
- }, L, {
2434
- onClick: D((De) => K(L.prefix), ["prevent"])
2447
+ }, G, {
2448
+ onClick: D((De) => K(G.prefix), ["prevent"])
2435
2449
  }), null, 16, ["onClick"]))), 128))
2436
2450
  ])
2437
2451
  ]))), 128))
@@ -2440,48 +2454,48 @@ const ds = /* @__PURE__ */ m({
2440
2454
  ]),
2441
2455
  l.value !== "all" ? (r(), $("div", ra, [
2442
2456
  b("div", ia, [
2443
- p(j, {
2457
+ p(W, {
2444
2458
  type: "button",
2445
2459
  variant: "surface",
2446
2460
  color: "gray",
2447
- onClick: D(V, ["prevent"])
2461
+ onClick: D(A, ["prevent"])
2448
2462
  }, {
2449
2463
  default: c(() => S[5] || (S[5] = [
2450
- W(" Back ")
2464
+ L(" Back ")
2451
2465
  ])),
2452
2466
  _: 1
2453
2467
  }),
2454
- l.value === "search" ? (r(), u(ae, {
2468
+ l.value === "search" ? (r(), d(ae, {
2455
2469
  key: 0,
2456
2470
  modelValue: y.value,
2457
2471
  "onUpdate:modelValue": S[2] || (S[2] = (x) => y.value = x),
2458
2472
  placeholder: "Search icons...",
2459
- onKeydown: he(G, ["enter"])
2473
+ onKeydown: me(E, ["enter"])
2460
2474
  }, null, 8, ["modelValue"])) : z("", !0),
2461
- l.value === "collection" ? (r(), u(ae, {
2475
+ l.value === "collection" ? (r(), d(ae, {
2462
2476
  key: 1,
2463
2477
  modelValue: f.value,
2464
2478
  "onUpdate:modelValue": S[3] || (S[3] = (x) => f.value = x),
2465
2479
  placeholder: "Search icons..."
2466
2480
  }, null, 8, ["modelValue"])) : z("", !0)
2467
2481
  ]),
2468
- l.value === "collection" && ((O = h.value) != null && O.suffixes) ? (r(), $("div", ca, [
2469
- (r(!0), $(H, null, E(h.value.suffixes, (x, L) => (r(), u(j, {
2470
- key: L,
2471
- variant: B.value === L ? "solid" : "outline",
2482
+ l.value === "collection" && ((O = m.value) != null && O.suffixes) ? (r(), $("div", ca, [
2483
+ (r(!0), $(H, null, j(m.value.suffixes, (x, G) => (r(), d(W, {
2484
+ key: G,
2485
+ variant: B.value === G ? "solid" : "outline",
2472
2486
  color: "gray",
2473
2487
  "high-contrast": "",
2474
2488
  radius: "full",
2475
- onClick: D((De) => B.value = L, ["prevent"])
2489
+ onClick: D((De) => B.value = G, ["prevent"])
2476
2490
  }, {
2477
2491
  default: c(() => [
2478
- W(A(x), 1)
2492
+ L(V(x), 1)
2479
2493
  ]),
2480
2494
  _: 2
2481
2495
  }, 1032, ["variant", "onClick"]))), 128))
2482
2496
  ])) : z("", !0),
2483
2497
  b("div", ua, [
2484
- (r(!0), $(H, null, E(Pe.value, (x) => (r(), u(Uo, {
2498
+ (r(!0), $(H, null, j(Pe.value, (x) => (r(), d(Uo, {
2485
2499
  key: x,
2486
2500
  as: "div",
2487
2501
  content: x
@@ -2492,7 +2506,7 @@ const ds = /* @__PURE__ */ m({
2492
2506
  color: "gray",
2493
2507
  variant: "ghost",
2494
2508
  size: "4",
2495
- onClick: D((L) => F(x), ["prevent"])
2509
+ onClick: D((G) => F(x), ["prevent"])
2496
2510
  }, {
2497
2511
  default: c(() => [
2498
2512
  p(a(I), { icon: x }, null, 8, ["icon"])
@@ -2504,9 +2518,9 @@ const ds = /* @__PURE__ */ m({
2504
2518
  }, 1032, ["content"]))), 128))
2505
2519
  ]),
2506
2520
  p(Ho, {
2507
- page: d.value,
2508
- "onUpdate:page": S[4] || (S[4] = (x) => d.value = x),
2509
- total: me.value.length,
2521
+ page: u.value,
2522
+ "onUpdate:page": S[4] || (S[4] = (x) => u.value = x),
2523
+ total: he.value.length,
2510
2524
  perpage: w.perpage
2511
2525
  }, null, 8, ["page", "total", "perpage"])
2512
2526
  ])) : z("", !0)
@@ -2519,7 +2533,7 @@ export {
2519
2533
  ts as AccordionItem,
2520
2534
  es as AccordionRoot,
2521
2535
  as as AccordionTrigger,
2522
- hs as AlertDialogAction,
2536
+ ms as AlertDialogAction,
2523
2537
  vs as AlertDialogCancel,
2524
2538
  ba as AlertDialogContent,
2525
2539
  _s as AlertDialogDescription,
@@ -2528,7 +2542,7 @@ export {
2528
2542
  Cs as AlertDialogTrigger,
2529
2543
  _a as Avatar,
2530
2544
  ga as Badge,
2531
- j as Button,
2545
+ W as Button,
2532
2546
  Yt as Card,
2533
2547
  ya as CardHead,
2534
2548
  Ie as Checkbox,
@@ -2540,10 +2554,10 @@ export {
2540
2554
  bs as CollapsibleRoot,
2541
2555
  $s as CollapsibleTrigger,
2542
2556
  Da as ColorField,
2543
- ja as ComboboxContent,
2557
+ Wa as ComboboxContent,
2544
2558
  Bs as ComboboxEmpty,
2545
2559
  xs as ComboboxGroup,
2546
- Wa as ComboboxInput,
2560
+ ja as ComboboxInput,
2547
2561
  Ua as ComboboxItem,
2548
2562
  qa as ComboboxLabel,
2549
2563
  Ea as ComboboxRoot,