@myghf/ui 0.5.1 → 0.5.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.
@@ -4,18 +4,7 @@ type __VLS_Props = {
4
4
  description?: string;
5
5
  size?: 'sm' | 'md' | 'lg' | 'xl';
6
6
  };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- trigger?(_: {}): any;
11
- header?(_: {}): any;
12
- description?(_: {}): any;
13
- default?(_: {}): any;
14
- footer?(_: {}): any;
15
- };
16
- refs: {};
17
- rootEl: any;
18
- };
7
+ declare function __VLS_template(): any;
19
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
9
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
10
  close: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.vue"],"names":[],"mappings":"AAkGA,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAC;AA6BJ,iBAAS,cAAc;WAsKT,OAAO,IAA6B;;yBAdpB,GAAG;wBACJ,GAAG;6BACE,GAAG;yBACP,GAAG;wBACJ,GAAG;;;;EAe/B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;UAhOV,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;6EAyOlC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Dialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dialog/Dialog.vue"],"names":[],"mappings":"AAqHA,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC,CAAC;AAwCJ,iBAAS,cAAc,QAiMtB;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;UAnQV,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;6EA4QlC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -12,19 +12,7 @@ type __VLS_Props = {
12
12
  showClose?: boolean;
13
13
  preventScroll?: boolean;
14
14
  };
15
- declare function __VLS_template(): {
16
- attrs: Partial<{}>;
17
- slots: {
18
- trigger?(_: {}): any;
19
- header?(_: {}): any;
20
- description?(_: {}): any;
21
- close?(_: {}): any;
22
- default?(_: {}): any;
23
- footer?(_: {}): any;
24
- };
25
- refs: {};
26
- rootEl: any;
27
- };
15
+ declare function __VLS_template(): any;
28
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
18
  close: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.vue"],"names":[],"mappings":"AAmLA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAClF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AAEpD,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AAiFJ,iBAAS,cAAc;WAmNT,OAAO,IAA6B;;yBAfpB,GAAG;wBACJ,GAAG;6BACE,GAAG;uBACT,GAAG;yBACD,GAAG;wBACJ,GAAG;;;;EAe/B;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;UA5UV,UAAU;cADN,cAAc;UADlB,OAAO;cAGH,OAAO;mBACF,OAAO;oBACN,OAAO;eAGZ,OAAO;mBACH,OAAO;6EA8UzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Drawer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.vue"],"names":[],"mappings":"AA+LA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAClF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AAEpD,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA4FJ,iBAAS,cAAc,QA0NtB;AA2BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;UA1VV,UAAU;cADN,cAAc;UADlB,OAAO;cAGH,OAAO;mBACF,OAAO;oBACN,OAAO;eAGZ,OAAO;mBACH,OAAO;6EA4VzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
package/dist/index.js CHANGED
@@ -3,9 +3,9 @@ import { twMerge as t } from "tailwind-merge";
3
3
  import { CalendarDate as n, CalendarDateTime as r, getLocalTimeZone as i } from "@internationalized/date";
4
4
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, inject as m, mergeProps as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onBeforeUpdate as y, onMounted as b, openBlock as x, provide as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as E, toDisplayString as D, unref as O, useAttrs as k, useId as ee, useSlots as A, vModelSelect as te, vModelText as j, vShow as ne, watch as M, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
5
5
  import * as I from "lucide-vue-next";
