@rocketui/vue 0.0.39 → 0.0.40

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, openBlock as t, createElementBlock as r, createElementVNode as S, unref as g, reactive as J, Fragment as j, renderList as Y, normalizeClass as f, toDisplayString as b, createVNode as W, computed as B, renderSlot as w, createBlock as v, createCommentVNode as h, mergeProps as $1, withModifiers as N, watch as G, ref as D, withDirectives as T1, withKeys as O1, vModelText as K1, normalizeStyle as v1, vShow as j1, onMounted as q1, withCtx as F1, createTextVNode as R1, useCssVars as Y1, watchEffect as X1, resolveComponent as J1 } from "vue";
1
+ import { defineComponent as P, openBlock as t, createElementBlock as r, createElementVNode as S, unref as O, reactive as J, Fragment as j, renderList as Y, normalizeClass as g, toDisplayString as b, createVNode as W, computed as B, renderSlot as w, createBlock as v, createCommentVNode as f, mergeProps as $1, withModifiers as N, watch as G, ref as D, withDirectives as T1, withKeys as O1, vModelText as K1, normalizeStyle as v1, vShow as j1, onMounted as q1, withCtx as F1, createTextVNode as R1, useCssVars as Y1, watchEffect as X1, resolveComponent as J1 } from "vue";
2
2
  const C2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7312,7 +7312,7 @@ const C2 = {
7312
7312
  viewBox: V.viewBox
7313
7313
  }, [
7314
7314
  S("path", {
7315
- d: g(C2)[V.name]
7315
+ d: O(C2)[V.name]
7316
7316
  }, null, 8, V2)
7317
7317
  ], 8, H2));
7318
7318
  }
@@ -7338,7 +7338,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7338
7338
  }
7339
7339
  return (M, i) => (t(!0), r(j, null, Y(C, (A, e) => (t(), r("div", {
7340
7340
  key: e,
7341
- class: f({
7341
+ class: g({
7342
7342
  accordion: !0,
7343
7343
  "accordion--opened": A.open,
7344
7344
  "accordion--disabled": A.disabled
@@ -7393,12 +7393,12 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7393
7393
  V("close");
7394
7394
  };
7395
7395
  return (e, d) => (t(), r("div", {
7396
- class: f(g(L))
7396
+ class: g(O(L))
7397
7397
  }, [
7398
7398
  S("div", e2, [
7399
7399
  W(F, {
7400
- name: g(M),
7401
- size: g(i)
7400
+ name: O(M),
7401
+ size: O(i)
7402
7402
  }, null, 8, ["name", "size"])
7403
7403
  ]),
7404
7404
  S("div", d2, [
@@ -7407,14 +7407,14 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7407
7407
  ]),
7408
7408
  C.closable ? (t(), r("div", l2, [
7409
7409
  w(e.$slots, "custom-close"),
7410
- e.$slots.close ? h("", !0) : (t(), v(F, {
7410
+ e.$slots.close ? f("", !0) : (t(), v(F, {
7411
7411
  key: 0,
7412
7412
  class: "close__button",
7413
7413
  name: "close",
7414
7414
  size: "16",
7415
7415
  onClick: A
7416
7416
  }))
7417
- ])) : h("", !0)
7417
+ ])) : f("", !0)
7418
7418
  ], 2));
7419
7419
  }
7420
7420
  }), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", o2 = { class: "avatar__wrapper" }, n2 = ["alt", "src"], W5 = /* @__PURE__ */ P({
@@ -7437,26 +7437,26 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7437
7437
  };
7438
7438
  return (A, e) => (t(), r("div", o2, [
7439
7439
  S("div", {
7440
- class: f(g(C))
7440
+ class: g(O(C))
7441
7441
  }, [
7442
7442
  V.type === "text" ? (t(), r("p", {
7443
7443
  key: 0,
7444
- class: f({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7444
+ class: g({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7445
7445
  }, b(i(V.text)), 3)) : (t(), r("img", {
7446
7446
  key: 1,
7447
7447
  alt: V.alt,
7448
- class: f({
7448
+ class: g({
7449
7449
  avatar__image: !0,
7450
7450
  [`avatar__image--${V.size}`]: !0,
7451
- "avatar__image--anonymous": g(L)
7451
+ "avatar__image--anonymous": O(L)
7452
7452
  }),
7453
- src: g(M)
7453
+ src: O(M)
7454
7454
  }, null, 10, n2))
7455
7455
  ], 2),
7456
7456
  V.online ? (t(), r("span", {
7457
7457
  key: 0,
7458
- class: f({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7459
- }, null, 2)) : h("", !0)
7458
+ class: g({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7459
+ }, null, 2)) : f("", !0)
7460
7460
  ]));
7461
7461
  }
7462
7462
  }), r2 = { class: "badge-wrapper group" }, I5 = /* @__PURE__ */ P({
@@ -7483,7 +7483,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7483
7483
  }));
7484
7484
  return (L, M) => (t(), r("div", r2, [
7485
7485
  S("span", {
7486
- class: f(g(C)),
7486
+ class: g(O(C)),
7487
7487
  onClick: M[0] || (M[0] = (i) => L.$emit("click"))
7488
7488
  }, b(V.content), 3),
7489
7489
  w(L.$slots, "default")
@@ -7526,28 +7526,28 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7526
7526
  };
7527
7527
  });
7528
7528
  return (i, A) => (t(), r("button", $1(i.$attrs, {
7529
- class: g(C),
7529
+ class: O(C),
7530
7530
  disabled: H.disabled || H.loading,
7531
- style: g(M),
7531
+ style: O(M),
7532
7532
  onClick: A[0] || (A[0] = N((e) => i.$emit("click"), ["stop"]))
7533
7533
  }), [
7534
7534
  w(i.$slots, "custom-icon"),
7535
7535
  !i.$slots["custom-icon"] && V.prependIcon ? (t(), v(F, {
7536
7536
  key: 0,
7537
- class: f({
7537
+ class: g({
7538
7538
  "button__prepend-icon": !0,
7539
7539
  "button__prepend-icon--only": V.onlyIcon
7540
7540
  }),
7541
7541
  name: V.prependIcon,
7542
- size: g(L)
7543
- }, null, 8, ["class", "name", "size"])) : h("", !0),
7544
- V.onlyIcon ? h("", !0) : w(i.$slots, "default", { key: 1 }),
7542
+ size: O(L)
7543
+ }, null, 8, ["class", "name", "size"])) : f("", !0),
7544
+ V.onlyIcon ? f("", !0) : w(i.$slots, "default", { key: 1 }),
7545
7545
  !i.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), v(F, {
7546
7546
  key: 2,
7547
7547
  class: "button__append-icon",
7548
7548
  name: V.appendIcon,
7549
- size: g(L)
7550
- }, null, 8, ["name", "size"])) : h("", !0)
7549
+ size: O(L)
7550
+ }, null, 8, ["name", "size"])) : f("", !0)
7551
7551
  ], 16, a2));
7552
7552
  }
7553
7553
  }), Z2 = { class: "checkbox-wrapper" }, S2 = { class: "checkbox-container" }, u2 = ["id", "checked", "disabled", "indeterminate"], c2 = ["data-disabled"], s2 = { class: "checkbox-texts" }, O2 = ["data-disabled", "for"], p2 = {
@@ -7617,11 +7617,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7617
7617
  onChange: e
7618
7618
  }, null, 40, u2),
