@rocketui/vue 0.2.42 → 0.2.44-alpha

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 x, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as v, createVNode as q, computed as g, createCommentVNode as O, mergeProps as C2, createBlock as E, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as N, watchEffect as p2, onMounted as H2, Teleport as O2, withCtx as k1, withDirectives as V2, withModifiers as A1, withKeys as $1, vModelText as f2, createTextVNode as S1, onUnmounted as h2, normalizeStyle as W1, vShow as g2, resolveComponent as k2, provide as O1, resolveDynamicComponent as B2, inject as f1 } from "vue";
1
+ import { defineComponent as x, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as v, createVNode as q, computed as g, createCommentVNode as O, mergeProps as H2, createBlock as E, watch as G, getCurrentScope as c2, onScopeDispose as p2, ref as N, watchEffect as O2, onMounted as V2, onUnmounted as L2, Teleport as f2, withCtx as k1, withDirectives as M2, withModifiers as A1, withKeys as U1, vModelText as h2, createTextVNode as S1, normalizeStyle as N1, vShow as g2, resolveComponent as k2, provide as O1, resolveDynamicComponent as B2, inject as f1 } from "vue";
2
2
  const b2 = {
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",
@@ -7428,11 +7428,11 @@ const b2 = {
7428
7428
  ])) : O("", !0)
7429
7429
  ], 2));
7430
7430
  }
7431
- }), U1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], n0 = /* @__PURE__ */ x({
7431
+ }), z1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], n0 = /* @__PURE__ */ x({
7432
7432
  __name: "RAvatar",
7433
7433
  props: {
7434
7434
  type: { default: "image" },
7435
- src: { default: U1 },
7435
+ src: { default: z1 },
7436
7436
  alt: { default: "Avatar" },
7437
7437
  size: { default: "2xl" },
7438
7438
  online: { type: Boolean, default: !1 },
@@ -7442,7 +7442,7 @@ const b2 = {
7442
7442
  const V = H, C = g(() => ({
7443
7443
  "r-avatar": !0,
7444
7444
  [`r-avatar--${V.size}`]: !0
7445
- })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? U1 : V.src);
7445
+ })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? z1 : V.src);
7446
7446
  function L(A) {
7447
7447
  const e = A.split(" ");
7448
7448
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
@@ -7542,7 +7542,7 @@ const b2 = {
7542
7542
  })[V.size || "medium"]), i = g(() => ({
7543
7543
  height: V.height ? `${V.height}px` : ""
7544
7544
  }));
