@typlog/ui 0.9.0 → 0.9.2

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.
Files changed (97) hide show
  1. package/dist/index.d.ts +1341 -2
  2. package/dist/index.js +374 -369
  3. package/dist/style.css +1 -1
  4. package/package.json +2 -2
  5. package/dist/components/accordion/AccordionContent.d.ts +0 -18
  6. package/dist/components/accordion/AccordionItem.d.ts +0 -18
  7. package/dist/components/accordion/AccordionRoot.d.ts +0 -19
  8. package/dist/components/accordion/AccordionTrigger.d.ts +0 -15
  9. package/dist/components/accordion/index.d.ts +0 -5
  10. package/dist/components/addons/Turnstile.d.ts +0 -32
  11. package/dist/components/addons/iconify-collection/IconifyCollection.d.ts +0 -13
  12. package/dist/components/addons/iconify-collection/IconifySample.d.ts +0 -13
  13. package/dist/components/addons/index.d.ts +0 -2
  14. package/dist/components/alert/AlertDialogContent.d.ts +0 -56
  15. package/dist/components/alert/index.d.ts +0 -2
  16. package/dist/components/avatar/Avatar.d.ts +0 -16
  17. package/dist/components/avatar/index.d.ts +0 -1
  18. package/dist/components/badge/Badge.d.ts +0 -24
  19. package/dist/components/badge/index.d.ts +0 -1
  20. package/dist/components/button/Button.d.ts +0 -24
  21. package/dist/components/button/IconButton.d.ts +0 -18
  22. package/dist/components/button/SocialButton.d.ts +0 -21
  23. package/dist/components/button/index.d.ts +0 -3
  24. package/dist/components/card/Card.d.ts +0 -20
  25. package/dist/components/card/CardHead.d.ts +0 -24
  26. package/dist/components/card/index.d.ts +0 -2
  27. package/dist/components/checkbox/Checkbox.d.ts +0 -17
  28. package/dist/components/checkbox/CheckboxGroupControl.d.ts +0 -3
  29. package/dist/components/checkbox/CheckboxGroupItem.d.ts +0 -6
  30. package/dist/components/checkbox/CheckboxGroupRoot.d.ts +0 -35
  31. package/dist/components/checkbox/index.d.ts +0 -4
  32. package/dist/components/collapsible/CollapsibleContent.d.ts +0 -18
  33. package/dist/components/collapsible/index.d.ts +0 -2
  34. package/dist/components/combobox/ComboboxContent.d.ts +0 -43
  35. package/dist/components/combobox/ComboboxInput.d.ts +0 -24
  36. package/dist/components/combobox/ComboboxItem.d.ts +0 -19
  37. package/dist/components/combobox/ComboboxLabel.d.ts +0 -10
  38. package/dist/components/combobox/ComboboxRoot.d.ts +0 -40
  39. package/dist/components/combobox/index.d.ts +0 -6
  40. package/dist/components/dialog/DialogContent.d.ts +0 -56
  41. package/dist/components/dialog/DialogHead.d.ts +0 -5
  42. package/dist/components/dialog/index.d.ts +0 -3
  43. package/dist/components/dropdown/DropdownMenuContent.d.ts +0 -62
  44. package/dist/components/dropdown/DropdownMenuItem.d.ts +0 -19
  45. package/dist/components/dropdown/index.d.ts +0 -3
  46. package/dist/components/icon/ChevronIcon.d.ts +0 -7
  47. package/dist/components/icon/IconCircle.d.ts +0 -12
  48. package/dist/components/icon/PlusMinusIcon.d.ts +0 -10
  49. package/dist/components/icon/index.d.ts +0 -5
  50. package/dist/components/index.d.ts +0 -29
  51. package/dist/components/inputs/ColorField.d.ts +0 -20
  52. package/dist/components/inputs/TextArea.d.ts +0 -22
  53. package/dist/components/inputs/TextField.d.ts +0 -34
  54. package/dist/components/inputs/index.d.ts +0 -3
  55. package/dist/components/inset/Inset.d.ts +0 -16
  56. package/dist/components/inset/index.d.ts +0 -1
  57. package/dist/components/pagination/Pagination.d.ts +0 -48
  58. package/dist/components/pagination/index.d.ts +0 -1
  59. package/dist/components/popover/PopoverContent.d.ts +0 -46
  60. package/dist/components/popover/index.d.ts +0 -2
  61. package/dist/components/quota/Quota.d.ts +0 -7
  62. package/dist/components/quota/index.d.ts +0 -1
  63. package/dist/components/radio/Radio.d.ts +0 -20
  64. package/dist/components/radio/RadioCardsItem.d.ts +0 -10
  65. package/dist/components/radio/RadioGroupItem.d.ts +0 -10
  66. package/dist/components/radio/RadioGroupRoot.d.ts +0 -32
  67. package/dist/components/radio/RadioTabsList.d.ts +0 -19
  68. package/dist/components/radio/index.d.ts +0 -6
  69. package/dist/components/scrollarea/ScrollArea.d.ts +0 -19
  70. package/dist/components/scrollarea/index.d.ts +0 -1
  71. package/dist/components/select/SelectContent.d.ts +0 -16
  72. package/dist/components/select/SelectItem.d.ts +0 -10
  73. package/dist/components/select/SelectLabel.d.ts +0 -10
  74. package/dist/components/select/SelectRoot.d.ts +0 -31
  75. package/dist/components/select/SelectSeparator.d.ts +0 -2
  76. package/dist/components/select/SelectTrigger.d.ts +0 -21
  77. package/dist/components/select/index.d.ts +0 -7
  78. package/dist/components/separator/Separator.d.ts +0 -13
  79. package/dist/components/separator/index.d.ts +0 -1
  80. package/dist/components/spinner/SavingIndicator.d.ts +0 -9
  81. package/dist/components/spinner/Spinner.d.ts +0 -10
  82. package/dist/components/spinner/index.d.ts +0 -2
  83. package/dist/components/switch/Switch.d.ts +0 -18
  84. package/dist/components/switch/index.d.ts +0 -1
  85. package/dist/components/table/Table.d.ts +0 -17
  86. package/dist/components/table/index.d.ts +0 -1
  87. package/dist/components/tabs/TabsList.d.ts +0 -17
  88. package/dist/components/tabs/TabsTrigger.d.ts +0 -19
  89. package/dist/components/tabs/index.d.ts +0 -3
  90. package/dist/components/toggle/Toggle.d.ts +0 -25
  91. package/dist/components/toggle/ToggleGroupItem.d.ts +0 -18
  92. package/dist/components/toggle/ToggleGroupRoot.d.ts +0 -25
  93. package/dist/components/toggle/index.d.ts +0 -3
  94. package/dist/components/tooltip/Tooltip.d.ts +0 -19
  95. package/dist/components/tooltip/index.d.ts +0 -1
  96. package/dist/components/types.d.ts +0 -2
  97. package/dist/components/util.d.ts +0 -12
package/dist/index.js CHANGED
@@ -1,21 +1,21 @@
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
- import { Icon as I } from "@iconify/vue";
5
- import { Icon as Gs } from "@iconify/vue";
1
+ import { computed as C, defineComponent as m, createBlock as d, openBlock as r, unref as a, normalizeClass as I, withCtx as c, createVNode as p, createTextVNode as j, toDisplayString as T, 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 De, vModelText as $e, normalizeStyle as Be, normalizeProps as Fe, guardReactiveProps as Me, Fragment as G, watch as je, renderList as E, withModifiers as O, vModelRadio as Le, withKeys as he, vShow as Ge } from "vue";
2
+ import { useForwardProps as V, useEmitAsProps as xe, AvatarRoot as He, AvatarImage as Ee, 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 F, 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 Se, ComboboxAnchor as St, ComboboxInput as ve, ComboboxTrigger as wt, ComboboxPortal as zt, ComboboxContent as It, ComboboxViewport as kt, ComboboxItem as Vt, ComboboxItemIndicator as Tt, ComboboxLabel as At, RadioGroupRoot as we, RadioGroupItem as ze, TabsList as Rt, TabsIndicator as Pt, TabsTrigger as Ot, AccordionRoot as Dt, AccordionItem as Ft, AccordionContent as Mt, AccordionTrigger as jt, CollapsibleContent as Lt, TooltipProvider as Gt, TooltipRoot as Ht, TooltipTrigger as Et, TooltipPortal as Wt, 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 Ss, DialogDescription as ws, DialogRoot as zs, DialogTitle as Is, DialogTrigger as ks, DropdownMenuRoot as Vs, DropdownMenuTrigger as Ts, PopoverClose as As, PopoverRoot as Rs, PopoverTrigger as Ps, RadioGroupItem as Os, SelectGroup as Ds, TabsContent as Fs, TabsRoot as Ms } from "reka-ui";
4
+ import { Icon as k } from "@iconify/vue";
5
+ import { Icon as Ls } from "@iconify/vue";
6
6
  function q(s, e, t) {
7
- const o = T(s), l = xe(e);
7
+ const o = V(s), l = xe(e);
8
8
  return C(() => ({
9
9
  ...fe(o.value, t),
10
10
  ...l
11
11
  }));
12
12
  }
13
13
  function Qt(s, e) {
14
- const t = T(s), o = C(() => fe(t.value, e)), l = C(() => R(t.value, e));
14
+ const t = V(s), o = C(() => fe(t.value, e)), l = C(() => R(t.value, e));
15
15
  return [o, l];
16
16
  }