7619
7619
  S("div", {
7620
- class: f(g(A)),
7620
+ class: g(O(A)),
7621
7621
  "data-disabled": C.disabled
7622
7622
  }, [
7623
7623
  W(F, {
7624
- name: g(i),
7624
+ name: O(i),
7625
7625
  size: 24
7626
7626
  }, null, 8, ["name"])
7627
7627
  ], 10, c2)
@@ -7660,7 +7660,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7660
7660
  C.disabled || !C.closable || (A.stopPropagation(), V("click:close", A));
7661
7661
  };
7662
7662
  return (A, e) => (t(), r("div", {
7663
- class: f(g(L))
7663
+ class: g(O(L))
7664
7664
  }, [
7665
7665
  S("div", {
7666
7666
  class: "chip__content",
@@ -7673,7 +7673,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7673
7673
  "aria-disabled": C.disabled,
7674
7674
  name: C.prependIcon,
7675
7675
  size: 12
7676
- }, null, 8, ["aria-disabled", "name"])) : h("", !0)
7676
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7677
7677
  ]),
7678
7678
  S("span", f2, b(C.label), 1)
7679
7679
  ]),
@@ -7685,7 +7685,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7685
7685
  name: C.appendIcon,
7686
7686
  size: 12,
7687
7687
  onClick: e[1] || (e[1] = (d) => i(d))
7688
- }, null, 8, ["aria-disabled", "name"])) : h("", !0)
7688
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7689
7689
  ])
7690
7690
  ], 2));
7691
7691
  }
@@ -7712,10 +7712,10 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7712
7712
  emits: ["update:modelValue"],
7713
7713
  setup(H, { emit: V }) {
7714
7714
  const C = H, L = D(""), M = J([]), i = D(!1), A = D(""), e = D(null), d = D(null), l = D(null), Z = (o) => {
7715
- var a, n, O, T, R, _, c, y, x, E;
7715
+ var a, n, p, T, R, _, c, y, x, E;
7716
7716
  if (!C.disabled) {
7717
7717
  if (o.stopPropagation(), i.value = !i.value, i.value) {
7718
- (a = e.value) == null || a.classList.add("dropdown--active"), (O = (n = l.value) == null ? void 0 : n.parentElement) == null || O.addEventListener("click", Z), (T = e.value) == null || T.focus(), C.searchable && ((R = d.value) == null || R.focus());
7718
+ (a = e.value) == null || a.classList.add("dropdown--active"), (p = (n = l.value) == null ? void 0 : n.parentElement) == null || p.addEventListener("click", Z), (T = e.value) == null || T.focus(), C.searchable && ((R = d.value) == null || R.focus());
7719
7719
  return;
7720
7720
  }
7721
7721
  (_ = e.value) == null || _.classList.remove("dropdown--active"), (c = e.value) == null || c.blur(), (y = d.value) == null || y.blur(), (E = (x = l.value) == null ? void 0 : x.parentElement) == null || E.addEventListener("click", Z);
@@ -7726,8 +7726,8 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7726
7726
  o.stopPropagation(), M.includes(a) ? M.splice(M.indexOf(a), 1) : M.push(a), A.value = "", C.searchable && ((n = d.value) == null || n.focus());
7727
7727
  return;
7728
7728
  }
7729
- p(o, a);
7730
- }, p = (o, a) => {
7729
+ h(o, a);
7730
+ }, h = (o, a) => {
7731
7731
  if (L.value === a.value) {
7732
7732
  L.value = "", A.value = "";
7733
7733
  return;
@@ -7737,17 +7737,17 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7737
7737
  if (o instanceof KeyboardEvent && o.key !== "Backspace" || A.value !== "")
7738
7738
  return;
7739
7739
  o.stopPropagation();
7740
- const n = M.findIndex((O) => O.value === a.value);
7740
+ const n = M.findIndex((p) => p.value === a.value);
7741
7741
  M.splice(n, 1);
7742
7742
  }, s = (o) => {
7743
- var O;
7743
+ var p;
7744
7744
  if (!C.taggable)
7745
7745
  return;
7746
7746
  o.stopPropagation();
7747
7747
  const a = A.value;
7748
7748
  if (a === "")
7749
7749
  return;
7750
- C.options.find((T) => T.label === a) || (M.push({ value: a, label: a }), A.value = "", (O = d.value) == null || O.focus());
7750
+ C.options.find((T) => T.label === a) || (M.push({ value: a, label: a }), A.value = "", (p = d.value) == null || p.focus());
7751
7751
  }, k = B(() => C.searchable ? C.options.filter((a) => a.label.toLowerCase().includes(A.value.toLowerCase())) : C.options);
7752
7752
  return G(M, (o) => {
7753
7753
  V("update:modelValue", o);
@@ -7759,7 +7759,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7759
7759
  S("div", {
7760
7760
  ref_key: "dropdown",
7761
7761
  ref: e,
7762
- class: f({
7762
+ class: g({
7763
7763
  dropdown: !0,
7764
7764
  "dropdown--disabled": C.disabled,
7765
7765
  "dropdown--loading": C.loading
@@ -7768,7 +7768,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7768
7768
  }, [
7769
7769
  C.prependIcon || o.$slots.prepend ? (t(), r("div", {
7770
7770
  key: 0,
7771
- class: f({
7771
+ class: g({
7772
7772
  "dropdown__prepend-icon": !0,
7773
7773
  "dropdown__prepend-icon--active": i.value
7774
7774
  })
@@ -7777,29 +7777,29 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7777
7777
  C.prependIcon ? (t(), v(F, {
7778
7778
  key: 0,
7779
7779
  name: C.prependIcon
7780
- }, null, 8, ["name"])) : h("", !0)
7780
+ }, null, 8, ["name"])) : f("", !0)
7781
7781
  ])
7782
- ], 2)) : h("", !0),
7782
+ ], 2)) : f("", !0),
7783
7783
  C.taggable ? (t(), r("div", k2, [
7784
- (t(!0), r(j, null, Y(M, (n, O) => (t(), v(g2, {
7785
- key: O,
7784
+ (t(!0), r(j, null, Y(M, (n, p) => (t(), v(g2, {
7785
+ key: p,
7786
7786
  label: n.label,
7787
7787
  appendIcon: "close",
7788
7788
  class: "dropdown__tags__chip",
7789
7789
  variant: "primary",
7790
7790
  "onClick:close": (T) => u(T, n)
7791
7791
  }, null, 8, ["label", "onClick:close"]))), 128))
7792
- ])) : h("", !0),
7792
+ ])) : f("", !0),
7793
7793
  C.multiple ? (t(), r("div", B2, [
7794
- (t(!0), r(j, null, Y(M, (n, O) => (t(), r("p", { key: O }, b(n.label + ","), 1))), 128))
7795
- ])) : h("", !0),
7794
+ (t(!0), r(j, null, Y(M, (n, p) => (t(), r("p", { key: p }, b(n.label + ","), 1))), 128))
7795
+ ])) : f("", !0),
7796
7796
  T1(S("input", {
7797
7797
  id: "select",
7798
7798
  ref_key: "input",
7799
7799
  ref: d,
7800
7800
  type: "text",
7801
7801
  "onUpdate:modelValue": a[0] || (a[0] = (n) => A.value = n),
7802
- class: f({
7802
+ class: g({
7803
7803
  dropdown__input: !0,
7804
7804
  "dropdown__input--loading": C.loading
7805
7805
  }),
@@ -7815,7 +7815,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7815
7815
  ]),
7816
7816
  C.appendIcon || o.$slots.append ? (t(), r("div", {
7817
7817
  key: 3,
7818
- class: f({
7818
+ class: g({
7819
7819
  "dropdown__append-icon": !0,
7820
7820
  "dropdown__append-icon--active": i.value
7821
7821
  })
@@ -7824,33 +7824,33 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7824
7824
  C.appendIcon ? (t(), v(F, {
7825
7825
  key: 0,
7826
7826
  name: C.appendIcon
7827
- }, null, 8, ["name"])) : h("", !0)
7827
+ }, null, 8, ["name"])) : f("", !0)
7828
7828
  ])
7829
- ], 2)) : h("", !0)
7829
+ ], 2)) : f("", !0)
7830
7830
  ], 2),
