@avenirs-esr/avenirs-dsav 0.1.23 → 0.1.25
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/avenirs-dsav.css +1 -1
- package/dist/avenirs-dsav.es.js +503 -499
- package/dist/avenirs-dsav.umd.js +10 -10
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +1 -0
- package/dist/components/interaction/tabs/AvTabs/AvTabs.stories.d.ts +1 -0
- package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +6 -0
- package/dist/tokens/icons.d.ts +1 -0
- package/package.json +1 -1
package/dist/avenirs-dsav.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as j, h as Ht, ref as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as j, h as Ht, ref as Z, computed as M, onMounted as ue, watch as oe, onUnmounted as ve, Comment as Aa, cloneVNode as ca, createElementBlock as p, openBlock as c, normalizeClass as X, createElementVNode as h, toDisplayString as x, createCommentVNode as D, renderSlot as B, createTextVNode as ae, withModifiers as ce, unref as f, Fragment as Y, renderList as te, createVNode as R, withKeys as st, withCtx as F, provide as ut, inject as Xe, toRef as At, createBlock as U, resolveDynamicComponent as de, useId as da, mergeProps as K, reactive as Ct, normalizeStyle as be, useTemplateRef as fa, normalizeProps as ct, useAttrs as pa, useCssVars as Ae, Transition as va, withDirectives as ga, vShow as ba, hasInjectionContext as ma, resolveComponent as Dt, onBeforeUnmount as yn, nextTick as De, createPropsRestProxy as Cn, useSlots as fe, TransitionGroup as Ia, mergeModels as me, useModel as qe, createSlots as We, isRef as wt, getCurrentScope as ha, onScopeDispose as ya, getCurrentInstance as En, toValue as ie, shallowRef as Fe, guardReactiveProps as Ca, toRefs as Mn, Teleport as Nn } from "vue";
|
|
2
|
+
const Tc = {
|
|
3
3
|
name: "AvBadge",
|
|
4
4
|
template: '<div class="av-badge"/>',
|
|
5
5
|
props: {
|
|
@@ -340,13 +340,13 @@ function xa(e, t) {
|
|
|
340
340
|
const l = a.width, s = a.height, i = o.width, u = o.height;
|
|
341
341
|
let A, d;
|
|
342
342
|
l === null ? (d = s === null ? "1em" : s === "auto" ? u : s, A = Rt(d, i / u)) : (A = l === "auto" ? i : l, d = s === null ? Rt(A, u / i) : s === "auto" ? u : s);
|
|
343
|
-
const
|
|
344
|
-
Pa(v) || (
|
|
343
|
+
const b = {}, m = (C, v) => {
|
|
344
|
+
Pa(v) || (b[C] = v.toString());
|
|
345
345
|
};
|
|
346
|
-
|
|
346
|
+
m("width", A), m("height", d);
|
|
347
347
|
const I = [o.left, o.top, i, u];
|
|
348
|
-
return
|
|
349
|
-
attributes:
|
|
348
|
+
return b.viewBox = I.join(" "), {
|
|
349
|
+
attributes: b,
|
|
350
350
|
viewBox: I,
|
|
351
351
|
body: r
|
|
352
352
|
};
|
|
@@ -637,18 +637,18 @@ function oo(e, t, n, a) {
|
|
|
637
637
|
} else
|
|
638
638
|
l = e.resources.slice(r).concat(e.resources.slice(0, r));
|
|
639
639
|
const s = Date.now();
|
|
640
|
-
let i = "pending", u = 0, A, d = null,
|
|
641
|
-
typeof a == "function" &&
|
|
640
|
+
let i = "pending", u = 0, A, d = null, b = [], m = [];
|
|
641
|
+
typeof a == "function" && m.push(a);
|
|
642
642
|
function I() {
|
|
643
643
|
d && (clearTimeout(d), d = null);
|
|
644
644
|
}
|
|
645
645
|
function C() {
|
|
646
|
-
i === "pending" && (i = "aborted"), I(),
|
|
646
|
+
i === "pending" && (i = "aborted"), I(), b.forEach((O) => {
|
|
647
647
|
O.status === "pending" && (O.status = "aborted");
|
|
648
|
-
}),
|
|
648
|
+
}), b = [];
|
|
649
649
|
}
|
|
650
650
|
function v(O, w) {
|
|
651
|
-
w && (
|
|
651
|
+
w && (m = []), typeof O == "function" && m.push(O);
|
|
652
652
|
}
|
|
653
653
|
function k() {
|
|
654
654
|
return {
|
|
@@ -656,24 +656,24 @@ function oo(e, t, n, a) {
|
|
|
656
656
|
payload: t,
|
|
657
657
|
status: i,
|
|
658
658
|
queriesSent: u,
|
|
659
|
-
queriesPending:
|
|
659
|
+
queriesPending: b.length,
|
|
660
660
|
subscribe: v,
|
|
661
661
|
abort: C
|
|
662
662
|
};
|
|
663
663
|
}
|
|
664
664
|
function S() {
|
|
665
|
-
i = "failed",
|
|
665
|
+
i = "failed", m.forEach((O) => {
|
|
666
666
|
O(void 0, A);
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
669
|
function Q() {
|
|
670
|
-
|
|
670
|
+
b.forEach((O) => {
|
|
671
671
|
O.status === "pending" && (O.status = "aborted");
|
|
672
|
-
}),
|
|
672
|
+
}), b = [];
|
|
673
673
|
}
|
|
674
674
|
function T(O, w, J) {
|
|
675
675
|
const q = w !== "success";
|
|
676
|
-
switch (
|
|
676
|
+
switch (b = b.filter(($) => $ !== O), i) {
|
|
677
677
|
case "pending":
|
|
678
678
|
break;
|
|
679
679
|
case "failed":
|
|
@@ -688,14 +688,14 @@ function oo(e, t, n, a) {
|
|
|
688
688
|
return;
|
|
689
689
|
}
|
|
690
690
|
if (q) {
|
|
691
|
-
A = J,
|
|
691
|
+
A = J, b.length || (l.length ? z() : S());
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
if (I(), Q(), !e.random) {
|
|
695
695
|
const $ = e.resources.indexOf(O.resource);
|
|
696
696
|
$ !== -1 && $ !== e.index && (e.index = $);
|
|
697
697
|
}
|
|
698
|
-
i = "completed",
|
|
698
|
+
i = "completed", m.forEach(($) => {
|
|
699
699
|
$(J);
|
|
700
700
|
});
|
|
701
701
|
}
|
|
@@ -705,7 +705,7 @@ function oo(e, t, n, a) {
|
|
|
705
705
|
I();
|
|
706
706
|
const O = l.shift();
|
|
707
707
|
if (O === void 0) {
|
|
708
|
-
if (
|
|
708
|
+
if (b.length) {
|
|
709
709
|
d = setTimeout(() => {
|
|
710
710
|
I(), i === "pending" && (Q(), S());
|
|
711
711
|
}, e.timeout);
|
|
@@ -721,7 +721,7 @@ function oo(e, t, n, a) {
|
|
|
721
721
|
T(w, J, q);
|
|
722
722
|
}
|
|
723
723
|
};
|
|
724
|
-
|
|
724
|
+
b.push(w), u++, d = setTimeout(z, e.rotate), n(O, t, w.callback);
|
|
725
725
|
}
|
|
726
726
|
return setTimeout(z), k;
|
|
727
727
|
}
|
|
@@ -739,8 +739,8 @@ function Bn(e) {
|
|
|
739
739
|
t,
|
|
740
740
|
s,
|
|
741
741
|
i,
|
|
742
|
-
(d,
|
|
743
|
-
a(), u && u(d,
|
|
742
|
+
(d, b) => {
|
|
743
|
+
a(), u && u(d, b);
|
|
744
744
|
}
|
|
745
745
|
);
|
|
746
746
|
return n.push(A), A;
|
|
@@ -853,14 +853,14 @@ function uo(e, t) {
|
|
|
853
853
|
if (r) {
|
|
854
854
|
o.forEach((A) => {
|
|
855
855
|
const d = r(A, a, n);
|
|
856
|
-
Gt(d, (
|
|
857
|
-
const
|
|
856
|
+
Gt(d, (b) => {
|
|
857
|
+
const m = b ? {
|
|
858
858
|
prefix: a,
|
|
859
859
|
icons: {
|
|
860
|
-
[A]:
|
|
860
|
+
[A]: b
|
|
861
861
|
}
|
|
862
862
|
} : null;
|
|
863
|
-
Be(e, [A],
|
|
863
|
+
Be(e, [A], m);
|
|
864
864
|
});
|
|
865
865
|
});
|
|
866
866
|
return;
|
|
@@ -905,8 +905,8 @@ const Ao = (e, t) => {
|
|
|
905
905
|
const d = o[u] || (o[u] = /* @__PURE__ */ Object.create(null));
|
|
906
906
|
d[A] || (d[A] = []);
|
|
907
907
|
}), a.pending.forEach((i) => {
|
|
908
|
-
const { provider: u, prefix: A, name: d } = i,
|
|
909
|
-
|
|
908
|
+
const { provider: u, prefix: A, name: d } = i, b = Oe(u, A), m = b.pendingIcons || (b.pendingIcons = /* @__PURE__ */ new Set());
|
|
909
|
+
m.has(d) || (m.add(d), o[u][A].push(d));
|
|
910
910
|
}), r.forEach((i) => {
|
|
911
911
|
const u = o[i.provider][i.prefix];
|
|
912
912
|
u.length && uo(i, u);
|
|
@@ -1063,10 +1063,10 @@ const tn = (e, t) => {
|
|
|
1063
1063
|
let C = 0, v = t.id;
|
|
1064
1064
|
return typeof v == "string" && (v = v.replace(/-/g, "_")), a.innerHTML = qa(i.body, v ? () => v + "ID" + C++ : "iconifyVue"), Ht("svg", a);
|
|
1065
1065
|
}
|
|
1066
|
-
const { body: A, width: d, height:
|
|
1066
|
+
const { body: A, width: d, height: b } = e, m = o === "mask" || (o === "bg" ? !1 : A.indexOf("currentColor") !== -1), I = go(A, {
|
|
1067
1067
|
...u,
|
|
1068
1068
|
width: d + "",
|
|
1069
|
-
height:
|
|
1069
|
+
height: b + ""
|
|
1070
1070
|
});
|
|
1071
1071
|
return a.style = {
|
|
1072
1072
|
...r,
|
|
@@ -1074,7 +1074,7 @@ const tn = (e, t) => {
|
|
|
1074
1074
|
width: en(u.width),
|
|
1075
1075
|
height: en(u.height),
|
|
1076
1076
|
...yo,
|
|
1077
|
-
...
|
|
1077
|
+
...m ? Tt : jn,
|
|
1078
1078
|
...s
|
|
1079
1079
|
}, Ht("span", a);
|
|
1080
1080
|
};
|
|
@@ -1182,7 +1182,7 @@ const Co = {
|
|
|
1182
1182
|
}, n);
|
|
1183
1183
|
}
|
|
1184
1184
|
}), Pn = Symbol("accordions"), xn = Symbol("header"), Pt = Symbol("tabs"), pt = () => {
|
|
1185
|
-
const e =
|
|
1185
|
+
const e = Z(), t = Z(!1), n = Z(!1), a = () => {
|
|
1186
1186
|
if (!e.value)
|
|
1187
1187
|
return;
|
|
1188
1188
|
e.value.style.setProperty("--collapser", "none");
|
|
@@ -1221,12 +1221,12 @@ const Co = {
|
|
|
1221
1221
|
cssExpanded: o,
|
|
1222
1222
|
doExpand: r,
|
|
1223
1223
|
onTransitionEnd: l
|
|
1224
|
-
} = pt(), s =
|
|
1224
|
+
} = pt(), s = Z(), i = Xe(Pn), { isActive: u, expand: A } = (i == null ? void 0 : i(At(() => t.title))) ?? { isActive: s, expand: () => s.value = !s.value };
|
|
1225
1225
|
return ue(() => {
|
|
1226
1226
|
u.value && r(!0);
|
|
1227
|
-
}), oe(u, (d,
|
|
1228
|
-
d !==
|
|
1229
|
-
}), (d,
|
|
1227
|
+
}), oe(u, (d, b) => {
|
|
1228
|
+
d !== b && r(d);
|
|
1229
|
+
}), (d, b) => (c(), p("section", Mo, [
|
|
1230
1230
|
(c(), U(de(d.titleTag), { class: "fr-accordion__title" }, {
|
|
1231
1231
|
default: F(() => [
|
|
1232
1232
|
h("button", {
|
|
@@ -1234,7 +1234,7 @@ const Co = {
|
|
|
1234
1234
|
"aria-expanded": f(u),
|
|
1235
1235
|
"aria-controls": d.id,
|
|
1236
1236
|
type: "button",
|
|
1237
|
-
onClick:
|
|
1237
|
+
onClick: b[0] || (b[0] = (m) => f(A)())
|
|
1238
1238
|
}, [
|
|
1239
1239
|
B(d.$slots, "title", {}, () => [
|
|
1240
1240
|
ae(x(d.title), 1)
|
|
@@ -1247,12 +1247,12 @@ const Co = {
|
|
|
1247
1247
|
id: d.id,
|
|
1248
1248
|
ref_key: "collapse",
|
|
1249
1249
|
ref: n,
|
|
1250
|
-
class:
|
|
1250
|
+
class: X(["fr-collapse", {
|
|
1251
1251
|
"fr-collapse--expanded": f(o),
|
|
1252
1252
|
// Need to use a separate data to add/remove the class after a RAF
|
|
1253
1253
|
"fr-collapsing": f(a)
|
|
1254
1254
|
}]),
|
|
1255
|
-
onTransitionend:
|
|
1255
|
+
onTransitionend: b[1] || (b[1] = (m) => f(l)(f(u), !1))
|
|
1256
1256
|
}, [
|
|
1257
1257
|
B(d.$slots, "default")
|
|
1258
1258
|
], 42, To)
|
|
@@ -1270,7 +1270,7 @@ const Co = {
|
|
|
1270
1270
|
set(s) {
|
|
1271
1271
|
a("update:modelValue", s);
|
|
1272
1272
|
}
|
|
1273
|
-
}), r =
|
|
1273
|
+
}), r = Z(/* @__PURE__ */ new Map()), l = Z(0);
|
|
1274
1274
|
return ut(Pn, (s) => {
|
|
1275
1275
|
const i = l.value++;
|
|
1276
1276
|
r.value.set(i, s.value);
|
|
@@ -1308,7 +1308,7 @@ const Co = {
|
|
|
1308
1308
|
},
|
|
1309
1309
|
setup(e) {
|
|
1310
1310
|
return (t, n) => (c(), p("p", {
|
|
1311
|
-
class:
|
|
1311
|
+
class: X(["fr-badge", {
|
|
1312
1312
|
[`fr-badge--${t.type}`]: t.type,
|
|
1313
1313
|
"fr-badge--no-icon": t.noIcon,
|
|
1314
1314
|
"fr-badge--sm": t.small
|
|
@@ -1316,7 +1316,7 @@ const Co = {
|
|
|
1316
1316
|
title: t.ellipsis ? t.label : void 0
|
|
1317
1317
|
}, [
|
|
1318
1318
|
h("span", {
|
|
1319
|
-
class:
|
|
1319
|
+
class: X(t.ellipsis ? "fr-ellipsis" : "")
|
|
1320
1320
|
}, x(t.label), 3)
|
|
1321
1321
|
], 10, Oo));
|
|
1322
1322
|
}
|
|
@@ -1338,18 +1338,18 @@ const Co = {
|
|
|
1338
1338
|
display: { default: "inline-block" }
|
|
1339
1339
|
},
|
|
1340
1340
|
setup(e) {
|
|
1341
|
-
const t = e, n =
|
|
1341
|
+
const t = e, n = Z(null), a = M(() => `${+t.scale * 1.2}rem`), o = M(() => t.flip === "both" ? "horizontal,vertical" : t.flip);
|
|
1342
1342
|
oe(() => t.title, r);
|
|
1343
1343
|
async function r() {
|
|
1344
1344
|
var i, u, A, d;
|
|
1345
1345
|
if (!((i = n.value) != null && i.$el))
|
|
1346
1346
|
return;
|
|
1347
|
-
const
|
|
1347
|
+
const b = !!((u = n.value) == null ? void 0 : u.$el).querySelector("title"), m = document.createElement("title");
|
|
1348
1348
|
if (!t.title) {
|
|
1349
|
-
|
|
1349
|
+
m.remove();
|
|
1350
1350
|
return;
|
|
1351
1351
|
}
|
|
1352
|
-
|
|
1352
|
+
m.innerHTML = t.title, await De(), b || (d = ((A = n.value) == null ? void 0 : A.$el).firstChild) == null || d.before(m);
|
|
1353
1353
|
}
|
|
1354
1354
|
ue(r);
|
|
1355
1355
|
const l = M(() => {
|
|
@@ -1362,7 +1362,7 @@ const Co = {
|
|
|
1362
1362
|
icon: l.value,
|
|
1363
1363
|
style: be({ fontSize: a.value, verticalAlign: i.verticalAlign, display: i.display, color: s.value }),
|
|
1364
1364
|
"aria-label": i.label,
|
|
1365
|
-
class:
|
|
1365
|
+
class: X(["vicon", {
|
|
1366
1366
|
"vicon-spin": t.animation === "spin",
|
|
1367
1367
|
"vicon-wrench": t.animation === "wrench",
|
|
1368
1368
|
"vicon-pulse": t.animation === "pulse",
|
|
@@ -1394,7 +1394,7 @@ const Co = {
|
|
|
1394
1394
|
} }
|
|
1395
1395
|
},
|
|
1396
1396
|
setup(e, { expose: t }) {
|
|
1397
|
-
const n = e, a = M(() => ["sm", "small"].includes(n.size)), o = M(() => ["md", "medium"].includes(n.size)), r = M(() => ["lg", "large"].includes(n.size)), l =
|
|
1397
|
+
const n = e, a = M(() => ["sm", "small"].includes(n.size)), o = M(() => ["md", "medium"].includes(n.size)), r = M(() => ["lg", "large"].includes(n.size)), l = Z(null);
|
|
1398
1398
|
t({ focus: () => {
|
|
1399
1399
|
var A;
|
|
1400
1400
|
(A = l.value) == null || A.focus();
|
|
@@ -1405,7 +1405,7 @@ const Co = {
|
|
|
1405
1405
|
return (A, d) => (c(), p("button", {
|
|
1406
1406
|
ref_key: "btn",
|
|
1407
1407
|
ref: l,
|
|
1408
|
-
class:
|
|
1408
|
+
class: X(["fr-btn", {
|
|
1409
1409
|
"fr-btn--secondary": A.secondary && !A.tertiary,
|
|
1410
1410
|
"fr-btn--tertiary": A.tertiary && !A.secondary && !A.noOutline,
|
|
1411
1411
|
"fr-btn--tertiary-no-outline": A.tertiary && !A.secondary && A.noOutline,
|
|
@@ -1423,10 +1423,10 @@ const Co = {
|
|
|
1423
1423
|
disabled: A.disabled,
|
|
1424
1424
|
"aria-disabled": A.disabled,
|
|
1425
1425
|
style: be(!s.value && A.iconOnly ? { "padding-inline": "0.5rem" } : {}),
|
|
1426
|
-
onClick: d[0] || (d[0] = (
|
|
1426
|
+
onClick: d[0] || (d[0] = (b) => A.onClick ? A.onClick(b) : () => {
|
|
1427
1427
|
})
|
|
1428
1428
|
}, [
|
|
1429
|
-
A.icon && !s.value ? (c(), U(we, ct(
|
|
1429
|
+
A.icon && !s.value ? (c(), U(we, ct(K({ key: 0 }, u.value)), null, 16)) : D("", !0),
|
|
1430
1430
|
A.iconOnly ? D("", !0) : (c(), p("span", zo, [
|
|
1431
1431
|
ae(x(A.label) + " ", 1),
|
|
1432
1432
|
B(A.$slots, "default", {}, void 0, !0)
|
|
@@ -1445,7 +1445,7 @@ const Co = {
|
|
|
1445
1445
|
size: { default: "md" }
|
|
1446
1446
|
},
|
|
1447
1447
|
setup(e) {
|
|
1448
|
-
const t = e, n =
|
|
1448
|
+
const t = e, n = Z(null), a = M(() => ["sm", "small"].includes(t.size)), o = M(() => ["md", "medium"].includes(t.size)), r = M(() => ["lg", "large"].includes(t.size)), l = M(() => ["always", "", !0].includes(t.inlineLayoutWhen)), s = M(() => ["sm", "small"].includes(t.inlineLayoutWhen)), i = M(() => ["md", "medium"].includes(t.inlineLayoutWhen)), u = M(() => ["lg", "large"].includes(t.inlineLayoutWhen)), A = M(() => t.align === "center"), d = M(() => t.align === "right"), b = Z("auto"), m = M(() => `--equisized-width: ${b.value};`), I = async () => {
|
|
1449
1449
|
var C;
|
|
1450
1450
|
let v = 0;
|
|
1451
1451
|
await new Promise((k) => setTimeout(k, 100)), (C = n.value) == null || C.querySelectorAll(".fr-btn").forEach((k) => {
|
|
@@ -1453,15 +1453,15 @@ const Co = {
|
|
|
1453
1453
|
S.style.width = "var(--equisized-width)";
|
|
1454
1454
|
const w = Q + z + O;
|
|
1455
1455
|
w > v && (v = w);
|
|
1456
|
-
}),
|
|
1456
|
+
}), b.value = `${v}px`;
|
|
1457
1457
|
};
|
|
1458
1458
|
return ue(async () => {
|
|
1459
1459
|
!n.value || !t.equisized || await I();
|
|
1460
1460
|
}), (C, v) => (c(), p("ul", {
|
|
1461
1461
|
ref_key: "buttonsEl",
|
|
1462
1462
|
ref: n,
|
|
1463
|
-
style: be(
|
|
1464
|
-
class:
|
|
1463
|
+
style: be(m.value),
|
|
1464
|
+
class: X(["fr-btns-group", {
|
|
1465
1465
|
"fr-btns-group--equisized": C.equisized,
|
|
1466
1466
|
"fr-btns-group--sm": a.value,
|
|
1467
1467
|
"fr-btns-group--md": o.value,
|
|
@@ -1476,8 +1476,8 @@ const Co = {
|
|
|
1476
1476
|
}]),
|
|
1477
1477
|
"data-testid": "fr-btns"
|
|
1478
1478
|
}, [
|
|
1479
|
-
(c(!0), p(
|
|
1480
|
-
R(xt,
|
|
1479
|
+
(c(!0), p(Y, null, te(C.buttons, ({ onClick: k, ...S }, Q) => (c(), p("li", { key: Q }, [
|
|
1480
|
+
R(xt, K({ ref_for: !0 }, S, { onClick: k }), null, 16, ["onClick"])
|
|
1481
1481
|
]))), 128)),
|
|
1482
1482
|
B(C.$slots, "default")
|
|
1483
1483
|
], 6));
|
|
@@ -1520,12 +1520,12 @@ var Wn = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1520
1520
|
var A = Ee.call(l, $e);
|
|
1521
1521
|
A && a.filter(l) && (n || !t.includes(l)) && o.push(l);
|
|
1522
1522
|
var d = l.shadowRoot || // check for an undisclosed shadow
|
|
1523
|
-
typeof a.getShadowRoot == "function" && a.getShadowRoot(l),
|
|
1524
|
-
if (d &&
|
|
1525
|
-
var
|
|
1526
|
-
a.flatten ? o.push.apply(o,
|
|
1523
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), b = !tt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
1524
|
+
if (d && b) {
|
|
1525
|
+
var m = e(d === !0 ? l.children : d.children, !0, a);
|
|
1526
|
+
a.flatten ? o.push.apply(o, m) : o.push({
|
|
1527
1527
|
scopeParent: l,
|
|
1528
|
-
candidates:
|
|
1528
|
+
candidates: m
|
|
1529
1529
|
});
|
|
1530
1530
|
} else
|
|
1531
1531
|
r.unshift.apply(r, l.children);
|
|
@@ -1929,14 +1929,14 @@ var rn = {
|
|
|
1929
1929
|
return y.posTabIndexesFound;
|
|
1930
1930
|
}) && r.containerGroups.length > 1)
|
|
1931
1931
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
1932
|
-
},
|
|
1932
|
+
}, b = function(y) {
|
|
1933
1933
|
var N = y.activeElement;
|
|
1934
1934
|
if (N)
|
|
1935
|
-
return N.shadowRoot && N.shadowRoot.activeElement !== null ?
|
|
1936
|
-
},
|
|
1937
|
-
if (y !== !1 && y !==
|
|
1935
|
+
return N.shadowRoot && N.shadowRoot.activeElement !== null ? b(N.shadowRoot) : N;
|
|
1936
|
+
}, m = function(y) {
|
|
1937
|
+
if (y !== !1 && y !== b(document)) {
|
|
1938
1938
|
if (!y || !y.focus) {
|
|
1939
|
-
|
|
1939
|
+
m(A());
|
|
1940
1940
|
return;
|
|
1941
1941
|
}
|
|
1942
1942
|
y.focus({
|
|
@@ -2024,7 +2024,7 @@ var rn = {
|
|
|
2024
2024
|
// outside the trap causing the focus escape we're trying to fix)
|
|
2025
2025
|
target: r.mostRecentlyFocusedNode,
|
|
2026
2026
|
isBackward: o.isKeyBackward(r.recentNavEvent)
|
|
2027
|
-
})),
|
|
2027
|
+
})), m(E || r.mostRecentlyFocusedNode || A());
|
|
2028
2028
|
}
|
|
2029
2029
|
r.recentNavEvent = void 0;
|
|
2030
2030
|
}, S = function(y) {
|
|
@@ -2034,7 +2034,7 @@ var rn = {
|
|
|
2034
2034
|
event: y,
|
|
2035
2035
|
isBackward: N
|
|
2036
2036
|
});
|
|
2037
|
-
g && (Ve(y) && y.preventDefault(),
|
|
2037
|
+
g && (Ve(y) && y.preventDefault(), m(g));
|
|
2038
2038
|
}, Q = function(y) {
|
|
2039
2039
|
(o.isKeyForward(y) || o.isKeyBackward(y)) && S(y, o.isKeyBackward(y));
|
|
2040
2040
|
}, T = function(y) {
|
|
@@ -2045,8 +2045,8 @@ var rn = {
|
|
|
2045
2045
|
}, O = function() {
|
|
2046
2046
|
if (r.active)
|
|
2047
2047
|
return rn.activateTrap(a, l), r.delayInitialFocusTimer = o.delayInitialFocus ? ln(function() {
|
|
2048
|
-
|
|
2049
|
-
}) :
|
|
2048
|
+
m(A());
|
|
2049
|
+
}) : m(A()), n.addEventListener("focusin", k, !0), n.addEventListener("mousedown", v, {
|
|
2050
2050
|
capture: !0,
|
|
2051
2051
|
passive: !1
|
|
2052
2052
|
}), n.addEventListener("touchstart", v, {
|
|
@@ -2069,7 +2069,7 @@ var rn = {
|
|
|
2069
2069
|
return L === r.mostRecentlyFocusedNode;
|
|
2070
2070
|
});
|
|
2071
2071
|
});
|
|
2072
|
-
N &&
|
|
2072
|
+
N && m(A());
|
|
2073
2073
|
}, q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(J) : void 0, $ = function() {
|
|
2074
2074
|
q && (q.disconnect(), r.active && !r.paused && r.containers.map(function(y) {
|
|
2075
2075
|
q.observe(y, {
|
|
@@ -2108,7 +2108,7 @@ var rn = {
|
|
|
2108
2108
|
g == null || g();
|
|
2109
2109
|
var P = function() {
|
|
2110
2110
|
ln(function() {
|
|
2111
|
-
W &&
|
|
2111
|
+
W && m(I(r.nodeFocusedBeforeActivation)), E == null || E();
|
|
2112
2112
|
});
|
|
2113
2113
|
};
|
|
2114
2114
|
return W && L ? (L(I(r.nodeFocusedBeforeActivation)).then(P, P), this) : (P(), this);
|
|
@@ -2198,7 +2198,7 @@ const pr = {
|
|
|
2198
2198
|
},
|
|
2199
2199
|
setup(e, { slots: t, emit: n }) {
|
|
2200
2200
|
let a;
|
|
2201
|
-
const o =
|
|
2201
|
+
const o = Z(null), r = M(() => {
|
|
2202
2202
|
const s = o.value;
|
|
2203
2203
|
return s && (s instanceof HTMLElement ? s : s.$el);
|
|
2204
2204
|
});
|
|
@@ -2263,44 +2263,44 @@ const pr = {
|
|
|
2263
2263
|
cssExpanded: l,
|
|
2264
2264
|
doExpand: s,
|
|
2265
2265
|
onTransitionEnd: i
|
|
2266
|
-
} = pt(), u =
|
|
2267
|
-
function A(
|
|
2268
|
-
u.value = !1, a("select",
|
|
2266
|
+
} = pt(), u = Z(!1);
|
|
2267
|
+
function A(b) {
|
|
2268
|
+
u.value = !1, a("select", b);
|
|
2269
2269
|
}
|
|
2270
2270
|
const d = M(
|
|
2271
|
-
() => n.languages.find(({ codeIso:
|
|
2271
|
+
() => n.languages.find(({ codeIso: b }) => b === n.currentLanguage)
|
|
2272
2272
|
);
|
|
2273
|
-
return oe(u, (
|
|
2274
|
-
|
|
2275
|
-
}), (
|
|
2273
|
+
return oe(u, (b, m) => {
|
|
2274
|
+
b !== m && s(b);
|
|
2275
|
+
}), (b, m) => {
|
|
2276
2276
|
var I, C;
|
|
2277
2277
|
return c(), p("nav", gr, [
|
|
2278
2278
|
h("div", br, [
|
|
2279
2279
|
h("button", {
|
|
2280
2280
|
class: "fr-translate__btn fr-btn fr-btn--tertiary",
|
|
2281
|
-
"aria-controls":
|
|
2281
|
+
"aria-controls": b.id,
|
|
2282
2282
|
"aria-expanded": u.value,
|
|
2283
|
-
title:
|
|
2283
|
+
title: b.title,
|
|
2284
2284
|
type: "button",
|
|
2285
|
-
onClick:
|
|
2285
|
+
onClick: m[0] || (m[0] = ce((v) => u.value = !u.value, ["prevent", "stop"]))
|
|
2286
2286
|
}, [
|
|
2287
2287
|
ae(x((I = d.value) == null ? void 0 : I.codeIso.toUpperCase()), 1),
|
|
2288
2288
|
h("span", Ir, " - " + x((C = d.value) == null ? void 0 : C.label), 1)
|
|
2289
2289
|
], 8, mr),
|
|
2290
2290
|
h("div", {
|
|
2291
|
-
id:
|
|
2291
|
+
id: b.id,
|
|
2292
2292
|
ref_key: "collapse",
|
|
2293
2293
|
ref: o,
|
|
2294
|
-
class:
|
|
2295
|
-
onTransitionend:
|
|
2294
|
+
class: X(["fr-collapse fr-translate__menu fr-menu", { "fr-collapse--expanded": f(l), "fr-collapsing": f(r) }]),
|
|
2295
|
+
onTransitionend: m[1] || (m[1] = (v) => f(i)(u.value))
|
|
2296
2296
|
}, [
|
|
2297
2297
|
h("ul", yr, [
|
|
2298
|
-
(c(!0), p(
|
|
2298
|
+
(c(!0), p(Y, null, te(b.languages, (v, k) => (c(), p("li", { key: k }, [
|
|
2299
2299
|
h("a", {
|
|
2300
2300
|
class: "fr-translate__language fr-nav__link",
|
|
2301
2301
|
hreflang: v.codeIso,
|
|
2302
2302
|
lang: v.codeIso,
|
|
2303
|
-
"aria-current":
|
|
2303
|
+
"aria-current": b.currentLanguage === v.codeIso ? !0 : void 0,
|
|
2304
2304
|
href: `#${v.codeIso}`,
|
|
2305
2305
|
onClick: ce((S) => A(v), ["prevent", "stop"])
|
|
2306
2306
|
}, x(`${v.codeIso.toUpperCase()} - ${v.label}`), 9, Cr)
|
|
@@ -2336,7 +2336,7 @@ const pr = {
|
|
|
2336
2336
|
},
|
|
2337
2337
|
emits: ["update:modelValue"],
|
|
2338
2338
|
setup(e, { expose: t }) {
|
|
2339
|
-
const n = e, a = pa(), o =
|
|
2339
|
+
const n = e, a = pa(), o = Z(null), r = () => {
|
|
2340
2340
|
var u;
|
|
2341
2341
|
return (u = o.value) == null ? void 0 : u.focus();
|
|
2342
2342
|
}, l = M(() => n.isTextarea ? "textarea" : "input"), s = M(() => n.isWithWrapper || a.type === "date" || !!n.wrapperClass), i = M(() => [
|
|
@@ -2346,9 +2346,9 @@ const pr = {
|
|
|
2346
2346
|
]);
|
|
2347
2347
|
return t({
|
|
2348
2348
|
focus: r
|
|
2349
|
-
}), (u, A) => (c(), p(
|
|
2349
|
+
}), (u, A) => (c(), p(Y, null, [
|
|
2350
2350
|
h("label", {
|
|
2351
|
-
class:
|
|
2351
|
+
class: X(i.value),
|
|
2352
2352
|
for: u.id
|
|
2353
2353
|
}, [
|
|
2354
2354
|
B(u.$slots, "label", {}, () => [
|
|
@@ -2361,12 +2361,12 @@ const pr = {
|
|
|
2361
2361
|
], 10, Mr),
|
|
2362
2362
|
s.value ? (c(), p("div", {
|
|
2363
2363
|
key: 1,
|
|
2364
|
-
class:
|
|
2364
|
+
class: X([
|
|
2365
2365
|
{ "fr-input-wrap": u.isWithWrapper || u.$attrs.type === "date" },
|
|
2366
2366
|
u.wrapperClass
|
|
2367
2367
|
])
|
|
2368
2368
|
}, [
|
|
2369
|
-
(c(), U(de(l.value),
|
|
2369
|
+
(c(), U(de(l.value), K({ id: u.id }, u.$attrs, {
|
|
2370
2370
|
ref_key: "__input",
|
|
2371
2371
|
ref: o,
|
|
2372
2372
|
class: ["fr-input", {
|
|
@@ -2377,7 +2377,7 @@ const pr = {
|
|
|
2377
2377
|
"aria-describedby": u.descriptionId || void 0,
|
|
2378
2378
|
onInput: A[1] || (A[1] = (d) => u.$emit("update:modelValue", d.target.value))
|
|
2379
2379
|
}), null, 16, ["id", "class", "value", "aria-describedby"]))
|
|
2380
|
-
], 2)) : (c(), U(de(l.value),
|
|
2380
|
+
], 2)) : (c(), U(de(l.value), K({
|
|
2381
2381
|
key: 0,
|
|
2382
2382
|
id: u.id
|
|
2383
2383
|
}, u.$attrs, {
|
|
@@ -2411,7 +2411,7 @@ const pr = {
|
|
|
2411
2411
|
setup(e, { emit: t }) {
|
|
2412
2412
|
const n = t;
|
|
2413
2413
|
return (a, o) => (c(), p("div", {
|
|
2414
|
-
class:
|
|
2414
|
+
class: X(["fr-search-bar", { "fr-search-bar--lg": a.large }]),
|
|
2415
2415
|
role: "search"
|
|
2416
2416
|
}, [
|
|
2417
2417
|
R(Zn, {
|
|
@@ -2432,7 +2432,7 @@ const pr = {
|
|
|
2432
2432
|
onClick: o[2] || (o[2] = (r) => n("search", a.modelValue))
|
|
2433
2433
|
}, {
|
|
2434
2434
|
default: F(() => [
|
|
2435
|
-
a.buttonText ? (c(), p(
|
|
2435
|
+
a.buttonText ? (c(), p(Y, { key: 0 }, [
|
|
2436
2436
|
ae(x(a.buttonText), 1)
|
|
2437
2437
|
], 64)) : (c(), p("span", Qr, " Rechercher "))
|
|
2438
2438
|
]),
|
|
@@ -2462,7 +2462,7 @@ const pr = {
|
|
|
2462
2462
|
setup(e, { emit: t }) {
|
|
2463
2463
|
const n = e, a = t, o = (I) => {
|
|
2464
2464
|
I.key === "Escape" && d();
|
|
2465
|
-
}, r = M(() => n.isAlert ? "alertdialog" : "dialog"), l =
|
|
2465
|
+
}, r = M(() => n.isAlert ? "alertdialog" : "dialog"), l = Z(null), s = Z();
|
|
2466
2466
|
oe(() => n.opened, (I) => {
|
|
2467
2467
|
var C, v;
|
|
2468
2468
|
I ? ((C = s.value) == null || C.showModal(), setTimeout(() => {
|
|
@@ -2488,8 +2488,8 @@ const pr = {
|
|
|
2488
2488
|
var I;
|
|
2489
2489
|
await De(), (I = n.origin) == null || I.focus(), a("close");
|
|
2490
2490
|
}
|
|
2491
|
-
const
|
|
2492
|
-
() =>
|
|
2491
|
+
const b = M(() => typeof n.icon == "string" && n.icon.startsWith("fr-icon-")), m = M(
|
|
2492
|
+
() => b.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale: sn } : { scale: sn, ...n.icon ?? {} }
|
|
2493
2493
|
);
|
|
2494
2494
|
return (I, C) => I.opened ? (c(), U(f(vr), { key: 0 }, {
|
|
2495
2495
|
default: F(() => {
|
|
@@ -2502,13 +2502,13 @@ const pr = {
|
|
|
2502
2502
|
"aria-modal": "true",
|
|
2503
2503
|
"aria-labelledby": I.modalId,
|
|
2504
2504
|
role: r.value,
|
|
2505
|
-
class:
|
|
2505
|
+
class: X(["fr-modal", { "fr-modal--opened": I.opened }]),
|
|
2506
2506
|
open: I.opened
|
|
2507
2507
|
}, [
|
|
2508
2508
|
h("div", Sr, [
|
|
2509
2509
|
h("div", Dr, [
|
|
2510
2510
|
h("div", {
|
|
2511
|
-
class:
|
|
2511
|
+
class: X(["fr-col-12", {
|
|
2512
2512
|
"fr-col-md-8": I.size === "lg",
|
|
2513
2513
|
"fr-col-md-6": I.size === "md",
|
|
2514
2514
|
"fr-col-md-4": I.size === "sm"
|
|
@@ -2533,13 +2533,13 @@ const pr = {
|
|
|
2533
2533
|
id: I.modalId,
|
|
2534
2534
|
class: "fr-modal__title"
|
|
2535
2535
|
}, [
|
|
2536
|
-
|
|
2536
|
+
b.value || m.value ? (c(), p("span", {
|
|
2537
2537
|
key: 0,
|
|
2538
|
-
class:
|
|
2539
|
-
[String(I.icon)]:
|
|
2538
|
+
class: X({
|
|
2539
|
+
[String(I.icon)]: b.value
|
|
2540
2540
|
})
|
|
2541
2541
|
}, [
|
|
2542
|
-
I.icon &&
|
|
2542
|
+
I.icon && m.value ? (c(), U(we, ct(K({ key: 0 }, m.value)), null, 16)) : D("", !0)
|
|
2543
2543
|
], 2)) : D("", !0),
|
|
2544
2544
|
ae(" " + x(I.title), 1)
|
|
2545
2545
|
], 8, Pr),
|
|
@@ -2608,7 +2608,7 @@ const pr = {
|
|
|
2608
2608
|
})
|
|
2609
2609
|
}, x(s.text), 9, Xr)) : (c(), U(u, {
|
|
2610
2610
|
key: 1,
|
|
2611
|
-
class:
|
|
2611
|
+
class: X(["fr-nav__link", {
|
|
2612
2612
|
[String(s.icon)]: a.value
|
|
2613
2613
|
}]),
|
|
2614
2614
|
"data-testid": "nav-router-link",
|
|
@@ -2619,7 +2619,7 @@ const pr = {
|
|
|
2619
2619
|
})
|
|
2620
2620
|
}, {
|
|
2621
2621
|
default: F(() => [
|
|
2622
|
-
s.icon && o.value ? (c(), U(we, ct(
|
|
2622
|
+
s.icon && o.value ? (c(), U(we, ct(K({ key: 0 }, o.value)), null, 16)) : D("", !0),
|
|
2623
2623
|
ae(" " + x(s.text), 1)
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 1
|
|
@@ -2644,11 +2644,11 @@ const pr = {
|
|
|
2644
2644
|
}, x(t.title), 1)
|
|
2645
2645
|
]),
|
|
2646
2646
|
h("ul", Fr, [
|
|
2647
|
-
(c(!0), p(
|
|
2647
|
+
(c(!0), p(Y, null, te(t.links, (a, o) => (c(), p("li", {
|
|
2648
2648
|
key: o,
|
|
2649
2649
|
class: "fr-nav__link"
|
|
2650
2650
|
}, [
|
|
2651
|
-
R(Wt,
|
|
2651
|
+
R(Wt, K({ ref_for: !0 }, a), null, 16)
|
|
2652
2652
|
]))), 128))
|
|
2653
2653
|
])
|
|
2654
2654
|
]));
|
|
@@ -2679,7 +2679,7 @@ const pr = {
|
|
|
2679
2679
|
s.value && r(!0);
|
|
2680
2680
|
}), (i, u) => {
|
|
2681
2681
|
const A = Dt("RouterLink");
|
|
2682
|
-
return c(), p(
|
|
2682
|
+
return c(), p(Y, null, [
|
|
2683
2683
|
h("button", {
|
|
2684
2684
|
class: "fr-nav__btn",
|
|
2685
2685
|
"aria-expanded": s.value,
|
|
@@ -2692,7 +2692,7 @@ const pr = {
|
|
|
2692
2692
|
ref_key: "collapse",
|
|
2693
2693
|
ref: n,
|
|
2694
2694
|
"data-testid": "mega-menu-wrapper",
|
|
2695
|
-
class:
|
|
2695
|
+
class: X(["fr-collapse fr-mega-menu", {
|
|
2696
2696
|
"fr-collapse--expanded": f(o),
|
|
2697
2697
|
// Need to use a separate data to add/remove the class after a RAF
|
|
2698
2698
|
"fr-collapsing": f(a)
|
|
@@ -2726,8 +2726,8 @@ const pr = {
|
|
|
2726
2726
|
])
|
|
2727
2727
|
]),
|
|
2728
2728
|
B(i.$slots, "default", {}, void 0, !0),
|
|
2729
|
-
(c(!0), p(
|
|
2730
|
-
key:
|
|
2729
|
+
(c(!0), p(Y, null, te(i.menus, (d, b) => (c(), U(Kr, K({
|
|
2730
|
+
key: b,
|
|
2731
2731
|
ref_for: !0
|
|
2732
2732
|
}, d), null, 16))), 128))
|
|
2733
2733
|
])
|
|
@@ -2773,7 +2773,7 @@ const pr = {
|
|
|
2773
2773
|
i !== u && r(i);
|
|
2774
2774
|
}), ue(() => {
|
|
2775
2775
|
s.value && r(!0);
|
|
2776
|
-
}), (i, u) => (c(), p(
|
|
2776
|
+
}), (i, u) => (c(), p(Y, null, [
|
|
2777
2777
|
h("button", {
|
|
2778
2778
|
class: "fr-nav__btn",
|
|
2779
2779
|
"aria-expanded": s.value,
|
|
@@ -2787,16 +2787,16 @@ const pr = {
|
|
|
2787
2787
|
id: i.id,
|
|
2788
2788
|
ref_key: "collapse",
|
|
2789
2789
|
ref: n,
|
|
2790
|
-
class:
|
|
2790
|
+
class: X(["fr-collapse fr-menu", { "fr-collapse--expanded": f(o), "fr-collapsing": f(a) }]),
|
|
2791
2791
|
"data-testid": "navigation-menu",
|
|
2792
2792
|
onTransitionend: u[2] || (u[2] = (A) => f(l)(s.value))
|
|
2793
2793
|
}, [
|
|
2794
2794
|
h("ul", ul, [
|
|
2795
2795
|
B(i.$slots, "default"),
|
|
2796
|
-
(c(!0), p(
|
|
2796
|
+
(c(!0), p(Y, null, te(i.links, (A, d) => (c(), U(ll, { key: d }, {
|
|
2797
2797
|
default: F(() => [
|
|
2798
|
-
R(Wt,
|
|
2799
|
-
onToggleId: u[1] || (u[1] = (
|
|
2798
|
+
R(Wt, K({ ref_for: !0 }, A, {
|
|
2799
|
+
onToggleId: u[1] || (u[1] = (b) => i.$emit("toggleId", i.expandedId))
|
|
2800
2800
|
}), null, 16)
|
|
2801
2801
|
]),
|
|
2802
2802
|
_: 2
|
|
@@ -2813,7 +2813,7 @@ const pr = {
|
|
|
2813
2813
|
navItems: { default: () => [] }
|
|
2814
2814
|
},
|
|
2815
2815
|
setup(e) {
|
|
2816
|
-
const t = e, n =
|
|
2816
|
+
const t = e, n = Z(void 0), a = (s) => {
|
|
2817
2817
|
if (s === n.value) {
|
|
2818
2818
|
n.value = void 0;
|
|
2819
2819
|
return;
|
|
@@ -2844,24 +2844,24 @@ const pr = {
|
|
|
2844
2844
|
}, [
|
|
2845
2845
|
h("ul", dl, [
|
|
2846
2846
|
B(s.$slots, "default"),
|
|
2847
|
-
(c(!0), p(
|
|
2847
|
+
(c(!0), p(Y, null, te(s.navItems, (u, A) => (c(), U(Hr, {
|
|
2848
2848
|
id: u.id,
|
|
2849
2849
|
key: A
|
|
2850
2850
|
}, {
|
|
2851
2851
|
default: F(() => [
|
|
2852
|
-
u.to && u.text ? (c(), U(Wt,
|
|
2852
|
+
u.to && u.text ? (c(), U(Wt, K({
|
|
2853
2853
|
key: 0,
|
|
2854
2854
|
ref_for: !0
|
|
2855
2855
|
}, u, {
|
|
2856
2856
|
"expanded-id": n.value,
|
|
2857
2857
|
onToggleId: i[0] || (i[0] = (d) => a(d))
|
|
2858
|
-
}), null, 16, ["expanded-id"])) : u.title && u.links ? (c(), U(Al,
|
|
2858
|
+
}), null, 16, ["expanded-id"])) : u.title && u.links ? (c(), U(Al, K({
|
|
2859
2859
|
key: 1,
|
|
2860
2860
|
ref_for: !0
|
|
2861
2861
|
}, u, {
|
|
2862
2862
|
"expanded-id": n.value,
|
|
2863
2863
|
onToggleId: i[1] || (i[1] = (d) => a(d))
|
|
2864
|
-
}), null, 16, ["expanded-id"])) : u.title && u.menus ? (c(), U(ol,
|
|
2864
|
+
}), null, 16, ["expanded-id"])) : u.title && u.menus ? (c(), U(ol, K({
|
|
2865
2865
|
key: 2,
|
|
2866
2866
|
ref_for: !0
|
|
2867
2867
|
}, u, {
|
|
@@ -2885,7 +2885,7 @@ const pr = {
|
|
|
2885
2885
|
emits: ["close"],
|
|
2886
2886
|
setup(e) {
|
|
2887
2887
|
return (t, n) => (c(), p("div", {
|
|
2888
|
-
class:
|
|
2888
|
+
class: X(["fr-notice", `fr-notice--${t.type}`])
|
|
2889
2889
|
}, [
|
|
2890
2890
|
h("div", pl, [
|
|
2891
2891
|
h("div", vl, [
|
|
@@ -2942,15 +2942,15 @@ const pr = {
|
|
|
2942
2942
|
setup(e) {
|
|
2943
2943
|
const t = e, n = { viewBox: "0 0 80 80", width: "80px", height: "80px" }, a = M(() => t.rich || !!t.img || !!t.svgPath);
|
|
2944
2944
|
return (o, r) => (c(), p("div", {
|
|
2945
|
-
class:
|
|
2945
|
+
class: X(["fr-fieldset__element", { "fr-fieldset__element--inline": o.inline }])
|
|
2946
2946
|
}, [
|
|
2947
2947
|
h("div", {
|
|
2948
|
-
class:
|
|
2948
|
+
class: X(["fr-radio-group", {
|
|
2949
2949
|
"fr-radio-rich": a.value,
|
|
2950
2950
|
"fr-radio-group--sm": o.small
|
|
2951
2951
|
}])
|
|
2952
2952
|
}, [
|
|
2953
|
-
h("input",
|
|
2953
|
+
h("input", K({
|
|
2954
2954
|
id: o.id,
|
|
2955
2955
|
type: "radio",
|
|
2956
2956
|
name: o.name,
|
|
@@ -2979,7 +2979,7 @@ const pr = {
|
|
|
2979
2979
|
class: "fr-artwork",
|
|
2980
2980
|
alt: "",
|
|
2981
2981
|
title: o.imgTitle
|
|
2982
|
-
}, null, 8, Ml)) : (c(), p("svg",
|
|
2982
|
+
}, null, 8, Ml)) : (c(), p("svg", K({
|
|
2983
2983
|
key: 1,
|
|
2984
2984
|
"aria-hidden": "true",
|
|
2985
2985
|
class: "fr-artwork"
|
|
@@ -3032,7 +3032,7 @@ const pr = {
|
|
|
3032
3032
|
}, s = M(() => o.value ? `messages-${n.titleId}` : void 0);
|
|
3033
3033
|
return (i, u) => (c(), p("div", Ll, [
|
|
3034
3034
|
h("fieldset", {
|
|
3035
|
-
class:
|
|
3035
|
+
class: X(["fr-fieldset", {
|
|
3036
3036
|
"fr-fieldset--error": i.errorMessage,
|
|
3037
3037
|
"fr-fieldset--valid": i.validMessage
|
|
3038
3038
|
}]),
|
|
@@ -3060,7 +3060,7 @@ const pr = {
|
|
|
3060
3060
|
])
|
|
3061
3061
|
], 8, Sl)) : D("", !0),
|
|
3062
3062
|
B(i.$slots, "default", {}, () => [
|
|
3063
|
-
(c(!0), p(
|
|
3063
|
+
(c(!0), p(Y, null, te(i.options, (A, d) => (c(), U(Rn, K({
|
|
3064
3064
|
key: typeof A.value == "boolean" ? d : A.value || d,
|
|
3065
3065
|
name: i.name,
|
|
3066
3066
|
"aria-disabled": A.disabled,
|
|
@@ -3069,7 +3069,7 @@ const pr = {
|
|
|
3069
3069
|
small: i.small,
|
|
3070
3070
|
inline: i.inline,
|
|
3071
3071
|
"model-value": i.modelValue,
|
|
3072
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
3072
|
+
"onUpdate:modelValue": u[0] || (u[0] = (b) => l(b))
|
|
3073
3073
|
}), null, 16, ["name", "aria-disabled", "small", "inline", "model-value"]))), 128))
|
|
3074
3074
|
]),
|
|
3075
3075
|
o.value ? (c(), p("div", {
|
|
@@ -3080,7 +3080,7 @@ const pr = {
|
|
|
3080
3080
|
role: "alert"
|
|
3081
3081
|
}, [
|
|
3082
3082
|
h("p", {
|
|
3083
|
-
class:
|
|
3083
|
+
class: X(["fr-message fr-message--info flex items-center", r.value])
|
|
3084
3084
|
}, x(o.value), 3)
|
|
3085
3085
|
], 8, zl)) : D("", !0)
|
|
3086
3086
|
], 10, Ol)
|
|
@@ -3117,7 +3117,7 @@ const pr = {
|
|
|
3117
3117
|
);
|
|
3118
3118
|
const n = M(() => t.errorMessage || t.successMessage), a = M(() => t.errorMessage ? "error" : "valid");
|
|
3119
3119
|
return (o, r) => (c(), p("div", {
|
|
3120
|
-
class:
|
|
3120
|
+
class: X(["fr-select-group", { [`fr-select-group--${a.value}`]: n.value }])
|
|
3121
3121
|
}, [
|
|
3122
3122
|
h("label", {
|
|
3123
3123
|
class: "fr-label",
|
|
@@ -3131,7 +3131,7 @@ const pr = {
|
|
|
3131
3131
|
]),
|
|
3132
3132
|
o.hint ?? o.description ? (c(), p("span", xl, x(o.hint ?? o.description), 1)) : D("", !0)
|
|
3133
3133
|
], 8, jl),
|
|
3134
|
-
h("select",
|
|
3134
|
+
h("select", K({
|
|
3135
3135
|
id: o.selectId,
|
|
3136
3136
|
class: [{ [`fr-select--${a.value}`]: n.value }, "fr-select"],
|
|
3137
3137
|
name: o.name || o.selectId,
|
|
@@ -3150,7 +3150,7 @@ const pr = {
|
|
|
3150
3150
|
value: "",
|
|
3151
3151
|
hidden: ""
|
|
3152
3152
|
}, x(o.defaultUnselectedText), 9, Vl),
|
|
3153
|
-
(c(!0), p(
|
|
3153
|
+
(c(!0), p(Y, null, te(o.options, (l, s) => (c(), p("option", {
|
|
3154
3154
|
key: s,
|
|
3155
3155
|
selected: o.modelValue === l || typeof l == "object" && l.value === o.modelValue,
|
|
3156
3156
|
value: typeof l == "object" ? l.value : l,
|
|
@@ -3161,7 +3161,7 @@ const pr = {
|
|
|
3161
3161
|
n.value ? (c(), p("p", {
|
|
3162
3162
|
key: 0,
|
|
3163
3163
|
id: `select-${a.value}-desc-${a.value}`,
|
|
3164
|
-
class:
|
|
3164
|
+
class: X(`fr-${a.value}-text`)
|
|
3165
3165
|
}, x(n.value), 11, ql)) : D("", !0)
|
|
3166
3166
|
], 2));
|
|
3167
3167
|
}
|
|
@@ -3184,7 +3184,7 @@ const pr = {
|
|
|
3184
3184
|
default: F(() => [
|
|
3185
3185
|
ga(h("div", {
|
|
3186
3186
|
id: i.panelId,
|
|
3187
|
-
class:
|
|
3187
|
+
class: X(["fr-tabs__panel", {
|
|
3188
3188
|
"fr-tabs__panel--selected": f(o)
|
|
3189
3189
|
}]),
|
|
3190
3190
|
role: "tabpanel",
|
|
@@ -3211,22 +3211,22 @@ const pr = {
|
|
|
3211
3211
|
},
|
|
3212
3212
|
emits: ["click", "next", "previous", "first", "last"],
|
|
3213
3213
|
setup(e, { emit: t }) {
|
|
3214
|
-
const n = e, a = t, o =
|
|
3214
|
+
const n = e, a = t, o = Z(null), r = {
|
|
3215
3215
|
ArrowRight: "next",
|
|
3216
3216
|
ArrowLeft: "previous",
|
|
3217
3217
|
Home: "first",
|
|
3218
3218
|
End: "last"
|
|
3219
3219
|
};
|
|
3220
3220
|
function l(A) {
|
|
3221
|
-
const d = A == null ? void 0 : A.key,
|
|
3222
|
-
|
|
3221
|
+
const d = A == null ? void 0 : A.key, b = r[d];
|
|
3222
|
+
b && a(b);
|
|
3223
3223
|
}
|
|
3224
3224
|
const s = Xe(Pt), { isVisible: i } = s(At(() => n.tabId)), u = fa("button");
|
|
3225
3225
|
return oe(i, () => {
|
|
3226
3226
|
var A;
|
|
3227
3227
|
i.value && ((A = u.value) == null || A.focus());
|
|
3228
3228
|
}), (A, d) => (c(), p("li", Rl, [
|
|
3229
|
-
h("button",
|
|
3229
|
+
h("button", K(A.$attrs, {
|
|
3230
3230
|
id: A.tabId,
|
|
3231
3231
|
ref_key: "button",
|
|
3232
3232
|
ref: o,
|
|
@@ -3237,8 +3237,8 @@ const pr = {
|
|
|
3237
3237
|
type: "button",
|
|
3238
3238
|
"aria-selected": f(i),
|
|
3239
3239
|
"aria-controls": A.panelId,
|
|
3240
|
-
onClick: d[0] || (d[0] = ce((
|
|
3241
|
-
onKeydown: d[1] || (d[1] = (
|
|
3240
|
+
onClick: d[0] || (d[0] = ce((b) => A.$emit("click", A.tabId), ["prevent"])),
|
|
3241
|
+
onKeydown: d[1] || (d[1] = (b) => l(b))
|
|
3242
3242
|
}), [
|
|
3243
3243
|
A.icon ? (c(), p("span", Kl, [
|
|
3244
3244
|
R(we, { name: A.icon }, null, 8, ["name"])
|
|
@@ -3257,14 +3257,14 @@ const pr = {
|
|
|
3257
3257
|
},
|
|
3258
3258
|
emits: ["update:modelValue"],
|
|
3259
3259
|
setup(e, { expose: t, emit: n }) {
|
|
3260
|
-
const a = e, o = n, r =
|
|
3260
|
+
const a = e, o = n, r = Z(!1), l = M({
|
|
3261
3261
|
get: () => a.modelValue,
|
|
3262
3262
|
set(T) {
|
|
3263
3263
|
o("update:modelValue", T);
|
|
3264
3264
|
}
|
|
3265
|
-
}), s =
|
|
3265
|
+
}), s = Z(/* @__PURE__ */ new Map()), i = Z(0);
|
|
3266
3266
|
ut(Pt, (T) => {
|
|
3267
|
-
const z =
|
|
3267
|
+
const z = Z(!0);
|
|
3268
3268
|
if (oe(l, (J, q) => {
|
|
3269
3269
|
z.value = J > q;
|
|
3270
3270
|
}), [...s.value.values()].includes(T.value))
|
|
@@ -3278,12 +3278,12 @@ const pr = {
|
|
|
3278
3278
|
s.value.delete(O);
|
|
3279
3279
|
}), { isVisible: w };
|
|
3280
3280
|
});
|
|
3281
|
-
const u =
|
|
3281
|
+
const u = Z(null), A = Z(null), d = Ct({}), b = (T) => {
|
|
3282
3282
|
if (d[T])
|
|
3283
3283
|
return d[T];
|
|
3284
3284
|
const z = le("tab");
|
|
3285
3285
|
return d[T] = z, z;
|
|
3286
|
-
},
|
|
3286
|
+
}, m = async () => {
|
|
3287
3287
|
const T = l.value === 0 ? a.tabTitles.length - 1 : l.value - 1;
|
|
3288
3288
|
r.value = !1, l.value = T;
|
|
3289
3289
|
}, I = async () => {
|
|
@@ -3293,7 +3293,7 @@ const pr = {
|
|
|
3293
3293
|
l.value = 0;
|
|
3294
3294
|
}, v = async () => {
|
|
3295
3295
|
l.value = a.tabTitles.length - 1;
|
|
3296
|
-
}, k =
|
|
3296
|
+
}, k = Z({ "--tabs-height": "100px" }), S = () => {
|
|
3297
3297
|
var T;
|
|
3298
3298
|
if (l.value < 0 || !A.value || !A.value.offsetHeight)
|
|
3299
3299
|
return;
|
|
@@ -3302,7 +3302,7 @@ const pr = {
|
|
|
3302
3302
|
return;
|
|
3303
3303
|
const w = O.offsetHeight;
|
|
3304
3304
|
k.value["--tabs-height"] = `${z + w}px`;
|
|
3305
|
-
}, Q =
|
|
3305
|
+
}, Q = Z(null);
|
|
3306
3306
|
return ue(() => {
|
|
3307
3307
|
var T;
|
|
3308
3308
|
window.ResizeObserver && (Q.value = new window.ResizeObserver(() => {
|
|
@@ -3335,14 +3335,14 @@ const pr = {
|
|
|
3335
3335
|
"aria-label": T.tabListName
|
|
3336
3336
|
}, [
|
|
3337
3337
|
B(T.$slots, "tab-items", {}, () => [
|
|
3338
|
-
(c(!0), p(
|
|
3338
|
+
(c(!0), p(Y, null, te(T.tabTitles, (O, w) => (c(), U(Kn, {
|
|
3339
3339
|
key: w,
|
|
3340
3340
|
icon: O.icon,
|
|
3341
|
-
"panel-id": O.panelId || `${
|
|
3342
|
-
"tab-id": O.tabId ||
|
|
3341
|
+
"panel-id": O.panelId || `${b(w)}-panel`,
|
|
3342
|
+
"tab-id": O.tabId || b(w),
|
|
3343
3343
|
onClick: (J) => l.value = w,
|
|
3344
3344
|
onNext: z[0] || (z[0] = (J) => I()),
|
|
3345
|
-
onPrevious: z[1] || (z[1] = (J) =>
|
|
3345
|
+
onPrevious: z[1] || (z[1] = (J) => m()),
|
|
3346
3346
|
onFirst: z[2] || (z[2] = (J) => C()),
|
|
3347
3347
|
onLast: z[3] || (z[3] = (J) => v())
|
|
3348
3348
|
}, {
|
|
@@ -3353,12 +3353,12 @@ const pr = {
|
|
|
3353
3353
|
}, 1032, ["icon", "panel-id", "tab-id", "onClick"]))), 128))
|
|
3354
3354
|
])
|
|
3355
3355
|
], 8, Yl),
|
|
3356
|
-
(c(!0), p(
|
|
3356
|
+
(c(!0), p(Y, null, te(T.tabContents, (O, w) => {
|
|
3357
3357
|
var J, q, $, y;
|
|
3358
3358
|
return c(), U(Fn, {
|
|
3359
3359
|
key: w,
|
|
3360
|
-
"panel-id": ((q = (J = T.tabTitles) == null ? void 0 : J[w]) == null ? void 0 : q.panelId) || `${
|
|
3361
|
-
"tab-id": ((y = ($ = T.tabTitles) == null ? void 0 : $[w]) == null ? void 0 : y.tabId) ||
|
|
3360
|
+
"panel-id": ((q = (J = T.tabTitles) == null ? void 0 : J[w]) == null ? void 0 : q.panelId) || `${b(w)}-panel`,
|
|
3361
|
+
"tab-id": ((y = ($ = T.tabTitles) == null ? void 0 : $[w]) == null ? void 0 : y.tabId) || b(w)
|
|
3362
3362
|
}, {
|
|
3363
3363
|
default: F(() => [
|
|
3364
3364
|
ae(x(O), 1)
|
|
@@ -3388,7 +3388,7 @@ const pr = {
|
|
|
3388
3388
|
const t = e, n = M(() => typeof t.link == "string" && t.link.startsWith("http")), a = M(() => t.link ? n.value ? "a" : "RouterLink" : t.disabled && t.tagName === "p" || t.selectable ? "button" : t.tagName), o = M(() => ({ [n.value ? "href" : "to"]: t.link })), r = M(() => typeof t.icon == "string" && t.icon.startsWith("fr-icon-")), l = M(() => t.small ? 0.65 : 0.9), s = M(
|
|
3389
3389
|
() => typeof t.icon == "string" ? { scale: l.value, name: t.icon } : { scale: l.value, ...t.icon }
|
|
3390
3390
|
);
|
|
3391
|
-
return (i, u) => (c(), U(de(a.value),
|
|
3391
|
+
return (i, u) => (c(), U(de(a.value), K({
|
|
3392
3392
|
class: ["fr-tag", {
|
|
3393
3393
|
"fr-tag--sm": i.small,
|
|
3394
3394
|
[i.icon]: r.value,
|
|
@@ -3400,12 +3400,12 @@ const pr = {
|
|
|
3400
3400
|
onClick: u[0] || (u[0] = (A) => !i.disabled && i.$emit("select", [i.value, i.selected]))
|
|
3401
3401
|
}), {
|
|
3402
3402
|
default: F(() => [
|
|
3403
|
-
t.icon && !r.value ? (c(), U(we,
|
|
3403
|
+
t.icon && !r.value ? (c(), U(we, K({
|
|
3404
3404
|
key: 0,
|
|
3405
3405
|
label: i.iconOnly ? i.label : void 0,
|
|
3406
3406
|
class: { "fr-mr-1v": !i.iconOnly }
|
|
3407
3407
|
}, s.value), null, 16, ["label", "class"])) : D("", !0),
|
|
3408
|
-
i.iconOnly ? D("", !0) : (c(), p(
|
|
3408
|
+
i.iconOnly ? D("", !0) : (c(), p(Y, { key: 1 }, [
|
|
3409
3409
|
ae(x(i.label), 1)
|
|
3410
3410
|
], 64)),
|
|
3411
3411
|
B(i.$slots, "default", {}, void 0, !0)
|
|
@@ -3437,7 +3437,7 @@ const pr = {
|
|
|
3437
3437
|
}));
|
|
3438
3438
|
return (o, r) => {
|
|
3439
3439
|
const l = So;
|
|
3440
|
-
return c(), U(l,
|
|
3440
|
+
return c(), U(l, K(t, {
|
|
3441
3441
|
class: ["av-badge", [f(n)]],
|
|
3442
3442
|
style: f(a)
|
|
3443
3443
|
}), null, 16, ["class", "style"]);
|
|
@@ -3448,7 +3448,7 @@ const pr = {
|
|
|
3448
3448
|
for (const [a, o] of t)
|
|
3449
3449
|
n[a] = o;
|
|
3450
3450
|
return n;
|
|
3451
|
-
},
|
|
3451
|
+
}, kc = /* @__PURE__ */ G($l, [["__scopeId", "data-v-844b9e93"]]), ei = { class: "av-icon-vicon--container" }, ti = 16 / 19.19, ni = /* @__PURE__ */ j({
|
|
3452
3452
|
__name: "AvVIcon",
|
|
3453
3453
|
props: {
|
|
3454
3454
|
size: { default: 1 },
|
|
@@ -3471,7 +3471,7 @@ const pr = {
|
|
|
3471
3471
|
return (o, r) => {
|
|
3472
3472
|
const l = we;
|
|
3473
3473
|
return c(), p("div", ei, [
|
|
3474
|
-
R(l,
|
|
3474
|
+
R(l, K(t, { scale: f(n) }), null, 16, ["scale"])
|
|
3475
3475
|
]);
|
|
3476
3476
|
};
|
|
3477
3477
|
}
|
|
@@ -3493,7 +3493,7 @@ const pr = {
|
|
|
3493
3493
|
}));
|
|
3494
3494
|
const t = M(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), n = M(() => e.inline ? void 0 : "ellipsis-container"), a = M(() => e.inline ? void 0 : "ellipsis");
|
|
3495
3495
|
return (o, r) => (c(), p("div", {
|
|
3496
|
-
class:
|
|
3496
|
+
class: X(["icon-text--container", [f(n)]])
|
|
3497
3497
|
}, [
|
|
3498
3498
|
R(se, {
|
|
3499
3499
|
class: "icon-text--icon",
|
|
@@ -3502,7 +3502,7 @@ const pr = {
|
|
|
3502
3502
|
size: f(t)
|
|
3503
3503
|
}, null, 8, ["name", "color", "size"]),
|
|
3504
3504
|
h("span", {
|
|
3505
|
-
class:
|
|
3505
|
+
class: X(["icon-text--text", [f(a), o.typographyClass]])
|
|
3506
3506
|
}, x(o.text), 3)
|
|
3507
3507
|
], 2));
|
|
3508
3508
|
}
|
|
@@ -3510,7 +3510,7 @@ const pr = {
|
|
|
3510
3510
|
function ri(e, t = "var(--dark-background-primary1)") {
|
|
3511
3511
|
return e.replace(/###(.+?)###/gs, `<h1 style="display:flex;flex-direction:row;justify-content:start;font-size:var(--font-size-n6);line-height:var(--line-height-n5);color:${t}">$1</h1>`).replace(/@@([\s\S]+?)@@/g, "<div>$1</div>").replace(/^\s*--\s+(.*)$/gm, '<li class="indented-list">$1</li>').replace(/(\r\n|\n|\r|\\n|\\r)/g, '<div class="line-break"></div>').replace(/__(.+?)__/g, '<span class="text-underline">$1</span>').replace(/\*\*(.+?)\*\*/g, `<strong style="color: ${t}">$1</strong>`);
|
|
3512
3512
|
}
|
|
3513
|
-
const li = ["innerHTML"],
|
|
3513
|
+
const li = ["innerHTML"], Qc = /* @__PURE__ */ j({
|
|
3514
3514
|
__name: "AvNotice",
|
|
3515
3515
|
props: {
|
|
3516
3516
|
title: { default: "" },
|
|
@@ -3529,7 +3529,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3529
3529
|
_: 1
|
|
3530
3530
|
}, 8, ["title", "type"]));
|
|
3531
3531
|
}
|
|
3532
|
-
}),
|
|
3532
|
+
}), Lc = {
|
|
3533
3533
|
name: "AvVIcon",
|
|
3534
3534
|
props: ["name", "color", "size"],
|
|
3535
3535
|
template: '<div class="av-vicon" />'
|
|
@@ -3569,7 +3569,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3569
3569
|
])) : D("", !0)
|
|
3570
3570
|
], 4));
|
|
3571
3571
|
}
|
|
3572
|
-
}),
|
|
3572
|
+
}), Oc = /* @__PURE__ */ G(ui, [["__scopeId", "data-v-740c9a3b"]]), ne = {
|
|
3573
3573
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
3574
3574
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
3575
3575
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -3619,6 +3619,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3619
3619
|
PAGE_FIRST: "mdi:page-first",
|
|
3620
3620
|
PAGE_LAST: "mdi:page-last",
|
|
3621
3621
|
PENCIL_OUTLINE: "mdi:pencil-outline",
|
|
3622
|
+
PEOPLE_GROUP_OUTLINE: "mdi:people-group-outline",
|
|
3622
3623
|
PLUS_CIRCLE_OUTLINE: "mdi:plus-circle-outline",
|
|
3623
3624
|
POST_IT_NOTES_OUTLINE: "mdi:post-it-notes-outline",
|
|
3624
3625
|
SCHOOL_OUTLINE: "mdi:school-outline",
|
|
@@ -3634,10 +3635,10 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3634
3635
|
TRAY_UPLOAD: "mdi:tray-upload",
|
|
3635
3636
|
VECTOR_POLYGON_VARIANT: "mdi:vector-polygon-variant",
|
|
3636
3637
|
WARNING_OUTLINE: "mdi:warning-outline"
|
|
3637
|
-
},
|
|
3638
|
+
}, Sc = {
|
|
3638
3639
|
DICE_1_LINE: "ri:dice-1-line",
|
|
3639
3640
|
DICE_4_LINE: "ri:dice-4-line"
|
|
3640
|
-
},
|
|
3641
|
+
}, Dc = {
|
|
3641
3642
|
CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
3642
3643
|
CLOCK_HALF_PLUS_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTMxXzMxMzY5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1MzFfMzEzNjkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSAxMS43ODI3TDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzYuNTExNDQgMi42NjYwMiA1LjI1MDMzIDMuMTgyNjggNC4yMTY5OSA0LjIxNjAyQzMuMTgzNjYgNS4yNDkzNSAyLjY2Njk5IDYuNTEwNDYgMi42NjY5OSA3Ljk5OTM1QzIuNjY2OTkgOC43MTA0NiAyLjgwMDMzIDkuMzkzNzkgMy4wNjY5OSAxMC4wNDkzQzMuMzMzNjYgMTAuNzA0OSAzLjcxNjk5IDExLjI4MjcgNC4yMTY5OSAxMS43ODI3WiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
3643
3644
|
CLOCK_QUARTER_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzMxMzQ1IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMzEzNDUpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNOC4wMDAzMyAxMy4zMzI3QzkuNDg5MjEgMTMuMzMyNyAxMC43NTAzIDEyLjgxNiAxMS43ODM3IDExLjc4MjdDMTIuODE3IDEwLjc0OTMgMTMuMzMzNyA5LjQ4ODI0IDEzLjMzMzcgNy45OTkzNUg4LjAwMDMzVjIuNjY2MDJDNi41MTE0NCAyLjY2NjAyIDUuMjUwMzMgMy4xODI2OCA0LjIxNjk5IDQuMjE2MDJDMy4xODM2NiA1LjI0OTM1IDIuNjY2OTkgNi41MTA0NiAyLjY2Njk5IDcuOTk5MzVDMi42NjY5OSA5LjQ4ODI0IDMuMTgzNjYgMTAuNzQ5MyA0LjIxNjk5IDExLjc4MjdDNS4yNTAzMyAxMi44MTYgNi41MTE0NCAxMy4zMzI3IDguMDAwMzMgMTMuMzMyN1oiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L2c+Cjwvc3ZnPgo=",
|
|
@@ -3683,7 +3684,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3683
3684
|
});
|
|
3684
3685
|
return t({ computedSvgScale: i }), (u, A) => {
|
|
3685
3686
|
const d = xt;
|
|
3686
|
-
return c(), U(d,
|
|
3687
|
+
return c(), U(d, K(n, {
|
|
3687
3688
|
class: ["av-button", [f(r), f(l), f(s)]],
|
|
3688
3689
|
disabled: n.disabled || u.isLoading,
|
|
3689
3690
|
icon: f(o),
|
|
@@ -3733,12 +3734,12 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3733
3734
|
return (l, s) => l.closed ? D("", !0) : (c(), p("div", {
|
|
3734
3735
|
key: 0,
|
|
3735
3736
|
id: l.id,
|
|
3736
|
-
class:
|
|
3737
|
+
class: X(["fr-alert", f(o)]),
|
|
3737
3738
|
role: l.alert ? "alert" : void 0
|
|
3738
3739
|
}, [
|
|
3739
3740
|
h("div", di, [
|
|
3740
3741
|
h("div", fi, [
|
|
3741
|
-
R(se,
|
|
3742
|
+
R(se, K(f(r), { size: 3 }), null, 16),
|
|
3742
3743
|
h("div", pi, [
|
|
3743
3744
|
l.small ? D("", !0) : (c(), U(de(l.titleTag), {
|
|
3744
3745
|
key: 0,
|
|
@@ -3797,7 +3798,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3797
3798
|
class: "toasters"
|
|
3798
3799
|
}, {
|
|
3799
3800
|
default: F(() => [
|
|
3800
|
-
(c(!0), p(
|
|
3801
|
+
(c(!0), p(Y, null, te(a.messages, (r) => (c(), U(bi, K({
|
|
3801
3802
|
key: r.id,
|
|
3802
3803
|
class: ["av-toaster", t(r.type)]
|
|
3803
3804
|
}, { ref_for: !0 }, r, {
|
|
@@ -3809,7 +3810,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3809
3810
|
})
|
|
3810
3811
|
]));
|
|
3811
3812
|
}
|
|
3812
|
-
}),
|
|
3813
|
+
}), wc = /* @__PURE__ */ G(Ii, [["__scopeId", "data-v-202438c7"]]), hi = ["aria-label"], yi = { class: "fr-btns-group" }, An = /* @__PURE__ */ j({
|
|
3813
3814
|
__name: "AvHeaderMenuLinks",
|
|
3814
3815
|
props: {
|
|
3815
3816
|
links: {},
|
|
@@ -3823,7 +3824,7 @@ const li = ["innerHTML"], kc = /* @__PURE__ */ j({
|
|
|
3823
3824
|
"aria-label": a.navAriaLabel
|
|
3824
3825
|
}, [
|
|
3825
3826
|
h("ul", yi, [
|
|
3826
|
-
(c(!0), p(
|
|
3827
|
+
(c(!0), p(Y, null, te(a.links, (r, l) => (c(), p("li", { key: l }, [
|
|
3827
3828
|
R(Ne, {
|
|
3828
3829
|
icon: r.icon,
|
|
3829
3830
|
label: r.label ?? "",
|
|
@@ -3912,7 +3913,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3912
3913
|
},
|
|
3913
3914
|
emits: ["update:modelValue", "search", "languageSelect"],
|
|
3914
3915
|
setup(e, { emit: t }) {
|
|
3915
|
-
const n = e, a = t, o = fe(), r = At(n, "languageSelector"), l =
|
|
3916
|
+
const n = e, a = t, o = fe(), r = At(n, "languageSelector"), l = Z(!1), s = Z(!1), i = Z(!1);
|
|
3916
3917
|
function u() {
|
|
3917
3918
|
var v;
|
|
3918
3919
|
i.value = !1, l.value = !1, s.value = !1, (v = document.getElementById("button-menu")) == null || v.focus();
|
|
@@ -3931,10 +3932,10 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3931
3932
|
(v = document.getElementById("close-button")) == null || v.focus();
|
|
3932
3933
|
});
|
|
3933
3934
|
}
|
|
3934
|
-
function
|
|
3935
|
+
function b() {
|
|
3935
3936
|
i.value = !0, l.value = !1, s.value = !0;
|
|
3936
3937
|
}
|
|
3937
|
-
const
|
|
3938
|
+
const m = u, I = M(() => [n.homeLabel, n.serviceTitle].filter((v) => v).join(" - ")), C = M(() => !!o.mainnav);
|
|
3938
3939
|
return ut(xn, () => u), (v, k) => {
|
|
3939
3940
|
var z, O;
|
|
3940
3941
|
const S = Dt("RouterLink"), Q = Er, T = Lr;
|
|
@@ -3963,7 +3964,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3963
3964
|
"aria-label": v.showSearchLabel,
|
|
3964
3965
|
title: v.showSearchLabel,
|
|
3965
3966
|
"data-fr-opened": f(s),
|
|
3966
|
-
onClick: k[0] || (k[0] = ce((w) =>
|
|
3967
|
+
onClick: k[0] || (k[0] = ce((w) => b(), ["prevent", "stop"]))
|
|
3967
3968
|
}, null, 8, zi)) : D("", !0),
|
|
3968
3969
|
f(C) || (O = v.quickLinks) != null && O.length ? (c(), p("button", {
|
|
3969
3970
|
key: 1,
|
|
@@ -3993,7 +3994,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
3993
3994
|
"nav-aria-label": v.quickLinksAriaLabel
|
|
3994
3995
|
}, null, 8, ["links", "nav-aria-label"])),
|
|
3995
3996
|
B(v.$slots, "after-quick-links", {}, void 0, !0),
|
|
3996
|
-
f(r) ? (c(), U(Q,
|
|
3997
|
+
f(r) ? (c(), U(Q, K({ key: 1 }, f(r), {
|
|
3997
3998
|
onSelect: k[2] || (k[2] = (w) => a("languageSelect", w))
|
|
3998
3999
|
}), null, 16)) : D("", !0)
|
|
3999
4000
|
]),
|
|
@@ -4013,7 +4014,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4013
4014
|
v.showSearch || f(C) || v.quickLinks && v.quickLinks.length || f(r) ? (c(), p("div", {
|
|
4014
4015
|
key: 0,
|
|
4015
4016
|
id: "header-navigation",
|
|
4016
|
-
class:
|
|
4017
|
+
class: X(["fr-header__menu fr-modal", { "fr-modal--opened": f(i) }]),
|
|
4017
4018
|
"aria-label": v.menuModalLabel,
|
|
4018
4019
|
role: "dialog",
|
|
4019
4020
|
"aria-modal": "true"
|
|
@@ -4027,7 +4028,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4027
4028
|
onClick: k[5] || (k[5] = ce((w) => u(), ["prevent", "stop"]))
|
|
4028
4029
|
}, x(v.closeMenuModalLabel), 1),
|
|
4029
4030
|
h("div", Hi, [
|
|
4030
|
-
f(r) ? (c(), U(Q,
|
|
4031
|
+
f(r) ? (c(), U(Q, K({ key: 0 }, f(r), {
|
|
4031
4032
|
onSelect: k[6] || (k[6] = (w) => f(r).currentLanguage = w.codeIso)
|
|
4032
4033
|
}), null, 16)) : D("", !0),
|
|
4033
4034
|
B(v.$slots, "before-quick-links", {}, void 0, !0),
|
|
@@ -4036,7 +4037,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4036
4037
|
role: "navigation",
|
|
4037
4038
|
links: v.quickLinks,
|
|
4038
4039
|
"nav-aria-label": v.quickLinksAriaLabel,
|
|
4039
|
-
onLinkClick: f(
|
|
4040
|
+
onLinkClick: f(m)
|
|
4040
4041
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
|
|
4041
4042
|
B(v.$slots, "after-quick-links", {}, void 0, !0)
|
|
4042
4043
|
]),
|
|
@@ -4066,7 +4067,7 @@ const Ni = /* @__PURE__ */ G(Ci, [["render", Mi]]), Ti = {
|
|
|
4066
4067
|
]);
|
|
4067
4068
|
};
|
|
4068
4069
|
}
|
|
4069
|
-
}),
|
|
4070
|
+
}), zc = /* @__PURE__ */ G(Fi, [["__scopeId", "data-v-40671897"]]), Ki = {
|
|
4070
4071
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4071
4072
|
viewBox: "0 0 106.703 44.429"
|
|
4072
4073
|
};
|
|
@@ -4100,10 +4101,10 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4100
4101
|
...e.height && { height: e.height }
|
|
4101
4102
|
}));
|
|
4102
4103
|
return (n, a) => (c(), p("div", Ji, [
|
|
4103
|
-
R(f(Gi),
|
|
4104
|
+
R(f(Gi), K(f(t), { class: "logo" }), null, 16)
|
|
4104
4105
|
]));
|
|
4105
4106
|
}
|
|
4106
|
-
}),
|
|
4107
|
+
}), Bc = /* @__PURE__ */ G(_i, [["__scopeId", "data-v-0e512b24"]]), jc = /* @__PURE__ */ j({
|
|
4107
4108
|
__name: "AvAccordion",
|
|
4108
4109
|
props: {
|
|
4109
4110
|
title: {},
|
|
@@ -4133,7 +4134,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4133
4134
|
"aria-label": "Accordion group"
|
|
4134
4135
|
}, {
|
|
4135
4136
|
default: F(() => [
|
|
4136
|
-
(c(!0), p(
|
|
4137
|
+
(c(!0), p(Y, null, te(f(n), (s, i) => (c(), U(f(ko), {
|
|
4137
4138
|
id: `${o}-accordion-${i}`,
|
|
4138
4139
|
key: i,
|
|
4139
4140
|
"aria-labelledby": `accordion-title-${i}`,
|
|
@@ -4164,7 +4165,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4164
4165
|
_: 1
|
|
4165
4166
|
}, 8, ["modelValue"]));
|
|
4166
4167
|
}
|
|
4167
|
-
}),
|
|
4168
|
+
}), Pc = /* @__PURE__ */ G(ns, [["__scopeId", "data-v-efeab1a6"]]), xc = {
|
|
4168
4169
|
name: "AvButton",
|
|
4169
4170
|
props: ["label", "variant", "type", "disabled", "isLoading"],
|
|
4170
4171
|
emits: ["click"],
|
|
@@ -4209,7 +4210,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4209
4210
|
])
|
|
4210
4211
|
], 8, as));
|
|
4211
4212
|
}
|
|
4212
|
-
}),
|
|
4213
|
+
}), Wc = /* @__PURE__ */ G(ls, [["__scopeId", "data-v-f0871dc1"]]), is = {
|
|
4213
4214
|
key: 0,
|
|
4214
4215
|
class: "messages-group",
|
|
4215
4216
|
role: "alert"
|
|
@@ -4257,7 +4258,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4257
4258
|
Ae((I) => ({
|
|
4258
4259
|
"31d78708": I.maxWidth
|
|
4259
4260
|
}));
|
|
4260
|
-
const n = e, a = t, o = M(() => Array.isArray(n.accept) ? n.accept.join(",") : n.accept), r =
|
|
4261
|
+
const n = e, a = t, o = M(() => Array.isArray(n.accept) ? n.accept.join(",") : n.accept), r = Z(!1);
|
|
4261
4262
|
function l(I) {
|
|
4262
4263
|
const C = o.value;
|
|
4263
4264
|
return C ? C.split(",").map((k) => k.trim().toLowerCase()).some((k) => k.startsWith(".") ? I.name.toLowerCase().endsWith(k) : k.includes("/") ? I.type === k || I.type.startsWith(`${k.split("/")[0]}/`) : !1) : !0;
|
|
@@ -4279,7 +4280,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4279
4280
|
const C = I.target.files;
|
|
4280
4281
|
a("change", C), a("update:modelValue", (C == null ? void 0 : C[0]) ?? null);
|
|
4281
4282
|
}
|
|
4282
|
-
const d = M(() => n.fileName || n.modelValue && !n.enableMultiple),
|
|
4283
|
+
const d = M(() => n.fileName || n.modelValue && !n.enableMultiple), b = M(() => ({
|
|
4283
4284
|
for: n.id,
|
|
4284
4285
|
class: [
|
|
4285
4286
|
"fr-upload-group",
|
|
@@ -4295,17 +4296,17 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4295
4296
|
onDragleave: u,
|
|
4296
4297
|
onDrop: s
|
|
4297
4298
|
}));
|
|
4298
|
-
function
|
|
4299
|
+
function m(I) {
|
|
4299
4300
|
var C;
|
|
4300
4301
|
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (C = n.onDeleteFile) == null || C.call(n);
|
|
4301
4302
|
}
|
|
4302
|
-
return (I, C) => (c(), p(
|
|
4303
|
-
(c(), U(de(f(d) ? "div" : "label"),
|
|
4303
|
+
return (I, C) => (c(), p(Y, null, [
|
|
4304
|
+
(c(), U(de(f(d) ? "div" : "label"), K(f(d) ? {} : f(b), {
|
|
4304
4305
|
class: f(d) ? "file-preview-container" : ""
|
|
4305
4306
|
}), {
|
|
4306
4307
|
default: F(() => [
|
|
4307
4308
|
h("div", {
|
|
4308
|
-
class:
|
|
4309
|
+
class: X(f(d) ? "" : "file-upload-container")
|
|
4309
4310
|
}, [
|
|
4310
4311
|
h("div", us, [
|
|
4311
4312
|
h("div", As, [
|
|
@@ -4334,7 +4335,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4334
4335
|
key: 0,
|
|
4335
4336
|
label: I.deleteButtonLabel,
|
|
4336
4337
|
theme: "SECONDARY",
|
|
4337
|
-
onClick: C[0] || (C[0] = () =>
|
|
4338
|
+
onClick: C[0] || (C[0] = () => m(I.modelValue))
|
|
4338
4339
|
}, null, 8, ["label"])) : (c(), U(se, {
|
|
4339
4340
|
key: 1,
|
|
4340
4341
|
size: 1.5,
|
|
@@ -4342,7 +4343,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4342
4343
|
color: "var(--dark-background-primary1)"
|
|
4343
4344
|
}, null, 8, ["name"]))
|
|
4344
4345
|
]),
|
|
4345
|
-
f(d) ? D("", !0) : (c(), p("input",
|
|
4346
|
+
f(d) ? D("", !0) : (c(), p("input", K({
|
|
4346
4347
|
key: 0,
|
|
4347
4348
|
id: I.id,
|
|
4348
4349
|
class: "fr-upload",
|
|
@@ -4364,7 +4365,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4364
4365
|
])
|
|
4365
4366
|
], 64));
|
|
4366
4367
|
}
|
|
4367
|
-
}),
|
|
4368
|
+
}), Vc = /* @__PURE__ */ G(hs, [["__scopeId", "data-v-ad517fa7"]]), ys = { class: "av-input" }, Cs = { class: "av-input__wrapper" }, Es = {
|
|
4368
4369
|
key: 0,
|
|
4369
4370
|
class: "av-input__prefix"
|
|
4370
4371
|
}, Ms = {
|
|
@@ -4410,7 +4411,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4410
4411
|
size: 1.2
|
|
4411
4412
|
}, null, 8, ["name"])
|
|
4412
4413
|
])) : D("", !0),
|
|
4413
|
-
R(f(Zn),
|
|
4414
|
+
R(f(Zn), K({
|
|
4414
4415
|
id: f(s),
|
|
4415
4416
|
"model-value": u.modelValue,
|
|
4416
4417
|
label: u.label,
|
|
@@ -4450,20 +4451,20 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4450
4451
|
}, !0)
|
|
4451
4452
|
]),
|
|
4452
4453
|
f(r).length > 0 ? (c(), p("div", Ns, [
|
|
4453
|
-
(c(!0), p(
|
|
4454
|
-
key:
|
|
4454
|
+
(c(!0), p(Y, null, te(f(r), (d, b) => (c(), p("div", {
|
|
4455
|
+
key: b,
|
|
4455
4456
|
class: "av-input__error-message"
|
|
4456
4457
|
}, x(d), 1))), 128))
|
|
4457
4458
|
])) : D("", !0),
|
|
4458
4459
|
f(l).length > 0 ? (c(), p("div", Ts, [
|
|
4459
|
-
(c(!0), p(
|
|
4460
|
-
key:
|
|
4460
|
+
(c(!0), p(Y, null, te(f(l), (d, b) => (c(), p("div", {
|
|
4461
|
+
key: b,
|
|
4461
4462
|
class: "av-input__valid-message"
|
|
4462
4463
|
}, x(d), 1))), 128))
|
|
4463
4464
|
])) : D("", !0)
|
|
4464
4465
|
]));
|
|
4465
4466
|
}
|
|
4466
|
-
}), Qs = /* @__PURE__ */ G(ks, [["__scopeId", "data-v-7c2354be"]]),
|
|
4467
|
+
}), Qs = /* @__PURE__ */ G(ks, [["__scopeId", "data-v-7c2354be"]]), Uc = {
|
|
4467
4468
|
name: "AvList",
|
|
4468
4469
|
props: ["size"],
|
|
4469
4470
|
template: '<div class="av-list"><slot /></div>'
|
|
@@ -4491,7 +4492,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4491
4492
|
}));
|
|
4492
4493
|
const t = M(() => `av-list--${e.size}`), n = M(() => e.bordered ? "av-list--bordered" : ""), a = M(() => e.divided ? "av-list--divided" : "");
|
|
4493
4494
|
return (o, r) => (c(), p("div", {
|
|
4494
|
-
class:
|
|
4495
|
+
class: X(["av-list", [f(t), f(n), f(a)]]),
|
|
4495
4496
|
role: o.role,
|
|
4496
4497
|
"aria-label": o.ariaLabel,
|
|
4497
4498
|
"aria-labelledby": o.ariaLabelledby,
|
|
@@ -4500,7 +4501,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4500
4501
|
B(o.$slots, "default", {}, void 0, !0)
|
|
4501
4502
|
], 10, Ls));
|
|
4502
4503
|
}
|
|
4503
|
-
}), Yn = /* @__PURE__ */ G(Os, [["__scopeId", "data-v-f74989f7"]]),
|
|
4504
|
+
}), Yn = /* @__PURE__ */ G(Os, [["__scopeId", "data-v-f74989f7"]]), qc = {
|
|
4504
4505
|
name: "AvListItem",
|
|
4505
4506
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
4506
4507
|
emits: ["click"],
|
|
@@ -4564,7 +4565,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4564
4565
|
const l = M(() => e.clickable ? "av-list-item--clickable" : ""), s = M(() => e.disabled ? "av-list-item--disabled" : ""), i = M(() => e.selected ? "av-list-item--selected" : "");
|
|
4565
4566
|
return (u, A) => (c(), p("div", { role: u.role }, [
|
|
4566
4567
|
(c(), U(de(f(n)), {
|
|
4567
|
-
class:
|
|
4568
|
+
class: X(["av-list-item", [f(l), f(s), f(i)]]),
|
|
4568
4569
|
tabindex: u.clickable && !u.disabled ? 0 : void 0,
|
|
4569
4570
|
"aria-label": u.clickable ? f(a) : void 0,
|
|
4570
4571
|
"aria-describedby": u.ariaDescribedby,
|
|
@@ -4600,7 +4601,7 @@ const Gi = { render: Yi }, Ji = { class: "svg-wrapper" }, _i = /* @__PURE__ */ j
|
|
|
4600
4601
|
function xs(e) {
|
|
4601
4602
|
return [...new Set(e)];
|
|
4602
4603
|
}
|
|
4603
|
-
function
|
|
4604
|
+
function Hc(e) {
|
|
4604
4605
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
4605
4606
|
}
|
|
4606
4607
|
const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
@@ -4629,16 +4630,16 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4629
4630
|
function u(C) {
|
|
4630
4631
|
return C ? Array.isArray(C) ? C : [C] : [];
|
|
4631
4632
|
}
|
|
4632
|
-
const A =
|
|
4633
|
+
const A = Z(u(r));
|
|
4633
4634
|
function d(C) {
|
|
4634
4635
|
return A.value.some((v) => v.value === C.value);
|
|
4635
4636
|
}
|
|
4636
|
-
function
|
|
4637
|
+
function b(C) {
|
|
4637
4638
|
l ? (d(C) ? A.value = A.value.filter(
|
|
4638
4639
|
(k) => k.value !== C.value
|
|
4639
4640
|
) : A.value.push(C), s([...A.value])) : (A.value = [C], s(C));
|
|
4640
4641
|
}
|
|
4641
|
-
function
|
|
4642
|
+
function m(C) {
|
|
4642
4643
|
return d(C) ? ne.CHECK : void 0;
|
|
4643
4644
|
}
|
|
4644
4645
|
function I(C) {
|
|
@@ -4651,23 +4652,23 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4651
4652
|
return c(), p("div", Ws, [
|
|
4652
4653
|
f(n) ? (c(), p("span", {
|
|
4653
4654
|
key: 0,
|
|
4654
|
-
class:
|
|
4655
|
+
class: X(["av-select-label", [f(o)]])
|
|
4655
4656
|
}, x(f(n)), 3)) : D("", !0),
|
|
4656
|
-
(c(!0), p(
|
|
4657
|
+
(c(!0), p(Y, null, te(f(i), (S) => (c(), p("div", {
|
|
4657
4658
|
key: S.value,
|
|
4658
4659
|
class: "tag-wrapper"
|
|
4659
4660
|
}, [
|
|
4660
4661
|
R(k, {
|
|
4661
|
-
class:
|
|
4662
|
+
class: X({
|
|
4662
4663
|
"fr-tag--selected": d(S),
|
|
4663
4664
|
"fr-tag--disabled": I(S)
|
|
4664
4665
|
}),
|
|
4665
4666
|
label: S.label,
|
|
4666
|
-
icon:
|
|
4667
|
+
icon: m(S),
|
|
4667
4668
|
disabled: I(S),
|
|
4668
4669
|
selectable: "",
|
|
4669
4670
|
selected: d(S),
|
|
4670
|
-
onSelect: () =>
|
|
4671
|
+
onSelect: () => b(S)
|
|
4671
4672
|
}, null, 8, ["class", "label", "icon", "disabled", "selected", "onSelect"])
|
|
4672
4673
|
]))), 128))
|
|
4673
4674
|
]);
|
|
@@ -4675,7 +4676,7 @@ const Ws = { class: "av-select-container" }, Vs = /* @__PURE__ */ j({
|
|
|
4675
4676
|
}
|
|
4676
4677
|
}), Us = /* @__PURE__ */ G(Vs, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
4677
4678
|
var Jn = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Jn || {});
|
|
4678
|
-
const
|
|
4679
|
+
const Xc = [
|
|
4679
4680
|
4,
|
|
4680
4681
|
8,
|
|
4681
4682
|
12
|
|
@@ -4707,7 +4708,7 @@ const Hc = [
|
|
|
4707
4708
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
4708
4709
|
]));
|
|
4709
4710
|
}
|
|
4710
|
-
}),
|
|
4711
|
+
}), Zc = /* @__PURE__ */ G(Hs, [["__scopeId", "data-v-d72fe5ab"]]), Rc = {
|
|
4711
4712
|
name: "AvTagPicker",
|
|
4712
4713
|
props: [
|
|
4713
4714
|
"label",
|
|
@@ -4738,7 +4739,7 @@ const Hc = [
|
|
|
4738
4739
|
setup(e) {
|
|
4739
4740
|
return (t, n) => B(t.$slots, "default");
|
|
4740
4741
|
}
|
|
4741
|
-
}),
|
|
4742
|
+
}), Fc = /* @__PURE__ */ j({
|
|
4742
4743
|
__name: "AvRadioButtonSet",
|
|
4743
4744
|
props: {
|
|
4744
4745
|
name: {},
|
|
@@ -4759,26 +4760,26 @@ const Hc = [
|
|
|
4759
4760
|
return A != null && typeof A == "object" && "type" in A && A.type === Xs;
|
|
4760
4761
|
}
|
|
4761
4762
|
function s(A) {
|
|
4762
|
-
return A ? A.flatMap((d) => !d || typeof d != "object" || !("type" in d) ? [] : d.type ===
|
|
4763
|
+
return A ? A.flatMap((d) => !d || typeof d != "object" || !("type" in d) ? [] : d.type === Y && Array.isArray(d.children) ? s(d.children) : l(d) ? [d] : []) : [];
|
|
4763
4764
|
}
|
|
4764
4765
|
const i = M(() => {
|
|
4765
4766
|
var A;
|
|
4766
4767
|
return s((A = r.default) == null ? void 0 : A.call(r));
|
|
4767
|
-
}), u =
|
|
4768
|
+
}), u = Z(a.modelValue);
|
|
4768
4769
|
return oe(() => a.modelValue, (A) => {
|
|
4769
4770
|
u.value = A;
|
|
4770
4771
|
}), oe(u, (A) => {
|
|
4771
4772
|
A && o("update:modelValue", A);
|
|
4772
|
-
}), t({ selected: u }), (A, d) => (c(), U(f(Bl),
|
|
4773
|
+
}), t({ selected: u }), (A, d) => (c(), U(f(Bl), K(a, { "model-value": f(u) }), {
|
|
4773
4774
|
default: F(() => [
|
|
4774
|
-
(c(!0), p(
|
|
4775
|
+
(c(!0), p(Y, null, te(f(i), (b, m) => {
|
|
4775
4776
|
var I, C;
|
|
4776
4777
|
return c(), U(f(Rn), {
|
|
4777
|
-
key:
|
|
4778
|
+
key: m,
|
|
4778
4779
|
modelValue: f(u),
|
|
4779
4780
|
"onUpdate:modelValue": d[0] || (d[0] = (v) => wt(u) ? u.value = v : null),
|
|
4780
|
-
value: (I =
|
|
4781
|
-
disabled: ((C =
|
|
4781
|
+
value: (I = b.props) == null ? void 0 : I.value,
|
|
4782
|
+
disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? a.disabled,
|
|
4782
4783
|
small: a.small,
|
|
4783
4784
|
inline: a.inline,
|
|
4784
4785
|
name: a.name
|
|
@@ -4786,7 +4787,7 @@ const Hc = [
|
|
|
4786
4787
|
label: F(() => {
|
|
4787
4788
|
var v;
|
|
4788
4789
|
return [
|
|
4789
|
-
(c(), U(de((v =
|
|
4790
|
+
(c(), U(de((v = b.children) == null ? void 0 : v.default)))
|
|
4790
4791
|
];
|
|
4791
4792
|
}),
|
|
4792
4793
|
_: 2
|
|
@@ -4796,7 +4797,7 @@ const Hc = [
|
|
|
4796
4797
|
_: 1
|
|
4797
4798
|
}, 16, ["model-value"]));
|
|
4798
4799
|
}
|
|
4799
|
-
}),
|
|
4800
|
+
}), Kc = {
|
|
4800
4801
|
name: "AvAutocomplete",
|
|
4801
4802
|
props: [
|
|
4802
4803
|
"modelValue",
|
|
@@ -4844,8 +4845,8 @@ function Ys(e, t = {}) {
|
|
|
4844
4845
|
let l;
|
|
4845
4846
|
return (i) => {
|
|
4846
4847
|
const u = ie(e), A = ie(t.maxWait);
|
|
4847
|
-
return n && r(n), u <= 0 || A !== void 0 && A <= 0 ? (a && (r(a), a = void 0), Promise.resolve(i())) : new Promise((d,
|
|
4848
|
-
o = t.rejectOnCancel ?
|
|
4848
|
+
return n && r(n), u <= 0 || A !== void 0 && A <= 0 ? (a && (r(a), a = void 0), Promise.resolve(i())) : new Promise((d, b) => {
|
|
4849
|
+
o = t.rejectOnCancel ? b : d, l = i, A && !a && (a = setTimeout(() => {
|
|
4849
4850
|
n && r(n), a = void 0, d(l());
|
|
4850
4851
|
}, A)), n = setTimeout(() => {
|
|
4851
4852
|
a && r(a), a = void 0, d(i());
|
|
@@ -4859,13 +4860,13 @@ function Gs(...e) {
|
|
|
4859
4860
|
const A = () => {
|
|
4860
4861
|
n && (clearTimeout(n), n = void 0, o(), o = Se);
|
|
4861
4862
|
};
|
|
4862
|
-
return (
|
|
4863
|
-
const
|
|
4864
|
-
return A(),
|
|
4863
|
+
return (b) => {
|
|
4864
|
+
const m = ie(l), I = Date.now() - t, C = () => r = b();
|
|
4865
|
+
return A(), m <= 0 ? (t = Date.now(), C()) : (I > m && (i || !a) ? (t = Date.now(), C()) : s && (r = new Promise((v, k) => {
|
|
4865
4866
|
o = u ? k : v, n = setTimeout(() => {
|
|
4866
4867
|
t = Date.now(), a = !0, v(C()), A();
|
|
4867
|
-
}, Math.max(0,
|
|
4868
|
-
})), !i && !n && (n = setTimeout(() => a = !0,
|
|
4868
|
+
}, Math.max(0, m - I));
|
|
4869
|
+
})), !i && !n && (n = setTimeout(() => a = !0, m)), a = !1, r);
|
|
4869
4870
|
};
|
|
4870
4871
|
}
|
|
4871
4872
|
function Je(e) {
|
|
@@ -4930,8 +4931,8 @@ function cn(...e) {
|
|
|
4930
4931
|
const d = Ks(A) ? { ...A } : A;
|
|
4931
4932
|
t.push(
|
|
4932
4933
|
...s.flatMap(
|
|
4933
|
-
(
|
|
4934
|
-
(
|
|
4934
|
+
(b) => i.flatMap(
|
|
4935
|
+
(m) => u.map((I) => a(b, m, I, d))
|
|
4935
4936
|
)
|
|
4936
4937
|
)
|
|
4937
4938
|
);
|
|
@@ -4960,12 +4961,12 @@ function ou(e, t, n = {}) {
|
|
|
4960
4961
|
const l = /* @__PURE__ */ au(() => a && "MutationObserver" in a), s = () => {
|
|
4961
4962
|
r && (r.disconnect(), r = void 0);
|
|
4962
4963
|
}, i = M(() => {
|
|
4963
|
-
const
|
|
4964
|
-
return new Set(
|
|
4964
|
+
const b = ie(e), m = Je(b).map(qt).filter(Rs);
|
|
4965
|
+
return new Set(m);
|
|
4965
4966
|
}), u = oe(
|
|
4966
4967
|
i,
|
|
4967
|
-
(
|
|
4968
|
-
s(), l.value &&
|
|
4968
|
+
(b) => {
|
|
4969
|
+
s(), l.value && b.size && (r = new MutationObserver(t), b.forEach((m) => r.observe(m, o)));
|
|
4969
4970
|
},
|
|
4970
4971
|
{ immediate: !0, flush: "post" }
|
|
4971
4972
|
), A = () => r == null ? void 0 : r.takeRecords(), d = () => {
|
|
@@ -5002,11 +5003,11 @@ function ru(e, t = {}) {
|
|
|
5002
5003
|
onError: d = (q) => {
|
|
5003
5004
|
console.error(q);
|
|
5004
5005
|
}
|
|
5005
|
-
} = t,
|
|
5006
|
+
} = t, b = typeof s == "boolean" ? {
|
|
5006
5007
|
mutation: s
|
|
5007
|
-
} : s,
|
|
5008
|
+
} : s, m = Fe(0), I = Fe(0), C = M({
|
|
5008
5009
|
get() {
|
|
5009
|
-
return
|
|
5010
|
+
return m.value;
|
|
5010
5011
|
},
|
|
5011
5012
|
set(q) {
|
|
5012
5013
|
k(q, void 0);
|
|
@@ -5032,7 +5033,7 @@ function ru(e, t = {}) {
|
|
|
5032
5033
|
behavior: ie(u)
|
|
5033
5034
|
});
|
|
5034
5035
|
const W = ((E = L == null ? void 0 : L.document) == null ? void 0 : E.documentElement) || (L == null ? void 0 : L.documentElement) || L;
|
|
5035
|
-
C != null && (
|
|
5036
|
+
C != null && (m.value = W.scrollLeft), v != null && (I.value = W.scrollTop);
|
|
5036
5037
|
}
|
|
5037
5038
|
const S = Fe(!1), Q = Ct({
|
|
5038
5039
|
left: !0,
|
|
@@ -5051,9 +5052,9 @@ function ru(e, t = {}) {
|
|
|
5051
5052
|
if (!A)
|
|
5052
5053
|
return;
|
|
5053
5054
|
const y = (($ = q == null ? void 0 : q.document) == null ? void 0 : $.documentElement) || (q == null ? void 0 : q.documentElement) || qt(q), { display: N, flexDirection: g, direction: E } = getComputedStyle(y), L = E === "rtl" ? -1 : 1, W = y.scrollLeft;
|
|
5054
|
-
T.left = W <
|
|
5055
|
+
T.left = W < m.value, T.right = W > m.value;
|
|
5055
5056
|
const P = Math.abs(W * L) <= (l.left || 0), H = Math.abs(W * L) + y.clientWidth >= y.scrollWidth - (l.right || 0) - dn;
|
|
5056
|
-
N === "flex" && g === "row-reverse" ? (Q.left = H, Q.right = P) : (Q.left = P, Q.right = H),
|
|
5057
|
+
N === "flex" && g === "row-reverse" ? (Q.left = H, Q.right = P) : (Q.left = P, Q.right = H), m.value = W;
|
|
5057
5058
|
let V = y.scrollTop;
|
|
5058
5059
|
q === A.document && !V && (V = A.document.body.scrollTop), T.top = V < I.value, T.bottom = V > I.value;
|
|
5059
5060
|
const _ = Math.abs(V) <= (l.top || 0), ee = Math.abs(V) + y.clientHeight >= y.scrollHeight - (l.bottom || 0) - dn;
|
|
@@ -5079,7 +5080,7 @@ function ru(e, t = {}) {
|
|
|
5079
5080
|
} catch (q) {
|
|
5080
5081
|
d(q);
|
|
5081
5082
|
}
|
|
5082
|
-
}),
|
|
5083
|
+
}), b != null && b.mutation && e != null && e !== A && e !== document && ou(
|
|
5083
5084
|
e,
|
|
5084
5085
|
() => {
|
|
5085
5086
|
const q = ie(e);
|
|
@@ -5167,16 +5168,16 @@ var ht = function() {
|
|
|
5167
5168
|
return ta.Date.now();
|
|
5168
5169
|
}, Qu = "Expected a function", Lu = Math.max, Ou = Math.min;
|
|
5169
5170
|
function aa(e, t, n) {
|
|
5170
|
-
var a, o, r, l, s, i, u = 0, A = !1, d = !1,
|
|
5171
|
+
var a, o, r, l, s, i, u = 0, A = !1, d = !1, b = !0;
|
|
5171
5172
|
if (typeof e != "function")
|
|
5172
5173
|
throw new TypeError(Qu);
|
|
5173
|
-
t = vn(t) || 0, Lt(n) && (A = !!n.leading, d = "maxWait" in n, r = d ? Lu(vn(n.maxWait) || 0, t) : r,
|
|
5174
|
-
function
|
|
5174
|
+
t = vn(t) || 0, Lt(n) && (A = !!n.leading, d = "maxWait" in n, r = d ? Lu(vn(n.maxWait) || 0, t) : r, b = "trailing" in n ? !!n.trailing : b);
|
|
5175
|
+
function m(O) {
|
|
5175
5176
|
var w = a, J = o;
|
|
5176
5177
|
return a = o = void 0, u = O, l = e.apply(J, w), l;
|
|
5177
5178
|
}
|
|
5178
5179
|
function I(O) {
|
|
5179
|
-
return u = O, s = setTimeout(k, t), A ?
|
|
5180
|
+
return u = O, s = setTimeout(k, t), A ? m(O) : l;
|
|
5180
5181
|
}
|
|
5181
5182
|
function C(O) {
|
|
5182
5183
|
var w = O - i, J = O - u, q = t - w;
|
|
@@ -5193,7 +5194,7 @@ function aa(e, t, n) {
|
|
|
5193
5194
|
s = setTimeout(k, C(O));
|
|
5194
5195
|
}
|
|
5195
5196
|
function S(O) {
|
|
5196
|
-
return s = void 0,
|
|
5197
|
+
return s = void 0, b && a ? m(O) : (a = o = void 0, l);
|
|
5197
5198
|
}
|
|
5198
5199
|
function Q() {
|
|
5199
5200
|
s !== void 0 && clearTimeout(s), u = 0, a = i = o = s = void 0;
|
|
@@ -5207,7 +5208,7 @@ function aa(e, t, n) {
|
|
|
5207
5208
|
if (s === void 0)
|
|
5208
5209
|
return I(i);
|
|
5209
5210
|
if (d)
|
|
5210
|
-
return clearTimeout(s), s = setTimeout(k, t),
|
|
5211
|
+
return clearTimeout(s), s = setTimeout(k, t), m(i);
|
|
5211
5212
|
}
|
|
5212
5213
|
return s === void 0 && (s = setTimeout(k, t)), l;
|
|
5213
5214
|
}
|
|
@@ -5233,7 +5234,7 @@ const Su = {
|
|
|
5233
5234
|
props: i,
|
|
5234
5235
|
getOptionId: u,
|
|
5235
5236
|
getDisplayLabel: A
|
|
5236
|
-
} = Vt(), d =
|
|
5237
|
+
} = Vt(), d = Z(), b = Z(), m = M(() => {
|
|
5237
5238
|
if (!i.options)
|
|
5238
5239
|
return [];
|
|
5239
5240
|
if (i.serverSideFiltering)
|
|
@@ -5245,7 +5246,7 @@ const Su = {
|
|
|
5245
5246
|
}
|
|
5246
5247
|
let T;
|
|
5247
5248
|
return i.filterOptions ? T = i.filterOptions(i.options, Q) : T = i.options.filter((z) => A(z).toLowerCase().includes(Q)), i.maxResults ? T.slice(0, i.maxResults) : T;
|
|
5248
|
-
}), I = M(() => i.loading ? Le.LOADING : s.value && i.options && i.options.length > 0 &&
|
|
5249
|
+
}), I = M(() => i.loading ? Le.LOADING : s.value && i.options && i.options.length > 0 && m.value.length > 0 ? Le.HAS_OPTIONS : Le.NO_OPTIONS);
|
|
5249
5250
|
function C(Q) {
|
|
5250
5251
|
return r.value.some(
|
|
5251
5252
|
(T) => u(T) === u(Q)
|
|
@@ -5263,7 +5264,7 @@ const Su = {
|
|
|
5263
5264
|
(w) => u(w) !== z
|
|
5264
5265
|
) : r.value = [...T, Q];
|
|
5265
5266
|
}
|
|
5266
|
-
const { arrivedState: k } = ru(
|
|
5267
|
+
const { arrivedState: k } = ru(b, {
|
|
5267
5268
|
throttle: 100
|
|
5268
5269
|
}), S = aa(() => {
|
|
5269
5270
|
a("loadMore");
|
|
@@ -5278,7 +5279,7 @@ const Su = {
|
|
|
5278
5279
|
key: 0,
|
|
5279
5280
|
ref_key: "dropdownRef",
|
|
5280
5281
|
ref: d,
|
|
5281
|
-
class:
|
|
5282
|
+
class: X(["av-autocomplete-dropdown", f(i).dropdownClass]),
|
|
5282
5283
|
style: be({ width: f(i).dropdownWidth, maxHeight: f(i).maxDropdownHeight })
|
|
5283
5284
|
}, [
|
|
5284
5285
|
f(I) === f(Le).LOADING ? (c(), p("div", Su, [
|
|
@@ -5290,15 +5291,15 @@ const Su = {
|
|
|
5290
5291
|
T[0] || (T[0] = h("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
5291
5292
|
])) : f(I) === f(Le).NO_OPTIONS ? (c(), p("div", Du, [
|
|
5292
5293
|
o.empty ? B(Q.$slots, "empty", { key: 0 }, void 0, !0) : (c(), p("div", wu, " No results found "))
|
|
5293
|
-
])) : (c(), U(Yn,
|
|
5294
|
+
])) : (c(), U(Yn, K({
|
|
5294
5295
|
key: 2,
|
|
5295
5296
|
ref_key: "listRef",
|
|
5296
|
-
ref:
|
|
5297
|
+
ref: b
|
|
5297
5298
|
}, f(i).listOptions, {
|
|
5298
5299
|
class: ["av-autocomplete-dropdown__options", f(i).scrollbarClass]
|
|
5299
5300
|
}), {
|
|
5300
5301
|
default: F(() => [
|
|
5301
|
-
(c(!0), p(
|
|
5302
|
+
(c(!0), p(Y, null, te(f(m), (z) => (c(), p(Y, {
|
|
5302
5303
|
key: f(u)(z)
|
|
5303
5304
|
}, [
|
|
5304
5305
|
o.item ? B(Q.$slots, "item", {
|
|
@@ -5337,7 +5338,7 @@ const Su = {
|
|
|
5337
5338
|
inputId: u,
|
|
5338
5339
|
handleBlur: A,
|
|
5339
5340
|
getDisplayLabel: d
|
|
5340
|
-
} = Vt(),
|
|
5341
|
+
} = Vt(), b = Z(), m = M(() => !i.multiSelect && r.value.length > 0 ? d(r.value[0]) : i.multiSelect && r.value.length > 0 ? i.showSelectedSection ? `${r.value.length} element(s) selected` : r.value.map(d).join(", ") : l.value), I = M(() => {
|
|
5341
5342
|
var Q;
|
|
5342
5343
|
return ((Q = i.inputOptions) == null ? void 0 : Q.placeholder) || "Search...";
|
|
5343
5344
|
}), C = aa((Q) => {
|
|
@@ -5355,14 +5356,14 @@ const Su = {
|
|
|
5355
5356
|
return ve(() => {
|
|
5356
5357
|
C.cancel();
|
|
5357
5358
|
}), t({
|
|
5358
|
-
inputRef:
|
|
5359
|
+
inputRef: b,
|
|
5359
5360
|
searchQuery: M(() => l.value)
|
|
5360
5361
|
}), (Q, T) => (c(), p("div", ju, [
|
|
5361
|
-
R(Qs,
|
|
5362
|
+
R(Qs, K({
|
|
5362
5363
|
id: f(u),
|
|
5363
5364
|
ref_key: "inputRef",
|
|
5364
|
-
ref:
|
|
5365
|
-
"model-value": f(
|
|
5365
|
+
ref: b,
|
|
5366
|
+
"model-value": f(m),
|
|
5366
5367
|
placeholder: f(I)
|
|
5367
5368
|
}, f(i).inputOptions, {
|
|
5368
5369
|
"onUpdate:modelValue": v,
|
|
@@ -5411,7 +5412,7 @@ const Su = {
|
|
|
5411
5412
|
);
|
|
5412
5413
|
}
|
|
5413
5414
|
return (s, i) => f(a).multiSelect && f(n).length > 0 && f(a).showSelectedSection ? (c(), p("div", Vu, [
|
|
5414
|
-
(c(!0), p(
|
|
5415
|
+
(c(!0), p(Y, null, te(f(n), (u) => (c(), p("div", {
|
|
5415
5416
|
key: f(o)(u),
|
|
5416
5417
|
class: "av-autocomplete-selected-tags__item"
|
|
5417
5418
|
}, [
|
|
@@ -5464,11 +5465,11 @@ const Su = {
|
|
|
5464
5465
|
}),
|
|
5465
5466
|
emits: /* @__PURE__ */ me(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
5466
5467
|
setup(e, { emit: t }) {
|
|
5467
|
-
const n = e, a = t, o = fe(), r = qe(e, "modelValue"), l =
|
|
5468
|
-
function
|
|
5468
|
+
const n = e, a = t, o = fe(), r = qe(e, "modelValue"), l = Z(!1), s = Z(""), i = Z(), u = Z(), A = Z(), d = M(() => n.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
5469
|
+
function b(S) {
|
|
5469
5470
|
s.value = S, a("search", S);
|
|
5470
5471
|
}
|
|
5471
|
-
function
|
|
5472
|
+
function m(S) {
|
|
5472
5473
|
var Q, T;
|
|
5473
5474
|
(T = (Q = A.value) == null ? void 0 : Q.dropdownRef) != null && T.contains(S.relatedTarget) || setTimeout(() => {
|
|
5474
5475
|
l.value = !1;
|
|
@@ -5486,7 +5487,7 @@ const Su = {
|
|
|
5486
5487
|
isOpen: l,
|
|
5487
5488
|
props: n,
|
|
5488
5489
|
inputId: d,
|
|
5489
|
-
handleBlur:
|
|
5490
|
+
handleBlur: m,
|
|
5490
5491
|
getOptionId: I,
|
|
5491
5492
|
getDisplayLabel: C
|
|
5492
5493
|
});
|
|
@@ -5508,7 +5509,7 @@ const Su = {
|
|
|
5508
5509
|
R(Wu, {
|
|
5509
5510
|
ref_key: "inputRef",
|
|
5510
5511
|
ref: u,
|
|
5511
|
-
onSearch:
|
|
5512
|
+
onSearch: b,
|
|
5512
5513
|
onClear: Q[0] || (Q[0] = (T) => a("clear"))
|
|
5513
5514
|
}, We({ _: 2 }, [
|
|
5514
5515
|
o.requiredTip ? {
|
|
@@ -5558,7 +5559,7 @@ const Su = {
|
|
|
5558
5559
|
]), 1024)
|
|
5559
5560
|
]));
|
|
5560
5561
|
}
|
|
5561
|
-
}),
|
|
5562
|
+
}), Yc = /* @__PURE__ */ G(Xu, [["__scopeId", "data-v-fd810890"]]), Gc = {
|
|
5562
5563
|
name: "AvSelect",
|
|
5563
5564
|
props: {
|
|
5564
5565
|
modelValue: [String, Number],
|
|
@@ -5608,15 +5609,15 @@ const Su = {
|
|
|
5608
5609
|
return r ? r.text : n.defaultUnselectedText;
|
|
5609
5610
|
});
|
|
5610
5611
|
return (r, l) => (c(), p("div", {
|
|
5611
|
-
class:
|
|
5612
|
+
class: X({ "fr-select--dense": n.dense })
|
|
5612
5613
|
}, [
|
|
5613
|
-
R(f(Hl),
|
|
5614
|
+
R(f(Hl), K(n, {
|
|
5614
5615
|
title: f(o),
|
|
5615
5616
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => a("update:modelValue", s))
|
|
5616
5617
|
}), null, 16, ["title"])
|
|
5617
5618
|
], 2));
|
|
5618
5619
|
}
|
|
5619
|
-
}),
|
|
5620
|
+
}), Jc = /* @__PURE__ */ G(Zu, [["__scopeId", "data-v-e4b98fc1"]]), _c = /* @__PURE__ */ j({
|
|
5620
5621
|
__name: "AvTab",
|
|
5621
5622
|
props: {
|
|
5622
5623
|
title: {},
|
|
@@ -5629,17 +5630,18 @@ const Su = {
|
|
|
5629
5630
|
__name: "AvTabs",
|
|
5630
5631
|
props: {
|
|
5631
5632
|
ariaLabel: {},
|
|
5632
|
-
modelValue: {}
|
|
5633
|
+
modelValue: {},
|
|
5634
|
+
compact: { type: Boolean, default: !1 }
|
|
5633
5635
|
},
|
|
5634
5636
|
emits: ["update:modelValue"],
|
|
5635
5637
|
setup(e, { expose: t, emit: n }) {
|
|
5636
|
-
const a = n, o = fe(), r =
|
|
5637
|
-
var
|
|
5638
|
-
return ((
|
|
5638
|
+
const a = n, o = fe(), r = Z(e.modelValue), l = M(() => {
|
|
5639
|
+
var b;
|
|
5640
|
+
return ((b = o.default) == null ? void 0 : b.call(o)) || [];
|
|
5639
5641
|
});
|
|
5640
|
-
function s(
|
|
5641
|
-
const
|
|
5642
|
-
r.value = (r.value +
|
|
5642
|
+
function s(b) {
|
|
5643
|
+
const m = l.value.length;
|
|
5644
|
+
r.value = (r.value + b + m) % m;
|
|
5643
5645
|
}
|
|
5644
5646
|
function i() {
|
|
5645
5647
|
s(-1);
|
|
@@ -5653,23 +5655,25 @@ const Su = {
|
|
|
5653
5655
|
function d() {
|
|
5654
5656
|
r.value = l.value.length - 1;
|
|
5655
5657
|
}
|
|
5656
|
-
return oe(() => e.modelValue, (
|
|
5657
|
-
|
|
5658
|
-
}), oe(r, (
|
|
5659
|
-
a("update:modelValue",
|
|
5660
|
-
}), t({ activeTab: r }), (
|
|
5658
|
+
return oe(() => e.modelValue, (b) => {
|
|
5659
|
+
b !== void 0 && (r.value = b);
|
|
5660
|
+
}), oe(r, (b) => {
|
|
5661
|
+
a("update:modelValue", b);
|
|
5662
|
+
}), t({ activeTab: r }), (b, m) => {
|
|
5661
5663
|
const I = Kn, C = Fn, v = Gl;
|
|
5662
5664
|
return c(), U(v, {
|
|
5663
5665
|
modelValue: f(r),
|
|
5664
|
-
"onUpdate:modelValue":
|
|
5665
|
-
|
|
5666
|
+
"onUpdate:modelValue": m[0] || (m[0] = (k) => wt(r) ? r.value = k : null),
|
|
5667
|
+
class: X({ compact: b.compact }),
|
|
5668
|
+
"tab-list-name": b.ariaLabel ?? "Liste d’onglets",
|
|
5666
5669
|
"tab-titles": []
|
|
5667
5670
|
}, {
|
|
5668
5671
|
"tab-items": F(() => [
|
|
5669
|
-
(c(!0), p(
|
|
5672
|
+
(c(!0), p(Y, null, te(f(l), (k, S) => {
|
|
5670
5673
|
var Q;
|
|
5671
5674
|
return c(), U(I, {
|
|
5672
5675
|
key: S,
|
|
5676
|
+
class: X({ compact: b.compact }),
|
|
5673
5677
|
"tab-id": `tab-${S}`,
|
|
5674
5678
|
"panel-id": `panel-${S}`,
|
|
5675
5679
|
icon: (Q = k.props) == null ? void 0 : Q.icon,
|
|
@@ -5686,11 +5690,11 @@ const Su = {
|
|
|
5686
5690
|
];
|
|
5687
5691
|
}),
|
|
5688
5692
|
_: 2
|
|
5689
|
-
}, 1032, ["tab-id", "panel-id", "icon", "onClick"]);
|
|
5693
|
+
}, 1032, ["class", "tab-id", "panel-id", "icon", "onClick"]);
|
|
5690
5694
|
}), 128))
|
|
5691
5695
|
]),
|
|
5692
5696
|
default: F(() => [
|
|
5693
|
-
(c(!0), p(
|
|
5697
|
+
(c(!0), p(Y, null, te(f(l), (k, S) => (c(), U(C, {
|
|
5694
5698
|
key: S,
|
|
5695
5699
|
"panel-id": `panel-${S}`,
|
|
5696
5700
|
"tab-id": `tab-${S}`
|
|
@@ -5702,10 +5706,10 @@ const Su = {
|
|
|
5702
5706
|
}, 1032, ["panel-id", "tab-id"]))), 128))
|
|
5703
5707
|
]),
|
|
5704
5708
|
_: 1
|
|
5705
|
-
}, 8, ["modelValue", "tab-list-name"]);
|
|
5709
|
+
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
5706
5710
|
};
|
|
5707
5711
|
}
|
|
5708
|
-
}),
|
|
5712
|
+
}), $c = /* @__PURE__ */ G(Ru, [["__scopeId", "data-v-dbd71c5f"]]), Fu = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", Ku = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", Yu = ["id", "for"], Gu = {
|
|
5709
5713
|
width: "34",
|
|
5710
5714
|
height: "14"
|
|
5711
5715
|
}, Ju = ["href"], _u = {
|
|
@@ -5728,16 +5732,16 @@ const Su = {
|
|
|
5728
5732
|
emits: ["update:modelValue"],
|
|
5729
5733
|
setup(e) {
|
|
5730
5734
|
const t = e, n = M(() => t.id ?? crypto.randomUUID()), a = M(() => `${n.value}-label`);
|
|
5731
|
-
return (o, r) => (c(), p(
|
|
5735
|
+
return (o, r) => (c(), p(Y, null, [
|
|
5732
5736
|
h("label", {
|
|
5733
5737
|
id: f(a),
|
|
5734
5738
|
for: f(n),
|
|
5735
|
-
class:
|
|
5739
|
+
class: X(["av-toggle", {
|
|
5736
5740
|
"av-toggle--disabled": o.disabled
|
|
5737
5741
|
}])
|
|
5738
5742
|
}, [
|
|
5739
5743
|
h("div", {
|
|
5740
|
-
class:
|
|
5744
|
+
class: X(["toggle", {
|
|
5741
5745
|
"toggle--disabled": o.disabled
|
|
5742
5746
|
}])
|
|
5743
5747
|
}, [
|
|
@@ -5766,7 +5770,7 @@ const Su = {
|
|
|
5766
5770
|
}, null, 40, tA)
|
|
5767
5771
|
], 64));
|
|
5768
5772
|
}
|
|
5769
|
-
}),
|
|
5773
|
+
}), ed = /* @__PURE__ */ G(nA, [["__scopeId", "data-v-0aabed11"]]), aA = {
|
|
5770
5774
|
style: { position: "relative" },
|
|
5771
5775
|
class: "my-nav-wrapper"
|
|
5772
5776
|
}, oA = /* @__PURE__ */ j({
|
|
@@ -5783,7 +5787,7 @@ const Su = {
|
|
|
5783
5787
|
]);
|
|
5784
5788
|
};
|
|
5785
5789
|
}
|
|
5786
|
-
}),
|
|
5790
|
+
}), td = /* @__PURE__ */ G(oA, [["__scopeId", "data-v-433349ab"]]), rA = ["aria-label"], lA = { class: "fr-pagination__list" }, iA = { key: 0 }, sA = { class: "b2-regular" }, uA = ["href", "title", "aria-disabled"], AA = { class: "fr-sr-only" }, cA = ["href", "title", "aria-disabled"], dA = {
|
|
5787
5791
|
key: 0,
|
|
5788
5792
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
5789
5793
|
}, fA = ["href", "title", "aria-current", "onClick"], pA = { key: 0 }, vA = { key: 1 }, gA = ["href", "title", "disabled", "aria-disabled"], bA = {
|
|
@@ -5805,96 +5809,96 @@ const Su = {
|
|
|
5805
5809
|
},
|
|
5806
5810
|
emits: ["update:current-page"],
|
|
5807
5811
|
setup(e, { emit: t }) {
|
|
5808
|
-
const n = t, a = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), o = M(() => Math.min(e.pages.length - 1, a.value + e.truncLimit)), r = M(() => e.pages.length > e.truncLimit ? e.pages.slice(a.value, o.value + 1) : e.pages), l = (
|
|
5809
|
-
return (
|
|
5812
|
+
const n = t, a = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), o = M(() => Math.min(e.pages.length - 1, a.value + e.truncLimit)), r = M(() => e.pages.length > e.truncLimit ? e.pages.slice(a.value, o.value + 1) : e.pages), l = (m) => n("update:current-page", m), s = (m) => l(m), i = () => s(0), u = () => s(Math.max(0, e.currentPage - 1)), A = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), d = () => s(e.pages.length - 1), b = (m) => e.pages.indexOf(m) === e.currentPage;
|
|
5813
|
+
return (m, I) => {
|
|
5810
5814
|
var C, v, k, S;
|
|
5811
5815
|
return c(), p("nav", {
|
|
5812
5816
|
role: "navigation",
|
|
5813
5817
|
class: "fr-pagination",
|
|
5814
|
-
"aria-label":
|
|
5818
|
+
"aria-label": m.ariaLabel
|
|
5815
5819
|
}, [
|
|
5816
5820
|
h("ul", lA, [
|
|
5817
|
-
|
|
5818
|
-
h("span", sA, x(
|
|
5821
|
+
m.compact && m.compactCurrentPageLabel ? (c(), p("li", iA, [
|
|
5822
|
+
h("span", sA, x(m.compactCurrentPageLabel), 1)
|
|
5819
5823
|
])) : D("", !0),
|
|
5820
5824
|
h("li", null, [
|
|
5821
|
-
|
|
5825
|
+
m.compact ? D("", !0) : (c(), p("a", {
|
|
5822
5826
|
key: 0,
|
|
5823
|
-
href: (C =
|
|
5827
|
+
href: (C = m.pages[0]) == null ? void 0 : C.href,
|
|
5824
5828
|
class: "fr-pagination__link",
|
|
5825
|
-
title:
|
|
5826
|
-
"aria-disabled":
|
|
5829
|
+
title: m.firstPageLabel,
|
|
5830
|
+
"aria-disabled": m.currentPage === 0 ? !0 : void 0,
|
|
5827
5831
|
onClick: I[0] || (I[0] = ce((Q) => i(), ["prevent"]))
|
|
5828
5832
|
}, [
|
|
5829
5833
|
R(se, {
|
|
5830
5834
|
name: f(ne).PAGE_FIRST,
|
|
5831
5835
|
size: 1.5,
|
|
5832
|
-
color:
|
|
5836
|
+
color: m.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5833
5837
|
}, null, 8, ["name", "color"]),
|
|
5834
|
-
h("span", AA, x(
|
|
5838
|
+
h("span", AA, x(m.firstPageLabel), 1)
|
|
5835
5839
|
], 8, uA))
|
|
5836
5840
|
]),
|
|
5837
5841
|
h("li", null, [
|
|
5838
5842
|
h("a", {
|
|
5839
|
-
href: (v =
|
|
5843
|
+
href: (v = m.pages[Math.max(m.currentPage - 1, 0)]) == null ? void 0 : v.href,
|
|
5840
5844
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
5841
|
-
title:
|
|
5842
|
-
"aria-disabled":
|
|
5845
|
+
title: m.prevPageLabel,
|
|
5846
|
+
"aria-disabled": m.currentPage === 0 ? !0 : void 0,
|
|
5843
5847
|
onClick: I[1] || (I[1] = ce((Q) => u(), ["prevent"]))
|
|
5844
5848
|
}, [
|
|
5845
5849
|
R(se, {
|
|
5846
5850
|
name: f(ne).NAVIGATE_BEFORE,
|
|
5847
5851
|
size: 1.5,
|
|
5848
|
-
color:
|
|
5852
|
+
color: m.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5849
5853
|
}, null, 8, ["name", "color"]),
|
|
5850
|
-
|
|
5854
|
+
m.compact ? D("", !0) : (c(), p("span", dA, x(m.prevPageLabel), 1))
|
|
5851
5855
|
], 8, cA)
|
|
5852
5856
|
]),
|
|
5853
|
-
|
|
5857
|
+
m.compact ? D("", !0) : (c(!0), p(Y, { key: 1 }, te(f(r), (Q, T) => (c(), p("li", { key: T }, [
|
|
5854
5858
|
h("a", {
|
|
5855
5859
|
href: Q == null ? void 0 : Q.href,
|
|
5856
5860
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
5857
5861
|
title: Q.title,
|
|
5858
|
-
"aria-current":
|
|
5859
|
-
onClick: ce((z) => s(
|
|
5862
|
+
"aria-current": b(Q) ? "page" : void 0,
|
|
5863
|
+
onClick: ce((z) => s(m.pages.indexOf(Q)), ["prevent"])
|
|
5860
5864
|
}, [
|
|
5861
5865
|
f(r).indexOf(Q) === 0 && f(a) > 0 ? (c(), p("span", pA, "...")) : D("", !0),
|
|
5862
5866
|
ae(" " + x(Q.label) + " ", 1),
|
|
5863
|
-
f(r).indexOf(Q) === f(r).length - 1 && f(o) <
|
|
5867
|
+
f(r).indexOf(Q) === f(r).length - 1 && f(o) < m.pages.length - 1 ? (c(), p("span", vA, "...")) : D("", !0)
|
|
5864
5868
|
], 8, fA)
|
|
5865
5869
|
]))), 128)),
|
|
5866
5870
|
h("li", null, [
|
|
5867
5871
|
h("a", {
|
|
5868
|
-
href: (k =
|
|
5872
|
+
href: (k = m.pages[Math.min(m.currentPage + 1, m.pages.length - 1)]) == null ? void 0 : k.href,
|
|
5869
5873
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
5870
|
-
title:
|
|
5871
|
-
disabled:
|
|
5872
|
-
"aria-disabled":
|
|
5874
|
+
title: m.nextPageLabel,
|
|
5875
|
+
disabled: m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5876
|
+
"aria-disabled": m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5873
5877
|
onClick: I[2] || (I[2] = ce((Q) => A(), ["prevent"]))
|
|
5874
5878
|
}, [
|
|
5875
|
-
|
|
5879
|
+
m.compact ? D("", !0) : (c(), p("span", bA, x(m.nextPageLabel), 1)),
|
|
5876
5880
|
R(se, {
|
|
5877
5881
|
name: f(ne).NAVIGATE_NEXT,
|
|
5878
5882
|
size: 1.5,
|
|
5879
|
-
color:
|
|
5883
|
+
color: m.currentPage === m.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5880
5884
|
}, null, 8, ["name", "color"])
|
|
5881
5885
|
], 8, gA)
|
|
5882
5886
|
]),
|
|
5883
5887
|
h("li", null, [
|
|
5884
|
-
|
|
5888
|
+
m.compact ? D("", !0) : (c(), p("a", {
|
|
5885
5889
|
key: 0,
|
|
5886
5890
|
class: "fr-pagination__link",
|
|
5887
|
-
href: (S =
|
|
5888
|
-
title:
|
|
5889
|
-
disabled:
|
|
5890
|
-
"aria-disabled":
|
|
5891
|
+
href: (S = m.pages.at(-1)) == null ? void 0 : S.href,
|
|
5892
|
+
title: m.lastPageLabel,
|
|
5893
|
+
disabled: m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5894
|
+
"aria-disabled": m.currentPage === m.pages.length - 1 ? !0 : void 0,
|
|
5891
5895
|
onClick: I[3] || (I[3] = ce((Q) => d(), ["prevent"]))
|
|
5892
5896
|
}, [
|
|
5893
|
-
h("span", IA, x(
|
|
5897
|
+
h("span", IA, x(m.lastPageLabel), 1),
|
|
5894
5898
|
R(se, {
|
|
5895
5899
|
name: f(ne).PAGE_LAST,
|
|
5896
5900
|
size: 1.5,
|
|
5897
|
-
color:
|
|
5901
|
+
color: m.currentPage === m.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
5898
5902
|
}, null, 8, ["name", "color"])
|
|
5899
5903
|
], 8, mA))
|
|
5900
5904
|
])
|
|
@@ -5902,8 +5906,8 @@ const Su = {
|
|
|
5902
5906
|
], 8, rA);
|
|
5903
5907
|
};
|
|
5904
5908
|
}
|
|
5905
|
-
}),
|
|
5906
|
-
function
|
|
5909
|
+
}), nd = /* @__PURE__ */ G(hA, [["__scopeId", "data-v-ccfe7c3a"]]);
|
|
5910
|
+
function ad(e) {
|
|
5907
5911
|
return Array.from({ length: e.value }, (t, n) => {
|
|
5908
5912
|
const a = n + 1;
|
|
5909
5913
|
return {
|
|
@@ -5946,7 +5950,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5946
5950
|
}
|
|
5947
5951
|
return (A, d) => (c(), p("nav", {
|
|
5948
5952
|
id: f(r),
|
|
5949
|
-
class:
|
|
5953
|
+
class: X(["av-side-menu", { "av-side-menu--collapsed": f(s) }]),
|
|
5950
5954
|
"aria-label": f(l)
|
|
5951
5955
|
}, [
|
|
5952
5956
|
t.collapsible ? (c(), p("div", CA, [
|
|
@@ -5965,7 +5969,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
5965
5969
|
])
|
|
5966
5970
|
], 10, yA));
|
|
5967
5971
|
}
|
|
5968
|
-
}), NA = /* @__PURE__ */ G(MA, [["__scopeId", "data-v-23242ccc"]]),
|
|
5972
|
+
}), NA = /* @__PURE__ */ G(MA, [["__scopeId", "data-v-23242ccc"]]), od = {
|
|
5969
5973
|
name: "AvSideNavigation",
|
|
5970
5974
|
props: {
|
|
5971
5975
|
items: Array,
|
|
@@ -6009,7 +6013,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6009
6013
|
role: "menu"
|
|
6010
6014
|
}, {
|
|
6011
6015
|
default: F(() => [
|
|
6012
|
-
(c(!0), p(
|
|
6016
|
+
(c(!0), p(Y, null, te(o.items, (l) => (c(), U(f(Gn), {
|
|
6013
6017
|
key: l.id,
|
|
6014
6018
|
title: n.value ? void 0 : l.label,
|
|
6015
6019
|
icon: l.icon,
|
|
@@ -6018,7 +6022,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6018
6022
|
"hover-background-color": o.selectedItemColor,
|
|
6019
6023
|
tag: "button",
|
|
6020
6024
|
role: "menuitem",
|
|
6021
|
-
class:
|
|
6025
|
+
class: X(["av-side-navigation__menu-item", {
|
|
6022
6026
|
"av-side-navigation__menu-item--collapsed": n.value
|
|
6023
6027
|
}]),
|
|
6024
6028
|
clickable: "",
|
|
@@ -6031,7 +6035,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6031
6035
|
_: 1
|
|
6032
6036
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
6033
6037
|
}
|
|
6034
|
-
}),
|
|
6038
|
+
}), rd = /* @__PURE__ */ G(TA, [["__scopeId", "data-v-3c5a1abd"]]), ld = {
|
|
6035
6039
|
name: "AvStepper",
|
|
6036
6040
|
props: {
|
|
6037
6041
|
steps: {
|
|
@@ -6055,63 +6059,63 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6055
6059
|
</div>
|
|
6056
6060
|
</div>
|
|
6057
6061
|
`
|
|
6058
|
-
}, kA = { class: "
|
|
6062
|
+
}, kA = { class: "block-container" }, QA = { class: "main-container" }, LA = ["aria-current"], OA = ["aria-current"], SA = { class: "b1-regular" }, DA = { class: "main-labels-container" }, wA = /* @__PURE__ */ j({
|
|
6059
6063
|
__name: "AvStepper",
|
|
6060
6064
|
props: {
|
|
6061
6065
|
steps: {},
|
|
6062
6066
|
currentStep: {}
|
|
6063
6067
|
},
|
|
6064
6068
|
setup(e) {
|
|
6065
|
-
return (t, n) => (c(), p(
|
|
6066
|
-
h("div",
|
|
6069
|
+
return (t, n) => (c(), p("div", kA, [
|
|
6070
|
+
h("div", QA, [
|
|
6067
6071
|
h("div", {
|
|
6068
6072
|
class: "step step--active",
|
|
6069
6073
|
"aria-current": t.currentStep === 0 ? "step" : void 0
|
|
6070
6074
|
}, [...n[0] || (n[0] = [
|
|
6071
6075
|
h("span", { class: "b1-regular" }, "1", -1)
|
|
6072
|
-
])], 8,
|
|
6073
|
-
(c(!0), p(
|
|
6076
|
+
])], 8, LA),
|
|
6077
|
+
(c(!0), p(Y, null, te(t.steps.slice(1, t.steps.length), (a, o) => (c(), p("div", {
|
|
6074
6078
|
key: o,
|
|
6075
6079
|
class: "steps-container"
|
|
6076
6080
|
}, [
|
|
6077
6081
|
h("div", {
|
|
6078
|
-
class:
|
|
6082
|
+
class: X(["separator", { "separator--active": o + 1 <= t.currentStep }])
|
|
6079
6083
|
}, null, 2),
|
|
6080
6084
|
h("div", {
|
|
6081
|
-
class:
|
|
6085
|
+
class: X(["step", { "step--active": o + 1 <= t.currentStep }]),
|
|
6082
6086
|
"aria-current": o + 1 === t.currentStep ? "step" : void 0
|
|
6083
6087
|
}, [
|
|
6084
|
-
h("span",
|
|
6085
|
-
], 10,
|
|
6088
|
+
h("span", SA, x(o + 2), 1)
|
|
6089
|
+
], 10, OA)
|
|
6086
6090
|
]))), 128))
|
|
6087
6091
|
]),
|
|
6088
|
-
h("div",
|
|
6089
|
-
(c(!0), p(
|
|
6092
|
+
h("div", DA, [
|
|
6093
|
+
(c(!0), p(Y, null, te(t.steps, (a, o) => (c(), p("div", {
|
|
6090
6094
|
key: o,
|
|
6091
6095
|
class: "label-container"
|
|
6092
6096
|
}, [
|
|
6093
6097
|
h("span", {
|
|
6094
|
-
class:
|
|
6098
|
+
class: X(["label", {
|
|
6095
6099
|
"b1-bold": o <= t.currentStep,
|
|
6096
6100
|
"b1-light": o > t.currentStep
|
|
6097
6101
|
}])
|
|
6098
6102
|
}, x(a), 3)
|
|
6099
6103
|
]))), 128))
|
|
6100
6104
|
])
|
|
6101
|
-
]
|
|
6105
|
+
]));
|
|
6102
6106
|
}
|
|
6103
|
-
}),
|
|
6107
|
+
}), id = /* @__PURE__ */ G(wA, [["__scopeId", "data-v-48ffcf92"]]), sd = {
|
|
6104
6108
|
name: "AvDrawer",
|
|
6105
6109
|
props: ["show", "position", "width"],
|
|
6106
6110
|
emits: ["escape-pressed"],
|
|
6107
6111
|
template: '<div class="av-drawer-stub"><slot /><slot name="footer" /></div>'
|
|
6108
|
-
},
|
|
6112
|
+
}, zA = { key: 0 }, BA = {
|
|
6109
6113
|
key: 0,
|
|
6110
6114
|
class: "av-drawer-backdrop"
|
|
6111
|
-
},
|
|
6115
|
+
}, jA = ["aria-label"], PA = { class: "av-drawer__content-wrapper" }, xA = { class: "av-drawer__content" }, WA = {
|
|
6112
6116
|
key: 0,
|
|
6113
6117
|
class: "footer-container"
|
|
6114
|
-
},
|
|
6118
|
+
}, VA = /* @__PURE__ */ j({
|
|
6115
6119
|
__name: "AvDrawer",
|
|
6116
6120
|
props: {
|
|
6117
6121
|
show: { type: Boolean },
|
|
@@ -6128,30 +6132,30 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6128
6132
|
"7249d1b4": f(s)
|
|
6129
6133
|
}));
|
|
6130
6134
|
const n = e, a = t, o = fe(), { position: r, width: l, padding: s } = Mn(n);
|
|
6131
|
-
return (i, u) => i.show ? (c(), p("div",
|
|
6132
|
-
i.backdrop ? (c(), p("div",
|
|
6135
|
+
return (i, u) => i.show ? (c(), p("div", zA, [
|
|
6136
|
+
i.backdrop ? (c(), p("div", BA)) : D("", !0),
|
|
6133
6137
|
h("div", {
|
|
6134
|
-
class:
|
|
6138
|
+
class: X(["av-drawer", `av-drawer--${f(r)}`]),
|
|
6135
6139
|
role: "dialog",
|
|
6136
6140
|
"aria-modal": "true",
|
|
6137
6141
|
"aria-label": i.ariaLabel,
|
|
6138
6142
|
onKeydown: u[0] || (u[0] = st((A) => a("escapePressed"), ["esc"]))
|
|
6139
6143
|
}, [
|
|
6140
|
-
h("div",
|
|
6141
|
-
h("div",
|
|
6144
|
+
h("div", PA, [
|
|
6145
|
+
h("div", xA, [
|
|
6142
6146
|
B(i.$slots, "default", {}, void 0, !0)
|
|
6143
6147
|
]),
|
|
6144
|
-
o.footer ? (c(), p("div",
|
|
6148
|
+
o.footer ? (c(), p("div", WA, [
|
|
6145
6149
|
B(i.$slots, "footer", {}, void 0, !0)
|
|
6146
6150
|
])) : D("", !0)
|
|
6147
6151
|
])
|
|
6148
|
-
], 42,
|
|
6152
|
+
], 42, jA)
|
|
6149
6153
|
])) : D("", !0);
|
|
6150
6154
|
}
|
|
6151
|
-
}),
|
|
6155
|
+
}), ud = /* @__PURE__ */ G(VA, [["__scopeId", "data-v-4b1b7481"]]), UA = {
|
|
6152
6156
|
key: 0,
|
|
6153
6157
|
class: "header"
|
|
6154
|
-
},
|
|
6158
|
+
}, qA = { class: "footer" }, HA = /* @__PURE__ */ j({
|
|
6155
6159
|
__name: "AvModal",
|
|
6156
6160
|
props: {
|
|
6157
6161
|
closeButtonVariant: {},
|
|
@@ -6170,18 +6174,18 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6170
6174
|
return (l, s) => {
|
|
6171
6175
|
const i = Vr;
|
|
6172
6176
|
return c(), U(Nn, { to: "body" }, [
|
|
6173
|
-
R(i,
|
|
6177
|
+
R(i, K(n, {
|
|
6174
6178
|
title: "",
|
|
6175
6179
|
onKeydown: s[1] || (s[1] = st((u) => a("close"), ["esc"]))
|
|
6176
6180
|
}), {
|
|
6177
6181
|
default: F(() => [
|
|
6178
|
-
o.header ? (c(), p("div",
|
|
6182
|
+
o.header ? (c(), p("div", UA, [
|
|
6179
6183
|
B(l.$slots, "header", {}, void 0, !0)
|
|
6180
6184
|
])) : D("", !0),
|
|
6181
6185
|
B(l.$slots, "default", {}, void 0, !0)
|
|
6182
6186
|
]),
|
|
6183
6187
|
footer: F(() => [
|
|
6184
|
-
h("div",
|
|
6188
|
+
h("div", qA, [
|
|
6185
6189
|
R(f(Ne), {
|
|
6186
6190
|
icon: f(ne).CLOSE_CIRCLE_OUTLINE,
|
|
6187
6191
|
label: n.closeButtonLabel,
|
|
@@ -6199,9 +6203,9 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6199
6203
|
]);
|
|
6200
6204
|
};
|
|
6201
6205
|
}
|
|
6202
|
-
}),
|
|
6203
|
-
function
|
|
6204
|
-
const n =
|
|
6206
|
+
}), Ad = /* @__PURE__ */ G(HA, [["__scopeId", "data-v-3153ca6f"]]);
|
|
6207
|
+
function XA(e, t) {
|
|
6208
|
+
const n = Z(!1), a = Z({ top: 0, left: 0 }), o = async () => {
|
|
6205
6209
|
if (n.value = !n.value, n.value && e.value) {
|
|
6206
6210
|
await De();
|
|
6207
6211
|
const s = e.value.getBoundingClientRect(), i = s.bottom + window.scrollY + 4;
|
|
@@ -6243,7 +6247,7 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6243
6247
|
n === void 0 && (n = !0);
|
|
6244
6248
|
var o = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = o === "" || o === "true", l = r || n && t && e(t.parentNode);
|
|
6245
6249
|
return l;
|
|
6246
|
-
},
|
|
6250
|
+
}, ZA = function(t) {
|
|
6247
6251
|
var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
6248
6252
|
return a === "" || a === "true";
|
|
6249
6253
|
}, la = function(t, n, a) {
|
|
@@ -6265,12 +6269,12 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6265
6269
|
var A = Me.call(l, ot);
|
|
6266
6270
|
A && a.filter(l) && (n || !t.includes(l)) && o.push(l);
|
|
6267
6271
|
var d = l.shadowRoot || // check for an undisclosed shadow
|
|
6268
|
-
typeof a.getShadowRoot == "function" && a.getShadowRoot(l),
|
|
6269
|
-
if (d &&
|
|
6270
|
-
var
|
|
6271
|
-
a.flatten ? o.push.apply(o,
|
|
6272
|
+
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), b = !lt(d, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
6273
|
+
if (d && b) {
|
|
6274
|
+
var m = e(d === !0 ? l.children : d.children, !0, a);
|
|
6275
|
+
a.flatten ? o.push.apply(o, m) : o.push({
|
|
6272
6276
|
scopeParent: l,
|
|
6273
|
-
candidates:
|
|
6277
|
+
candidates: m
|
|
6274
6278
|
});
|
|
6275
6279
|
} else
|
|
6276
6280
|
r.unshift.apply(r, l.children);
|
|
@@ -6282,26 +6286,26 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6282
6286
|
}, Ce = function(t) {
|
|
6283
6287
|
if (!t)
|
|
6284
6288
|
throw new Error("No node provided");
|
|
6285
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
6286
|
-
},
|
|
6289
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || ZA(t)) && !sa(t) ? 0 : t.tabIndex;
|
|
6290
|
+
}, RA = function(t, n) {
|
|
6287
6291
|
var a = Ce(t);
|
|
6288
6292
|
return a < 0 && n && !sa(t) ? 0 : a;
|
|
6289
|
-
},
|
|
6293
|
+
}, FA = function(t, n) {
|
|
6290
6294
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
6291
6295
|
}, ua = function(t) {
|
|
6292
6296
|
return t.tagName === "INPUT";
|
|
6293
|
-
}, FA = function(t) {
|
|
6294
|
-
return ua(t) && t.type === "hidden";
|
|
6295
6297
|
}, KA = function(t) {
|
|
6298
|
+
return ua(t) && t.type === "hidden";
|
|
6299
|
+
}, YA = function(t) {
|
|
6296
6300
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
|
|
6297
6301
|
return a.tagName === "SUMMARY";
|
|
6298
6302
|
});
|
|
6299
6303
|
return n;
|
|
6300
|
-
},
|
|
6304
|
+
}, GA = function(t, n) {
|
|
6301
6305
|
for (var a = 0; a < t.length; a++)
|
|
6302
6306
|
if (t[a].checked && t[a].form === n)
|
|
6303
6307
|
return t[a];
|
|
6304
|
-
},
|
|
6308
|
+
}, JA = function(t) {
|
|
6305
6309
|
if (!t.name)
|
|
6306
6310
|
return !0;
|
|
6307
6311
|
var n = t.form || rt(t), a = function(s) {
|
|
@@ -6315,13 +6319,13 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6315
6319
|
} catch (l) {
|
|
6316
6320
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", l.message), !1;
|
|
6317
6321
|
}
|
|
6318
|
-
var r =
|
|
6322
|
+
var r = GA(o, t.form);
|
|
6319
6323
|
return !r || r === t;
|
|
6320
|
-
}, JA = function(t) {
|
|
6321
|
-
return ua(t) && t.type === "radio";
|
|
6322
6324
|
}, _A = function(t) {
|
|
6323
|
-
return
|
|
6325
|
+
return ua(t) && t.type === "radio";
|
|
6324
6326
|
}, $A = function(t) {
|
|
6327
|
+
return _A(t) && !JA(t);
|
|
6328
|
+
}, ec = function(t) {
|
|
6325
6329
|
var n, a = t && rt(t), o = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
|
|
6326
6330
|
if (a && a !== t) {
|
|
6327
6331
|
var l, s, i;
|
|
@@ -6334,7 +6338,7 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6334
6338
|
}, gn = function(t) {
|
|
6335
6339
|
var n = t.getBoundingClientRect(), a = n.width, o = n.height;
|
|
6336
6340
|
return a === 0 && o === 0;
|
|
6337
|
-
},
|
|
6341
|
+
}, tc = function(t, n) {
|
|
6338
6342
|
var a = n.displayCheck, o = n.getShadowRoot;
|
|
6339
6343
|
if (getComputedStyle(t).visibility === "hidden")
|
|
6340
6344
|
return !0;
|
|
@@ -6351,14 +6355,14 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6351
6355
|
}
|
|
6352
6356
|
t = s;
|
|
6353
6357
|
}
|
|
6354
|
-
if (
|
|
6358
|
+
if (ec(t))
|
|
6355
6359
|
return !t.getClientRects().length;
|
|
6356
6360
|
if (a !== "legacy-full")
|
|
6357
6361
|
return !0;
|
|
6358
6362
|
} else if (a === "non-zero-area")
|
|
6359
6363
|
return gn(t);
|
|
6360
6364
|
return !1;
|
|
6361
|
-
},
|
|
6365
|
+
}, nc = function(t) {
|
|
6362
6366
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
6363
6367
|
for (var n = t.parentElement; n; ) {
|
|
6364
6368
|
if (n.tagName === "FIELDSET" && n.disabled) {
|
|
@@ -6376,17 +6380,17 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6376
6380
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
6377
6381
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
6378
6382
|
// note related to `candidateSelectors`)
|
|
6379
|
-
lt(n) ||
|
|
6380
|
-
|
|
6383
|
+
lt(n) || KA(n) || tc(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
6384
|
+
YA(n) || nc(n));
|
|
6381
6385
|
}, Ot = function(t, n) {
|
|
6382
|
-
return !(
|
|
6383
|
-
},
|
|
6386
|
+
return !($A(n) || Ce(n) < 0 || !it(t, n));
|
|
6387
|
+
}, ac = function(t) {
|
|
6384
6388
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
6385
6389
|
return !!(isNaN(n) || n >= 0);
|
|
6386
|
-
},
|
|
6390
|
+
}, oc = function e(t) {
|
|
6387
6391
|
var n = [], a = [];
|
|
6388
6392
|
return t.forEach(function(o, r) {
|
|
6389
|
-
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i =
|
|
6393
|
+
var l = !!o.scopeParent, s = l ? o.scopeParent : o, i = RA(s, l), u = l ? e(o.candidates) : s;
|
|
6390
6394
|
i === 0 ? l ? n.push.apply(n, u) : n.push(s) : a.push({
|
|
6391
6395
|
documentOrder: r,
|
|
6392
6396
|
tabIndex: i,
|
|
@@ -6394,19 +6398,19 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6394
6398
|
isScope: l,
|
|
6395
6399
|
content: u
|
|
6396
6400
|
});
|
|
6397
|
-
}), a.sort(
|
|
6401
|
+
}), a.sort(FA).reduce(function(o, r) {
|
|
6398
6402
|
return r.isScope ? o.push.apply(o, r.content) : o.push(r.content), o;
|
|
6399
6403
|
}, []).concat(n);
|
|
6400
|
-
},
|
|
6404
|
+
}, rc = function(t, n) {
|
|
6401
6405
|
n = n || {};
|
|
6402
6406
|
var a;
|
|
6403
6407
|
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
6404
6408
|
filter: Ot.bind(null, n),
|
|
6405
6409
|
flatten: !1,
|
|
6406
6410
|
getShadowRoot: n.getShadowRoot,
|
|
6407
|
-
shadowRootFilter:
|
|
6408
|
-
}) : a = la(t, n.includeContainer, Ot.bind(null, n)),
|
|
6409
|
-
},
|
|
6411
|
+
shadowRootFilter: ac
|
|
6412
|
+
}) : a = la(t, n.includeContainer, Ot.bind(null, n)), oc(a);
|
|
6413
|
+
}, lc = function(t, n) {
|
|
6410
6414
|
n = n || {};
|
|
6411
6415
|
var a;
|
|
6412
6416
|
return n.getShadowRoot ? a = ia([t], n.includeContainer, {
|
|
@@ -6418,10 +6422,10 @@ var oa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
6418
6422
|
if (n = n || {}, !t)
|
|
6419
6423
|
throw new Error("No node provided");
|
|
6420
6424
|
return Me.call(t, ot) === !1 ? !1 : Ot(n, t);
|
|
6421
|
-
},
|
|
6425
|
+
}, ic = /* @__PURE__ */ oa.concat("iframe").join(","), yt = function(t, n) {
|
|
6422
6426
|
if (n = n || {}, !t)
|
|
6423
6427
|
throw new Error("No node provided");
|
|
6424
|
-
return Me.call(t,
|
|
6428
|
+
return Me.call(t, ic) === !1 ? !1 : it(n, t);
|
|
6425
6429
|
};
|
|
6426
6430
|
/*!
|
|
6427
6431
|
* focus-trap 7.6.5
|
|
@@ -6432,21 +6436,21 @@ function St(e, t) {
|
|
|
6432
6436
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
6433
6437
|
return a;
|
|
6434
6438
|
}
|
|
6435
|
-
function
|
|
6439
|
+
function sc(e) {
|
|
6436
6440
|
if (Array.isArray(e)) return St(e);
|
|
6437
6441
|
}
|
|
6438
|
-
function
|
|
6439
|
-
return (t =
|
|
6442
|
+
function uc(e, t, n) {
|
|
6443
|
+
return (t = pc(t)) in e ? Object.defineProperty(e, t, {
|
|
6440
6444
|
value: n,
|
|
6441
6445
|
enumerable: !0,
|
|
6442
6446
|
configurable: !0,
|
|
6443
6447
|
writable: !0
|
|
6444
6448
|
}) : e[t] = n, e;
|
|
6445
6449
|
}
|
|
6446
|
-
function
|
|
6450
|
+
function Ac(e) {
|
|
6447
6451
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
6448
6452
|
}
|
|
6449
|
-
function
|
|
6453
|
+
function cc() {
|
|
6450
6454
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6451
6455
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
6452
6456
|
}
|
|
@@ -6464,17 +6468,17 @@ function mn(e) {
|
|
|
6464
6468
|
for (var t = 1; t < arguments.length; t++) {
|
|
6465
6469
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
6466
6470
|
t % 2 ? bn(Object(n), !0).forEach(function(a) {
|
|
6467
|
-
|
|
6471
|
+
uc(e, a, n[a]);
|
|
6468
6472
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bn(Object(n)).forEach(function(a) {
|
|
6469
6473
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
6470
6474
|
});
|
|
6471
6475
|
}
|
|
6472
6476
|
return e;
|
|
6473
6477
|
}
|
|
6474
|
-
function
|
|
6475
|
-
return
|
|
6478
|
+
function dc(e) {
|
|
6479
|
+
return sc(e) || Ac(e) || vc(e) || cc();
|
|
6476
6480
|
}
|
|
6477
|
-
function
|
|
6481
|
+
function fc(e, t) {
|
|
6478
6482
|
if (typeof e != "object" || !e) return e;
|
|
6479
6483
|
var n = e[Symbol.toPrimitive];
|
|
6480
6484
|
if (n !== void 0) {
|
|
@@ -6484,11 +6488,11 @@ function dc(e, t) {
|
|
|
6484
6488
|
}
|
|
6485
6489
|
return (t === "string" ? String : Number)(e);
|
|
6486
6490
|
}
|
|
6487
|
-
function
|
|
6488
|
-
var t =
|
|
6491
|
+
function pc(e) {
|
|
6492
|
+
var t = fc(e, "string");
|
|
6489
6493
|
return typeof t == "symbol" ? t : t + "";
|
|
6490
6494
|
}
|
|
6491
|
-
function
|
|
6495
|
+
function vc(e, t) {
|
|
6492
6496
|
if (e) {
|
|
6493
6497
|
if (typeof e == "string") return St(e, t);
|
|
6494
6498
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -6508,15 +6512,15 @@ var In = {
|
|
|
6508
6512
|
var a = t.indexOf(n);
|
|
6509
6513
|
a !== -1 && t.splice(a, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
6510
6514
|
}
|
|
6511
|
-
}, vc = function(t) {
|
|
6512
|
-
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
6513
6515
|
}, gc = function(t) {
|
|
6516
|
+
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
6517
|
+
}, bc = function(t) {
|
|
6514
6518
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
6515
6519
|
}, Ue = function(t) {
|
|
6516
6520
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
6517
|
-
}, bc = function(t) {
|
|
6518
|
-
return Ue(t) && !t.shiftKey;
|
|
6519
6521
|
}, mc = function(t) {
|
|
6522
|
+
return Ue(t) && !t.shiftKey;
|
|
6523
|
+
}, Ic = function(t) {
|
|
6520
6524
|
return Ue(t) && t.shiftKey;
|
|
6521
6525
|
}, hn = function(t) {
|
|
6522
6526
|
return setTimeout(t, 0);
|
|
@@ -6526,13 +6530,13 @@ var In = {
|
|
|
6526
6530
|
return typeof t == "function" ? t.apply(void 0, a) : t;
|
|
6527
6531
|
}, Re = function(t) {
|
|
6528
6532
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
6529
|
-
},
|
|
6530
|
-
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) ||
|
|
6533
|
+
}, hc = [], yc = function(t, n) {
|
|
6534
|
+
var a = (n == null ? void 0 : n.document) || document, o = (n == null ? void 0 : n.trapStack) || hc, r = mn({
|
|
6531
6535
|
returnFocusOnDeactivate: !0,
|
|
6532
6536
|
escapeDeactivates: !0,
|
|
6533
6537
|
delayInitialFocus: !0,
|
|
6534
|
-
isKeyForward:
|
|
6535
|
-
isKeyBackward:
|
|
6538
|
+
isKeyForward: mc,
|
|
6539
|
+
isKeyBackward: Ic
|
|
6536
6540
|
}, n), l = {
|
|
6537
6541
|
// containers given to createFocusTrap()
|
|
6538
6542
|
// @type {Array<HTMLElement>}
|
|
@@ -6586,7 +6590,7 @@ var In = {
|
|
|
6586
6590
|
});
|
|
6587
6591
|
}, A = function(g) {
|
|
6588
6592
|
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, L = E.hasFallback, W = L === void 0 ? !1 : L, P = E.params, H = P === void 0 ? [] : P, V = r[g];
|
|
6589
|
-
if (typeof V == "function" && (V = V.apply(void 0,
|
|
6593
|
+
if (typeof V == "function" && (V = V.apply(void 0, dc(H))), V === !0 && (V = void 0), !V) {
|
|
6590
6594
|
if (V === void 0 || V === !1)
|
|
6591
6595
|
return V;
|
|
6592
6596
|
throw new Error("`".concat(g, "` was specified but was not a node, or did not return a node"));
|
|
@@ -6619,9 +6623,9 @@ var In = {
|
|
|
6619
6623
|
if (!g)
|
|
6620
6624
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
6621
6625
|
return g;
|
|
6622
|
-
},
|
|
6626
|
+
}, b = function() {
|
|
6623
6627
|
if (l.containerGroups = l.containers.map(function(g) {
|
|
6624
|
-
var E =
|
|
6628
|
+
var E = rc(g, r.tabbableOptions), L = lc(g, r.tabbableOptions), W = E.length > 0 ? E[0] : void 0, P = E.length > 0 ? E[E.length - 1] : void 0, H = L.find(function(ee) {
|
|
6625
6629
|
return Qe(ee);
|
|
6626
6630
|
}), V = L.slice().reverse().find(function(ee) {
|
|
6627
6631
|
return Qe(ee);
|
|
@@ -6674,19 +6678,19 @@ var In = {
|
|
|
6674
6678
|
return g.posTabIndexesFound;
|
|
6675
6679
|
}) && l.containerGroups.length > 1)
|
|
6676
6680
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
6677
|
-
},
|
|
6681
|
+
}, m = function(g) {
|
|
6678
6682
|
var E = g.activeElement;
|
|
6679
6683
|
if (E)
|
|
6680
|
-
return E.shadowRoot && E.shadowRoot.activeElement !== null ?
|
|
6684
|
+
return E.shadowRoot && E.shadowRoot.activeElement !== null ? m(E.shadowRoot) : E;
|
|
6681
6685
|
}, I = function(g) {
|
|
6682
|
-
if (g !== !1 && g !==
|
|
6686
|
+
if (g !== !1 && g !== m(document)) {
|
|
6683
6687
|
if (!g || !g.focus) {
|
|
6684
6688
|
I(d());
|
|
6685
6689
|
return;
|
|
6686
6690
|
}
|
|
6687
6691
|
g.focus({
|
|
6688
6692
|
preventScroll: !!r.preventScroll
|
|
6689
|
-
}), l.mostRecentlyFocusedNode = g,
|
|
6693
|
+
}), l.mostRecentlyFocusedNode = g, gc(g) && g.select();
|
|
6690
6694
|
}
|
|
6691
6695
|
}, C = function(g) {
|
|
6692
6696
|
var E = A("setReturnFocus", {
|
|
@@ -6695,7 +6699,7 @@ var In = {
|
|
|
6695
6699
|
return E || (E === !1 ? !1 : g);
|
|
6696
6700
|
}, v = function(g) {
|
|
6697
6701
|
var E = g.target, L = g.event, W = g.isBackward, P = W === void 0 ? !1 : W;
|
|
6698
|
-
E = E || Re(L),
|
|
6702
|
+
E = E || Re(L), b();
|
|
6699
6703
|
var H = null;
|
|
6700
6704
|
if (l.tabbableGroups.length > 0) {
|
|
6701
6705
|
var V = u(E, L), _ = V >= 0 ? l.containerGroups[V] : void 0;
|
|
@@ -6783,7 +6787,7 @@ var In = {
|
|
|
6783
6787
|
}, T = function(g) {
|
|
6784
6788
|
(r.isKeyForward(g) || r.isKeyBackward(g)) && Q(g, r.isKeyBackward(g));
|
|
6785
6789
|
}, z = function(g) {
|
|
6786
|
-
|
|
6790
|
+
bc(g) && xe(r.escapeDeactivates, g) !== !1 && (g.preventDefault(), s.deactivate());
|
|
6787
6791
|
}, O = function(g) {
|
|
6788
6792
|
var E = Re(g);
|
|
6789
6793
|
u(E, g) >= 0 || xe(r.clickOutsideDeactivates, g) || xe(r.allowOutsideClick, g) || (g.preventDefault(), g.stopImmediatePropagation());
|
|
@@ -6834,9 +6838,9 @@ var In = {
|
|
|
6834
6838
|
if (l.active)
|
|
6835
6839
|
return this;
|
|
6836
6840
|
var E = i(g, "onActivate"), L = i(g, "onPostActivate"), W = i(g, "checkCanFocusTrap");
|
|
6837
|
-
W ||
|
|
6841
|
+
W || b(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = m(a), E == null || E();
|
|
6838
6842
|
var P = function() {
|
|
6839
|
-
W &&
|
|
6843
|
+
W && b(), w(), y(), L == null || L();
|
|
6840
6844
|
};
|
|
6841
6845
|
return W ? (W(l.containers.concat()).then(P, P), this) : (P(), this);
|
|
6842
6846
|
},
|
|
@@ -6868,7 +6872,7 @@ var In = {
|
|
|
6868
6872
|
var E = [].concat(g).filter(Boolean);
|
|
6869
6873
|
return l.containers = E.map(function(L) {
|
|
6870
6874
|
return typeof L == "string" ? a.querySelector(L) : L;
|
|
6871
|
-
}), l.active &&
|
|
6875
|
+
}), l.active && b(), y(), this;
|
|
6872
6876
|
}
|
|
6873
6877
|
}, Object.defineProperties(s, {
|
|
6874
6878
|
_isManuallyPaused: {
|
|
@@ -6885,19 +6889,19 @@ var In = {
|
|
|
6885
6889
|
L == null || L(), J(), y(), W == null || W();
|
|
6886
6890
|
} else {
|
|
6887
6891
|
var P = i(E, "onUnpause"), H = i(E, "onPostUnpause");
|
|
6888
|
-
P == null || P(),
|
|
6892
|
+
P == null || P(), b(), w(), y(), H == null || H();
|
|
6889
6893
|
}
|
|
6890
6894
|
return this;
|
|
6891
6895
|
}
|
|
6892
6896
|
}
|
|
6893
6897
|
}), s.updateContainerElements(t), s;
|
|
6894
6898
|
};
|
|
6895
|
-
function
|
|
6899
|
+
function Cc(e, t) {
|
|
6896
6900
|
let n = null;
|
|
6897
6901
|
function a() {
|
|
6898
6902
|
!e.value || !e.value.querySelector(
|
|
6899
6903
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
6900
|
-
) || (n =
|
|
6904
|
+
) || (n = yc(e.value, {
|
|
6901
6905
|
escapeDeactivates: !0,
|
|
6902
6906
|
onDeactivate: t,
|
|
6903
6907
|
returnFocusOnDeactivate: !0,
|
|
@@ -6912,7 +6916,7 @@ function yc(e, t) {
|
|
|
6912
6916
|
cleanupFocusTrap: o
|
|
6913
6917
|
};
|
|
6914
6918
|
}
|
|
6915
|
-
const
|
|
6919
|
+
const Ec = { class: "av-popover-wrapper" }, Mc = /* @__PURE__ */ j({
|
|
6916
6920
|
__name: "AvPopover",
|
|
6917
6921
|
props: {
|
|
6918
6922
|
width: { default: "12.5rem" },
|
|
@@ -6923,7 +6927,7 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6923
6927
|
75959032: d.width,
|
|
6924
6928
|
"330e9906": d.padding
|
|
6925
6929
|
}));
|
|
6926
|
-
const n =
|
|
6930
|
+
const n = Z(null), a = Z(null), { showPopover: o, popoverPosition: r, togglePopover: l, closePopover: s } = XA(n, a), { initializeFocusTrap: i, cleanupFocusTrap: u } = Cc(a, s);
|
|
6927
6931
|
function A(d) {
|
|
6928
6932
|
if (!d) {
|
|
6929
6933
|
n.value = null;
|
|
@@ -6933,14 +6937,14 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6933
6937
|
n.value = d;
|
|
6934
6938
|
return;
|
|
6935
6939
|
}
|
|
6936
|
-
const
|
|
6937
|
-
|
|
6940
|
+
const b = d.$el;
|
|
6941
|
+
b instanceof HTMLElement ? n.value = b : n.value = null;
|
|
6938
6942
|
}
|
|
6939
6943
|
return t({ setTriggerRef: A, triggerRef: n }), oe(o, async (d) => {
|
|
6940
6944
|
d ? (await De(), i()) : u();
|
|
6941
6945
|
}), yn(() => {
|
|
6942
6946
|
u();
|
|
6943
|
-
}), (d,
|
|
6947
|
+
}), (d, b) => (c(), p("div", Ec, [
|
|
6944
6948
|
h("div", {
|
|
6945
6949
|
ref: A,
|
|
6946
6950
|
class: "av-popover-trigger-wrapper"
|
|
@@ -6955,9 +6959,9 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6955
6959
|
tabindex: "-1",
|
|
6956
6960
|
class: "av-popover",
|
|
6957
6961
|
style: be(`top: ${f(r).top}rem; left: ${f(r).left}rem;`),
|
|
6958
|
-
onKeydown:
|
|
6962
|
+
onKeydown: b[0] || (b[0] = st(ce(
|
|
6959
6963
|
//@ts-ignore
|
|
6960
|
-
(...
|
|
6964
|
+
(...m) => f(s) && f(s)(...m),
|
|
6961
6965
|
["prevent"]
|
|
6962
6966
|
), ["esc"]))
|
|
6963
6967
|
}, [
|
|
@@ -6966,11 +6970,11 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6966
6970
|
]))
|
|
6967
6971
|
]));
|
|
6968
6972
|
}
|
|
6969
|
-
}),
|
|
6973
|
+
}), cd = /* @__PURE__ */ G(Mc, [["__scopeId", "data-v-6a5eaa47"]]), dd = {
|
|
6970
6974
|
name: "DsfrBadge",
|
|
6971
6975
|
template: '<div class="dsfr-badge" />',
|
|
6972
6976
|
props: ["label", "type", "small", "ellipsis"]
|
|
6973
|
-
},
|
|
6977
|
+
}, fd = {
|
|
6974
6978
|
name: "DsfrModal",
|
|
6975
6979
|
props: ["opened", "title"],
|
|
6976
6980
|
template: '<div class="dsfr-modal"><slot /><slot name="footer" /></div>',
|
|
@@ -6980,79 +6984,79 @@ const Cc = { class: "av-popover-wrapper" }, Ec = /* @__PURE__ */ j({
|
|
|
6980
6984
|
this.$emit("keydown", { key: "Escape" });
|
|
6981
6985
|
}
|
|
6982
6986
|
}
|
|
6983
|
-
},
|
|
6987
|
+
}, pd = {
|
|
6984
6988
|
name: "DsfrNavigation",
|
|
6985
6989
|
props: {
|
|
6986
6990
|
navItems: Array
|
|
6987
6991
|
},
|
|
6988
6992
|
template: '<nav class="dsfr-navigation-mock"><slot /></nav>'
|
|
6989
|
-
},
|
|
6993
|
+
}, vd = {
|
|
6990
6994
|
name: "VIcon",
|
|
6991
6995
|
props: ["name", "size", "color"],
|
|
6992
6996
|
template: '<div class="v-icon-stub"></div>'
|
|
6993
6997
|
};
|
|
6994
6998
|
export {
|
|
6995
|
-
|
|
6996
|
-
|
|
6999
|
+
jc as AvAccordion,
|
|
7000
|
+
Pc as AvAccordionsGroup,
|
|
6997
7001
|
bi as AvAlert,
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
+
Yc as AvAutocomplete,
|
|
7003
|
+
Kc as AvAutocompleteStub,
|
|
7004
|
+
kc as AvBadge,
|
|
7005
|
+
Tc as AvBadgeStub,
|
|
7002
7006
|
Ne as AvButton,
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7007
|
+
xc as AvButtonStub,
|
|
7008
|
+
Oc as AvCard,
|
|
7009
|
+
ud as AvDrawer,
|
|
7010
|
+
sd as AvDrawerStub,
|
|
7011
|
+
Vc as AvFileUpload,
|
|
7012
|
+
zc as AvHeader,
|
|
7009
7013
|
An as AvHeaderMenuLinks,
|
|
7010
7014
|
oi as AvIconText,
|
|
7011
7015
|
Qs as AvInput,
|
|
7012
7016
|
Yn as AvList,
|
|
7013
7017
|
Gn as AvListItem,
|
|
7014
|
-
|
|
7015
|
-
|
|
7018
|
+
qc as AvListItemStub,
|
|
7019
|
+
Uc as AvListStub,
|
|
7016
7020
|
Ni as AvLogo,
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7021
|
+
Ad as AvModal,
|
|
7022
|
+
td as AvNavigation,
|
|
7023
|
+
Qc as AvNotice,
|
|
7024
|
+
Zc as AvPageSizePicker,
|
|
7025
|
+
nd as AvPagination,
|
|
7026
|
+
cd as AvPopover,
|
|
7023
7027
|
Xs as AvRadioButton,
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
+
Fc as AvRadioButtonSet,
|
|
7029
|
+
Wc as AvRichButton,
|
|
7030
|
+
Jc as AvSelect,
|
|
7031
|
+
Gc as AvSelectStub,
|
|
7028
7032
|
NA as AvSideMenu,
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7033
|
+
rd as AvSideNavigation,
|
|
7034
|
+
od as AvSideNavigationStub,
|
|
7035
|
+
id as AvStepper,
|
|
7036
|
+
ld as AvStepperStub,
|
|
7037
|
+
_c as AvTab,
|
|
7038
|
+
$c as AvTabs,
|
|
7035
7039
|
Us as AvTagPicker,
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7040
|
+
Rc as AvTagPickerStub,
|
|
7041
|
+
wc as AvToaster,
|
|
7042
|
+
ed as AvToggle,
|
|
7039
7043
|
se as AvVIcon,
|
|
7040
|
-
|
|
7044
|
+
Lc as AvVIconStub,
|
|
7041
7045
|
Le as DropdownState,
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7046
|
+
dd as DsfrBadgeStub,
|
|
7047
|
+
fd as DsfrModalStub,
|
|
7048
|
+
pd as DsfrNavigationStub,
|
|
7049
|
+
Bc as EsupLogo,
|
|
7050
|
+
Dc as ICONS_DATA_URL,
|
|
7047
7051
|
ne as MDI_ICONS,
|
|
7048
7052
|
Jn as PageSizes,
|
|
7049
|
-
|
|
7050
|
-
|
|
7053
|
+
Sc as RI_ICONS,
|
|
7054
|
+
vd as VIconStub,
|
|
7051
7055
|
ri as formatTextToHtml,
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7056
|
+
ad as getPaginationPages,
|
|
7057
|
+
Hc as isValidEmail,
|
|
7058
|
+
Xc as pageSizeValues,
|
|
7055
7059
|
xn as registerNavigationLinkKey,
|
|
7056
7060
|
xs as removeDuplicates,
|
|
7057
|
-
|
|
7061
|
+
Cc as useFocusTrap
|
|
7058
7062
|
};
|