@rocketui/vue 0.0.95 → 0.0.97

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 m, createElementBlock as o, createElementVNode as S, unref as L1, reactive as d1, Fragment as H1, renderList as M1, normalizeClass as p, renderSlot as h, toDisplayString as y, createVNode as j, computed as k, createCommentVNode as O, mergeProps as j1, createBlock as F, Transition as Z2, withCtx as n1, watch as Q, getCurrentScope as u2, onScopeDispose as S2, ref as _, watchEffect as s2, onMounted as q1, Teleport as c2, withDirectives as Y1, withKeys as N1, vModelText as O2, withModifiers as r1, createTextVNode as X1, normalizeStyle as R1, vShow as p2, resolveComponent as f2, provide as k1, resolveDynamicComponent as h2, inject as B1 } from "vue";
1
+ import { defineComponent as v, openBlock as m, createElementBlock as o, createElementVNode as S, unref as L1, reactive as d1, Fragment as H1, renderList as M1, normalizeClass as p, renderSlot as h, toDisplayString as y, createVNode as j, computed as k, createCommentVNode as O, mergeProps as a2, createBlock as F, Transition as Z2, withCtx as n1, watch as Q, getCurrentScope as u2, onScopeDispose as S2, ref as _, watchEffect as s2, onMounted as q1, Teleport as c2, withDirectives as Y1, withKeys as W1, vModelText as O2, withModifiers as r1, createTextVNode as R1, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as k1, resolveDynamicComponent as h2, inject as B1 } 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",
@@ -7317,7 +7317,7 @@ const g2 = {
7317
7317
  ], 8, k2));
7318
7318
  }
7319
7319
  });
7320
- const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title" }, P2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, Y3 = /* @__PURE__ */ v({
7320
+ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title" }, P2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, q3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: {}
@@ -7368,7 +7368,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7368
7368
  }, D2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, X3 = /* @__PURE__ */ v({
7371
+ }, Y3 = /* @__PURE__ */ v({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7422,11 +7422,11 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7422
7422
  ])) : O("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), W1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", _2 = { class: "r-avatar__wrapper" }, E2 = ["alt", "src"], J3 = /* @__PURE__ */ v({
7425
+ }), I1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", _2 = { class: "r-avatar__wrapper" }, E2 = ["alt", "src"], X3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
7429
- src: { default: W1 },
7429
+ src: { default: I1 },
7430
7430
  alt: { default: "Avatar" },
7431
7431
  size: { default: "2xl" },
7432
7432
  online: { type: Boolean, default: !1 },
@@ -7436,7 +7436,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7436
7436
  const V = H, C = k(() => ({
7437
7437
  "r-avatar": !0,
7438
7438
  [`r-avatar--${V.size}`]: !0
7439
- })), L = k(() => V.type === "image" && !V.src), A = k(() => L.value ? W1 : V.src), M = (i) => {
7439
+ })), L = k(() => V.type === "image" && !V.src), A = k(() => L.value ? I1 : V.src), M = (i) => {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
@@ -7467,7 +7467,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7467
7467
  }, null, 2)) : O("", !0)
7468
7468
  ]));
7469
7469
  }
7470
- }), N2 = { class: "r-badge-wrapper group" }, C0 = /* @__PURE__ */ v({
7470
+ }), N2 = { class: "r-badge-wrapper group" }, J3 = /* @__PURE__ */ v({
7471
7471
  __name: "RBadge",
7472
7472
  props: {
7473
7473
  variant: { default: "primary" },
@@ -7500,7 +7500,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7500
7500
  h(L.$slots, "default")
7501
7501
  ]));
7502
7502
  }
7503
- }), W2 = ["disabled"], H0 = /* @__PURE__ */ v({
7503
+ }), W2 = ["disabled"], C0 = /* @__PURE__ */ v({
7504
7504
  __name: "RButton",
7505
7505
  props: {
7506
7506
  variant: { default: "default" },
@@ -7532,7 +7532,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7532
7532
  })[V.size || "medium"]), A = k(() => ({
7533
7533
  height: V.height ? `${V.height}px` : ""
7534
7534
  }));
