@hotelinking/ui 1.19.2 → 1.19.3

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/ui.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import { openBlock as g, createBlock as oe, resolveDynamicComponent as yn, normalizeClass as R, createElementBlock as x, createVNode as S, renderSlot as Ie, ref as w, createElementVNode as c, cloneVNode as xn, h as q, Fragment as Z, inject as ne, provide as ie, onMounted as U, watchEffect as ee, nextTick as le, computed as y, defineComponent as A, toRaw as H, watch as be, onUnmounted as se, Teleport as wn, reactive as Sn, unref as C, shallowRef as kn, withCtx as Y, createTextVNode as ye, toDisplayString as O, Transition as Ot, renderList as ue, createCommentVNode as W, withDirectives as G, vModelDynamic as $n, vShow as re, withModifiers as ht, vModelText as Cn, resolveComponent as Oe, vModelCheckbox as _n } from "vue";
1
+ import { openBlock as g, createBlock as oe, resolveDynamicComponent as yn, normalizeClass as R, createElementBlock as x, createVNode as S, renderSlot as Ie, ref as w, createElementVNode as c, cloneVNode as xn, h as q, Fragment as Z, inject as ne, provide as ie, onMounted as U, watchEffect as ee, nextTick as le, computed as y, defineComponent as A, toRaw as H, watch as be, onUnmounted as se, Teleport as wn, reactive as Sn, unref as C, shallowRef as kn, withCtx as Y, createTextVNode as ye, toDisplayString as _, Transition as _t, renderList as ue, createCommentVNode as W, withDirectives as G, vModelDynamic as $n, vShow as re, withModifiers as ht, vModelText as Cn, resolveComponent as _e, vModelCheckbox as On } from "vue";
2
2
  import V from "dayjs";
