@rocketui/vue 0.2.2-3.alpha.0 → 0.2.2-3.alpha.1

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 R, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as Z1, Fragment as i1, renderList as o1, normalizeClass as O, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as p, mergeProps as j1, createBlock as E, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as N, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as e1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
1
+ import { defineComponent as R, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as Z1, Fragment as i1, renderList as o1, normalizeClass as c, renderSlot as f, toDisplayString as y, createVNode as K, computed as g, createCommentVNode as p, mergeProps as j1, createBlock as E, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as e1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
2
2
  const k2 = {
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",
@@ -7337,7 +7337,7 @@ const k2 = {
7337
7337
  }
7338
7338
  return (A, L) => (m(!0), Z(i1, null, o1(C, (i, e) => (m(), Z("div", {
7339
7339
  key: e,
7340
- class: O(["r-accordion", {
7340
+ class: c(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
7342
7342
  }]),
7343
7343
  "data-state": i.open ? "opened" : "closed"
@@ -7347,7 +7347,7 @@ const k2 = {
7347
7347
  onClick: (t) => M(e)
7348
7348
  }, [
7349
7349
  f(A.$slots, "title", {}, () => [
7350
- S("div", P2, w(i.title), 1)
7350
+ S("div", P2, y(i.title), 1)
7351
7351
  ]),
7352
7352
  S("div", v2, [
7353
7353
  K(D, { name: "mdiChevronUp" })
@@ -7355,7 +7355,7 @@ const k2 = {
7355
7355
  ], 8, y2),
7356
7356
  S("div", T2, [
7357
7357
  f(A.$slots, "content", {}, () => [
7358
- S("span", null, w(i.content), 1)
7358
+ S("span", null, y(i.content), 1)
7359
7359
  ])
7360
7360
  ])
7361
7361
  ], 10, w2))), 128));
@@ -7393,7 +7393,7 @@ const k2 = {
7393
7393
  M("close");
7394
7394
  }
7395
7395
  return (e, t) => (m(), Z("div", {
7396
- class: O(A.value)
7396
+ class: c(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
7399
7399
  f(e.$slots, "alert-icon", {}, () => [
@@ -7405,8 +7405,8 @@ const k2 = {
7405
7405
  ]),
7406
7406
  S("div", R2, [
7407
7407
  f(e.$slots, "content", {}, () => [
7408
- S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), Z("p", D2, w(C.description), 1)) : p("", !0)
7408
+ S("p", x2, y(C.title), 1),
7409
+ C.description ? (m(), Z("p", D2, y(C.description), 1)) : p("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
7412
  C.closable ? (m(), Z("div", _2, [
@@ -7442,15 +7442,15 @@ const k2 = {
7442
7442
  }
7443
7443
  return (i, e) => (m(), Z("div", E2, [
7444
7444
  S("div", {
7445
- class: O(C.value)
7445
+ class: c(C.value)
7446
7446
  }, [
7447
7447
  V.type === "text" ? (m(), Z("p", {
7448
7448
  key: 0,
7449
- class: O(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), Z("img", {
7449
+ class: c(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
+ }, y(L(V.text)), 3)) : (m(), Z("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
- class: O(["r-avatar__image", {
7453
+ class: c(["r-avatar__image", {
7454
7454
  [`r-avatar__image--${V.size}`]: !0,
7455
7455
  "r-avatar__image--anonymous": M.value
7456
7456
  }]),
@@ -7459,7 +7459,7 @@ const k2 = {
7459
7459
  ], 2),
7460
7460
  V.online ? (m(), Z("span", {
7461
7461
  key: 0,
7462
- class: O(["r-avatar__online", {
7462
+ class: c(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
7464
7464
  }])
7465
7465
  }, null, 2)) : p("", !0)
@@ -7492,13 +7492,13 @@ const k2 = {
7492
7492
  [V.class]: V.class
7493
7493
  }));
7494
7494
  return (M, A) => (m(), Z("div", {
7495
- class: O(["r-badge-wrapper group", [V.wrapperClass]])
7495
+ class: c(["r-badge-wrapper group", [V.wrapperClass]])
7496
7496
  }, [
7497
7497
  S("span", {
7498
- class: O([{ "animate-ping-2": V.animation }, C.value])
7498
+ class: c([{ "animate-ping-2": V.animation }, C.value])
7499
7499
  }, null, 2),
7500
7500
  S("span", {
7501
- class: O(C.value),
7501
+ class: c(C.value),
7502
7502
  innerHTML: V.content
7503
7503
  }, null, 10, N2),
7504
7504
  f(M.$slots, "default")
@@ -7544,7 +7544,7 @@ const k2 = {
7544
7544
  f(L.$slots, "prepend", {}, () => [
7545
7545
  V.prependIcon ? (m(), E(D, {
7546
7546
  key: 0,
7547
- class: O(["r-button__prepend-icon", {
7547
+ class: c(["r-button__prepend-icon", {
7548
7548
  "r-button__prepend-icon--only": V.icon
7549
7549
  }]),
7550
7550
  name: V.prependIcon,
@@ -7634,7 +7634,7 @@ const k2 = {
7634
7634
  onChange: t
7635
7635
  }, null, 40, $2),
7636
7636
  S("div", {
7637
- class: O(e.value),
7637
+ class: c(e.value),
7638
7638
  "data-disabled": C.disabled
7639
7639
  }, [
7640
7640
  K(D, {
@@ -7648,9 +7648,9 @@ const k2 = {
7648
7648
  class: "r-checkbox-texts__label",
7649
7649
  "data-disabled": C.disabled,
7650
7650
  for: C.id
7651
- }, w(C.label), 9, K2),
7651
+ }, y(C.label), 9, K2),
7652
7652
  C.hideDetails ? p("", !0) : (m(), Z("div", q2, [
7653
- C.errorMsg ? (m(), Z("p", j2, w(C.errorMsg), 1)) : (m(), Z("p", X2, w(C.hint), 1))
7653
+ C.errorMsg ? (m(), Z("p", j2, y(C.errorMsg), 1)) : (m(), Z("p", X2, y(C.hint), 1))
7654
7654
  ]))
7655
7655
  ])
7656
7656
  ]));
@@ -7684,7 +7684,7 @@ const k2 = {
7684
7684
  }
7685
7685
  const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7686
7686
  return (t, d) => (m(), Z("div", {
7687
- class: O(A.value)
7687
+ class: c(A.value)
7688
7688
  }, [
7689
7689
  S("div", {
7690
7690
  class: "r-chip__content",
@@ -7700,8 +7700,8 @@ const k2 = {
7700
7700
  }, null, 8, ["aria-disabled", "name"])) : p("", !0)
7701
7701
  ]),
7702
7702
  S("span", {
7703
- class: O(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7704
- }, w(C.label), 3)
7703
+ class: c(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7704
+ }, y(C.label), 3)
7705
7705
  ]),
7706
7706
  f(t.$slots, "append", {}, () => [
7707
7707
  e.value ? (m(), E(D, {
@@ -7960,13 +7960,13 @@ const n5 = async (H, V, C) => {
7960
7960
  for (let k = 0; k < e.length; k++) {
7961
7961
  const {
7962
7962
  name: B,
7963
- fn: y
7963
+ fn: w
7964
7964
  } = e[k], {
7965
7965
  x: P,
7966
7966
  y: v,
7967
7967
  data: F,
7968
7968
  reset: T
7969
- } = await y({
7969
+ } = await w({
7970
7970
  x: l,
7971
7971
  y: o,
7972
7972
  initialPlacement: M,
@@ -8022,7 +8022,7 @@ async function k1(H, V) {
8022
8022
  elementContext: o = "floating",
8023
8023
  altBoundary: n = !1,
8024
8024
  padding: a = 0
8025
- } = t1(V, H), u = L2(a), B = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8025
+ } = t1(V, H), u = L2(a), B = e[n ? o === "floating" ? "reference" : "floating" : o], w = g1(await L.getClippingRect({
8026
8026
  element: (C = await (L.isElement == null ? void 0 : L.isElement(B))) == null || C ? B : B.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8027
8027
  boundary: d,
8028
8028
  rootBoundary: l,
@@ -8043,10 +8043,10 @@ async function k1(H, V) {
8043
8043
  strategy: t
8044
8044
  }) : P);
8045
8045
  return {
8046
- top: (y.top - T.top + u.top) / F.y,
8047
- bottom: (T.bottom - y.bottom + u.bottom) / F.y,
8048
- left: (y.left - T.left + u.left) / F.x,
8049
- right: (T.right - y.right + u.right) / F.x
8046
+ top: (w.top - T.top + u.top) / F.y,
8047
+ bottom: (T.bottom - w.bottom + u.bottom) / F.y,
8048
+ left: (w.left - T.left + u.left) / F.x,
8049
+ right: (T.right - w.right + u.right) / F.x
8050
8050
  };
8051
8051
  }
8052
8052
  const r5 = (H) => ({
@@ -8070,10 +8070,10 @@ const r5 = (H) => ({
8070
8070
  const o = L2(l), n = {
8071
8071
  x: C,
8072
8072
  y: M
8073
- }, a = _1(A), u = D1(a), k = await i.getDimensions(d), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", F = L.reference[u] + L.reference[a] - n[a] - L.floating[u], T = n[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8074
- let W = Q ? Q[v] : 0;
8075
- (!W || !await (i.isElement == null ? void 0 : i.isElement(Q))) && (W = e.floating[v] || L.floating[u]);
8076
- const c = F / 2 - T / 2, I = W / 2 - k[u] / 2 - 1, r = r1(o[y], I), h = r1(o[P], I), b = r, _ = W - k[u] - h, s = W / 2 - k[u] / 2 + c, x = v1(b, s, _), U = !t.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < b ? r : h) - k[u] / 2 < 0, j = U ? s < b ? s - b : s - _ : 0;
8073
+ }, a = _1(A), u = D1(a), k = await i.getDimensions(d), B = a === "y", w = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", F = L.reference[u] + L.reference[a] - n[a] - L.floating[u], T = n[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8074
+ let I = Q ? Q[v] : 0;
8075
+ (!I || !await (i.isElement == null ? void 0 : i.isElement(Q))) && (I = e.floating[v] || L.floating[u]);
8076
+ const O = F / 2 - T / 2, N = I / 2 - k[u] / 2 - 1, r = r1(o[w], N), h = r1(o[P], N), b = r, _ = I - k[u] - h, s = I / 2 - k[u] / 2 + O, x = v1(b, s, _), U = !t.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < b ? r : h) - k[u] / 2 < 0, j = U ? s < b ? s - b : s - _ : 0;
8077
8077
  return {
8078
8078
  [a]: n[a] + j,
8079
8079
  data: {
@@ -8110,36 +8110,36 @@ const r5 = (H) => ({
8110
8110
  } = t1(H, V);
8111
8111
  if ((C = L.arrow) != null && C.alignmentOffset)
8112
8112
  return {};
8113
- const y = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), F = n || (P || !k ? [h1(e)] : t5(e));
8113
+ const w = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), F = n || (P || !k ? [h1(e)] : t5(e));
8114
8114
  !n && u !== "none" && F.push(...l5(e, k, u, v));
8115
- const T = [e, ...F], Q = await k1(V, B), W = [];
8116
- let c = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8117
- if (l && W.push(Q[y]), o) {
8115
+ const T = [e, ...F], Q = await k1(V, B), I = [];
8116
+ let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8117
+ if (l && I.push(Q[w]), o) {
8118
8118
  const b = d5(A, i, v);
8119
- W.push(Q[b[0]], Q[b[1]]);
8119
+ I.push(Q[b[0]], Q[b[1]]);
8120
8120
  }
8121
- if (c = [...c, {
8121
+ if (O = [...O, {
8122
8122
  placement: A,
8123
- overflows: W
8124
- }], !W.every((b) => b <= 0)) {
8125
- var I, r;
8126
- const b = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, _ = T[b];
8123
+ overflows: I
8124
+ }], !I.every((b) => b <= 0)) {
8125
+ var N, r;
8126
+ const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, _ = T[b];
8127
8127
  if (_)
8128
8128
  return {
8129
8129
  data: {
8130
8130
  index: b,
8131
- overflows: c
8131
+ overflows: O
8132
8132
  },
8133
8133
  reset: {
8134
8134
  placement: _
8135
8135
  }
8136
8136
  };
8137
- let s = (r = c.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : r.placement;
8137
+ let s = (r = O.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : r.placement;
8138
8138
  if (!s)
8139
8139
  switch (a) {
8140
8140
  case "bestFit": {
8141
8141
  var h;
8142
- const x = (h = c.map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : h[0];
8142
+ const x = (h = O.map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : h[0];
8143
8143
  x && (s = x);
8144
8144
  break;
8145
8145
  }
@@ -8270,11 +8270,11 @@ const S5 = function(H) {
8270
8270
  limiter: e = {
8271
8271
  fn: (B) => {
8272
8272
  let {
8273
- x: y,
8273
+ x: w,
8274
8274
  y: P
8275
8275
  } = B;
8276
8276
  return {
8277
- x: y,
8277
+ x: w,
8278
8278
  y: P
8279
8279
  };
8280
8280
  }
@@ -8286,11 +8286,11 @@ const S5 = function(H) {
8286
8286
  }, l = await k1(V, t), o = B1(L1(A)), n = V2(o);
8287
8287
  let a = d[n], u = d[o];
8288
8288
  if (L) {
8289
- const B = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[B], v = a - l[y];
8289
+ const B = n === "y" ? "top" : "left", w = n === "y" ? "bottom" : "right", P = a + l[B], v = a - l[w];
8290
8290
  a = v1(P, a, v);
8291
8291
  }
8292
8292
  if (i) {
8293
- const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = u + l[B], v = u - l[y];
8293
+ const B = o === "y" ? "top" : "left", w = o === "y" ? "bottom" : "right", P = u + l[B], v = u - l[w];
8294
8294
  u = v1(P, u, v);
8295
8295
  }
8296
8296
  const k = e.fn({
@@ -8446,7 +8446,7 @@ function a1(H, V, C, M) {
8446
8446
  const n = G(L), a = M && Y(M) ? G(M) : M;
8447
8447
  let u = n.frameElement;
8448
8448
  for (; u && M && a !== n; ) {
8449
- const k = A1(u), B = u.getBoundingClientRect(), y = z(u), P = B.left + (u.clientLeft + parseFloat(y.paddingLeft)) * k.x, v = B.top + (u.clientTop + parseFloat(y.paddingTop)) * k.y;
8449
+ const k = A1(u), B = u.getBoundingClientRect(), w = z(u), P = B.left + (u.clientLeft + parseFloat(w.paddingLeft)) * k.x, v = B.top + (u.clientTop + parseFloat(w.paddingTop)) * k.y;
8450
8450
  t *= k.x, d *= k.y, l *= k.x, o *= k.y, t += P, d += v, u = G(u).frameElement;
8451
8451
  }
8452
8452
  }
@@ -8666,19 +8666,21 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e,
8666
8666
  Z5()
8667
8667
  ]
8668
8668
  }).then(({ x: d, y: l, placement: o, middlewareData: n }) => {
8669
- var P, v, F, T;
8669
+ var k, B, w, P;
8670
8670
  if (!V)
8671
8671
  return;
8672
8672
  n.flip && V.setAttribute("data-placement", o);
8673
- const a = (P = H.offsetParent) == null ? void 0 : P.getBoundingClientRect().left, u = (v = H.offsetParent) == null ? void 0 : v.getBoundingClientRect().top, k = (F = H.offsetParent) == null ? void 0 : F.getBoundingClientRect().width, B = (T = H.offsetParent) == null ? void 0 : T.getBoundingClientRect().height, y = Number(u) + Number(B);
8674
- if (Object.assign(V.style, {
8675
- maxWidth: e === "dropdown" ? `${k}px` : "auto",
8673
+ const a = (k = H.offsetParent) == null ? void 0 : k.getBoundingClientRect().left;
8674
+ (B = H.offsetParent) == null || B.getBoundingClientRect().top;
8675
+ const u = (w = H.offsetParent) == null ? void 0 : w.getBoundingClientRect().width;
8676
+ if ((P = H.offsetParent) == null || P.getBoundingClientRect().height, Object.assign(V.style, {
8677
+ maxWidth: e === "dropdown" ? `${u}px` : "auto",
8676
8678
  left: e === "dropdown" ? `${a}px` : `${d}px`,
8677
- top: e === "dropdown" ? `${y}px` : `${l}px`,
8679
+ top: `${l}px`,
8678
8680
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8679
8681
  transformOrigin: "start"
8680
8682
  }), C && n.arrow) {
8681
- const { x: Q, y: W } = n.arrow, c = {
8683
+ const { x: v, y: F } = n.arrow, T = {
8682
8684
  top: "bottom",
8683
8685
  right: "left",
8684
8686
  bottom: "top",
@@ -8686,11 +8688,11 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e,
8686
8688
  /* Right */
8687
8689
  }[o.split("-")[0]];
8688
8690
  Object.assign(C.style, {
8689
- left: d != null ? `${Q}px` : "",
8690
- top: l != null ? `${W}px` : "",
8691
+ left: d != null ? `${v}px` : "",
8692
+ top: l != null ? `${F}px` : "",
8691
8693
  right: "",
8692
8694
  bottom: "",
8693
- [`${c}`]: "-4px"
8695
+ [`${T}`]: "-4px"
8694
8696
  });
8695
8697
  }
8696
8698
  });
@@ -8719,7 +8721,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8719
8721
  },
8720
8722
  emits: ["show", "hide"],
8721
8723
  setup(H, { emit: V }) {
8722
- const C = H, M = V, A = N(), L = N(), i = N();
8724
+ const C = H, M = V, A = W(), L = W(), i = W();
8723
8725
  async function e() {
8724
8726
  C.disabled || !L.value || (u(), L.value.style.display = "block", M("show"), d());
8725
8727
  }
@@ -8744,8 +8746,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8744
8746
  C.triggers.includes(X.Hover) && u();
8745
8747
  }
8746
8748
  function u(B) {
8747
- const { placement: y, offset: P, padding: v, disabled: F, showDelay: T, type: Q } = C;
8748
- F || D5(A, L, i, y, P, v, T, Q);
8749
+ const { placement: w, offset: P, padding: v, disabled: F, showDelay: T, type: Q } = C;
8750
+ F || D5(A, L, i, w, P, v, T, Q);
8749
8751
  }
8750
8752
  const k = g(() => ({
8751
8753
  "r-tooltip": !0,
@@ -8772,12 +8774,12 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8772
8774
  ignore: [L.value]
8773
8775
  }
8774
8776
  );
8775
- }), (B, y) => (m(), Z(i1, null, [
8777
+ }), (B, w) => (m(), Z(i1, null, [
8776
8778
  S("div", {
8777
8779
  ref_key: "trigger",
8778
8780
  ref: A,
8779
8781
  "aria-disabled": C.disabled,
8780
- class: O(["r-tooltip-trigger", B.triggerClass]),
8782
+ class: c(["r-tooltip-trigger", B.triggerClass]),
8781
8783
  onClick: l,
8782
8784
  onMouseenter: o,
8783
8785
  onMouseleave: n,
@@ -8802,7 +8804,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8802
8804
  id: "tooltip",
8803
8805
  ref_key: "tooltip",
8804
8806
  ref: L,
8805
- class: O([k.value, B.tooltipClass]),
8807
+ class: c([k.value, B.tooltipClass]),
8806
8808
  role: "tooltip"
8807
8809
  }, [
8808
8810
  f(B.$slots, "content", {
@@ -8811,17 +8813,17 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8811
8813
  }, () => [
8812
8814
  C.text ? (m(), Z("div", {
8813
8815
  key: 0,
8814
- class: O(["r-tooltip__content", {
8816
+ class: c(["r-tooltip__content", {
8815
8817
  "r-tooltip__content--dark": C.dark,
8816
8818
  "r-tooltip__content--light": C.light
8817
8819
  }])
8818
- }, w(C.text), 3)) : p("", !0),
8820
+ }, y(C.text), 3)) : p("", !0),
8819
8821
  C.text ? (m(), Z("div", {
8820
8822
  key: 1,
8821
8823
  id: "arrow",
8822
8824
  ref_key: "arrowElement",
8823
8825
  ref: i,
8824
- class: O(["r-tooltip__arrow", {
8826
+ class: c(["r-tooltip__arrow", {
8825
8827
  "r-tooltip__arrow--dark": C.dark,
8826
8828
  "r-tooltip__arrow--light": C.light
8827
8829
  }])
@@ -8871,7 +8873,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8871
8873
  },
8872
8874
  emits: ["update:modelValue"],
8873
8875
  setup(H, { emit: V }) {
8874
- const C = H, M = V, A = N({}), L = N([]), i = N(!1), e = N("");
8876
+ const C = H, M = V, A = W({}), L = W([]), i = W(!1), e = W("");
8875
8877
  function t(r) {
8876
8878
  if (!r || typeof r == "object" || typeof r == "function" || typeof r == "symbol" || typeof r > "u" || Array.isArray(r))
8877
8879
  return !0;
@@ -8890,7 +8892,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8890
8892
  value: r,
8891
8893
  label: String(r)
8892
8894
  };
8893
- }), o = N(), n = N(), a = N();
8895
+ }), o = W(), n = W(), a = W();
8894
8896
  function u(r, h, b) {
8895
8897
  var _, s, x;
8896
8898
  if (r.stopPropagation(), !C.disabled) {
@@ -8912,10 +8914,10 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8912
8914
  L.value.find((x) => x.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8913
8915
  return;
8914
8916
  }
8915
- y(r, h), C.closeOnSelect && (b(), k());
8917
+ w(r, h), C.closeOnSelect && (b(), k());
8916
8918
  }
8917
8919
  }
8918
- function y(r, h) {
8920
+ function w(r, h) {
8919
8921
  if (A.value.value === h.value) {
8920
8922
  A.value = {}, e.value = "", M("update:modelValue", "");
8921
8923
  return;
@@ -8944,13 +8946,13 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8944
8946
  return !r || (r == null ? void 0 : r.value) === void 0 || (r == null ? void 0 : r.value) === null ? !1 : C.multiple ? L.value.find((b) => (b == null ? void 0 : b.value) === (r == null ? void 0 : r.value)) : ((h = A.value) == null ? void 0 : h.value) === (r == null ? void 0 : r.value);
8945
8947
  }
8946
8948
  const T = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), Q = g(() => !C.searchable);
8947
- function W() {
8949
+ function I() {
8948
8950
  l.value ? C.multiple ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8949
8951
  }
8950
- function c(r) {
8952
+ function O(r) {
8951
8953
  C.searchable && r({ hideDetails: C.hideDetails }), !C.multiple && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8952
8954
  }
8953
- function I(r, h) {
8955
+ function N(r, h) {
8954
8956
  if (r.stopPropagation(), h({ hideDetails: C.hideDetails }), C.multiple) {
8955
8957
  L.value.splice(0, L.value.length);
8956
8958
  return;
@@ -8958,11 +8960,11 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8958
8960
  A.value = {}, e.value = "", M("update:modelValue", "");
8959
8961
  }
8960
8962
  return X1(() => {
8961
- W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
8963
+ I(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
8962
8964
  }), $(L, (r) => {
8963
8965
  M("update:modelValue", r);
8964
8966
  }), $(() => l.value, (r) => {
8965
- W();
8967
+ I();
8966
8968
  }), (r, h) => (m(), Z("div", {
8967
8969
  ref_key: "wrapper",
8968
8970
  ref: a,
@@ -8984,7 +8986,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8984
8986
  S("div", {
8985
8987
  ref_key: "dropdown",
8986
8988
  ref: o,
8987
- class: O(["r-dropdown", {
8989
+ class: c(["r-dropdown", {
8988
8990
  "r-dropdown--disabled": C.disabled,
8989
8991
  "r-dropdown--loading": C.loading,
8990
8992
  [C.dropdownClass]: C.dropdownClass,
@@ -8996,7 +8998,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
8996
8998
  }, [
8997
8999
  C.prependIcon || r.$slots.prepend ? (m(), Z("div", {
8998
9000
  key: 0,
8999
- class: O(["r-dropdown__prepend-icon", {
9001
+ class: c(["r-dropdown__prepend-icon", {
9000
9002
  "r-dropdown__prepend-icon--active": i.value,
9001
9003
  "r-dropdown__prepend-icon--error": C.errorMsg
9002
9004
  }])
@@ -9022,7 +9024,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9022
9024
  "no-wrap": "",
9023
9025
  variant: "info",
9024
9026
  "onClick:close": (U) => P(U, s, _)
9025
- }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", Q5, w(`${s.label}, `), 1))
9027
+ }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", Q5, y(`${s.label}, `), 1))
9026
9028
  ])), 128)),
9027
9029
  Y1(S("input", {
9028
9030
  id: C.id,
@@ -9030,7 +9032,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9030
9032
  ref: n,
9031
9033
  "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9032
9034
  autocomplete: C.autocomplete,
9033
- class: O(["r-dropdown__input", {
9035
+ class: c(["r-dropdown__input", {
9034
9036
  "r-dropdown__input--loading": C.loading
9035
9037
  }]),
9036
9038
  disabled: C.disabled,
@@ -9038,7 +9040,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9038
9040
  readonly: Q.value,
9039
9041
  role: "presentation",
9040
9042
  type: "text",
9041
- onInput: e1((s) => c(_), ["prevent"]),
9043
+ onInput: e1((s) => O(_), ["prevent"]),
9042
9044
  onKeydown: [
9043
9045
  N1((s) => P(s, L.value[L.value.length - 1], _), ["backspace"]),
9044
9046
  N1((s) => v(s, _), ["enter"])
@@ -9051,7 +9053,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9051
9053
  key: 1,
9052
9054
  class: "r-dropdown__clearable",
9053
9055
  "data-has-value": (e.value !== "" || L.value.length) && i.value,
9054
- onClick: (s) => I(s, _)
9056
+ onClick: (s) => N(s, _)
9055
9057
  }, [
9056
9058
  K(D, {
9057
9059
  name: "mdiCloseCircle",
@@ -9060,7 +9062,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9060
9062
  ], 8, $5)) : p("", !0),
9061
9063
  C.appendIcon || r.$slots.append ? (m(), Z("div", {
9062
9064
  key: 2,
9063
- class: O(["r-dropdown__append-icon", {
9065
+ class: c(["r-dropdown__append-icon", {
9064
9066
  "r-dropdown__append-icon--active": i.value,
9065
9067
  "r-dropdown__append-icon--error": C.errorMsg
9066
9068
  }])
@@ -9076,7 +9078,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9076
9078
  ]),
9077
9079
  content: n1(({ hide: b, updatePosition: _ }) => [
9078
9080
  S("ul", {
9079
- class: O(["r-dropdown-options", {
9081
+ class: c(["r-dropdown-options", {
9080
9082
  "r-dropdown-options--active": i.value,
9081
9083
  [C.optionsClass]: C.optionsClass
9082
9084
  }])
@@ -9084,7 +9086,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9084
9086
  (m(!0), Z(i1, null, o1(T.value, (s) => (m(), Z("li", {
9085
9087
  key: s.value,
9086
9088
  "aria-disabled": s.disabled,
9087
- class: O(["r-dropdown-options__option", {
9089
+ class: c(["r-dropdown-options__option", {
9088
9090
  "r-dropdown-options__option--active": F(s),
9089
9091
  "r-dropdown-options__option--disabled": s.disabled
9090
9092
  }]),
@@ -9097,22 +9099,22 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9097
9099
  f(r.$slots, "option-prepend", {}, () => [
9098
9100
  s.prependIcon ? (m(), E(D, {
9099
9101
  key: 0,
9100
- class: O(["r-dropdown-options__option__prepend-icon", {
9102
+ class: c(["r-dropdown-options__option__prepend-icon", {
9101
9103
  "r-dropdown-options__option__prepend-icon--active": F(s)
9102
9104
  }]),
9103
9105
  name: s.prependIcon
9104
9106
  }, null, 8, ["class", "name"])) : p("", !0)
9105
9107
  ]),
9106
9108
  S("p", {
9107
- class: O(["r-dropdown-options__option__label", {
9109
+ class: c(["r-dropdown-options__option__label", {
9108
9110
  "r-dropdown-options__option__label--active": F(s)
9109
9111
  }])
9110
- }, w(s.label), 3)
9112
+ }, y(s.label), 3)
9111
9113
  ]),
9112
9114
  f(r.$slots, "option-append", {}, () => [
9113
9115
  F(s) && !C.hideOptionCheckIcon ? (m(), E(D, {
9114
9116
  key: 0,
9115
- class: O(["r-dropdown-options__option__append-icon", {
9117
+ class: c(["r-dropdown-options__option__append-icon", {
9116
9118
  "r-dropdown-options__option__append-icon--active": F(s)
9117
9119
  }]),
9118
9120
  name: "mdiCheck"
@@ -9122,7 +9124,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9122
9124
  ], 10, U5))), 128)),
9123
9125
  T.value.length === 0 ? (m(), Z("li", K5, [
9124
9126
  f(r.$slots, "not-options", {}, () => [
9125
- R1(w(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9127
+ R1(y(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9126
9128
  ])
9127
9129
  ])) : p("", !0)
9128
9130
  ], 2)
@@ -9130,8 +9132,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9130
9132
  _: 3
9131
9133
  }),
9132
9134
  r.$props.hideDetails ? p("", !0) : (m(), Z("div", q5, [
9133
- C.errorMsg ? (m(), Z("div", j5, w(C.errorMsg), 1)) : p("", !0),
9134
- C.hint ? (m(), Z("div", X5, w(C.hint), 1)) : p("", !0)
9135
+ C.errorMsg ? (m(), Z("div", j5, y(C.errorMsg), 1)) : p("", !0),
9136
+ C.hint ? (m(), Z("div", X5, y(C.hint), 1)) : p("", !0)
9135
9137
  ]))
9136
9138
  ], 512));
9137
9139
  }
@@ -9150,7 +9152,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9150
9152
  for: V.for
9151
9153
  }, [
9152
9154
  f(C.$slots, "default", {}, () => [
9153
- R1(w(V.text), 1)
9155
+ R1(y(V.text), 1)
9154
9156
  ])
9155
9157
  ], 8, J5));
9156
9158
  }
@@ -9197,12 +9199,12 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9197
9199
  }), window.addEventListener("keydown", (e) => {
9198
9200
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9199
9201
  }), (e, t) => Y1((m(), Z("div", {
9200
- class: O(["r-modal-overlay", e.overlayClass]),
9202
+ class: c(["r-modal-overlay", e.overlayClass]),
9201
9203
  onClick: e1(i, ["stop"])
9202
9204
  }, [
9203
9205
  S("div", {
9204
9206
  "aria-modal": "true",
9205
- class: O(A.value),
9207
+ class: c(A.value),
9206
9208
  open: C.modelValue,
9207
9209
  role: "dialog",
9208
9210
  style: x1(L.value)
@@ -9214,8 +9216,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9214
9216
  name: C.icon
9215
9217
  }, null, 8, ["name"])
9216
9218
  ])) : p("", !0),
9217
- C.title ? (m(), Z("div", M3, w(C.title), 1)) : p("", !0),
9218
- C.description ? (m(), Z("div", A3, w(C.description), 1)) : p("", !0)
9219
+ C.title ? (m(), Z("div", M3, y(C.title), 1)) : p("", !0),
9220
+ C.description ? (m(), Z("div", A3, y(C.description), 1)) : p("", !0)
9219
9221
  ]),
9220
9222
  S("div", i3, [
9221
9223
  f(e.$slots, "default")
@@ -9241,18 +9243,18 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9241
9243
  setup(H, { emit: V }) {
9242
9244
  const C = H, M = V;
9243
9245
  return (A, L) => (m(), Z("div", {
9244
- class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9246
+ class: c(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9245
9247
  "data-open": C.modelValue
9246
9248
  }, [
9247
9249
  S("aside", {
9248
- class: O(["r-sidebar", [C.class]]),
9250
+ class: c(["r-sidebar", [C.class]]),
9249
9251
  "data-open": C.modelValue
9250
9252
  }, [
9251
9253
  f(A.$slots, "default")
9252
9254
  ], 10, t3),
9253
9255
  C.showTrigger ? (m(), Z("div", {
9254
9256
  key: 0,
9255
- class: O(["r-sidebar__trigger", [C.triggerClass]]),
9257
+ class: c(["r-sidebar__trigger", [C.triggerClass]]),
9256
9258
  "data-open": C.modelValue,
9257
9259
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9258
9260
  }, [
@@ -9304,7 +9306,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9304
9306
  info: "mdiInformation"
9305
9307
  })[C.variant || "info"]);
9306
9308
  return (i, e) => (m(), Z("div", {
9307
- class: O(A.value)
9309
+ class: c(A.value)
9308
9310
  }, [
9309
9311
  f(i.$slots, "default", {}, () => [
9310
9312
  C.variant ? (m(), E(D, {
@@ -9313,7 +9315,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9313
9315
  name: L.value
9314
9316
  }, null, 8, ["name"])) : p("", !0)
9315
9317
  ]),
9316
- S("div", l3, w(C.text), 1),
9318
+ S("div", l3, y(C.text), 1),
9317
9319
  f(i.$slots, "action"),
9318
9320
  C.closable ? (m(), Z("div", o3, [
9319
9321
  f(i.$slots, "close", {}, () => [
@@ -9372,13 +9374,13 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9372
9374
  immediate: !0
9373
9375
  }
9374
9376
  ), (e, t) => (m(), Z("div", {
9375
- class: O(["r-switch-container", {
9377
+ class: c(["r-switch-container", {
9376
9378
  "r-switch-container--reverse": C.reverse,
9377
9379
  "r-switch-container--hide-details": C.hideDetails
9378
9380
  }])
9379
9381
  }, [
9380
9382
  S("div", {
9381
- class: O(L.value)
9383
+ class: c(L.value)
9382
9384
  }, [
9383
9385
  S("input", {
9384
9386
  id: C.id,
@@ -9391,7 +9393,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9391
9393
  r3
9392
9394
  ], 2),
9393
9395
  S("div", {
9394
- class: O(["r-switch-texts", {
9396
+ class: c(["r-switch-texts", {
9395
9397
  [`r-switch-texts--${C.size}`]: !0
9396
9398
  }])
9397
9399
  }, [
@@ -9399,9 +9401,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
9399
9401
  id: `${C.id}-label`,
9400
9402
  class: "r-switch-texts__label",
9401
9403
  for: C.id
9402
- }, w(C.label), 9, a3),
9404
+ }, y(C.label), 9, a3),
9403
9405
  C.hideDetails ? p("", !0) : (m(), Z("div", Z3, [
9404
- C.errorMsg ? (m(), Z("p", u3, w(C.errorMsg), 1)) : (m(), Z("p", S3, w(C.hint), 1))
9406
+ C.errorMsg ? (m(), Z("p", u3, y(C.errorMsg), 1)) : (m(), Z("p", S3, y(C.hint), 1))
9405
9407
  ]))
9406
9408
  ], 2)
9407
9409
  ], 2));
@@ -9444,7 +9446,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9444
9446
  return (t, d) => (m(), Z("button", {
9445
9447
  "aria-disabled": C.disabled,
9446
9448
  "aria-selected": C.modelValue === C.id,
9447
- class: O(A.value),
9449
+ class: c(A.value),
9448
9450
  disabled: C.disabled,
9449
9451
  style: x1(L.value),
9450
9452
  onClick: d[0] || (d[0] = e1((l) => i(C.id), ["stop"]))
@@ -9462,7 +9464,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9462
9464
  name: "fade"
9463
9465
  }, {
9464
9466
  default: n1(() => [
9465
- C.variant !== V1(l1).ICON ? (m(), Z("span", c3, w(C.label), 1)) : p("", !0)
9467
+ C.variant !== V1(l1).ICON ? (m(), Z("span", c3, y(C.label), 1)) : p("", !0)
9466
9468
  ]),
9467
9469
  _: 1
9468
9470
  }),
@@ -9488,7 +9490,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9488
9490
  },
9489
9491
  emits: ["update:modelValue", "click:icon"],
9490
9492
  setup(H, { emit: V }) {
9491
- const C = H, M = V, A = N(C.modelValue || C.tabs[0].id), L = g(() => ({
9493
+ const C = H, M = V, A = W(C.modelValue || C.tabs[0].id), L = g(() => ({
9492
9494
  "r-tabs": !0,
9493
9495
  "r-tabs--block": C.block,
9494
9496
  "r-tabs--tile": C.tile,
@@ -9504,7 +9506,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9504
9506
  M("click:icon");
9505
9507
  }
9506
9508
  return (e, t) => (m(), Z("div", {
9507
- class: O(L.value)
9509
+ class: c(L.value)
9508
9510
  }, [
9509
9511
  f(e.$slots, "default", {}, () => [
9510
9512
  (m(!0), Z(i1, null, o1(C.tabs, (d, l) => (m(), E(O3, {
@@ -9582,7 +9584,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9582
9584
  onInput: L
9583
9585
  }), null, 16, f3),
9584
9586
  C.hideDetails ? p("", !0) : (m(), Z("div", h3, [
9585
- C.errorMsg ? (m(), Z("p", g3, w(C.errorMsg), 1)) : (m(), Z("p", k3, w(C.hint), 1))
9587
+ C.errorMsg ? (m(), Z("p", g3, y(C.errorMsg), 1)) : (m(), Z("p", k3, y(C.hint), 1))
9586
9588
  ]))
9587
9589
  ]));
9588
9590
  }
@@ -9625,25 +9627,25 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9625
9627
  "click:clear"
9626
9628
  ],
9627
9629
  setup(H, { emit: V }) {
9628
- const C = H, M = V, A = N(), L = Z1({
9630
+ const C = H, M = V, A = W(), L = Z1({
9629
9631
  value: ""
9630
- }), i = N(C.type), e = {
9632
+ }), i = W(C.type), e = {
9631
9633
  password: "mdiLock",
9632
9634
  email: "mdiEmailOutline",
9633
9635
  tel: "mdiPhone",
9634
9636
  url: "mdiLink",
9635
9637
  number: "mdiNumeric",
9636
9638
  text: ""
9637
- }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9638
- var c;
9639
- return (c = C.errorMsg) == null ? void 0 : c.length;
9639
+ }, t = W(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9640
+ var O;
9641
+ return (O = C.errorMsg) == null ? void 0 : O.length;
9640
9642
  }), n = g(() => C.clearable && l.value), a = g(() => {
9641
- const { disabled: c, loading: I } = C;
9643
+ const { disabled: O, loading: N } = C;
9642
9644
  return {
9643
9645
  "r-textfield": !0,
9644
9646
  "r-textfield--error": o.value,
9645
- "r-textfield--loading": I,
9646
- "r-textfield--disabled": c,
9647
+ "r-textfield--loading": N,
9648
+ "r-textfield--disabled": O,
9647
9649
  "r-textfield--clearable": n.value,
9648
9650
  "r-textfield--focus": t.value,
9649
9651
  "r-textfield--filled": d.value
@@ -9657,25 +9659,25 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9657
9659
  "r-textfield__append-icon--clear": n.value,
9658
9660
  "r-textfield__append-icon--error": o.value
9659
9661
  })), B = g(() => {
9660
- const { prependIcon: c, type: I } = C;
9661
- return c === "none" ? "" : c || e[I];
9662
- }), y = g(() => {
9663
- const { appendIcon: c, type: I } = C;
9664
- return c === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(I) ? "mdiClose" : I === "password" && i.value === "password" ? "mdiEyeOutline" : I === "password" && i.value === "text" ? "mdiEyeOffOutline" : c;
9662
+ const { prependIcon: O, type: N } = C;
9663
+ return O === "none" ? "" : O || e[N];
9664
+ }), w = g(() => {
9665
+ const { appendIcon: O, type: N } = C;
9666
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9665
9667
  });
9666
- function P(c) {
9667
- t.value = !0, M("focus", c);
9668
+ function P(O) {
9669
+ t.value = !0, M("focus", O);
9668
9670
  }
9669
- function v(c) {
9670
- t.value = !1, M("blur", c);
9671
+ function v(O) {
9672
+ t.value = !1, M("blur", O);
9671
9673
  }
9672
- function F(c) {
9673
- L.value = c.target.value, M("input", c);
9674
+ function F(O) {
9675
+ L.value = O.target.value, M("input", O);
9674
9676
  }
9675
9677
  function T() {
9676
- var c;
9678
+ var O;
9677
9679
  if (n.value) {
9678
- L.value = "", (c = A.value) == null || c.focus(), M("click:clear", {
9680
+ L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9679
9681
  value: i.value === "number" ? +L.value : L.value
9680
9682
  });
9681
9683
  return;
@@ -9687,43 +9689,43 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9687
9689
  function Q() {
9688
9690
  i.value = i.value === "password" ? "text" : "password";
9689
9691
  }
9690
- function W() {
9691
- var c;
9692
- (c = A.value) == null || c.focus();
9692
+ function I() {
9693
+ var O;
9694
+ (O = A.value) == null || O.focus();
9693
9695
  }
9694
9696
  return $(
9695
9697
  () => C.modelValue,
9696
- (c) => {
9697
- L.value = c;
9698
+ (O) => {
9699
+ L.value = O;
9698
9700
  },
9699
9701
  {
9700
9702
  immediate: !0
9701
9703
  }
9702
9704
  ), $(
9703
9705
  () => L.value,
9704
- (c) => {
9706
+ (O) => {
9705
9707
  M(
9706
9708
  "update:modelValue",
9707
- i.value === "number" ? +c : c
9709
+ i.value === "number" ? +O : O
9708
9710
  );
9709
9711
  }
9710
- ), (c, I) => (m(), Z("div", B3, [
9712
+ ), (O, N) => (m(), Z("div", B3, [
9711
9713
  C.label ? (m(), E(r2, {
9712
9714
  key: 0,
9713
9715
  id: `${C.id}-label`,
9714
9716
  class: "r-textfield__label",
9715
9717
  for: C.id,
9716
9718
  text: C.label,
9717
- onClick: W
9719
+ onClick: I
9718
9720
  }, null, 8, ["id", "for", "text"])) : p("", !0),
9719
9721
  S("div", b3, [
9720
9722
  S("div", {
9721
- class: O(a.value)
9723
+ class: c(a.value)
9722
9724
  }, [
9723
- f(c.$slots, "prepend"),
9724
- B.value && !c.$slots.prepend ? (m(), E(D, {
9725
+ f(O.$slots, "prepend"),
9726
+ B.value && !O.$slots.prepend ? (m(), E(D, {
9725
9727
  key: 0,
9726
- class: O(u.value),
9728
+ class: c(u.value),
9727
9729
  name: B.value,
9728
9730
  size: 20
9729
9731
  }, null, 8, ["class", "name"])) : p("", !0),
@@ -9743,18 +9745,18 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9743
9745
  onFocus: P,
9744
9746
  onInput: F
9745
9747
  }, null, 40, w3),
9746
- o.value ? p("", !0) : f(c.$slots, "append", { key: 1 }),
9747
- y.value && !c.$slots.append || o.value ? (m(), E(D, {
9748
+ o.value ? p("", !0) : f(O.$slots, "append", { key: 1 }),
9749
+ w.value && !O.$slots.append || o.value ? (m(), E(D, {
9748
9750
  key: 2,
9749
- class: O(k.value),
9750
- name: `${y.value}`,
9751
+ class: c(k.value),
9752
+ name: `${w.value}`,
9751
9753
  size: 20,
9752
9754
  onClick: T
9753
9755
  }, null, 8, ["class", "name"])) : p("", !0)
9754
9756
  ], 2),
9755
9757
  C.hideDetails ? p("", !0) : (m(), Z("div", y3, [
9756
- C.errorMsg ? (m(), Z("p", P3, w(C.errorMsg), 1)) : p("", !0),
9757
- !C.errorMsg && C.hint ? (m(), Z("p", v3, w(C.hint), 1)) : p("", !0)
9758
+ C.errorMsg ? (m(), Z("p", P3, y(C.errorMsg), 1)) : p("", !0),
9759
+ !C.errorMsg && C.hint ? (m(), Z("p", v3, y(C.hint), 1)) : p("", !0)
9758
9760
  ]))
9759
9761
  ])
9760
9762
  ]));
@@ -9788,7 +9790,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9788
9790
  name: L.icon
9789
9791
  }, null, 8, ["name"])) : p("", !0)
9790
9792
  ]),
9791
- L.onlyIcon ? p("", !0) : (m(), Z("span", F3, w(L.title), 1))
9793
+ L.onlyIcon ? p("", !0) : (m(), Z("span", F3, y(L.title), 1))
9792
9794
  ]),
9793
9795
  _: 2
9794
9796
  }, 1032, ["to"]),
@@ -9846,7 +9848,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9846
9848
  },
9847
9849
  emits: ["update:page", "update:perPage", "update:info"],
9848
9850
  setup(H, { emit: V }) {
9849
- const C = H, M = V, A = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
9851
+ const C = H, M = V, A = W(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
9850
9852
  start: C.page * C.perPage - C.perPage,
9851
9853
  end: C.page * C.perPage
9852
9854
  }));
@@ -9860,11 +9862,11 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9860
9862
  M("update:perPage", d);
9861
9863
  }
9862
9864
  return (d, l) => (m(), Z("div", {
9863
- class: O(["r-pagination", [`r-pagination--${C.position}`]])
9865
+ class: c(["r-pagination", [`r-pagination--${C.position}`]])
9864
9866
  }, [
9865
9867
  S("div", R3, [
9866
9868
  S("div", x3, [
9867
- S("span", null, w(C.itemsPerPageText), 1),
9869
+ S("span", null, y(C.itemsPerPageText), 1),
9868
9870
  K(Y5, {
9869
9871
  modelValue: A.value,
9870
9872
  "onUpdate:modelValue": [
@@ -9877,7 +9879,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9877
9879
  options: C.perPageOptions
9878
9880
  }, null, 8, ["modelValue", "options"])
9879
9881
  ]),
9880
- S("span", D3, w(C.infoText), 1),
9882
+ S("span", D3, y(C.infoText), 1),
9881
9883
  S("button", {
9882
9884
  class: "r-pagination__paginator__first",
9883
9885
  disabled: C.page === 1,
@@ -9885,7 +9887,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9885
9887
  }, [
9886
9888
  f(d.$slots, "first", {}, () => [
9887
9889
  (m(), Z("svg", {
9888
- class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9890
+ class: c(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9889
9891
  fill: "none",
9890
9892
  height: "20",
9891
9893
  stroke: "#000000",
@@ -9905,7 +9907,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9905
9907
  }, [
9906
9908
  f(d.$slots, "prev", {}, () => [
9907
9909
  (m(), Z("svg", {
9908
- class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9910
+ class: c(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9909
9911
  fill: "none",
9910
9912
  height: "20",
9911
9913
  stroke: "#000000",
@@ -9925,7 +9927,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9925
9927
  }, [
9926
9928
  f(d.$slots, "next", {}, () => [
9927
9929
  (m(), Z("svg", {
9928
- class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9930
+ class: c(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9929
9931
  fill: "none",
9930
9932
  height: "20",
9931
9933
  stroke: "#000000",
@@ -9945,7 +9947,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9945
9947
  }, [
9946
9948
  f(d.$slots, "last", {}, () => [
9947
9949
  (m(), Z("svg", {
9948
- class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9950
+ class: c(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9949
9951
  fill: "none",
9950
9952
  height: "20",
9951
9953
  stroke: "#000000",
@@ -9991,7 +9993,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9991
9993
  },
9992
9994
  emits: ["update:modelValue"],
9993
9995
  setup(H, { emit: V }) {
9994
- const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
9996
+ const C = H, M = V, A = W(C.as ?? "div"), L = W(C.modelValue), i = g(() => C.selectedClass);
9995
9997
  s1(`${O1}:selectedClass`, i.value);
9996
9998
  function e(l) {
9997
9999
  return L.value.includes(l);