@dolanske/vui 1.14.11 → 1.14.13

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/vui.js CHANGED
@@ -10914,14 +10914,232 @@ var wd = /* @__PURE__ */ v({
10914
10914
  }, 8, ["class", "gap"])
10915
10915
  ])], 2));
10916
10916
  }
10917
- }), Fd = [
10917
+ }), Fd = /* @__PURE__ */ function(e) {
10918
+ return e.Mobile = "mobile", e.Tablet = "tablet", e.SmallDesktop = "smallDesktop", e.Desktop = "desktop", e;
10919
+ }({}), Id = B({
10920
+ mobile: 572,
10921
+ tablet: 768,
10922
+ smallDesktop: 1228,
10923
+ desktop: 1920
10924
+ }), { width: Ld } = Cn();
10925
+ function Rd(e) {
10926
+ return c(() => {
10927
+ let t = Id.value[e];
10928
+ return t ? Ld.value <= t : (console.warn(`Breakpoint ${e} is not defined in vuiBreakpoints.`), !1);
10929
+ });
10930
+ }
10931
+ //#endregion
10932
+ //#region src/shared/layerManager.ts
10933
+ var zd = 600, Bd = 10, Vd = B([]), Hd = zd;
10934
+ function Ud() {
10935
+ return Hd += Bd, Vd.value.push(Hd), Hd;
10936
+ }
10937
+ function Wd(e) {
10938
+ let t = Vd.value.lastIndexOf(e);
10939
+ t !== -1 && Vd.value.splice(t, 1), Vd.value.length === 0 && (Hd = zd);
10940
+ }
10941
+ function Gd(e) {
10942
+ return Vd.value.length > 0 && Vd.value.at(-1) === e;
10943
+ }
10944
+ function Kd() {
10945
+ let e = B(null);
10946
+ function t() {
10947
+ e.value === null && (e.value = Ud());
10948
+ }
10949
+ function n() {
10950
+ e.value !== null && (Wd(e.value), e.value = null);
10951
+ }
10952
+ ne(() => {
10953
+ n();
10954
+ });
10955
+ let r = c(() => e.value ?? zd);
10956
+ return {
10957
+ layerPostition: c(() => {
10958
+ if (e.value === null) return 0;
10959
+ let t = Vd.value.lastIndexOf(e.value);
10960
+ return t === -1 ? 0 : t;
10961
+ }),
10962
+ layerIndex: r,
10963
+ openLayer: t,
10964
+ closeLayer: n
10965
+ };
10966
+ }
10967
+ //#endregion
10968
+ //#region src/components/Popout/Popout.vue
10969
+ var qd = /* @__PURE__ */ v({
10970
+ inheritAttrs: !1,
10971
+ __name: "Popout",
10972
+ props: {
10973
+ anchor: {},
10974
+ placement: { default: "top" },
10975
+ offset: { default: 8 },
10976
+ visible: { type: Boolean },
10977
+ transitionName: {},
10978
+ teleport: {
10979
+ type: Boolean,
10980
+ default: !0
10981
+ },
10982
+ enterDelay: {},
10983
+ leaveDelay: {}
10984
+ },
10985
+ emits: ["clickOutside"],
10986
+ setup(e, { expose: t, emit: n }) {
10987
+ let a = e, o = n, s = ue(), f = J("popout"), p = c(() => a.anchor), { floatingStyles: m, placement: h } = va(p, f, {
10988
+ whileElementsMounted: ta,
10989
+ strategy: "fixed",
10990
+ transform: !1,
10991
+ placement: a.placement,
10992
+ middleware: [
10993
+ na(a.offset),
10994
+ ia(),
10995
+ ra({ padding: 8 })
10996
+ ]
10997
+ });
10998
+ Wt(f, () => {
10999
+ o("clickOutside");
11000
+ }, { ignore: [p] });
11001
+ let _ = c(() => {
11002
+ if (a.transitionName !== "none") return a.transitionName ? a.transitionName : $n(h.value);
11003
+ }), { layerIndex: v, openLayer: y, closeLayer: b } = Kd(), x = B(a.visible), S, C;
11004
+ return Y(x, (e) => {
11005
+ e ? y() : b();
11006
+ }, { immediate: !0 }), t({
11007
+ el: () => f.value,
11008
+ layerIndex: () => v.value
11009
+ }), Y(() => a.visible, (e) => {
11010
+ if (e) {
11011
+ if (clearTimeout(C), !a.enterDelay || a.enterDelay <= 0) {
11012
+ x.value = !0;
11013
+ return;
11014
+ }
11015
+ clearTimeout(S), S = setTimeout(() => {
11016
+ a.visible && (x.value = !0);
11017
+ }, a.enterDelay);
11018
+ } else {
11019
+ if (clearTimeout(S), !a.leaveDelay || a.leaveDelay <= 0) {
11020
+ x.value = !1;
11021
+ return;
11022
+ }
11023
+ C = setTimeout(() => {
11024
+ a.visible || (x.value = !1);
11025
+ }, a.leaveDelay);
11026
+ }
11027
+ }), (t, n) => (R(), l(r, {
11028
+ to: "body",
11029
+ disabled: a.teleport !== !0
11030
+ }, [g(i, {
11031
+ name: _.value,
11032
+ css: e.transitionName !== "none"
11033
+ }, {
11034
+ default: X(() => [x.value ? (R(), d("div", A({
11035
+ key: 0,
11036
+ ref: "popout",
11037
+ style: [q(m), { zIndex: q(v) }],
11038
+ class: "vui-popout"
11039
+ }, q(s)), [H(t.$slots, "default")], 16)) : u("", !0)]),
11040
+ _: 3
11041
+ }, 8, ["name", "css"])], 8, ["disabled"]));
11042
+ }
11043
+ }), Jd = ["aria-describedby"], Yd = /* @__PURE__ */ v({
11044
+ inheritAttrs: !1,
11045
+ __name: "Tooltip",
11046
+ props: {
11047
+ placement: {},
11048
+ enterDelay: {},
11049
+ leaveDelay: {},
11050
+ disabled: { type: Boolean }
11051
+ },
11052
+ setup(e) {
11053
+ let t = ue(), r = J("popoutAnchor"), i = B(!1), a = fe(), o = c(() => r.value?.children[0]), s = Rd(Fd.Tablet);
11054
+ function l(t) {
11055
+ e.disabled || s.value || (i.value = t);
11056
+ }
11057
+ return (r, s) => (R(), d(n, null, [f("div", {
11058
+ ref: "popoutAnchor",
11059
+ class: "popout-anchor",
11060
+ "aria-describedby": q(a),
11061
+ onMouseenter: s[0] ||= (e) => l(!0),
11062
+ onMouseleave: s[1] ||= (e) => l(!1)
11063
+ }, [H(r.$slots, "default", {}, void 0, !0)], 40, Jd), g(qd, A({
11064
+ id: q(a),
11065
+ visible: i.value,
11066
+ anchor: o.value,
11067
+ "enter-delay": e.enterDelay,
11068
+ "leave-delay": e.leaveDelay,
11069
+ class: "vui-tooltip"
11070
+ }, q(t), { placement: e.placement }), {
11071
+ default: X(() => [H(r.$slots, "tooltip", {}, void 0, !0)]),
11072
+ _: 3
11073
+ }, 16, [
11074
+ "id",
11075
+ "visible",
11076
+ "anchor",
11077
+ "enter-delay",
11078
+ "leave-delay",
11079
+ "placement"
11080
+ ])], 64));
11081
+ }
11082
+ }), Xd = (e, t) => {
11083
+ let n = e.__vccOpts || e;
11084
+ for (let [e, r] of t) n[e] = r;
11085
+ return n;
11086
+ }, Zd = /* @__PURE__ */ Xd(Yd, [["__scopeId", "data-v-865326ff"]]), Qd = ["role", "onClick"], $d = /* @__PURE__ */ v({
11087
+ __name: "Histogram",
11088
+ props: {
11089
+ data: {},
11090
+ height: { default: 32 },
11091
+ gap: { default: "xs" },
11092
+ expand: {
11093
+ type: Boolean,
11094
+ default: !1
11095
+ },
11096
+ compact: {
11097
+ type: Boolean,
11098
+ default: !1
11099
+ }
11100
+ },
11101
+ emits: ["cellClick", "click"],
11102
+ setup(e, { emit: t }) {
11103
+ let r = t, i = me(), a = b(), o = c(() => Math.max(...e.data) || 1), s = c(() => !!a?.vnode.props?.onClick || !!a?.vnode.props?.onCellClick);
11104
+ return (t, a) => (R(), l(or, {
11105
+ class: M(["vui-histogram", {
11106
+ expand: e.expand,
11107
+ clickable: s.value
11108
+ }]),
11109
+ gap: e.gap,
11110
+ onClick: a[0] ||= we((e) => r("click"), ["self"])
11111
+ }, {
11112
+ default: X(() => [(R(!0), d(n, null, V(e.data, (n, a) => (R(), l(Zd, {
11113
+ key: a,
11114
+ disabled: !i.tooltip
11115
+ }, {
11116
+ tooltip: X(() => [H(t.$slots, "tooltip", {
11117
+ value: n,
11118
+ index: a,
11119
+ highestValue: o.value
11120
+ })]),
11121
+ default: X(() => [f("div", {
11122
+ class: M(["vui-histogram-cell", { compact: e.compact }]),
11123
+ style: P({ height: `${e.height}px` }),
11124
+ role: s.value ? "button" : "auto",
11125
+ onClick: (e) => r("cellClick", a)
11126
+ }, [f("div", {
11127
+ class: "vui-histogram-datacell",
11128
+ style: P({ height: `${n / o.value * 100}%` })
11129
+ }, null, 4)], 14, Qd)]),
11130
+ _: 2
11131
+ }, 1032, ["disabled"]))), 128))]),
11132
+ _: 3
11133
+ }, 8, ["class", "gap"]));
11134
+ }
11135
+ }), ef = [
10918
11136
  "id",
10919
11137
  "disabled",
10920
11138
  "checked"
10921
- ], Id = ["for"], Ld = { class: "vui-checkbox-icon" }, Rd = {
11139
+ ], tf = ["for"], nf = { class: "vui-checkbox-icon" }, rf = {
10922
11140
  key: 0,
10923
11141
  class: "vui-checkbox-content"
10924
- }, zd = /* @__PURE__ */ v({
11142
+ }, af = /* @__PURE__ */ v({
10925
11143
  __name: "Checkbox",
10926
11144
  props: /* @__PURE__ */ k({
10927
11145
  label: {},
@@ -10948,25 +11166,9 @@ var wd = /* @__PURE__ */ v({
10948
11166
  onChange: o[1] ||= (t) => {
10949
11167
  e.disabled || n("change", t.target.checked);
10950
11168
  }
10951
- }, null, 40, Fd), [[he, i.value]]), f("label", { for: q(a) }, [f("span", Ld, [i.value ? H(t.$slots, "icon-on", { key: 0 }, () => [g(q(Ge))]) : H(t.$slots, "icon-off", { key: 1 }, () => [g(q(at))])]), e.label || r.default ? (R(), d("p", Rd, [H(t.$slots, "default", {}, () => [h(G(e.label), 1)])])) : u("", !0)], 8, Id)], 2));
11169
+ }, null, 40, ef), [[he, i.value]]), f("label", { for: q(a) }, [f("span", nf, [i.value ? H(t.$slots, "icon-on", { key: 0 }, () => [g(q(Ge))]) : H(t.$slots, "icon-off", { key: 1 }, () => [g(q(at))])]), e.label || r.default ? (R(), d("p", rf, [H(t.$slots, "default", {}, () => [h(G(e.label), 1)])])) : u("", !0)], 8, tf)], 2));
10952
11170
  }