3
- import On from "vue3-apexcharts";
3
+ import _n from "vue3-apexcharts";
4
4
  const Dn = { name: "uiIcon" }, ve = /* @__PURE__ */ Object.assign(Dn, {
5
5
  props: {
6
6
  /**
@@ -151,7 +151,7 @@ function K(e, t, ...l) {
151
151
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((n) => `"${n}"`).join(", ")}.`);
152
152
  throw Error.captureStackTrace && Error.captureStackTrace(r, K), r;
153
153
  }
154
- var me = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(me || {}), xe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(xe || {});
154
+ var pe = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(pe || {}), xe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(xe || {});
155
155
  function B({ visible: e = !0, features: t = 0, ourProps: l, theirProps: r, ...n }) {
156
156
  var o;
157
157
  let a = Tt(r, l), i = Object.assign(n, { props: a });
@@ -171,22 +171,22 @@ function Xe({ props: e, attrs: t, slots: l, slot: r, name: n }) {
171
171
  var o, a;
172
172
  let { as: i, ...s } = Ae(e, ["unmount", "static"]), u = (o = l.default) == null ? void 0 : o.call(l, r), d = {};
173
173
  if (r) {
174
- let m = !1, v = [];
175
- for (let [p, b] of Object.entries(r))
176
- typeof b == "boolean" && (m = !0), b === !0 && v.push(p);
177
- m && (d["data-headlessui-state"] = v.join(" "));
174
+ let p = !1, v = [];
175
+ for (let [m, b] of Object.entries(r))
176
+ typeof b == "boolean" && (p = !0), b === !0 && v.push(m);
177
+ p && (d["data-headlessui-state"] = v.join(" "));
178
178
  }
179
179
  if (i === "template") {
180
180
  if (u = Mt(u ?? []), Object.keys(s).length > 0 || Object.keys(t).length > 0) {
181
- let [m, ...v] = u ?? [];
182
- if (!Fn(m) || v.length > 0)
181
+ let [p, ...v] = u ?? [];
182
+ if (!Fn(p) || v.length > 0)
183
183
  throw new Error(['Passing props on "template"!', "", `The current component <${n} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(s).concat(Object.keys(t)).map((h) => h.trim()).filter((h, f, $) => $.indexOf(h) === f).sort((h, f) => h.localeCompare(f)).map((h) => ` - ${h}`).join(`
184
184
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(`
185
185
  `)].join(`
186
186
  `));
187
- let p = Tt((a = m.props) != null ? a : {}, s), b = xn(m, p);
188
- for (let h in p)
189
- h.startsWith("on") && (b.props || (b.props = {}), b.props[h] = p[h]);
187
+ let m = Tt((a = p.props) != null ? a : {}, s), b = xn(p, m);
188
+ for (let h in m)
189
+ h.startsWith("on") && (b.props || (b.props = {}), b.props[h] = m[h]);
190
190
  return b;
191
191
  }
192
192
  return Array.isArray(u) && u.length === 1 ? u[0] : u;
@@ -354,7 +354,7 @@ function Rt({ container: e, accept: t, walk: l, enabled: r }) {
354
354
  });
355
355
  }
356
356
  let et = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
357
- var pe = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(pe || {}), jt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(jt || {}), zn = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(zn || {});
357
+ var me = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(me || {}), jt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(jt || {}), zn = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(zn || {});
358
358
  function It(e = document.body) {
359
359
  return e == null ? [] : Array.from(e.querySelectorAll(et)).sort((t, l) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (l.tabIndex || Number.MAX_SAFE_INTEGER)));
360
360
  }
@@ -425,11 +425,11 @@ function Re(e, t, { sorted: l = !0, relativeTo: r = null, skipElements: n = [] }
425
425
  if (t & 8)
426
426
  return i.length - 1;
427
427
  throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
428
- })(), d = t & 32 ? { preventScroll: !0 } : {}, m = 0, v = i.length, p;
428
+ })(), d = t & 32 ? { preventScroll: !0 } : {}, p = 0, v = i.length, m;
429
429
  do {
430
- if (m >= v || m + v <= 0)
430
+ if (p >= v || p + v <= 0)
431
431
  return 0;
432
- let b = u + m;
432
+ let b = u + p;
433
433
  if (t & 16)
434
434
  b = (b + v) % v;
435
435
  else {
@@ -438,9 +438,9 @@ function Re(e, t, { sorted: l = !0, relativeTo: r = null, skipElements: n = [] }
438
438
  if (b >= v)
439
439
  return 1;
440
440
  }
441
- p = i[b], p == null || p.focus(d), m += s;
442
- } while (p !== a.activeElement);
443
- return t & 6 && Jn(p) && p.select(), 2;
441
+ m = i[b], m == null || m.focus(d), p += s;
442
+ } while (m !== a.activeElement);
443
+ return t & 6 && Jn(m) && m.select(), 2;
444
444
  }
445
445
  function xt(e, t, l) {
446
446
  Be.isServer || ee((r) => {
@@ -587,47 +587,47 @@ function Me(e) {
587
587
  return t;
588
588
  }
589
589
  let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => el }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, nullable: { type: Boolean, default: !1 }, multiple: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(e, { slots: t, attrs: l, emit: r }) {
590
- let n = w(1), o = w(null), a = w(null), i = w(null), s = w(null), u = w({ static: !1, hold: !1 }), d = w([]), m = w(null), v = w(1), p = w(!1);
591
- function b(_ = (E) => E) {
592
- let E = m.value !== null ? d.value[m.value] : null, L = ft(_(d.value.slice()), (j) => k(j.dataRef.domRef)), T = E ? L.indexOf(E) : null;
590
+ let n = w(1), o = w(null), a = w(null), i = w(null), s = w(null), u = w({ static: !1, hold: !1 }), d = w([]), p = w(null), v = w(1), m = w(!1);
591
+ function b(O = (E) => E) {
592
+ let E = p.value !== null ? d.value[p.value] : null, L = ft(O(d.value.slice()), (j) => k(j.dataRef.domRef)), T = E ? L.indexOf(E) : null;
593
593
  return T === -1 && (T = null), { options: L, activeOptionIndex: T };
594
594
  }
595
- let h = y(() => e.multiple ? 1 : 0), f = y(() => e.nullable), [$, M] = Vt(y(() => e.modelValue === void 0 ? K(h.value, { [1]: [], [0]: void 0 }) : e.modelValue), (_) => r("update:modelValue", _), y(() => e.defaultValue)), D = { comboboxState: n, value: $, mode: h, compare(_, E) {
595
+ let h = y(() => e.multiple ? 1 : 0), f = y(() => e.nullable), [$, M] = Vt(y(() => e.modelValue === void 0 ? K(h.value, { [1]: [], [0]: void 0 }) : e.modelValue), (O) => r("update:modelValue", O), y(() => e.defaultValue)), D = { comboboxState: n, value: $, mode: h, compare(O, E) {
596
596
  if (typeof e.by == "string") {
597
597
  let L = e.by;
598
- return (_ == null ? void 0 : _[L]) === (E == null ? void 0 : E[L]);
598
+ return (O == null ? void 0 : O[L]) === (E == null ? void 0 : E[L]);
599
599
  }
600
- return e.by(_, E);
601
- }, defaultValue: y(() => e.defaultValue), nullable: f, inputRef: a, labelRef: o, buttonRef: i, optionsRef: s, disabled: y(() => e.disabled), options: d, change(_) {
602
- M(_);
600
+ return e.by(O, E);
601
+ }, defaultValue: y(() => e.defaultValue), nullable: f, inputRef: a, labelRef: o, buttonRef: i, optionsRef: s, disabled: y(() => e.disabled), options: d, change(O) {
602
+ M(O);
603
603
  }, activeOptionIndex: y(() => {
604
- if (p.value && m.value === null && d.value.length > 0) {
605
- let _ = d.value.findIndex((E) => !E.dataRef.disabled);
606
- _ !== -1 && (m.value = _);
604
+ if (m.value && p.value === null && d.value.length > 0) {
605
+ let O = d.value.findIndex((E) => !E.dataRef.disabled);
606
+ O !== -1 && (p.value = O);
607
607
  }
608
- return m.value;
608
+ return p.value;
609
609
  }), activationTrigger: v, optionsPropsRef: u, closeCombobox() {
610
- p.value = !1, !e.disabled && n.value !== 1 && (n.value = 1, m.value = null);
610
+ m.value = !1, !e.disabled && n.value !== 1 && (n.value = 1, p.value = null);
611
611
  }, openCombobox() {
612
- if (p.value = !0, e.disabled || n.value === 0)
612
+ if (m.value = !0, e.disabled || n.value === 0)
613
613
  return;
614
- let _ = d.value.findIndex((E) => {
614
+ let O = d.value.findIndex((E) => {
615
615
  let L = H(E.dataRef.value);
616
616
  return K(h.value, { [0]: () => D.compare(H(D.value.value), H(L)), [1]: () => H(D.value.value).some((T) => D.compare(H(T), H(L))) });
617
617
  });
618
- _ !== -1 && (m.value = _), n.value = 0;
619
- }, goToOption(_, E, L) {
620
- if (p.value = !1, e.disabled || s.value && !u.value.static && n.value === 1)
618
+ O !== -1 && (p.value = O), n.value = 0;
619
+ }, goToOption(O, E, L) {
620
+ if (m.value = !1, e.disabled || s.value && !u.value.static && n.value === 1)
621
621
  return;
622
622
  let T = b();
623
623
  if (T.activeOptionIndex === null) {
624
624
  let N = T.options.findIndex((de) => !de.dataRef.disabled);
625
625
  N !== -1 && (T.activeOptionIndex = N);
626
626
  }
627
- let j = Pt(_ === I.Specific ? { focus: I.Specific, id: E } : { focus: _ }, { resolveItems: () => T.options, resolveActiveIndex: () => T.activeOptionIndex, resolveId: (N) => N.id, resolveDisabled: (N) => N.dataRef.disabled });
628
- m.value = j, v.value = L ?? 1, d.value = T.options;
629
- }, selectOption(_) {
630
- let E = d.value.find((T) => T.id === _);
627
+ let j = Pt(O === I.Specific ? { focus: I.Specific, id: E } : { focus: O }, { resolveItems: () => T.options, resolveActiveIndex: () => T.activeOptionIndex, resolveId: (N) => N.id, resolveDisabled: (N) => N.dataRef.disabled });
628
+ p.value = j, v.value = L ?? 1, d.value = T.options;
629
+ }, selectOption(O) {
630
+ let E = d.value.find((T) => T.id === O);
631
631
  if (!E)
632
632
  return;
633
633
  let { dataRef: L } = E;
@@ -638,50 +638,50 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
638
638
  }, selectActiveOption() {
639
639
  if (D.activeOptionIndex.value === null)
640
640
  return;
641
- let { dataRef: _, id: E } = d.value[D.activeOptionIndex.value];
642
- M(K(h.value, { [0]: () => _.value, [1]: () => {
643
- let L = H(D.value.value).slice(), T = H(_.value), j = L.findIndex((N) => D.compare(T, H(N)));
641
+ let { dataRef: O, id: E } = d.value[D.activeOptionIndex.value];
642
+ M(K(h.value, { [0]: () => O.value, [1]: () => {
643
+ let L = H(D.value.value).slice(), T = H(O.value), j = L.findIndex((N) => D.compare(T, H(N)));
644
644
  return j === -1 ? L.push(T) : L.splice(j, 1), L;
645
645
  } })), D.goToOption(I.Specific, E);
646
- }, registerOption(_, E) {
647
- let L = { id: _, dataRef: E }, T = b((j) => [...j, L]);
648
- if (m.value === null) {
646
+ }, registerOption(O, E) {
647
+ let L = { id: O, dataRef: E }, T = b((j) => [...j, L]);
648
+ if (p.value === null) {
649
649
  let j = E.value.value;
650
650
  K(h.value, { [0]: () => D.compare(H(D.value.value), H(j)), [1]: () => H(D.value.value).some((N) => D.compare(H(N), H(j))) }) && (T.activeOptionIndex = T.options.indexOf(L));
651
651
  }
652
- d.value = T.options, m.value = T.activeOptionIndex, v.value = 1, T.options.some((j) => !k(j.dataRef.domRef)) && requestAnimationFrame(() => {
652
+ d.value = T.options, p.value = T.activeOptionIndex, v.value = 1, T.options.some((j) => !k(j.dataRef.domRef)) && requestAnimationFrame(() => {
653
653
  let j = b();
654
- d.value = j.options, m.value = j.activeOptionIndex;
654
+ d.value = j.options, p.value = j.activeOptionIndex;
655
655
  });
656
- }, unregisterOption(_) {
656
+ }, unregisterOption(O) {
657
657
  var E;
658
- D.activeOptionIndex.value !== null && ((E = D.options.value[D.activeOptionIndex.value]) == null ? void 0 : E.id) === _ && (p.value = !0);
658
+ D.activeOptionIndex.value !== null && ((E = D.options.value[D.activeOptionIndex.value]) == null ? void 0 : E.id) === O && (m.value = !0);
659
659
  let L = b((T) => {
660
- let j = T.findIndex((N) => N.id === _);
660
+ let j = T.findIndex((N) => N.id === O);
661
661
  return j !== -1 && T.splice(j, 1), T;
662
662
  });
663
- d.value = L.options, m.value = L.activeOptionIndex, v.value = 1;
663
+ d.value = L.options, p.value = L.activeOptionIndex, v.value = 1;
664
664
  } };
665
665
  vt([a, i, s], () => D.closeCombobox(), y(() => n.value === 0)), ie(qt, D), st(y(() => K(n.value, { [0]: z.Open, [1]: z.Closed })));
666
666
  let X = y(() => D.activeOptionIndex.value === null ? null : d.value[D.activeOptionIndex.value].dataRef.value), Q = y(() => {
667
- var _;
668
- return (_ = k(a)) == null ? void 0 : _.closest("form");
667
+ var O;
668
+ return (O = k(a)) == null ? void 0 : O.closest("form");
669
669
  });
670
670
  return U(() => {
671
671
  be([Q], () => {
672
672
  if (!Q.value || e.defaultValue === void 0)
673
673
  return;
674
- function _() {
674
+ function O() {
675
675
  D.change(e.defaultValue);
676
676
  }
677
- return Q.value.addEventListener("reset", _), () => {
677
+ return Q.value.addEventListener("reset", O), () => {
678
678
  var E;
679
- (E = Q.value) == null || E.removeEventListener("reset", _);
679
+ (E = Q.value) == null || E.removeEventListener("reset", O);
680
680
  };
681
681
  }, { immediate: !0 });
682
682
  }), () => {
683
- let { name: _, disabled: E, form: L, ...T } = e, j = { open: n.value === 0, disabled: E, activeIndex: D.activeOptionIndex.value, activeOption: X.value, value: $.value };
684
- return q(Z, [..._ != null && $.value != null ? Bt({ [_]: $.value }).map(([N, de]) => q(je, Et({ features: De.Hidden, key: N, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: L, name: N, value: de }))) : [], B({ theirProps: { ...l, ...Ae(T, ["modelValue", "defaultValue", "nullable", "multiple", "onUpdate:modelValue", "by"]) }, ourProps: {}, slot: j, slots: t, attrs: l, name: "Combobox" })]);
683
+ let { name: O, disabled: E, form: L, ...T } = e, j = { open: n.value === 0, disabled: E, activeIndex: D.activeOptionIndex.value, activeOption: X.value, value: $.value };
684
+ return q(Z, [...O != null && $.value != null ? Bt({ [O]: $.value }).map(([N, de]) => q(je, Et({ features: De.Hidden, key: N, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: L, name: N, value: de }))) : [], B({ theirProps: { ...l, ...Ae(T, ["modelValue", "defaultValue", "nullable", "multiple", "onUpdate:modelValue", "by"]) }, ourProps: {}, slot: j, slots: t, attrs: l, name: "Combobox" })]);
685
685
  };
686
686
  } }), rl = A({ name: "ComboboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: () => `headlessui-combobox-label-${te()}` } }, setup(e, { attrs: t, slots: l }) {
687
687
  let r = Me("ComboboxLabel");
@@ -731,8 +731,8 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
731
731
  let i = ut(y(() => ({ as: e.as, type: t.type })), n.buttonRef);
732
732
  return () => {
733
733
  var s, u;
734
- let d = { open: n.comboboxState.value === 0, disabled: n.disabled.value, value: n.value.value }, { id: m, ...v } = e, p = { ref: n.buttonRef, id: m, type: i.value, tabindex: "-1", "aria-haspopup": "listbox", "aria-controls": (s = k(n.optionsRef)) == null ? void 0 : s.id, "aria-expanded": n.disabled.value ? void 0 : n.comboboxState.value === 0, "aria-labelledby": n.labelRef.value ? [(u = k(n.labelRef)) == null ? void 0 : u.id, m].join(" ") : void 0, disabled: n.disabled.value === !0 ? !0 : void 0, onKeydown: a, onClick: o };
735
- return B({ ourProps: p, theirProps: v, slot: d, attrs: t, slots: l, name: "ComboboxButton" });
734
+ let d = { open: n.comboboxState.value === 0, disabled: n.disabled.value, value: n.value.value }, { id: p, ...v } = e, m = { ref: n.buttonRef, id: p, type: i.value, tabindex: "-1", "aria-haspopup": "listbox", "aria-controls": (s = k(n.optionsRef)) == null ? void 0 : s.id, "aria-expanded": n.disabled.value ? void 0 : n.comboboxState.value === 0, "aria-labelledby": n.labelRef.value ? [(u = k(n.labelRef)) == null ? void 0 : u.id, p].join(" ") : void 0, disabled: n.disabled.value === !0 ? !0 : void 0, onKeydown: a, onClick: o };
735
+ return B({ ourProps: m, theirProps: v, slot: d, attrs: t, slots: l, name: "ComboboxButton" });
736
736
  };
737
737
  } }), il = A({ name: "ComboboxInput", props: { as: { type: [Object, String], default: "input" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, displayValue: { type: Function }, defaultValue: { type: String, default: void 0 }, id: { type: String, default: () => `headlessui-combobox-input-${te()}` } }, emits: { change: (e) => !0 }, setup(e, { emit: t, attrs: l, slots: r, expose: n }) {
738
738
  let o = Me("ComboboxInput"), a = { value: !1 };
@@ -753,8 +753,8 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
753
753
  let M = k(o.inputRef);
754
754
  if (!M)
755
755
  return;
756
- let D = M.value, { selectionStart: X, selectionEnd: Q, selectionDirection: _ } = M;
757
- M.value = "", M.value = D, _ !== null ? M.setSelectionRange(X, Q, _) : M.setSelectionRange(X, Q);
756
+ let D = M.value, { selectionStart: X, selectionEnd: Q, selectionDirection: O } = M;
757
+ M.value = "", M.value = D, O !== null ? M.setSelectionRange(X, Q, O) : M.setSelectionRange(X, Q);
758
758
  }
759
759
  });
760
760
  });
@@ -762,7 +762,7 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
762
762
  function d() {
763
763
  s.value = !0;
764
764
  }
765
- function m() {
765
+ function p() {
766
766
  Ne().nextFrame(() => {
767
767
  s.value = !1, u.value && (o.openCombobox(), t("change", u.value), u.value = null);
768
768
  });
@@ -823,7 +823,7 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
823
823
  break;
824
824
  }
825
825
  }
826
- function p(f) {
826
+ function m(f) {
827
827
  if (s.value) {
828
828
  u.value = f;
829
829
  return;
@@ -839,8 +839,8 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
839
839
  });
840
840
  return () => {
841
841
  var f, $, M, D, X, Q;
842
- let _ = { open: o.comboboxState.value === 0 }, { id: E, displayValue: L, onChange: T, ...j } = e, N = { "aria-controls": (f = o.optionsRef.value) == null ? void 0 : f.id, "aria-expanded": o.disabled.value ? void 0 : o.comboboxState.value === 0, "aria-activedescendant": o.activeOptionIndex.value === null || ($ = o.options.value[o.activeOptionIndex.value]) == null ? void 0 : $.id, "aria-labelledby": (X = (M = k(o.labelRef)) == null ? void 0 : M.id) != null ? X : (D = k(o.buttonRef)) == null ? void 0 : D.id, "aria-autocomplete": "list", id: E, onCompositionstart: d, onCompositionend: m, onKeydown: v, onInput: p, onBlur: b, role: "combobox", type: (Q = l.type) != null ? Q : "text", tabIndex: 0, ref: o.inputRef, defaultValue: h.value, disabled: o.disabled.value === !0 ? !0 : void 0 };
843
- return B({ ourProps: N, theirProps: j, slot: _, attrs: l, slots: r, features: me.RenderStrategy | me.Static, name: "ComboboxInput" });
842
+ let O = { open: o.comboboxState.value === 0 }, { id: E, displayValue: L, onChange: T, ...j } = e, N = { "aria-controls": (f = o.optionsRef.value) == null ? void 0 : f.id, "aria-expanded": o.disabled.value ? void 0 : o.comboboxState.value === 0, "aria-activedescendant": o.activeOptionIndex.value === null || ($ = o.options.value[o.activeOptionIndex.value]) == null ? void 0 : $.id, "aria-labelledby": (X = (M = k(o.labelRef)) == null ? void 0 : M.id) != null ? X : (D = k(o.buttonRef)) == null ? void 0 : D.id, "aria-autocomplete": "list", id: E, onCompositionstart: d, onCompositionend: p, onKeydown: v, onInput: m, onBlur: b, role: "combobox", type: (Q = l.type) != null ? Q : "text", tabIndex: 0, ref: o.inputRef, defaultValue: h.value, disabled: o.disabled.value === !0 ? !0 : void 0 };
843
+ return B({ ourProps: N, theirProps: j, slot: O, attrs: l, slots: r, features: pe.RenderStrategy | pe.Static, name: "ComboboxInput" });
844
844
  };
845
845
  } }), sl = A({ name: "ComboboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, hold: { type: [Boolean], default: !1 } }, setup(e, { attrs: t, slots: l, expose: r }) {
846
846
  let n = Me("ComboboxOptions"), o = `headlessui-combobox-options-${te()}`;
@@ -856,8 +856,8 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
856
856
  s.setAttribute("role", "none");
857
857
  } }), () => {
858
858
  var s, u, d;
859
- let m = { open: n.comboboxState.value === 0 }, v = { "aria-labelledby": (d = (s = k(n.labelRef)) == null ? void 0 : s.id) != null ? d : (u = k(n.buttonRef)) == null ? void 0 : u.id, id: o, ref: n.optionsRef, role: "listbox", "aria-multiselectable": n.mode.value === 1 ? !0 : void 0 }, p = Ae(e, ["hold"]);
860
- return B({ ourProps: v, theirProps: p, slot: m, attrs: t, slots: l, features: me.RenderStrategy | me.Static, visible: i.value, name: "ComboboxOptions" });
859
+ let p = { open: n.comboboxState.value === 0 }, v = { "aria-labelledby": (d = (s = k(n.labelRef)) == null ? void 0 : s.id) != null ? d : (u = k(n.buttonRef)) == null ? void 0 : u.id, id: o, ref: n.optionsRef, role: "listbox", "aria-multiselectable": n.mode.value === 1 ? !0 : void 0 }, m = Ae(e, ["hold"]);
860
+ return B({ ourProps: v, theirProps: m, slot: p, attrs: t, slots: l, features: pe.RenderStrategy | pe.Static, visible: i.value, name: "ComboboxOptions" });
861
861
  };
862
862
  } }), ul = A({ name: "ComboboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: l, expose: r }) {
863
863
  let n = Me("ComboboxOption"), o = `headlessui-combobox-option-${te()}`, a = w(null);
@@ -877,13 +877,13 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
877
877
  return ($ = k(n.inputRef)) == null ? void 0 : $.focus();
878
878
  });
879
879
  }
880
- function m() {
880
+ function p() {
881
881
  if (e.disabled)
882
882
  return n.goToOption(I.Nothing);
883
883
  n.goToOption(I.Specific, o);
884
884
  }
885
885
  let v = Yt();
886
- function p(f) {
886
+ function m(f) {
887
887
  v.update(f);
888
888
  }
889
889
  function b(f) {
@@ -893,7 +893,7 @@ let ol = A({ name: "Combobox", emits: { "update:modelValue": (e) => !0 }, props:
893
893
  v.wasMoved(f) && (e.disabled || i.value && (n.optionsPropsRef.value.hold || n.goToOption(I.Nothing)));
894
894
  }
895
895
  return () => {
896
- let { disabled: f } = e, $ = { active: i.value, selected: s.value, disabled: f }, M = { id: o, ref: a, role: "option", tabIndex: f === !0 ? void 0 : -1, "aria-disabled": f === !0 ? !0 : void 0, "aria-selected": s.value, disabled: void 0, onClick: d, onFocus: m, onPointerenter: p, onMouseenter: p, onPointermove: b, onMousemove: b, onPointerleave: h, onMouseleave: h };
896
+ let { disabled: f } = e, $ = { active: i.value, selected: s.value, disabled: f }, M = { id: o, ref: a, role: "option", tabIndex: f === !0 ? void 0 : -1, "aria-disabled": f === !0 ? !0 : void 0, "aria-selected": s.value, disabled: void 0, onClick: d, onFocus: p, onPointerenter: m, onMouseenter: m, onPointermove: b, onMousemove: b, onPointerleave: h, onMouseleave: h };
897
897
  return B({ ourProps: M, theirProps: e, slot: $, attrs: l, slots: t, name: "ComboboxOption" });
898
898
  };
899
899
  } });
@@ -938,36 +938,36 @@ let Ee = Object.assign(A({ name: "FocusTrap", props: { as: { type: [Object, Stri
938
938
  r({ el: n, $el: n });
939
939
  let o = y(() => Se(n)), a = w(!1);
940
940
  U(() => a.value = !0), se(() => a.value = !1), vl({ ownerDocument: o }, y(() => a.value && !!(e.features & 16)));
941
- let i = pl({ ownerDocument: o, container: n, initialFocus: y(() => e.initialFocus) }, y(() => a.value && !!(e.features & 2)));
942
- ml({ ownerDocument: o, container: n, containers: e.containers, previousActiveElement: i }, y(() => a.value && !!(e.features & 8)));
941
+ let i = ml({ ownerDocument: o, container: n, initialFocus: y(() => e.initialFocus) }, y(() => a.value && !!(e.features & 2)));
942
+ pl({ ownerDocument: o, container: n, containers: e.containers, previousActiveElement: i }, y(() => a.value && !!(e.features & 8)));
943
943
  let s = dl();
944
- function u(p) {
944
+ function u(m) {
945
945
  let b = k(n);
946
946
  b && ((h) => h())(() => {
947
947
  K(s.value, { [Le.Forwards]: () => {
948
- Re(b, pe.First, { skipElements: [p.relatedTarget] });
948
+ Re(b, me.First, { skipElements: [m.relatedTarget] });
949
949
  }, [Le.Backwards]: () => {
950
- Re(b, pe.Last, { skipElements: [p.relatedTarget] });
950
+ Re(b, me.Last, { skipElements: [m.relatedTarget] });
951
951
  } });
952
952
  });
953
953
  }
954
954
  let d = w(!1);
955
- function m(p) {
956
- p.key === "Tab" && (d.value = !0, requestAnimationFrame(() => {
955
+ function p(m) {
956
+ m.key === "Tab" && (d.value = !0, requestAnimationFrame(() => {
957
957
  d.value = !1;
958
958
  }));
959
959
  }
960
- function v(p) {
960
+ function v(m) {
961
961
  if (!a.value)
962
962
  return;
963
963
  let b = Kt(e.containers);
964
964
  k(n) instanceof HTMLElement && b.add(k(n));
965
- let h = p.relatedTarget;
966
- h instanceof HTMLElement && h.dataset.headlessuiFocusGuard !== "true" && (Gt(b, h) || (d.value ? Re(k(n), K(s.value, { [Le.Forwards]: () => pe.Next, [Le.Backwards]: () => pe.Previous }) | pe.WrapAround, { relativeTo: p.target }) : p.target instanceof HTMLElement && we(p.target)));
965
+ let h = m.relatedTarget;
966
+ h instanceof HTMLElement && h.dataset.headlessuiFocusGuard !== "true" && (Gt(b, h) || (d.value ? Re(k(n), K(s.value, { [Le.Forwards]: () => me.Next, [Le.Backwards]: () => me.Previous }) | me.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && we(m.target)));
967
967
  }
968
968
  return () => {
969
- let p = {}, b = { ref: n, onKeydown: m, onFocusout: v }, { features: h, initialFocus: f, containers: $, ...M } = e;
970
- return q(Z, [!!(h & 4) && q(je, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: u, features: De.Focusable }), B({ ourProps: b, theirProps: { ...t, ...M }, slot: p, attrs: t, slots: l, name: "FocusTrap" }), !!(h & 4) && q(je, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: u, features: De.Focusable })]);
969
+ let m = {}, b = { ref: n, onKeydown: p, onFocusout: v }, { features: h, initialFocus: f, containers: $, ...M } = e;
970
+ return q(Z, [!!(h & 4) && q(je, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: u, features: De.Focusable }), B({ ourProps: b, theirProps: { ...t, ...M }, slot: m, attrs: t, slots: l, name: "FocusTrap" }), !!(h & 4) && q(je, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: u, features: De.Focusable })]);
971
971
  };
972
972
  } }), { features: Jt }), $e = [];
973
973
  cl(() => {
@@ -998,7 +998,7 @@ function vl({ ownerDocument: e }, t) {
998
998
  t.value && we(l());
999
999
  });
1000
1000
  }
1001
- function pl({ ownerDocument: e, container: t, initialFocus: l }, r) {
1001
+ function ml({ ownerDocument: e, container: t, initialFocus: l }, r) {
1002
1002
  let n = w(null), o = w(!1);
1003
1003
  return U(() => o.value = !0), se(() => o.value = !1), U(() => {
1004
1004
  be([t, l, r], (a, i) => {
@@ -1009,9 +1009,9 @@ function pl({ ownerDocument: e, container: t, initialFocus: l }, r) {
1009
1009
  var u, d;
1010
1010
  if (!o.value)
1011
1011
  return;
1012
- let m = k(l), v = (u = e.value) == null ? void 0 : u.activeElement;
1013
- if (m) {
1014
- if (m === v) {
1012
+ let p = k(l), v = (u = e.value) == null ? void 0 : u.activeElement;
1013
+ if (p) {
1014
+ if (p === v) {
1015
1015
  n.value = v;
1016
1016
  return;
1017
1017
  }
@@ -1019,12 +1019,12 @@ function pl({ ownerDocument: e, container: t, initialFocus: l }, r) {
1019
1019
  n.value = v;
1020
1020
  return;
1021
1021
  }
1022
- m ? we(m) : Re(s, pe.First | pe.NoScroll) === jt.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), n.value = (d = e.value) == null ? void 0 : d.activeElement;
1022
+ p ? we(p) : Re(s, me.First | me.NoScroll) === jt.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), n.value = (d = e.value) == null ? void 0 : d.activeElement;
1023
1023
  });
1024
1024
  }, { immediate: !0, flush: "post" });
1025
1025
  }), n;
1026
1026
  }
1027
- function ml({ ownerDocument: e, container: t, containers: l, previousActiveElement: r }, n) {
1027
+ function pl({ ownerDocument: e, container: t, containers: l, previousActiveElement: r }, n) {
1028
1028
  var o;
1029
1029
  zt((o = e.value) == null ? void 0 : o.defaultView, "focus", (a) => {
1030
1030
  if (!n.value)
@@ -1101,8 +1101,8 @@ let Qt = A({ name: "Portal", props: { as: { type: [Object, String], default: "di
1101
1101
  u && s && se(s.register(u));
1102
1102
  }), se(() => {
1103
1103
  var u, d;
1104
- let m = (u = n.value) == null ? void 0 : u.getElementById("headlessui-portal-root");
1105
- m && i.value === m && i.value.children.length <= 0 && ((d = i.value.parentElement) == null || d.removeChild(i.value));
1104
+ let p = (u = n.value) == null ? void 0 : u.getElementById("headlessui-portal-root");
1105
+ p && i.value === p && i.value.children.length <= 0 && ((d = i.value.parentElement) == null || d.removeChild(i.value));
1106
1106
  }), () => {
1107
1107
  if (i.value === null)
1108
1108
  return null;
@@ -1174,7 +1174,7 @@ function nn({ slot: e = w({}), name: t = "Description", props: l = {} } = {}) {
1174
1174
  A({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${te()}` } }, setup(e, { attrs: t, slots: l }) {
1175
1175
  let r = Sl();
1176
1176
  return U(() => se(r.register(e.id))), () => {
1177
- let { name: n = "Description", slot: o = w({}), props: a = {} } = r, { id: i, ...s } = e, u = { ...Object.entries(a).reduce((d, [m, v]) => Object.assign(d, { [m]: C(v) }), {}), id: i };
1177
+ let { name: n = "Description", slot: o = w({}), props: a = {} } = r, { id: i, ...s } = e, u = { ...Object.entries(a).reduce((d, [p, v]) => Object.assign(d, { [p]: C(v) }), {}), id: i };
1178
1178
  return B({ ourProps: u, theirProps: s, slot: o.value, attrs: t, slots: l, name: n });
1179
1179
  };
1180
1180
  } });
@@ -1206,7 +1206,7 @@ function Cl() {
1206
1206
  l.style(r, "paddingRight", `${o}px`);
1207
1207
  } };
1208
1208
  }
1209
- function _l() {
1209
+ function Ol() {
1210
1210
  if (!Ut())
1211
1211
  return {};
1212
1212
  let e;
@@ -1235,7 +1235,7 @@ function _l() {
1235
1235
  });
1236
1236
  } };
1237
1237
  }
1238
- function Ol() {
1238
+ function _l() {
1239
1239
  return { before({ doc: e, d: t }) {
1240
1240
  t.style(e.documentElement, "overflow", "hidden");
1241
1241
  } };
@@ -1254,7 +1254,7 @@ let Ce = $l(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1254
1254
  let l = this.get(e);
1255
1255
  return l && (l.count--, l.meta.delete(t)), this;
1256
1256
  }, SCROLL_PREVENT({ doc: e, d: t, meta: l }) {
1257
- let r = { doc: e, d: t, meta: Dl(l) }, n = [_l(), Cl(), Ol()];
1257
+ let r = { doc: e, d: t, meta: Dl(l) }, n = [Ol(), Cl(), _l()];
1258
1258
  n.forEach(({ before: o }) => o == null ? void 0 : o(r)), n.forEach(({ after: o }) => o == null ? void 0 : o(r));
1259
1259
  }, SCROLL_ALLOW({ d: e }) {
1260
1260
  e.dispose();
@@ -1315,28 +1315,28 @@ function He(e) {
1315
1315
  }
1316
1316
  return t;
1317
1317
  }
1318
- let ze = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Pl = A({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ze }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${te()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: l, slots: r, expose: n }) {
1318
+ let qe = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Pl = A({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: qe }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${te()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: l, slots: r, expose: n }) {
1319
1319
  var o;
1320
1320
  let a = w(!1);
1321
1321
  U(() => {
1322
1322
  a.value = !0;
1323
1323
  });
1324
- let i = w(0), s = Fe(), u = y(() => e.open === ze && s !== null ? (s.value & z.Open) === z.Open : e.open), d = w(null), m = y(() => Se(d));
1325
- if (n({ el: d, $el: d }), !(e.open !== ze || s !== null))
1324
+ let i = w(0), s = Fe(), u = y(() => e.open === qe && s !== null ? (s.value & z.Open) === z.Open : e.open), d = w(null), p = y(() => Se(d));
1325
+ if (n({ el: d, $el: d }), !(e.open !== qe || s !== null))
1326
1326
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
1327
1327
  if (typeof u.value != "boolean")
1328
- throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${u.value === ze ? void 0 : e.open}`);
1329
- let v = y(() => a.value && u.value ? 0 : 1), p = y(() => v.value === 0), b = y(() => i.value > 1), h = ne(ot, null) !== null, [f, $] = bl(), { resolveContainers: M, mainTreeNodeRef: D, MainTreeNode: X } = Tl({ portals: f, defaultContainers: [y(() => {
1328
+ throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${u.value === qe ? void 0 : e.open}`);
1329
+ let v = y(() => a.value && u.value ? 0 : 1), m = y(() => v.value === 0), b = y(() => i.value > 1), h = ne(ot, null) !== null, [f, $] = bl(), { resolveContainers: M, mainTreeNodeRef: D, MainTreeNode: X } = Tl({ portals: f, defaultContainers: [y(() => {
1330
1330
  var F;
1331
1331
  return (F = ae.panelRef.value) != null ? F : d.value;
1332
- })] }), Q = y(() => b.value ? "parent" : "leaf"), _ = y(() => s !== null ? (s.value & z.Closing) === z.Closing : !1), E = y(() => h || _.value ? !1 : p.value), L = y(() => {
1332
+ })] }), Q = y(() => b.value ? "parent" : "leaf"), O = y(() => s !== null ? (s.value & z.Closing) === z.Closing : !1), E = y(() => h || O.value ? !1 : m.value), L = y(() => {
1333
1333
  var F, J, ce;
1334
- return (ce = Array.from((J = (F = m.value) == null ? void 0 : F.querySelectorAll("body > *")) != null ? J : []).find((fe) => fe.id === "headlessui-portal-root" ? !1 : fe.contains(k(D)) && fe instanceof HTMLElement)) != null ? ce : null;
1334
+ return (ce = Array.from((J = (F = p.value) == null ? void 0 : F.querySelectorAll("body > *")) != null ? J : []).find((fe) => fe.id === "headlessui-portal-root" ? !1 : fe.contains(k(D)) && fe instanceof HTMLElement)) != null ? ce : null;
1335
1335
  });
1336
1336
  St(L, E);
1337
- let T = y(() => b.value ? !0 : p.value), j = y(() => {
1337
+ let T = y(() => b.value ? !0 : m.value), j = y(() => {
1338
1338
  var F, J, ce;
1339
- return (ce = Array.from((J = (F = m.value) == null ? void 0 : F.querySelectorAll("[data-headlessui-portal]")) != null ? J : []).find((fe) => fe.contains(k(D)) && fe instanceof HTMLElement)) != null ? ce : null;
1339
+ return (ce = Array.from((J = (F = p.value) == null ? void 0 : F.querySelectorAll("[data-headlessui-portal]")) != null ? J : []).find((fe) => fe.contains(k(D)) && fe instanceof HTMLElement)) != null ? ce : null;
1340
1340
  });
1341
1341
  St(j, T), wl({ type: "Dialog", enabled: y(() => v.value === 0), element: d, onUpdate: (F, J) => {
1342
1342
  if (J === "Dialog")
@@ -1348,16 +1348,16 @@ let ze = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Pl = A({ name: "Dialog", inheri
1348
1348
  t("close", !1);
1349
1349
  } };
1350
1350
  ie(ot, ae);
1351
- let Te = y(() => !(!p.value || b.value));
1351
+ let Te = y(() => !(!m.value || b.value));
1352
1352
  vt(M, (F, J) => {
1353
1353
  ae.close(), le(() => J == null ? void 0 : J.focus());
1354
1354
  }, Te);
1355
1355
  let ge = y(() => !(b.value || v.value !== 0));
1356
- zt((o = m.value) == null ? void 0 : o.defaultView, "keydown", (F) => {
1356
+ zt((o = p.value) == null ? void 0 : o.defaultView, "keydown", (F) => {
1357
1357
  ge.value && (F.defaultPrevented || F.key === P.Escape && (F.preventDefault(), F.stopPropagation(), ae.close()));
1358
1358
  });
1359
- let _e = y(() => !(_.value || v.value !== 0 || h));
1360
- return Ml(m, _e, (F) => {
1359
+ let Oe = y(() => !(O.value || v.value !== 0 || h));
1360
+ return Ml(p, Oe, (F) => {
1361
1361
  var J;
1362
1362
  return { containers: [...(J = F.containers) != null ? J : [], M] };
1363
1363
  }), ee((F) => {
@@ -1367,15 +1367,15 @@ let ze = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Pl = A({ name: "Dialog", inheri
1367
1367
  if (!J)
1368
1368
  return;
1369
1369
  let ce = new ResizeObserver((fe) => {
1370
- for (let qe of fe) {
1371
- let he = qe.target.getBoundingClientRect();
1370
+ for (let Ue of fe) {
1371
+ let he = Ue.target.getBoundingClientRect();
1372
1372
  he.x === 0 && he.y === 0 && he.width === 0 && he.height === 0 && ae.close();
1373
1373
  }
1374
1374
  });
1375
1375
  ce.observe(J), F(() => ce.disconnect());
1376
1376
  }), () => {
1377
- let { id: F, open: J, initialFocus: ce, ...fe } = e, qe = { ...l, ref: d, id: F, role: "dialog", "aria-modal": v.value === 0 ? !0 : void 0, "aria-labelledby": de.value, "aria-describedby": N.value }, he = { open: v.value === 0 };
1378
- return q(tt, { force: !0 }, () => [q(Qt, () => q(yl, { target: d.value }, () => q(tt, { force: !1 }, () => q(Ee, { initialFocus: ce, containers: M, features: p.value ? K(Q.value, { parent: Ee.features.RestoreFocus, leaf: Ee.features.All & ~Ee.features.FocusLock }) : Ee.features.None }, () => q($, {}, () => B({ ourProps: qe, theirProps: { ...fe, ...l }, slot: he, attrs: l, slots: r, visible: v.value === 0, features: me.RenderStrategy | me.Static, name: "Dialog" })))))), q(X)]);
1377
+ let { id: F, open: J, initialFocus: ce, ...fe } = e, Ue = { ...l, ref: d, id: F, role: "dialog", "aria-modal": v.value === 0 ? !0 : void 0, "aria-labelledby": de.value, "aria-describedby": N.value }, he = { open: v.value === 0 };
1378
+ return q(tt, { force: !0 }, () => [q(Qt, () => q(yl, { target: d.value }, () => q(tt, { force: !1 }, () => q(Ee, { initialFocus: ce, containers: M, features: m.value ? K(Q.value, { parent: Ee.features.RestoreFocus, leaf: Ee.features.All & ~Ee.features.FocusLock }) : Ee.features.None }, () => q($, {}, () => B({ ourProps: Ue, theirProps: { ...fe, ...l }, slot: he, attrs: l, slots: r, visible: v.value === 0, features: pe.RenderStrategy | pe.Static, name: "Dialog" })))))), q(X)]);
1379
1379
  };
1380
1380
  } });
1381
1381
  A({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${te()}` } }, setup(e, { attrs: t, slots: l }) {
@@ -1465,51 +1465,51 @@ function Bl(e) {
1465
1465
  requestAnimationFrame(() => requestAnimationFrame(e));
1466
1466
  }
1467
1467
  let ln = Symbol("MenuContext");
1468
- function Ke(e) {
1468
+ function We(e) {
1469
1469
  let t = ne(ln, null);
1470
1470
  if (t === null) {
1471
1471
  let l = new Error(`<${e} /> is missing a parent <Menu /> component.`);
1472
- throw Error.captureStackTrace && Error.captureStackTrace(l, Ke), l;
1472
+ throw Error.captureStackTrace && Error.captureStackTrace(l, We), l;
1473
1473
  }
1474
1474
  return t;
1475
1475
  }
1476
1476
  let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: t, attrs: l }) {
1477
1477
  let r = w(1), n = w(null), o = w(null), a = w([]), i = w(""), s = w(null), u = w(1);
1478
- function d(v = (p) => p) {
1479
- let p = s.value !== null ? a.value[s.value] : null, b = ft(v(a.value.slice()), (f) => k(f.dataRef.domRef)), h = p ? b.indexOf(p) : null;
1478
+ function d(v = (m) => m) {
1479
+ let m = s.value !== null ? a.value[s.value] : null, b = ft(v(a.value.slice()), (f) => k(f.dataRef.domRef)), h = m ? b.indexOf(m) : null;
1480
1480
  return h === -1 && (h = null), { items: b, activeItemIndex: h };
1481
1481
  }
1482
- let m = { menuState: r, buttonRef: n, itemsRef: o, items: a, searchQuery: i, activeItemIndex: s, activationTrigger: u, closeMenu: () => {
1482
+ let p = { menuState: r, buttonRef: n, itemsRef: o, items: a, searchQuery: i, activeItemIndex: s, activationTrigger: u, closeMenu: () => {
1483
1483
  r.value = 1, s.value = null;
1484
- }, openMenu: () => r.value = 0, goToItem(v, p, b) {
1485
- let h = d(), f = Pt(v === I.Specific ? { focus: I.Specific, id: p } : { focus: v }, { resolveItems: () => h.items, resolveActiveIndex: () => h.activeItemIndex, resolveId: ($) => $.id, resolveDisabled: ($) => $.dataRef.disabled });
1484
+ }, openMenu: () => r.value = 0, goToItem(v, m, b) {
1485
+ let h = d(), f = Pt(v === I.Specific ? { focus: I.Specific, id: m } : { focus: v }, { resolveItems: () => h.items, resolveActiveIndex: () => h.activeItemIndex, resolveId: ($) => $.id, resolveDisabled: ($) => $.dataRef.disabled });
1486
1486
  i.value = "", s.value = f, u.value = b ?? 1, a.value = h.items;
1487
1487
  }, search(v) {
1488
- let p = i.value !== "" ? 0 : 1;
1488
+ let m = i.value !== "" ? 0 : 1;
1489
1489
  i.value += v.toLowerCase();
1490
- let b = (s.value !== null ? a.value.slice(s.value + p).concat(a.value.slice(0, s.value + p)) : a.value).find((f) => f.dataRef.textValue.startsWith(i.value) && !f.dataRef.disabled), h = b ? a.value.indexOf(b) : -1;
1490
+ let b = (s.value !== null ? a.value.slice(s.value + m).concat(a.value.slice(0, s.value + m)) : a.value).find((f) => f.dataRef.textValue.startsWith(i.value) && !f.dataRef.disabled), h = b ? a.value.indexOf(b) : -1;
1491
1491
  h === -1 || h === s.value || (s.value = h, u.value = 1);
1492
1492
  }, clearSearch() {
1493
1493
  i.value = "";
1494
- }, registerItem(v, p) {
1495
- let b = d((h) => [...h, { id: v, dataRef: p }]);
1494
+ }, registerItem(v, m) {
1495
+ let b = d((h) => [...h, { id: v, dataRef: m }]);
1496
1496
  a.value = b.items, s.value = b.activeItemIndex, u.value = 1;
1497
1497
  }, unregisterItem(v) {
1498
- let p = d((b) => {
1498
+ let m = d((b) => {
1499
1499
  let h = b.findIndex((f) => f.id === v);
1500
1500
  return h !== -1 && b.splice(h, 1), b;
1501
1501
  });
1502
- a.value = p.items, s.value = p.activeItemIndex, u.value = 1;
1502
+ a.value = m.items, s.value = m.activeItemIndex, u.value = 1;
1503
1503
  } };
1504
- return vt([n, o], (v, p) => {
1504
+ return vt([n, o], (v, m) => {
1505
1505
  var b;
1506
- m.closeMenu(), ct(p, dt.Loose) || (v.preventDefault(), (b = k(n)) == null || b.focus());
1507
- }, y(() => r.value === 0)), ie(ln, m), st(y(() => K(r.value, { [0]: z.Open, [1]: z.Closed }))), () => {
1508
- let v = { open: r.value === 0, close: m.closeMenu };
1506
+ p.closeMenu(), ct(m, dt.Loose) || (v.preventDefault(), (b = k(n)) == null || b.focus());
1507
+ }, y(() => r.value === 0)), ie(ln, p), st(y(() => K(r.value, { [0]: z.Open, [1]: z.Closed }))), () => {
1508
+ let v = { open: r.value === 0, close: p.closeMenu };
1509
1509
  return B({ ourProps: {}, theirProps: e, slot: v, slots: t, attrs: l, name: "Menu" });
1510
1510
  };
1511
1511
  } }), Hl = A({ name: "MenuButton", props: { disabled: { type: Boolean, default: !1 }, as: { type: [Object, String], default: "button" }, id: { type: String, default: () => `headlessui-menu-button-${te()}` } }, setup(e, { attrs: t, slots: l, expose: r }) {
1512
- let n = Ke("MenuButton");
1512
+ let n = We("MenuButton");
1513
1513
  r({ el: n.buttonRef, $el: n.buttonRef });
1514
1514
  function o(u) {
1515
1515
  switch (u.key) {
@@ -1548,18 +1548,18 @@ let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "temp
1548
1548
  let s = ut(y(() => ({ as: e.as, type: t.type })), n.buttonRef);
1549
1549
  return () => {
1550
1550
  var u;
1551
- let d = { open: n.menuState.value === 0 }, { id: m, ...v } = e, p = { ref: n.buttonRef, id: m, type: s.value, "aria-haspopup": "menu", "aria-controls": (u = k(n.itemsRef)) == null ? void 0 : u.id, "aria-expanded": e.disabled ? void 0 : n.menuState.value === 0, onKeydown: o, onKeyup: a, onClick: i };
1552
- return B({ ourProps: p, theirProps: v, slot: d, attrs: t, slots: l, name: "MenuButton" });
1551
+ let d = { open: n.menuState.value === 0 }, { id: p, ...v } = e, m = { ref: n.buttonRef, id: p, type: s.value, "aria-haspopup": "menu", "aria-controls": (u = k(n.itemsRef)) == null ? void 0 : u.id, "aria-expanded": e.disabled ? void 0 : n.menuState.value === 0, onKeydown: o, onKeyup: a, onClick: i };
1552
+ return B({ ourProps: m, theirProps: v, slot: d, attrs: t, slots: l, name: "MenuButton" });
1553
1553
  };
1554
1554
  } }), Vl = A({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: () => `headlessui-menu-items-${te()}` } }, setup(e, { attrs: t, slots: l, expose: r }) {
1555
- let n = Ke("MenuItems"), o = w(null);
1555
+ let n = We("MenuItems"), o = w(null);
1556
1556
  r({ el: n.itemsRef, $el: n.itemsRef }), Rt({ container: y(() => k(n.itemsRef)), enabled: y(() => n.menuState.value === 0), accept(d) {
1557
1557
  return d.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : d.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
1558
1558
  }, walk(d) {
1559
1559
  d.setAttribute("role", "none");
1560
1560
  } });
1561
1561
  function a(d) {
1562
- var m;
1562
+ var p;
1563
1563
  switch (o.value && clearTimeout(o.value), d.key) {
1564
1564
  case P.Space:
1565
1565
  if (n.searchQuery.value !== "")
@@ -1567,7 +1567,7 @@ let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "temp
1567
1567
  case P.Enter:
1568
1568
  if (d.preventDefault(), d.stopPropagation(), n.activeItemIndex.value !== null) {
1569
1569
  let v = n.items.value[n.activeItemIndex.value];
1570
- (m = k(v.dataRef.domRef)) == null || m.click();
1570
+ (p = k(v.dataRef.domRef)) == null || p.click();
1571
1571
  }
1572
1572
  n.closeMenu(), At(k(n.buttonRef));
1573
1573
  break;
@@ -1588,7 +1588,7 @@ let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "temp
1588
1588
  });
1589
1589
  break;
1590
1590
  case P.Tab:
1591
- d.preventDefault(), d.stopPropagation(), n.closeMenu(), le(() => Gn(k(n.buttonRef), d.shiftKey ? pe.Previous : pe.Next));
1591
+ d.preventDefault(), d.stopPropagation(), n.closeMenu(), le(() => Gn(k(n.buttonRef), d.shiftKey ? me.Previous : me.Next));
1592
1592
  break;
1593
1593
  default:
1594
1594
  d.key.length === 1 && (n.search(d.key), o.value = setTimeout(() => n.clearSearch(), 350));
@@ -1604,12 +1604,12 @@ let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "temp
1604
1604
  }
1605
1605
  let s = Fe(), u = y(() => s !== null ? (s.value & z.Open) === z.Open : n.menuState.value === 0);
1606
1606
  return () => {
1607
- var d, m;
1608
- let v = { open: n.menuState.value === 0 }, { id: p, ...b } = e, h = { "aria-activedescendant": n.activeItemIndex.value === null || (d = n.items.value[n.activeItemIndex.value]) == null ? void 0 : d.id, "aria-labelledby": (m = k(n.buttonRef)) == null ? void 0 : m.id, id: p, onKeydown: a, onKeyup: i, role: "menu", tabIndex: 0, ref: n.itemsRef };
1609
- return B({ ourProps: h, theirProps: b, slot: v, attrs: t, slots: l, features: me.RenderStrategy | me.Static, visible: u.value, name: "MenuItems" });
1607
+ var d, p;
1608
+ let v = { open: n.menuState.value === 0 }, { id: m, ...b } = e, h = { "aria-activedescendant": n.activeItemIndex.value === null || (d = n.items.value[n.activeItemIndex.value]) == null ? void 0 : d.id, "aria-labelledby": (p = k(n.buttonRef)) == null ? void 0 : p.id, id: m, onKeydown: a, onKeyup: i, role: "menu", tabIndex: 0, ref: n.itemsRef };
1609
+ return B({ ourProps: h, theirProps: b, slot: v, attrs: t, slots: l, features: pe.RenderStrategy | pe.Static, visible: u.value, name: "MenuItems" });
1610
1610
  };
1611
1611
  } }), Yl = A({ name: "MenuItem", inheritAttrs: !1, props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-menu-item-${te()}` } }, setup(e, { slots: t, attrs: l, expose: r }) {
1612
- let n = Ke("MenuItem"), o = w(null);
1612
+ let n = We("MenuItem"), o = w(null);
1613
1613
  r({ el: o, $el: o });
1614
1614
  let a = y(() => n.activeItemIndex.value !== null ? n.items.value[n.activeItemIndex.value].id === e.id : !1), i = Il(o), s = y(() => ({ disabled: e.disabled, get textValue() {
1615
1615
  return i();
@@ -1630,19 +1630,19 @@ let Nl = A({ name: "Menu", props: { as: { type: [Object, String], default: "temp
1630
1630
  return n.goToItem(I.Nothing);
1631
1631
  n.goToItem(I.Specific, e.id);
1632
1632
  }
1633
- let m = Yt();
1633
+ let p = Yt();
1634
1634
  function v(h) {
1635
- m.update(h);
1635
+ p.update(h);
1636
1636
  }
1637
- function p(h) {
1638
- m.wasMoved(h) && (e.disabled || a.value || n.goToItem(I.Specific, e.id, 0));
1637
+ function m(h) {
1638
+ p.wasMoved(h) && (e.disabled || a.value || n.goToItem(I.Specific, e.id, 0));
1639
1639
  }
1640
1640
  function b(h) {
1641
- m.wasMoved(h) && (e.disabled || a.value && n.goToItem(I.Nothing));
1641
+ p.wasMoved(h) && (e.disabled || a.value && n.goToItem(I.Nothing));
1642
1642
  }
1643
1643
  return () => {
1644
1644
  let { disabled: h } = e, f = { active: a.value, disabled: h, close: n.closeMenu }, { id: $, ...M } = e;
1645
- return B({ ourProps: { id: $, ref: o, role: "menuitem", tabIndex: h === !0 ? void 0 : -1, "aria-disabled": h === !0 ? !0 : void 0, disabled: void 0, onClick: u, onFocus: d, onPointerenter: v, onMouseenter: v, onPointermove: p, onMousemove: p, onPointerleave: b, onMouseleave: b }, theirProps: { ...l, ...M }, slot: f, attrs: l, slots: t, name: "MenuItem" });
1645
+ return B({ ourProps: { id: $, ref: o, role: "menuitem", tabIndex: h === !0 ? void 0 : -1, "aria-disabled": h === !0 ? !0 : void 0, disabled: void 0, onClick: u, onFocus: d, onPointerenter: v, onMouseenter: v, onPointermove: m, onMousemove: m, onPointerleave: b, onMouseleave: b }, theirProps: { ...l, ...M }, slot: f, attrs: l, slots: t, name: "MenuItem" });
1646
1646
  };
1647
1647
  } }), on = Symbol("LabelContext");
1648
1648
  function rn() {
@@ -1666,7 +1666,7 @@ function Ul({ slot: e = {}, name: t = "Label", props: l = {} } = {}) {
1666
1666
  let ql = A({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${te()}` } }, setup(e, { slots: t, attrs: l }) {
1667
1667
  let r = rn();
1668
1668
  return U(() => se(r.register(e.id))), () => {
1669
- let { name: n = "Label", slot: o = {}, props: a = {} } = r, { id: i, passive: s, ...u } = e, d = { ...Object.entries(a).reduce((m, [v, p]) => Object.assign(m, { [v]: C(p) }), {}), id: i };
1669
+ let { name: n = "Label", slot: o = {}, props: a = {} } = r, { id: i, passive: s, ...u } = e, d = { ...Object.entries(a).reduce((p, [v, m]) => Object.assign(p, { [v]: C(m) }), {}), id: i };
1670
1670
  return s && (delete d.onClick, delete d.htmlFor, delete u.onClick), B({ ourProps: d, theirProps: u, slot: o, attrs: l, slots: t, name: n });
1671
1671
  };
1672
1672
  } }), an = Symbol("GroupContext"), zl = A({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: t, attrs: l }) {
@@ -1682,12 +1682,12 @@ let ql = A({ name: "Label", props: { as: { type: [Object, String], default: "lab
1682
1682
  function s() {
1683
1683
  i(!a.value);
1684
1684
  }
1685
- let u = w(null), d = o === null ? u : o.switchRef, m = ut(y(() => ({ as: e.as, type: l.type })), d);
1685
+ let u = w(null), d = o === null ? u : o.switchRef, p = ut(y(() => ({ as: e.as, type: l.type })), d);
1686
1686
  n({ el: d, $el: d });
1687
1687
  function v(f) {
1688
1688
  f.preventDefault(), s();
1689
1689
  }
1690
- function p(f) {
1690
+ function m(f) {
1691
1691
  f.key === P.Space ? (f.preventDefault(), s()) : f.key === P.Enter && Xn(f.currentTarget);
1692
1692
  }
1693
1693
  function b(f) {
@@ -1710,8 +1710,8 @@ let ql = A({ name: "Label", props: { as: { type: [Object, String], default: "lab
1710
1710
  };
1711
1711
  }, { immediate: !0 });
1712
1712
  }), () => {
1713
- let { id: f, name: $, value: M, form: D, ...X } = e, Q = { checked: a.value }, _ = { id: f, ref: d, role: "switch", type: m.value, tabIndex: 0, "aria-checked": a.value, "aria-labelledby": o == null ? void 0 : o.labelledby.value, "aria-describedby": o == null ? void 0 : o.describedby.value, onClick: v, onKeyup: p, onKeypress: b };
1714
- return q(Z, [$ != null && a.value != null ? q(je, Et({ features: De.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, form: D, name: $, value: M })) : null, B({ ourProps: _, theirProps: { ...l, ...Ae(X, ["modelValue", "defaultChecked"]) }, slot: Q, attrs: l, slots: r, name: "Switch" })]);
1713
+ let { id: f, name: $, value: M, form: D, ...X } = e, Q = { checked: a.value }, O = { id: f, ref: d, role: "switch", type: p.value, tabIndex: 0, "aria-checked": a.value, "aria-labelledby": o == null ? void 0 : o.labelledby.value, "aria-describedby": o == null ? void 0 : o.describedby.value, onClick: v, onKeyup: m, onKeypress: b };
1714
+ return q(Z, [$ != null && a.value != null ? q(je, Et({ features: De.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: a.value, form: D, name: $, value: M })) : null, B({ ourProps: O, theirProps: { ...l, ...Ae(X, ["modelValue", "defaultChecked"]) }, slot: Q, attrs: l, slots: r, name: "Switch" })]);
1715
1715
  };
1716
1716
  } }), Kl = ql;
1717
1717
  function Jl(e) {
@@ -1724,7 +1724,7 @@ function Jl(e) {
1724
1724
  function Ze(e, ...t) {
1725
1725
  e && t.length > 0 && e.classList.add(...t);
1726
1726
  }
1727
- function We(e, ...t) {
1727
+ function ze(e, ...t) {
1728
1728
  e && t.length > 0 && e.classList.remove(...t);
1729
1729
  }
1730
1730
  var rt = ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(rt || {});
@@ -1741,33 +1741,33 @@ function Gl(e, t) {
1741
1741
  function Ct(e, t, l, r, n, o) {
1742
1742
  let a = Ne(), i = o !== void 0 ? Jl(o) : () => {
1743
1743
  };
1744
- return We(e, ...n), Ze(e, ...t, ...l), a.nextFrame(() => {
1745
- We(e, ...l), Ze(e, ...r), a.add(Gl(e, (s) => (We(e, ...r, ...t), Ze(e, ...n), i(s))));
1746
- }), a.add(() => We(e, ...t, ...l, ...r, ...n)), a.add(() => i("cancelled")), a.dispose;
1744
+ return ze(e, ...n), Ze(e, ...t, ...l), a.nextFrame(() => {
1745
+ ze(e, ...l), Ze(e, ...r), a.add(Gl(e, (s) => (ze(e, ...r, ...t), Ze(e, ...n), i(s))));
1746
+ }), a.add(() => ze(e, ...t, ...l, ...r, ...n)), a.add(() => i("cancelled")), a.dispose;
1747
1747
  }
1748
1748
  function ke(e = "") {
1749
1749
  return e.split(" ").filter((t) => t.trim().length > 1);
1750
1750
  }
1751
- let pt = Symbol("TransitionContext");
1751
+ let mt = Symbol("TransitionContext");
1752
1752
  var Xl = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Xl || {});
1753
1753
  function Ql() {
1754
- return ne(pt, null) !== null;
1754
+ return ne(mt, null) !== null;
1755
1755
  }
1756
1756
  function Zl() {
1757
- let e = ne(pt, null);
1757
+ let e = ne(mt, null);
1758
1758
  if (e === null)
1759
1759
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1760
1760
  return e;
1761
1761
  }
1762
1762
  function eo() {
1763
- let e = ne(mt, null);
1763
+ let e = ne(pt, null);
1764
1764
  if (e === null)
1765
1765
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
1766
1766
  return e;
1767
1767
  }
1768
- let mt = Symbol("NestingContext");
1769
- function Je(e) {
1770
- return "children" in e ? Je(e.children) : e.value.filter(({ state: t }) => t === "visible").length > 0;
1768
+ let pt = Symbol("NestingContext");
1769
+ function Ke(e) {
1770
+ return "children" in e ? Ke(e.children) : e.value.filter(({ state: t }) => t === "visible").length > 0;
1771
1771
  }
1772
1772
  function sn(e) {
1773
1773
  let t = w([]), l = w(!1);
@@ -1778,7 +1778,7 @@ function sn(e) {
1778
1778
  t.value.splice(i, 1);
1779
1779
  }, [xe.Hidden]() {
1780
1780
  t.value[i].state = "hidden";
1781
- } }), !Je(t) && l.value && (e == null || e()));
1781
+ } }), !Ke(t) && l.value && (e == null || e()));
1782
1782
  }
1783
1783
  function n(o) {
1784
1784
  let a = t.value.find(({ id: i }) => i === o);
@@ -1786,7 +1786,7 @@ function sn(e) {
1786
1786
  }
1787
1787
  return { children: t, register: n, unregister: r };
1788
1788
  }
1789
- let un = me.RenderStrategy, at = A({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: l, slots: r, expose: n }) {
1789
+ let un = pe.RenderStrategy, at = A({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: l, slots: r, expose: n }) {
1790
1790
  let o = w(0);
1791
1791
  function a() {
1792
1792
  o.value |= z.Opening, t("beforeEnter");
@@ -1802,16 +1802,16 @@ let un = me.RenderStrategy, at = A({ props: { as: { type: [Object, String], defa
1802
1802
  }
1803
1803
  if (!Ql() && Vn())
1804
1804
  return () => q(dn, { ...e, onBeforeEnter: a, onAfterEnter: i, onBeforeLeave: s, onAfterLeave: u }, r);
1805
- let d = w(null), m = y(() => e.unmount ? xe.Unmount : xe.Hidden);
1805
+ let d = w(null), p = y(() => e.unmount ? xe.Unmount : xe.Hidden);
1806
1806
  n({ el: d, $el: d });
1807
- let { show: v, appear: p } = Zl(), { register: b, unregister: h } = eo(), f = w(v.value ? "visible" : "hidden"), $ = { value: !0 }, M = te(), D = { value: !1 }, X = sn(() => {
1807
+ let { show: v, appear: m } = Zl(), { register: b, unregister: h } = eo(), f = w(v.value ? "visible" : "hidden"), $ = { value: !0 }, M = te(), D = { value: !1 }, X = sn(() => {
1808
1808
  !D.value && f.value !== "hidden" && (f.value = "hidden", h(M), u());
1809
1809
  });
1810
1810
  U(() => {
1811
1811
  let ae = b(M);
1812
1812
  se(ae);
1813
1813
  }), ee(() => {
1814
- if (m.value === xe.Hidden && M) {
1814
+ if (p.value === xe.Hidden && M) {
1815
1815
  if (v.value && f.value !== "visible") {
1816
1816
  f.value = "visible";
1817
1817
  return;
@@ -1819,7 +1819,7 @@ let un = me.RenderStrategy, at = A({ props: { as: { type: [Object, String], defa
1819
1819
  K(f.value, { hidden: () => h(M), visible: () => b(M) });
1820
1820
  }
1821
1821
  });
1822
- let Q = ke(e.enter), _ = ke(e.enterFrom), E = ke(e.enterTo), L = ke(e.entered), T = ke(e.leave), j = ke(e.leaveFrom), N = ke(e.leaveTo);
1822
+ let Q = ke(e.enter), O = ke(e.enterFrom), E = ke(e.enterTo), L = ke(e.entered), T = ke(e.leave), j = ke(e.leaveFrom), N = ke(e.leaveTo);
1823
1823
  U(() => {
1824
1824
  ee(() => {
1825
1825
  if (f.value === "visible") {
@@ -1830,19 +1830,19 @@ let un = me.RenderStrategy, at = A({ props: { as: { type: [Object, String], defa
1830
1830
  });
1831
1831
  });
1832
1832
  function de(ae) {
1833
- let Te = $.value && !p.value, ge = k(d);
1834
- !ge || !(ge instanceof HTMLElement) || Te || (D.value = !0, v.value && a(), v.value || s(), ae(v.value ? Ct(ge, Q, _, E, L, (_e) => {
1835
- D.value = !1, _e === rt.Finished && i();
1836
- }) : Ct(ge, T, j, N, L, (_e) => {
1837
- D.value = !1, _e === rt.Finished && (Je(X) || (f.value = "hidden", h(M), u()));
1833
+ let Te = $.value && !m.value, ge = k(d);
1834
+ !ge || !(ge instanceof HTMLElement) || Te || (D.value = !0, v.value && a(), v.value || s(), ae(v.value ? Ct(ge, Q, O, E, L, (Oe) => {
1835
+ D.value = !1, Oe === rt.Finished && i();
1836
+ }) : Ct(ge, T, j, N, L, (Oe) => {
1837
+ D.value = !1, Oe === rt.Finished && (Ke(X) || (f.value = "hidden", h(M), u()));
1838
1838
  })));
1839
1839
  }
1840
1840
  return U(() => {
1841
1841
  be([v], (ae, Te, ge) => {
1842
1842
  de(ge), $.value = !1;
1843
1843
  }, { immediate: !0 });
1844
- }), ie(mt, X), st(y(() => K(f.value, { visible: z.Open, hidden: z.Closed }) | o.value)), () => {
1845
- let { appear: ae, show: Te, enter: ge, enterFrom: _e, enterTo: F, entered: J, leave: ce, leaveFrom: fe, leaveTo: qe, ...he } = e, hn = { ref: d }, bn = { ...he, ...p.value && v.value && Be.isServer ? { class: R([l.class, he.class, ...Q, ..._]) } : {} };
1844
+ }), ie(pt, X), st(y(() => K(f.value, { visible: z.Open, hidden: z.Closed }) | o.value)), () => {
1845
+ let { appear: ae, show: Te, enter: ge, enterFrom: Oe, enterTo: F, entered: J, leave: ce, leaveFrom: fe, leaveTo: Ue, ...he } = e, hn = { ref: d }, bn = { ...he, ...m.value && v.value && Be.isServer ? { class: R([l.class, he.class, ...Q, ...O]) } : {} };
1846
1846
  return B({ theirProps: bn, ourProps: hn, slot: {}, slots: r, attrs: l, features: un, visible: f.value === "visible", name: "TransitionChild" });
1847
1847
  };
1848
1848
  } }), to = at, dn = A({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: l, slots: r }) {
@@ -1856,11 +1856,11 @@ let un = me.RenderStrategy, at = A({ props: { as: { type: [Object, String], defa
1856
1856
  }), s = w(!0), u = { show: o, appear: y(() => e.appear || !s.value) };
1857
1857
  return U(() => {
1858
1858
  ee(() => {
1859
- s.value = !1, o.value ? a.value = "visible" : Je(i) || (a.value = "hidden");
1859
+ s.value = !1, o.value ? a.value = "visible" : Ke(i) || (a.value = "hidden");
1860
1860
  });
1861
- }), ie(mt, i), ie(pt, u), () => {
1862
- let d = Ae(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), m = { unmount: e.unmount };
1863
- return B({ ourProps: { ...m, as: "template" }, theirProps: {}, slot: {}, slots: { ...r, default: () => [q(to, { onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave"), ...l, ...m, ...d }, r.default)] }, attrs: {}, features: un, visible: a.value === "visible", name: "Transition" });
1861
+ }), ie(pt, i), ie(mt, u), () => {
1862
+ let d = Ae(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), p = { unmount: e.unmount };
1863
+ return B({ ourProps: { ...p, as: "template" }, theirProps: {}, slot: {}, slots: { ...r, default: () => [q(to, { onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave"), ...l, ...p, ...d }, r.default)] }, attrs: {}, features: un, visible: a.value === "visible", name: "Transition" });
1864
1864
  };
1865
1865
  } });
1866
1866
  function no(e, t) {
@@ -1991,7 +1991,7 @@ function ao(e, t) {
1991
1991
  })
1992
1992
  ]);
1993
1993
  }
1994
- function Ge(e, t) {
1994
+ function Je(e, t) {
1995
1995
  return g(), x("svg", {
1996
1996
  xmlns: "http://www.w3.org/2000/svg",
1997
1997
  fill: "none",
@@ -2089,7 +2089,7 @@ function it(e, t) {
2089
2089
  }
2090
2090
  const uo = { class: "py-1" }, co = ["onClick"], fo = {
2091
2091
  name: "uiDropdown"
2092
- }, pn = /* @__PURE__ */ Object.assign(fo, {
2092
+ }, mn = /* @__PURE__ */ Object.assign(fo, {
2093
2093
  props: {
2094
2094
  /**
2095
2095
  * Array de elementos que componen el dropdown
@@ -2130,7 +2130,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2130
2130
  c("div", null, [
2131
2131
  S(C(Hl), { class: "inline-flex justify-center w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" }, {
2132
2132
  default: Y(() => [
2133
- ye(O(r.value) + " ", 1),
2133
+ ye(_(r.value) + " ", 1),
2134
2134
  S(C(lo), {
2135
2135
  "aria-hidden": "true",
2136
2136
  class: "-mr-1 ml-2 h-5 w-5"
@@ -2139,7 +2139,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2139
2139
  _: 1
2140
2140
  })
2141
2141
  ]),
2142
- S(Ot, {
2142
+ S(_t, {
2143
2143
  "enter-active-class": "transition ease-out duration-100",
2144
2144
  "enter-from-class": "transform opacity-0 scale-95",
2145
2145
  "enter-to-class": "transform opacity-100 scale-100",
@@ -2162,7 +2162,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2162
2162
  i.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
2163
2163
  "block px-4 py-2 text-sm cursor-pointer"
2164
2164
  ])
2165
- }, O(i.name), 11, co)
2165
+ }, _(i.name), 11, co)
2166
2166
  ]),
2167
2167
  _: 2
2168
2168
  }, 1024))), 128))
@@ -2177,10 +2177,10 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2177
2177
  _: 1
2178
2178
  }, 8, ["class"]));
2179
2179
  }
2180
- }), vo = { class: "flex justify-between" }, po = {
2180
+ }), vo = { class: "flex justify-between" }, mo = {
2181
2181
  key: 0,
2182
2182
  class: "block text-sm font-medium text-gray-700"
2183
- }, mo = {
2183
+ }, po = {
2184
2184
  key: 1,
2185
2185
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
2186
2186
  }, go = {
@@ -2261,13 +2261,13 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2261
2261
  }, n = w(l.value);
2262
2262
  return (o, a) => (g(), x("div", null, [
2263
2263
  c("div", vo, [
2264
- e.label ? (g(), x("label", po, O(e.label), 1)) : W("", !0),
2265
- e.optional ? (g(), x("span", mo, O(e.optional), 1)) : W("", !0)
2264
+ e.label ? (g(), x("label", mo, _(e.label), 1)) : W("", !0),
2265
+ e.optional ? (g(), x("span", po, _(e.optional), 1)) : W("", !0)
2266
2266
  ]),
2267
2267
  c("div", {
2268
2268
  class: R([{ "mt-1": e.label }, "relative flex"])
2269
2269
  }, [
2270
- e.addOn ? (g(), x("span", go, O(e.addOn), 1)) : W("", !0),
2270
+ e.addOn ? (g(), x("span", go, _(e.addOn), 1)) : W("", !0),
2271
2271
  G(c("input", {
2272
2272
  "onUpdate:modelValue": a[0] || (a[0] = (i) => n.value = i),
2273
2273
  class: R([{
@@ -2303,7 +2303,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2303
2303
  [re, e.color === "success"]
2304
2304
  ]),
2305
2305
  G(S(ve, {
2306
- icon: C(Ge),
2306
+ icon: C(Je),
2307
2307
  color: "yellow"
2308
2308
  }, null, 8, ["icon"]), [
2309
2309
  [re, e.color === "warning"]
@@ -2329,7 +2329,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2329
2329
  color: "red",
2330
2330
  class: "mr-2"
2331
2331
  }, null, 8, ["icon"]),
2332
- ye(O(e.error), 1)
2332
+ ye(_(e.error), 1)
2333
2333
  ], 2), [
2334
2334
  [re, e.error]
2335
2335
  ])
@@ -2341,7 +2341,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2341
2341
  }, ko = {
2342
2342
  key: 1,
2343
2343
  class: "text-[10px] text-gray-500 uppercase"
2344
- }, $o = ["onDrop"], Co = { class: "space-y-1 flex flex-col items-center justify-center" }, _o = { class: "flex text-sm text-gray-600 flex flex-col sm:flex-row text-center" }, Oo = {
2344
+ }, $o = ["onDrop"], Co = { class: "space-y-1 flex flex-col items-center justify-center" }, Oo = { class: "flex text-sm text-gray-600 flex flex-col sm:flex-row text-center" }, _o = {
2345
2345
  for: "file-upload",
2346
2346
  class: "relative cursor-pointer rounded-md font-medium text-indigo-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:text-indigo-500"
2347
2347
  }, Do = ["accept"], Mo = { class: "pl-1" }, To = { class: "text-xs text-gray-500 pb-4" }, Eo = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, Po = {
@@ -2371,8 +2371,8 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2371
2371
  };
2372
2372
  return (a, i) => (g(), x("div", null, [
2373
2373
  c("div", wo, [
2374
- e.label ? (g(), x("label", So, O(e.label), 1)) : W("", !0),
2375
- e.optional ? (g(), x("span", ko, O(e.optional), 1)) : W("", !0)
2374
+ e.label ? (g(), x("label", So, _(e.label), 1)) : W("", !0),
2375
+ e.optional ? (g(), x("span", ko, _(e.optional), 1)) : W("", !0)
2376
2376
  ]),
2377
2377
  c("div", {
2378
2378
  class: R([
@@ -2395,9 +2395,9 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2395
2395
  "aria-hidden": "true",
2396
2396
  class: "mb-4"
2397
2397
  }, null, 8, ["icon"]),
2398
- c("div", _o, [
2399
- c("label", Oo, [
2400
- c("span", null, O(e.placeholder), 1),
2398
+ c("div", Oo, [
2399
+ c("label", _o, [
2400
+ c("span", null, _(e.placeholder), 1),
2401
2401
  c("input", {
2402
2402
  id: "file-upload",
2403
2403
  name: "file-upload",
@@ -2407,10 +2407,10 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2407
2407
  onChange: o
2408
2408
  }, null, 40, Do)
2409
2409
  ]),
2410
- c("p", Mo, O(e.dragAndDrop), 1)
2410
+ c("p", Mo, _(e.dragAndDrop), 1)
2411
2411
  ]),
2412
- c("p", To, O(e.fileTypesAndSizes), 1),
2413
- G(c("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, O(r.value), 513), [
2412
+ c("p", To, _(e.fileTypesAndSizes), 1),
2413
+ G(c("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, _(r.value), 513), [
2414
2414
  [re, r.value !== ""]
2415
2415
  ])
2416
2416
  ])
@@ -2421,7 +2421,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2421
2421
  color: "red",
2422
2422
  class: "mr-2"
2423
2423
  }, null, 8, ["icon"]),
2424
- ye(O(e.error), 1)
2424
+ ye(_(e.error), 1)
2425
2425
  ], 512), [
2426
2426
  [re, e.error]
2427
2427
  ])
@@ -2464,7 +2464,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2464
2464
  default: Y(() => [
2465
2465
  S(C(rl), { class: "block text-sm font-medium text-gray-700" }, {
2466
2466
  default: Y(() => [
2467
- ye(O(e.label), 1)
2467
+ ye(_(e.label), 1)
2468
2468
  ]),
2469
2469
  _: 1
2470
2470
  }),
@@ -2493,7 +2493,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2493
2493
  value: u,
2494
2494
  as: "template"
2495
2495
  }, {
2496
- default: Y(({ active: d, selected: m }) => [
2496
+ default: Y(({ active: d, selected: p }) => [
2497
2497
  c("li", {
2498
2498
  class: R([
2499
2499
  "relative cursor-default select-none py-2 pl-3 pr-9",
@@ -2501,9 +2501,9 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2501
2501
  ])
2502
2502
  }, [
2503
2503
  c("span", {
2504
- class: R(["block truncate", m && "font-semibold"])
2505
- }, O(u.name), 3),
2506
- m ? (g(), x("span", {
2504
+ class: R(["block truncate", p && "font-semibold"])
2505
+ }, _(u.name), 3),
2506
+ p ? (g(), x("span", {
2507
2507
  key: 0,
2508
2508
  class: R([
2509
2509
  "absolute inset-y-0 right-0 flex items-center pr-4",
@@ -2529,7 +2529,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2529
2529
  }
2530
2530
  }), Ao = {
2531
2531
  name: "uiTag"
2532
- }, mn = /* @__PURE__ */ Object.assign(Ao, {
2532
+ }, pn = /* @__PURE__ */ Object.assign(Ao, {
2533
2533
  props: {
2534
2534
  /**
2535
2535
  * Color del tag
@@ -2597,7 +2597,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2597
2597
  t("inputChanged", { value: o.target.value, name: o.target.value });
2598
2598
  }, n = w(l.value);
2599
2599
  return (o, a) => (g(), x("div", null, [
2600
- e.label ? (g(), x("label", Fo, O(e.label), 1)) : W("", !0),
2600
+ e.label ? (g(), x("label", Fo, _(e.label), 1)) : W("", !0),
2601
2601
  c("div", {
2602
2602
  class: R({ "mt-1": e.label })
2603
2603
  }, [
@@ -2635,7 +2635,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2635
2635
  color: "red",
2636
2636
  class: "mr-2"
2637
2637
  }, null, 8, ["icon"]),
2638
- ye(O(e.error), 1)
2638
+ ye(_(e.error), 1)
2639
2639
  ], 2), [
2640
2640
  [re, e.error]
2641
2641
  ])
@@ -2704,8 +2704,8 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2704
2704
  class: "ml-3"
2705
2705
  }, {
2706
2706
  default: Y(() => [
2707
- c("span", Vo, O(e.item.title), 1),
2708
- e.item.subtitle ? (g(), x("span", Yo, O(e.item.subtitle), 1)) : W("", !0)
2707
+ c("span", Vo, _(e.item.title), 1),
2708
+ e.item.subtitle ? (g(), x("span", Yo, _(e.item.subtitle), 1)) : W("", !0)
2709
2709
  ]),
2710
2710
  _: 1
2711
2711
  }),
@@ -2713,7 +2713,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2713
2713
  key: 0,
2714
2714
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
2715
2715
  onClick: n[2] || (n[2] = (o) => r.$emit("actionClicked", e.item))
2716
- }, O(e.item.action), 1)) : W("", !0)
2716
+ }, _(e.item.action), 1)) : W("", !0)
2717
2717
  ]),
2718
2718
  _: 1
2719
2719
  }));
@@ -2764,7 +2764,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2764
2764
  class: "h-8 w-8 text-red-400",
2765
2765
  "aria-hidden": "true"
2766
2766
  })) : W("", !0),
2767
- e.type === "warning" ? (g(), oe(C(Ge), {
2767
+ e.type === "warning" ? (g(), oe(C(Je), {
2768
2768
  key: 2,
2769
2769
  class: "h-8 w-8 text-yellow-400",
2770
2770
  "aria-hidden": "true"
@@ -2782,7 +2782,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2782
2782
  "text-yellow-800": e.type === "warning",
2783
2783
  "text-green-800": e.type === "success"
2784
2784
  }, "text-sm font-medium"])
2785
- }, O(e.title), 3),
2785
+ }, _(e.title), 3),
2786
2786
  c("div", {
2787
2787
  class: R([{
2788
2788
  "text-red-700": e.type === "danger",
@@ -2807,7 +2807,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2807
2807
  },
2808
2808
  "px-2 py-1.5 text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2"
2809
2809
  ])
2810
- }, O(r.name), 11, Qo))), 128))
2810
+ }, _(r.name), 11, Qo))), 128))
2811
2811
  ])
2812
2812
  ])
2813
2813
  ])
@@ -2847,7 +2847,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2847
2847
  class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
2848
2848
  "aria-hidden": "true"
2849
2849
  }),
2850
- c("span", null, O(r.name), 1)
2850
+ c("span", null, _(r.name), 1)
2851
2851
  ], 8, or)
2852
2852
  ])) : (g(), x("div", rr, [
2853
2853
  S(C(fn), {
@@ -2858,7 +2858,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2858
2858
  onClick: (o) => t.$emit("breadCrumbClicked", r.routeName),
2859
2859
  class: R(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
2860
2860
  "aria-current": r.current ? "page" : ""
2861
- }, O(r.name), 11, ar)
2861
+ }, _(r.name), 11, ar)
2862
2862
  ]))
2863
2863
  ]))), 128))
2864
2864
  ])
@@ -2867,9 +2867,9 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2867
2867
  }), ur = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, dr = ["src"], cr = { class: "font-bold text-center sm:text-left" }, fr = { class: "mt-1 text-xs text-center sm:text-left" }, vr = {
2868
2868
  key: 0,
2869
2869
  class: "flex flex-wrap mt-4 justify-center sm:justify-start"
2870
- }, pr = {
2870
+ }, mr = {
2871
2871
  name: "uiCard"
2872
- }, mr = /* @__PURE__ */ Object.assign(pr, {
2872
+ }, pr = /* @__PURE__ */ Object.assign(mr, {
2873
2873
  props: {
2874
2874
  id: {
2875
2875
  type: String,
@@ -2896,18 +2896,18 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2896
2896
  src: e.logo
2897
2897
  }, null, 8, dr),
2898
2898
  c("div", null, [
2899
- c("h4", cr, O(e.name), 1),
2900
- c("p", fr, O(e.type), 1)
2899
+ c("h4", cr, _(e.name), 1),
2900
+ c("p", fr, _(e.type), 1)
2901
2901
  ])
2902
2902
  ]),
2903
2903
  ((r = e.tags) == null ? void 0 : r.length) > 0 ? (g(), x("div", vr, [
2904
- (g(!0), x(Z, null, ue(e.tags, (n) => (g(), oe(mn, {
2904
+ (g(!0), x(Z, null, ue(e.tags, (n) => (g(), oe(pn, {
2905
2905
  class: "my-1 mr-1",
2906
2906
  key: n.name,
2907
2907
  color: n.color
2908
2908
  }, {
2909
2909
  default: Y(() => [
2910
- ye(O(n.name), 1)
2910
+ ye(_(n.name), 1)
2911
2911
  ]),
2912
2912
  _: 2
2913
2913
  }, 1032, ["color"]))), 128))
@@ -2939,17 +2939,17 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
2939
2939
  a.value !== o ? a.active = !1 : a.active = !0;
2940
2940
  }), t("filterSelected", o);
2941
2941
  }, n = w(l.items);
2942
- return (o, a) => (g(), oe(pn, {
2942
+ return (o, a) => (g(), oe(mn, {
2943
2943
  onOptionSelected: a[0] || (a[0] = (i) => r(i)),
2944
2944
  position: e.position,
2945
2945
  items: n.value,
2946
2946
  label: e.label
2947
2947
  }, null, 8, ["position", "items", "label"]));
2948
2948
  }
2949
- }), br = /* @__PURE__ */ c("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1), yr = { class: "fixed inset-0 z-10 overflow-y-auto" }, xr = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, wr = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Sr = /* @__PURE__ */ c("span", { class: "sr-only" }, "X", -1), kr = { class: "sm:flex sm:items-start" }, $r = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4" }, Cr = { class: "mt-4 text-gray-500 text-sm" }, _r = {
2949
+ }), br = /* @__PURE__ */ c("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1), yr = { class: "fixed inset-0 z-10 overflow-y-auto" }, xr = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, wr = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Sr = /* @__PURE__ */ c("span", { class: "sr-only" }, "X", -1), kr = { class: "sm:flex sm:items-start" }, $r = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4" }, Cr = { class: "mt-4 text-gray-500 text-sm" }, Or = {
2950
2950
  key: 0,
2951
2951
  class: "mt-8"
2952
- }, Or = ["onClick"], Dr = {
2952
+ }, _r = ["onClick"], Dr = {
2953
2953
  name: "uiModal"
2954
2954
  }, Mr = /* @__PURE__ */ Object.assign(Dr, {
2955
2955
  props: {
@@ -3043,7 +3043,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3043
3043
  }, null, 512), [
3044
3044
  [re, e.type === "success"]
3045
3045
  ]),
3046
- G(S(C(Ge), {
3046
+ G(S(C(Je), {
3047
3047
  class: "h-6 w-6 text-yellow-600",
3048
3048
  "aria-hidden": "true"
3049
3049
  }, null, 512), [
@@ -3062,20 +3062,20 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3062
3062
  class: "text-lg font-medium leading-6 text-gray-900"
3063
3063
  }, {
3064
3064
  default: Y(() => [
3065
- ye(O(e.title), 1)
3065
+ ye(_(e.title), 1)
3066
3066
  ]),
3067
3067
  _: 1
3068
3068
  }),
3069
3069
  c("div", Cr, [
3070
3070
  Ie(n.$slots, "default")
3071
3071
  ]),
3072
- e.actions ? (g(), x("div", _r, [
3072
+ e.actions ? (g(), x("div", Or, [
3073
3073
  (g(!0), x(Z, null, ue(e.actions, (a, i) => (g(), x("button", {
3074
3074
  key: i,
3075
3075
  type: "button",
3076
3076
  class: "inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
3077
3077
  onClick: (s) => r(a.value)
3078
- }, O(a.name), 9, Or))), 128))
3078
+ }, _(a.name), 9, _r))), 128))
3079
3079
  ])) : W("", !0)
3080
3080
  ])
3081
3081
  ])
@@ -3120,7 +3120,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3120
3120
  class: R([{ fixed: e.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
3121
3121
  }, [
3122
3122
  c("div", Tr, [
3123
- S(Ot, {
3123
+ S(_t, {
3124
3124
  "enter-active-class": "transform ease-out duration-300 transition",
3125
3125
  "enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
3126
3126
  "enter-to-class": "translate-y-0 opacity-100 sm:translate-x-0",
@@ -3145,7 +3145,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3145
3145
  }, null, 512), [
3146
3146
  [re, e.type === "danger"]
3147
3147
  ]),
3148
- G(S(C(Ge), {
3148
+ G(S(C(Je), {
3149
3149
  "aria-hidden": "true",
3150
3150
  class: "h-6 w-6 text-yellow-400"
3151
3151
  }, null, 512), [
@@ -3159,8 +3159,8 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3159
3159
  ])
3160
3160
  ]),
3161
3161
  c("div", jr, [
3162
- c("p", Ir, O(e.title), 1),
3163
- c("p", Ar, O(e.message), 1)
3162
+ c("p", Ir, _(e.title), 1),
3163
+ c("p", Ar, _(e.message), 1)
3164
3164
  ]),
3165
3165
  c("div", Fr, [
3166
3166
  c("button", {
@@ -3204,7 +3204,7 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3204
3204
  }, [
3205
3205
  c("div", Yr, [
3206
3206
  c("div", Ur, [
3207
- c("p", qr, O(r.name), 1),
3207
+ c("p", qr, _(r.name), 1),
3208
3208
  c("p", {
3209
3209
  class: R([
3210
3210
  {
@@ -3214,10 +3214,10 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3214
3214
  },
3215
3215
  "rounded-md whitespace-nowrap mt-0.5 px-1.5 py-0.5 text-xs font-medium ring-1 ring-inset"
3216
3216
  ])
3217
- }, O(r.statusLiteral), 3)
3217
+ }, _(r.statusLiteral), 3)
3218
3218
  ]),
3219
3219
  c("div", zr, [
3220
- c("p", Wr, O(r.description), 1)
3220
+ c("p", Wr, _(r.description), 1)
3221
3221
  ])
3222
3222
  ]),
3223
3223
  c("div", Kr, [
@@ -3225,8 +3225,8 @@ const uo = { class: "py-1" }, co = ["onClick"], fo = {
3225
3225
  href: r.href,
3226
3226
  class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
3227
3227
  }, [
3228
- ye(O(r.action), 1),
3229
- c("span", Gr, ", " + O(r.name), 1)
3228
+ ye(_(r.action), 1),
3229
+ c("span", Gr, ", " + _(r.name), 1)
3230
3230
  ], 8, Jr)
3231
3231
  ])
3232
3232
  ]))), 128))
@@ -3261,8 +3261,8 @@ var ta = { exports: {} };
3261
3261
  }
3262
3262
  var n = r(l), o = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
3263
3263
  function a(s, u, d) {
3264
- var m = o[d];
3265
- return Array.isArray(m) && (m = m[u ? 0 : 1]), m.replace("%d", s);
3264
+ var p = o[d];
3265
+ return Array.isArray(p) && (p = p[u ? 0 : 1]), p.replace("%d", s);
3266
3266
  }
3267
3267
  var i = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(s) {
3268
3268
  return s + ".";
@@ -3295,7 +3295,7 @@ var la = { exports: {} };
3295
3295
  return n.default.locale(o, null, !0), o;
3296
3296
  });
3297
3297
  })(la);
3298
- const Ue = (e, t) => {
3298
+ const Ge = (e, t) => {
3299
3299
  const l = e.__vccOpts || e;
3300
3300
  for (const [r, n] of t)
3301
3301
  l[r] = n;
@@ -3322,7 +3322,7 @@ const Ue = (e, t) => {
3322
3322
  }
3323
3323
  }, ra = { class: "dateSelector flex items-center text-white flex-row" }, aa = { class: "pagination flex items-center my-1 md:my-0" }, ia = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, sa = { class: "pagination flex items-center my-1 sm:my-0" };
3324
3324
  function ua(e, t, l, r, n, o) {
3325
- const a = Oe("ChevronLeftIcon"), i = Oe("ChevronRightIcon");
3325
+ const a = _e("ChevronLeftIcon"), i = _e("ChevronRightIcon");
3326
3326
  return g(), x("div", ra, [
3327
3327
  c("div", aa, [
3328
3328
  c("div", {
@@ -3347,7 +3347,7 @@ function ua(e, t, l, r, n, o) {
3347
3347
  S(a, { class: "h-4" })
3348
3348
  ])
3349
3349
  ]),
3350
- c("div", ia, O(o.currentDate), 1),
3350
+ c("div", ia, _(o.currentDate), 1),
3351
3351
  c("div", sa, [
3352
3352
  c("div", {
3353
3353
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
@@ -3373,7 +3373,7 @@ function ua(e, t, l, r, n, o) {
3373
3373
  ])
3374
3374
  ]);
3375
3375
  }
3376
- const da = /* @__PURE__ */ Ue(oa, [["render", ua]]);
3376
+ const da = /* @__PURE__ */ Ge(oa, [["render", ua]]);
3377
3377
  var gn = { exports: {} };
3378
3378
  (function(e, t) {
3379
3379
  (function(l, r) {
@@ -3404,7 +3404,7 @@ const fa = /* @__PURE__ */ Zr(ca), va = {
3404
3404
  };
3405
3405
  }
3406
3406
  }
3407
- }, pa = { class: "text-xs" }, ma = { class: "font-bold text-lg" }, ga = { class: "text-xs font-medium" };
3407
+ }, ma = { class: "text-xs" }, pa = { class: "font-bold text-lg" }, ga = { class: "text-xs font-medium" };
3408
3408
  function ha(e, t, l, r, n, o) {
3409
3409
  return g(), x("div", {
3410
3410
  class: R([
@@ -3415,12 +3415,12 @@ function ha(e, t, l, r, n, o) {
3415
3415
  }
3416
3416
  ])
3417
3417
  }, [
3418
- c("p", pa, O(o.currentDay.dayName), 1),
3419
- c("p", ma, O(o.currentDay.day), 1),
3420
- c("p", ga, O(o.currentDay.month), 1)
3418
+ c("p", ma, _(o.currentDay.dayName), 1),
3419
+ c("p", pa, _(o.currentDay.day), 1),
3420
+ c("p", ga, _(o.currentDay.month), 1)
3421
3421
  ], 2);
3422
3422
  }
3423
- const ba = /* @__PURE__ */ Ue(va, [["render", ha]]), ya = {
3423
+ const ba = /* @__PURE__ */ Ge(va, [["render", ha]]), ya = {
3424
3424
  name: "dayPrice",
3425
3425
  props: {
3426
3426
  currency: String,
@@ -3451,10 +3451,10 @@ function wa(e, t, l, r, n, o) {
3451
3451
  },
3452
3452
  "select-none text-center rounded-lg p-1"
3453
3453
  ])
3454
- }, O(o.currentDay.price) + O(l.currency), 3)
3454
+ }, _(o.currentDay.price) + _(l.currency), 3)
3455
3455
  ]);
3456
3456
  }
3457
- const Sa = /* @__PURE__ */ Ue(ya, [["render", wa]]), ka = {
3457
+ const Sa = /* @__PURE__ */ Ge(ya, [["render", wa]]), ka = {
3458
3458
  name: "uiPriceCalendar",
3459
3459
  data: () => ({
3460
3460
  today: /* @__PURE__ */ new Date(),
@@ -3511,7 +3511,7 @@ const Sa = /* @__PURE__ */ Ue(ya, [["render", wa]]), ka = {
3511
3511
  this.$emit("changeRoomPrice", e);
3512
3512
  }
3513
3513
  }
3514
- }, $a = { class: "px-4 sm:px-6 lg:px-8" }, Ca = { class: "flow-root" }, _a = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Oa = { class: "inline-block min-w-full align-middle" }, Da = { class: "min-w-full" }, Ma = { class: "bg-white" }, Ta = {
3514
+ }, $a = { class: "px-4 sm:px-6 lg:px-8" }, Ca = { class: "flow-root" }, Oa = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, _a = { class: "inline-block min-w-full align-middle" }, Da = { class: "min-w-full" }, Ma = { class: "bg-white" }, Ta = {
3515
3515
  colspan: "6",
3516
3516
  scope: "colgroup",
3517
3517
  class: "bg-gray-50 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3"
@@ -3562,12 +3562,12 @@ const Sa = /* @__PURE__ */ Ue(ya, [["render", wa]]), ka = {
3562
3562
  class: "pl-4"
3563
3563
  };
3564
3564
  function Xa(e, t, l, r, n, o) {
3565
- var d, m;
3566
- const a = Oe("DateSelector"), i = Oe("Day"), s = Oe("uiButton"), u = Oe("Price");
3565
+ var d, p;
3566
+ const a = _e("DateSelector"), i = _e("Day"), s = _e("uiButton"), u = _e("Price");
3567
3567
  return g(), x("div", $a, [
3568
3568
  c("div", Ca, [
3569
- c("div", _a, [
3570
- c("div", Oa, [
3569
+ c("div", Oa, [
3570
+ c("div", _a, [
3571
3571
  c("table", Da, [
3572
3572
  c("tbody", Ma, [
3573
3573
  c("tr", null, [
@@ -3577,9 +3577,9 @@ function Xa(e, t, l, r, n, o) {
3577
3577
  onDateSelected: t[0] || (t[0] = (v) => o.changeDate(v))
3578
3578
  }, null, 8, ["selectedDate"])
3579
3579
  ]),
3580
- (g(!0), x(Z, null, ue(o.days, (v, p) => (g(), x("th", {
3580
+ (g(!0), x(Z, null, ue(o.days, (v, m) => (g(), x("th", {
3581
3581
  scope: "col",
3582
- key: p,
3582
+ key: m,
3583
3583
  class: "text-sm font-semibold text-gray-900 p-0"
3584
3584
  }, [
3585
3585
  S(i, {
@@ -3605,8 +3605,8 @@ function Xa(e, t, l, r, n, o) {
3605
3605
  ]),
3606
3606
  c("tr", null, [
3607
3607
  La,
3608
- (g(!0), x(Z, null, ue(l.category.selectionPrices, (v, p) => (g(), x("td", {
3609
- key: p,
3608
+ (g(!0), x(Z, null, ue(l.category.selectionPrices, (v, m) => (g(), x("td", {
3609
+ key: m,
3610
3610
  class: "p-0"
3611
3611
  }, [
3612
3612
  S(u, {
@@ -3620,8 +3620,8 @@ function Xa(e, t, l, r, n, o) {
3620
3620
  ]),
3621
3621
  c("tr", null, [
3622
3622
  Ra,
3623
- (g(!0), x(Z, null, ue(l.category.upgradePrices, (v, p) => (g(), x("td", {
3624
- key: p,
3623
+ (g(!0), x(Z, null, ue(l.category.upgradePrices, (v, m) => (g(), x("td", {
3624
+ key: m,
3625
3625
  class: "p-0"
3626
3626
  }, [
3627
3627
  S(u, {
@@ -3635,13 +3635,13 @@ function Xa(e, t, l, r, n, o) {
3635
3635
  ]),
3636
3636
  c("tr", null, [
3637
3637
  c("th", ja, [
3638
- ((d = e.selectedRooms) == null ? void 0 : d.length) > 0 && ((m = l.actions) == null ? void 0 : m.length) > 0 ? (g(), x("div", Ia, [
3639
- (g(!0), x(Z, null, ue(l.actions, (v, p) => (g(), x("button", {
3638
+ ((d = e.selectedRooms) == null ? void 0 : d.length) > 0 && ((p = l.actions) == null ? void 0 : p.length) > 0 ? (g(), x("div", Ia, [
3639
+ (g(!0), x(Z, null, ue(l.actions, (v, m) => (g(), x("button", {
3640
3640
  onClick: (b) => o.tableAction({ action: v.id, items: e.selectedRooms }),
3641
- key: p,
3641
+ key: m,
3642
3642
  type: "button",
3643
3643
  class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
3644
- }, O(v.name), 9, Aa))), 128))
3644
+ }, _(v.name), 9, Aa))), 128))
3645
3645
  ])) : W("", !0),
3646
3646
  Fa
3647
3647
  ])
@@ -3653,7 +3653,7 @@ function Xa(e, t, l, r, n, o) {
3653
3653
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
3654
3654
  checked: o.indeterminate || e.selectedRooms.length === l.rooms.length,
3655
3655
  indeterminate: o.indeterminate,
3656
- onChange: t[1] || (t[1] = (v) => e.selectedRooms = v.target.checked ? l.rooms.map((p) => p.name) : [])
3656
+ onChange: t[1] || (t[1] = (v) => e.selectedRooms = v.target.checked ? l.rooms.map((m) => m.name) : [])
3657
3657
  }, null, 40, Na),
3658
3658
  Ha
3659
3659
  ]),
@@ -3671,24 +3671,24 @@ function Xa(e, t, l, r, n, o) {
3671
3671
  type: "checkbox",
3672
3672
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
3673
3673
  value: v.name,
3674
- "onUpdate:modelValue": t[2] || (t[2] = (p) => e.selectedRooms = p)
3674
+ "onUpdate:modelValue": t[2] || (t[2] = (m) => e.selectedRooms = m)
3675
3675
  }, null, 8, Wa), [
3676
- [_n, e.selectedRooms]
3676
+ [On, e.selectedRooms]
3677
3677
  ]),
3678
- c("span", Ka, O(v.name), 1)
3678
+ c("span", Ka, _(v.name), 1)
3679
3679
  ]),
3680
- c("td", Ja, O(v.building), 1),
3681
- c("td", Ga, O(v.floor), 1),
3682
- (g(!0), x(Z, null, ue(v.selectionPrices, (p, b) => (g(), x("td", {
3680
+ c("td", Ja, _(v.building), 1),
3681
+ c("td", Ga, _(v.floor), 1),
3682
+ (g(!0), x(Z, null, ue(v.selectionPrices, (m, b) => (g(), x("td", {
3683
3683
  class: "p-0",
3684
3684
  key: b
3685
3685
  }, [
3686
3686
  S(u, {
3687
- onClick: (h) => o.changeRoomPrice(p),
3687
+ onClick: (h) => o.changeRoomPrice(m),
3688
3688
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
3689
- price: p,
3689
+ price: m,
3690
3690
  currency: l.currency.symbol,
3691
- basePrice: o.getSelectionBasePrice(p)
3691
+ basePrice: o.getSelectionBasePrice(m)
3692
3692
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
3693
3693
  ]))), 128))
3694
3694
  ]))), 128))
@@ -3699,8 +3699,7 @@ function Xa(e, t, l, r, n, o) {
3699
3699
  ])
3700
3700
  ]);
3701
3701
  }
3702
- const Qa = /* @__PURE__ */ Ue(ka, [["render", Xa]]);
3703
- const Za = { class: "chart-selector flex flex-row items-center justify-center" }, ei = {
3702
+ const Qa = /* @__PURE__ */ Ge(ka, [["render", Xa]]), Za = { class: "chart-selector flex flex-row items-center justify-center" }, ei = {
3704
3703
  name: "rangeSelector"
3705
3704
  }, ti = /* @__PURE__ */ Object.assign(ei, {
3706
3705
  emits: ["rangeSelected"],
@@ -3728,40 +3727,40 @@ const Za = { class: "chart-selector flex flex-row items-center justify-center" }
3728
3727
  }, "3M", 2)
3729
3728
  ]));
3730
3729
  }
3731
- }), ni = /* @__PURE__ */ Ue(ti, [["__scopeId", "data-v-e8fe3015"]]), li = {
3730
+ }), ni = {
3732
3731
  toolbar: {
3733
3732
  show: !1
3734
3733
  },
3735
3734
  zoom: {
3736
3735
  enabled: !1
3737
3736
  }
3738
- }, oi = [
3737
+ }, li = [
3739
3738
  "#715aff",
3740
3739
  "#00ffff",
3741
3740
  "#aba9ba"
3742
- ], ri = {
3741
+ ], oi = {
3743
3742
  show: !0,
3744
3743
  curve: "stepline",
3745
3744
  lineCap: "butt",
3746
3745
  width: 1,
3747
3746
  dashArray: 0
3748
- }, ai = {
3747
+ }, ri = {
3749
3748
  enabled: !1
3750
- }, ii = {
3749
+ }, ai = {
3751
3750
  strokeWidth: 0,
3752
3751
  size: 4,
3753
3752
  hover: {
3754
3753
  size: 8
3755
3754
  }
3756
- }, si = {
3757
- chart: li,
3758
- colors: oi,
3759
- stroke: ri,
3760
- dataLabels: ai,
3761
- markers: ii
3762
- }, ui = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, di = { class: "chart-header flex flex-row justify-between" }, ci = { class: "text-sm font-medium text-gray-500 truncate" }, fi = { class: "chart-content" }, vi = {
3755
+ }, ii = {
3756
+ chart: ni,
3757
+ colors: li,
3758
+ stroke: oi,
3759
+ dataLabels: ri,
3760
+ markers: ai
3761
+ }, si = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ui = { class: "chart-header flex flex-row justify-between" }, di = { class: "text-sm font-medium text-gray-500 truncate" }, ci = { class: "chart-content" }, fi = {
3763
3762
  name: "uiChart"
3764
- }, pi = /* @__PURE__ */ Object.assign(vi, {
3763
+ }, vi = /* @__PURE__ */ Object.assign(fi, {
3765
3764
  props: {
3766
3765
  title: String,
3767
3766
  type: {
@@ -3779,16 +3778,16 @@ const Za = { class: "chart-selector flex flex-row items-center justify-center" }
3779
3778
  },
3780
3779
  emits: ["selectedRange", "chartUpdated"],
3781
3780
  setup(e, { emit: t }) {
3782
- const l = e, r = y(() => ({ ...l.options, ...si })), n = y(() => l.series), o = () => t("chartUpdated");
3783
- return (a, i) => (g(), x("div", ui, [
3784
- c("div", di, [
3785
- c("div", ci, O(e.title), 1),
3786
- S(ni, {
3781
+ const l = e, r = y(() => ({ ...l.options, ...ii })), n = y(() => l.series), o = () => t("chartUpdated");
3782
+ return (a, i) => (g(), x("div", si, [
3783
+ c("div", ui, [
3784
+ c("div", di, _(e.title), 1),
3785
+ S(ti, {
3787
3786
  onRangeSelected: i[0] || (i[0] = (s) => t("selectedRange", s))
3788
3787
  })
3789
3788
  ]),
3790
- c("div", fi, [
3791
- S(C(On), {
3789
+ c("div", ci, [
3790
+ S(C(_n), {
3792
3791
  type: e.type,
3793
3792
  series: n.value,
3794
3793
  width: "100%",
@@ -3804,29 +3803,29 @@ const Za = { class: "chart-selector flex flex-row items-center justify-center" }
3804
3803
  uiButton: Dt,
3805
3804
  uiIcon: ve,
3806
3805
  uiCheckbox: An,
3807
- uiDropdown: pn,
3806
+ uiDropdown: mn,
3808
3807
  uiInput: xo,
3809
3808
  uiInputFile: Lo,
3810
3809
  uiSelect: Io,
3811
- uiTag: mn,
3810
+ uiTag: pn,
3812
3811
  uiTextArea: Ho,
3813
3812
  uiToggle: qo,
3814
3813
  uiAlert: er,
3815
3814
  uiBreadcrumbs: sr,
3816
- uiCard: mr,
3815
+ uiCard: pr,
3817
3816
  uiFilter: hr,
3818
3817
  uiModal: Mr,
3819
3818
  uiNotification: Hr,
3820
3819
  uiTaskList: Qr,
3821
3820
  uiPriceCalendar: Qa,
3822
- uiChart: pi
3823
- }, _t = mi, xi = {
3821
+ uiChart: vi
3822
+ }, Ot = mi, yi = {
3824
3823
  install(e) {
3825
- Object.keys(_t).forEach((t) => {
3826
- e.component(t, _t[t]);
3824
+ Object.keys(Ot).forEach((t) => {
3825
+ e.component(t, Ot[t]);
3827
3826
  });
3828
3827
  }
3829
3828
  };
3830
3829
  export {
3831
- xi as default
3830
+ yi as default
3832
3831
  };