@solfacil/girassol 0.9.0 → 0.10.0
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/girassol.es.js +664 -655
- package/dist/girassol.umd.js +4 -4
- package/dist/types/components/list/List.vue.d.ts +3 -1
- package/dist/types/components/list/ListItem.vue.d.ts +1 -0
- package/dist/types/components/tabs/types.d.ts +1 -0
- package/dist/types/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/girassol.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as J, openBlock as g, createElementBlock as y, normalizeClass as
|
|
2
|
-
const wn = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as J, openBlock as g, createElementBlock as y, normalizeClass as B, createElementVNode as b, toDisplayString as O, useSlots as ht, computed as x, unref as u, renderSlot as C, createVNode as _, createCommentVNode as F, createBlock as ee, withCtx as q, ref as R, withDirectives as Ce, onMounted as Fe, provide as Pi, isRef as Ue, watch as me, getCurrentInstance as ke, onBeforeUnmount as ki, toRef as Le, resolveDynamicComponent as ni, h as gt, inject as Bi, reactive as ot, onUnmounted as li, nextTick as Ee, warn as Oi, watchEffect as Yi, markRaw as fn, mergeProps as Be, vShow as Pe, createTextVNode as re, vModelText as bn, Fragment as Ae, renderList as he, getCurrentScope as hn, onScopeDispose as Dn, withModifiers as Ne, normalizeStyle as Nt, withKeys as De, resolveComponent as Sn, Transition as ai, createSlots as An, Teleport as xn, render as Vi } from "vue";
|
|
2
|
+
const wn = /* @__PURE__ */ b("path", {
|
|
3
3
|
class: "path",
|
|
4
4
|
d: "M16.0008 1.5C17.905 1.5 19.7905 1.87506 21.5497 2.60375C23.3089 3.33244 24.9074 4.4005 26.2538 5.74695C27.6003 7.0934 28.6684 8.69187 29.397 10.4511C30.1257 12.2103 30.5008 14.0958 30.5008 16C30.5008 17.9042 30.1257 19.7897 29.397 21.5489C28.6684 23.3081 27.6003 24.9066 26.2538 26.2531C24.9074 27.5995 23.3089 28.6676 21.5497 29.3963C19.7905 30.1249 17.905 30.5 16.0008 30.5C14.0966 30.5 12.2111 30.1249 10.4519 29.3963C8.69266 28.6676 7.09419 27.5995 5.74774 26.253C4.4013 24.9066 3.33323 23.3081 2.60454 21.5489C1.87585 19.7897 1.50079 17.9042 1.50079 16C1.5008 14.0958 1.87585 12.2103 2.60454 10.4511C3.33324 8.69187 4.4013 7.0934 5.74775 5.74695C7.0942 4.4005 8.69267 3.33244 10.4519 2.60375C12.2111 1.87505 14.0966 1.5 16.0008 1.5L16.0008 1.5Z"
|
|
5
5
|
}, null, -1), Wi = /* @__PURE__ */ J({
|
|
@@ -11,12 +11,12 @@ const wn = /* @__PURE__ */ f("path", {
|
|
|
11
11
|
},
|
|
12
12
|
setup(e) {
|
|
13
13
|
return (t, i) => (g(), y("svg", {
|
|
14
|
-
class:
|
|
14
|
+
class: B(["sol-inner-loader", `-${e.size}`]),
|
|
15
15
|
viewBox: "0 0 32 32",
|
|
16
16
|
fill: "none",
|
|
17
17
|
xmlns: "http://www.w3.org/2000/svg"
|
|
18
18
|
}, [
|
|
19
|
-
|
|
19
|
+
b("title", null, O(e.title), 1),
|
|
20
20
|
wn
|
|
21
21
|
], 2));
|
|
22
22
|
}
|
|
@@ -45,7 +45,7 @@ const Zn = ["data-testid", "disabled"], Tn = { class: "icon -left" }, zn = { cla
|
|
|
45
45
|
);
|
|
46
46
|
return (a, s) => (g(), y("button", {
|
|
47
47
|
"data-testid": `button-${e.id}`,
|
|
48
|
-
class:
|
|
48
|
+
class: B(["sol-button-core", `-${e.variant} -${e.size}
|
|
49
49
|
${t(e.loading, "-loading")}
|
|
50
50
|
${t(e.onColor, "-on-color")}
|
|
51
51
|
${t(u(n), "-has-icon")}
|
|
@@ -54,12 +54,12 @@ const Zn = ["data-testid", "disabled"], Tn = { class: "icon -left" }, zn = { cla
|
|
|
54
54
|
type: "button",
|
|
55
55
|
disabled: e.disabled || e.loading
|
|
56
56
|
}, [
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
b("div", Tn, [
|
|
58
|
+
C(a.$slots, "icon-left")
|
|
59
59
|
]),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
C(a.$slots, "default"),
|
|
61
|
+
b("div", zn, [
|
|
62
|
+
C(a.$slots, "icon-right")
|
|
63
63
|
]),
|
|
64
64
|
e.loading ? (g(), y("div", Ln, [
|
|
65
65
|
_(Wi, {
|
|
@@ -75,7 +75,7 @@ const Cn = {
|
|
|
75
75
|
viewBox: "0 0 24 24",
|
|
76
76
|
width: "1em",
|
|
77
77
|
height: "1em"
|
|
78
|
-
}, Gn = /* @__PURE__ */
|
|
78
|
+
}, Gn = /* @__PURE__ */ b("path", {
|
|
79
79
|
fill: "currentColor",
|
|
80
80
|
d: "M7 21q-.825 0-1.412-.587Q5 19.825 5 19V6H4V4h5V3h6v1h5v2h-1v13q0 .825-.587 1.413Q17.825 21 17 21ZM17 6H7v13h10ZM9 17h2V8H9Zm4 0h2V8h-2ZM7 6v13Z"
|
|
81
81
|
}, null, -1), pn = [
|
|
@@ -107,7 +107,7 @@ const Pn = { name: "material-symbols-delete-outline", render: En }, Ui = /* @__P
|
|
|
107
107
|
})) : F("", !0)
|
|
108
108
|
]),
|
|
109
109
|
default: q(() => [
|
|
110
|
-
|
|
110
|
+
C(t.$slots, "default")
|
|
111
111
|
]),
|
|
112
112
|
_: 3
|
|
113
113
|
}, 8, ["id", "size", "loading"]));
|
|
@@ -329,7 +329,7 @@ const Qn = ["id", "data-testid", "value"], Qi = /* @__PURE__ */ J({
|
|
|
329
329
|
ref: o,
|
|
330
330
|
"data-testid": `input-${e.id}`,
|
|
331
331
|
value: e.modelValue,
|
|
332
|
-
class:
|
|
332
|
+
class: B(["sol-input-core", [`-${e.size}`, { "-error": e.error, "-feedback-icon": e.hasFeedbackIcon }]]),
|
|
333
333
|
onInput: s
|
|
334
334
|
}, null, 42, Qn)), [
|
|
335
335
|
[u(a), u(l)]
|
|
@@ -434,7 +434,7 @@ function el(e, t) {
|
|
|
434
434
|
function He(e) {
|
|
435
435
|
return typeof e == "function";
|
|
436
436
|
}
|
|
437
|
-
function
|
|
437
|
+
function et(e) {
|
|
438
438
|
return e == null;
|
|
439
439
|
}
|
|
440
440
|
const Ge = (e) => e !== null && !!e && typeof e == "object" && !Array.isArray(e);
|
|
@@ -453,7 +453,7 @@ const ut = Symbol("vee-validate-form"), ll = Symbol("vee-validate-field-instance
|
|
|
453
453
|
function Et(e) {
|
|
454
454
|
return He(e) && !!e.__locatorRef;
|
|
455
455
|
}
|
|
456
|
-
function
|
|
456
|
+
function tt(e) {
|
|
457
457
|
return !!e && He(e.validate);
|
|
458
458
|
}
|
|
459
459
|
function $e(e) {
|
|
@@ -594,7 +594,7 @@ function Te(e, t, i) {
|
|
|
594
594
|
l[n[a]] = i;
|
|
595
595
|
return;
|
|
596
596
|
}
|
|
597
|
-
(!(n[a] in l) ||
|
|
597
|
+
(!(n[a] in l) || et(l[n[a]])) && (l[n[a]] = Fi(n[a + 1]) ? [] : {}), l = l[n[a]];
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function Zt(e, t) {
|
|
@@ -616,7 +616,7 @@ function Mt(e, t) {
|
|
|
616
616
|
Zt(n, i[a]);
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
|
-
if (!(i[a] in n) ||
|
|
619
|
+
if (!(i[a] in n) || et(n[i[a]]))
|
|
620
620
|
break;
|
|
621
621
|
n = n[i[a]];
|
|
622
622
|
}
|
|
@@ -778,7 +778,7 @@ async function en(e, t, i = {}) {
|
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
780
|
async function fl(e, t) {
|
|
781
|
-
if (
|
|
781
|
+
if (tt(e.rules))
|
|
782
782
|
return bl(t, e.rules, { bails: e.bails });
|
|
783
783
|
if (He(e.rules) || Array.isArray(e.rules)) {
|
|
784
784
|
const s = {
|
|
@@ -790,8 +790,8 @@ async function fl(e, t) {
|
|
|
790
790
|
const N = o[M], I = await N(t, s);
|
|
791
791
|
if (typeof I != "string" && I)
|
|
792
792
|
continue;
|
|
793
|
-
const
|
|
794
|
-
if (c.push(
|
|
793
|
+
const v = typeof I == "string" ? I : tn(s);
|
|
794
|
+
if (c.push(v), e.bails)
|
|
795
795
|
return {
|
|
796
796
|
errors: c
|
|
797
797
|
};
|
|
@@ -990,7 +990,7 @@ function ln(e) {
|
|
|
990
990
|
logo: "https://vee-validate.logaretm.com/v4/logo.png"
|
|
991
991
|
}, Ll);
|
|
992
992
|
}
|
|
993
|
-
const
|
|
993
|
+
const it = {}, nt = {};
|
|
994
994
|
let ze;
|
|
995
995
|
const Qe = dl(() => {
|
|
996
996
|
setTimeout(async () => {
|
|
@@ -1005,8 +1005,8 @@ function Tl(e) {
|
|
|
1005
1005
|
return;
|
|
1006
1006
|
ln(i);
|
|
1007
1007
|
}
|
|
1008
|
-
|
|
1009
|
-
delete
|
|
1008
|
+
it[e.formId] = Object.assign({}, e), it[e.formId]._vm = t, li(() => {
|
|
1009
|
+
delete it[e.formId], Qe();
|
|
1010
1010
|
}), Qe();
|
|
1011
1011
|
}
|
|
1012
1012
|
function zl(e) {
|
|
@@ -1017,8 +1017,8 @@ function zl(e) {
|
|
|
1017
1017
|
return;
|
|
1018
1018
|
ln(i);
|
|
1019
1019
|
}
|
|
1020
|
-
|
|
1021
|
-
delete
|
|
1020
|
+
nt[e.id] = Object.assign({}, e), nt[e.id]._vm = t, li(() => {
|
|
1021
|
+
delete nt[e.id], Qe();
|
|
1022
1022
|
}), Qe();
|
|
1023
1023
|
}
|
|
1024
1024
|
const Ve = "vee-validate-inspector", be = {
|
|
@@ -1071,7 +1071,7 @@ function Ll(e) {
|
|
|
1071
1071
|
}), e.on.getInspectorTree((t) => {
|
|
1072
1072
|
if (t.inspectorId !== Ve)
|
|
1073
1073
|
return;
|
|
1074
|
-
const i = Object.values(
|
|
1074
|
+
const i = Object.values(it), n = Object.values(nt);
|
|
1075
1075
|
t.rootNodes = [
|
|
1076
1076
|
...i.map(Cl),
|
|
1077
1077
|
...n.map((l) => Ii(l))
|
|
@@ -1172,9 +1172,9 @@ function an(e, t, i = !0) {
|
|
|
1172
1172
|
}
|
|
1173
1173
|
function Gl(e) {
|
|
1174
1174
|
try {
|
|
1175
|
-
const t = JSON.parse(atob(e)), i =
|
|
1175
|
+
const t = JSON.parse(atob(e)), i = it[t.f];
|
|
1176
1176
|
if (!i && t.ff) {
|
|
1177
|
-
const l =
|
|
1177
|
+
const l = nt[t.ff];
|
|
1178
1178
|
return l ? {
|
|
1179
1179
|
type: t.type,
|
|
1180
1180
|
field: l
|
|
@@ -1274,25 +1274,25 @@ function on(e, t, i) {
|
|
|
1274
1274
|
return $e(i == null ? void 0 : i.type) ? Bl(e, t, i) : un(e, t, i);
|
|
1275
1275
|
}
|
|
1276
1276
|
function un(e, t, i) {
|
|
1277
|
-
const { initialValue: n, validateOnMount: l, bails: a, type: s, checkedValue: o, label: r, validateOnValueUpdate: c, uncheckedValue: M, controlled: N, keepValueOnUnmount: I, modelPropName: d, syncVModel:
|
|
1277
|
+
const { initialValue: n, validateOnMount: l, bails: a, type: s, checkedValue: o, label: r, validateOnValueUpdate: c, uncheckedValue: M, controlled: N, keepValueOnUnmount: I, modelPropName: d, syncVModel: v, form: Z } = Pl(u(e), i), p = N ? ri(ut) : void 0, L = Z || p;
|
|
1278
1278
|
let z = !1;
|
|
1279
|
-
const { id:
|
|
1279
|
+
const { id: f, value: D, initialValue: G, meta: w, setState: Y, errors: W, errorMessage: te } = xl(e, {
|
|
1280
1280
|
modelValue: n,
|
|
1281
|
-
form:
|
|
1281
|
+
form: L
|
|
1282
1282
|
});
|
|
1283
|
-
|
|
1283
|
+
v && Ol({ value: D, prop: d, handleChange: ae });
|
|
1284
1284
|
const $ = () => {
|
|
1285
1285
|
w.touched = !0;
|
|
1286
1286
|
}, le = x(() => {
|
|
1287
1287
|
let A = u(t);
|
|
1288
|
-
const X = u(
|
|
1289
|
-
return X && !
|
|
1288
|
+
const X = u(L == null ? void 0 : L.schema);
|
|
1289
|
+
return X && !tt(X) && (A = kl(X, u(e)) || A), tt(A) || He(A) || Array.isArray(A) ? A : Ki(A);
|
|
1290
1290
|
});
|
|
1291
1291
|
async function ue(A) {
|
|
1292
1292
|
var X, se;
|
|
1293
|
-
return
|
|
1293
|
+
return L != null && L.validateSchema ? (X = (await L.validateSchema(A)).results[u(e)]) !== null && X !== void 0 ? X : { valid: !0, errors: [] } : en(D.value, le.value, {
|
|
1294
1294
|
name: u(r) || u(e),
|
|
1295
|
-
values: (se =
|
|
1295
|
+
values: (se = L == null ? void 0 : L.values) !== null && se !== void 0 ? se : {},
|
|
1296
1296
|
bails: a
|
|
1297
1297
|
});
|
|
1298
1298
|
}
|
|
@@ -1302,27 +1302,27 @@ function un(e, t, i) {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
function ae(A, X = !0) {
|
|
1304
1304
|
const se = ci(A);
|
|
1305
|
-
|
|
1305
|
+
D.value = se, !c && X && ce();
|
|
1306
1306
|
}
|
|
1307
|
-
|
|
1307
|
+
Fe(() => {
|
|
1308
1308
|
if (l)
|
|
1309
1309
|
return ce();
|
|
1310
|
-
(!
|
|
1310
|
+
(!L || !L.validateSchema) && ge();
|
|
1311
1311
|
});
|
|
1312
1312
|
function de(A) {
|
|
1313
1313
|
w.touched = A;
|
|
1314
1314
|
}
|
|
1315
|
-
let T,
|
|
1316
|
-
function
|
|
1317
|
-
T = me(
|
|
1318
|
-
if (Me(A, X) && Me(A,
|
|
1315
|
+
let T, h = ie(D.value);
|
|
1316
|
+
function S() {
|
|
1317
|
+
T = me(D, (A, X) => {
|
|
1318
|
+
if (Me(A, X) && Me(A, h))
|
|
1319
1319
|
return;
|
|
1320
|
-
(c ? ce : ge)(),
|
|
1320
|
+
(c ? ce : ge)(), h = ie(A);
|
|
1321
1321
|
}, {
|
|
1322
1322
|
deep: !0
|
|
1323
1323
|
});
|
|
1324
1324
|
}
|
|
1325
|
-
|
|
1325
|
+
S();
|
|
1326
1326
|
function P(A) {
|
|
1327
1327
|
var X;
|
|
1328
1328
|
T == null || T();
|
|
@@ -1333,22 +1333,22 @@ function un(e, t, i) {
|
|
|
1333
1333
|
touched: (X = A == null ? void 0 : A.touched) !== null && X !== void 0 ? X : !1,
|
|
1334
1334
|
errors: (A == null ? void 0 : A.errors) || []
|
|
1335
1335
|
}), w.pending = !1, w.validated = !1, ge(), Ee(() => {
|
|
1336
|
-
|
|
1336
|
+
S();
|
|
1337
1337
|
});
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1340
|
-
|
|
1339
|
+
function U(A) {
|
|
1340
|
+
D.value = A;
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function k(A) {
|
|
1343
1343
|
Y({ errors: Array.isArray(A) ? A : [A] });
|
|
1344
1344
|
}
|
|
1345
|
-
const
|
|
1346
|
-
id:
|
|
1345
|
+
const V = {
|
|
1346
|
+
id: f,
|
|
1347
1347
|
name: e,
|
|
1348
1348
|
label: r,
|
|
1349
|
-
value:
|
|
1349
|
+
value: D,
|
|
1350
1350
|
meta: w,
|
|
1351
|
-
errors:
|
|
1351
|
+
errors: W,
|
|
1352
1352
|
errorMessage: te,
|
|
1353
1353
|
type: s,
|
|
1354
1354
|
checkedValue: o,
|
|
@@ -1362,26 +1362,26 @@ function un(e, t, i) {
|
|
|
1362
1362
|
handleBlur: $,
|
|
1363
1363
|
setState: Y,
|
|
1364
1364
|
setTouched: de,
|
|
1365
|
-
setErrors:
|
|
1366
|
-
setValue:
|
|
1365
|
+
setErrors: k,
|
|
1366
|
+
setValue: U
|
|
1367
1367
|
};
|
|
1368
|
-
if (Pi(ll,
|
|
1368
|
+
if (Pi(ll, V), Ue(t) && typeof u(t) != "function" && me(t, (A, X) => {
|
|
1369
1369
|
Me(A, X) || (w.validated ? ce() : ge());
|
|
1370
1370
|
}, {
|
|
1371
1371
|
deep: !0
|
|
1372
|
-
}), process.env.NODE_ENV !== "production" && (
|
|
1372
|
+
}), process.env.NODE_ENV !== "production" && (V._vm = ke(), me(() => Object.assign(Object.assign({ errors: W.value }, w), { value: D.value }), Qe, {
|
|
1373
1373
|
deep: !0
|
|
1374
|
-
}),
|
|
1375
|
-
return
|
|
1376
|
-
|
|
1377
|
-
z = !0,
|
|
1374
|
+
}), L || zl(V)), !L)
|
|
1375
|
+
return V;
|
|
1376
|
+
L.register(V), ki(() => {
|
|
1377
|
+
z = !0, L.unregister(V);
|
|
1378
1378
|
});
|
|
1379
1379
|
const ve = x(() => {
|
|
1380
1380
|
const A = le.value;
|
|
1381
|
-
return !A || He(A) ||
|
|
1382
|
-
const pe = jl(A[se]).map((xe) => xe.__locatorRef).reduce((xe,
|
|
1383
|
-
const dt = oe(
|
|
1384
|
-
return dt !== void 0 && (xe[
|
|
1381
|
+
return !A || He(A) || tt(A) || Array.isArray(A) ? {} : Object.keys(A).reduce((X, se) => {
|
|
1382
|
+
const pe = jl(A[se]).map((xe) => xe.__locatorRef).reduce((xe, Re) => {
|
|
1383
|
+
const dt = oe(L.values, Re) || L.values[Re];
|
|
1384
|
+
return dt !== void 0 && (xe[Re] = dt), xe;
|
|
1385
1385
|
}, {});
|
|
1386
1386
|
return Object.assign(X, pe), X;
|
|
1387
1387
|
}, {});
|
|
@@ -1390,7 +1390,7 @@ function un(e, t, i) {
|
|
|
1390
1390
|
if (!Object.keys(A).length)
|
|
1391
1391
|
return;
|
|
1392
1392
|
!Me(A, X) && (w.validated ? ce() : ge());
|
|
1393
|
-
}),
|
|
1393
|
+
}), V;
|
|
1394
1394
|
}
|
|
1395
1395
|
function Pl(e, t) {
|
|
1396
1396
|
const i = () => ({
|
|
@@ -1426,8 +1426,8 @@ function Bl(e, t, i) {
|
|
|
1426
1426
|
I && o.validate();
|
|
1427
1427
|
return;
|
|
1428
1428
|
}
|
|
1429
|
-
let
|
|
1430
|
-
n || (
|
|
1429
|
+
let v = ci(N);
|
|
1430
|
+
n || (v = Pt(u(o.value), u(l), u(a))), r(v, I);
|
|
1431
1431
|
}
|
|
1432
1432
|
return Object.assign(Object.assign({}, o), {
|
|
1433
1433
|
checked: c,
|
|
@@ -1527,7 +1527,7 @@ J({
|
|
|
1527
1527
|
}
|
|
1528
1528
|
},
|
|
1529
1529
|
setup(e, t) {
|
|
1530
|
-
const i = Le(e, "rules"), n = Le(e, "name"), l = Le(e, "label"), a = Le(e, "uncheckedValue"), s = Le(e, "keepValue"), { errors: o, value: r, errorMessage: c, validate: M, handleChange: N, handleBlur: I, setTouched: d, resetField:
|
|
1530
|
+
const i = Le(e, "rules"), n = Le(e, "name"), l = Le(e, "label"), a = Le(e, "uncheckedValue"), s = Le(e, "keepValue"), { errors: o, value: r, errorMessage: c, validate: M, handleChange: N, handleBlur: I, setTouched: d, resetField: v, handleReset: Z, meta: p, checked: L, setErrors: z } = on(n, i, {
|
|
1531
1531
|
validateOnMount: e.validateOnMount,
|
|
1532
1532
|
bails: e.bails,
|
|
1533
1533
|
standalone: e.standalone,
|
|
@@ -1538,20 +1538,20 @@ J({
|
|
|
1538
1538
|
label: l,
|
|
1539
1539
|
validateOnValueUpdate: !1,
|
|
1540
1540
|
keepValueOnUnmount: s
|
|
1541
|
-
}),
|
|
1541
|
+
}), f = function(te, $ = !0) {
|
|
1542
1542
|
N(te, $), t.emit("update:modelValue", r.value);
|
|
1543
|
-
},
|
|
1544
|
-
$e(t.attrs.type) || (r.value = ci(
|
|
1543
|
+
}, D = (W) => {
|
|
1544
|
+
$e(t.attrs.type) || (r.value = ci(W));
|
|
1545
1545
|
}, G = function(te) {
|
|
1546
|
-
|
|
1546
|
+
D(te), t.emit("update:modelValue", r.value);
|
|
1547
1547
|
}, w = x(() => {
|
|
1548
|
-
const { validateOnInput:
|
|
1548
|
+
const { validateOnInput: W, validateOnChange: te, validateOnBlur: $, validateOnModelUpdate: le } = Yl(e), ue = [I, t.attrs.onBlur, $ ? M : void 0].filter(Boolean), ce = [(de) => f(de, W), t.attrs.onInput].filter(Boolean), ge = [(de) => f(de, te), t.attrs.onChange].filter(Boolean), ye = {
|
|
1549
1549
|
name: e.name,
|
|
1550
1550
|
onBlur: ue,
|
|
1551
1551
|
onInput: ce,
|
|
1552
1552
|
onChange: ge
|
|
1553
1553
|
};
|
|
1554
|
-
ye["onUpdate:modelValue"] = (de) =>
|
|
1554
|
+
ye["onUpdate:modelValue"] = (de) => f(de, le), $e(t.attrs.type) && L && (ye.checked = L.value);
|
|
1555
1555
|
const ae = Zi(e, t);
|
|
1556
1556
|
return rl(ae, t.attrs) && (ye.value = r.value), ye;
|
|
1557
1557
|
});
|
|
@@ -1559,12 +1559,12 @@ J({
|
|
|
1559
1559
|
return {
|
|
1560
1560
|
field: w.value,
|
|
1561
1561
|
value: r.value,
|
|
1562
|
-
meta:
|
|
1562
|
+
meta: p,
|
|
1563
1563
|
errors: o.value,
|
|
1564
1564
|
errorMessage: c.value,
|
|
1565
1565
|
validate: M,
|
|
1566
|
-
resetField:
|
|
1567
|
-
handleChange:
|
|
1566
|
+
resetField: v,
|
|
1567
|
+
handleChange: f,
|
|
1568
1568
|
handleInput: G,
|
|
1569
1569
|
handleReset: Z,
|
|
1570
1570
|
handleBlur: I,
|
|
@@ -1575,12 +1575,12 @@ J({
|
|
|
1575
1575
|
return t.expose({
|
|
1576
1576
|
setErrors: z,
|
|
1577
1577
|
setTouched: d,
|
|
1578
|
-
reset:
|
|
1578
|
+
reset: v,
|
|
1579
1579
|
validate: M,
|
|
1580
1580
|
handleChange: N
|
|
1581
1581
|
}), () => {
|
|
1582
|
-
const
|
|
1583
|
-
return
|
|
1582
|
+
const W = ni(Zi(e, t)), te = St(W, t, Y);
|
|
1583
|
+
return W ? gt(W, Object.assign(Object.assign({}, t.attrs), w.value), te) : te;
|
|
1584
1584
|
};
|
|
1585
1585
|
}
|
|
1586
1586
|
});
|
|
@@ -1610,21 +1610,21 @@ function Ul(e) {
|
|
|
1610
1610
|
const E = M.value[j];
|
|
1611
1611
|
return E && E.length && (m[j] = E[0]), m;
|
|
1612
1612
|
}, {}));
|
|
1613
|
-
function
|
|
1613
|
+
function v(m) {
|
|
1614
1614
|
const j = a.value[m];
|
|
1615
1615
|
return Array.isArray(j) ? j[0] : j;
|
|
1616
1616
|
}
|
|
1617
1617
|
function Z(m) {
|
|
1618
1618
|
return !!a.value[m];
|
|
1619
1619
|
}
|
|
1620
|
-
const
|
|
1621
|
-
const E =
|
|
1620
|
+
const p = x(() => Ie(a.value).reduce((m, j) => {
|
|
1621
|
+
const E = v(j);
|
|
1622
1622
|
return E && (m[j] = u(E.label || E.name) || ""), m;
|
|
1623
|
-
}, {})),
|
|
1623
|
+
}, {})), L = x(() => Ie(a.value).reduce((m, j) => {
|
|
1624
1624
|
var E;
|
|
1625
|
-
const Q =
|
|
1625
|
+
const Q = v(j);
|
|
1626
1626
|
return Q && (m[j] = (E = Q.bails) !== null && E !== void 0 ? E : !0), m;
|
|
1627
|
-
}, {})), z = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}),
|
|
1627
|
+
}, {})), z = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), f = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: D, originalInitialValues: G, setInitialValues: w } = $l(a, c, e == null ? void 0 : e.initialValues), Y = Hl(a, c, G, d), W = x(() => [...n, ...Ie(a.value)].reduce((m, j) => {
|
|
1628
1628
|
const E = oe(c, j);
|
|
1629
1629
|
return Te(m, j, E), m;
|
|
1630
1630
|
}, {})), te = e == null ? void 0 : e.validationSchema, $ = Si(ji, 5), le = Si(ji, 5), ue = kt(async (m) => await m === "silent" ? $() : le(), (m, [j]) => {
|
|
@@ -1637,11 +1637,11 @@ function Ul(e) {
|
|
|
1637
1637
|
valid: !we.length
|
|
1638
1638
|
};
|
|
1639
1639
|
if (ne.results[K] = Se, Se.valid || (ne.errors[K] = Se.errors[0]), !fe)
|
|
1640
|
-
return
|
|
1641
|
-
if (T(fe, (
|
|
1640
|
+
return S(K, we), ne;
|
|
1641
|
+
if (T(fe, (Je) => Je.meta.valid = Se.valid), j === "silent")
|
|
1642
1642
|
return ne;
|
|
1643
|
-
const vn = Array.isArray(fe) ? fe.some((
|
|
1644
|
-
return j === "validated-only" && !vn || T(fe, (
|
|
1643
|
+
const vn = Array.isArray(fe) ? fe.some((Je) => Je.meta.validated) : fe.meta.validated;
|
|
1644
|
+
return j === "validated-only" && !vn || T(fe, (Je) => Je.setState({ errors: Se.errors })), ne;
|
|
1645
1645
|
}, { valid: m.valid, results: {}, errors: {} });
|
|
1646
1646
|
});
|
|
1647
1647
|
function ce(m) {
|
|
@@ -1650,16 +1650,16 @@ function Ul(e) {
|
|
|
1650
1650
|
return ne instanceof Event && (ne.preventDefault(), ne.stopPropagation()), X(Ie(a.value).reduce((K, fe) => (K[fe] = !0, K), {})), s.value = !0, o.value++, It().then((K) => {
|
|
1651
1651
|
const fe = ie(c);
|
|
1652
1652
|
if (K.valid && typeof E == "function") {
|
|
1653
|
-
const we = ie(
|
|
1653
|
+
const we = ie(W.value);
|
|
1654
1654
|
return E(m ? we : fe, {
|
|
1655
1655
|
evt: ne,
|
|
1656
1656
|
controlledValues: we,
|
|
1657
1657
|
setErrors: P,
|
|
1658
|
-
setFieldError:
|
|
1658
|
+
setFieldError: S,
|
|
1659
1659
|
setTouched: X,
|
|
1660
1660
|
setFieldTouched: A,
|
|
1661
|
-
setValues:
|
|
1662
|
-
setFieldValue:
|
|
1661
|
+
setValues: k,
|
|
1662
|
+
setFieldValue: U,
|
|
1663
1663
|
resetForm: se
|
|
1664
1664
|
});
|
|
1665
1665
|
}
|
|
@@ -1681,7 +1681,7 @@ function Ul(e) {
|
|
|
1681
1681
|
formId: i,
|
|
1682
1682
|
fieldsByPath: a,
|
|
1683
1683
|
values: c,
|
|
1684
|
-
controlledValues:
|
|
1684
|
+
controlledValues: W,
|
|
1685
1685
|
errorBag: M,
|
|
1686
1686
|
errors: d,
|
|
1687
1687
|
schema: te,
|
|
@@ -1689,17 +1689,17 @@ function Ul(e) {
|
|
|
1689
1689
|
meta: Y,
|
|
1690
1690
|
isSubmitting: s,
|
|
1691
1691
|
fieldArrays: r,
|
|
1692
|
-
keepValuesOnUnmount:
|
|
1692
|
+
keepValuesOnUnmount: f,
|
|
1693
1693
|
validateSchema: u(te) ? ue : void 0,
|
|
1694
1694
|
validate: It,
|
|
1695
|
-
register:
|
|
1695
|
+
register: Re,
|
|
1696
1696
|
unregister: dt,
|
|
1697
1697
|
setFieldErrorBag: I,
|
|
1698
1698
|
validateField: xt,
|
|
1699
|
-
setFieldValue:
|
|
1700
|
-
setValues:
|
|
1699
|
+
setFieldValue: U,
|
|
1700
|
+
setValues: k,
|
|
1701
1701
|
setErrors: P,
|
|
1702
|
-
setFieldError:
|
|
1702
|
+
setFieldError: S,
|
|
1703
1703
|
setFieldTouched: A,
|
|
1704
1704
|
setTouched: X,
|
|
1705
1705
|
resetForm: se,
|
|
@@ -1715,40 +1715,40 @@ function Ul(e) {
|
|
|
1715
1715
|
function T(m, j) {
|
|
1716
1716
|
return Array.isArray(m) ? m.forEach(j) : j(m);
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function h(m) {
|
|
1719
1719
|
Object.values(a.value).forEach((j) => {
|
|
1720
1720
|
!j || T(j, m);
|
|
1721
1721
|
});
|
|
1722
1722
|
}
|
|
1723
|
-
function
|
|
1723
|
+
function S(m, j) {
|
|
1724
1724
|
I(m, j);
|
|
1725
1725
|
}
|
|
1726
1726
|
function P(m) {
|
|
1727
1727
|
N(m);
|
|
1728
1728
|
}
|
|
1729
|
-
function
|
|
1729
|
+
function U(m, j, { force: E } = { force: !1 }) {
|
|
1730
1730
|
var Q;
|
|
1731
|
-
const
|
|
1732
|
-
if (!
|
|
1731
|
+
const H = a.value[m], ne = ie(j);
|
|
1732
|
+
if (!H) {
|
|
1733
1733
|
Te(c, m, ne);
|
|
1734
1734
|
return;
|
|
1735
1735
|
}
|
|
1736
|
-
if (de(
|
|
1736
|
+
if (de(H) && ((Q = H[0]) === null || Q === void 0 ? void 0 : Q.type) === "checkbox" && !Array.isArray(j)) {
|
|
1737
1737
|
const fe = ie(Pt(oe(c, m) || [], j, void 0));
|
|
1738
1738
|
Te(c, m, fe);
|
|
1739
1739
|
return;
|
|
1740
1740
|
}
|
|
1741
1741
|
let K = j;
|
|
1742
|
-
!de(
|
|
1742
|
+
!de(H) && H.type === "checkbox" && !E && !l && (K = ie(Pt(oe(c, m), j, u(H.uncheckedValue)))), Te(c, m, K);
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function k(m) {
|
|
1745
1745
|
Ie(c).forEach((j) => {
|
|
1746
1746
|
delete c[j];
|
|
1747
1747
|
}), Ie(m).forEach((j) => {
|
|
1748
|
-
|
|
1748
|
+
U(j, m[j]);
|
|
1749
1749
|
}), r.forEach((j) => j && j.reset());
|
|
1750
1750
|
}
|
|
1751
|
-
function
|
|
1751
|
+
function V(m) {
|
|
1752
1752
|
const { value: j } = nn(m, void 0, ae);
|
|
1753
1753
|
return me(j, () => {
|
|
1754
1754
|
Z(u(m)) || It({ mode: "validated-only" });
|
|
@@ -1757,7 +1757,7 @@ function Ul(e) {
|
|
|
1757
1757
|
}), n.add(u(m)), j;
|
|
1758
1758
|
}
|
|
1759
1759
|
function ve(m) {
|
|
1760
|
-
return Array.isArray(m) ? m.map(
|
|
1760
|
+
return Array.isArray(m) ? m.map(V) : V(m);
|
|
1761
1761
|
}
|
|
1762
1762
|
function A(m, j) {
|
|
1763
1763
|
const E = a.value[m];
|
|
@@ -1769,7 +1769,7 @@ function Ul(e) {
|
|
|
1769
1769
|
});
|
|
1770
1770
|
}
|
|
1771
1771
|
function se(m) {
|
|
1772
|
-
l = !0,
|
|
1772
|
+
l = !0, h((j) => j.resetField()), m != null && m.values ? (w(m.values), k(m == null ? void 0 : m.values)) : (w(G.value), k(G.value)), m != null && m.touched && X(m.touched), P((m == null ? void 0 : m.errors) || {}), o.value = (m == null ? void 0 : m.submitCount) || 0, Ee(() => {
|
|
1773
1773
|
l = !1;
|
|
1774
1774
|
});
|
|
1775
1775
|
}
|
|
@@ -1779,8 +1779,8 @@ function Ul(e) {
|
|
|
1779
1779
|
a.value[Q] = E;
|
|
1780
1780
|
return;
|
|
1781
1781
|
}
|
|
1782
|
-
const
|
|
1783
|
-
|
|
1782
|
+
const H = a.value[Q];
|
|
1783
|
+
H && !Array.isArray(H) && (a.value[Q] = [H]), a.value[Q] = [...a.value[Q], E];
|
|
1784
1784
|
}
|
|
1785
1785
|
function xe(m, j) {
|
|
1786
1786
|
const E = j, Q = a.value[E];
|
|
@@ -1790,17 +1790,17 @@ function Ul(e) {
|
|
|
1790
1790
|
return;
|
|
1791
1791
|
}
|
|
1792
1792
|
if (de(Q)) {
|
|
1793
|
-
const
|
|
1794
|
-
if (
|
|
1793
|
+
const H = Q.findIndex((ne) => ne.id === m.id);
|
|
1794
|
+
if (H === -1)
|
|
1795
1795
|
return;
|
|
1796
|
-
Q.splice(
|
|
1796
|
+
Q.splice(H, 1), Q.length || delete a.value[E];
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function Re(m) {
|
|
1801
1801
|
const j = u(m.name);
|
|
1802
|
-
pe(m, j), Ue(m.name) && me(m.name, async (Q,
|
|
1803
|
-
await Ee(), xe(m,
|
|
1802
|
+
pe(m, j), Ue(m.name) && me(m.name, async (Q, H) => {
|
|
1803
|
+
await Ee(), xe(m, H), pe(m, Q), (d.value[H] || d.value[Q]) && (S(H, void 0), xt(Q)), await Ee(), Z(H) || Mt(c, H);
|
|
1804
1804
|
});
|
|
1805
1805
|
const E = u(m.errorMessage);
|
|
1806
1806
|
E && (z == null ? void 0 : z[j]) !== E && xt(j), delete z[j];
|
|
@@ -1808,42 +1808,42 @@ function Ul(e) {
|
|
|
1808
1808
|
function dt(m) {
|
|
1809
1809
|
const j = u(m.name), E = a.value[j], Q = !!E && de(E);
|
|
1810
1810
|
xe(m, j), Ee(() => {
|
|
1811
|
-
var
|
|
1812
|
-
const ne = (
|
|
1811
|
+
var H;
|
|
1812
|
+
const ne = (H = u(m.keepValueOnUnmount)) !== null && H !== void 0 ? H : u(f), K = oe(c, j);
|
|
1813
1813
|
if (Q && (E === a.value[j] || !a.value[j]) && !ne)
|
|
1814
1814
|
if (Array.isArray(K)) {
|
|
1815
1815
|
const we = K.findIndex((Se) => Me(Se, u(m.checkedValue)));
|
|
1816
1816
|
if (we > -1) {
|
|
1817
1817
|
const Se = [...K];
|
|
1818
|
-
Se.splice(we, 1),
|
|
1818
|
+
Se.splice(we, 1), U(j, Se, { force: !0 });
|
|
1819
1819
|
}
|
|
1820
1820
|
} else
|
|
1821
1821
|
K === u(m.checkedValue) && Mt(c, j);
|
|
1822
1822
|
if (!Z(j)) {
|
|
1823
|
-
if (
|
|
1823
|
+
if (S(j, void 0), ne || Q && Array.isArray(K) && !Ri(K))
|
|
1824
1824
|
return;
|
|
1825
1825
|
Mt(c, j);
|
|
1826
1826
|
}
|
|
1827
1827
|
});
|
|
1828
1828
|
}
|
|
1829
1829
|
async function It(m) {
|
|
1830
|
-
if (
|
|
1830
|
+
if (h((H) => H.meta.validated = !0), ae.validateSchema)
|
|
1831
1831
|
return ae.validateSchema((m == null ? void 0 : m.mode) || "force");
|
|
1832
|
-
const j = await Promise.all(Object.values(a.value).map((
|
|
1833
|
-
const ne = Array.isArray(
|
|
1832
|
+
const j = await Promise.all(Object.values(a.value).map((H) => {
|
|
1833
|
+
const ne = Array.isArray(H) ? H[0] : H;
|
|
1834
1834
|
return ne ? ne.validate(m).then((K) => ({
|
|
1835
1835
|
key: u(ne.name),
|
|
1836
1836
|
valid: K.valid,
|
|
1837
1837
|
errors: K.errors
|
|
1838
1838
|
})) : Promise.resolve({ key: "", valid: !0, errors: [] });
|
|
1839
1839
|
})), E = {}, Q = {};
|
|
1840
|
-
for (const
|
|
1841
|
-
E[
|
|
1842
|
-
valid:
|
|
1843
|
-
errors:
|
|
1844
|
-
},
|
|
1840
|
+
for (const H of j)
|
|
1841
|
+
E[H.key] = {
|
|
1842
|
+
valid: H.valid,
|
|
1843
|
+
errors: H.errors
|
|
1844
|
+
}, H.errors.length && (Q[H.key] = H.errors[0]);
|
|
1845
1845
|
return {
|
|
1846
|
-
valid: j.every((
|
|
1846
|
+
valid: j.every((H) => H.valid),
|
|
1847
1847
|
results: E,
|
|
1848
1848
|
errors: Q
|
|
1849
1849
|
};
|
|
@@ -1853,25 +1853,25 @@ function Ul(e) {
|
|
|
1853
1853
|
return j ? Array.isArray(j) ? j.map((E) => E.validate())[0] : j.validate() : (Oi(`field with name ${m} was not found`), Promise.resolve({ errors: [], valid: !0 }));
|
|
1854
1854
|
}
|
|
1855
1855
|
function Nn(m) {
|
|
1856
|
-
Mt(
|
|
1856
|
+
Mt(D.value, m);
|
|
1857
1857
|
}
|
|
1858
1858
|
function jn(m, j, E = !1) {
|
|
1859
1859
|
Te(c, m, j), Ni(m, j), E && !(e != null && e.initialValues) && Te(G.value, m, ie(j));
|
|
1860
1860
|
}
|
|
1861
1861
|
function Ni(m, j) {
|
|
1862
|
-
Te(
|
|
1862
|
+
Te(D.value, m, ie(j));
|
|
1863
1863
|
}
|
|
1864
1864
|
async function ji() {
|
|
1865
1865
|
const m = u(te);
|
|
1866
|
-
return m ?
|
|
1867
|
-
names:
|
|
1868
|
-
bailsMap:
|
|
1866
|
+
return m ? tt(m) ? await Sl(m, c) : await Al(m, c, {
|
|
1867
|
+
names: p.value,
|
|
1868
|
+
bailsMap: L.value
|
|
1869
1869
|
}) : { valid: !0, results: {}, errors: {} };
|
|
1870
1870
|
}
|
|
1871
1871
|
const yn = ye((m, { evt: j }) => {
|
|
1872
1872
|
qi(j) && j.target.submit();
|
|
1873
1873
|
});
|
|
1874
|
-
return
|
|
1874
|
+
return Fe(() => {
|
|
1875
1875
|
if (e != null && e.initialErrors && P(e.initialErrors), e != null && e.initialTouched && X(e.initialTouched), e != null && e.validateOnMount) {
|
|
1876
1876
|
It();
|
|
1877
1877
|
return;
|
|
@@ -1990,7 +1990,7 @@ J({
|
|
|
1990
1990
|
}
|
|
1991
1991
|
},
|
|
1992
1992
|
setup(e, t) {
|
|
1993
|
-
const i = Le(e, "initialValues"), n = Le(e, "validationSchema"), l = Le(e, "keepValues"), { errors: a, values: s, meta: o, isSubmitting: r, submitCount: c, controlledValues: M, validate: N, validateField: I, handleReset: d, resetForm:
|
|
1993
|
+
const i = Le(e, "initialValues"), n = Le(e, "validationSchema"), l = Le(e, "keepValues"), { errors: a, values: s, meta: o, isSubmitting: r, submitCount: c, controlledValues: M, validate: N, validateField: I, handleReset: d, resetForm: v, handleSubmit: Z, setErrors: p, setFieldError: L, setFieldValue: z, setValues: f, setFieldTouched: D, setTouched: G } = Ul({
|
|
1994
1994
|
validationSchema: n.value ? n : void 0,
|
|
1995
1995
|
initialValues: i,
|
|
1996
1996
|
initialErrors: e.initialErrors,
|
|
@@ -2000,7 +2000,7 @@ J({
|
|
|
2000
2000
|
}), w = Z((le, { evt: ue }) => {
|
|
2001
2001
|
qi(ue) && ue.target.submit();
|
|
2002
2002
|
}, e.onInvalidSubmit), Y = e.onSubmit ? Z(e.onSubmit, e.onInvalidSubmit) : w;
|
|
2003
|
-
function
|
|
2003
|
+
function W(le) {
|
|
2004
2004
|
oi(le) && le.preventDefault(), d(), typeof t.attrs.onReset == "function" && t.attrs.onReset();
|
|
2005
2005
|
}
|
|
2006
2006
|
function te(le, ue) {
|
|
@@ -2019,23 +2019,23 @@ J({
|
|
|
2019
2019
|
handleSubmit: te,
|
|
2020
2020
|
handleReset: d,
|
|
2021
2021
|
submitForm: w,
|
|
2022
|
-
setErrors:
|
|
2023
|
-
setFieldError:
|
|
2022
|
+
setErrors: p,
|
|
2023
|
+
setFieldError: L,
|
|
2024
2024
|
setFieldValue: z,
|
|
2025
|
-
setValues:
|
|
2026
|
-
setFieldTouched:
|
|
2025
|
+
setValues: f,
|
|
2026
|
+
setFieldTouched: D,
|
|
2027
2027
|
setTouched: G,
|
|
2028
|
-
resetForm:
|
|
2028
|
+
resetForm: v
|
|
2029
2029
|
};
|
|
2030
2030
|
}
|
|
2031
2031
|
return t.expose({
|
|
2032
|
-
setFieldError:
|
|
2033
|
-
setErrors:
|
|
2032
|
+
setFieldError: L,
|
|
2033
|
+
setErrors: p,
|
|
2034
2034
|
setFieldValue: z,
|
|
2035
|
-
setValues:
|
|
2036
|
-
setFieldTouched:
|
|
2035
|
+
setValues: f,
|
|
2036
|
+
setFieldTouched: D,
|
|
2037
2037
|
setTouched: G,
|
|
2038
|
-
resetForm:
|
|
2038
|
+
resetForm: v,
|
|
2039
2039
|
validate: N,
|
|
2040
2040
|
validateField: I
|
|
2041
2041
|
}), function() {
|
|
@@ -2045,7 +2045,7 @@ J({
|
|
|
2045
2045
|
const ge = e.as === "form" ? {
|
|
2046
2046
|
novalidate: !0
|
|
2047
2047
|
} : {};
|
|
2048
|
-
return gt(ue, Object.assign(Object.assign(Object.assign({}, ge), t.attrs), { onSubmit: Y, onReset:
|
|
2048
|
+
return gt(ue, Object.assign(Object.assign(Object.assign({}, ge), t.attrs), { onSubmit: Y, onReset: W }), ce);
|
|
2049
2049
|
};
|
|
2050
2050
|
}
|
|
2051
2051
|
});
|
|
@@ -2066,33 +2066,33 @@ function Xl(e) {
|
|
|
2066
2066
|
return Tt("FieldArray requires being a child of `<Form/>` or `useForm` being called before it. Array fields may not work correctly"), l;
|
|
2067
2067
|
if (!u(e))
|
|
2068
2068
|
return Tt("FieldArray requires a field path to be provided, did you forget to pass the `name` prop?"), l;
|
|
2069
|
-
const a = t.fieldArrays.find((
|
|
2069
|
+
const a = t.fieldArrays.find((f) => u(f.path) === u(e));
|
|
2070
2070
|
if (a)
|
|
2071
2071
|
return a;
|
|
2072
2072
|
let s = 0;
|
|
2073
2073
|
function o() {
|
|
2074
|
-
const
|
|
2075
|
-
i.value =
|
|
2074
|
+
const f = oe(t == null ? void 0 : t.values, u(e), []) || [];
|
|
2075
|
+
i.value = f.map(c), r();
|
|
2076
2076
|
}
|
|
2077
2077
|
o();
|
|
2078
2078
|
function r() {
|
|
2079
|
-
const
|
|
2080
|
-
for (let
|
|
2081
|
-
const G = i.value[
|
|
2082
|
-
G.isFirst =
|
|
2079
|
+
const f = i.value.length;
|
|
2080
|
+
for (let D = 0; D < f; D++) {
|
|
2081
|
+
const G = i.value[D];
|
|
2082
|
+
G.isFirst = D === 0, G.isLast = D === f - 1;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
function c(
|
|
2086
|
-
const
|
|
2085
|
+
function c(f) {
|
|
2086
|
+
const D = s++;
|
|
2087
2087
|
return {
|
|
2088
|
-
key:
|
|
2088
|
+
key: D,
|
|
2089
2089
|
value: Ml({
|
|
2090
2090
|
get() {
|
|
2091
|
-
const w = oe(t == null ? void 0 : t.values, u(e), []) || [], Y = i.value.findIndex((
|
|
2092
|
-
return Y === -1 ?
|
|
2091
|
+
const w = oe(t == null ? void 0 : t.values, u(e), []) || [], Y = i.value.findIndex((W) => W.key === D);
|
|
2092
|
+
return Y === -1 ? f : w[Y];
|
|
2093
2093
|
},
|
|
2094
2094
|
set(w) {
|
|
2095
|
-
const Y = i.value.findIndex((
|
|
2095
|
+
const Y = i.value.findIndex((W) => W.key === D);
|
|
2096
2096
|
if (Y === -1) {
|
|
2097
2097
|
Tt("Attempting to update a non-existent array item");
|
|
2098
2098
|
return;
|
|
@@ -2104,59 +2104,59 @@ function Xl(e) {
|
|
|
2104
2104
|
isLast: !1
|
|
2105
2105
|
};
|
|
2106
2106
|
}
|
|
2107
|
-
function M(
|
|
2108
|
-
const
|
|
2107
|
+
function M(f) {
|
|
2108
|
+
const D = u(e), G = oe(t == null ? void 0 : t.values, D);
|
|
2109
2109
|
if (!G || !Array.isArray(G))
|
|
2110
2110
|
return;
|
|
2111
2111
|
const w = [...G];
|
|
2112
|
-
w.splice(
|
|
2112
|
+
w.splice(f, 1), t == null || t.unsetInitialValue(D + `[${f}]`), t == null || t.setFieldValue(D, w), i.value.splice(f, 1), r();
|
|
2113
2113
|
}
|
|
2114
|
-
function N(
|
|
2115
|
-
const
|
|
2114
|
+
function N(f) {
|
|
2115
|
+
const D = u(e), G = oe(t == null ? void 0 : t.values, D), w = et(G) ? [] : G;
|
|
2116
2116
|
if (!Array.isArray(w))
|
|
2117
2117
|
return;
|
|
2118
2118
|
const Y = [...w];
|
|
2119
|
-
Y.push(
|
|
2119
|
+
Y.push(f), t == null || t.stageInitialValue(D + `[${Y.length - 1}]`, f), t == null || t.setFieldValue(D, Y), i.value.push(c(f)), r();
|
|
2120
2120
|
}
|
|
2121
|
-
function I(
|
|
2121
|
+
function I(f, D) {
|
|
2122
2122
|
const G = u(e), w = oe(t == null ? void 0 : t.values, G);
|
|
2123
|
-
if (!Array.isArray(w) || !(
|
|
2123
|
+
if (!Array.isArray(w) || !(f in w) || !(D in w))
|
|
2124
2124
|
return;
|
|
2125
|
-
const Y = [...w],
|
|
2126
|
-
Y[
|
|
2127
|
-
const $ =
|
|
2128
|
-
|
|
2125
|
+
const Y = [...w], W = [...i.value], te = Y[f];
|
|
2126
|
+
Y[f] = Y[D], Y[D] = te;
|
|
2127
|
+
const $ = W[f];
|
|
2128
|
+
W[f] = W[D], W[D] = $, t == null || t.setFieldValue(G, Y), i.value = W, r();
|
|
2129
2129
|
}
|
|
2130
|
-
function d(
|
|
2130
|
+
function d(f, D) {
|
|
2131
2131
|
const G = u(e), w = oe(t == null ? void 0 : t.values, G);
|
|
2132
|
-
if (!Array.isArray(w) || w.length <
|
|
2132
|
+
if (!Array.isArray(w) || w.length < f)
|
|
2133
2133
|
return;
|
|
2134
|
-
const Y = [...w],
|
|
2135
|
-
Y.splice(
|
|
2134
|
+
const Y = [...w], W = [...i.value];
|
|
2135
|
+
Y.splice(f, 0, D), W.splice(f, 0, c(D)), t == null || t.setFieldValue(G, Y), i.value = W, r();
|
|
2136
2136
|
}
|
|
2137
|
-
function
|
|
2138
|
-
const
|
|
2139
|
-
t == null || t.setFieldValue(
|
|
2137
|
+
function v(f) {
|
|
2138
|
+
const D = u(e);
|
|
2139
|
+
t == null || t.setFieldValue(D, f), o();
|
|
2140
2140
|
}
|
|
2141
|
-
function Z(
|
|
2141
|
+
function Z(f, D) {
|
|
2142
2142
|
const G = u(e), w = oe(t == null ? void 0 : t.values, G);
|
|
2143
|
-
!Array.isArray(w) || w.length - 1 <
|
|
2143
|
+
!Array.isArray(w) || w.length - 1 < f || (t == null || t.setFieldValue(`${G}[${f}]`, D), t == null || t.validate({ mode: "validated-only" }));
|
|
2144
2144
|
}
|
|
2145
|
-
function
|
|
2146
|
-
const
|
|
2145
|
+
function p(f) {
|
|
2146
|
+
const D = u(e), G = oe(t == null ? void 0 : t.values, D), w = et(G) ? [] : G;
|
|
2147
2147
|
if (!Array.isArray(w))
|
|
2148
2148
|
return;
|
|
2149
|
-
const Y = [
|
|
2150
|
-
t == null || t.stageInitialValue(
|
|
2149
|
+
const Y = [f, ...w];
|
|
2150
|
+
t == null || t.stageInitialValue(D + `[${Y.length - 1}]`, f), t == null || t.setFieldValue(D, Y), i.value.unshift(c(f)), r();
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2153
|
-
const G = u(e), w = oe(t == null ? void 0 : t.values, G), Y =
|
|
2154
|
-
if (!Array.isArray(w) || !(
|
|
2152
|
+
function L(f, D) {
|
|
2153
|
+
const G = u(e), w = oe(t == null ? void 0 : t.values, G), Y = et(w) ? [] : [...w];
|
|
2154
|
+
if (!Array.isArray(w) || !(f in w) || !(D in w))
|
|
2155
2155
|
return;
|
|
2156
|
-
const
|
|
2157
|
-
|
|
2158
|
-
const $ = Y[
|
|
2159
|
-
Y.splice(
|
|
2156
|
+
const W = [...i.value], te = W[f];
|
|
2157
|
+
W.splice(f, 1), W.splice(D, 0, te);
|
|
2158
|
+
const $ = Y[f];
|
|
2159
|
+
Y.splice(f, 1), Y.splice(D, 0, $), t == null || t.setFieldValue(G, Y), i.value = W, r();
|
|
2160
2160
|
}
|
|
2161
2161
|
const z = {
|
|
2162
2162
|
fields: i,
|
|
@@ -2165,13 +2165,13 @@ function Xl(e) {
|
|
|
2165
2165
|
swap: I,
|
|
2166
2166
|
insert: d,
|
|
2167
2167
|
update: Z,
|
|
2168
|
-
replace:
|
|
2169
|
-
prepend:
|
|
2170
|
-
move:
|
|
2168
|
+
replace: v,
|
|
2169
|
+
prepend: p,
|
|
2170
|
+
move: L
|
|
2171
2171
|
};
|
|
2172
2172
|
return t.fieldArrays.push(Object.assign({ path: e, reset: o }, z)), ki(() => {
|
|
2173
|
-
const
|
|
2174
|
-
|
|
2173
|
+
const f = t.fieldArrays.findIndex((D) => u(D.path) === u(e));
|
|
2174
|
+
f >= 0 && t.fieldArrays.splice(f, 1);
|
|
2175
2175
|
}), z;
|
|
2176
2176
|
}
|
|
2177
2177
|
J({
|
|
@@ -2258,7 +2258,7 @@ const Rl = {
|
|
|
2258
2258
|
viewBox: "0 0 24 24",
|
|
2259
2259
|
width: "1em",
|
|
2260
2260
|
height: "1em"
|
|
2261
|
-
}, Jl = /* @__PURE__ */
|
|
2261
|
+
}, Jl = /* @__PURE__ */ b("path", {
|
|
2262
2262
|
fill: "currentColor",
|
|
2263
2263
|
d: "m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4Z"
|
|
2264
2264
|
}, null, -1), ql = [
|
|
@@ -2320,21 +2320,21 @@ const rn = { name: "material-symbols-done", render: _l }, Kl = ["id", "data-test
|
|
|
2320
2320
|
return (I, d) => (g(), y("div", {
|
|
2321
2321
|
id: `input-text-${e.id}`,
|
|
2322
2322
|
"data-testid": `input-text-${e.id}`,
|
|
2323
|
-
class:
|
|
2323
|
+
class: B([[`${I.$props.class}`, { "-disabled": e.disabled }], "sol-input-text-core"])
|
|
2324
2324
|
}, [
|
|
2325
2325
|
e.label ? (g(), y("label", {
|
|
2326
2326
|
key: 0,
|
|
2327
2327
|
for: `input-text-input-${e.id}`,
|
|
2328
2328
|
"data-testid": `input-text-label-${e.id}`,
|
|
2329
|
-
class:
|
|
2329
|
+
class: B(["label", `-${e.size}`]),
|
|
2330
2330
|
"data-required": e.required
|
|
2331
|
-
},
|
|
2332
|
-
|
|
2331
|
+
}, O(e.label), 11, ea)) : F("", !0),
|
|
2332
|
+
b("div", ta, [
|
|
2333
2333
|
_(Qi, Be(I.$attrs, {
|
|
2334
2334
|
id: `text-input-${e.id}`,
|
|
2335
2335
|
modelValue: u(s),
|
|
2336
2336
|
"onUpdate:modelValue": [
|
|
2337
|
-
d[0] || (d[0] = (
|
|
2337
|
+
d[0] || (d[0] = (v) => Ue(s) ? s.value = v : null),
|
|
2338
2338
|
N
|
|
2339
2339
|
],
|
|
2340
2340
|
size: e.size,
|
|
@@ -2350,27 +2350,27 @@ const rn = { name: "material-symbols-done", render: _l }, Kl = ["id", "data-test
|
|
|
2350
2350
|
}), null, 16, ["id", "modelValue", "size", "name", "mask", "placeholder", "data-required", "has-feedback-icon", "error", "disabled", "aria-invalid", "aria-describedby"]),
|
|
2351
2351
|
e.isLoading ? (g(), ee(Wi, {
|
|
2352
2352
|
key: 0,
|
|
2353
|
-
class:
|
|
2353
|
+
class: B(["icon-position", `-${e.size}`]),
|
|
2354
2354
|
title: "carregando",
|
|
2355
2355
|
"aria-busy": e.isSuccess,
|
|
2356
2356
|
size: e.size
|
|
2357
2357
|
}, null, 8, ["aria-busy", "class", "size"])) : (g(), y("div", {
|
|
2358
2358
|
key: 1,
|
|
2359
|
-
class:
|
|
2359
|
+
class: B(["icon-position", `-${e.size}`])
|
|
2360
2360
|
}, [
|
|
2361
2361
|
e.isSuccess ? (g(), ee(u(rn), {
|
|
2362
2362
|
key: 0,
|
|
2363
2363
|
"aria-hidden": "true",
|
|
2364
2364
|
class: "text-feedback-positive-pure"
|
|
2365
|
-
})) :
|
|
2365
|
+
})) : C(I.$slots, "icon", { key: 1 })
|
|
2366
2366
|
], 2))
|
|
2367
2367
|
]),
|
|
2368
2368
|
u(r) ? (g(), y("span", {
|
|
2369
2369
|
key: 1,
|
|
2370
2370
|
id: `input-text-describe-${e.id}`,
|
|
2371
2371
|
"data-testid": `input-text-describe-${e.id}`,
|
|
2372
|
-
class:
|
|
2373
|
-
},
|
|
2372
|
+
class: B(["message", `-${u(M).type}`])
|
|
2373
|
+
}, O(u(M).text), 11, ia)) : F("", !0)
|
|
2374
2374
|
], 10, Kl));
|
|
2375
2375
|
}
|
|
2376
2376
|
});
|
|
@@ -2378,15 +2378,15 @@ const la = {
|
|
|
2378
2378
|
viewBox: "0 0 24 24",
|
|
2379
2379
|
width: "1em",
|
|
2380
2380
|
height: "1em"
|
|
2381
|
-
}, aa = /* @__PURE__ */
|
|
2381
|
+
}, aa = /* @__PURE__ */ b("g", {
|
|
2382
2382
|
fill: "none",
|
|
2383
2383
|
stroke: "currentColor",
|
|
2384
2384
|
"stroke-linecap": "round",
|
|
2385
2385
|
"stroke-linejoin": "round",
|
|
2386
2386
|
"stroke-width": "1.5"
|
|
2387
2387
|
}, [
|
|
2388
|
-
/* @__PURE__ */
|
|
2389
|
-
/* @__PURE__ */
|
|
2388
|
+
/* @__PURE__ */ b("path", { d: "M12 14a2 2 0 1 0 0-4a2 2 0 0 0 0 4Z" }),
|
|
2389
|
+
/* @__PURE__ */ b("path", { d: "M21 12c-1.889 2.991-5.282 6-9 6s-7.111-3.009-9-6c2.299-2.842 4.992-6 9-6s6.701 3.158 9 6Z" })
|
|
2390
2390
|
], -1), sa = [
|
|
2391
2391
|
aa
|
|
2392
2392
|
];
|
|
@@ -2397,15 +2397,15 @@ const ua = { name: "iconoir-eye-empty", render: oa }, ra = {
|
|
|
2397
2397
|
viewBox: "0 0 24 24",
|
|
2398
2398
|
width: "1em",
|
|
2399
2399
|
height: "1em"
|
|
2400
|
-
}, ca = /* @__PURE__ */
|
|
2400
|
+
}, ca = /* @__PURE__ */ b("g", {
|
|
2401
2401
|
fill: "none",
|
|
2402
2402
|
stroke: "currentColor",
|
|
2403
2403
|
"stroke-linecap": "round",
|
|
2404
2404
|
"stroke-linejoin": "round",
|
|
2405
2405
|
"stroke-width": "1.5"
|
|
2406
2406
|
}, [
|
|
2407
|
-
/* @__PURE__ */
|
|
2408
|
-
/* @__PURE__ */
|
|
2407
|
+
/* @__PURE__ */ b("path", { d: "m3 3l18 18M10.5 10.677a2 2 0 0 0 2.823 2.823" }),
|
|
2408
|
+
/* @__PURE__ */ b("path", { d: "M7.362 7.561C5.68 8.74 4.279 10.42 3 12c1.889 2.991 5.282 6 9 6c1.55 0 3.043-.523 4.395-1.35M12 6c4.008 0 6.701 3.158 9 6a15.66 15.66 0 0 1-1.078 1.5" })
|
|
2409
2409
|
], -1), da = [
|
|
2410
2410
|
ca
|
|
2411
2411
|
];
|
|
@@ -2451,7 +2451,7 @@ const Ma = { name: "iconoir-eye-off", render: Ia }, ma = ["aria-label"], Bt = /*
|
|
|
2451
2451
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t("update:modelValue", s))
|
|
2452
2452
|
}, {
|
|
2453
2453
|
icon: q(() => [
|
|
2454
|
-
|
|
2454
|
+
b("button", {
|
|
2455
2455
|
type: "button",
|
|
2456
2456
|
"data-testid": "toggle-type-password",
|
|
2457
2457
|
"aria-label": i.value ? "Hide password" : "Show password",
|
|
@@ -2522,7 +2522,7 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
|
|
|
2522
2522
|
return g(), y("div", {
|
|
2523
2523
|
id: `input-textarea-${e.id}`,
|
|
2524
2524
|
"data-testid": `input-textarea-${e.id}`,
|
|
2525
|
-
class:
|
|
2525
|
+
class: B([[`${(I = M.$props.class) != null ? I : ""}`, `-${e.size}`], "sol-textarea-core"])
|
|
2526
2526
|
}, [
|
|
2527
2527
|
e.label ? (g(), y("label", {
|
|
2528
2528
|
key: 0,
|
|
@@ -2532,10 +2532,10 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
|
|
|
2532
2532
|
class: "label",
|
|
2533
2533
|
"data-required": e.required
|
|
2534
2534
|
}, [
|
|
2535
|
-
|
|
2535
|
+
b("span", null, O(e.label), 1)
|
|
2536
2536
|
], 8, Na)) : F("", !0),
|
|
2537
|
-
re(" " +
|
|
2538
|
-
Ce(
|
|
2537
|
+
re(" " + O(u(l)) + " ", 1),
|
|
2538
|
+
Ce(b("textarea", Be(M.$attrs, {
|
|
2539
2539
|
id: `input-textarea-input-${e.id}`,
|
|
2540
2540
|
"onUpdate:modelValue": N[0] || (N[0] = (d) => Ue(l) ? l.value = d : null),
|
|
2541
2541
|
"data-testid": `input-textarea-input-${e.id}`,
|
|
@@ -2554,8 +2554,8 @@ const ga = ["id", "data-testid"], Na = ["id", "data-testid", "for", "data-requir
|
|
|
2554
2554
|
key: 1,
|
|
2555
2555
|
id: `input-textarea-describe-${e.id}`,
|
|
2556
2556
|
"data-testid": `input-textarea-describe-${e.id}`,
|
|
2557
|
-
class:
|
|
2558
|
-
},
|
|
2557
|
+
class: B(["message", `-${u(r).type}`])
|
|
2558
|
+
}, O(u(r).text), 11, ya)) : F("", !0)
|
|
2559
2559
|
], 10, ga);
|
|
2560
2560
|
};
|
|
2561
2561
|
}
|
|
@@ -2590,9 +2590,9 @@ const va = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "
|
|
|
2590
2590
|
t("change", (l = i.value) != null ? l : !!i.checked), t("update:checked", !i.checked);
|
|
2591
2591
|
}
|
|
2592
2592
|
return (l, a) => (g(), y("div", {
|
|
2593
|
-
class:
|
|
2593
|
+
class: B(["sol-switch-core", [l.$props.class, `-text-${e.textDirection}`, { "-stretch-label": e.stretchLabel }]])
|
|
2594
2594
|
}, [
|
|
2595
|
-
|
|
2595
|
+
b("input", Be(l.$attrs, {
|
|
2596
2596
|
id: `switch-${e.name}-${e.id}`,
|
|
2597
2597
|
type: "checkbox",
|
|
2598
2598
|
class: "switch",
|
|
@@ -2605,12 +2605,12 @@ const va = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "
|
|
|
2605
2605
|
name: e.name,
|
|
2606
2606
|
onChange: n
|
|
2607
2607
|
}), null, 16, va),
|
|
2608
|
-
|
|
2608
|
+
b("label", {
|
|
2609
2609
|
id: `switch-label-${e.name}-${e.id}`,
|
|
2610
|
-
class:
|
|
2610
|
+
class: B(["label", `-${e.textDirection} ${e.hideLabel ? "sr-only" : ""}`]),
|
|
2611
2611
|
for: `switch-${e.name}-${e.id}`,
|
|
2612
2612
|
"data-testid": `switch-label-${e.name}-${e.id}`
|
|
2613
|
-
},
|
|
2613
|
+
}, O(e.label), 11, fa)
|
|
2614
2614
|
], 2));
|
|
2615
2615
|
}
|
|
2616
2616
|
});
|
|
@@ -2619,7 +2619,7 @@ Yt.install = (e) => {
|
|
|
2619
2619
|
};
|
|
2620
2620
|
const ba = ["id", "data-testid", "checked", "value", "name"], ha = ["for"], Da = {
|
|
2621
2621
|
inheritAttrs: !1
|
|
2622
|
-
},
|
|
2622
|
+
}, lt = /* @__PURE__ */ J({
|
|
2623
2623
|
...Da,
|
|
2624
2624
|
__name: "Radio",
|
|
2625
2625
|
props: {
|
|
@@ -2634,9 +2634,9 @@ const ba = ["id", "data-testid", "checked", "value", "name"], ha = ["for"], Da =
|
|
|
2634
2634
|
emits: ["change"],
|
|
2635
2635
|
setup(e, { emit: t }) {
|
|
2636
2636
|
return (i, n) => (g(), y("div", {
|
|
2637
|
-
class:
|
|
2637
|
+
class: B(["sol-radio-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
|
|
2638
2638
|
}, [
|
|
2639
|
-
|
|
2639
|
+
b("input", Be(i.$attrs, {
|
|
2640
2640
|
id: `radio-${e.name}-${e.id}`,
|
|
2641
2641
|
type: "radio",
|
|
2642
2642
|
class: "radio",
|
|
@@ -2646,10 +2646,10 @@ const ba = ["id", "data-testid", "checked", "value", "name"], ha = ["for"], Da =
|
|
|
2646
2646
|
name: e.name,
|
|
2647
2647
|
onChange: n[0] || (n[0] = (l) => t("change", e.value))
|
|
2648
2648
|
}), null, 16, ba),
|
|
2649
|
-
|
|
2649
|
+
b("label", {
|
|
2650
2650
|
class: "label",
|
|
2651
2651
|
for: `radio-${e.name}-${e.id}`
|
|
2652
|
-
},
|
|
2652
|
+
}, O(e.label), 9, ha)
|
|
2653
2653
|
], 2));
|
|
2654
2654
|
}
|
|
2655
2655
|
});
|
|
@@ -2702,26 +2702,26 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
|
|
|
2702
2702
|
"aria-labelledby": `radio-group-title-${e.id}`,
|
|
2703
2703
|
class: "sol-radio-group-core"
|
|
2704
2704
|
}, [
|
|
2705
|
-
|
|
2705
|
+
C(N.$slots, "title", {
|
|
2706
2706
|
id: `radio-group-title-${e.id}`
|
|
2707
2707
|
}, () => [
|
|
2708
|
-
|
|
2708
|
+
b("legend", {
|
|
2709
2709
|
id: `radio-group-title-${e.id}`,
|
|
2710
|
-
class:
|
|
2710
|
+
class: B(["title", { "sr-only": e.hideTitle }]),
|
|
2711
2711
|
"data-testid": `radio-group-title-${e.id}`
|
|
2712
|
-
},
|
|
2712
|
+
}, O(e.title), 11, Aa)
|
|
2713
2713
|
]),
|
|
2714
|
-
|
|
2715
|
-
class:
|
|
2714
|
+
b("ul", {
|
|
2715
|
+
class: B(["container-radios", { "flex-col": e.direction === "column" }])
|
|
2716
2716
|
}, [
|
|
2717
|
-
|
|
2717
|
+
C(N.$slots, "default", {
|
|
2718
2718
|
radios: e.radios,
|
|
2719
2719
|
direction: e.direction
|
|
2720
2720
|
}, () => [
|
|
2721
|
-
(g(!0), y(Ae, null, he(e.radios, (d,
|
|
2721
|
+
(g(!0), y(Ae, null, he(e.radios, (d, v) => {
|
|
2722
2722
|
var Z;
|
|
2723
|
-
return g(), y("li", { key:
|
|
2724
|
-
_(
|
|
2723
|
+
return g(), y("li", { key: v }, [
|
|
2724
|
+
_(lt, Be(N.$attrs, {
|
|
2725
2725
|
id: (Z = d == null ? void 0 : d.id) != null ? Z : `${d.value}`,
|
|
2726
2726
|
class: ["radio", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
|
|
2727
2727
|
name: d.name,
|
|
@@ -2731,7 +2731,7 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
|
|
|
2731
2731
|
error: !!u(a),
|
|
2732
2732
|
"aria-invalid": !!u(a),
|
|
2733
2733
|
"aria-describedby": u(o),
|
|
2734
|
-
onChange: (
|
|
2734
|
+
onChange: (p) => M(d)
|
|
2735
2735
|
}), null, 16, ["id", "class", "name", "value", "label", "checked", "error", "aria-invalid", "aria-describedby", "onChange"])
|
|
2736
2736
|
]);
|
|
2737
2737
|
}), 128))
|
|
@@ -2741,13 +2741,13 @@ const Sa = ["id", "data-testid", "aria-labelledby"], Aa = ["id", "data-testid"],
|
|
|
2741
2741
|
key: 0,
|
|
2742
2742
|
id: `radios-describe-${e.id}`,
|
|
2743
2743
|
"data-testid": `radios-describe-${e.id}`,
|
|
2744
|
-
class:
|
|
2745
|
-
},
|
|
2744
|
+
class: B(["message", `-${u(r).type}`])
|
|
2745
|
+
}, O(u(r).text), 11, xa)) : F("", !0)
|
|
2746
2746
|
], 8, Sa));
|
|
2747
2747
|
}
|
|
2748
2748
|
});
|
|
2749
|
-
|
|
2750
|
-
e.component("SolRadio",
|
|
2749
|
+
lt.install = (e) => {
|
|
2750
|
+
e.component("SolRadio", lt);
|
|
2751
2751
|
};
|
|
2752
2752
|
Vt.install = (e) => {
|
|
2753
2753
|
e.component("SolRadioGroup", Vt);
|
|
@@ -2770,9 +2770,9 @@ const wa = ["id", "indeterminate", "data-testid", "checked", "value", "name"], Z
|
|
|
2770
2770
|
emits: ["change"],
|
|
2771
2771
|
setup(e, { emit: t }) {
|
|
2772
2772
|
return (i, n) => (g(), y("div", {
|
|
2773
|
-
class:
|
|
2773
|
+
class: B(["sol-checkbox-core", [i.$props.class, { "-hide-label": e.hideLabel }]])
|
|
2774
2774
|
}, [
|
|
2775
|
-
|
|
2775
|
+
b("input", Be(i.$attrs, {
|
|
2776
2776
|
id: `checkbox-${e.name}-${e.id}`,
|
|
2777
2777
|
type: "checkbox",
|
|
2778
2778
|
indeterminate: e.indeterminate,
|
|
@@ -2783,10 +2783,10 @@ const wa = ["id", "indeterminate", "data-testid", "checked", "value", "name"], Z
|
|
|
2783
2783
|
name: e.name,
|
|
2784
2784
|
onChange: n[0] || (n[0] = (l) => t("change", e.value))
|
|
2785
2785
|
}), null, 16, wa),
|
|
2786
|
-
|
|
2786
|
+
b("label", {
|
|
2787
2787
|
class: "label",
|
|
2788
2788
|
for: `checkbox-${e.name}-${e.id}`
|
|
2789
|
-
},
|
|
2789
|
+
}, O(e.label), 9, Za)
|
|
2790
2790
|
], 2));
|
|
2791
2791
|
}
|
|
2792
2792
|
});
|
|
@@ -2834,9 +2834,9 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
|
|
|
2834
2834
|
return Array.isArray(l.value) ? [...l.value, I] : [I];
|
|
2835
2835
|
}
|
|
2836
2836
|
function N(I) {
|
|
2837
|
-
var
|
|
2837
|
+
var v;
|
|
2838
2838
|
t("change", I.value);
|
|
2839
|
-
const d = c(I.value) ? (
|
|
2839
|
+
const d = c(I.value) ? (v = l.value) == null ? void 0 : v.filter((Z) => Z !== I.value) : M(I.value);
|
|
2840
2840
|
l.value = d, t("update:modelValue", d);
|
|
2841
2841
|
}
|
|
2842
2842
|
return (I, d) => (g(), y("fieldset", {
|
|
@@ -2845,36 +2845,36 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
|
|
|
2845
2845
|
class: "sol-checkbox-group-core",
|
|
2846
2846
|
"aria-labelledby": `checkbox-group-title-${e.id}`
|
|
2847
2847
|
}, [
|
|
2848
|
-
|
|
2848
|
+
C(I.$slots, "title", {
|
|
2849
2849
|
id: `checkbox-group-title-${e.id}`
|
|
2850
2850
|
}, () => [
|
|
2851
|
-
|
|
2851
|
+
b("legend", {
|
|
2852
2852
|
id: `checkbox-group-title-${e.id}`,
|
|
2853
|
-
class:
|
|
2853
|
+
class: B(["title", { "sr-only": e.hideTitle }]),
|
|
2854
2854
|
"data-testid": `checkbox-group-title-${e.id}`
|
|
2855
|
-
},
|
|
2855
|
+
}, O(e.title), 11, La)
|
|
2856
2856
|
]),
|
|
2857
|
-
|
|
2858
|
-
class:
|
|
2857
|
+
b("ul", {
|
|
2858
|
+
class: B(["container-checkboxes", { "flex-col": e.direction === "column" }])
|
|
2859
2859
|
}, [
|
|
2860
|
-
|
|
2860
|
+
C(I.$slots, "default", {
|
|
2861
2861
|
checkboxes: e.checkboxes,
|
|
2862
2862
|
direction: e.direction
|
|
2863
2863
|
}, () => [
|
|
2864
|
-
(g(!0), y(Ae, null, he(e.checkboxes, (
|
|
2865
|
-
var
|
|
2864
|
+
(g(!0), y(Ae, null, he(e.checkboxes, (v, Z) => {
|
|
2865
|
+
var p;
|
|
2866
2866
|
return g(), y("li", { key: Z }, [
|
|
2867
2867
|
_(Xe, Be(I.$attrs, {
|
|
2868
|
-
id: (
|
|
2868
|
+
id: (p = v == null ? void 0 : v.id) != null ? p : `${v.value}`,
|
|
2869
2869
|
class: ["checkbox", { "mb-micro": e.direction === "column", "mr-micro": e.direction === "row" }],
|
|
2870
|
-
label:
|
|
2871
|
-
name:
|
|
2872
|
-
value:
|
|
2873
|
-
checked: c(
|
|
2870
|
+
label: v.label,
|
|
2871
|
+
name: v.name,
|
|
2872
|
+
value: v.value,
|
|
2873
|
+
checked: c(v.value),
|
|
2874
2874
|
error: !!u(a),
|
|
2875
2875
|
"aria-invalid": !!u(a),
|
|
2876
2876
|
"aria-describedby": u(o),
|
|
2877
|
-
onChange: (
|
|
2877
|
+
onChange: (L) => N(v)
|
|
2878
2878
|
}), null, 16, ["id", "class", "label", "name", "value", "checked", "error", "aria-invalid", "aria-describedby", "onChange"])
|
|
2879
2879
|
]);
|
|
2880
2880
|
}), 128))
|
|
@@ -2884,8 +2884,8 @@ const za = ["id", "data-testid", "aria-labelledby"], La = ["id", "data-testid"],
|
|
|
2884
2884
|
key: 0,
|
|
2885
2885
|
id: `checkboxes-describe-${e.id}`,
|
|
2886
2886
|
"data-testid": `checkboxes-describe-${e.id}`,
|
|
2887
|
-
class:
|
|
2888
|
-
},
|
|
2887
|
+
class: B(["message", `-${u(r).type}`])
|
|
2888
|
+
}, O(u(r).text), 11, Ca)) : F("", !0)
|
|
2889
2889
|
], 8, za));
|
|
2890
2890
|
}
|
|
2891
2891
|
});
|
|
@@ -2911,9 +2911,9 @@ function cn(e) {
|
|
|
2911
2911
|
return typeof e == "function" ? x(e) : R(e);
|
|
2912
2912
|
}
|
|
2913
2913
|
function Ea(e, t = !0) {
|
|
2914
|
-
ke() ?
|
|
2914
|
+
ke() ? Fe(e) : t ? e() : Ee(e);
|
|
2915
2915
|
}
|
|
2916
|
-
function
|
|
2916
|
+
function _e(e) {
|
|
2917
2917
|
var t;
|
|
2918
2918
|
const i = Ut(e);
|
|
2919
2919
|
return (t = i == null ? void 0 : i.$el) != null ? t : i;
|
|
@@ -2922,12 +2922,12 @@ const mi = ct ? window : void 0;
|
|
|
2922
2922
|
ct && window.document;
|
|
2923
2923
|
ct && window.navigator;
|
|
2924
2924
|
ct && window.location;
|
|
2925
|
-
function
|
|
2925
|
+
function Ke(...e) {
|
|
2926
2926
|
let t, i, n, l;
|
|
2927
2927
|
if (Ga(e[0]) ? ([i, n, l] = e, t = mi) : [t, i, n, l] = e, !t)
|
|
2928
2928
|
return Lt;
|
|
2929
2929
|
let a = Lt;
|
|
2930
|
-
const s = me(() =>
|
|
2930
|
+
const s = me(() => _e(t), (r) => {
|
|
2931
2931
|
a(), r && (r.addEventListener(i, n, l), a = () => {
|
|
2932
2932
|
r.removeEventListener(i, n, l), a = Lt;
|
|
2933
2933
|
});
|
|
@@ -2944,27 +2944,27 @@ function dn(e, t, i = {}) {
|
|
|
2944
2944
|
let r;
|
|
2945
2945
|
const c = (d) => {
|
|
2946
2946
|
n.clearTimeout(r);
|
|
2947
|
-
const
|
|
2948
|
-
!
|
|
2949
|
-
}, M = (d) => l && l.some((
|
|
2950
|
-
const Z =
|
|
2947
|
+
const v = _e(e);
|
|
2948
|
+
!v || v === d.target || d.composedPath().includes(v) || !o.value || t(d);
|
|
2949
|
+
}, M = (d) => l && l.some((v) => {
|
|
2950
|
+
const Z = _e(v);
|
|
2951
2951
|
return Z && (d.target === Z || d.composedPath().includes(Z));
|
|
2952
2952
|
}), N = [
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
const
|
|
2956
|
-
o.value = !!
|
|
2953
|
+
Ke(n, "click", c, { passive: !0, capture: a }),
|
|
2954
|
+
Ke(n, "pointerdown", (d) => {
|
|
2955
|
+
const v = _e(e);
|
|
2956
|
+
o.value = !!v && !d.composedPath().includes(v) && !M(d);
|
|
2957
2957
|
}, { passive: !0 }),
|
|
2958
|
-
|
|
2958
|
+
Ke(n, "pointerup", (d) => {
|
|
2959
2959
|
if (d.button === 0) {
|
|
2960
|
-
const
|
|
2961
|
-
d.composedPath = () =>
|
|
2960
|
+
const v = d.composedPath();
|
|
2961
|
+
d.composedPath = () => v, r = n.setTimeout(() => c(d), 50);
|
|
2962
2962
|
}
|
|
2963
2963
|
}, { passive: !0 }),
|
|
2964
|
-
s &&
|
|
2965
|
-
var
|
|
2966
|
-
const Z =
|
|
2967
|
-
((
|
|
2964
|
+
s && Ke(n, "blur", (d) => {
|
|
2965
|
+
var v;
|
|
2966
|
+
const Z = _e(e);
|
|
2967
|
+
((v = document.activeElement) == null ? void 0 : v.tagName) === "IFRAME" && !(Z != null && Z.contains(document.activeElement)) && t(d);
|
|
2968
2968
|
})
|
|
2969
2969
|
].filter(Boolean);
|
|
2970
2970
|
return () => N.forEach((d) => d());
|
|
@@ -3007,7 +3007,7 @@ function Oa(e, t = !1) {
|
|
|
3007
3007
|
});
|
|
3008
3008
|
const a = () => {
|
|
3009
3009
|
const o = Ut(e);
|
|
3010
|
-
!o || i.value || (zi && (n =
|
|
3010
|
+
!o || i.value || (zi && (n = Ke(o, "touchmove", Ba, { passive: !1 })), o.style.overflow = "hidden", i.value = !0);
|
|
3011
3011
|
}, s = () => {
|
|
3012
3012
|
const o = Ut(e);
|
|
3013
3013
|
!o || !i.value || (zi && (n == null || n()), o.style.overflow = l, i.value = !1);
|
|
@@ -3081,11 +3081,11 @@ function At({ target: e, query: t }) {
|
|
|
3081
3081
|
genericIndex: -1
|
|
3082
3082
|
});
|
|
3083
3083
|
function n(d) {
|
|
3084
|
-
const
|
|
3084
|
+
const v = d != null ? d : i.index, Z = e == null ? void 0 : e.value;
|
|
3085
3085
|
I(), d !== void 0 && (i.index = d), setTimeout(() => {
|
|
3086
3086
|
var z;
|
|
3087
|
-
const
|
|
3088
|
-
i.id = (z =
|
|
3087
|
+
const p = Z.children[v], L = t && p.querySelector(t) ? p.querySelector(t) : p;
|
|
3088
|
+
i.id = (z = p == null ? void 0 : p.id) != null ? z : "", L == null || L.focus();
|
|
3089
3089
|
}, 0);
|
|
3090
3090
|
}
|
|
3091
3091
|
function l() {
|
|
@@ -3100,21 +3100,21 @@ function At({ target: e, query: t }) {
|
|
|
3100
3100
|
function o(d) {
|
|
3101
3101
|
n(d - 1);
|
|
3102
3102
|
}
|
|
3103
|
-
function r({ query: d, to:
|
|
3104
|
-
var
|
|
3105
|
-
const Z = i.index >= 0 ? i.index : 0,
|
|
3103
|
+
function r({ query: d, to: v }) {
|
|
3104
|
+
var D, G;
|
|
3105
|
+
const Z = i.index >= 0 ? i.index : 0, L = (e == null ? void 0 : e.value).children[Z], z = Array.isArray(d) ? d.flatMap((w) => Array.from(L.querySelectorAll(w))).filter((w) => w) : Array.from(L.querySelectorAll(d));
|
|
3106
3106
|
if (!z.length)
|
|
3107
3107
|
return;
|
|
3108
|
-
const
|
|
3109
|
-
|
|
3108
|
+
const f = i.rowIndex < z.length - 1;
|
|
3109
|
+
v === "RIGHT" && f && (i.rowIndex += 1, (D = z[i.rowIndex]) == null || D.focus()), v === "LEFT" && (i.rowIndex = i.rowIndex >= 0 ? i.rowIndex - 1 : -1, i.rowIndex < 0 ? L.focus() : (G = z[i.rowIndex]) == null || G.focus());
|
|
3110
3110
|
}
|
|
3111
|
-
function c({ query: d, to:
|
|
3112
|
-
var z,
|
|
3113
|
-
const Z = e == null ? void 0 : e.value,
|
|
3114
|
-
if (!
|
|
3111
|
+
function c({ query: d, to: v }) {
|
|
3112
|
+
var z, f;
|
|
3113
|
+
const Z = e == null ? void 0 : e.value, p = Array.isArray(d) ? d.flatMap((D) => Array.from(Z.querySelectorAll(D))).filter((D) => D) : Array.from(Z.querySelectorAll(d));
|
|
3114
|
+
if (!p.length)
|
|
3115
3115
|
return;
|
|
3116
|
-
const
|
|
3117
|
-
|
|
3116
|
+
const L = i.genericIndex < p.length - 1;
|
|
3117
|
+
v === "NEXT" && L && (i.genericIndex += 1, (z = p[i.genericIndex]) == null || z.focus()), v === "PREVIOUS" && (i.genericIndex = i.genericIndex >= 0 ? i.genericIndex - 1 : -1, i.genericIndex < 0 ? Z.focus() : (f = p[i.genericIndex]) == null || f.focus());
|
|
3118
3118
|
}
|
|
3119
3119
|
function M(d) {
|
|
3120
3120
|
return d.id ? d.id === i.id : d.index === i.index;
|
|
@@ -3142,7 +3142,7 @@ const $a = {
|
|
|
3142
3142
|
viewBox: "0 0 24 24",
|
|
3143
3143
|
width: "1em",
|
|
3144
3144
|
height: "1em"
|
|
3145
|
-
}, Qa = /* @__PURE__ */
|
|
3145
|
+
}, Qa = /* @__PURE__ */ b("path", {
|
|
3146
3146
|
fill: "currentColor",
|
|
3147
3147
|
d: "M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12L5.293 6.707a1 1 0 0 1 0-1.414z"
|
|
3148
3148
|
}, null, -1), Xa = [
|
|
@@ -3175,7 +3175,7 @@ const Ra = { name: "mi-close", render: Fa }, Ja = ["id", "data-testid", "tabinde
|
|
|
3175
3175
|
return (a, s) => (g(), y("div", {
|
|
3176
3176
|
id: `removable-chip-${e.id}`,
|
|
3177
3177
|
"data-testid": `removable-chip-${e.id}`,
|
|
3178
|
-
class:
|
|
3178
|
+
class: B(["sol-removable-chip", {
|
|
3179
3179
|
"-disabled": e.disabled,
|
|
3180
3180
|
[`-${e.size}`]: !0,
|
|
3181
3181
|
[`-${e.variant}`]: !0
|
|
@@ -3190,14 +3190,14 @@ const Ra = { name: "mi-close", render: Fa }, Ja = ["id", "data-testid", "tabinde
|
|
|
3190
3190
|
["self"]
|
|
3191
3191
|
))
|
|
3192
3192
|
}, [
|
|
3193
|
-
|
|
3193
|
+
b("span", {
|
|
3194
3194
|
id: `removable-chip-description-${e.id}`,
|
|
3195
3195
|
"z-index": "-1",
|
|
3196
3196
|
class: "description"
|
|
3197
3197
|
}, " Press Delete or Backspace to remove ", 8, qa),
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
re(
|
|
3198
|
+
b("span", _a, [
|
|
3199
|
+
C(a.$slots, "default", {}, () => [
|
|
3200
|
+
re(O(e.label), 1)
|
|
3201
3201
|
])
|
|
3202
3202
|
]),
|
|
3203
3203
|
_(u(Ra), {
|
|
@@ -3212,7 +3212,7 @@ const Ka = {
|
|
|
3212
3212
|
viewBox: "0 0 24 24",
|
|
3213
3213
|
width: "1em",
|
|
3214
3214
|
height: "1em"
|
|
3215
|
-
}, es = /* @__PURE__ */
|
|
3215
|
+
}, es = /* @__PURE__ */ b("path", {
|
|
3216
3216
|
fill: "currentColor",
|
|
3217
3217
|
d: "m19.6 21l-6.3-6.3q-.75.6-1.725.95Q10.6 16 9.5 16q-2.725 0-4.612-1.887Q3 12.225 3 9.5q0-2.725 1.888-4.613Q6.775 3 9.5 3t4.613 1.887Q16 6.775 16 9.5q0 1.1-.35 2.075q-.35.975-.95 1.725l6.3 6.3ZM9.5 14q1.875 0 3.188-1.312Q14 11.375 14 9.5q0-1.875-1.312-3.188Q11.375 5 9.5 5Q7.625 5 6.312 6.312Q5 7.625 5 9.5q0 1.875 1.312 3.188Q7.625 14 9.5 14Z"
|
|
3218
3218
|
}, null, -1), ts = [
|
|
@@ -3224,7 +3224,7 @@ function is(e, t) {
|
|
|
3224
3224
|
const ns = { name: "material-symbols-search", render: is }, ls = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"], as = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"], ss = { key: 1 }, os = {
|
|
3225
3225
|
key: 0,
|
|
3226
3226
|
class: "no-data"
|
|
3227
|
-
}, us = /* @__PURE__ */
|
|
3227
|
+
}, us = /* @__PURE__ */ b("p", null, "Sem resultado para essa busca", -1), rs = /* @__PURE__ */ J({
|
|
3228
3228
|
__name: "ListOption",
|
|
3229
3229
|
props: {
|
|
3230
3230
|
id: null,
|
|
@@ -3273,10 +3273,10 @@ const ns = { name: "material-symbols-search", render: is }, ls = ["id", "data-te
|
|
|
3273
3273
|
checked: e.isSelected(s),
|
|
3274
3274
|
label: `${s.name}`,
|
|
3275
3275
|
name: e.name
|
|
3276
|
-
}, null, 8, ["id", "value", "checked", "label", "name"])) : (g(), y("span", ss,
|
|
3276
|
+
}, null, 8, ["id", "value", "checked", "label", "name"])) : (g(), y("span", ss, O(s.name), 1))
|
|
3277
3277
|
], 44, as))), 128)),
|
|
3278
3278
|
e.options.length ? F("", !0) : (g(), y("li", os, [
|
|
3279
|
-
|
|
3279
|
+
C(l.$slots, "no-data", {}, () => [
|
|
3280
3280
|
_(u(ns), { class: "icon" }),
|
|
3281
3281
|
us
|
|
3282
3282
|
])
|
|
@@ -3288,7 +3288,7 @@ const cs = {
|
|
|
3288
3288
|
viewBox: "0 0 24 24",
|
|
3289
3289
|
width: "1em",
|
|
3290
3290
|
height: "1em"
|
|
3291
|
-
}, ds = /* @__PURE__ */
|
|
3291
|
+
}, ds = /* @__PURE__ */ b("path", {
|
|
3292
3292
|
fill: "currentColor",
|
|
3293
3293
|
d: "M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10z"
|
|
3294
3294
|
}, null, -1), Is = [
|
|
@@ -3301,7 +3301,7 @@ const ms = { name: "mi-search", render: Ms }, gs = {
|
|
|
3301
3301
|
viewBox: "0 0 24 24",
|
|
3302
3302
|
width: "1em",
|
|
3303
3303
|
height: "1em"
|
|
3304
|
-
}, Ns = /* @__PURE__ */
|
|
3304
|
+
}, Ns = /* @__PURE__ */ b("path", {
|
|
3305
3305
|
fill: "currentColor",
|
|
3306
3306
|
d: "m17 10l-5 6l-5-6h10z"
|
|
3307
3307
|
}, null, -1), js = [
|
|
@@ -3314,7 +3314,7 @@ const vs = { name: "mi-caret-down", render: ys }, fs = {
|
|
|
3314
3314
|
viewBox: "0 0 24 24",
|
|
3315
3315
|
width: "1em",
|
|
3316
3316
|
height: "1em"
|
|
3317
|
-
}, bs = /* @__PURE__ */
|
|
3317
|
+
}, bs = /* @__PURE__ */ b("path", {
|
|
3318
3318
|
fill: "currentColor",
|
|
3319
3319
|
d: "m12 13.4l-4.9 4.9q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7L13.4 12l4.9 4.9q.275.275.275.7q0 .425-.275.7q-.275.275-.7.275q-.425 0-.7-.275Z"
|
|
3320
3320
|
}, null, -1), hs = [
|
|
@@ -3326,7 +3326,7 @@ function Ds(e, t) {
|
|
|
3326
3326
|
const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-testid"], xs = ["id", "data-testid", "data-required"], ws = {
|
|
3327
3327
|
key: 0,
|
|
3328
3328
|
class: "container-tags"
|
|
3329
|
-
}, Zs = ["data-testid"], Ts = ["id", "data-testid"], zs = { class: "select-options-container" }, Ls = /* @__PURE__ */
|
|
3329
|
+
}, Zs = ["data-testid"], Ts = ["id", "data-testid"], zs = { class: "select-options-container" }, Ls = /* @__PURE__ */ b("hr", { class: "text-neutral-high-medium" }, null, -1), ft = /* @__PURE__ */ J({
|
|
3330
3330
|
__name: "Select",
|
|
3331
3331
|
props: {
|
|
3332
3332
|
id: null,
|
|
@@ -3356,16 +3356,16 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3356
3356
|
setup(e, { emit: t }) {
|
|
3357
3357
|
const i = e, n = R(), l = R(!1), a = R(""), s = x(
|
|
3358
3358
|
() => {
|
|
3359
|
-
var
|
|
3360
|
-
return i.fetchOnSearch ? i.options : (
|
|
3359
|
+
var h;
|
|
3360
|
+
return i.fetchOnSearch ? i.options : (h = i.options) == null ? void 0 : h.filter((S) => new RegExp(a.value, "gi").test(`${S.name}`));
|
|
3361
3361
|
}
|
|
3362
3362
|
);
|
|
3363
3363
|
dn(n, () => {
|
|
3364
3364
|
l.value && d();
|
|
3365
3365
|
});
|
|
3366
3366
|
const o = x(() => {
|
|
3367
|
-
var
|
|
3368
|
-
return (
|
|
3367
|
+
var h;
|
|
3368
|
+
return (h = i.name) != null ? h : "";
|
|
3369
3369
|
}), { value: r, errorMessage: c } = rt(o.value, {
|
|
3370
3370
|
error: x(() => i.error),
|
|
3371
3371
|
rules: i.rules,
|
|
@@ -3373,7 +3373,7 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3373
3373
|
useFieldParent: i.useField
|
|
3374
3374
|
}, {
|
|
3375
3375
|
propKey: "selected",
|
|
3376
|
-
emit: (
|
|
3376
|
+
emit: (h) => t("update:selected", h)
|
|
3377
3377
|
});
|
|
3378
3378
|
function M() {
|
|
3379
3379
|
i.disabled || (l.value ? d() : I());
|
|
@@ -3385,86 +3385,86 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3385
3385
|
function d() {
|
|
3386
3386
|
le(), t("closeDropdown");
|
|
3387
3387
|
}
|
|
3388
|
-
function
|
|
3388
|
+
function v(h) {
|
|
3389
3389
|
if (Array.isArray(r.value)) {
|
|
3390
|
-
const
|
|
3391
|
-
({ value: P }) => P ===
|
|
3390
|
+
const S = r.value.findIndex(
|
|
3391
|
+
({ value: P }) => P === h.value
|
|
3392
3392
|
);
|
|
3393
|
-
return
|
|
3393
|
+
return S === -1 ? [...r.value, h] : r.value.filter((P, U) => U !== S);
|
|
3394
3394
|
}
|
|
3395
|
-
return [
|
|
3395
|
+
return [h];
|
|
3396
3396
|
}
|
|
3397
|
-
function Z(
|
|
3398
|
-
const
|
|
3399
|
-
r.value =
|
|
3397
|
+
function Z(h) {
|
|
3398
|
+
const S = i.multiple ? v(h) : h;
|
|
3399
|
+
r.value = S, i.closeOnSelect && !i.multiple && d();
|
|
3400
3400
|
}
|
|
3401
|
-
function
|
|
3402
|
-
var
|
|
3403
|
-
return Array.isArray(r.value) ? r.value.some(({ value: P }) => P ===
|
|
3401
|
+
function p(h) {
|
|
3402
|
+
var S;
|
|
3403
|
+
return Array.isArray(r.value) ? r.value.some(({ value: P }) => P === h.value) : h.value === ((S = r == null ? void 0 : r.value) == null ? void 0 : S.value);
|
|
3404
3404
|
}
|
|
3405
|
-
const
|
|
3406
|
-
function
|
|
3407
|
-
var
|
|
3408
|
-
i.searchable && (te(), (
|
|
3405
|
+
const L = R(), z = R();
|
|
3406
|
+
function f() {
|
|
3407
|
+
var h;
|
|
3408
|
+
i.searchable && (te(), (h = L.value) == null || h.focus());
|
|
3409
3409
|
}
|
|
3410
3410
|
const {
|
|
3411
|
-
elementFocus:
|
|
3411
|
+
elementFocus: D,
|
|
3412
3412
|
focusOnFirstItem: G,
|
|
3413
3413
|
focusOnLastItem: w,
|
|
3414
3414
|
focusOnNextItem: Y,
|
|
3415
|
-
focusOnPreviousItem:
|
|
3415
|
+
focusOnPreviousItem: W,
|
|
3416
3416
|
resetStateFocus: te
|
|
3417
3417
|
} = At({ target: z }), { navigate: $ } = Oe({
|
|
3418
3418
|
Home: G,
|
|
3419
3419
|
End: () => w(i.options.length),
|
|
3420
|
-
ArrowUp:
|
|
3420
|
+
ArrowUp: W,
|
|
3421
3421
|
ArrowDown: () => {
|
|
3422
3422
|
!l.value && I(), Y(i.options.length);
|
|
3423
3423
|
},
|
|
3424
3424
|
Escape: d
|
|
3425
3425
|
}, {
|
|
3426
|
-
fallback:
|
|
3426
|
+
fallback: f,
|
|
3427
3427
|
exclude: ["Enter", "NumpadEnter", "Space"]
|
|
3428
3428
|
});
|
|
3429
3429
|
function le() {
|
|
3430
3430
|
l.value = !1, a.value = "", te();
|
|
3431
3431
|
}
|
|
3432
|
-
function ue(
|
|
3433
|
-
return (
|
|
3432
|
+
function ue(h) {
|
|
3433
|
+
return (S) => h === "search" ? L.value = S == null ? void 0 : S.input : z.value = S == null ? void 0 : S.list;
|
|
3434
3434
|
}
|
|
3435
3435
|
function ce() {
|
|
3436
|
-
var
|
|
3437
|
-
const
|
|
3438
|
-
return (
|
|
3436
|
+
var S;
|
|
3437
|
+
const h = r.value;
|
|
3438
|
+
return (S = h == null ? void 0 : h.name) != null ? S : i.placeholder;
|
|
3439
3439
|
}
|
|
3440
3440
|
const ge = x(
|
|
3441
3441
|
() => !!(c != null && c.value) || !!i.helperText
|
|
3442
3442
|
), ye = x(
|
|
3443
3443
|
() => ge.value ? `input-text-describe-${i.id}` : void 0
|
|
3444
3444
|
), ae = x(() => {
|
|
3445
|
-
var
|
|
3446
|
-
return (
|
|
3445
|
+
var h;
|
|
3446
|
+
return (h = c == null ? void 0 : c.value) != null && h.length ? { text: c == null ? void 0 : c.value, type: "error" } : { text: i.helperText, type: "helper" };
|
|
3447
3447
|
});
|
|
3448
3448
|
function de() {
|
|
3449
3449
|
if (n.value) {
|
|
3450
|
-
const
|
|
3451
|
-
N.value =
|
|
3450
|
+
const h = n.value.getBoundingClientRect(), S = window.outerHeight - h.bottom > 300 ? "bottom" : "top";
|
|
3451
|
+
N.value = S;
|
|
3452
3452
|
}
|
|
3453
3453
|
}
|
|
3454
3454
|
function T() {
|
|
3455
3455
|
r.value = [], d();
|
|
3456
3456
|
}
|
|
3457
|
-
return (
|
|
3458
|
-
var
|
|
3457
|
+
return (h, S) => {
|
|
3458
|
+
var U;
|
|
3459
3459
|
const P = Sn("Button");
|
|
3460
3460
|
return g(), y("div", {
|
|
3461
3461
|
ref_key: "el",
|
|
3462
3462
|
ref: n,
|
|
3463
|
-
class:
|
|
3463
|
+
class: B(["sol-select-core", [`-${e.size} -${N.value}`, { "-selected-multiple": e.multiple && Array.isArray(u(r)) && ((U = u(r)) == null ? void 0 : U.length) }]]),
|
|
3464
3464
|
"data-testid": `select-${e.id}`,
|
|
3465
|
-
onKeydownPassive:
|
|
3465
|
+
onKeydownPassive: S[3] || (S[3] = (...k) => u($) && u($)(...k))
|
|
3466
3466
|
}, [
|
|
3467
|
-
|
|
3467
|
+
C(h.$slots, "label", {
|
|
3468
3468
|
id: `select-label-${e.id}`,
|
|
3469
3469
|
for: `select-toggle-${e.id}`
|
|
3470
3470
|
}, () => [
|
|
@@ -3473,8 +3473,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3473
3473
|
id: `select-label-${e.id}`,
|
|
3474
3474
|
"data-testid": `select-label-${e.id}`,
|
|
3475
3475
|
"data-required": e.required,
|
|
3476
|
-
class:
|
|
3477
|
-
},
|
|
3476
|
+
class: B(["label", { "-disabled": e.disabled }])
|
|
3477
|
+
}, O(e.label), 11, xs)) : F("", !0)
|
|
3478
3478
|
]),
|
|
3479
3479
|
_(P, {
|
|
3480
3480
|
id: `select-toggle-${e.id}`,
|
|
@@ -3493,15 +3493,15 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3493
3493
|
onClick: Ne(M, ["stop"])
|
|
3494
3494
|
}, {
|
|
3495
3495
|
default: q(() => [
|
|
3496
|
-
|
|
3496
|
+
C(h.$slots, "toggle-dropdown", {
|
|
3497
3497
|
toggle: { open: I, close: d, toggleDropdown: M },
|
|
3498
3498
|
isOpen: l.value,
|
|
3499
3499
|
select: Z,
|
|
3500
3500
|
selected: e.selected
|
|
3501
3501
|
}, () => {
|
|
3502
|
-
var
|
|
3502
|
+
var k, V, ve;
|
|
3503
3503
|
return [
|
|
3504
|
-
e.multiple && Array.isArray(u(r)) && ((
|
|
3504
|
+
e.multiple && Array.isArray(u(r)) && ((k = u(r)) == null ? void 0 : k.length) ? (g(), y("div", ws, [
|
|
3505
3505
|
(g(!0), y(Ae, null, he(u(r), (A, X) => (g(), ee(vt, {
|
|
3506
3506
|
id: `select-value-selected-${e.id}-${A.value}`,
|
|
3507
3507
|
key: X,
|
|
@@ -3516,8 +3516,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3516
3516
|
"data-testid": `select-value-selected-${e.id}`,
|
|
3517
3517
|
class: "min-w-3xs text-left",
|
|
3518
3518
|
tabindex: "-1"
|
|
3519
|
-
},
|
|
3520
|
-
e.multiple && Array.isArray(u(r)) && ((
|
|
3519
|
+
}, O(ce()), 9, Zs)),
|
|
3520
|
+
e.multiple && Array.isArray(u(r)) && ((V = u(r)) == null ? void 0 : V.length) > 1 ? (g(), ee(je, {
|
|
3521
3521
|
key: 2,
|
|
3522
3522
|
id: `select-${e.id}-clear-all`,
|
|
3523
3523
|
class: "clear-button",
|
|
@@ -3534,7 +3534,7 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3534
3534
|
_(u(vs), {
|
|
3535
3535
|
"aria-hidden": "true",
|
|
3536
3536
|
tabindex: "-1",
|
|
3537
|
-
class:
|
|
3537
|
+
class: B(["icon", { "-open": l.value }])
|
|
3538
3538
|
}, null, 8, ["class"])
|
|
3539
3539
|
];
|
|
3540
3540
|
})
|
|
@@ -3545,8 +3545,8 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3545
3545
|
key: 0,
|
|
3546
3546
|
id: `select-describe-${e.id}`,
|
|
3547
3547
|
"data-testid": `select-describe-${e.id}`,
|
|
3548
|
-
class:
|
|
3549
|
-
},
|
|
3548
|
+
class: B(["message", `-${u(ae).type}`])
|
|
3549
|
+
}, O(u(ae).text), 11, Ts)), [
|
|
3550
3550
|
[Pe, !l.value]
|
|
3551
3551
|
]) : F("", !0),
|
|
3552
3552
|
_(ai, {
|
|
@@ -3554,17 +3554,17 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3554
3554
|
name: "dropdown"
|
|
3555
3555
|
}, {
|
|
3556
3556
|
default: q(() => [
|
|
3557
|
-
Ce(
|
|
3558
|
-
|
|
3557
|
+
Ce(b("div", zs, [
|
|
3558
|
+
C(h.$slots, "search", {}, () => [
|
|
3559
3559
|
e.searchable ? (g(), y("div", {
|
|
3560
3560
|
key: 0,
|
|
3561
|
-
class:
|
|
3561
|
+
class: B(["search-container", { "-loading": e.loading }])
|
|
3562
3562
|
}, [
|
|
3563
3563
|
_(Qi, {
|
|
3564
3564
|
id: `select-search-${e.id}`,
|
|
3565
3565
|
ref: ue("search"),
|
|
3566
3566
|
modelValue: a.value,
|
|
3567
|
-
"onUpdate:modelValue":
|
|
3567
|
+
"onUpdate:modelValue": S[0] || (S[0] = (k) => a.value = k),
|
|
3568
3568
|
role: "combobox",
|
|
3569
3569
|
class: "search",
|
|
3570
3570
|
size: "small",
|
|
@@ -3574,13 +3574,13 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3574
3574
|
"aria-haspopup": "listbox",
|
|
3575
3575
|
"aria-owns": `select-list-${e.id}`,
|
|
3576
3576
|
"aria-controls": `select-list-${e.id}`,
|
|
3577
|
-
"aria-activedescendant": u(
|
|
3577
|
+
"aria-activedescendant": u(D).id,
|
|
3578
3578
|
"aria-labelledby": `select-label-${e.id}`,
|
|
3579
|
-
onClick:
|
|
3579
|
+
onClick: S[1] || (S[1] = Ne(() => {
|
|
3580
3580
|
}, ["stop"])),
|
|
3581
|
-
onInput:
|
|
3582
|
-
var
|
|
3583
|
-
return t("search", (
|
|
3581
|
+
onInput: S[2] || (S[2] = (k) => {
|
|
3582
|
+
var V;
|
|
3583
|
+
return t("search", (V = k.target) == null ? void 0 : V.value);
|
|
3584
3584
|
})
|
|
3585
3585
|
}, null, 8, ["id", "modelValue", "placeholder", "aria-expanded", "aria-owns", "aria-controls", "aria-activedescendant", "aria-labelledby"]),
|
|
3586
3586
|
_(u(ms), {
|
|
@@ -3595,11 +3595,11 @@ const Ss = { name: "material-symbols-close-rounded", render: Ds }, As = ["data-t
|
|
|
3595
3595
|
options: u(s),
|
|
3596
3596
|
name: u(o),
|
|
3597
3597
|
multiple: e.multiple,
|
|
3598
|
-
"is-selected":
|
|
3598
|
+
"is-selected": p,
|
|
3599
3599
|
onSelect: Z
|
|
3600
3600
|
}, {
|
|
3601
3601
|
"no-data": q(() => [
|
|
3602
|
-
|
|
3602
|
+
C(h.$slots, "no-data")
|
|
3603
3603
|
]),
|
|
3604
3604
|
_: 3
|
|
3605
3605
|
}, 8, ["id", "options", "name", "multiple"])
|
|
@@ -3643,7 +3643,7 @@ const Cs = ["id", "data-testid", "aria-disabled", "tabindex", "title", "aria-che
|
|
|
3643
3643
|
return (s, o) => (g(), y("div", {
|
|
3644
3644
|
id: n.chip,
|
|
3645
3645
|
"data-testid": n.chip,
|
|
3646
|
-
class:
|
|
3646
|
+
class: B(["sol-selectable-chip", [
|
|
3647
3647
|
`-${e.size}`,
|
|
3648
3648
|
{
|
|
3649
3649
|
"-disabled": e.disabled,
|
|
@@ -3668,14 +3668,14 @@ const Cs = ["id", "data-testid", "aria-disabled", "tabindex", "title", "aria-che
|
|
|
3668
3668
|
"aria-label": "selected",
|
|
3669
3669
|
role: "img"
|
|
3670
3670
|
})) : F("", !0),
|
|
3671
|
-
|
|
3671
|
+
b("span", {
|
|
3672
3672
|
id: n.describe,
|
|
3673
3673
|
"z-index": "-1",
|
|
3674
3674
|
class: "description"
|
|
3675
|
-
}, " Press Enter or Space to " +
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
re(
|
|
3675
|
+
}, " Press Enter or Space to " + O(e.selected ? "unselect" : "select"), 9, Gs),
|
|
3676
|
+
b("span", ps, [
|
|
3677
|
+
C(s.$slots, "default", {}, () => [
|
|
3678
|
+
re(O(e.label), 1)
|
|
3679
3679
|
])
|
|
3680
3680
|
])
|
|
3681
3681
|
], 42, Cs));
|
|
@@ -3700,11 +3700,11 @@ const Es = ["id", "data-testid", "title"], Xt = /* @__PURE__ */ J({
|
|
|
3700
3700
|
return (t, i) => (g(), y("div", {
|
|
3701
3701
|
id: `tag-${e.id}`,
|
|
3702
3702
|
"data-testid": `tag-${e.id}`,
|
|
3703
|
-
class:
|
|
3703
|
+
class: B(["sol-tag-core", `-${e.size} -${e.variant} -${e.type}`]),
|
|
3704
3704
|
title: e.text
|
|
3705
3705
|
}, [
|
|
3706
|
-
|
|
3707
|
-
re(
|
|
3706
|
+
C(t.$slots, "default", {}, () => [
|
|
3707
|
+
re(O(e.text), 1)
|
|
3708
3708
|
])
|
|
3709
3709
|
], 10, Es));
|
|
3710
3710
|
}
|
|
@@ -3716,7 +3716,7 @@ const Ps = {
|
|
|
3716
3716
|
viewBox: "0 0 24 24",
|
|
3717
3717
|
width: "1em",
|
|
3718
3718
|
height: "1em"
|
|
3719
|
-
}, ks = /* @__PURE__ */
|
|
3719
|
+
}, ks = /* @__PURE__ */ b("path", {
|
|
3720
3720
|
fill: "currentColor",
|
|
3721
3721
|
d: "m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4ZM12 22q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
|
|
3722
3722
|
}, null, -1), Bs = [
|
|
@@ -3729,7 +3729,7 @@ const Ys = { name: "material-symbols-check-circle-outline", render: Os }, Vs = {
|
|
|
3729
3729
|
viewBox: "0 0 24 24",
|
|
3730
3730
|
width: "1em",
|
|
3731
3731
|
height: "1em"
|
|
3732
|
-
}, Ws = /* @__PURE__ */
|
|
3732
|
+
}, Ws = /* @__PURE__ */ b("path", {
|
|
3733
3733
|
fill: "currentColor",
|
|
3734
3734
|
d: "M1 21L12 2l11 19Zm3.45-2h15.1L12 6ZM12 18q.425 0 .713-.288Q13 17.425 13 17t-.287-.712Q12.425 16 12 16t-.712.288Q11 16.575 11 17t.288.712Q11.575 18 12 18Zm-1-3h2v-5h-2Zm1-2.5Z"
|
|
3735
3735
|
}, null, -1), Us = [
|
|
@@ -3742,7 +3742,7 @@ const $s = { name: "material-symbols-warning-outline", render: Hs }, Qs = {
|
|
|
3742
3742
|
viewBox: "0 0 24 24",
|
|
3743
3743
|
width: "1em",
|
|
3744
3744
|
height: "1em"
|
|
3745
|
-
}, Xs = /* @__PURE__ */
|
|
3745
|
+
}, Xs = /* @__PURE__ */ b("path", {
|
|
3746
3746
|
fill: "currentColor",
|
|
3747
3747
|
d: "m8.4 17l3.6-3.6l3.6 3.6l1.4-1.4l-3.6-3.6L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4l3.6 3.6L7 15.6Zm3.6 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
|
|
3748
3748
|
}, null, -1), Fs = [
|
|
@@ -3755,7 +3755,7 @@ const Js = { name: "material-symbols-cancel-outline", render: Rs }, qs = {
|
|
|
3755
3755
|
viewBox: "0 0 24 24",
|
|
3756
3756
|
width: "1em",
|
|
3757
3757
|
height: "1em"
|
|
3758
|
-
}, _s = /* @__PURE__ */
|
|
3758
|
+
}, _s = /* @__PURE__ */ b("path", {
|
|
3759
3759
|
fill: "currentColor",
|
|
3760
3760
|
d: "M11 17h2v-6h-2Zm1-8q.425 0 .713-.288Q13 8.425 13 8t-.287-.713Q12.425 7 12 7t-.712.287Q11 7.575 11 8t.288.712Q11.575 9 12 9Zm0 13q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-2q3.35 0 5.675-2.325Q20 15.35 20 12q0-3.35-2.325-5.675Q15.35 4 12 4Q8.65 4 6.325 6.325Q4 8.65 4 12q0 3.35 2.325 5.675Q8.65 20 12 20Zm0-8Z"
|
|
3761
3761
|
}, null, -1), Ks = [
|
|
@@ -3781,11 +3781,11 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
|
|
|
3781
3781
|
return (i, n) => (g(), y("div", {
|
|
3782
3782
|
id: `alert-${e.id}`,
|
|
3783
3783
|
"data-testid": `alert-${e.id}`,
|
|
3784
|
-
class:
|
|
3784
|
+
class: B(["sol-alert-core", `-${e.feedback}`]),
|
|
3785
3785
|
"aria-live": "assertive",
|
|
3786
3786
|
role: "alert"
|
|
3787
3787
|
}, [
|
|
3788
|
-
|
|
3788
|
+
b("div", no, [
|
|
3789
3789
|
e.feedback === "success" ? (g(), ee(u(Ys), {
|
|
3790
3790
|
key: 0,
|
|
3791
3791
|
class: "icon",
|
|
@@ -3806,10 +3806,10 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
|
|
|
3806
3806
|
class: "icon",
|
|
3807
3807
|
"aria-hidden": "true"
|
|
3808
3808
|
})) : F("", !0),
|
|
3809
|
-
|
|
3810
|
-
e.title ? (g(), y("strong", ao,
|
|
3811
|
-
|
|
3812
|
-
re(
|
|
3809
|
+
b("div", lo, [
|
|
3810
|
+
e.title ? (g(), y("strong", ao, O(e.title), 1)) : F("", !0),
|
|
3811
|
+
C(i.$slots, "default", {}, () => [
|
|
3812
|
+
re(O(e.text), 1)
|
|
3813
3813
|
])
|
|
3814
3814
|
])
|
|
3815
3815
|
]),
|
|
@@ -3821,7 +3821,7 @@ const to = { name: "material-symbols-info-outline", render: eo }, io = ["id", "d
|
|
|
3821
3821
|
onClick: n[0] || (n[0] = (l) => t("click"))
|
|
3822
3822
|
}, {
|
|
3823
3823
|
default: q(() => [
|
|
3824
|
-
re(
|
|
3824
|
+
re(O(e.action), 1)
|
|
3825
3825
|
]),
|
|
3826
3826
|
_: 1
|
|
3827
3827
|
}, 8, ["id"])) : F("", !0)
|
|
@@ -3835,7 +3835,7 @@ const so = {
|
|
|
3835
3835
|
viewBox: "0 0 24 24",
|
|
3836
3836
|
width: "1em",
|
|
3837
3837
|
height: "1em"
|
|
3838
|
-
}, oo = /* @__PURE__ */
|
|
3838
|
+
}, oo = /* @__PURE__ */ b("path", {
|
|
3839
3839
|
fill: "currentColor",
|
|
3840
3840
|
d: "M12 14.975q-.2 0-.387-.075q-.188-.075-.313-.2l-4.6-4.6q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7l-4.6 4.6q-.15.15-.325.212q-.175.063-.375.063Z"
|
|
3841
3841
|
}, null, -1), uo = [
|
|
@@ -3856,20 +3856,20 @@ const In = { name: "material-symbols-keyboard-arrow-down-rounded", render: ro },
|
|
|
3856
3856
|
return (t, i) => (g(), y("details", {
|
|
3857
3857
|
id: `accordion-${e.id}`,
|
|
3858
3858
|
"data-testid": `accordion-${e.id}`,
|
|
3859
|
-
class:
|
|
3859
|
+
class: B(["sol-accordion-core", { "-on-color": e.onColor, "-disabled": e.disabled }]),
|
|
3860
3860
|
"aria-disabled": e.disabled
|
|
3861
3861
|
}, [
|
|
3862
|
-
|
|
3862
|
+
b("summary", {
|
|
3863
3863
|
"data-testid": `accordion-title-${e.id}`,
|
|
3864
3864
|
class: "summary",
|
|
3865
3865
|
tabindex: e.disabled ? -1 : 0
|
|
3866
3866
|
}, [
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3867
|
+
b("div", Mo, [
|
|
3868
|
+
b("span", mo, [
|
|
3869
|
+
C(t.$slots, "icon")
|
|
3870
3870
|
]),
|
|
3871
|
-
|
|
3872
|
-
re(
|
|
3871
|
+
C(t.$slots, "title", {}, () => [
|
|
3872
|
+
re(O(e.title), 1)
|
|
3873
3873
|
])
|
|
3874
3874
|
]),
|
|
3875
3875
|
_(u(In), {
|
|
@@ -3877,11 +3877,11 @@ const In = { name: "material-symbols-keyboard-arrow-down-rounded", render: ro },
|
|
|
3877
3877
|
"aria-hidden": "true"
|
|
3878
3878
|
})
|
|
3879
3879
|
], 8, Io),
|
|
3880
|
-
|
|
3880
|
+
b("div", {
|
|
3881
3881
|
"data-testid": `accordion-content-${e.id}`,
|
|
3882
3882
|
class: "accordion-content"
|
|
3883
3883
|
}, [
|
|
3884
|
-
|
|
3884
|
+
C(t.$slots, "default")
|
|
3885
3885
|
], 8, go)
|
|
3886
3886
|
], 10, co));
|
|
3887
3887
|
}
|
|
@@ -3902,18 +3902,18 @@ const No = ["id", "data-testid", "disabled", "aria-selected"], jo = { class: "ic
|
|
|
3902
3902
|
id: `tab-item-${e.id}`,
|
|
3903
3903
|
"data-testid": `tab-item-${e.id}`,
|
|
3904
3904
|
role: "tab",
|
|
3905
|
-
class:
|
|
3905
|
+
class: B(["tab-item-core", { "-selected": e.active, "-disabled": e.disabled }]),
|
|
3906
3906
|
disabled: e.disabled,
|
|
3907
3907
|
type: "button",
|
|
3908
3908
|
tabindex: "-1",
|
|
3909
3909
|
"aria-selected": e.active
|
|
3910
3910
|
}, [
|
|
3911
|
-
|
|
3912
|
-
|
|
3911
|
+
b("div", jo, [
|
|
3912
|
+
C(t.$slots, "icon")
|
|
3913
3913
|
]),
|
|
3914
|
-
|
|
3914
|
+
b("span", {
|
|
3915
3915
|
class: "label",
|
|
3916
|
-
textContent:
|
|
3916
|
+
textContent: O(e.label)
|
|
3917
3917
|
}, null, 8, yo)
|
|
3918
3918
|
], 10, No));
|
|
3919
3919
|
}
|
|
@@ -3942,51 +3942,59 @@ const fo = ["id", "data-testid"], bo = ["data-testid"], Jt = /* @__PURE__ */ J({
|
|
|
3942
3942
|
ArrowLeft: () => s({ to: "PREVIOUS", query: o }),
|
|
3943
3943
|
ArrowRight: () => s({ to: "NEXT", query: o })
|
|
3944
3944
|
});
|
|
3945
|
-
function c(
|
|
3946
|
-
if (
|
|
3945
|
+
function c(N, I) {
|
|
3946
|
+
if (I)
|
|
3947
3947
|
return;
|
|
3948
|
-
const
|
|
3949
|
-
t("update:tabList",
|
|
3948
|
+
const d = i.tabList.map((v, Z) => ({ ...v, active: Z === N }));
|
|
3949
|
+
t("update:tabList", d);
|
|
3950
|
+
}
|
|
3951
|
+
function M() {
|
|
3952
|
+
if (!i.tabList.some(({ disabled: I, active: d }) => !I && d)) {
|
|
3953
|
+
const I = i.tabList.findIndex(({ disabled: v }) => !v), d = i.tabList.map((v, Z) => Z === I ? { ...v, active: !0 } : v);
|
|
3954
|
+
t("update:tabList", d);
|
|
3955
|
+
}
|
|
3950
3956
|
}
|
|
3951
|
-
return (
|
|
3957
|
+
return Fe(() => {
|
|
3958
|
+
M();
|
|
3959
|
+
}), (N, I) => (g(), y("div", {
|
|
3952
3960
|
id: `tabs-${e.id}`,
|
|
3953
3961
|
"data-testid": `tabs-${e.id}`,
|
|
3954
3962
|
class: "sol-tabs-core",
|
|
3955
3963
|
tabindex: "0",
|
|
3956
|
-
onKeyupPassive:
|
|
3964
|
+
onKeyupPassive: I[0] || (I[0] = (...d) => u(r) && u(r)(...d))
|
|
3957
3965
|
}, [
|
|
3958
|
-
|
|
3966
|
+
b("div", {
|
|
3959
3967
|
ref_key: "tabs",
|
|
3960
3968
|
ref: n,
|
|
3961
3969
|
role: "tablist",
|
|
3962
|
-
class:
|
|
3970
|
+
class: B(["tabs-header", { "-only-line": e.onlyLine }])
|
|
3963
3971
|
}, [
|
|
3964
|
-
(g(!0), y(Ae, null, he(e.tabList, ({ label:
|
|
3965
|
-
id: `${e.id}-${
|
|
3966
|
-
key: `tab-item-${
|
|
3967
|
-
label:
|
|
3968
|
-
active:
|
|
3969
|
-
disabled:
|
|
3970
|
-
"data-interactive": !
|
|
3971
|
-
onClick: (
|
|
3972
|
+
(g(!0), y(Ae, null, he(e.tabList, ({ label: d, active: v, disabled: Z }, p) => (g(), ee(vo, {
|
|
3973
|
+
id: `${e.id}-${p}`,
|
|
3974
|
+
key: `tab-item-${p}`,
|
|
3975
|
+
label: d,
|
|
3976
|
+
active: v,
|
|
3977
|
+
disabled: Z,
|
|
3978
|
+
"data-interactive": !Z,
|
|
3979
|
+
onClick: (L) => c(p, v),
|
|
3972
3980
|
onKeyup: [
|
|
3973
|
-
De(Ne((
|
|
3974
|
-
De(Ne((
|
|
3981
|
+
De(Ne((L) => c(p, v), ["self"]), ["enter"]),
|
|
3982
|
+
De(Ne((L) => c(p, v), ["self"]), ["space"])
|
|
3975
3983
|
]
|
|
3976
3984
|
}, {
|
|
3977
3985
|
icon: q(() => [
|
|
3978
|
-
|
|
3986
|
+
C(N.$slots, `icon:${p + 1}`)
|
|
3979
3987
|
]),
|
|
3980
3988
|
_: 2
|
|
3981
3989
|
}, 1032, ["id", "label", "active", "disabled", "data-interactive", "onClick", "onKeyup"]))), 128))
|
|
3982
3990
|
], 2),
|
|
3983
|
-
(g(!0), y(Ae, null, he(e.tabList, ({ active:
|
|
3984
|
-
key: `tab-content-${
|
|
3985
|
-
"data-testid": `tab-content-${e.id}-${
|
|
3991
|
+
(g(!0), y(Ae, null, he(e.tabList, ({ active: d }, v) => Ce((g(), y("div", {
|
|
3992
|
+
key: `tab-content-${v}`,
|
|
3993
|
+
"data-testid": `tab-content-${e.id}-${v}`
|
|
3986
3994
|
}, [
|
|
3987
|
-
|
|
3995
|
+
C(N.$slots, `tab:${v + 1}`)
|
|
3988
3996
|
], 8, bo)), [
|
|
3989
|
-
[Pe,
|
|
3997
|
+
[Pe, d]
|
|
3990
3998
|
])), 128))
|
|
3991
3999
|
], 40, fo));
|
|
3992
4000
|
}
|
|
@@ -3994,7 +4002,7 @@ const fo = ["id", "data-testid"], bo = ["data-testid"], Jt = /* @__PURE__ */ J({
|
|
|
3994
4002
|
Jt.install = (e) => {
|
|
3995
4003
|
e.component("SolTabs", Jt);
|
|
3996
4004
|
};
|
|
3997
|
-
const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "data-testid", "aria-labelledby"],
|
|
4005
|
+
const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "data-testid", "aria-labelledby"], at = /* @__PURE__ */ J({
|
|
3998
4006
|
__name: "Menu",
|
|
3999
4007
|
props: {
|
|
4000
4008
|
id: null,
|
|
@@ -4032,15 +4040,15 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
|
|
|
4032
4040
|
function d() {
|
|
4033
4041
|
i.value ? N() : I();
|
|
4034
4042
|
}
|
|
4035
|
-
return (
|
|
4043
|
+
return (v, Z) => (g(), y("div", {
|
|
4036
4044
|
id: `menu-${e.id}`,
|
|
4037
4045
|
ref_key: "el",
|
|
4038
4046
|
ref: t,
|
|
4039
4047
|
"data-testid": `menu-${e.id}`,
|
|
4040
|
-
class:
|
|
4041
|
-
onKeyupPassive: Z[0] || (Z[0] = (...
|
|
4048
|
+
class: B([`-${e.position}`, "sol-menu-core"]),
|
|
4049
|
+
onKeyupPassive: Z[0] || (Z[0] = (...p) => u(M) && u(M)(...p))
|
|
4042
4050
|
}, [
|
|
4043
|
-
|
|
4051
|
+
C(v.$slots, "trigger", {
|
|
4044
4052
|
id: `menu-button-${e.id}`,
|
|
4045
4053
|
toggle: d,
|
|
4046
4054
|
isOpen: i.value,
|
|
@@ -4051,7 +4059,7 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
|
|
|
4051
4059
|
ariaExpanded: i.value
|
|
4052
4060
|
}
|
|
4053
4061
|
}, () => [
|
|
4054
|
-
|
|
4062
|
+
b("button", {
|
|
4055
4063
|
id: `menu-button-${e.id}`,
|
|
4056
4064
|
type: "button",
|
|
4057
4065
|
role: "menuitem",
|
|
@@ -4060,21 +4068,21 @@ const ho = ["id", "data-testid"], Do = ["id", "aria-expanded"], So = ["id", "dat
|
|
|
4060
4068
|
"aria-expanded": i.value,
|
|
4061
4069
|
onClick: d
|
|
4062
4070
|
}, [
|
|
4063
|
-
|
|
4064
|
-
re(
|
|
4071
|
+
C(v.$slots, "label", { isOpen: i.value }, () => [
|
|
4072
|
+
re(O(e.label), 1)
|
|
4065
4073
|
])
|
|
4066
4074
|
], 8, Do)
|
|
4067
4075
|
]),
|
|
4068
|
-
Ce(
|
|
4076
|
+
Ce(b("menu", {
|
|
4069
4077
|
id: `menu-container-${e.id}`,
|
|
4070
4078
|
ref_key: "menu",
|
|
4071
4079
|
ref: n,
|
|
4072
4080
|
"data-testid": `menu-container-${e.id}`,
|
|
4073
4081
|
role: "menu",
|
|
4074
4082
|
"aria-labelledby": `menu-button-${e.id}`,
|
|
4075
|
-
class:
|
|
4083
|
+
class: B(["menu", { "-open": i.value }])
|
|
4076
4084
|
}, [
|
|
4077
|
-
|
|
4085
|
+
C(v.$slots, "default", { close: N })
|
|
4078
4086
|
], 10, So), [
|
|
4079
4087
|
[Pe, i.value]
|
|
4080
4088
|
])
|
|
@@ -4093,21 +4101,21 @@ const Ao = ["itemprop"], xo = /* @__PURE__ */ J({
|
|
|
4093
4101
|
},
|
|
4094
4102
|
setup(e) {
|
|
4095
4103
|
return (t, i) => (g(), y("p", {
|
|
4096
|
-
class:
|
|
4104
|
+
class: B(["text-property-value", `-${e.align}`])
|
|
4097
4105
|
}, [
|
|
4098
|
-
|
|
4099
|
-
class:
|
|
4106
|
+
b("span", {
|
|
4107
|
+
class: B(["property", { "-hide": e.hide }])
|
|
4100
4108
|
}, [
|
|
4101
|
-
|
|
4102
|
-
re(
|
|
4109
|
+
C(t.$slots, "property", {}, () => [
|
|
4110
|
+
re(O(e.property), 1)
|
|
4103
4111
|
])
|
|
4104
4112
|
], 2),
|
|
4105
|
-
|
|
4113
|
+
b("span", {
|
|
4106
4114
|
itemprop: e.itemProp,
|
|
4107
|
-
class:
|
|
4115
|
+
class: B(["value", { "-highlight": e.isHighlightValue }])
|
|
4108
4116
|
}, [
|
|
4109
|
-
|
|
4110
|
-
re(
|
|
4117
|
+
C(t.$slots, "value", {}, () => [
|
|
4118
|
+
re(O(e.value), 1)
|
|
4111
4119
|
])
|
|
4112
4120
|
], 10, Ao)
|
|
4113
4121
|
], 2));
|
|
@@ -4158,7 +4166,7 @@ const wo = ["id", "data-testid"], Zo = {
|
|
|
4158
4166
|
return (c, M) => (g(), y("li", {
|
|
4159
4167
|
id: `listitem-${e.id}-${e.itemIndex}`,
|
|
4160
4168
|
"data-testid": `listitem-${e.id}-${e.itemIndex}`,
|
|
4161
|
-
class:
|
|
4169
|
+
class: B(["list-item", { "-selected": e.isSelected }]),
|
|
4162
4170
|
tabindex: "-1",
|
|
4163
4171
|
onClick: M[3] || (M[3] = Ne((N) => t("listitem:click"), ["self"])),
|
|
4164
4172
|
onKeyup: [
|
|
@@ -4176,59 +4184,59 @@ const wo = ["id", "data-testid"], Zo = {
|
|
|
4176
4184
|
]
|
|
4177
4185
|
}, [
|
|
4178
4186
|
s(I) ? (g(), y("div", Zo, [
|
|
4179
|
-
|
|
4187
|
+
C(c.$slots, "selectable", {
|
|
4180
4188
|
data: e.data,
|
|
4181
4189
|
index: e.itemIndex,
|
|
4182
4190
|
label: `${e.data[N[0]]}`
|
|
4183
4191
|
})
|
|
4184
4192
|
])) : F("", !0),
|
|
4185
4193
|
o(I) ? (g(), y("div", To, [
|
|
4186
|
-
|
|
4194
|
+
C(c.$slots, "image", { data: e.data })
|
|
4187
4195
|
])) : F("", !0),
|
|
4188
|
-
(g(!0), y(Ae, null, he(N, (d,
|
|
4189
|
-
key:
|
|
4196
|
+
(g(!0), y(Ae, null, he(N, (d, v) => (g(), y("div", {
|
|
4197
|
+
key: v,
|
|
4190
4198
|
style: Nt(`${e.setFixedColumnSize(d)}`),
|
|
4191
4199
|
class: "column-item",
|
|
4192
4200
|
"data-testid": `listitem-column-${e.id}-${e.itemIndex}-${d}`
|
|
4193
4201
|
}, [
|
|
4194
|
-
|
|
4202
|
+
C(c.$slots, `column:${d}`, {
|
|
4195
4203
|
data: { key: d, value: e.data[d] },
|
|
4196
4204
|
index: e.itemIndex,
|
|
4197
|
-
columnIndex:
|
|
4205
|
+
columnIndex: v,
|
|
4198
4206
|
renderHeader: e.renderHeader,
|
|
4199
4207
|
headers: e.headers
|
|
4200
4208
|
}, () => {
|
|
4201
|
-
var Z,
|
|
4209
|
+
var Z, p, L, z;
|
|
4202
4210
|
return [
|
|
4203
4211
|
_(xo, {
|
|
4204
4212
|
"data-testid": `listitem-${e.id}-${e.itemIndex}-${d}`,
|
|
4205
4213
|
"item-prop": d,
|
|
4206
|
-
hide: (
|
|
4207
|
-
align: (z = (
|
|
4214
|
+
hide: (p = (Z = e.headers) == null ? void 0 : Z[d]) == null ? void 0 : p.hide,
|
|
4215
|
+
align: (z = (L = e.headers) == null ? void 0 : L[d]) == null ? void 0 : z.align,
|
|
4208
4216
|
"is-highlight-value": e.isHighlight({ key: d })
|
|
4209
4217
|
}, {
|
|
4210
4218
|
property: q(() => [
|
|
4211
|
-
|
|
4219
|
+
C(c.$slots, `header:${d}`, {
|
|
4212
4220
|
data: {
|
|
4213
4221
|
key: d,
|
|
4214
4222
|
value: e.data[d]
|
|
4215
4223
|
},
|
|
4216
4224
|
index: I,
|
|
4217
|
-
columnIndex:
|
|
4225
|
+
columnIndex: v,
|
|
4218
4226
|
renderHeader: e.renderHeader,
|
|
4219
4227
|
headers: e.headers
|
|
4220
4228
|
}, () => [
|
|
4221
|
-
re(
|
|
4229
|
+
re(O(e.renderHeader(d)), 1)
|
|
4222
4230
|
])
|
|
4223
4231
|
]),
|
|
4224
4232
|
value: q(() => [
|
|
4225
|
-
|
|
4233
|
+
C(c.$slots, `value:${d}`, {
|
|
4226
4234
|
data: { key: d, value: e.data[d] },
|
|
4227
4235
|
index: I,
|
|
4228
|
-
columnIndex:
|
|
4236
|
+
columnIndex: v,
|
|
4229
4237
|
isHighlight: e.isHighlight
|
|
4230
4238
|
}, () => [
|
|
4231
|
-
re(
|
|
4239
|
+
re(O(a(e.data[d])), 1)
|
|
4232
4240
|
])
|
|
4233
4241
|
]),
|
|
4234
4242
|
_: 2
|
|
@@ -4237,7 +4245,8 @@ const wo = ["id", "data-testid"], Zo = {
|
|
|
4237
4245
|
})
|
|
4238
4246
|
], 12, zo))), 128)),
|
|
4239
4247
|
r(I, 0) ? (g(), y("div", Lo, [
|
|
4240
|
-
|
|
4248
|
+
C(c.$slots, "action-button", {
|
|
4249
|
+
data: e.data,
|
|
4241
4250
|
arias: {
|
|
4242
4251
|
testid: `list-row-action-${e.id}-${e.itemIndex}`,
|
|
4243
4252
|
data: e.data,
|
|
@@ -4254,7 +4263,7 @@ const Go = {
|
|
|
4254
4263
|
viewBox: "0 0 24 24",
|
|
4255
4264
|
width: "1em",
|
|
4256
4265
|
height: "1em"
|
|
4257
|
-
}, po = /* @__PURE__ */
|
|
4266
|
+
}, po = /* @__PURE__ */ b("path", {
|
|
4258
4267
|
fill: "currentColor",
|
|
4259
4268
|
d: "M12 20q-.825 0-1.412-.587Q10 18.825 10 18q0-.825.588-1.413Q11.175 16 12 16t1.413.587Q14 17.175 14 18q0 .825-.587 1.413Q12.825 20 12 20Zm0-6q-.825 0-1.412-.588Q10 12.825 10 12t.588-1.413Q11.175 10 12 10t1.413.587Q14 11.175 14 12q0 .825-.587 1.412Q12.825 14 12 14Zm0-6q-.825 0-1.412-.588Q10 6.825 10 6t.588-1.412Q11.175 4 12 4t1.413.588Q14 5.175 14 6t-.587 1.412Q12.825 8 12 8Z"
|
|
4260
4269
|
}, null, -1), Eo = [
|
|
@@ -4282,75 +4291,75 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4282
4291
|
setup(e, { expose: t, emit: i }) {
|
|
4283
4292
|
var de;
|
|
4284
4293
|
const n = e, l = ht(), a = x(() => !!(l != null && l.menu)), s = x(() => !!(l != null && l.image)), o = ka("(min-width: 1024px)"), r = x(() => {
|
|
4285
|
-
var T,
|
|
4286
|
-
return (
|
|
4294
|
+
var T, h, S;
|
|
4295
|
+
return (h = (T = n.sortPositions) == null ? void 0 : T.mobile) != null && h.length ? (S = n.sortPositions) == null ? void 0 : S.mobile : N();
|
|
4287
4296
|
}), c = x(() => {
|
|
4288
4297
|
var T;
|
|
4289
4298
|
return (T = n.sortPositions) != null && T.desktop.length ? n.sortPositions.desktop : Object.keys(n.data[0]);
|
|
4290
4299
|
}), M = x(() => o.value ? [c.value] : r.value);
|
|
4291
4300
|
function N() {
|
|
4292
|
-
return Object.keys(n.data[0]).reduce((
|
|
4301
|
+
return Object.keys(n.data[0]).reduce((h, S, P) => {
|
|
4293
4302
|
if (P === 0)
|
|
4294
|
-
return
|
|
4303
|
+
return h = [[S]];
|
|
4295
4304
|
if (P === 1)
|
|
4296
|
-
return
|
|
4297
|
-
const
|
|
4298
|
-
return Array.isArray(
|
|
4305
|
+
return h = [...h, [S]];
|
|
4306
|
+
const U = h == null ? void 0 : h.length, k = h == null ? void 0 : h[U - 1];
|
|
4307
|
+
return Array.isArray(k) && (k == null ? void 0 : k.length) < 2 ? (h[U - 1] = [...k, S], h) : h = [...h, [S]];
|
|
4299
4308
|
}, []);
|
|
4300
4309
|
}
|
|
4301
4310
|
function I(T) {
|
|
4302
|
-
var
|
|
4303
|
-
return (
|
|
4311
|
+
var h, S;
|
|
4312
|
+
return (S = n.headers && ((h = n.headers[T]) == null ? void 0 : h.text)) != null ? S : T;
|
|
4304
4313
|
}
|
|
4305
4314
|
function d(T) {
|
|
4306
|
-
var
|
|
4307
|
-
if ((
|
|
4308
|
-
if (((P = (
|
|
4309
|
-
return `--basis-width: ${(
|
|
4310
|
-
if (((ve = (
|
|
4315
|
+
var h, S, P, U, k, V, ve, A, X;
|
|
4316
|
+
if ((h = n.headers) != null && h[T]) {
|
|
4317
|
+
if (((P = (S = n.headers) == null ? void 0 : S[T]) == null ? void 0 : P.width) && o.value)
|
|
4318
|
+
return `--basis-width: ${(k = (U = n.headers) == null ? void 0 : U[T]) == null ? void 0 : k.width}; --shrink: 0;`;
|
|
4319
|
+
if (((ve = (V = n.headers) == null ? void 0 : V[T]) == null ? void 0 : ve.mobileWidth) && !o.value)
|
|
4311
4320
|
return `--basis-width: ${(X = (A = n.headers) == null ? void 0 : A[T]) == null ? void 0 : X.mobileWidth}; --shrink: 0;`;
|
|
4312
4321
|
}
|
|
4313
4322
|
}
|
|
4314
|
-
function
|
|
4315
|
-
var
|
|
4316
|
-
return
|
|
4323
|
+
function v({ key: T, value: h }) {
|
|
4324
|
+
var S, P;
|
|
4325
|
+
return h ? !0 : T ? !!((P = (S = n.headers) == null ? void 0 : S[T]) != null && P.highlight) : !1;
|
|
4317
4326
|
}
|
|
4318
|
-
const Z = R(),
|
|
4327
|
+
const Z = R(), p = [
|
|
4319
4328
|
"[data-interactive] input",
|
|
4320
4329
|
"[data-interactive-element]",
|
|
4321
4330
|
"[data-interactive] button"
|
|
4322
4331
|
], {
|
|
4323
|
-
elementFocus:
|
|
4332
|
+
elementFocus: L,
|
|
4324
4333
|
focusInsideRow: z,
|
|
4325
|
-
focusOnFirstItem:
|
|
4326
|
-
focusOnLastItem:
|
|
4334
|
+
focusOnFirstItem: f,
|
|
4335
|
+
focusOnLastItem: D,
|
|
4327
4336
|
focusOnNextItem: G,
|
|
4328
4337
|
focusOnPreviousItem: w,
|
|
4329
4338
|
resetStateFocus: Y
|
|
4330
|
-
} = At({ target: Z }), { navigate:
|
|
4331
|
-
Home:
|
|
4332
|
-
End: () =>
|
|
4339
|
+
} = At({ target: Z }), { navigate: W } = Oe({
|
|
4340
|
+
Home: f,
|
|
4341
|
+
End: () => D(n.data.length),
|
|
4333
4342
|
ArrowUp: () => !te() && w(),
|
|
4334
4343
|
ArrowDown: () => !te() && G(n.data.length),
|
|
4335
|
-
ArrowLeft: () =>
|
|
4336
|
-
ArrowRight: () =>
|
|
4344
|
+
ArrowLeft: () => L.id && z({ to: "LEFT", query: p }),
|
|
4345
|
+
ArrowRight: () => L.id && z({ to: "RIGHT", query: p })
|
|
4337
4346
|
}, {
|
|
4338
4347
|
fallback: Y,
|
|
4339
4348
|
exclude: ["Enter", "NumpadEnter", "Space"]
|
|
4340
4349
|
});
|
|
4341
4350
|
function te() {
|
|
4342
|
-
var T,
|
|
4351
|
+
var T, h;
|
|
4343
4352
|
if (document.activeElement && ((T = document.activeElement) == null ? void 0 : T.role)) {
|
|
4344
|
-
const
|
|
4345
|
-
return
|
|
4353
|
+
const S = document.activeElement.role, P = (h = document.activeElement) == null ? void 0 : h.parentElement;
|
|
4354
|
+
return S === "menuitem" ? !0 : !!(() => S === "none" && (P == null ? void 0 : P.role) && ["menuitem", "menu"].includes(P.role))();
|
|
4346
4355
|
}
|
|
4347
4356
|
return !1;
|
|
4348
4357
|
}
|
|
4349
4358
|
const $ = R((de = n == null ? void 0 : n.selected) != null ? de : {});
|
|
4350
4359
|
function le(T) {
|
|
4351
4360
|
if (Array.isArray($.value) ? $.value.length : Object.keys($.value).length) {
|
|
4352
|
-
const
|
|
4353
|
-
return n.selectMode && n.selectMode === "checkbox" && Array.isArray($.value) ? $.value.findIndex((
|
|
4361
|
+
const S = n.dataIdentifier.key, P = T[S];
|
|
4362
|
+
return n.selectMode && n.selectMode === "checkbox" && Array.isArray($.value) ? $.value.findIndex((k) => k[S] === P) >= 0 : $.value[S] === P;
|
|
4354
4363
|
}
|
|
4355
4364
|
return !1;
|
|
4356
4365
|
}
|
|
@@ -4358,16 +4367,16 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4358
4367
|
$.value = T, i("listitem:selected", T), i("update:selected", $.value);
|
|
4359
4368
|
}
|
|
4360
4369
|
function ce(T) {
|
|
4361
|
-
const
|
|
4362
|
-
$.value =
|
|
4370
|
+
const h = n.dataIdentifier.key, S = T[h], P = Array.isArray($.value) ? $.value : [], U = le(T) ? P == null ? void 0 : P.filter((k) => k[h] !== S) : ge(T);
|
|
4371
|
+
$.value = U, i("listitem:selected", T), i("update:selected", $.value);
|
|
4363
4372
|
}
|
|
4364
4373
|
function ge(T) {
|
|
4365
|
-
var
|
|
4374
|
+
var h;
|
|
4366
4375
|
if (Array.isArray($.value)) {
|
|
4367
|
-
const
|
|
4368
|
-
(
|
|
4376
|
+
const S = n.dataIdentifier.key, P = $.value.findIndex(
|
|
4377
|
+
(U) => U[S] === T[S]
|
|
4369
4378
|
);
|
|
4370
|
-
return P === -1 ? [...$.value, T] : (
|
|
4379
|
+
return P === -1 ? [...$.value, T] : (h = $.value) == null ? void 0 : h.filter((U, k) => k !== P);
|
|
4371
4380
|
}
|
|
4372
4381
|
return [T];
|
|
4373
4382
|
}
|
|
@@ -4385,7 +4394,7 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4385
4394
|
return t({
|
|
4386
4395
|
unselectAll: ae,
|
|
4387
4396
|
selectAll: ye
|
|
4388
|
-
}), (T,
|
|
4397
|
+
}), (T, h) => (g(), y("ul", {
|
|
4389
4398
|
id: `list-${e.id}`,
|
|
4390
4399
|
ref_key: "list",
|
|
4391
4400
|
ref: Z,
|
|
@@ -4394,66 +4403,66 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4394
4403
|
"aria-label": e.ariaLabel,
|
|
4395
4404
|
tabindex: "0",
|
|
4396
4405
|
itemscope: "",
|
|
4397
|
-
onKeyupPassive:
|
|
4406
|
+
onKeyupPassive: h[0] || (h[0] = (...S) => u(W) && u(W)(...S))
|
|
4398
4407
|
}, [
|
|
4399
|
-
(g(!0), y(Ae, null, he(e.data, (
|
|
4408
|
+
(g(!0), y(Ae, null, he(e.data, (S, P) => (g(), ee(Co, {
|
|
4400
4409
|
id: e.id,
|
|
4401
4410
|
key: P,
|
|
4402
4411
|
headers: e.headers,
|
|
4403
|
-
data:
|
|
4412
|
+
data: S,
|
|
4404
4413
|
"item-index": P,
|
|
4405
|
-
"is-selected": le(
|
|
4414
|
+
"is-selected": le(S),
|
|
4406
4415
|
"sort-positions": u(M),
|
|
4407
4416
|
"fallback-value": e.fallbackValue,
|
|
4408
4417
|
"has-image": u(s),
|
|
4409
4418
|
"has-menu": u(a),
|
|
4410
4419
|
"render-header": I,
|
|
4411
|
-
"is-highlight":
|
|
4420
|
+
"is-highlight": v,
|
|
4412
4421
|
"set-fixed-column-size": d,
|
|
4413
|
-
"onListitem:click": (
|
|
4422
|
+
"onListitem:click": (U) => i("listitem:click", { ...S, index: P })
|
|
4414
4423
|
}, An({
|
|
4415
|
-
selectable: q(({ data:
|
|
4416
|
-
var
|
|
4424
|
+
selectable: q(({ data: U, label: k }) => {
|
|
4425
|
+
var V, ve, A, X, se, pe;
|
|
4417
4426
|
return [
|
|
4418
4427
|
e.selectMode === "checkbox" ? (g(), ee(Xe, {
|
|
4419
4428
|
key: 0,
|
|
4420
|
-
id: `listitem-${
|
|
4429
|
+
id: `listitem-${U[(V = e.dataIdentifier) == null ? void 0 : V.key]}`,
|
|
4421
4430
|
"hide-label": !0,
|
|
4422
|
-
label:
|
|
4423
|
-
checked: le(
|
|
4424
|
-
value: `${
|
|
4431
|
+
label: k,
|
|
4432
|
+
checked: le(S),
|
|
4433
|
+
value: `${U[(ve = e.dataIdentifier) == null ? void 0 : ve.key]}`,
|
|
4425
4434
|
name: (A = e.dataIdentifier.inputName) != null ? A : e.id,
|
|
4426
|
-
onChange: (xe) => ce(
|
|
4435
|
+
onChange: (xe) => ce(U)
|
|
4427
4436
|
}, null, 8, ["id", "label", "checked", "value", "name", "onChange"])) : F("", !0),
|
|
4428
|
-
e.selectMode === "radio" ? (g(), ee(
|
|
4437
|
+
e.selectMode === "radio" ? (g(), ee(lt, {
|
|
4429
4438
|
key: 1,
|
|
4430
|
-
id: `listitem-${
|
|
4439
|
+
id: `listitem-${U[(X = e.dataIdentifier) == null ? void 0 : X.key]}`,
|
|
4431
4440
|
"hide-label": !0,
|
|
4432
|
-
label:
|
|
4433
|
-
checked: le(
|
|
4434
|
-
value: `${
|
|
4441
|
+
label: k,
|
|
4442
|
+
checked: le(S),
|
|
4443
|
+
value: `${U[(se = e.dataIdentifier) == null ? void 0 : se.key]}`,
|
|
4435
4444
|
name: (pe = e.dataIdentifier.inputName) != null ? pe : e.id,
|
|
4436
|
-
onChange: (xe) => ue(
|
|
4445
|
+
onChange: (xe) => ue(U)
|
|
4437
4446
|
}, null, 8, ["id", "label", "checked", "value", "name", "onChange"])) : F("", !0)
|
|
4438
4447
|
];
|
|
4439
4448
|
}),
|
|
4440
|
-
"action-button": q(({ arias:
|
|
4441
|
-
|
|
4442
|
-
_(
|
|
4449
|
+
"action-button": q(({ arias: U, data: k }) => [
|
|
4450
|
+
C(T.$slots, "action-button", { arias: U }, () => [
|
|
4451
|
+
_(at, {
|
|
4443
4452
|
id: `listitem-${e.id}-${P}`,
|
|
4444
4453
|
position: "left"
|
|
4445
4454
|
}, {
|
|
4446
|
-
trigger: q(({ arias:
|
|
4455
|
+
trigger: q(({ arias: V, id: ve, toggle: A }) => [
|
|
4447
4456
|
_(je, {
|
|
4448
|
-
id:
|
|
4449
|
-
"aria-haspopup":
|
|
4450
|
-
"aria-expanded":
|
|
4451
|
-
role:
|
|
4457
|
+
id: ve,
|
|
4458
|
+
"aria-haspopup": V.ariaHaspopup,
|
|
4459
|
+
"aria-expanded": V.ariaExpanded,
|
|
4460
|
+
role: V.role,
|
|
4452
4461
|
size: "small",
|
|
4453
4462
|
variant: "tertiary",
|
|
4454
|
-
"aria-label":
|
|
4463
|
+
"aria-label": U.ariaLabel,
|
|
4455
4464
|
class: "menu-button-trigger",
|
|
4456
|
-
onClick:
|
|
4465
|
+
onClick: A
|
|
4457
4466
|
}, {
|
|
4458
4467
|
"icon-left": q(() => [
|
|
4459
4468
|
_(u(ko), {
|
|
@@ -4465,7 +4474,7 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4465
4474
|
}, 1032, ["id", "aria-haspopup", "aria-expanded", "role", "aria-label", "onClick"])
|
|
4466
4475
|
]),
|
|
4467
4476
|
default: q(() => [
|
|
4468
|
-
|
|
4477
|
+
C(T.$slots, "menu", { data: k })
|
|
4469
4478
|
]),
|
|
4470
4479
|
_: 2
|
|
4471
4480
|
}, 1032, ["id"])
|
|
@@ -4475,43 +4484,43 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4475
4484
|
}, [
|
|
4476
4485
|
u(s) ? {
|
|
4477
4486
|
name: "image",
|
|
4478
|
-
fn: q(({ data:
|
|
4479
|
-
|
|
4487
|
+
fn: q(({ data: U }) => [
|
|
4488
|
+
C(T.$slots, "image", { data: U })
|
|
4480
4489
|
]),
|
|
4481
4490
|
key: "0"
|
|
4482
4491
|
} : void 0,
|
|
4483
|
-
he(
|
|
4484
|
-
name: `column:${
|
|
4485
|
-
fn: q((
|
|
4486
|
-
|
|
4487
|
-
data:
|
|
4488
|
-
index:
|
|
4492
|
+
he(S, (U, k) => ({
|
|
4493
|
+
name: `column:${k}`,
|
|
4494
|
+
fn: q((V) => [
|
|
4495
|
+
C(T.$slots, `column:${k}`, {
|
|
4496
|
+
data: V.data,
|
|
4497
|
+
index: V.index,
|
|
4489
4498
|
columnIndex: P,
|
|
4490
4499
|
renderHeader: I,
|
|
4491
4500
|
headers: e.headers
|
|
4492
4501
|
})
|
|
4493
4502
|
])
|
|
4494
4503
|
})),
|
|
4495
|
-
he(
|
|
4496
|
-
name: `header:${
|
|
4497
|
-
fn: q((
|
|
4498
|
-
|
|
4499
|
-
data:
|
|
4500
|
-
index:
|
|
4501
|
-
columnIndex:
|
|
4502
|
-
renderHeader:
|
|
4503
|
-
headers:
|
|
4504
|
+
he(S, (U, k) => ({
|
|
4505
|
+
name: `header:${k}`,
|
|
4506
|
+
fn: q((V) => [
|
|
4507
|
+
C(T.$slots, `header:${k}`, {
|
|
4508
|
+
data: V.data,
|
|
4509
|
+
index: V.index,
|
|
4510
|
+
columnIndex: V.columnIndex,
|
|
4511
|
+
renderHeader: V.renderHeader,
|
|
4512
|
+
headers: V.headers
|
|
4504
4513
|
})
|
|
4505
4514
|
])
|
|
4506
4515
|
})),
|
|
4507
|
-
he(
|
|
4508
|
-
name: `value:${
|
|
4509
|
-
fn: q((
|
|
4510
|
-
|
|
4511
|
-
data:
|
|
4512
|
-
index:
|
|
4513
|
-
columnIndex:
|
|
4514
|
-
isHighlight:
|
|
4516
|
+
he(S, (U, k) => ({
|
|
4517
|
+
name: `value:${k}`,
|
|
4518
|
+
fn: q((V) => [
|
|
4519
|
+
C(T.$slots, `value:${k}`, {
|
|
4520
|
+
data: V.data,
|
|
4521
|
+
index: V.index,
|
|
4522
|
+
columnIndex: V.columnIndex,
|
|
4523
|
+
isHighlight: V.isHighlight
|
|
4515
4524
|
})
|
|
4516
4525
|
])
|
|
4517
4526
|
}))
|
|
@@ -4522,8 +4531,8 @@ const ko = { name: "material-symbols-more-vert", render: Po }, Bo = ["id", "data
|
|
|
4522
4531
|
qt.install = (e) => {
|
|
4523
4532
|
e.component("SolList", qt);
|
|
4524
4533
|
};
|
|
4525
|
-
|
|
4526
|
-
e.component("SolMenu",
|
|
4534
|
+
at.install = (e) => {
|
|
4535
|
+
e.component("SolMenu", at);
|
|
4527
4536
|
};
|
|
4528
4537
|
const Oo = ["id"], _t = /* @__PURE__ */ J({
|
|
4529
4538
|
__name: "MenuItem",
|
|
@@ -4543,7 +4552,7 @@ const Oo = ["id"], _t = /* @__PURE__ */ J({
|
|
|
4543
4552
|
n[2] || (n[2] = De((l) => t("clicked"), ["space"]))
|
|
4544
4553
|
]
|
|
4545
4554
|
}, [
|
|
4546
|
-
|
|
4555
|
+
C(i.$slots, "default")
|
|
4547
4556
|
], 40, Oo));
|
|
4548
4557
|
}
|
|
4549
4558
|
});
|
|
@@ -4575,19 +4584,19 @@ const Yo = ["id"], Vo = ["href", "target"], bt = /* @__PURE__ */ J({
|
|
|
4575
4584
|
n[2] || (n[2] = De((a) => t("clicked"), ["space"]))
|
|
4576
4585
|
]
|
|
4577
4586
|
}, [
|
|
4578
|
-
|
|
4587
|
+
C(i.$slots, "default", {
|
|
4579
4588
|
id: (l = e.linkId) != null ? l : e.id,
|
|
4580
4589
|
active: e.active,
|
|
4581
4590
|
link: e.link,
|
|
4582
4591
|
text: e.text,
|
|
4583
4592
|
external: e.external
|
|
4584
4593
|
}, () => [
|
|
4585
|
-
|
|
4594
|
+
b("a", {
|
|
4586
4595
|
role: "menuitem",
|
|
4587
|
-
class:
|
|
4596
|
+
class: B({ "-active": e.active }),
|
|
4588
4597
|
href: e.link,
|
|
4589
4598
|
target: e.external ? "_blank" : "_parent"
|
|
4590
|
-
},
|
|
4599
|
+
}, O(e.text), 11, Vo)
|
|
4591
4600
|
])
|
|
4592
4601
|
], 40, Yo);
|
|
4593
4602
|
};
|
|
@@ -4604,16 +4613,16 @@ const Wo = { class: "label-container" }, Uo = { class: "label" }, Kt = /* @__PUR
|
|
|
4604
4613
|
linkItems: null
|
|
4605
4614
|
},
|
|
4606
4615
|
setup(e) {
|
|
4607
|
-
return (t, i) => (g(), ee(
|
|
4616
|
+
return (t, i) => (g(), ee(at, {
|
|
4608
4617
|
id: `navigation-${e.id}`,
|
|
4609
4618
|
class: "sol-menu-navigation-links-core"
|
|
4610
4619
|
}, {
|
|
4611
4620
|
label: q(({ isOpen: n }) => [
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4621
|
+
C(t.$slots, "label", { isOpen: n }, () => [
|
|
4622
|
+
b("div", Wo, [
|
|
4623
|
+
b("span", Uo, O(e.label), 1),
|
|
4615
4624
|
_(u(In), {
|
|
4616
|
-
class:
|
|
4625
|
+
class: B(["icon", { "-opened": n }]),
|
|
4617
4626
|
"aria-hidden": "true"
|
|
4618
4627
|
}, null, 8, ["class"])
|
|
4619
4628
|
])
|
|
@@ -4635,7 +4644,7 @@ const Wo = { class: "label-container" }, Uo = { class: "label" }, Kt = /* @__PUR
|
|
|
4635
4644
|
default: q(() => {
|
|
4636
4645
|
var o;
|
|
4637
4646
|
return [
|
|
4638
|
-
|
|
4647
|
+
C(t.$slots, "default", {
|
|
4639
4648
|
id: (o = l.id) != null ? o : e.id,
|
|
4640
4649
|
active: l.active,
|
|
4641
4650
|
link: l.link,
|
|
@@ -4663,14 +4672,14 @@ const Ho = (e, t) => {
|
|
|
4663
4672
|
}, $o = {}, Qo = { class: "sol-overlay-core" };
|
|
4664
4673
|
function Xo(e, t) {
|
|
4665
4674
|
return g(), y("div", Qo, [
|
|
4666
|
-
|
|
4675
|
+
C(e.$slots, "default")
|
|
4667
4676
|
]);
|
|
4668
4677
|
}
|
|
4669
4678
|
const Fo = /* @__PURE__ */ Ho($o, [["render", Xo]]), Ro = {
|
|
4670
4679
|
viewBox: "0 0 24 24",
|
|
4671
4680
|
width: "1em",
|
|
4672
4681
|
height: "1em"
|
|
4673
|
-
}, Jo = /* @__PURE__ */
|
|
4682
|
+
}, Jo = /* @__PURE__ */ b("path", {
|
|
4674
4683
|
fill: "currentColor",
|
|
4675
4684
|
d: "M6.4 19L5 17.6l5.6-5.6L5 6.4L6.4 5l5.6 5.6L17.6 5L19 6.4L13.4 12l5.6 5.6l-1.4 1.4l-5.6-5.6Z"
|
|
4676
4685
|
}, null, -1), qo = [
|
|
@@ -4716,16 +4725,16 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4716
4725
|
var z;
|
|
4717
4726
|
return (z = n.isOpen) != null ? z : o.value;
|
|
4718
4727
|
}), M = Oa(document.body), N = x(() => {
|
|
4719
|
-
var
|
|
4720
|
-
const z = (
|
|
4721
|
-
return `-desktop-${z} -mobile-${
|
|
4728
|
+
var D, G;
|
|
4729
|
+
const z = (D = n.size.desktop) != null ? D : "medium", f = (G = n.size.mobile) != null ? G : "full";
|
|
4730
|
+
return `-desktop-${z} -mobile-${f}`;
|
|
4722
4731
|
}), { navigate: I } = Oe({
|
|
4723
4732
|
Escape: d
|
|
4724
4733
|
});
|
|
4725
4734
|
function d() {
|
|
4726
4735
|
o.value = !1, i("close"), i("update:isOpen", !1);
|
|
4727
4736
|
}
|
|
4728
|
-
function
|
|
4737
|
+
function v() {
|
|
4729
4738
|
o.value = !0, i("open"), i("update:isOpen", !0);
|
|
4730
4739
|
}
|
|
4731
4740
|
function Z() {
|
|
@@ -4734,21 +4743,21 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4734
4743
|
`${window.innerHeight}px`
|
|
4735
4744
|
);
|
|
4736
4745
|
}
|
|
4737
|
-
function
|
|
4746
|
+
function p(z) {
|
|
4738
4747
|
Z(), M.value = !!z, z ? setTimeout(() => r.value = !0, 90) : r.value = !1;
|
|
4739
4748
|
}
|
|
4740
|
-
function
|
|
4749
|
+
function L(z, f) {
|
|
4741
4750
|
z && setTimeout(() => {
|
|
4742
|
-
var
|
|
4743
|
-
return (
|
|
4751
|
+
var D;
|
|
4752
|
+
return (D = f == null ? void 0 : f.value) == null ? void 0 : D.focus();
|
|
4744
4753
|
}, 110);
|
|
4745
4754
|
}
|
|
4746
4755
|
return me(c, (z) => {
|
|
4747
|
-
|
|
4756
|
+
p(z), L(z, s);
|
|
4748
4757
|
}, { immediate: !0 }), t({
|
|
4749
4758
|
close: d,
|
|
4750
|
-
open:
|
|
4751
|
-
}), (z,
|
|
4759
|
+
open: v
|
|
4760
|
+
}), (z, f) => (g(), ee(xn, { to: e.target }, [
|
|
4752
4761
|
u(c) ? (g(), ee(Fo, { key: 0 }, {
|
|
4753
4762
|
default: q(() => [
|
|
4754
4763
|
_(ai, {
|
|
@@ -4756,7 +4765,7 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4756
4765
|
mode: "out-in"
|
|
4757
4766
|
}, {
|
|
4758
4767
|
default: q(() => [
|
|
4759
|
-
Ce(
|
|
4768
|
+
Ce(b("div", {
|
|
4760
4769
|
id: l.modal,
|
|
4761
4770
|
ref_key: "modal",
|
|
4762
4771
|
ref: s,
|
|
@@ -4764,20 +4773,20 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4764
4773
|
tabindex: "-1",
|
|
4765
4774
|
role: "alertdialog",
|
|
4766
4775
|
"aria-modal": "true",
|
|
4767
|
-
class:
|
|
4776
|
+
class: B(["sol-modal-core", u(N)]),
|
|
4768
4777
|
"aria-labelledby": l.headerTitle,
|
|
4769
|
-
onKeyupPassive:
|
|
4778
|
+
onKeyupPassive: f[3] || (f[3] = (...D) => u(I) && u(I)(...D))
|
|
4770
4779
|
}, [
|
|
4771
|
-
|
|
4780
|
+
b("header", {
|
|
4772
4781
|
id: l.header,
|
|
4773
4782
|
"data-testid": a.header,
|
|
4774
4783
|
class: "header"
|
|
4775
4784
|
}, [
|
|
4776
|
-
|
|
4785
|
+
b("h2", {
|
|
4777
4786
|
id: l.headerTitle,
|
|
4778
4787
|
"data-testid": a.headerTitle,
|
|
4779
4788
|
class: "title"
|
|
4780
|
-
},
|
|
4789
|
+
}, O(e.title), 9, iu),
|
|
4781
4790
|
_(je, {
|
|
4782
4791
|
id: l.headerClose,
|
|
4783
4792
|
size: "small",
|
|
@@ -4795,11 +4804,11 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4795
4804
|
_: 1
|
|
4796
4805
|
}, 8, ["id"])
|
|
4797
4806
|
], 8, tu),
|
|
4798
|
-
|
|
4799
|
-
|
|
4807
|
+
b("main", nu, [
|
|
4808
|
+
C(z.$slots, "default")
|
|
4800
4809
|
]),
|
|
4801
|
-
|
|
4802
|
-
|
|
4810
|
+
b("footer", lu, [
|
|
4811
|
+
C(z.$slots, "action-tertiary", {
|
|
4803
4812
|
id: l.actionTertiary
|
|
4804
4813
|
}, () => [
|
|
4805
4814
|
e.actionTertiaryText ? (g(), ee(je, {
|
|
@@ -4807,16 +4816,16 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4807
4816
|
id: l.actionTertiary,
|
|
4808
4817
|
variant: "tertiary",
|
|
4809
4818
|
size: "medium",
|
|
4810
|
-
onClick:
|
|
4819
|
+
onClick: f[0] || (f[0] = (D) => i("action:primary"))
|
|
4811
4820
|
}, {
|
|
4812
4821
|
default: q(() => [
|
|
4813
|
-
re(
|
|
4822
|
+
re(O(e.actionTertiaryText), 1)
|
|
4814
4823
|
]),
|
|
4815
4824
|
_: 1
|
|
4816
4825
|
}, 8, ["id"])) : F("", !0)
|
|
4817
4826
|
]),
|
|
4818
|
-
|
|
4819
|
-
|
|
4827
|
+
b("div", au, [
|
|
4828
|
+
C(z.$slots, "action-secondary", {
|
|
4820
4829
|
id: l.actionSecondary
|
|
4821
4830
|
}, () => [
|
|
4822
4831
|
e.actionSecondaryText ? (g(), ee(je, {
|
|
@@ -4824,15 +4833,15 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4824
4833
|
id: l.actionSecondary,
|
|
4825
4834
|
variant: "secondary",
|
|
4826
4835
|
size: "medium",
|
|
4827
|
-
onClick:
|
|
4836
|
+
onClick: f[1] || (f[1] = (D) => i("action:secondary"))
|
|
4828
4837
|
}, {
|
|
4829
4838
|
default: q(() => [
|
|
4830
|
-
re(
|
|
4839
|
+
re(O(e.actionSecondaryText), 1)
|
|
4831
4840
|
]),
|
|
4832
4841
|
_: 1
|
|
4833
4842
|
}, 8, ["id"])) : F("", !0)
|
|
4834
4843
|
]),
|
|
4835
|
-
|
|
4844
|
+
C(z.$slots, "action-primary", {
|
|
4836
4845
|
id: l.actionPrimary
|
|
4837
4846
|
}, () => [
|
|
4838
4847
|
e.actionPrimaryText ? (g(), ee(je, {
|
|
@@ -4840,10 +4849,10 @@ const Ko = { name: "material-symbols-close", render: _o }, eu = ["id", "data-tes
|
|
|
4840
4849
|
id: l.actionPrimary,
|
|
4841
4850
|
size: "medium",
|
|
4842
4851
|
variant: "primary",
|
|
4843
|
-
onClick:
|
|
4852
|
+
onClick: f[2] || (f[2] = (D) => i("action:tertiary"))
|
|
4844
4853
|
}, {
|
|
4845
4854
|
default: q(() => [
|
|
4846
|
-
re(
|
|
4855
|
+
re(O(e.actionPrimaryText), 1)
|
|
4847
4856
|
]),
|
|
4848
4857
|
_: 1
|
|
4849
4858
|
}, 8, ["id"])) : F("", !0)
|
|
@@ -4869,7 +4878,7 @@ const su = {
|
|
|
4869
4878
|
viewBox: "0 0 24 24",
|
|
4870
4879
|
width: "1em",
|
|
4871
4880
|
height: "1em"
|
|
4872
|
-
}, ou = /* @__PURE__ */
|
|
4881
|
+
}, ou = /* @__PURE__ */ b("path", {
|
|
4873
4882
|
fill: "currentColor",
|
|
4874
4883
|
d: "m13.3 17.3l-4.6-4.6q-.15-.15-.212-.325q-.063-.175-.063-.375t.063-.375q.062-.175.212-.325l4.6-4.6q.275-.275.7-.275q.425 0 .7.275q.275.275.275.7q0 .425-.275.7L10.8 12l3.9 3.9q.275.275.275.7q0 .425-.275.7q-.275.275-.7.275q-.425 0-.7-.275Z"
|
|
4875
4884
|
}, null, -1), uu = [
|
|
@@ -4882,7 +4891,7 @@ const cu = { name: "material-symbols-chevron-left-rounded", render: ru }, du = {
|
|
|
4882
4891
|
viewBox: "0 0 24 24",
|
|
4883
4892
|
width: "1em",
|
|
4884
4893
|
height: "1em"
|
|
4885
|
-
}, Iu = /* @__PURE__ */
|
|
4894
|
+
}, Iu = /* @__PURE__ */ b("path", {
|
|
4886
4895
|
fill: "currentColor",
|
|
4887
4896
|
d: "M8.7 17.3q-.275-.275-.275-.7q0-.425.275-.7l3.9-3.9l-3.9-3.9q-.275-.275-.275-.7q0-.425.275-.7q.275-.275.7-.275q.425 0 .7.275l4.6 4.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-4.6 4.6q-.275.275-.7.275q-.425 0-.7-.275Z"
|
|
4888
4897
|
}, null, -1), Mu = [
|
|
@@ -4971,7 +4980,7 @@ const gu = { name: "material-symbols-chevron-right-rounded", render: mu }, Nu =
|
|
|
4971
4980
|
"dropdown-position": e.openMenuPosition,
|
|
4972
4981
|
"onUpdate:selected": M
|
|
4973
4982
|
}, null, 8, ["id", "selected", "options", "size", "dropdown-position"]),
|
|
4974
|
-
|
|
4983
|
+
b("span", ju, "de " + O(s()), 1),
|
|
4975
4984
|
_(je, {
|
|
4976
4985
|
id: `next-page-${e.id}`,
|
|
4977
4986
|
variant: "tertiary",
|
|
@@ -5042,16 +5051,16 @@ const yu = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTU0IDE1NCIgZmlsbD
|
|
|
5042
5051
|
"data-testid": `empty-state-${e.id}`,
|
|
5043
5052
|
class: "sol-empty-state-core"
|
|
5044
5053
|
}, [
|
|
5045
|
-
|
|
5046
|
-
|
|
5054
|
+
b("figure", xu, [
|
|
5055
|
+
b("img", {
|
|
5047
5056
|
src: u(i),
|
|
5048
5057
|
alt: `${n(e.variant)}`
|
|
5049
5058
|
}, null, 8, wu)
|
|
5050
5059
|
]),
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5060
|
+
b("h1", Zu, O(e.title), 1),
|
|
5061
|
+
b("p", Tu, O(e.subtitle), 1),
|
|
5062
|
+
b("div", zu, [
|
|
5063
|
+
C(l.$slots, "button")
|
|
5055
5064
|
])
|
|
5056
5065
|
], 8, Au));
|
|
5057
5066
|
}
|
|
@@ -5085,7 +5094,7 @@ function Lu(e, t) {
|
|
|
5085
5094
|
function s() {
|
|
5086
5095
|
clearInterval(i.intervalId), clearTimeout(i.id), n.value = 100;
|
|
5087
5096
|
}
|
|
5088
|
-
return
|
|
5097
|
+
return Fe(() => {
|
|
5089
5098
|
if (t <= 0)
|
|
5090
5099
|
return !1;
|
|
5091
5100
|
}), li(() => {
|
|
@@ -5147,7 +5156,7 @@ const Gu = {
|
|
|
5147
5156
|
viewBox: "0 0 24 24",
|
|
5148
5157
|
width: "1em",
|
|
5149
5158
|
height: "1em"
|
|
5150
|
-
}, pu = /* @__PURE__ */
|
|
5159
|
+
}, pu = /* @__PURE__ */ b("path", {
|
|
5151
5160
|
fill: "currentColor",
|
|
5152
5161
|
d: "m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4ZM12 22q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Z"
|
|
5153
5162
|
}, null, -1), Eu = [
|
|
@@ -5160,7 +5169,7 @@ const ku = { name: "material-symbols-check-circle", render: Pu }, Bu = {
|
|
|
5160
5169
|
viewBox: "0 0 24 24",
|
|
5161
5170
|
width: "1em",
|
|
5162
5171
|
height: "1em"
|
|
5163
|
-
}, Ou = /* @__PURE__ */
|
|
5172
|
+
}, Ou = /* @__PURE__ */ b("path", {
|
|
5164
5173
|
fill: "currentColor",
|
|
5165
5174
|
d: "m8.4 17l3.6-3.6l3.6 3.6l1.4-1.4l-3.6-3.6L17 8.4L15.6 7L12 10.6L8.4 7L7 8.4l3.6 3.6L7 15.6Zm3.6 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Z"
|
|
5166
5175
|
}, null, -1), Yu = [
|
|
@@ -5173,7 +5182,7 @@ const Wu = { name: "material-symbols-cancel", render: Vu }, Uu = {
|
|
|
5173
5182
|
viewBox: "0 0 24 24",
|
|
5174
5183
|
width: "1em",
|
|
5175
5184
|
height: "1em"
|
|
5176
|
-
}, Hu = /* @__PURE__ */
|
|
5185
|
+
}, Hu = /* @__PURE__ */ b("path", {
|
|
5177
5186
|
fill: "currentColor",
|
|
5178
5187
|
d: "M12 17q.425 0 .713-.288Q13 16.425 13 16t-.287-.713Q12.425 15 12 15t-.712.287Q11 15.575 11 16t.288.712Q11.575 17 12 17Zm0 5q-2.075 0-3.9-.788q-1.825-.787-3.175-2.137q-1.35-1.35-2.137-3.175Q2 14.075 2 12t.788-3.9q.787-1.825 2.137-3.175q1.35-1.35 3.175-2.138Q9.925 2 12 2t3.9.787q1.825.788 3.175 2.138q1.35 1.35 2.137 3.175Q22 9.925 22 12t-.788 3.9q-.787 1.825-2.137 3.175q-1.35 1.35-3.175 2.137Q14.075 22 12 22Zm0-9q.425 0 .713-.288Q13 12.425 13 12V8q0-.425-.287-.713Q12.425 7 12 7t-.712.287Q11 7.575 11 8v4q0 .425.288.712q.287.288.712.288Z"
|
|
5179
5188
|
}, null, -1), $u = [
|
|
@@ -5220,7 +5229,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5220
5229
|
function r() {
|
|
5221
5230
|
i();
|
|
5222
5231
|
}
|
|
5223
|
-
|
|
5232
|
+
Fe(() => {
|
|
5224
5233
|
i();
|
|
5225
5234
|
});
|
|
5226
5235
|
function c() {
|
|
@@ -5239,7 +5248,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5239
5248
|
role: "alert",
|
|
5240
5249
|
"aria-live": "assertive",
|
|
5241
5250
|
style: Nt(u(a)),
|
|
5242
|
-
class:
|
|
5251
|
+
class: B(["sol-toast-core", [`-${e.type} -${e.position}`, { "-multiline": u(s) }]]),
|
|
5243
5252
|
onKeyup: N[0] || (N[0] = De(
|
|
5244
5253
|
(...I) => e.onCloseHandler && e.onCloseHandler(...I),
|
|
5245
5254
|
["esc"]
|
|
@@ -5249,9 +5258,9 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5249
5258
|
onFocusin: o,
|
|
5250
5259
|
onFocusout: r
|
|
5251
5260
|
}, [
|
|
5252
|
-
|
|
5261
|
+
b("section", Ru, [
|
|
5253
5262
|
e.showIcon ? (g(), y("div", Ju, [
|
|
5254
|
-
|
|
5263
|
+
C(M.$slots, "icon-status", { type: e.type }, () => [
|
|
5255
5264
|
e.type === "success" ? (g(), ee(u(ku), {
|
|
5256
5265
|
key: 0,
|
|
5257
5266
|
class: "icon"
|
|
@@ -5266,24 +5275,24 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5266
5275
|
})) : F("", !0)
|
|
5267
5276
|
])
|
|
5268
5277
|
])) : F("", !0),
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
class:
|
|
5278
|
+
b("div", qu, [
|
|
5279
|
+
b("p", {
|
|
5280
|
+
class: B(["title", { "-multiline": u(s) }])
|
|
5272
5281
|
}, [
|
|
5273
|
-
|
|
5274
|
-
re(
|
|
5282
|
+
C(M.$slots, "title", {}, () => [
|
|
5283
|
+
re(O(e.title), 1)
|
|
5275
5284
|
])
|
|
5276
5285
|
], 2),
|
|
5277
5286
|
e.description ? (g(), y("p", _u, [
|
|
5278
|
-
|
|
5279
|
-
re(
|
|
5287
|
+
C(M.$slots, "description", {}, () => [
|
|
5288
|
+
re(O(e.description), 1)
|
|
5280
5289
|
])
|
|
5281
5290
|
])) : F("", !0)
|
|
5282
5291
|
])
|
|
5283
5292
|
]),
|
|
5284
5293
|
_(je, {
|
|
5285
5294
|
id: `toast-action-${e.type}-${e.position}`,
|
|
5286
|
-
class:
|
|
5295
|
+
class: B(["action", { "-multiline": u(s) }]),
|
|
5287
5296
|
size: "small",
|
|
5288
5297
|
"on-color": e.type !== "warning",
|
|
5289
5298
|
variant: "tertiary",
|
|
@@ -5291,7 +5300,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5291
5300
|
onClick: c
|
|
5292
5301
|
}, {
|
|
5293
5302
|
default: q(() => [
|
|
5294
|
-
re(
|
|
5303
|
+
re(O(e.actionText), 1)
|
|
5295
5304
|
]),
|
|
5296
5305
|
_: 1
|
|
5297
5306
|
}, 8, ["id", "on-color", "class"]),
|
|
@@ -5307,7 +5316,7 @@ const Xu = { name: "material-symbols-error-circle-rounded", render: Qu }, Fu = [
|
|
|
5307
5316
|
}, 8, ["name"]));
|
|
5308
5317
|
}
|
|
5309
5318
|
});
|
|
5310
|
-
const
|
|
5319
|
+
const st = {
|
|
5311
5320
|
"top-left": [],
|
|
5312
5321
|
"top-right": [],
|
|
5313
5322
|
"top-center": [],
|
|
@@ -5319,7 +5328,7 @@ function er() {
|
|
|
5319
5328
|
gn(0);
|
|
5320
5329
|
}
|
|
5321
5330
|
function gn(e = 2) {
|
|
5322
|
-
Object.entries(
|
|
5331
|
+
Object.entries(st).forEach(([t, i]) => {
|
|
5323
5332
|
i.length > e && i.map((l) => {
|
|
5324
5333
|
var a;
|
|
5325
5334
|
return (a = l.toastVNode.props) == null ? void 0 : a.id;
|
|
@@ -5334,7 +5343,7 @@ function ir(e, t = We) {
|
|
|
5334
5343
|
return e ? nr({ ...e, position: i }) : t;
|
|
5335
5344
|
}
|
|
5336
5345
|
function cr() {
|
|
5337
|
-
const t =
|
|
5346
|
+
const t = qe(0), i = qe(0, "success"), n = qe(0, "error"), l = qe(0, "warning"), a = qe(0, "informative");
|
|
5338
5347
|
return {
|
|
5339
5348
|
createToast: t,
|
|
5340
5349
|
createErrorToast: n,
|
|
@@ -5344,7 +5353,7 @@ function cr() {
|
|
|
5344
5353
|
clearAllToasts: er
|
|
5345
5354
|
};
|
|
5346
5355
|
}
|
|
5347
|
-
function
|
|
5356
|
+
function qe(e, t) {
|
|
5348
5357
|
return function(i, n) {
|
|
5349
5358
|
const l = e++, a = ir({ ...n, type: t });
|
|
5350
5359
|
return gn(), lr(l, a, tr(i)), {
|
|
@@ -5362,13 +5371,13 @@ function nr(e) {
|
|
|
5362
5371
|
}
|
|
5363
5372
|
function lr(e, t, i) {
|
|
5364
5373
|
setTimeout(() => {
|
|
5365
|
-
const n = sr(t,
|
|
5374
|
+
const n = sr(t, st, Mn), l = document.createElement("div");
|
|
5366
5375
|
document.body.appendChild(l);
|
|
5367
5376
|
const a = _(
|
|
5368
5377
|
Ku,
|
|
5369
5378
|
ar(t, e, n, gi, i)
|
|
5370
5379
|
);
|
|
5371
|
-
Vi(a, l),
|
|
5380
|
+
Vi(a, l), st[t.position].push({ toastVNode: a, container: l }), a.component && (a.component.props.visible = !0);
|
|
5372
5381
|
}, 1);
|
|
5373
5382
|
}
|
|
5374
5383
|
function ar(e, t, i, n, l) {
|
|
@@ -5401,7 +5410,7 @@ function or(e, t, i, n) {
|
|
|
5401
5410
|
}
|
|
5402
5411
|
function gi(e, t) {
|
|
5403
5412
|
var r;
|
|
5404
|
-
const i =
|
|
5413
|
+
const i = st[t], n = i.findIndex(
|
|
5405
5414
|
({ toastVNode: c }) => {
|
|
5406
5415
|
var M;
|
|
5407
5416
|
return e === ((M = c == null ? void 0 : c.props) == null ? void 0 : M.id);
|
|
@@ -5410,7 +5419,7 @@ function gi(e, t) {
|
|
|
5410
5419
|
if (n === -1)
|
|
5411
5420
|
return;
|
|
5412
5421
|
const { container: l, toastVNode: a } = i[n], s = (r = a == null ? void 0 : a.el) == null ? void 0 : r.offsetHeight;
|
|
5413
|
-
if (
|
|
5422
|
+
if (st[t].splice(n, 1), or(n, i, t, s), !a.component)
|
|
5414
5423
|
return;
|
|
5415
5424
|
const o = a.component.props;
|
|
5416
5425
|
o.visible = !1, o.onClose && o.onClose(), setTimeout(() => {
|
|
@@ -5454,7 +5463,7 @@ const Ei = {
|
|
|
5454
5463
|
SolInputTextarea: Ot,
|
|
5455
5464
|
SolInputText: yt,
|
|
5456
5465
|
SolInputTextPassword: Bt,
|
|
5457
|
-
SolRadio:
|
|
5466
|
+
SolRadio: lt,
|
|
5458
5467
|
SolRadioGroup: Vt,
|
|
5459
5468
|
SolCheckbox: Xe,
|
|
5460
5469
|
SolCheckboxGroup: Wt,
|
|
@@ -5467,7 +5476,7 @@ const Ei = {
|
|
|
5467
5476
|
SolAccordion: Rt,
|
|
5468
5477
|
SolList: qt,
|
|
5469
5478
|
SolTabs: Jt,
|
|
5470
|
-
SolMenu:
|
|
5479
|
+
SolMenu: at,
|
|
5471
5480
|
SolMenuItem: _t,
|
|
5472
5481
|
SolMenuItemLink: bt,
|
|
5473
5482
|
SolMenuNavigationLinks: Kt,
|
|
@@ -5491,13 +5500,13 @@ export {
|
|
|
5491
5500
|
Bt as SolInputTextPassword,
|
|
5492
5501
|
Ot as SolInputTextarea,
|
|
5493
5502
|
qt as SolList,
|
|
5494
|
-
|
|
5503
|
+
at as SolMenu,
|
|
5495
5504
|
_t as SolMenuItem,
|
|
5496
5505
|
bt as SolMenuItemLink,
|
|
5497
5506
|
Kt as SolMenuNavigationLinks,
|
|
5498
5507
|
ei as SolModal,
|
|
5499
5508
|
ti as SolPagination,
|
|
5500
|
-
|
|
5509
|
+
lt as SolRadio,
|
|
5501
5510
|
Vt as SolRadioGroup,
|
|
5502
5511
|
vt as SolRemovableChip,
|
|
5503
5512
|
ft as SolSelect,
|