@rocketui/vue 0.2.42-alpha.1 → 0.2.42-alpha.3
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 +67 -57
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as
|
|
1
|
+
import { defineComponent as x, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as v, createVNode as q, computed as g, createCommentVNode as O, mergeProps as C2, createBlock as E, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as N, watchEffect as p2, onMounted as H2, Teleport as O2, withCtx as k1, withDirectives as V2, withModifiers as A1, withKeys as $1, vModelText as f2, createTextVNode as S1, onUnmounted as h2, normalizeStyle as W1, vShow as g2, resolveComponent as k2, provide as O1, resolveDynamicComponent as B2, inject as f1 } from "vue";
|
|
2
2
|
const b2 = {
|
|
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",
|
|
@@ -7347,7 +7347,7 @@ const b2 = {
|
|
|
7347
7347
|
onClick: (d) => M(e)
|
|
7348
7348
|
}, [
|
|
7349
7349
|
f(i.$slots, "title", { accordion: A }, () => [
|
|
7350
|
-
S("div", T2,
|
|
7350
|
+
S("div", T2, v(A.title), 1)
|
|
7351
7351
|
]),
|
|
7352
7352
|
S("div", F2, [
|
|
7353
7353
|
f(i.$slots, "icon", {
|
|
@@ -7359,7 +7359,7 @@ const b2 = {
|
|
|
7359
7359
|
], 8, P2),
|
|
7360
7360
|
S("div", R2, [
|
|
7361
7361
|
f(i.$slots, "content", {}, () => [
|
|
7362
|
-
S("span", null,
|
|
7362
|
+
S("span", null, v(A.content), 1)
|
|
7363
7363
|
])
|
|
7364
7364
|
])
|
|
7365
7365
|
], 10, y2))), 128));
|
|
@@ -7409,8 +7409,8 @@ const b2 = {
|
|
|
7409
7409
|
]),
|
|
7410
7410
|
S("div", D2, [
|
|
7411
7411
|
f(e.$slots, "content", {}, () => [
|
|
7412
|
-
S("p", _2,
|
|
7413
|
-
C.description ? (m(), Z("p", E2,
|
|
7412
|
+
S("p", _2, v(C.title), 1),
|
|
7413
|
+
C.description ? (m(), Z("p", E2, v(C.description), 1)) : O("", !0)
|
|
7414
7414
|
])
|
|
7415
7415
|
]),
|
|
7416
7416
|
C.closable ? (m(), Z("div", W2, [
|
|
@@ -7454,7 +7454,7 @@ const b2 = {
|
|
|
7454
7454
|
V.type === "text" ? (m(), Z("p", {
|
|
7455
7455
|
key: 0,
|
|
7456
7456
|
class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
|
|
7457
|
-
},
|
|
7457
|
+
}, v(L(V.text)), 3)) : (m(), Z("img", {
|
|
7458
7458
|
key: 1,
|
|
7459
7459
|
alt: V.alt,
|
|
7460
7460
|
class: p(["r-avatar__image", {
|
|
@@ -7659,9 +7659,9 @@ const b2 = {
|
|
|
7659
7659
|
class: "r-checkbox-texts__label",
|
|
7660
7660
|
"data-disabled": C.disabled,
|
|
7661
7661
|
for: C.id
|
|
7662
|
-
},
|
|
7662
|
+
}, v(C.label), 9, j2),
|
|
7663
7663
|
C.hideDetails ? O("", !0) : (m(), Z("div", X2, [
|
|
7664
|
-
C.errorMsg ? (m(), Z("p", Y2,
|
|
7664
|
+
C.errorMsg ? (m(), Z("p", Y2, v(C.errorMsg), 1)) : (m(), Z("p", J2, v(C.hint), 1))
|
|
7665
7665
|
]))
|
|
7666
7666
|
])
|
|
7667
7667
|
]));
|
|
@@ -7714,7 +7714,7 @@ const b2 = {
|
|
|
7714
7714
|
]),
|
|
7715
7715
|
S("span", {
|
|
7716
7716
|
class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
|
|
7717
|
-
},
|
|
7717
|
+
}, v(C.label), 3)
|
|
7718
7718
|
]),
|
|
7719
7719
|
f(d.$slots, "append", {
|
|
7720
7720
|
disabled: C.disabled
|
|
@@ -7980,7 +7980,7 @@ const Z5 = async (H, V, C) => {
|
|
|
7980
7980
|
} = K1(t, M, d), o = M, l = {}, u = 0;
|
|
7981
7981
|
for (let k = 0; k < e.length; k++) {
|
|
7982
7982
|
const {
|
|
7983
|
-
name:
|
|
7983
|
+
name: w,
|
|
7984
7984
|
fn: B
|
|
7985
7985
|
} = e[k], {
|
|
7986
7986
|
x: b,
|
|
@@ -8003,8 +8003,8 @@ const Z5 = async (H, V, C) => {
|
|
|
8003
8003
|
});
|
|
8004
8004
|
if (n = b ?? n, r = F ?? r, l = {
|
|
8005
8005
|
...l,
|
|
8006
|
-
[
|
|
8007
|
-
...l[
|
|
8006
|
+
[w]: {
|
|
8007
|
+
...l[w],
|
|
8008
8008
|
...R
|
|
8009
8009
|
}
|
|
8010
8010
|
}, P && u <= 50) {
|
|
@@ -8043,8 +8043,8 @@ async function v1(H, V) {
|
|
|
8043
8043
|
elementContext: r = "floating",
|
|
8044
8044
|
altBoundary: o = !1,
|
|
8045
8045
|
padding: l = 0
|
|
8046
|
-
} = l1(V, H), u = e2(l),
|
|
8047
|
-
element: (C = await (L.isElement == null ? void 0 : L.isElement(
|
|
8046
|
+
} = l1(V, H), u = e2(l), w = e[o ? r === "floating" ? "reference" : "floating" : r], B = w1(await L.getClippingRect({
|
|
8047
|
+
element: (C = await (L.isElement == null ? void 0 : L.isElement(w))) == null || C ? w : w.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
|
|
8048
8048
|
boundary: t,
|
|
8049
8049
|
rootBoundary: n,
|
|
8050
8050
|
strategy: d
|
|
@@ -8091,7 +8091,7 @@ const u5 = (H) => ({
|
|
|
8091
8091
|
const r = e2(n), o = {
|
|
8092
8092
|
x: C,
|
|
8093
8093
|
y: M
|
|
8094
|
-
}, l = I1(i), u = N1(l), k = await A.getDimensions(t),
|
|
8094
|
+
}, l = I1(i), u = N1(l), k = await A.getDimensions(t), w = l === "y", B = w ? "top" : "left", b = w ? "bottom" : "right", F = w ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[l] - o[l] - L.floating[u], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
|
|
8095
8095
|
let W = U ? U[F] : 0;
|
|
8096
8096
|
(!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[F] || L.floating[u]);
|
|
8097
8097
|
const h = R / 2 - P / 2, I = W / 2 - k[u] / 2 - 1, M1 = a1(r[B], I), a = a1(r[b], I), s = M1, y = W - k[u] - a, T = W / 2 - k[u] / 2 + h, c = D1(s, T, y), _ = !d.arrow && s1(i) != null && T != c && L.reference[u] / 2 - (T < s ? M1 : a) - k[u] / 2 < 0, $ = _ ? T < s ? T - s : T - y : 0;
|
|
@@ -8127,13 +8127,13 @@ const u5 = (H) => ({
|
|
|
8127
8127
|
fallbackStrategy: l = "bestFit",
|
|
8128
8128
|
fallbackAxisSideDirection: u = "none",
|
|
8129
8129
|
flipAlignment: k = !0,
|
|
8130
|
-
...
|
|
8130
|
+
...w
|
|
8131
8131
|
} = l1(H, V);
|
|
8132
8132
|
if ((C = L.arrow) != null && C.alignmentOffset)
|
|
8133
8133
|
return {};
|
|
8134
8134
|
const B = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !k ? [b1(e)] : o5(e));
|
|
8135
8135
|
!o && u !== "none" && R.push(...r5(e, k, u, F));
|
|
8136
|
-
const P = [e, ...R], U = await v1(V,
|
|
8136
|
+
const P = [e, ...R], U = await v1(V, w), W = [];
|
|
8137
8137
|
let h = ((M = L.flip) == null ? void 0 : M.overflows) || [];
|
|
8138
8138
|
if (n && W.push(U[B]), r) {
|
|
8139
8139
|
const s = l5(i, A, F);
|
|
@@ -8289,11 +8289,11 @@ const p5 = function(H) {
|
|
|
8289
8289
|
mainAxis: L = !0,
|
|
8290
8290
|
crossAxis: A = !1,
|
|
8291
8291
|
limiter: e = {
|
|
8292
|
-
fn: (
|
|
8292
|
+
fn: (w) => {
|
|
8293
8293
|
let {
|
|
8294
8294
|
x: B,
|
|
8295
8295
|
y: b
|
|
8296
|
-
} =
|
|
8296
|
+
} = w;
|
|
8297
8297
|
return {
|
|
8298
8298
|
x: B,
|
|
8299
8299
|
y: b
|
|
@@ -8307,11 +8307,11 @@ const p5 = function(H) {
|
|
|
8307
8307
|
}, n = await v1(V, d), r = y1(i1(i)), o = A2(r);
|
|
8308
8308
|
let l = t[o], u = t[r];
|
|
8309
8309
|
if (L) {
|
|
8310
|
-
const
|
|
8310
|
+
const w = o === "y" ? "top" : "left", B = o === "y" ? "bottom" : "right", b = l + n[w], F = l - n[B];
|
|
8311
8311
|
l = D1(b, l, F);
|
|
8312
8312
|
}
|
|
8313
8313
|
if (A) {
|
|
8314
|
-
const
|
|
8314
|
+
const w = r === "y" ? "top" : "left", B = r === "y" ? "bottom" : "right", b = u + n[w], F = u - n[B];
|
|
8315
8315
|
u = D1(b, u, F);
|
|
8316
8316
|
}
|
|
8317
8317
|
const k = e.fn({
|
|
@@ -8467,7 +8467,7 @@ function Z1(H, V, C, M) {
|
|
|
8467
8467
|
const o = z(L), l = M && C1(M) ? z(M) : M;
|
|
8468
8468
|
let u = o.frameElement;
|
|
8469
8469
|
for (; u && M && l !== o; ) {
|
|
8470
|
-
const k = d1(u),
|
|
8470
|
+
const k = d1(u), w = u.getBoundingClientRect(), B = K(u), b = w.left + (u.clientLeft + parseFloat(B.paddingLeft)) * k.x, F = w.top + (u.clientTop + parseFloat(B.paddingTop)) * k.y;
|
|
8471
8471
|
d *= k.x, t *= k.y, n *= k.x, r *= k.y, d += b, t += F, u = z(u).frameElement;
|
|
8472
8472
|
}
|
|
8473
8473
|
}
|
|
@@ -8699,7 +8699,7 @@ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
|
|
|
8699
8699
|
animation: `r-tooltip-show ${A}ms ease-in-out forwards`,
|
|
8700
8700
|
transformOrigin: "start"
|
|
8701
8701
|
}), C && r.arrow) {
|
|
8702
|
-
const { x:
|
|
8702
|
+
const { x: w, y: B } = r.arrow, b = {
|
|
8703
8703
|
top: "bottom",
|
|
8704
8704
|
right: "left",
|
|
8705
8705
|
bottom: "top",
|
|
@@ -8707,7 +8707,7 @@ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
|
|
|
8707
8707
|
/* Right */
|
|
8708
8708
|
}[n.split("-")[0]];
|
|
8709
8709
|
Object.assign(C.style, {
|
|
8710
|
-
left: d != null ? `${
|
|
8710
|
+
left: d != null ? `${w}px` : "",
|
|
8711
8711
|
top: t != null ? `${B}px` : "",
|
|
8712
8712
|
right: "",
|
|
8713
8713
|
bottom: "",
|
|
@@ -8773,7 +8773,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
8773
8773
|
const { placement: b, offset: F, padding: R, disabled: P, showDelay: U, type: W } = C;
|
|
8774
8774
|
P || W5(i, L, A, b, F, R, U, W);
|
|
8775
8775
|
}
|
|
8776
|
-
const
|
|
8776
|
+
const w = g(() => ({
|
|
8777
8777
|
"r-tooltip": !0,
|
|
8778
8778
|
"r-tooltip--dark": C.dark && !C.light,
|
|
8779
8779
|
"r-tooltip--light": C.light
|
|
@@ -8823,7 +8823,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
8823
8823
|
id: J(e),
|
|
8824
8824
|
ref_key: "tooltip",
|
|
8825
8825
|
ref: L,
|
|
8826
|
-
class: p([
|
|
8826
|
+
class: p([w.value, B.tooltipClass]),
|
|
8827
8827
|
"data-show": "false",
|
|
8828
8828
|
role: "tooltip"
|
|
8829
8829
|
}, [
|
|
@@ -8837,7 +8837,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
8837
8837
|
"r-tooltip__content--dark": C.dark,
|
|
8838
8838
|
"r-tooltip__content--light": C.light
|
|
8839
8839
|
}])
|
|
8840
|
-
},
|
|
8840
|
+
}, v(C.text), 3)) : O("", !0),
|
|
8841
8841
|
C.text ? (m(), Z("div", {
|
|
8842
8842
|
key: 1,
|
|
8843
8843
|
id: "arrow",
|
|
@@ -8941,9 +8941,13 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
8941
8941
|
const s = document.getElementById(a);
|
|
8942
8942
|
s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
|
|
8943
8943
|
}
|
|
8944
|
-
function
|
|
8944
|
+
function w(a, s, y, T) {
|
|
8945
8945
|
var c;
|
|
8946
8946
|
if (T(), !s.disabled) {
|
|
8947
|
+
if (s.value === "select-all") {
|
|
8948
|
+
M1();
|
|
8949
|
+
return;
|
|
8950
|
+
}
|
|
8947
8951
|
if (C.multiple) {
|
|
8948
8952
|
L.value.find((_) => _.value === s.value) ? L.value.splice(L.value.indexOf(s), 1) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
|
|
8949
8953
|
return;
|
|
@@ -8993,8 +8997,8 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
8993
8997
|
}
|
|
8994
8998
|
i.value = {}, e.value = "", M("update:modelValue", "");
|
|
8995
8999
|
}
|
|
8996
|
-
function M1(
|
|
8997
|
-
if (
|
|
9000
|
+
function M1() {
|
|
9001
|
+
if (L.value.length === P.value.length) {
|
|
8998
9002
|
L.value.splice(0, L.value.length);
|
|
8999
9003
|
return;
|
|
9000
9004
|
}
|
|
@@ -9002,9 +9006,15 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9002
9006
|
}
|
|
9003
9007
|
return H2(() => {
|
|
9004
9008
|
W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
|
|
9005
|
-
}), G(
|
|
9006
|
-
|
|
9007
|
-
|
|
9009
|
+
}), G(
|
|
9010
|
+
L,
|
|
9011
|
+
(a) => {
|
|
9012
|
+
M("update:modelValue", a);
|
|
9013
|
+
},
|
|
9014
|
+
{
|
|
9015
|
+
deep: !0
|
|
9016
|
+
}
|
|
9017
|
+
), G(() => n.value, (a) => {
|
|
9008
9018
|
W();
|
|
9009
9019
|
}), (a, s) => (m(), Z("div", {
|
|
9010
9020
|
ref_key: "wrapper",
|
|
@@ -9073,7 +9083,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9073
9083
|
"no-wrap": "",
|
|
9074
9084
|
variant: "primary",
|
|
9075
9085
|
"onClick:close": ($) => b($, c, y)
|
|
9076
|
-
}, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", z5,
|
|
9086
|
+
}, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", z5, v(`${c.label}, `), 1))
|
|
9077
9087
|
])), 128)),
|
|
9078
9088
|
V2(S("input", {
|
|
9079
9089
|
id: C.id,
|
|
@@ -9145,10 +9155,10 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9145
9155
|
"r-dropdown-options__option--active": L.value.length === P.value.length,
|
|
9146
9156
|
"r-dropdown-options__option--disabled": !1
|
|
9147
9157
|
}]),
|
|
9148
|
-
onClick: A1((c) =>
|
|
9158
|
+
onClick: A1((c) => w(c, { label: C.selectAllText, value: "select-all" }, y, T), ["prevent"])
|
|
9149
9159
|
}, [
|
|
9150
9160
|
S("div", X5, [
|
|
9151
|
-
S("p", Y5,
|
|
9161
|
+
S("p", Y5, v(C.selectAllText), 1)
|
|
9152
9162
|
]),
|
|
9153
9163
|
L.value.length === P.value.length && !C.hideOptionCheckIcon ? (m(), E(D, {
|
|
9154
9164
|
key: 0,
|
|
@@ -9166,7 +9176,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9166
9176
|
"r-dropdown-options__option--active": R(c),
|
|
9167
9177
|
"r-dropdown-options__option--disabled": c.disabled
|
|
9168
9178
|
}]),
|
|
9169
|
-
onClick: A1((_) =>
|
|
9179
|
+
onClick: A1((_) => w(_, c, y, T), ["prevent"])
|
|
9170
9180
|
}, [
|
|
9171
9181
|
f(a.$slots, "option", {
|
|
9172
9182
|
disabled: c.disabled,
|
|
@@ -9189,7 +9199,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9189
9199
|
class: p(["r-dropdown-options__option__label", {
|
|
9190
9200
|
"r-dropdown-options__option__label--active": R(c)
|
|
9191
9201
|
}])
|
|
9192
|
-
},
|
|
9202
|
+
}, v(c.label), 3)
|
|
9193
9203
|
]),
|
|
9194
9204
|
f(a.$slots, "option-append", {
|
|
9195
9205
|
disabled: c.disabled,
|
|
@@ -9207,7 +9217,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9207
9217
|
], 10, C3))), 128)),
|
|
9208
9218
|
P.value.length === 0 ? (m(), Z("li", V3, [
|
|
9209
9219
|
f(a.$slots, "not-options", {}, () => [
|
|
9210
|
-
S1(
|
|
9220
|
+
S1(v(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
|
|
9211
9221
|
])
|
|
9212
9222
|
])) : O("", !0)
|
|
9213
9223
|
], 2)
|
|
@@ -9215,8 +9225,8 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9215
9225
|
_: 3
|
|
9216
9226
|
}, 8, ["tooltip-class"]),
|
|
9217
9227
|
a.$props.hideDetails ? O("", !0) : (m(), Z("div", L3, [
|
|
9218
|
-
C.errorMsg ? (m(), Z("div", M3,
|
|
9219
|
-
C.hint ? (m(), Z("div", i3,
|
|
9228
|
+
C.errorMsg ? (m(), Z("div", M3, v(C.errorMsg), 1)) : O("", !0),
|
|
9229
|
+
C.hint ? (m(), Z("div", i3, v(C.hint), 1)) : O("", !0)
|
|
9220
9230
|
]))
|
|
9221
9231
|
], 512));
|
|
9222
9232
|
}
|
|
@@ -9235,7 +9245,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9235
9245
|
for: V.for
|
|
9236
9246
|
}, [
|
|
9237
9247
|
f(C.$slots, "default", {}, () => [
|
|
9238
|
-
S1(
|
|
9248
|
+
S1(v(V.text), 1)
|
|
9239
9249
|
])
|
|
9240
9250
|
], 8, e3));
|
|
9241
9251
|
}
|
|
@@ -9299,8 +9309,8 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9299
9309
|
name: C.icon
|
|
9300
9310
|
}, null, 8, ["name"])
|
|
9301
9311
|
])) : O("", !0),
|
|
9302
|
-
C.title ? (m(), Z("div", o3,
|
|
9303
|
-
C.description ? (m(), Z("div", n3,
|
|
9312
|
+
C.title ? (m(), Z("div", o3, v(C.title), 1)) : O("", !0),
|
|
9313
|
+
C.description ? (m(), Z("div", n3, v(C.description), 1)) : O("", !0)
|
|
9304
9314
|
]),
|
|
9305
9315
|
S("div", r3, [
|
|
9306
9316
|
f(e.$slots, "default")
|
|
@@ -9401,7 +9411,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9401
9411
|
]),
|
|
9402
9412
|
S("div", s3, [
|
|
9403
9413
|
f(A.$slots, "default", {}, () => [
|
|
9404
|
-
S1(
|
|
9414
|
+
S1(v(C.text), 1)
|
|
9405
9415
|
])
|
|
9406
9416
|
]),
|
|
9407
9417
|
C.closable ? (m(), Z("div", {
|
|
@@ -9491,9 +9501,9 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
|
|
|
9491
9501
|
id: `${C.id}-label`,
|
|
9492
9502
|
class: "r-switch-texts__label",
|
|
9493
9503
|
for: C.id
|
|
9494
|
-
},
|
|
9504
|
+
}, v(C.label), 9, O3),
|
|
9495
9505
|
C.hideDetails ? O("", !0) : (m(), Z("div", f3, [
|
|
9496
|
-
C.errorMsg ? (m(), Z("p", h3,
|
|
9506
|
+
C.errorMsg ? (m(), Z("p", h3, v(C.errorMsg), 1)) : (m(), Z("p", g3, v(C.hint), 1))
|
|
9497
9507
|
]))
|
|
9498
9508
|
], 2)
|
|
9499
9509
|
], 2));
|
|
@@ -9550,7 +9560,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9550
9560
|
f(d.$slots, "default", {
|
|
9551
9561
|
label: C.label
|
|
9552
9562
|
}, () => [
|
|
9553
|
-
S1(
|
|
9563
|
+
S1(v(C.label), 1)
|
|
9554
9564
|
])
|
|
9555
9565
|
])) : O("", !0),
|
|
9556
9566
|
f(d.$slots, "append", {
|
|
@@ -9680,7 +9690,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9680
9690
|
onInput: L
|
|
9681
9691
|
}), null, 16, v3),
|
|
9682
9692
|
C.hideDetails ? O("", !0) : (m(), Z("div", y3, [
|
|
9683
|
-
C.errorMsg ? (m(), Z("p", P3,
|
|
9693
|
+
C.errorMsg ? (m(), Z("p", P3, v(C.errorMsg), 1)) : (m(), Z("p", T3, v(C.hint), 1))
|
|
9684
9694
|
]))
|
|
9685
9695
|
]));
|
|
9686
9696
|
}
|
|
@@ -9754,7 +9764,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9754
9764
|
"r-textfield__append-icon": !0,
|
|
9755
9765
|
"r-textfield__append-icon--clear": o.value,
|
|
9756
9766
|
"r-textfield__append-icon--error": r.value
|
|
9757
|
-
})),
|
|
9767
|
+
})), w = g(() => {
|
|
9758
9768
|
const { prependIcon: h, type: I } = C;
|
|
9759
9769
|
return h === "none" ? "" : h || e[I];
|
|
9760
9770
|
}), B = g(() => {
|
|
@@ -9823,10 +9833,10 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9823
9833
|
error: r.value,
|
|
9824
9834
|
loading: C.loading
|
|
9825
9835
|
}, () => [
|
|
9826
|
-
|
|
9836
|
+
w.value ? (m(), E(D, {
|
|
9827
9837
|
key: 0,
|
|
9828
9838
|
class: p(u.value),
|
|
9829
|
-
name:
|
|
9839
|
+
name: w.value,
|
|
9830
9840
|
size: 20
|
|
9831
9841
|
}, null, 8, ["class", "name"])) : O("", !0)
|
|
9832
9842
|
]),
|
|
@@ -9861,8 +9871,8 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9861
9871
|
])
|
|
9862
9872
|
], 2),
|
|
9863
9873
|
C.hideDetails ? O("", !0) : (m(), Z("div", D3, [
|
|
9864
|
-
C.errorMsg ? (m(), Z("p", _3,
|
|
9865
|
-
!C.errorMsg && C.hint ? (m(), Z("p", E3,
|
|
9874
|
+
C.errorMsg ? (m(), Z("p", _3, v(C.errorMsg), 1)) : O("", !0),
|
|
9875
|
+
!C.errorMsg && C.hint ? (m(), Z("p", E3, v(C.hint), 1)) : O("", !0)
|
|
9866
9876
|
]))
|
|
9867
9877
|
])
|
|
9868
9878
|
]));
|
|
@@ -9896,7 +9906,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9896
9906
|
name: L.icon
|
|
9897
9907
|
}, null, 8, ["name"])) : O("", !0)
|
|
9898
9908
|
]),
|
|
9899
|
-
L.onlyIcon ? O("", !0) : (m(), Z("span", N3,
|
|
9909
|
+
L.onlyIcon ? O("", !0) : (m(), Z("span", N3, v(L.title), 1))
|
|
9900
9910
|
]),
|
|
9901
9911
|
_: 2
|
|
9902
9912
|
}, 1032, ["to"]),
|
|
@@ -9979,7 +9989,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9979
9989
|
}, [
|
|
9980
9990
|
S("div", I3, [
|
|
9981
9991
|
S("div", Q3, [
|
|
9982
|
-
S("span", null,
|
|
9992
|
+
S("span", null, v(C.itemsPerPageText), 1),
|
|
9983
9993
|
q(A3, {
|
|
9984
9994
|
modelValue: i.value,
|
|
9985
9995
|
"onUpdate:modelValue": [
|
|
@@ -9992,7 +10002,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
|
|
|
9992
10002
|
options: C.perPageOptions
|
|
9993
10003
|
}, null, 8, ["modelValue", "options"])
|
|
9994
10004
|
]),
|
|
9995
|
-
S("span", G3,
|
|
10005
|
+
S("span", G3, v(e.value), 1),
|
|
9996
10006
|
S("button", {
|
|
9997
10007
|
class: "r-pagination__paginator__first",
|
|
9998
10008
|
disabled: t.value,
|