@rocketui/vue 0.0.70 → 0.0.71
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.
- package/README.md +1 -2
- package/dist/rocket-ui-vue.js +54 -56
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<a href="https://npmjs.com/package/@rocketui/vue"><img src="https://img.shields.io/npm/v/@rocketui/vue?style=flat&colorA=080f12&colorB=34b2ae" alt="npm version"></a>
|
|
5
5
|
<a href="https://npmjs.com/package/@rocketui/vue"><img src="https://img.shields.io/bundlejs/size/@rocketui/vue?style=flat&colorA=080f12&colorB=34b2ae" alt="npm size"></a>
|
|
6
|
-
<a href="https://npmjs.com/package/@rocketui/vue"><img src="https://img.shields.io/npm/dw/
|
|
7
|
-
@rocketui/vue?style=flat&colorA=080f12&colorB=34b2ae" alt="npm size"></a>
|
|
6
|
+
<!-- <a href="https://npmjs.com/package/@rocketui/vue"><img src="https://img.shields.io/npm/dw/@rocketui/vue?style=flat&colorA=080f12&colorB=34b2ae" alt="npm size"></a> -->
|
|
8
7
|
|
|
9
8
|
## Installation
|
|
10
9
|
|
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, openBlock as m, 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 g, createCommentVNode as k, mergeProps as
|
|
1
|
+
import { defineComponent as F, openBlock as m, 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 g, createCommentVNode as k, mergeProps as H2, createBlock as R, 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, withModifiers as z, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, Teleport as t2, resolveComponent as m2, withCtx as W1, provide as a1, resolveDynamicComponent as l2, inject as Z1 } from "vue";
|
|
2
2
|
const o2 = {
|
|
3
3
|
mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
|
|
4
4
|
mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
|
|
@@ -7533,7 +7533,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
|
|
|
7533
7533
|
color: e
|
|
7534
7534
|
};
|
|
7535
7535
|
});
|
|
7536
|
-
return (A, i) => (m(), a("button",
|
|
7536
|
+
return (A, i) => (m(), a("button", H2(A.$attrs, {
|
|
7537
7537
|
class: p(C),
|
|
7538
7538
|
disabled: H.disabled || H.loading,
|
|
7539
7539
|
style: p(M),
|
|
@@ -7698,32 +7698,32 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
|
|
|
7698
7698
|
}
|
|
7699
7699
|
});
|
|
7700
7700
|
function _2(H) {
|
|
7701
|
-
return
|
|
7701
|
+
return V2() ? (L2(H), !0) : !1;
|
|
7702
7702
|
}
|
|
7703
|
-
function
|
|
7703
|
+
function N1(H) {
|
|
7704
7704
|
return typeof H == "function" ? H() : p(H);
|
|
7705
7705
|
}
|
|
7706
|
-
const
|
|
7706
|
+
const I1 = typeof window < "u" && typeof document < "u", W2 = Object.prototype.toString, N2 = (H) => W2.call(H) === "[object Object]", c1 = () => {
|
|
7707
7707
|
}, I2 = /* @__PURE__ */ Q2();
|
|
7708
7708
|
function Q2() {
|
|
7709
7709
|
var H;
|
|
7710
|
-
return
|
|
7710
|
+
return I1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
7711
7711
|
}
|
|
7712
7712
|
function H1(H) {
|
|
7713
7713
|
var V;
|
|
7714
|
-
const C =
|
|
7714
|
+
const C = N1(H);
|
|
7715
7715
|
return (V = C == null ? void 0 : C.$el) != null ? V : C;
|
|
7716
7716
|
}
|
|
7717
|
-
const
|
|
7717
|
+
const Q1 = I1 ? window : void 0;
|
|
7718
7718
|
function u1(...H) {
|
|
7719
7719
|
let V, C, L, M;
|
|
7720
|
-
if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V =
|
|
7720
|
+
if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = Q1) : [V, C, L, M] = H, !V)
|
|
7721
7721
|
return c1;
|
|
7722
7722
|
Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
|
|
7723
7723
|
const A = [], i = () => {
|
|
7724
7724
|
A.forEach((o) => o()), A.length = 0;
|
|
7725
7725
|
}, e = (o, t, r, n) => (o.addEventListener(t, r, n), () => o.removeEventListener(t, r, n)), d = W(
|
|
7726
|
-
() => [H1(V),
|
|
7726
|
+
() => [H1(V), N1(M)],
|
|
7727
7727
|
([o, t]) => {
|
|
7728
7728
|
if (i(), !o)
|
|
7729
7729
|
return;
|
|
@@ -7740,7 +7740,7 @@ function u1(...H) {
|
|
|
7740
7740
|
}
|
|
7741
7741
|
let b1 = !1;
|
|
7742
7742
|
function G2(H, V, C = {}) {
|
|
7743
|
-
const { window: L =
|
|
7743
|
+
const { window: L = Q1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
|
|
7744
7744
|
if (!L)
|
|
7745
7745
|
return;
|
|
7746
7746
|
I2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
|
|
@@ -7851,7 +7851,7 @@ const z2 = {
|
|
|
7851
7851
|
return C.multiple ? M.find((s) => s.value === u.value) : L.value === u.value;
|
|
7852
7852
|
}
|
|
7853
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
|
-
return
|
|
7854
|
+
return M2(() => {
|
|
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);
|
|
@@ -7896,7 +7896,7 @@ const z2 = {
|
|
|
7896
7896
|
C.multiple ? (m(), a("div", U2, [
|
|
7897
7897
|
(m(!0), a(U, null, Y(M, (c, v) => (m(), a("p", { key: v }, y(`${c.label},`), 1))), 128))
|
|
7898
7898
|
])) : k("", !0),
|
|
7899
|
-
|
|
7899
|
+
E1(Z("input", {
|
|
7900
7900
|
id: C.id,
|
|
7901
7901
|
ref_key: "input",
|
|
7902
7902
|
ref: d,
|
|
@@ -7967,7 +7967,7 @@ const z2 = {
|
|
|
7967
7967
|
], 2)
|
|
7968
7968
|
], 512));
|
|
7969
7969
|
}
|
|
7970
|
-
}), q2 = ["id", "for"],
|
|
7970
|
+
}), q2 = ["id", "for"], G1 = /* @__PURE__ */ F({
|
|
7971
7971
|
__name: "RLabel",
|
|
7972
7972
|
props: {
|
|
7973
7973
|
id: { default: "" },
|
|
@@ -7982,7 +7982,7 @@ const z2 = {
|
|
|
7982
7982
|
for: V.for
|
|
7983
7983
|
}, [
|
|
7984
7984
|
B(C.$slots, "default", {}, () => [
|
|
7985
|
-
|
|
7985
|
+
_1(y(V.text), 1)
|
|
7986
7986
|
])
|
|
7987
7987
|
], 8, q2));
|
|
7988
7988
|
}
|
|
@@ -8022,7 +8022,7 @@ const z2 = {
|
|
|
8022
8022
|
})), A = (i) => {
|
|
8023
8023
|
C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
|
|
8024
8024
|
};
|
|
8025
|
-
return (i, e) =>
|
|
8025
|
+
return (i, e) => E1((m(), a("div", {
|
|
8026
8026
|
class: f(["r-modal-overlay", H.overlayClass]),
|
|
8027
8027
|
onClick: z(A, ["stop"])
|
|
8028
8028
|
}, [
|
|
@@ -8054,7 +8054,7 @@ const z2 = {
|
|
|
8054
8054
|
[i2, H.modelValue]
|
|
8055
8055
|
]);
|
|
8056
8056
|
}
|
|
8057
|
-
}), A5 = ["data-open"], i5 = { class: "r-sidebar__nav" }, e5 = { class: "r-sidebar__actions" }, d5 = ["data-open"], t5 = /* @__PURE__ */
|
|
8057
|
+
}), A5 = ["data-open"], i5 = { class: "r-sidebar__nav" }, e5 = { class: "r-sidebar__actions" }, d5 = ["data-open"], t5 = /* @__PURE__ */ _1(" > "), f3 = /* @__PURE__ */ F({
|
|
8058
8058
|
__name: "RSidebar",
|
|
8059
8059
|
props: {
|
|
8060
8060
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -8364,7 +8364,7 @@ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
|
|
|
8364
8364
|
immediate: !0
|
|
8365
8365
|
}
|
|
8366
8366
|
), (A, i) => (m(), a("div", O5, [
|
|
8367
|
-
C.label ? (m(), R(
|
|
8367
|
+
C.label ? (m(), R(G1, {
|
|
8368
8368
|
key: 0,
|
|
8369
8369
|
id: "textarea",
|
|
8370
8370
|
class: "r-textarea__label",
|
|
@@ -8502,7 +8502,7 @@ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
|
|
|
8502
8502
|
}
|
|
8503
8503
|
), (h, P) => (m(), a("fieldset", null, [
|
|
8504
8504
|
Z("div", g5, [
|
|
8505
|
-
C.label ? (m(), R(
|
|
8505
|
+
C.label ? (m(), R(G1, {
|
|
8506
8506
|
key: 0,
|
|
8507
8507
|
id: C.id,
|
|
8508
8508
|
class: "r-textfield__label",
|
|
@@ -8601,7 +8601,7 @@ const w5 = async (H, V, C) => {
|
|
|
8601
8601
|
}
|
|
8602
8602
|
return { x: o, y: t, placement: r, strategy: M, middlewareData: n };
|
|
8603
8603
|
};
|
|
8604
|
-
function
|
|
8604
|
+
function z1(H) {
|
|
8605
8605
|
return typeof H != "number" ? function(V) {
|
|
8606
8606
|
return { top: 0, right: 0, bottom: 0, left: 0, ...V };
|
|
8607
8607
|
}(H) : { top: H, right: H, bottom: H, left: H };
|
|
@@ -8612,7 +8612,7 @@ 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 =
|
|
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 = z1(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
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;
|
|
@@ -8623,7 +8623,7 @@ 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 =
|
|
8626
|
+
const l = z1(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
8627
|
let s = u ? t === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0;
|
|
8628
8628
|
s === 0 && (s = e.floating[n]);
|
|
8629
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];
|
|
@@ -8642,8 +8642,8 @@ const x5 = { start: "end", end: "start" };
|
|
|
8642
8642
|
function w1(H) {
|
|
8643
8643
|
return H.replace(/start|end/g, (V) => x5[V]);
|
|
8644
8644
|
}
|
|
8645
|
-
const
|
|
8646
|
-
|
|
8645
|
+
const U1 = ["top", "right", "bottom", "left"];
|
|
8646
|
+
U1.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;
|
|
@@ -8665,7 +8665,7 @@ const D5 = function(H) {
|
|
|
8665
8665
|
switch (r) {
|
|
8666
8666
|
case "bestFit": {
|
|
8667
8667
|
var h;
|
|
8668
|
-
const g1 = (h = s.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1,
|
|
8668
|
+
const g1 = (h = s.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;
|
|
8669
8669
|
g1 && (_ = g1);
|
|
8670
8670
|
break;
|
|
8671
8671
|
}
|
|
@@ -8682,7 +8682,7 @@ function P1(H, V) {
|
|
|
8682
8682
|
return { top: H.top - V.height, right: H.right - V.width, bottom: H.bottom - V.height, left: H.left - V.width };
|
|
8683
8683
|
}
|
|
8684
8684
|
function T1(H) {
|
|
8685
|
-
return
|
|
8685
|
+
return U1.some((V) => H[V] >= 0);
|
|
8686
8686
|
}
|
|
8687
8687
|
const E5 = function(H) {
|
|
8688
8688
|
let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
|
|
@@ -8733,13 +8733,13 @@ const N5 = function(H) {
|
|
|
8733
8733
|
return { ...b, data: { x: b.x - C, y: b.y - L } };
|
|
8734
8734
|
} };
|
|
8735
8735
|
};
|
|
8736
|
-
function
|
|
8736
|
+
function $1(H) {
|
|
8737
8737
|
return H && H.document && H.location && H.alert && H.setInterval;
|
|
8738
8738
|
}
|
|
8739
8739
|
function G(H) {
|
|
8740
8740
|
if (H == null)
|
|
8741
8741
|
return window;
|
|
8742
|
-
if (
|
|
8742
|
+
if (!$1(H)) {
|
|
8743
8743
|
const V = H.ownerDocument;
|
|
8744
8744
|
return V && V.defaultView || window;
|
|
8745
8745
|
}
|
|
@@ -8749,9 +8749,9 @@ function I(H) {
|
|
|
8749
8749
|
return G(H).getComputedStyle(H);
|
|
8750
8750
|
}
|
|
8751
8751
|
function K(H) {
|
|
8752
|
-
return
|
|
8752
|
+
return $1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
|
|
8753
8753
|
}
|
|
8754
|
-
function
|
|
8754
|
+
function K1() {
|
|
8755
8755
|
const H = navigator.userAgentData;
|
|
8756
8756
|
return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
|
|
8757
8757
|
}
|
|
@@ -8772,14 +8772,14 @@ function I5(H) {
|
|
|
8772
8772
|
return ["table", "td", "th"].includes(K(H));
|
|
8773
8773
|
}
|
|
8774
8774
|
function O1(H) {
|
|
8775
|
-
const V = /firefox/i.test(
|
|
8775
|
+
const V = /firefox/i.test(K1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
|
|
8776
8776
|
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) => {
|
|
8777
8777
|
const A = C.contain;
|
|
8778
8778
|
return A != null && A.includes(M);
|
|
8779
8779
|
});
|
|
8780
8780
|
}
|
|
8781
|
-
function
|
|
8782
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
8781
|
+
function j1() {
|
|
8782
|
+
return !/^((?!chrome|android).)*safari/i.test(K1());
|
|
8783
8783
|
}
|
|
8784
8784
|
function f1(H) {
|
|
8785
8785
|
return ["html", "body", "#document"].includes(K(H));
|
|
@@ -8791,7 +8791,7 @@ function j(H, V, C) {
|
|
|
8791
8791
|
const e = H.getBoundingClientRect();
|
|
8792
8792
|
let d = 1, l = 1;
|
|
8793
8793
|
V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
|
|
8794
|
-
const o = X(H) ? G(H) : window, t = !
|
|
8794
|
+
const o = X(H) ? G(H) : window, t = !j1() && C, r = (e.left + (t && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (t && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, S = e.width / d, b = e.height / l;
|
|
8795
8795
|
return { width: S, height: b, top: n, right: r + S, bottom: n + b, left: r, x: r, y: n };
|
|
8796
8796
|
}
|
|
8797
8797
|
function $(H) {
|
|
@@ -8801,7 +8801,7 @@ function $(H) {
|
|
|
8801
8801
|
function r1(H) {
|
|
8802
8802
|
return X(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
|
|
8803
8803
|
}
|
|
8804
|
-
function
|
|
8804
|
+
function q1(H) {
|
|
8805
8805
|
return j($(H)).left + r1(H).scrollLeft;
|
|
8806
8806
|
}
|
|
8807
8807
|
function Q5(H, V, C) {
|
|
@@ -8816,7 +8816,7 @@ function Q5(H, V, C) {
|
|
|
8816
8816
|
const d = j(V, !0);
|
|
8817
8817
|
e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
|
|
8818
8818
|
} else
|
|
8819
|
-
M && (e.x =
|
|
8819
|
+
M && (e.x = q1(M));
|
|
8820
8820
|
return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
|
|
8821
8821
|
}
|
|
8822
8822
|
function M1(H) {
|
|
@@ -8843,15 +8843,15 @@ function x1(H) {
|
|
|
8843
8843
|
return null;
|
|
8844
8844
|
}(H) || V;
|
|
8845
8845
|
}
|
|
8846
|
-
function
|
|
8846
|
+
function Y1(H) {
|
|
8847
8847
|
const V = M1(H);
|
|
8848
|
-
return f1(V) ? H.ownerDocument.body : Q(V) && n1(V) ? V :
|
|
8848
|
+
return f1(V) ? H.ownerDocument.body : Q(V) && n1(V) ? V : Y1(V);
|
|
8849
8849
|
}
|
|
8850
|
-
function
|
|
8850
|
+
function X1(H, V) {
|
|
8851
8851
|
var C;
|
|
8852
8852
|
V === void 0 && (V = []);
|
|
8853
|
-
const L =
|
|
8854
|
-
return M ? e : e.concat(
|
|
8853
|
+
const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], n1(L) ? L : []) : L, e = V.concat(i);
|
|
8854
|
+
return M ? e : e.concat(X1(i));
|
|
8855
8855
|
}
|
|
8856
8856
|
function D1(H, V, C) {
|
|
8857
8857
|
return V === "viewport" ? d1(function(L, M) {
|
|
@@ -8859,7 +8859,7 @@ function D1(H, V, C) {
|
|
|
8859
8859
|
let d = i.clientWidth, l = i.clientHeight, o = 0, t = 0;
|
|
8860
8860
|
if (e) {
|
|
8861
8861
|
d = e.width, l = e.height;
|
|
8862
|
-
const r =
|
|
8862
|
+
const r = j1();
|
|
8863
8863
|
(r || !r && M === "fixed") && (o = e.offsetLeft, t = e.offsetTop);
|
|
8864
8864
|
}
|
|
8865
8865
|
return { width: d, height: l, x: o, y: t };
|
|
@@ -8869,7 +8869,7 @@ function D1(H, V, C) {
|
|
|
8869
8869
|
}(V, C) : d1(function(L) {
|
|
8870
8870
|
var M;
|
|
8871
8871
|
const A = $(L), i = r1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = L1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = L1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
|
|
8872
|
-
let o = -i.scrollLeft +
|
|
8872
|
+
let o = -i.scrollLeft + q1(L);
|
|
8873
8873
|
const t = -i.scrollTop;
|
|
8874
8874
|
return I(e || A).direction === "rtl" && (o += L1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: o, y: t };
|
|
8875
8875
|
}($(H)));
|
|
@@ -8877,7 +8877,7 @@ function D1(H, V, C) {
|
|
|
8877
8877
|
const G5 = { getClippingRect: function(H) {
|
|
8878
8878
|
let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
|
|
8879
8879
|
const A = C === "clippingAncestors" ? function(l) {
|
|
8880
|
-
let o =
|
|
8880
|
+
let o = X1(l).filter((S) => X(S) && K(S) !== "body"), t = null;
|
|
8881
8881
|
const r = I(l).position === "fixed";
|
|
8882
8882
|
let n = r ? M1(l) : l;
|
|
8883
8883
|
for (; X(n) && !f1(n); ) {
|
|
@@ -8912,7 +8912,7 @@ const G5 = { getClippingRect: function(H) {
|
|
|
8912
8912
|
const M = this.getOffsetParent || x1, A = this.getDimensions;
|
|
8913
8913
|
return { reference: Q5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
|
|
8914
8914
|
}, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, z5 = (H, V, C) => w5(H, V, { platform: G5, ...C });
|
|
8915
|
-
var
|
|
8915
|
+
var J1 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(J1 || {}), N = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(N || {});
|
|
8916
8916
|
function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
|
|
8917
8917
|
!H || !V || z5(H, V, {
|
|
8918
8918
|
placement: L,
|
|
@@ -8948,7 +8948,7 @@ function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
|
|
|
8948
8948
|
const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], $5 = ["innerHTML"], K5 = /* @__PURE__ */ F({
|
|
8949
8949
|
__name: "RTooltip",
|
|
8950
8950
|
props: {
|
|
8951
|
-
placement: { default:
|
|
8951
|
+
placement: { default: J1.Top },
|
|
8952
8952
|
text: { default: "" },
|
|
8953
8953
|
dark: { type: Boolean, default: !0 },
|
|
8954
8954
|
light: { type: Boolean, default: !1 },
|
|
@@ -8970,15 +8970,15 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
|
|
|
8970
8970
|
setup(H, { emit: V }) {
|
|
8971
8971
|
const C = H;
|
|
8972
8972
|
e2((O) => ({
|
|
8973
|
-
"
|
|
8973
|
+
"5d1f86a5": p(b)
|
|
8974
8974
|
}));
|
|
8975
8975
|
const L = D(null), M = D(null), A = D(null);
|
|
8976
8976
|
function i() {
|
|
8977
8977
|
const { placement: O, offset: w, padding: T, disabled: u } = C;
|
|
8978
|
-
u || (M.value.style.display = "block",
|
|
8978
|
+
u || (M.value.style.display = "block", V("show"), S1(L, M, A, O, w, T), d(), C.outsideClick && l("add"));
|
|
8979
8979
|
}
|
|
8980
8980
|
function e() {
|
|
8981
|
-
M.value.style.display = "",
|
|
8981
|
+
M.value.style.display = "", V("hide"), C.outsideClick && l("remove");
|
|
8982
8982
|
}
|
|
8983
8983
|
function d() {
|
|
8984
8984
|
C.autoHide && setTimeout(() => {
|
|
@@ -9018,9 +9018,7 @@ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
|
|
|
9018
9018
|
// this is important to avoid infinite loop & for fire on mounted
|
|
9019
9019
|
);
|
|
9020
9020
|
const b = g(() => `${C.showDelay}ms`);
|
|
9021
|
-
return
|
|
9022
|
-
e();
|
|
9023
|
-
}), (O, w) => (m(), a(U, null, [
|
|
9021
|
+
return (O, w) => (m(), a(U, null, [
|
|
9024
9022
|
Z("div", {
|
|
9025
9023
|
ref_key: "trigger",
|
|
9026
9024
|
ref: L,
|
|
@@ -9081,7 +9079,7 @@ const j5 = (H, V) => {
|
|
|
9081
9079
|
for (const [L, M] of V)
|
|
9082
9080
|
C[L] = M;
|
|
9083
9081
|
return C;
|
|
9084
|
-
}, w3 = /* @__PURE__ */ j5(K5, [["__scopeId", "data-v-
|
|
9082
|
+
}, w3 = /* @__PURE__ */ j5(K5, [["__scopeId", "data-v-8b4ea5c1"]]), q5 = { class: "r-breadcrumb" }, Y5 = {
|
|
9085
9083
|
key: 0,
|
|
9086
9084
|
class: "r-breadcrumb__title"
|
|
9087
9085
|
}, P3 = /* @__PURE__ */ F({
|
|
@@ -9103,7 +9101,7 @@ const j5 = (H, V) => {
|
|
|
9103
9101
|
class: "r-breadcrumb__link",
|
|
9104
9102
|
to: A.to
|
|
9105
9103
|
}, {
|
|
9106
|
-
default:
|
|
9104
|
+
default: W1(() => [
|
|
9107
9105
|
B(C.$slots, "item-icon", {}, () => [
|
|
9108
9106
|
A.icon ? (m(), R(x, {
|
|
9109
9107
|
key: 0,
|
|
@@ -9255,7 +9253,7 @@ const j5 = (H, V) => {
|
|
|
9255
9253
|
C.disabled || C.mandatory && A.value.length === 1 && o || C.max && A.value.length === C.max && o || (C.multiple ? o ? A.value.push(l) : A.value = A.value.filter((t) => t !== l) : A.value = o ? [l] : [], V("update:modelValue", A.value));
|
|
9256
9254
|
};
|
|
9257
9255
|
return a1(`${L}:select`, d), (l, o) => (m(), R(l2(M.value), null, {
|
|
9258
|
-
default:
|
|
9256
|
+
default: W1(() => [
|
|
9259
9257
|
B(l.$slots, "default", {
|
|
9260
9258
|
isSelected: e,
|
|
9261
9259
|
select: d,
|
|
@@ -9301,7 +9299,7 @@ export {
|
|
|
9301
9299
|
x as RIcon,
|
|
9302
9300
|
R3 as RItem,
|
|
9303
9301
|
F3 as RItemGroup,
|
|
9304
|
-
|
|
9302
|
+
G1 as RLabel,
|
|
9305
9303
|
h3 as RModal,
|
|
9306
9304
|
T3 as RPagination,
|
|
9307
9305
|
v3 as RProgressbar,
|