6
- import { Calendar as re, Check as L, ChevronDown as R, ChevronLeft as ie, ChevronRight as z, ChevronUp as ae, ChevronsLeft as oe, ChevronsRight as B, ChevronsUpDown as se, Clock as ce, Eye as le, EyeOff as ue, Moon as de, Search as fe, Sun as pe, X as V } from "lucide-vue-next";
7
- import { tv as me } from "tailwind-variants";
8
- import { CheckboxIndicator as he, CheckboxRoot as ge, DialogClose as _e, DialogContent as ve, DialogDescription as ye, DialogOverlay as be, DialogPortal as xe, DialogRoot as Se, DialogTitle as Ce, DialogTrigger as we, DropdownMenuContent as Te, DropdownMenuGroup as Ee, DropdownMenuItem as De, DropdownMenuLabel as Oe, DropdownMenuPortal as ke, DropdownMenuRoot as Ae, DropdownMenuSeparator as je, DropdownMenuTrigger as Me, NumberFieldDecrement as Ne, NumberFieldIncrement as Pe, NumberFieldInput as Fe, NumberFieldRoot as Ie, PopoverContent as Le, PopoverPortal as Re, PopoverRoot as ze, PopoverTrigger as Be, RadioGroupIndicator as Ve, RadioGroupItem as He, RadioGroupRoot as Ue, SelectContent as We, SelectItem as Ge, SelectItemIndicator as Ke, SelectItemText as qe, SelectPortal as Je, SelectRoot as Ye, SelectTrigger as Xe, SelectValue as Ze, TabsContent as Qe, TabsList as $e, TabsRoot as et, TabsTrigger as tt, ToastAction as nt, ToastClose as rt, ToastDescription as it, ToastProvider as at, ToastRoot as ot, ToastTitle as st, ToastViewport as ct, TreeItem as lt, TreeRoot as ut, VisuallyHidden as dt } from "reka-ui";
6
+ import { Calendar as re, Check as L, ChevronDown as R, ChevronLeft as ie, ChevronRight as ae, ChevronUp as oe, ChevronsLeft as se, ChevronsRight as z, ChevronsUpDown as ce, Clock as le, Eye as ue, EyeOff as de, Moon as fe, Search as pe, Sun as me, X as B } from "lucide-vue-next";
7
+ import { tv as he } from "tailwind-variants";
8
+ import { CheckboxIndicator as ge, CheckboxRoot as _e, DialogClose as ve, DialogContent as ye, DialogDescription as be, DialogOverlay as xe, DialogPortal as Se, DialogRoot as Ce, DialogTitle as V, DialogTrigger as we, DropdownMenuContent as Te, DropdownMenuGroup as Ee, DropdownMenuItem as De, DropdownMenuLabel as Oe, DropdownMenuPortal as ke, DropdownMenuRoot as Ae, DropdownMenuSeparator as je, DropdownMenuTrigger as Me, NumberFieldDecrement as Ne, NumberFieldIncrement as Pe, NumberFieldInput as Fe, NumberFieldRoot as Ie, PopoverContent as Le, PopoverPortal as Re, PopoverRoot as ze, PopoverTrigger as Be, RadioGroupIndicator as Ve, RadioGroupItem as He, RadioGroupRoot as Ue, SelectContent as We, SelectItem as Ge, SelectItemIndicator as Ke, SelectItemText as qe, SelectPortal as Je, SelectRoot as Ye, SelectTrigger as Xe, SelectValue as Ze, TabsContent as Qe, TabsList as $e, TabsRoot as et, TabsTrigger as tt, ToastAction as nt, ToastClose as rt, ToastDescription as it, ToastProvider as at, ToastRoot as ot, ToastTitle as st, ToastViewport as ct, TreeItem as lt, TreeRoot as ut, VisuallyHidden as dt } from "reka-ui";
9
9
  import { FlexRender as ft, createExpandedRowModel as pt, createPaginatedRowModel as mt, createSortedRowModel as ht, rowExpandingFeature as gt, rowPaginationFeature as _t, rowSortingFeature as vt, sortFns as yt, tableFeatures as bt, useTable as xt } from "@tanstack/vue-table";
10
10
  //#region src/lib/cn.ts
11
11
  function H(...n) {
@@ -242,7 +242,7 @@ var Jt = ["aria-label", "aria-pressed"], Yt = /* @__PURE__ */ p({
242
242
  "aria-label": e.label,
243
243
  "aria-pressed": O(n),
244
244
  onClick: i[0] ||= (e) => O(r)()
245
- }, [O(n) ? (x(), s(O(pe), { key: 0 })) : (x(), s(O(de), { key: 1 }))], 10, Jt));
245
+ }, [O(n) ? (x(), s(O(me), { key: 0 })) : (x(), s(O(fe), { key: 1 }))], 10, Jt));
246
246
  }
