@rocketui/vue 0.0.90 → 0.0.92

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 v, openBlock as t, createElementBlock as a, createElementVNode as S, unref as c, reactive as X, Fragment as z, renderList as q, normalizeClass as g, renderSlot as b, toDisplayString as y, createVNode as $, computed as B, createCommentVNode as p, mergeProps as L2, createBlock as R, watch as E, getCurrentScope as M2, onScopeDispose as A2, ref as _, watchEffect as i2, onMounted as E1, Teleport as e2, withCtx as d1, withDirectives as W1, withKeys as B1, vModelText as d2, withModifiers as L1, createTextVNode as N1, normalizeStyle as h1, vShow as t2, resolveComponent as m2, provide as Z1, resolveDynamicComponent as l2, inject as u1 } from "vue";
1
+ import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as S, unref as c, reactive as X, Fragment as $, renderList as q, normalizeClass as g, renderSlot as b, toDisplayString as y, createVNode as z, computed as B, createCommentVNode as p, mergeProps as L2, createBlock as R, watch as E, getCurrentScope as M2, onScopeDispose as A2, ref as D, watchEffect as i2, onMounted as E1, Teleport as e2, withCtx as d1, withDirectives as W1, withKeys as B1, vModelText as d2, withModifiers as L1, createTextVNode as N1, normalizeStyle as h1, vShow as t2, resolveComponent as m2, provide as Z1, resolveDynamicComponent as l2, inject as u1 } from "vue";
2
2
  const o2 = {
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",
@@ -7317,7 +7317,7 @@ const o2 = {
7317
7317
  ], 8, r2));
7318
7318
  }
7319
7319
  });
