@rocketui/vue 0.0.68 → 0.0.69

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.
@@ -7802,39 +7802,39 @@ const z2 = {
7802
7802
  setup(H, { emit: V }) {
7803
7803
  const C = H, L = D(""), M = J([]), A = D(!1), i = D(""), e = D(null), d = D(null), l = D(null);
7804
7804
  function o(u) {
7805
- var O, c, v;
7805
+ var s, c, v;
7806
7806
  if (!C.disabled) {
7807
7807
  if (u.stopPropagation(), A.value = !A.value, A.value) {
7808
- (O = e.value) == null || O.classList.add("r-dropdown--active"), (c = e.value) == null || c.focus(), C.searchable && ((v = d.value) == null || v.focus());
7808
+ (s = e.value) == null || s.classList.add("r-dropdown--active"), (c = e.value) == null || c.focus(), C.searchable && ((v = d.value) == null || v.focus());
7809
7809
  return;
7810
7810
  }
7811
7811
  t();
7812
7812
  }
7813
7813
  }
7814
7814
  function t() {
7815
- var u, O, c;
7816
- A.value = !1, (u = e.value) == null || u.classList.remove("r-dropdown--active"), (O = e.value) == null || O.blur(), (c = d.value) == null || c.blur();
7815
+ var u, s, c;
7816
+ A.value = !1, (u = e.value) == null || u.classList.remove("r-dropdown--active"), (s = e.value) == null || s.blur(), (c = d.value) == null || c.blur();
7817
7817
  }
7818
- function r(u, O) {
7818
+ function r(u, s) {
7819
7819
  var c;
7820
7820
  if (C.multiple || C.taggable) {
7821
- u.stopPropagation(), M.find((v) => v.value === O.value) ? M.splice(M.indexOf(O), 1) : M.push(O), i.value = "", C.searchable && ((c = d.value) == null || c.focus());
7821
+ u.stopPropagation(), M.find((v) => v.value === s.value) ? M.splice(M.indexOf(s), 1) : M.push(s), i.value = "", C.searchable && ((c = d.value) == null || c.focus());
7822
7822
  return;
7823
7823
  }
7824
- n(u, O);
7824
+ n(u, s);
7825
7825
  }
7826
- function n(u, O) {
7827
- if (L.value === O.value) {
7826
+ function n(u, s) {
7827
+ if (L.value === s.value) {
7828
7828
  L.value = "", i.value = "";
7829
7829
  return;
7830
7830
  }
7831
- i.value = O.label, L.value = O.value, o(u), V("update:modelValue", O);
7831
+ i.value = s.label, L.value = s.value, o(u), V("update:modelValue", s);
7832
7832
  }
7833
- function S(u, O) {
7833
+ function S(u, s) {
7834
7834
  if (u instanceof KeyboardEvent && u.key !== "Backspace" || i.value !== "")
7835
7835
  return;
7836
7836
  u.stopPropagation();
7837
- const c = M.findIndex((v) => v.value === O.value);
7837
+ const c = M.findIndex((v) => v.value === s.value);
7838
7838
  M.splice(c, 1);
7839
7839
  }
7840
7840
  function b(u) {
@@ -7842,20 +7842,20 @@ const z2 = {
7842
7842
  if (!C.taggable)
7843
7843
  return;
7844
7844
  u.stopPropagation();
7845
- const O = i.value;
7846
- if (O === "")
7845
+ const s = i.value;
7846
+ if (s === "")
7847
7847
  return;
7848
- C.options.find((h) => h.label === O) || (M.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7848
+ C.options.find((h) => h.label === s) || (M.push({ value: s, label: s }), i.value = "", (v = d.value) == null || v.focus());
7849
7849
  }
7850
- function s(u) {
7851
- return C.multiple ? M.find((O) => O.value === u.value) : L.value === u.value;
7850
+ function O(u) {
7851
+ return C.multiple ? M.find((s) => s.value === u.value) : L.value === u.value;
7852
7852
  }
7853
- const w = g(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7853
+ const w = g(() => C.searchable ? C.options.filter((s) => s.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7854
7854
  return E1(() => {
7855
7855
  C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7856
7856
  }), W(M, (u) => {
7857
7857
  V("update:modelValue", u);
7858
- }), G2(l, t), (u, O) => (m(), a("div", {
7858
+ }), G2(l, t), (u, s) => (m(), a("div", {
7859
7859
  ref_key: "wrapper",
7860
7860
  ref: l,
7861
7861
  class: "r-dropdown-wrapper"
@@ -7900,7 +7900,7 @@ const z2 = {
7900
7900
  id: C.id,
7901
7901
  ref_key: "input",
7902
7902
  ref: d,
7903
- "onUpdate:modelValue": O[0] || (O[0] = (c) => i.value = c),
7903
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => i.value = c),
7904
7904
  class: f(["r-dropdown__input", {
7905
7905
  "r-dropdown__input--loading": C.loading
7906
7906
  }]),
@@ -7909,8 +7909,8 @@ const z2 = {
7909
7909
  readonly: p(T),
7910
7910
  type: "text",
7911
7911
  onKeydown: [
7912
- O[1] || (O[1] = k1((c) => S(c, M[M.length - 1]), ["backspace"])),
7913
- O[2] || (O[2] = k1((c) => b(c), ["enter"]))
7912
+ s[1] || (s[1] = k1((c) => S(c, M[M.length - 1]), ["backspace"])),
7913
+ s[2] || (s[2] = k1((c) => b(c), ["enter"]))
7914
7914
  ]
7915
7915
  }, null, 42, $2), [
7916
7916
  [A2, i.value]
@@ -7938,7 +7938,7 @@ const z2 = {
7938
7938
  key: c.value,
7939
7939
  "aria-disabled": c.disabled,
7940
7940
  class: f(["r-dropdown-options__option", {
7941
- "r-dropdown-options__option--active": s(c)
7941
+ "r-dropdown-options__option--active": O(c)
7942
7942
  }]),
7943
7943
  onClick: (v) => r(v, c)
7944
7944
  }, [
@@ -7946,20 +7946,20 @@ const z2 = {
7946
7946
  c.prependIcon ? (m(), R(x, {
7947
7947
  key: 1,
7948
7948
  class: f(["r-dropdown-options__option__prepend-icon", {
7949
- "r-dropdown-options__option__prepend-icon--active": s(c)
7949
+ "r-dropdown-options__option__prepend-icon--active": O(c)
7950
7950
  }]),
7951
7951
  name: c.prependIcon
7952
7952
  }, null, 8, ["class", "name"])) : B(u.$slots, "option-prepend", { key: 0 }),
7953
7953
  Z("p", {
7954
7954
  class: f(["r-dropdown-options__option__label", {
7955
- "r-dropdown-options__option__label--active": s(c)
7955
+ "r-dropdown-options__option__label--active": O(c)
7956
7956
  }])
7957
7957
  }, y(c.label), 3)
7958
7958
  ]),
7959
- s(c) ? (m(), R(x, {
7959
+ O(c) ? (m(), R(x, {
7960
7960
  key: 0,
7961
7961
  class: f(["r-dropdown-options__option__append-icon", {
7962
- "r-dropdown-options__option__append-icon--active": s(c)
7962
+ "r-dropdown-options__option__append-icon--active": O(c)
7963
7963
  }]),
7964
7964
  name: "mdiCheck"
7965
7965
  }, null, 8, ["class"])) : k("", !0)
@@ -8452,7 +8452,7 @@ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
8452
8452
  })), b = g(() => {
8453
8453
  const { prependIcon: h, type: P } = C;
8454
8454
  return h === "none" ? "" : h || i[P];
8455
- }), s = g(() => {
8455
+ }), O = g(() => {
8456
8456
  const { appendIcon: h, type: P } = C;
8457
8457
  return h === "none" ? "" : o.value ? "mdiAlertCircleOutline" : t.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && A.value === "password" ? "mdiEyeOutline" : P === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
8458
8458
  });
@@ -8465,7 +8465,7 @@ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
8465
8465
  function u(h) {
8466
8466
  M.value = h.target.value, V("input", h);
8467
8467
  }
8468
- function O() {
8468
+ function s() {
8469
8469
  var h;
8470
8470
  if (t.value) {
8471
8471
  M.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
@@ -8536,12 +8536,12 @@ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
8536
8536
  onInput: u
8537
8537
  }, null, 40, B5),
8538
8538
  B(h.$slots, "append"),
8539
- p(s) && !h.$slots.append ? (m(), R(x, {
8539
+ p(O) && !h.$slots.append ? (m(), R(x, {
8540
8540
  key: 1,
8541
8541
  class: f(p(S)),
8542
- name: `${p(s)}`,
8542
+ name: `${p(O)}`,
8543
8543
  size: 20,
8544
- onClick: O
8544
+ onClick: s
8545
8545
  }, null, 8, ["class", "name"])) : k("", !0)
8546
8546
  ], 2),
8547
8547
  C.errorMsg ? (m(), a("div", b5, y(C.errorMsg), 1)) : k("", !0),
@@ -8596,8 +8596,8 @@ const w5 = async (H, V, C) => {
8596
8596
  const { placement: L = "bottom", strategy: M = "absolute", middleware: A = [], platform: i } = C, e = A.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8597
8597
  let l = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: t } = y1(l, L, d), r = L, n = {}, S = 0;
8598
8598
  for (let b = 0; b < e.length; b++) {
8599
- const { name: s, fn: w } = e[b], { x: T, y: u, data: O, reset: c } = await w({ x: o, y: t, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: l, platform: i, elements: { reference: H, floating: V } });
8600
- o = T ?? o, t = u ?? t, n = { ...n, [s]: { ...n[s], ...O } }, c && S <= 50 && (S++, typeof c == "object" && (c.placement && (r = c.placement), c.rects && (l = c.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : c.rects), { x: o, y: t } = y1(l, r, d)), b = -1);
8599
+ const { name: O, fn: w } = e[b], { x: T, y: u, data: s, reset: c } = await w({ x: o, y: t, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: l, platform: i, elements: { reference: H, floating: V } });
8600
+ o = T ?? o, t = u ?? t, n = { ...n, [O]: { ...n[O], ...s } }, c && S <= 50 && (S++, typeof c == "object" && (c.placement && (r = c.placement), c.rects && (l = c.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : c.rects), { x: o, y: t } = y1(l, r, d)), b = -1);
8601
8601
  }
8602
8602
  return { x: o, y: t, placement: r, strategy: M, middlewareData: n };
8603
8603
  };
@@ -8612,8 +8612,8 @@ function d1(H) {
8612
8612
  async function t1(H, V) {
8613
8613
  var C;
8614
8614
  V === void 0 && (V = {});
8615
- const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: o = "viewport", elementContext: t = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = U1(n), b = e[r ? t === "floating" ? "reference" : "floating" : t], s = 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: l, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: t === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[t]);
8616
- return { top: s.top - w.top + S.top, bottom: w.bottom - s.bottom + S.bottom, left: s.left - w.left + S.left, right: w.right - s.right + S.right };
8615
+ const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: o = "viewport", elementContext: t = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = U1(n), b = e[r ? t === "floating" ? "reference" : "floating" : t], O = 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: l, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: t === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[t]);
8616
+ return { top: O.top - w.top + S.top, bottom: w.bottom - O.bottom + S.bottom, left: O.left - w.left + S.left, right: w.right - O.right + S.right };
8617
8617
  }
8618
8618
  const P5 = Math.min, T5 = Math.max;
8619
8619
  function s1(H, V, C) {
@@ -8623,10 +8623,10 @@ const v5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8623
8623
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
8624
8624
  if (C == null)
8625
8625
  return {};
8626
- const l = U1(L), o = { x: M, y: A }, t = i1(i), r = o1(i), n = h1(t), S = await d.getDimensions(C), b = t === "y" ? "top" : "left", s = t === "y" ? "bottom" : "right", w = e.reference[n] + e.reference[t] - o[t] - e.floating[n], T = o[t] - e.reference[t], u = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8627
- let O = u ? t === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0;
8628
- O === 0 && (O = e.floating[n]);
8629
- const c = w / 2 - T / 2, v = l[b], h = O - S[n] - l[s], P = O / 2 - S[n] / 2 + c, E = s1(v, P, h), _ = (r === "start" ? l[b] : l[s]) > 0 && P !== E && e.reference[n] <= e.floating[n];
8626
+ const l = U1(L), o = { x: M, y: A }, t = i1(i), r = o1(i), n = h1(t), S = await d.getDimensions(C), b = t === "y" ? "top" : "left", O = t === "y" ? "bottom" : "right", w = e.reference[n] + e.reference[t] - o[t] - e.floating[n], T = o[t] - e.reference[t], u = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8627
+ let s = u ? t === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0;
8628
+ s === 0 && (s = e.floating[n]);
8629
+ const c = w / 2 - T / 2, v = l[b], h = s - S[n] - l[O], P = s / 2 - S[n] / 2 + c, E = s1(v, P, h), _ = (r === "start" ? l[b] : l[O]) > 0 && P !== E && e.reference[n] <= e.floating[n];
8630
8630
  return { [t]: o[t] - (_ ? P < v ? v - P : h - P : 0), data: { [t]: E, centerOffset: P - E } };
8631
8631
  } }), F5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8632
8632
  function m1(H) {
@@ -8647,25 +8647,25 @@ $1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8647
8647
  const D5 = function(H) {
8648
8648
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8649
8649
  var C;
8650
- const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: o = !0, fallbackPlacements: t, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, b = A1(L), s = t || (b === i || !n ? [m1(i)] : function(P) {
8650
+ const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: o = !0, fallbackPlacements: t, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, b = A1(L), O = t || (b === i || !n ? [m1(i)] : function(P) {
8651
8651
  const E = m1(P);
8652
8652
  return [w1(P), E, w1(E)];
8653
- }(i)), w = [i, ...s], T = await t1(V, S), u = [];
8654
- let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8653
+ }(i)), w = [i, ...O], T = await t1(V, S), u = [];
8654
+ let s = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8655
8655
  if (l && u.push(T[b]), o) {
8656
8656
  const { main: P, cross: E } = R5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8657
8657
  u.push(T[P], T[E]);
8658
8658
  }
8659
- if (O = [...O, { placement: L, overflows: u }], !u.every((P) => P <= 0)) {
8659
+ if (s = [...s, { placement: L, overflows: u }], !u.every((P) => P <= 0)) {
8660
8660
  var c, v;
8661
8661
  const P = ((c = (v = M.flip) == null ? void 0 : v.index) != null ? c : 0) + 1, E = w[P];
8662
8662
  if (E)
8663
- return { data: { index: P, overflows: O }, reset: { placement: E } };
8663
+ return { data: { index: P, overflows: s }, reset: { placement: E } };
8664
8664
  let _ = "bottom";
8665
8665
  switch (r) {
8666
8666
  case "bestFit": {
8667
8667
  var h;
8668
- const g1 = (h = O.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1, H2) => C1 + H2, 0)]).sort((e1, C1) => e1[1] - C1[1])[0]) == null ? void 0 : h[0].placement;
8668
+ const g1 = (h = s.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1, H2) => C1 + H2, 0)]).sort((e1, C1) => e1[1] - C1[1])[0]) == null ? void 0 : h[0].placement;
8669
8669
  g1 && (_ = g1);
8670
8670
  break;
8671
8671
  }
@@ -8704,8 +8704,8 @@ const E5 = function(H) {
8704
8704
  }, _5 = function(H) {
8705
8705
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8706
8706
  const { x: C, y: L } = V, M = await async function(A, i) {
8707
- const { placement: e, platform: d, elements: l } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), t = A1(e), r = o1(e), n = i1(e) === "x", S = ["left", "top"].includes(t) ? -1 : 1, b = o && n ? -1 : 1, s = typeof i == "function" ? i(A) : i;
8708
- let { mainAxis: w, crossAxis: T, alignmentAxis: u } = typeof s == "number" ? { mainAxis: s, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...s };
8707
+ const { placement: e, platform: d, elements: l } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), t = A1(e), r = o1(e), n = i1(e) === "x", S = ["left", "top"].includes(t) ? -1 : 1, b = o && n ? -1 : 1, O = typeof i == "function" ? i(A) : i;
8708
+ let { mainAxis: w, crossAxis: T, alignmentAxis: u } = typeof O == "number" ? { mainAxis: O, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...O };
8709
8709
  return r && typeof u == "number" && (T = r === "end" ? -1 * u : u), n ? { x: T * b, y: w * S } : { x: w * S, y: T * b };
8710
8710
  }(V, H);
8711
8711
  return { x: C + M.x, y: L + M.y, data: M };
@@ -8716,18 +8716,18 @@ function W5(H) {
8716
8716
  }
8717
8717
  const N5 = function(H) {
8718
8718
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8719
- const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (s) => {
8720
- let { x: w, y: T } = s;
8719
+ const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (O) => {
8720
+ let { x: w, y: T } = O;
8721
8721
  return { x: w, y: T };
8722
8722
  } }, ...d } = H, l = { x: C, y: L }, o = await t1(V, d), t = i1(A1(M)), r = W5(t);
8723
8723
  let n = l[t], S = l[r];
8724
8724
  if (A) {
8725
- const s = t === "y" ? "bottom" : "right";
8726
- n = s1(n + o[t === "y" ? "top" : "left"], n, n - o[s]);
8725
+ const O = t === "y" ? "bottom" : "right";
8726
+ n = s1(n + o[t === "y" ? "top" : "left"], n, n - o[O]);
8727
8727
  }
8728
8728
  if (i) {
8729
- const s = r === "y" ? "bottom" : "right";
8730
- S = s1(S + o[r === "y" ? "top" : "left"], S, S - o[s]);
8729
+ const O = r === "y" ? "bottom" : "right";
8730
+ S = s1(S + o[r === "y" ? "top" : "left"], S, S - o[O]);
8731
8731
  }
8732
8732
  const b = e.fn({ ...V, [t]: n, [r]: S });
8733
8733
  return { ...b, data: { x: b.x - C, y: b.y - L } };
@@ -8882,7 +8882,7 @@ const G5 = { getClippingRect: function(H) {
8882
8882
  let n = r ? M1(l) : l;
8883
8883
  for (; X(n) && !f1(n); ) {
8884
8884
  const S = I(n), b = O1(n);
8885
- (r ? b || t : b || S.position !== "static" || !t || !["absolute", "fixed"].includes(t.position)) ? t = S : o = o.filter((s) => s !== n), n = M1(n);
8885
+ (r ? b || t : b || S.position !== "static" || !t || !["absolute", "fixed"].includes(t.position)) ? t = S : o = o.filter((O) => O !== n), n = M1(n);
8886
8886
  }
8887
8887
  return o;
8888
8888
  }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((l, o) => {
@@ -8969,13 +8969,13 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8969
8969
  emits: ["show", "hide"],
8970
8970
  setup(H, { emit: V }) {
8971
8971
  const C = H;
8972
- e2((s) => ({
8973
- "7eb293f0": p(b)
8972
+ e2((O) => ({
8973
+ "7d5a504d": p(b)
8974
8974
  }));
8975
8975
  const L = D(null), M = D(null), A = D(null);
8976
8976
  function i() {
8977
- const { placement: s, offset: w, padding: T, disabled: u } = C;
8978
- u || !C.text || !C.text.length || (M.value.style.display = "block", document.body.appendChild(M.value), V("show"), S1(L, M, A, s, w, T), d(), C.outsideClick && l("add"));
8977
+ const { placement: O, offset: w, padding: T, disabled: u } = C;
8978
+ u || (M.value.style.display = "block", document.body.appendChild(M.value), V("show"), S1(L, M, A, O, w, T), d(), C.outsideClick && l("add"));
8979
8979
  }
8980
8980
  function e() {
8981
8981
  M.value.style.display = "", M.value.remove(), V("hide"), C.outsideClick && l("remove");
@@ -8985,8 +8985,8 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8985
8985
  e();
8986
8986
  }, C.hideDelay);
8987
8987
  }
8988
- function l(s) {
8989
- s === "add" && document.addEventListener("click", e), s === "remove" && document.removeEventListener("click", e);
8988
+ function l(O) {
8989
+ O === "add" && document.addEventListener("click", e), O === "remove" && document.removeEventListener("click", e);
8990
8990
  }
8991
8991
  function o() {
8992
8992
  C.disabled || C.triggers.includes(N.Click) && (M.value.style.display === "block" ? e() : i());
@@ -8998,8 +8998,8 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8998
8998
  C.disabled || (M.value.style.display === "" && C.triggers.includes(N.Hover) ? i() : M.value.style.display !== "" && C.triggers.includes(N.Hover) && e());
8999
8999
  }
9000
9000
  function n() {
9001
- const { placement: s, offset: w, padding: T, disabled: u } = C;
9002
- u || C.triggers.includes(N.Hover) && S1(L, M, A, s, w, T);
9001
+ const { placement: O, offset: w, padding: T, disabled: u } = C;
9002
+ u || C.triggers.includes(N.Hover) && S1(L, M, A, O, w, T);
9003
9003
  }
9004
9004
  const S = g(() => ({
9005
9005
  tooltip: !0,
@@ -9008,8 +9008,8 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9008
9008
  [`${C.tooltipClass}`]: !0
9009
9009
  }));
9010
9010
  window.onresize = () => {
9011
- const { placement: s, offset: w, padding: T, disabled: u } = C;
9012
- u || C.resizable && S1(L, M, A, s, w, T);
9011
+ const { placement: O, offset: w, padding: T, disabled: u } = C;
9012
+ u || C.resizable && S1(L, M, A, O, w, T);
9013
9013
  }, d2(
9014
9014
  () => {
9015
9015
  C.disabled || (C.shown && C.triggers.includes(N.Manual) ? i() : !C.shown && C.triggers.includes(N.Manual) && e());
@@ -9020,7 +9020,7 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9020
9020
  const b = g(() => `${C.showDelay}ms`);
9021
9021
  return E1(() => {
9022
9022
  e();
9023
- }), (s, w) => (m(), a(U, null, [
9023
+ }), (O, w) => (m(), a(U, null, [
9024
9024
  Z("div", {
9025
9025
  ref_key: "trigger",
9026
9026
  ref: L,
@@ -9031,7 +9031,7 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9031
9031
  onMouseleave: z(r, ["stop"]),
9032
9032
  onMousemove: z(n, ["stop"])
9033
9033
  }, [
9034
- B(s.$slots, "default", {
9034
+ B(O.$slots, "default", {
9035
9035
  activators: {
9036
9036
  click: o,
9037
9037
  mouseenter: t,
@@ -9052,24 +9052,25 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9052
9052
  class: f(p(S)),
9053
9053
  role: "tooltip"
9054
9054
  }, [
9055
- B(s.$slots, "content", {}, void 0, !0),
9056
- s.$slots.content ? k("", !0) : (m(), a("div", {
9057
- key: 0,
9058
- class: f(["tooltip__content", {
9059
- "tooltip__content--dark": C.dark,
9060
- "tooltip__content--light": C.light
9061
- }])
9062
- }, y(C.text), 3)),
9063
- s.$slots.content ? k("", !0) : (m(), a("div", {
9064
- key: 1,
9065
- id: "arrow",
9066
- ref_key: "arrowElement",
9067
- ref: A,
9068
- class: f(["tooltip__arrow", {
9069
- "tooltip__arrow--dark": C.dark,
9070
- "tooltip__arrow--light": C.light
9071
- }])
9072
- }, null, 2))
9055
+ B(O.$slots, "content", {}, () => [
9056
+ C.text ? (m(), a("div", {
9057
+ key: 0,
9058
+ class: f(["tooltip__content", {
9059
+ "tooltip__content--dark": C.dark,
9060
+ "tooltip__content--light": C.light
9061
+ }])
9062
+ }, y(C.text), 3)) : k("", !0),
9063
+ C.text ? (m(), a("div", {
9064
+ key: 1,
9065
+ id: "arrow",
9066
+ ref_key: "arrowElement",
9067
+ ref: A,
9068
+ class: f(["tooltip__arrow", {
9069
+ "tooltip__arrow--dark": C.dark,
9070
+ "tooltip__arrow--light": C.light
9071
+ }])
9072
+ }, null, 2)) : k("", !0)
9073
+ ], !0)
9073
9074
  ], 2)
9074
9075
  ]))
9075
9076
  ], 64));
@@ -9080,7 +9081,7 @@ const j5 = (H, V) => {
9080
9081
  for (const [L, M] of V)
9081
9082
  C[L] = M;
9082
9083
  return C;
9083
- }, w3 = /* @__PURE__ */ j5(K5, [["__scopeId", "data-v-114be3db"]]), q5 = { class: "r-breadcrumb" }, Y5 = {
9084
+ }, w3 = /* @__PURE__ */ j5(K5, [["__scopeId", "data-v-7caea22f"]]), q5 = { class: "r-breadcrumb" }, Y5 = {
9084
9085
  key: 0,
9085
9086
  class: "r-breadcrumb__title"
9086
9087
  }, P3 = /* @__PURE__ */ F({