7831
7831
  S("ul", {
7832
- class: f({ "dropdown-options": !0, "dropdown-options--active": i.value })
7832
+ class: g({ "dropdown-options": !0, "dropdown-options--active": i.value })
7833
7833
  }, [
7834
- (t(!0), r(j, null, Y(g(k), (n) => (t(), r("li", {
7834
+ (t(!0), r(j, null, Y(O(k), (n) => (t(), r("li", {
7835
7835
  key: n.value,
7836
- class: f({
7836
+ class: g({
7837
7837
  "dropdown-options__option": !0,
7838
7838
  "dropdown-options__option--active": n.value === L.value || (M == null ? void 0 : M.includes(n))
7839
7839
  }),
7840
7840
  "aria-disabled": n.disabled,
7841
- onClick: (O) => m(O, n)
7841
+ onClick: (p) => m(p, n)
7842
7842
  }, [
7843
7843
  S("div", w2, [
7844
7844
  n.prependIcon ? (t(), v(F, {
7845
7845
  key: 1,
7846
- class: f({
7846
+ class: g({
7847
7847
  "dropdown-options__option__prepend-icon": !0,
7848
7848
  "dropdown-options__option__prepend-icon--active": n.value === L.value || (M == null ? void 0 : M.includes(n))
7849
7849
  }),
7850
7850
  name: n.prependIcon
7851
7851
  }, null, 8, ["class", "name"])) : w(o.$slots, "option-prepend", { key: 0 }),
7852
7852
  S("p", {
7853
- class: f({
7853
+ class: g({
7854
7854
  "dropdown-options__option__label": !0,
7855
7855
  "dropdown-options__option__label--active": n.value === L.value || (M == null ? void 0 : M.includes(n))
7856
7856
  })
@@ -7858,12 +7858,12 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7858
7858
  ]),
7859
7859
  n.value === L.value || M != null && M.includes(n) ? (t(), v(F, {
7860
7860
  key: 0,
7861
- class: f({
7861
+ class: g({
7862
7862
  "dropdown-options__option__append-icon": !0,
7863
7863
  "dropdown-options__option__append-icon--active": n.value === L.value || (M == null ? void 0 : M.includes(n))
7864
7864
  }),
7865
7865
  name: "mdiCheck"
7866
- }, null, 8, ["class"])) : h("", !0)
7866
+ }, null, 8, ["class"])) : f("", !0)
7867
7867
  ], 10, y2))), 128))
7868
7868
  ], 2)
7869
7869
  ], 512));
@@ -7919,10 +7919,10 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7919
7919
  onClick: N(i, ["stop"])
7920
7920
  }, [
7921
7921
  S("div", {
7922
- style: v1(g(M)),
7922
+ style: v1(O(M)),
7923
7923
  role: "dialog",
7924
7924
  "aria-modal": "true",
7925
- class: f(g(L)),
7925
+ class: g(O(L)),
7926
7926
  open: C.modelValue
7927
7927
  }, [
7928
7928
  S("div", F2, [
@@ -7931,9 +7931,9 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7931
7931
  W(F, {
7932
7932
  name: C.icon
7933
7933
  }, null, 8, ["name"])
7934
- ])) : h("", !0),
7935
- C.title ? (t(), r("div", x2, b(C.title), 1)) : h("", !0),
7936
- C.description ? (t(), r("div", D2, b(C.description), 1)) : h("", !0)
7934
+ ])) : f("", !0),
7935
+ C.title ? (t(), r("div", x2, b(C.title), 1)) : f("", !0),
7936
+ C.description ? (t(), r("div", D2, b(C.description), 1)) : f("", !0)
7937
7937
  ]),
7938
7938
  S("div", E2, [
7939
7939
  w(A.$slots, "default")
@@ -7957,7 +7957,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7957
7957
  "sidebar--open": V.modelValue
7958
7958
  }));
7959
7959
  return (L, M) => (t(), r("aside", {
7960
- class: f(g(C))
7960
+ class: g(O(C))
7961
7961
  }, [
7962
7962
  S("nav", N2, [
7963
7963
  w(L.$slots, "default")
@@ -8002,7 +8002,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8002
8002
  },
8003
8003
  { immediate: !0 }
8004
8004
  ), (A, e) => (t(), r("div", {
8005
- class: f({
8005
+ class: g({
8006
8006
  snackbar: !0,
8007
8007
  "snackbar--closed": !L.value,
8008
8008
  [C.left ? "snackbar--left" : "snackbar--right"]: !0
@@ -8011,7 +8011,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8011
8011
  S("div", I2, b(C.text), 1),
8012
8012
  C.showAction ? (t(), r("div", Q2, [
8013
8013
  w(A.$slots, "action"),
8014
- A.$slots.action ? h("", !0) : (t(), v(a1, {
8014
+ A.$slots.action ? f("", !0) : (t(), v(a1, {
8015
8015
  key: 0,
8016
8016
  size: "small",
8017
8017
  variant: "ghost",
@@ -8022,16 +8022,16 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8022
8022
  ]),
8023
8023
  _: 1
8024
8024
  }))
8025
- ])) : h("", !0),
8025
+ ])) : f("", !0),
8026
8026
  C.showClose ? (t(), r("div", G2, [
8027
8027
  w(A.$slots, "close"),
8028
- A.$slots.close ? h("", !0) : (t(), v(F, {
8028
+ A.$slots.close ? f("", !0) : (t(), v(F, {
8029
8029
  key: 0,
8030
8030
  name: "mdiClose",
8031
8031
  size: 20,
8032
8032
  onClick: N(i, ["stop"])
8033
8033
  }, null, 8, ["onClick"]))
8034
- ])) : h("", !0)
8034
+ ])) : f("", !0)
8035
8035
  ], 2));
8036
8036
  }
8037
8037
  }), z2 = { class: "switch-container" }, U2 = ["id", "checked"], $2 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), K2 = ["id", "for"], j2 = {
@@ -8075,7 +8075,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8075
8075
  }
8076
8076
  ), (A, e) => (t(), r("div", z2, [
8077
8077
  S("div", {
8078
- class: f(g(M))
8078
+ class: g(O(M))
8079
8079
  }, [
8080
8080
  S("input", {
8081
8081
  id: C.id,
@@ -8087,7 +8087,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8087
8087
  $2
8088
8088
  ], 2),
8089
8089
  S("div", {
8090
- class: f({
8090
+ class: g({
8091
8091
  "switch-texts": !0,
8092
8092
  [`switch-texts--${C.size}`]: !0
8093
8093
  })
@@ -8139,28 +8139,28 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8139
8139
  return (e, d) => (t(), r("button", {
8140
8140
  "aria-disabled": C.disabled,
8141
8141
  "aria-selected": C.modelValue === C.id,
8142
- class: f(g(L)),
8143
- style: v1(g(M)),
8142
+ class: g(O(L)),
8143
+ style: v1(O(M)),
8144
8144
  disabled: C.disabled,
8145
8145
  onClick: d[0] || (d[0] = N((l) => i(C.id), ["stop"]))
8146
8146
  }, [
8147
8147
  w(e.$slots, "prepend", {}, () => [
8148
- C.variant !== g(H1).TEXT && C.prependIcon ? (t(), v(F, {
8148
+ C.variant !== O(H1).TEXT && C.prependIcon ? (t(), v(F, {
8149
8149
  key: 0,
8150
8150
  class: "tab-item__prepend-icon",
8151
8151
  name: C.prependIcon,
8152
8152
  size: 16
8153
- }, null, 8, ["name"])) : h("", !0)
8153
+ }, null, 8, ["name"])) : f("", !0)
8154
8154
  ]),
8155
- C.variant !== g(H1).ICON ? (t(), r("span", X2, b(C.label), 1)) : h("", !0),
8155
+ C.variant !== O(H1).ICON ? (t(), r("span", X2, b(C.label), 1)) : f("", !0),
8156
8156
  w(e.$slots, "append", {}, () => [
8157
- C.variant !== g(H1).TEXT && C.appendIcon ? (t(), v(F, {
8157
+ C.variant !== O(H1).TEXT && C.appendIcon ? (t(), v(F, {
8158
8158
  key: 0,
8159
8159
  class: "tab-item__append-icon",
8160
8160
  name: C.appendIcon,
8161
8161
  size: 16,
8162
8162
  onClick: N(A, ["stop"])
8163
- }, null, 8, ["name", "onClick"])) : h("", !0)
8163
+ }, null, 8, ["name", "onClick"])) : f("", !0)
8164
8164
  ])
8165
8165
  ], 14, Y2));
8166
8166
  }
@@ -8189,7 +8189,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8189
8189
  alert("Icon clicked");
8190
8190
  };
8191
8191
  return (A, e) => (t(), r("div", {
8192
- class: f(g(M))
8192
+ class: g(O(M))
8193
8193
  }, [
8194
8194
  w(A.$slots, "default", {}, () => [
8195
8195
  (t(!0), r(j, null, Y(C.tabs, (d, l) => (t(), v(J2, {
@@ -8250,10 +8250,10 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8250
8250
  class: "textarea__label",
8251
8251
  for: "textarea",
8252
8252
  text: C.label
8253
- }, null, 8, ["text"])) : h("", !0),
8253
+ }, null, 8, ["text"])) : f("", !0),
8254
8254
  S("textarea", {
8255
8255
  id: C.id,
8256
- class: f(["textarea", {
8256
+ class: g(["textarea", {
8257
8257
  "textarea--error": C.errorMsg,
8258
8258
  "textarea--disabled": C.disabled
8259
8259
  }]),
@@ -8266,7 +8266,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8266
8266
  ]));
8267
8267
  }
8268
8268
  }), M5 = {
8269
- class: /* @__PURE__ */ f({
8269
+ class: /* @__PURE__ */ g({
8270
8270
  textfield__wrapper: !0
8271
8271
  })
8272
8272
  }, A5 = { class: "input-wrapper" }, i5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], e5 = { class: "textfield__error" }, d5 = {
@@ -8327,10 +8327,10 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8327
8327
  "textfield__append-icon": !0,
8328
8328
  "textfield__append-icon--clear": s.value,
8329
8329
  "textfield__append-icon--error": u.value
8330
- })), p = B(() => M.value.length > 0), u = B(() => {
8330
+ })), h = B(() => M.value.length > 0), u = B(() => {
8331
8331
  var c;
8332
8332
  return (c = C.errorMsg) == null ? void 0 : c.length;
8333
- }), s = B(() => C.clearable && p.value), k = B(() => {
8333
+ }), s = B(() => C.clearable && h.value), k = B(() => {
8334
8334
  const { prependIcon: c, type: y } = C;
8335
8335
  return c === "none" ? "" : c || A[y];
8336
8336
  }), o = B(() => {
@@ -8340,7 +8340,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8340
8340
  e.value = !0, V("focus", c);
8341
8341
  }, n = (c) => {
8342
8342
  e.value = !1, V("blur", c);
8343
- }, O = (c) => {
8343
+ }, p = (c) => {
8344
8344
  M.value = c.target.value, V("input", c);
8345
8345
  }, T = () => {
8346
8346
  var c;
@@ -8379,7 +8379,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8379
8379
  S("div", M5, [
8380
8380
  W(x1, {
8381
8381
  id: C.id,
8382
- class: f({
8382
+ class: g({
8383
8383
  textfield__label: !0
8384
8384
  }),
8385
8385
  for: C.id,
@@ -8388,15 +8388,15 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8388
8388
  }, null, 8, ["id", "for", "text"]),
8389
8389
  S("div", A5, [
8390
8390
  S("div", {
8391
- class: f(g(l))
8391
+ class: g(O(l))
8392
8392
  }, [
8393
8393
  w(c.$slots, "prepend"),
8394
- g(k) && !c.$slots.prepend ? (t(), v(F, {
8394
+ O(k) && !c.$slots.prepend ? (t(), v(F, {
8395
8395
  key: 0,
8396
- class: f(g(Z)),
8397
- name: g(k),
8396
+ class: g(O(Z)),
8397
+ name: O(k),
8398
8398
  size: 20
8399
- }, null, 8, ["class", "name"])) : h("", !0),
8399
+ }, null, 8, ["class", "name"])) : f("", !0),
8400
8400
  S("input", {
8401
8401
  ref_key: "inputRef",
8402
8402
  ref: L,
@@ -8409,19 +8409,19 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8409
8409
  max: C.max,
8410
8410
  onBlur: n,
8411
8411
  onFocus: a,
8412
- onInput: O
8412
+ onInput: p
8413
8413
  }, null, 40, i5),
8414
8414
  w(c.$slots, "append"),
8415
- g(o) && !c.$slots.append ? (t(), v(F, {
8415
+ O(o) && !c.$slots.append ? (t(), v(F, {
8416
8416
  key: 1,
8417
- class: f(g(m)),
8418
- name: `${g(o)}`,
8417
+ class: g(O(m)),
8418
+ name: `${O(o)}`,
8419
8419
  size: 20,
8420
8420
  onClick: T
8421
- }, null, 8, ["class", "name"])) : h("", !0)
8421
+ }, null, 8, ["class", "name"])) : f("", !0)
8422
8422
  ], 2),
8423
8423
  S("div", e5, b(C.errorMsg), 1),
8424
- C.errorMsg ? h("", !0) : (t(), r("div", d5, b(C.hint), 1))
8424
+ C.errorMsg ? f("", !0) : (t(), r("div", d5, b(C.hint), 1))
8425
8425
  ])
8426
8426
  ])
8427
8427
  ]));
@@ -8470,12 +8470,12 @@ function h1(H, V, C) {
8470
8470
  }
8471
8471
  const m5 = async (H, V, C) => {
8472
8472
  const { placement: L = "bottom", strategy: M = "absolute", middleware: i = [], platform: A } = C, e = i.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
8473
- let l = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: Z, y: m } = h1(l, L, d), p = L, u = {}, s = 0;
8473
+ let l = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: Z, y: m } = h1(l, L, d), h = L, u = {}, s = 0;
8474
8474
  for (let k = 0; k < e.length; k++) {
8475
- const { name: o, fn: a } = e[k], { x: n, y: O, data: T, reset: R } = await a({ x: Z, y: m, initialPlacement: L, placement: p, strategy: M, middlewareData: u, rects: l, platform: A, elements: { reference: H, floating: V } });
8476
- Z = n ?? Z, m = O ?? m, u = { ...u, [o]: { ...u[o], ...T } }, R && s <= 50 && (s++, typeof R == "object" && (R.placement && (p = R.placement), R.rects && (l = R.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : R.rects), { x: Z, y: m } = h1(l, p, d)), k = -1);
8475
+ const { name: o, fn: a } = e[k], { x: n, y: p, data: T, reset: R } = await a({ x: Z, y: m, initialPlacement: L, placement: h, strategy: M, middlewareData: u, rects: l, platform: A, elements: { reference: H, floating: V } });
8476
+ Z = n ?? Z, m = p ?? m, u = { ...u, [o]: { ...u[o], ...T } }, R && s <= 50 && (s++, typeof R == "object" && (R.placement && (h = R.placement), R.rects && (l = R.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : R.rects), { x: Z, y: m } = h1(l, h, d)), k = -1);
8477
8477
  }
8478
- return { x: Z, y: m, placement: p, strategy: M, middlewareData: u };
8478
+ return { x: Z, y: m, placement: h, strategy: M, middlewareData: u };
8479
8479
  };
8480
8480
  function D1(H) {
8481
8481
  return typeof H != "number" ? function(V) {
@@ -8488,7 +8488,7 @@ function e1(H) {
8488
8488
  async function d1(H, V) {
8489
8489
  var C;
8490
8490
  V === void 0 && (V = {});
8491
- const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: Z = "viewport", elementContext: m = "floating", altBoundary: p = !1, padding: u = 0 } = V, s = D1(u), k = e[p ? m === "floating" ? "reference" : "floating" : m], o = e1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(k))) == null || C ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: l, rootBoundary: Z, strategy: d })), a = e1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: m === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[m]);
8491
+ const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: Z = "viewport", elementContext: m = "floating", altBoundary: h = !1, padding: u = 0 } = V, s = D1(u), k = e[h ? m === "floating" ? "reference" : "floating" : m], o = e1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(k))) == null || C ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: l, rootBoundary: Z, strategy: d })), a = e1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: m === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[m]);
8492
8492
  return { top: o.top - a.top + s.top, bottom: a.bottom - o.bottom + s.bottom, left: o.left - a.left + s.left, right: a.right - o.right + s.right };
8493
8493
  }
8494
8494
  const l5 = Math.min, o5 = Math.max;
@@ -8499,10 +8499,10 @@ const n5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8499
8499
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: i, placement: A, rects: e, platform: d } = V;
8500
8500
  if (C == null)
8501
8501
  return {};
8502
- const l = D1(L), Z = { x: M, y: i }, m = A1(A), p = l1(A), u = u1(m), s = await d.getDimensions(C), k = m === "y" ? "top" : "left", o = m === "y" ? "bottom" : "right", a = e.reference[u] + e.reference[m] - Z[m] - e.floating[u], n = Z[m] - e.reference[m], O = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8503
- let T = O ? m === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0;
8502
+ const l = D1(L), Z = { x: M, y: i }, m = A1(A), h = l1(A), u = u1(m), s = await d.getDimensions(C), k = m === "y" ? "top" : "left", o = m === "y" ? "bottom" : "right", a = e.reference[u] + e.reference[m] - Z[m] - e.floating[u], n = Z[m] - e.reference[m], p = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8503
+ let T = p ? m === "y" ? p.clientHeight || 0 : p.clientWidth || 0 : 0;
8504
8504
  T === 0 && (T = e.floating[u]);
8505
- const R = a / 2 - n / 2, _ = l[k], c = T - s[u] - l[o], y = T / 2 - s[u] / 2 + R, x = Z1(_, y, c), E = (p === "start" ? l[k] : l[o]) > 0 && y !== x && e.reference[u] <= e.floating[u];
8505
+ const R = a / 2 - n / 2, _ = l[k], c = T - s[u] - l[o], y = T / 2 - s[u] / 2 + R, x = Z1(_, y, c), E = (h === "start" ? l[k] : l[o]) > 0 && y !== x && e.reference[u] <= e.floating[u];
8506
8506
  return { [m]: Z[m] - (E ? y < _ ? _ - y : c - y : 0), data: { [m]: x, centerOffset: y - x } };
8507
8507
  } }), r5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8508
