@avenirs-esr/avenirs-dsav 0.1.23 → 0.1.24
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 +291 -287
- package/dist/avenirs-dsav.umd.js +8 -8
- 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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, h as Ht, ref as
|
|
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 K, 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 Y, 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
2
|
const Nc = {
|
|
3
3
|
name: "AvBadge",
|
|
4
4
|
template: '<div class="av-badge"/>',
|
|
@@ -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,7 +1423,7 @@ 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
1429
|
A.icon && !s.value ? (c(), U(we, ct(Y({ key: 0 }, u.value)), null, 16)) : D("", !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,
|
|
@@ -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(K, null, te(
|
|
2298
|
+
(c(!0), p(K, 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(() => [
|
|
@@ -2348,7 +2348,7 @@ const pr = {
|
|
|
2348
2348
|
focus: r
|
|
2349
2349
|
}), (u, A) => (c(), p(K, 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,7 +2361,7 @@ 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
|
])
|
|
@@ -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, {
|
|
@@ -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(Y({ 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",
|
|
@@ -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(K, null, te(i.menus, (d,
|
|
2730
|
-
key:
|
|
2729
|
+
(c(!0), p(K, null, te(i.menus, (d, b) => (c(), U(Kr, Y({
|
|
2730
|
+
key: b,
|
|
2731
2731
|
ref_for: !0
|
|
2732
2732
|
}, d), null, 16))), 128))
|
|
2733
2733
|
])
|
|
@@ -2787,7 +2787,7 @@ 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
|
}, [
|
|
@@ -2796,7 +2796,7 @@ const pr = {
|
|
|
2796
2796
|
(c(!0), p(K, null, te(i.links, (A, d) => (c(), U(ll, { key: d }, {
|
|
2797
2797
|
default: F(() => [
|
|
2798
2798
|
R(Wt, Y({ ref_for: !0 }, A, {
|
|
2799
|
-
onToggleId: u[1] || (u[1] = (
|
|
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;
|
|
@@ -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,10 +2942,10 @@ 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
|
}])
|
|
@@ -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
|
}]),
|
|
@@ -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",
|
|
@@ -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,15 +3211,15 @@ 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, () => {
|
|
@@ -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(() => {
|
|
@@ -3338,11 +3338,11 @@ const pr = {
|
|
|
3338
3338
|
(c(!0), p(K, 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
|
}, {
|
|
@@ -3357,8 +3357,8 @@ const pr = {
|
|
|
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)
|
|
@@ -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
|
}
|
|
@@ -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",
|
|
@@ -3733,7 +3734,7 @@ 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, [
|
|
@@ -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,
|
|
@@ -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"
|
|
@@ -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
|
]),
|
|
@@ -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
4303
|
return (I, C) => (c(), p(K, null, [
|
|
4303
|
-
(c(), U(de(f(d) ? "div" : "label"), Y(f(d) ? {} : f(
|
|
4304
|
+
(c(), U(de(f(d) ? "div" : "label"), Y(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,
|
|
@@ -4450,14 +4451,14 @@ 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(K, null, te(f(r), (d,
|
|
4454
|
-
key:
|
|
4454
|
+
(c(!0), p(K, 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(K, null, te(f(l), (d,
|
|
4460
|
-
key:
|
|
4460
|
+
(c(!0), p(K, 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)
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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
4657
|
(c(!0), p(K, 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
|
]);
|
|
@@ -4764,21 +4765,21 @@ const Hc = [
|
|
|
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
4773
|
}), t({ selected: u }), (A, d) => (c(), U(f(Bl), Y(a, { "model-value": f(u) }), {
|
|
4773
4774
|
default: F(() => [
|
|
4774
|
-
(c(!0), p(K, null, te(f(i), (
|
|
4775
|
+
(c(!0), p(K, 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
|
|
@@ -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, [
|
|
@@ -5293,12 +5294,12 @@ const Su = {
|
|
|
5293
5294
|
])) : (c(), U(Yn, Y({
|
|
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(K, null, te(f(
|
|
5302
|
+
(c(!0), p(K, null, te(f(m), (z) => (c(), p(K, {
|
|
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
5362
|
R(Qs, Y({
|
|
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,
|
|
@@ -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 ? {
|
|
@@ -5608,7 +5609,7 @@ 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
5614
|
R(f(Hl), Y(n, {
|
|
5614
5615
|
title: f(o),
|
|
@@ -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,16 +5655,17 @@ 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(() => [
|
|
@@ -5670,6 +5673,7 @@ const Su = {
|
|
|
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,7 +5690,7 @@ 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(() => [
|
|
@@ -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
|
-
}), _c = /* @__PURE__ */ G(Ru, [["__scopeId", "data-v-
|
|
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 = {
|
|
@@ -5732,12 +5736,12 @@ const Su = {
|
|
|
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
|
}, [
|
|
@@ -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(K, { 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
|
])
|
|
@@ -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, [
|
|
@@ -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: "",
|
|
@@ -6075,10 +6079,10 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
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
6088
|
h("span", OA, x(o + 2), 1)
|
|
@@ -6091,7 +6095,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
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
|
}])
|
|
@@ -6131,7 +6135,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6131
6135
|
return (i, u) => i.show ? (c(), p("div", wA, [
|
|
6132
6136
|
i.backdrop ? (c(), p("div", zA)) : 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,
|
|
@@ -6201,7 +6205,7 @@ const yA = ["id", "aria-label"], CA = {
|
|
|
6201
6205
|
}
|
|
6202
6206
|
}), ud = /* @__PURE__ */ G(qA, [["__scopeId", "data-v-3153ca6f"]]);
|
|
6203
6207
|
function HA(e, t) {
|
|
6204
|
-
const n =
|
|
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;
|
|
@@ -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);
|
|
@@ -6619,7 +6623,7 @@ 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
6628
|
var E = oc(g, r.tabbableOptions), L = rc(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);
|
|
@@ -6674,12 +6678,12 @@ 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;
|
|
@@ -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;
|
|
@@ -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,7 +6889,7 @@ 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
|
}
|
|
@@ -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 } = HA(n, a), { initializeFocusTrap: i, cleanupFocusTrap: u } = yc(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", Cc, [
|
|
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
|
}, [
|