@typlog/ui 0.9.1 → 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.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
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 L, 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 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 he, vShow as He } from "vue";
2
- import { useForwardProps as V, 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 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 It, ComboboxViewport as kt, ComboboxItem as Vt, ComboboxItemIndicator as Tt, 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 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 Is, DialogTrigger as ks, DropdownMenuRoot as Vs, DropdownMenuTrigger as Ts, 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 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
4
  import { Icon as k } from "@iconify/vue";
5
- import { Icon as Gs } from "@iconify/vue";
5
+ import { Icon as Ls } from "@iconify/vue";
6
6
  function q(s, e, t) {
7
7
  const o = V(s), l = xe(e);
8
8
  return C(() => ({
@@ -60,13 +60,13 @@ const _a = /* @__PURE__ */ m({
60
60
  const l = e.alt.split(/\s+/).map((n) => n[0]);
61
61
  return e.size === "1" ? l[0] : l.slice(0, 2).join("");
62
62
  });
63
- return (l, n) => (r(), d(a(Ee), {
63
+ return (l, n) => (r(), d(a(He), {
64
64
  class: I(["ui-Avatar", t.value]),
65
65
  "data-accent-color": e.color,
66
66
  "data-radius": e.radius
67
67
  }, {
68
68
  default: c(() => [
69
- p(a(je), {
69
+ p(a(Ee), {
70
70
  alt: e.alt,
71
71
  src: e.src || ""
72
72
  }, null, 8, ["alt", "src"]),
@@ -74,7 +74,7 @@ const _a = /* @__PURE__ */ m({
74
74
  class: I(`r-count-${o.value.length}`)
75
75
  }, {
76
76
  default: c(() => [
77
- L(T(o.value), 1)
77
+ j(T(o.value), 1)
78
78
  ]),
79
79
  _: 1
80
80
  }, 8, ["class"])
@@ -91,7 +91,7 @@ const _a = /* @__PURE__ */ m({
91
91
  size: { default: "1" },
92
92
  highContrast: { type: Boolean, default: void 0 },
93
93
  asChild: { type: Boolean },
94
- as: { default: "span" }
94
+ as: { type: [String, Object, Function], default: "span" }
95
95
  },
96
96
  setup(s) {
97
97
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
@@ -131,7 +131,7 @@ const _a = /* @__PURE__ */ m({
131
131
  radius: {},
132
132
  size: { default: "1" },
133
133
  asChild: { type: Boolean },
134
- as: { default: "div" }
134
+ as: { type: [String, Object, Function], default: "div" }
135
135
  },
136
136
  setup(s) {
137
137
  const e = s, t = C(() => R(e, ["size", "variant"]));
@@ -152,7 +152,7 @@ const _a = /* @__PURE__ */ m({
152
152
  props: {
153
153
  color: {},
154
154
  asChild: { type: Boolean },
155
- as: { default: "div" }
155
+ as: { type: [String, Object, Function], default: "div" }
156
156
  },
157
157
  setup(s) {
158
158
  const e = s;
@@ -177,7 +177,7 @@ const _a = /* @__PURE__ */ m({
177
177
  highContrast: { type: Boolean, default: !1 },
178
178
  disabled: { type: Boolean },
179
179
  asChild: { type: Boolean },
180
- as: { default: "button" }
180
+ as: { type: [String, Object, Function], default: "button" }
181
181
  },
182
182
  setup(s) {
183
183
  const e = s, t = C(() => R(e, ["size", "variant", "highContrast"]));
@@ -205,7 +205,7 @@ const _a = /* @__PURE__ */ m({
205
205
  highContrast: { type: Boolean },
206
206
  disabled: { type: Boolean },
207
207
  asChild: { type: Boolean },
208
- as: {}
208
+ as: { type: [String, Object, Function] }
209
209
  },
210
210
  setup(s) {
211
211
  const t = V(s);
@@ -232,7 +232,7 @@ const _a = /* @__PURE__ */ m({
232
232
  size: { default: "2" },
233
233
  disabled: { type: Boolean },
234
234
  asChild: { type: Boolean },
235
- as: { default: "button" }
235
+ as: { type: [String, Object, Function], default: "button" }
236
236
  },
237
237
  setup(s) {
238
238
  const e = s, t = C(() => R(e, ["size", "brand"])), o = C(() => eo[e.brand]);
@@ -310,7 +310,8 @@ const _a = /* @__PURE__ */ m({
310
310
  "class-name": "ui-ScrollAreaCorner"
311
311
  })) : z("", !0)
312
312
  ]),
313
- _: 3
313
+ _: 3,
314
+ __: [0]
314
315
  }, 8, ["as-child", "dir", "scroll-hide-delay", "type", "data-radius"]));
315
316
  }
316
317
  }), to = { class: "ui-DialogScroll" }, oo = ["data-align"], ba = /* @__PURE__ */ m({
@@ -477,7 +478,7 @@ const _a = /* @__PURE__ */ m({
477
478
  default: c(() => [
478
479
  p(a(Xe), { class: "font-semibold" }, {
479
480
  default: c(() => [
480
- L(T(e.title), 1)
481
+ j(T(e.title), 1)
481
482
  ]),
482
483
  _: 1
483
484
  }),
@@ -536,7 +537,7 @@ const _a = /* @__PURE__ */ m({
536
537
  "variant",
537
538
  "color",
538
539
  "highContrast"
539
- ]), { forwardRef: n } = M(), { size: i, variant: u, color: y, highContrast: v } = ee(t);
540
+ ]), { forwardRef: n } = F(), { size: i, variant: u, color: y, highContrast: v } = ee(t);
540
541
  return ro({ size: i, variant: u, color: y, highContrast: v }), (h, f) => (r(), d(a(et), {
541
542
  to: t.to
542
543
  }, {
@@ -566,7 +567,7 @@ const _a = /* @__PURE__ */ m({
566
567
  _: 3
567
568
  }, 8, ["to"]));
568
569
  }
569
- }), io = ["textContent"], wa = /* @__PURE__ */ m({
570
+ }), io = ["textContent"], Sa = /* @__PURE__ */ m({
570
571
  __name: "DropdownMenuItem",
571
572
  props: {
572
573
  color: {},
@@ -574,12 +575,12 @@ const _a = /* @__PURE__ */ m({
574
575
  disabled: { type: Boolean },
575
576
  textValue: {},
576
577
  asChild: { type: Boolean },
577
- as: {}
578
+ as: { type: [String, Object, Function] }
578
579
  },
579
580
  emits: ["select"],
580
581
  setup(s, { emit: e }) {
581
582
  const t = s, l = q(t, e, ["color", "shortcut"]);
582
- M();
583
+ F();
583
584
  const n = no();
584
585
  return (i, u) => {
585
586
  var y;
@@ -602,7 +603,7 @@ const _a = /* @__PURE__ */ m({
602
603
  }, 16, ["data-accent-color", "data-size", "data-variant", "data-high-contrast"]);
603
604
  };
604
605
  }
605
- }), Sa = /* @__PURE__ */ m({
606
+ }), wa = /* @__PURE__ */ m({
606
607
  inheritAttrs: !1,
607
608
  __name: "PopoverContent",
608
609
  props: {
@@ -747,7 +748,7 @@ const _a = /* @__PURE__ */ m({
747
748
  disabled: { type: Boolean },
748
749
  name: {},
749
750
  asChild: { type: Boolean },
750
- as: {}
751
+ as: { type: [String, Object, Function] }
751
752
  }, {
752
753
  modelValue: {
753
754
  default: []
@@ -810,13 +811,13 @@ const _a = /* @__PURE__ */ m({
810
811
  disabled: { type: Boolean },
811
812
  id: {},
812
813
  asChild: { type: Boolean },
813
- as: {},
814
+ as: { type: [String, Object, Function] },
814
815
  name: {},
815
816
  required: { type: Boolean }
816
817
  },
817
818
  setup(s) {
818
819
  const e = s, t = V(e);
819
- M();
820
+ F();
820
821
  const o = Ve(), l = C(() => {
821
822
  var u;
822
823
  return ((u = o.disabled) == null ? void 0 : u.value) || e.disabled;
@@ -847,13 +848,13 @@ const _a = /* @__PURE__ */ m({
847
848
  value: {},
848
849
  id: {},
849
850
  asChild: { type: Boolean },
850
- as: {},
851
+ as: { type: [String, Object, Function] },
851
852
  name: {},
852
853
  required: { type: Boolean }
853
854
  },
854
855
  setup(s) {
855
856
  const e = s, t = V(e);
856
- M();
857
+ F();
857
858
  const o = Ve(), l = C(() => {
858
859
  var i;
859
860
  return ((i = o.disabled) == null ? void 0 : i.value) || e.disabled;
@@ -950,7 +951,7 @@ const _a = /* @__PURE__ */ m({
950
951
  value: {},
951
952
  disabled: { type: Boolean },
952
953
  asChild: { type: Boolean },
953
- as: {}
954
+ as: { type: [String, Object, Function] }
954
955
  },
955
956
  setup(s) {
956
957
  const t = V(s);
@@ -1018,7 +1019,7 @@ const _a = /* @__PURE__ */ m({
1018
1019
  "onUpdate:modelValue": y[0] || (y[0] = (v) => be(l) ? l.value = v : null),
1019
1020
  type: e.type
1020
1021
  }, u.$attrs, { class: "ui-TextFieldInput" }), null, 16, ho), [
1021
- [Oe, a(l)]
1022
+ [De, a(l)]
1022
1023
  ]),
1023
1024
  u.$slots.left ? (r(), $("div", vo, [
1024
1025
  _(u.$slots, "left")
@@ -1061,7 +1062,7 @@ const _a = /* @__PURE__ */ m({
1061
1062
  ])
1062
1063
  ], 10, go));
1063
1064
  }
1064
- }), yo = ["data-radius"], Co = ["id"], Da = /* @__PURE__ */ m({
1065
+ }), yo = ["data-radius"], Co = ["id"], Oa = /* @__PURE__ */ m({
1065
1066
  __name: "ColorField",
1066
1067
  props: /* @__PURE__ */ Q({
1067
1068
  id: {},
@@ -1092,7 +1093,7 @@ const _a = /* @__PURE__ */ m({
1092
1093
  ])
1093
1094
  ], 14, yo));
1094
1095
  }
1095
- }), [Te, bo] = oe("ui_SelectRoot"), Oa = /* @__PURE__ */ m({
1096
+ }), [Te, bo] = oe("ui_SelectRoot"), Da = /* @__PURE__ */ m({
1096
1097
  __name: "SelectRoot",
1097
1098
  props: {
1098
1099
  size: { default: "2" },
@@ -1117,14 +1118,14 @@ const _a = /* @__PURE__ */ m({
1117
1118
  size: l,
1118
1119
  color: n,
1119
1120
  highContrast: i
1120
- }), (y, v) => (r(), d(a(pt), Me(Fe(a(u))), {
1121
+ }), (y, v) => (r(), d(a(pt), Fe(Me(a(u))), {
1121
1122
  default: c(() => [
1122
1123
  _(y.$slots, "default")
1123
1124
  ]),
1124
1125
  _: 3
1125
1126
  }, 16));
1126
1127
  }
1127
- }), Ma = /* @__PURE__ */ m({
1128
+ }), Fa = /* @__PURE__ */ m({
1128
1129
  inheritAttrs: !1,
1129
1130
  __name: "SelectContent",
1130
1131
  props: {
@@ -1152,7 +1153,7 @@ const _a = /* @__PURE__ */ m({
1152
1153
  as: {}
1153
1154
  },
1154
1155
  setup(s) {
1155
- const e = s, t = V(e), { forwardRef: o } = M(), l = Te(), n = C(() => {
1156
+ const e = s, t = V(e), { forwardRef: o } = F(), l = Te(), n = C(() => {
1156
1157
  const i = ["r-size-" + l.size.value, "r-variant-" + e.variant];
1157
1158
  return l.highContrast.value && i.push("r-high-contrast"), e.position === "popper" && i.push("ui-PopperContent"), i;
1158
1159
  });
@@ -1198,7 +1199,8 @@ const _a = /* @__PURE__ */ m({
1198
1199
  _: 1
1199
1200
  })
1200
1201
  ]),
1201
- _: 3
1202
+ _: 3,
1203
+ __: [0]
1202
1204
  })
1203
1205
  ]),
1204
1206
  _: 3
@@ -1210,7 +1212,7 @@ const _a = /* @__PURE__ */ m({
1210
1212
  _: 3
1211
1213
  }, 8, ["to"]));
1212
1214
  }
1213
- }), $o = { class: "ui-SelectTriggerInner" }, Fa = /* @__PURE__ */ m({
1215
+ }), $o = { class: "ui-SelectTriggerInner" }, Ma = /* @__PURE__ */ m({
1214
1216
  __name: "SelectTrigger",
1215
1217
  props: {
1216
1218
  variant: { default: "surface" },
@@ -1240,9 +1242,9 @@ const _a = /* @__PURE__ */ m({
1240
1242
  selectedLabel: i,
1241
1243
  modelValue: u
1242
1244
  }, () => [
1243
- L(T(i.join(", ")), 1)
1244
- ]) : (r(), $(H, { key: 1 }, [
1245
- L(T(e.placeholder), 1)
1245
+ j(T(i.join(", ")), 1)
1246
+ ]) : (r(), $(G, { key: 1 }, [
1247
+ j(T(e.placeholder), 1)
1246
1248
  ], 64))
1247
1249
  ]),
1248
1250
  _: 3
@@ -1261,18 +1263,18 @@ const _a = /* @__PURE__ */ m({
1261
1263
  _: 3
1262
1264
  }, 8, ["class", "disabled", "data-accent-color", "data-radius"]));
1263
1265
  }
1264
- }), La = /* @__PURE__ */ m({
1266
+ }), ja = /* @__PURE__ */ m({
1265
1267
  __name: "SelectItem",
1266
1268
  props: {
1267
1269
  value: {},
1268
1270
  disabled: { type: Boolean },
1269
1271
  textValue: {},
1270
1272
  asChild: { type: Boolean },
1271
- as: {}
1273
+ as: { type: [String, Object, Function] }
1272
1274
  },
1273
1275
  setup(s) {
1274
1276
  const t = V(s);
1275
- return M(), (o, l) => (r(), d(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1277
+ return F(), (o, l) => (r(), d(a(yt), g({ class: "ui-SelectItem" }, a(t)), {
1276
1278
  default: c(() => [
1277
1279
  p(a(Ct), { class: "ui-SelectItemIndicator" }, {
1278
1280
  default: c(() => [
@@ -1290,16 +1292,16 @@ const _a = /* @__PURE__ */ m({
1290
1292
  _: 3
1291
1293
  }, 16));
1292
1294
  }
1293
- }), Ga = /* @__PURE__ */ m({
1295
+ }), La = /* @__PURE__ */ m({
1294
1296
  __name: "SelectLabel",
1295
1297
  props: {
1296
1298
  for: {},
1297
1299
  asChild: { type: Boolean },
1298
- as: {}
1300
+ as: { type: [String, Object, Function] }
1299
1301
  },
1300
1302
  setup(s) {
1301
1303
  const t = V(s);
1302
- return M(), (o, l) => (r(), d(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1304
+ return F(), (o, l) => (r(), d(a($t), g({ class: "ui-SelectLabel" }, a(t)), {
1303
1305
  default: c(() => [
1304
1306
  _(o.$slots, "default")
1305
1307
  ]),
@@ -1311,14 +1313,14 @@ const _a = /* @__PURE__ */ m({
1311
1313
  for (const [o, l] of e)
1312
1314
  t[o] = l;
1313
1315
  return t;
1314
- }, xo = {}, wo = {
1316
+ }, xo = {}, So = {
1315
1317
  class: "ui-SelectSeparator",
1316
1318
  "aria-hidden": "true"
1317
1319
  };
1318
- function So(s, e) {
1319
- return r(), $("div", wo);
1320
+ function wo(s, e) {
1321
+ return r(), $("div", So);
1320
1322
  }
1321
- const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxRoot"), Ea = /* @__PURE__ */ m({
1323
+ const Ga = /* @__PURE__ */ Bo(xo, [["render", wo]]), [zo, Io] = oe("ui_ComboboxRoot"), Ha = /* @__PURE__ */ m({
1322
1324
  __name: "ComboboxRoot",
1323
1325
  props: {
1324
1326
  size: { default: "2" },
@@ -1360,7 +1362,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1360
1362
  }), ko = {
1361
1363
  key: 0,
1362
1364
  class: "ui-ComboboxValues"
1363
- }, Vo = ["aria-current", "value"], To = ["onClick"], ja = /* @__PURE__ */ m({
1365
+ }, Vo = ["aria-current", "value"], To = ["onClick"], Ea = /* @__PURE__ */ m({
1364
1366
  inheritAttrs: !1,
1365
1367
  __name: "ComboboxInput",
1366
1368
  props: {
@@ -1376,26 +1378,26 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1376
1378
  },
1377
1379
  emits: ["update:modelValue"],
1378
1380
  setup(s, { emit: e }) {
1379
- 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) => {
1380
1382
  i.value = f, t.modelValue.value.splice(f, 1), i.value = -1;
1381
1383
  }, h = (f) => {
1382
1384
  !f.target.value && (f.key === "Delete" || f.key === "Backspace") && (i.value !== -1 ? v(i.value) : (i.value = u.value.length - 1, setTimeout(() => {
1383
1385
  i.value = -1;
1384
1386
  }, 800)));
1385
1387
  };
1386
- return Le(u, () => {
1388
+ return je(u, () => {
1387
1389
  t.filterState.search = "";
1388
- }, { deep: !0 }), (f, B) => (r(), d(a(wt), {
1390
+ }, { deep: !0 }), (f, B) => (r(), d(a(St), {
1389
1391
  class: I(["ui-ComboboxField", `r-variant-${f.variant}`]),
1390
1392
  "data-radius": f.radius,
1391
1393
  "data-multiple": a(t).multiple.value || void 0
1392
1394
  }, {
1393
1395
  default: c(() => [
1394
1396
  a(t).multiple.value ? (r(), $("div", ko, [
1395
- (r(!0), $(H, null, j(u.value, (A, F) => (r(), $("div", {
1397
+ (r(!0), $(G, null, E(u.value, (A, M) => (r(), $("div", {
1396
1398
  key: y(A),
1397
1399
  class: "ui-ComboboxValuesItem",
1398
- "aria-current": F === i.value,
1400
+ "aria-current": M === i.value,
1399
1401
  value: A
1400
1402
  }, [
1401
1403
  _(f.$slots, "item", { value: A }, () => [
@@ -1404,7 +1406,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1404
1406
  b("button", {
1405
1407
  type: "button",
1406
1408
  tabindex: "-1",
1407
- onClick: D((E) => v(F), ["prevent"])
1409
+ onClick: O((H) => v(M), ["prevent"])
1408
1410
  }, [
1409
1411
  p(a(k), { icon: "lucide:x" })
1410
1412
  ], 8, To)
@@ -1427,7 +1429,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1427
1429
  variant: void 0,
1428
1430
  radius: void 0
1429
1431
  }), null, 16)),
1430
- p(a(St), { class: "ui-ComboboxTrigger" }, {
1432
+ p(a(wt), { class: "ui-ComboboxTrigger" }, {
1431
1433
  default: c(() => [
1432
1434
  p(a(k), { icon: "radix-icons:chevron-down" })
1433
1435
  ]),
@@ -1467,7 +1469,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1467
1469
  },
1468
1470
  emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"],
1469
1471
  setup(s, { emit: e }) {
1470
- 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(() => {
1471
1473
  const y = ["r-size-" + i.size.value, "r-variant-" + o.variant];
1472
1474
  return i.highContrast.value && y.push("r-high-contrast"), y;
1473
1475
  });
@@ -1517,7 +1519,8 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1517
1519
  _: 1
1518
1520
  })
1519
1521
  ]),
1520
- _: 3
1522
+ _: 3,
1523
+ __: [0]
1521
1524
  })
1522
1525
  ]),
1523
1526
  _: 3
@@ -1533,7 +1536,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1533
1536
  value: {},
1534
1537
  disabled: { type: Boolean },
1535
1538
  asChild: { type: Boolean },
1536
- as: {}
1539
+ as: { type: [String, Object, Function] }
1537
1540
  },
1538
1541
  setup(s) {
1539
1542
  const t = V(s);
@@ -1555,11 +1558,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1555
1558
  props: {
1556
1559
  for: {},
1557
1560
  asChild: { type: Boolean },
1558
- as: {}
1561
+ as: { type: [String, Object, Function] }
1559
1562
  },
1560
1563
  setup(s) {
1561
1564
  const t = V(s);
1562
- return M(), (o, l) => (r(), d(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1565
+ return F(), (o, l) => (r(), d(a(At), g({ class: "ui-ComboboxLabel" }, a(t)), {
1563
1566
  default: c(() => [
1564
1567
  _(o.$slots, "default")
1565
1568
  ]),
@@ -1592,7 +1595,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1592
1595
  type: "radio",
1593
1596
  "data-accent-color": e.color
1594
1597
  }, null, 10, Ao)), [
1595
- [Ge, a(t)]
1598
+ [Le, a(t)]
1596
1599
  ]);
1597
1600
  }
1598
1601
  }), [Ae, Ro] = oe("ui_RadioGroupRoot"), Ka = /* @__PURE__ */ m({
@@ -1616,7 +1619,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1616
1619
  emits: ["update:modelValue"],
1617
1620
  setup(s, { emit: e }) {
1618
1621
  const t = e, o = s, l = q(o, t, ["color", "size", "variant", "highContrast"]), { size: n, variant: i, color: u, highContrast: y } = ee(o);
1619
- return Ro({ size: n, variant: i, color: u, highContrast: y }), (v, h) => (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)), {
1620
1623
  default: c(() => [
1621
1624
  _(v.$slots, "default")
1622
1625
  ]),
@@ -1630,7 +1633,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1630
1633
  value: {},
1631
1634
  disabled: { type: Boolean },
1632
1635
  asChild: { type: Boolean },
1633
- as: {},
1636
+ as: { type: [String, Object, Function] },
1634
1637
  name: {},
1635
1638
  required: { type: Boolean }
1636
1639
  },
@@ -1661,13 +1664,13 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1661
1664
  value: {},
1662
1665
  disabled: { type: Boolean },
1663
1666
  asChild: { type: Boolean },
1664
- as: {},
1667
+ as: { type: [String, Object, Function] },
1665
1668
  name: {},
1666
1669
  required: { type: Boolean }
1667
1670
  },
1668
1671
  setup(s) {
1669
1672
  const t = V(s);
1670
- M();
1673
+ F();
1671
1674
  const o = Ae();
1672
1675
  return (l, n) => {
1673
1676
  var i, u;
@@ -1710,7 +1713,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1710
1713
  emits: ["update:modelValue"],
1711
1714
  setup(s, { emit: e }) {
1712
1715
  const t = e, o = s, [l, n] = N(o, t, ["size"]);
1713
- return (i, u) => (r(), d(a(Se), g(a(l), {
1716
+ return (i, u) => (r(), d(a(we), g(a(l), {
1714
1717
  class: ["ui-RadioTabsList", a(n)]
1715
1718
  }), {
1716
1719
  default: c(() => [
@@ -1739,22 +1742,22 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1739
1742
  _: 3
1740
1743
  }, 8, ["class", "data-accent-color"]));
1741
1744
  }
1742
- }), Do = { class: "ui-TabTriggerInner" }, Oo = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ m({
1745
+ }), Oo = { class: "ui-TabTriggerInner" }, Do = { class: "ui-TabTriggerInnerHidden" }, Ya = /* @__PURE__ */ m({
1743
1746
  __name: "TabsTrigger",
1744
1747
  props: {
1745
1748
  value: {},
1746
1749
  disabled: { type: Boolean },
1747
1750
  asChild: { type: Boolean },
1748
- as: {}
1751
+ as: { type: [String, Object, Function] }
1749
1752
  },
1750
1753
  setup(s) {
1751
1754
  const t = V(s);
1752
- return (o, l) => (r(), d(a(Dt), g(a(t), { class: "ui-TabTrigger" }), {
1755
+ return (o, l) => (r(), d(a(Ot), g(a(t), { class: "ui-TabTrigger" }), {
1753
1756
  default: c(() => [
1754
- b("span", Do, [
1757
+ b("span", Oo, [
1755
1758
  _(o.$slots, "default")
1756
1759
  ]),
1757
- b("span", Oo, [
1760
+ b("span", Do, [
1758
1761
  _(o.$slots, "default")
1759
1762
  ])
1760
1763
  ]),
@@ -1779,7 +1782,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1779
1782
  emits: ["update:modelValue"],
1780
1783
  setup(s, { emit: e }) {
1781
1784
  const t = s, o = e, [l, n] = N(t, o, ["size"]);
1782
- return (i, u) => (r(), d(a(Ot), g(a(l), {
1785
+ return (i, u) => (r(), d(a(Dt), g(a(l), {
1783
1786
  class: ["ui-AccordionRoot", a(n)]
1784
1787
  }), {
1785
1788
  default: c(() => [
@@ -1795,11 +1798,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1795
1798
  value: {},
1796
1799
  unmountOnHide: { type: Boolean },
1797
1800
  asChild: { type: Boolean },
1798
- as: {}
1801
+ as: { type: [String, Object, Function] }
1799
1802
  },
1800
1803
  setup(s) {
1801
1804
  const t = V(s);
1802
- return (o, l) => (r(), d(a(Mt), g(a(t), { class: "ui-AccordionItem" }), {
1805
+ return (o, l) => (r(), d(a(Ft), g(a(t), { class: "ui-AccordionItem" }), {
1803
1806
  default: c(() => [
1804
1807
  _(o.$slots, "default")
1805
1808
  ]),
@@ -1812,11 +1815,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1812
1815
  props: {
1813
1816
  forceMount: { type: Boolean },
1814
1817
  asChild: { type: Boolean },
1815
- as: {}
1818
+ as: { type: [String, Object, Function] }
1816
1819
  },
1817
1820
  setup(s) {
1818
1821
  const t = V(s);
1819
- return (o, l) => (r(), d(a(Ft), g(a(t), { class: "ui-AccordionContent" }), {
1822
+ return (o, l) => (r(), d(a(Mt), g(a(t), { class: "ui-AccordionContent" }), {
1820
1823
  default: c(() => [
1821
1824
  b("div", g({ class: "ui-AccordionContentInner" }, o.$attrs), [
1822
1825
  _(o.$slots, "default")
@@ -1825,7 +1828,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1825
1828
  _: 3
1826
1829
  }, 16));
1827
1830
  }
1828
- }), Mo = ["data-accent-color"], Fo = /* @__PURE__ */ m({
1831
+ }), Fo = ["data-accent-color"], Mo = /* @__PURE__ */ m({
1829
1832
  __name: "PlusMinusIcon",
1830
1833
  props: {
1831
1834
  color: { default: void 0 },
@@ -1839,9 +1842,9 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1839
1842
  }, o[0] || (o[0] = [
1840
1843
  b("div", { class: "ui-PlusMinusIcon-1" }, null, -1),
1841
1844
  b("div", { class: "ui-PlusMinusIcon-2" }, null, -1)
1842
- ]), 10, Mo));
1845
+ ]), 10, Fo));
1843
1846
  }
1844
- }), Lo = /* @__PURE__ */ m({
1847
+ }), jo = /* @__PURE__ */ m({
1845
1848
  __name: "ChevronIcon",
1846
1849
  props: {
1847
1850
  arrowTransform: { default: "right-down" }
@@ -1853,7 +1856,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1853
1856
  "data-arrow-transform": e.arrowTransform
1854
1857
  }, null, 8, ["data-arrow-transform"]));
1855
1858
  }
1856
- }), Go = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ m({
1859
+ }), Lo = { class: "ui-AccordionTriggerText" }, as = /* @__PURE__ */ m({
1857
1860
  __name: "AccordionTrigger",
1858
1861
  props: {
1859
1862
  indicator: { default: "chevron" },
@@ -1862,17 +1865,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1862
1865
  },
1863
1866
  setup(s) {
1864
1867
  const e = s, [t, o] = Qt(e, ["size"]);
1865
- return (l, n) => (r(), d(a(Lt), g({
1868
+ return (l, n) => (r(), d(a(jt), g({
1866
1869
  class: ["ui-AccordionTrigger", a(o)]
1867
1870
  }, a(t)), {
1868
1871
  default: c(() => [
1869
- b("div", Go, [
1872
+ b("div", Lo, [
1870
1873
  _(l.$slots, "default")
1871
1874
  ]),
1872
- e.indicator === "plus-minus" ? (r(), d(Fo, {
1875
+ e.indicator === "plus-minus" ? (r(), d(Mo, {
1873
1876
  key: 0,
1874
1877
  class: "ui-AccordionTriggerIcon"
1875
- })) : e.indicator === "chevron" ? (r(), d(Lo, {
1878
+ })) : e.indicator === "chevron" ? (r(), d(jo, {
1876
1879
  key: 1,
1877
1880
  "arrow-transform": "down-up"
1878
1881
  })) : z("", !0)
@@ -1886,11 +1889,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1886
1889
  props: {
1887
1890
  forceMount: { type: Boolean },
1888
1891
  asChild: { type: Boolean },
1889
- as: {}
1892
+ as: { type: [String, Object, Function] }
1890
1893
  },
1891
1894
  setup(s) {
1892
1895
  const t = V(s);
1893
- return (o, l) => (r(), d(a(Gt), g(a(t), { class: "ui-CollapsibleContent" }), {
1896
+ return (o, l) => (r(), d(a(Lt), g(a(t), { class: "ui-CollapsibleContent" }), {
1894
1897
  default: c(() => [
1895
1898
  b("div", g({ class: "ui-CollapsibleContentInner" }, o.$attrs), [
1896
1899
  _(o.$slots, "default")
@@ -1899,7 +1902,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1899
1902
  _: 3
1900
1903
  }, 16));
1901
1904
  }
1902
- }), Ho = /* @__PURE__ */ m({
1905
+ }), Go = /* @__PURE__ */ m({
1903
1906
  __name: "Pagination",
1904
1907
  props: /* @__PURE__ */ Q({
1905
1908
  total: {},
@@ -1927,18 +1930,18 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1927
1930
  highContrast: e.highContrast,
1928
1931
  disabled: e.disabled
1929
1932
  })), n = C(() => {
1930
- 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, 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 = [];
1931
1934
  let K = 2, J = v - 1;
1932
- 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);
1933
1936
  for (let X = K; X <= J; X++)
1934
- E.push(X);
1937
+ H.push(X);
1935
1938
  return {
1936
1939
  totalPages: v,
1937
1940
  prev: h,
1938
1941
  next: f,
1939
1942
  hasLeftEdge: A,
1940
- hasRightEdge: F,
1941
- pageList: E
1943
+ hasRightEdge: M,
1944
+ pageList: H
1942
1945
  };
1943
1946
  }), i = (v) => {
1944
1947
  t.value = v;
@@ -1952,7 +1955,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1952
1955
  }, [
1953
1956
  n.value.prev ? (r(), d(Y, g({ key: 0 }, l.value, {
1954
1957
  "aria-label": "Previous",
1955
- onClick: h[0] || (h[0] = D((f) => i(n.value.prev), ["prevent"]))
1958
+ onClick: h[0] || (h[0] = O((f) => i(n.value.prev), ["prevent"]))
1956
1959
  }), {
1957
1960
  default: c(() => [
1958
1961
  _(v.$slots, "prev-page", {
@@ -1966,17 +1969,17 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1966
1969
  p(W, g(l.value, {
1967
1970
  disabled: t.value === 1,
1968
1971
  "aria-current": "page",
1969
- onClick: h[1] || (h[1] = D((f) => i(1), ["prevent"]))
1972
+ onClick: h[1] || (h[1] = O((f) => i(1), ["prevent"]))
1970
1973
  }), {
1971
1974
  default: c(() => [
1972
1975
  _(v.$slots, "page", { page: 1 }, () => [
1973
- h[4] || (h[4] = L("1"))
1976
+ h[4] || (h[4] = j("1"))
1974
1977
  ])
1975
1978
  ]),
1976
1979
  _: 3
1977
1980
  }, 16, ["disabled"]),
1978
1981
  n.value.hasLeftEdge ? (r(), d(Y, g({ key: 1 }, l.value, {
1979
- onClick: D(u, ["prevent"])
1982
+ onClick: O(u, ["prevent"])
1980
1983
  }), {
1981
1984
  default: c(() => [
1982
1985
  _(v.$slots, "prev-edge", {
@@ -1987,23 +1990,20 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
1987
1990
  ]),
1988
1991
  _: 3
1989
1992
  }, 16)) : z("", !0),
1990
- (r(!0), $(H, null, j(n.value.pageList, (f) => (r(), d(W, g({
1991
- key: f,
1992
- ref_for: !0
1993
- }, l.value, {
1993
+ (r(!0), $(G, null, E(n.value.pageList, (f) => (r(), d(W, g({ key: f }, { ref_for: !0 }, l.value, {
1994
1994
  disabled: f === t.value,
1995
1995
  "aria-current": "page",
1996
- onClick: D((B) => i(f), ["prevent"])
1996
+ onClick: O((B) => i(f), ["prevent"])
1997
1997
  }), {
1998
1998
  default: c(() => [
1999
1999
  _(v.$slots, "page", { page: f }, () => [
2000
- L(T(f), 1)
2000
+ j(T(f), 1)
2001
2001
  ])
2002
2002
  ]),
2003
2003
  _: 2
2004
2004
  }, 1040, ["disabled", "onClick"]))), 128)),
2005
2005
  n.value.hasRightEdge ? (r(), d(Y, g({ key: 2 }, l.value, {
2006
- onClick: D(y, ["prevent"])
2006
+ onClick: O(y, ["prevent"])
2007
2007
  }), {
2008
2008
  default: c(() => [
2009
2009
  _(v.$slots, "next-edge", {
@@ -2017,20 +2017,20 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
2017
2017
  n.value.totalPages > 1 ? (r(), d(W, g({ key: 3 }, l.value, {
2018
2018
  disabled: n.value.totalPages === t.value,
2019
2019
  "aria-current": "page",
2020
- onClick: h[2] || (h[2] = D((f) => i(n.value.totalPages), ["prevent"]))
2020
+ onClick: h[2] || (h[2] = O((f) => i(n.value.totalPages), ["prevent"]))
2021
2021
  }), {
2022
2022
  default: c(() => [
2023
2023
  _(v.$slots, "page", {
2024
2024
  page: n.value.totalPages
2025
2025
  }, () => [
2026
- L(T(n.value.totalPages), 1)
2026
+ j(T(n.value.totalPages), 1)
2027
2027
  ])
2028
2028
  ]),
2029
2029
  _: 3
2030
2030
  }, 16, ["disabled"])) : z("", !0),
2031
2031
  n.value.next ? (r(), d(Y, g({ key: 4 }, l.value, {
2032
2032
  "aria-label": "Next",
2033
- onClick: h[3] || (h[3] = D((f) => i(n.value.next), ["prevent"]))
2033
+ onClick: h[3] || (h[3] = O((f) => i(n.value.next), ["prevent"]))
2034
2034
  }), {
2035
2035
  default: c(() => [
2036
2036
  _(v.$slots, "next-page", {
@@ -2043,7 +2043,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
2043
2043
  }, 16)) : z("", !0)
2044
2044
  ], 2));
2045
2045
  }
2046
- }), Eo = ["data-size", "data-variant"], jo = ["data-layout"], ls = /* @__PURE__ */ m({
2046
+ }), Ho = ["data-size", "data-variant"], Eo = ["data-layout"], ls = /* @__PURE__ */ m({
2047
2047
  __name: "Table",
2048
2048
  props: {
2049
2049
  size: { default: "2" },
@@ -2064,11 +2064,11 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
2064
2064
  "data-layout": e.layout
2065
2065
  }, [
2066
2066
  _(t.$slots, "default")
2067
- ], 8, jo)
2067
+ ], 8, Eo)
2068
2068
  ]),
2069
2069
  _: 3
2070
2070
  })
2071
- ], 8, Eo));
2071
+ ], 8, Ho));
2072
2072
  }
2073
2073
  }), ns = /* @__PURE__ */ m({
2074
2074
  __name: "Separator",
@@ -2119,7 +2119,7 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
2119
2119
  },
2120
2120
  setup(s) {
2121
2121
  const e = s;
2122
- return (t, o) => (r(), d(a(Ht), {
2122
+ return (t, o) => (r(), d(a(Gt), {
2123
2123
  "delay-duration": e.delayDuration,
2124
2124
  "disable-closing-trigger": e.disableClosingTrigger,
2125
2125
  "disable-hoverable-content": e.disableHoverableContent,
@@ -2128,9 +2128,9 @@ const Ha = /* @__PURE__ */ Bo(xo, [["render", So]]), [zo, Io] = oe("ui_ComboboxR
2128
2128
  "skip-delay-duration": e.skipDelayDuration
2129
2129
  }, {
2130
2130
  default: c(() => [
2131
- p(a(Et), null, {
2131
+ p(a(Ht), null, {
2132
2132
  default: c(() => [
2133
- p(a(jt), g({
2133
+ p(a(Et), g({
2134
2134
  as: e.as,
2135
2135
  "as-child": e.asChild
2136
2136
  }, t.$attrs), {
@@ -2339,7 +2339,7 @@ const ds = /* @__PURE__ */ m({
2339
2339
  b("span", null, T(e.total) + " icons", 1)
2340
2340
  ]),
2341
2341
  b("div", Jo, [
2342
- (r(!0), $(H, null, j(e.samples, (l) => (r(), $("span", { key: l }, [
2342
+ (r(!0), $(G, null, E(e.samples, (l) => (r(), $("span", { key: l }, [
2343
2343
  p(a(k), {
2344
2344
  icon: e.prefix + ":" + l
2345
2345
  }, null, 8, ["icon"])
@@ -2386,39 +2386,39 @@ const ds = /* @__PURE__ */ m({
2386
2386
  setup(s, { emit: e }) {
2387
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
2388
  u.value = 1, y.value = "", v.value = [], h.value = void 0, f.value = "", B.value = "", l.value = "all";
2389
- }, F = (w) => {
2390
- o("select", w);
2391
- }, E = async () => {
2389
+ }, M = (S) => {
2390
+ o("select", S);
2391
+ }, H = async () => {
2392
2392
  y.value ? (l.value = "search", v.value = await pa(y.value)) : l.value = "all";
2393
- }, K = async (w) => {
2394
- h.value = void 0, f.value = "", B.value = "", l.value = "collection", h.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);
2395
2395
  }, J = C(() => {
2396
- let w = 0;
2397
- return n.value.forEach((S) => {
2398
- w += S.items.length;
2399
- }), w;
2400
- }), X = C(() => i.value ? n.value.map((w) => {
2401
- const S = w.items.filter((O) => [O.category, O.name, O.prefix].join(" ").toLowerCase().indexOf(i.value) !== -1);
2402
- return { ...w, items: S };
2403
- }).filter((w) => w.items.length !== 0) : n.value), Re = C(() => {
2404
- let w = [];
2405
- 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) => {
2406
- const O = h.value.categories[S];
2407
- ce(O, f.value, B.value).forEach((x) => {
2408
- 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);
2409
2409
  });
2410
- }), f.value && !w.length && h.value.hidden && (w = ce(h.value.hidden, f.value, B.value)), w.map((S) => {
2411
- var O;
2412
- return `${(O = h.value) == null ? void 0 : O.prefix}:${S}`;
2413
- })) : w;
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
2414
  }), me = C(() => l.value === "search" ? v.value : l.value === "collection" ? Re.value : []), Pe = C(() => {
2415
- const w = (u.value - 1) * t.perpage, S = u.value * t.perpage;
2416
- return me.value.slice(w, S);
2415
+ const S = (u.value - 1) * t.perpage, w = u.value * t.perpage;
2416
+ return me.value.slice(S, w);
2417
2417
  });
2418
2418
  return ue(async () => {
2419
- t.prefix ? K(t.prefix) : t.search && (y.value = t.search, E()), n.value = await da();
2420
- }), (w, S) => {
2421
- 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;
2422
2422
  return r(), $("div", Yo, [
2423
2423
  te(b("div", ea, [
2424
2424
  b("section", ta, [
@@ -2426,18 +2426,18 @@ const ds = /* @__PURE__ */ m({
2426
2426
  b("div", oa, [
2427
2427
  p(ae, {
2428
2428
  modelValue: i.value,
2429
- "onUpdate:modelValue": S[0] || (S[0] = (x) => i.value = x),
2429
+ "onUpdate:modelValue": w[0] || (w[0] = (x) => i.value = x),
2430
2430
  placeholder: "Filter icon sets..."
2431
2431
  }, null, 8, ["modelValue"]),
2432
2432
  p(ae, {
2433
2433
  modelValue: y.value,
2434
- "onUpdate:modelValue": S[1] || (S[1] = (x) => y.value = x),
2434
+ "onUpdate:modelValue": w[1] || (w[1] = (x) => y.value = x),
2435
2435
  placeholder: "Search icons...",
2436
- onKeydown: he(E, ["enter"])
2436
+ onKeydown: he(H, ["enter"])
2437
2437
  }, null, 8, ["modelValue"])
2438
2438
  ])
2439
2439
  ]),
2440
- (r(!0), $(H, null, j(X.value, (x) => (r(), $("section", {
2440
+ (r(!0), $(G, null, E(X.value, (x) => (r(), $("section", {
2441
2441
  key: x.category,
2442
2442
  class: "ui-IconifyCollectionSample"
2443
2443
  }, [
@@ -2446,16 +2446,15 @@ const ds = /* @__PURE__ */ m({
2446
2446
  b("span", la, "(" + T(x.items.length) + " icon sets)", 1)
2447
2447
  ]),
2448
2448
  b("div", na, [
2449
- (r(!0), $(H, null, j(x.items, (G) => (r(), d(Xo, g({
2450
- key: G.prefix,
2451
- ref_for: !0
2452
- }, G, {
2453
- 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"])
2454
2453
  }), null, 16, ["onClick"]))), 128))
2455
2454
  ])
2456
2455
  ]))), 128))
2457
2456
  ], 512), [
2458
- [He, l.value === "all"]
2457
+ [Ge, l.value === "all"]
2459
2458
  ]),
2460
2459
  l.value !== "all" ? (r(), $("div", ra, [
2461
2460
  b("div", ia, [
@@ -2463,44 +2462,45 @@ const ds = /* @__PURE__ */ m({
2463
2462
  type: "button",
2464
2463
  variant: "surface",
2465
2464
  color: "gray",
2466
- onClick: D(A, ["prevent"])
2465
+ onClick: O(A, ["prevent"])
2467
2466
  }, {
2468
- default: c(() => S[5] || (S[5] = [
2469
- L(" Back ")
2467
+ default: c(() => w[5] || (w[5] = [
2468
+ j(" Back ")
2470
2469
  ])),
2471
- _: 1
2470
+ _: 1,
2471
+ __: [5]
2472
2472
  }),
2473
2473
  l.value === "search" ? (r(), d(ae, {
2474
2474
  key: 0,
2475
2475
  modelValue: y.value,
2476
- "onUpdate:modelValue": S[2] || (S[2] = (x) => y.value = x),
2476
+ "onUpdate:modelValue": w[2] || (w[2] = (x) => y.value = x),
2477
2477
  placeholder: "Search icons...",
2478
- onKeydown: he(E, ["enter"])
2478
+ onKeydown: he(H, ["enter"])
2479
2479
  }, null, 8, ["modelValue"])) : z("", !0),
2480
2480
  l.value === "collection" ? (r(), d(ae, {
2481
2481
  key: 1,
2482
2482
  modelValue: f.value,
2483
- "onUpdate:modelValue": S[3] || (S[3] = (x) => f.value = x),
2483
+ "onUpdate:modelValue": w[3] || (w[3] = (x) => f.value = x),
2484
2484
  placeholder: "Search icons..."
2485
2485
  }, null, 8, ["modelValue"])) : z("", !0)
2486
2486
  ]),
2487
- l.value === "collection" && ((O = h.value) != null && O.suffixes) ? (r(), $("div", ca, [
2488
- (r(!0), $(H, null, j(h.value.suffixes, (x, G) => (r(), d(W, {
2489
- key: G,
2490
- 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",
2491
2491
  color: "gray",
2492
2492
  "high-contrast": "",
2493
2493
  radius: "full",
2494
- onClick: D((De) => B.value = G, ["prevent"])
2494
+ onClick: O((Oe) => B.value = L, ["prevent"])
2495
2495
  }, {
2496
2496
  default: c(() => [
2497
- L(T(x), 1)
2497
+ j(T(x), 1)
2498
2498
  ]),
2499
2499
  _: 2
2500
2500
  }, 1032, ["variant", "onClick"]))), 128))
2501
2501
  ])) : z("", !0),
2502
2502
  b("div", ua, [
2503
- (r(!0), $(H, null, j(Pe.value, (x) => (r(), d(Uo, {
2503
+ (r(!0), $(G, null, E(Pe.value, (x) => (r(), d(Uo, {
2504
2504
  key: x,
2505
2505
  as: "div",
2506
2506
  content: x
@@ -2511,7 +2511,7 @@ const ds = /* @__PURE__ */ m({
2511
2511
  color: "gray",
2512
2512
  variant: "ghost",
2513
2513
  size: "4",
2514
- onClick: D((G) => F(x), ["prevent"])
2514
+ onClick: O((L) => M(x), ["prevent"])
2515
2515
  }, {
2516
2516
  default: c(() => [
2517
2517
  p(a(k), { icon: x }, null, 8, ["icon"])
@@ -2522,11 +2522,11 @@ const ds = /* @__PURE__ */ m({
2522
2522
  _: 2
2523
2523
  }, 1032, ["content"]))), 128))
2524
2524
  ]),
2525
- p(Ho, {
2525
+ p(Go, {
2526
2526
  page: u.value,
2527
- "onUpdate:page": S[4] || (S[4] = (x) => u.value = x),
2527
+ "onUpdate:page": w[4] || (w[4] = (x) => u.value = x),
2528
2528
  total: me.value.length,
2529
- perpage: w.perpage
2529
+ perpage: S.perpage
2530
2530
  }, null, 8, ["page", "total", "perpage"])
2531
2531
  ])) : z("", !0)
2532
2532
  ]);
@@ -2554,38 +2554,38 @@ export {
2554
2554
  Va as CheckboxGroupControl,
2555
2555
  ka as CheckboxGroupItem,
2556
2556
  Ia as CheckboxGroupRoot,
2557
- Lo as ChevronIcon,
2557
+ jo as ChevronIcon,
2558
2558
  ss as CollapsibleContent,
2559
2559
  bs as CollapsibleRoot,
2560
2560
  $s as CollapsibleTrigger,
2561
- Da as ColorField,
2561
+ Oa as ColorField,
2562
2562
  Wa as ComboboxContent,
2563
2563
  Bs as ComboboxEmpty,
2564
2564
  xs as ComboboxGroup,
2565
- ja as ComboboxInput,
2565
+ Ea as ComboboxInput,
2566
2566
  Ua as ComboboxItem,
2567
2567
  qa as ComboboxLabel,
2568
- Ea as ComboboxRoot,
2569
- ws as DialogClose,
2568
+ Ha as ComboboxRoot,
2569
+ Ss as DialogClose,
2570
2570
  $a as DialogContent,
2571
- Ss as DialogDescription,
2571
+ ws as DialogDescription,
2572
2572
  Ba as DialogHead,
2573
2573
  zs as DialogRoot,
2574
2574
  Is as DialogTitle,
2575
2575
  ks as DialogTrigger,
2576
2576
  xa as DropdownMenuContent,
2577
- wa as DropdownMenuItem,
2577
+ Sa as DropdownMenuItem,
2578
2578
  Vs as DropdownMenuRoot,
2579
2579
  Ts as DropdownMenuTrigger,
2580
- Gs as Icon,
2580
+ Ls as Icon,
2581
2581
  Y as IconButton,
2582
2582
  us as IconCircle,
2583
2583
  ps as IconifyCollection,
2584
2584
  Xt as Inset,
2585
- Ho as Pagination,
2586
- Fo as PlusMinusIcon,
2585
+ Go as Pagination,
2586
+ Mo as PlusMinusIcon,
2587
2587
  As as PopoverClose,
2588
- Sa as PopoverContent,
2588
+ wa as PopoverContent,
2589
2589
  Rs as PopoverRoot,
2590
2590
  Ps as PopoverTrigger,
2591
2591
  rs as Quota,
@@ -2594,25 +2594,25 @@ export {
2594
2594
  Ka as RadioCardsRoot,
2595
2595
  Qa as RadioGroupItem,
2596
2596
  Ka as RadioGroupRoot,
2597
- Ds as RadioTabsItem,
2597
+ Os as RadioTabsItem,
2598
2598
  Ja as RadioTabsList,
2599
2599
  cs as SavingIndicator,
2600
2600
  Ie as ScrollArea,
2601
- Ma as SelectContent,
2602
- Os as SelectGroup,
2603
- La as SelectItem,
2604
- Ga as SelectLabel,
2605
- Oa as SelectRoot,
2606
- Ha as SelectSeparator,
2607
- Fa as SelectTrigger,
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,
2608
2608
  ns as Separator,
2609
2609
  Ca as SocialButton,
2610
2610
  is as Spinner,
2611
2611
  za as Switch,
2612
2612
  ls as Table,
2613
- Ms as TabsContent,
2613
+ Fs as TabsContent,
2614
2614
  Xa as TabsList,
2615
- Fs as TabsRoot,
2615
+ Ms as TabsRoot,
2616
2616
  Ya as TabsTrigger,
2617
2617
  Pa as TextArea,
2618
2618
  ae as TextField,