8508
  function t1(H) {
@@ -8523,22 +8523,22 @@ E1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8523
8523
  const S5 = function(H) {
8524
8524
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8525
8525
  var C;
8526
- const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: Z = !0, fallbackPlacements: m, fallbackStrategy: p = "bestFit", flipAlignment: u = !0, ...s } = H, k = M1(L), o = m || (k === A || !u ? [t1(A)] : function(y) {
8526
+ const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: Z = !0, fallbackPlacements: m, fallbackStrategy: h = "bestFit", flipAlignment: u = !0, ...s } = H, k = M1(L), o = m || (k === A || !u ? [t1(A)] : function(y) {
8527
8527
  const x = t1(y);
8528
8528
  return [f1(y), x, f1(x)];
8529
- }(A)), a = [A, ...o], n = await d1(V, s), O = [];
8529
+ }(A)), a = [A, ...o], n = await d1(V, s), p = [];
8530
8530
  let T = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8531
- if (l && O.push(n[k]), Z) {
8531
+ if (l && p.push(n[k]), Z) {
8532
8532
  const { main: y, cross: x } = a5(L, i, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8533
- O.push(n[y], n[x]);
8533
+ p.push(n[y], n[x]);
8534
8534
  }
8535
- if (T = [...T, { placement: L, overflows: O }], !O.every((y) => y <= 0)) {
8535
+ if (T = [...T, { placement: L, overflows: p }], !p.every((y) => y <= 0)) {
8536
8536
  var R, _;
8537
8537
  const y = ((R = (_ = M.flip) == null ? void 0 : _.index) != null ? R : 0) + 1, x = a[y];
8538
8538
  if (x)
8539
8539
  return { data: { index: y, overflows: T }, reset: { placement: x } };
8540
8540
  let E = "bottom";
8541
- switch (p) {
8541
+ switch (h) {
8542
8542
  case "bestFit": {
8543
8543
  var c;
8544
8544
  const s1 = (c = T.map((i1) => [i1, i1.overflows.filter((C1) => C1 > 0).reduce((C1, U1) => C1 + U1, 0)]).sort((i1, C1) => i1[1] - C1[1])[0]) == null ? void 0 : c[0].placement;
@@ -8580,9 +8580,9 @@ const u5 = function(H) {
8580
8580
  }, c5 = function(H) {
8581
8581
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8582
8582
  const { x: C, y: L } = V, M = await async function(i, A) {
8583
- const { placement: e, platform: d, elements: l } = i, Z = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), m = M1(e), p = l1(e), u = A1(e) === "x", s = ["left", "top"].includes(m) ? -1 : 1, k = Z && u ? -1 : 1, o = typeof A == "function" ? A(i) : A;
8584
- let { mainAxis: a, crossAxis: n, alignmentAxis: O } = typeof o == "number" ? { mainAxis: o, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...o };
8585
- return p && typeof O == "number" && (n = p === "end" ? -1 * O : O), u ? { x: n * k, y: a * s } : { x: a * s, y: n * k };
8583
+ const { placement: e, platform: d, elements: l } = i, Z = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), m = M1(e), h = l1(e), u = A1(e) === "x", s = ["left", "top"].includes(m) ? -1 : 1, k = Z && u ? -1 : 1, o = typeof A == "function" ? A(i) : A;
8584
+ let { mainAxis: a, crossAxis: n, alignmentAxis: p } = typeof o == "number" ? { mainAxis: o, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...o };
8585
+ return h && typeof p == "number" && (n = h === "end" ? -1 * p : p), u ? { x: n * k, y: a * s } : { x: a * s, y: n * k };
8586
8586
  }(V, H);
8587
8587
  return { x: C + M.x, y: L + M.y, data: M };
8588
8588
  } };
@@ -8595,17 +8595,17 @@ const O5 = function(H) {
8595
8595
  const { x: C, y: L, placement: M } = V, { mainAxis: i = !0, crossAxis: A = !1, limiter: e = { fn: (o) => {
8596
8596
  let { x: a, y: n } = o;
8597
8597
  return { x: a, y: n };
8598
- } }, ...d } = H, l = { x: C, y: L }, Z = await d1(V, d), m = A1(M1(M)), p = s5(m);
8599
- let u = l[m], s = l[p];
8598
+ } }, ...d } = H, l = { x: C, y: L }, Z = await d1(V, d), m = A1(M1(M)), h = s5(m);
8599
+ let u = l[m], s = l[h];
8600
8600
  if (i) {
8601
8601
  const o = m === "y" ? "bottom" : "right";
8602
8602
  u = Z1(u + Z[m === "y" ? "top" : "left"], u, u - Z[o]);
8603
8603
  }
8604
8604
  if (A) {
8605
- const o = p === "y" ? "bottom" : "right";
8606
- s = Z1(s + Z[p === "y" ? "top" : "left"], s, s - Z[o]);
8605
+ const o = h === "y" ? "bottom" : "right";
8606
+ s = Z1(s + Z[h === "y" ? "top" : "left"], s, s - Z[o]);
8607
8607
  }
8608
- const k = e.fn({ ...V, [m]: u, [p]: s });
8608
+ const k = e.fn({ ...V, [m]: u, [h]: s });
8609
8609
  return { ...k, data: { x: k.x - C, y: k.y - L } };
8610
8610
  } };