10953
- }), Bd = /* @__PURE__ */ function(e) {
10954
- return e.Mobile = "mobile", e.Tablet = "tablet", e.SmallDesktop = "smallDesktop", e.Desktop = "desktop", e;
10955
- }({}), Vd = B({
10956
- mobile: 572,
10957
- tablet: 768,
10958
- smallDesktop: 1228,
10959
- desktop: 1920
10960
- }), { width: Hd } = Cn();
10961
- function Ud(e) {
10962
- return c(() => {
10963
- let t = Vd.value[e];
10964
- return t ? Hd.value <= t : (console.warn(`Breakpoint ${e} is not defined in vuiBreakpoints.`), !1);
10965
- });
10966
- }
10967
- //#endregion
10968
- //#region src/components/Kbd/Kbd.vue
10969
- var Wd = /* @__PURE__ */ v({
11171
+ }), of = /* @__PURE__ */ v({
10970
11172
  __name: "Kbd",
10971
11173
  props: {
10972
11174
  keys: {},
@@ -10984,47 +11186,11 @@ var Wd = /* @__PURE__ */ v({
10984
11186
  let a = c(() => !n.highlight || !n.keys ? !1 : n.keys.split("+").every((e) => i.current.has(e.toLowerCase())));
10985
11187
  return (e, t) => (R(), d("kbd", { class: M(["vui-kbd", { active: a.value }]) }, [H(e.$slots, "default", {}, () => [h(G(n.label ?? n.keys?.replaceAll("+", " + ")), 1)])], 2));
10986
11188
  }
10987
- }), Gd = 600, Kd = 10, qd = B([]), Jd = Gd;
10988
- function Yd() {
10989
- return Jd += Kd, qd.value.push(Jd), Jd;
10990
- }
10991
- function Xd(e) {
10992
- let t = qd.value.lastIndexOf(e);
10993
- t !== -1 && qd.value.splice(t, 1), qd.value.length === 0 && (Jd = Gd);
10994
- }
10995
- function Zd(e) {
10996
- return qd.value.length > 0 && qd.value.at(-1) === e;
10997
- }
10998
- function Qd() {
10999
- let e = B(null);
11000
- function t() {
11001
- e.value === null && (e.value = Yd());
11002
- }
11003
- function n() {
11004
- e.value !== null && (Xd(e.value), e.value = null);
11005
- }
11006
- ne(() => {
11007
- n();
11008
- });
11009
- let r = c(() => e.value ?? Gd);
11010
- return {
11011
- layerPostition: c(() => {
11012
- if (e.value === null) return 0;
11013
- let t = qd.value.lastIndexOf(e.value);
11014
- return t === -1 ? 0 : t;
11015
- }),
11016
- layerIndex: r,
11017
- openLayer: t,
11018
- closeLayer: n
11019
- };
11020
- }
11021
- //#endregion
11022
- //#region src/internal/Backdrop/Backdrop.vue
11023
- var $d = /* @__PURE__ */ v({
11189
+ }), sf = /* @__PURE__ */ v({
11024
11190
  __name: "Backdrop",
11025
11191
  emits: ["close"],
11026
11192
  setup(e, { emit: t }) {
11027
- let n = t, { layerIndex: r, layerPostition: i, openLayer: a, closeLayer: o } = Qd(), s = B(!1);
11193
+ let n = t, { layerIndex: r, layerPostition: i, openLayer: a, closeLayer: o } = Kd(), s = B(!1);
11028
11194
  function c(e) {
11029
11195
  s.value = e.target === e.currentTarget;
11030
11196
  }
@@ -11032,7 +11198,7 @@ var $d = /* @__PURE__ */ v({
11032
11198
  e.target === e.currentTarget && s.value && n("close"), s.value = !1;
11033
11199
  }
11034
11200
  function u(e) {
11035
- e.key === "Escape" && Zd(r.value) && n("close");
11201
+ e.key === "Escape" && Gd(r.value) && n("close");
11036
11202
  }
11037
11203
  return L(() => {
11038
11204
  a(), window.addEventListener("keydown", u);
@@ -11048,7 +11214,7 @@ var $d = /* @__PURE__ */ v({
11048
11214
  onClick: l
11049
11215
  }, [H(e.$slots, "default")], 38));
11050
11216
  }
11051
- }), ef = /* @__PURE__ */ v({
11217
+ }), cf = /* @__PURE__ */ Xd(/* @__PURE__ */ v({
11052
11218
  inheritAttrs: !1,
11053
11219
  __name: "Modal",
11054
11220
  props: {
@@ -11086,8 +11252,8 @@ var $d = /* @__PURE__ */ v({
11086
11252
  Y(() => e.open, (e) => {
11087
11253
  e && (o.value = !0);
11088
11254
  });
11089
- let h = Ud(Bd.Mobile), _ = c(() => h.value && !e.disableMobileFs ? "screen" : e.size);
11090
- return (t, c) => (R(), l(r, { to: "body" }, [o.value ? (R(), l($d, {
11255
+ let h = Rd(Fd.Mobile), _ = c(() => h.value && !e.disableMobileFs ? "screen" : e.size);
11256
+ return (t, c) => (R(), l(r, { to: "body" }, [o.value ? (R(), l(sf, {
11091
11257
  key: 0,
11092
11258
  class: M({ "p-0": _.value === "screen" }),
11093
11259
  onClose: s
@@ -11140,23 +11306,19 @@ var $d = /* @__PURE__ */ v({
11140
11306
  _: 3
11141
11307
  }, 8, ["class"])) : u("", !0)]));
11142
11308
  }
11143
- }), tf = (e, t) => {
11144
- let n = e.__vccOpts || e;
11145
- for (let [e, r] of t) n[e] = r;
11146
- return n;
11147
- }, nf = /* @__PURE__ */ tf(ef, [["__scopeId", "data-v-0de3c0b1"]]), rf = { class: "vui-commands-input" }, af = { class: "vui-commands-input-icon" }, of = ["placeholder"], sf = { class: "vui-commands-group-buttons" }, cf = ["onClick"], lf = {
11309
+ }), [["__scopeId", "data-v-0de3c0b1"]]), lf = { class: "vui-commands-input" }, uf = { class: "vui-commands-input-icon" }, df = ["placeholder"], ff = { class: "vui-commands-group-buttons" }, pf = ["onClick"], mf = {
11148
11310
  key: 0,
11149
11311
  class: "vui-commands-empty"
11150
- }, uf = {
11312
+ }, hf = {
11151
11313
  key: 0,
11152
11314
  class: "vui-commands-group-title"
11153
- }, df = { class: "vui-commands-list" }, ff = ["data-index", "onClick"], pf = { class: "vui-commands-list-item" }, mf = {
11315
+ }, gf = { class: "vui-commands-list" }, _f = ["data-index", "onClick"], vf = { class: "vui-commands-list-item" }, yf = {
11154
11316
  key: 0,
11155
11317
  class: "vui-commands-list-item-icon"
11156
- }, hf = { class: "vui-command-body" }, gf = {
11318
+ }, bf = { class: "vui-command-body" }, xf = {
11157
11319
  key: 0,
11158
11320
  class: "text-overflow-1"
11159
- }, _f = "##ungrouped##", vf = /* @__PURE__ */ v({
11321
+ }, Sf = "##ungrouped##", Cf = /* @__PURE__ */ v({
11160
11322
  __name: "Commands",
11161
11323
  props: /* @__PURE__ */ k({
11162
11324
  open: { type: Boolean },
@@ -11172,18 +11334,18 @@ var $d = /* @__PURE__ */ v({
11172
11334
  }),
11173
11335
  emits: /* @__PURE__ */ k(["close"], ["update:search", "update:group"]),
11174
11336
  setup(e, { emit: t }) {
11175
- let r = e, i = t, a = Ud(Bd.Mobile), o = pe(e, "search"), s = pe(e, "group"), p = c(() => r.commands.filter((e) => s.value && s.value !== "All" ? (e.group ?? _f) === s.value : !0).filter((e) => Vn([
11337
+ let r = e, i = t, a = Rd(Fd.Mobile), o = pe(e, "search"), s = pe(e, "group"), p = c(() => r.commands.filter((e) => s.value && s.value !== "All" ? (e.group ?? Sf) === s.value : !0).filter((e) => Vn([
11176
11338
  e.title,
11177
11339
  e.description,
11178
11340
  ...e.keywords ?? []
11179
11341
  ], o.value))), _ = c(() => {
11180
11342
  if (p.value.length === 0) return null;
11181
- let e = Object.groupBy(p.value, (e) => e.group ?? _f);
11343
+ let e = Object.groupBy(p.value, (e) => e.group ?? Sf);
11182
11344
  return Object.fromEntries(Object.entries(e).sort(([e], [t]) => e.localeCompare(t)));
11183
11345
  }), v = c(() => {
11184
11346
  let e = /* @__PURE__ */ new Set();
11185
- for (let t of r.commands) e.add(t.group ?? _f);
11186
- let t = [...e].toSorted((e, t) => e === _f ? 1 : t === _f ? -1 : e.localeCompare(t));
11347
+ for (let t of r.commands) e.add(t.group ?? Sf);
11348
+ let t = [...e].toSorted((e, t) => e === Sf ? 1 : t === Sf ? -1 : e.localeCompare(t));
11187
11349
  return t.unshift("All"), t;
11188
11350
  }), y = c(() => {
11189
11351
  if (!_.value) return [];
@@ -11224,7 +11386,7 @@ var $d = /* @__PURE__ */ v({
11224
11386
  }
11225
11387
  return Y(() => r.open, async (e) => {
11226
11388
  e && (await j(), requestAnimationFrame(T));
11227
- }, { flush: "post" }), (t, c) => (R(), l(nf, {
11389
+ }, { flush: "post" }), (t, c) => (R(), l(cf, {
11228
11390
  open: r.open,
11229
11391
  "hide-close-button": "",
11230
11392
  card: {
@@ -11235,8 +11397,8 @@ var $d = /* @__PURE__ */ v({
11235
11397
  size: r.compact ? "s" : "m",
11236
11398
  onClose: c[2] ||= (e) => i("close")
11237
11399
  }, m({
11238
- header: X(() => [f("div", rf, [
11239
- f("div", af, [e.loading ? (R(), l(hr, {
11400
+ header: X(() => [f("div", lf, [
11401
+ f("div", uf, [e.loading ? (R(), l(hr, {
11240
11402
  key: 0,
11241
11403
  size: "s"
11242
11404
  })) : (R(), l(q(Qe), { key: 1 }))]),
@@ -11246,7 +11408,7 @@ var $d = /* @__PURE__ */ v({
11246
11408
  type: "text",
11247
11409
  autofocus: "",
11248
11410
  placeholder: r.placeholder
11249
- }, null, 8, of), [[ve, o.value]]),
11411
+ }, null, 8, df), [[ve, o.value]]),
11250
11412
  g(or, { gap: 2 }, {
11251
11413
  default: X(() => [o.value ? (R(), l(gr, {
11252
11414
  key: 0,
@@ -11266,7 +11428,7 @@ var $d = /* @__PURE__ */ v({
11266
11428
  })) : u("", !0)]),
11267
11429
  _: 1
11268
11430
  })
11269
- ]), f("div", sf, [g(Pd, {
11431
+ ]), f("div", ff, [g(Pd, {
11270
11432
  gap: r.compact ? "xxs" : "xs",
11271
11433
  "hide-scrollbar": "",
11272
11434
  "hide-shadows": ""
@@ -11279,9 +11441,9 @@ var $d = /* @__PURE__ */ v({
11279
11441
  variant: e === s.value ? "accent" : "neutral",
11280
11442
  role: "button"
11281
11443
  }, {
11282
- default: X(() => [h(G(e === _f ? "Other" : e), 1)]),
11444
+ default: X(() => [h(G(e === Sf ? "Other" : e), 1)]),
11283
11445
  _: 2
11284
- }, 1032, ["variant"])], 8, cf))), 128))]),
11446
+ }, 1032, ["variant"])], 8, pf))), 128))]),
11285
11447
  _: 1
11286
11448
  }, 8, ["gap"])])]),
11287
11449
  default: X(() => [_.value ? H(t.$slots, "default", {
@@ -11291,7 +11453,7 @@ var $d = /* @__PURE__ */ v({
11291
11453
  key: r,
11292
11454
  class: "vui-commands-group",
11293
11455
  tabindex: "-1"
11294
- }, [r !== _f && s.value === "All" ? (R(), d("span", uf, G(r), 1)) : u("", !0), f("ul", df, [(R(!0), d(n, null, V(e, (e, a) => (R(), d("li", {
11456
+ }, [r !== Sf && s.value === "All" ? (R(), d("span", hf, G(r), 1)) : u("", !0), f("ul", gf, [(R(!0), d(n, null, V(e, (e, a) => (R(), d("li", {
11295
11457
  key: e.title,
11296
11458
  "data-index": y.value[i] + a,
11297
11459
  class: M({ "vui-commands-list-item-focused": S.value === y.value[i] + a }),
@@ -11299,21 +11461,21 @@ var $d = /* @__PURE__ */ v({
11299
11461
  }, [H(t.$slots, "command", {
11300
11462
  command: e,
11301
11463
  group: r
11302
- }, () => [f("button", pf, [
11303
- e.icon || t.$slots.icon ? (R(), d("div", mf, [H(t.$slots, "icon", { command: e }, () => [(R(), l(U(e.icon)))])])) : u("", !0),
11304
- f("div", hf, [f("span", null, G(e.title), 1), e.description ? (R(), d("p", gf, G(e.description), 1)) : u("", !0)]),
11464
+ }, () => [f("button", vf, [
11465
+ e.icon || t.$slots.icon ? (R(), d("div", yf, [H(t.$slots, "icon", { command: e }, () => [(R(), l(U(e.icon)))])])) : u("", !0),
11466
+ f("div", bf, [f("span", null, G(e.title), 1), e.description ? (R(), d("p", xf, G(e.description), 1)) : u("", !0)]),
11305
11467
  e.shortcut ? (R(), l(or, {
11306
11468
  key: 1,
11307
11469
  gap: "xxs"
11308
11470
  }, {
11309
- default: X(() => [(R(!0), d(n, null, V(e.shortcut.split("+"), (e) => (R(), l(Wd, {
11471
+ default: X(() => [(R(!0), d(n, null, V(e.shortcut.split("+"), (e) => (R(), l(of, {
11310
11472
  key: e,
11311
11473
  class: "vui-commands-list-item-shortcut",
11312
11474
  keys: e
11313
11475
  }, null, 8, ["keys"]))), 128))]),
11314
11476
  _: 2
11315
11477
  }, 1024)) : u("", !0)
11316
- ])])], 10, ff))), 128))])]))), 128))]) : (R(), d("div", lf, [...c[9] ||= [f("p", null, "No results found", -1)]]))]),
11478
+ ])])], 10, _f))), 128))])]))), 128))]) : (R(), d("div", mf, [...c[9] ||= [f("p", null, "No results found", -1)]]))]),
11317
11479
  _: 2
11318
11480
  }, [r.compact ? void 0 : {
11319
11481
  name: "footer",
@@ -11323,21 +11485,21 @@ var $d = /* @__PURE__ */ v({
11323
11485
  tabindex: "-1"
11324
11486
  }, {
11325
11487
  default: X(() => [
11326
- g(Wd, null, {
11488
+ g(of, null, {
11327
11489
  default: X(() => [g(q(Ne))]),
11328
11490
  _: 1
11329
11491
  }),
11330
- g(Wd, null, {
11492
+ g(of, null, {
11331
11493
  default: X(() => [g(q(Me))]),
11332
11494
  _: 1
11333
11495
  }),
11334
11496
  c[6] ||= f("span", { class: "text-color-lighter mr-s" }, "Move", -1),
11335
- g(Wd, null, {
11497
+ g(of, null, {
11336
11498
  default: X(() => [...c[4] ||= [h(" Enter ", -1)]]),
11337
11499
  _: 1
11338
11500
  }),
11339
11501
  c[7] ||= f("span", { class: "text-color-lighter mr-s" }, "Select", -1),
11340
- g(Wd, null, {
11502
+ g(of, null, {
11341
11503
  default: X(() => [...c[5] ||= [h(" Esc ", -1)]]),
11342
11504
  _: 1
11343
11505
  }),
@@ -11352,84 +11514,10 @@ var $d = /* @__PURE__ */ v({
11352
11514
  "size"
11353
11515
  ]));
11354
11516
  }
11355
- }), yf = /* @__PURE__ */ v({
11356
- inheritAttrs: !1,
11357
- __name: "Popout",
11358
- props: {
11359
- anchor: {},
11360
- placement: { default: "top" },
11361
- offset: { default: 8 },
11362
- visible: { type: Boolean },
11363
- transitionName: {},
11364
- teleport: {
11365
- type: Boolean,
11366
- default: !0
11367
- },
11368
- enterDelay: {},
11369
- leaveDelay: {}
11370
- },
11371
- emits: ["clickOutside"],
11372
- setup(e, { expose: t, emit: n }) {
11373
- let a = e, o = n, s = ue(), f = J("popout"), p = c(() => a.anchor), { floatingStyles: m, placement: h } = va(p, f, {
11374
- whileElementsMounted: ta,
11375
- strategy: "fixed",
11376
- transform: !1,
11377
- placement: a.placement,
11378
- middleware: [
11379
- na(a.offset),
11380
- ia(),
11381
- ra({ padding: 8 })
11382
- ]
11383
- });
11384
- Wt(f, () => {
11385
- o("clickOutside");
11386
- }, { ignore: [p] });
11387
- let _ = c(() => {
11388
- if (a.transitionName !== "none") return a.transitionName ? a.transitionName : $n(h.value);
11389
- }), { layerIndex: v, openLayer: y, closeLayer: b } = Qd(), x = B(a.visible), S, C;
11390
- return Y(x, (e) => {
11391
- e ? y() : b();
11392
- }, { immediate: !0 }), t({
11393
- el: () => f.value,
11394
- layerIndex: () => v.value
11395
- }), Y(() => a.visible, (e) => {
11396
- if (e) {
11397
- if (clearTimeout(C), !a.enterDelay || a.enterDelay <= 0) {
11398
- x.value = !0;
11399
- return;
11400
- }
11401
- clearTimeout(S), S = setTimeout(() => {
11402
- a.visible && (x.value = !0);
11403
- }, a.enterDelay);
11404
- } else {
11405
- if (clearTimeout(S), !a.leaveDelay || a.leaveDelay <= 0) {
11406
- x.value = !1;
11407
- return;
11408
- }
11409
- C = setTimeout(() => {
11410
- a.visible || (x.value = !1);
11411
- }, a.leaveDelay);
11412
- }
11413
- }), (t, n) => (R(), l(r, {
11414
- to: "body",
11415
- disabled: a.teleport !== !0
11416
- }, [g(i, {
11417
- name: _.value,
11418
- css: e.transitionName !== "none"
11419
- }, {
11420
- default: X(() => [x.value ? (R(), d("div", A({
11421
- key: 0,
11422
- ref: "popout",
11423
- style: [q(m), { zIndex: q(v) }],
11424
- class: "vui-popout"
11425
- }, q(s)), [H(t.$slots, "default")], 16)) : u("", !0)]),
11426
- _: 3
11427
- }, 8, ["name", "css"])], 8, ["disabled"]));
11428
- }
11429
- }), bf = {
11517
+ }), wf = {
11430
11518
  ref: "contextEl",
11431
11519
  class: "vui-context-menu"
11432
- }, xf = /* @__PURE__ */ v({
11520
+ }, Tf = /* @__PURE__ */ v({
11433
11521
  __name: "ContextMenu",
11434
11522
  setup(e) {
11435
11523
  let t = J("contextEl"), n = J("anchorEl"), r = J("popoutRef"), i = B(null);
@@ -11441,8 +11529,8 @@ var $d = /* @__PURE__ */ v({
11441
11529
  y: e.clientY - n.top
11442
11530
  });
11443
11531
  }), Z(window, "keydown", (e) => {
11444
- e.key === "Escape" && Zd(r.value?.layerIndex() ?? -1) && (i.value = null);
11445
- }), (e, t) => (R(), d("div", bf, [
11532
+ e.key === "Escape" && Gd(r.value?.layerIndex() ?? -1) && (i.value = null);
11533
+ }), (e, t) => (R(), d("div", wf, [
11446
11534
  f("div", {
11447
11535
  ref: "anchorEl",
11448
11536
  class: "vui-context-menu-anchor",
@@ -11451,7 +11539,7 @@ var $d = /* @__PURE__ */ v({
11451
11539
  top: `${i.value?.y}px`
11452
11540
  })
11453
11541
  }, null, 4),
11454
- (R(), l(yf, {
11542
+ (R(), l(qd, {
11455
11543
  ref: "popoutRef",
11456
11544
  key: `${i.value?.x}${i.value?.y}`,
11457
11545
  offset: 16,
@@ -11467,7 +11555,7 @@ var $d = /* @__PURE__ */ v({
11467
11555
  H(e.$slots, "default")
11468
11556
  ], 512));
11469
11557
  }
11470
- }), Sf = { key: 1 }, Cf = /* @__PURE__ */ v({
11558
+ }), Ef = { key: 1 }, Df = /* @__PURE__ */ v({
11471
11559
  __name: "CopyClipboard",
11472
11560
  props: {
11473
11561
  text: {},
@@ -11489,14 +11577,14 @@ var $d = /* @__PURE__ */ v({
11489
11577
  }, [H(i.$slots, "default", {
11490
11578
  copy: q(t),
11491
11579
  copied: q(r)
11492
- })], 512), g(yf, {
11580
+ })], 512), g(qd, {
11493
11581
  anchor: l.value,
11494
11582
  visible: q(r) && (!!o.value || !!i.$slots.confirm),
11495
11583
  placement: e.confirmPlacement,
11496
11584
  "transition-name": e.transitionName,
11497
11585
  class: "vui-tooltip"
11498
11586
  }, {
11499
- default: X(() => [H(i.$slots, "confirm", {}, () => [typeof o.value == "string" ? (R(), d(n, { key: 0 }, [h(G(o.value), 1)], 64)) : (R(), d("p", Sf, " Copied to clipboard "))])]),
11587
+ default: X(() => [H(i.$slots, "confirm", {}, () => [typeof o.value == "string" ? (R(), d(n, { key: 0 }, [h(G(o.value), 1)], 64)) : (R(), d("p", Ef, " Copied to clipboard "))])]),
11500
11588
  _: 3
11501
11589
  }, 8, [
11502
11590
  "anchor",
@@ -11508,18 +11596,18 @@ var $d = /* @__PURE__ */ v({
11508
11596
  });
11509
11597
  //#endregion
11510
11598
  //#region node_modules/reka-ui/dist/shared/renderSlotFragments.js
11511
- function wf(e) {
11512
- return e ? e.flatMap((e) => e.type === n ? wf(e.children) : [e]) : [];
11599
+ function Of(e) {
11600
+ return e ? e.flatMap((e) => e.type === n ? Of(e.children) : [e]) : [];
11513
11601
  }
11514
11602
  //#endregion
11515
11603
  //#region node_modules/reka-ui/dist/Primitive/Slot.js
11516
- var Tf = v({
11604
+ var kf = v({
11517
11605
  name: "PrimitiveSlot",
11518
11606
  inheritAttrs: !1,
11519
11607
  setup(e, { attrs: n, slots: r }) {
11520
11608
  return () => {
11521
11609
  if (!r.default) return null;
11522
- let e = wf(r.default()), i = e.findIndex((e) => e.type !== t);
11610
+ let e = Of(r.default()), i = e.findIndex((e) => e.type !== t);
11523
11611
  if (i === -1) return e;
11524
11612
  let a = e[i];
11525
11613
  delete a.props?.ref;
@@ -11530,11 +11618,11 @@ var Tf = v({
11530
11618
  return e.length === 1 ? c : (e[i] = c, e);
11531
11619
  };
11532
11620
  }
11533
- }), Ef = [
11621
+ }), Af = [
11534
11622
  "area",
11535
11623
  "img",
11536
11624
  "input"
11537
- ], Df = v({
11625
+ ], jf = v({
11538
11626
  name: "Primitive",
11539
11627
  inheritAttrs: !1,
11540
11628
  props: {
@@ -11549,40 +11637,40 @@ var Tf = v({
11549
11637
  },
11550
11638
  setup(e, { attrs: t, slots: n }) {
11551
11639
  let r = e.asChild ? "template" : e.as;
11552
- return typeof r == "string" && Ef.includes(r) ? () => C(r, t) : r === "template" ? () => C(Tf, t, { default: n.default }) : () => C(e.as, t, { default: n.default });
11640
+ return typeof r == "string" && Af.includes(r) ? () => C(r, t) : r === "template" ? () => C(kf, t, { default: n.default }) : () => C(e.as, t, { default: n.default });
11553
11641
  }
11554
11642
  });
11555
11643
  //#endregion
11556
11644
  //#region node_modules/reka-ui/node_modules/@vueuse/shared/index.mjs
11557
- function Of(e) {
11645
+ function Mf(e) {
11558
11646
  return x() ? (te(e), !0) : !1;
11559
11647
  }
11560
- function kf(e) {
11648
+ function Nf(e) {
11561
11649
  let t = !1, n, r = y(!0);
11562
11650
  return (...i) => (t ||= (n = r.run(() => e(...i)), !0), n);
11563
11651
  }
11564
- function Af(e) {
11652
+ function Pf(e) {
11565
11653
  let t = 0, n, r, i = () => {
11566
11654
  --t, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
11567
11655
  };
11568
- return (...a) => (t += 1, r || (r = y(!0), n = r.run(() => e(...a))), Of(i), n);
11656
+ return (...a) => (t += 1, r || (r = y(!0), n = r.run(() => e(...a))), Mf(i), n);
11569
11657
  }
11570
- var jf = typeof window < "u" && typeof document < "u";
11658
+ var Ff = typeof window < "u" && typeof document < "u";
11571
11659
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
11572
- var Mf = (e) => e !== void 0, Nf = Object.prototype.toString, Pf = (e) => Nf.call(e) === "[object Object]", Ff = /* @__PURE__ */ If();
11573
- function If() {
11574
- return jf && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
11660
+ var If = (e) => e !== void 0, Lf = Object.prototype.toString, Rf = (e) => Lf.call(e) === "[object Object]", zf = /* @__PURE__ */ Bf();
11661
+ function Bf() {
11662
+ return Ff && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
11575
11663
  }
11576
- function Lf(e) {
11664
+ function Vf(e) {
11577
11665
  return e || b();
11578
11666
  }
11579
- function Rf(e) {
11667
+ function Hf(e) {
11580
11668
  return Array.isArray(e) ? e : [e];
11581
11669
  }
11582
- function zf(e, t) {
11583
- Lf(t) && I(e, t);
11670
+ function Uf(e, t) {
11671
+ Vf(t) && I(e, t);
11584
11672
  }
11585
- function Bf(e, t, n) {
11673
+ function Wf(e, t, n) {
11586
11674
  return Y(e, t, {
11587
11675
  ...n,
11588
11676
  immediate: !0
@@ -11590,56 +11678,56 @@ function Bf(e, t, n) {
11590
11678
  }
11591
11679
  //#endregion
11592
11680
  //#region node_modules/reka-ui/node_modules/@vueuse/core/index.mjs
11593
- var Vf = jf ? window : void 0;
11594
- jf && window.document, jf && window.navigator, jf && window.location;
11595
- function Hf(e) {
11681
+ var Gf = Ff ? window : void 0;
11682
+ Ff && window.document, Ff && window.navigator, Ff && window.location;
11683
+ function Kf(e) {
11596
11684
  let t = K(e);
11597
11685
  return t?.$el ?? t;
11598
11686
  }
11599
- function Uf(...e) {
11687
+ function qf(...e) {
11600
11688
  let t = [], n = () => {
11601
11689
  t.forEach((e) => e()), t.length = 0;
11602
11690
  }, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = c(() => {
11603
- let t = Rf(K(e[0])).filter((e) => e != null);
11691
+ let t = Hf(K(e[0])).filter((e) => e != null);
11604
11692
  return t.every((e) => typeof e != "string") ? t : void 0;
11605
- }), a = Bf(() => [
11606
- i.value?.map((e) => Hf(e)) ?? [Vf].filter((e) => e != null),
11607
- Rf(K(i.value ? e[1] : e[0])),
11608
- Rf(q(i.value ? e[2] : e[1])),
11693
+ }), a = Wf(() => [
11694
+ i.value?.map((e) => Kf(e)) ?? [Gf].filter((e) => e != null),
11695
+ Hf(K(i.value ? e[1] : e[0])),
11696
+ Hf(q(i.value ? e[2] : e[1])),
11609
11697
  K(i.value ? e[3] : e[2])
11610
11698
  ], ([e, i, a, o]) => {
11611
11699
  if (n(), !e?.length || !i?.length || !a?.length) return;
11612
- let s = Pf(o) ? { ...o } : o;
11700
+ let s = Rf(o) ? { ...o } : o;
11613
11701
  t.push(...e.flatMap((e) => i.flatMap((t) => a.map((n) => r(e, t, n, s)))));
11614
11702
  }, { flush: "post" });
11615
- return Of(n), () => {
11703
+ return Mf(n), () => {
11616
11704
  a(), n();
11617
11705
  };
11618
11706
  }
11619
- function Wf() {
11707
+ function Jf() {
11620
11708
  let e = W(!1), t = b();
11621
11709
  return t && L(() => {
11622
11710
  e.value = !0;
11623
11711
  }, t), e;
11624
11712
  }
11625
- function Gf(e) {
11713
+ function Yf(e) {
11626
11714
  return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
11627
11715
  }
11628
- function Kf(...e) {
11716
+ function Xf(...e) {
11629
11717
  let t, n, r = {};
11630
11718
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
11631
- let { target: i = Vf, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = Gf(t);
11632
- return Uf(i, a, (e) => {
11719
+ let { target: i = Gf, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = Yf(t);
11720
+ return qf(i, a, (e) => {
11633
11721
  e.repeat && K(s) || c(e) && n(e);
11634
11722
  }, o);
11635
11723
  }
11636
- function qf(e) {
11724
+ function Zf(e) {
11637
11725
  return JSON.parse(JSON.stringify(e));
11638
11726
  }
11639
- function Jf(e, t, n, r = {}) {
11727
+ function Qf(e, t, n, r = {}) {
11640
11728
  let { clone: i = !1, passive: a = !1, eventName: o, deep: s = !1, defaultValue: l, shouldEmit: u } = r, d = b(), f = n || d?.emit || (d?.$emit)?.bind(d) || (d?.proxy?.$emit)?.bind(d?.proxy), p = o;
11641
11729
  t ||= "modelValue", p ||= `update:${t.toString()}`;
11642
- let m = (e) => i ? typeof i == "function" ? i(e) : qf(e) : e, h = () => Mf(e[t]) ? m(e[t]) : l, g = (e) => {
11730
+ let m = (e) => i ? typeof i == "function" ? i(e) : Zf(e) : e, h = () => If(e[t]) ? m(e[t]) : l, g = (e) => {
11643
11731
  u ? u(e) && f(p, e) : f(p, e);
11644
11732
  };
11645
11733
  if (a) {
@@ -11660,7 +11748,7 @@ function Jf(e, t, n, r = {}) {
11660
11748
  }
11661
11749
  //#endregion
11662
11750
  //#region node_modules/reka-ui/dist/shared/createContext.js
11663
- function Yf(e, t) {
11751
+ function $f(e, t) {
11664
11752
  let n = typeof e == "string" && !t ? `${e}Context` : t, r = Symbol(n);
11665
11753
  return [(t) => {
11666
11754
  let n = T(r, t);
@@ -11670,11 +11758,11 @@ function Yf(e, t) {
11670
11758
  }
11671
11759
  //#endregion
11672
11760
  //#region node_modules/reka-ui/dist/ConfigProvider/ConfigProvider.js
11673
- var [Xf, Zf] = Yf("ConfigProvider");
11761
+ var [ep, tp] = $f("ConfigProvider");
11674
11762
  //#endregion
11675
11763
  //#region node_modules/reka-ui/dist/shared/useForwardExpose.js
11676
- function Qf() {
11677
- let e = b(), t = B(), n = c(() => ["#text", "#comment"].includes(t.value?.$el.nodeName) ? t.value?.$el.nextElementSibling : Hf(t)), r = Object.assign({}, e.exposed), i = {};
11764
+ function np() {
11765
+ let e = b(), t = B(), n = c(() => ["#text", "#comment"].includes(t.value?.$el.nodeName) ? t.value?.$el.nextElementSibling : Kf(t)), r = Object.assign({}, e.exposed), i = {};
11678
11766
  for (let t in e.props) Object.defineProperty(i, t, {
11679
11767
  enumerable: !0,
11680
11768
  configurable: !0,
@@ -11705,15 +11793,15 @@ function Qf() {
11705
11793
  }
11706
11794
  //#endregion
11707
11795
  //#region node_modules/reka-ui/dist/shared/useId.js
11708
- var $f = 0;
11709
- function ep(t, n = "reka") {
11796
+ var rp = 0;
11797
+ function ip(t, n = "reka") {
11710
11798
  if (t) return t;
11711
- let r = Xf({ useId: void 0 });
11712
- return e.useId ? `${n}-${e.useId()}` : r.useId ? `${n}-${r.useId()}` : `${n}-${++$f}`;
11799
+ let r = ep({ useId: void 0 });
11800
+ return e.useId ? `${n}-${e.useId()}` : r.useId ? `${n}-${r.useId()}` : `${n}-${++rp}`;
11713
11801
  }
11714
11802
  //#endregion
11715
11803
  //#region node_modules/reka-ui/dist/shared/useStateMachine.js
11716
- function tp(e, t) {
11804
+ function ap(e, t) {
11717
11805
  let n = B(e);
11718
11806
  function r(e) {
11719
11807
  return t[n.value][e] ?? n.value;
@@ -11727,8 +11815,8 @@ function tp(e, t) {
11727
11815
  }
11728
11816
  //#endregion
11729
11817
  //#region node_modules/reka-ui/dist/Presence/usePresence.js
11730
- function np(e, t) {
11731
- let n = B({}), r = B("none"), i = B(e), a = e.value ? "mounted" : "unmounted", o, s = t.value?.ownerDocument.defaultView ?? Vf, { state: l, dispatch: u } = tp(a, {
11818
+ function op(e, t) {
11819
+ let n = B({}), r = B("none"), i = B(e), a = e.value ? "mounted" : "unmounted", o, s = t.value?.ownerDocument.defaultView ?? Gf, { state: l, dispatch: u } = ap(a, {
11732
11820
  mounted: {
11733
11821
  UNMOUNT: "unmounted",
11734
11822
  ANIMATION_OUT: "unmountSuspended"
@@ -11739,7 +11827,7 @@ function np(e, t) {
11739
11827
  },
11740
11828
  unmounted: { MOUNT: "mounted" }
11741
11829
  }), d = (e) => {
11742
- if (jf) {
11830
+ if (Ff) {
11743
11831
  let n = new CustomEvent(e, {
11744
11832
  bubbles: !1,
11745
11833
  cancelable: !1
@@ -11750,12 +11838,12 @@ function np(e, t) {
11750
11838
  Y(e, async (e, i) => {
11751
11839
  let a = i !== e;
11752
11840
  if (await j(), a) {
11753
- let a = r.value, o = rp(t.value);
11841
+ let a = r.value, o = sp(t.value);
11754
11842
  e ? (u("MOUNT"), d("enter"), o === "none" && d("after-enter")) : o === "none" || o === "undefined" || n.value?.display === "none" ? (u("UNMOUNT"), d("leave"), d("after-leave")) : i && a !== o ? (u("ANIMATION_OUT"), d("leave")) : (u("UNMOUNT"), d("after-leave"));
11755
11843
  }
11756
11844
  }, { immediate: !0 });
11757
11845
  let f = (e) => {
11758
- let n = rp(t.value), r = n.includes(e.animationName), a = l.value === "mounted" ? "enter" : "leave";
11846
+ let n = sp(t.value), r = n.includes(e.animationName), a = l.value === "mounted" ? "enter" : "leave";
11759
11847
  if (e.target === t.value && r && (d(`after-${a}`), u("ANIMATION_END"), !i.value)) {
11760
11848
  let e = t.value.style.animationFillMode;
11761
11849
  t.value.style.animationFillMode = "forwards", o = s?.setTimeout(() => {
@@ -11764,23 +11852,23 @@ function np(e, t) {
11764
11852
  }
11765
11853
  e.target === t.value && n === "none" && u("ANIMATION_END");
11766
11854
  }, p = (e) => {
11767
- e.target === t.value && (r.value = rp(t.value));
11855
+ e.target === t.value && (r.value = sp(t.value));
11768
11856
  }, m = Y(t, (e, t) => {
11769
11857
  e ? (n.value = getComputedStyle(e), e.addEventListener("animationstart", p), e.addEventListener("animationcancel", f), e.addEventListener("animationend", f)) : (u("ANIMATION_END"), o !== void 0 && s?.clearTimeout(o), t?.removeEventListener("animationstart", p), t?.removeEventListener("animationcancel", f), t?.removeEventListener("animationend", f));
11770
11858
  }, { immediate: !0 }), h = Y(l, () => {
11771
- let e = rp(t.value);
11859
+ let e = sp(t.value);
11772
11860
  r.value = l.value === "mounted" ? e : "none";
11773
11861
  });
11774
11862
  return ne(() => {
11775
11863
  m(), h();
11776
11864
  }), { isPresent: c(() => ["mounted", "unmountSuspended"].includes(l.value)) };
11777
11865
  }
11778
- function rp(e) {
11866
+ function sp(e) {
11779
11867
  return e && getComputedStyle(e).animationName || "none";
11780
11868
  }
11781
11869
  //#endregion
11782
11870
  //#region node_modules/reka-ui/dist/Presence/Presence.js
11783
- var ip = v({
11871
+ var cp = v({
11784
11872
  name: "Presence",
11785
11873
  props: {
11786
11874
  present: {
@@ -11791,10 +11879,10 @@ var ip = v({
11791
11879
  },
11792
11880
  slots: {},
11793
11881
  setup(e, { slots: t, expose: n }) {
11794
- let { present: r, forceMount: i } = le(e), a = B(), { isPresent: o } = np(r, a);
11882
+ let { present: r, forceMount: i } = le(e), a = B(), { isPresent: o } = op(r, a);
11795
11883
  n({ present: o });
11796
11884
  let s = t.default({ present: o.value });
11797
- s = wf(s || []);
11885
+ s = Of(s || []);
11798
11886
  let c = b();
11799
11887
  if (s && s?.length > 1) {
11800
11888
  let e = c?.parent?.type.name ? `<${c.parent.type.name} />` : "component";
@@ -11807,14 +11895,14 @@ var ip = v({
11807
11895
  ].join("\n"));
11808
11896
  }
11809
11897
  return () => i.value || r.value || o.value ? C(t.default({ present: o.value })[0], { ref: (e) => {
11810
- let t = Hf(e);
11898
+ let t = Kf(e);
11811
11899
  return t?.hasAttribute === void 0 || (t?.hasAttribute("data-reka-popper-content-wrapper") ? a.value = t.firstElementChild : a.value = t), t;
11812
11900
  } }) : null;
11813
11901
  }
11814
11902
  });
11815
11903
  //#endregion
11816
11904
  //#region node_modules/reka-ui/dist/shared/useEmitAsProps.js
11817
- function ap(e) {
11905
+ function lp(e) {
11818
11906
  let t = b(), n = t?.type.emits, r = {};
11819
11907
  return n?.length || console.warn(`No emitted event found. Please check component: ${t?.type.__name}`), n?.forEach((t) => {
11820
11908
  r[oe(o(t))] = (...n) => e(t, ...n);
@@ -11822,7 +11910,7 @@ function ap(e) {
11822
11910
  }
11823
11911
  //#endregion
11824
11912
  //#region node_modules/reka-ui/dist/shared/useForwardProps.js
11825
- function op(e) {
11913
+ function up(e) {
11826
11914
  let t = b(), n = Object.keys(t?.type.props ?? {}).reduce((e, n) => {
11827
11915
  let r = (t?.type.props[n]).default;
11828
11916
  return r !== void 0 && (e[n] = r), e;
@@ -11839,8 +11927,8 @@ function op(e) {
11839
11927
  }
11840
11928
  //#endregion
11841
11929
  //#region node_modules/reka-ui/dist/shared/useForwardPropsEmits.js
11842
- function sp(e, t) {
11843
- let n = op(e), r = t ? ap(t) : {};
11930
+ function dp(e, t) {
11931
+ let n = up(e), r = t ? lp(t) : {};
11844
11932
  return c(() => ({
11845
11933
  ...n.value,
11846
11934
  ...r
@@ -11848,7 +11936,7 @@ function sp(e, t) {
11848
11936
  }
11849
11937
  //#endregion
11850
11938
  //#region node_modules/reka-ui/dist/Dialog/DialogRoot.js
11851
- var [cp, lp] = Yf("DialogRoot"), up = /* @__PURE__ */ v({
11939
+ var [fp, pp] = $f("DialogRoot"), mp = /* @__PURE__ */ v({
11852
11940
  inheritAttrs: !1,
11853
11941
  __name: "DialogRoot",
11854
11942
  props: {
@@ -11867,11 +11955,11 @@ var [cp, lp] = Yf("DialogRoot"), up = /* @__PURE__ */ v({
11867
11955
  },
11868
11956
  emits: ["update:open"],
11869
11957
  setup(e, { emit: t }) {
11870
- let n = e, r = Jf(n, "open", t, {
11958
+ let n = e, r = Qf(n, "open", t, {
11871
11959
  defaultValue: n.defaultOpen,
11872
11960
  passive: n.open === void 0
11873
11961
  }), i = B(), a = B(), { modal: o } = le(n);
11874
- return lp({
11962
+ return pp({
11875
11963
  open: r,
11876
11964
  modal: o,
11877
11965
  openModal: () => {
@@ -11890,7 +11978,7 @@ var [cp, lp] = Yf("DialogRoot"), up = /* @__PURE__ */ v({
11890
11978
  contentElement: a
11891
11979
  }), (e, t) => H(e.$slots, "default", { open: q(r) });
11892
11980
  }
11893
- }), dp = /* @__PURE__ */ v({
11981
+ }), hp = /* @__PURE__ */ v({
11894
11982
  __name: "Teleport",
11895
11983
  props: {
11896
11984
  to: { default: "body" },
@@ -11899,7 +11987,7 @@ var [cp, lp] = Yf("DialogRoot"), up = /* @__PURE__ */ v({
11899
11987
  forceMount: { type: Boolean }
11900
11988
  },
11901
11989
  setup(e) {
11902
- let t = Wf();
11990
+ let t = Jf();
11903
11991
  return (e, n) => q(t) || e.forceMount ? (R(), l(r, {
11904
11992
  key: 0,
11905
11993
  to: e.to,
@@ -11914,7 +12002,7 @@ var [cp, lp] = Yf("DialogRoot"), up = /* @__PURE__ */ v({
11914
12002
  });
11915
12003
  //#endregion
11916
12004
  //#region node_modules/reka-ui/dist/shared/handleAndDispatchCustomEvent.js
11917
- function fp(e, t, n) {
12005
+ function gp(e, t, n) {
11918
12006
  let r = n.originalEvent.target, i = new CustomEvent(e, {
11919
12007
  bubbles: !1,
11920
12008
  cancelable: !0,
@@ -11924,25 +12012,25 @@ function fp(e, t, n) {
11924
12012
  }
11925
12013
  //#endregion
11926
12014
  //#region node_modules/reka-ui/dist/DismissableLayer/utils.js
11927
- var pp = "dismissableLayer.pointerDownOutside", mp = "dismissableLayer.focusOutside";
11928
- function hp(e, t) {
12015
+ var _p = "dismissableLayer.pointerDownOutside", vp = "dismissableLayer.focusOutside";
12016
+ function yp(e, t) {
11929
12017
  let n = t.closest("[data-dismissable-layer]"), r = e.dataset.dismissableLayer === "" ? e : e.querySelector("[data-dismissable-layer]"), i = Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));
11930
12018
  return !!(n && r === n || i.indexOf(r) < i.indexOf(n));
11931
12019
  }
11932
- function gp(e, t) {
12020
+ function bp(e, t) {
11933
12021
  let n = t?.value?.ownerDocument ?? globalThis?.document, r = B(!1), i = B(() => {});
11934
12022
  return be((a) => {
11935
- if (!jf) return;
12023
+ if (!Ff) return;
11936
12024
  let o = async (a) => {
11937
12025
  let o = a.target;
11938
12026
  if (t?.value) {
11939
- if (hp(t.value, o)) {
12027
+ if (yp(t.value, o)) {
11940
12028
  r.value = !1;
11941
12029
  return;
11942
12030
  }
11943
12031
  if (a.target && !r.value) {
11944
12032
  let t = function() {
11945
- fp(pp, e, r);
12033
+ gp(_p, e, r);
11946
12034
  }, r = { originalEvent: a };
11947
12035
  a.pointerType === "touch" ? (n.removeEventListener("click", i.value), i.value = t, n.addEventListener("click", i.value, { once: !0 })) : t();
11948
12036
  } else n.removeEventListener("click", i.value);
@@ -11956,12 +12044,12 @@ function gp(e, t) {
11956
12044
  });
11957
12045
  }), { onPointerDownCapture: () => r.value = !0 };
11958
12046
  }
11959
- function _p(e, t) {
12047
+ function xp(e, t) {
11960
12048
  let n = t?.value?.ownerDocument ?? globalThis?.document, r = B(!1);
11961
12049
  return be((i) => {
11962
- if (!jf) return;
12050
+ if (!Ff) return;
11963
12051
  let a = async (n) => {
11964
- t?.value && (await j(), await j(), !(!t.value || hp(t.value, n.target)) && n.target && !r.value && fp(mp, e, { originalEvent: n }));
12052
+ t?.value && (await j(), await j(), !(!t.value || yp(t.value, n.target)) && n.target && !r.value && gp(vp, e, { originalEvent: n }));
11965
12053
  };
11966
12054
  n.addEventListener("focusin", a), i(() => n.removeEventListener("focusin", a));
11967
12055
  }), {
@@ -11971,11 +12059,11 @@ function _p(e, t) {
11971
12059
  }
11972
12060
  //#endregion
11973
12061
  //#region node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
11974
- var vp = ie({
12062
+ var Sp = ie({
11975
12063
  layersRoot: /* @__PURE__ */ new Set(),
11976
12064
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
11977
12065
  branches: /* @__PURE__ */ new Set()
11978
- }), yp = /* @__PURE__ */ v({
12066
+ }), Cp = /* @__PURE__ */ v({
11979
12067
  __name: "DismissableLayer",
11980
12068
  props: {
11981
12069
  disableOutsidePointerEvents: {
@@ -11993,28 +12081,28 @@ var vp = ie({
11993
12081
  "dismiss"
11994
12082
  ],
11995
12083
  setup(e, { emit: t }) {
11996
- let n = e, r = t, { forwardRef: i, currentElement: a } = Qf(), o = c(() => a.value?.ownerDocument ?? globalThis.document), s = c(() => vp.layersRoot), u = c(() => a.value ? Array.from(s.value).indexOf(a.value) : -1), d = c(() => vp.layersWithOutsidePointerEventsDisabled.size > 0), f = c(() => {
11997
- let e = Array.from(s.value), [t] = [...vp.layersWithOutsidePointerEventsDisabled].slice(-1), n = e.indexOf(t);
12084
+ let n = e, r = t, { forwardRef: i, currentElement: a } = np(), o = c(() => a.value?.ownerDocument ?? globalThis.document), s = c(() => Sp.layersRoot), u = c(() => a.value ? Array.from(s.value).indexOf(a.value) : -1), d = c(() => Sp.layersWithOutsidePointerEventsDisabled.size > 0), f = c(() => {
12085
+ let e = Array.from(s.value), [t] = [...Sp.layersWithOutsidePointerEventsDisabled].slice(-1), n = e.indexOf(t);
11998
12086
  return u.value >= n;
11999
- }), p = gp(async (e) => {
12000
- let t = [...vp.branches].some((t) => t?.contains(e.target));
12087
+ }), p = bp(async (e) => {
12088
+ let t = [...Sp.branches].some((t) => t?.contains(e.target));
12001
12089
  !f.value || t || (r("pointerDownOutside", e), r("interactOutside", e), await j(), e.defaultPrevented || r("dismiss"));
12002
- }, a), m = _p((e) => {
12003
- [...vp.branches].some((t) => t?.contains(e.target)) || (r("focusOutside", e), r("interactOutside", e), e.defaultPrevented || r("dismiss"));
12090
+ }, a), m = xp((e) => {
12091
+ [...Sp.branches].some((t) => t?.contains(e.target)) || (r("focusOutside", e), r("interactOutside", e), e.defaultPrevented || r("dismiss"));
12004
12092
  }, a);
12005
- Kf("Escape", (e) => {
12093
+ Xf("Escape", (e) => {
12006
12094
  u.value === s.value.size - 1 && (r("escapeKeyDown", e), e.defaultPrevented || r("dismiss"));
12007
12095
  });
12008
12096
  let h;
12009
12097
  return be((e) => {
12010
- a.value && (n.disableOutsidePointerEvents && (vp.layersWithOutsidePointerEventsDisabled.size === 0 && (h = o.value.body.style.pointerEvents, o.value.body.style.pointerEvents = "none"), vp.layersWithOutsidePointerEventsDisabled.add(a.value)), s.value.add(a.value), e(() => {
12011
- n.disableOutsidePointerEvents && vp.layersWithOutsidePointerEventsDisabled.size === 1 && (o.value.body.style.pointerEvents = h);
12098
+ a.value && (n.disableOutsidePointerEvents && (Sp.layersWithOutsidePointerEventsDisabled.size === 0 && (h = o.value.body.style.pointerEvents, o.value.body.style.pointerEvents = "none"), Sp.layersWithOutsidePointerEventsDisabled.add(a.value)), s.value.add(a.value), e(() => {
12099
+ n.disableOutsidePointerEvents && Sp.layersWithOutsidePointerEventsDisabled.size === 1 && (o.value.body.style.pointerEvents = h);
12012
12100
  }));
12013
12101
  }), be((e) => {
12014
12102
  e(() => {
12015
- a.value && (s.value.delete(a.value), vp.layersWithOutsidePointerEventsDisabled.delete(a.value));
12103
+ a.value && (s.value.delete(a.value), Sp.layersWithOutsidePointerEventsDisabled.delete(a.value));
12016
12104
  });
12017
- }), (e, t) => (R(), l(q(Df), {
12105
+ }), (e, t) => (R(), l(q(jf), {
12018
12106
  ref: q(i),
12019
12107
  "as-child": e.asChild,
12020
12108
  as: e.as,
@@ -12038,7 +12126,7 @@ var vp = ie({
12038
12126
  });
12039
12127
  //#endregion
12040
12128
  //#region node_modules/reka-ui/dist/shared/getActiveElement.js
12041
- function bp() {
12129
+ function wp() {
12042
12130
  let e = document.activeElement;
12043
12131
  if (e == null) return null;
12044
12132
  for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null;) e = e.shadowRoot.activeElement;
@@ -12046,23 +12134,23 @@ function bp() {
12046
12134
  }
12047
12135
  //#endregion
12048
12136
  //#region node_modules/reka-ui/dist/Menu/utils.js
12049
- var xp = ["Enter", " "], Sp = [
12137
+ var Tp = ["Enter", " "], Ep = [
12050
12138
  "ArrowDown",
12051
12139
  "PageUp",
12052
12140
  "Home"
12053
- ], Cp = [
12141
+ ], Dp = [
12054
12142
  "ArrowUp",
12055
12143
  "PageDown",
12056
12144
  "End"
12057
12145
  ];
12058
- [...Sp, ...Cp], [...xp], [...xp];
12059
- function wp(e) {
12146
+ [...Ep, ...Dp], [...Tp], [...Tp];
12147
+ function Op(e) {
12060
12148
  return e ? "open" : "closed";
12061
12149
  }
12062
12150
  //#endregion
12063
12151
  //#region node_modules/reka-ui/dist/Dialog/utils.js
12064
- var Tp = "DialogTitle", Ep = "DialogContent";
12065
- function Dp({ titleName: e = Tp, contentName: t = Ep, componentLink: n = "dialog.html#title", titleId: r, descriptionId: i, contentElement: a }) {
12152
+ var kp = "DialogTitle", Ap = "DialogContent";
12153
+ function jp({ titleName: e = kp, contentName: t = Ap, componentLink: n = "dialog.html#title", titleId: r, descriptionId: i, contentElement: a }) {
12066
12154
  let o = `Warning: \`${t}\` requires a \`${e}\` for the component to be accessible for screen reader users.
12067
12155
 
12068
12156
  If you want to hide the \`${e}\`, you can wrap it with our VisuallyHidden component.
@@ -12076,19 +12164,19 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`, s = `Wa
12076
12164
  }
12077
12165
  //#endregion
12078
12166
  //#region node_modules/reka-ui/dist/FocusScope/utils.js
12079
- var Op = "focusScope.autoFocusOnMount", kp = "focusScope.autoFocusOnUnmount", Ap = {
12167
+ var Mp = "focusScope.autoFocusOnMount", Np = "focusScope.autoFocusOnUnmount", Pp = {
12080
12168
  bubbles: !1,
12081
12169
  cancelable: !0
12082
12170
  };
12083
- function jp(e, { select: t = !1 } = {}) {
12084
- let n = bp();
12085
- for (let r of e) if (Lp(r, { select: t }), bp() !== n) return !0;
12171
+ function Fp(e, { select: t = !1 } = {}) {
12172
+ let n = wp();
12173
+ for (let r of e) if (Vp(r, { select: t }), wp() !== n) return !0;
12086
12174
  }
12087
- function Mp(e) {
12088
- let t = Np(e);
12089
- return [Pp(t, e), Pp(t.reverse(), e)];
12175
+ function Ip(e) {
12176
+ let t = Lp(e);
12177
+ return [Rp(t, e), Rp(t.reverse(), e)];
12090
12178
  }
12091
- function Np(e) {
12179
+ function Lp(e) {
12092
12180
  let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
12093
12181
  let t = e.tagName === "INPUT" && e.type === "hidden";
12094
12182
  return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
@@ -12096,10 +12184,10 @@ function Np(e) {
12096
12184
  for (; n.nextNode();) t.push(n.currentNode);
12097
12185
  return t;
12098
12186
  }
12099
- function Pp(e, t) {
12100
- for (let n of e) if (!Fp(n, { upTo: t })) return n;
12187
+ function Rp(e, t) {
12188
+ for (let n of e) if (!zp(n, { upTo: t })) return n;
12101
12189
  }
12102
- function Fp(e, { upTo: t }) {
12190
+ function zp(e, { upTo: t }) {
12103
12191
  if (getComputedStyle(e).visibility === "hidden") return !0;
12104
12192
  for (; e;) {
12105
12193
  if (t !== void 0 && e === t) return !1;
@@ -12108,40 +12196,40 @@ function Fp(e, { upTo: t }) {
12108
12196
  }
12109
12197
  return !1;
12110
12198
  }
12111
- function Ip(e) {
12199
+ function Bp(e) {
12112
12200
  return e instanceof HTMLInputElement && "select" in e;
12113
12201
  }
12114
- function Lp(e, { select: t = !1 } = {}) {
12202
+ function Vp(e, { select: t = !1 } = {}) {
12115
12203
  if (e && e.focus) {
12116
- let n = bp();
12117
- e.focus({ preventScroll: !0 }), e !== n && Ip(e) && t && e.select();
12204
+ let n = wp();
12205
+ e.focus({ preventScroll: !0 }), e !== n && Bp(e) && t && e.select();
12118
12206
  }
12119
12207
  }
12120
12208
  //#endregion
12121
12209
  //#region node_modules/reka-ui/dist/FocusScope/stack.js
12122
- var Rp = kf(() => B([]));
12123
- function zp() {
12124
- let e = Rp();
12210
+ var Hp = Nf(() => B([]));
12211
+ function Up() {
12212
+ let e = Hp();
12125
12213
  return {
12126
12214
  add(t) {
12127
12215
  let n = e.value[0];
12128
- t !== n && n?.pause(), e.value = Bp(e.value, t), e.value.unshift(t);
12216
+ t !== n && n?.pause(), e.value = Wp(e.value, t), e.value.unshift(t);
12129
12217
  },
12130
12218
  remove(t) {
12131
- e.value = Bp(e.value, t), e.value[0]?.resume();
12219
+ e.value = Wp(e.value, t), e.value[0]?.resume();
12132
12220
  }
12133
12221
  };
12134
12222
  }
12135
- function Bp(e, t) {
12223
+ function Wp(e, t) {
12136
12224
  let n = [...e], r = n.indexOf(t);
12137
12225
  return r !== -1 && n.splice(r, 1), n;
12138
12226
  }
12139
- function Vp(e) {
12227
+ function Gp(e) {
12140
12228
  return e.filter((e) => e.tagName !== "A");
12141
12229
  }
12142
12230
  //#endregion
12143
12231
  //#region node_modules/reka-ui/dist/FocusScope/FocusScope.js
12144
- var Hp = /* @__PURE__ */ v({
12232
+ var Kp = /* @__PURE__ */ v({
12145
12233
  __name: "FocusScope",
12146
12234
  props: {
12147
12235
  loop: {
@@ -12157,7 +12245,7 @@ var Hp = /* @__PURE__ */ v({
12157
12245
  },
12158
12246
  emits: ["mountAutoFocus", "unmountAutoFocus"],
12159
12247
  setup(e, { emit: t }) {
12160
- let n = e, r = t, { currentRef: i, currentElement: a } = Qf(), o = B(null), s = zp(), c = ie({
12248
+ let n = e, r = t, { currentRef: i, currentElement: a } = np(), o = B(null), s = Up(), c = ie({
12161
12249
  paused: !1,
12162
12250
  pause() {
12163
12251
  this.paused = !0;
@@ -12167,21 +12255,21 @@ var Hp = /* @__PURE__ */ v({
12167
12255
  }
12168
12256
  });
12169
12257
  be((e) => {
12170
- if (!jf) return;
12258
+ if (!Ff) return;
12171
12259
  let t = a.value;
12172
12260
  if (!n.trapped) return;
12173
12261
  function r(e) {
12174
12262
  if (c.paused || !t) return;
12175
12263
  let n = e.target;
12176
- t.contains(n) ? o.value = n : Lp(o.value, { select: !0 });
12264
+ t.contains(n) ? o.value = n : Vp(o.value, { select: !0 });
12177
12265
  }
12178
12266
  function i(e) {
12179
12267
  if (c.paused || !t) return;
12180
12268
  let n = e.relatedTarget;
12181
- n !== null && (t.contains(n) || Lp(o.value, { select: !0 }));
12269
+ n !== null && (t.contains(n) || Vp(o.value, { select: !0 }));
12182
12270
  }
12183
12271
  function s(e) {
12184
- t.contains(o.value) || Lp(t);
12272
+ t.contains(o.value) || Vp(t);
12185
12273
  }
12186
12274
  document.addEventListener("focusin", r), document.addEventListener("focusout", i);
12187
12275
  let l = new MutationObserver(s);
@@ -12195,30 +12283,30 @@ var Hp = /* @__PURE__ */ v({
12195
12283
  let t = a.value;
12196
12284
  if (await j(), !t) return;
12197
12285
  s.add(c);
12198
- let n = bp();
12286
+ let n = wp();
12199
12287
  if (!t.contains(n)) {
12200
- let e = new CustomEvent(Op, Ap);
12201
- t.addEventListener(Op, (e) => r("mountAutoFocus", e)), t.dispatchEvent(e), e.defaultPrevented || (jp(Vp(Np(t)), { select: !0 }), bp() === n && Lp(t));
12288
+ let e = new CustomEvent(Mp, Pp);
12289
+ t.addEventListener(Mp, (e) => r("mountAutoFocus", e)), t.dispatchEvent(e), e.defaultPrevented || (Fp(Gp(Lp(t)), { select: !0 }), wp() === n && Vp(t));
12202
12290
  }
12203
12291
  e(() => {
12204
- t.removeEventListener(Op, (e) => r("mountAutoFocus", e));
12205
- let e = new CustomEvent(kp, Ap), i = (e) => {
12292
+ t.removeEventListener(Mp, (e) => r("mountAutoFocus", e));
12293
+ let e = new CustomEvent(Np, Pp), i = (e) => {
12206
12294
  r("unmountAutoFocus", e);
12207
12295
  };
12208
- t.addEventListener(kp, i), t.dispatchEvent(e), setTimeout(() => {
12209
- e.defaultPrevented || Lp(n ?? document.body, { select: !0 }), t.removeEventListener(kp, i), s.remove(c);
12296
+ t.addEventListener(Np, i), t.dispatchEvent(e), setTimeout(() => {
12297
+ e.defaultPrevented || Vp(n ?? document.body, { select: !0 }), t.removeEventListener(Np, i), s.remove(c);
12210
12298
  }, 0);
12211
12299
  });
12212
12300
  });
12213
12301
  function u(e) {
12214
12302
  if (!n.loop && !n.trapped || c.paused) return;
12215
- let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, r = bp();
12303
+ let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, r = wp();
12216
12304
  if (t && r) {
12217
- let t = e.currentTarget, [i, a] = Mp(t);
12218
- i && a ? !e.shiftKey && r === a ? (e.preventDefault(), n.loop && Lp(i, { select: !0 })) : e.shiftKey && r === i && (e.preventDefault(), n.loop && Lp(a, { select: !0 })) : r === t && e.preventDefault();
12305
+ let t = e.currentTarget, [i, a] = Ip(t);
12306
+ i && a ? !e.shiftKey && r === a ? (e.preventDefault(), n.loop && Vp(i, { select: !0 })) : e.shiftKey && r === i && (e.preventDefault(), n.loop && Vp(a, { select: !0 })) : r === t && e.preventDefault();
12219
12307
  }
12220
12308
  }
12221
- return (e, t) => (R(), l(q(Df), {
12309
+ return (e, t) => (R(), l(q(jf), {
12222
12310
  ref_key: "currentRef",
12223
12311
  ref: i,
12224
12312
  tabindex: "-1",
@@ -12230,7 +12318,7 @@ var Hp = /* @__PURE__ */ v({
12230
12318
  _: 3
12231
12319
  }, 8, ["as-child", "as"]));
12232
12320
  }
12233
- }), Up = /* @__PURE__ */ v({
12321
+ }), qp = /* @__PURE__ */ v({
12234
12322
  __name: "DialogContentImpl",
12235
12323
  props: {
12236
12324
  forceMount: { type: Boolean },
@@ -12248,24 +12336,24 @@ var Hp = /* @__PURE__ */ v({
12248
12336
  "closeAutoFocus"
12249
12337
  ],
12250
12338
  setup(e, { emit: t }) {
12251
- let n = e, r = t, i = cp(), { forwardRef: a, currentElement: o } = Qf();
12252
- return i.titleId ||= ep(void 0, "reka-dialog-title"), i.descriptionId ||= ep(void 0, "reka-dialog-description"), L(() => {
12253
- i.contentElement = o, bp() !== document.body && (i.triggerElement.value = bp());
12254
- }), process.env.NODE_ENV !== "production" && Dp({
12339
+ let n = e, r = t, i = fp(), { forwardRef: a, currentElement: o } = np();
12340
+ return i.titleId ||= ip(void 0, "reka-dialog-title"), i.descriptionId ||= ip(void 0, "reka-dialog-description"), L(() => {
12341
+ i.contentElement = o, wp() !== document.body && (i.triggerElement.value = wp());
12342
+ }), process.env.NODE_ENV !== "production" && jp({
12255
12343
  titleName: "DialogTitle",
12256
12344
  contentName: "DialogContent",
12257
12345
  componentLink: "dialog.html#title",
12258
12346
  titleId: i.titleId,
12259
12347
  descriptionId: i.descriptionId,
12260
12348
  contentElement: o
12261
- }), (e, t) => (R(), l(q(Hp), {
12349
+ }), (e, t) => (R(), l(q(Kp), {
12262
12350
  "as-child": "",
12263
12351
  loop: "",
12264
12352
  trapped: n.trapFocus,
12265
12353
  onMountAutoFocus: t[5] ||= (e) => r("openAutoFocus", e),
12266
12354
  onUnmountAutoFocus: t[6] ||= (e) => r("closeAutoFocus", e)
12267
12355
  }, {
12268
- default: X(() => [g(q(yp), A({
12356
+ default: X(() => [g(q(Cp), A({
12269
12357
  id: q(i).contentId,
12270
12358
  ref: q(a),
12271
12359
  as: e.as,
@@ -12274,7 +12362,7 @@ var Hp = /* @__PURE__ */ v({
12274
12362
  role: "dialog",
12275
12363
  "aria-describedby": q(i).descriptionId,
12276
12364
  "aria-labelledby": q(i).titleId,
12277
- "data-state": q(wp)(q(i).open.value)
12365
+ "data-state": q(Op)(q(i).open.value)
12278
12366
  }, e.$attrs, {
12279
12367
  onDismiss: t[0] ||= (e) => q(i).onOpenChange(!1),
12280
12368
  onEscapeKeyDown: t[1] ||= (e) => r("escapeKeyDown", e),
@@ -12296,22 +12384,22 @@ var Hp = /* @__PURE__ */ v({
12296
12384
  _: 3
12297
12385
  }, 8, ["trapped"]));
12298
12386
  }
12299
- }), Wp = function(e) {
12387
+ }), Jp = function(e) {
12300
12388
  return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
12301
- }, Gp = /* @__PURE__ */ new WeakMap(), Kp = /* @__PURE__ */ new WeakMap(), qp = {}, Jp = 0, Yp = function(e) {
12302
- return e && (e.host || Yp(e.parentNode));
12303
- }, Xp = function(e, t) {
12389
+ }, Yp = /* @__PURE__ */ new WeakMap(), Xp = /* @__PURE__ */ new WeakMap(), Zp = {}, Qp = 0, $p = function(e) {
12390
+ return e && (e.host || $p(e.parentNode));
12391
+ }, em = function(e, t) {
12304
12392
  return t.map(function(t) {
12305
12393
  if (e.contains(t)) return t;
12306
- var n = Yp(t);
12394
+ var n = $p(t);
12307
12395
  return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
12308
12396
  }).filter(function(e) {
12309
12397
  return !!e;
12310
12398
  });
12311
- }, Zp = function(e, t, n, r) {
12312
- var i = Xp(t, Array.isArray(e) ? e : [e]);
12313
- qp[n] || (qp[n] = /* @__PURE__ */ new WeakMap());
12314
- var a = qp[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
12399
+ }, tm = function(e, t, n, r) {
12400
+ var i = em(t, Array.isArray(e) ? e : [e]);
12401
+ Zp[n] || (Zp[n] = /* @__PURE__ */ new WeakMap());
12402
+ var a = Zp[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
12315
12403
  !e || s.has(e) || (s.add(e), l(e.parentNode));
12316
12404
  };
12317
12405
  i.forEach(l);
@@ -12319,39 +12407,39 @@ var Hp = /* @__PURE__ */ v({
12319
12407
  !e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
12320
12408
  if (s.has(e)) u(e);
12321
12409
  else try {
12322
- var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Gp.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
12323
- Gp.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Kp.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
12410
+ var t = e.getAttribute(r), i = t !== null && t !== "false", c = (Yp.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
12411
+ Yp.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Xp.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
12324
12412
  } catch (t) {
12325
12413
  console.error("aria-hidden: cannot operate on ", e, t);
12326
12414
  }
12327
12415
  });
12328
12416
  };
12329
- return u(t), s.clear(), Jp++, function() {
12417
+ return u(t), s.clear(), Qp++, function() {
12330
12418
  o.forEach(function(e) {
12331
- var t = Gp.get(e) - 1, i = a.get(e) - 1;
12332
- Gp.set(e, t), a.set(e, i), t || (Kp.has(e) || e.removeAttribute(r), Kp.delete(e)), i || e.removeAttribute(n);
12333
- }), Jp--, Jp || (Gp = /* @__PURE__ */ new WeakMap(), Gp = /* @__PURE__ */ new WeakMap(), Kp = /* @__PURE__ */ new WeakMap(), qp = {});
12419
+ var t = Yp.get(e) - 1, i = a.get(e) - 1;
12420
+ Yp.set(e, t), a.set(e, i), t || (Xp.has(e) || e.removeAttribute(r), Xp.delete(e)), i || e.removeAttribute(n);
12421
+ }), Qp--, Qp || (Yp = /* @__PURE__ */ new WeakMap(), Yp = /* @__PURE__ */ new WeakMap(), Xp = /* @__PURE__ */ new WeakMap(), Zp = {});
12334
12422
  };
12335
- }, Qp = function(e, t, n) {
12423
+ }, nm = function(e, t, n) {
12336
12424
  n === void 0 && (n = "data-aria-hidden");
12337
- var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Wp(e);
12338
- return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live]"))), Zp(r, i, n, "aria-hidden")) : function() {
12425
+ var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Jp(e);
12426
+ return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live]"))), tm(r, i, n, "aria-hidden")) : function() {
12339
12427
  return null;
12340
12428
  };
12341
12429
  };
12342
12430
  //#endregion
12343
12431
  //#region node_modules/reka-ui/dist/shared/useHideOthers.js
12344
- function $p(e) {
12432
+ function rm(e) {
12345
12433
  let t;
12346
- Y(() => Hf(e), (e) => {
12347
- e ? t = Qp(e) : t && t();
12434
+ Y(() => Kf(e), (e) => {
12435
+ e ? t = nm(e) : t && t();
12348
12436
  }), ne(() => {
12349
12437
  t && t();
12350
12438
  });
12351
12439
  }
12352
12440
  //#endregion
12353
12441
  //#region node_modules/reka-ui/dist/Dialog/DialogContentModal.js
12354
- var em = /* @__PURE__ */ v({
12442
+ var im = /* @__PURE__ */ v({
12355
12443
  __name: "DialogContentModal",
12356
12444
  props: {
12357
12445
  forceMount: { type: Boolean },
@@ -12369,8 +12457,8 @@ var em = /* @__PURE__ */ v({
12369
12457
  "closeAutoFocus"
12370
12458
  ],
12371
12459
  setup(e, { emit: t }) {
12372
- let n = e, r = t, i = cp(), a = ap(r), { forwardRef: o, currentElement: s } = Qf();
12373
- return $p(s), (e, t) => (R(), l(Up, A({
12460
+ let n = e, r = t, i = fp(), a = lp(r), { forwardRef: o, currentElement: s } = np();
12461
+ return rm(s), (e, t) => (R(), l(qp, A({
12374
12462
  ...n,
12375
12463
  ...q(a)
12376
12464
  }, {
@@ -12392,7 +12480,7 @@ var em = /* @__PURE__ */ v({
12392
12480
  _: 3
12393
12481
  }, 16, ["trap-focus"]));
12394
12482
  }
12395
- }), tm = /* @__PURE__ */ v({
12483
+ }), am = /* @__PURE__ */ v({
12396
12484
  __name: "DialogContentNonModal",
12397
12485
  props: {
12398
12486
  forceMount: { type: Boolean },
@@ -12410,10 +12498,10 @@ var em = /* @__PURE__ */ v({
12410
12498
  "closeAutoFocus"
12411
12499
  ],
12412
12500
  setup(e, { emit: t }) {
12413
- let n = e, r = ap(t);
12414
- Qf();
12415
- let i = cp(), a = B(!1), o = B(!1);
12416
- return (e, t) => (R(), l(Up, A({
12501
+ let n = e, r = lp(t);
12502
+ np();
12503
+ let i = fp(), a = B(!1), o = B(!1);
12504
+ return (e, t) => (R(), l(qp, A({
12417
12505
  ...n,
12418
12506
  ...q(r)
12419
12507
  }, {
@@ -12432,7 +12520,7 @@ var em = /* @__PURE__ */ v({
12432
12520
  _: 3
12433
12521
  }, 16));
12434
12522
  }
12435
- }), nm = /* @__PURE__ */ v({
12523
+ }), om = /* @__PURE__ */ v({
12436
12524
  __name: "DialogContent",
12437
12525
  props: {
12438
12526
  forceMount: { type: Boolean },
@@ -12450,9 +12538,9 @@ var em = /* @__PURE__ */ v({
12450
12538
  "closeAutoFocus"
12451
12539
  ],
12452
12540
  setup(e, { emit: t }) {
12453
- let n = e, r = t, i = cp(), a = ap(r), { forwardRef: o } = Qf();
12454
- return (e, t) => (R(), l(q(ip), { present: e.forceMount || q(i).open.value }, {
12455
- default: X(() => [q(i).modal.value ? (R(), l(em, A({
12541
+ let n = e, r = t, i = fp(), a = lp(r), { forwardRef: o } = np();
12542
+ return (e, t) => (R(), l(q(cp), { present: e.forceMount || q(i).open.value }, {
12543
+ default: X(() => [q(i).modal.value ? (R(), l(im, A({
12456
12544
  key: 0,
12457
12545
  ref: q(o)
12458
12546
  }, {
@@ -12462,7 +12550,7 @@ var em = /* @__PURE__ */ v({
12462
12550
  }), {
12463
12551
  default: X(() => [H(e.$slots, "default")]),
12464
12552
  _: 3
12465
- }, 16)) : (R(), l(tm, A({
12553
+ }, 16)) : (R(), l(am, A({
12466
12554
  key: 1,
12467
12555
  ref: q(o)
12468
12556
  }, {
@@ -12479,33 +12567,33 @@ var em = /* @__PURE__ */ v({
12479
12567
  });
12480
12568
  //#endregion
12481
12569
  //#region node_modules/defu/dist/defu.mjs
12482
- function rm(e) {
12570
+ function sm(e) {
12483
12571
  if (typeof e != "object" || !e) return !1;
12484
12572
  let t = Object.getPrototypeOf(e);
12485
12573
  return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0;
12486
12574
  }
12487
- function im(e, t, n = ".", r) {
12488
- if (!rm(t)) return im(e, {}, n, r);
12575
+ function cm(e, t, n = ".", r) {
12576
+ if (!sm(t)) return cm(e, {}, n, r);
12489
12577
  let i = Object.assign({}, t);
12490
12578
  for (let t in e) {
12491
12579
  if (t === "__proto__" || t === "constructor") continue;
12492
12580
  let a = e[t];
12493
- a != null && (r && r(i, t, a, n) || (Array.isArray(a) && Array.isArray(i[t]) ? i[t] = [...a, ...i[t]] : rm(a) && rm(i[t]) ? i[t] = im(a, i[t], (n ? `${n}.` : "") + t.toString(), r) : i[t] = a));
12581
+ a != null && (r && r(i, t, a, n) || (Array.isArray(a) && Array.isArray(i[t]) ? i[t] = [...a, ...i[t]] : sm(a) && sm(i[t]) ? i[t] = cm(a, i[t], (n ? `${n}.` : "") + t.toString(), r) : i[t] = a));
12494
12582
  }
12495
12583
  return i;
12496
12584
  }
12497
- function am(e) {
12498
- return (...t) => t.reduce((t, n) => im(t, n, "", e), {});
12585
+ function lm(e) {
12586
+ return (...t) => t.reduce((t, n) => cm(t, n, "", e), {});
12499
12587
  }
12500
- var om = am(), sm = Af(() => {
12588
+ var um = lm(), dm = Pf(() => {
12501
12589
  let e = B(/* @__PURE__ */ new Map()), t = B(), n = c(() => {
12502
12590
  for (let t of e.value.values()) if (t) return !0;
12503
12591
  return !1;
12504
- }), r = Xf({ scrollBody: B(!0) }), i = null, a = () => {
12505
- document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", Ff && i?.(), t.value = void 0;
12592
+ }), r = ep({ scrollBody: B(!0) }), i = null, a = () => {
12593
+ document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", zf && i?.(), t.value = void 0;
12506
12594
  };
12507
12595
  return Y(n, (e, n) => {
12508
- if (!jf) return;
12596
+ if (!Ff) return;
12509
12597
  if (!e) {
12510
12598
  n && a();
12511
12599
  return;
@@ -12514,14 +12602,14 @@ var om = am(), sm = Af(() => {
12514
12602
  let o = window.innerWidth - document.documentElement.clientWidth, s = {
12515
12603
  padding: o,
12516
12604
  margin: 0
12517
- }, c = r.scrollBody?.value ? typeof r.scrollBody.value == "object" ? om({
12605
+ }, c = r.scrollBody?.value ? typeof r.scrollBody.value == "object" ? um({
12518
12606
  padding: r.scrollBody.value.padding === !0 ? o : r.scrollBody.value.padding,
12519
12607
  margin: r.scrollBody.value.margin === !0 ? o : r.scrollBody.value.margin
12520
12608
  }, s) : s : {
12521
12609
  padding: 0,
12522
12610
  margin: 0
12523
12611
  };
12524
- o > 0 && (document.body.style.paddingRight = typeof c.padding == "number" ? `${c.padding}px` : String(c.padding), document.body.style.marginRight = typeof c.margin == "number" ? `${c.margin}px` : String(c.margin), document.body.style.setProperty("--scrollbar-width", `${o}px`), document.body.style.overflow = "hidden"), Ff && (i = Uf(document, "touchmove", (e) => um(e), { passive: !1 })), j(() => {
12612
+ o > 0 && (document.body.style.paddingRight = typeof c.padding == "number" ? `${c.padding}px` : String(c.padding), document.body.style.marginRight = typeof c.margin == "number" ? `${c.margin}px` : String(c.margin), document.body.style.setProperty("--scrollbar-width", `${o}px`), document.body.style.overflow = "hidden"), zf && (i = qf(document, "touchmove", (e) => mm(e), { passive: !1 })), j(() => {
12525
12613
  document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden";
12526
12614
  });
12527
12615
  }, {
@@ -12529,40 +12617,40 @@ var om = am(), sm = Af(() => {
12529
12617
  flush: "sync"
12530
12618
  }), e;
12531
12619
  });
12532
- function cm(e) {
12533
- let t = Math.random().toString(36).substring(2, 7), n = sm();
12620
+ function fm(e) {
12621
+ let t = Math.random().toString(36).substring(2, 7), n = dm();
12534
12622
  n.value.set(t, e ?? !1);
12535
12623
  let r = c({
12536
12624
  get: () => n.value.get(t) ?? !1,
12537
12625
  set: (e) => n.value.set(t, e)
12538
12626
  });
12539
- return zf(() => {
12627
+ return Uf(() => {
12540
12628
  n.value.delete(t);
12541
12629
  }), r;
12542
12630
  }
12543
- function lm(e) {
12631
+ function pm(e) {
12544
12632
  let t = window.getComputedStyle(e);
12545
12633
  if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
12546
12634
  {
12547
12635
  let t = e.parentNode;
12548
- return !(t instanceof Element) || t.tagName === "BODY" ? !1 : lm(t);
12636
+ return !(t instanceof Element) || t.tagName === "BODY" ? !1 : pm(t);
12549
12637
  }
12550
12638
  }
12551
- function um(e) {
12639
+ function mm(e) {
12552
12640
  let t = e || window.event, n = t.target;
12553
- return n instanceof Element && lm(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1);
12641
+ return n instanceof Element && pm(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1);
12554
12642
  }
12555
12643
  //#endregion
12556
12644
  //#region node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js
12557
- var dm = /* @__PURE__ */ v({
12645
+ var hm = /* @__PURE__ */ v({
12558
12646
  __name: "DialogOverlayImpl",
12559
12647
  props: {
12560
12648
  asChild: { type: Boolean },
12561
12649
  as: {}
12562
12650
  },
12563
12651
  setup(e) {
12564
- let t = cp();
12565
- return cm(!0), Qf(), (e, n) => (R(), l(q(Df), {
12652
+ let t = fp();
12653
+ return fm(!0), np(), (e, n) => (R(), l(q(jf), {
12566
12654
  as: e.as,
12567
12655
  "as-child": e.asChild,
12568
12656
  "data-state": q(t).open.value ? "open" : "closed",
@@ -12576,7 +12664,7 @@ var dm = /* @__PURE__ */ v({
12576
12664
  "data-state"
12577
12665
  ]));
12578
12666
  }
12579
- }), fm = /* @__PURE__ */ v({
12667
+ }), gm = /* @__PURE__ */ v({
12580
12668
  __name: "DialogOverlay",
12581
12669
  props: {
12582
12670
  forceMount: { type: Boolean },
@@ -12584,12 +12672,12 @@ var dm = /* @__PURE__ */ v({
12584
12672
  as: {}
12585
12673
  },
12586
12674
  setup(e) {
12587
- let t = cp(), { forwardRef: n } = Qf();
12588
- return (e, r) => q(t)?.modal.value ? (R(), l(q(ip), {
12675
+ let t = fp(), { forwardRef: n } = np();
12676
+ return (e, r) => q(t)?.modal.value ? (R(), l(q(cp), {
12589
12677
  key: 0,
12590
12678
  present: e.forceMount || q(t).open.value
12591
12679
  }, {
12592
- default: X(() => [g(dm, A(e.$attrs, {
12680
+ default: X(() => [g(hm, A(e.$attrs, {
12593
12681
  ref: q(n),
12594
12682
  as: e.as,
12595
12683
  "as-child": e.asChild
@@ -12600,20 +12688,20 @@ var dm = /* @__PURE__ */ v({
12600
12688
  _: 3
12601
12689
  }, 8, ["present"])) : u("", !0);
12602
12690
  }
12603
- }), pm = /* @__PURE__ */ v({
12691
+ }), _m = /* @__PURE__ */ v({
12604
12692
  __name: "DialogTitle",
12605
12693
  props: {
12606
12694
  asChild: { type: Boolean },
12607
12695
  as: { default: "h2" }
12608
12696
  },
12609
12697
  setup(e) {
12610
- let t = e, n = cp();
12611
- return Qf(), (e, r) => (R(), l(q(Df), A(t, { id: q(n).titleId }), {
12698
+ let t = e, n = fp();
12699
+ return np(), (e, r) => (R(), l(q(jf), A(t, { id: q(n).titleId }), {
12612
12700
  default: X(() => [H(e.$slots, "default")]),
12613
12701
  _: 3
12614
12702
  }, 16, ["id"]));
12615
12703
  }
12616
- }), mm = /* @__PURE__ */ v({
12704
+ }), vm = /* @__PURE__ */ v({
12617
12705
  __name: "DialogPortal",
12618
12706
  props: {
12619
12707
  to: {},
@@ -12623,7 +12711,7 @@ var dm = /* @__PURE__ */ v({
12623
12711
  },
12624
12712
  setup(e) {
12625
12713
  let t = e;
12626
- return (e, n) => (R(), l(q(dp), N(S(t)), {
12714
+ return (e, n) => (R(), l(q(hp), N(S(t)), {
12627
12715
  default: X(() => [H(e.$slots, "default")]),
12628
12716
  _: 3
12629
12717
  }, 16));
@@ -12641,16 +12729,16 @@ var dm = /* @__PURE__ */ v({
12641
12729
  console.error("vite-plugin-css-injected-by-js", e);
12642
12730
  }
12643
12731
  })();
12644
- var hm = typeof window < "u" && typeof document < "u";
12732
+ var ym = typeof window < "u" && typeof document < "u";
12645
12733
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12646
- var gm = (e) => typeof e < "u";
12647
- function _m(e) {
12734
+ var bm = (e) => typeof e < "u";
12735
+ function xm(e) {
12648
12736
  return JSON.parse(JSON.stringify(e));
12649
12737
  }
12650
- function vm(e, t, n, r = {}) {
12738
+ function Sm(e, t, n, r = {}) {
12651
12739
  let { clone: i = !1, passive: a = !1, eventName: o, deep: s = !1, defaultValue: l, shouldEmit: u } = r, d = b(), f = n || d?.emit || (d?.$emit)?.bind(d) || (d?.proxy?.$emit)?.bind(d?.proxy), p = o;
12652
12740
  t ||= "modelValue", p ||= `update:${t.toString()}`;
12653
- let m = (e) => i ? typeof i == "function" ? i(e) : _m(e) : e, h = () => gm(e[t]) ? m(e[t]) : l, g = (e) => {
12741
+ let m = (e) => i ? typeof i == "function" ? i(e) : xm(e) : e, h = () => bm(e[t]) ? m(e[t]) : l, g = (e) => {
12654
12742
  u ? u(e) && f(p, e) : f(p, e);
12655
12743
  };
12656
12744
  if (a) {
@@ -12669,8 +12757,8 @@ function vm(e, t, n, r = {}) {
12669
12757
  }
12670
12758
  });
12671
12759
  }
12672
- var [ym, bm] = Yf("DrawerRoot"), xm = /* @__PURE__ */ new WeakMap();
12673
- function Sm(e, t, n = !1) {
12760
+ var [Cm, wm] = $f("DrawerRoot"), Tm = /* @__PURE__ */ new WeakMap();
12761
+ function Em(e, t, n = !1) {
12674
12762
  if (!e || !(e instanceof HTMLElement) || !t) return;
12675
12763
  let r = {};
12676
12764
  Object.entries(t).forEach(([t, n]) => {
@@ -12679,23 +12767,23 @@ function Sm(e, t, n = !1) {
12679
12767
  return;
12680
12768
  }
12681
12769
  r[t] = e.style[t], e.style[t] = n;
12682
- }), !n && xm.set(e, r);
12770
+ }), !n && Tm.set(e, r);
12683
12771
  }
12684
- function Cm(e, t) {
12772
+ function Dm(e, t) {
12685
12773
  if (!e || !(e instanceof HTMLElement)) return;
12686
- let n = xm.get(e);
12774
+ let n = Tm.get(e);
12687
12775
  n && Object.entries(n).forEach(([t, n]) => {
12688
12776
  e.style[t] = n;
12689
12777
  });
12690
12778
  }
12691
- function wm(e, t) {
12779
+ function Om(e, t) {
12692
12780
  let n = window.getComputedStyle(e), r = n.transform || n.webkitTransform || n.mozTransform, i = r.match(/^matrix3d\((.+)\)$/);
12693
- return i ? Number.parseFloat(i[1].split(", ")[Em(t) ? 13 : 12]) : (i = r.match(/^matrix\((.+)\)$/), i ? Number.parseFloat(i[1].split(", ")[Em(t) ? 5 : 4]) : null);
12781
+ return i ? Number.parseFloat(i[1].split(", ")[Am(t) ? 13 : 12]) : (i = r.match(/^matrix\((.+)\)$/), i ? Number.parseFloat(i[1].split(", ")[Am(t) ? 5 : 4]) : null);
12694
12782
  }
12695
- function Tm(e) {
12783
+ function km(e) {
12696
12784
  return 8 * (Math.log(e + 1) - 2);
12697
12785
  }
12698
- function Em(e) {
12786
+ function Am(e) {
12699
12787
  switch (e) {
12700
12788
  case "top":
12701
12789
  case "bottom": return !0;
@@ -12704,14 +12792,14 @@ function Em(e) {
12704
12792
  default: return e;
12705
12793
  }
12706
12794
  }
12707
- function Dm(e, t) {
12795
+ function jm(e, t) {
12708
12796
  if (!e) return () => {};
12709
12797
  let n = e.style.cssText;
12710
12798
  return Object.assign(e.style, t), () => {
12711
12799
  e.style.cssText = n;
12712
12800
  };
12713
12801
  }
12714
- var Om = {
12802
+ var Mm = {
12715
12803
  DURATION: .5,
12716
12804
  EASE: [
12717
12805
  .32,
@@ -12719,8 +12807,8 @@ var Om = {
12719
12807
  0,
12720
12808
  1
12721
12809
  ]
12722
- }, km = .4, Am = .25, jm = 100, Mm = 8, Nm = 16, Pm = 26, Fm = "vaul-dragging";
12723
- function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fadeFromIndex: i, onSnapPointChange: a, direction: o }) {
12810
+ }, Nm = .4, Pm = .25, Fm = 100, Im = 8, Lm = 16, Rm = 26, zm = "vaul-dragging";
12811
+ function Bm({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fadeFromIndex: i, onSnapPointChange: a, direction: o }) {
12724
12812
  let s = B(typeof window < "u" ? {
12725
12813
  innerWidth: window.innerWidth,
12726
12814
  innerHeight: window.innerHeight
@@ -12738,7 +12826,7 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12738
12826
  });
12739
12827
  let u = c(() => (t.value && e.value === t.value[t.value.length - 1]) ?? null), d = c(() => t.value && t.value.length > 0 && (i?.value || i?.value === 0) && !Number.isNaN(i?.value) && t.value[i?.value ?? -1] === e.value || !t.value), f = c(() => t.value?.findIndex((t) => t === e.value) ?? null), p = c(() => t.value?.map((e) => {
12740
12828
  let t = typeof e == "string", n = 0;
12741
- if (t && (n = Number.parseInt(e, 10)), Em(o.value)) {
12829
+ if (t && (n = Number.parseInt(e, 10)), Am(o.value)) {
12742
12830
  let r = t ? n : s.value ? e * s.value.innerHeight : 0;
12743
12831
  return s.value ? o.value === "bottom" ? s.value.innerHeight - r : -s.value.innerHeight + r : r;
12744
12832
  }
@@ -12747,15 +12835,15 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12747
12835
  }) ?? []), m = c(() => f.value === null ? null : p.value?.[f.value]), h = (s) => {
12748
12836
  let c = p.value?.findIndex((e) => e === s) ?? null;
12749
12837
  j(() => {
12750
- a(c, p.value), Sm(n.value?.$el, {
12751
- transition: `transform ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
12752
- transform: Em(o.value) ? `translate3d(0, ${s}px, 0)` : `translate3d(${s}px, 0, 0)`
12838
+ a(c, p.value), Em(n.value?.$el, {
12839
+ transition: `transform ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
12840
+ transform: Am(o.value) ? `translate3d(0, ${s}px, 0)` : `translate3d(${s}px, 0, 0)`
12753
12841
  });
12754
- }), p.value && c !== p.value.length - 1 && c !== i?.value ? Sm(r.value?.$el, {
12755
- transition: `opacity ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
12842
+ }), p.value && c !== p.value.length - 1 && c !== i?.value ? Em(r.value?.$el, {
12843
+ transition: `opacity ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
12756
12844
  opacity: "0"
12757
- }) : Sm(r.value?.$el, {
12758
- transition: `opacity ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
12845
+ }) : Em(r.value?.$el, {
12846
+ transition: `opacity ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
12759
12847
  opacity: "1"
12760
12848
  }), e.value = c === null ? null : t.value?.[c] ?? null;
12761
12849
  };
@@ -12772,7 +12860,7 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12772
12860
  function g({ draggedDistance: e, closeDrawer: n, velocity: a, dismissible: s }) {
12773
12861
  if (i.value === void 0) return;
12774
12862
  let c = o.value === "bottom" || o.value === "right" ? (m.value ?? 0) - e : (m.value ?? 0) + e, l = f.value === i.value - 1, d = f.value === 0, g = e > 0;
12775
- if (l && Sm(r.value?.$el, { transition: `opacity ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})` }), a > 2 && !g) {
12863
+ if (l && Em(r.value?.$el, { transition: `opacity ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})` }), a > 2 && !g) {
12776
12864
  s ? n() : h(p.value[0]);
12777
12865
  return;
12778
12866
  }
@@ -12780,8 +12868,8 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12780
12868
  h(p.value[t.value.length - 1]);
12781
12869
  return;
12782
12870
  }
12783
- let _ = p.value?.reduce((e, t) => typeof e != "number" || typeof t != "number" ? e : Math.abs(t - c) < Math.abs(e - c) ? t : e), v = Em(o.value) ? window.innerHeight : window.innerWidth;
12784
- if (a > km && Math.abs(e) < v * .4) {
12871
+ let _ = p.value?.reduce((e, t) => typeof e != "number" || typeof t != "number" ? e : Math.abs(t - c) < Math.abs(e - c) ? t : e), v = Am(o.value) ? window.innerHeight : window.innerWidth;
12872
+ if (a > Nm && Math.abs(e) < v * .4) {
12785
12873
  let e = g ? 1 : -1;
12786
12874
  if (e > 0 && u) {
12787
12875
  h(p.value[(t.value?.length ?? 0) - 1]);
@@ -12796,7 +12884,7 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12796
12884
  function _({ draggedDistance: e }) {
12797
12885
  if (m.value === null) return;
12798
12886
  let t = o.value === "bottom" || o.value === "right" ? m.value - e : m.value + e;
12799
- (o.value === "bottom" || o.value === "right") && t < p.value[p.value.length - 1] || (o.value === "top" || o.value === "left") && t > p.value[p.value.length - 1] || Sm(n.value?.$el, { transform: Em(o.value) ? `translate3d(0, ${t}px, 0)` : `translate3d(${t}px, 0, 0)` });
12887
+ (o.value === "bottom" || o.value === "right") && t < p.value[p.value.length - 1] || (o.value === "top" || o.value === "left") && t > p.value[p.value.length - 1] || Em(n.value?.$el, { transform: Am(o.value) ? `translate3d(0, ${t}px, 0)` : `translate3d(${t}px, 0, 0)` });
12800
12888
  }
12801
12889
  function v(e, n) {
12802
12890
  if (!t.value || typeof f.value != "number" || !p.value || i.value === void 0) return null;
@@ -12817,15 +12905,15 @@ function Im({ activeSnapPoint: e, snapPoints: t, drawerRef: n, overlayRef: r, fa
12817
12905
  snapPointsOffset: p
12818
12906
  };
12819
12907
  }
12820
- function Lm() {
12908
+ function Vm() {
12821
12909
  return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
12822
12910
  }
12823
- var Rm = null;
12824
- function zm(e) {
12911
+ var Hm = null;
12912
+ function Um(e) {
12825
12913
  let { isOpen: t, modal: n, nested: r, hasBeenOpened: i, preventScrollRestoration: a, noBodyStyles: o } = e, s = B(typeof window < "u" ? window.location.href : ""), c = B(0);
12826
12914
  function l() {
12827
- if (Lm() && Rm === null && t.value && !o.value) {
12828
- Rm = {
12915
+ if (Vm() && Hm === null && t.value && !o.value) {
12916
+ Hm = {
12829
12917
  position: document.body.style.position,
12830
12918
  top: document.body.style.top,
12831
12919
  left: document.body.style.left,
@@ -12846,15 +12934,15 @@ function zm(e) {
12846
12934
  }
12847
12935
  }
12848
12936
  function u() {
12849
- if (Lm() && Rm !== null && !o.value) {
12937
+ if (Vm() && Hm !== null && !o.value) {
12850
12938
  let e = -Number.parseInt(document.body.style.top, 10), t = -Number.parseInt(document.body.style.left, 10);
12851
- Object.assign(document.body.style, Rm), window.requestAnimationFrame(() => {
12939
+ Object.assign(document.body.style, Hm), window.requestAnimationFrame(() => {
12852
12940
  if (a.value && s.value !== window.location.href) {
12853
12941
  s.value = window.location.href;
12854
12942
  return;
12855
12943
  }
12856
12944
  window.scrollTo(t, e);
12857
- }), Rm = null;
12945
+ }), Hm = null;
12858
12946
  }
12859
12947
  }
12860
12948
  return L(() => {
@@ -12874,15 +12962,15 @@ function zm(e) {
12874
12962
  }, 500)) : u());
12875
12963
  }), { restorePositionSetting: u };
12876
12964
  }
12877
- function Bm(e, t) {
12965
+ function Wm(e, t) {
12878
12966
  return e && e.value ? e : t;
12879
12967
  }
12880
- function Vm(e) {
12968
+ function Gm(e) {
12881
12969
  let { emitDrag: t, emitRelease: n, emitClose: r, emitOpenChange: i, open: a, dismissible: o, nested: s, modal: l, shouldScaleBackground: u, setBackgroundColorOnScale: d, scrollLockTimeout: f, closeThreshold: p, activeSnapPoint: m, fadeFromIndex: h, direction: g, noBodyStyles: _, handleOnly: v, preventScrollRestoration: y } = e, b = B(a.value ?? !1), x = B(!1), S = B(!1), C = B(!1), w = B(null), T = B(null), E = B(null), D = B(null), O = B(null), k = B(!1), A = B(null), j = B(0), M = B(!1);
12882
12970
  B(0);
12883
12971
  let N = B(null);
12884
12972
  B(0);
12885
- let P = c(() => N.value?.$el.getBoundingClientRect().height || 0), F = Bm(e.snapPoints, B(void 0)), I = c(() => F && (F.value?.length ?? 0) > 0), ee = B(null), { activeSnapPointIndex: L, onRelease: te, snapPointsOffset: ne, onDrag: R, shouldFade: re, getPercentageDragged: ie } = Im({
12973
+ let P = c(() => N.value?.$el.getBoundingClientRect().height || 0), F = Wm(e.snapPoints, B(void 0)), I = c(() => F && (F.value?.length ?? 0) > 0), ee = B(null), { activeSnapPointIndex: L, onRelease: te, snapPointsOffset: ne, onDrag: R, shouldFade: re, getPercentageDragged: ie } = Bm({
12886
12974
  snapPoints: F,
12887
12975
  activeSnapPoint: m,
12888
12976
  drawerRef: N,
@@ -12894,7 +12982,7 @@ function Vm(e) {
12894
12982
  function z(e, t) {
12895
12983
  F.value && e === t.length - 1 && (T.value = /* @__PURE__ */ new Date());
12896
12984
  }
12897
- zm({
12985
+ Um({
12898
12986
  isOpen: b,
12899
12987
  modal: l,
12900
12988
  nested: s,
@@ -12903,11 +12991,11 @@ function Vm(e) {
12903
12991
  preventScrollRestoration: y
12904
12992
  });
12905
12993
  function V() {
12906
- return (window.innerWidth - Pm) / window.innerWidth;
12994
+ return (window.innerWidth - Rm) / window.innerWidth;
12907
12995
  }
12908
12996
  function H(e, t) {
12909
12997
  if (!e) return !1;
12910
- let n = e, r = window.getSelection()?.toString(), i = N.value ? wm(N.value.$el, g.value) : null, a = /* @__PURE__ */ new Date();
12998
+ let n = e, r = window.getSelection()?.toString(), i = N.value ? Om(N.value.$el, g.value) : null, a = /* @__PURE__ */ new Date();
12911
12999
  if (n.hasAttribute("data-vaul-no-drag") || n.closest("[data-vaul-no-drag]")) return !1;
12912
13000
  if (g.value === "right" || g.value === "left") return !0;
12913
13001
  if (T.value && a.getTime() - T.value.getTime() < 500) return !1;
@@ -12924,51 +13012,51 @@ function Vm(e) {
12924
13012
  return !0;
12925
13013
  }
12926
13014
  function U(e) {
12927
- !o.value && !F.value || N.value && !N.value.$el.contains(e.target) || (S.value = !0, E.value = /* @__PURE__ */ new Date(), e.target.setPointerCapture(e.pointerId), j.value = Em(g.value) ? e.clientY : e.clientX);
13015
+ !o.value && !F.value || N.value && !N.value.$el.contains(e.target) || (S.value = !0, E.value = /* @__PURE__ */ new Date(), e.target.setPointerCapture(e.pointerId), j.value = Am(g.value) ? e.clientY : e.clientX);
12928
13016
  }
12929
13017
  function ae(e) {
12930
13018
  var n;
12931
13019
  if (N.value && S.value) {
12932
- let r = g.value === "bottom" || g.value === "right" ? 1 : -1, i = (j.value - (Em(g.value) ? e.clientY : e.clientX)) * r, a = i > 0, s = F.value && !o.value && !a;
13020
+ let r = g.value === "bottom" || g.value === "right" ? 1 : -1, i = (j.value - (Am(g.value) ? e.clientY : e.clientX)) * r, a = i > 0, s = F.value && !o.value && !a;
12933
13021
  if (s && L.value === 0) return;
12934
13022
  let c = Math.abs(i), l = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]"), d = c / P.value, f = ie(c, a);
12935
13023
  if (f !== null && (d = f), s && d >= 1 || !k.value && !H(e.target, a)) return;
12936
- if ((n = N?.value) == null || n.$el.classList.add(Fm), k.value = !0, Sm(N.value?.$el, { transition: "none" }), Sm(w.value?.$el, { transition: "none" }), F.value && R({ draggedDistance: i }), a && !F.value) {
12937
- let e = Tm(i), t = Math.min(e * -1, 0) * r;
12938
- Sm(N.value?.$el, { transform: Em(g.value) ? `translate3d(0, ${t}px, 0)` : `translate3d(${t}px, 0, 0)` });
13024
+ if ((n = N?.value) == null || n.$el.classList.add(zm), k.value = !0, Em(N.value?.$el, { transition: "none" }), Em(w.value?.$el, { transition: "none" }), F.value && R({ draggedDistance: i }), a && !F.value) {
13025
+ let e = km(i), t = Math.min(e * -1, 0) * r;
13026
+ Em(N.value?.$el, { transform: Am(g.value) ? `translate3d(0, ${t}px, 0)` : `translate3d(${t}px, 0, 0)` });
12939
13027
  return;
12940
13028
  }
12941
13029
  let p = 1 - d;
12942
- if ((re.value || h.value && L.value === h.value - 1) && (t(d), Sm(w.value?.$el, {
13030
+ if ((re.value || h.value && L.value === h.value - 1) && (t(d), Em(w.value?.$el, {
12943
13031
  opacity: `${p}`,
12944
13032
  transition: "none"
12945
13033
  }, !0)), l && w.value && u.value) {
12946
13034
  let e = Math.min(V() + d * (1 - V()), 1), t = 8 - d * 8, n = Math.max(0, 14 - d * 14);
12947
- Sm(l, {
13035
+ Em(l, {
12948
13036
  borderRadius: `${t}px`,
12949
- transform: Em(g.value) ? `scale(${e}) translate3d(0, ${n}px, 0)` : `scale(${e}) translate3d(${n}px, 0, 0)`,
13037
+ transform: Am(g.value) ? `scale(${e}) translate3d(0, ${n}px, 0)` : `scale(${e}) translate3d(${n}px, 0, 0)`,
12950
13038
  transition: "none"
12951
13039
  }, !0);
12952
13040
  }
12953
13041
  if (!F.value) {
12954
13042
  let e = c * r;
12955
- Sm(N.value?.$el, { transform: Em(g.value) ? `translate3d(0, ${e}px, 0)` : `translate3d(${e}px, 0, 0)` });
13043
+ Em(N.value?.$el, { transform: Am(g.value) ? `translate3d(0, ${e}px, 0)` : `translate3d(${e}px, 0, 0)` });
12956
13044
  }
12957
13045
  }
12958
13046
  }
12959
13047
  function W() {
12960
13048
  if (!N.value) return;
12961
- let e = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]"), t = wm(N.value.$el, g.value);
12962
- Sm(N.value.$el, {
13049
+ let e = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]"), t = Om(N.value.$el, g.value);
13050
+ Em(N.value.$el, {
12963
13051
  transform: "translate3d(0, 0, 0)",
12964
- transition: `transform ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`
12965
- }), Sm(w.value?.$el, {
12966
- transition: `opacity ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
13052
+ transition: `transform ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`
13053
+ }), Em(w.value?.$el, {
13054
+ transition: `opacity ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
12967
13055
  opacity: "1"
12968
- }), u.value && t && t > 0 && b.value && Sm(e, {
12969
- borderRadius: `${Mm}px`,
13056
+ }), u.value && t && t > 0 && b.value && Em(e, {
13057
+ borderRadius: `${Im}px`,
12970
13058
  overflow: "hidden",
12971
- ...Em(g.value) ? {
13059
+ ...Am(g.value) ? {
12972
13060
  transform: `scale(${V()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
12973
13061
  transformOrigin: "top"
12974
13062
  } : {
@@ -12976,19 +13064,19 @@ function Vm(e) {
12976
13064
  transformOrigin: "left"
12977
13065
  },
12978
13066
  transitionProperty: "transform, border-radius",
12979
- transitionDuration: `${Om.DURATION}s`,
12980
- transitionTimingFunction: `cubic-bezier(${Om.EASE.join(",")})`
13067
+ transitionDuration: `${Mm.DURATION}s`,
13068
+ transitionTimingFunction: `cubic-bezier(${Mm.EASE.join(",")})`
12981
13069
  }, !0);
12982
13070
  }
12983
13071
  function G(e) {
12984
13072
  N.value && (r(), e || (b.value = !1), window.setTimeout(() => {
12985
13073
  F.value && (m.value = F.value[0]);
12986
- }, Om.DURATION * 1e3));
13074
+ }, Mm.DURATION * 1e3));
12987
13075
  }
12988
13076
  be(() => {
12989
- if (!b.value && u.value && hm) {
13077
+ if (!b.value && u.value && ym) {
12990
13078
  let e = setTimeout(() => {
12991
- Cm(document.body);
13079
+ Dm(document.body);
12992
13080
  }, 200);
12993
13081
  return () => clearTimeout(e);
12994
13082
  }
@@ -12997,10 +13085,10 @@ function Vm(e) {
12997
13085
  });
12998
13086
  function oe(e) {
12999
13087
  if (!S.value || !N.value) return;
13000
- N.value.$el.classList.remove(Fm), k.value = !1, S.value = !1, D.value = /* @__PURE__ */ new Date();
13001
- let t = wm(N.value.$el, g.value);
13088
+ N.value.$el.classList.remove(zm), k.value = !1, S.value = !1, D.value = /* @__PURE__ */ new Date();
13089
+ let t = Om(N.value.$el, g.value);
13002
13090
  if (!H(e.target, !1) || !t || Number.isNaN(t) || E.value === null) return;
13003
- let r = D.value.getTime() - E.value.getTime(), i = j.value - (Em(g.value) ? e.clientY : e.clientX), a = Math.abs(i) / r;
13091
+ let r = D.value.getTime() - E.value.getTime(), i = j.value - (Am(g.value) ? e.clientY : e.clientX), a = Math.abs(i) / r;
13004
13092
  if (a > .05 && (C.value = !0, window.setTimeout(() => {
13005
13093
  C.value = !1;
13006
13094
  }, 200)), F.value) {
@@ -13016,7 +13104,7 @@ function Vm(e) {
13016
13104
  W(), n(!0);
13017
13105
  return;
13018
13106
  }
13019
- if (a > km) {
13107
+ if (a > Nm) {
13020
13108
  G(), n(!1);
13021
13109
  return;
13022
13110
  }
@@ -13031,31 +13119,31 @@ function Vm(e) {
13031
13119
  }, { immediate: !0 });
13032
13120
  function se(e) {
13033
13121
  var t;
13034
- let n = e ? (window.innerWidth - Nm) / window.innerWidth : 1, r = e ? -16 : 0;
13035
- A.value && window.clearTimeout(A.value), Sm(N.value?.$el, {
13036
- transition: `transform ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
13122
+ let n = e ? (window.innerWidth - Lm) / window.innerWidth : 1, r = e ? -16 : 0;
13123
+ A.value && window.clearTimeout(A.value), Em(N.value?.$el, {
13124
+ transition: `transform ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
13037
13125
  transform: `scale(${n}) translate3d(0, ${r}px, 0)`
13038
13126
  }), !e && (t = N.value) != null && t.$el && (A.value = window.setTimeout(() => {
13039
- let e = wm(N.value?.$el, g.value);
13040
- Sm(N.value?.$el, {
13127
+ let e = Om(N.value?.$el, g.value);
13128
+ Em(N.value?.$el, {
13041
13129
  transition: "none",
13042
- transform: Em(g.value) ? `translate3d(0, ${e}px, 0)` : `translate3d(${e}px, 0, 0)`
13130
+ transform: Am(g.value) ? `translate3d(0, ${e}px, 0)` : `translate3d(${e}px, 0, 0)`
13043
13131
  });
13044
13132
  }, 500));
13045
13133
  }
13046
13134
  function ce(e) {
13047
13135
  if (e < 0) return;
13048
- let t = Em(g.value) ? window.innerHeight : window.innerWidth, n = (t - Nm) / t, r = n + e * (1 - n), i = -16 + e * Nm;
13049
- Sm(N.value?.$el, {
13050
- transform: Em(g.value) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`,
13136
+ let t = Am(g.value) ? window.innerHeight : window.innerWidth, n = (t - Lm) / t, r = n + e * (1 - n), i = -16 + e * Lm;
13137
+ Em(N.value?.$el, {
13138
+ transform: Am(g.value) ? `scale(${r}) translate3d(0, ${i}px, 0)` : `scale(${r}) translate3d(${i}px, 0, 0)`,
13051
13139
  transition: "none"
13052
13140
  });
13053
13141
  }
13054
13142
  function le(e) {
13055
- let t = Em(g.value) ? window.innerHeight : window.innerWidth, n = e ? (t - Nm) / t : 1, r = e ? -16 : 0;
13056
- e && Sm(N.value?.$el, {
13057
- transition: `transform ${Om.DURATION}s cubic-bezier(${Om.EASE.join(",")})`,
13058
- transform: Em(g.value) ? `scale(${n}) translate3d(0, ${r}px, 0)` : `scale(${n}) translate3d(${r}px, 0, 0)`
13143
+ let t = Am(g.value) ? window.innerHeight : window.innerWidth, n = e ? (t - Lm) / t : 1, r = e ? -16 : 0;
13144
+ e && Em(N.value?.$el, {
13145
+ transition: `transform ${Mm.DURATION}s cubic-bezier(${Mm.EASE.join(",")})`,
13146
+ transform: Am(g.value) ? `scale(${n}) translate3d(0, ${r}px, 0)` : `scale(${n}) translate3d(${r}px, 0, 0)`
13059
13147
  });
13060
13148
  }
13061
13149
  return {
@@ -13098,11 +13186,11 @@ function Vm(e) {
13098
13186
  noBodyStyles: _
13099
13187
  };
13100
13188
  }
13101
- var Hm = /* @__PURE__ */ v({
13189
+ var Km = /* @__PURE__ */ v({
13102
13190
  __name: "DrawerRoot",
13103
13191
  props: {
13104
13192
  activeSnapPoint: { default: void 0 },
13105
- closeThreshold: { default: Am },
13193
+ closeThreshold: { default: Pm },
13106
13194
  shouldScaleBackground: {
13107
13195
  type: Boolean,
13108
13196
  default: void 0
@@ -13111,7 +13199,7 @@ var Hm = /* @__PURE__ */ v({
13111
13199
  type: Boolean,
13112
13200
  default: !0
13113
13201
  },
13114
- scrollLockTimeout: { default: jm },
13202
+ scrollLockTimeout: { default: Fm },
13115
13203
  fixed: {
13116
13204
  type: Boolean,
13117
13205
  default: void 0
@@ -13157,19 +13245,19 @@ var Hm = /* @__PURE__ */ v({
13157
13245
  setup(e, { expose: t, emit: n }) {
13158
13246
  let r = e, i = n;
13159
13247
  me();
13160
- let a = c(() => r.fadeFromIndex ?? (r.snapPoints && r.snapPoints.length - 1)), o = vm(r, "open", i, {
13248
+ let a = c(() => r.fadeFromIndex ?? (r.snapPoints && r.snapPoints.length - 1)), o = Sm(r, "open", i, {
13161
13249
  defaultValue: r.defaultOpen,
13162
13250
  passive: r.open === void 0
13163
- }), s = vm(r, "activeSnapPoint", i, { passive: r.activeSnapPoint === void 0 }), u = {
13251
+ }), s = Sm(r, "activeSnapPoint", i, { passive: r.activeSnapPoint === void 0 }), u = {
13164
13252
  emitDrag: (e) => i("drag", e),
13165
13253
  emitRelease: (e) => i("release", e),
13166
13254
  emitClose: () => i("close"),
13167
13255
  emitOpenChange: (e) => {
13168
13256
  i("update:open", e), setTimeout(() => {
13169
13257
  i("animationEnd", e);
13170
- }, Om.DURATION * 1e3);
13258
+ }, Mm.DURATION * 1e3);
13171
13259
  }
13172
- }, { closeDrawer: d, hasBeenOpened: f, modal: p, isOpen: m } = bm(Vm({
13260
+ }, { closeDrawer: d, hasBeenOpened: f, modal: p, isOpen: m } = wm(Gm({
13173
13261
  ...u,
13174
13262
  ...le(r),
13175
13263
  activeSnapPoint: s,
@@ -13183,7 +13271,7 @@ var Hm = /* @__PURE__ */ v({
13183
13271
  }
13184
13272
  m.value = e, e ? f.value = !0 : d();
13185
13273
  }
13186
- return t({ open: m }), (e, t) => (R(), l(q(up), {
13274
+ return t({ open: m }), (e, t) => (R(), l(q(mp), {
13187
13275
  open: q(m),
13188
13276
  modal: q(p),
13189
13277
  "onUpdate:open": h
@@ -13192,7 +13280,7 @@ var Hm = /* @__PURE__ */ v({
13192
13280
  _: 3
13193
13281
  }, 8, ["open", "modal"]));
13194
13282
  }
13195
- }), Um = /* @__PURE__ */ v({
13283
+ }), qm = /* @__PURE__ */ v({
13196
13284
  __name: "DrawerRootNested",
13197
13285
  props: {
13198
13286
  activeSnapPoint: {},
@@ -13222,7 +13310,7 @@ var Hm = /* @__PURE__ */ v({
13222
13310
  "animationEnd"
13223
13311
  ],
13224
13312
  setup(e, { emit: t }) {
13225
- let n = e, r = t, { onNestedDrag: i, onNestedOpenChange: a, onNestedRelease: o } = ym();
13313
+ let n = e, r = t, { onNestedDrag: i, onNestedOpenChange: a, onNestedRelease: o } = Cm();
13226
13314
  function s() {
13227
13315
  a(!1);
13228
13316
  }
@@ -13232,8 +13320,8 @@ var Hm = /* @__PURE__ */ v({
13232
13320
  function u(e) {
13233
13321
  e && a(e), r("update:open", e);
13234
13322
  }
13235
- let d = sp(n, r);
13236
- return (e, t) => (R(), l(Hm, A(q(d), {
13323
+ let d = dp(n, r);
13324
+ return (e, t) => (R(), l(Km, A(q(d), {
13237
13325
  nested: "",
13238
13326
  onClose: s,
13239
13327
  onDrag: c,
@@ -13244,11 +13332,11 @@ var Hm = /* @__PURE__ */ v({
13244
13332
  _: 3
13245
13333
  }, 16, ["onRelease"]));
13246
13334
  }
13247
- }), Wm = /* @__PURE__ */ v({
13335
+ }), Jm = /* @__PURE__ */ v({
13248
13336
  __name: "DrawerOverlay",
13249
13337
  setup(e) {
13250
- let { overlayRef: t, hasSnapPoints: n, isOpen: r, shouldFade: i } = ym();
13251
- return (e, a) => (R(), l(q(fm), {
13338
+ let { overlayRef: t, hasSnapPoints: n, isOpen: r, shouldFade: i } = Cm();
13339
+ return (e, a) => (R(), l(q(gm), {
13252
13340
  ref_key: "overlayRef",
13253
13341
  ref: t,
13254
13342
  "data-vaul-overlay": "",
@@ -13257,40 +13345,40 @@ var Hm = /* @__PURE__ */ v({
13257
13345
  }, null, 8, ["data-vaul-snap-points", "data-vaul-snap-points-overlay"]));
13258
13346
  }
13259
13347
  });
13260
- function Gm() {
13261
- let { direction: e, isOpen: t, shouldScaleBackground: n, setBackgroundColorOnScale: r, noBodyStyles: i } = ym(), a = B(null), o = B(document.body.style.backgroundColor);
13348
+ function Ym() {
13349
+ let { direction: e, isOpen: t, shouldScaleBackground: n, setBackgroundColorOnScale: r, noBodyStyles: i } = Cm(), a = B(null), o = B(document.body.style.backgroundColor);
13262
13350
  function s() {
13263
- return (window.innerWidth - Pm) / window.innerWidth;
13351
+ return (window.innerWidth - Rm) / window.innerWidth;
13264
13352
  }
13265
13353
  be((c) => {
13266
13354
  if (t.value && n.value) {
13267
13355
  a.value && clearTimeout(a.value);
13268
13356
  let t = document.querySelector("[data-vaul-drawer-wrapper]") || document.querySelector("[vaul-drawer-wrapper]");
13269
13357
  if (!t) return;
13270
- r.value && !i.value && Dm(document.body, { background: "black" }), Dm(t, {
13271
- transformOrigin: Em(e.value) ? "top" : "left",
13358
+ r.value && !i.value && jm(document.body, { background: "black" }), jm(t, {
13359
+ transformOrigin: Am(e.value) ? "top" : "left",
13272
13360
  transitionProperty: "transform, border-radius",
13273
- transitionDuration: `${Om.DURATION}s`,
13274
- transitionTimingFunction: `cubic-bezier(${Om.EASE.join(",")})`
13361
+ transitionDuration: `${Mm.DURATION}s`,
13362
+ transitionTimingFunction: `cubic-bezier(${Mm.EASE.join(",")})`
13275
13363
  });
13276
- let n = Dm(t, {
13277
- borderRadius: `${Mm}px`,
13364
+ let n = jm(t, {
13365
+ borderRadius: `${Im}px`,
13278
13366
  overflow: "hidden",
13279
- ...Em(e.value) ? { transform: `scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)` } : { transform: `scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)` }
13367
+ ...Am(e.value) ? { transform: `scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)` } : { transform: `scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)` }
13280
13368
  });
13281
13369
  c(() => {
13282
13370
  n(), a.value = window.setTimeout(() => {
13283
13371
  o.value ? document.body.style.background = o.value : document.body.style.removeProperty("background");
13284
- }, Om.DURATION * 1e3);
13372
+ }, Mm.DURATION * 1e3);
13285
13373
  });
13286
13374
  }
13287
13375
  }, { flush: "pre" });
13288
13376
  }
13289
- var Km = /* @__PURE__ */ v({
13377
+ var Xm = /* @__PURE__ */ v({
13290
13378
  __name: "DrawerContent",
13291
13379
  setup(e) {
13292
- let { open: t, isOpen: n, snapPointsOffset: r, hasSnapPoints: i, drawerRef: a, onPress: o, onDrag: s, onRelease: u, modal: d, emitOpenChange: f, dismissible: p, keyboardIsOpen: m, closeDrawer: h, direction: g, handleOnly: _ } = ym();
13293
- Gm();
13380
+ let { open: t, isOpen: n, snapPointsOffset: r, hasSnapPoints: i, drawerRef: a, onPress: o, onDrag: s, onRelease: u, modal: d, emitOpenChange: f, dismissible: p, keyboardIsOpen: m, closeDrawer: h, direction: g, handleOnly: _ } = Cm();
13381
+ Ym();
13294
13382
  let v = B(!1), y = c(() => r.value && r.value.length > 0 ? `${r.value[0]}px` : "0");
13295
13383
  function b(e) {
13296
13384
  if (!d.value || e.defaultPrevented) {
@@ -13309,7 +13397,7 @@ var Km = /* @__PURE__ */ v({
13309
13397
  i.value && window.requestAnimationFrame(() => {
13310
13398
  v.value = !0;
13311
13399
  });
13312
- }), (e, t) => (R(), l(q(nm), {
13400
+ }), (e, t) => (R(), l(q(om), {
13313
13401
  ref_key: "drawerRef",
13314
13402
  ref: a,
13315
13403
  "data-vaul-drawer": "",
@@ -13336,10 +13424,10 @@ var Km = /* @__PURE__ */ v({
13336
13424
  "onPointerup"
13337
13425
  ]));
13338
13426
  }
13339
- }), qm = {
13427
+ }), Zm = {
13340
13428
  key: 0,
13341
13429
  class: "vui-drawer-header"
13342
- }, Jm = "var(--vui-drawer-top-offset, 28px)", Ym = /* @__PURE__ */ v({
13430
+ }, Qm = "var(--vui-drawer-top-offset, 28px)", $m = /* @__PURE__ */ v({
13343
13431
  inheritAttrs: !1,
13344
13432
  __name: "Drawer",
13345
13433
  props: {
@@ -13393,9 +13481,9 @@ var Km = /* @__PURE__ */ v({
13393
13481
  t && e.rootProps?.snapPoints?.length && e.activeSnapPoint === void 0 && e.rootProps.activeSnapPoint === void 0 && (o.value = e.rootProps.snapPoints[0]), !t && n && e.rootProps?.snapPoints?.length && (f.value = !0, m && clearTimeout(m), m = setTimeout(() => f.value = !1, 600));
13394
13482
  });
13395
13483
  let v = c(() => {
13396
- if (!a.value) return `calc(95dvh - ${Jm})`;
13484
+ if (!a.value) return `calc(95dvh - ${Qm})`;
13397
13485
  let t = o.value ?? e.rootProps?.snapPoints?.[0];
13398
- return t == null ? `calc(100dvh - ${Jm})` : typeof t == "number" ? `calc(${t * 100}dvh - ${Jm})` : typeof t == "string" && t.endsWith("px") ? `calc(${t} - ${Jm})` : `calc(100dvh - ${Jm})`;
13486
+ return t == null ? `calc(100dvh - ${Qm})` : typeof t == "number" ? `calc(${t * 100}dvh - ${Qm})` : typeof t == "string" && t.endsWith("px") ? `calc(${t} - ${Qm})` : `calc(100dvh - ${Qm})`;
13399
13487
  });
13400
13488
  function y(t) {
13401
13489
  f.value && !s.value && t === (e.rootProps?.snapPoints?.[0] ?? null) || (o.value = t ?? null, n("update:activeSnapPoint", t));
@@ -13403,20 +13491,20 @@ var Km = /* @__PURE__ */ v({
13403
13491
  L(() => {
13404
13492
  e.rootProps?.shouldScaleBackground && !document.querySelector("[vaul-drawer-wrapper]") && console.error("Your root component is missing 'vaul-drawer-wrapper' attribute. \n Without it the background scaling effect will not work.");
13405
13493
  });
13406
- let { layerIndex: b, openLayer: x, closeLayer: C } = Qd();
13494
+ let { layerIndex: b, openLayer: x, closeLayer: C } = Kd();
13407
13495
  return be(() => {
13408
13496
  e.open ? x() : C();
13409
- }), (t, o) => (R(), l(U(e.nested ? q(Um) : q(Hm)), A({ open: e.open }, _.value, {
13497
+ }), (t, o) => (R(), l(U(e.nested ? q(qm) : q(Km)), A({ open: e.open }, _.value, {
13410
13498
  "aria-describedby": q(i),
13411
13499
  onClose: o[0] ||= (e) => n("close"),
13412
13500
  "onUpdate:open": o[1] ||= (e) => e === !1 && n("close"),
13413
13501
  "onUpdate:activeSnapPoint": y
13414
13502
  }), {
13415
- default: X(() => [g(q(mm), N(S(e.portalProps)), {
13416
- default: X(() => [e.overlay ? (R(), l(q(Wm), {
13503
+ default: X(() => [g(q(vm), N(S(e.portalProps)), {
13504
+ default: X(() => [e.overlay ? (R(), l(q(Jm), {
13417
13505
  key: 0,
13418
13506
  class: "vui-drawer-overlay"
13419
- })) : u("", !0), g(q(Km), A({ class: ["vui-drawer-content", {
13507
+ })) : u("", !0), g(q(Xm), A({ class: ["vui-drawer-content", {
13420
13508
  "hide-handle": e.handle === !1,
13421
13509
  "has-snap-points": a.value
13422
13510
  }] }, q(r), {
@@ -13429,14 +13517,14 @@ var Km = /* @__PURE__ */ v({
13429
13517
  style: P([{ "max-height": v.value }]),
13430
13518
  "data-vaul-no-drag": ""
13431
13519
  }, [
13432
- g(q(pm), {
13520
+ g(q(_m), {
13433
13521
  class: "visually-hidden",
13434
13522
  name: q(i)
13435
13523
  }, {
13436
13524
  default: X(() => [h(G(e.title), 1)]),
13437
13525
  _: 1
13438
13526
  }, 8, ["name"]),
13439
- t.$slots.header ? (R(), d("div", qm, [H(t.$slots, "header")])) : u("", !0),
13527
+ t.$slots.header ? (R(), d("div", Zm, [H(t.$slots, "header")])) : u("", !0),
13440
13528
  H(t.$slots, "default")
13441
13529
  ], 6))]),
13442
13530
  _: 3
@@ -13446,7 +13534,7 @@ var Km = /* @__PURE__ */ v({
13446
13534
  _: 3
13447
13535
  }, 16, ["open", "aria-describedby"]));
13448
13536
  }
13449
- }), Xm = ["aria-expanded"], Zm = /* @__PURE__ */ v({
13537
+ }), eh = ["aria-expanded"], th = /* @__PURE__ */ v({
13450
13538
  __name: "Dropdown",
13451
13539
  props: {
13452
13540
  placement: { default: "bottom-start" },
@@ -13476,7 +13564,7 @@ var Km = /* @__PURE__ */ v({
13476
13564
  toggle: h,
13477
13565
  isOpen: u
13478
13566
  });
13479
- let g = c(() => Xn(e.minWidth)), _ = Ud(Bd.Mobile), { escape: v } = vn();
13567
+ let g = c(() => Xn(e.minWidth)), _ = Rd(Fd.Mobile), { escape: v } = vn();
13480
13568
  zt(v, m), Y(u, (e) => {
13481
13569
  e ? j(() => {
13482
13570
  s.value?.el()?.querySelector("button:not([disabled]), input:not([disabled])")?.focus();
@@ -13505,7 +13593,7 @@ var Km = /* @__PURE__ */ v({
13505
13593
  isOpen: u.value,
13506
13594
  close: m,
13507
13595
  toggle: h
13508
- })], 40, Xm), q(_) && !e.noMobileDrawer ? (R(), l(Ym, {
13596
+ })], 40, eh), q(_) && !e.noMobileDrawer ? (R(), l($m, {
13509
13597
  key: 0,
13510
13598
  open: u.value,
13511
13599
  onClose: m,
@@ -13518,7 +13606,7 @@ var Km = /* @__PURE__ */ v({
13518
13606
  isOpen: u.value
13519
13607
  })]),
13520
13608
  _: 3
13521
- }, 8, ["open"])) : (R(), l(yf, {
13609
+ }, 8, ["open"])) : (R(), l(qd, {
13522
13610
  key: 1,
13523
13611
  ref: "popoutEl",
13524
13612
  visible: u.value,
@@ -13549,13 +13637,13 @@ var Km = /* @__PURE__ */ v({
13549
13637
  "transition-name"
13550
13638
  ]))], 64));
13551
13639
  }
13552
- }), Qm = ["disabled"], $m = { class: "vui-dropdown-item-icon" }, eh = { class: "vui-dropdown-item-slot" }, th = {
13640
+ }), nh = ["disabled"], rh = { class: "vui-dropdown-item-icon" }, ih = { class: "vui-dropdown-item-slot" }, ah = {
13553
13641
  key: 0,
13554
13642
  class: "vui-dropdown-item-hint"
13555
- }, nh = {
13643
+ }, oh = {
13556
13644
  key: 1,
13557
13645
  class: "vui-dropdown-item-icon-end"
13558
- }, rh = /* @__PURE__ */ v({
13646
+ }, sh = /* @__PURE__ */ v({
13559
13647
  __name: "DropdownItem",
13560
13648
  props: {
13561
13649
  disabled: { type: Boolean },
@@ -13570,22 +13658,22 @@ var Km = /* @__PURE__ */ v({
13570
13658
  }]),
13571
13659
  disabled: t.disabled
13572
13660
  }, [
13573
- f("div", $m, [H(e.$slots, "icon")]),
13574
- f("div", eh, [H(e.$slots, "default")]),
13575
- e.$slots.hint ? (R(), d("div", th, [H(e.$slots, "hint")])) : u("", !0),
13576
- e.$slots.iconEnd ? (R(), d("div", nh, [H(e.$slots, "iconEnd")])) : u("", !0)
13577
- ], 10, Qm));
13661
+ f("div", rh, [H(e.$slots, "icon")]),
13662
+ f("div", ih, [H(e.$slots, "default")]),
13663
+ e.$slots.hint ? (R(), d("div", ah, [H(e.$slots, "hint")])) : u("", !0),
13664
+ e.$slots.iconEnd ? (R(), d("div", oh, [H(e.$slots, "iconEnd")])) : u("", !0)
13665
+ ], 10, nh));
13578
13666
  }
13579
- }), ih = {
13667
+ }), ch = {
13580
13668
  key: 0,
13581
13669
  class: "vui-dropdown-title-end"
13582
- }, ah = /* @__PURE__ */ v({
13670
+ }, lh = /* @__PURE__ */ v({
13583
13671
  __name: "DropdownTitle",
13584
13672
  props: { sticky: { type: Boolean } },
13585
13673
  setup(e) {
13586
- return (t, n) => (R(), d("div", { class: M(["vui-dropdown-title", { sticky: e.sticky }]) }, [H(t.$slots, "default"), t.$slots.end ? (R(), d("div", ih, [H(t.$slots, "end")])) : u("", !0)], 2));
13674
+ return (t, n) => (R(), d("div", { class: M(["vui-dropdown-title", { sticky: e.sticky }]) }, [H(t.$slots, "default"), t.$slots.end ? (R(), d("div", ch, [H(t.$slots, "end")])) : u("", !0)], 2));
13587
13675
  }
13588
- }), oh = /* @__PURE__ */ v({
13676
+ }), uh = /* @__PURE__ */ v({
13589
13677
  __name: "Grid",
13590
13678
  props: {
13591
13679
  inline: { type: Boolean },
@@ -13638,7 +13726,7 @@ var Km = /* @__PURE__ */ v({
13638
13726
  })
13639
13727
  }, [H(e.$slots, "default")], 4));
13640
13728
  }
13641
- }), sh = /* @__PURE__ */ v({
13729
+ }), dh = /* @__PURE__ */ v({
13642
13730
  __name: "Indicator",
13643
13731
  props: {
13644
13732
  variant: {},
@@ -13674,11 +13762,11 @@ var Km = /* @__PURE__ */ v({
13674
13762
  })
13675
13763
  }, [H(e.$slots, "default")], 6));
13676
13764
  }
13677
- }), ch = /^#[0-9A-F]{0,6}$/i, lh = /^r(g(b(\(\s*(\d{1,3}(\s*,\s*(\d{1,3}(\s*,\s*(\d{1,3}\s*\)?)?)?)?)?)?)?)?)?$/;
13678
- function uh(e) {
13765
+ }), fh = /^#[0-9A-F]{0,6}$/i, ph = /^r(g(b(\(\s*(\d{1,3}(\s*,\s*(\d{1,3}(\s*,\s*(\d{1,3}\s*\)?)?)?)?)?)?)?)?)?$/;
13766
+ function mh(e) {
13679
13767
  return `rgb(${Number.parseInt(e.slice(1, 3), 16)}, ${Number.parseInt(e.slice(3, 5), 16)}, ${Number.parseInt(e.slice(5, 7), 16)})`;
13680
13768
  }
13681
- function dh(e, t = "#000000") {
13769
+ function hh(e, t = "#000000") {
13682
13770
  if (!e) return t;
13683
13771
  if (e.startsWith("#")) return e.length === 7 ? e : t;
13684
13772
  let n = e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
@@ -13686,10 +13774,10 @@ function dh(e, t = "#000000") {
13686
13774
  }
13687
13775
  //#endregion
13688
13776
  //#region src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts
13689
- var fh = { class: "vui-input" }, ph = ["for"], mh = {
13777
+ var gh = { class: "vui-input" }, _h = ["for"], vh = {
13690
13778
  key: 1,
13691
13779
  class: "vui-input-hint"
13692
- }, hh = [
13780
+ }, yh = [
13693
13781
  "id",
13694
13782
  "readonly",
13695
13783
  "type",
@@ -13700,13 +13788,13 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13700
13788
  "multiple",
13701
13789
  "min",
13702
13790
  "disabled"
13703
- ], gh = {
13791
+ ], bh = {
13704
13792
  key: 0,
13705
13793
  class: "vui-input-limit"
13706
- }, _h = {
13794
+ }, xh = {
13707
13795
  key: 1,
13708
13796
  class: "vui-input-errors"
13709
- }, vh = /* @__PURE__ */ v({
13797
+ }, Sh = /* @__PURE__ */ v({
13710
13798
  __name: "Input",
13711
13799
  props: /* @__PURE__ */ k({
13712
13800
  type: { default: "text" },
@@ -13751,12 +13839,12 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13751
13839
  "has-errors": e.errors.length > 0
13752
13840
  }]) }, [
13753
13841
  H(t.$slots, "before"),
13754
- f("div", fh, [
13842
+ f("div", gh, [
13755
13843
  e.label ? (R(), d("label", {
13756
13844
  key: 0,
13757
13845
  for: q(i)
13758
- }, G(e.label), 9, ph)) : u("", !0),
13759
- e.hint ? (R(), d("p", mh, G(e.hint), 1)) : u("", !0),
13846
+ }, G(e.label), 9, _h)) : u("", !0),
13847
+ e.hint ? (R(), d("p", vh, G(e.hint), 1)) : u("", !0),
13760
13848
  g(or, {
13761
13849
  class: "vui-input-style",
13762
13850
  gap: 5,
@@ -13780,18 +13868,18 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13780
13868
  multiple: e.multiple,
13781
13869
  min: e.min,
13782
13870
  disabled: e.disabled
13783
- }, null, 8, hh)), [[ge, r.value]]),
13871
+ }, null, 8, yh)), [[ge, r.value]]),
13784
13872
  H(t.$slots, "end")
13785
13873
  ]),
13786
13874
  _: 3
13787
13875
  })
13788
13876
  ]),
13789
- e.limit ? (R(), d("p", gh, G(o.value), 1)) : u("", !0),
13790
- e.errors.length > 0 ? (R(), d("ul", _h, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0),
13877
+ e.limit ? (R(), d("p", bh, G(o.value), 1)) : u("", !0),
13878
+ e.errors.length > 0 ? (R(), d("ul", xh, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0),
13791
13879
  H(t.$slots, "after")
13792
13880
  ], 2));
13793
13881
  }
13794
- }), yh = ["id"], bh = ["for"], xh = ["value", "placeholder"], Sh = /* @__PURE__ */ v({
13882
+ }), Ch = ["id"], wh = ["for"], Th = ["value", "placeholder"], Eh = /* @__PURE__ */ v({
13795
13883
  __name: "Color",
13796
13884
  props: /* @__PURE__ */ k({
13797
13885
  type: {},
@@ -13818,21 +13906,21 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13818
13906
  setup(e) {
13819
13907
  let t = e, n = ue(), r = fe(), [i, a] = pe(e, "modelValue"), o = c({
13820
13908
  get() {
13821
- return dh(i.value ?? "", Sd.value === "dark" ? "#ffffff" : "#000000");
13909
+ return hh(i.value ?? "", Sd.value === "dark" ? "#ffffff" : "#000000");
13822
13910
  },
13823
13911
  set(e) {
13824
- i.value = a.rgb ? uh(e) : e;
13912
+ i.value = a.rgb ? mh(e) : e;
13825
13913
  }
13826
13914
  });
13827
13915
  function s(e) {
13828
13916
  let t = e.target, n = t.value;
13829
- if (n && (a.rgb ? !lh.test(n) : !ch.test(n))) {
13917
+ if (n && (a.rgb ? !ph.test(n) : !fh.test(n))) {
13830
13918
  t.value = i.value ?? "";
13831
13919
  return;
13832
13920
  }
13833
13921
  i.value = n;
13834
13922
  }
13835
- return (e, a) => (R(), l(vh, A({
13923
+ return (e, a) => (R(), l(Sh, A({
13836
13924
  ...q(n),
13837
13925
  ...t
13838
13926
  }, {
@@ -13844,7 +13932,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13844
13932
  "onUpdate:modelValue": a[0] ||= (e) => o.value = e,
13845
13933
  type: "color",
13846
13934
  tabindex: "0"
13847
- }, null, 8, yh), [[ve, o.value]]), f("label", { for: q(r) }, [f("div", {
13935
+ }, null, 8, Ch), [[ve, o.value]]), f("label", { for: q(r) }, [f("div", {
13848
13936
  class: "vui-input-color-indicator",
13849
13937
  style: P({ backgroundColor: q(i) })
13850
13938
  }, [q(i) ? u("", !0) : (R(), l(q(et), { key: 0 }))], 4), f("input", {
@@ -13852,11 +13940,11 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13852
13940
  type: "text",
13853
13941
  placeholder: t.placeholder,
13854
13942
  onInput: s
13855
- }, null, 40, xh)], 8, bh)]),
13943
+ }, null, 40, Th)], 8, wh)]),
13856
13944
  _: 1
13857
13945
  }, 16));
13858
13946
  }
13859
- }), Ch = /* @__PURE__ */ tf(/* @__PURE__ */ v({
13947
+ }), Dh = /* @__PURE__ */ Xd(/* @__PURE__ */ v({
13860
13948
  __name: "Counter",
13861
13949
  props: /* @__PURE__ */ k({
13862
13950
  label: {},
@@ -13906,7 +13994,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13906
13994
  "decrementEnabled",
13907
13995
  "hideDecrement"
13908
13996
  ]), n = pe(e, "modelValue");
13909
- return (r, i) => (R(), l(vh, A(t, {
13997
+ return (r, i) => (R(), l(Sh, A(t, {
13910
13998
  modelValue: n.value,
13911
13999
  "onUpdate:modelValue": i[2] ||= (e) => n.value = e,
13912
14000
  modelModifiers: { number: !0 },
@@ -13937,7 +14025,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13937
14025
  _: 1
13938
14026
  }, 16, ["modelValue"]));
13939
14027
  }
13940
- }), [["__scopeId", "data-v-5059e818"]]), wh = ["id"], Th = ["for"], Eh = /* @__PURE__ */ v({
14028
+ }), [["__scopeId", "data-v-5059e818"]]), Oh = ["id"], kh = ["for"], Ah = /* @__PURE__ */ v({
13941
14029
  __name: "Dropzone",
13942
14030
  props: {
13943
14031
  label: {},
@@ -13963,7 +14051,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13963
14051
  let s = J("dropzone");
13964
14052
  return L(() => {
13965
14053
  Z(s, "dragenter", o, !1), Z(s, "dragleave", o, !1), Z(s, "dragover", o, !1), Z(s, "drop", o, !1), Z(s, "input", (e) => o(e, !0), !1);
13966
- }), (e, t) => (R(), l(vh, A(r, {
14054
+ }), (e, t) => (R(), l(Sh, A(r, {
13967
14055
  ref: "dropzone",
13968
14056
  type: "file",
13969
14057
  class: ["vui-dropzone", { dragging: a.value }],
@@ -13973,18 +14061,18 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
13973
14061
  __internal_replace_input: X(({ inputId: r }) => [f("input", {
13974
14062
  id: r,
13975
14063
  type: "file"
13976
- }, null, 8, wh), f("label", { for: r }, [H(e.$slots, "default", { dragging: a.value }, () => [g(or, {
14064
+ }, null, 8, Oh), f("label", { for: r }, [H(e.$slots, "default", { dragging: a.value }, () => [g(or, {
13977
14065
  "x-center": "",
13978
14066
  gap: "xs",
13979
14067
  "y-center": ""
13980
14068
  }, {
13981
14069
  default: X(() => [a.value ? (R(), d(n, { key: 0 }, [g(q(ot)), t[2] ||= h(" Drop it ", -1)], 64)) : (R(), d(n, { key: 1 }, [g(q(Xe)), t[3] ||= h(" Click or drag files over here ", -1)], 64))]),
13982
14070
  _: 1
13983
- })])], 8, Th)]),
14071
+ })])], 8, kh)]),
13984
14072
  _: 3
13985
14073
  }, 16, ["class"]));
13986
14074
  }
13987
- }), Dh = /* @__PURE__ */ v({
14075
+ }), jh = /* @__PURE__ */ v({
13988
14076
  __name: "File",
13989
14077
  props: {
13990
14078
  label: {},
@@ -14006,9 +14094,9 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14006
14094
  emits: ["files"],
14007
14095
  setup(e, { emit: t }) {
14008
14096
  let n = e, r = t;
14009
- return (e, t) => (R(), l(vh, A({ type: "file" }, n, { onInput: t[0] ||= (e) => r("files", e.target.files) }), null, 16));
14097
+ return (e, t) => (R(), l(Sh, A({ type: "file" }, n, { onInput: t[0] ||= (e) => r("files", e.target.files) }), null, 16));
14010
14098
  }
14011
- }), Oh = /* @__PURE__ */ v({
14099
+ }), Mh = /* @__PURE__ */ v({
14012
14100
  __name: "Password",
14013
14101
  props: {
14014
14102
  label: {},
@@ -14033,7 +14121,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14033
14121
  },
14034
14122
  setup(e) {
14035
14123
  let t = p(e, ["showPassword", "type"]), n = B(e.showPassword);
14036
- return (e, r) => (R(), l(vh, A(t, {
14124
+ return (e, r) => (R(), l(Sh, A(t, {
14037
14125
  type: n.value ? "text" : "password",
14038
14126
  autocomplete: "off"
14039
14127
  }), {
@@ -14057,10 +14145,10 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14057
14145
  _: 1
14058
14146
  }, 16, ["type"]));
14059
14147
  }
14060
- }), kh = { class: "vui-input" }, Ah = ["for"], jh = {
14148
+ }), Nh = { class: "vui-input" }, Ph = ["for"], Fh = {
14061
14149
  key: 1,
14062
14150
  class: "vui-input-hint"
14063
- }, Mh = [
14151
+ }, Ih = [
14064
14152
  "id",
14065
14153
  "readonly",
14066
14154
  "placeholder",
@@ -14069,13 +14157,13 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14069
14157
  "max",
14070
14158
  "rows",
14071
14159
  "cols"
14072
- ], Nh = {
14160
+ ], Lh = {
14073
14161
  key: 0,
14074
14162
  class: "vui-input-limit"
14075
- }, Ph = {
14163
+ }, Rh = {
14076
14164
  key: 1,
14077
14165
  class: "vui-input-errors"
14078
- }, Fh = /* @__PURE__ */ v({
14166
+ }, zh = /* @__PURE__ */ v({
14079
14167
  __name: "Textarea",
14080
14168
  props: /* @__PURE__ */ k({
14081
14169
  label: {},
@@ -14124,12 +14212,12 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14124
14212
  disabled: e.disabled
14125
14213
  }]) }, [
14126
14214
  H(t.$slots, "before"),
14127
- f("div", kh, [
14215
+ f("div", Nh, [
14128
14216
  e.label ? (R(), d("label", {
14129
14217
  key: 0,
14130
14218
  for: q(i)
14131
- }, G(e.label), 9, Ah)) : u("", !0),
14132
- e.hint ? (R(), d("p", jh, G(e.hint), 1)) : u("", !0),
14219
+ }, G(e.label), 9, Ph)) : u("", !0),
14220
+ e.hint ? (R(), d("p", Fh, G(e.hint), 1)) : u("", !0),
14133
14221
  Se(f("textarea", {
14134
14222
  id: q(i),
14135
14223
  ref: "textarea",
@@ -14146,24 +14234,24 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14146
14234
  resize: a.value,
14147
14235
  ...e.cols ? { width: `${e.cols + 1}ch` } : {}
14148
14236
  })
14149
- }, null, 12, Mh), [[ve, r.value]])
14237
+ }, null, 12, Ih), [[ve, r.value]])
14150
14238
  ]),
14151
- e.limit ? (R(), d("p", Nh, G(`${r.value.length}/${e.limit}`), 1)) : u("", !0),
14152
- e.errors.length > 0 ? (R(), d("ul", Ph, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0),
14239
+ e.limit ? (R(), d("p", Lh, G(`${r.value.length}/${e.limit}`), 1)) : u("", !0),
14240
+ e.errors.length > 0 ? (R(), d("ul", Rh, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0),
14153
14241
  H(t.$slots, "after")
14154
14242
  ], 2));
14155
14243
  }
14156
- }), Ih = /* @__PURE__ */ v({
14244
+ }), Bh = /* @__PURE__ */ v({
14157
14245
  __name: "KbdGroup",
14158
14246
  emits: ["trigger"],
14159
14247
  setup(e, { emit: t }) {
14160
14248
  let n = t, r = me(), i = vn(), a = On(r.default);
14161
14249
  return An(a, "Kbd"), zt(i[a.value.map((e) => e.props.keys).join("+")], () => n("trigger")), (e, t) => H(e.$slots, "default");
14162
14250
  }
14163
- }), Lh = { class: "marquee-wrap" }, Rh = { class: "marquee-content" }, zh = {
14251
+ }), Vh = { class: "marquee-wrap" }, Hh = { class: "marquee-content" }, Uh = {
14164
14252
  class: "marquee-content",
14165
14253
  "aria-hidden": "true"
14166
- }, Bh = /* @__PURE__ */ v({
14254
+ }, Wh = /* @__PURE__ */ v({
14167
14255
  __name: "Marquee",
14168
14256
  props: {
14169
14257
  direction: { default: "right" },
@@ -14177,7 +14265,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14177
14265
  t && (n.value = t.target.scrollWidth / 2);
14178
14266
  });
14179
14267
  let r = c(() => n.value > 0 ? n.value / e.speed : 0), i = c(() => !e.stagger || n.value === 0 ? "linear" : `steps(${Math.max(1, Math.round(n.value / 50))}, end)`);
14180
- return (a, o) => (R(), d("div", Lh, [f("div", {
14268
+ return (a, o) => (R(), d("div", Vh, [f("div", {
14181
14269
  ref_key: "trackRef",
14182
14270
  ref: t,
14183
14271
  class: "marquee-track",
@@ -14187,9 +14275,9 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14187
14275
  animationTimingFunction: i.value,
14188
14276
  visibility: n.value > 0 ? "visible" : "hidden"
14189
14277
  })
14190
- }, [f("div", Rh, [H(a.$slots, "default")]), f("div", zh, [H(a.$slots, "default")])], 4)]));
14278
+ }, [f("div", Hh, [H(a.$slots, "default")]), f("div", Uh, [H(a.$slots, "default")])], 4)]));
14191
14279
  }
14192
- }), Vh = Symbol("menubar"), Hh = /* @__PURE__ */ v({
14280
+ }), Gh = Symbol("menubar"), Kh = /* @__PURE__ */ v({
14193
14281
  __name: "Menubar",
14194
14282
  props: {
14195
14283
  inline: { type: Boolean },
@@ -14225,7 +14313,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14225
14313
  function o() {
14226
14314
  n.value = null;
14227
14315
  }
14228
- return re(Vh, {
14316
+ return re(Gh, {
14229
14317
  openIndex: n,
14230
14318
  register: i,
14231
14319
  open: a,
@@ -14235,10 +14323,10 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14235
14323
  _: 3
14236
14324
  }, 16));
14237
14325
  }
14238
- }), Uh = /* @__PURE__ */ v({
14326
+ }), qh = /* @__PURE__ */ v({
14239
14327
  __name: "MenuItem",
14240
14328
  setup(e) {
14241
- let { openIndex: t, register: r, open: i, close: a } = T(Vh), o = r(), s = J("trigger"), c = () => t.value === o;
14329
+ let { openIndex: t, register: r, open: i, close: a } = T(Gh), o = r(), s = J("trigger"), c = () => t.value === o;
14242
14330
  function l() {
14243
14331
  c() ? a() : i(o);
14244
14332
  }
@@ -14249,7 +14337,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14249
14337
  ref: "trigger",
14250
14338
  onClick: l,
14251
14339
  onMouseenter: u
14252
- }, [H(e.$slots, "default")], 544), g(yf, {
14340
+ }, [H(e.$slots, "default")], 544), g(qd, {
14253
14341
  anchor: s.value,
14254
14342
  visible: c(),
14255
14343
  placement: "bottom-start",
@@ -14263,7 +14351,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14263
14351
  "onClickOutside"
14264
14352
  ])], 64));
14265
14353
  }
14266
- }), Wh = { class: "typeset" }, Gh = /* @__PURE__ */ v({
14354
+ }), Jh = { class: "typeset" }, Yh = /* @__PURE__ */ v({
14267
14355
  __name: "Confirm",
14268
14356
  props: {
14269
14357
  title: {},
@@ -14298,11 +14386,11 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14298
14386
  ],
14299
14387
  setup(e, { emit: t }) {
14300
14388
  let n = e, r = t;
14301
- return (e, t) => (R(), l(nf, A(n, {
14389
+ return (e, t) => (R(), l(cf, A(n, {
14302
14390
  open: n.open,
14303
14391
  onClose: t[2] ||= (e) => r("close")
14304
14392
  }), {
14305
- default: X(() => [f("div", Wh, [H(e.$slots, "default")])]),
14393
+ default: X(() => [f("div", Jh, [H(e.$slots, "default")])]),
14306
14394
  footer: X(() => [g(or, { "x-end": "" }, {
14307
14395
  default: X(() => [n.showCancel ? (R(), l(gr, {
14308
14396
  key: 0,
@@ -14323,7 +14411,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14323
14411
  _: 3
14324
14412
  }, 16, ["open"]));
14325
14413
  }
14326
- }), Kh = { class: "vui-otp" }, qh = ["inputmode", "maxlength"], Jh = { class: "vui-otp-items" }, Yh = /* @__PURE__ */ v({
14414
+ }), Xh = { class: "vui-otp" }, Zh = ["inputmode", "maxlength"], Qh = { class: "vui-otp-items" }, $h = /* @__PURE__ */ v({
14327
14415
  __name: "OTP",
14328
14416
  props: /* @__PURE__ */ k({
14329
14417
  mode: { default: "both" },
@@ -14387,7 +14475,7 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14387
14475
  let n = e.target.value;
14388
14476
  n && g(n);
14389
14477
  }
14390
- return (t, n) => (R(), d("div", Kh, [f("input", {
14478
+ return (t, n) => (R(), d("div", Xh, [f("input", {
14391
14479
  ref: "inputRef",
14392
14480
  type: "text",
14393
14481
  inputmode: e.mode === "num" ? "numeric" : "text",
@@ -14402,9 +14490,9 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14402
14490
  onPaste: v,
14403
14491
  onBlur: n[0] ||= (e) => i.value = -1,
14404
14492
  onFocus: n[1] ||= (e) => i.value = Math.min(r.value.length, l.value - 1)
14405
- }, null, 40, qh), f("div", Jh, [H(t.$slots, "default")])]));
14493
+ }, null, 40, Zh), f("div", Qh, [H(t.$slots, "default")])]));
14406
14494
  }
14407
- }), Xh = /* @__PURE__ */ v({
14495
+ }), eg = /* @__PURE__ */ v({
14408
14496
  __name: "OTPItem",
14409
14497
  props: { i: {} },
14410
14498
  setup(e) {
@@ -14414,10 +14502,10 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14414
14502
  "has-value": q(r).trim().at(t.i)
14415
14503
  }]) }, [o[0] ||= f("div", { class: "blinker" }, null, -1), q(r).trim().at(t.i) ? (R(), d(n, { key: 0 }, [q(a) ? (R(), l(q(Fe), { key: 0 })) : (R(), d(n, { key: 1 }, [h(G(q(r).at(t.i)), 1)], 64))], 64)) : u("", !0)], 2));
14416
14504
  }
14417
- }), Zh = { class: "overflow-track" }, Qh = {
14505
+ }), tg = { class: "overflow-track" }, ng = {
14418
14506
  ref: "content",
14419
14507
  class: "overflow-content"
14420
- }, $h = /* @__PURE__ */ v({
14508
+ }, rg = /* @__PURE__ */ v({
14421
14509
  __name: "Overflow",
14422
14510
  props: {
14423
14511
  horizontal: { type: Boolean },
@@ -14433,18 +14521,18 @@ var fh = { class: "vui-input" }, ph = ["for"], mh = {
14433
14521
  "is-horizontal": e.horizontal,
14434
14522
  "is-vertical": !e.horizontal,
14435
14523
  "is-snap": e.snap
14436
- }]) }, [f("div", Zh, [
14524
+ }]) }, [f("div", tg, [
14437
14525
  f("div", { class: M(["overflow-shadow overflow-shadow-left", { visible: i.value }]) }, null, 2),
14438
14526
  f("div", { class: M(["overflow-shadow overflow-shadow-right", { visible: a.value }]) }, null, 2),
14439
14527
  f("div", { class: M(["overflow-shadow overflow-shadow-top", { visible: o.value }]) }, null, 2),
14440
14528
  f("div", { class: M(["overflow-shadow overflow-shadow-bottom", { visible: s.value }]) }, null, 2),
14441
- f("div", Qh, [H(t.$slots, "default")], 512)
14529
+ f("div", ng, [H(t.$slots, "default")], 512)
14442
14530
  ])], 2));
14443
14531
  }
14444
14532
  });
14445
14533
  //#endregion
14446
14534
  //#region src/components/Pagination/pagination.ts
14447
- function eg(e, t = 1, n = 15, r = 5) {
14535
+ function ig(e, t = 1, n = 15, r = 5) {
14448
14536
  let i = Math.ceil(e / n);
14449
14537
  t < 1 ? t = 1 : t > i && (t = i);
14450
14538
  let a, o;
@@ -14467,47 +14555,8 @@ function eg(e, t = 1, n = 15, r = 5) {
14467
14555
  };
14468
14556
  }
14469
14557
  //#endregion
14470
- //#region src/components/Tooltip/Tooltip.vue?vue&type=script&setup=true&lang.ts
14471
- var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14472
- inheritAttrs: !1,
14473
- __name: "Tooltip",
14474
- props: {
14475
- placement: {},
14476
- enterDelay: {},
14477
- leaveDelay: {},
14478
- disabled: { type: Boolean }
14479
- },
14480
- setup(e) {
14481
- let t = ue(), r = J("popoutAnchor"), i = B(!1), a = fe(), o = c(() => r.value?.children[0]), s = Ud(Bd.Tablet);
14482
- function l(t) {
14483
- e.disabled || s.value || (i.value = t);
14484
- }
14485
- return (r, s) => (R(), d(n, null, [f("div", {
14486
- ref: "popoutAnchor",
14487
- class: "popout-anchor",
14488
- "aria-describedby": q(a),
14489
- onMouseenter: s[0] ||= (e) => l(!0),
14490
- onMouseleave: s[1] ||= (e) => l(!1)
14491
- }, [H(r.$slots, "default", {}, void 0, !0)], 40, tg), g(yf, A({
14492
- id: q(a),
14493
- visible: i.value,
14494
- anchor: o.value,
14495
- "enter-delay": e.enterDelay,
14496
- "leave-delay": e.leaveDelay,
14497
- class: "vui-tooltip"
14498
- }, q(t), { placement: e.placement }), {
14499
- default: X(() => [H(r.$slots, "tooltip", {}, void 0, !0)]),
14500
- _: 3
14501
- }, 16, [
14502
- "id",
14503
- "visible",
14504
- "anchor",
14505
- "enter-delay",
14506
- "leave-delay",
14507
- "placement"
14508
- ])], 64));
14509
- }
14510
- }), [["__scopeId", "data-v-865326ff"]]), rg = /* @__PURE__ */ v({
14558
+ //#region src/components/Pagination/Pagination.vue
14559
+ var ag = /* @__PURE__ */ v({
14511
14560
  __name: "Pagination",
14512
14561
  props: {
14513
14562
  numbers: {
@@ -14540,7 +14589,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14540
14589
  gap: "xxs"
14541
14590
  }, {
14542
14591
  default: X(() => [
14543
- H(e.$slots, "start", {}, () => [r.firstLast ? (R(), l(ng, { key: 0 }, {
14592
+ H(e.$slots, "start", {}, () => [r.firstLast ? (R(), l(Zd, { key: 0 }, {
14544
14593
  tooltip: X(() => [...t[2] ||= [f("p", null, "First page", -1)]]),
14545
14594
  default: X(() => [g(gr, {
14546
14595
  plain: "",
@@ -14556,7 +14605,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14556
14605
  H(e.$slots, "prev", {
14557
14606
  disabled: o.value,
14558
14607
  setPage: p
14559
- }, () => [r.prevNext ? (R(), l(ng, { key: 0 }, {
14608
+ }, () => [r.prevNext ? (R(), l(Zd, { key: 0 }, {
14560
14609
  tooltip: X(() => [...t[3] ||= [f("p", null, "Previous page", -1)]]),
14561
14610
  default: X(() => [g(gr, {
14562
14611
  plain: "",
@@ -14588,7 +14637,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14588
14637
  H(e.$slots, "next", {
14589
14638
  disabled: a.value,
14590
14639
  setPage: s
14591
- }, () => [r.prevNext ? (R(), l(ng, { key: 0 }, {
14640
+ }, () => [r.prevNext ? (R(), l(Zd, { key: 0 }, {
14592
14641
  tooltip: X(() => [...t[4] ||= [f("p", null, "Next page", -1)]]),
14593
14642
  default: X(() => [g(gr, {
14594
14643
  plain: "",
@@ -14601,7 +14650,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14601
14650
  }, 8, ["disabled"])]),
14602
14651
  _: 1
14603
14652
  })) : u("", !0)]),
14604
- H(e.$slots, "end", {}, () => [r.firstLast ? (R(), l(ng, { key: 0 }, {
14653
+ H(e.$slots, "end", {}, () => [r.firstLast ? (R(), l(Zd, { key: 0 }, {
14605
14654
  tooltip: X(() => [...t[5] ||= [f("p", null, "Last page", -1)]]),
14606
14655
  default: X(() => [g(gr, {
14607
14656
  plain: "",
@@ -14618,7 +14667,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14618
14667
  _: 3
14619
14668
  }));
14620
14669
  }
14621
- }), ig = ["aria-expanded", "aria-controls"], ag = /* @__PURE__ */ v({
14670
+ }), og = ["aria-expanded", "aria-controls"], sg = /* @__PURE__ */ v({
14622
14671
  inheritAttrs: !1,
14623
14672
  __name: "PopoutHover",
14624
14673
  props: {
@@ -14660,7 +14709,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14660
14709
  onMouseleave: a[1] ||= (e) => u(!1),
14661
14710
  onFocusin: a[2] ||= (e) => u(!0),
14662
14711
  onFocusout: l
14663
- }, [H(i.$slots, "trigger")], 40, ig), g(yf, A({
14712
+ }, [H(i.$slots, "trigger")], 40, og), g(qd, A({
14664
14713
  id: q(o),
14665
14714
  ref: "popoutRef"
14666
14715
  }, {
@@ -14685,7 +14734,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14685
14734
  "leave-delay"
14686
14735
  ])], 64));
14687
14736
  }
14688
- }), og = /* @__PURE__ */ v({
14737
+ }), cg = /* @__PURE__ */ v({
14689
14738
  __name: "Progress",
14690
14739
  props: /* @__PURE__ */ k({
14691
14740
  fake: { type: Boolean },
@@ -14725,18 +14774,18 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14725
14774
  })
14726
14775
  }, null, 4)], 2));
14727
14776
  }
14728
- }), sg = [
14777
+ }), lg = [
14729
14778
  "id",
14730
14779
  "value",
14731
14780
  "checked",
14732
14781
  "disabled"
14733
- ], cg = ["for"], lg = { class: "vui-radio-icon" }, ug = {
14782
+ ], ug = ["for"], dg = { class: "vui-radio-icon" }, fg = {
14734
14783
  key: 0,
14735
14784
  class: "vui-radio-content"
14736
- }, dg = {
14785
+ }, pg = {
14737
14786
  key: 1,
14738
14787
  class: "vui-radio-content"
14739
- }, fg = /* @__PURE__ */ v({
14788
+ }, mg = /* @__PURE__ */ v({
14740
14789
  __name: "Radio",
14741
14790
  props: /* @__PURE__ */ k({
14742
14791
  label: {},
@@ -14761,9 +14810,9 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14761
14810
  value: e.value,
14762
14811
  checked: i.value,
14763
14812
  disabled: e.disabled
14764
- }, null, 8, sg), [[_e, n.value]]), f("label", { for: q(r) }, [f("span", lg, [i.value ? (R(), l(q(nt), { key: 1 })) : (R(), l(q(Ke), { key: 0 }))]), t.default ? (R(), d("div", dg, [H(a.$slots, "default")])) : (R(), d("p", ug, G(e.label || e.value), 1))], 8, cg)], 2));
14813
+ }, null, 8, lg), [[_e, n.value]]), f("label", { for: q(r) }, [f("span", dg, [i.value ? (R(), l(q(nt), { key: 1 })) : (R(), l(q(Ke), { key: 0 }))]), t.default ? (R(), d("div", pg, [H(a.$slots, "default")])) : (R(), d("p", fg, G(e.label || e.value), 1))], 8, ug)], 2));
14765
14814
  }
14766
- }), pg = /* @__PURE__ */ v({
14815
+ }), hg = /* @__PURE__ */ v({
14767
14816
  __name: "RadioGroup",
14768
14817
  props: /* @__PURE__ */ k({
14769
14818
  disabled: { type: Boolean },
@@ -14804,11 +14853,11 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14804
14853
  _: 1
14805
14854
  }, 16)]));
14806
14855
  }
14807
- }), mg = [
14856
+ }), gg = [
14808
14857
  "data-handle-index",
14809
14858
  "onDblclick",
14810
14859
  "onFocus"
14811
- ], hg = /* @__PURE__ */ v({
14860
+ ], _g = /* @__PURE__ */ v({
14812
14861
  __name: "Resizable",
14813
14862
  props: {
14814
14863
  vertical: { type: Boolean },
@@ -14868,9 +14917,9 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14868
14917
  onDblclick: (e) => y(t),
14869
14918
  onFocus: (e) => o.value = t,
14870
14919
  onBlur: r[0] ||= (e) => o.value = -1
14871
- }, null, 40, mg)) : u("", !0)], 64))), 128))], 2));
14920
+ }, null, 40, gg)) : u("", !0)], 64))), 128))], 2));
14872
14921
  }
14873
- }), gg = ["name"], _g = /* @__PURE__ */ v({
14922
+ }), vg = ["name"], yg = /* @__PURE__ */ v({
14874
14923
  __name: "Tab",
14875
14924
  props: {
14876
14925
  disabled: { type: Boolean },
@@ -14882,16 +14931,16 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14882
14931
  class: M(["vui-tab", { disabled: t.disabled }]),
14883
14932
  role: "tab",
14884
14933
  name: e.value
14885
- }, [H(n.$slots, "default", {}, () => [h(G(t.value), 1)])], 10, gg));
14934
+ }, [H(n.$slots, "default", {}, () => [h(G(t.value), 1)])], 10, vg));
14886
14935
  }
14887
- }), vg = {
14936
+ }), bg = {
14888
14937
  key: 0,
14889
14938
  class: "flex-1"
14890
- }, yg = {
14939
+ }, xg = {
14891
14940
  key: 0,
14892
14941
  ref: "underline",
14893
14942
  class: "vui-tab-underline"
14894
- }, bg = /* @__PURE__ */ v({
14943
+ }, Sg = /* @__PURE__ */ v({
14895
14944
  __name: "Tabs",
14896
14945
  props: /* @__PURE__ */ k({
14897
14946
  variant: { default: "default" },
@@ -14937,18 +14986,18 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14937
14986
  class: M({ active: e.props.value === r.value }),
14938
14987
  onClick: (t) => r.value = e.props.value
14939
14988
  }, null, 8, ["class", "onClick"]))), 128)),
14940
- t.$slots.end ? (R(), d(n, { key: 0 }, [e.expand ? u("", !0) : (R(), d("div", vg)), H(t.$slots, "end")], 64)) : u("", !0),
14989
+ t.$slots.end ? (R(), d(n, { key: 0 }, [e.expand ? u("", !0) : (R(), d("div", bg)), H(t.$slots, "end")], 64)) : u("", !0),
14941
14990
  g(i, {
14942
14991
  name: e.transitionName === "none" ? void 0 : e.transitionName,
14943
14992
  css: e.transitionName !== "none",
14944
14993
  appear: ""
14945
14994
  }, {
14946
- default: X(() => [r.value ? (R(), d("div", yg, null, 512)) : u("", !0)]),
14995
+ default: X(() => [r.value ? (R(), d("div", xg, null, 512)) : u("", !0)]),
14947
14996
  _: 1
14948
14997
  }, 8, ["name", "css"])
14949
14998
  ], 2));
14950
14999
  }
14951
- }), xg = { class: "view-wrap" }, Sg = .33, Cg = /* @__PURE__ */ v({
15000
+ }), Cg = { class: "view-wrap" }, wg = .33, Tg = /* @__PURE__ */ v({
14952
15001
  __name: "ViewPanel",
14953
15002
  props: { panel: {} },
14954
15003
  setup(e) {
@@ -14964,7 +15013,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14964
15013
  a.value = e.clientX > n.left + n.width / 2 ? t + 1 : t;
14965
15014
  }
14966
15015
  let m = B(0), _ = c(() => m.value > 0), { elementX: v, elementY: y, elementWidth: b, elementHeight: x } = xn(J("contentRef"), { handleOutside: !1 }), S = c(() => {
14967
- if (!(!v.value || !y.value || !b.value || !x.value)) return v.value < b.value * Sg ? "left" : v.value > b.value * (1 - Sg) ? "right" : y.value < x.value * Sg ? "top" : y.value > x.value * (1 - Sg) ? "bottom" : "center";
15016
+ if (!(!v.value || !y.value || !b.value || !x.value)) return v.value < b.value * wg ? "left" : v.value > b.value * (1 - wg) ? "right" : y.value < x.value * wg ? "top" : y.value > x.value * (1 - wg) ? "bottom" : "center";
14968
15017
  }), { startDrag: C, handleDrag: w, handleSplit: E, peekDragTab: D, isDragFromPanel: O } = T("$vrp");
14969
15018
  function k(e, n) {
14970
15019
  C(t.panel, n);
@@ -14979,11 +15028,11 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14979
15028
  !n || n === "center" ? w(t.panel, t.panel.tabs.length) : E(t.panel, n), e && (r.value = e.path);
14980
15029
  }
14981
15030
  let N = c(() => t.panel.tabs.find((e) => e.path === r.value));
14982
- return (c, v) => (R(), d("div", xg, [g(jd, {
15031
+ return (c, v) => (R(), d("div", Cg, [g(jd, {
14983
15032
  padding: !1,
14984
15033
  "header-separator": ""
14985
15034
  }, {
14986
- header: X(() => [g(bg, {
15035
+ header: X(() => [g(Sg, {
14987
15036
  modelValue: r.value,
14988
15037
  "onUpdate:modelValue": v[0] ||= (e) => r.value = e,
14989
15038
  variant: "filled",
@@ -14992,7 +15041,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
14992
15041
  onDragover: v[3] ||= we(() => {}, ["prevent"]),
14993
15042
  onDrop: v[4] ||= we((e) => A(), ["prevent"])
14994
15043
  }, {
14995
- default: X(() => [(R(!0), d(n, null, V(e.panel.tabs, (t, n) => (R(), l(_g, {
15044
+ default: X(() => [(R(!0), d(n, null, V(e.panel.tabs, (t, n) => (R(), l(yg, {
14996
15045
  key: t.path,
14997
15046
  value: t.path,
14998
15047
  draggable: !0,
@@ -15028,7 +15077,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15028
15077
  _: 3
15029
15078
  })]));
15030
15079
  }
15031
- }), wg = /* @__PURE__ */ v({
15080
+ }), Eg = /* @__PURE__ */ v({
15032
15081
  __name: "ResizableView",
15033
15082
  props: {
15034
15083
  modelValue: { default: [] },
@@ -15115,22 +15164,22 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15115
15164
  handleSplit: v,
15116
15165
  peekDragTab: y,
15117
15166
  isDragFromPanel: b
15118
- }), (e, i) => (R(), l(hg, {
15167
+ }), (e, i) => (R(), l(_g, {
15119
15168
  "hide-handles": "",
15120
15169
  class: "vui-resizable-view"
15121
15170
  }, {
15122
- default: X(() => [(R(!0), d(n, null, V(r.value, (r) => (R(), d(n, { key: s(r) }, [Array.isArray(r) ? (R(), l(hg, {
15171
+ default: X(() => [(R(!0), d(n, null, V(r.value, (r) => (R(), d(n, { key: s(r) }, [Array.isArray(r) ? (R(), l(_g, {
15123
15172
  key: 0,
15124
15173
  "hide-handles": "",
15125
15174
  class: "nested-view",
15126
15175
  vertical: ""
15127
15176
  }, {
15128
- default: X(() => [(R(!0), d(n, null, V(r, (r) => (R(), d(n, { key: s(r) }, [Array.isArray(r) ? (R(), l(hg, {
15177
+ default: X(() => [(R(!0), d(n, null, V(r, (r) => (R(), d(n, { key: s(r) }, [Array.isArray(r) ? (R(), l(_g, {
15129
15178
  key: 0,
15130
15179
  "hide-handles": "",
15131
15180
  class: "nested-view"
15132
15181
  }, {
15133
- default: X(() => [(R(!0), d(n, null, V(r, (n) => (R(), l(Cg, {
15182
+ default: X(() => [(R(!0), d(n, null, V(r, (n) => (R(), l(Tg, {
15134
15183
  key: s(n),
15135
15184
  panel: n
15136
15185
  }, m({ _: 2 }, [t.tab ? {
@@ -15139,7 +15188,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15139
15188
  key: "0"
15140
15189
  } : void 0]), 1032, ["panel"]))), 128))]),
15141
15190
  _: 2
15142
- }, 1024)) : (R(), l(Cg, {
15191
+ }, 1024)) : (R(), l(Tg, {
15143
15192
  key: 1,
15144
15193
  panel: r
15145
15194
  }, m({ _: 2 }, [t.tab ? {
@@ -15148,7 +15197,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15148
15197
  key: "0"
15149
15198
  } : void 0]), 1032, ["panel"]))], 64))), 128))]),
15150
15199
  _: 2
15151
- }, 1024)) : (R(), l(Cg, {
15200
+ }, 1024)) : (R(), l(Tg, {
15152
15201
  key: 1,
15153
15202
  panel: r
15154
15203
  }, m({ _: 2 }, [t.tab ? {
@@ -15159,23 +15208,23 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15159
15208
  _: 3
15160
15209
  }));
15161
15210
  }
15162
- }), Tg = { class: "vui-input vui-select-trigger-content" }, Eg = ["for"], Dg = {
15211
+ }), Dg = { class: "vui-input vui-select-trigger-content" }, Og = ["for"], kg = {
15163
15212
  key: 1,
15164
15213
  class: "vui-input-hint"
15165
- }, Og = [
15214
+ }, Ag = [
15166
15215
  "id",
15167
15216
  "disabled",
15168
15217
  "onClick"
15169
- ], kg = {
15218
+ ], jg = {
15170
15219
  key: 1,
15171
15220
  class: "vue-select-no-results"
15172
- }, Ag = {
15221
+ }, Mg = {
15173
15222
  key: 0,
15174
15223
  class: "vui-input-limit"
15175
- }, jg = {
15224
+ }, Ng = {
15176
15225
  key: 1,
15177
15226
  class: "vui-input-errors"
15178
- }, Mg = /* @__PURE__ */ v({
15227
+ }, Pg = /* @__PURE__ */ v({
15179
15228
  __name: "Select",
15180
15229
  props: /* @__PURE__ */ k({
15181
15230
  single: {
@@ -15234,7 +15283,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15234
15283
  function _() {
15235
15284
  r.value = void 0, m.value?.close();
15236
15285
  }
15237
- let v = fe(), y = Ud(Bd.Mobile);
15286
+ let v = fe(), y = Rd(Fd.Mobile);
15238
15287
  return (c, m) => (R(), d("div", {
15239
15288
  class: M(["vui-input-container vui-select", {
15240
15289
  required: e.required,
@@ -15244,19 +15293,19 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15244
15293
  }]),
15245
15294
  style: P(t.value)
15246
15295
  }, [
15247
- g(Zm, {
15296
+ g(th, {
15248
15297
  ref: "dropdown",
15249
15298
  "max-height": e.maxHeight,
15250
15299
  "transition-name": e.transitionName,
15251
15300
  "no-mobile-drawer": e.noMobileDrawer,
15252
15301
  onClose: m[1] ||= (e) => i.value?.focus({ preventScroll: !0 })
15253
15302
  }, {
15254
- trigger: X(({ toggle: t, isOpen: i }) => [f("div", Tg, [
15303
+ trigger: X(({ toggle: t, isOpen: i }) => [f("div", Dg, [
15255
15304
  e.label ? (R(), d("label", {
15256
15305
  key: 0,
15257
15306
  for: q(v)
15258
- }, G(e.label), 9, Eg)) : u("", !0),
15259
- e.hint ? (R(), d("p", Dg, G(e.hint), 1)) : u("", !0),
15307
+ }, G(e.label), 9, Og)) : u("", !0),
15308
+ e.hint ? (R(), d("p", kg, G(e.hint), 1)) : u("", !0),
15260
15309
  f("button", {
15261
15310
  id: q(v),
15262
15311
  ref: "trigger",
@@ -15275,14 +15324,14 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15275
15324
  _: 1
15276
15325
  })], 64)) : u("", !0),
15277
15326
  i ? (R(), l(q(He), { key: 1 })) : (R(), l(q(ze), { key: 2 }))
15278
- ], 10, Og)
15327
+ ], 10, Ag)
15279
15328
  ])]),
15280
15329
  default: X(({ close: t, isOpen: i }) => [
15281
- e.search ? (R(), l(ah, {
15330
+ e.search ? (R(), l(lh, {
15282
15331
  key: 0,
15283
15332
  sticky: ""
15284
15333
  }, {
15285
- default: X(() => [g(vh, {
15334
+ default: X(() => [g(Sh, {
15286
15335
  modelValue: o.value,
15287
15336
  "onUpdate:modelValue": m[0] ||= (e) => o.value = e,
15288
15337
  placeholder: "Search...",
@@ -15294,8 +15343,8 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15294
15343
  }, 8, ["modelValue", "focus"])]),
15295
15344
  _: 2
15296
15345
  }, 1024)) : u("", !0),
15297
- s.value.length === 0 ? (R(), d("p", kg, " No results... ")) : u("", !0),
15298
- (R(!0), d(n, null, V(s.value, (n) => (R(), l(rh, {
15346
+ s.value.length === 0 ? (R(), d("p", jg, " No results... ")) : u("", !0),
15347
+ (R(!0), d(n, null, V(s.value, (n) => (R(), l(sh, {
15299
15348
  key: n.value,
15300
15349
  class: M({ selected: r.value?.find((e) => e.value === n.value) }),
15301
15350
  onClick: () => {
@@ -15312,14 +15361,14 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15312
15361
  "transition-name",
15313
15362
  "no-mobile-drawer"
15314
15363
  ]),
15315
- e.maxActiveOptions && !e.single ? (R(), d("p", Ag, G(`${r.value ? r.value.length : 0}/${e.maxActiveOptions}`), 1)) : u("", !0),
15316
- e.errors.length > 0 ? (R(), d("ul", jg, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0)
15364
+ e.maxActiveOptions && !e.single ? (R(), d("p", Mg, G(`${r.value ? r.value.length : 0}/${e.maxActiveOptions}`), 1)) : u("", !0),
15365
+ e.errors.length > 0 ? (R(), d("ul", Ng, [(R(!0), d(n, null, V(e.errors, (e) => (R(), d("li", { key: e }, G(e), 1))), 128))])) : u("", !0)
15317
15366
  ], 6));
15318
15367
  }
15319
- }), Ng = {
15368
+ }), Fg = {
15320
15369
  key: 0,
15321
15370
  class: "vui-sheet-shell"
15322
- }, Pg = 16, Fg = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15371
+ }, Ig = 16, Lg = /* @__PURE__ */ Xd(/* @__PURE__ */ v({
15323
15372
  inheritAttrs: !1,
15324
15373
  __name: "Sheet",
15325
15374
  props: {
@@ -15357,13 +15406,13 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15357
15406
  if (e.position === "left" || e.position === "right") return { maxWidth: Xn(e.size) };
15358
15407
  }), h = c(() => {
15359
15408
  switch (e.position) {
15360
- case "left": return `translate(-${Pg}px, 0)`;
15361
- case "top": return `translate(0, -${Pg}px)`;
15362
- case "bottom": return `translate(0, ${Pg}px)`;
15363
- default: return `translate(${Pg}px, 0)`;
15409
+ case "left": return `translate(-${Ig}px, 0)`;
15410
+ case "top": return `translate(0, -${Ig}px)`;
15411
+ case "bottom": return `translate(0, ${Ig}px)`;
15412
+ default: return `translate(${Ig}px, 0)`;
15364
15413
  }
15365
15414
  });
15366
- return (t, c) => (R(), l(r, { to: "body" }, [o.value ? (R(), l($d, {
15415
+ return (t, c) => (R(), l(r, { to: "body" }, [o.value ? (R(), l(sf, {
15367
15416
  key: 0,
15368
15417
  onClose: s
15369
15418
  }, {
@@ -15373,7 +15422,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15373
15422
  css: e.transitionName !== "none",
15374
15423
  onAfterLeave: f
15375
15424
  }, {
15376
- default: X(() => [e.open ? (R(), d("div", Ng, [g(jd, A({
15425
+ default: X(() => [e.open ? (R(), d("div", Fg, [g(jd, A({
15377
15426
  class: ["vui-sheet", [`vui-sheet-position-${e.position}`]],
15378
15427
  style: p.value
15379
15428
  }, {
@@ -15412,13 +15461,13 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15412
15461
  _: 3
15413
15462
  })) : u("", !0)]));
15414
15463
  }
15415
- }), [["__scopeId", "data-v-d0fc93ff"]]), Ig = {
15464
+ }), [["__scopeId", "data-v-d0fc93ff"]]), Rg = {
15416
15465
  key: 0,
15417
15466
  class: "vui-sidebar-header"
15418
- }, Lg = { class: "vui-sidebar-content" }, Rg = { class: "vui-sidebar-content-wrap" }, zg = {
15467
+ }, zg = { class: "vui-sidebar-content" }, Bg = { class: "vui-sidebar-content-wrap" }, Vg = {
15419
15468
  key: 1,
15420
15469
  class: "vui-sidebar-footer"
15421
- }, Bg = 32, Vg = /* @__PURE__ */ v({
15470
+ }, Hg = 32, Ug = /* @__PURE__ */ v({
15422
15471
  __name: "Sidebar",
15423
15472
  props: /* @__PURE__ */ k({
15424
15473
  width: { default: 224 },
@@ -15450,7 +15499,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15450
15499
  return F(() => {
15451
15500
  t.appear && r.value && (r.value = !1);
15452
15501
  }), Rt(h, (e) => {
15453
- !t.appear || e <= Bg && e >= 0 && m.value || (e <= Bg && e >= 0 && !r.value && !m.value ? l() : m.value && p(), (e > Bg + (t.mini ? 65 : t.floaty ? t.width : t.width - (Un(a.value) ? 0 : Number(a.value?.replace("px", "")))) || e < 0) && r.value && (r.value = !1));
15502
+ !t.appear || e <= Hg && e >= 0 && m.value || (e <= Hg && e >= 0 && !r.value && !m.value ? l() : m.value && p(), (e > Hg + (t.mini ? 65 : t.floaty ? t.width : t.width - (Un(a.value) ? 0 : Number(a.value?.replace("px", "")))) || e < 0) && r.value && (r.value = !1));
15454
15503
  }, {
15455
15504
  throttle: 100,
15456
15505
  immediate: !0
@@ -15467,21 +15516,21 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15467
15516
  }]),
15468
15517
  style: P({ width: `${t.mini ? 65 : t.width}px` })
15469
15518
  }, [
15470
- q(i).header ? (R(), d("div", Ig, [H(e.$slots, "header", N(S(s.value)))])) : u("", !0),
15471
- f("div", Lg, [f("div", Rg, [H(e.$slots, "default", N(S(s.value)))])]),
15472
- q(i).footer ? (R(), d("div", zg, [H(e.$slots, "footer", N(S(s.value)))])) : u("", !0)
15519
+ q(i).header ? (R(), d("div", Rg, [H(e.$slots, "header", N(S(s.value)))])) : u("", !0),
15520
+ f("div", zg, [f("div", Bg, [H(e.$slots, "default", N(S(s.value)))])]),
15521
+ q(i).footer ? (R(), d("div", Vg, [H(e.$slots, "footer", N(S(s.value)))])) : u("", !0)
15473
15522
  ], 6)], 6));
15474
15523
  }
15475
- }), Hg = "var(--border-radius-s)", Ug = /* @__PURE__ */ v({
15524
+ }), Wg = "var(--border-radius-s)", Gg = /* @__PURE__ */ v({
15476
15525
  __name: "Skeleton",
15477
15526
  props: {
15478
- radius: { default: () => Hg },
15527
+ radius: { default: () => Wg },
15479
15528
  width: { default: "100%" },
15480
15529
  height: { default: "32px" },
15481
15530
  circle: { type: Boolean }
15482
15531
  },
15483
15532
  setup(e) {
15484
- let t = c(() => Xn(e.circle && e.radius === Hg ? 9999 : e.radius)), n = c(() => Xn(e.circle ? e.width || e.height : e.width)), r = c(() => Xn(e.circle && e.width || e.height));
15533
+ let t = c(() => Xn(e.circle && e.radius === Wg ? 9999 : e.radius)), n = c(() => Xn(e.circle ? e.width || e.height : e.width)), r = c(() => Xn(e.circle && e.width || e.height));
15485
15534
  return (e, i) => (R(), d("div", {
15486
15535
  class: "vui-skeleton",
15487
15536
  style: P({
@@ -15491,25 +15540,25 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15491
15540
  })
15492
15541
  }, null, 4));
15493
15542
  }
15494
- }), Wg = ["inert"], Gg = [
15543
+ }), Kg = ["inert"], qg = [
15495
15544
  "aria-label",
15496
15545
  "aria-disabled",
15497
15546
  "aria-valuemin",
15498
15547
  "aria-valuemax",
15499
15548
  "aria-valuenow"
15500
- ], Kg = [
15549
+ ], Jg = [
15501
15550
  "aria-label",
15502
15551
  "aria-disabled",
15503
15552
  "aria-valuemin",
15504
15553
  "aria-valuemax",
15505
15554
  "aria-valuenow"
15506
- ], qg = [
15555
+ ], Yg = [
15507
15556
  "aria-label",
15508
15557
  "aria-disabled",
15509
15558
  "aria-valuemin",
15510
15559
  "aria-valuemax",
15511
15560
  "aria-valuenow"
15512
- ], Jg = /* @__PURE__ */ v({
15561
+ ], Xg = /* @__PURE__ */ v({
15513
15562
  __name: "Slider",
15514
15563
  props: /* @__PURE__ */ k({
15515
15564
  min: { default: 0 },
@@ -15648,7 +15697,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15648
15697
  onMousedown: s[0] ||= (e) => y(e, 0),
15649
15698
  onTouchstart: s[1] ||= (e) => b(e, 0),
15650
15699
  onKeydown: s[2] ||= (e) => C(e, 0)
15651
- }, null, 44, Gg), f("span", {
15700
+ }, null, 44, qg), f("span", {
15652
15701
  class: "vui-slider-handle",
15653
15702
  tabindex: "0",
15654
15703
  role: "slider",
@@ -15662,7 +15711,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15662
15711
  onMousedown: s[3] ||= (e) => y(e, 1),
15663
15712
  onTouchstart: s[4] ||= (e) => b(e, 1),
15664
15713
  onKeydown: s[5] ||= (e) => C(e, 1)
15665
- }, null, 44, Kg)], 64)) : (R(), d("span", {
15714
+ }, null, 44, Jg)], 64)) : (R(), d("span", {
15666
15715
  key: 1,
15667
15716
  class: "vui-slider-handle",
15668
15717
  tabindex: "0",
@@ -15677,24 +15726,24 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15677
15726
  onMousedown: s[6] ||= (e) => y(e, 0),
15678
15727
  onTouchstart: s[7] ||= (e) => b(e, 0),
15679
15728
  onKeydown: s[8] ||= (e) => C(e)
15680
- }, null, 44, qg)),
15729
+ }, null, 44, Yg)),
15681
15730
  e.steps ? (R(!0), d(n, { key: 2 }, V(e.steps + 1, (t) => (R(), d("div", {
15682
15731
  key: t,
15683
15732
  class: "vui-slider-step-indicator",
15684
15733
  style: P({ left: `${(t - 1) / e.steps * 100}%` })
15685
15734
  }, null, 4))), 128)) : u("", !0)
15686
- ], 10, Wg));
15735
+ ], 10, Kg));
15687
15736
  }
15688
- }), Yg = ["id", "disabled"], Xg = ["for"], Zg = { class: "w-100" }, Qg = {
15737
+ }), Zg = ["id", "disabled"], Qg = ["for"], $g = { class: "w-100" }, e_ = {
15689
15738
  key: 0,
15690
15739
  class: "vui-switch-content"
15691
- }, $g = {
15740
+ }, t_ = {
15692
15741
  key: 1,
15693
15742
  class: "vui-switch-content"
15694
- }, e_ = {
15743
+ }, n_ = {
15695
15744
  key: 2,
15696
15745
  class: "vui-hint mt-xxs block"
15697
- }, t_ = /* @__PURE__ */ v({
15746
+ }, r_ = /* @__PURE__ */ v({
15698
15747
  __name: "Switch",
15699
15748
  props: /* @__PURE__ */ k({
15700
15749
  label: {},
@@ -15719,22 +15768,22 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15719
15768
  "onUpdate:modelValue": a[0] ||= (e) => n.value = e,
15720
15769
  type: "checkbox",
15721
15770
  disabled: e.disabled
15722
- }, null, 8, Yg), [[he, n.value]]), f("label", { for: q(r) }, [a[1] ||= f("div", { class: "vui-switch-icon" }, [f("span", { class: "vui-switch-indicator" })], -1), f("div", Zg, [!t.default && e.label ? (R(), d("p", Qg, G(e.label), 1)) : (R(), d("div", $g, [H(i.$slots, "default")])), e.hint ? (R(), d("p", e_, G(e.hint), 1)) : u("", !0)])], 8, Xg)], 2));
15771
+ }, null, 8, Zg), [[he, n.value]]), f("label", { for: q(r) }, [a[1] ||= f("div", { class: "vui-switch-icon" }, [f("span", { class: "vui-switch-indicator" })], -1), f("div", $g, [!t.default && e.label ? (R(), d("p", e_, G(e.label), 1)) : (R(), d("div", t_, [H(i.$slots, "default")])), e.hint ? (R(), d("p", n_, G(e.hint), 1)) : u("", !0)])], 8, Qg)], 2));
15723
15772
  }
15724
- }), n_ = {
15773
+ }), i_ = {
15725
15774
  key: 0,
15726
15775
  ref: "context",
15727
15776
  class: "vui-cell-context"
15728
- }, r_ = /* @__PURE__ */ v({
15777
+ }, a_ = /* @__PURE__ */ v({
15729
15778
  __name: "Cell",
15730
15779
  setup(e) {
15731
15780
  let t = me(), n = J("context"), r = c(() => !t.context || !window ? {} : { paddingRight: `${n.value?.getBoundingClientRect().width ?? 0}px` });
15732
- return (e, t) => (R(), d("td", { style: P(r.value) }, [H(e.$slots, "default"), e.$slots.context ? (R(), d("div", n_, [H(e.$slots, "context")], 512)) : u("", !0)], 4));
15781
+ return (e, t) => (R(), d("td", { style: P(r.value) }, [H(e.$slots, "default"), e.$slots.context ? (R(), d("div", i_, [H(e.$slots, "context")], 512)) : u("", !0)], 4));
15733
15782
  }
15734
- }), i_ = {
15783
+ }), o_ = {
15735
15784
  key: 0,
15736
15785
  class: "vui-table-th-content"
15737
- }, a_ = /* @__PURE__ */ v({
15786
+ }, s_ = /* @__PURE__ */ v({
15738
15787
  __name: "Head",
15739
15788
  props: {
15740
15789
  header: {},
@@ -15757,7 +15806,7 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15757
15806
  };
15758
15807
  }
15759
15808
  });
15760
- return (e, r) => (R(), d("th", null, [t.header || e.$slots.default ? (R(), d("div", i_, [H(e.$slots, "default", {}, () => [h(G(t.header?.label), 1)]), t.sort && t.header ? (R(), l(ng, {
15809
+ return (e, r) => (R(), d("th", null, [t.header || e.$slots.default ? (R(), d("div", o_, [H(e.$slots, "default", {}, () => [h(G(t.header?.label), 1)]), t.sort && t.header ? (R(), l(Zd, {
15761
15810
  key: 0,
15762
15811
  placement: "top"
15763
15812
  }, {
@@ -15776,8 +15825,8 @@ var tg = ["aria-describedby"], ng = /* @__PURE__ */ tf(/* @__PURE__ */ v({
15776
15825
  _: 1
15777
15826
  })) : u("", !0)])) : u("", !0)]));
15778
15827
  }
15779
- }), o_ = Symbol("select-row-provide");
15780
- function s_(e, t) {
15828
+ }), c_ = Symbol("select-row-provide");
15829
+ function l_(e, t) {
15781
15830
  let n = c(() => K(e)), r = B({
15782
15831
  pagination: {
15783
15832
  enabled: !1,
@@ -15786,7 +15835,7 @@ function s_(e, t) {
15786
15835
  },
15787
15836
  select: !1,
15788
15837
  ...t
15789
- }), i = B(1), a = c(() => eg(n.value.length, i.value, r.value.pagination?.perPage, r.value.pagination?.maxPages)), o = c(() => a.value.currentPage < a.value.endPage), s = c(() => a.value.currentPage > a.value.startPage), l = (e) => {
15838
+ }), i = B(1), a = c(() => ig(n.value.length, i.value, r.value.pagination?.perPage, r.value.pagination?.maxPages)), o = c(() => a.value.currentPage < a.value.endPage), s = c(() => a.value.currentPage > a.value.startPage), l = (e) => {
15790
15839
  (e > i.value && o.value || e < i.value && s.value) && (i.value = e);
15791
15840
  }, u = B({
15792
15841
  key: void 0,
@@ -15831,7 +15880,7 @@ function s_(e, t) {
15831
15880
  function S() {
15832
15881
  _.value = /* @__PURE__ */ new Set();
15833
15882
  }
15834
- return re(o_, {
15883
+ return re(c_, {
15835
15884
  selectedRows: _,
15836
15885
  selectRow: y,
15837
15886
  selectAllRows: x,
@@ -15858,10 +15907,10 @@ function s_(e, t) {
15858
15907
  }
15859
15908
  //#endregion
15860
15909
  //#region src/components/Table/Root.vue?vue&type=script&setup=true&lang.ts
15861
- var c_ = { key: 0 }, l_ = {
15910
+ var u_ = { key: 0 }, d_ = {
15862
15911
  key: 0,
15863
15912
  class: "vui-table-pagination-wrap"
15864
- }, u_ = /* @__PURE__ */ v({
15913
+ }, f_ = /* @__PURE__ */ v({
15865
15914
  __name: "Root",
15866
15915
  props: {
15867
15916
  fixed: { type: Boolean },
@@ -15880,7 +15929,7 @@ var c_ = { key: 0 }, l_ = {
15880
15929
  }
15881
15930
  },
15882
15931
  setup(e) {
15883
- let t = T(o_);
15932
+ let t = T(c_);
15884
15933
  return (n, r) => (R(), d("div", { class: M(["vui-table-container", {
15885
15934
  fixed: e.fixed,
15886
15935
  nowrap: e.nowrap,
@@ -15888,12 +15937,12 @@ var c_ = { key: 0 }, l_ = {
15888
15937
  "separated-rows": e.separateRows,
15889
15938
  "separated-cells": e.separateCells,
15890
15939
  "outer-border": e.outerBorder
15891
- }]) }, [f("table", null, [n.$slots.header ? (R(), d("thead", c_, [f("tr", null, [H(n.$slots, "header")])])) : u("", !0), f("tbody", null, [H(n.$slots, "body")])]), n.$slots.pagination ? (R(), d("div", l_, [H(n.$slots, "pagination")])) : u("", !0)], 2));
15940
+ }]) }, [f("table", null, [n.$slots.header ? (R(), d("thead", u_, [f("tr", null, [H(n.$slots, "header")])])) : u("", !0), f("tbody", null, [H(n.$slots, "body")])]), n.$slots.pagination ? (R(), d("div", d_, [H(n.$slots, "pagination")])) : u("", !0)], 2));
15892
15941
  }
15893
- }), d_ = /* @__PURE__ */ v({
15942
+ }), p_ = /* @__PURE__ */ v({
15894
15943
  __name: "SelectAll",
15895
15944
  setup(e) {
15896
- let { isSelectedAll: t, enabled: n, selectAllRows: r } = T(o_);
15945
+ let { isSelectedAll: t, enabled: n, selectAllRows: r } = T(c_);
15897
15946
  return (e, i) => q(n) ? (R(), d("th", {
15898
15947
  key: 0,
15899
15948
  class: M(["vui-table-interactive-cell", { selected: q(t) }])
@@ -15906,11 +15955,11 @@ var c_ = { key: 0 }, l_ = {
15906
15955
  _: 1
15907
15956
  })], 2)) : u("", !0);
15908
15957
  }
15909
- }), f_ = /* @__PURE__ */ v({
15958
+ }), m_ = /* @__PURE__ */ v({
15910
15959
  __name: "SelectRow",
15911
15960
  props: { row: {} },
15912
15961
  setup(e) {
15913
- let t = e, { enabled: n, selectRow: r, selectedRows: i } = T(o_), a = c(() => Qn(i.value, t.row));
15962
+ let t = e, { enabled: n, selectRow: r, selectedRows: i } = T(c_), a = c(() => Qn(i.value, t.row));
15914
15963
  return (e, i) => q(n) ? (R(), d("td", {
15915
15964
  key: 0,
15916
15965
  class: M(["vui-table-interactive-cell", { selected: a.value }])
@@ -15923,20 +15972,20 @@ var c_ = { key: 0 }, l_ = {
15923
15972
  _: 1
15924
15973
  })], 2)) : u("", !0);
15925
15974
  }
15926
- }), p_ = /* @__PURE__ */ ke({
15927
- Cell: () => r_,
15928
- Head: () => a_,
15929
- Root: () => u_,
15930
- SelectAll: () => d_,
15931
- SelectRow: () => f_
15932
- }), m_ = B(/* @__PURE__ */ new Map()), h_ = 0;
15933
- function g_(e, t) {
15975
+ }), h_ = /* @__PURE__ */ ke({
15976
+ Cell: () => a_,
15977
+ Head: () => s_,
15978
+ Root: () => f_,
15979
+ SelectAll: () => p_,
15980
+ SelectRow: () => m_
15981
+ }), g_ = B(/* @__PURE__ */ new Map()), __ = 0;
15982
+ function v_(e, t) {
15934
15983
  let n = {
15935
15984
  persist: !1,
15936
15985
  timeout: 7e3,
15937
15986
  ...t
15938
15987
  }, r = {
15939
- id: h_,
15988
+ id: __,
15940
15989
  title: e,
15941
15990
  persist: n.persist,
15942
15991
  description: n.description,
@@ -15946,19 +15995,19 @@ function g_(e, t) {
15946
15995
  body: n.body,
15947
15996
  bodyProps: n.bodyProps ?? {}
15948
15997
  };
15949
- return m_.value.set(h_, r), n.persist || setTimeout((e) => {
15950
- m_.value.delete(e);
15951
- }, n.timeout, h_), h_++, r;
15998
+ return g_.value.set(__, r), n.persist || setTimeout((e) => {
15999
+ g_.value.delete(e);
16000
+ }, n.timeout, __), __++, r;
15952
16001
  }
15953
- function __(e) {
15954
- m_.value.delete(e);
16002
+ function y_(e) {
16003
+ g_.value.delete(e);
15955
16004
  }
15956
16005
  //#endregion
15957
16006
  //#region src/components/Toast/Toasts.vue?vue&type=script&setup=true&lang.ts
15958
- var v_ = {
16007
+ var b_ = {
15959
16008
  key: 1,
15960
16009
  class: "vui-toast-item"
15961
- }, y_ = { class: "vui-toast-item-content" }, b_ = { key: 0 }, x_ = /* @__PURE__ */ tf(/* @__PURE__ */ v({
16010
+ }, x_ = { class: "vui-toast-item-content" }, S_ = { key: 0 }, C_ = /* @__PURE__ */ Xd(/* @__PURE__ */ v({
15962
16011
  __name: "Toasts",
15963
16012
  props: { placement: { default: "bottom-end" } },
15964
16013
  setup(e) {
@@ -15967,13 +16016,13 @@ var v_ = {
15967
16016
  tag: "ul",
15968
16017
  class: "vui-toast-list"
15969
16018
  }, {
15970
- default: X(() => [(R(!0), d(n, null, V(q(m_), ([e, t]) => (R(), d(n, { key: e }, [t.body ? (R(), l(U(t.body), A({
16019
+ default: X(() => [(R(!0), d(n, null, V(q(g_), ([e, t]) => (R(), d(n, { key: e }, [t.body ? (R(), l(U(t.body), A({
15971
16020
  key: 0,
15972
16021
  ref_for: !0
15973
16022
  }, {
15974
16023
  data: t.bodyProps,
15975
16024
  toastId: e
15976
- }), null, 16)) : (R(), d("li", v_, [f("div", y_, [f("strong", null, G(t.title), 1), t.description ? (R(), d("p", b_, G(t.description), 1)) : u("", !0)]), t.action ? (R(), l(gr, {
16025
+ }), null, 16)) : (R(), d("li", b_, [f("div", x_, [f("strong", null, G(t.title), 1), t.description ? (R(), d("p", S_, G(t.description), 1)) : u("", !0)]), t.action ? (R(), l(gr, {
15977
16026
  key: 0,
15978
16027
  size: "s",
15979
16028
  onClick: (e) => t.action.handler(t.id)
@@ -15987,7 +16036,7 @@ var v_ = {
15987
16036
  }), [["__scopeId", "data-v-a0ee459a"]]);
15988
16037
  //#endregion
15989
16038
  //#region src/shared/viewTransition.ts
15990
- function S_() {
16039
+ function w_() {
15991
16040
  let e = B(!1);
15992
16041
  async function t(t) {
15993
16042
  if (!document.startViewTransition) {
@@ -16010,4 +16059,4 @@ function S_() {
16010
16059
  };
16011
16060
  }
16012
16061
  //#endregion
16013
- export { En as Accordion, jn as AccordionGroup, In as Alert, Rn as AspectRatio, ar as Avatar, sr as AvatarGroup, $d as Backdrop, lr as Badge, ur as BadgeGroup, dr as BreadcrumbItem, mr as Breadcrumbs, gr as Button, _r as ButtonGroup, wd as Calendar, jd as Card, Pd as Carousel, zd as Checkbox, Sh as Color, vf as Commands, Gh as Confirm, xf as ContextMenu, Cf as CopyClipboard, Ch as Counter, Ed as Divider, Ym as Drawer, Zm as Dropdown, rh as DropdownItem, ah as DropdownTitle, Eh as Dropzone, Dh as File, or as Flex, oh as Grid, sh as Indicator, vh as Input, Wd as Kbd, Ih as KbdGroup, Bh as Marquee, Uh as MenuItem, Hh as Menubar, nf as Modal, Yh as OTP, Xh as OTPItem, $h as Overflow, rg as Pagination, Oh as Password, yf as Popout, ag as PopoutHover, og as Progress, fg as Radio, pg as RadioGroup, hg as Resizable, wg as ResizableView, Mg as Select, Fg as Sheet, Vg as Sidebar, Ug as Skeleton, Jg as Slider, hr as Spinner, t_ as Switch, _g as Tab, p_ as Table, bg as Tabs, Fh as Textarea, x_ as Toasts, ng as Tooltip, s_ as defineTable, eg as paginate, g_ as pushToast, __ as removeToast, Vn as searchString, Cd as setColorTheme, Sd as theme, Ud as useBreakpoint, S_ as useViewTransition, Vd as vuiBreakpoints };
16062
+ export { En as Accordion, jn as AccordionGroup, In as Alert, Rn as AspectRatio, ar as Avatar, sr as AvatarGroup, sf as Backdrop, lr as Badge, ur as BadgeGroup, dr as BreadcrumbItem, mr as Breadcrumbs, gr as Button, _r as ButtonGroup, wd as Calendar, jd as Card, Pd as Carousel, af as Checkbox, Eh as Color, Cf as Commands, Yh as Confirm, Tf as ContextMenu, Df as CopyClipboard, Dh as Counter, Ed as Divider, $m as Drawer, th as Dropdown, sh as DropdownItem, lh as DropdownTitle, Ah as Dropzone, jh as File, or as Flex, uh as Grid, $d as Histogram, dh as Indicator, Sh as Input, of as Kbd, Bh as KbdGroup, Wh as Marquee, qh as MenuItem, Kh as Menubar, cf as Modal, $h as OTP, eg as OTPItem, rg as Overflow, ag as Pagination, Mh as Password, qd as Popout, sg as PopoutHover, cg as Progress, mg as Radio, hg as RadioGroup, _g as Resizable, Eg as ResizableView, Pg as Select, Lg as Sheet, Ug as Sidebar, Gg as Skeleton, Xg as Slider, hr as Spinner, r_ as Switch, yg as Tab, h_ as Table, Sg as Tabs, zh as Textarea, C_ as Toasts, Zd as Tooltip, l_ as defineTable, ig as paginate, v_ as pushToast, y_ as removeToast, Vn as searchString, Cd as setColorTheme, Sd as theme, Rd as useBreakpoint, w_ as useViewTransition, Id as vuiBreakpoints };