@rocketui/vue 0.0.59 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as C2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as D, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, createTextVNode as A2, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as _1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
1
+ import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as H2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as V2, onScopeDispose as L2, ref as D, onMounted as M2, withDirectives as E1, withKeys as k1, vModelText as A2, createTextVNode as _1, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as W1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
2
2
  const l2 = {
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",
@@ -7336,7 +7336,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { 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(K, null, Y(C, (i, e) => (t(), a("div", {
7339
+ return (M, A) => (t(!0), a(U, null, Y(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: f({
7342
7342
  "r-accordion": !0,
@@ -7533,7 +7533,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7533
7533
  color: e
7534
7534
  };
7535
7535
  });
7536
- return (A, i) => (t(), a("button", C2(A.$attrs, {
7536
+ return (A, i) => (t(), a("button", H2(A.$attrs, {
7537
7537
  class: p(C),
7538
7538
  disabled: H.disabled || H.loading,
7539
7539
  style: p(M),
@@ -7699,32 +7699,32 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7699
7699
  }
7700
7700
  });
7701
7701
  function E2(H) {
7702
- return H2() ? (V2(H), !0) : !1;
7702
+ return V2() ? (L2(H), !0) : !1;
7703
7703
  }
7704
- function W1(H) {
7704
+ function N1(H) {
7705
7705
  return typeof H == "function" ? H() : p(H);
7706
7706
  }
7707
- const N1 = typeof window < "u" && typeof document < "u", _2 = Object.prototype.toString, W2 = (H) => _2.call(H) === "[object Object]", c1 = () => {
7707
+ const I1 = typeof window < "u" && typeof document < "u", _2 = Object.prototype.toString, W2 = (H) => _2.call(H) === "[object Object]", c1 = () => {
7708
7708
  }, N2 = /* @__PURE__ */ I2();
7709
7709
  function I2() {
7710
7710
  var H;
7711
- return N1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7711
+ return I1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7712
7712
  }
7713
7713
  function H1(H) {
7714
7714
  var V;
7715
- const C = W1(H);
7715
+ const C = N1(H);
7716
7716
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7717
7717
  }
7718
- const I1 = N1 ? window : void 0;
7718
+ const Q1 = I1 ? window : void 0;
7719
7719
  function u1(...H) {
7720
7720
  let V, C, L, M;
7721
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = I1) : [V, C, L, M] = H, !V)
7721
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = Q1) : [V, C, L, M] = H, !V)
7722
7722
  return c1;
7723
7723
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7724
7724
  const A = [], i = () => {
7725
7725
  A.forEach((o) => o()), A.length = 0;
7726
7726
  }, e = (o, l, n, r) => (o.addEventListener(l, n, r), () => o.removeEventListener(l, n, r)), d = W(
7727
- () => [H1(V), W1(M)],
7727
+ () => [H1(V), N1(M)],
7728
7728
  ([o, l]) => {
7729
7729
  if (i(), !o)
7730
7730
  return;
@@ -7741,7 +7741,7 @@ function u1(...H) {
7741
7741
  }
7742
7742
  let b1 = !1;
7743
7743
  function Q2(H, V, C = {}) {
7744
- const { window: L = I1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
7744
+ const { window: L = Q1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
7745
7745
  if (!L)
7746
7746
  return;
7747
7747
  N2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
@@ -7842,7 +7842,7 @@ const G2 = {
7842
7842
  return;
7843
7843
  C.options.find((h) => h.label === O) || (M.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7844
7844
  }, c = (S) => C.multiple ? M.find((O) => O.value === S.value) : L.value === S.value, w = k(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = k(() => C.multiple || C.taggable || !C.searchable);
7845
- return L2(() => {
7845
+ return M2(() => {
7846
7846
  C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7847
7847
  }), W(M, (S) => {
7848
7848
  V("update:modelValue", S);
@@ -7877,7 +7877,7 @@ const G2 = {
7877
7877
  ])
7878
7878
  ], 2)) : g("", !0),
7879
7879
  C.taggable ? (t(), a("div", G2, [
7880
- (t(!0), a(K, null, Y(M, (s, v) => (t(), x(D2, {
7880
+ (t(!0), a(U, null, Y(M, (s, v) => (t(), x(D2, {
7881
7881
  key: v,
7882
7882
  appendIcon: "close",
7883
7883
  class: "r-dropdown__tags__chip",
@@ -7887,7 +7887,7 @@ const G2 = {
7887
7887
  }, null, 8, ["label", "onClick:close"]))), 128))
7888
7888
  ])) : g("", !0),
7889
7889
  C.multiple ? (t(), a("div", z2, [
7890
- (t(!0), a(K, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7890
+ (t(!0), a(U, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7891
7891
  ])) : g("", !0),
7892
7892
  E1(Z("input", {
7893
7893
  id: C.id,
@@ -7907,7 +7907,7 @@ const G2 = {
7907
7907
  O[2] || (O[2] = k1((s) => b(s), ["enter"]))
7908
7908
  ]
7909
7909
  }, null, 42, U2), [
7910
- [M2, i.value]
7910
+ [A2, i.value]
7911
7911
  ]),
7912
7912
  C.appendIcon || S.$slots.append ? (t(), a("div", {
7913
7913
  key: 3,
@@ -7930,7 +7930,7 @@ const G2 = {
7930
7930
  "r-dropdown-options--active": A.value
7931
7931
  })
7932
7932
  }, [
7933
- (t(!0), a(K, null, Y(p(w), (s) => (t(), a("li", {
7933
+ (t(!0), a(U, null, Y(p(w), (s) => (t(), a("li", {
7934
7934
  key: s.value,
7935
7935
  "aria-disabled": s.disabled,
7936
7936
  class: f({
@@ -7967,7 +7967,7 @@ const G2 = {
7967
7967
  ], 2)
7968
7968
  ], 512));
7969
7969
  }
7970
- }), j2 = ["id", "for"], Q1 = /* @__PURE__ */ F({
7970
+ }), j2 = ["id", "for"], G1 = /* @__PURE__ */ F({
7971
7971
  __name: "RLabel",
7972
7972
  props: {
7973
7973
  id: { default: "" },
@@ -7982,7 +7982,7 @@ const G2 = {
7982
7982
  for: V.for
7983
7983
  }, [
7984
7984
  B(C.$slots, "default", {}, () => [
7985
- A2(y(V.text), 1)
7985
+ _1(y(V.text), 1)
7986
7986
  ])
7987
7987
  ], 8, j2));
7988
7988
  }
@@ -8050,7 +8050,7 @@ const G2 = {
8050
8050
  [i2, H.modelValue]
8051
8051
  ]);
8052
8052
  }
8053
- }), M5 = { class: "flex w-fit" }, A5 = ["data-open"], i5 = { class: "r-sidebar__nav" }, e5 = { class: "r-sidebar__actions" }, d5 = ["data-open"], h3 = /* @__PURE__ */ F({
8053
+ }), M5 = ["data-open"], A5 = { class: "r-sidebar__nav" }, i5 = { class: "r-sidebar__actions" }, e5 = ["data-open"], d5 = /* @__PURE__ */ _1(" > "), h3 = /* @__PURE__ */ F({
8054
8054
  __name: "RSidebar",
8055
8055
  props: {
8056
8056
  modelValue: { type: Boolean, default: !1 },
@@ -8062,31 +8062,29 @@ const G2 = {
8062
8062
  const V = H, C = k(() => ({
8063
8063
  "r-sidebar": !0
8064
8064
  }));
8065
- return (L, M) => (t(), a("div", M5, [
8065
+ return (L, M) => (t(), a(U, null, [
8066
8066
  Z("aside", {
8067
8067
  class: f([p(C), V.class]),
8068
8068
  "data-open": V.modelValue
8069
8069
  }, [
8070
- Z("nav", i5, [
8070
+ Z("nav", A5, [
8071
8071
  B(L.$slots, "default")
8072
8072
  ]),
8073
- Z("div", e5, [
8073
+ Z("div", i5, [
8074
8074
  B(L.$slots, "actions")
8075
8075
  ])
8076
- ], 10, A5),
8076
+ ], 10, M5),
8077
8077
  V.showTrigger ? (t(), a("div", {
8078
8078
  key: 0,
8079
8079
  class: f(["r-sidebar__trigger", [V.triggerClass]]),
8080
- "data-open": V.modelValue
8080
+ "data-open": V.modelValue,
8081
+ onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8081
8082
  }, [
8082
8083
  B(L.$slots, "trigger", {}, () => [
8083
- Z("button", {
8084
- class: "r-sidebar__trigger-button",
8085
- onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8086
- }, " > ")
8084
+ d5
8087
8085
  ])
8088
- ], 10, d5)) : g("", !0)
8089
- ]));
8086
+ ], 10, e5)) : g("", !0)
8087
+ ], 64));
8090
8088
  }
8091
8089
  }), t5 = { class: "r-snackbar__text" }, m5 = {
8092
8090
  key: 0,
@@ -8309,7 +8307,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8309
8307
  class: f(p(M))
8310
8308
  }, [
8311
8309
  B(i.$slots, "default", {}, () => [
8312
- (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), x(c5, {
8310
+ (t(!0), a(U, null, Y(C.tabs, (d, m) => (t(), x(c5, {
8313
8311
  id: d.id,
8314
8312
  key: m,
8315
8313
  modelValue: L.value,
@@ -8361,7 +8359,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8361
8359
  immediate: !0
8362
8360
  }
8363
8361
  ), (A, i) => (t(), a("div", s5, [
8364
- C.label ? (t(), x(Q1, {
8362
+ C.label ? (t(), x(G1, {
8365
8363
  key: 0,
8366
8364
  id: "textarea",
8367
8365
  class: "r-textarea__label",
@@ -8497,7 +8495,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8497
8495
  }
8498
8496
  ), (h, P) => (t(), a("fieldset", null, [
8499
8497
  Z("div", f5, [
8500
- C.label ? (t(), x(Q1, {
8498
+ C.label ? (t(), x(G1, {
8501
8499
  key: 0,
8502
8500
  id: C.id,
8503
8501
  class: f({
@@ -8598,7 +8596,7 @@ const y5 = async (H, V, C) => {
8598
8596
  }
8599
8597
  return { x: o, y: l, placement: n, strategy: M, middlewareData: r };
8600
8598
  };
8601
- function G1(H) {
8599
+ function z1(H) {
8602
8600
  return typeof H != "number" ? function(V) {
8603
8601
  return { top: 0, right: 0, bottom: 0, left: 0, ...V };
8604
8602
  }(H) : { top: H, right: H, bottom: H, left: H };
@@ -8609,7 +8607,7 @@ function d1(H) {
8609
8607
  async function t1(H, V) {
8610
8608
  var C;
8611
8609
  V === void 0 && (V = {});
8612
- const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: n = !1, padding: r = 0 } = V, u = G1(r), b = e[n ? l === "floating" ? "reference" : "floating" : l], c = d1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(b))) == null || C ? b : b.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8610
+ const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: n = !1, padding: r = 0 } = V, u = z1(r), b = e[n ? l === "floating" ? "reference" : "floating" : l], c = d1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(b))) == null || C ? b : b.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8613
8611
  return { top: c.top - w.top + u.top, bottom: w.bottom - c.bottom + u.bottom, left: c.left - w.left + u.left, right: w.right - c.right + u.right };
8614
8612
  }
8615
8613
  const w5 = Math.min, P5 = Math.max;
@@ -8620,7 +8618,7 @@ const T5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8620
8618
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
8621
8619
  if (C == null)
8622
8620
  return {};
8623
- const m = G1(L), o = { x: M, y: A }, l = i1(i), n = o1(i), r = h1(l), u = await d.getDimensions(C), b = l === "y" ? "top" : "left", c = l === "y" ? "bottom" : "right", w = e.reference[r] + e.reference[l] - o[l] - e.floating[r], T = o[l] - e.reference[l], S = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8621
+ const m = z1(L), o = { x: M, y: A }, l = i1(i), n = o1(i), r = h1(l), u = await d.getDimensions(C), b = l === "y" ? "top" : "left", c = l === "y" ? "bottom" : "right", w = e.reference[r] + e.reference[l] - o[l] - e.floating[r], T = o[l] - e.reference[l], S = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8624
8622
  let O = S ? l === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0;
8625
8623
  O === 0 && (O = e.floating[r]);
8626
8624
  const s = w / 2 - T / 2, v = m[b], h = O - u[r] - m[c], P = O / 2 - u[r] / 2 + s, E = s1(v, P, h), _ = (n === "start" ? m[b] : m[c]) > 0 && P !== E && e.reference[r] <= e.floating[r];
@@ -8639,8 +8637,8 @@ const R5 = { start: "end", end: "start" };
8639
8637
  function w1(H) {
8640
8638
  return H.replace(/start|end/g, (V) => R5[V]);
8641
8639
  }
8642
- const z1 = ["top", "right", "bottom", "left"];
8643
- z1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8640
+ const U1 = ["top", "right", "bottom", "left"];
8641
+ U1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8644
8642
  const x5 = function(H) {
8645
8643
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8646
8644
  var C;
@@ -8662,7 +8660,7 @@ const x5 = function(H) {
8662
8660
  switch (n) {
8663
8661
  case "bestFit": {
8664
8662
  var h;
8665
- const g1 = (h = O.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1, J1) => C1 + J1, 0)]).sort((e1, C1) => e1[1] - C1[1])[0]) == null ? void 0 : h[0].placement;
8663
+ const g1 = (h = O.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1, C2) => C1 + C2, 0)]).sort((e1, C1) => e1[1] - C1[1])[0]) == null ? void 0 : h[0].placement;
8666
8664
  g1 && (_ = g1);
8667
8665
  break;
8668
8666
  }
@@ -8679,7 +8677,7 @@ function P1(H, V) {
8679
8677
  return { top: H.top - V.height, right: H.right - V.width, bottom: H.bottom - V.height, left: H.left - V.width };
8680
8678
  }
8681
8679
  function T1(H) {
8682
- return z1.some((V) => H[V] >= 0);
8680
+ return U1.some((V) => H[V] >= 0);
8683
8681
  }
8684
8682
  const D5 = function(H) {
8685
8683
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
@@ -8730,13 +8728,13 @@ const W5 = function(H) {
8730
8728
  return { ...b, data: { x: b.x - C, y: b.y - L } };
8731
8729
  } };
8732
8730
  };
8733
- function U1(H) {
8731
+ function $1(H) {
8734
8732
  return H && H.document && H.location && H.alert && H.setInterval;
8735
8733
  }
8736
8734
  function G(H) {
8737
8735
  if (H == null)
8738
8736
  return window;
8739
- if (!U1(H)) {
8737
+ if (!$1(H)) {
8740
8738
  const V = H.ownerDocument;
8741
8739
  return V && V.defaultView || window;
8742
8740
  }
@@ -8745,10 +8743,10 @@ function G(H) {
8745
8743
  function I(H) {
8746
8744
  return G(H).getComputedStyle(H);
8747
8745
  }
8748
- function $(H) {
8749
- return U1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8746
+ function K(H) {
8747
+ return $1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8750
8748
  }
8751
- function $1() {
8749
+ function K1() {
8752
8750
  const H = navigator.userAgentData;
8753
8751
  return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
8754
8752
  }
@@ -8766,20 +8764,20 @@ function r1(H) {
8766
8764
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8767
8765
  }
8768
8766
  function N5(H) {
8769
- return ["table", "td", "th"].includes($(H));
8767
+ return ["table", "td", "th"].includes(K(H));
8770
8768
  }
8771
8769
  function O1(H) {
8772
- const V = /firefox/i.test($1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8770
+ const V = /firefox/i.test(K1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8773
8771
  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) => {
8774
8772
  const A = C.contain;
8775
8773
  return A != null && A.includes(M);
8776
8774
  });
8777
8775
  }
8778
- function K1() {
8779
- return !/^((?!chrome|android).)*safari/i.test($1());
8776
+ function j1() {
8777
+ return !/^((?!chrome|android).)*safari/i.test(K1());
8780
8778
  }
8781
8779
  function f1(H) {
8782
- return ["html", "body", "#document"].includes($(H));
8780
+ return ["html", "body", "#document"].includes(K(H));
8783
8781
  }
8784
8782
  const F1 = Math.min, L1 = Math.max, l1 = Math.round;
8785
8783
  function j(H, V, C) {
@@ -8788,38 +8786,38 @@ function j(H, V, C) {
8788
8786
  const e = H.getBoundingClientRect();
8789
8787
  let d = 1, m = 1;
8790
8788
  V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
8791
- const o = X(H) ? G(H) : window, l = !K1() && C, n = (e.left + (l && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, r = (e.top + (l && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / m, u = e.width / d, b = e.height / m;
8789
+ const o = X(H) ? G(H) : window, l = !j1() && C, n = (e.left + (l && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, r = (e.top + (l && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / m, u = e.width / d, b = e.height / m;
8792
8790
  return { width: u, height: b, top: r, right: n + u, bottom: r + b, left: n, x: n, y: r };
8793
8791
  }
8794
- function U(H) {
8792
+ function $(H) {
8795
8793
  return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8796
8794
  var V;
8797
8795
  }
8798
8796
  function n1(H) {
8799
8797
  return X(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8800
8798
  }
8801
- function j1(H) {
8802
- return j(U(H)).left + n1(H).scrollLeft;
8799
+ function q1(H) {
8800
+ return j($(H)).left + n1(H).scrollLeft;
8803
8801
  }
8804
8802
  function I5(H, V, C) {
8805
- const L = Q(V), M = U(V), A = j(H, L && function(d) {
8803
+ const L = Q(V), M = $(V), A = j(H, L && function(d) {
8806
8804
  const m = j(d);
8807
8805
  return l1(m.width) !== d.offsetWidth || l1(m.height) !== d.offsetHeight;
8808
8806
  }(V), C === "fixed");
8809
8807
  let i = { scrollLeft: 0, scrollTop: 0 };
8810
8808
  const e = { x: 0, y: 0 };
8811
8809
  if (L || !L && C !== "fixed")
8812
- if (($(V) !== "body" || r1(M)) && (i = n1(V)), Q(V)) {
8810
+ if ((K(V) !== "body" || r1(M)) && (i = n1(V)), Q(V)) {
8813
8811
  const d = j(V, !0);
8814
8812
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8815
8813
  } else
8816
- M && (e.x = j1(M));
8814
+ M && (e.x = q1(M));
8817
8815
  return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
8818
8816
  }
8819
8817
  function M1(H) {
8820
- if ($(H) === "html")
8818
+ if (K(H) === "html")
8821
8819
  return H;
8822
- const V = H.assignedSlot || H.parentNode || (v1(H) ? H.host : null) || U(H);
8820
+ const V = H.assignedSlot || H.parentNode || (v1(H) ? H.host : null) || $(H);
8823
8821
  return v1(V) ? V.host : V;
8824
8822
  }
8825
8823
  function R1(H) {
@@ -8830,7 +8828,7 @@ function x1(H) {
8830
8828
  let C = R1(H);
8831
8829
  for (; C && N5(C) && I(C).position === "static"; )
8832
8830
  C = R1(C);
8833
- return C && ($(C) === "html" || $(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8831
+ return C && (K(C) === "html" || K(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8834
8832
  let M = M1(L);
8835
8833
  for (; Q(M) && !f1(M); ) {
8836
8834
  if (O1(M))
@@ -8840,23 +8838,23 @@ function x1(H) {
8840
8838
  return null;
8841
8839
  }(H) || V;
8842
8840
  }
8843
- function q1(H) {
8841
+ function Y1(H) {
8844
8842
  const V = M1(H);
8845
- return f1(V) ? H.ownerDocument.body : Q(V) && r1(V) ? V : q1(V);
8843
+ return f1(V) ? H.ownerDocument.body : Q(V) && r1(V) ? V : Y1(V);
8846
8844
  }
8847
- function Y1(H, V) {
8845
+ function X1(H, V) {
8848
8846
  var C;
8849
8847
  V === void 0 && (V = []);
8850
- const L = q1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], r1(L) ? L : []) : L, e = V.concat(i);
8851
- return M ? e : e.concat(Y1(i));
8848
+ const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], r1(L) ? L : []) : L, e = V.concat(i);
8849
+ return M ? e : e.concat(X1(i));
8852
8850
  }
8853
8851
  function D1(H, V, C) {
8854
8852
  return V === "viewport" ? d1(function(L, M) {
8855
- const A = G(L), i = U(L), e = A.visualViewport;
8853
+ const A = G(L), i = $(L), e = A.visualViewport;
8856
8854
  let d = i.clientWidth, m = i.clientHeight, o = 0, l = 0;
8857
8855
  if (e) {
8858
8856
  d = e.width, m = e.height;
8859
- const n = K1();
8857
+ const n = j1();
8860
8858
  (n || !n && M === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8861
8859
  }
8862
8860
  return { width: d, height: m, x: o, y: l };
@@ -8865,16 +8863,16 @@ function D1(H, V, C) {
8865
8863
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8866
8864
  }(V, C) : d1(function(L) {
8867
8865
  var M;
8868
- const A = U(L), i = n1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = L1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = L1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8869
- let o = -i.scrollLeft + j1(L);
8866
+ const A = $(L), i = n1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = L1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = L1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8867
+ let o = -i.scrollLeft + q1(L);
8870
8868
  const l = -i.scrollTop;
8871
8869
  return I(e || A).direction === "rtl" && (o += L1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8872
- }(U(H)));
8870
+ }($(H)));
8873
8871
  }
8874
8872
  const Q5 = { getClippingRect: function(H) {
8875
8873
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8876
8874
  const A = C === "clippingAncestors" ? function(m) {
8877
- let o = Y1(m).filter((u) => X(u) && $(u) !== "body"), l = null;
8875
+ let o = X1(m).filter((u) => X(u) && K(u) !== "body"), l = null;
8878
8876
  const n = I(m).position === "fixed";
8879
8877
  let r = n ? M1(m) : m;
8880
8878
  for (; X(r) && !f1(r); ) {
@@ -8889,12 +8887,12 @@ const Q5 = { getClippingRect: function(H) {
8889
8887
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8890
8888
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8891
8889
  let { rect: V, offsetParent: C, strategy: L } = H;
8892
- const M = Q(C), A = U(C);
8890
+ const M = Q(C), A = $(C);
8893
8891
  if (C === A)
8894
8892
  return V;
8895
8893
  let i = { scrollLeft: 0, scrollTop: 0 };
8896
8894
  const e = { x: 0, y: 0 };
8897
- if ((M || !M && L !== "fixed") && (($(C) !== "body" || r1(A)) && (i = n1(C)), Q(C))) {
8895
+ if ((M || !M && L !== "fixed") && ((K(C) !== "body" || r1(A)) && (i = n1(C)), Q(C))) {
8898
8896
  const d = j(C, !0);
8899
8897
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8900
8898
  }
@@ -8904,7 +8902,7 @@ const Q5 = { getClippingRect: function(H) {
8904
8902
  return { width: H.offsetWidth, height: H.offsetHeight };
8905
8903
  const V = j(H);
8906
8904
  return { width: V.width, height: V.height };
8907
- }, getOffsetParent: x1, getDocumentElement: U, async getElementRects(H) {
8905
+ }, getOffsetParent: x1, getDocumentElement: $, async getElementRects(H) {
8908
8906
  let { reference: V, floating: C, strategy: L } = H;
8909
8907
  const M = this.getOffsetParent || x1, A = this.getDimensions;
8910
8908
  return { reference: I5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
@@ -8941,11 +8939,11 @@ function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
8941
8939
  }
8942
8940
  });
8943
8941
  }
8944
- var X1 = /* @__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))(X1 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8942
+ 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 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8945
8943
  const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], U5 = ["innerHTML"], $5 = /* @__PURE__ */ F({
8946
8944
  __name: "RTooltip",
8947
8945
  props: {
8948
- placement: { default: X1.Top },
8946
+ placement: { default: J1.Top },
8949
8947
  text: { default: "" },
8950
8948
  dark: { type: Boolean, default: !0 },
8951
8949
  light: { type: Boolean, default: !1 },
@@ -9011,7 +9009,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9011
9009
  // this is important to avoid infinite loop & for fire on mounted
9012
9010
  );
9013
9011
  const b = k(() => `${C.showDelay}ms`);
9014
- return (c, w) => (t(), a(K, null, [
9012
+ return (c, w) => (t(), a(U, null, [
9015
9013
  Z("div", {
9016
9014
  ref_key: "trigger",
9017
9015
  ref: L,
@@ -9078,7 +9076,7 @@ const K5 = (H, V) => {
9078
9076
  return (C, L) => {
9079
9077
  const M = t2("router-link");
9080
9078
  return t(), a("div", j5, [
9081
- (t(!0), a(K, null, Y(V.items, (A, i) => (t(), a("div", {
9079
+ (t(!0), a(U, null, Y(V.items, (A, i) => (t(), a("div", {
9082
9080
  key: i,
9083
9081
  class: "r-breadcrumb__item"
9084
9082
  }, [
@@ -9086,7 +9084,7 @@ const K5 = (H, V) => {
9086
9084
  class: "r-breadcrumb__link",
9087
9085
  to: A.to
9088
9086
  }, {
9089
- default: _1(() => [
9087
+ default: W1(() => [
9090
9088
  B(C.$slots, "item-icon", {}, () => [
9091
9089
  A.icon ? (t(), x(R, {
9092
9090
  key: 0,
@@ -9238,7 +9236,7 @@ const K5 = (H, V) => {
9238
9236
  C.disabled || C.mandatory && A.value.length === 1 && o || C.max && A.value.length === C.max && o || (C.multiple ? o ? A.value.push(m) : A.value = A.value.filter((l) => l !== m) : A.value = o ? [m] : [], V("update:modelValue", A.value));
9239
9237
  };
9240
9238
  return a1(`${L}:select`, d), (m, o) => (t(), x(m2(M.value), null, {
9241
- default: _1(() => [
9239
+ default: W1(() => [
9242
9240
  B(m.$slots, "default", {
9243
9241
  isSelected: e,
9244
9242
  select: d,
@@ -9284,7 +9282,7 @@ export {
9284
9282
  R as RIcon,
9285
9283
  F3 as RItem,
9286
9284
  v3 as RItemGroup,
9287
- Q1 as RLabel,
9285
+ G1 as RLabel,
9288
9286
  p3 as RModal,
9289
9287
  P3 as RPagination,
9290
9288
  T3 as RProgressbar,