7535
- return (M, i) => (m(), o("button", j1(M.$attrs, {
7535
+ return (M, i) => (m(), o("button", a2(M.$attrs, {
7536
7536
  class: C.value,
7537
7537
  disabled: M.disabled,
7538
7538
  style: A.value,
@@ -7573,7 +7573,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7573
7573
  }, q2 = {
7574
7574
  key: 1,
7575
7575
  class: "r-checkbox-texts__hint"
7576
- }, V0 = /* @__PURE__ */ v({
7576
+ }, H0 = /* @__PURE__ */ v({
7577
7577
  __name: "RCheckbox",
7578
7578
  props: {
7579
7579
  id: { default: "" },
@@ -7714,30 +7714,30 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7714
7714
  function J2(H) {
7715
7715
  return u2() ? (S2(H), !0) : !1;
7716
7716
  }
7717
- function J1(H) {
7717
+ function X1(H) {
7718
7718
  return typeof H == "function" ? H() : L1(H);
7719
7719
  }
7720
- const C2 = typeof window < "u" && typeof document < "u", C5 = Object.prototype.toString, H5 = (H) => C5.call(H) === "[object Object]", P1 = () => {
7720
+ const J1 = typeof window < "u" && typeof document < "u", C5 = Object.prototype.toString, H5 = (H) => C5.call(H) === "[object Object]", P1 = () => {
7721
7721
  }, V5 = /* @__PURE__ */ L5();
7722
7722
  function L5() {
7723
7723
  var H;
7724
- return C2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7724
+ return J1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7725
7725
  }
7726
7726
  function l1(H) {
7727
7727
  var V;
7728
- const C = J1(H);
7728
+ const C = X1(H);
7729
7729
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7730
7730
  }
7731
- const H2 = C2 ? window : void 0;
7731
+ const C2 = J1 ? window : void 0;
7732
7732
  function b1(...H) {
7733
7733
  let V, C, L, A;
7734
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, A] = H, V = H2) : [V, C, L, A] = H, !V)
7734
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, A] = H, V = C2) : [V, C, L, A] = H, !V)
7735
7735
  return P1;
7736
7736
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7737
7737
  const M = [], i = () => {
7738
7738
  M.forEach((Z) => Z()), M.length = 0;
7739
7739
  }, e = (Z, r, n, l) => (Z.addEventListener(r, n, l), () => Z.removeEventListener(r, n, l)), d = Q(
7740
- () => [l1(V), J1(A)],
7740
+ () => [l1(V), X1(A)],
7741
7741
  ([Z, r]) => {
7742
7742
  if (i(), !Z)
7743
7743
  return;
@@ -7752,12 +7752,12 @@ function b1(...H) {
7752
7752
  };
7753
7753
  return J2(t), t;
7754
7754
  }
7755
- let I1 = !1;
7755
+ let Q1 = !1;
7756
7756
  function M5(H, V, C = {}) {
7757
- const { window: L = H2, ignore: A = [], capture: M = !0, detectIframe: i = !1 } = C;
7757
+ const { window: L = C2, ignore: A = [], capture: M = !0, detectIframe: i = !1 } = C;
7758
7758
  if (!L)
7759
7759
  return;
7760
- V5 && !I1 && (I1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", P1)), L.document.documentElement.addEventListener("click", P1));
7760
+ V5 && !Q1 && (Q1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", P1)), L.document.documentElement.addEventListener("click", P1));
7761
7761
  let e = !0;
7762
7762
  const d = (n) => A.some((l) => {
7763
7763
  if (typeof l == "string")
@@ -7815,21 +7815,21 @@ function V1(H) {
7815
7815
  function u1(H) {
7816
7816
  return H.split("-")[1];
7817
7817
  }
7818
- function V2(H) {
7818
+ function H2(H) {
7819
7819
  return H === "x" ? "y" : "x";
7820
7820
  }
7821
- function x1(H) {
7821
+ function D1(H) {
7822
7822
  return H === "y" ? "height" : "width";
7823
7823
  }
7824
7824
  function f1(H) {
7825
7825
  return ["top", "bottom"].includes(V1(H)) ? "y" : "x";
7826
7826
  }
7827
- function D1(H) {
7828
- return V2(f1(H));
7827
+ function _1(H) {
7828
+ return H2(f1(H));
7829
7829
  }
7830
7830
  function d5(H, V, C) {
7831
7831
  C === void 0 && (C = !1);
7832
- const L = u1(H), A = D1(H), M = x1(A);
7832
+ const L = u1(H), A = _1(H), M = D1(A);
7833
7833
  let i = A === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
7834
7834
  return V.reference[M] > V.floating[M] && (i = c1(i)), [i, c1(i)];
7835
7835
  }
@@ -7870,7 +7870,7 @@ function o5(H) {
7870
7870
  ...H
7871
7871
  };
7872
7872
  }
7873
- function L2(H) {
7873
+ function V2(H) {
7874
7874
  return typeof H != "number" ? o5(H) : {
7875
7875
  top: H,
7876
7876
  right: H,
@@ -7887,12 +7887,12 @@ function O1(H) {
7887
7887
  bottom: H.y + H.height
7888
7888
  };
7889
7889
  }
7890
- function Q1(H, V, C) {
7890
+ function G1(H, V, C) {
7891
7891
  let {
7892
7892
  reference: L,
7893
7893
  floating: A
7894
7894
  } = H;
7895
- const M = f1(V), i = D1(V), e = x1(i), d = V1(V), t = M === "y", Z = L.x + L.width / 2 - A.width / 2, r = L.y + L.height / 2 - A.height / 2, n = L[e] / 2 - A[e] / 2;
7895
+ const M = f1(V), i = _1(V), e = D1(i), d = V1(V), t = M === "y", Z = L.x + L.width / 2 - A.width / 2, r = L.y + L.height / 2 - A.height / 2, n = L[e] / 2 - A[e] / 2;
7896
7896
  let l;
7897
7897
  switch (d) {
7898
7898
  case "top":
@@ -7949,7 +7949,7 @@ const n5 = async (H, V, C) => {
7949
7949
  }), {
7950
7950
  x: Z,
7951
7951
  y: r
7952
- } = Q1(t, L, d), n = L, l = {}, a = 0;
7952
+ } = G1(t, L, d), n = L, l = {}, a = 0;
7953
7953
  for (let B = 0; B < e.length; B++) {
7954
7954
  const {
7955
7955
  name: g,
@@ -7987,7 +7987,7 @@ const n5 = async (H, V, C) => {
7987
7987
  }) : s.rects), {
7988
7988
  x: Z,
7989
7989
  y: r
7990
- } = Q1(t, n, d)), B = -1;
7990
+ } = G1(t, n, d)), B = -1;
7991
7991
  continue;
7992
7992
  }
7993
7993
  }
@@ -8015,7 +8015,7 @@ async function p1(H, V) {
8015
8015
  elementContext: r = "floating",
8016
8016
  altBoundary: n = !1,
8017
8017
  padding: l = 0
8018
- } = t1(V, H), a = L2(l), g = e[n ? r === "floating" ? "reference" : "floating" : r], b = O1(await M.getClippingRect({
8018
+ } = t1(V, H), a = V2(l), g = e[n ? r === "floating" ? "reference" : "floating" : r], b = O1(await M.getClippingRect({
8019
8019
  element: (C = await (M.isElement == null ? void 0 : M.isElement(g))) == null || C ? g : g.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)),
8020
8020
  boundary: t,
8021
8021
  rootBoundary: Z,
@@ -8060,10 +8060,10 @@ const r5 = (H) => ({
8060
8060
  } = t1(H, V) || {};
8061
8061
  if (t == null)
8062
8062
  return {};
8063
- const r = L2(Z), n = {
8063
+ const r = V2(Z), n = {
8064
8064
  x: C,
8065
8065
  y: L
8066
- }, l = D1(A), a = x1(l), B = await i.getDimensions(t), g = l === "y", b = g ? "top" : "left", P = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", x = M.reference[a] + M.reference[l] - n[l] - M.floating[a], s = n[l] - M.reference[l], f = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8066
+ }, l = _1(A), a = D1(l), B = await i.getDimensions(t), g = l === "y", b = g ? "top" : "left", P = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", x = M.reference[a] + M.reference[l] - n[l] - M.floating[a], s = n[l] - M.reference[l], f = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8067
8067
  let w = f ? f[T] : 0;
8068
8068
  (!w || !await (i.isElement == null ? void 0 : i.isElement(f))) && (w = e.floating[T] || M.floating[a]);
8069
8069
  const u = x / 2 - s / 2, c = w / 2 - B[a] / 2 - 1, D = a1(r[b], c), C1 = a1(r[P], c), W = D, m1 = w - B[a] - C1, E = w / 2 - B[a] / 2 + u, G = T1(W, E, m1), z = !d.arrow && u1(A) != null && E != G && M.reference[a] / 2 - (E < W ? D : C1) - B[a] / 2 < 0, $ = z ? E < W ? E - W : E - m1 : 0;
@@ -8132,7 +8132,7 @@ const r5 = (H) => ({
8132
8132
  switch (l) {
8133
8133
  case "bestFit": {
8134
8134
  var C1;
8135
- const G = (C1 = u.map((z) => [z.placement, z.overflows.filter(($) => $ > 0).reduce(($, a2) => $ + a2, 0)]).sort((z, $) => z[1] - $[1])[0]) == null ? void 0 : C1[0];
8135
+ const G = (C1 = u.map((z) => [z.placement, z.overflows.filter(($) => $ > 0).reduce(($, r2) => $ + r2, 0)]).sort((z, $) => z[1] - $[1])[0]) == null ? void 0 : C1[0];
8136
8136
  G && (E = G);
8137
8137
  break;
8138
8138
  }
@@ -8151,7 +8151,7 @@ const r5 = (H) => ({
8151
8151
  }
8152
8152
  };
8153
8153
  };
8154
- function G1(H, V) {
8154
+ function z1(H, V) {
8155
8155
  return {
8156
8156
  top: H.top - V.height,
8157
8157
  right: H.right - V.width,
@@ -8159,7 +8159,7 @@ function G1(H, V) {
8159
8159
  left: H.left - V.width
8160
8160
  };
8161
8161
  }
8162
- function z1(H) {
8162
+ function U1(H) {
8163
8163
  return A5.some((V) => H[V] >= 0);
8164
8164
  }
8165
8165
  const Z5 = function(H) {
@@ -8178,11 +8178,11 @@ const Z5 = function(H) {
8178
8178
  const M = await p1(V, {
8179
8179
  ...A,
8180
8180
  elementContext: "reference"
8181
- }), i = G1(M, C.reference);
8181
+ }), i = z1(M, C.reference);
8182
8182
  return {
8183
8183
  data: {
8184
8184
  referenceHiddenOffsets: i,
8185
- referenceHidden: z1(i)
8185
+ referenceHidden: U1(i)
8186
8186
  }
8187
8187
  };
8188
8188
  }
@@ -8190,11 +8190,11 @@ const Z5 = function(H) {
8190
8190
  const M = await p1(V, {
8191
8191
  ...A,
8192
8192
  altBoundary: !0
8193
- }), i = G1(M, C.floating);
8193
+ }), i = z1(M, C.floating);
8194
8194
  return {
8195
8195
  data: {
8196
8196
  escapedOffsets: i,
8197
- escaped: z1(i)
8197
+ escaped: U1(i)
8198
8198
  }
8199
8199
  };
8200
8200
  }
@@ -8276,7 +8276,7 @@ const S5 = function(H) {
8276
8276
  } = t1(H, V), t = {
8277
8277
  x: C,
8278
8278
  y: L
8279
- }, Z = await p1(V, d), r = f1(V1(A)), n = V2(r);
8279
+ }, Z = await p1(V, d), r = f1(V1(A)), n = H2(r);
8280
8280
  let l = t[n], a = t[r];
8281
8281
  if (M) {
8282
8282
  const g = n === "y" ? "top" : "left", b = n === "y" ? "bottom" : "right", P = l + Z[g], T = l - Z[b];
@@ -8302,7 +8302,7 @@ const S5 = function(H) {
8302
8302
  };
8303
8303
  };
8304
8304
  function X(H) {
8305
- return M2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8305
+ return L2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8306
8306
  }
8307
8307
  function N(H) {
8308
8308
  var V;
@@ -8310,9 +8310,9 @@ function N(H) {
8310
8310
  }
8311
8311
  function J(H) {
8312
8312
  var V;
8313
- return (V = (M2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8313
+ return (V = (L2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8314
8314
  }
8315
- function M2(H) {
8315
+ function L2(H) {
8316
8316
  return H instanceof Node || H instanceof N(H).Node;
8317
8317
  }
8318
8318
  function q(H) {
@@ -8321,7 +8321,7 @@ function q(H) {
8321
8321
  function U(H) {
8322
8322
  return H instanceof HTMLElement || H instanceof N(H).HTMLElement;
8323
8323
  }
8324
- function U1(H) {
8324
+ function $1(H) {
8325
8325
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof N(H).ShadowRoot;
8326
8326
  }
8327
8327
  function S1(H) {
@@ -8336,20 +8336,20 @@ function S1(H) {
8336
8336
  function c5(H) {
8337
8337
  return ["table", "td", "th"].includes(X(H));
8338
8338
  }
8339
- function _1(H) {
8340
- const V = E1(), C = I(H);
8339
+ function E1(H) {
8340
+ const V = N1(), C = I(H);
8341
8341
  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((L) => (C.willChange || "").includes(L)) || ["paint", "layout", "strict", "content"].some((L) => (C.contain || "").includes(L));
8342
8342
  }
8343
8343
  function O5(H) {
8344
8344
  let V = e1(H);
8345
8345
  for (; U(V) && !h1(V); ) {
8346
- if (_1(V))
8346
+ if (E1(V))
8347
8347
  return V;
8348
8348
  V = e1(V);
8349
8349
  }
8350
8350
  return null;
8351
8351
  }
8352
- function E1() {
8352
+ function N1() {
8353
8353
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8354
8354
  }
8355
8355
  function h1(H) {
@@ -8374,22 +8374,22 @@ function e1(H) {
8374
8374
  // Step into the shadow DOM of the parent of a slotted node.
8375
8375
  H.assignedSlot || // DOM Element detected.
8376
8376
  H.parentNode || // ShadowRoot detected.
8377
- U1(H) && H.host || // Fallback.
8377
+ $1(H) && H.host || // Fallback.
8378
8378
  J(H)
8379
8379
  );
8380
- return U1(V) ? V.host : V;
8380
+ return $1(V) ? V.host : V;
8381
8381
  }
8382
- function A2(H) {
8382
+ function M2(H) {
8383
8383
  const V = e1(H);
8384
- return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : U(V) && S1(V) ? V : A2(V);
8384
+ return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : U(V) && S1(V) ? V : M2(V);
8385
8385
  }
8386
8386
  function F1(H, V, C) {
8387
8387
  var L;
8388
8388
  V === void 0 && (V = []), C === void 0 && (C = !0);
8389
- const A = A2(H), M = A === ((L = H.ownerDocument) == null ? void 0 : L.body), i = N(A);
8389
+ const A = M2(H), M = A === ((L = H.ownerDocument) == null ? void 0 : L.body), i = N(A);
8390
8390
  return M ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
8391
8391
  }
8392
- function i2(H) {
8392
+ function A2(H) {
8393
8393
  const V = I(H);
8394
8394
  let C = parseFloat(V.width) || 0, L = parseFloat(V.height) || 0;
8395
8395
  const A = U(H), M = A ? H.offsetWidth : C, i = A ? H.offsetHeight : L, e = s1(C) !== M || s1(L) !== i;
@@ -8399,18 +8399,18 @@ function i2(H) {
8399
8399
  $: e
8400
8400
  };
8401
8401
  }
8402
- function e2(H) {
8402
+ function i2(H) {
8403
8403
  return q(H) ? H : H.contextElement;
8404
8404
  }
8405
8405
  function i1(H) {
8406
- const V = e2(H);
8406
+ const V = i2(H);
8407
8407
  if (!U(V))
8408
8408
  return Y(1);
8409
8409
  const C = V.getBoundingClientRect(), {
8410
8410
  width: L,
8411
8411
  height: A,
8412
8412
  $: M
8413
- } = i2(V);
8413
+ } = A2(V);
8414
8414
  let i = (M ? s1(C.width) : C.width) / L, e = (M ? s1(C.height) : C.height) / A;
8415
8415
  return (!i || !Number.isFinite(i)) && (i = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8416
8416
  x: i,
@@ -8418,9 +8418,9 @@ function i1(H) {
8418
8418
  };
8419
8419
  }
8420
8420
  const p5 = /* @__PURE__ */ Y(0);
8421
- function d2(H) {
8421
+ function e2(H) {
8422
8422
  const V = N(H);
8423
- return !E1() || !V.visualViewport ? p5 : {
8423
+ return !N1() || !V.visualViewport ? p5 : {
8424
8424
  x: V.visualViewport.offsetLeft,
8425
8425
  y: V.visualViewport.offsetTop
8426
8426
  };
@@ -8430,10 +8430,10 @@ function f5(H, V, C) {
8430
8430
  }
8431
8431
  function Z1(H, V, C, L) {
8432
8432
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8433
- const A = H.getBoundingClientRect(), M = e2(H);
8433
+ const A = H.getBoundingClientRect(), M = i2(H);
8434
8434
  let i = Y(1);
8435
8435
  V && (L ? q(L) && (i = i1(L)) : i = i1(H));
8436
- const e = f5(M, C, L) ? d2(M) : Y(0);
8436
+ const e = f5(M, C, L) ? e2(M) : Y(0);
8437
8437
  let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, Z = A.width / i.x, r = A.height / i.y;
8438
8438
  if (M) {
8439
8439
  const n = N(M), l = L && q(L) ? N(L) : L;
@@ -8478,12 +8478,12 @@ function h5(H) {
8478
8478
  function g5(H) {
8479
8479
  return Array.from(H.getClientRects());
8480
8480
  }
8481
- function t2(H) {
8481
+ function d2(H) {
8482
8482
  return Z1(J(H)).left + g1(H).scrollLeft;
8483
8483
  }
8484
8484
  function k5(H) {
8485
8485
  const V = J(H), C = g1(H), L = H.ownerDocument.body, A = A1(V.scrollWidth, V.clientWidth, L.scrollWidth, L.clientWidth), M = A1(V.scrollHeight, V.clientHeight, L.scrollHeight, L.clientHeight);
8486
- let i = -C.scrollLeft + t2(H);
8486
+ let i = -C.scrollLeft + d2(H);
8487
8487
  const e = -C.scrollTop;
8488
8488
  return I(L).direction === "rtl" && (i += A1(V.clientWidth, L.clientWidth) - A), {
8489
8489
  width: A,
@@ -8497,7 +8497,7 @@ function B5(H, V) {
8497
8497
  let M = L.clientWidth, i = L.clientHeight, e = 0, d = 0;
8498
8498
  if (A) {
8499
8499
  M = A.width, i = A.height;
8500
- const t = E1();
8500
+ const t = N1();
8501
8501
  (!t || t && V === "fixed") && (e = A.offsetLeft, d = A.offsetTop);
8502
8502
  }
8503
8503
  return {
@@ -8516,7 +8516,7 @@ function b5(H, V) {
8516
8516
  y: t
8517
8517
  };
8518
8518
  }
8519
- function $1(H, V, C) {
8519
+ function K1(H, V, C) {
8520
8520
  let L;
8521
8521
  if (V === "viewport")
8522
8522
  L = B5(H, C);
@@ -8525,7 +8525,7 @@ function $1(H, V, C) {
8525
8525
  else if (q(V))
8526
8526
  L = b5(V, C);
8527
8527
  else {
8528
- const A = d2(H);
8528
+ const A = e2(H);
8529
8529
  L = {
8530
8530
  ...V,
8531
8531
  x: V.x - A.x,
@@ -8534,9 +8534,9 @@ function $1(H, V, C) {
8534
8534
  }
8535
8535
  return O1(L);
8536
8536
  }
8537
- function m2(H, V) {
8537
+ function t2(H, V) {
8538
8538
  const C = e1(H);
8539
- return C === V || !q(C) || h1(C) ? !1 : I(C).position === "fixed" || m2(C, V);
8539
+ return C === V || !q(C) || h1(C) ? !1 : I(C).position === "fixed" || t2(C, V);
8540
8540
  }
8541
8541
  function w5(H, V) {
8542
8542
  const C = V.get(H);
@@ -8546,8 +8546,8 @@ function w5(H, V) {
8546
8546
  const M = I(H).position === "fixed";
8547
8547
  let i = M ? e1(H) : H;
8548
8548
  for (; q(i) && !h1(i); ) {
8549
- const e = I(i), d = _1(i);
8550
- !d && e.position === "fixed" && (A = null), (M ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? L = L.filter((Z) => Z !== i) : A = e, i = e1(i);
8549
+ const e = I(i), d = E1(i);
8550
+ !d && e.position === "fixed" && (A = null), (M ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && t2(H, i)) ? L = L.filter((Z) => Z !== i) : A = e, i = e1(i);
8551
8551
  }
8552
8552
  return V.set(H, L), L;
8553
8553
  }
@@ -8559,9 +8559,9 @@ function y5(H) {
8559
8559
  strategy: A
8560
8560
  } = H;
8561
8561
  const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), L], e = i[0], d = i.reduce((t, Z) => {
8562
- const r = $1(V, Z, A);
8562
+ const r = K1(V, Z, A);
8563
8563
  return t.top = A1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = A1(r.left, t.left), t;
8564
- }, $1(V, e, A));
8564
+ }, K1(V, e, A));
8565
8565
  return {
8566
8566
  width: d.right - d.left,
8567
8567
  height: d.bottom - d.top,
@@ -8570,7 +8570,7 @@ function y5(H) {
8570
8570
  };
8571
8571
  }
8572
8572
  function P5(H) {
8573
- return i2(H);
8573
+ return A2(H);
8574
8574
  }
8575
8575
  function T5(H, V, C) {
8576
8576
  const L = U(V), A = J(V), M = C === "fixed", i = Z1(H, !0, M, V);
@@ -8584,7 +8584,7 @@ function T5(H, V, C) {
8584
8584
  const t = Z1(V, !0, M, V);
8585
8585
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8586
8586
  } else
8587
- A && (d.x = t2(A));
8587
+ A && (d.x = d2(A));
8588
8588
  return {
8589
8589
  x: i.left + e.scrollLeft - d.x,
8590
8590
  y: i.top + e.scrollTop - d.y,
@@ -8592,17 +8592,17 @@ function T5(H, V, C) {
8592
8592
  height: i.height
8593
8593
  };
8594
8594
  }
8595
- function K1(H, V) {
8595
+ function j1(H, V) {
8596
8596
  return !U(H) || I(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8597
8597
  }
8598
- function l2(H, V) {
8598
+ function m2(H, V) {
8599
8599
  const C = N(H);
8600
8600
  if (!U(H))
8601
8601
  return C;
8602
- let L = K1(H, V);
8602
+ let L = j1(H, V);
8603
8603
  for (; L && c5(L) && I(L).position === "static"; )
8604
- L = K1(L, V);
8605
- return L && (X(L) === "html" || X(L) === "body" && I(L).position === "static" && !_1(L)) ? C : L || O5(H) || C;
8604
+ L = j1(L, V);
8605
+ return L && (X(L) === "html" || X(L) === "body" && I(L).position === "static" && !E1(L)) ? C : L || O5(H) || C;
8606
8606
  }
8607
8607
  const v5 = async function(H) {
8608
8608
  let {
@@ -8610,7 +8610,7 @@ const v5 = async function(H) {
8610
8610
  floating: C,
8611
8611
  strategy: L
8612
8612
  } = H;
8613
- const A = this.getOffsetParent || l2, M = this.getDimensions;
8613
+ const A = this.getOffsetParent || m2, M = this.getDimensions;
8614
8614
  return {
8615
8615
  reference: T5(V, await A(C), L),
8616
8616
  floating: {
@@ -8627,7 +8627,7 @@ const R5 = {
8627
8627
  convertOffsetParentRelativeRectToViewportRelativeRect: h5,
8628
8628
  getDocumentElement: J,
8629
8629
  getClippingRect: y5,
8630
- getOffsetParent: l2,
8630
+ getOffsetParent: m2,
8631
8631
  getElementRects: v5,
8632
8632
  getClientRects: g5,
8633
8633
  getDimensions: P5,
@@ -8647,7 +8647,7 @@ const R5 = {
8647
8647
  platform: M
8648
8648
  });
8649
8649
  };
8650
- var o2 = /* @__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))(o2 || {}), K = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(K || {}), n2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(n2 || {});
8650
+ var l2 = /* @__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))(l2 || {}), K = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(K || {}), o2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(o2 || {});
8651
8651
  async function D5({ value: H }, { value: V }, { value: C }, L, A, M, i = 300, e) {
8652
8652
  !H || !V || x5(H, V, {
8653
8653
  placement: L,
@@ -8690,7 +8690,7 @@ async function D5({ value: H }, { value: V }, { value: C }, L, A, M, i = 300, e)
8690
8690
  const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8691
8691
  __name: "RTooltip",
8692
8692
  props: {
8693
- placement: { default: o2.Top },
8693
+ placement: { default: l2.Top },
8694
8694
  text: { default: "" },
8695
8695
  dark: { type: Boolean, default: !0 },
8696
8696
  light: { type: Boolean, default: !1 },
@@ -8707,7 +8707,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8707
8707
  resizable: { type: Boolean, default: !0 },
8708
8708
  triggerClass: { default: "" },
8709
8709
  tooltipClass: { default: "" },
8710
- type: { default: n2.Tooltip }
8710
+ type: { default: o2.Tooltip }
8711
8711
  },
8712
8712
  emits: ["show", "hide"],
8713
8713
  setup(H, { emit: V }) {
@@ -8827,13 +8827,16 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8827
8827
  }, Q5 = {
8828
8828
  key: 2,
8829
8829
  class: "r-dropdown__multiple"
8830
- }, G5 = ["id", "disabled", "placeholder", "readonly", "onKeydown"], z5 = ["aria-disabled", "onClick"], U5 = { style: { display: "flex", "align-items": "center" } }, $5 = { class: "r-dropdown-options__no-option" }, K5 = { key: 0 }, j5 = {
8830
+ }, G5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onKeydown"], z5 = ["aria-disabled", "onClick"], U5 = { style: { display: "flex", "align-items": "center" } }, $5 = {
8831
+ key: 0,
8832
+ class: "r-dropdown-options__no-option"
8833
+ }, K5 = {
8831
8834
  key: 0,
8832
8835
  class: "r-dropdown-details"
8833
- }, q5 = {
8836
+ }, j5 = {
8834
8837
  key: 0,
8835
8838
  class: "r-dropdown-error"
8836
- }, L0 = /* @__PURE__ */ v({
8839
+ }, V0 = /* @__PURE__ */ v({
8837
8840
  __name: "RDropdown",
8838
8841
  props: {
8839
8842
  options: { default: () => [] },
@@ -8851,7 +8854,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8851
8854
  dropdownClass: { default: "" },
8852
8855
  optionsClass: { default: "" },
8853
8856
  errorMsg: { default: "" },
8854
- hideDetails: { type: Boolean }
8857
+ hideDetails: { type: Boolean, default: !1 },
8858
+ autocomplete: { default: "off" }
8855
8859
  },
8856
8860
  emits: ["update:modelValue"],
8857
8861
  setup(H, { emit: V }) {
@@ -8981,23 +8985,24 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8981
8985
  C.multiple ? (m(), o("div", Q5, [
8982
8986
  (m(!0), o(H1, null, M1(M, (c, D) => (m(), o("p", { key: D }, y(`${c.label},`), 1))), 128))
8983
8987
  ])) : O("", !0),
8984
- Y1(S("input", j1(s.$attrs, {
8988
+ Y1(S("input", {
8985
8989
  id: C.id,
8986
8990
  ref_key: "input",
8987
8991
  ref: t,
8988
8992
  "onUpdate:modelValue": f[0] || (f[0] = (c) => e.value = c),
8989
- class: ["r-dropdown__input", {
8993
+ autocomplete: C.autocomplete,
8994
+ class: p(["r-dropdown__input", {
8990
8995
  "r-dropdown__input--loading": C.loading
8991
- }],
8996
+ }]),
8992
8997
  disabled: C.disabled,
8993
8998
  placeholder: C.placeholder,
8994
8999
  readonly: T.value,
8995
9000
  type: "text",
8996
9001
  onKeydown: [
8997
- N1((c) => B(c, M[M.length - 1], u), ["backspace"]),
8998
- N1((c) => g(c, u), ["enter"])
9002
+ W1((c) => B(c, M[M.length - 1], u), ["backspace"]),
9003
+ W1((c) => g(c, u), ["enter"])
8999
9004
  ]
9000
- }), null, 16, G5), [
9005
+ }, null, 42, G5), [
9001
9006
  [O2, e.value]
9002
9007
  ]),
9003
9008
  C.appendIcon || s.$slots.append ? (m(), o("div", {
@@ -9056,21 +9061,21 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9056
9061
  name: "mdiCheck"
9057
9062
  }, null, 8, ["class"])) : O("", !0)
9058
9063
  ], 10, z5))), 128)),
9059
- S("li", $5, [
9064
+ P.value.length === 0 ? (m(), o("li", $5, [
9060
9065
  h(s.$slots, "not-options", {}, () => [
9061
- P.value.length === 0 ? (m(), o("span", K5, " No options ")) : O("", !0)
9066
+ R1(" No options ")
9062
9067
  ])
9063
- ])
9068
+ ])) : O("", !0)
9064
9069
  ], 2)
9065
9070
  ]),
9066
9071
  _: 3
9067
9072
  }),
9068
- s.$props.hideDetails ? O("", !0) : (m(), o("div", j5, [
9069
- C.errorMsg ? (m(), o("div", q5, y(C.errorMsg), 1)) : O("", !0)
9073
+ s.$props.hideDetails ? O("", !0) : (m(), o("div", K5, [
9074
+ C.errorMsg ? (m(), o("div", j5, y(C.errorMsg), 1)) : O("", !0)
9070
9075
  ]))
9071
9076
  ], 512));
9072
9077
  }
9073
- }), Y5 = ["id", "for"], r2 = /* @__PURE__ */ v({
9078
+ }), q5 = ["id", "for"], n2 = /* @__PURE__ */ v({
9074
9079
  __name: "RLabel",
9075
9080
  props: {
9076
9081
  id: { default: "" },
@@ -9085,20 +9090,20 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9085
9090
  for: V.for
9086
9091
  }, [
9087
9092
  h(C.$slots, "default", {}, () => [
9088
- X1(y(V.text), 1)
9093
+ R1(y(V.text), 1)
9089
9094
  ])
9090
- ], 8, Y5));
9095
+ ], 8, q5));
9091
9096
  }
9092
- }), X5 = ["onClick"], J5 = ["open"], C3 = { class: "r-dialog__header" }, H3 = {
9097
+ }), Y5 = ["onClick"], X5 = ["open"], J5 = { class: "r-dialog__header" }, C3 = {
9093
9098
  key: 0,
9094
9099
  class: "icon"
9095
- }, V3 = {
9100
+ }, H3 = {
9096
9101
  key: 1,
9097
9102
  class: "title"
9098
- }, L3 = {
9103
+ }, V3 = {
9099
9104
  key: 2,
9100
9105
  class: "description"
9101
- }, M3 = { class: "r-dialog__body" }, A3 = { class: "r-dialog__actions" }, M0 = /* @__PURE__ */ v({
9106
+ }, L3 = { class: "r-dialog__body" }, M3 = { class: "r-dialog__actions" }, L0 = /* @__PURE__ */ v({
9102
9107
  __name: "RModal",
9103
9108
  props: {
9104
9109
  modelValue: { type: Boolean, default: !1 },
@@ -9135,30 +9140,30 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9135
9140
  class: p(A.value),
9136
9141
  open: C.modelValue,
9137
9142
  role: "dialog",
9138
- style: R1(M.value)
9143
+ style: x1(M.value)
9139
9144
  }, [
9140
- S("div", C3, [
9145
+ S("div", J5, [
9141
9146
  h(e.$slots, "header"),
9142
- C.icon ? (m(), o("div", H3, [
9147
+ C.icon ? (m(), o("div", C3, [
9143
9148
  j(R, {
9144
9149
  name: C.icon
9145
9150
  }, null, 8, ["name"])
9146
9151
  ])) : O("", !0),
9147
- C.title ? (m(), o("div", V3, y(C.title), 1)) : O("", !0),
9148
- C.description ? (m(), o("div", L3, y(C.description), 1)) : O("", !0)
9152
+ C.title ? (m(), o("div", H3, y(C.title), 1)) : O("", !0),
9153
+ C.description ? (m(), o("div", V3, y(C.description), 1)) : O("", !0)
9149
9154
  ]),
9150
- S("div", M3, [
9155
+ S("div", L3, [
9151
9156
  h(e.$slots, "default")
9152
9157
  ]),
9153
- S("div", A3, [
9158
+ S("div", M3, [
9154
9159
  h(e.$slots, "actions")
9155
9160
  ])
9156
- ], 14, J5)
9157
- ], 10, X5)), [
9161
+ ], 14, X5)
9162
+ ], 10, Y5)), [
9158
9163
  [p2, e.modelValue]
9159
9164
  ]);
9160
9165
  }
9161
- }), i3 = ["data-open"], e3 = ["data-open"], d3 = ["data-open"], A0 = /* @__PURE__ */ v({
9166
+ }), A3 = ["data-open"], i3 = ["data-open"], e3 = ["data-open"], M0 = /* @__PURE__ */ v({
9162
9167
  __name: "RSidebar",
9163
9168
  props: {
9164
9169
  modelValue: { type: Boolean, default: !1 },
@@ -9179,7 +9184,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9179
9184
  "data-open": C.modelValue
9180
9185
  }, [
9181
9186
  h(A.$slots, "default")
9182
- ], 10, e3),
9187
+ ], 10, i3),
9183
9188
  C.showTrigger ? (m(), o("div", {
9184
9189
  key: 0,
9185
9190
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
@@ -9187,15 +9192,15 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9187
9192
  onClick: M[0] || (M[0] = (i) => L("update:modelValue", !C.modelValue))
9188
9193
  }, [
9189
9194
  h(A.$slots, "trigger", {}, () => [
9190
- X1(" > ")
9195
+ R1(" > ")
9191
9196
  ])
9192
- ], 10, d3)) : O("", !0)
9193
- ], 10, i3));
9197
+ ], 10, e3)) : O("", !0)
9198
+ ], 10, A3));
9194
9199
  }
9195
- }), t3 = { class: "r-snackbar__text" }, m3 = {
9200
+ }), d3 = { class: "r-snackbar__text" }, t3 = {
9196
9201
  key: 0,
9197
9202
  class: "r-snackbar__close"
9198
- }, i0 = /* @__PURE__ */ v({
9203
+ }, A0 = /* @__PURE__ */ v({
9199
9204
  __name: "RSnackbar",
9200
9205
  props: {
9201
9206
  modelValue: { type: Boolean, default: !1 },
@@ -9242,9 +9247,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9242
9247
  name: M.value
9243
9248
  }, null, 8, ["name"])) : O("", !0)
9244
9249
  ]),
9245
- S("div", t3, y(C.text), 1),
9250
+ S("div", d3, y(C.text), 1),
9246
9251
  h(i.$slots, "action"),
9247
- C.closable ? (m(), o("div", m3, [
9252
+ C.closable ? (m(), o("div", t3, [
9248
9253
  h(i.$slots, "close", {}, () => [
9249
9254
  j(R, {
9250
9255
  name: "mdiClose",
@@ -9255,16 +9260,16 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9255
9260
  ])) : O("", !0)
9256
9261
  ], 2));
9257
9262
  }
9258
- }), l3 = ["id", "checked", "disabled"], o3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), n3 = ["id", "for"], r3 = {
9263
+ }), m3 = ["id", "checked", "disabled"], l3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), o3 = ["id", "for"], n3 = {
9259
9264
  key: 0,
9260
9265
  class: "r-switch-texts__details"
9261
- }, a3 = {
9266
+ }, r3 = {
9262
9267
  key: 0,
9263
9268
  class: "r-switch-texts__error"
9264
- }, Z3 = {
9269
+ }, a3 = {
9265
9270
  key: 1,
9266
9271
  class: "r-switch-texts__hint"
9267
- }, e0 = /* @__PURE__ */ v({
9272
+ }, i0 = /* @__PURE__ */ v({
9268
9273
  __name: "RSwitch",
9269
9274
  props: {
9270
9275
  id: { default: "switch" },
@@ -9316,8 +9321,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9316
9321
  disabled: C.disabled,
9317
9322
  type: "checkbox",
9318
9323
  onChange: i
9319
- }, null, 40, l3),
9320
- o3
9324
+ }, null, 40, m3),
9325
+ l3
9321
9326
  ], 2),
9322
9327
  S("div", {
9323
9328
  class: p(["r-switch-texts", {
@@ -9328,19 +9333,19 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
9328
9333
  id: C.id,
9329
9334
  class: "r-switch-texts__label",
9330
9335
  for: C.id
9331
- }, y(C.label), 9, n3),
9332
- C.hideDetails ? O("", !0) : (m(), o("div", r3, [
9333
- C.errorMsg ? (m(), o("p", a3, y(C.errorMsg), 1)) : (m(), o("p", Z3, y(C.hint), 1))
9336
+ }, y(C.label), 9, o3),
9337
+ C.hideDetails ? O("", !0) : (m(), o("div", n3, [
9338
+ C.errorMsg ? (m(), o("p", r3, y(C.errorMsg), 1)) : (m(), o("p", a3, y(C.hint), 1))
9334
9339
  ]))
9335
9340
  ], 2)
9336
9341
  ], 2));
9337
9342
  }
9338
9343
  });
9339
9344
  var o1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(o1 || {});
9340
- const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9345
+ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9341
9346
  key: 0,
9342
9347
  class: "r-tab-item__label"
9343
- }, s3 = /* @__PURE__ */ v({
9348
+ }, S3 = /* @__PURE__ */ v({
9344
9349
  __name: "RTabItem",
9345
9350
  props: {
9346
9351
  id: {},
@@ -9375,7 +9380,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9375
9380
  "aria-selected": C.modelValue === C.id,
9376
9381
  class: p(A.value),
9377
9382
  disabled: C.disabled,
9378
- style: R1(M.value),
9383
+ style: x1(M.value),
9379
9384
  onClick: t[0] || (t[0] = r1((Z) => i(C.id), ["stop"]))
9380
9385
  }, [
9381
9386
  h(d.$slots, "prepend", {}, () => [
@@ -9386,7 +9391,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9386
9391
  size: 16
9387
9392
  }, null, 8, ["name"])) : O("", !0)
9388
9393
  ]),
9389
- C.variant !== L1(o1).ICON ? (m(), o("span", S3, y(C.label), 1)) : O("", !0),
9394
+ C.variant !== L1(o1).ICON ? (m(), o("span", u3, y(C.label), 1)) : O("", !0),
9390
9395
  h(d.$slots, "append", {}, () => [
9391
9396
  C.variant !== L1(o1).TEXT && C.appendIcon ? (m(), F(R, {
9392
9397
  key: 0,
@@ -9396,9 +9401,9 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9396
9401
  onClick: r1(e, ["stop"])
9397
9402
  }, null, 8, ["name", "onClick"])) : O("", !0)
9398
9403
  ])
9399
- ], 14, u3));
9404
+ ], 14, Z3));
9400
9405
  }
9401
- }), d0 = /* @__PURE__ */ v({
9406
+ }), e0 = /* @__PURE__ */ v({
9402
9407
  __name: "RTabs",
9403
9408
  props: {
9404
9409
  tabs: { default: () => [] },
@@ -9428,7 +9433,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9428
9433
  class: p(M.value)
9429
9434
  }, [
9430
9435
  h(e.$slots, "default", {}, () => [
9431
- (m(!0), o(H1, null, M1(C.tabs, (t, Z) => (m(), F(s3, {
9436
+ (m(!0), o(H1, null, M1(C.tabs, (t, Z) => (m(), F(S3, {
9432
9437
  id: t.id,
9433
9438
  key: Z,
9434
9439
  modelValue: A.value,
@@ -9446,16 +9451,16 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9446
9451
  ])
9447
9452
  ], 2));
9448
9453
  }
9449
- }), c3 = { class: "r-textarea-wrapper" }, O3 = ["id", "disabled", "placeholder", "value"], p3 = {
9454
+ }), s3 = { class: "r-textarea-wrapper" }, c3 = ["id", "disabled", "placeholder", "value"], O3 = {
9450
9455
  key: 1,
9451
9456
  class: "r-textarea__details"
9452
- }, f3 = {
9457
+ }, p3 = {
9453
9458
  key: 0,
9454
9459
  class: "r-textarea__error"
9455
- }, h3 = {
9460
+ }, f3 = {
9456
9461
  key: 1,
9457
9462
  class: "r-textarea__hint"
9458
- }, t0 = /* @__PURE__ */ v({
9463
+ }, d0 = /* @__PURE__ */ v({
9459
9464
  __name: "RTextArea",
9460
9465
  props: {
9461
9466
  id: { default: "" },
@@ -9483,8 +9488,8 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9483
9488
  {
9484
9489
  immediate: !0
9485
9490
  }
9486
- ), (i, e) => (m(), o("div", c3, [
9487
- C.label ? (m(), F(r2, {
9491
+ ), (i, e) => (m(), o("div", s3, [
9492
+ C.label ? (m(), F(n2, {
9488
9493
  key: 0,
9489
9494
  id: "textarea",
9490
9495
  class: "r-textarea__label",
@@ -9501,22 +9506,22 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9501
9506
  placeholder: C.placeholder,
9502
9507
  value: A.value,
9503
9508
  onInput: M
9504
- }, null, 42, O3),
9505
- C.hideDetails ? O("", !0) : (m(), o("div", p3, [
9506
- C.errorMsg ? (m(), o("p", f3, y(C.errorMsg), 1)) : (m(), o("p", h3, y(C.hint), 1))
9509
+ }, null, 42, c3),
9510
+ C.hideDetails ? O("", !0) : (m(), o("div", O3, [
9511
+ C.errorMsg ? (m(), o("p", p3, y(C.errorMsg), 1)) : (m(), o("p", f3, y(C.hint), 1))
9507
9512
  ]))
9508
9513
  ]));
9509
9514
  }
9510
- }), g3 = { class: "r-textfield__wrapper" }, k3 = { class: "input-wrapper" }, B3 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], b3 = {
9515
+ }), h3 = { class: "r-textfield__wrapper" }, g3 = { class: "input-wrapper" }, k3 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], B3 = {
9511
9516
  key: 0,
9512
9517
  class: "r-textfield__details"
9513
- }, w3 = {
9518
+ }, b3 = {
9514
9519
  key: 0,
9515
9520
  class: "r-textfield__error"
9516
- }, y3 = {
9521
+ }, w3 = {
9517
9522
  key: 1,
9518
9523
  class: "r-textfield__hint"
9519
- }, m0 = /* @__PURE__ */ v({
9524
+ }, t0 = /* @__PURE__ */ v({
9520
9525
  __name: "RTextfield",
9521
9526
  props: {
9522
9527
  id: { default: "" },
@@ -9626,8 +9631,8 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9626
9631
  i.value === "number" ? +u : u
9627
9632
  );
9628
9633
  }
9629
- ), (u, c) => (m(), o("div", g3, [
9630
- C.label ? (m(), F(r2, {
9634
+ ), (u, c) => (m(), o("div", h3, [
9635
+ C.label ? (m(), F(n2, {
9631
9636
  key: 0,
9632
9637
  id: C.id,
9633
9638
  class: "r-textfield__label",
@@ -9635,7 +9640,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9635
9640
  text: C.label,
9636
9641
  onClick: w
9637
9642
  }, null, 8, ["id", "for", "text"])) : O("", !0),
9638
- S("div", k3, [
9643
+ S("div", g3, [
9639
9644
  S("div", {
9640
9645
  class: p(l.value)
9641
9646
  }, [
@@ -9659,7 +9664,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9659
9664
  onBlur: T,
9660
9665
  onFocus: P,
9661
9666
  onInput: x
9662
- }, null, 40, B3),
9667
+ }, null, 40, k3),
9663
9668
  r.value ? O("", !0) : h(u.$slots, "append", { key: 1 }),
9664
9669
  b.value && !u.$slots.append || r.value ? (m(), F(R, {
9665
9670
  key: 2,
@@ -9669,17 +9674,17 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9669
9674
  onClick: s
9670
9675
  }, null, 8, ["class", "name"])) : O("", !0)
9671
9676
  ], 2),
9672
- C.hideDetails ? O("", !0) : (m(), o("div", b3, [
9673
- C.errorMsg ? (m(), o("p", w3, y(C.errorMsg), 1)) : O("", !0),
9674
- !C.errorMsg && C.hint ? (m(), o("p", y3, y(C.hint), 1)) : O("", !0)
9677
+ C.hideDetails ? O("", !0) : (m(), o("div", B3, [
9678
+ C.errorMsg ? (m(), o("p", b3, y(C.errorMsg), 1)) : O("", !0),
9679
+ !C.errorMsg && C.hint ? (m(), o("p", w3, y(C.hint), 1)) : O("", !0)
9675
9680
  ]))
9676
9681
  ])
9677
9682
  ]));
9678
9683
  }
9679
- }), P3 = { class: "r-breadcrumb" }, T3 = {
9684
+ }), y3 = { class: "r-breadcrumb" }, P3 = {
9680
9685
  key: 0,
9681
9686
  class: "r-breadcrumb__title"
9682
- }, l0 = /* @__PURE__ */ v({
9687
+ }, m0 = /* @__PURE__ */ v({
9683
9688
  __name: "RBreadcrumb",
9684
9689
  props: {
9685
9690
  items: { default: () => [] },
@@ -9689,7 +9694,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9689
9694
  const V = H;
9690
9695
  return (C, L) => {
9691
9696
  const A = f2("router-link");
9692
- return m(), o("div", P3, [
9697
+ return m(), o("div", y3, [
9693
9698
  (m(!0), o(H1, null, M1(V.items, (M, i) => (m(), o("div", {
9694
9699
  key: i,
9695
9700
  class: "r-breadcrumb__item"
@@ -9705,7 +9710,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9705
9710
  name: M.icon
9706
9711
  }, null, 8, ["name"])) : O("", !0)
9707
9712
  ]),
9708
- M.onlyIcon ? O("", !0) : (m(), o("span", T3, y(M.title), 1))
9713
+ M.onlyIcon ? O("", !0) : (m(), o("span", P3, y(M.title), 1))
9709
9714
  ]),
9710
9715
  _: 2
9711
9716
  }, 1032, ["to"]),
@@ -9720,21 +9725,21 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9720
9725
  ]);
9721
9726
  };
9722
9727
  }
9723
- }), v3 = { class: "r-pagination" }, F3 = { class: "r-pagination__page-info" }, R3 = { key: 0 }, x3 = { class: "r-pagination__page-info__current-page" }, D3 = { class: "r-pagination__page-info__total-pages" }, _3 = { class: "r-pagination__paginator" }, E3 = ["disabled"], N3 = /* @__PURE__ */ S("path", {
9728
+ }), T3 = { class: "r-pagination" }, v3 = { class: "r-pagination__page-info" }, F3 = { key: 0 }, R3 = { class: "r-pagination__page-info__current-page" }, x3 = { class: "r-pagination__page-info__total-pages" }, D3 = { class: "r-pagination__paginator" }, _3 = ["disabled"], E3 = /* @__PURE__ */ S("path", {
9724
9729
  d: "M0 0h24v24H0z",
9725
9730
  fill: "none",
9726
9731
  stroke: "none"
9727
- }, null, -1), W3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), I3 = [
9728
- N3,
9729
- W3
9730
- ], Q3 = ["max", "value"], G3 = ["disabled"], z3 = /* @__PURE__ */ S("path", {
9732
+ }, null, -1), N3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), W3 = [
9733
+ E3,
9734
+ N3
9735
+ ], I3 = ["max", "value"], Q3 = ["disabled"], G3 = /* @__PURE__ */ S("path", {
9731
9736
  d: "M0 0h24v24H0z",
9732
9737
  fill: "none",
9733
9738
  stroke: "none"
9734
- }, null, -1), U3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), $3 = [
9735
- z3,
9736
- U3
9737
- ], K3 = { class: "r-pagination__paginator__total" }, o0 = /* @__PURE__ */ v({
9739
+ }, null, -1), z3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), U3 = [
9740
+ G3,
9741
+ z3
9742
+ ], $3 = { class: "r-pagination__paginator__total" }, l0 = /* @__PURE__ */ v({
9738
9743
  __name: "RPagination",
9739
9744
  props: {
9740
9745
  page: { default: 1 },
@@ -9749,14 +9754,14 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9749
9754
  const C = H, L = V, A = k(() => Math.ceil(C.totalItems / C.perPage)), M = (i) => {
9750
9755
  i < 1 || i > A.value || L("update:page", i);
9751
9756
  };
9752
- return (i, e) => (m(), o("div", v3, [
9753
- S("div", F3, [
9754
- i.slash ? O("", !0) : (m(), o("span", R3, y(C.pageText), 1)),
9755
- S("span", x3, y(C.page), 1),
9757
+ return (i, e) => (m(), o("div", T3, [
9758
+ S("div", v3, [
9759
+ i.slash ? O("", !0) : (m(), o("span", F3, y(C.pageText), 1)),
9760
+ S("span", R3, y(C.page), 1),
9756
9761
  S("span", null, y(i.slash ? "/" : C.ofText), 1),
9757
- S("span", D3, y(A.value), 1)
9762
+ S("span", x3, y(A.value), 1)
9758
9763
  ]),
9759
- S("div", _3, [
9764
+ S("div", D3, [
9760
9765
  S("button", {
9761
9766
  class: "r-pagination__paginator__prev",
9762
9767
  disabled: C.page === 1,
@@ -9774,9 +9779,9 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9774
9779
  viewBox: "0 0 24 24",
9775
9780
  width: "16",
9776
9781
  xmlns: "http://www.w3.org/2000/svg"
9777
- }, I3, 2))
9782
+ }, W3, 2))
9778
9783
  ])
9779
- ], 8, E3),
9784
+ ], 8, _3),
9780
9785
  S("input", {
9781
9786
  class: "r-pagination__paginator__input",
9782
9787
  max: A.value,
@@ -9787,7 +9792,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9787
9792
  var t;
9788
9793
  return M(+((t = d == null ? void 0 : d.target) == null ? void 0 : t.value));
9789
9794
  })
9790
- }, null, 40, Q3),
9795
+ }, null, 40, I3),
9791
9796
  S("button", {
9792
9797
  class: "r-pagination__paginator__next",
9793
9798
  disabled: C.page === A.value,
@@ -9805,14 +9810,14 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9805
9810
  viewBox: "0 0 24 24",
9806
9811
  width: "16",
9807
9812
  xmlns: "http://www.w3.org/2000/svg"
9808
- }, $3, 2))
9813
+ }, U3, 2))
9809
9814
  ])
9810
- ], 8, G3),
9811
- S("div", K3, "/ " + y(A.value), 1)
9815
+ ], 8, Q3),
9816
+ S("div", $3, "/ " + y(A.value), 1)
9812
9817
  ])
9813
9818
  ]));
9814
9819
  }
9815
- }), j3 = ["value"], n0 = /* @__PURE__ */ v({
9820
+ }), K3 = ["value"], o0 = /* @__PURE__ */ v({
9816
9821
  __name: "RProgressbar",
9817
9822
  props: {
9818
9823
  value: { default: 0 },
@@ -9825,11 +9830,11 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9825
9830
  class: "r-progressbar",
9826
9831
  max: 100,
9827
9832
  role: "progressbar",
9828
- style: R1({ height: V.height + "px" }),
9833
+ style: x1({ height: V.height + "px" }),
9829
9834
  value: V.value
9830
- }, null, 12, j3));
9835
+ }, null, 12, K3));
9831
9836
  }