17
17
  function N(s, e, t) {
18
- const o = T(s), l = xe(e), n = C(() => ({
18
+ const o = V(s), l = xe(e), n = C(() => ({
19
19
  ...fe(o.value, t),
20
20
  ...l
21
21
  })), i = C(() => R(o.value, 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__ */ h({
45
+ const _a = /* @__PURE__ */ m({
46
46
  __name: "Avatar",
47
47
  props: {
48
48
  src: {},
@@ -54,22 +54,27 @@ const _a = /* @__PURE__ */ h({
54
54
  color: {}
55
55
  },
56
56
  setup(s) {
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(), d(a(Ee), {
59
- class: k(["ui-Avatar", t.value]),
57
+ const e = s, t = C(() => R(e, ["size", "variant"])), o = C(() => {
58
+ if (e.fallback)
59
+ return e.fallback;
60
+ const l = e.alt.split(/\s+/).map((n) => n[0]);
61
+ return e.size === "1" ? l[0] : l.slice(0, 2).join("");
62
+ });
63
+ return (l, n) => (r(), d(a(He), {
64
+ class: I(["ui-Avatar", t.value]),
60
65
  "data-accent-color": e.color,
61
66
  "data-radius": e.radius
62
67
  }, {
63
68
  default: c(() => [
64
- p(a(je), {
69
+ p(a(Ee), {
65
70
  alt: e.alt,
66
71
  src: e.src || ""
67
72
  }, null, 8, ["alt", "src"]),
68
73
  p(a(We), {
69
- class: k(`r-count-${o.value.length}`)
74
+ class: I(`r-count-${o.value.length}`)
70
75
  }, {
71
76
  default: c(() => [
72
- L(V(o.value), 1)
77
+ j(T(o.value), 1)
73
78
  ]),
74
79
  _: 1
75
80
  }, 8, ["class"])
@@ -77,7 +82,7 @@ const _a = /* @__PURE__ */ h({
77
82
  _: 1
78
83
  }, 8, ["class", "data-accent-color", "data-radius"]));
79
84
  }
80
- }), ga = /* @__PURE__ */ h({
85
+ }), ga = /* @__PURE__ */ m({
81
86
  __name: "Badge",
82
87
  props: {
83
88
  variant: { default: "soft" },
@@ -86,12 +91,12 @@ const _a = /* @__PURE__ */ h({
86
91
  size: { default: "1" },
87
92
  highContrast: { type: Boolean, default: void 0 },
88
93
  asChild: { type: Boolean },
89
- as: { default: "span" }
94
+ as: { type: [String, Object, Function], default: "span" }
90
95
  },
91
96
  setup(s) {
92
97
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
93
98
  return (o, l) => (r(), d(a(U), {
94
- class: k(["ui-Badge", t.value]),
99
+ class: I(["ui-Badge", t.value]),
95
100
  as: e.as,
96
101
  "as-child": e.asChild,
97
102
  "data-accent-color": e.color,
@@ -103,7 +108,7 @@ const _a = /* @__PURE__ */ h({
103
108
  _: 3
104
109
  }, 8, ["class", "as", "as-child", "data-accent-color", "data-radius"]));
105
110
  }
106
- }), Jt = ["data-side", "data-clip"], Xt = /* @__PURE__ */ h({
111
+ }), Jt = ["data-side", "data-clip"], Xt = /* @__PURE__ */ m({
107
112
  __name: "Inset",
108
113
  props: {
109
114
  side: { default: "all" },
@@ -119,19 +124,19 @@ const _a = /* @__PURE__ */ h({
119
124
  _(t.$slots, "default")
120
125
  ], 8, Jt));
121
126
  }
122
- }), Yt = /* @__PURE__ */ h({
127
+ }), Yt = /* @__PURE__ */ m({
123
128
  __name: "Card",
124
129
  props: {
125
130
  variant: { default: "surface" },
126
131
  radius: {},
127
132
  size: { default: "1" },
128
133
  asChild: { type: Boolean },
129
- as: { default: "div" }
134
+ as: { type: [String, Object, Function], default: "div" }
130
135
  },
131
136
  setup(s) {
132
137
  const e = s, t = C(() => R(e, ["size", "variant"]));
133
138
  return (o, l) => (r(), d(a(U), {
134
- class: k(["ui-Card", t.value]),
139
+ class: I(["ui-Card", t.value]),
135
140
  "as-child": e.asChild,
136
141
  as: e.as,
137
142
  "data-radius": e.radius
@@ -142,12 +147,12 @@ const _a = /* @__PURE__ */ h({
142
147
  _: 3
143
148
  }, 8, ["class", "as-child", "as", "data-radius"]));
144
149
  }
145
- }), ya = /* @__PURE__ */ h({
150
+ }), ya = /* @__PURE__ */ m({
146
151
  __name: "CardHead",
147
152
  props: {
148
153
  color: {},
149
154
  asChild: { type: Boolean },
150
- as: { default: "div" }
155
+ as: { type: [String, Object, Function], default: "div" }
151
156
  },
152
157
  setup(s) {
153
158
  const e = s;
@@ -162,7 +167,7 @@ const _a = /* @__PURE__ */ h({
162
167
  _: 3
163
168
  }, 8, ["as", "data-accent-color"]));
164
169
  }
165
- }), W = /* @__PURE__ */ h({
170
+ }), W = /* @__PURE__ */ m({
166
171
  __name: "Button",
167
172
  props: {
168
173
  color: {},
@@ -172,12 +177,12 @@ const _a = /* @__PURE__ */ h({
172
177
  highContrast: { type: Boolean, default: !1 },
173
178
  disabled: { type: Boolean },
174
179
  asChild: { type: Boolean },
175
- as: { default: "button" }
180
+ as: { type: [String, Object, Function], default: "button" }
176
181
  },
177
182
  setup(s) {
178
183
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
179
184
  return (o, l) => (r(), d(a(U), {
180
- class: k(["ui-Button", t.value]),
185
+ class: I(["ui-Button", t.value]),
181
186
  "as-child": e.asChild,
182
187
  as: e.as,
183
188
  "data-accent-color": e.color,
@@ -190,7 +195,7 @@ const _a = /* @__PURE__ */ h({
190
195
  _: 3
191
196
  }, 8, ["class", "as-child", "as", "data-accent-color", "data-radius", "data-disabled"]));
192
197
  }
193
- }), Y = /* @__PURE__ */ h({
198
+ }), Y = /* @__PURE__ */ m({
194
199
  __name: "IconButton",
195
200
  props: {
196
201
  color: {},
@@ -200,10 +205,10 @@ const _a = /* @__PURE__ */ h({
200
205
  highContrast: { type: Boolean },
201
206
  disabled: { type: Boolean },
202
207
  asChild: { type: Boolean },
203
- as: {}
208
+ as: { type: [String, Object, Function] }
204
209
  },
205
210
  setup(s) {
206
- const t = T(s);
211
+ const t = V(s);
207
212
  return (o, l) => (r(), d(W, g({ class: "ui-IconButton" }, a(t)), {
208
213
  default: c(() => [
209
214
  _(o.$slots, "default")
@@ -219,7 +224,7 @@ const _a = /* @__PURE__ */ h({
219
224
  apple: "simple-icons:apple",
220
225
  slack: "logos:slack-icon",
221
226
  figma: "logos:figma"
222
- }, Ca = /* @__PURE__ */ h({
227
+ }, Ca = /* @__PURE__ */ m({
223
228
  __name: "SocialButton",
224
229
  props: {
225
230
  brand: {},
@@ -227,19 +232,19 @@ const _a = /* @__PURE__ */ h({
227
232
  size: { default: "2" },
228
233
  disabled: { type: Boolean },
229
234
  asChild: { type: Boolean },
230
- as: { default: "button" }
235
+ as: { type: [String, Object, Function], default: "button" }
231
236
  },
232
237
  setup(s) {
233
238
  const e = s, t = C(() => R(e, ["size", "brand"])), o = C(() => eo[e.brand]);
234
239
  return (l, n) => (r(), d(a(U), {
235
- class: k(["ui-Button ui-SocialButton", t.value]),
240
+ class: I(["ui-Button ui-SocialButton", t.value]),
236
241
  "as-child": e.asChild,
237
242
  as: e.as,
238
243
  "data-radius": e.radius,
239
244
  "data-disabled": e.disabled ? !0 : void 0
240
245
  }, {
241
246
  default: c(() => [
242
- o.value ? (r(), d(a(I), {
247
+ o.value ? (r(), d(a(k), {
243
248
  key: 0,
244
249
  icon: o.value
245
250
  }, null, 8, ["icon"])) : z("", !0),
@@ -248,7 +253,7 @@ const _a = /* @__PURE__ */ h({
248
253
  _: 3
249
254
  }, 8, ["class", "as-child", "as", "data-radius", "data-disabled"]));
250
255
  }
251
- }), ke = /* @__PURE__ */ h({
256
+ }), Ie = /* @__PURE__ */ m({
252
257
  __name: "ScrollArea",
253
258
  props: {
254
259
  size: { default: "1" },
@@ -305,10 +310,11 @@ const _a = /* @__PURE__ */ h({
305
310
  "class-name": "ui-ScrollAreaCorner"
306
311
  })) : z("", !0)
307
312
  ]),
308
- _: 3
313
+ _: 3,
314
+ __: [0]
309
315
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
310
316
  }
311
- }), to = { class: "ui-DialogScroll" }, oo = ["data-align"], ba = /* @__PURE__ */ h({
317
+ }), to = { class: "ui-DialogScroll" }, oo = ["data-align"], ba = /* @__PURE__ */ m({
312
318
  inheritAttrs: !1,
313
319
  __name: "AlertDialogContent",
314
320
  props: {
@@ -383,7 +389,7 @@ const _a = /* @__PURE__ */ h({
383
389
  _: 3
384
390
  }, 8, ["to"]));
385
391
  }
386
- }), ao = { class: "ui-DialogScroll" }, so = ["data-align"], $a = /* @__PURE__ */ h({
392
+ }), ao = { class: "ui-DialogScroll" }, so = ["data-align"], $a = /* @__PURE__ */ m({
387
393
  inheritAttrs: !1,
388
394
  __name: "DialogContent",
389
395
  props: {
@@ -458,7 +464,7 @@ const _a = /* @__PURE__ */ h({
458
464
  _: 3
459
465
  }, 8, ["to"]));
460
466
  }
461
- }), Ba = /* @__PURE__ */ h({
467
+ }), Ba = /* @__PURE__ */ m({
462
468
  __name: "DialogHead",
463
469
  props: {
464
470
  title: {}
@@ -472,7 +478,7 @@ const _a = /* @__PURE__ */ h({
472
478
  default: c(() => [
473
479
  p(a(Xe), { class: "font-semibold" }, {
474
480
  default: c(() => [
475
- L(V(e.title), 1)
481
+ j(T(e.title), 1)
476
482
  ]),
477
483
  _: 1
478
484
  }),
@@ -486,7 +492,7 @@ const _a = /* @__PURE__ */ h({
486
492
  "aria-label": "Close"
487
493
  }, {
488
494
  default: c(() => [
489
- p(a(I), { icon: "lucide:x" })
495
+ p(a(k), { icon: "lucide:x" })
490
496
  ]),
491
497
  _: 1
492
498
  }, 8, ["as"])
@@ -494,7 +500,7 @@ const _a = /* @__PURE__ */ h({
494
500
  _: 1
495
501
  }));
496
502
  }
497
- }), lo = { class: "ui-MenuViewport" }, [no, ro] = oe("ui_DropdownMenuContent"), xa = /* @__PURE__ */ h({
503
+ }), lo = { class: "ui-MenuViewport" }, [no, ro] = oe("ui_DropdownMenuContent"), xa = /* @__PURE__ */ m({
498
504
  inheritAttrs: !1,
499
505
  __name: "DropdownMenuContent",
500
506
  props: {
@@ -531,13 +537,13 @@ const _a = /* @__PURE__ */ h({
531
537
  "variant",
532
538
  "color",
533
539
  "highContrast"
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), {
540
+ ]), { forwardRef: n } = F(), { size: i, variant: u, color: y, highContrast: v } = ee(t);
541
+ return ro({ size: i, variant: u, color: y, highContrast: v }), (h, f) => (r(), d(a(et), {
536
542
  to: t.to
537
543
  }, {
538
544
  default: c(() => [
539
545
  p(a(tt), g({
540
- ...m.$attrs,
546
+ ...h.$attrs,
541
547
  ...a(l)
542
548
  }, {
543
549
  ref: a(n),
@@ -546,10 +552,10 @@ const _a = /* @__PURE__ */ h({
546
552
  "data-size": t.size
547
553
  }), {
548
554
  default: c(() => [
549
- p(ke, { type: "auto" }, {
555
+ p(Ie, { type: "auto" }, {
550
556
  default: c(() => [
551
557
  b("div", lo, [
552
- _(m.$slots, "default")
558
+ _(h.$slots, "default")
553
559
  ])
554
560
  ]),
555
561
  _: 3
@@ -561,7 +567,7 @@ const _a = /* @__PURE__ */ h({
561
567
  _: 3
562
568
  }, 8, ["to"]));
563
569
  }
564
- }), io = ["textContent"], wa = /* @__PURE__ */ h({
570
+ }), io = ["textContent"], Sa = /* @__PURE__ */ m({
565
571
  __name: "DropdownMenuItem",
566
572
  props: {
567
573
  color: {},
@@ -569,12 +575,12 @@ const _a = /* @__PURE__ */ h({
569
575
  disabled: { type: Boolean },
570
576
  textValue: {},
571
577
  asChild: { type: Boolean },
572
- as: {}
578
+ as: { type: [String, Object, Function] }
573
579
  },
574
580
  emits: ["select"],
575
581
  setup(s, { emit: e }) {
576
582
  const t = s, l = q(t, e, ["color", "shortcut"]);
577
- M();
583
+ F();
578
584
  const n = no();
579
585
  return (i, u) => {
580
586
  var y;
@@ -590,14 +596,14 @@ const _a = /* @__PURE__ */ h({
590
596
  t.shortcut ? (r(), $("div", {
591
597
  key: 0,
592
598
  class: "ui-MenuShortcut",
593
- textContent: V(t.shortcut)
599
+ textContent: T(t.shortcut)
594
600
  }, null, 8, io)) : z("", !0)
595
601
  ]),
596
602
  _: 3
597
603
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
598
604
  };
599
605
  }
600
- }), Sa = /* @__PURE__ */ h({
606
+ }), wa = /* @__PURE__ */ m({
601
607
  inheritAttrs: !1,
602
608
  __name: "PopoverContent",
603
609
  props: {
@@ -643,7 +649,7 @@ const _a = /* @__PURE__ */ h({
643
649
  _: 3
644
650
  }, 8, ["to"]));
645
651
  }
646
- }), za = /* @__PURE__ */ h({
652
+ }), za = /* @__PURE__ */ m({
647
653
  __name: "Switch",
648
654
  props: {
649
655
  color: {},
@@ -696,7 +702,7 @@ const _a = /* @__PURE__ */ h({
696
702
  }, po = {
697
703
  key: 1,
698
704
  d: "M20 6 9 17l-5-5"
699
- }, Ie = /* @__PURE__ */ h({
705
+ }, ke = /* @__PURE__ */ m({
700
706
  __name: "Checkbox",
701
707
  props: {
702
708
  color: {},
@@ -726,8 +732,8 @@ const _a = /* @__PURE__ */ h({
726
732
  "as-child": ""
727
733
  }, {
728
734
  default: c(() => [
729
- a(l).checked !== !1 ? (r(), $("svg", co, [
730
- a(l).checked === "indeterminate" ? (r(), $("path", uo)) : (r(), $("path", po))
735
+ o.modelValue !== !1 ? (r(), $("svg", co, [
736
+ o.modelValue === "indeterminate" ? (r(), $("path", uo)) : (r(), $("path", po))
731
737
  ])) : z("", !0)
732
738
  ]),
733
739
  _: 1
@@ -736,13 +742,13 @@ const _a = /* @__PURE__ */ h({
736
742
  _: 1
737
743
  }, 16, ["class", "data-accent-color"]));
738
744
  }
739
- }), [Te, fo] = oe("ui_CheckboxGroupRoot"), ka = /* @__PURE__ */ h({
745
+ }), [Ve, fo] = oe("ui_CheckboxGroupRoot"), Ia = /* @__PURE__ */ m({
740
746
  __name: "CheckboxGroupRoot",
741
747
  props: /* @__PURE__ */ Q({
742
748
  disabled: { type: Boolean },
743
749
  name: {},
744
750
  asChild: { type: Boolean },
745
- as: {}
751
+ as: { type: [String, Object, Function] }
746
752
  }, {
747
753
  modelValue: {
748
754
  default: []
@@ -752,47 +758,47 @@ const _a = /* @__PURE__ */ h({
752
758
  emits: ["update:modelValue"],
753
759
  setup(s) {
754
760
  const e = s, { disabled: t, name: o } = ee(e), l = P([]), [n, i] = Z(s, "modelValue", {
755
- set(m) {
756
- return i.number ? m = m.map((f) => Number(f)) : i.trim && (m = m.map((f) => f.trim())), m;
761
+ set(h) {
762
+ return i.number ? h = h.map((f) => Number(f)) : i.trim && (h = h.map((f) => f.trim())), h;
757
763
  }
758
764
  }), 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) => {
765
+ var h, f;
766
+ 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;
767
+ }), v = (h) => {
762
768
  var B, A;
763
- const f = (B = n.value) == null ? void 0 : B.indexOf(m);
769
+ const f = (B = n.value) == null ? void 0 : B.indexOf(h);
764
770
  f !== -1 && f !== void 0 && ((A = n.value) == null || A.splice(f, 1));
765
771
  };
766
772
  return fo({
767
773
  selected: u,
768
774
  checked: y,
769
- addModelValue: (m) => {
775
+ addModelValue: (h) => {
770
776
  var f, B;
771
- ((f = n.value) == null ? void 0 : f.indexOf(m)) === -1 && ((B = n.value) == null || B.push(m));
777
+ ((f = n.value) == null ? void 0 : f.indexOf(h)) === -1 && ((B = n.value) == null || B.push(h));
772
778
  },
773
779
  removeModelValue: v,
774
- toggleModelValue: (m) => {
775
- m ? n.value = [...l.value] : n.value = [];
780
+ toggleModelValue: (h) => {
781
+ h ? n.value = [...l.value] : n.value = [];
776
782
  },
777
- initAllValue: (m) => {
778
- l.value.push(m);
783
+ initAllValue: (h) => {
784
+ l.value.push(h);
779
785
  },
780
- removeAllValue: (m) => {
781
- l.value.splice(l.value.indexOf(m), 1), v(m);
786
+ removeAllValue: (h) => {
787
+ l.value.splice(l.value.indexOf(h), 1), v(h);
782
788
  },
783
789
  disabled: t,
784
790
  name: o == null ? void 0 : o.value
785
- }), (m, f) => (r(), d(a(U), {
791
+ }), (h, f) => (r(), d(a(U), {
786
792
  as: e.as,
787
793
  "as-child": e.asChild
788
794
  }, {
789
795
  default: c(() => [
790
- _(m.$slots, "default")
796
+ _(h.$slots, "default")
791
797
  ]),
792
798
  _: 3
793
799
  }, 8, ["as", "as-child"]));
794
800
  }
795
- }), Ia = /* @__PURE__ */ h({
801
+ }), ka = /* @__PURE__ */ m({
796
802
  __name: "CheckboxGroupItem",
797
803
  props: {
798
804
  value: {},
@@ -805,14 +811,14 @@ const _a = /* @__PURE__ */ h({
805
811
  disabled: { type: Boolean },
806
812
  id: {},
807
813
  asChild: { type: Boolean },
808
- as: {},
814
+ as: { type: [String, Object, Function] },
809
815
  name: {},
810
816
  required: { type: Boolean }
811
817
  },
812
818
  setup(s) {
813
- const e = s, t = T(e);
814
- M();
815
- const o = Te(), l = C(() => {
819
+ const e = s, t = V(e);
820
+ F();
821
+ const o = Ve(), l = C(() => {
816
822
  var u;
817
823
  return ((u = o.disabled) == null ? void 0 : u.value) || e.disabled;
818
824
  }), n = C(() => o.selected.value.indexOf(e.value) !== -1), i = (u) => {
@@ -822,14 +828,14 @@ const _a = /* @__PURE__ */ h({
822
828
  o.initAllValue(e.value);
823
829
  }), Ce(() => {
824
830
  o.removeAllValue(e.value);
825
- }), (u, y) => (r(), d(Ie, g({
831
+ }), (u, y) => (r(), d(ke, g({
826
832
  ...a(t),
827
833
  name: e.name || a(o).name,
828
- checked: n.value,
834
+ modelValue: n.value,
829
835
  disabled: l.value
830
- }, { "onUpdate:checked": i }), null, 16));
836
+ }, { "onUpdate:modelValue": i }), null, 16));
831
837
  }
832
- }), Ta = /* @__PURE__ */ h({
838
+ }), Va = /* @__PURE__ */ m({
833
839
  __name: "CheckboxGroupControl",
834
840
  props: {
835
841
  color: {},
@@ -842,27 +848,27 @@ const _a = /* @__PURE__ */ h({
842
848
  value: {},
843
849
  id: {},
844
850
  asChild: { type: Boolean },
845
- as: {},
851
+ as: { type: [String, Object, Function] },
846
852
  name: {},
847
853
  required: { type: Boolean }
848
854
  },
849
855
  setup(s) {
850
- const e = s, t = T(e);
851
- M();
852
- const o = Te(), l = C(() => {
856
+ const e = s, t = V(e);
857
+ F();
858
+ const o = Ve(), l = C(() => {
853
859
  var i;
854
860
  return ((i = o.disabled) == null ? void 0 : i.value) || e.disabled;
855
- }), n = C(() => o.checked.value);
856
- return (i, u) => (r(), d(Ie, g({
861
+ }), n = (i) => {
862
+ o.toggleModelValue(i);
863
+ };
864
+ return (i, u) => (r(), d(ke, g({
857
865
  ...a(t),
858
866
  name: e.name || a(o).name,
859
- checked: n.value,
867
+ modelValue: a(o).checked.value,
860
868
  disabled: l.value
861
- }, {
862
- "onUpdate:checked": a(o).toggleModelValue
863
- }), null, 16, ["onUpdate:checked"]));
869
+ }, { "onUpdate:modelValue": n }), null, 16));
864
870
  }
865
- }), Va = /* @__PURE__ */ h({
871
+ }), Ta = /* @__PURE__ */ m({
866
872
  __name: "Toggle",
867
873
  props: {
868
874
  color: {},
@@ -898,7 +904,7 @@ const _a = /* @__PURE__ */ h({
898
904
  _: 3
899
905
  }, 16, ["class", "data-accent-color", "data-radius"]));
900
906
  }
901
- }), Aa = /* @__PURE__ */ h({
907
+ }), Aa = /* @__PURE__ */ m({
902
908
  __name: "ToggleGroupRoot",
903
909
  props: {
904
910
  color: {},
@@ -939,16 +945,16 @@ const _a = /* @__PURE__ */ h({
939
945
  _: 3
940
946
  }, 16, ["class", "data-accent-color", "data-radius"]));
941
947
  }
942
- }), Ra = /* @__PURE__ */ h({
948
+ }), Ra = /* @__PURE__ */ m({
943
949
  __name: "ToggleGroupItem",
944
950
  props: {
945
951
  value: {},
946
952
  disabled: { type: Boolean },
947
953
  asChild: { type: Boolean },
948
- as: {}
954
+ as: { type: [String, Object, Function] }
949
955
  },
950
956
  setup(s) {
951
- const t = T(s);
957
+ const t = V(s);
952
958
  return (o, l) => (r(), d(a(dt), g(a(t), { class: "ui-ToggleGroupItem" }), {
953
959
  default: c(() => [
954
960
  _(o.$slots, "default")
@@ -956,7 +962,7 @@ const _a = /* @__PURE__ */ h({
956
962
  _: 3
957
963
  }, 16));
958
964
  }
959
- }), ho = ["data-radius", "data-accent-color"], mo = ["id", "type"], vo = {
965
+ }), mo = ["data-radius", "data-accent-color"], ho = ["id", "type"], vo = {
960
966
  key: 0,
961
967
  class: "ui-TextFieldSlot",
962
968
  "data-side": "left"
@@ -964,7 +970,7 @@ const _a = /* @__PURE__ */ h({
964
970
  key: 1,
965
971
  class: "ui-TextFieldSlot",
966
972
  "data-side": "right"
967
- }, ae = /* @__PURE__ */ h({
973
+ }, ae = /* @__PURE__ */ m({
968
974
  inheritAttrs: !1,
969
975
  __name: "TextField",
970
976
  props: /* @__PURE__ */ Q({
@@ -1001,7 +1007,7 @@ const _a = /* @__PURE__ */ h({
1001
1007
  return e.class && u.push(e.class), u;
1002
1008
  });
1003
1009
  return (u, y) => (r(), $("div", {
1004
- class: k(["ui-TextField", i.value]),
1010
+ class: I(["ui-TextField", i.value]),
1005
1011
  "data-radius": e.radius,
1006
1012
  "data-accent-color": e.color,
1007
1013
  onPointerdown: o
@@ -1012,8 +1018,8 @@ const _a = /* @__PURE__ */ h({
1012
1018
  ref: t,
1013
1019
  "onUpdate:modelValue": y[0] || (y[0] = (v) => be(l) ? l.value = v : null),
1014
1020
  type: e.type
1015
- }, u.$attrs, { class: "ui-TextFieldInput" }), null, 16, mo), [
1016
- [Oe, a(l)]
1021
+ }, u.$attrs, { class: "ui-TextFieldInput" }), null, 16, ho), [
1022
+ [De, a(l)]
1017
1023
  ]),
1018
1024
  u.$slots.left ? (r(), $("div", vo, [
1019
1025
  _(u.$slots, "left")
@@ -1021,9 +1027,9 @@ const _a = /* @__PURE__ */ h({
1021
1027
  u.$slots.right ? (r(), $("div", _o, [
1022
1028
  _(u.$slots, "right")
1023
1029
  ])) : z("", !0)
1024
- ], 42, ho));
1030
+ ], 42, mo));
1025
1031
  }
1026
- }), go = ["data-accent-color"], Pa = /* @__PURE__ */ h({
1032
+ }), go = ["data-accent-color"], Pa = /* @__PURE__ */ m({
1027
1033
  inheritAttrs: !1,
1028
1034
  __name: "TextArea",
1029
1035
  props: /* @__PURE__ */ Q({
@@ -1046,7 +1052,7 @@ const _a = /* @__PURE__ */ h({
1046
1052
  return e.class && l.push(e.class), l;
1047
1053
  });
1048
1054
  return (l, n) => (r(), $("div", {
1049
- class: k(["ui-TextArea", o.value]),
1055
+ class: I(["ui-TextArea", o.value]),
1050
1056
  "data-accent-color": e.color
1051
1057
  }, [
1052
1058
  te(b("textarea", g({
@@ -1056,7 +1062,7 @@ const _a = /* @__PURE__ */ h({
1056
1062
  ])
1057
1063
  ], 10, go));
1058
1064
  }
1059
- }), yo = ["data-radius"], Co = ["id"], Da = /* @__PURE__ */ h({
1065
+ }), yo = ["data-radius"], Co = ["id"], Oa = /* @__PURE__ */ m({
1060
1066
  __name: "ColorField",
1061
1067
  props: /* @__PURE__ */ Q({
1062
1068
  id: {},
@@ -1073,7 +1079,7 @@ const _a = /* @__PURE__ */ h({
1073
1079
  setup(s) {
1074
1080
  const e = s, t = Z(s, "modelValue"), o = C(() => R(e, ["size", "variant"]));
1075
1081
  return (l, n) => (r(), $("div", {
1076
- class: k(["ui-ColorField", o.value]),
1082
+ class: I(["ui-ColorField", o.value]),
1077
1083
  "data-radius": e.radius,
1078
1084
  style: Be({ "--color-field-border-color": t.value })
1079
1085
  }, [
@@ -1087,7 +1093,7 @@ const _a = /* @__PURE__ */ h({
1087
1093
  ])
1088
1094
  ], 14, yo));
1089
1095
  }
1090
- }), [Ve, bo] = oe("ui_SelectRoot"), Oa = /* @__PURE__ */ h({
1096
+ }), [Te, bo] = oe("ui_SelectRoot"), Da = /* @__PURE__ */ m({
1091
1097
  __name: "SelectRoot",
1092
1098
  props: {
1093
1099
  size: { default: "2" },
@@ -1112,14 +1118,14 @@ const _a = /* @__PURE__ */ h({
1112
1118
  size: l,
1113
1119
  color: n,
1114
1120
  highContrast: i
1115
- }), (y, v) => (r(), d(a(pt), Me(Fe(a(u))), {
1121
+ }), (y, v) => (r(), d(a(pt), Fe(Me(a(u))), {
1116
1122
  default: c(() => [
1117
1123
  _(y.$slots, "default")
1118
1124
  ]),
1119
1125
  _: 3
1120
1126
  }, 16));
1121
1127
  }
1122
- }), Ma = /* @__PURE__ */ h({
1128
+ }), Fa = /* @__PURE__ */ m({
1123
1129
  inheritAttrs: !1,
1124
1130
  __name: "SelectContent",
1125
1131
  props: {
@@ -1147,7 +1153,7 @@ const _a = /* @__PURE__ */ h({
1147
1153
  as: {}
1148
1154
  },
1149
1155
  setup(s) {
1150
- const e = s, t = T(e), { forwardRef: o } = M(), l = Ve(), n = C(() => {
1156
+ const e = s, t = V(e), { forwardRef: o } = F(), l = Te(), n = C(() => {
1151
1157
  const i = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1152
1158
  return l.highContrast.value && i.push("r-high-contrast"), e.position === "popper" && i.push("ui-PopperContent"), i;
1153
1159
  });
@@ -1155,7 +1161,7 @@ const _a = /* @__PURE__ */ h({
1155
1161
  to: e.to
1156
1162
  }, {
1157
1163
  default: c(() => [
1158
- p(a(ht), g({ ref: a(o) }, {
1164
+ p(a(mt), g({ ref: a(o) }, {
1159
1165
  ...i.$attrs,
1160
1166
  ...a(t),
1161
1167
  to: void 0,
@@ -1170,7 +1176,7 @@ const _a = /* @__PURE__ */ h({
1170
1176
  class: "ui-ScrollArea"
1171
1177
  }, {
1172
1178
  default: c(() => [
1173
- p(a(mt), {
1179
+ p(a(ht), {
1174
1180
  class: "ui-SelectViewport",
1175
1181
  "as-child": ""
1176
1182
  }, {
@@ -1193,7 +1199,8 @@ const _a = /* @__PURE__ */ h({
1193
1199
  _: 1
1194
1200
  })
1195
1201
  ]),
1196
- _: 3
1202
+ _: 3,
1203
+ __: [0]
1197
1204
  })
1198
1205
  ]),
1199
1206
  _: 3
@@ -1205,7 +1212,7 @@ const _a = /* @__PURE__ */ h({
1205
1212
  _: 3
1206
1213
  }, 8, ["to"]));
1207
1214
  }
1208
- }), $o = { class: "ui-SelectTriggerInner" }, Fa = /* @__PURE__ */ h({
1215
+ }), $o = { class: "ui-SelectTriggerInner" }, Ma = /* @__PURE__ */ m({
1209
1216
  __name: "SelectTrigger",
1210
1217
  props: {
1211
1218
  variant: { default: "surface" },
@@ -1217,9 +1224,9 @@ const _a = /* @__PURE__ */ h({
1217
1224
  as: {}
1218
1225
  },
1219
1226
  setup(s) {
1220
- const e = s, t = Ve(), o = C(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1227
+ const e = s, t = Te(), o = C(() => [`r-variant-${e.variant}`, `r-size-${t.size.value}`]);
1221
1228
  return (l, n) => (r(), d(a(vt), {
1222
- class: k(["ui-SelectTrigger", o.value]),
1229
+ class: I(["ui-SelectTrigger", o.value]),
1223
1230
  disabled: e.disabled,
1224
1231
  "data-accent-color": a(t).color.value,
1225
1232
  "data-radius": e.radius
@@ -1235,9 +1242,9 @@ const _a = /* @__PURE__ */ h({
1235
1242
  selectedLabel: i,
1236
1243
  modelValue: u
1237
1244
  }, () => [
1238
- L(V(i.join(", ")), 1)
1239
- ]) : (r(), $(H, { key: 1 }, [
1240
- L(V(e.placeholder), 1)
1245
+ j(T(i.join(", ")), 1)
1246
+ ]) : (r(), $(G, { key: 1 }, [
1247
+ j(T(e.placeholder), 1)
1241
1248
  ], 64))
1242
1249
  ]),
1243
1250
  _: 3
@@ -1245,7 +1252,7 @@ const _a = /* @__PURE__ */ h({
1245
1252
  ]),
1246
1253
  p(a(gt), { "as-child": "" }, {
1247
1254
  default: c(() => [
1248
- p(a(I), {
1255
+ p(a(k), {
1249
1256
  class: "ui-SelectIcon",
1250
1257
  icon: "radix-icons:chevron-down"
1251
1258
  })
@@ -1256,22 +1263,22 @@ const _a = /* @__PURE__ */ h({
1256
1263
  _: 3
1257
1264
  }, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
1258
1265
  }
1259
- }), La = /* @__PURE__ */ h({
1266
+ }), ja = /* @__PURE__ */ m({
1260
1267
  __name: "SelectItem",
1261
1268
  props: {
1262
1269
  value: {},
1263
1270
  disabled: { type: Boolean },
1264
1271
  textValue: {},
1265
1272
  asChild: { type: Boolean },
1266
- as: {}
1273
+ as: { type: [String, Object, Function] }
1267
1274
  },
1268
1275
  setup(s) {
1269
- const t = T(s);
1270
- return M(), (o, l) => (r(), d(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1276
+ const t = V(s);
1277
+ return F(), (o, l) => (r(), d(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1271
1278
  default: c(() => [
1272
1279
  p(a(Ct), { class: "ui-SelectItemIndicator" }, {
1273
1280
  default: c(() => [
1274
- p(a(I), { icon: "radix-icons:check" })
1281
+ p(a(k), { icon: "radix-icons:check" })
1275
1282
  ]),
1276
1283
  _: 1
1277
1284
  }),
@@ -1285,16 +1292,16 @@ const _a = /* @__PURE__ */ h({
1285
1292
  _: 3
1286
1293
  }, 16));
1287
1294
  }
1288
- }), Ga = /* @__PURE__ */ h({
1295
+ }), La = /* @__PURE__ */ m({
1289
1296
  __name: "SelectLabel",
1290
1297
  props: {
1291
1298
  for: {},
1292
1299
  asChild: { type: Boolean },
1293
- as: {}
1300
+ as: { type: [String, Object, Function] }
1294
1301
  },
1295
1302
  setup(s) {
1296
- const t = T(s);
1297
- return M(), (o, l) => (r(), d(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1303
+ const t = V(s);
1304
+ return F(), (o, l) => (r(), d(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1298
1305
  default: c(() => [
1299
1306
  _(o.$slots, "default")
1300
1307
  ]),
@@ -1306,14 +1313,14 @@ const _a = /* @__PURE__ */ h({
1306
1313
  for (const [o, l] of e)
1307
1314
  t[o] = l;
1308
1315
  return t;
1309
- }, xo = {}, wo = {
1316
+ }, xo = {}, So = {
1310
1317
  class: "ui-SelectSeparator",
1311
1318
  "aria-hidden": "true"
1312
1319
  };
1313
- function So(s, e) {
1314
- return r(), $("div", wo);
1320
+ function wo(s, e) {
1321
+ return r(), $("div", So);
1315
1322
  }
1316
- const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxRoot"), Ea = /* @__PURE__ */ h({
1323
+ const Ga = /* @__PURE__ */ Bo(xo, [["render", wo]]), [zo, Io] = oe("ui_ComboboxRoot"), Ha = /* @__PURE__ */ m({
1317
1324
  __name: "ComboboxRoot",
1318
1325
  props: {
1319
1326
  size: { default: "2" },
@@ -1339,11 +1346,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1339
1346
  emits: ["update:modelValue", "highlight", "update:open"],
1340
1347
  setup(s, { emit: e }) {
1341
1348
  const t = s, o = e, { size: l, color: n, highContrast: i } = ee(t), [u, y] = N(t, o, ["size", "color", "highContrast"]);
1342
- return ko({
1349
+ return Io({
1343
1350
  size: l,
1344
1351
  color: n,
1345
1352
  highContrast: i
1346
- }), (v, m) => (r(), d(a(Bt), g({
1353
+ }), (v, h) => (r(), d(a(Bt), g({
1347
1354
  class: ["ui-ComboboxRoot", a(y)]
1348
1355
  }, a(u)), {
1349
1356
  default: c(() => [
@@ -1352,10 +1359,10 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1352
1359
  _: 3
1353
1360
  }, 16, ["class"]));
1354
1361
  }
1355
- }), Io = {
1362
+ }), ko = {
1356
1363
  key: 0,
1357
1364
  class: "ui-ComboboxValues"
1358
- }, To = ["aria-current", "value"], Vo = ["onClick"], ja = /* @__PURE__ */ h({
1365
+ }, Vo = ["aria-current", "value"], To = ["onClick"], Ea = /* @__PURE__ */ m({
1359
1366
  inheritAttrs: !1,
1360
1367
  __name: "ComboboxInput",
1361
1368
  props: {
@@ -1371,39 +1378,39 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1371
1378
  },
1372
1379
  emits: ["update:modelValue"],
1373
1380
  setup(s, { emit: e }) {
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) => {
1381
+ const t = xt(), n = Se(s, e), i = P(-1), u = C(() => t.modelValue.value), y = (f) => typeof f == "object" ? JSON.stringify(f) : f.toString(), v = (f) => {
1375
1382
  i.value = f, t.modelValue.value.splice(f, 1), i.value = -1;
1376
- }, m = (f) => {
1383
+ }, h = (f) => {
1377
1384
  !f.target.value && (f.key === "Delete" || f.key === "Backspace") && (i.value !== -1 ? v(i.value) : (i.value = u.value.length - 1, setTimeout(() => {
1378
1385
  i.value = -1;
1379
1386
  }, 800)));
1380
1387
  };
1381
- return Le(u, () => {
1388
+ return je(u, () => {
1382
1389
  t.filterState.search = "";
1383
- }, { deep: !0 }), (f, B) => (r(), d(a(wt), {
1384
- class: k(["ui-ComboboxField", `r-variant-${f.variant}`]),
1390
+ }, { deep: !0 }), (f, B) => (r(), d(a(St), {
1391
+ class: I(["ui-ComboboxField", `r-variant-${f.variant}`]),
1385
1392
  "data-radius": f.radius,
1386
1393
  "data-multiple": a(t).multiple.value || void 0
1387
1394
  }, {
1388
1395
  default: c(() => [
1389
- a(t).multiple.value ? (r(), $("div", Io, [
1390
- (r(!0), $(H, null, j(u.value, (A, F) => (r(), $("div", {
1396
+ a(t).multiple.value ? (r(), $("div", ko, [
1397
+ (r(!0), $(G, null, E(u.value, (A, M) => (r(), $("div", {
1391
1398
  key: y(A),
1392
1399
  class: "ui-ComboboxValuesItem",
1393
- "aria-current": F === i.value,
1400
+ "aria-current": M === i.value,
1394
1401
  value: A
1395
1402
  }, [
1396
1403
  _(f.$slots, "item", { value: A }, () => [
1397
- b("span", null, V(y(A)), 1)
1404
+ b("span", null, T(y(A)), 1)
1398
1405
  ]),
1399
1406
  b("button", {
1400
1407
  type: "button",
1401
1408
  tabindex: "-1",
1402
- onClick: D((E) => v(F), ["prevent"])
1409
+ onClick: O((H) => v(M), ["prevent"])
1403
1410
  }, [
1404
- p(a(I), { icon: "lucide:x" })
1405
- ], 8, Vo)
1406
- ], 8, To))), 128)),
1411
+ p(a(k), { icon: "lucide:x" })
1412
+ ], 8, To)
1413
+ ], 8, Vo))), 128)),
1407
1414
  p(a(ve), g({
1408
1415
  ...f.$attrs,
1409
1416
  ...a(n),
@@ -1411,7 +1418,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1411
1418
  radius: void 0
1412
1419
  }, {
1413
1420
  class: "ui-ComboboxInput",
1414
- onKeydown: m
1421
+ onKeydown: h
1415
1422
  }), null, 16)
1416
1423
  ])) : (r(), d(a(ve), g({
1417
1424
  key: 1,
@@ -1422,9 +1429,9 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1422
1429
  variant: void 0,
1423
1430
  radius: void 0
1424
1431
  }), null, 16)),
1425
- p(a(St), { class: "ui-ComboboxTrigger" }, {
1432
+ p(a(wt), { class: "ui-ComboboxTrigger" }, {
1426
1433
  default: c(() => [
1427
- p(a(I), { icon: "radix-icons:chevron-down" })
1434
+ p(a(k), { icon: "radix-icons:chevron-down" })
1428
1435
  ]),
1429
1436
  _: 1
1430
1437
  })
@@ -1432,7 +1439,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1432
1439
  _: 3
1433
1440
  }, 8, ["class", "data-radius", "data-multiple"]));
1434
1441
  }
1435
- }), Wa = /* @__PURE__ */ h({
1442
+ }), Wa = /* @__PURE__ */ m({
1436
1443
  inheritAttrs: !1,
1437
1444
  __name: "ComboboxContent",
1438
1445
  props: {
@@ -1462,7 +1469,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1462
1469
  },
1463
1470
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1464
1471
  setup(s, { emit: e }) {
1465
- const { forwardRef: t } = M(), o = s, n = we(o, e), i = zo(), u = C(() => {
1472
+ const { forwardRef: t } = F(), o = s, n = Se(o, e), i = zo(), u = C(() => {
1466
1473
  const y = ["r-size-" + i.size.value, "r-variant-" + o.variant];
1467
1474
  return i.highContrast.value && y.push("r-high-contrast"), y;
1468
1475
  });
@@ -1470,7 +1477,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1470
1477
  to: o.to
1471
1478
  }, {
1472
1479
  default: c(() => [
1473
- p(a(kt), g({ ref: a(t) }, {
1480
+ p(a(It), g({ ref: a(t) }, {
1474
1481
  ...y.$attrs,
1475
1482
  ...a(n),
1476
1483
  position: "popper",
@@ -1486,7 +1493,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1486
1493
  class: "ui-ScrollArea"
1487
1494
  }, {
1488
1495
  default: c(() => [
1489
- p(a(It), {
1496
+ p(a(kt), {
1490
1497
  class: "ui-ComboboxViewport",
1491
1498
  "as-child": ""
1492
1499
  }, {
@@ -1512,7 +1519,8 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1512
1519
  _: 1
1513
1520
  })
1514
1521
  ]),
1515
- _: 3
1522
+ _: 3,
1523
+ __: [0]
1516
1524
  })
1517
1525
  ]),
1518
1526
  _: 3
@@ -1521,22 +1529,22 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1521
1529
  _: 3
1522
1530
  }, 8, ["to"]));
1523
1531
  }
1524
- }), Ua = /* @__PURE__ */ h({
1532
+ }), Ua = /* @__PURE__ */ m({
1525
1533
  __name: "ComboboxItem",
1526
1534
  props: {
1527
1535
  textValue: {},
1528
1536
  value: {},
1529
1537
  disabled: { type: Boolean },
1530
1538
  asChild: { type: Boolean },
1531
- as: {}
1539
+ as: { type: [String, Object, Function] }
1532
1540
  },
1533
1541
  setup(s) {
1534
- const t = T(s);
1535
- return (o, l) => (r(), d(a(Tt), g({ class: "ui-ComboboxItem" }, a(t)), {
1542
+ const t = V(s);
1543
+ return (o, l) => (r(), d(a(Vt), g({ class: "ui-ComboboxItem" }, a(t)), {
1536
1544
  default: c(() => [
1537
- p(a(Vt), { class: "ui-ComboboxItemIndicator" }, {
1545
+ p(a(Tt), { class: "ui-ComboboxItemIndicator" }, {
1538
1546
  default: c(() => [
1539
- p(a(I), { icon: "radix-icons:check" })
1547
+ p(a(k), { icon: "radix-icons:check" })
1540
1548
  ]),
1541
1549
  _: 1
1542
1550
  }),
@@ -1545,23 +1553,23 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1545
1553
  _: 3
1546
1554
  }, 16));
1547
1555
  }
1548
- }), qa = /* @__PURE__ */ h({
1556
+ }), qa = /* @__PURE__ */ m({
1549
1557
  __name: "ComboboxLabel",
1550
1558
  props: {
1551
1559
  for: {},
1552
1560
  asChild: { type: Boolean },
1553
- as: {}
1561
+ as: { type: [String, Object, Function] }
1554
1562
  },
1555
1563
  setup(s) {
1556
- const t = T(s);
1557
- return M(), (o, l) => (r(), d(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1564
+ const t = V(s);
1565
+ return F(), (o, l) => (r(), d(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1558
1566
  default: c(() => [
1559
1567
  _(o.$slots, "default")
1560
1568
  ]),
1561
1569
  _: 3
1562
1570
  }, 16));
1563
1571
  }
1564
- }), Ao = ["data-accent-color"], Na = /* @__PURE__ */ h({
1572
+ }), Ao = ["data-accent-color"], Na = /* @__PURE__ */ m({
1565
1573
  __name: "Radio",
1566
1574
  props: /* @__PURE__ */ Q({
1567
1575
  color: {},
@@ -1583,14 +1591,14 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1583
1591
  }), l = C(() => R(e, ["size", "variant", "highContrast"]));
1584
1592
  return (n, i) => te((r(), $("input", {
1585
1593
  "onUpdate:modelValue": i[0] || (i[0] = (u) => be(t) ? t.value = u : null),
1586
- class: k(["ui-Radio", l.value]),
1594
+ class: I(["ui-Radio", l.value]),
1587
1595
  type: "radio",
1588
1596
  "data-accent-color": e.color
1589
1597
  }, null, 10, Ao)), [
1590
- [Ge, a(t)]
1598
+ [Le, a(t)]
1591
1599
  ]);
1592
1600
  }
1593
- }), [Ae, Ro] = oe("ui_RadioGroupRoot"), Ka = /* @__PURE__ */ h({
1601
+ }), [Ae, Ro] = oe("ui_RadioGroupRoot"), Ka = /* @__PURE__ */ m({
1594
1602
  __name: "RadioGroupRoot",
1595
1603
  props: {
1596
1604
  color: {},
@@ -1611,26 +1619,26 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1611
1619
  emits: ["update:modelValue"],
1612
1620
  setup(s, { emit: e }) {
1613
1621
  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)), {
1622
+ return Ro({ size: n, variant: i, color: u, highContrast: y }), (v, h) => (r(), d(a(we), g({ class: "ui-RadioGroupRoot" }, a(l)), {
1615
1623
  default: c(() => [
1616
1624
  _(v.$slots, "default")
1617
1625
  ]),
1618
1626
  _: 3
1619
1627
  }, 16));
1620
1628
  }
1621
- }), Po = { class: "ui-RadioGroupItem" }, Qa = /* @__PURE__ */ h({
1629
+ }), Po = { class: "ui-RadioGroupItem" }, Qa = /* @__PURE__ */ m({
1622
1630
  __name: "RadioGroupItem",
1623
1631
  props: {
1624
1632
  id: {},
1625
1633
  value: {},
1626
1634
  disabled: { type: Boolean },
1627
1635
  asChild: { type: Boolean },
1628
- as: {},
1636
+ as: { type: [String, Object, Function] },
1629
1637
  name: {},
1630
1638
  required: { type: Boolean }
1631
1639
  },
1632
1640
  setup(s) {
1633
- const t = T(s), o = Ae(), l = C(() => {
1641
+ const t = V(s), o = Ae(), l = C(() => {
1634
1642
  var i;
1635
1643
  const n = [
1636
1644
  `r-size-${o.size.value}`,
@@ -1649,20 +1657,20 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1649
1657
  ]);
1650
1658
  };
1651
1659
  }
1652
- }), Za = /* @__PURE__ */ h({
1660
+ }), Za = /* @__PURE__ */ m({
1653
1661
  __name: "RadioCardsItem",
1654
1662
  props: {
1655
1663
  id: {},
1656
1664
  value: {},
1657
1665
  disabled: { type: Boolean },
1658
1666
  asChild: { type: Boolean },
1659
- as: {},
1667
+ as: { type: [String, Object, Function] },
1660
1668
  name: {},
1661
1669
  required: { type: Boolean }
1662
1670
  },
1663
1671
  setup(s) {
1664
- const t = T(s);
1665
- M();
1672
+ const t = V(s);
1673
+ F();
1666
1674
  const o = Ae();
1667
1675
  return (l, n) => {
1668
1676
  var i, u;
@@ -1687,7 +1695,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1687
1695
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
1688
1696
  };
1689
1697
  }
1690
- }), Ja = /* @__PURE__ */ h({
1698
+ }), Ja = /* @__PURE__ */ m({
1691
1699
  __name: "RadioTabsList",
1692
1700
  props: {
1693
1701
  size: { default: "2" },
@@ -1705,7 +1713,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1705
1713
  emits: ["update:modelValue"],
1706
1714
  setup(s, { emit: e }) {
1707
1715
  const t = e, o = s, [l, n] = N(o, t, ["size"]);
1708
- return (i, u) => (r(), d(a(Se), g(a(l), {
1716
+ return (i, u) => (r(), d(a(we), g(a(l), {
1709
1717
  class: ["ui-RadioTabsList", a(n)]
1710
1718
  }), {
1711
1719
  default: c(() => [
@@ -1714,7 +1722,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1714
1722
  _: 3
1715
1723
  }, 16, ["class"]));
1716
1724
  }
1717
- }), Xa = /* @__PURE__ */ h({
1725
+ }), Xa = /* @__PURE__ */ m({
1718
1726
  __name: "TabsList",
1719
1727
  props: {
1720
1728
  size: { default: "2" },
@@ -1724,7 +1732,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1724
1732
  setup(s) {
1725
1733
  const e = s, t = C(() => R(e, ["size", "highContrast"]));
1726
1734
  return (o, l) => (r(), d(a(Rt), {
1727
- class: k(["ui-TabList", t.value]),
1735
+ class: I(["ui-TabList", t.value]),
1728
1736
  "data-accent-color": e.color
1729
1737
  }, {
1730
1738
  default: c(() => [
@@ -1734,29 +1742,29 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1734
1742
  _: 3
1735
1743
  }, 8, ["class", "data-accent-color"]));
1736
1744
  }
1737
- }), Do = { class: "ui-TabTriggerInner" }, Oo = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ h({
1745
+ }), Oo = { class: "ui-TabTriggerInner" }, Do = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ m({
1738
1746
  __name: "TabsTrigger",
1739
1747
  props: {
1740
1748
  value: {},
1741
1749
  disabled: { type: Boolean },
1742
1750
  asChild: { type: Boolean },
1743
- as: {}
1751
+ as: { type: [String, Object, Function] }
1744
1752
  },
1745
1753
  setup(s) {
1746
- const t = T(s);
1747
- return (o, l) => (r(), d(a(Dt), g(a(t), { class: "ui-TabTrigger" }), {
1754
+ const t = V(s);
1755
+ return (o, l) => (r(), d(a(Ot), g(a(t), { class: "ui-TabTrigger" }), {
1748
1756
  default: c(() => [
1749
- b("span", Do, [
1757
+ b("span", Oo, [
1750
1758
  _(o.$slots, "default")
1751
1759
  ]),
1752
- b("span", Oo, [
1760
+ b("span", Do, [
1753
1761
  _(o.$slots, "default")
1754
1762
  ])
1755
1763
  ]),
1756
1764
  _: 3
1757
1765
  }, 16));
1758
1766
  }
1759
- }), es = /* @__PURE__ */ h({
1767
+ }), es = /* @__PURE__ */ m({
1760
1768
  __name: "AccordionRoot",
1761
1769
  props: {
1762
1770
  size: { default: "1" },
@@ -1774,7 +1782,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1774
1782
  emits: ["update:modelValue"],
1775
1783
  setup(s, { emit: e }) {
1776
1784
  const t = s, o = e, [l, n] = N(t, o, ["size"]);
1777
- return (i, u) => (r(), d(a(Ot), g(a(l), {
1785
+ return (i, u) => (r(), d(a(Dt), g(a(l), {
1778
1786
  class: ["ui-AccordionRoot", a(n)]
1779
1787
  }), {
1780
1788
  default: c(() => [
@@ -1783,35 +1791,35 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1783
1791
  _: 3
1784
1792
  }, 16, ["class"]));
1785
1793
  }
1786
- }), ts = /* @__PURE__ */ h({
1794
+ }), ts = /* @__PURE__ */ m({
1787
1795
  __name: "AccordionItem",
1788
1796
  props: {
1789
1797
  disabled: { type: Boolean },
1790
1798
  value: {},
1791
1799
  unmountOnHide: { type: Boolean },
1792
1800
  asChild: { type: Boolean },
1793
- as: {}
1801
+ as: { type: [String, Object, Function] }
1794
1802
  },
1795
1803
  setup(s) {
1796
- const t = T(s);
1797
- return (o, l) => (r(), d(a(Mt), g(a(t), { class: "ui-AccordionItem" }), {
1804
+ const t = V(s);
1805
+ return (o, l) => (r(), d(a(Ft), g(a(t), { class: "ui-AccordionItem" }), {
1798
1806
  default: c(() => [
1799
1807
  _(o.$slots, "default")
1800
1808
  ]),
1801
1809
  _: 3
1802
1810
  }, 16));
1803
1811
  }
1804
- }), os = /* @__PURE__ */ h({
1812
+ }), os = /* @__PURE__ */ m({
1805
1813
  inheritAttrs: !1,
1806
1814
  __name: "AccordionContent",
1807
1815
  props: {
1808
1816
  forceMount: { type: Boolean },
1809
1817
  asChild: { type: Boolean },
1810
- as: {}
1818
+ as: { type: [String, Object, Function] }
1811
1819
  },
1812
1820
  setup(s) {
1813
- const t = T(s);
1814
- return (o, l) => (r(), d(a(Ft), g(a(t), { class: "ui-AccordionContent" }), {
1821
+ const t = V(s);
1822
+ return (o, l) => (r(), d(a(Mt), g(a(t), { class: "ui-AccordionContent" }), {
1815
1823
  default: c(() => [
1816
1824
  b("div", g({ class: "ui-AccordionContentInner" }, o.$attrs), [
1817
1825
  _(o.$slots, "default")
@@ -1820,7 +1828,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1820
1828
  _: 3
1821
1829
  }, 16));
1822
1830
  }
1823
- }), Mo = ["data-accent-color"], Fo = /* @__PURE__ */ h({
1831
+ }), Fo = ["data-accent-color"], Mo = /* @__PURE__ */ m({
1824
1832
  __name: "PlusMinusIcon",
1825
1833
  props: {
1826
1834
  color: { default: void 0 },
@@ -1829,26 +1837,26 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1829
1837
  setup(s) {
1830
1838
  const e = s;
1831
1839
  return (t, o) => (r(), $("div", {
1832
- class: k(["ui-PlusMinusIcon", `r-size-${e.size}`]),
1840
+ class: I(["ui-PlusMinusIcon", `r-size-${e.size}`]),
1833
1841
  "data-accent-color": e.color
1834
1842
  }, o[0] || (o[0] = [
1835
1843
  b("div", { class: "ui-PlusMinusIcon-1" }, null, -1),
1836
1844
  b("div", { class: "ui-PlusMinusIcon-2" }, null, -1)
1837
- ]), 10, Mo));
1845
+ ]), 10, Fo));
1838
1846
  }
1839
- }), Lo = /* @__PURE__ */ h({
1847
+ }), jo = /* @__PURE__ */ m({
1840
1848
  __name: "ChevronIcon",
1841
1849
  props: {
1842
1850
  arrowTransform: { default: "right-down" }
1843
1851
  },
1844
1852
  setup(s) {
1845
- return (e, t) => (r(), d(a(I), {
1853
+ return (e, t) => (r(), d(a(k), {
1846
1854
  class: "ui-ChevronIcon",
1847
1855
  icon: "lucide:chevron-right",
1848
1856
  "data-arrow-transform": e.arrowTransform
1849
1857
  }, null, 8, ["data-arrow-transform"]));
1850
1858
  }
1851
- }), Go = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ h({
1859
+ }), Lo = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ m({
1852
1860
  __name: "AccordionTrigger",
1853
1861
  props: {
1854
1862
  indicator: { default: "chevron" },
@@ -1857,17 +1865,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1857
1865
  },
1858
1866
  setup(s) {
1859
1867
  const e = s, [t, o] = Qt(e, ["size"]);
1860
- return (l, n) => (r(), d(a(Lt), g({
1868
+ return (l, n) => (r(), d(a(jt), g({
1861
1869
  class: ["ui-AccordionTrigger", a(o)]
1862
1870
  }, a(t)), {
1863
1871
  default: c(() => [
1864
- b("div", Go, [
1872
+ b("div", Lo, [
1865
1873
  _(l.$slots, "default")
1866
1874
  ]),
1867
- e.indicator === "plus-minus" ? (r(), d(Fo, {
1875
+ e.indicator === "plus-minus" ? (r(), d(Mo, {
1868
1876
  key: 0,
1869
1877
  class: "ui-AccordionTriggerIcon"
1870
- })) : e.indicator === "chevron" ? (r(), d(Lo, {
1878
+ })) : e.indicator === "chevron" ? (r(), d(jo, {
1871
1879
  key: 1,
1872
1880
  "arrow-transform": "down-up"
1873
1881
  })) : z("", !0)
@@ -1875,17 +1883,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1875
1883
  _: 3
1876
1884
  }, 16, ["class"]));
1877
1885
  }
1878
- }), ss = /* @__PURE__ */ h({
1886
+ }), ss = /* @__PURE__ */ m({
1879
1887
  inheritAttrs: !1,
1880
1888
  __name: "CollapsibleContent",
1881
1889
  props: {
1882
1890
  forceMount: { type: Boolean },
1883
1891
  asChild: { type: Boolean },
1884
- as: {}
1892
+ as: { type: [String, Object, Function] }
1885
1893
  },
1886
1894
  setup(s) {
1887
- const t = T(s);
1888
- return (o, l) => (r(), d(a(Gt), g(a(t), { class: "ui-CollapsibleContent" }), {
1895
+ const t = V(s);
1896
+ return (o, l) => (r(), d(a(Lt), g(a(t), { class: "ui-CollapsibleContent" }), {
1889
1897
  default: c(() => [
1890
1898
  b("div", g({ class: "ui-CollapsibleContentInner" }, o.$attrs), [
1891
1899
  _(o.$slots, "default")
@@ -1894,7 +1902,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1894
1902
  _: 3
1895
1903
  }, 16));
1896
1904
  }
1897
- }), Ho = /* @__PURE__ */ h({
1905
+ }), Go = /* @__PURE__ */ m({
1898
1906
  __name: "Pagination",
1899
1907
  props: /* @__PURE__ */ Q({
1900
1908
  total: {},
@@ -1922,18 +1930,18 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1922
1930
  highContrast: e.highContrast,
1923
1931
  disabled: e.disabled
1924
1932
  })), n = C(() => {
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 = [];
1933
+ 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, A = v > B && t.value > e.edge + 3, M = v > B && t.value + e.edge + 2 < v, H = [];
1926
1934
  let K = 2, J = v - 1;
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);
1935
+ A && !M ? K = Math.max(4, v - 2 * e.edge - 2) : !A && M ? J = Math.min(2 * e.edge + 3, v - 1) : A && M && (K = t.value - e.edge, J = t.value + e.edge);
1928
1936
  for (let X = K; X <= J; X++)
1929
- E.push(X);
1937
+ H.push(X);
1930
1938
  return {
1931
1939
  totalPages: v,
1932
- prev: m,
1940
+ prev: h,
1933
1941
  next: f,
1934
1942
  hasLeftEdge: A,
1935
- hasRightEdge: F,
1936
- pageList: E
1943
+ hasRightEdge: M,
1944
+ pageList: H
1937
1945
  };
1938
1946
  }), i = (v) => {
1939
1947
  t.value = v;
@@ -1942,18 +1950,18 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1942
1950
  }, y = () => {
1943
1951
  i(t.value + e.edge);
1944
1952
  };
1945
- return (v, m) => (r(), $("div", {
1946
- class: k(["ui-Pagination", o.value])
1953
+ return (v, h) => (r(), $("div", {
1954
+ class: I(["ui-Pagination", o.value])
1947
1955
  }, [
1948
1956
  n.value.prev ? (r(), d(Y, g({ key: 0 }, l.value, {
1949
1957
  "aria-label": "Previous",
1950
- onClick: m[0] || (m[0] = D((f) => i(n.value.prev), ["prevent"]))
1958
+ onClick: h[0] || (h[0] = O((f) => i(n.value.prev), ["prevent"]))
1951
1959
  }), {
1952
1960
  default: c(() => [
1953
1961
  _(v.$slots, "prev-page", {
1954
1962
  page: n.value.prev
1955
1963
  }, () => [
1956
- p(a(I), { icon: "lucide:chevron-left" })
1964
+ p(a(k), { icon: "lucide:chevron-left" })
1957
1965
  ])
1958
1966
  ]),
1959
1967
  _: 3
@@ -1961,50 +1969,47 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
1961
1969
  p(W, g(l.value, {
1962
1970
  disabled: t.value === 1,
1963
1971
  "aria-current": "page",
1964
- onClick: m[1] || (m[1] = D((f) => i(1), ["prevent"]))
1972
+ onClick: h[1] || (h[1] = O((f) => i(1), ["prevent"]))
1965
1973
  }), {
1966
1974
  default: c(() => [
1967
1975
  _(v.$slots, "page", { page: 1 }, () => [
1968
- m[4] || (m[4] = L("1"))
1976
+ h[4] || (h[4] = j("1"))
1969
1977
  ])
1970
1978
  ]),
1971
1979
  _: 3
1972
1980
  }, 16, ["disabled"]),
1973
1981
  n.value.hasLeftEdge ? (r(), d(Y, g({ key: 1 }, l.value, {
1974
- onClick: D(u, ["prevent"])
1982
+ onClick: O(u, ["prevent"])
1975
1983
  }), {
1976
1984
  default: c(() => [
1977
1985
  _(v.$slots, "prev-edge", {
1978
1986
  page: t.value - v.edge
1979
1987
  }, () => [
1980
- p(a(I), { icon: "lucide:ellipsis" })
1988
+ p(a(k), { icon: "lucide:ellipsis" })
1981
1989
  ])
1982
1990
  ]),
1983
1991
  _: 3
1984
1992
  }, 16)) : z("", !0),
1985
- (r(!0), $(H, null, j(n.value.pageList, (f) => (r(), d(W, g({
1986
- key: f,
1987
- ref_for: !0
1988
- }, l.value, {
1993
+ (r(!0), $(G, null, E(n.value.pageList, (f) => (r(), d(W, g({ key: f }, { ref_for: !0 }, l.value, {
1989
1994
  disabled: f === t.value,
1990
1995
  "aria-current": "page",
1991
- onClick: D((B) => i(f), ["prevent"])
1996
+ onClick: O((B) => i(f), ["prevent"])
1992
1997
  }), {
1993
1998
  default: c(() => [
1994
1999
  _(v.$slots, "page", { page: f }, () => [
1995
- L(V(f), 1)
2000
+ j(T(f), 1)
1996
2001
  ])
1997
2002
  ]),
1998
2003
  _: 2
1999
2004
  }, 1040, ["disabled", "onClick"]))), 128)),
2000
2005
  n.value.hasRightEdge ? (r(), d(Y, g({ key: 2 }, l.value, {
2001
- onClick: D(y, ["prevent"])
2006
+ onClick: O(y, ["prevent"])
2002
2007
  }), {
2003
2008
  default: c(() => [
2004
2009
  _(v.$slots, "next-edge", {
2005
2010
  page: t.value + v.edge
2006
2011
  }, () => [
2007
- p(a(I), { icon: "lucide:ellipsis" })
2012
+ p(a(k), { icon: "lucide:ellipsis" })
2008
2013
  ])
2009
2014
  ]),
2010
2015
  _: 3
@@ -2012,33 +2017,33 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2012
2017
  n.value.totalPages > 1 ? (r(), d(W, g({ key: 3 }, l.value, {
2013
2018
  disabled: n.value.totalPages === t.value,
2014
2019
  "aria-current": "page",
2015
- onClick: m[2] || (m[2] = D((f) => i(n.value.totalPages), ["prevent"]))
2020
+ onClick: h[2] || (h[2] = O((f) => i(n.value.totalPages), ["prevent"]))
2016
2021
  }), {
2017
2022
  default: c(() => [
2018
2023
  _(v.$slots, "page", {
2019
2024
  page: n.value.totalPages
2020
2025
  }, () => [
2021
- L(V(n.value.totalPages), 1)
2026
+ j(T(n.value.totalPages), 1)
2022
2027
  ])
2023
2028
  ]),
2024
2029
  _: 3
2025
2030
  }, 16, ["disabled"])) : z("", !0),
2026
2031
  n.value.next ? (r(), d(Y, g({ key: 4 }, l.value, {
2027
2032
  "aria-label": "Next",
2028
- onClick: m[3] || (m[3] = D((f) => i(n.value.next), ["prevent"]))
2033
+ onClick: h[3] || (h[3] = O((f) => i(n.value.next), ["prevent"]))
2029
2034
  }), {
2030
2035
  default: c(() => [
2031
2036
  _(v.$slots, "next-page", {
2032
2037
  page: n.value.next
2033
2038
  }, () => [
2034
- p(a(I), { icon: "lucide:chevron-right" })
2039
+ p(a(k), { icon: "lucide:chevron-right" })
2035
2040
  ])
2036
2041
  ]),
2037
2042
  _: 3
2038
2043
  }, 16)) : z("", !0)
2039
2044
  ], 2));
2040
2045
  }
2041
- }), Eo = ["data-size", "data-variant"], jo = ["data-layout"], ls = /* @__PURE__ */ h({
2046
+ }), Ho = ["data-size", "data-variant"], Eo = ["data-layout"], ls = /* @__PURE__ */ m({
2042
2047
  __name: "Table",
2043
2048
  props: {
2044
2049
  size: { default: "2" },
@@ -2052,20 +2057,20 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2052
2057
  "data-size": e.size,
2053
2058
  "data-variant": e.variant
2054
2059
  }, [
2055
- p(ke, null, {
2060
+ p(Ie, null, {
2056
2061
  default: c(() => [
2057
2062
  b("table", {
2058
2063
  class: "ui-TableContent",
2059
2064
  "data-layout": e.layout
2060
2065
  }, [
2061
2066
  _(t.$slots, "default")
2062
- ], 8, jo)
2067
+ ], 8, Eo)
2063
2068
  ]),
2064
2069
  _: 3
2065
2070
  })
2066
- ], 8, Eo));
2071
+ ], 8, Ho));
2067
2072
  }
2068
- }), ns = /* @__PURE__ */ h({
2073
+ }), ns = /* @__PURE__ */ m({
2069
2074
  __name: "Separator",
2070
2075
  props: {
2071
2076
  as: { default: "span" },
@@ -2077,13 +2082,13 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2077
2082
  const e = s;
2078
2083
  return (t, o) => (r(), d(a(U), {
2079
2084
  as: e.as,
2080
- class: k(["ui-Separator", `r-size-${e.size}`]),
2085
+ class: I(["ui-Separator", `r-size-${e.size}`]),
2081
2086
  role: "separator",
2082
2087
  "data-accent-color": e.color,
2083
2088
  "aria-orientation": e.orientation
2084
2089
  }, null, 8, ["as", "class", "data-accent-color", "aria-orientation"]));
2085
2090
  }
2086
- }), Wo = ["textContent"], Uo = /* @__PURE__ */ h({
2091
+ }), Wo = ["textContent"], Uo = /* @__PURE__ */ m({
2087
2092
  inheritAttrs: !1,
2088
2093
  __name: "Tooltip",
2089
2094
  props: {
@@ -2114,7 +2119,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2114
2119
  },
2115
2120
  setup(s) {
2116
2121
  const e = s;
2117
- return (t, o) => (r(), d(a(Ht), {
2122
+ return (t, o) => (r(), d(a(Gt), {
2118
2123
  "delay-duration": e.delayDuration,
2119
2124
  "disable-closing-trigger": e.disableClosingTrigger,
2120
2125
  "disable-hoverable-content": e.disableHoverableContent,
@@ -2123,9 +2128,9 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2123
2128
  "skip-delay-duration": e.skipDelayDuration
2124
2129
  }, {
2125
2130
  default: c(() => [
2126
- p(a(Et), null, {
2131
+ p(a(Ht), null, {
2127
2132
  default: c(() => [
2128
- p(a(jt), g({
2133
+ p(a(Et), g({
2129
2134
  as: e.as,
2130
2135
  "as-child": e.asChild
2131
2136
  }, t.$attrs), {
@@ -2156,7 +2161,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2156
2161
  _(t.$slots, "content", {}, () => [
2157
2162
  b("p", {
2158
2163
  class: "ui-TooltipText",
2159
- textContent: V(e.content)
2164
+ textContent: T(e.content)
2160
2165
  }, null, 8, Wo)
2161
2166
  ]),
2162
2167
  p(a(qt), { class: "ui-TooltipArrow" })
@@ -2173,7 +2178,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2173
2178
  _: 3
2174
2179
  }, 8, ["delay-duration", "disable-closing-trigger", "disable-hoverable-content", "disabled", "ignore-non-keyboard-focus", "skip-delay-duration"]));
2175
2180
  }
2176
- }), rs = /* @__PURE__ */ h({
2181
+ }), rs = /* @__PURE__ */ m({
2177
2182
  __name: "Quota",
2178
2183
  props: {
2179
2184
  percent: {},
@@ -2201,7 +2206,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2201
2206
  _: 1
2202
2207
  }, 8, ["model-value", "data-accent-color"]));
2203
2208
  }
2204
- }), is = /* @__PURE__ */ h({
2209
+ }), is = /* @__PURE__ */ m({
2205
2210
  __name: "Spinner",
2206
2211
  props: {
2207
2212
  icon: { default: "180-ring" },
@@ -2209,12 +2214,12 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2209
2214
  },
2210
2215
  setup(s) {
2211
2216
  const e = s, t = C(() => `svg-spinners:${e.icon}`);
2212
- return (o, l) => (r(), d(a(I), {
2213
- class: k(["ui-Spinner", `r-size-${o.size}`]),
2217
+ return (o, l) => (r(), d(a(k), {
2218
+ class: I(["ui-Spinner", `r-size-${o.size}`]),
2214
2219
  icon: t.value
2215
2220
  }, null, 8, ["class", "icon"]));
2216
2221
  }
2217
- }), qo = ["data-status"], cs = /* @__PURE__ */ h({
2222
+ }), qo = ["data-status"], cs = /* @__PURE__ */ m({
2218
2223
  __name: "SavingIndicator",
2219
2224
  props: {
2220
2225
  status: {},
@@ -2223,19 +2228,19 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2223
2228
  setup(s) {
2224
2229
  const e = s;
2225
2230
  return (t, o) => (r(), $("div", {
2226
- class: k(["ui-SavingIndicator", `r-size-${t.size}`]),
2231
+ class: I(["ui-SavingIndicator", `r-size-${t.size}`]),
2227
2232
  "data-status": e.status
2228
2233
  }, [
2229
- e.status === "saving" ? (r(), d(a(I), {
2234
+ e.status === "saving" ? (r(), d(a(k), {
2230
2235
  key: 0,
2231
2236
  icon: "svg-spinners:180-ring"
2232
- })) : e.status === "saved" ? (r(), d(a(I), {
2237
+ })) : e.status === "saved" ? (r(), d(a(k), {
2233
2238
  key: 1,
2234
2239
  icon: "lucide:check-circle-2"
2235
2240
  })) : z("", !0)
2236
2241
  ], 10, qo));
2237
2242
  }
2238
- }), No = ["data-accent-color"], us = /* @__PURE__ */ h({
2243
+ }), No = ["data-accent-color"], us = /* @__PURE__ */ m({
2239
2244
  __name: "IconCircle",
2240
2245
  props: {
2241
2246
  color: {},
@@ -2246,18 +2251,18 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, ko] = oe("ui_ComboboxR
2246
2251
  setup(s) {
2247
2252
  const e = s, t = C(() => R(e, ["size", "variant"]));
2248
2253
  return (o, l) => (r(), $("span", {
2249
- class: k(["ui-IconCircle", t.value]),
2254
+ class: I(["ui-IconCircle", t.value]),
2250
2255
  "data-radius": "full",
2251
2256
  "data-accent-color": e.color
2252
2257
  }, [
2253
- p(a(I), {
2258
+ p(a(k), {
2254
2259
  icon: e.icon
2255
2260
  }, null, 8, ["icon"])
2256
2261
  ], 10, No));
2257
2262
  }
2258
2263
  }), Ko = "https://challenges.cloudflare.com/turnstile/v0/api.js", ge = "cfTurnstileOnLoad";
2259
2264
  let se = typeof window < "u" && window.turnstile !== void 0 ? "ready" : "unloaded", ie, le, ye;
2260
- const ds = /* @__PURE__ */ h({
2265
+ const ds = /* @__PURE__ */ m({
2261
2266
  __name: "Turnstile",
2262
2267
  props: {
2263
2268
  sitekey: {},
@@ -2307,7 +2312,7 @@ const ds = /* @__PURE__ */ h({
2307
2312
  })(), t.renderOnMount && y();
2308
2313
  }), Ce(() => {
2309
2314
  i(), clearTimeout(ye);
2310
- }), (v, m) => (r(), $("div", {
2315
+ }), (v, h) => (r(), $("div", {
2311
2316
  ref_key: "element",
2312
2317
  ref: l
2313
2318
  }, null, 512));
@@ -2315,7 +2320,7 @@ const ds = /* @__PURE__ */ h({
2315
2320
  }), Qo = {
2316
2321
  type: "button",
2317
2322
  class: "ui-IconifySample"
2318
- }, Zo = { class: "ui-IconifySampleInfo" }, Jo = { class: "ui-IconifySampleIcons" }, Xo = /* @__PURE__ */ h({
2323
+ }, Zo = { class: "ui-IconifySampleInfo" }, Jo = { class: "ui-IconifySampleIcons" }, Xo = /* @__PURE__ */ m({
2319
2324
  __name: "IconifySample",
2320
2325
  props: {
2321
2326
  prefix: {},
@@ -2329,13 +2334,13 @@ const ds = /* @__PURE__ */ h({
2329
2334
  const e = s;
2330
2335
  return (t, o) => (r(), $("button", Qo, [
2331
2336
  b("div", Zo, [
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)
2337
+ b("strong", null, T(e.name), 1),
2338
+ b("span", null, T(e.license.title), 1),
2339
+ b("span", null, T(e.total) + " icons", 1)
2335
2340
  ]),
2336
2341
  b("div", Jo, [
2337
- (r(!0), $(H, null, j(e.samples, (l) => (r(), $("span", { key: l }, [
2338
- p(a(I), {
2342
+ (r(!0), $(G, null, E(e.samples, (l) => (r(), $("span", { key: l }, [
2343
+ p(a(k), {
2339
2344
  icon: e.prefix + ":" + l
2340
2345
  }, null, 8, ["icon"])
2341
2346
  ]))), 128))
@@ -2370,7 +2375,7 @@ const ds = /* @__PURE__ */ h({
2370
2375
  }, ce = (s, e, t) => s.filter((o) => {
2371
2376
  let l = !0;
2372
2377
  return e && o.indexOf(e) === -1 && (l = !1), t && o.indexOf(`-${t}`) === -1 && (l = !1), l;
2373
- }), ps = /* @__PURE__ */ h({
2378
+ }), ps = /* @__PURE__ */ m({
2374
2379
  __name: "IconifyCollection",
2375
2380
  props: {
2376
2381
  prefix: {},
@@ -2379,78 +2384,77 @@ const ds = /* @__PURE__ */ h({
2379
2384
  },
2380
2385
  emits: ["select"],
2381
2386
  setup(s, { emit: e }) {
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";
2384
- }, F = (w) => {
2385
- o("select", w);
2386
- }, E = async () => {
2387
+ const t = s, o = e, l = P("all"), n = P([]), i = P(""), u = P(1), y = P(""), v = P([]), h = P(), f = P(""), B = P(""), A = () => {
2388
+ u.value = 1, y.value = "", v.value = [], h.value = void 0, f.value = "", B.value = "", l.value = "all";
2389
+ }, M = (S) => {
2390
+ o("select", S);
2391
+ }, H = async () => {
2387
2392
  y.value ? (l.value = "search", v.value = await pa(y.value)) : l.value = "all";
2388
- }, K = async (w) => {
2389
- m.value = void 0, f.value = "", B.value = "", l.value = "collection", m.value = await fa(w);
2393
+ }, K = async (S) => {
2394
+ h.value = void 0, f.value = "", B.value = "", l.value = "collection", h.value = await fa(S);
2390
2395
  }, J = C(() => {
2391
- let w = 0;
2392
- return n.value.forEach((S) => {
2393
- w += S.items.length;
2394
- }), w;
2395
- }), X = C(() => i.value ? n.value.map((w) => {
2396
- const S = w.items.filter((O) => [O.category, O.name, O.prefix].join(" ").toLowerCase().indexOf(i.value) !== -1);
2397
- return { ...w, items: S };
2398
- }).filter((w) => w.items.length !== 0) : n.value), Re = C(() => {
2399
- let w = [];
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];
2402
- ce(O, f.value, B.value).forEach((x) => {
2403
- w.push(x);
2396
+ let S = 0;
2397
+ return n.value.forEach((w) => {
2398
+ S += w.items.length;
2399
+ }), S;
2400
+ }), X = C(() => i.value ? n.value.map((S) => {
2401
+ const w = S.items.filter((D) => [D.category, D.name, D.prefix].join(" ").toLowerCase().indexOf(i.value) !== -1);
2402
+ return { ...S, items: w };
2403
+ }).filter((S) => S.items.length !== 0) : n.value), Re = C(() => {
2404
+ let S = [];
2405
+ return h.value ? (h.value.uncategorized ? S = ce(h.value.uncategorized, f.value, B.value) : h.value.categories && Object.keys(h.value.categories).forEach((w) => {
2406
+ const D = h.value.categories[w];
2407
+ ce(D, f.value, B.value).forEach((x) => {
2408
+ S.push(x);
2404
2409
  });
2405
- }), f.value && !w.length && m.value.hidden && (w = ce(m.value.hidden, f.value, B.value)), w.map((S) => {
2406
- var O;
2407
- return `${(O = m.value) == null ? void 0 : O.prefix}:${S}`;
2408
- })) : w;
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);
2410
+ }), f.value && !S.length && h.value.hidden && (S = ce(h.value.hidden, f.value, B.value)), S.map((w) => {
2411
+ var D;
2412
+ return `${(D = h.value) == null ? void 0 : D.prefix}:${w}`;
2413
+ })) : S;
2414
+ }), me = C(() => l.value === "search" ? v.value : l.value === "collection" ? Re.value : []), Pe = C(() => {
2415
+ const S = (u.value - 1) * t.perpage, w = u.value * t.perpage;
2416
+ return me.value.slice(S, w);
2412
2417
  });
2413
2418
  return ue(async () => {
2414
- t.prefix ? K(t.prefix) : t.search && (y.value = t.search, E()), n.value = await da();
2415
- }), (w, S) => {
2416
- var O;
2419
+ t.prefix ? K(t.prefix) : t.search && (y.value = t.search, H()), n.value = await da();
2420
+ }), (S, w) => {
2421
+ var D;
2417
2422
  return r(), $("div", Yo, [
2418
2423
  te(b("div", ea, [
2419
2424
  b("section", ta, [
2420
- b("h1", null, V(J.value) + " icon sets", 1),
2425
+ b("h1", null, T(J.value) + " icon sets", 1),
2421
2426
  b("div", oa, [
2422
2427
  p(ae, {
2423
2428
  modelValue: i.value,
2424
- "onUpdate:modelValue": S[0] || (S[0] = (x) => i.value = x),
2429
+ "onUpdate:modelValue": w[0] || (w[0] = (x) => i.value = x),
2425
2430
  placeholder: "Filter icon sets..."
2426
2431
  }, null, 8, ["modelValue"]),
2427
2432
  p(ae, {
2428
2433
  modelValue: y.value,
2429
- "onUpdate:modelValue": S[1] || (S[1] = (x) => y.value = x),
2434
+ "onUpdate:modelValue": w[1] || (w[1] = (x) => y.value = x),
2430
2435
  placeholder: "Search icons...",
2431
- onKeydown: me(E, ["enter"])
2436
+ onKeydown: he(H, ["enter"])
2432
2437
  }, null, 8, ["modelValue"])
2433
2438
  ])
2434
2439
  ]),
2435
- (r(!0), $(H, null, j(X.value, (x) => (r(), $("section", {
2440
+ (r(!0), $(G, null, E(X.value, (x) => (r(), $("section", {
2436
2441
  key: x.category,
2437
2442
  class: "ui-IconifyCollectionSample"
2438
2443
  }, [
2439
2444
  b("h1", aa, [
2440
- b("span", sa, V(x.category), 1),
2441
- b("span", la, "(" + V(x.items.length) + " icon sets)", 1)
2445
+ b("span", sa, T(x.category), 1),
2446
+ b("span", la, "(" + T(x.items.length) + " icon sets)", 1)
2442
2447
  ]),
2443
2448
  b("div", na, [
2444
- (r(!0), $(H, null, j(x.items, (G) => (r(), d(Xo, g({
2445
- key: G.prefix,
2446
- ref_for: !0
2447
- }, G, {
2448
- onClick: D((De) => K(G.prefix), ["prevent"])
2449
+ (r(!0), $(G, null, E(x.items, (L) => (r(), d(Xo, g({
2450
+ key: L.prefix
2451
+ }, { ref_for: !0 }, L, {
2452
+ onClick: O((Oe) => K(L.prefix), ["prevent"])
2449
2453
  }), null, 16, ["onClick"]))), 128))
2450
2454
  ])
2451
2455
  ]))), 128))
2452
2456
  ], 512), [
2453
- [He, l.value === "all"]
2457
+ [Ge, l.value === "all"]
2454
2458
  ]),
2455
2459
  l.value !== "all" ? (r(), $("div", ra, [
2456
2460
  b("div", ia, [
@@ -2458,44 +2462,45 @@ const ds = /* @__PURE__ */ h({
2458
2462
  type: "button",
2459
2463
  variant: "surface",
2460
2464
  color: "gray",
2461
- onClick: D(A, ["prevent"])
2465
+ onClick: O(A, ["prevent"])
2462
2466
  }, {
2463
- default: c(() => S[5] || (S[5] = [
2464
- L(" Back ")
2467
+ default: c(() => w[5] || (w[5] = [
2468
+ j(" Back ")
2465
2469
  ])),
2466
- _: 1
2470
+ _: 1,
2471
+ __: [5]
2467
2472
  }),
2468
2473
  l.value === "search" ? (r(), d(ae, {
2469
2474
  key: 0,
2470
2475
  modelValue: y.value,
2471
- "onUpdate:modelValue": S[2] || (S[2] = (x) => y.value = x),
2476
+ "onUpdate:modelValue": w[2] || (w[2] = (x) => y.value = x),
2472
2477
  placeholder: "Search icons...",
2473
- onKeydown: me(E, ["enter"])
2478
+ onKeydown: he(H, ["enter"])
2474
2479
  }, null, 8, ["modelValue"])) : z("", !0),
2475
2480
  l.value === "collection" ? (r(), d(ae, {
2476
2481
  key: 1,
2477
2482
  modelValue: f.value,
2478
- "onUpdate:modelValue": S[3] || (S[3] = (x) => f.value = x),
2483
+ "onUpdate:modelValue": w[3] || (w[3] = (x) => f.value = x),
2479
2484
  placeholder: "Search icons..."
2480
2485
  }, null, 8, ["modelValue"])) : z("", !0)
2481
2486
  ]),
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",
2487
+ l.value === "collection" && ((D = h.value) != null && D.suffixes) ? (r(), $("div", ca, [
2488
+ (r(!0), $(G, null, E(h.value.suffixes, (x, L) => (r(), d(W, {
2489
+ key: L,
2490
+ variant: B.value === L ? "solid" : "outline",
2486
2491
  color: "gray",
2487
2492
  "high-contrast": "",
2488
2493
  radius: "full",
2489
- onClick: D((De) => B.value = G, ["prevent"])
2494
+ onClick: O((Oe) => B.value = L, ["prevent"])
2490
2495
  }, {
2491
2496
  default: c(() => [
2492
- L(V(x), 1)
2497
+ j(T(x), 1)
2493
2498
  ]),
2494
2499
  _: 2
2495
2500
  }, 1032, ["variant", "onClick"]))), 128))
2496
2501
  ])) : z("", !0),
2497
2502
  b("div", ua, [
2498
- (r(!0), $(H, null, j(Pe.value, (x) => (r(), d(Uo, {
2503
+ (r(!0), $(G, null, E(Pe.value, (x) => (r(), d(Uo, {
2499
2504
  key: x,
2500
2505
  as: "div",
2501
2506
  content: x
@@ -2506,10 +2511,10 @@ const ds = /* @__PURE__ */ h({
2506
2511
  color: "gray",
2507
2512
  variant: "ghost",
2508
2513
  size: "4",
2509
- onClick: D((G) => F(x), ["prevent"])
2514
+ onClick: O((L) => M(x), ["prevent"])
2510
2515
  }, {
2511
2516
  default: c(() => [
2512
- p(a(I), { icon: x }, null, 8, ["icon"])
2517
+ p(a(k), { icon: x }, null, 8, ["icon"])
2513
2518
  ]),
2514
2519
  _: 2
2515
2520
  }, 1032, ["onClick"])
@@ -2517,11 +2522,11 @@ const ds = /* @__PURE__ */ h({
2517
2522
  _: 2
2518
2523
  }, 1032, ["content"]))), 128))
2519
2524
  ]),
2520
- p(Ho, {
2525
+ p(Go, {
2521
2526
  page: u.value,
2522
- "onUpdate:page": S[4] || (S[4] = (x) => u.value = x),
2523
- total: he.value.length,
2524
- perpage: w.perpage
2527
+ "onUpdate:page": w[4] || (w[4] = (x) => u.value = x),
2528
+ total: me.value.length,
2529
+ perpage: S.perpage
2525
2530
  }, null, 8, ["page", "total", "perpage"])
2526
2531
  ])) : z("", !0)
2527
2532
  ]);
@@ -2533,7 +2538,7 @@ export {
2533
2538
  ts as AccordionItem,
2534
2539
  es as AccordionRoot,
2535
2540
  as as AccordionTrigger,
2536
- ms as AlertDialogAction,
2541
+ hs as AlertDialogAction,
2537
2542
  vs as AlertDialogCancel,
2538
2543
  ba as AlertDialogContent,
2539
2544
  _s as AlertDialogDescription,
@@ -2545,42 +2550,42 @@ export {
2545
2550
  W as Button,
2546
2551
  Yt as Card,
2547
2552
  ya as CardHead,
2548
- Ie as Checkbox,
2549
- Ta as CheckboxGroupControl,
2550
- Ia as CheckboxGroupItem,
2551
- ka as CheckboxGroupRoot,
2552
- Lo as ChevronIcon,
2553
+ ke as Checkbox,
2554
+ Va as CheckboxGroupControl,
2555
+ ka as CheckboxGroupItem,
2556
+ Ia as CheckboxGroupRoot,
2557
+ jo as ChevronIcon,
2553
2558
  ss as CollapsibleContent,
2554
2559
  bs as CollapsibleRoot,
2555
2560
  $s as CollapsibleTrigger,
2556
- Da as ColorField,
2561
+ Oa as ColorField,
2557
2562
  Wa as ComboboxContent,
2558
2563
  Bs as ComboboxEmpty,
2559
2564
  xs as ComboboxGroup,
2560
- ja as ComboboxInput,
2565
+ Ea as ComboboxInput,
2561
2566
  Ua as ComboboxItem,
2562
2567
  qa as ComboboxLabel,
2563
- Ea as ComboboxRoot,
2564
- ws as DialogClose,
2568
+ Ha as ComboboxRoot,
2569
+ Ss as DialogClose,
2565
2570
  $a as DialogContent,
2566
- Ss as DialogDescription,
2571
+ ws as DialogDescription,
2567
2572
  Ba as DialogHead,
2568
2573
  zs as DialogRoot,
2569
- ks as DialogTitle,
2570
- Is as DialogTrigger,
2574
+ Is as DialogTitle,
2575
+ ks as DialogTrigger,
2571
2576
  xa as DropdownMenuContent,
2572
- wa as DropdownMenuItem,
2573
- Ts as DropdownMenuRoot,
2574
- Vs as DropdownMenuTrigger,
2575
- Gs as Icon,
2577
+ Sa as DropdownMenuItem,
2578
+ Vs as DropdownMenuRoot,
2579
+ Ts as DropdownMenuTrigger,
2580
+ Ls as Icon,
2576
2581
  Y as IconButton,
2577
2582
  us as IconCircle,
2578
2583
  ps as IconifyCollection,
2579
2584
  Xt as Inset,
2580
- Ho as Pagination,
2581
- Fo as PlusMinusIcon,
2585
+ Go as Pagination,
2586
+ Mo as PlusMinusIcon,
2582
2587
  As as PopoverClose,
2583
- Sa as PopoverContent,
2588
+ wa as PopoverContent,
2584
2589
  Rs as PopoverRoot,
2585
2590
  Ps as PopoverTrigger,
2586
2591
  rs as Quota,
@@ -2589,29 +2594,29 @@ export {
2589
2594
  Ka as RadioCardsRoot,
2590
2595
  Qa as RadioGroupItem,
2591
2596
  Ka as RadioGroupRoot,
2592
- Ds as RadioTabsItem,
2597
+ Os as RadioTabsItem,
2593
2598
  Ja as RadioTabsList,
2594
2599
  cs as SavingIndicator,
2595
- ke as ScrollArea,
2596
- Ma as SelectContent,
2597
- Os as SelectGroup,
2598
- La as SelectItem,
2599
- Ga as SelectLabel,
2600
- Oa as SelectRoot,
2601
- Ha as SelectSeparator,
2602
- Fa as SelectTrigger,
2600
+ Ie as ScrollArea,
2601
+ Fa as SelectContent,
2602
+ Ds as SelectGroup,
2603
+ ja as SelectItem,
2604
+ La as SelectLabel,
2605
+ Da as SelectRoot,
2606
+ Ga as SelectSeparator,
2607
+ Ma as SelectTrigger,
2603
2608
  ns as Separator,
2604
2609
  Ca as SocialButton,
2605
2610
  is as Spinner,
2606
2611
  za as Switch,
2607
2612
  ls as Table,
2608
- Ms as TabsContent,
2613
+ Fs as TabsContent,
2609
2614
  Xa as TabsList,
2610
- Fs as TabsRoot,
2615
+ Ms as TabsRoot,
2611
2616
  Ya as TabsTrigger,
2612
2617
  Pa as TextArea,
2613
2618
  ae as TextField,
2614
- Va as Toggle,
2619
+ Ta as Toggle,
2615
2620
  Ra as ToggleGroupItem,
2616
2621
  Aa as ToggleGroupRoot,
2617
2622
  Uo as Tooltip,