@rocketui/vue 0.0.43 → 0.0.44
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/dist/rocket-ui-vue.js +98 -80
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +2 -2
- package/dist/types/main.d.ts +2 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, openBlock as t, createElementBlock as r, createElementVNode as u, unref as h, reactive as i1, Fragment as C1, renderList as L1, normalizeClass as f, renderSlot as w, toDisplayString as b, createVNode as V1, computed as B, createCommentVNode as g, mergeProps as n2, withModifiers as G, createBlock as x, watch as Q, getCurrentScope as r2, onScopeDispose as a2, ref as D, onMounted as
|
|
1
|
+
import { defineComponent as v, openBlock as t, createElementBlock as r, createElementVNode as u, unref as h, reactive as i1, Fragment as C1, renderList as L1, normalizeClass as f, renderSlot as w, toDisplayString as b, createVNode as V1, computed as B, createCommentVNode as g, mergeProps as n2, withModifiers as G, createBlock as x, watch as Q, getCurrentScope as r2, onScopeDispose as a2, ref as D, onMounted as U1, withDirectives as $1, withKeys as F1, vModelText as Z2, normalizeStyle as y1, vShow as u2, withCtx as K1, createTextVNode as j1, useCssVars as S2, watchEffect as c2, resolveComponent as s2 } from "vue";
|
|
2
2
|
const O2 = {
|
|
3
3
|
mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
|
|
4
4
|
mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
|
|
@@ -7317,7 +7317,7 @@ const O2 = {
|
|
|
7317
7317
|
], 8, p2));
|
|
7318
7318
|
}
|
|
7319
7319
|
});
|
|
7320
|
-
const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title" }, B2 = { class: "r-accordion__icon" }, b2 = { class: "r-accordion__content" },
|
|
7320
|
+
const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title" }, B2 = { class: "r-accordion__icon" }, b2 = { class: "r-accordion__content" }, k3 = /* @__PURE__ */ v({
|
|
7321
7321
|
__name: "RAccordion",
|
|
7322
7322
|
props: {
|
|
7323
7323
|
accordions: null
|
|
@@ -7368,7 +7368,7 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
|
|
|
7368
7368
|
}, v2 = {
|
|
7369
7369
|
key: 0,
|
|
7370
7370
|
class: "r-alert__close"
|
|
7371
|
-
},
|
|
7371
|
+
}, B3 = /* @__PURE__ */ v({
|
|
7372
7372
|
__name: "RAlert",
|
|
7373
7373
|
props: {
|
|
7374
7374
|
type: { default: "info" },
|
|
@@ -7422,11 +7422,11 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
|
|
|
7422
7422
|
])) : g("", !0)
|
|
7423
7423
|
], 2));
|
|
7424
7424
|
}
|
|
7425
|
-
}),
|
|
7425
|
+
}), R1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", F2 = { class: "avatar__wrapper" }, R2 = ["alt", "src"], b3 = /* @__PURE__ */ v({
|
|
7426
7426
|
__name: "RAvatar",
|
|
7427
7427
|
props: {
|
|
7428
7428
|
type: { default: "image" },
|
|
7429
|
-
src: { default:
|
|
7429
|
+
src: { default: R1 },
|
|
7430
7430
|
alt: { default: "Avatar" },
|
|
7431
7431
|
size: { default: "2xl" },
|
|
7432
7432
|
online: { type: Boolean, default: !1 },
|
|
@@ -7436,7 +7436,7 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
|
|
|
7436
7436
|
const V = H, C = B(() => ({
|
|
7437
7437
|
avatar: !0,
|
|
7438
7438
|
[`avatar--${V.size}`]: !0
|
|
7439
|
-
})), L = B(() => V.type === "image" && !V.src), M = B(() => L.value ?
|
|
7439
|
+
})), L = B(() => V.type === "image" && !V.src), M = B(() => L.value ? R1 : V.src), i = (A) => {
|
|
7440
7440
|
const e = A.split(" ");
|
|
7441
7441
|
return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
|
|
7442
7442
|
};
|
|
@@ -7464,7 +7464,7 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
|
|
|
7464
7464
|
}, null, 2)) : g("", !0)
|
|
7465
7465
|
]));
|
|
7466
7466
|
}
|
|
7467
|
-
}), x2 = { class: "badge-wrapper group" },
|
|
7467
|
+
}), x2 = { class: "badge-wrapper group" }, w3 = /* @__PURE__ */ v({
|
|
7468
7468
|
__name: "RBadge",
|
|
7469
7469
|
props: {
|
|
7470
7470
|
variant: { default: "primary" },
|
|
@@ -7561,7 +7561,7 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
|
|
|
7561
7561
|
}, U2 = {
|
|
7562
7562
|
key: 1,
|
|
7563
7563
|
class: "checkbox-texts__hint"
|
|
7564
|
-
},
|
|
7564
|
+
}, y3 = /* @__PURE__ */ v({
|
|
7565
7565
|
__name: "RCheckbox",
|
|
7566
7566
|
props: {
|
|
7567
7567
|
id: { default: "" },
|
|
@@ -7736,12 +7736,12 @@ function h1(...H) {
|
|
|
7736
7736
|
};
|
|
7737
7737
|
return j2(l), l;
|
|
7738
7738
|
}
|
|
7739
|
-
let
|
|
7739
|
+
let x1 = !1;
|
|
7740
7740
|
function C5(H, V, C = {}) {
|
|
7741
7741
|
const { window: L = X1, ignore: M = [], capture: i = !0, detectIframe: A = !1 } = C;
|
|
7742
7742
|
if (!L)
|
|
7743
7743
|
return;
|
|
7744
|
-
X2 && !
|
|
7744
|
+
X2 && !x1 && (x1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", g1)), L.document.documentElement.addEventListener("click", g1));
|
|
7745
7745
|
let e = !0;
|
|
7746
7746
|
const d = (n) => M.some((o) => {
|
|
7747
7747
|
if (typeof o == "string")
|
|
@@ -7781,7 +7781,7 @@ const H5 = {
|
|
|
7781
7781
|
}, V5 = {
|
|
7782
7782
|
key: 2,
|
|
7783
7783
|
class: "dropdown__multiple"
|
|
7784
|
-
}, L5 = ["id", "disabled", "placeholder", "readonly"], M5 = ["aria-disabled", "onClick"], A5 = { style: { display: "flex", "align-items": "center" } },
|
|
7784
|
+
}, L5 = ["id", "disabled", "placeholder", "readonly"], M5 = ["aria-disabled", "onClick"], A5 = { style: { display: "flex", "align-items": "center" } }, P3 = /* @__PURE__ */ v({
|
|
7785
7785
|
__name: "RDropdown",
|
|
7786
7786
|
props: {
|
|
7787
7787
|
options: { default: () => [] },
|
|
@@ -7840,7 +7840,7 @@ const H5 = {
|
|
|
7840
7840
|
return;
|
|
7841
7841
|
C.options.find((_) => _.label === Z) || (M.push({ value: Z, label: Z }), A.value = "", (y = d.value) == null || y.focus());
|
|
7842
7842
|
}, s = (c) => C.multiple ? M.find((Z) => Z.value === c.value) : L.value === c.value, P = B(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(A.value.toLowerCase())) : C.options);
|
|
7843
|
-
return
|
|
7843
|
+
return U1(() => {
|
|
7844
7844
|
C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, A.value = C.modelValue.label));
|
|
7845
7845
|
}), Q(M, (c) => {
|
|
7846
7846
|
V("update:modelValue", c);
|
|
@@ -7886,7 +7886,7 @@ const H5 = {
|
|
|
7886
7886
|
C.multiple ? (t(), r("div", V5, [
|
|
7887
7887
|
(t(!0), r(C1, null, L1(M, (O, y) => (t(), r("p", { key: y }, b(O.label + ","), 1))), 128))
|
|
7888
7888
|
])) : g("", !0),
|
|
7889
|
-
|
|
7889
|
+
$1(u("input", {
|
|
7890
7890
|
id: C.id,
|
|
7891
7891
|
ref_key: "input",
|
|
7892
7892
|
ref: d,
|
|
@@ -7900,8 +7900,8 @@ const H5 = {
|
|
|
7900
7900
|
placeholder: C.placeholder,
|
|
7901
7901
|
readonly: !C.searchable,
|
|
7902
7902
|
onKeydown: [
|
|
7903
|
-
Z[1] || (Z[1] =
|
|
7904
|
-
Z[2] || (Z[2] =
|
|
7903
|
+
Z[1] || (Z[1] = F1((O) => S(O, M[M.length - 1]), ["backspace"])),
|
|
7904
|
+
Z[2] || (Z[2] = F1((O) => k(O), ["enter"]))
|
|
7905
7905
|
]
|
|
7906
7906
|
}, null, 42, L5), [
|
|
7907
7907
|
[Z2, A.value]
|
|
@@ -7984,7 +7984,7 @@ const H5 = {
|
|
|
7984
7984
|
}, o5 = {
|
|
7985
7985
|
key: 2,
|
|
7986
7986
|
class: "description"
|
|
7987
|
-
}, n5 = { class: "dialog__body" }, r5 = { class: "dialog__actions" },
|
|
7987
|
+
}, n5 = { class: "dialog__body" }, r5 = { class: "dialog__actions" }, T3 = /* @__PURE__ */ v({
|
|
7988
7988
|
__name: "RModal",
|
|
7989
7989
|
props: {
|
|
7990
7990
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -8007,12 +8007,12 @@ const H5 = {
|
|
|
8007
8007
|
})), i = (A) => {
|
|
8008
8008
|
C.outsideClick && A.target === A.currentTarget && V("update:modelValue", !1);
|
|
8009
8009
|
};
|
|
8010
|
-
return (A, e) =>
|
|
8010
|
+
return (A, e) => $1((t(), r("div", {
|
|
8011
8011
|
class: "modal",
|
|
8012
8012
|
onClick: G(i, ["stop"])
|
|
8013
8013
|
}, [
|
|
8014
8014
|
u("div", {
|
|
8015
|
-
style:
|
|
8015
|
+
style: y1(h(M)),
|
|
8016
8016
|
role: "dialog",
|
|
8017
8017
|
"aria-modal": "true",
|
|
8018
8018
|
class: f(h(L)),
|
|
@@ -8039,7 +8039,7 @@ const H5 = {
|
|
|
8039
8039
|
[u2, H.modelValue]
|
|
8040
8040
|
]);
|
|
8041
8041
|
}
|
|
8042
|
-
}), a5 = { class: "nav" }, Z5 = { class: "actions" },
|
|
8042
|
+
}), a5 = { class: "nav" }, Z5 = { class: "actions" }, v3 = /* @__PURE__ */ v({
|
|
8043
8043
|
__name: "RSidebar",
|
|
8044
8044
|
props: {
|
|
8045
8045
|
modelValue: { type: Boolean, default: !1 }
|
|
@@ -8066,7 +8066,7 @@ const H5 = {
|
|
|
8066
8066
|
}, c5 = {
|
|
8067
8067
|
key: 1,
|
|
8068
8068
|
class: "snackbar__close"
|
|
8069
|
-
},
|
|
8069
|
+
}, F3 = /* @__PURE__ */ v({
|
|
8070
8070
|
__name: "RSnackbar",
|
|
8071
8071
|
props: {
|
|
8072
8072
|
text: { default: "" },
|
|
@@ -8084,7 +8084,7 @@ const H5 = {
|
|
|
8084
8084
|
}, i = () => {
|
|
8085
8085
|
L.value = !1, V("close");
|
|
8086
8086
|
};
|
|
8087
|
-
return
|
|
8087
|
+
return U1(() => {
|
|
8088
8088
|
C.timeout && setTimeout(() => {
|
|
8089
8089
|
L.value = !1, V("close");
|
|
8090
8090
|
}, C.timeout);
|
|
@@ -8133,7 +8133,7 @@ const H5 = {
|
|
|
8133
8133
|
}, g5 = {
|
|
8134
8134
|
key: 1,
|
|
8135
8135
|
class: "switch-texts__hint"
|
|
8136
|
-
},
|
|
8136
|
+
}, R3 = /* @__PURE__ */ v({
|
|
8137
8137
|
__name: "RSwitch",
|
|
8138
8138
|
props: {
|
|
8139
8139
|
id: { default: "switch" },
|
|
@@ -8233,7 +8233,7 @@ const k5 = ["aria-disabled", "aria-selected", "disabled"], B5 = {
|
|
|
8233
8233
|
"aria-disabled": C.disabled,
|
|
8234
8234
|
"aria-selected": C.modelValue === C.id,
|
|
8235
8235
|
class: f(h(L)),
|
|
8236
|
-
style:
|
|
8236
|
+
style: y1(h(M)),
|
|
8237
8237
|
disabled: C.disabled,
|
|
8238
8238
|
onClick: d[0] || (d[0] = G((l) => i(C.id), ["stop"]))
|
|
8239
8239
|
}, [
|
|
@@ -8368,7 +8368,7 @@ F.chdir = function(H) {
|
|
|
8368
8368
|
F.umask = function() {
|
|
8369
8369
|
return 0;
|
|
8370
8370
|
};
|
|
8371
|
-
const
|
|
8371
|
+
const x3 = /* @__PURE__ */ v({
|
|
8372
8372
|
__name: "RTabs",
|
|
8373
8373
|
props: {
|
|
8374
8374
|
tabs: { default: () => [] },
|
|
@@ -8420,7 +8420,7 @@ const R3 = /* @__PURE__ */ v({
|
|
|
8420
8420
|
}, F5 = {
|
|
8421
8421
|
key: 2,
|
|
8422
8422
|
class: "textarea__hint"
|
|
8423
|
-
},
|
|
8423
|
+
}, D3 = /* @__PURE__ */ v({
|
|
8424
8424
|
__name: "RTextArea",
|
|
8425
8425
|
props: {
|
|
8426
8426
|
id: { default: "" },
|
|
@@ -8479,7 +8479,7 @@ const R3 = /* @__PURE__ */ v({
|
|
|
8479
8479
|
}, _5 = {
|
|
8480
8480
|
key: 1,
|
|
8481
8481
|
class: "textfield__hint"
|
|
8482
|
-
},
|
|
8482
|
+
}, E3 = /* @__PURE__ */ v({
|
|
8483
8483
|
__name: "RTextfield",
|
|
8484
8484
|
props: {
|
|
8485
8485
|
id: { default: "" },
|
|
@@ -8643,12 +8643,12 @@ function s1(H) {
|
|
|
8643
8643
|
function n1(H) {
|
|
8644
8644
|
return ["top", "bottom"].includes(o1(H)) ? "x" : "y";
|
|
8645
8645
|
}
|
|
8646
|
-
function
|
|
8646
|
+
function P1(H) {
|
|
8647
8647
|
return H === "y" ? "height" : "width";
|
|
8648
8648
|
}
|
|
8649
|
-
function
|
|
8649
|
+
function D1(H, V, C) {
|
|
8650
8650
|
let { reference: L, floating: M } = H;
|
|
8651
|
-
const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = n1(V), d =
|
|
8651
|
+
const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = n1(V), d = P1(e), l = L[d] / 2 - M[d] / 2, a = e === "x";
|
|
8652
8652
|
let m;
|
|
8653
8653
|
switch (o1(V)) {
|
|
8654
8654
|
case "top":
|
|
@@ -8677,10 +8677,10 @@ function x1(H, V, C) {
|
|
|
8677
8677
|
}
|
|
8678
8678
|
const W5 = async (H, V, C) => {
|
|
8679
8679
|
const { placement: L = "bottom", strategy: M = "absolute", middleware: i = [], platform: A } = C, e = i.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
|
|
8680
|
-
let l = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: a, y: m } =
|
|
8680
|
+
let l = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: a, y: m } = D1(l, L, d), n = L, o = {}, S = 0;
|
|
8681
8681
|
for (let k = 0; k < e.length; k++) {
|
|
8682
8682
|
const { name: s, fn: P } = e[k], { x: c, y: Z, data: O, reset: y } = await P({ x: a, y: m, initialPlacement: L, placement: n, strategy: M, middlewareData: o, rects: l, platform: A, elements: { reference: H, floating: V } });
|
|
8683
|
-
a = c ?? a, m = Z ?? m, o = { ...o, [s]: { ...o[s], ...O } }, y && S <= 50 && (S++, typeof y == "object" && (y.placement && (n = y.placement), y.rects && (l = y.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : y.rects), { x: a, y: m } =
|
|
8683
|
+
a = c ?? a, m = Z ?? m, o = { ...o, [s]: { ...o[s], ...O } }, y && S <= 50 && (S++, typeof y == "object" && (y.placement && (n = y.placement), y.rects && (l = y.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : y.rects), { x: a, y: m } = D1(l, n, d)), k = -1);
|
|
8684
8684
|
}
|
|
8685
8685
|
return { x: a, y: m, placement: n, strategy: M, middlewareData: o };
|
|
8686
8686
|
};
|
|
@@ -8706,7 +8706,7 @@ const Q5 = (H) => ({ name: "arrow", options: H, async fn(V) {
|
|
|
8706
8706
|
const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: i, placement: A, rects: e, platform: d } = V;
|
|
8707
8707
|
if (C == null)
|
|
8708
8708
|
return {};
|
|
8709
|
-
const l = L2(L), a = { x: M, y: i }, m = n1(A), n = s1(A), o =
|
|
8709
|
+
const l = L2(L), a = { x: M, y: i }, m = n1(A), n = s1(A), o = P1(m), S = await d.getDimensions(C), k = m === "y" ? "top" : "left", s = m === "y" ? "bottom" : "right", P = e.reference[o] + e.reference[m] - a[m] - e.floating[o], c = a[m] - e.reference[m], Z = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
|
|
8710
8710
|
let O = Z ? m === "y" ? Z.clientHeight || 0 : Z.clientWidth || 0 : 0;
|
|
8711
8711
|
O === 0 && (O = e.floating[o]);
|
|
8712
8712
|
const y = P / 2 - c / 2, _ = l[k], p = O - S[o] - l[s], T = O / 2 - S[o] / 2 + y, E = b1(_, T, p), W = (n === "start" ? l[k] : l[s]) > 0 && T !== E && e.reference[o] <= e.floating[o];
|
|
@@ -8717,12 +8717,12 @@ function S1(H) {
|
|
|
8717
8717
|
}
|
|
8718
8718
|
function z5(H, V, C) {
|
|
8719
8719
|
C === void 0 && (C = !1);
|
|
8720
|
-
const L = s1(H), M = n1(H), i =
|
|
8720
|
+
const L = s1(H), M = n1(H), i = P1(M);
|
|
8721
8721
|
let A = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
|
|
8722
8722
|
return V.reference[i] > V.floating[i] && (A = S1(A)), { main: A, cross: S1(A) };
|
|
8723
8723
|
}
|
|
8724
8724
|
const U5 = { start: "end", end: "start" };
|
|
8725
|
-
function
|
|
8725
|
+
function E1(H) {
|
|
8726
8726
|
return H.replace(/start|end/g, (V) => U5[V]);
|
|
8727
8727
|
}
|
|
8728
8728
|
const M2 = ["top", "right", "bottom", "left"];
|
|
@@ -8732,7 +8732,7 @@ const $5 = function(H) {
|
|
|
8732
8732
|
var C;
|
|
8733
8733
|
const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: a = !0, fallbackPlacements: m, fallbackStrategy: n = "bestFit", flipAlignment: o = !0, ...S } = H, k = o1(L), s = m || (k === A || !o ? [S1(A)] : function(T) {
|
|
8734
8734
|
const E = S1(T);
|
|
8735
|
-
return [
|
|
8735
|
+
return [E1(T), E, E1(E)];
|
|
8736
8736
|
}(A)), P = [A, ...s], c = await u1(V, S), Z = [];
|
|
8737
8737
|
let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
|
|
8738
8738
|
if (l && Z.push(c[k]), a) {
|
|
@@ -8748,8 +8748,8 @@ const $5 = function(H) {
|
|
|
8748
8748
|
switch (n) {
|
|
8749
8749
|
case "bestFit": {
|
|
8750
8750
|
var p;
|
|
8751
|
-
const
|
|
8752
|
-
|
|
8751
|
+
const v1 = (p = O.map((r1) => [r1, r1.overflows.filter((e1) => e1 > 0).reduce((e1, o2) => e1 + o2, 0)]).sort((r1, e1) => r1[1] - e1[1])[0]) == null ? void 0 : p[0].placement;
|
|
8752
|
+
v1 && (W = v1);
|
|
8753
8753
|
break;
|
|
8754
8754
|
}
|
|
8755
8755
|
case "initialPlacement":
|
|
@@ -8761,10 +8761,10 @@ const $5 = function(H) {
|
|
|
8761
8761
|
return {};
|
|
8762
8762
|
} };
|
|
8763
8763
|
};
|
|
8764
|
-
function
|
|
8764
|
+
function _1(H, V) {
|
|
8765
8765
|
return { top: H.top - V.height, right: H.right - V.width, bottom: H.bottom - V.height, left: H.left - V.width };
|
|
8766
8766
|
}
|
|
8767
|
-
function
|
|
8767
|
+
function W1(H) {
|
|
8768
8768
|
return M2.some((V) => H[V] >= 0);
|
|
8769
8769
|
}
|
|
8770
8770
|
const K5 = function(H) {
|
|
@@ -8773,12 +8773,12 @@ const K5 = function(H) {
|
|
|
8773
8773
|
const { rects: M } = L;
|
|
8774
8774
|
switch (V) {
|
|
8775
8775
|
case "referenceHidden": {
|
|
8776
|
-
const i =
|
|
8777
|
-
return { data: { referenceHiddenOffsets: i, referenceHidden:
|
|
8776
|
+
const i = _1(await u1(L, { ...C, elementContext: "reference" }), M.reference);
|
|
8777
|
+
return { data: { referenceHiddenOffsets: i, referenceHidden: W1(i) } };
|
|
8778
8778
|
}
|
|
8779
8779
|
case "escaped": {
|
|
8780
|
-
const i =
|
|
8781
|
-
return { data: { escapedOffsets: i, escaped:
|
|
8780
|
+
const i = _1(await u1(L, { ...C, altBoundary: !0 }), M.floating);
|
|
8781
|
+
return { data: { escapedOffsets: i, escaped: W1(i) } };
|
|
8782
8782
|
}
|
|
8783
8783
|
default:
|
|
8784
8784
|
return {};
|
|
@@ -8844,7 +8844,7 @@ function $(H) {
|
|
|
8844
8844
|
function A1(H) {
|
|
8845
8845
|
return H instanceof j(H).Element;
|
|
8846
8846
|
}
|
|
8847
|
-
function
|
|
8847
|
+
function N1(H) {
|
|
8848
8848
|
return typeof ShadowRoot > "u" ? !1 : H instanceof j(H).ShadowRoot || H instanceof ShadowRoot;
|
|
8849
8849
|
}
|
|
8850
8850
|
function O1(H) {
|
|
@@ -8864,10 +8864,10 @@ function w1(H) {
|
|
|
8864
8864
|
function e2() {
|
|
8865
8865
|
return !/^((?!chrome|android).)*safari/i.test(i2());
|
|
8866
8866
|
}
|
|
8867
|
-
function
|
|
8867
|
+
function T1(H) {
|
|
8868
8868
|
return ["html", "body", "#document"].includes(X(H));
|
|
8869
8869
|
}
|
|
8870
|
-
const
|
|
8870
|
+
const I1 = Math.min, m1 = Math.max, c1 = Math.round;
|
|
8871
8871
|
function H1(H, V, C) {
|
|
8872
8872
|
var L, M, i, A;
|
|
8873
8873
|
V === void 0 && (V = !1), C === void 0 && (C = !1);
|
|
@@ -8905,20 +8905,20 @@ function J5(H, V, C) {
|
|
|
8905
8905
|
function l1(H) {
|
|
8906
8906
|
if (X(H) === "html")
|
|
8907
8907
|
return H;
|
|
8908
|
-
const V = H.assignedSlot || H.parentNode || (
|
|
8909
|
-
return
|
|
8908
|
+
const V = H.assignedSlot || H.parentNode || (N1(H) ? H.host : null) || Y(H);
|
|
8909
|
+
return N1(V) ? V.host : V;
|
|
8910
8910
|
}
|
|
8911
|
-
function
|
|
8911
|
+
function Q1(H) {
|
|
8912
8912
|
return $(H) && U(H).position !== "fixed" ? H.offsetParent : null;
|
|
8913
8913
|
}
|
|
8914
|
-
function
|
|
8914
|
+
function G1(H) {
|
|
8915
8915
|
const V = j(H);
|
|
8916
|
-
let C =
|
|
8916
|
+
let C = Q1(H);
|
|
8917
8917
|
for (; C && X5(C) && U(C).position === "static"; )
|
|
8918
|
-
C =
|
|
8918
|
+
C = Q1(C);
|
|
8919
8919
|
return C && (X(C) === "html" || X(C) === "body" && U(C).position === "static" && !w1(C)) ? V : C || function(L) {
|
|
8920
8920
|
let M = l1(L);
|
|
8921
|
-
for (; $(M) && !
|
|
8921
|
+
for (; $(M) && !T1(M); ) {
|
|
8922
8922
|
if (w1(M))
|
|
8923
8923
|
return M;
|
|
8924
8924
|
M = l1(M);
|
|
@@ -8928,7 +8928,7 @@ function Q1(H) {
|
|
|
8928
8928
|
}
|
|
8929
8929
|
function t2(H) {
|
|
8930
8930
|
const V = l1(H);
|
|
8931
|
-
return
|
|
8931
|
+
return T1(V) ? H.ownerDocument.body : $(V) && O1(V) ? V : t2(V);
|
|
8932
8932
|
}
|
|
8933
8933
|
function m2(H, V) {
|
|
8934
8934
|
var C;
|
|
@@ -8936,7 +8936,7 @@ function m2(H, V) {
|
|
|
8936
8936
|
const L = t2(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), i = j(L), A = M ? [i].concat(i.visualViewport || [], O1(L) ? L : []) : L, e = V.concat(A);
|
|
8937
8937
|
return M ? e : e.concat(m2(A));
|
|
8938
8938
|
}
|
|
8939
|
-
function
|
|
8939
|
+
function z1(H, V, C) {
|
|
8940
8940
|
return V === "viewport" ? Z1(function(L, M) {
|
|
8941
8941
|
const i = j(L), A = Y(L), e = i.visualViewport;
|
|
8942
8942
|
let d = A.clientWidth, l = A.clientHeight, a = 0, m = 0;
|
|
@@ -8963,15 +8963,15 @@ const C3 = { getClippingRect: function(H) {
|
|
|
8963
8963
|
let a = m2(l).filter((S) => A1(S) && X(S) !== "body"), m = null;
|
|
8964
8964
|
const n = U(l).position === "fixed";
|
|
8965
8965
|
let o = n ? l1(l) : l;
|
|
8966
|
-
for (; A1(o) && !
|
|
8966
|
+
for (; A1(o) && !T1(o); ) {
|
|
8967
8967
|
const S = U(o), k = w1(o);
|
|
8968
8968
|
(n ? k || m : k || S.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = S : a = a.filter((s) => s !== o), o = l1(o);
|
|
8969
8969
|
}
|
|
8970
8970
|
return a;
|
|
8971
8971
|
}(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((l, a) => {
|
|
8972
|
-
const m =
|
|
8973
|
-
return l.top = m1(m.top, l.top), l.right =
|
|
8974
|
-
},
|
|
8972
|
+
const m = z1(V, a, M);
|
|
8973
|
+
return l.top = m1(m.top, l.top), l.right = I1(m.right, l.right), l.bottom = I1(m.bottom, l.bottom), l.left = m1(m.left, l.left), l;
|
|
8974
|
+
}, z1(V, e, M));
|
|
8975
8975
|
return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
|
|
8976
8976
|
}, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
|
|
8977
8977
|
let { rect: V, offsetParent: C, strategy: L } = H;
|
|
@@ -8990,9 +8990,9 @@ const C3 = { getClippingRect: function(H) {
|
|
|
8990
8990
|
return { width: H.offsetWidth, height: H.offsetHeight };
|
|
8991
8991
|
const V = H1(H);
|
|
8992
8992
|
return { width: V.width, height: V.height };
|
|
8993
|
-
}, getOffsetParent:
|
|
8993
|
+
}, getOffsetParent: G1, getDocumentElement: Y, async getElementRects(H) {
|
|
8994
8994
|
let { reference: V, floating: C, strategy: L } = H;
|
|
8995
|
-
const M = this.getOffsetParent ||
|
|
8995
|
+
const M = this.getOffsetParent || G1, i = this.getDimensions;
|
|
8996
8996
|
return { reference: J5(V, await M(C), L), floating: { x: 0, y: 0, ...await i(C) } };
|
|
8997
8997
|
}, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => U(H).direction === "rtl" }, H3 = (H, V, C) => W5(H, V, { platform: C3, ...C });
|
|
8998
8998
|
function f1({ value: H }, { value: V }, { value: C }, L, M, i) {
|
|
@@ -9150,10 +9150,10 @@ const A3 = (H, V) => {
|
|
|
9150
9150
|
for (const [L, M] of V)
|
|
9151
9151
|
C[L] = M;
|
|
9152
9152
|
return C;
|
|
9153
|
-
},
|
|
9153
|
+
}, _3 = /* @__PURE__ */ A3(M3, [["__scopeId", "data-v-ee5f5651"]]), i3 = { class: "r-breadcrumb" }, e3 = {
|
|
9154
9154
|
key: 0,
|
|
9155
9155
|
class: "r-breadcrumb__title"
|
|
9156
|
-
},
|
|
9156
|
+
}, W3 = /* @__PURE__ */ v({
|
|
9157
9157
|
__name: "RBreadcrumb",
|
|
9158
9158
|
props: {
|
|
9159
9159
|
items: { default: () => [] },
|
|
@@ -9208,7 +9208,7 @@ const A3 = (H, V) => {
|
|
|
9208
9208
|
}, null, -1), O3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), p3 = [
|
|
9209
9209
|
s3,
|
|
9210
9210
|
O3
|
|
9211
|
-
], h3 = { class: "r-pagination__paginator__total" },
|
|
9211
|
+
], h3 = { class: "r-pagination__paginator__total" }, N3 = /* @__PURE__ */ v({
|
|
9212
9212
|
__name: "RPagination",
|
|
9213
9213
|
props: {
|
|
9214
9214
|
page: { default: 1 },
|
|
@@ -9286,27 +9286,45 @@ const A3 = (H, V) => {
|
|
|
9286
9286
|
])
|
|
9287
9287
|
]));
|
|
9288
9288
|
}
|
|
9289
|
+
}), f3 = ["value"], I3 = /* @__PURE__ */ v({
|
|
9290
|
+
__name: "RProgressBar",
|
|
9291
|
+
props: {
|
|
9292
|
+
value: { default: 0 },
|
|
9293
|
+
height: { default: 8 }
|
|
9294
|
+
},
|
|
9295
|
+
setup(H) {
|
|
9296
|
+
const V = H;
|
|
9297
|
+
return (C, L) => (t(), r("progress", {
|
|
9298
|
+
class: "r-progressbar",
|
|
9299
|
+
role: "progressbar",
|
|
9300
|
+
"aria-valuemax": 100,
|
|
9301
|
+
max: 100,
|
|
9302
|
+
value: V.value,
|
|
9303
|
+
style: y1({ height: V.height + "px" })
|
|
9304
|
+
}, null, 12, f3));
|
|
9305
|
+
}
|
|
9289
9306
|
});
|
|
9290
9307
|
export {
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9308
|
+
k3 as RAccordion,
|
|
9309
|
+
B3 as RAlert,
|
|
9310
|
+
b3 as RAvatar,
|
|
9311
|
+
w3 as RBadge,
|
|
9312
|
+
W3 as RBreadcrumb,
|
|
9296
9313
|
E2 as RButton,
|
|
9297
|
-
|
|
9314
|
+
y3 as RCheckbox,
|
|
9298
9315
|
K2 as RChip,
|
|
9299
|
-
|
|
9316
|
+
P3 as RDropdown,
|
|
9300
9317
|
R as RIcon,
|
|
9301
9318
|
J1 as RLabel,
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
v3 as
|
|
9306
|
-
F3 as
|
|
9319
|
+
T3 as RModal,
|
|
9320
|
+
N3 as RPagination,
|
|
9321
|
+
I3 as RProgressbar,
|
|
9322
|
+
v3 as RSidebar,
|
|
9323
|
+
F3 as RSnackbar,
|
|
9324
|
+
R3 as RSwitch,
|
|
9307
9325
|
b5 as RTabItem,
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9326
|
+
x3 as RTabs,
|
|
9327
|
+
D3 as RTextArea,
|
|
9328
|
+
E3 as RTextfield,
|
|
9329
|
+
_3 as RTooltip
|
|
9312
9330
|
};
|