9832
- }), w1 = "rocket-ui:r-item-group", r0 = /* @__PURE__ */ v({
9837
+ }), w1 = "rocket-ui:r-item-group", n0 = /* @__PURE__ */ v({
9833
9838
  __name: "RItemGroup",
9834
9839
  props: {
9835
9840
  modelValue: { default: () => [] },
@@ -9862,7 +9867,7 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9862
9867
  _: 3
9863
9868
  }));
9864
9869
  }
9865
- }), y1 = "rocket-ui:r-item-group", a0 = /* @__PURE__ */ v({
9870
+ }), y1 = "rocket-ui:r-item-group", r0 = /* @__PURE__ */ v({
9866
9871
  __name: "RItem",
9867
9872
  props: {
9868
9873
  value: { default: null },
@@ -9888,28 +9893,28 @@ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = {
9888
9893
  }
9889
9894
  });
9890
9895
  export {
9891
- Y3 as RAccordion,
9892
- X3 as RAlert,
9893
- J3 as RAvatar,
9894
- C0 as RBadge,
9895
- l0 as RBreadcrumb,
9896
- H0 as RButton,
9897
- V0 as RCheckbox,
9896
+ q3 as RAccordion,
9897
+ Y3 as RAlert,
9898
+ X3 as RAvatar,
9899
+ J3 as RBadge,
9900
+ m0 as RBreadcrumb,
9901
+ C0 as RButton,
9902
+ H0 as RCheckbox,
9898
9903
  X2 as RChip,
9899
- L0 as RDropdown,
9904
+ V0 as RDropdown,
9900
9905
  R as RIcon,
9901
- a0 as RItem,
9902
- r0 as RItemGroup,
9903
- r2 as RLabel,
9904
- M0 as RModal,
9905
- o0 as RPagination,
9906
- n0 as RProgressbar,
9907
- A0 as RSidebar,
9908
- i0 as RSnackbar,
9909
- e0 as RSwitch,
9910
- s3 as RTabItem,
9911
- d0 as RTabs,
9912
- t0 as RTextArea,
9913
- m0 as RTextfield,
9906
+ r0 as RItem,
9907
+ n0 as RItemGroup,
9908
+ n2 as RLabel,
9909
+ L0 as RModal,
9910
+ l0 as RPagination,
9911
+ o0 as RProgressbar,
9912
+ M0 as RSidebar,
9913
+ A0 as RSnackbar,
9914
+ i0 as RSwitch,
9915
+ S3 as RTabItem,
9916
+ e0 as RTabs,
9917
+ d0 as RTextArea,
9918
+ t0 as RTextfield,
9914
9919
  N5 as RTooltip
9915
9920
  };