8611
8611
  };
@@ -8667,8 +8667,8 @@ function q(H, V, C) {
8667
8667
  const e = H.getBoundingClientRect();
8668
8668
  let d = 1, l = 1;
8669
8669
  V && Q(H) && (d = H.offsetWidth > 0 && m1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && m1(e.height) / H.offsetHeight || 1);
8670
- const Z = X(H) ? z(H) : window, m = !W1() && C, p = (e.left + (m && (L = (M = Z.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, u = (e.top + (m && (i = (A = Z.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / l, s = e.width / d, k = e.height / l;
8671
- return { width: s, height: k, top: u, right: p + s, bottom: u + k, left: p, x: p, y: u };
8670
+ const Z = X(H) ? z(H) : window, m = !W1() && C, h = (e.left + (m && (L = (M = Z.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, u = (e.top + (m && (i = (A = Z.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / l, s = e.width / d, k = e.height / l;
8671
+ return { width: s, height: k, top: u, right: h + s, bottom: u + k, left: h, x: h, y: u };
8672
8672
  }
8673
8673
  function $(H) {
8674
8674
  return (V = H, (V instanceof z(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8735,8 +8735,8 @@ function P1(H, V, C) {
8735
8735
  let d = A.clientWidth, l = A.clientHeight, Z = 0, m = 0;
8736
8736
  if (e) {
8737
8737
  d = e.width, l = e.height;
8738
- const p = W1();
8739
- (p || !p && M === "fixed") && (Z = e.offsetLeft, m = e.offsetTop);
8738
+ const h = W1();
8739
+ (h || !h && M === "fixed") && (Z = e.offsetLeft, m = e.offsetTop);
8740
8740
  }
8741
8741
  return { width: d, height: l, x: Z, y: m };
8742
8742
  }(H, C)) : X(V) ? function(L, M) {
@@ -8754,11 +8754,11 @@ const f5 = { getClippingRect: function(H) {
8754
8754
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8755
8755
  const i = C === "clippingAncestors" ? function(l) {
8756
8756
  let Z = G1(l).filter((s) => X(s) && K(s) !== "body"), m = null;
8757
- const p = I(l).position === "fixed";
8758
- let u = p ? L1(l) : l;
8757
+ const h = I(l).position === "fixed";
8758
+ let u = h ? L1(l) : l;
8759
8759
  for (; X(u) && !c1(u); ) {
8760
8760
  const s = I(u), k = S1(u);
8761
- (p ? k || m : k || s.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = s : Z = Z.filter((o) => o !== u), u = L1(u);
8761
+ (h ? k || m : k || s.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = s : Z = Z.filter((o) => o !== u), u = L1(u);
8762
8762
  }
8763
8763
  return Z;
8764
8764
  }(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((l, Z) => {
@@ -8803,7 +8803,7 @@ function r1({ value: H }, { value: V }, { value: C }, L, M, i) {
8803
8803
  left: `${A}px`,
8804
8804
  top: `${e}px`
8805
8805
  }), C && l.arrow) {
8806
- const { x: Z, y: m } = l.arrow, p = {
8806
+ const { x: Z, y: m } = l.arrow, h = {
8807
8807
  top: "bottom",
8808
8808
  right: "left",
8809
8809
  bottom: "top",
@@ -8815,7 +8815,7 @@ function r1({ value: H }, { value: V }, { value: C }, L, M, i) {
8815
8815
  top: e != null ? `${m}px` : "",
8816
8816
  right: "",
8817
8817
  bottom: "",
8818
- [`${p}`]: "-4px"
8818
+ [`${h}`]: "-4px"
8819
8819
  });
8820
8820
  }
8821
8821
  });
@@ -8844,12 +8844,12 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8844
8844
  setup(H, { emit: V }) {
8845
8845
  const C = H;
8846
8846
  Y1((o) => ({
8847
- "271323d4": g(k)
8847
+ "271323d4": O(k)
8848
8848
  }));
8849
8849
  const L = D(null), M = D(null), i = D(null);
8850
8850
  function A() {
8851
- const { placement: o, offset: a, padding: n, disabled: O } = C;
8852
- O || (M.value.style.display = "block", V("show"), r1(L, M, i, o, a, n), d(), C.outsideClick && l("add"));
8851
+ const { placement: o, offset: a, padding: n, disabled: p } = C;
8852
+ p || (M.value.style.display = "block", V("show"), r1(L, M, i, o, a, n), d(), C.outsideClick && l("add"));
8853
8853
  }
8854
8854
  function e() {
8855
8855
  M.value.style.display = "", V("hide"), C.outsideClick && l("remove");
@@ -8864,7 +8864,7 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8864
8864
  C.disabled || C.triggers == U.Click && (M.value.style.display === "block" ? e() : A());
8865
8865
  }, m = () => {
8866
8866
  C.disabled || C.triggers === U.Hover && A();
8867
- }, p = () => {
8867
+ }, h = () => {
8868
8868
  if (!C.disabled)
8869
8869
  if (M.value.style.display === "" && C.triggers === U.Hover) {
8870
8870
  A();
@@ -8872,16 +8872,16 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8872
8872
  } else
8873
8873
  M.value.style.display !== "" && C.triggers === U.Hover && e();
8874
8874
  }, u = () => {
8875
- const { placement: o, offset: a, padding: n, disabled: O } = C;
8876
- O || C.triggers === U.Hover && r1(L, M, i, o, a, n);
8875
+ const { placement: o, offset: a, padding: n, disabled: p } = C;
8876
+ p || C.triggers === U.Hover && r1(L, M, i, o, a, n);
8877
8877
  }, s = B(() => ({
8878
8878
  tooltip: !0,
8879
8879
  "tooltip--dark": C.dark,
8880
8880
  "tooltip--light": C.light
8881
8881
  }));
8882
8882
  window.onresize = () => {
8883
- const { placement: o, offset: a, padding: n, disabled: O } = C;
8884
- O || C.resizable && r1(L, M, i, o, a, n);
8883
+ const { placement: o, offset: a, padding: n, disabled: p } = C;
8884
+ p || C.resizable && r1(L, M, i, o, a, n);
8885
8885
  }, X1(
8886
8886
  () => {
8887
8887
  C.disabled || C.shown && C.triggers === U.Manual && A();
@@ -8898,11 +8898,11 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8898
8898
  class: "trigger",
8899
8899
  onClick: N(Z, ["stop"]),
8900
8900
  onMouseenter: N(m, ["stop"]),
8901
- onMouseleave: N(p, ["stop"]),
8901
+ onMouseleave: N(h, ["stop"]),
8902
8902
  onMousemove: N(u, ["stop"])
8903
8903
  }, [
8904
8904
  w(o.$slots, "trigger", {}, void 0, !0),
8905
- o.$slots.trigger ? h("", !0) : (t(), r("div", {
8905
+ o.$slots.trigger ? f("", !0) : (t(), r("div", {
8906
8906
  key: 0,
8907
8907
  innerHTML: C.triggerContent
8908
8908
  }, null, 8, B5))
@@ -8911,24 +8911,24 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8911
8911
  id: "tooltip",
8912
8912
  ref_key: "tooltip",
8913
8913
  ref: M,
8914
- class: f(g(s)),
8914
+ class: g(O(s)),
8915
8915
  role: "tooltip"
8916
8916
  }, [
8917
8917
  w(o.$slots, "content", {}, void 0, !0),
8918
- o.$slots.content ? h("", !0) : (t(), r("div", {
8918
+ o.$slots.content ? f("", !0) : (t(), r("div", {
8919
8919
  key: 0,
8920
- class: f({
8920
+ class: g({
8921
8921
  tooltip__content: !0,
8922
8922
  "tooltip__content--dark": C.dark,
8923
8923
  "tooltip__content--light": C.light
8924
8924
  })
8925
8925
  }, b(C.text), 3)),
8926
- o.$slots.content ? h("", !0) : (t(), r("div", {
8926
+ o.$slots.content ? f("", !0) : (t(), r("div", {
8927
8927
  key: 1,
8928
8928
  id: "arrow",
8929
8929
  ref_key: "arrowElement",
8930
8930
  ref: i,
8931
- class: f({
8931
+ class: g({
8932
8932
  tooltip__arrow: !0,
8933
8933
  "tooltip__arrow--dark": C.dark,
8934
8934
  "tooltip__arrow--light": C.light
@@ -8970,9 +8970,9 @@ const y5 = (H, V) => {
8970
8970
  i.icon ? (t(), v(F, {
8971
8971
  key: 0,
8972
8972
  name: i.icon
8973
- }, null, 8, ["name"])) : h("", !0)
8973
+ }, null, 8, ["name"])) : f("", !0)
8974
8974
  ]),
8975
- i.onlyIcon ? h("", !0) : (t(), r("span", P5, b(i.title), 1))
8975
+ i.onlyIcon ? f("", !0) : (t(), r("span", P5, b(i.title), 1))
8976
8976
  ]),
8977
8977
  _: 2
8978
8978
  }, 1032, ["to"]),
@@ -8981,7 +8981,7 @@ const y5 = (H, V) => {
8981
8981
  key: 0,
8982
8982
  name: V.seperator,
8983
8983
  class: "r-breadcrumb__separator"
8984
- }, null, 8, ["name"])) : h("", !0)
8984
+ }, null, 8, ["name"])) : f("", !0)
8985
8985
  ])
8986
8986
  ]))), 128))
8987
8987
  ]);
@@ -9001,15 +9001,15 @@ const y5 = (H, V) => {
9001
9001
  },
9002
9002
  emits: ["update:page"],
9003
9003
  setup(H, { emit: V }) {
9004
- const C = H, L = D(Math.ceil(C.totalItems / C.perPage)), M = (i) => {
9004
+ const C = H, L = B(() => Math.ceil(C.totalItems / C.perPage)), M = (i) => {
9005
9005
  i < 1 || i > L.value || V("update:page", i);
9006
9006
  };
9007
9007
  return (i, A) => (t(), r("div", T5, [
9008
9008
  S("div", v5, [
9009
- H.slash ? h("", !0) : (t(), r("span", F5, b(C.pageText), 1)),
9009
+ H.slash ? f("", !0) : (t(), r("span", F5, b(C.pageText), 1)),
9010
9010
  S("span", R5, b(C.page), 1),
9011
9011
  R1(" " + b(H.slash ? "/" : C.ofText) + " ", 1),
9012
- S("span", x5, b(L.value), 1)
9012
+ S("span", x5, b(O(L)), 1)
9013
9013
  ]),
9014
9014
  S("div", D5, [
9015
9015
  W(a1, {
@@ -9027,7 +9027,7 @@ const y5 = (H, V) => {
9027
9027
  type: "number",
9028
9028
  min: "1",
9029
9029
  prependIcon: "none",
9030
- max: L.value,
9030
+ max: O(L),
9031
9031
  onBlur: A[2] || (A[2] = (e) => {
9032
9032
  var d;
9033
9033
  return M((d = e == null ? void 0 : e.target) == null ? void 0 : d.value);
@@ -9038,7 +9038,7 @@ const y5 = (H, V) => {
9038
9038
  variant: "outline",
9039
9039
  "only-icon": "",
9040
9040
  "prepend-icon": H.nextIcon,
9041
- disabled: C.page === L.value,
9041
+ disabled: C.page === O(L),
9042
9042
  onClick: A[3] || (A[3] = (e) => M(C.page + 1))
9043
9043
  }, null, 8, ["prepend-icon", "disabled"])
9044
9044
  ])