247
247
  }), Y = /* @__PURE__ */ p({
248
248
  __name: "Icon",
@@ -284,7 +284,7 @@ var Jt = ["aria-label", "aria-pressed"], Yt = /* @__PURE__ */ p({
284
284
  iconPos: { default: "start" }
285
285
  },
286
286
  setup(e) {
287
- let t = me({
287
+ let t = he({
288
288
  base: "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 data-[loading=true]:cursor-not-allowed",
289
289
  variants: {
290
290
  variant: {
@@ -634,10 +634,10 @@ var Qt = { class: "relative w-full" }, $t = [
634
634
  "aria-label": "Toggle password visibility",
635
635
  class: "absolute end-2 top-1/2 -translate-y-1/2 rounded p-1 text-muted transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
636
636
  onClick: n[1] ||= (e) => d.value = !d.value
637
- }, [d.value ? (x(), s(O(ue), {
637
+ }, [d.value ? (x(), s(O(de), {
638
638
  key: 0,
639
639
  class: "size-4"
640
- })) : (x(), s(O(le), {
640
+ })) : (x(), s(O(ue), {
641
641
  key: 1,
642
642
  class: "size-4"
643
643
  }))], 8, dn)]), e.feedback && e.modelValue ? (x(), l("div", fn, [(x(), l(a, null, w(4, (e) => u("span", {
@@ -750,14 +750,14 @@ var Qt = { class: "relative w-full" }, $t = [
750
750
  emits: ["update:modelValue"],
751
751
  setup(e, { emit: t }) {
752
752
  let n = t;
753
- return (t, r) => (x(), s(O(ge), {
753
+ return (t, r) => (x(), s(O(_e), {
754
754
  id: e.id,
755
755
  "model-value": e.modelValue,
756
756
  disabled: e.disabled,
757
757
  class: "peer size-4 shrink-0 rounded border border-border bg-surface shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-background data-[state=checked]:border-primary-500 data-[state=checked]:bg-primary-500 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
758
758
  "onUpdate:modelValue": r[0] ||= (e) => n("update:modelValue", e)
759
759
  }, {
760
- default: N(() => [f(O(he), { class: "flex items-center justify-center text-white" }, {
760
+ default: N(() => [f(O(ge), { class: "flex items-center justify-center text-white" }, {
761
761
  default: N(() => [f(O(L), { class: "size-3.5" })]),
762
762
  _: 1
763
763
  })]),
@@ -792,7 +792,7 @@ var Qt = { class: "relative w-full" }, $t = [
792
792
  "aria-label": e.removeLabel,
793
793
  class: "-me-0.5 ms-0.5 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
794
794
  onClick: r[0] ||= F((e) => n("remove"), ["stop"])
795
- }, [f(O(V), { class: "size-3" })], 8, wn)) : c("", !0)
795
+ }, [f(O(B), { class: "size-3" })], 8, wn)) : c("", !0)
796
796
  ], 2));
797
797
  }
798
798
  }), En = ["role"], Dn = { class: "min-w-0 flex-1" }, On = {
@@ -890,7 +890,7 @@ var Qt = { class: "relative w-full" }, $t = [
890
890
  "aria-label": e.closeLabel,
891
891
  class: "-me-1 -mt-1 ms-auto shrink-0 rounded-md p-1 transition-colors hover:bg-black/10 dark:hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
892
892
  onClick: j
893
- }, [T(t.$slots, "close", {}, () => [f(O(V), { class: "size-4" })])], 8, kn)) : c("", !0)
893
+ }, [T(t.$slots, "close", {}, () => [f(O(B), { class: "size-4" })])], 8, kn)) : c("", !0)
894
894
  ], 42, En));
895
895
  }
896
896
  }), jn = { class: "sr-only" }, Mn = /* @__PURE__ */ p({
@@ -925,7 +925,7 @@ var Qt = { class: "relative w-full" }, $t = [
925
925
  height: {}
926
926
  },
927
927
  setup(e) {
928
- let t = me({
928
+ let t = he({
929
929
  base: "animate-pulse bg-surface-muted",
930
930
  variants: { rounded: {
931
931
  none: "",
@@ -1096,7 +1096,7 @@ var Qt = { class: "relative w-full" }, $t = [
1096
1096
  "aria-label": "Clear selection",
1097
1097
  class: "rounded p-0.5 text-muted transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1098
1098
  onClick: F(E, ["stop"])
1099
- }, [f(O(V), { class: "size-3.5" })])) : c("", !0), f(O(R), { class: "size-4 opacity-50" })])]),
1099
+ }, [f(O(B), { class: "size-3.5" })])) : c("", !0), f(O(R), { class: "size-4 opacity-50" })])]),
1100
1100
  _: 1
1101
1101
  }, 16, [
1102
1102
  "class",
@@ -1372,9 +1372,9 @@ var Qt = { class: "relative w-full" }, $t = [
1372
1372
  }
1373
1373
  return;
1374
1374
  }
1375
- _.value = e, i.mode !== "datetime" && (ae(), m.value = !1);
1375
+ _.value = e, i.mode !== "datetime" && (oe(), m.value = !1);
1376
1376
  }
1377
- function ae() {
1377
+ function oe() {
1378
1378
  if (_.value) {
1379
1379
  if (i.mode === "range") {
1380
1380
  if (!v.value) return;
@@ -1382,37 +1382,37 @@ var Qt = { class: "relative w-full" }, $t = [
1382
1382
  } else i.mode === "datetime" ? d("update:modelValue", Tt(_.value, y.value)) : d("update:modelValue", _.value);
1383
1383
  }
1384
1384
  }
1385
- function oe() {
1385
+ function se() {
1386
1386
  _.value = null, v.value = null, d("update:modelValue", null), m.value = !1;
1387
1387
  }
1388
- let B = o(() => {
1388
+ let z = o(() => {
1389
1389
  let [e, t] = y.value.split(":").map(Number);
1390
1390
  return {
1391
1391
  hour24: Number.isFinite(e) ? (Math.trunc(e) % 24 + 24) % 24 : 0,
1392
1392
  minute: Number.isFinite(t) ? (Math.trunc(t) % 60 + 60) % 60 : 0
1393
1393
  };
1394
- }), se = o(() => Dt(i.hourFormat)), le = o(() => Ot(Math.min(30, Math.max(1, i.minuteStep ?? 1)))), ue = o({
1395
- get: () => i.hourFormat === "12" ? G(B.value.hour24).hour : B.value.hour24,
1394
+ }), ce = o(() => Dt(i.hourFormat)), ue = o(() => Ot(Math.min(30, Math.max(1, i.minuteStep ?? 1)))), de = o({
1395
+ get: () => i.hourFormat === "12" ? G(z.value.hour24).hour : z.value.hour24,
1396
1396
  set: (e) => {
1397
- let { hour24: t, minute: n } = B.value, r = i.hourFormat === "12" ? kt(e, G(t).meridiem) : e;
1397
+ let { hour24: t, minute: n } = z.value, r = i.hourFormat === "12" ? kt(e, G(t).meridiem) : e;
1398
1398
  y.value = U(r * 60 + n);
1399
1399
  }
1400
- }), de = o({
1401
- get: () => B.value.minute,
1400
+ }), fe = o({
1401
+ get: () => z.value.minute,
1402
1402
  set: (e) => {
1403
- y.value = U(B.value.hour24 * 60 + e);
1403
+ y.value = U(z.value.hour24 * 60 + e);
1404
1404
  }
1405
- }), fe = o({
1406
- get: () => G(B.value.hour24).meridiem,
1405
+ }), pe = o({
1406
+ get: () => G(z.value.hour24).meridiem,
1407
1407
  set: (e) => {
1408
- let { hour: t } = G(B.value.hour24);
1409
- y.value = U(kt(t, e) * 60 + B.value.minute);
1408
+ let { hour: t } = G(z.value.hour24);
1409
+ y.value = U(kt(t, e) * 60 + z.value.minute);
1410
1410
  }
1411
1411
  });
1412
- function pe(e) {
1412
+ function me(e) {
1413
1413
  return String(e).padStart(2, "0");
1414
1414
  }
1415
- let V = o(() => {
1415
+ let B = o(() => {
1416
1416
  if (i.mode === "range") {
1417
1417
  if (!_.value || !v.value) return "";
1418
1418
  let [e, t] = W(_.value, v.value);
@@ -1436,7 +1436,7 @@ var Qt = { class: "relative w-full" }, $t = [
1436
1436
  e.size === "sm" ? "h-8 text-xs" : "h-9",
1437
1437
  e.invalid ? "border-error-500" : ""
1438
1438
  ])
1439
- }, [u("span", { class: g(["truncate", V.value ? "text-foreground" : "text-muted"]) }, D(V.value || E("placeholder")), 3), f(O(re), { class: "size-4 shrink-0 text-muted" })], 10, Gn)]),
1439
+ }, [u("span", { class: g(["truncate", B.value ? "text-foreground" : "text-muted"]) }, D(B.value || E("placeholder")), 3), f(O(re), { class: "size-4 shrink-0 text-muted" })], 10, Gn)]),
1440
1440
  _: 1
1441
1441
  }), f(O(Re), null, {
1442
1442
  default: N(() => [f(O(Le), {
@@ -1457,7 +1457,7 @@ var Qt = { class: "relative w-full" }, $t = [
1457
1457
  "aria-label": E("nextMonth"),
1458
1458
  class: "rounded p-1 text-muted transition-colors hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1459
1459
  onClick: n[1] ||= (e) => I(1)
1460
- }, [f(O(z), { class: "size-4 rtl:rotate-180" })], 8, Yn)
1460
+ }, [f(O(ae), { class: "size-4 rtl:rotate-180" })], 8, Yn)
1461
1461
  ]),
1462
1462
  u("div", Xn, [(x(!0), l(a, null, w(ee.value, (e, t) => (x(), l("span", {
1463
1463
  key: t,
@@ -1478,58 +1478,58 @@ var Qt = { class: "relative w-full" }, $t = [
1478
1478
  "aria-label": E("time"),
1479
1479
  class: "flex items-center gap-1.5 text-xs text-muted"
1480
1480
  }, [
1481
- f(O(ce), { class: "size-3.5" }),
1481
+ f(O(le), { class: "size-3.5" }),
1482
1482
  P(u("select", {
1483
- "onUpdate:modelValue": n[2] ||= (e) => ue.value = e,
1483
+ "onUpdate:modelValue": n[2] ||= (e) => de.value = e,
1484
1484
  "data-test": "hours",
1485
1485
  "aria-label": E("hour"),
1486
1486
  class: "rounded border border-border bg-surface px-1.5 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
1487
- }, [(x(!0), l(a, null, w(se.value, (t) => (x(), l("option", {
1487
+ }, [(x(!0), l(a, null, w(ce.value, (t) => (x(), l("option", {
1488
1488
  key: t,
1489
1489
  value: t
1490
- }, D(e.hourFormat === "12" ? t : pe(t)), 9, nr))), 128))], 8, tr), [[
1490
+ }, D(e.hourFormat === "12" ? t : me(t)), 9, nr))), 128))], 8, tr), [[
1491
1491
  te,
1492
- ue.value,
1492
+ de.value,
1493
1493
  void 0,
1494
1494
  { number: !0 }
1495
1495
  ]]),
1496
1496
  n[7] ||= u("span", { "aria-hidden": "true" }, ":", -1),
1497
1497
  P(u("select", {
1498
- "onUpdate:modelValue": n[3] ||= (e) => de.value = e,
1498
+ "onUpdate:modelValue": n[3] ||= (e) => fe.value = e,
1499
1499
  "data-test": "minutes",
1500
1500
  "aria-label": E("minute"),
1501
1501
  class: "rounded border border-border bg-surface px-1.5 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
1502
- }, [(x(!0), l(a, null, w(le.value, (e) => (x(), l("option", {
1502
+ }, [(x(!0), l(a, null, w(ue.value, (e) => (x(), l("option", {
1503
1503
  key: e,
1504
1504
  value: e
1505
- }, D(pe(e)), 9, ir))), 128))], 8, rr), [[
1505
+ }, D(me(e)), 9, ir))), 128))], 8, rr), [[
1506
1506
  te,
1507
- de.value,
1507
+ fe.value,
1508
1508
  void 0,
1509
1509
  { number: !0 }
1510
1510
  ]]),
1511
1511
  e.hourFormat === "12" ? P((x(), l("select", {
1512
1512
  key: 0,
1513
- "onUpdate:modelValue": n[4] ||= (e) => fe.value = e,
1513
+ "onUpdate:modelValue": n[4] ||= (e) => pe.value = e,
1514
1514
  "data-test": "meridiem",
1515
1515
  "aria-label": E("time"),
1516
1516
  class: "rounded border border-border bg-surface px-1.5 py-1 text-sm text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
1517
- }, [u("option", or, D(E("am")), 1), u("option", sr, D(E("pm")), 1)], 8, ar)), [[te, fe.value]]) : c("", !0)
1517
+ }, [u("option", or, D(E("am")), 1), u("option", sr, D(E("pm")), 1)], 8, ar)), [[te, pe.value]]) : c("", !0)
1518
1518
  ], 8, er), u("div", cr, [u("button", {
1519
1519
  type: "button",
1520
1520
  class: "rounded px-3 py-1 text-sm text-muted transition-colors hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1521
- onClick: oe
1521
+ onClick: se
1522
1522
  }, D(E("clear")), 1), u("button", {
1523
1523
  type: "button",
1524
1524
  disabled: !_.value,
1525
1525
  class: "rounded bg-primary-500 px-3 py-1 text-sm text-white transition-colors hover:bg-primary-600 disabled:cursor-not-allowed disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1526
1526
  onClick: n[5] ||= (e) => {
1527
- ae(), m.value = !1;
1527
+ oe(), m.value = !1;
1528
1528
  }
1529
1529
  }, D(E("apply")), 9, lr)])])) : L() ? (x(), l("div", ur, [u("button", {
1530
1530
  type: "button",
1531
1531
  class: "rounded px-3 py-1 text-sm text-muted transition-colors hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1532
- onClick: oe
1532
+ onClick: se
1533
1533
  }, D(E("clear")), 1)])) : c("", !0)
1534
1534
  ]),
1535
1535
  _: 1
@@ -1540,7 +1540,7 @@ var Qt = { class: "relative w-full" }, $t = [
1540
1540
  }, 8, ["open"]));
