@rocketui/vue 0.0.60 → 0.0.62
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
CHANGED
|
@@ -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 U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as
|
|
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",
|
|
@@ -7317,7 +7317,7 @@ const l2 = {
|
|
|
7317
7317
|
], 8, o2));
|
|
7318
7318
|
}
|
|
7319
7319
|
});
|
|
7320
|
-
const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title" }, u2 = { class: "r-accordion__icon" }, S2 = { class: "r-accordion__content" },
|
|
7320
|
+
const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title" }, u2 = { class: "r-accordion__icon" }, S2 = { class: "r-accordion__content" }, a3 = /* @__PURE__ */ F({
|
|
7321
7321
|
__name: "RAccordion",
|
|
7322
7322
|
props: {
|
|
7323
7323
|
accordions: null
|
|
@@ -7368,7 +7368,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
|
|
|
7368
7368
|
}, h2 = {
|
|
7369
7369
|
key: 0,
|
|
7370
7370
|
class: "r-alert__close"
|
|
7371
|
-
},
|
|
7371
|
+
}, Z3 = /* @__PURE__ */ F({
|
|
7372
7372
|
__name: "RAlert",
|
|
7373
7373
|
props: {
|
|
7374
7374
|
type: { default: "info" },
|
|
@@ -7422,7 +7422,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
|
|
|
7422
7422
|
])) : g("", !0)
|
|
7423
7423
|
], 2));
|
|
7424
7424
|
}
|
|
7425
|
-
}), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"],
|
|
7425
|
+
}), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"], u3 = /* @__PURE__ */ F({
|
|
7426
7426
|
__name: "RAvatar",
|
|
7427
7427
|
props: {
|
|
7428
7428
|
type: { default: "image" },
|
|
@@ -7467,7 +7467,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
|
|
|
7467
7467
|
}, null, 2)) : g("", !0)
|
|
7468
7468
|
]));
|
|
7469
7469
|
}
|
|
7470
|
-
}), k2 = { class: "r-badge-wrapper group" },
|
|
7470
|
+
}), k2 = { class: "r-badge-wrapper group" }, S3 = /* @__PURE__ */ F({
|
|
7471
7471
|
__name: "RBadge",
|
|
7472
7472
|
props: {
|
|
7473
7473
|
variant: { default: "primary" },
|
|
@@ -7497,7 +7497,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
|
|
|
7497
7497
|
B(L.$slots, "default")
|
|
7498
7498
|
]));
|
|
7499
7499
|
}
|
|
7500
|
-
}), B2 = ["disabled"],
|
|
7500
|
+
}), B2 = ["disabled"], c3 = /* @__PURE__ */ F({
|
|
7501
7501
|
__name: "RButton",
|
|
7502
7502
|
props: {
|
|
7503
7503
|
variant: { default: "primary" },
|
|
@@ -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",
|
|
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),
|
|
@@ -7564,7 +7564,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
|
|
|
7564
7564
|
}, R2 = {
|
|
7565
7565
|
key: 1,
|
|
7566
7566
|
class: "r-checkbox-texts__hint"
|
|
7567
|
-
},
|
|
7567
|
+
}, s3 = /* @__PURE__ */ F({
|
|
7568
7568
|
__name: "RCheckbox",
|
|
7569
7569
|
props: {
|
|
7570
7570
|
id: { default: "" },
|
|
@@ -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
|
|
7702
|
+
return V2() ? (L2(H), !0) : !1;
|
|
7703
7703
|
}
|
|
7704
|
-
function
|
|
7704
|
+
function N1(H) {
|
|
7705
7705
|
return typeof H == "function" ? H() : p(H);
|
|
7706
7706
|
}
|
|
7707
|
-
const
|
|
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
|
|
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 =
|
|
7715
|
+
const C = N1(H);
|
|
7716
7716
|
return (V = C == null ? void 0 : C.$el) != null ? V : C;
|
|
7717
7717
|
}
|
|
7718
|
-
const
|
|
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 =
|
|
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),
|
|
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 =
|
|
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));
|
|
@@ -7784,7 +7784,7 @@ const G2 = {
|
|
|
7784
7784
|
}, z2 = {
|
|
7785
7785
|
key: 2,
|
|
7786
7786
|
class: "r-dropdown__multiple"
|
|
7787
|
-
}, U2 = ["id", "disabled", "placeholder", "readonly"], $2 = ["aria-disabled", "onClick"], K2 = { style: { display: "flex", "align-items": "center" } },
|
|
7787
|
+
}, U2 = ["id", "disabled", "placeholder", "readonly"], $2 = ["aria-disabled", "onClick"], K2 = { style: { display: "flex", "align-items": "center" } }, O3 = /* @__PURE__ */ F({
|
|
7788
7788
|
__name: "RDropdown",
|
|
7789
7789
|
props: {
|
|
7790
7790
|
options: { default: () => [] },
|
|
@@ -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
|
|
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);
|
|
@@ -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
|
-
[
|
|
7910
|
+
[A2, i.value]
|
|
7911
7911
|
]),
|
|
7912
7912
|
C.appendIcon || S.$slots.append ? (t(), a("div", {
|
|
7913
7913
|
key: 3,
|
|
@@ -7967,7 +7967,7 @@ const G2 = {
|
|
|
7967
7967
|
], 2)
|
|
7968
7968
|
], 512));
|
|
7969
7969
|
}
|
|
7970
|
-
}), j2 = ["id", "for"],
|
|
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
|
-
|
|
7985
|
+
_1(y(V.text), 1)
|
|
7986
7986
|
])
|
|
7987
7987
|
], 8, j2));
|
|
7988
7988
|
}
|
|
@@ -7995,7 +7995,7 @@ const G2 = {
|
|
|
7995
7995
|
}, H5 = {
|
|
7996
7996
|
key: 2,
|
|
7997
7997
|
class: "description"
|
|
7998
|
-
}, V5 = { class: "r-dialog__body" }, L5 = { class: "r-dialog__actions" },
|
|
7998
|
+
}, V5 = { class: "r-dialog__body" }, L5 = { class: "r-dialog__actions" }, p3 = /* @__PURE__ */ F({
|
|
7999
7999
|
__name: "RModal",
|
|
8000
8000
|
props: {
|
|
8001
8001
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -8050,7 +8050,7 @@ const G2 = {
|
|
|
8050
8050
|
[i2, H.modelValue]
|
|
8051
8051
|
]);
|
|
8052
8052
|
}
|
|
8053
|
-
}), M5 = ["data-open"], A5 = { class: "r-sidebar__nav" }, i5 = { class: "r-sidebar__actions" }, e5 = ["data-open"],
|
|
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 },
|
|
@@ -8077,21 +8077,19 @@ const G2 = {
|
|
|
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
|
-
|
|
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
8086
|
], 10, e5)) : g("", !0)
|
|
8089
8087
|
], 64));
|
|
8090
8088
|
}
|
|
8091
|
-
}),
|
|
8089
|
+
}), t5 = { class: "r-snackbar__text" }, m5 = {
|
|
8092
8090
|
key: 0,
|
|
8093
8091
|
class: "r-snackbar__close"
|
|
8094
|
-
},
|
|
8092
|
+
}, f3 = /* @__PURE__ */ F({
|
|
8095
8093
|
__name: "RSnackbar",
|
|
8096
8094
|
props: {
|
|
8097
8095
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -8138,9 +8136,9 @@ const G2 = {
|
|
|
8138
8136
|
name: p(M)
|
|
8139
8137
|
}, null, 8, ["name"])) : g("", !0)
|
|
8140
8138
|
]),
|
|
8141
|
-
Z("div",
|
|
8139
|
+
Z("div", t5, y(C.text), 1),
|
|
8142
8140
|
B(A.$slots, "action"),
|
|
8143
|
-
C.closable ? (t(), a("div",
|
|
8141
|
+
C.closable ? (t(), a("div", m5, [
|
|
8144
8142
|
B(A.$slots, "close", {}, () => [
|
|
8145
8143
|
q(R, {
|
|
8146
8144
|
name: "mdiClose",
|
|
@@ -8151,13 +8149,13 @@ const G2 = {
|
|
|
8151
8149
|
])) : g("", !0)
|
|
8152
8150
|
], 2));
|
|
8153
8151
|
}
|
|
8154
|
-
}),
|
|
8152
|
+
}), l5 = { class: "r-switch-container" }, o5 = ["id", "checked"], r5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), n5 = ["id", "for"], a5 = {
|
|
8155
8153
|
key: 0,
|
|
8156
8154
|
class: "r-switch-texts__error"
|
|
8157
|
-
},
|
|
8155
|
+
}, Z5 = {
|
|
8158
8156
|
key: 1,
|
|
8159
8157
|
class: "r-switch-texts__hint"
|
|
8160
|
-
},
|
|
8158
|
+
}, g3 = /* @__PURE__ */ F({
|
|
8161
8159
|
__name: "RSwitch",
|
|
8162
8160
|
props: {
|
|
8163
8161
|
id: { default: "switch" },
|
|
@@ -8190,7 +8188,7 @@ const G2 = {
|
|
|
8190
8188
|
// TODO: find a better way to do this
|
|
8191
8189
|
immediate: !0
|
|
8192
8190
|
}
|
|
8193
|
-
), (i, e) => (t(), a("div",
|
|
8191
|
+
), (i, e) => (t(), a("div", l5, [
|
|
8194
8192
|
Z("div", {
|
|
8195
8193
|
class: f(p(M))
|
|
8196
8194
|
}, [
|
|
@@ -8200,8 +8198,8 @@ const G2 = {
|
|
|
8200
8198
|
class: "r-switch__input",
|
|
8201
8199
|
type: "checkbox",
|
|
8202
8200
|
onChange: A
|
|
8203
|
-
}, null, 40,
|
|
8204
|
-
|
|
8201
|
+
}, null, 40, o5),
|
|
8202
|
+
r5
|
|
8205
8203
|
], 2),
|
|
8206
8204
|
Z("div", {
|
|
8207
8205
|
class: f({
|
|
@@ -8213,17 +8211,17 @@ const G2 = {
|
|
|
8213
8211
|
id: C.id,
|
|
8214
8212
|
class: "r-switch-texts__label",
|
|
8215
8213
|
for: C.id
|
|
8216
|
-
}, y(C.label), 9,
|
|
8217
|
-
C.errorMsg ? (t(), a("p",
|
|
8214
|
+
}, y(C.label), 9, n5),
|
|
8215
|
+
C.errorMsg ? (t(), a("p", a5, y(C.errorMsg), 1)) : (t(), a("p", Z5, y(C.hint), 1))
|
|
8218
8216
|
], 2)
|
|
8219
8217
|
]));
|
|
8220
8218
|
}
|
|
8221
8219
|
});
|
|
8222
8220
|
var V1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(V1 || {});
|
|
8223
|
-
const
|
|
8221
|
+
const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
|
|
8224
8222
|
key: 0,
|
|
8225
8223
|
class: "r-tab-item__label"
|
|
8226
|
-
},
|
|
8224
|
+
}, c5 = /* @__PURE__ */ F({
|
|
8227
8225
|
__name: "RTabItem",
|
|
8228
8226
|
props: {
|
|
8229
8227
|
id: null,
|
|
@@ -8269,7 +8267,7 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8269
8267
|
size: 16
|
|
8270
8268
|
}, null, 8, ["name"])) : g("", !0)
|
|
8271
8269
|
]),
|
|
8272
|
-
C.variant !== p(V1).ICON ? (t(), a("span",
|
|
8270
|
+
C.variant !== p(V1).ICON ? (t(), a("span", S5, y(C.label), 1)) : g("", !0),
|
|
8273
8271
|
B(e.$slots, "append", {}, () => [
|
|
8274
8272
|
C.variant !== p(V1).TEXT && C.appendIcon ? (t(), x(R, {
|
|
8275
8273
|
key: 0,
|
|
@@ -8279,9 +8277,9 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8279
8277
|
onClick: N(i, ["stop"])
|
|
8280
8278
|
}, null, 8, ["name", "onClick"])) : g("", !0)
|
|
8281
8279
|
])
|
|
8282
|
-
], 14,
|
|
8280
|
+
], 14, u5));
|
|
8283
8281
|
}
|
|
8284
|
-
}),
|
|
8282
|
+
}), k3 = /* @__PURE__ */ F({
|
|
8285
8283
|
__name: "RTabs",
|
|
8286
8284
|
props: {
|
|
8287
8285
|
tabs: { default: () => [] },
|
|
@@ -8309,7 +8307,7 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8309
8307
|
class: f(p(M))
|
|
8310
8308
|
}, [
|
|
8311
8309
|
B(i.$slots, "default", {}, () => [
|
|
8312
|
-
(t(!0), a(U, null, Y(C.tabs, (d, m) => (t(), x(
|
|
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,
|
|
@@ -8327,13 +8325,13 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8327
8325
|
])
|
|
8328
8326
|
], 2));
|
|
8329
8327
|
}
|
|
8330
|
-
}),
|
|
8328
|
+
}), s5 = { class: "container" }, O5 = ["id", "disabled", "placeholder", "value"], p5 = {
|
|
8331
8329
|
key: 1,
|
|
8332
8330
|
class: "r-textarea__error"
|
|
8333
|
-
},
|
|
8331
|
+
}, h5 = {
|
|
8334
8332
|
key: 2,
|
|
8335
8333
|
class: "r-textarea__hint"
|
|
8336
|
-
},
|
|
8334
|
+
}, B3 = /* @__PURE__ */ F({
|
|
8337
8335
|
__name: "RTextArea",
|
|
8338
8336
|
props: {
|
|
8339
8337
|
id: { default: "" },
|
|
@@ -8360,8 +8358,8 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8360
8358
|
{
|
|
8361
8359
|
immediate: !0
|
|
8362
8360
|
}
|
|
8363
|
-
), (A, i) => (t(), a("div",
|
|
8364
|
-
C.label ? (t(), x(
|
|
8361
|
+
), (A, i) => (t(), a("div", s5, [
|
|
8362
|
+
C.label ? (t(), x(G1, {
|
|
8365
8363
|
key: 0,
|
|
8366
8364
|
id: "textarea",
|
|
8367
8365
|
class: "r-textarea__label",
|
|
@@ -8378,21 +8376,21 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8378
8376
|
placeholder: C.placeholder,
|
|
8379
8377
|
value: L.value,
|
|
8380
8378
|
onInput: M
|
|
8381
|
-
}, null, 42,
|
|
8382
|
-
C.errorMsg ? (t(), a("p",
|
|
8379
|
+
}, null, 42, O5),
|
|
8380
|
+
C.errorMsg ? (t(), a("p", p5, y(C.errorMsg), 1)) : (t(), a("p", h5, y(C.hint), 1))
|
|
8383
8381
|
]));
|
|
8384
8382
|
}
|
|
8385
|
-
}),
|
|
8383
|
+
}), f5 = {
|
|
8386
8384
|
class: /* @__PURE__ */ f({
|
|
8387
8385
|
"r-textfield__wrapper": !0
|
|
8388
8386
|
})
|
|
8389
|
-
},
|
|
8387
|
+
}, g5 = { class: "input-wrapper" }, k5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], B5 = {
|
|
8390
8388
|
key: 0,
|
|
8391
8389
|
class: "r-textfield__error"
|
|
8392
|
-
},
|
|
8390
|
+
}, b5 = {
|
|
8393
8391
|
key: 1,
|
|
8394
8392
|
class: "r-textfield__hint"
|
|
8395
|
-
},
|
|
8393
|
+
}, b3 = /* @__PURE__ */ F({
|
|
8396
8394
|
__name: "RTextfield",
|
|
8397
8395
|
props: {
|
|
8398
8396
|
id: { default: "" },
|
|
@@ -8496,8 +8494,8 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8496
8494
|
);
|
|
8497
8495
|
}
|
|
8498
8496
|
), (h, P) => (t(), a("fieldset", null, [
|
|
8499
|
-
Z("div",
|
|
8500
|
-
C.label ? (t(), x(
|
|
8497
|
+
Z("div", f5, [
|
|
8498
|
+
C.label ? (t(), x(G1, {
|
|
8501
8499
|
key: 0,
|
|
8502
8500
|
id: C.id,
|
|
8503
8501
|
class: f({
|
|
@@ -8507,7 +8505,7 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8507
8505
|
text: C.label,
|
|
8508
8506
|
onClick: v
|
|
8509
8507
|
}, null, 8, ["id", "for", "text"])) : g("", !0),
|
|
8510
|
-
Z("div",
|
|
8508
|
+
Z("div", g5, [
|
|
8511
8509
|
Z("div", {
|
|
8512
8510
|
class: f(p(m))
|
|
8513
8511
|
}, [
|
|
@@ -8531,7 +8529,7 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8531
8529
|
onBlur: T,
|
|
8532
8530
|
onFocus: w,
|
|
8533
8531
|
onInput: S
|
|
8534
|
-
}, null, 40,
|
|
8532
|
+
}, null, 40, k5),
|
|
8535
8533
|
B(h.$slots, "append"),
|
|
8536
8534
|
p(c) && !h.$slots.append ? (t(), x(R, {
|
|
8537
8535
|
key: 1,
|
|
@@ -8541,8 +8539,8 @@ const Z5 = ["aria-disabled", "aria-selected", "disabled"], u5 = {
|
|
|
8541
8539
|
onClick: O
|
|
8542
8540
|
}, null, 8, ["class", "name"])) : g("", !0)
|
|
8543
8541
|
], 2),
|
|
8544
|
-
C.errorMsg ? (t(), a("div",
|
|
8545
|
-
!C.errorMsg && C.hint ? (t(), a("div",
|
|
8542
|
+
C.errorMsg ? (t(), a("div", B5, y(C.errorMsg), 1)) : g("", !0),
|
|
8543
|
+
!C.errorMsg && C.hint ? (t(), a("div", b5, y(C.hint), 1)) : g("", !0)
|
|
8546
8544
|
])
|
|
8547
8545
|
])
|
|
8548
8546
|
]));
|
|
@@ -8589,7 +8587,7 @@ function y1(H, V, C) {
|
|
|
8589
8587
|
}
|
|
8590
8588
|
return l;
|
|
8591
8589
|
}
|
|
8592
|
-
const
|
|
8590
|
+
const y5 = async (H, V, C) => {
|
|
8593
8591
|
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));
|
|
8594
8592
|
let m = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: l } = y1(m, L, d), n = L, r = {}, u = 0;
|
|
8595
8593
|
for (let b = 0; b < e.length; b++) {
|
|
@@ -8598,7 +8596,7 @@ const b5 = async (H, V, C) => {
|
|
|
8598
8596
|
}
|
|
8599
8597
|
return { x: o, y: l, placement: n, strategy: M, middlewareData: r };
|
|
8600
8598
|
};
|
|
8601
|
-
function
|
|
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,39 +8607,39 @@ 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 =
|
|
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
|
-
const
|
|
8613
|
+
const w5 = Math.min, P5 = Math.max;
|
|
8616
8614
|
function s1(H, V, C) {
|
|
8617
|
-
return
|
|
8615
|
+
return P5(H, w5(V, C));
|
|
8618
8616
|
}
|
|
8619
|
-
const
|
|
8617
|
+
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 =
|
|
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];
|
|
8627
8625
|
return { [l]: o[l] - (_ ? P < v ? v - P : h - P : 0), data: { [l]: E, centerOffset: P - E } };
|
|
8628
|
-
} }),
|
|
8626
|
+
} }), v5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
|
|
8629
8627
|
function m1(H) {
|
|
8630
|
-
return H.replace(/left|right|bottom|top/g, (V) =>
|
|
8628
|
+
return H.replace(/left|right|bottom|top/g, (V) => v5[V]);
|
|
8631
8629
|
}
|
|
8632
|
-
function
|
|
8630
|
+
function F5(H, V, C) {
|
|
8633
8631
|
C === void 0 && (C = !1);
|
|
8634
8632
|
const L = o1(H), M = i1(H), A = h1(M);
|
|
8635
8633
|
let i = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
|
|
8636
8634
|
return V.reference[A] > V.floating[A] && (i = m1(i)), { main: i, cross: m1(i) };
|
|
8637
8635
|
}
|
|
8638
|
-
const
|
|
8636
|
+
const R5 = { start: "end", end: "start" };
|
|
8639
8637
|
function w1(H) {
|
|
8640
|
-
return H.replace(/start|end/g, (V) =>
|
|
8638
|
+
return H.replace(/start|end/g, (V) => R5[V]);
|
|
8641
8639
|
}
|
|
8642
|
-
const
|
|
8643
|
-
|
|
8644
|
-
const
|
|
8640
|
+
const U1 = ["top", "right", "bottom", "left"];
|
|
8641
|
+
U1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
|
|
8642
|
+
const x5 = function(H) {
|
|
8645
8643
|
return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
|
|
8646
8644
|
var C;
|
|
8647
8645
|
const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: n = "bestFit", flipAlignment: r = !0, ...u } = H, b = A1(L), c = l || (b === i || !r ? [m1(i)] : function(P) {
|
|
@@ -8650,7 +8648,7 @@ const R5 = function(H) {
|
|
|
8650
8648
|
}(i)), w = [i, ...c], T = await t1(V, u), S = [];
|
|
8651
8649
|
let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
|
|
8652
8650
|
if (m && S.push(T[b]), o) {
|
|
8653
|
-
const { main: P, cross: E } =
|
|
8651
|
+
const { main: P, cross: E } = F5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
|
|
8654
8652
|
S.push(T[P], T[E]);
|
|
8655
8653
|
}
|
|
8656
8654
|
if (O = [...O, { placement: L, overflows: S }], !S.every((P) => P <= 0)) {
|
|
@@ -8662,7 +8660,7 @@ const R5 = 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,
|
|
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,9 +8677,9 @@ 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
|
|
8680
|
+
return U1.some((V) => H[V] >= 0);
|
|
8683
8681
|
}
|
|
8684
|
-
const
|
|
8682
|
+
const D5 = function(H) {
|
|
8685
8683
|
let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
|
|
8686
8684
|
return { name: "hide", async fn(L) {
|
|
8687
8685
|
const { rects: M } = L;
|
|
@@ -8698,7 +8696,7 @@ const x5 = function(H) {
|
|
|
8698
8696
|
return {};
|
|
8699
8697
|
}
|
|
8700
8698
|
} };
|
|
8701
|
-
},
|
|
8699
|
+
}, E5 = function(H) {
|
|
8702
8700
|
return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
|
|
8703
8701
|
const { x: C, y: L } = V, M = await async function(A, i) {
|
|
8704
8702
|
const { placement: e, platform: d, elements: m } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = A1(e), n = o1(e), r = i1(e) === "x", u = ["left", "top"].includes(l) ? -1 : 1, b = o && r ? -1 : 1, c = typeof i == "function" ? i(A) : i;
|
|
@@ -8708,15 +8706,15 @@ const x5 = function(H) {
|
|
|
8708
8706
|
return { x: C + M.x, y: L + M.y, data: M };
|
|
8709
8707
|
} };
|
|
8710
8708
|
};
|
|
8711
|
-
function
|
|
8709
|
+
function _5(H) {
|
|
8712
8710
|
return H === "x" ? "y" : "x";
|
|
8713
8711
|
}
|
|
8714
|
-
const
|
|
8712
|
+
const W5 = function(H) {
|
|
8715
8713
|
return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
|
|
8716
8714
|
const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (c) => {
|
|
8717
8715
|
let { x: w, y: T } = c;
|
|
8718
8716
|
return { x: w, y: T };
|
|
8719
|
-
} }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(M)), n =
|
|
8717
|
+
} }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(M)), n = _5(l);
|
|
8720
8718
|
let r = m[l], u = m[n];
|
|
8721
8719
|
if (A) {
|
|
8722
8720
|
const c = l === "y" ? "bottom" : "right";
|
|
@@ -8730,13 +8728,13 @@ const _5 = function(H) {
|
|
|
8730
8728
|
return { ...b, data: { x: b.x - C, y: b.y - L } };
|
|
8731
8729
|
} };
|
|
8732
8730
|
};
|
|
8733
|
-
function
|
|
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 (
|
|
8737
|
+
if (!$1(H)) {
|
|
8740
8738
|
const V = H.ownerDocument;
|
|
8741
8739
|
return V && V.defaultView || window;
|
|
8742
8740
|
}
|
|
@@ -8746,9 +8744,9 @@ function I(H) {
|
|
|
8746
8744
|
return G(H).getComputedStyle(H);
|
|
8747
8745
|
}
|
|
8748
8746
|
function K(H) {
|
|
8749
|
-
return
|
|
8747
|
+
return $1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
|
|
8750
8748
|
}
|
|
8751
|
-
function
|
|
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
|
}
|
|
@@ -8765,18 +8763,18 @@ function r1(H) {
|
|
|
8765
8763
|
const { overflow: V, overflowX: C, overflowY: L, display: M } = I(H);
|
|
8766
8764
|
return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
|
|
8767
8765
|
}
|
|
8768
|
-
function
|
|
8766
|
+
function N5(H) {
|
|
8769
8767
|
return ["table", "td", "th"].includes(K(H));
|
|
8770
8768
|
}
|
|
8771
8769
|
function O1(H) {
|
|
8772
|
-
const V = /firefox/i.test(
|
|
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
|
|
8779
|
-
return !/^((?!chrome|android).)*safari/i.test(
|
|
8776
|
+
function j1() {
|
|
8777
|
+
return !/^((?!chrome|android).)*safari/i.test(K1());
|
|
8780
8778
|
}
|
|
8781
8779
|
function f1(H) {
|
|
8782
8780
|
return ["html", "body", "#document"].includes(K(H));
|
|
@@ -8788,7 +8786,7 @@ 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 = !
|
|
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
8792
|
function $(H) {
|
|
@@ -8798,10 +8796,10 @@ function $(H) {
|
|
|
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
|
|
8799
|
+
function q1(H) {
|
|
8802
8800
|
return j($(H)).left + n1(H).scrollLeft;
|
|
8803
8801
|
}
|
|
8804
|
-
function
|
|
8802
|
+
function I5(H, V, C) {
|
|
8805
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;
|
|
@@ -8813,7 +8811,7 @@ function N5(H, V, C) {
|
|
|
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 =
|
|
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) {
|
|
@@ -8828,7 +8826,7 @@ function R1(H) {
|
|
|
8828
8826
|
function x1(H) {
|
|
8829
8827
|
const V = G(H);
|
|
8830
8828
|
let C = R1(H);
|
|
8831
|
-
for (; C &&
|
|
8829
|
+
for (; C && N5(C) && I(C).position === "static"; )
|
|
8832
8830
|
C = R1(C);
|
|
8833
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);
|
|
@@ -8840,15 +8838,15 @@ function x1(H) {
|
|
|
8840
8838
|
return null;
|
|
8841
8839
|
}(H) || V;
|
|
8842
8840
|
}
|
|
8843
|
-
function
|
|
8841
|
+
function Y1(H) {
|
|
8844
8842
|
const V = M1(H);
|
|
8845
|
-
return f1(V) ? H.ownerDocument.body : Q(V) && r1(V) ? V :
|
|
8843
|
+
return f1(V) ? H.ownerDocument.body : Q(V) && r1(V) ? V : Y1(V);
|
|
8846
8844
|
}
|
|
8847
|
-
function
|
|
8845
|
+
function X1(H, V) {
|
|
8848
8846
|
var C;
|
|
8849
8847
|
V === void 0 && (V = []);
|
|
8850
|
-
const L =
|
|
8851
|
-
return M ? e : e.concat(
|
|
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) {
|
|
@@ -8856,7 +8854,7 @@ function D1(H, V, C) {
|
|
|
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 =
|
|
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 };
|
|
@@ -8866,15 +8864,15 @@ function D1(H, V, C) {
|
|
|
8866
8864
|
}(V, C) : d1(function(L) {
|
|
8867
8865
|
var M;
|
|
8868
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);
|
|
8869
|
-
let o = -i.scrollLeft +
|
|
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
8870
|
}($(H)));
|
|
8873
8871
|
}
|
|
8874
|
-
const
|
|
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 =
|
|
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); ) {
|
|
@@ -8907,17 +8905,17 @@ const I5 = { getClippingRect: function(H) {
|
|
|
8907
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
|
-
return { reference:
|
|
8911
|
-
}, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" },
|
|
8908
|
+
return { reference: I5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
|
|
8909
|
+
}, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, G5 = (H, V, C) => y5(H, V, { platform: Q5, ...C });
|
|
8912
8910
|
function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
|
|
8913
|
-
!H || !V ||
|
|
8911
|
+
!H || !V || G5(H, V, {
|
|
8914
8912
|
placement: L,
|
|
8915
8913
|
middleware: [
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8914
|
+
E5(M),
|
|
8915
|
+
W5({ padding: A }),
|
|
8916
|
+
T5({ element: C }),
|
|
8917
|
+
x5(),
|
|
8918
|
+
D5()
|
|
8921
8919
|
]
|
|
8922
8920
|
}).then(({ x: i, y: e, placement: d, middlewareData: m }) => {
|
|
8923
8921
|
if (Object.assign(V.style, {
|
|
@@ -8941,11 +8939,11 @@ function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
|
|
|
8941
8939
|
}
|
|
8942
8940
|
});
|
|
8943
8941
|
}
|
|
8944
|
-
var
|
|
8945
|
-
const
|
|
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 || {});
|
|
8943
|
+
const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], U5 = ["innerHTML"], $5 = /* @__PURE__ */ F({
|
|
8946
8944
|
__name: "RTooltip",
|
|
8947
8945
|
props: {
|
|
8948
|
-
placement: { default:
|
|
8946
|
+
placement: { default: J1.Top },
|
|
8949
8947
|
text: { default: "" },
|
|
8950
8948
|
dark: { type: Boolean, default: !0 },
|
|
8951
8949
|
light: { type: Boolean, default: !1 },
|
|
@@ -9026,8 +9024,8 @@ const G5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
|
|
|
9026
9024
|
c.$slots.trigger ? g("", !0) : (t(), a("div", {
|
|
9027
9025
|
key: 0,
|
|
9028
9026
|
innerHTML: C.triggerContent
|
|
9029
|
-
}, null, 8,
|
|
9030
|
-
], 40,
|
|
9027
|
+
}, null, 8, U5))
|
|
9028
|
+
], 40, z5),
|
|
9031
9029
|
Z("div", {
|
|
9032
9030
|
id: "tooltip",
|
|
9033
9031
|
ref_key: "tooltip",
|
|
@@ -9059,15 +9057,15 @@ const G5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
|
|
|
9059
9057
|
], 64));
|
|
9060
9058
|
}
|
|
9061
9059
|
});
|
|
9062
|
-
const
|
|
9060
|
+
const K5 = (H, V) => {
|
|
9063
9061
|
const C = H.__vccOpts || H;
|
|
9064
9062
|
for (const [L, M] of V)
|
|
9065
9063
|
C[L] = M;
|
|
9066
9064
|
return C;
|
|
9067
|
-
},
|
|
9065
|
+
}, y3 = /* @__PURE__ */ K5($5, [["__scopeId", "data-v-ee5f5651"]]), j5 = { class: "r-breadcrumb" }, q5 = {
|
|
9068
9066
|
key: 0,
|
|
9069
9067
|
class: "r-breadcrumb__title"
|
|
9070
|
-
},
|
|
9068
|
+
}, w3 = /* @__PURE__ */ F({
|
|
9071
9069
|
__name: "RBreadcrumb",
|
|
9072
9070
|
props: {
|
|
9073
9071
|
items: { default: () => [] },
|
|
@@ -9077,7 +9075,7 @@ const $5 = (H, V) => {
|
|
|
9077
9075
|
const V = H;
|
|
9078
9076
|
return (C, L) => {
|
|
9079
9077
|
const M = t2("router-link");
|
|
9080
|
-
return t(), a("div",
|
|
9078
|
+
return t(), a("div", j5, [
|
|
9081
9079
|
(t(!0), a(U, null, Y(V.items, (A, i) => (t(), a("div", {
|
|
9082
9080
|
key: i,
|
|
9083
9081
|
class: "r-breadcrumb__item"
|
|
@@ -9086,14 +9084,14 @@ const $5 = (H, V) => {
|
|
|
9086
9084
|
class: "r-breadcrumb__link",
|
|
9087
9085
|
to: A.to
|
|
9088
9086
|
}, {
|
|
9089
|
-
default:
|
|
9087
|
+
default: W1(() => [
|
|
9090
9088
|
B(C.$slots, "item-icon", {}, () => [
|
|
9091
9089
|
A.icon ? (t(), x(R, {
|
|
9092
9090
|
key: 0,
|
|
9093
9091
|
name: A.icon
|
|
9094
9092
|
}, null, 8, ["name"])) : g("", !0)
|
|
9095
9093
|
]),
|
|
9096
|
-
A.onlyIcon ? g("", !0) : (t(), a("span",
|
|
9094
|
+
A.onlyIcon ? g("", !0) : (t(), a("span", q5, y(A.title), 1))
|
|
9097
9095
|
]),
|
|
9098
9096
|
_: 2
|
|
9099
9097
|
}, 1032, ["to"]),
|
|
@@ -9108,21 +9106,21 @@ const $5 = (H, V) => {
|
|
|
9108
9106
|
]);
|
|
9109
9107
|
};
|
|
9110
9108
|
}
|
|
9111
|
-
}),
|
|
9109
|
+
}), Y5 = { class: "r-pagination" }, X5 = { class: "r-pagination__page-info" }, J5 = { key: 0 }, C3 = { class: "r-pagination__page-info__current-page" }, H3 = { class: "r-pagination__page-info__total-pages" }, V3 = { class: "r-pagination__paginator" }, L3 = ["disabled"], M3 = /* @__PURE__ */ Z("path", {
|
|
9112
9110
|
d: "M0 0h24v24H0z",
|
|
9113
9111
|
fill: "none",
|
|
9114
9112
|
stroke: "none"
|
|
9115
|
-
}, null, -1),
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
],
|
|
9113
|
+
}, null, -1), A3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), i3 = [
|
|
9114
|
+
M3,
|
|
9115
|
+
A3
|
|
9116
|
+
], e3 = ["max", "value"], d3 = ["disabled"], t3 = /* @__PURE__ */ Z("path", {
|
|
9119
9117
|
d: "M0 0h24v24H0z",
|
|
9120
9118
|
fill: "none",
|
|
9121
9119
|
stroke: "none"
|
|
9122
|
-
}, null, -1),
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
],
|
|
9120
|
+
}, null, -1), m3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), l3 = [
|
|
9121
|
+
t3,
|
|
9122
|
+
m3
|
|
9123
|
+
], o3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ F({
|
|
9126
9124
|
__name: "RPagination",
|
|
9127
9125
|
props: {
|
|
9128
9126
|
page: { default: 1 },
|
|
@@ -9137,14 +9135,14 @@ const $5 = (H, V) => {
|
|
|
9137
9135
|
const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
|
|
9138
9136
|
A < 1 || A > L.value || V("update:page", A);
|
|
9139
9137
|
};
|
|
9140
|
-
return (A, i) => (t(), a("div",
|
|
9141
|
-
Z("div",
|
|
9142
|
-
H.slash ? g("", !0) : (t(), a("span",
|
|
9143
|
-
Z("span",
|
|
9138
|
+
return (A, i) => (t(), a("div", Y5, [
|
|
9139
|
+
Z("div", X5, [
|
|
9140
|
+
H.slash ? g("", !0) : (t(), a("span", J5, y(C.pageText), 1)),
|
|
9141
|
+
Z("span", C3, y(C.page), 1),
|
|
9144
9142
|
Z("span", null, y(H.slash ? "/" : C.ofText), 1),
|
|
9145
|
-
Z("span",
|
|
9143
|
+
Z("span", H3, y(p(L)), 1)
|
|
9146
9144
|
]),
|
|
9147
|
-
Z("div",
|
|
9145
|
+
Z("div", V3, [
|
|
9148
9146
|
Z("button", {
|
|
9149
9147
|
class: "r-pagination__paginator__prev",
|
|
9150
9148
|
disabled: C.page === 1,
|
|
@@ -9162,9 +9160,9 @@ const $5 = (H, V) => {
|
|
|
9162
9160
|
viewBox: "0 0 24 24",
|
|
9163
9161
|
width: "16",
|
|
9164
9162
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9165
|
-
},
|
|
9163
|
+
}, i3, 2))
|
|
9166
9164
|
])
|
|
9167
|
-
], 8,
|
|
9165
|
+
], 8, L3),
|
|
9168
9166
|
Z("input", {
|
|
9169
9167
|
class: "r-pagination__paginator__input",
|
|
9170
9168
|
max: p(L),
|
|
@@ -9175,7 +9173,7 @@ const $5 = (H, V) => {
|
|
|
9175
9173
|
var d;
|
|
9176
9174
|
return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
|
|
9177
9175
|
})
|
|
9178
|
-
}, null, 40,
|
|
9176
|
+
}, null, 40, e3),
|
|
9179
9177
|
Z("button", {
|
|
9180
9178
|
class: "r-pagination__paginator__next",
|
|
9181
9179
|
disabled: C.page === p(L),
|
|
@@ -9193,14 +9191,14 @@ const $5 = (H, V) => {
|
|
|
9193
9191
|
viewBox: "0 0 24 24",
|
|
9194
9192
|
width: "16",
|
|
9195
9193
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9196
|
-
},
|
|
9194
|
+
}, l3, 2))
|
|
9197
9195
|
])
|
|
9198
|
-
], 8,
|
|
9199
|
-
Z("div",
|
|
9196
|
+
], 8, d3),
|
|
9197
|
+
Z("div", o3, "/ " + y(p(L)), 1)
|
|
9200
9198
|
])
|
|
9201
9199
|
]));
|
|
9202
9200
|
}
|
|
9203
|
-
}),
|
|
9201
|
+
}), r3 = ["value"], T3 = /* @__PURE__ */ F({
|
|
9204
9202
|
__name: "RProgressbar",
|
|
9205
9203
|
props: {
|
|
9206
9204
|
value: { default: 0 },
|
|
@@ -9215,9 +9213,9 @@ const $5 = (H, V) => {
|
|
|
9215
9213
|
role: "progressbar",
|
|
9216
9214
|
style: p1({ height: V.height + "px" }),
|
|
9217
9215
|
value: V.value
|
|
9218
|
-
}, null, 12,
|
|
9216
|
+
}, null, 12, r3));
|
|
9219
9217
|
}
|
|
9220
|
-
}),
|
|
9218
|
+
}), v3 = /* @__PURE__ */ F({
|
|
9221
9219
|
__name: "RItemGroup",
|
|
9222
9220
|
props: {
|
|
9223
9221
|
modelValue: { default: () => [] },
|
|
@@ -9238,7 +9236,7 @@ const $5 = (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:
|
|
9239
|
+
default: W1(() => [
|
|
9242
9240
|
B(m.$slots, "default", {
|
|
9243
9241
|
isSelected: e,
|
|
9244
9242
|
select: d,
|
|
@@ -9248,7 +9246,7 @@ const $5 = (H, V) => {
|
|
|
9248
9246
|
_: 3
|
|
9249
9247
|
}));
|
|
9250
9248
|
}
|
|
9251
|
-
}),
|
|
9249
|
+
}), F3 = /* @__PURE__ */ F({
|
|
9252
9250
|
__name: "RItem",
|
|
9253
9251
|
props: {
|
|
9254
9252
|
value: { default: null },
|
|
@@ -9272,28 +9270,28 @@ const $5 = (H, V) => {
|
|
|
9272
9270
|
}
|
|
9273
9271
|
});
|
|
9274
9272
|
export {
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9273
|
+
a3 as RAccordion,
|
|
9274
|
+
Z3 as RAlert,
|
|
9275
|
+
u3 as RAvatar,
|
|
9276
|
+
S3 as RBadge,
|
|
9277
|
+
w3 as RBreadcrumb,
|
|
9278
|
+
c3 as RButton,
|
|
9279
|
+
s3 as RCheckbox,
|
|
9282
9280
|
D2 as RChip,
|
|
9283
|
-
|
|
9281
|
+
O3 as RDropdown,
|
|
9284
9282
|
R as RIcon,
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9283
|
+
F3 as RItem,
|
|
9284
|
+
v3 as RItemGroup,
|
|
9285
|
+
G1 as RLabel,
|
|
9286
|
+
p3 as RModal,
|
|
9287
|
+
P3 as RPagination,
|
|
9288
|
+
T3 as RProgressbar,
|
|
9289
|
+
h3 as RSidebar,
|
|
9290
|
+
f3 as RSnackbar,
|
|
9291
|
+
g3 as RSwitch,
|
|
9292
|
+
c5 as RTabItem,
|
|
9293
|
+
k3 as RTabs,
|
|
9294
|
+
B3 as RTextArea,
|
|
9295
|
+
b3 as RTextfield,
|
|
9296
|
+
y3 as RTooltip
|
|
9299
9297
|
};
|