7320
- const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title" }, S2 = { class: "r-accordion__icon" }, s2 = { class: "r-accordion__content" }, O3 = /* @__PURE__ */ v({
7320
+ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title" }, S2 = { class: "r-accordion__icon" }, s2 = { class: "r-accordion__content" }, c3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7336,7 +7336,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7336
7336
  C[i].open = i === M ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (M, A) => (t(!0), a(z, null, q(C, (i, e) => (t(), a("div", {
7339
+ return (M, A) => (t(!0), a($, null, q(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: g({
7342
7342
  "r-accordion": !0,
@@ -7352,7 +7352,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7352
7352
  S("div", u2, y(i.title), 1)
7353
7353
  ]),
7354
7354
  S("div", S2, [
7355
- $(x, { name: "mdiChevronUp" })
7355
+ z(x, { name: "mdiChevronUp" })
7356
7356
  ])
7357
7357
  ], 8, Z2),
7358
7358
  S("div", s2, [
@@ -7368,7 +7368,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7368
7368
  }, f2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, p3 = /* @__PURE__ */ v({
7371
+ }, O3 = /* @__PURE__ */ v({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7398,7 +7398,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7398
7398
  }, [
7399
7399
  S("div", c2, [
7400
7400
  b(i.$slots, "alert-icon", {}, () => [
7401
- $(x, {
7401
+ z(x, {
7402
7402
  name: c(M),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
@@ -7412,7 +7412,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7412
7412
  ]),
7413
7413
  C.closable ? (t(), a("div", f2, [
7414
7414
  b(i.$slots, "custom-close", {}, () => [
7415
- $(x, {
7415
+ z(x, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
@@ -7422,7 +7422,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7422
7422
  ])) : p("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), b1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", g2 = { class: "r-avatar__wrapper" }, k2 = ["alt", "src"], h3 = /* @__PURE__ */ v({
7425
+ }), b1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", g2 = { class: "r-avatar__wrapper" }, k2 = ["alt", "src"], p3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7467,7 +7467,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7467
7467
  }, null, 2)) : p("", !0)
7468
7468
  ]));
7469
7469
  }
7470
- }), B2 = { class: "r-badge-wrapper group" }, f3 = /* @__PURE__ */ v({
7470
+ }), B2 = { class: "r-badge-wrapper group" }, h3 = /* @__PURE__ */ v({
7471
7471
  __name: "RBadge",
7472
7472
  props: {
7473
7473
  variant: { default: "primary" },
@@ -7500,7 +7500,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7500
7500
  b(L.$slots, "default")
7501
7501
  ]));
7502
7502
  }
7503
- }), b2 = ["disabled"], g3 = /* @__PURE__ */ v({
7503
+ }), b2 = ["disabled"], f3 = /* @__PURE__ */ v({
7504
7504
  __name: "RButton",
7505
7505
  props: {
7506
7506
  variant: { default: "default" },
@@ -7564,7 +7564,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7564
7564
  }, D2 = {
7565
7565
  key: 1,
7566
7566
  class: "r-checkbox-texts__hint"
7567
- }, k3 = /* @__PURE__ */ v({
7567
+ }, g3 = /* @__PURE__ */ v({
7568
7568
  __name: "RCheckbox",
7569
7569
  props: {
7570
7570
  id: { default: "" },
@@ -7630,7 +7630,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7630
7630
  class: g(c(i)),
7631
7631
  "data-disabled": C.disabled
7632
7632
  }, [
7633
- $(x, {
7633
+ z(x, {
7634
7634
  name: c(A),
7635
7635
  size: 24
7636
7636
  }, null, 8, ["name"])
@@ -7857,8 +7857,8 @@ const j2 = (H) => ({ name: "arrow", options: H, async fn(V) {
7857
7857
  const l = z1(L), r = { x: M, y: A }, m = i1(i), Z = r1(i), n = f1(m), u = await d.getDimensions(C), h = m === "y" ? "top" : "left", f = m === "y" ? "bottom" : "right", P = e.reference[n] + e.reference[m] - r[m] - e.floating[n], T = r[m] - e.reference[m], w = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
7858
7858
  let O = w ? m === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0;
7859
7859
  O === 0 && (O = e.floating[n]);
7860
- const s = P / 2 - T / 2, F = l[h], o = O - u[n] - l[f], k = O / 2 - u[n] / 2 + s, D = O1(F, k, o), W = (Z === "start" ? l[h] : l[f]) > 0 && k !== D && e.reference[n] <= e.floating[n];
7861
- return { [m]: r[m] - (W ? k < F ? F - k : o - k : 0), data: { [m]: D, centerOffset: k - D } };
7860
+ const s = P / 2 - T / 2, F = l[h], o = O - u[n] - l[f], k = O / 2 - u[n] / 2 + s, _ = O1(F, k, o), j = (Z === "start" ? l[h] : l[f]) > 0 && k !== _ && e.reference[n] <= e.floating[n];
7861
+ return { [m]: r[m] - (j ? k < F ? F - k : o - k : 0), data: { [m]: _, centerOffset: k - _ } };
7862
7862
  } }), q2 = { left: "right", right: "left", bottom: "top", top: "bottom" };
7863
7863
  function l1(H) {
7864
7864
  return H.replace(/left|right|bottom|top/g, (V) => q2[V]);
@@ -7879,32 +7879,32 @@ const J2 = function(H) {
7879
7879
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
7880
7880
  var C;
7881
7881
  const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: r = !0, fallbackPlacements: m, fallbackStrategy: Z = "bestFit", flipAlignment: n = !0, ...u } = H, h = A1(L), f = m || (h === i || !n ? [l1(i)] : function(k) {
7882
- const D = l1(k);
7883
- return [P1(k), D, P1(D)];
7882
+ const _ = l1(k);
7883
+ return [P1(k), _, P1(_)];
7884
7884
  }(i)), P = [i, ...f], T = await m1(V, u), w = [];
7885
7885
  let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
7886
7886
  if (l && w.push(T[h]), r) {
7887
- const { main: k, cross: D } = Y2(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
7888
- w.push(T[k], T[D]);
7887
+ const { main: k, cross: _ } = Y2(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
7888
+ w.push(T[k], T[_]);
7889
7889
  }
7890
7890
  if (O = [...O, { placement: L, overflows: w }], !w.every((k) => k <= 0)) {
7891
7891
  var s, F;
7892
- const k = ((s = (F = M.flip) == null ? void 0 : F.index) != null ? s : 0) + 1, D = P[k];
7893
- if (D)
7894
- return { data: { index: k, overflows: O }, reset: { placement: D } };
7895
- let W = "bottom";
7892
+ const k = ((s = (F = M.flip) == null ? void 0 : F.index) != null ? s : 0) + 1, _ = P[k];
7893
+ if (_)
7894
+ return { data: { index: k, overflows: O }, reset: { placement: _ } };
7895
+ let j = "bottom";
7896
7896
  switch (Z) {
7897
7897
  case "bestFit": {
7898
7898
  var o;
7899
7899
  const k1 = (o = O.map((e1) => [e1, e1.overflows.filter((J) => J > 0).reduce((J, V2) => J + V2, 0)]).sort((e1, J) => e1[1] - J[1])[0]) == null ? void 0 : o[0].placement;
7900
- k1 && (W = k1);
7900
+ k1 && (j = k1);
7901
7901
  break;
7902
7902
  }
7903
7903
  case "initialPlacement":
7904
- W = i;
7904
+ j = i;
7905
7905
  }
7906
- if (L !== W)
7907
- return { reset: { placement: W } };
7906
+ if (L !== j)
7907
+ return { reset: { placement: j } };
7908
7908
  }
7909
7909
  return {};
7910
7910
  } };
@@ -7967,7 +7967,7 @@ const L5 = function(H) {
7967
7967
  function $1(H) {
7968
7968
  return H && H.document && H.location && H.alert && H.setInterval;
7969
7969
  }
7970
- function G(H) {
7970
+ function Q(H) {
7971
7971
  if (H == null)
7972
7972
  return window;
7973
7973
  if (!$1(H)) {
@@ -7976,34 +7976,34 @@ function G(H) {
7976
7976
  }
7977
7977
  return H;
7978
7978
  }
7979
- function I(H) {
7980
- return G(H).getComputedStyle(H);
7979
+ function N(H) {
7980
+ return Q(H).getComputedStyle(H);
7981
7981
  }
7982
- function K(H) {
7982
+ function U(H) {
7983
7983
  return $1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
7984
7984
  }
7985
7985
  function K1() {
7986
7986
  const H = navigator.userAgentData;
7987
7987
  return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
7988
7988
  }
7989
- function Q(H) {
7990
- return H instanceof G(H).HTMLElement;
7989
+ function I(H) {
7990
+ return H instanceof Q(H).HTMLElement;
7991
7991
  }
7992
7992
  function Y(H) {
7993
- return H instanceof G(H).Element;
7993
+ return H instanceof Q(H).Element;
7994
7994
  }
7995
7995
  function F1(H) {
7996
- return typeof ShadowRoot > "u" ? !1 : H instanceof G(H).ShadowRoot || H instanceof ShadowRoot;
7996
+ return typeof ShadowRoot > "u" ? !1 : H instanceof Q(H).ShadowRoot || H instanceof ShadowRoot;
7997
7997
  }
7998
7998
  function n1(H) {
7999
- const { overflow: V, overflowX: C, overflowY: L, display: M } = I(H);
7999
+ const { overflow: V, overflowX: C, overflowY: L, display: M } = N(H);
8000
8000
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8001
8001
  }
8002
8002
  function M5(H) {
8003
- return ["table", "td", "th"].includes(K(H));
8003
+ return ["table", "td", "th"].includes(U(H));
8004
8004
  }
8005
8005
  function p1(H) {
8006
- const V = /firefox/i.test(K1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8006
+ const V = /firefox/i.test(K1()), C = N(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8007
8007
  return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((M) => C.willChange.includes(M)) || ["paint", "layout", "strict", "content"].some((M) => {
8008
8008
  const A = C.contain;
8009
8009
  return A != null && A.includes(M);
@@ -8013,60 +8013,60 @@ function j1() {
8013
8013
  return !/^((?!chrome|android).)*safari/i.test(K1());
8014
8014
  }
8015
8015
  function g1(H) {
8016
- return ["html", "body", "#document"].includes(K(H));
8016
+ return ["html", "body", "#document"].includes(U(H));
8017
8017
  }
8018
8018
  const R1 = Math.min, V1 = Math.max, o1 = Math.round;
8019
- function j(H, V, C) {
8019
+ function K(H, V, C) {
8020
8020
  var L, M, A, i;
8021
8021
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8022
8022
  const e = H.getBoundingClientRect();
8023
8023
  let d = 1, l = 1;
8024
- V && Q(H) && (d = H.offsetWidth > 0 && o1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && o1(e.height) / H.offsetHeight || 1);
8025
- const r = Y(H) ? G(H) : window, m = !j1() && C, Z = (e.left + (m && (L = (M = r.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (m && (A = (i = r.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, u = e.width / d, h = e.height / l;
8024
+ V && I(H) && (d = H.offsetWidth > 0 && o1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && o1(e.height) / H.offsetHeight || 1);
8025
+ const r = Y(H) ? Q(H) : window, m = !j1() && C, Z = (e.left + (m && (L = (M = r.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (m && (A = (i = r.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, u = e.width / d, h = e.height / l;
8026
8026
  return { width: u, height: h, top: n, right: Z + u, bottom: n + h, left: Z, x: Z, y: n };
8027
8027
  }
8028
- function U(H) {
8029
- return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8028
+ function G(H) {
8029
+ return (V = H, (V instanceof Q(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8030
8030
  var V;
8031
8031
  }
8032
8032
  function a1(H) {
8033
8033
  return Y(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8034
8034
  }
8035
8035
  function q1(H) {
8036
- return j(U(H)).left + a1(H).scrollLeft;
8036
+ return K(G(H)).left + a1(H).scrollLeft;
8037
8037
  }
8038
8038
  function A5(H, V, C) {
8039
- const L = Q(V), M = U(V), A = j(H, L && function(d) {
8040
- const l = j(d);
8039
+ const L = I(V), M = G(V), A = K(H, L && function(d) {
8040
+ const l = K(d);
8041
8041
  return o1(l.width) !== d.offsetWidth || o1(l.height) !== d.offsetHeight;
8042
8042
  }(V), C === "fixed");
8043
8043
  let i = { scrollLeft: 0, scrollTop: 0 };
8044
8044
  const e = { x: 0, y: 0 };
8045
8045
  if (L || !L && C !== "fixed")
8046
- if ((K(V) !== "body" || n1(M)) && (i = a1(V)), Q(V)) {
8047
- const d = j(V, !0);
8046
+ if ((U(V) !== "body" || n1(M)) && (i = a1(V)), I(V)) {
8047
+ const d = K(V, !0);
8048
8048
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8049
8049
  } else
8050
8050
  M && (e.x = q1(M));
8051
8051
  return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
8052
8052
  }
8053
8053
  function M1(H) {
8054
- if (K(H) === "html")
8054
+ if (U(H) === "html")
8055
8055
  return H;
8056
- const V = H.assignedSlot || H.parentNode || (F1(H) ? H.host : null) || U(H);
8056
+ const V = H.assignedSlot || H.parentNode || (F1(H) ? H.host : null) || G(H);
8057
8057
  return F1(V) ? V.host : V;
8058
8058
  }
8059
8059
  function x1(H) {
8060
- return Q(H) && I(H).position !== "fixed" ? H.offsetParent : null;
8060
+ return I(H) && N(H).position !== "fixed" ? H.offsetParent : null;
8061
8061
  }
8062
8062
  function D1(H) {
8063
- const V = G(H);
8063
+ const V = Q(H);
8064
8064
  let C = x1(H);
8065
- for (; C && M5(C) && I(C).position === "static"; )
8065
+ for (; C && M5(C) && N(C).position === "static"; )
8066
8066
  C = x1(C);
8067
- return C && (K(C) === "html" || K(C) === "body" && I(C).position === "static" && !p1(C)) ? V : C || function(L) {
8067
+ return C && (U(C) === "html" || U(C) === "body" && N(C).position === "static" && !p1(C)) ? V : C || function(L) {
8068
8068
  let M = M1(L);
8069
- for (; Q(M) && !g1(M); ) {
8069
+ for (; I(M) && !g1(M); ) {
8070
8070
  if (p1(M))
8071
8071
  return M;
8072
8072
  M = M1(M);
@@ -8076,17 +8076,17 @@ function D1(H) {
8076
8076
  }
8077
8077
  function Y1(H) {
8078
8078
  const V = M1(H);
8079
- return g1(V) ? H.ownerDocument.body : Q(V) && n1(V) ? V : Y1(V);
8079
+ return g1(V) ? H.ownerDocument.body : I(V) && n1(V) ? V : Y1(V);
8080
8080
  }
8081
8081
  function X1(H, V) {
8082
8082
  var C;
8083
8083
  V === void 0 && (V = []);
8084
- const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], n1(L) ? L : []) : L, e = V.concat(i);
8084
+ const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = Q(L), i = M ? [A].concat(A.visualViewport || [], n1(L) ? L : []) : L, e = V.concat(i);
8085
8085
  return M ? e : e.concat(X1(i));
8086
8086
  }
8087
8087
  function _1(H, V, C) {
8088
8088
  return V === "viewport" ? t1(function(L, M) {
8089
- const A = G(L), i = U(L), e = A.visualViewport;
8089
+ const A = Q(L), i = G(L), e = A.visualViewport;
8090
8090
  let d = i.clientWidth, l = i.clientHeight, r = 0, m = 0;
8091
8091
  if (e) {
8092
8092
  d = e.width, l = e.height;
@@ -8095,24 +8095,24 @@ function _1(H, V, C) {
8095
8095
  }
8096
8096
  return { width: d, height: l, x: r, y: m };
8097
8097
  }(H, C)) : Y(V) ? function(L, M) {
8098
- const A = j(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8098
+ const A = K(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8099
8099
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8100
8100
  }(V, C) : t1(function(L) {
8101
8101
  var M;
8102
- const A = U(L), i = a1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = V1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = V1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8102
+ const A = G(L), i = a1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = V1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = V1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8103
8103
  let r = -i.scrollLeft + q1(L);
8104
8104
  const m = -i.scrollTop;
8105
- return I(e || A).direction === "rtl" && (r += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: r, y: m };
8106
- }(U(H)));
8105
+ return N(e || A).direction === "rtl" && (r += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: r, y: m };
8106
+ }(G(H)));
8107
8107
  }
8108
8108
  const i5 = { getClippingRect: function(H) {
8109
8109
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8110
8110
  const A = C === "clippingAncestors" ? function(l) {
8111
- let r = X1(l).filter((u) => Y(u) && K(u) !== "body"), m = null;
8112
- const Z = I(l).position === "fixed";
8111
+ let r = X1(l).filter((u) => Y(u) && U(u) !== "body"), m = null;
8112
+ const Z = N(l).position === "fixed";
8113
8113
  let n = Z ? M1(l) : l;
8114
8114
  for (; Y(n) && !g1(n); ) {
8115
- const u = I(n), h = p1(n);
8115
+ const u = N(n), h = p1(n);
8116
8116
  (Z ? h || m : h || u.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = u : r = r.filter((f) => f !== n), n = M1(n);
8117
8117
  }
8118
8118
  return r;
@@ -8123,27 +8123,27 @@ const i5 = { getClippingRect: function(H) {
8123
8123
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8124
8124
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8125
8125
  let { rect: V, offsetParent: C, strategy: L } = H;
8126
- const M = Q(C), A = U(C);
8126
+ const M = I(C), A = G(C);
8127
8127
  if (C === A)
8128
8128
  return V;
8129
8129
  let i = { scrollLeft: 0, scrollTop: 0 };
8130
8130
  const e = { x: 0, y: 0 };
8131
- if ((M || !M && L !== "fixed") && ((K(C) !== "body" || n1(A)) && (i = a1(C)), Q(C))) {
8132
- const d = j(C, !0);
8131
+ if ((M || !M && L !== "fixed") && ((U(C) !== "body" || n1(A)) && (i = a1(C)), I(C))) {
8132
+ const d = K(C, !0);
8133
8133
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8134
8134
  }
8135
8135
  return { ...V, x: V.x - i.scrollLeft + e.x, y: V.y - i.scrollTop + e.y };
8136
8136
  }, isElement: Y, getDimensions: function(H) {
8137
- if (Q(H))
8137
+ if (I(H))
8138
8138
  return { width: H.offsetWidth, height: H.offsetHeight };
8139
- const V = j(H);
8139
+ const V = K(H);
8140
8140
  return { width: V.width, height: V.height };
8141
- }, getOffsetParent: D1, getDocumentElement: U, async getElementRects(H) {
8141
+ }, getOffsetParent: D1, getDocumentElement: G, async getElementRects(H) {
8142
8142
  let { reference: V, floating: C, strategy: L } = H;
8143
8143
  const M = this.getOffsetParent || D1, A = this.getDimensions;
8144
8144
  return { reference: A5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
8145
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, e5 = (H, V, C) => U2(H, V, { platform: i5, ...C });
8146
- var J1 = /* @__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))(J1 || {}), N = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(N || {}), C2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(C2 || {});
8145
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => N(H).direction === "rtl" }, e5 = (H, V, C) => U2(H, V, { platform: i5, ...C });
8146
+ var J1 = /* @__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))(J1 || {}), W = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(W || {}), C2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(C2 || {});
8147
8147
  async function s1({ value: H }, { value: V }, { value: C }, L, M, A, i = 300, e) {
8148
8148
  !H || !V || e5(H, V, {
8149
8149
  placement: L,
@@ -8190,7 +8190,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8190
8190
  text: { default: "" },
8191
8191
  dark: { type: Boolean, default: !0 },
8192
8192
  light: { type: Boolean, default: !1 },
8193
- triggers: { default: () => [N.Hover] },
8193
+ triggers: { default: () => [W.Hover] },
8194
8194
  autoHide: { type: Boolean, default: !0 },
8195
8195
  hideDelay: { default: 3e3 },
8196
8196
  showDelay: { default: 300 },
@@ -8207,7 +8207,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8207
8207
  },
8208
8208
  emits: ["show", "hide"],
8209
8209
  setup(H, { emit: V }) {
8210
- const C = H, L = _(null), M = _(null), A = _(null);
8210
+ const C = H, L = D(null), M = D(null), A = D(null);
8211
8211
  async function i() {
8212
8212
  const { placement: u, offset: h, padding: f, disabled: P, showDelay: T, type: w } = C;
8213
8213
  P || (M.value.style.display = "block", V("show"), s1(L, M, A, u, h, f, T, w), d());
@@ -8221,17 +8221,17 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8221
8221
  }, C.hideDelay);
8222
8222
  }
8223
8223
  function l() {
8224
- C.disabled || C.triggers.includes(N.Click) && (M.value.style.display === "block" ? e() : i());
8224
+ C.disabled || C.triggers.includes(W.Click) && (M.value.style.display === "block" ? e() : i());
8225
8225
  }
8226
8226
  function r() {
8227
- C.disabled || C.triggers.includes(N.Hover) && i();
8227
+ C.disabled || C.triggers.includes(W.Hover) && i();
8228
8228
  }
8229
8229
  function m() {
8230
- C.disabled || (M.value.style.display === "" && C.triggers.includes(N.Hover) ? i() : M.value.style.display !== "" && C.triggers.includes(N.Hover) && e());
8230
+ C.disabled || (M.value.style.display === "" && C.triggers.includes(W.Hover) ? i() : M.value.style.display !== "" && C.triggers.includes(W.Hover) && e());
8231
8231
  }
8232
8232
  function Z() {
8233
8233
  const { placement: u, offset: h, padding: f, disabled: P, showDelay: T, type: w } = C;
8234
- P || C.triggers.includes(N.Hover) && s1(L, M, A, u, h, f, T, w);
8234
+ P || C.triggers.includes(W.Hover) && s1(L, M, A, u, h, f, T, w);
8235
8235
  }
8236
8236
  const n = B(() => ({
8237
8237
  tooltip: !0,
@@ -8243,7 +8243,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8243
8243
  P || C.resizable && s1(L, M, A, u, h, f, T, w);
8244
8244
  }, i2(
8245
8245
  () => {
8246
- C.disabled || (C.shown && C.triggers.includes(N.Manual) ? i() : !C.shown && C.triggers.includes(N.Manual) && e());
8246
+ C.disabled || (C.shown && C.triggers.includes(W.Manual) ? i() : !C.shown && C.triggers.includes(W.Manual) && e());
8247
8247
  },
8248
8248
  { flush: "post" }
8249
8249
  // this is important to avoid infinite loop & for fire on mounted
@@ -8257,7 +8257,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8257
8257
  ignore: [M.value]
8258
8258
  }
8259
8259
  );
8260
- }), (u, h) => (t(), a(z, null, [
8260
+ }), (u, h) => (t(), a($, null, [
8261
8261
  S("div", {
8262
8262
  ref_key: "trigger",
8263
8263
  ref: L,
@@ -8324,7 +8324,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8324
8324
  }, S5 = {
8325
8325
  key: 0,
8326
8326
  class: "r-dropdown-error"
8327
- }, B3 = /* @__PURE__ */ v({
8327
+ }, k3 = /* @__PURE__ */ v({
8328
8328
  __name: "RDropdown",
8329
8329
  props: {
8330
8330
  options: { default: () => [] },
@@ -8346,7 +8346,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8346
8346
  },
8347
8347
  emits: ["update:modelValue"],
8348
8348
  setup(H, { emit: V }) {
8349
- const C = H, L = _({ value: "", label: "" }), M = X([]), A = _(!1), i = _(""), e = _(), d = _(), l = _();
8349
+ const C = H, L = D({ value: "", label: "" }), M = X([]), A = D(!1), i = D(""), e = D(), d = D(), l = D();
8350
8350
  function r(O, s) {
8351
8351
  var F, o, k;
8352
8352
  if (O.stopPropagation(), !C.disabled) {
@@ -8413,7 +8413,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8413
8413
  ref: l,
8414
8414
  class: "r-dropdown-wrapper"
8415
8415
  }, [
8416
- $(m5, {
8416
+ z(m5, {
8417
8417
  "auto-hide": !1,
8418
8418
  offset: 0,
8419
8419
  "outside-click": "",
@@ -8452,17 +8452,17 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8452
8452
  ])
8453
8453
  ], 2)) : p("", !0),
8454
8454
  C.taggable ? (t(), a("div", o5, [
8455
- (t(!0), a(z, null, q(M, (o, k) => (t(), R(E2, {
8455
+ (t(!0), a($, null, q(M, (o, k) => (t(), R(E2, {
8456
8456
  key: k,
8457
8457
  "append-icon": "close",
8458
8458
  class: "r-dropdown__tags__chip",
8459
8459
  label: o.label,
8460
8460
  variant: "primary",
8461
- "onClick:close": (D) => u(D, o)
8461
+ "onClick:close": (_) => u(_, o)
8462
8462
  }, null, 8, ["label", "onClick:close"]))), 128))
8463
8463
  ])) : p("", !0),
8464
8464
  C.multiple ? (t(), a("div", r5, [
8465
- (t(!0), a(z, null, q(M, (o, k) => (t(), a("p", { key: k }, y(`${o.label},`), 1))), 128))
8465
+ (t(!0), a($, null, q(M, (o, k) => (t(), a("p", { key: k }, y(`${o.label},`), 1))), 128))
8466
8466
  ])) : p("", !0),
8467
8467
  W1(S("input", {
8468
8468
  id: C.id,
@@ -8506,7 +8506,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8506
8506
  [C.optionsClass]: C.optionsClass
8507
8507
  }])
8508
8508
  }, [
8509
- (t(!0), a(z, null, q(c(P), (o) => (t(), a("li", {
8509
+ (t(!0), a($, null, q(c(P), (o) => (t(), a("li", {
8510
8510
  key: o.value,
8511
8511
  "aria-disabled": o.disabled,
8512
8512
  class: g(["r-dropdown-options__option", {
@@ -8574,7 +8574,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8574
8574
  }, g5 = {
8575
8575
  key: 2,
8576
8576
  class: "description"
8577
- }, k5 = { class: "r-dialog__body" }, B5 = { class: "r-dialog__actions" }, b3 = /* @__PURE__ */ v({
8577
+ }, k5 = { class: "r-dialog__body" }, B5 = { class: "r-dialog__actions" }, B3 = /* @__PURE__ */ v({
8578
8578
  __name: "RModal",
8579
8579
  props: {
8580
8580
  modelValue: { type: Boolean, default: !1 },
@@ -8616,7 +8616,7 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8616
8616
  S("div", p5, [
8617
8617
  b(i.$slots, "header"),
8618
8618
  C.icon ? (t(), a("div", h5, [
8619
- $(x, {
8619
+ z(x, {
8620
8620
  name: C.icon
8621
8621
  }, null, 8, ["name"])
8622
8622
  ])) : p("", !0),
@@ -8634,31 +8634,30 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8634
8634
  [t2, H.modelValue]
8635
8635
  ]);
8636
8636
  }
8637
- }), b5 = ["data-open"], y5 = { class: "r-sidebar__nav" }, w5 = { class: "r-sidebar__actions" }, P5 = ["data-open"], T5 = /* @__PURE__ */ N1(" > "), y3 = /* @__PURE__ */ v({
8637
+ }), b5 = ["data-open"], y5 = ["data-open"], w5 = ["data-open"], P5 = /* @__PURE__ */ N1(" > "), b3 = /* @__PURE__ */ v({
8638
8638
  __name: "RSidebar",
8639
8639
  props: {
8640
8640
  modelValue: { type: Boolean, default: !1 },
8641
8641
  showTrigger: { type: Boolean, default: !0 },
8642
8642
  class: null,
8643
- triggerClass: null
8643
+ triggerClass: null,
8644
+ wrapperClass: null
8644
8645
  },
8645
8646
  emits: ["update:modelValue"],
8646
8647
  setup(H) {
8647
8648
  const V = H, C = B(() => ({
8648
8649
  "r-sidebar": !0
8649
8650
  }));
8650
- return (L, M) => (t(), a(z, null, [
8651
+ return (L, M) => (t(), a("div", {
8652
+ class: g(["r-sidebar__wrapper", [L.$props.wrapperClass]]),
8653
+ "data-open": V.modelValue
8654
+ }, [
8651
8655
  S("aside", {
8652
8656
  class: g([c(C), V.class]),
8653
8657
  "data-open": V.modelValue
8654
8658
  }, [
8655
- S("nav", y5, [
8656
- b(L.$slots, "default")
8657
- ]),
8658
- S("div", w5, [
8659
- b(L.$slots, "actions")
8660
- ])
8661
- ], 10, b5),
8659
+ b(L.$slots, "default")
8660
+ ], 10, y5),
8662
8661
  V.showTrigger ? (t(), a("div", {
8663
8662
  key: 0,
8664
8663
  class: g(["r-sidebar__trigger", [V.triggerClass]]),
@@ -8666,15 +8665,15 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8666
8665
  onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8667
8666
  }, [
8668
8667
  b(L.$slots, "trigger", {}, () => [
8669
- T5
8668
+ P5
8670
8669
  ])
8671
- ], 10, P5)) : p("", !0)
8672
- ], 64));
8670
+ ], 10, w5)) : p("", !0)
8671
+ ], 10, b5));
8673
8672
  }
8674
- }), v5 = { class: "r-snackbar__text" }, F5 = {
8673
+ }), T5 = { class: "r-snackbar__text" }, v5 = {
8675
8674
  key: 0,
8676
8675
  class: "r-snackbar__close"
8677
- }, w3 = /* @__PURE__ */ v({
8676
+ }, y3 = /* @__PURE__ */ v({
8678
8677
  __name: "RSnackbar",
8679
8678
  props: {
8680
8679
  modelValue: { type: Boolean, default: !1 },
@@ -8721,11 +8720,11 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8721
8720
  name: c(M)
8722
8721
  }, null, 8, ["name"])) : p("", !0)
8723
8722
  ]),
8724
- S("div", v5, y(C.text), 1),
8723
+ S("div", T5, y(C.text), 1),
8725
8724
  b(A.$slots, "action"),
8726
- C.closable ? (t(), a("div", F5, [
8725
+ C.closable ? (t(), a("div", v5, [
8727
8726
  b(A.$slots, "close", {}, () => [
8728
- $(x, {
8727
+ z(x, {
8729
8728
  name: "mdiClose",
8730
8729
  size: 16,
8731
8730
  onClick: i[0] || (i[0] = L1((e) => A.$emit("update:modelValue", !1), ["stop"]))
@@ -8734,16 +8733,16 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8734
8733
  ])) : p("", !0)
8735
8734
  ], 2));
8736
8735
  }
8737
- }), R5 = ["id", "checked"], x5 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), D5 = ["id", "for"], _5 = {
8736
+ }), F5 = ["id", "checked", "disabled"], R5 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), x5 = ["id", "for"], D5 = {
8738
8737
  key: 0,
8739
8738
  class: "r-switch-texts__details"
8740
- }, E5 = {
8739
+ }, _5 = {
8741
8740
  key: 0,
8742
8741
  class: "r-switch-texts__error"
8743
- }, W5 = {
8742
+ }, E5 = {
8744
8743
  key: 1,
8745
8744
  class: "r-switch-texts__hint"
8746
- }, P3 = /* @__PURE__ */ v({
8745
+ }, w3 = /* @__PURE__ */ v({
8747
8746
  __name: "RSwitch",
8748
8747
  props: {
8749
8748
  id: { default: "switch" },
@@ -8792,10 +8791,11 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8792
8791
  id: C.id,
8793
8792
  checked: L.checked,
8794
8793
  class: "r-switch__input",
8794
+ disabled: C.disabled,
8795
8795
  type: "checkbox",
8796
8796
  onChange: A
8797
- }, null, 40, R5),
8798
- x5
8797
+ }, null, 40, F5),
8798
+ R5
8799
8799
  ], 2),
8800
8800
  S("div", {
8801
8801
  class: g(["r-switch-texts", {
@@ -8806,19 +8806,19 @@ const d5 = ["aria-disabled"], t5 = ["innerHTML"], m5 = /* @__PURE__ */ v({
8806
8806
  id: C.id,
8807
8807
  class: "r-switch-texts__label",
8808
8808
  for: C.id
8809
- }, y(C.label), 9, D5),
8810
- C.hideDetails ? p("", !0) : (t(), a("div", _5, [
8811
- C.errorMsg ? (t(), a("p", E5, y(C.errorMsg), 1)) : (t(), a("p", W5, y(C.hint), 1))
8809
+ }, y(C.label), 9, x5),
8810
+ C.hideDetails ? p("", !0) : (t(), a("div", D5, [
8811
+ C.errorMsg ? (t(), a("p", _5, y(C.errorMsg), 1)) : (t(), a("p", E5, y(C.hint), 1))
8812
8812
  ]))
8813
8813
  ], 2)
8814
8814
  ], 2));
8815
8815
  }
8816
8816
  });
8817
8817
  var H1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(H1 || {});
8818
- const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8818
+ const W5 = ["aria-disabled", "aria-selected", "disabled"], N5 = {
8819
8819
  key: 0,
8820
8820
  class: "r-tab-item__label"
8821
- }, Q5 = /* @__PURE__ */ v({
8821
+ }, I5 = /* @__PURE__ */ v({
8822
8822
  __name: "RTabItem",
8823
8823
  props: {
8824
8824
  id: null,
@@ -8864,7 +8864,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8864
8864
  size: 16
8865
8865
  }, null, 8, ["name"])) : p("", !0)
8866
8866
  ]),
8867
- C.variant !== c(H1).ICON ? (t(), a("span", I5, y(C.label), 1)) : p("", !0),
8867
+ C.variant !== c(H1).ICON ? (t(), a("span", N5, y(C.label), 1)) : p("", !0),
8868
8868
  b(e.$slots, "append", {}, () => [
8869
8869
  C.variant !== c(H1).TEXT && C.appendIcon ? (t(), R(x, {
8870
8870
  key: 0,
@@ -8874,9 +8874,9 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8874
8874
  onClick: L1(i, ["stop"])
8875
8875
  }, null, 8, ["name", "onClick"])) : p("", !0)
8876
8876
  ])
8877
- ], 14, N5));
8877
+ ], 14, W5));
8878
8878
  }
8879
- }), T3 = /* @__PURE__ */ v({
8879
+ }), P3 = /* @__PURE__ */ v({
8880
8880
  __name: "RTabs",
8881
8881
  props: {
8882
8882
  tabs: { default: () => [] },
@@ -8887,7 +8887,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8887
8887
  },
8888
8888
  emits: ["update:modelValue", "click:icon"],
8889
8889
  setup(H, { emit: V }) {
8890
- const C = H, L = _(C.modelValue || C.tabs[0].id), M = B(() => ({
8890
+ const C = H, L = D(C.modelValue || C.tabs[0].id), M = B(() => ({
8891
8891
  "r-tabs": !0,
8892
8892
  "r-tabs--block": C.block,
8893
8893
  "r-tabs--tile": C.tile,
@@ -8906,7 +8906,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8906
8906
  class: g(c(M))
8907
8907
  }, [
8908
8908
  b(i.$slots, "default", {}, () => [
8909
- (t(!0), a(z, null, q(C.tabs, (d, l) => (t(), R(Q5, {
8909
+ (t(!0), a($, null, q(C.tabs, (d, l) => (t(), R(I5, {
8910
8910
  id: d.id,
8911
8911
  key: l,
8912
8912
  modelValue: L.value,
@@ -8924,16 +8924,16 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8924
8924
  ])
8925
8925
  ], 2));
8926
8926
  }
8927
- }), G5 = { class: "r-textarea-wrapper" }, z5 = ["id", "disabled", "placeholder", "value"], U5 = {
8927
+ }), Q5 = { class: "r-textarea-wrapper" }, G5 = ["id", "disabled", "placeholder", "value"], z5 = {
8928
8928
  key: 1,
8929
8929
  class: "r-textarea__details"
8930
- }, $5 = {
8930
+ }, U5 = {
8931
8931
  key: 0,
8932
8932
  class: "r-textarea__error"
8933
- }, K5 = {
8933
+ }, $5 = {
8934
8934
  key: 1,
8935
8935
  class: "r-textarea__hint"
8936
- }, v3 = /* @__PURE__ */ v({
8936
+ }, T3 = /* @__PURE__ */ v({
8937
8937
  __name: "RTextArea",
8938
8938
  props: {
8939
8939
  id: { default: "" },
@@ -8961,7 +8961,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8961
8961
  {
8962
8962
  immediate: !0
8963
8963
  }
8964
- ), (A, i) => (t(), a("div", G5, [
8964
+ ), (A, i) => (t(), a("div", Q5, [
8965
8965
  C.label ? (t(), R(H2, {
8966
8966
  key: 0,
8967
8967
  id: "textarea",
@@ -8979,22 +8979,22 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
8979
8979
  placeholder: C.placeholder,
8980
8980
  value: L.value,
8981
8981
  onInput: M
8982
- }, null, 42, z5),
8983
- C.hideDetails ? p("", !0) : (t(), a("div", U5, [
8984
- C.errorMsg ? (t(), a("p", $5, y(C.errorMsg), 1)) : (t(), a("p", K5, y(C.hint), 1))
8982
+ }, null, 42, G5),
8983
+ C.hideDetails ? p("", !0) : (t(), a("div", z5, [
8984
+ C.errorMsg ? (t(), a("p", U5, y(C.errorMsg), 1)) : (t(), a("p", $5, y(C.hint), 1))
8985
8985
  ]))
8986
8986
  ]));
8987
8987
  }
8988
- }), j5 = { class: "r-textfield__wrapper" }, q5 = { class: "input-wrapper" }, Y5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], X5 = {
8988
+ }), K5 = { class: "r-textfield__wrapper" }, j5 = { class: "input-wrapper" }, q5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], Y5 = {
8989
8989
  key: 0,
8990
8990
  class: "r-textfield__details"
8991
- }, J5 = {
8991
+ }, X5 = {
8992
8992
  key: 0,
8993
8993
  class: "r-textfield__error"
8994
- }, C3 = {
8994
+ }, J5 = {
8995
8995
  key: 1,
8996
8996
  class: "r-textfield__hint"
8997
- }, F3 = /* @__PURE__ */ v({
8997
+ }, v3 = /* @__PURE__ */ v({
8998
8998
  __name: "RTextfield",
8999
8999
  props: {
9000
9000
  id: { default: "" },
@@ -9022,26 +9022,26 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9022
9022
  "click:clear"
9023
9023
  ],
9024
9024
  setup(H, { emit: V }) {
9025
- const C = H, L = _(), M = X({
9025
+ const C = H, L = D(), M = X({
9026
9026
  value: ""
9027
- }), A = _(C.type), i = {
9027
+ }), A = D(C.type), i = {
9028
9028
  password: "mdiLock",
9029
9029
  email: "mdiEmailOutline",
9030
9030
  tel: "mdiPhone",
9031
9031
  url: "mdiLink",
9032
9032
  number: "mdiNumeric",
9033
9033
  text: ""
9034
- }, e = _(!1), d = B(() => !!M.value), l = B(() => M.value.length > 0), r = B(() => {
9034
+ }, e = D(!1), d = B(() => !!M.value), l = B(() => M.value.length > 0), r = B(() => {
9035
9035
  var o;
9036
9036
  return (o = C.errorMsg) == null ? void 0 : o.length;
9037
9037
  }), m = B(() => C.clearable && l.value), Z = B(() => {
9038
- const { disabled: o, loading: k, clearable: D, errorMsg: W } = C;
9038
+ const { disabled: o, loading: k } = C;
9039
9039
  return {
9040
9040
  "r-textfield": !0,
9041
- "r-textfield--error": W == null ? void 0 : W.length,
9041
+ "r-textfield--error": r.value,
9042
9042
  "r-textfield--loading": k,
9043
9043
  "r-textfield--disabled": o,
9044
- "r-textfield--clearable": D,
9044
+ "r-textfield--clearable": m.value,
9045
9045
  "r-textfield--focus": e.value,
9046
9046
  "r-textfield--filled": d.value
9047
9047
  };
@@ -9104,62 +9104,60 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9104
9104
  A.value === "number" ? +o : o
9105
9105
  );
9106
9106
  }
9107
- ), (o, k) => (t(), a("fieldset", null, [
9107
+ ), (o, k) => (t(), a("div", K5, [
9108
+ C.label ? (t(), R(H2, {
9109
+ key: 0,
9110
+ id: C.id,
9111
+ class: "r-textfield__label",
9112
+ for: C.id,
9113
+ text: C.label,
9114
+ onClick: F
9115
+ }, null, 8, ["id", "for", "text"])) : p("", !0),
9108
9116
  S("div", j5, [
9109
- C.label ? (t(), R(H2, {
9110
- key: 0,
9111
- id: C.id,
9112
- class: "r-textfield__label",
9113
- for: C.id,
9114
- text: C.label,
9115
- onClick: F
9116
- }, null, 8, ["id", "for", "text"])) : p("", !0),
9117
- S("div", q5, [
9118
- S("div", {
9119
- class: g(c(Z))
9120
- }, [
9121
- b(o.$slots, "prepend"),
9122
- c(h) && !o.$slots.prepend ? (t(), R(x, {
9123
- key: 0,
9124
- class: g(c(n)),
9125
- name: c(h),
9126
- size: 20
9127
- }, null, 8, ["class", "name"])) : p("", !0),
9128
- S("input", {
9129
- id: C.id,
9130
- ref_key: "inputRef",
9131
- ref: L,
9132
- disabled: C.disabled,
9133
- max: C.max,
9134
- min: C.min,
9135
- placeholder: C.placeholder,
9136
- type: A.value,
9137
- value: M.value,
9138
- onBlur: T,
9139
- onFocus: P,
9140
- onInput: w
9141
- }, null, 40, Y5),
9142
- b(o.$slots, "append"),
9143
- c(f) && !o.$slots.append ? (t(), R(x, {
9144
- key: 1,
9145
- class: g(c(u)),
9146
- name: `${c(f)}`,
9147
- size: 20,
9148
- onClick: O
9149
- }, null, 8, ["class", "name"])) : p("", !0)
9150
- ], 2),
9151
- C.hideDetails ? p("", !0) : (t(), a("div", X5, [
9152
- C.errorMsg ? (t(), a("p", J5, y(C.errorMsg), 1)) : p("", !0),
9153
- !C.errorMsg && C.hint ? (t(), a("p", C3, y(C.hint), 1)) : p("", !0)
9154
- ]))
9155
- ])
9117
+ S("div", {
9118
+ class: g(c(Z))
9119
+ }, [
9120
+ b(o.$slots, "prepend"),
9121
+ c(h) && !o.$slots.prepend ? (t(), R(x, {
9122
+ key: 0,
9123
+ class: g(c(n)),
9124
+ name: c(h),
9125
+ size: 20
9126
+ }, null, 8, ["class", "name"])) : p("", !0),
9127
+ S("input", {
9128
+ id: C.id,
9129
+ ref_key: "inputRef",
9130
+ ref: L,
9131
+ disabled: C.disabled,
9132
+ max: C.max,
9133
+ min: C.min,
9134
+ placeholder: C.placeholder,
9135
+ type: A.value,
9136
+ value: M.value,
9137
+ onBlur: T,
9138
+ onFocus: P,
9139
+ onInput: w
9140
+ }, null, 40, q5),
9141
+ c(r) ? p("", !0) : b(o.$slots, "append", { key: 1 }),
9142
+ c(f) && !o.$slots.append || c(r) ? (t(), R(x, {
9143
+ key: 2,
9144
+ class: g(c(u)),
9145
+ name: `${c(f)}`,
9146
+ size: 20,
9147
+ onClick: O
9148
+ }, null, 8, ["class", "name"])) : p("", !0)
9149
+ ], 2),
9150
+ C.hideDetails ? p("", !0) : (t(), a("div", Y5, [
9151
+ C.errorMsg ? (t(), a("p", X5, y(C.errorMsg), 1)) : p("", !0),
9152
+ !C.errorMsg && C.hint ? (t(), a("p", J5, y(C.hint), 1)) : p("", !0)
9153
+ ]))
9156
9154
  ])
9157
9155
  ]));
9158
9156
  }
9159
- }), H3 = { class: "r-breadcrumb" }, V3 = {
9157
+ }), C3 = { class: "r-breadcrumb" }, H3 = {
9160
9158
  key: 0,
9161
9159
  class: "r-breadcrumb__title"
9162
- }, R3 = /* @__PURE__ */ v({
9160
+ }, F3 = /* @__PURE__ */ v({
9163
9161
  __name: "RBreadcrumb",
9164
9162
  props: {
9165
9163
  items: { default: () => [] },
@@ -9169,12 +9167,12 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9169
9167
  const V = H;
9170
9168
  return (C, L) => {
9171
9169
  const M = m2("router-link");
9172
- return t(), a("div", H3, [
9173
- (t(!0), a(z, null, q(V.items, (A, i) => (t(), a("div", {
9170
+ return t(), a("div", C3, [
9171
+ (t(!0), a($, null, q(V.items, (A, i) => (t(), a("div", {
9174
9172
  key: i,
9175
9173
  class: "r-breadcrumb__item"
9176
9174
  }, [
9177
- $(M, {
9175
+ z(M, {
9178
9176
  class: "r-breadcrumb__link",
9179
9177
  to: A.to
9180
9178
  }, {
@@ -9185,7 +9183,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9185
9183
  name: A.icon
9186
9184
  }, null, 8, ["name"])) : p("", !0)
9187
9185
  ]),
9188
- A.onlyIcon ? p("", !0) : (t(), a("span", V3, y(A.title), 1))
9186
+ A.onlyIcon ? p("", !0) : (t(), a("span", H3, y(A.title), 1))
9189
9187
  ]),
9190
9188
  _: 2
9191
9189
  }, 1032, ["to"]),
@@ -9200,21 +9198,21 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9200
9198
  ]);
9201
9199
  };
9202
9200
  }
9203
- }), L3 = { class: "r-pagination" }, M3 = { class: "r-pagination__page-info" }, A3 = { key: 0 }, i3 = { class: "r-pagination__page-info__current-page" }, e3 = { class: "r-pagination__page-info__total-pages" }, d3 = { class: "r-pagination__paginator" }, t3 = ["disabled"], m3 = /* @__PURE__ */ S("path", {
9201
+ }), V3 = { class: "r-pagination" }, L3 = { class: "r-pagination__page-info" }, M3 = { key: 0 }, A3 = { class: "r-pagination__page-info__current-page" }, i3 = { class: "r-pagination__page-info__total-pages" }, e3 = { class: "r-pagination__paginator" }, d3 = ["disabled"], t3 = /* @__PURE__ */ S("path", {
9204
9202
  d: "M0 0h24v24H0z",
9205
9203
  fill: "none",
9206
9204
  stroke: "none"
9207
- }, null, -1), l3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), o3 = [
9208
- m3,
9209
- l3
9210
- ], r3 = ["max", "value"], n3 = ["disabled"], a3 = /* @__PURE__ */ S("path", {
9205
+ }, null, -1), m3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), l3 = [
9206
+ t3,
9207
+ m3
9208
+ ], o3 = ["max", "value"], r3 = ["disabled"], n3 = /* @__PURE__ */ S("path", {
9211
9209
  d: "M0 0h24v24H0z",
9212
9210
  fill: "none",
9213
9211
  stroke: "none"
9214
- }, null, -1), Z3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), u3 = [
9215
- a3,
9216
- Z3
9217
- ], S3 = { class: "r-pagination__paginator__total" }, x3 = /* @__PURE__ */ v({
9212
+ }, null, -1), a3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), Z3 = [
9213
+ n3,
9214
+ a3
9215
+ ], u3 = { class: "r-pagination__paginator__total" }, R3 = /* @__PURE__ */ v({
9218
9216
  __name: "RPagination",
9219
9217
  props: {
9220
9218
  page: { default: 1 },
@@ -9229,14 +9227,14 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9229
9227
  const C = H, L = B(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9230
9228
  A < 1 || A > L.value || V("update:page", A);
9231
9229
  };
9232
- return (A, i) => (t(), a("div", L3, [
9233
- S("div", M3, [
9234
- H.slash ? p("", !0) : (t(), a("span", A3, y(C.pageText), 1)),
9235
- S("span", i3, y(C.page), 1),
9230
+ return (A, i) => (t(), a("div", V3, [
9231
+ S("div", L3, [
9232
+ H.slash ? p("", !0) : (t(), a("span", M3, y(C.pageText), 1)),
9233
+ S("span", A3, y(C.page), 1),
9236
9234
  S("span", null, y(H.slash ? "/" : C.ofText), 1),
9237
- S("span", e3, y(c(L)), 1)
9235
+ S("span", i3, y(c(L)), 1)
9238
9236
  ]),
9239
- S("div", d3, [
9237
+ S("div", e3, [
9240
9238
  S("button", {
9241
9239
  class: "r-pagination__paginator__prev",
9242
9240
  disabled: C.page === 1,
@@ -9254,9 +9252,9 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9254
9252
  viewBox: "0 0 24 24",
9255
9253
  width: "16",
9256
9254
  xmlns: "http://www.w3.org/2000/svg"
9257
- }, o3, 2))
9255
+ }, l3, 2))
9258
9256
  ])
9259
- ], 8, t3),
9257
+ ], 8, d3),
9260
9258
  S("input", {
9261
9259
  class: "r-pagination__paginator__input",
9262
9260
  max: c(L),
@@ -9267,7 +9265,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9267
9265
  var d;
9268
9266
  return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9269
9267
  })
9270
- }, null, 40, r3),
9268
+ }, null, 40, o3),
9271
9269
  S("button", {
9272
9270
  class: "r-pagination__paginator__next",
9273
9271
  disabled: C.page === c(L),
@@ -9285,14 +9283,14 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9285
9283
  viewBox: "0 0 24 24",
9286
9284
  width: "16",
9287
9285
  xmlns: "http://www.w3.org/2000/svg"
9288
- }, u3, 2))
9286
+ }, Z3, 2))
9289
9287
  ])
9290
- ], 8, n3),
9291
- S("div", S3, "/ " + y(c(L)), 1)
9288
+ ], 8, r3),
9289
+ S("div", u3, "/ " + y(c(L)), 1)
9292
9290
  ])
9293
9291
  ]));
9294
9292
  }
9295
- }), s3 = ["value"], D3 = /* @__PURE__ */ v({
9293
+ }), S3 = ["value"], x3 = /* @__PURE__ */ v({
9296
9294
  __name: "RProgressbar",
9297
9295
  props: {
9298
9296
  value: { default: 0 },
@@ -9307,9 +9305,9 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9307
9305
  role: "progressbar",
9308
9306
  style: h1({ height: V.height + "px" }),
9309
9307
  value: V.value
9310
- }, null, 12, s3));
9308
+ }, null, 12, S3));
9311
9309
  }
9312
- }), _3 = /* @__PURE__ */ v({
9310
+ }), D3 = /* @__PURE__ */ v({
9313
9311
  __name: "RItemGroup",
9314
9312
  props: {
9315
9313
  modelValue: { default: () => [] },
@@ -9322,7 +9320,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9322
9320
  },
9323
9321
  emits: ["update:modelValue"],
9324
9322
  setup(H, { emit: V }) {
9325
- const C = H, L = "rocket-ui:r-item-group", M = _(C.as ?? "div"), A = _(C.modelValue ?? []), i = B(() => C.selectedClass);
9323
+ const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = B(() => C.selectedClass);
9326
9324
  Z1(`${L}:selectedClass`, i.value);
9327
9325
  function e(l) {
9328
9326
  return A.value.includes(l);
@@ -9342,7 +9340,7 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9342
9340
  _: 3
9343
9341
  }));
9344
9342
  }
9345
- }), E3 = /* @__PURE__ */ v({
9343
+ }), _3 = /* @__PURE__ */ v({
9346
9344
  __name: "RItem",
9347
9345
  props: {
9348
9346
  value: { default: null },
@@ -9368,28 +9366,28 @@ const N5 = ["aria-disabled", "aria-selected", "disabled"], I5 = {
9368
9366
  }
9369
9367
  });
9370
9368
  export {
9371
- O3 as RAccordion,
9372
- p3 as RAlert,
9373
- h3 as RAvatar,
9374
- f3 as RBadge,
9375
- R3 as RBreadcrumb,
9376
- g3 as RButton,
9377
- k3 as RCheckbox,
9369
+ c3 as RAccordion,
9370
+ O3 as RAlert,
9371
+ p3 as RAvatar,
9372
+ h3 as RBadge,
9373
+ F3 as RBreadcrumb,
9374
+ f3 as RButton,
9375
+ g3 as RCheckbox,
9378
9376
  E2 as RChip,
9379
- B3 as RDropdown,
9377
+ k3 as RDropdown,
9380
9378
  x as RIcon,
9381
- E3 as RItem,
9382
- _3 as RItemGroup,
9379
+ _3 as RItem,
9380
+ D3 as RItemGroup,
9383
9381
  H2 as RLabel,
9384
- b3 as RModal,
9385
- x3 as RPagination,
9386
- D3 as RProgressbar,
9387
- y3 as RSidebar,
9388
- w3 as RSnackbar,
9389
- P3 as RSwitch,
9390
- Q5 as RTabItem,
9391
- T3 as RTabs,
9392
- v3 as RTextArea,
9393
- F3 as RTextfield,
9382
+ B3 as RModal,
9383
+ R3 as RPagination,
9384
+ x3 as RProgressbar,
9385
+ b3 as RSidebar,
9386
+ y3 as RSnackbar,
9387
+ w3 as RSwitch,
9388
+ I5 as RTabItem,
9389
+ P3 as RTabs,
9390
+ T3 as RTextArea,
9391
+ v3 as RTextfield,
9394
9392
  m5 as RTooltip
9395
9393
  };