7545
- return (L, A) => (m(), Z("button", C2(L.$attrs, {
7545
+ return (L, A) => (m(), Z("button", H2(L.$attrs, {
7546
7546
  class: C.value,
7547
7547
  disabled: L.disabled,
7548
7548
  style: i.value,
@@ -7732,34 +7732,34 @@ const b2 = {
7732
7732
  }
7733
7733
  });
7734
7734
  function H5(H) {
7735
- return s2() ? (c2(H), !0) : !1;
7735
+ return c2() ? (p2(H), !0) : !1;
7736
7736
  }
7737
- function L2(H) {
7737
+ function i2(H) {
7738
7738
  return typeof H == "function" ? H() : J(H);
7739
7739
  }
7740
- const M2 = typeof window < "u" && typeof document < "u";
7740
+ const A2 = typeof window < "u" && typeof document < "u";
7741
7741
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7742
7742
  const V5 = Object.prototype.toString, L5 = (H) => V5.call(H) === "[object Object]", x1 = () => {
7743
7743
  }, M5 = /* @__PURE__ */ i5();
7744
7744
  function i5() {
7745
7745
  var H;
7746
- return M2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7746
+ return A2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7747
7747
  }
7748
7748
  function o1(H) {
7749
7749
  var V;
7750
- const C = L2(H);
7750
+ const C = i2(H);
7751
7751
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7752
7752
  }
7753
- const i2 = M2 ? window : void 0;
7753
+ const e2 = A2 ? window : void 0;
7754
7754
  function R1(...H) {
7755
7755
  let V, C, M, i;
7756
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = i2) : [V, C, M, i] = H, !V)
7756
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = e2) : [V, C, M, i] = H, !V)
7757
7757
  return x1;
7758
7758
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7759
7759
  const L = [], A = () => {
7760
7760
  L.forEach((n) => n()), L.length = 0;
7761
7761
  }, e = (n, r, o, l) => (n.addEventListener(r, o, l), () => n.removeEventListener(r, o, l)), d = G(
7762
- () => [o1(V), L2(i)],
7762
+ () => [o1(V), i2(i)],
7763
7763
  ([n, r]) => {
7764
7764
  if (A(), !n)
7765
7765
  return;
@@ -7774,12 +7774,12 @@ function R1(...H) {
7774
7774
  };
7775
7775
  return H5(t), t;
7776
7776
  }
7777
- let z1 = !1;
7777
+ let K1 = !1;
7778
7778
  function A5(H, V, C = {}) {
7779
- const { window: M = i2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7779
+ const { window: M = e2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7780
7780
  if (!M)
7781
7781
  return;
7782
- M5 && !z1 && (z1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", x1)), M.document.documentElement.addEventListener("click", x1));
7782
+ M5 && !K1 && (K1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", x1)), M.document.documentElement.addEventListener("click", x1));
7783
7783
  let e = !0;
7784
7784
  const d = (o) => i.some((l) => {
7785
7785
  if (typeof l == "string")
@@ -7843,21 +7843,21 @@ function i1(H) {
7843
7843
  function s1(H) {
7844
7844
  return H.split("-")[1];
7845
7845
  }
7846
- function A2(H) {
7846
+ function d2(H) {
7847
7847
  return H === "x" ? "y" : "x";
7848
7848
  }
7849
- function N1(H) {
7849
+ function I1(H) {
7850
7850
  return H === "y" ? "height" : "width";
7851
7851
  }
7852
7852
  function y1(H) {
7853
7853
  return ["top", "bottom"].includes(i1(H)) ? "y" : "x";
7854
7854
  }
7855
- function I1(H) {
7856
- return A2(y1(H));
7855
+ function Q1(H) {
7856
+ return d2(y1(H));
7857
7857
  }
7858
7858
  function l5(H, V, C) {
7859
7859
  C === void 0 && (C = !1);
7860
- const M = s1(H), i = I1(H), L = N1(i);
7860
+ const M = s1(H), i = Q1(H), L = I1(i);
7861
7861
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7862
7862
  return V.reference[L] > V.floating[L] && (A = b1(A)), [A, b1(A)];
7863
7863
  }
@@ -7898,7 +7898,7 @@ function a5(H) {
7898
7898
  ...H
7899
7899
  };
7900
7900
  }
7901
- function e2(H) {
7901
+ function t2(H) {
7902
7902
  return typeof H != "number" ? a5(H) : {
7903
7903
  top: H,
7904
7904
  right: H,
@@ -7915,12 +7915,12 @@ function w1(H) {
7915
7915
  bottom: H.y + H.height
7916
7916
  };
7917
7917
  }
7918
- function K1(H, V, C) {
7918
+ function q1(H, V, C) {
7919
7919
  let {
7920
7920
  reference: M,
7921
7921
  floating: i
7922
7922
  } = H;
7923
- const L = y1(V), A = I1(V), e = N1(A), d = i1(V), t = L === "y", n = M.x + M.width / 2 - i.width / 2, r = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7923
+ const L = y1(V), A = Q1(V), e = I1(A), d = i1(V), t = L === "y", n = M.x + M.width / 2 - i.width / 2, r = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7924
7924
  let l;
7925
7925
  switch (d) {
7926
7926
  case "top":
@@ -7977,7 +7977,7 @@ const Z5 = async (H, V, C) => {
7977
7977
  }), {
7978
7978
  x: n,
7979
7979
  y: r
7980
- } = K1(t, M, d), o = M, l = {}, u = 0;
7980
+ } = q1(t, M, d), o = M, l = {}, u = 0;
7981
7981
  for (let k = 0; k < e.length; k++) {
7982
7982
  const {
7983
7983
  name: w,
@@ -7986,7 +7986,7 @@ const Z5 = async (H, V, C) => {
7986
7986
  x: b,
7987
7987
  y: F,
7988
7988
  data: R,
7989
- reset: P
7989
+ reset: y
7990
7990
  } = await B({
7991
7991
  x: n,
7992
7992
  y: r,
@@ -8007,15 +8007,15 @@ const Z5 = async (H, V, C) => {
8007
8007
  ...l[w],
8008
8008
  ...R
8009
8009
  }
8010
- }, P && u <= 50) {
8011
- u++, typeof P == "object" && (P.placement && (o = P.placement), P.rects && (t = P.rects === !0 ? await A.getElementRects({
8010
+ }, y && u <= 50) {
8011
+ u++, typeof y == "object" && (y.placement && (o = y.placement), y.rects && (t = y.rects === !0 ? await A.getElementRects({
8012
8012
  reference: H,
8013
8013
  floating: V,
8014
8014
  strategy: i
8015
- }) : P.rects), {
8015
+ }) : y.rects), {
8016
8016
  x: n,
8017
8017
  y: r
8018
- } = K1(t, o, d)), k = -1;
8018
+ } = q1(t, o, d)), k = -1;
8019
8019
  continue;
8020
8020
  }
8021
8021
  }
@@ -8043,7 +8043,7 @@ async function v1(H, V) {
8043
8043
  elementContext: r = "floating",
8044
8044
  altBoundary: o = !1,
8045
8045
  padding: l = 0
8046
- } = l1(V, H), u = e2(l), w = e[o ? r === "floating" ? "reference" : "floating" : r], B = w1(await L.getClippingRect({
8046
+ } = l1(V, H), u = t2(l), w = e[o ? r === "floating" ? "reference" : "floating" : r], B = w1(await L.getClippingRect({
8047
8047
  element: (C = await (L.isElement == null ? void 0 : L.isElement(w))) == null || C ? w : w.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8048
8048
  boundary: t,
8049
8049
  rootBoundary: n,
@@ -8058,16 +8058,16 @@ async function v1(H, V) {
8058
8058
  } : {
8059
8059
  x: 1,
8060
8060
  y: 1
8061
- }, P = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8061
+ }, y = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8062
8062
  rect: b,
8063
8063
  offsetParent: F,
8064
8064
  strategy: d
8065
8065
  }) : b);
8066
8066
  return {
8067
- top: (B.top - P.top + u.top) / R.y,
8068
- bottom: (P.bottom - B.bottom + u.bottom) / R.y,
8069
- left: (B.left - P.left + u.left) / R.x,
8070
- right: (P.right - B.right + u.right) / R.x
8067
+ top: (B.top - y.top + u.top) / R.y,
8068
+ bottom: (y.bottom - B.bottom + u.bottom) / R.y,
8069
+ left: (B.left - y.left + u.left) / R.x,
8070
+ right: (y.right - B.right + u.right) / R.x
8071
8071
  };
8072
8072
  }
8073
8073
  const u5 = (H) => ({
@@ -8088,13 +8088,13 @@ const u5 = (H) => ({
8088
8088
  } = l1(H, V) || {};
8089
8089
  if (t == null)
8090
8090
  return {};
8091
- const r = e2(n), o = {
8091
+ const r = t2(n), o = {
8092
8092
  x: C,
8093
8093
  y: M
8094
- }, l = I1(i), u = N1(l), k = await A.getDimensions(t), w = l === "y", B = w ? "top" : "left", b = w ? "bottom" : "right", F = w ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[l] - o[l] - L.floating[u], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8094
+ }, l = Q1(i), u = I1(l), k = await A.getDimensions(t), w = l === "y", B = w ? "top" : "left", b = w ? "bottom" : "right", F = w ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[l] - o[l] - L.floating[u], y = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8095
8095
  let W = U ? U[F] : 0;
8096
8096
  (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[F] || L.floating[u]);
8097
- const h = R / 2 - P / 2, I = W / 2 - k[u] / 2 - 1, M1 = a1(r[B], I), a = a1(r[b], I), s = M1, y = W - k[u] - a, T = W / 2 - k[u] / 2 + h, c = D1(s, T, y), _ = !d.arrow && s1(i) != null && T != c && L.reference[u] / 2 - (T < s ? M1 : a) - k[u] / 2 < 0, $ = _ ? T < s ? T - s : T - y : 0;
8097
+ const h = R / 2 - y / 2, I = W / 2 - k[u] / 2 - 1, M1 = a1(r[B], I), a = a1(r[b], I), s = M1, P = W - k[u] - a, T = W / 2 - k[u] / 2 + h, c = D1(s, T, P), _ = !d.arrow && s1(i) != null && T != c && L.reference[u] / 2 - (T < s ? M1 : a) - k[u] / 2 < 0, $ = _ ? T < s ? T - s : T - P : 0;
8098
8098
  return {
8099
8099
  [l]: o[l] + $,
8100
8100
  data: {
@@ -8133,7 +8133,7 @@ const u5 = (H) => ({
8133
8133
  return {};
8134
8134
  const B = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !k ? [b1(e)] : o5(e));
8135
8135
  !o && u !== "none" && R.push(...r5(e, k, u, F));
8136
- const P = [e, ...R], U = await v1(V, w), W = [];
8136
+ const y = [e, ...R], U = await v1(V, w), W = [];
8137
8137
  let h = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8138
8138
  if (n && W.push(U[B]), r) {
8139
8139
  const s = l5(i, A, F);
@@ -8144,15 +8144,15 @@ const u5 = (H) => ({
8144
8144
  overflows: W
8145
8145
  }], !W.every((s) => s <= 0)) {
8146
8146
  var I, M1;
8147
- const s = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, y = P[s];
8148
- if (y)
8147
+ const s = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, P = y[s];
8148
+ if (P)
8149
8149
  return {
8150
8150
  data: {
8151
8151
  index: s,
8152
8152
  overflows: h
8153
8153
  },
8154
8154
  reset: {
8155
- placement: y
8155
+ placement: P
8156
8156
  }
8157
8157
  };
8158
8158
  let T = (M1 = h.filter((c) => c.overflows[0] <= 0).sort((c, _) => c.overflows[1] - _.overflows[1])[0]) == null ? void 0 : M1.placement;
@@ -8179,7 +8179,7 @@ const u5 = (H) => ({
8179
8179
  }
8180
8180
  };
8181
8181
  };
8182
- function q1(H, V) {
8182
+ function j1(H, V) {
8183
8183
  return {
8184
8184
  top: H.top - V.height,
8185
8185
  right: H.right - V.width,
@@ -8187,7 +8187,7 @@ function q1(H, V) {
8187
8187
  left: H.left - V.width
8188
8188
  };
8189
8189
  }
8190
- function j1(H) {
8190
+ function X1(H) {
8191
8191
  return d5.some((V) => H[V] >= 0);
8192
8192
  }
8193
8193
  const s5 = function(H) {
@@ -8206,11 +8206,11 @@ const s5 = function(H) {
8206
8206
  const L = await v1(V, {
8207
8207
  ...i,
8208
8208
  elementContext: "reference"
8209
- }), A = q1(L, C.reference);
8209
+ }), A = j1(L, C.reference);
8210
8210
  return {
8211
8211
  data: {
8212
8212
  referenceHiddenOffsets: A,
8213
- referenceHidden: j1(A)
8213
+ referenceHidden: X1(A)
8214
8214
  }
8215
8215
  };
8216
8216
  }
@@ -8218,11 +8218,11 @@ const s5 = function(H) {
8218
8218
  const L = await v1(V, {
8219
8219
  ...i,
8220
8220
  altBoundary: !0
8221
- }), A = q1(L, C.floating);
8221
+ }), A = j1(L, C.floating);
8222
8222
  return {
8223
8223
  data: {
8224
8224
  escapedOffsets: A,
8225
- escaped: j1(A)
8225
+ escaped: X1(A)
8226
8226
  }
8227
8227
  };
8228
8228
  }
@@ -8304,7 +8304,7 @@ const p5 = function(H) {
8304
8304
  } = l1(H, V), t = {
8305
8305
  x: C,
8306
8306
  y: M
8307
- }, n = await v1(V, d), r = y1(i1(i)), o = A2(r);
8307
+ }, n = await v1(V, d), r = y1(i1(i)), o = d2(r);
8308
8308
  let l = t[o], u = t[r];
8309
8309
  if (L) {
8310
8310
  const w = o === "y" ? "top" : "left", B = o === "y" ? "bottom" : "right", b = l + n[w], F = l - n[B];
@@ -8330,7 +8330,7 @@ const p5 = function(H) {
8330
8330
  };
8331
8331
  };
8332
8332
  function V1(H) {
8333
- return d2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8333
+ return m2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8334
8334
  }
8335
8335
  function z(H) {
8336
8336
  var V;
@@ -8338,9 +8338,9 @@ function z(H) {
8338
8338
  }
8339
8339
  function L1(H) {
8340
8340
  var V;
8341
- return (V = (d2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8341
+ return (V = (m2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8342
8342
  }
8343
- function d2(H) {
8343
+ function m2(H) {
8344
8344
  return H instanceof Node || H instanceof z(H).Node;
8345
8345
  }
8346
8346
  function C1(H) {
@@ -8349,7 +8349,7 @@ function C1(H) {
8349
8349
  function j(H) {
8350
8350
  return H instanceof HTMLElement || H instanceof z(H).HTMLElement;
8351
8351
  }
8352
- function X1(H) {
8352
+ function Y1(H) {
8353
8353
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8354
8354
  }
8355
8355
  function c1(H) {
@@ -8364,20 +8364,20 @@ function c1(H) {
8364
8364
  function f5(H) {
8365
8365
  return ["table", "td", "th"].includes(V1(H));
8366
8366
  }
8367
- function Q1(H) {
8368
- const V = G1(), C = K(H);
8367
+ function G1(H) {
8368
+ const V = $1(), C = K(H);
8369
8369
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8370
8370
  }
8371
8371
  function h5(H) {
8372
8372
  let V = m1(H);
8373
8373
  for (; j(V) && !P1(V); ) {
8374
- if (Q1(V))
8374
+ if (G1(V))
8375
8375
  return V;
8376
8376
  V = m1(V);
8377
8377
  }
8378
8378
  return null;
8379
8379
  }
8380
- function G1() {
8380
+ function $1() {
8381
8381
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8382
8382
  }
8383
8383
  function P1(H) {
@@ -8402,22 +8402,22 @@ function m1(H) {
8402
8402
  // Step into the shadow DOM of the parent of a slotted node.
8403
8403
  H.assignedSlot || // DOM Element detected.
8404
8404
  H.parentNode || // ShadowRoot detected.
8405
- X1(H) && H.host || // Fallback.
8405
+ Y1(H) && H.host || // Fallback.
8406
8406
  L1(H)
8407
8407
  );
8408
- return X1(V) ? V.host : V;
8408
+ return Y1(V) ? V.host : V;
8409
8409
  }
8410
- function t2(H) {
8410
+ function l2(H) {
8411
8411
  const V = m1(H);
8412
- return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : t2(V);
8412
+ return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : l2(V);
8413
8413
  }
8414
8414
  function E1(H, V, C) {
8415
8415
  var M;
8416
8416
  V === void 0 && (V = []), C === void 0 && (C = !0);
8417
- const i = t2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8417
+ const i = l2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8418
8418
  return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? E1(A.frameElement) : []) : V.concat(i, E1(i, [], C));
8419
8419
  }
8420
- function m2(H) {
8420
+ function o2(H) {
8421
8421
  const V = K(H);
8422
8422
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8423
8423
  const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = B1(C) !== L || B1(M) !== A;
@@ -8427,18 +8427,18 @@ function m2(H) {
8427
8427
  $: e
8428
8428
  };
8429
8429
  }
8430
- function l2(H) {
8430
+ function n2(H) {
8431
8431
  return C1(H) ? H : H.contextElement;
8432
8432
  }
8433
8433
  function d1(H) {
8434
- const V = l2(H);
8434
+ const V = n2(H);
8435
8435
  if (!j(V))
8436
8436
  return H1(1);
8437
8437
  const C = V.getBoundingClientRect(), {
8438
8438
  width: M,
8439
8439
  height: i,
8440
8440
  $: L
8441
- } = m2(V);
8441
+ } = o2(V);
8442
8442
  let A = (L ? B1(C.width) : C.width) / M, e = (L ? B1(C.height) : C.height) / i;
8443
8443
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8444
8444
  x: A,
@@ -8446,9 +8446,9 @@ function d1(H) {
8446
8446
  };
8447
8447
  }
8448
8448
  const g5 = /* @__PURE__ */ H1(0);
8449
- function o2(H) {
8449
+ function r2(H) {
8450
8450
  const V = z(H);
8451
- return !G1() || !V.visualViewport ? g5 : {
8451
+ return !$1() || !V.visualViewport ? g5 : {
8452
8452
  x: V.visualViewport.offsetLeft,
8453
8453
  y: V.visualViewport.offsetTop
8454
8454
  };
@@ -8458,10 +8458,10 @@ function k5(H, V, C) {
8458
8458
  }
8459
8459
  function Z1(H, V, C, M) {
8460
8460
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8461
- const i = H.getBoundingClientRect(), L = l2(H);
8461
+ const i = H.getBoundingClientRect(), L = n2(H);
8462
8462
  let A = H1(1);
8463
8463
  V && (M ? C1(M) && (A = d1(M)) : A = d1(H));
8464
- const e = k5(L, C, M) ? o2(L) : H1(0);
8464
+ const e = k5(L, C, M) ? r2(L) : H1(0);
8465
8465
  let d = (i.left + e.x) / A.x, t = (i.top + e.y) / A.y, n = i.width / A.x, r = i.height / A.y;
8466
8466
  if (L) {
8467
8467
  const o = z(L), l = M && C1(M) ? z(M) : M;
@@ -8506,12 +8506,12 @@ function B5(H) {
8506
8506
  function b5(H) {
8507
8507
  return Array.from(H.getClientRects());
8508
8508
  }
8509
- function n2(H) {
8509
+ function a2(H) {
8510
8510
  return Z1(L1(H)).left + T1(H).scrollLeft;
8511
8511
  }
8512
8512
  function w5(H) {
8513
8513
  const V = L1(H), C = T1(H), M = H.ownerDocument.body, i = e1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = e1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8514
- let A = -C.scrollLeft + n2(H);
8514
+ let A = -C.scrollLeft + a2(H);
8515
8515
  const e = -C.scrollTop;
8516
8516
  return K(M).direction === "rtl" && (A += e1(V.clientWidth, M.clientWidth) - i), {
8517
8517
  width: i,
@@ -8525,7 +8525,7 @@ function v5(H, V) {
8525
8525
  let L = M.clientWidth, A = M.clientHeight, e = 0, d = 0;
8526
8526
  if (i) {
8527
8527
  L = i.width, A = i.height;
8528
- const t = G1();
8528
+ const t = $1();
8529
8529
  (!t || t && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8530
8530
  }
8531
8531
  return {
@@ -8544,7 +8544,7 @@ function y5(H, V) {
8544
8544
  y: t
8545
8545
  };
8546
8546
  }
8547
- function Y1(H, V, C) {
8547
+ function J1(H, V, C) {
8548
8548
  let M;
8549
8549
  if (V === "viewport")
8550
8550
  M = v5(H, C);
@@ -8553,7 +8553,7 @@ function Y1(H, V, C) {
8553
8553
  else if (C1(V))
8554
8554
  M = y5(V, C);
8555
8555
  else {
8556
- const i = o2(H);
8556
+ const i = r2(H);
8557
8557
  M = {
8558
8558
  ...V,
8559
8559
  x: V.x - i.x,
@@ -8562,9 +8562,9 @@ function Y1(H, V, C) {
8562
8562
  }
8563
8563
  return w1(M);
8564
8564
  }
8565
- function r2(H, V) {
8565
+ function Z2(H, V) {
8566
8566
  const C = m1(H);
8567
- return C === V || !C1(C) || P1(C) ? !1 : K(C).position === "fixed" || r2(C, V);
8567
+ return C === V || !C1(C) || P1(C) ? !1 : K(C).position === "fixed" || Z2(C, V);
8568
8568
  }
8569
8569
  function P5(H, V) {
8570
8570
  const C = V.get(H);
@@ -8574,8 +8574,8 @@ function P5(H, V) {
8574
8574
  const L = K(H).position === "fixed";
8575
8575
  let A = L ? m1(H) : H;
8576
8576
  for (; C1(A) && !P1(A); ) {
8577
- const e = K(A), d = Q1(A);
8578
- !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && r2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8577
+ const e = K(A), d = G1(A);
8578
+ !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && Z2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8579
8579
  }
8580
8580
  return V.set(H, M), M;
8581
8581
  }
@@ -8587,9 +8587,9 @@ function T5(H) {
8587
8587
  strategy: i
8588
8588
  } = H;
8589
8589
  const A = [...C === "clippingAncestors" ? P5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((t, n) => {
8590
- const r = Y1(V, n, i);
8590
+ const r = J1(V, n, i);
8591
8591
  return t.top = e1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = e1(r.left, t.left), t;
8592
- }, Y1(V, e, i));
8592
+ }, J1(V, e, i));
8593
8593
  return {
8594
8594
  width: d.right - d.left,
8595
8595
  height: d.bottom - d.top,
@@ -8598,7 +8598,7 @@ function T5(H) {
8598
8598
  };
8599
8599
  }
8600
8600
  function F5(H) {
8601
- return m2(H);
8601
+ return o2(H);
8602
8602
  }
8603
8603
  function R5(H, V, C) {
8604
8604
  const M = j(V), i = L1(V), L = C === "fixed", A = Z1(H, !0, L, V);
@@ -8612,7 +8612,7 @@ function R5(H, V, C) {
8612
8612
  const t = Z1(V, !0, L, V);
8613
8613
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8614
8614
  } else
8615
- i && (d.x = n2(i));
8615
+ i && (d.x = a2(i));
8616
8616
  return {
8617
8617
  x: A.left + e.scrollLeft - d.x,
8618
8618
  y: A.top + e.scrollTop - d.y,
@@ -8620,17 +8620,17 @@ function R5(H, V, C) {
8620
8620
  height: A.height
8621
8621
  };
8622
8622
  }
8623
- function J1(H, V) {
8623
+ function C2(H, V) {
8624
8624
  return !j(H) || K(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8625
8625
  }
8626
- function a2(H, V) {
8626
+ function u2(H, V) {
8627
8627
  const C = z(H);
8628
8628
  if (!j(H))
8629
8629
  return C;
8630
- let M = J1(H, V);
8630
+ let M = C2(H, V);
8631
8631
  for (; M && f5(M) && K(M).position === "static"; )
8632
- M = J1(M, V);
8633
- return M && (V1(M) === "html" || V1(M) === "body" && K(M).position === "static" && !Q1(M)) ? C : M || h5(H) || C;
8632
+ M = C2(M, V);
8633
+ return M && (V1(M) === "html" || V1(M) === "body" && K(M).position === "static" && !G1(M)) ? C : M || h5(H) || C;
8634
8634
  }
8635
8635
  const x5 = async function(H) {
8636
8636
  let {
@@ -8638,7 +8638,7 @@ const x5 = async function(H) {
8638
8638
  floating: C,
8639
8639
  strategy: M
8640
8640
  } = H;
8641
- const i = this.getOffsetParent || a2, L = this.getDimensions;
8641
+ const i = this.getOffsetParent || u2, L = this.getDimensions;
8642
8642
  return {
8643
8643
  reference: R5(V, await i(C), M),
8644
8644
  floating: {
@@ -8655,7 +8655,7 @@ const _5 = {
8655
8655
  convertOffsetParentRelativeRectToViewportRelativeRect: B5,
8656
8656
  getDocumentElement: L1,
8657
8657
  getClippingRect: T5,
8658
- getOffsetParent: a2,
8658
+ getOffsetParent: u2,
8659
8659
  getElementRects: x5,
8660
8660
  getClientRects: b5,
8661
8661
  getDimensions: F5,
@@ -8675,7 +8675,7 @@ const _5 = {
8675
8675
  platform: L
8676
8676
  });
8677
8677
  };
8678
- var Z2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(Z2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), u2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(u2 || {});
8678
+ var S2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(S2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), W1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(W1 || {});
8679
8679
  async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8680
8680
  !H || !V || E5(H, V, {
8681
8681
  placement: M,
@@ -8719,7 +8719,7 @@ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8719
8719
  const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__ */ x({
8720
8720
  __name: "RTooltip",
8721
8721
  props: {
8722
- placement: { default: Z2.Top },
8722
+ placement: { default: S2.Top },
8723
8723
  text: { default: "" },
8724
8724
  dark: { type: Boolean, default: !0 },
8725
8725
  light: { type: Boolean, default: !1 },
@@ -8736,7 +8736,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8736
8736
  resizable: { type: Boolean, default: !0 },
8737
8737
  triggerClass: { default: "" },
8738
8738
  tooltipClass: { default: "" },
8739
- type: { default: u2.Tooltip }
8739
+ type: { default: W1.Tooltip }
8740
8740
  },
8741
8741
  emits: ["show", "hide"],
8742
8742
  setup(H, { emit: V }) {
@@ -8770,8 +8770,8 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8770
8770
  C.triggers.includes(Y.Hover) && k();
8771
8771
  }
8772
8772
  function k(B) {
8773
- const { placement: b, offset: F, padding: R, disabled: P, showDelay: U, type: W } = C;
8774
- P || W5(i, L, A, b, F, R, U, W);
8773
+ const { placement: b, offset: F, padding: R, disabled: y, showDelay: U, type: W } = C;
8774
+ y || W5(i, L, A, b, F, R, U, W);
8775
8775
  }
8776
8776
  const w = g(() => ({
8777
8777
  "r-tooltip": !0,
@@ -8780,18 +8780,20 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8780
8780
  }));
8781
8781
  return window.onresize = () => {
8782
8782
  C.resizable && k();
8783
- }, document.addEventListener("scroll", () => {
8784
- k();
8785
- }), p2(
8783
+ }, O2(
8786
8784
  () => {
8787
8785
  C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && t());
8788
8786
  },
8789
8787
  { flush: "post" }
8790
8788
  // this is important to avoid infinite loop & for fire on mounted
8791
- ), H2(() => {
8789
+ ), V2(() => {
8792
8790
  C.resizable && i.value.parentElement.parentElement.addEventListener("scroll", k()), A5(i, (B) => {
8793
8791
  L.value.classList.contains("r-tooltip--active") && t(B);
8794
- }, { ignore: [L] });
8792
+ }, { ignore: [L] }), C.type === W1.Dropdown && document.addEventListener("scroll", () => {
8793
+ k();
8794
+ });
8795
+ }), L2(() => {
8796
+ C.resizable && i.value.parentElement.parentElement.removeEventListener("scroll", k()), document.body.removeChild(L.value);
8795
8797
  }), (B, b) => (m(), Z(t1, null, [
8796
8798
  S("div", {
8797
8799
  ref_key: "trigger",
@@ -8818,7 +8820,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8818
8820
  }, null, 8, I5)
8819
8821
  ])
8820
8822
  ], 42, N5),
8821
- (m(), E(O2, { to: "body" }, [
8823
+ (m(), E(f2, { to: "body" }, [
8822
8824
  S("div", {
8823
8825
  id: J(e),
8824
8826
  ref_key: "tooltip",
@@ -8941,7 +8943,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8941
8943
  const s = document.getElementById(a);
8942
8944
  s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
8943
8945
  }
8944
- function w(a, s, y, T) {
8946
+ function w(a, s, P, T) {
8945
8947
  var c;
8946
8948
  if (T(), !s.disabled) {
8947
8949
  if (s.value === "select-all") {
@@ -8952,7 +8954,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8952
8954
  L.value.find((_) => _.value === s.value) ? L.value.splice(L.value.indexOf(s), 1) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8953
8955
  return;
8954
8956
  }
8955
- B(a, s), C.closeOnSelect && y();
8957
+ B(a, s), C.closeOnSelect && P();
8956
8958
  }
8957
8959
  }
8958
8960
  function B(a, s) {
@@ -8962,10 +8964,10 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8962
8964
  }
8963
8965
  e.value = s.label, i.value = s, M("update:modelValue", s);
8964
8966
  }
8965
- function b(a, s, y) {
8967
+ function b(a, s, P) {
8966
8968
  if (a instanceof KeyboardEvent && a.key !== "Backspace" || e.value !== "")
8967
8969
  return;
8968
- a.stopPropagation(), y();
8970
+ a.stopPropagation(), P();
8969
8971
  const T = L.value.findIndex((c) => c.value === s.value);
8970
8972
  L.value.splice(T, 1);
8971
8973
  }
@@ -8974,16 +8976,16 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8974
8976
  if (!C.multiple)
8975
8977
  return;
8976
8978
  a.stopPropagation(), s();
8977
- const y = e.value;
8978
- if (y === "")
8979
+ const P = e.value;
8980
+ if (P === "")
8979
8981
  return;
8980
- t.value.find((_) => _.label === y) || (L.value.push({ value: y, label: y }), e.value = "", (c = o.value) == null || c.focus());
8982
+ t.value.find((_) => _.label === P) || (L.value.push({ value: P, label: P }), e.value = "", (c = o.value) == null || c.focus());
8981
8983
  }
8982
8984
  function R(a) {
8983
8985
  var s;
8984
- return !a || (a == null ? void 0 : a.value) === void 0 || (a == null ? void 0 : a.value) === null ? !1 : C.multiple ? L.value.find((y) => (y == null ? void 0 : y.value) === (a == null ? void 0 : a.value)) : ((s = i.value) == null ? void 0 : s.value) === (a == null ? void 0 : a.value);
8986
+ return !a || (a == null ? void 0 : a.value) === void 0 || (a == null ? void 0 : a.value) === null ? !1 : C.multiple ? L.value.find((P) => (P == null ? void 0 : P.value) === (a == null ? void 0 : a.value)) : ((s = i.value) == null ? void 0 : s.value) === (a == null ? void 0 : a.value);
8985
8987
  }
8986
- const P = g(() => !C.searchable || i.value.label === e.value ? t.value : t.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
8988
+ const y = g(() => !C.searchable || i.value.label === e.value ? t.value : t.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
8987
8989
  function W() {
8988
8990
  n.value ? C.multiple ? L.value = n.value : (i.value = n.value, e.value = n.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
8989
8991
  }
@@ -8998,13 +9000,13 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8998
9000
  i.value = {}, e.value = "", M("update:modelValue", "");
8999
9001
  }
9000
9002
  function M1() {
9001
- if (L.value.length === P.value.length) {
9003
+ if (L.value.length === y.value.length) {
9002
9004
  L.value.splice(0, L.value.length);
9003
9005
  return;
9004
9006
  }
9005
- L.value = P.value;
9007
+ L.value = y.value;
9006
9008
  }
9007
- return H2(() => {
9009
+ return V2(() => {
9008
9010
  W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9009
9011
  }), G(
9010
9012
  L,
@@ -9030,11 +9032,11 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9030
9032
  "trigger-class": "w-full",
9031
9033
  triggers: ["click"],
9032
9034
  type: "dropdown",
9033
- onHide: s[1] || (s[1] = (y) => {
9034
- k(y);
9035
+ onHide: s[1] || (s[1] = (P) => {
9036
+ k(P);
9035
9037
  })
9036
9038
  }, {
9037
- default: k1(({ updatePosition: y, tooltipId: T }) => [
9039
+ default: k1(({ updatePosition: P, tooltipId: T }) => [
9038
9040
  S("div", {
9039
9041
  id: T,
9040
9042
  ref_key: "dropdown",
@@ -9082,10 +9084,10 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9082
9084
  label: c.label,
9083
9085
  "no-wrap": "",
9084
9086
  variant: "primary",
9085
- "onClick:close": ($) => b($, c, y)
9087
+ "onClick:close": ($) => b($, c, P)
9086
9088
  }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", z5, v(`${c.label}, `), 1))
9087
9089
  ])), 128)),
9088
- V2(S("input", {
9090
+ M2(S("input", {
9089
9091
  id: C.id,
9090
9092
  ref_key: "input",
9091
9093
  ref: o,
@@ -9099,20 +9101,20 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9099
9101
  readonly: U.value,
9100
9102
  role: "presentation",
9101
9103
  type: "text",
9102
- onInput: A1((c) => h(y), ["prevent"]),
9104
+ onInput: A1((c) => h(P), ["prevent"]),
9103
9105
  onKeydown: [
9104
- $1((c) => b(c, L.value[L.value.length - 1], y), ["backspace"]),
9105
- $1((c) => F(c, y), ["enter"])
9106
+ U1((c) => b(c, L.value[L.value.length - 1], P), ["backspace"]),
9107
+ U1((c) => F(c, P), ["enter"])
9106
9108
  ]
9107
9109
  }, null, 42, K5), [
9108
- [f2, e.value]
9110
+ [h2, e.value]
9109
9111
  ])
9110
9112
  ]),
9111
9113
  C.clearable ? (m(), Z("div", {
9112
9114
  key: 1,
9113
9115
  class: "r-dropdown__clearable",
9114
9116
  "data-has-value": (e.value !== "" || L.value.length) && A.value,
9115
- onClick: (c) => I(c, y)
9117
+ onClick: (c) => I(c, P)
9116
9118
  }, [
9117
9119
  f(a.$slots, "clearable", {}, () => [
9118
9120
  q(D, {
@@ -9142,41 +9144,41 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9142
9144
  ], 2)) : O("", !0)
9143
9145
  ], 10, $5)
9144
9146
  ]),
9145
- content: k1(({ hide: y, updatePosition: T }) => [
9147
+ content: k1(({ hide: P, updatePosition: T }) => [
9146
9148
  S("ul", {
9147
9149
  class: p(["r-dropdown-options", {
9148
9150
  "r-dropdown-options--active": A.value,
9149
9151
  [C.optionsClass]: C.optionsClass
9150
9152
  }])
9151
9153
  }, [
9152
- C.showSelectAll && C.multiple ? (m(), Z("li", {
9154
+ C.showSelectAll && C.multiple && y.value.length > 0 ? (m(), Z("li", {
9153
9155
  key: 0,
9154
9156
  class: p(["r-dropdown-options__option", {
9155
- "r-dropdown-options__option--active": L.value.length === P.value.length,
9157
+ "r-dropdown-options__option--active": L.value.length === y.value.length,
9156
9158
  "r-dropdown-options__option--disabled": !1
9157
9159
  }]),
9158
- onClick: A1((c) => w(c, { label: C.selectAllText, value: "select-all" }, y, T), ["prevent"])
9160
+ onClick: A1((c) => w(c, { label: C.selectAllText, value: "select-all" }, P, T), ["prevent"])
9159
9161
  }, [
9160
9162
  S("div", X5, [
9161
9163
  S("p", Y5, v(C.selectAllText), 1)
9162
9164
  ]),
9163
- L.value.length === P.value.length && !C.hideOptionCheckIcon ? (m(), E(D, {
9165
+ L.value.length === y.value.length && !C.hideOptionCheckIcon ? (m(), E(D, {
9164
9166
  key: 0,
9165
9167
  class: p(["r-dropdown-options__option__append-icon", {
9166
- "r-dropdown-options__option__append-icon--active": L.value.length === P.value.length
9168
+ "r-dropdown-options__option__append-icon--active": L.value.length === y.value.length
9167
9169
  }]),
9168
9170
  name: "mdiCheck"
9169
9171
  }, null, 8, ["class"])) : O("", !0)
9170
9172
  ], 10, j5)) : O("", !0),
9171
- C.showSelectAll ? (m(), Z("hr", J5)) : O("", !0),
9172
- (m(!0), Z(t1, null, r1(P.value, (c) => (m(), Z("li", {
9173
+ C.showSelectAll && y.value.length > 0 ? (m(), Z("hr", J5)) : O("", !0),
9174
+ (m(!0), Z(t1, null, r1(y.value, (c) => (m(), Z("li", {
9173
9175
  key: c.value,
9174
9176
  "aria-disabled": c.disabled,
9175
9177
  class: p(["r-dropdown-options__option", {
9176
9178
  "r-dropdown-options__option--active": R(c),
9177
9179
  "r-dropdown-options__option--disabled": c.disabled
9178
9180
  }]),
9179
- onClick: A1((_) => w(_, c, y, T), ["prevent"])
9181
+ onClick: A1((_) => w(_, c, P, T), ["prevent"])
9180
9182
  }, [
9181
9183
  f(a.$slots, "option", {
9182
9184
  disabled: c.disabled,
@@ -9215,9 +9217,9 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9215
9217
  ])
9216
9218
  ])
9217
9219
  ], 10, C3))), 128)),
9218
- P.value.length === 0 ? (m(), Z("li", V3, [
9220
+ y.value.length === 0 ? (m(), Z("li", V3, [
9219
9221
  f(a.$slots, "not-options", {}, () => [
9220
- S1(v(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9222
+ S1(v(C.noOptionsText), 1)
9221
9223
  ])
9222
9224
  ])) : O("", !0)
9223
9225
  ], 2)
@@ -9230,7 +9232,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9230
9232
  ]))
9231
9233
  ], 512));
9232
9234
  }
9233
- }), e3 = ["id", "for"], S2 = /* @__PURE__ */ x({
9235
+ }), e3 = ["id", "for"], s2 = /* @__PURE__ */ x({
9234
9236
  __name: "RLabel",
9235
9237
  props: {
9236
9238
  id: { default: "" },
@@ -9287,11 +9289,11 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9287
9289
  function A(e) {
9288
9290
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9289
9291
  }
9290
- return h2(() => {
9292
+ return L2(() => {
9291
9293
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9292
9294
  }), window.addEventListener("keydown", (e) => {
9293
9295
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9294
- }), (e, d) => V2((m(), Z("div", {
9296
+ }), (e, d) => M2((m(), Z("div", {
9295
9297
  class: p(["r-modal-overlay", e.overlayClass]),
9296
9298
  onClick: A1(A, ["stop"])
9297
9299
  }, [
@@ -9300,7 +9302,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9300
9302
  class: p(i.value),
9301
9303
  open: C.modelValue,
9302
9304
  role: "dialog",
9303
- style: W1(L.value)
9305
+ style: N1(L.value)
9304
9306
  }, [
9305
9307
  S("div", m3, [
9306
9308
  f(e.$slots, "header"),
@@ -9542,7 +9544,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9542
9544
  "aria-selected": A.value,
9543
9545
  class: p(i.value),
9544
9546
  disabled: C.disabled,
9545
- style: W1(L.value),
9547
+ style: N1(L.value),
9546
9548
  onClick: t[0] || (t[0] = A1((n) => e(C.id), ["stop"]))
9547
9549
  }, [
9548
9550
  f(d.$slots, "prepend", {
@@ -9671,14 +9673,14 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9671
9673
  immediate: !0
9672
9674
  }
9673
9675
  ), (A, e) => (m(), Z("div", w3, [
9674
- C.label ? (m(), E(S2, {
9676
+ C.label ? (m(), E(s2, {
9675
9677
  key: 0,
9676
9678
  id: `${C.id}-label`,
9677
9679
  class: "r-textarea__label",
9678
9680
  for: "textarea",
9679
9681
  text: C.label
9680
9682
  }, null, 8, ["id", "text"])) : O("", !0),
9681
- S("textarea", C2(A.$attrs, {
9683
+ S("textarea", H2(A.$attrs, {
9682
9684
  id: C.id,
9683
9685
  class: ["r-textarea", {
9684
9686
  "r-textarea--error": C.errorMsg,
@@ -9780,7 +9782,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9780
9782
  function R(h) {
9781
9783
  L.value = h.target.value, M("input", h);
9782
9784
  }
9783
- function P() {
9785
+ function y() {
9784
9786
  var h;
9785
9787
  if (o.value) {
9786
9788
  L.value = "", (h = i.value) == null || h.focus(), M("click:clear", {
@@ -9816,7 +9818,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9816
9818
  );
9817
9819
  }
9818
9820
  ), (h, I) => (m(), Z("div", F3, [
9819
- C.label ? (m(), E(S2, {
9821
+ C.label ? (m(), E(s2, {
9820
9822
  key: 0,
9821
9823
  id: `${C.id}-label`,
9822
9824
  class: "r-textfield__label",
@@ -9866,7 +9868,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9866
9868
  class: p(k.value),
9867
9869
  name: `${B.value}`,
9868
9870
  size: 20,
9869
- onClick: P
9871
+ onClick: y
9870
9872
  }, null, 8, ["class", "name"])) : O("", !0)
9871
9873
  ])
9872
9874
  ], 2),
@@ -10099,7 +10101,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10099
10101
  class: "r-progressbar",
10100
10102
  max: 100,
10101
10103
  role: "progressbar",
10102
- style: W1({ height: `${V.height}px` }),
10104
+ style: N1({ height: `${V.height}px` }),
10103
10105
  value: V.value
10104
10106
  }, null, 12, t0));
10105
10107
  }
@@ -10178,7 +10180,7 @@ export {
10178
10180
  D as RIcon,
10179
10181
  b0 as RItem,
10180
10182
  B0 as RItemGroup,
10181
- S2 as RLabel,
10183
+ s2 as RLabel,
10182
10184
  u0 as RModal,
10183
10185
  g0 as RPagination,
10184
10186
  k0 as RProgressbar,