@rocketui/vue 0.2.39-alpha.5 → 0.2.39-alpha.6

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 F, openBlock as m, createElementBlock as u, createElementVNode as S, unref as V1, reactive as a1, Fragment as i1, renderList as l1, normalizeClass as c, renderSlot as O, toDisplayString as w, createVNode as K, computed as f, createCommentVNode as h, mergeProps as j1, createBlock as _, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as f1, withDirectives as Y1, withModifiers as o1, withKeys as N1, vModelText as c2, createTextVNode as Z1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as s1, resolveDynamicComponent as h2, inject as c1 } from "vue";
1
+ import { defineComponent as F, openBlock as m, createElementBlock as u, createElementVNode as S, unref as V1, reactive as a1, Fragment as e1, renderList as o1, normalizeClass as c, renderSlot as O, toDisplayString as w, createVNode as K, computed as f, createCommentVNode as h, mergeProps as j1, createBlock as _, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as f1, withModifiers as M1, withDirectives as Y1, withKeys as N1, vModelText as c2, createTextVNode as Z1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as s1, resolveDynamicComponent as h2, inject as c1 } from "vue";
2
2
  const g2 = {
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",
@@ -7296,7 +7296,7 @@ const g2 = {
7296
7296
  mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
7297
7297
  mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
7298
7298
  mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
7299
- }, k2 = ["height", "viewBox", "width"], B2 = ["d"], E = /* @__PURE__ */ F({
7299
+ }, k2 = ["height", "viewBox", "width"], B2 = ["d"], D = /* @__PURE__ */ F({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7335,7 +7335,7 @@ const g2 = {
7335
7335
  C[i].open = i === A ? !C[i].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (A, L) => (m(!0), u(i1, null, l1(C, (i, e) => (m(), u("div", {
7338
+ return (A, L) => (m(!0), u(e1, null, o1(C, (i, e) => (m(), u("div", {
7339
7339
  key: e,
7340
7340
  class: c(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
@@ -7353,7 +7353,7 @@ const g2 = {
7353
7353
  O(A.$slots, "icon", {
7354
7354
  open: i.open
7355
7355
  }, () => [
7356
- K(E, { name: "mdiChevronUp" })
7356
+ K(D, { name: "mdiChevronUp" })
7357
7357
  ])
7358
7358
  ])
7359
7359
  ], 8, w2),
@@ -7401,7 +7401,7 @@ const g2 = {
7401
7401
  }, [
7402
7402
  S("div", T2, [
7403
7403
  O(e.$slots, "alert-icon", {}, () => [
7404
- K(E, {
7404
+ K(D, {
7405
7405
  name: L.value,
7406
7406
  size: 24
7407
7407
  }, null, 8, ["name"])
@@ -7418,7 +7418,7 @@ const g2 = {
7418
7418
  close: i,
7419
7419
  slotClass: "r-alert__close__button"
7420
7420
  }, () => [
7421
- K(E, {
7421
+ K(D, {
7422
7422
  class: "r-alert__close__button",
7423
7423
  name: "mdiClose",
7424
7424
  size: 16,
@@ -7551,7 +7551,7 @@ const g2 = {
7551
7551
  O(L.$slots, "prepend", {
7552
7552
  onlyIcon: V.icon
7553
7553
  }, () => [
7554
- V.prependIcon ? (m(), _(E, {
7554
+ V.prependIcon ? (m(), _(D, {
7555
7555
  key: 0,
7556
7556
  class: c(["r-button__prepend-icon", {
7557
7557
  "r-button__prepend-icon--only": V.icon
@@ -7564,7 +7564,7 @@ const g2 = {
7564
7564
  O(L.$slots, "append", {
7565
7565
  onlyIcon: V.icon
7566
7566
  }, () => [
7567
- !V.icon && V.appendIcon ? (m(), _(E, {
7567
+ !V.icon && V.appendIcon ? (m(), _(D, {
7568
7568
  key: 0,
7569
7569
  class: "r-button__append-icon",
7570
7570
  name: V.appendIcon,
@@ -7648,7 +7648,7 @@ const g2 = {
7648
7648
  class: c(e.value),
7649
7649
  "data-disabled": C.disabled
7650
7650
  }, [
7651
- K(E, {
7651
+ K(D, {
7652
7652
  name: i.value,
7653
7653
  size: 24
7654
7654
  }, null, 8, ["name"])
@@ -7704,7 +7704,7 @@ const g2 = {
7704
7704
  O(d.$slots, "prepend", {
7705
7705
  disabled: C.disabled
7706
7706
  }, () => [
7707
- C.prependIcon ? (m(), _(E, {
7707
+ C.prependIcon ? (m(), _(D, {
7708
7708
  key: 0,
7709
7709
  "aria-disabled": C.disabled,
7710
7710
  class: "r-chip__content__prepend-icon",
@@ -7719,7 +7719,7 @@ const g2 = {
7719
7719
  O(d.$slots, "append", {
7720
7720
  disabled: C.disabled
7721
7721
  }, () => [
7722
- e.value ? (m(), _(E, {
7722
+ e.value ? (m(), _(D, {
7723
7723
  key: 0,
7724
7724
  "aria-disabled": C.disabled,
7725
7725
  class: "r-chip__content__append-icon",
@@ -7745,7 +7745,7 @@ function V5() {
7745
7745
  var H;
7746
7746
  return C2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7747
7747
  }
7748
- function t1(H) {
7748
+ function m1(H) {
7749
7749
  var V;
7750
7750
  const C = J1(H);
7751
7751
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
@@ -7759,7 +7759,7 @@ function P1(...H) {
7759
7759
  const L = [], i = () => {
7760
7760
  L.forEach((n) => n()), L.length = 0;
7761
7761
  }, e = (n, a, o, l) => (n.addEventListener(a, o, l), () => n.removeEventListener(a, o, l)), d = Q(
7762
- () => [t1(V), J1(A)],
7762
+ () => [m1(V), J1(A)],
7763
7763
  ([n, a]) => {
7764
7764
  if (i(), !n)
7765
7765
  return;
@@ -7785,12 +7785,12 @@ function L5(H, V, C = {}) {
7785
7785
  if (typeof l == "string")
7786
7786
  return Array.from(M.document.querySelectorAll(l)).some((r) => r === o.target || o.composedPath().includes(r));
7787
7787
  {
7788
- const r = t1(l);
7788
+ const r = m1(l);
7789
7789
  return r && (o.target === r || o.composedPath().includes(r));
7790
7790
  }
7791
7791
  }), n = [
7792
7792
  P1(M, "click", (o) => {
7793
- const l = t1(H);
7793
+ const l = m1(H);
7794
7794
  if (!(!l || l === o.target || o.composedPath().includes(l))) {
7795
7795
  if (o.detail === 0 && (e = !d(o)), !e) {
7796
7796
  e = !0;
@@ -7800,20 +7800,20 @@ function L5(H, V, C = {}) {
7800
7800
  }
7801
7801
  }, { passive: !0, capture: L }),
7802
7802
  P1(M, "pointerdown", (o) => {
7803
- const l = t1(H);
7803
+ const l = m1(H);
7804
7804
  e = !d(o) && !!(l && !o.composedPath().includes(l));
7805
7805
  }, { passive: !0 }),
7806
7806
  i && P1(M, "blur", (o) => {
7807
7807
  setTimeout(() => {
7808
7808
  var l;
7809
- const r = t1(H);
7809
+ const r = m1(H);
7810
7810
  ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(r != null && r.contains(M.document.activeElement)) && V(o);
7811
7811
  }, 0);
7812
7812
  })
7813
7813
  ].filter(Boolean);
7814
7814
  return () => n.forEach((o) => o());
7815
7815
  }
7816
- const M5 = ["top", "right", "bottom", "left"], n1 = Math.min, M1 = Math.max, h1 = Math.round, J = (H) => ({
7816
+ const M5 = ["top", "right", "bottom", "left"], n1 = Math.min, A1 = Math.max, h1 = Math.round, J = (H) => ({
7817
7817
  x: H,
7818
7818
  y: H
7819
7819
  }), A5 = {
@@ -7826,9 +7826,9 @@ const M5 = ["top", "right", "bottom", "left"], n1 = Math.min, M1 = Math.max, h1
7826
7826
  end: "start"
7827
7827
  };
7828
7828
  function T1(H, V, C) {
7829
- return M1(H, n1(V, C));
7829
+ return A1(H, n1(V, C));
7830
7830
  }
7831
- function d1(H, V) {
7831
+ function t1(H, V) {
7832
7832
  return typeof H == "function" ? H(V) : H;
7833
7833
  }
7834
7834
  function L1(H) {
@@ -8037,7 +8037,7 @@ async function B1(H, V) {
8037
8037
  elementContext: a = "floating",
8038
8038
  altBoundary: o = !1,
8039
8039
  padding: l = 0
8040
- } = d1(V, H), r = L2(l), B = e[o ? a === "floating" ? "reference" : "floating" : a], y = k1(await L.getClippingRect({
8040
+ } = t1(V, H), r = L2(l), B = e[o ? a === "floating" ? "reference" : "floating" : a], y = k1(await L.getClippingRect({
8041
8041
  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)),
8042
8042
  boundary: t,
8043
8043
  rootBoundary: n,
@@ -8079,7 +8079,7 @@ const n5 = (H) => ({
8079
8079
  } = V, {
8080
8080
  element: t,
8081
8081
  padding: n = 0
8082
- } = d1(H, V) || {};
8082
+ } = t1(H, V) || {};
8083
8083
  if (t == null)
8084
8084
  return {};
8085
8085
  const a = L2(n), o = {
@@ -8088,12 +8088,12 @@ const n5 = (H) => ({
8088
8088
  }, l = E1(A), r = D1(l), k = await i.getDimensions(t), B = l === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", T = L.reference[r] + L.reference[l] - o[l] - L.floating[r], R = o[l] - L.reference[l], G = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8089
8089
  let I = G ? G[v] : 0;
8090
8090
  (!I || !await (i.isElement == null ? void 0 : i.isElement(G))) && (I = e.floating[v] || L.floating[r]);
8091
- const p = T / 2 - R / 2, N = I / 2 - k[r] / 2 - 1, Z = n1(a[y], N), g = n1(a[P], N), b = Z, x = I - k[r] - g, s = I / 2 - k[r] / 2 + p, D = T1(b, s, x), U = !d.arrow && u1(A) != null && s != D && L.reference[r] / 2 - (s < b ? Z : g) - k[r] / 2 < 0, j = U ? s < b ? s - b : s - x : 0;
8091
+ const p = T / 2 - R / 2, N = I / 2 - k[r] / 2 - 1, Z = n1(a[y], N), g = n1(a[P], N), b = Z, E = I - k[r] - g, s = I / 2 - k[r] / 2 + p, x = T1(b, s, E), U = !d.arrow && u1(A) != null && s != x && L.reference[r] / 2 - (s < b ? Z : g) - k[r] / 2 < 0, j = U ? s < b ? s - b : s - E : 0;
8092
8092
  return {
8093
8093
  [l]: o[l] + j,
8094
8094
  data: {
8095
- [l]: D,
8096
- centerOffset: s - D - j,
8095
+ [l]: x,
8096
+ centerOffset: s - x - j,
8097
8097
  ...U && {
8098
8098
  alignmentOffset: j
8099
8099
  }
@@ -8122,7 +8122,7 @@ const n5 = (H) => ({
8122
8122
  fallbackAxisSideDirection: r = "none",
8123
8123
  flipAlignment: k = !0,
8124
8124
  ...B
8125
- } = d1(H, V);
8125
+ } = t1(H, V);
8126
8126
  if ((C = L.arrow) != null && C.alignmentOffset)
8127
8127
  return {};
8128
8128
  const y = L1(A), P = L1(e) === e, v = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), T = o || (P || !k ? [g1(e)] : d5(e));
@@ -8138,24 +8138,24 @@ const n5 = (H) => ({
8138
8138
  overflows: I
8139
8139
  }], !I.every((b) => b <= 0)) {
8140
8140
  var N, Z;
8141
- const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, x = R[b];
8142
- if (x)
8141
+ const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, E = R[b];
8142
+ if (E)
8143
8143
  return {
8144
8144
  data: {
8145
8145
  index: b,
8146
8146
  overflows: p
8147
8147
  },
8148
8148
  reset: {
8149
- placement: x
8149
+ placement: E
8150
8150
  }
8151
8151
  };
8152
- let s = (Z = p.filter((D) => D.overflows[0] <= 0).sort((D, U) => D.overflows[1] - U.overflows[1])[0]) == null ? void 0 : Z.placement;
8152
+ let s = (Z = p.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : Z.placement;
8153
8153
  if (!s)
8154
8154
  switch (l) {
8155
8155
  case "bestFit": {
8156
8156
  var g;
8157
- const D = (g = p.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 : g[0];
8158
- D && (s = D);
8157
+ const x = (g = p.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 : g[0];
8158
+ x && (s = x);
8159
8159
  break;
8160
8160
  }
8161
8161
  case "initialPlacement":
@@ -8194,7 +8194,7 @@ const a5 = function(H) {
8194
8194
  } = V, {
8195
8195
  strategy: M = "referenceHidden",
8196
8196
  ...A
8197
- } = d1(H, V);
8197
+ } = t1(H, V);
8198
8198
  switch (M) {
8199
8199
  case "referenceHidden": {
8200
8200
  const L = await B1(V, {
@@ -8231,7 +8231,7 @@ async function Z5(H, V) {
8231
8231
  placement: C,
8232
8232
  platform: M,
8233
8233
  elements: A
8234
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = b1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, n = L && d ? -1 : 1, a = d1(V, H);
8234
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = b1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, n = L && d ? -1 : 1, a = t1(V, H);
8235
8235
  let {
8236
8236
  mainAxis: o,
8237
8237
  crossAxis: l,
@@ -8295,7 +8295,7 @@ const u5 = function(H) {
8295
8295
  }
8296
8296
  },
8297
8297
  ...d
8298
- } = d1(H, V), t = {
8298
+ } = t1(H, V), t = {
8299
8299
  x: C,
8300
8300
  y: M
8301
8301
  }, n = await B1(V, d), a = b1(L1(A)), o = V2(a);
@@ -8363,11 +8363,11 @@ function _1(H) {
8363
8363
  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));
8364
8364
  }
8365
8365
  function c5(H) {
8366
- let V = e1(H);
8366
+ let V = d1(H);
8367
8367
  for (; q(V) && !w1(V); ) {
8368
8368
  if (_1(V))
8369
8369
  return V;
8370
- V = e1(V);
8370
+ V = d1(V);
8371
8371
  }
8372
8372
  return null;
8373
8373
  }
@@ -8389,7 +8389,7 @@ function y1(H) {
8389
8389
  scrollTop: H.pageYOffset
8390
8390
  };
8391
8391
  }
8392
- function e1(H) {
8392
+ function d1(H) {
8393
8393
  if (C1(H) === "html")
8394
8394
  return H;
8395
8395
  const V = (
@@ -8402,7 +8402,7 @@ function e1(H) {
8402
8402
  return z1(V) ? V.host : V;
8403
8403
  }
8404
8404
  function A2(H) {
8405
- const V = e1(H);
8405
+ const V = d1(H);
8406
8406
  return w1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8407
8407
  }
8408
8408
  function R1(H, V, C) {
@@ -8424,7 +8424,7 @@ function i2(H) {
8424
8424
  function e2(H) {
8425
8425
  return Y(H) ? H : H.contextElement;
8426
8426
  }
8427
- function A1(H) {
8427
+ function i1(H) {
8428
8428
  const V = e2(H);
8429
8429
  if (!q(V))
8430
8430
  return J(1);
@@ -8454,14 +8454,14 @@ function r1(H, V, C, M) {
8454
8454
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8455
8455
  const A = H.getBoundingClientRect(), L = e2(H);
8456
8456
  let i = J(1);
8457
- V && (M ? Y(M) && (i = A1(M)) : i = A1(H));
8457
+ V && (M ? Y(M) && (i = i1(M)) : i = i1(H));
8458
8458
  const e = p5(L, C, M) ? d2(L) : J(0);
8459
8459
  let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, n = A.width / i.x, a = A.height / i.y;
8460
8460
  if (L) {
8461
8461
  const o = $(L), l = M && Y(M) ? $(M) : M;
8462
8462
  let r = o.frameElement;
8463
8463
  for (; r && M && l !== o; ) {
8464
- const k = A1(r), B = r.getBoundingClientRect(), y = z(r), P = B.left + (r.clientLeft + parseFloat(y.paddingLeft)) * k.x, v = B.top + (r.clientTop + parseFloat(y.paddingTop)) * k.y;
8464
+ const k = i1(r), B = r.getBoundingClientRect(), y = z(r), P = B.left + (r.clientLeft + parseFloat(y.paddingLeft)) * k.x, v = B.top + (r.clientTop + parseFloat(y.paddingTop)) * k.y;
8465
8465
  d *= k.x, t *= k.y, n *= k.x, a *= k.y, d += P, t += v, r = $(r).frameElement;
8466
8466
  }
8467
8467
  }
@@ -8488,7 +8488,7 @@ function f5(H) {
8488
8488
  const d = J(0);
8489
8489
  if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = y1(C)), q(C))) {
8490
8490
  const t = r1(C);
8491
- e = A1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8491
+ e = i1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8492
8492
  }
8493
8493
  return {
8494
8494
  width: V.width * e.x,
@@ -8504,10 +8504,10 @@ function t2(H) {
8504
8504
  return r1(H1(H)).left + y1(H).scrollLeft;
8505
8505
  }
8506
8506
  function g5(H) {
8507
- const V = H1(H), C = y1(H), M = H.ownerDocument.body, A = M1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = M1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8507
+ const V = H1(H), C = y1(H), M = H.ownerDocument.body, A = A1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = A1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8508
8508
  let i = -C.scrollLeft + t2(H);
8509
8509
  const e = -C.scrollTop;
8510
- return z(M).direction === "rtl" && (i += M1(V.clientWidth, M.clientWidth) - A), {
8510
+ return z(M).direction === "rtl" && (i += A1(V.clientWidth, M.clientWidth) - A), {
8511
8511
  width: A,
8512
8512
  height: L,
8513
8513
  x: i,
@@ -8530,7 +8530,7 @@ function k5(H, V) {
8530
8530
  };
8531
8531
  }
8532
8532
  function B5(H, V) {
8533
- const C = r1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8533
+ const C = r1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? i1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8534
8534
  return {
8535
8535
  width: i,
8536
8536
  height: e,
@@ -8557,7 +8557,7 @@ function K1(H, V, C) {
8557
8557
  return k1(M);
8558
8558
  }
8559
8559
  function m2(H, V) {
8560
- const C = e1(H);
8560
+ const C = d1(H);
8561
8561
  return C === V || !Y(C) || w1(C) ? !1 : z(C).position === "fixed" || m2(C, V);
8562
8562
  }
8563
8563
  function b5(H, V) {
@@ -8566,10 +8566,10 @@ function b5(H, V) {
8566
8566
  return C;
8567
8567
  let M = R1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8568
8568
  const L = z(H).position === "fixed";
8569
- let i = L ? e1(H) : H;
8569
+ let i = L ? d1(H) : H;
8570
8570
  for (; Y(i) && !w1(i); ) {
8571
8571
  const e = z(i), d = _1(i);
8572
- !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((n) => n !== i) : A = e, i = e1(i);
8572
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((n) => n !== i) : A = e, i = d1(i);
8573
8573
  }
8574
8574
  return V.set(H, M), M;
8575
8575
  }
@@ -8582,7 +8582,7 @@ function w5(H) {
8582
8582
  } = H;
8583
8583
  const i = [...C === "clippingAncestors" ? b5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, n) => {
8584
8584
  const a = K1(V, n, A);
8585
- return t.top = M1(a.top, t.top), t.right = n1(a.right, t.right), t.bottom = n1(a.bottom, t.bottom), t.left = M1(a.left, t.left), t;
8585
+ return t.top = A1(a.top, t.top), t.right = n1(a.right, t.right), t.bottom = n1(a.bottom, t.bottom), t.left = A1(a.left, t.left), t;
8586
8586
  }, K1(V, e, A));
8587
8587
  return {
8588
8588
  width: d.right - d.left,
@@ -8653,7 +8653,7 @@ const F5 = {
8653
8653
  getElementRects: v5,
8654
8654
  getClientRects: h5,
8655
8655
  getDimensions: y5,
8656
- getScale: A1,
8656
+ getScale: i1,
8657
8657
  isElement: Y,
8658
8658
  isRTL: T5
8659
8659
  }, R5 = (H, V, C) => {
@@ -8787,7 +8787,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8787
8787
  ignore: [L.value]
8788
8788
  }
8789
8789
  );
8790
- }), (B, y) => (m(), u(i1, null, [
8790
+ }), (B, y) => (m(), u(e1, null, [
8791
8791
  S("div", {
8792
8792
  ref_key: "trigger",
8793
8793
  ref: A,
@@ -8908,10 +8908,10 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8908
8908
  };
8909
8909
  }), a = W(), o = W(), l = W();
8910
8910
  function r(Z, g, b) {
8911
- var x, s, D;
8911
+ var E, s, x;
8912
8912
  if (!C.disabled) {
8913
- if (i.value = !0, b(), g && g(), i.value) {
8914
- (x = a.value) == null || x.classList.add("r-dropdown--active"), (s = a.value) == null || s.focus(), (D = o.value) == null || D.focus();
8913
+ if (i.value = !0, g && g(), i.value) {
8914
+ (E = a.value) == null || E.classList.add("r-dropdown--active"), (s = a.value) == null || s.focus(), (x = o.value) == null || x.focus();
8915
8915
  return;
8916
8916
  }
8917
8917
  k();
@@ -8921,11 +8921,11 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8921
8921
  var Z, g, b;
8922
8922
  i.value = !1, (Z = a.value) == null || Z.classList.remove("r-dropdown--active"), (g = a.value) == null || g.blur(), (b = o.value) == null || b.blur();
8923
8923
  }
8924
- function B(Z, g, b, x) {
8924
+ function B(Z, g, b, E) {
8925
8925
  var s;
8926
- if (Z.stopPropagation(), x(), !g.disabled) {
8926
+ if (Z.stopPropagation(), E(), !g.disabled) {
8927
8927
  if (C.multiple) {
8928
- L.value.find((D) => D.value === g.value) ? L.value.splice(L.value.indexOf(g), 1) : L.value.push(g), e.value = "", C.searchable && ((s = o.value) == null || s.focus());
8928
+ L.value.find((x) => x.value === g.value) ? L.value.splice(L.value.indexOf(g), 1) : L.value.push(g), e.value = "", C.searchable && ((s = o.value) == null || s.focus());
8929
8929
  return;
8930
8930
  }
8931
8931
  y(Z, g), C.closeOnSelect && (b(), k());
@@ -8942,8 +8942,8 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8942
8942
  if (Z instanceof KeyboardEvent && Z.key !== "Backspace" || e.value !== "")
8943
8943
  return;
8944
8944
  Z.stopPropagation(), b();
8945
- const x = L.value.findIndex((s) => s.value === g.value);
8946
- L.value.splice(x, 1);
8945
+ const E = L.value.findIndex((s) => s.value === g.value);
8946
+ L.value.splice(E, 1);
8947
8947
  }
8948
8948
  function v(Z, g) {
8949
8949
  var s;
@@ -8953,7 +8953,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8953
8953
  const b = e.value;
8954
8954
  if (b === "")
8955
8955
  return;
8956
- t.value.find((D) => D.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = o.value) == null || s.focus());
8956
+ t.value.find((x) => x.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = o.value) == null || s.focus());
8957
8957
  }
8958
8958
  function T(Z) {
8959
8959
  var g;
@@ -8996,7 +8996,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8996
8996
  type: "dropdown",
8997
8997
  onHide: k
8998
8998
  }, {
8999
- default: f1(({ activators: b, updatePosition: x }) => [
8999
+ default: f1(({ activators: b, updatePosition: E }) => [
9000
9000
  S("div", {
9001
9001
  ref_key: "dropdown",
9002
9002
  ref: a,
@@ -9008,7 +9008,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9008
9008
  group: e.value !== "" || L.value.length
9009
9009
  }]),
9010
9010
  role: "select",
9011
- onClickCapture: (s) => r(s, b.click, x)
9011
+ onClickCapture: M1((s) => r(s, b.click), ["stop"])
9012
9012
  }, [
9013
9013
  C.prependIcon || Z.$slots.prepend ? (m(), u("div", {
9014
9014
  key: 0,
@@ -9023,16 +9023,16 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9023
9023
  error: C.errorMsg.length,
9024
9024
  loading: C.loading
9025
9025
  }, () => [
9026
- C.prependIcon ? (m(), _(E, {
9026
+ C.prependIcon ? (m(), _(D, {
9027
9027
  key: 0,
9028
9028
  name: C.prependIcon
9029
9029
  }, null, 8, ["name"])) : h("", !0)
9030
9030
  ])
9031
9031
  ], 2)) : h("", !0),
9032
9032
  S("div", N5, [
9033
- (m(!0), u(i1, null, l1(L.value, (s, D) => O(Z.$slots, "selection", {
9034
- key: D,
9035
- index: D,
9033
+ (m(!0), u(e1, null, o1(L.value, (s, x) => O(Z.$slots, "selection", {
9034
+ key: x,
9035
+ index: x,
9036
9036
  option: s,
9037
9037
  removeOption: P
9038
9038
  }, () => [
@@ -9043,7 +9043,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9043
9043
  label: s.label,
9044
9044
  "no-wrap": "",
9045
9045
  variant: "primary",
9046
- "onClick:close": (U) => P(U, s, x)
9046
+ "onClick:close": (U) => P(U, s, E)
9047
9047
  }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), u("p", I5, w(`${s.label}, `), 1))
9048
9048
  ])), 128)),
9049
9049
  Y1(S("input", {
@@ -9060,10 +9060,10 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9060
9060
  readonly: G.value,
9061
9061
  role: "presentation",
9062
9062
  type: "text",
9063
- onInput: o1((s) => p(x), ["prevent"]),
9063
+ onInput: M1((s) => p(E), ["prevent"]),
9064
9064
  onKeydown: [
9065
- N1((s) => P(s, L.value[L.value.length - 1], x), ["backspace"]),
9066
- N1((s) => v(s, x), ["enter"])
9065
+ N1((s) => P(s, L.value[L.value.length - 1], E), ["backspace"]),
9066
+ N1((s) => v(s, E), ["enter"])
9067
9067
  ]
9068
9068
  }, null, 42, Q5), [
9069
9069
  [c2, e.value]
@@ -9073,10 +9073,10 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9073
9073
  key: 1,
9074
9074
  class: "r-dropdown__clearable",
9075
9075
  "data-has-value": (e.value !== "" || L.value.length) && i.value,
9076
- onClick: (s) => N(s, x)
9076
+ onClick: (s) => N(s, E)
9077
9077
  }, [
9078
9078
  O(Z.$slots, "clearable", {}, () => [
9079
- K(E, {
9079
+ K(D, {
9080
9080
  name: "mdiCloseCircle",
9081
9081
  size: "18"
9082
9082
  })
@@ -9095,7 +9095,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9095
9095
  error: C.errorMsg.length,
9096
9096
  loading: C.loading
9097
9097
  }, () => [
9098
- C.appendIcon ? (m(), _(E, {
9098
+ C.appendIcon ? (m(), _(D, {
9099
9099
  key: 0,
9100
9100
  name: C.appendIcon
9101
9101
  }, null, 8, ["name"])) : h("", !0)
@@ -9103,21 +9103,21 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9103
9103
  ], 2)) : h("", !0)
9104
9104
  ], 42, W5)
9105
9105
  ]),
9106
- content: f1(({ hide: b, updatePosition: x }) => [
9106
+ content: f1(({ hide: b, updatePosition: E }) => [
9107
9107
  S("ul", {
9108
9108
  class: c(["r-dropdown-options", {
9109
9109
  "r-dropdown-options--active": i.value,
9110
9110
  [C.optionsClass]: C.optionsClass
9111
9111
  }])
9112
9112
  }, [
9113
- (m(!0), u(i1, null, l1(R.value, (s) => (m(), u("li", {
9113
+ (m(!0), u(e1, null, o1(R.value, (s) => (m(), u("li", {
9114
9114
  key: s.value,
9115
9115
  "aria-disabled": s.disabled,
9116
9116
  class: c(["r-dropdown-options__option", {
9117
9117
  "r-dropdown-options__option--active": T(s),
9118
9118
  "r-dropdown-options__option--disabled": s.disabled
9119
9119
  }]),
9120
- onClick: o1((D) => B(D, s, b, x), ["prevent"])
9120
+ onClick: M1((x) => B(x, s, b, E), ["prevent"])
9121
9121
  }, [
9122
9122
  O(Z.$slots, "option", {
9123
9123
  disabled: s.disabled,
@@ -9128,7 +9128,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9128
9128
  disabled: s.disabled,
9129
9129
  isSelected: T(s)
9130
9130
  }, () => [
9131
- s.prependIcon ? (m(), _(E, {
9131
+ s.prependIcon ? (m(), _(D, {
9132
9132
  key: 0,
9133
9133
  class: c(["r-dropdown-options__option__prepend-icon", {
9134
9134
  "r-dropdown-options__option__prepend-icon--active": T(s)
@@ -9146,7 +9146,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9146
9146
  disabled: s.disabled,
9147
9147
  isSelected: T(s)
9148
9148
  }, () => [
9149
- T(s) && !C.hideOptionCheckIcon ? (m(), _(E, {
9149
+ T(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9150
9150
  key: 0,
9151
9151
  class: c(["r-dropdown-options__option__append-icon", {
9152
9152
  "r-dropdown-options__option__append-icon--active": T(s)
@@ -9234,7 +9234,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9234
9234
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9235
9235
  }), (e, d) => Y1((m(), u("div", {
9236
9236
  class: c(["r-modal-overlay", e.overlayClass]),
9237
- onClick: o1(i, ["stop"])
9237
+ onClick: M1(i, ["stop"])
9238
9238
  }, [
9239
9239
  S("div", {
9240
9240
  "aria-modal": "true",
@@ -9246,7 +9246,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9246
9246
  S("div", H3, [
9247
9247
  O(e.$slots, "header"),
9248
9248
  C.icon ? (m(), u("div", V3, [
9249
- K(E, {
9249
+ K(D, {
9250
9250
  name: C.icon
9251
9251
  }, null, 8, ["name"])
9252
9252
  ])) : h("", !0),
@@ -9344,7 +9344,7 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9344
9344
  class: c(A.value)
9345
9345
  }, [
9346
9346
  O(i.$slots, "icon", {}, () => [
9347
- C.variant ? (m(), _(E, {
9347
+ C.variant ? (m(), _(D, {
9348
9348
  key: 0,
9349
9349
  class: "r-snackbar__icon",
9350
9350
  name: L.value
@@ -9358,10 +9358,10 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9358
9358
  C.closable ? (m(), u("div", {
9359
9359
  key: 0,
9360
9360
  class: "r-snackbar__close",
9361
- onClick: e[0] || (e[0] = o1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9361
+ onClick: e[0] || (e[0] = M1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9362
9362
  }, [
9363
9363
  O(i.$slots, "close", {}, () => [
9364
- K(E, {
9364
+ K(D, {
9365
9365
  name: "mdiClose",
9366
9366
  size: 16
9367
9367
  })
@@ -9450,12 +9450,12 @@ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
9450
9450
  ], 2));
9451
9451
  }
9452
9452
  });
9453
- var m1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(m1 || {});
9453
+ var l1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(l1 || {});
9454
9454
  const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 = /* @__PURE__ */ F({
9455
9455
  __name: "RTabItem",
9456
9456
  props: {
9457
9457
  id: {},
9458
- variant: { default: m1.DEFAULT },
9458
+ variant: { default: l1.DEFAULT },
9459
9459
  label: { default: "" },
9460
9460
  prependIcon: { default: "" },
9461
9461
  appendIcon: { default: "" },
@@ -9484,20 +9484,20 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9484
9484
  class: c(A.value),
9485
9485
  disabled: C.disabled,
9486
9486
  style: x1(L.value),
9487
- onClick: t[0] || (t[0] = o1((n) => e(C.id), ["stop"]))
9487
+ onClick: t[0] || (t[0] = M1((n) => e(C.id), ["stop"]))
9488
9488
  }, [
9489
9489
  O(d.$slots, "prepend", {
9490
9490
  active: i.value,
9491
9491
  disabled: C.disabled
9492
9492
  }, () => [
9493
- C.variant !== V1(m1).TEXT && C.prependIcon ? (m(), _(E, {
9493
+ C.variant !== V1(l1).TEXT && C.prependIcon ? (m(), _(D, {
9494
9494
  key: 0,
9495
9495
  class: "r-tab-item__prepend-icon",
9496
9496
  name: C.prependIcon,
9497
9497
  size: 16
9498
9498
  }, null, 8, ["name"])) : h("", !0)
9499
9499
  ]),
9500
- C.variant !== V1(m1).ICON ? (m(), u("span", S3, [
9500
+ C.variant !== V1(l1).ICON ? (m(), u("span", S3, [
9501
9501
  O(d.$slots, "default", {
9502
9502
  label: C.label
9503
9503
  }, () => [
@@ -9508,7 +9508,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9508
9508
  active: i.value,
9509
9509
  disabled: C.disabled
9510
9510
  }, () => [
9511
- C.variant !== V1(m1).TEXT && C.appendIcon ? (m(), _(E, {
9511
+ C.variant !== V1(l1).TEXT && C.appendIcon ? (m(), _(D, {
9512
9512
  key: 0,
9513
9513
  class: "r-tab-item__append-icon",
9514
9514
  name: C.appendIcon,
@@ -9556,7 +9556,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9556
9556
  }]])
9557
9557
  }, [
9558
9558
  O(i.$slots, "default", { activeTab: A.value }, () => [
9559
- (m(!0), u(i1, null, l1(C.tabs, (d, t) => (m(), _(s3, {
9559
+ (m(!0), u(e1, null, o1(C.tabs, (d, t) => (m(), _(s3, {
9560
9560
  id: d.id,
9561
9561
  key: t,
9562
9562
  modelValue: A.value,
@@ -9774,7 +9774,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9774
9774
  error: a.value,
9775
9775
  loading: C.loading
9776
9776
  }, () => [
9777
- B.value ? (m(), _(E, {
9777
+ B.value ? (m(), _(D, {
9778
9778
  key: 0,
9779
9779
  class: c(r.value),
9780
9780
  name: B.value,
@@ -9802,7 +9802,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9802
9802
  error: a.value,
9803
9803
  loading: C.loading
9804
9804
  }, () => [
9805
- y.value && !p.$slots.append || a.value ? (m(), _(E, {
9805
+ y.value && !p.$slots.append || a.value ? (m(), _(D, {
9806
9806
  key: 0,
9807
9807
  class: c(k.value),
9808
9808
  name: `${y.value}`,
@@ -9832,7 +9832,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9832
9832
  return (C, M) => {
9833
9833
  const A = f2("router-link");
9834
9834
  return m(), u("div", P3, [
9835
- (m(!0), u(i1, null, l1(V.items, (L, i) => (m(), u("div", {
9835
+ (m(!0), u(e1, null, o1(V.items, (L, i) => (m(), u("div", {
9836
9836
  key: i,
9837
9837
  class: "r-breadcrumb__item"
9838
9838
  }, [
@@ -9842,7 +9842,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9842
9842
  }, {
9843
9843
  default: f1(() => [
9844
9844
  O(C.$slots, "item-icon", {}, () => [
9845
- L.icon ? (m(), _(E, {
9845
+ L.icon ? (m(), _(D, {
9846
9846
  key: 0,
9847
9847
  name: L.icon
9848
9848
  }, null, 8, ["name"])) : h("", !0)
@@ -9852,7 +9852,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 =
9852
9852
  _: 2
9853
9853
  }, 1032, ["to"]),
9854
9854
  O(C.$slots, "custom-seperator", {}, () => [
9855
- i !== C.items.length - 1 && V.seperator ? (m(), _(E, {
9855
+ i !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9856
9856
  key: 0,
9857
9857
  class: "r-breadcrumb__separator",
9858
9858
  name: V.seperator
@@ -10112,7 +10112,7 @@ export {
10112
10112
  e0 as RCheckbox,
10113
10113
  X2 as RChip,
10114
10114
  X5 as RDropdown,
10115
- E as RIcon,
10115
+ D as RIcon,
10116
10116
  s0 as RItem,
10117
10117
  S0 as RItemGroup,
10118
10118
  r2 as RLabel,