1541
1541
  }
1542
1542
  }), fr = { class: "flex shrink-0 items-start justify-between gap-4 border-b border-border p-5 pb-4" }, pr = { class: "min-w-0" }, mr = { class: "flex-1 overflow-y-auto bg-surface p-5" }, hr = {
1543
- key: 0,
1543
+ key: 1,
1544
1544
  class: "flex shrink-0 justify-end gap-2 border-t border-border bg-surface-muted p-4"
1545
1545
  }, gr = /* @__PURE__ */ p({
1546
1546
  __name: "Dialog",
@@ -1552,21 +1552,21 @@ var Qt = { class: "relative w-full" }, $t = [
1552
1552
  },
1553
1553
  emits: ["update:visible", "close"],
1554
1554
  setup(e, { emit: t }) {
1555
- let n = e, r = t, i = o({
1555
+ let n = e, r = t, i = A(), a = o(() => !!n.description || !!i.description), p = o({
1556
1556
  get: () => n.visible ?? !1,
1557
1557
  set: (e) => r("update:visible", e)
1558
- }), a = {
1558
+ }), m = {
1559
1559
  sm: "max-w-sm",
1560
1560
  md: "max-w-md",
1561
1561
  lg: "max-w-2xl",
1562
1562
  xl: "max-w-4xl"
1563
1563
  };
1564
- function p(e) {
1564
+ function g(e) {
1565
1565
  r("update:visible", e), e || r("close");
1566
1566
  }
1567
- return (t, n) => (x(), s(O(Se), {
1568
- open: i.value,
1569
- "onUpdate:open": p
1567
+ return (t, n) => (x(), s(O(Ce), {
1568
+ open: p.value,
1569
+ "onUpdate:open": g
1570
1570
  }, {
1571
1571
  default: N(() => [t.$slots.trigger ? (x(), s(O(we), {
1572
1572
  key: 0,
@@ -1574,33 +1574,40 @@ var Qt = { class: "relative w-full" }, $t = [
1574
1574
  }, {
1575
1575
  default: N(() => [T(t.$slots, "trigger")]),
1576
1576
  _: 3
1577
- })) : c("", !0), f(O(xe), null, {
1578
- default: N(() => [f(O(be), { class: "fixed inset-0 z-50 bg-black/50 dark:bg-black/70" }), f(O(ve), { class: g(["fixed left-1/2 top-1/2 z-50 flex flex-col w-full max-h-[85vh] -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-lg border border-border bg-surface shadow-dialog focus-visible:outline-none", a[e.size]]) }, {
1577
+ })) : c("", !0), f(O(Se), null, {
1578
+ default: N(() => [f(O(xe), { class: "fixed inset-0 z-50 bg-black/50 dark:bg-black/70" }), f(O(ye), h({ class: ["fixed left-1/2 top-1/2 z-50 flex flex-col w-full max-h-[85vh] -translate-x-1/2 -translate-y-1/2 overflow-hidden rounded-lg border border-border bg-surface shadow-dialog focus-visible:outline-none", m[e.size]] }, a.value ? {} : { "aria-describedby": void 0 }), {
1579
1579
  default: N(() => [
1580
- u("div", fr, [u("div", pr, [e.title || t.$slots.header ? (x(), s(O(Ce), {
1580
+ !e.title && !t.$slots.header ? (x(), s(O(dt), { key: 0 }, {
1581
+ default: N(() => [f(O(V), null, {
1582
+ default: N(() => [...n[0] ||= [d("Dialog", -1)]]),
1583
+ _: 1
1584
+ })]),
1585
+ _: 1
1586
+ })) : c("", !0),
1587
+ u("div", fr, [u("div", pr, [e.title || t.$slots.header ? (x(), s(O(V), {
1581
1588
  key: 0,
1582
1589
  class: "text-lg font-semibold text-foreground"
1583
1590
  }, {
1584
1591
  default: N(() => [T(t.$slots, "header", {}, () => [d(D(e.title), 1)])]),
1585
1592
  _: 3
1586
- })) : c("", !0), e.description || t.$slots.description ? (x(), s(O(ye), {
1593
+ })) : c("", !0), e.description || t.$slots.description ? (x(), s(O(be), {
1587
1594
  key: 1,
1588
1595
  class: "mt-1 text-sm text-muted"
1589
1596
  }, {
1590
1597
  default: N(() => [T(t.$slots, "description", {}, () => [d(D(e.description), 1)])]),
1591
1598
  _: 3
1592
- })) : c("", !0)]), f(O(_e), {
1599
+ })) : c("", !0)]), f(O(ve), {
1593
1600
  class: "rounded-md p-1 text-muted transition-colors hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1594
1601
  "aria-label": "Close"
1595
1602
  }, {
1596
- default: N(() => [f(O(V), { class: "size-4" })]),
1603
+ default: N(() => [f(O(B), { class: "size-4" })]),
1597
1604
  _: 1
1598
1605
  })]),
1599
1606
  u("div", mr, [T(t.$slots, "default")]),
1600
1607
  t.$slots.footer ? (x(), l("div", hr, [T(t.$slots, "footer")])) : c("", !0)
1601
1608
  ]),
1602
1609
  _: 3
1603
- }, 8, ["class"])]),
1610
+ }, 16, ["class"])]),
1604
1611
  _: 3
1605
1612
  })]),
1606
1613
  _: 3
@@ -1650,40 +1657,40 @@ var Qt = { class: "relative w-full" }, $t = [
1650
1657
  "close"
1651
1658
  ],
1652
1659
  setup(e, { emit: t }) {
1653
- let n = e, r = t, i = o({
1660
+ let n = e, r = t, i = A(), a = o(() => !!n.description || !!i.description), p = o({
1654
1661
  get: () => n.open,
1655
1662
  set: (e) => r("update:open", e)
1656
1663
  });
1657
- function a(e) {
1664
+ function m(e) {
1658
1665
  r("update:open", e), r(e ? "open" : "close");
1659
1666
  }
1660
- function p(e) {
1667
+ function _(e) {
1661
1668
  n.closeOnEscape || e.preventDefault();
1662
1669
  }
1663
- function m(e) {
1670
+ function v(e) {
1664
1671
  n.closeOnOutside || e.preventDefault();
1665
1672
  }
1666
- let h = {
1673
+ let y = {
1667
1674
  right: "inset-y-0 right-0 h-full w-full data-[state=closed]:translate-x-full data-[state=open]:translate-x-0",
1668
1675
  left: "inset-y-0 left-0 h-full w-full data-[state=closed]:-translate-x-full data-[state=open]:translate-x-0",
1669
1676
  end: "inset-y-0 end-0 h-full w-full data-[state=closed]:translate-x-full rtl:data-[state=closed]:-translate-x-full data-[state=open]:translate-x-0",
1670
1677
  start: "inset-y-0 start-0 h-full w-full data-[state=closed]:-translate-x-full rtl:data-[state=closed]:translate-x-full data-[state=open]:translate-x-0",
1671
1678
  top: "inset-x-0 top-0 w-full h-full data-[state=closed]:-translate-y-full data-[state=open]:translate-y-0",
1672
1679
  bottom: "inset-x-0 bottom-0 w-full h-full data-[state=closed]:translate-y-full data-[state=open]:translate-y-0"
1673
- }, _ = {
1680
+ }, b = {
1674
1681
  sm: "max-w-sm",
1675
1682
  md: "max-w-md",
1676
1683
  lg: "max-w-lg",
1677
1684
  full: "max-w-full"
1678
- }, v = {
1685
+ }, S = {
1679
1686
  sm: "max-h-64",
1680
1687
  md: "max-h-96",
1681
1688
  lg: "max-h-[32rem]",
1682
1689
  full: "max-h-full"
1683
- }, y = o(() => n.position === "top" || n.position === "bottom"), b = o(() => y.value ? v[n.size] : _[n.size]);
1684
- return (t, n) => (x(), s(O(Se), {
1685
- open: i.value,
1686
- "onUpdate:open": a
1690
+ }, C = o(() => n.position === "top" || n.position === "bottom"), w = o(() => C.value ? S[n.size] : b[n.size]);
1691
+ return (t, n) => (x(), s(O(Ce), {
1692
+ open: p.value,
1693
+ "onUpdate:open": m
1687
1694
  }, {
1688
1695
  default: N(() => [t.$slots.trigger ? (x(), s(O(we), {
1689
1696
  key: 0,
@@ -1691,52 +1698,52 @@ var Qt = { class: "relative w-full" }, $t = [
1691
1698
  }, {
1692
1699
  default: N(() => [T(t.$slots, "trigger")]),
1693
1700
  _: 3
1694
- })) : c("", !0), f(O(xe), { "force-mount": i.value }, {
1695
- default: N(() => [e.backdrop || e.preventScroll ? (x(), s(O(be), {
1701
+ })) : c("", !0), f(O(Se), { "force-mount": p.value }, {
1702
+ default: N(() => [e.backdrop || e.preventScroll ? (x(), s(O(xe), {
1696
1703
  key: 0,
1697
1704
  class: g(["fixed inset-0 z-50", e.backdrop ? "bg-black/50 dark:bg-black/70" : "bg-transparent"])
1698
- }, null, 8, ["class"])) : c("", !0), f(O(ve), {
1699
- class: g([
1705
+ }, null, 8, ["class"])) : c("", !0), f(O(ye), h({
1706
+ class: [
1700
1707
  "fixed z-50 flex flex-col overflow-hidden border-border bg-surface shadow-dialog transition-transform duration-200 focus-visible:outline-none",
1701
- h[e.position],
1702
- b.value
1703
- ]),
1704
- onEscapeKeyDown: p,
1705
- onPointerDownOutside: m
1706
- }, {
1708
+ y[e.position],
1709
+ w.value
1710
+ ],
1711
+ onEscapeKeyDown: _,
1712
+ onPointerDownOutside: v
1713
+ }, a.value ? {} : { "aria-describedby": void 0 }), {
1707
1714
  default: N(() => [
1708
1715
  !e.title && !t.$slots.header ? (x(), s(O(dt), { key: 0 }, {
1709
- default: N(() => [f(O(Ce), null, {
1716
+ default: N(() => [f(O(V), null, {
1710
1717
  default: N(() => [...n[0] ||= [d("Drawer", -1)]]),
1711
1718
  _: 1
1712
1719
  })]),
1713
1720
  _: 1
1714
1721
  })) : c("", !0),
1715
- e.title || t.$slots.header || e.description || t.$slots.description || e.showClose ? (x(), l("header", _r, [u("div", vr, [e.title || t.$slots.header ? (x(), s(O(Ce), {
1722
+ e.title || t.$slots.header || e.description || t.$slots.description || e.showClose ? (x(), l("header", _r, [u("div", vr, [e.title || t.$slots.header ? (x(), s(O(V), {
1716
1723
  key: 0,
1717
1724
  class: "text-lg font-semibold text-foreground"
1718
1725
  }, {
1719
1726
  default: N(() => [T(t.$slots, "header", {}, () => [d(D(e.title), 1)])]),
1720
1727
  _: 3
1721
- })) : c("", !0), e.description || t.$slots.description ? (x(), s(O(ye), {
1728
+ })) : c("", !0), e.description || t.$slots.description ? (x(), s(O(be), {
1722
1729
  key: 1,
1723
1730
  class: "mt-1 text-sm text-muted"
1724
1731
  }, {
1725
1732
  default: N(() => [T(t.$slots, "description", {}, () => [d(D(e.description), 1)])]),
1726
1733
  _: 3
1727
- })) : c("", !0)]), e.showClose ? (x(), s(O(_e), {
1734
+ })) : c("", !0)]), e.showClose ? (x(), s(O(ve), {
1728
1735
  key: 0,
1729
1736
  class: "ms-auto shrink-0 rounded-md p-1 text-muted transition-colors hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
1730
1737
  "aria-label": "Close"
1731
1738
  }, {
1732
- default: N(() => [T(t.$slots, "close", {}, () => [f(O(V), { class: "size-4" })])]),
1739
+ default: N(() => [T(t.$slots, "close", {}, () => [f(O(B), { class: "size-4" })])]),
1733
1740
  _: 3
1734
1741
  })) : c("", !0)])) : c("", !0),
1735
1742
  u("div", yr, [T(t.$slots, "default")]),
1736
1743
  t.$slots.footer ? (x(), l("footer", br, [T(t.$slots, "footer")])) : c("", !0)
1737
1744
  ]),
1738
1745
  _: 3
1739
- }, 8, ["class"])]),
1746
+ }, 16, ["class"])]),
1740
1747
  _: 3
1741
1748
  }, 8, ["force-mount"])]),
1742
1749
  _: 3
@@ -1800,7 +1807,7 @@ var Qt = { class: "relative w-full" }, $t = [
1800
1807
  },
1801
1808
  emits: ["select"],
1802
1809
  setup(e, { emit: t }) {
1803
- let n = me({
1810
+ let n = he({
1804
1811
  base: "relative flex w-full cursor-pointer select-none items-center gap-2 rounded px-2 py-1.5 text-sm outline-none transition-colors focus:bg-surface-muted data-[highlighted]:bg-surface-muted data-[highlighted]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1805
1812
  variants: { variant: {
1806
1813
  default: "text-foreground",
@@ -1913,7 +1920,7 @@ var Qt = { class: "relative w-full" }, $t = [
1913
1920
  "aria-label": "Move selected to target",
1914
1921
  onClick: y
1915
1922
  }, {
1916
- default: N(() => [f(O(z), { class: "size-4" })]),
1923
+ default: N(() => [f(O(ae), { class: "size-4" })]),
1917
1924
  _: 1
1918
1925
  }, 8, ["disabled"]),
1919
1926
  f(X, {
@@ -1933,7 +1940,7 @@ var Qt = { class: "relative w-full" }, $t = [
1933
1940
  "aria-label": "Move all to target",
1934
1941
  onClick: S
1935
1942
  }, {
1936
- default: N(() => [f(O(B), { class: "size-4" })]),
1943
+ default: N(() => [f(O(z), { class: "size-4" })]),
1937
1944
  _: 1
1938
1945
  }, 8, ["disabled"]),
1939
1946
  f(X, {
@@ -1943,7 +1950,7 @@ var Qt = { class: "relative w-full" }, $t = [
1943
1950
  "aria-label": "Move all to source",
1944
1951
  onClick: E
1945
1952
  }, {
1946
- default: N(() => [f(O(oe), { class: "size-4" })]),
1953
+ default: N(() => [f(O(se), { class: "size-4" })]),
1947
1954
  _: 1
1948
1955
  }, 8, ["disabled"])
1949
1956
  ]),
@@ -2128,7 +2135,7 @@ var ii = { class: "flex flex-wrap items-center justify-between gap-3 px-3 py-2 t
2128
2135
  "aria-label": e.nextLabel,
2129
2136
  onClick: n[2] ||= (t) => m(e.pageIndex + 1)
2130
2137
  }, {
2131
- default: N(() => [f(O(z), { class: "size-4 rtl:rotate-180" })]),
2138
+ default: N(() => [f(O(ae), { class: "size-4 rtl:rotate-180" })]),
2132
2139
  _: 1
2133
2140
  }, 8, ["disabled", "aria-label"])
2134
2141
  ])])]));
@@ -2270,10 +2277,10 @@ var hi = ["aria-busy"], gi = {
2270
2277
  }, [f(O(ft), { header: t }, null, 8, ["header"]), b(t.column.id) === "descending" ? (x(), s(O(R), {
2271
2278
  key: 0,
2272
2279
  class: "size-3.5"
2273
- })) : b(t.column.id) === "ascending" ? (x(), s(O(ae), {
2280
+ })) : b(t.column.id) === "ascending" ? (x(), s(O(oe), {
2274
2281
  key: 1,
2275
2282
  class: "size-3.5"
2276
- })) : (x(), s(O(se), {
2283
+ })) : (x(), s(O(ce), {
2277
2284
  key: 2,
2278
2285
  class: "size-3.5 opacity-40"
2279
2286
  }))], 8, _i)) : (x(), s(O(ft), {
@@ -2428,7 +2435,7 @@ var wi = { class: "overflow-hidden rounded-md border border-border bg-surface" }
2428
2435
  "aria-label": e.rowLabel(n.node),
2429
2436
  class: g(["rounded p-0.5 text-muted transition-transform hover:bg-surface-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500", r && "rotate-90"]),
2430
2437
  onClick: F(i, ["stop"])
2431
- }, [f(O(z), { class: "size-3.5 rtl:rotate-180" })], 10, Ei)) : (x(), l("span", Di)), T(t.$slots, "row-label", {
2438
+ }, [f(O(ae), { class: "size-3.5 rtl:rotate-180" })], 10, Ei)) : (x(), l("span", Di)), T(t.$slots, "row-label", {
2432
2439
  node: n.node,
2433
2440
  level: n.level
2434
2441
  }, () => [d(D(e.rowLabel(n.node)), 1)])], 4), (x(!0), l(a, null, w(e.columns, (e) => (x(), l("div", {
@@ -2523,7 +2530,7 @@ var wi = { class: "overflow-hidden rounded-md border border-border bg-surface" }
2523
2530
  class: "z-50 w-72 rounded-md border border-border bg-surface p-2 shadow-popover"
2524
2531
  }, {
2525
2532
  default: N(() => [
2526
- e.filterable ? (x(), l("div", Mi, [f(O(fe), { class: "pointer-events-none absolute start-2 top-1/2 size-3.5 -translate-y-1/2 text-muted" }), P(u("input", {
2533
+ e.filterable ? (x(), l("div", Mi, [f(O(pe), { class: "pointer-events-none absolute start-2 top-1/2 size-3.5 -translate-y-1/2 text-muted" }), P(u("input", {
2527
2534
  "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
2528
2535
  placeholder: e.filterPlaceholder,
2529
2536
  class: "w-full rounded-md border border-border bg-surface py-1.5 pe-2 ps-7 text-sm placeholder:text-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
@@ -2572,7 +2579,7 @@ var wi = { class: "overflow-hidden rounded-md border border-border bg-surface" }
2572
2579
  type: "button",
2573
2580
  class: "inline-flex items-center gap-1 rounded px-2 py-1 text-xs text-muted hover:bg-surface-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500",
2574
2581
  onClick: n[2] ||= (e) => r("update:modelValue", [])
2575
- }, [f(O(V), { class: "size-3" }), n[4] ||= d("Clear ", -1)])])) : c("", !0)
2582
+ }, [f(O(B), { class: "size-3" }), n[4] ||= d("Clear ", -1)])])) : c("", !0)
2576
2583
  ]),
2577
2584
  _: 1
2578
2585
  })]),
@@ -2682,7 +2689,7 @@ var Hi = { class: "min-w-0 flex-1" }, Ui = /* @__PURE__ */ p({
2682
2689
  "aria-label": "Close",
2683
2690
  class: "-me-1 -mt-1 shrink-0 rounded-md p-1 transition-colors hover:bg-black/10 dark:hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
2684
2691
  }, {
2685
- default: N(() => [f(O(V), { class: "size-4" })]),
2692
+ default: N(() => [f(O(B), { class: "size-4" })]),
2686
2693
  _: 1
2687
2694
  }))
2688
2695
  ]),