@avenirs-esr/avenirs-dsav 0.1.59 → 0.1.61
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/components/badges/AvBadge/AvBadge.stub.d.ts +2 -0
- package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +404 -401
- package/dist/test-utils.cjs.js +6 -6
- package/dist/test-utils.es.js +6 -5
- package/dist/tokens/icons.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, useCssVars as ce, computed as E, createElementBlock as g, openBlock as A, normalizeStyle as fe, normalizeClass as
|
|
1
|
+
import { defineComponent as j, useCssVars as ce, computed as E, createElementBlock as g, openBlock as A, normalizeStyle as fe, normalizeClass as H, unref as d, createElementVNode as p, toDisplayString as z, h as dn, ref as q, watch as ie, nextTick as De, onMounted as ue, createVNode as X, createPropsRestProxy as Gn, createBlock as R, resolveDynamicComponent as Ce, mergeProps as te, withCtx as G, createCommentVNode as w, Fragment as J, createTextVNode as le, useSlots as ge, renderSlot as F, normalizeProps as Ue, TransitionGroup as qa, renderList as ae, withModifiers as de, withKeys as Ae, toRef as Ct, onUnmounted as ve, provide as Et, resolveComponent as Mt, reactive as Wt, inject as He, useTemplateRef as Ra, useId as Xa, hasInjectionContext as Gt, onBeforeUnmount as Jt, Comment as Za, cloneVNode as Ya, Transition as Ka, withDirectives as Jn, vShow as Ga, mergeModels as pe, useModel as Pe, vModelCheckbox as Ja, isRef as Tt, getCurrentScope as $a, onScopeDispose as _a, getCurrentInstance as $t, toValue as re, shallowRef as Me, watchEffect as ei, createSlots as lt, guardReactiveProps as $n, toRefs as _t, Teleport as _n } from "vue";
|
|
2
2
|
import { r as ea } from "./injection-key.es.js";
|
|
3
3
|
const ti = ["title"], ni = /* @__PURE__ */ j({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -23,7 +23,7 @@ const ti = ["title"], ni = /* @__PURE__ */ j({
|
|
|
23
23
|
"--icon-path": `url(${e.iconPath})`
|
|
24
24
|
}));
|
|
25
25
|
return (n, a) => (A(), g("p", {
|
|
26
|
-
class:
|
|
26
|
+
class: H(["av-badge fr-badge", {
|
|
27
27
|
[`fr-badge--${e.type}`]: e.type,
|
|
28
28
|
"fr-badge--no-icon": e.noIcon,
|
|
29
29
|
"fr-badge--sm": e.small,
|
|
@@ -33,7 +33,7 @@ const ti = ["title"], ni = /* @__PURE__ */ j({
|
|
|
33
33
|
style: fe(d(t))
|
|
34
34
|
}, [
|
|
35
35
|
p("span", {
|
|
36
|
-
class:
|
|
36
|
+
class: H(e.ellipsis ? "fr-ellipsis" : "")
|
|
37
37
|
}, z(e.label), 3)
|
|
38
38
|
], 14, ti));
|
|
39
39
|
}
|
|
@@ -332,9 +332,9 @@ function bi(e, t) {
|
|
|
332
332
|
};
|
|
333
333
|
let r = n.body;
|
|
334
334
|
[n, a].forEach((b) => {
|
|
335
|
-
const C = [],
|
|
335
|
+
const C = [], x = b.hFlip, D = b.vFlip;
|
|
336
336
|
let k = b.rotate;
|
|
337
|
-
|
|
337
|
+
x ? D ? k += 2 : (C.push(
|
|
338
338
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
|
339
339
|
), C.push("scale(-1 1)"), i.top = i.left = 0) : D && (C.push(
|
|
340
340
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
|
@@ -401,7 +401,7 @@ const Ut = /* @__PURE__ */ Object.create(null);
|
|
|
401
401
|
function Ei(e, t) {
|
|
402
402
|
Ut[e] = t;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Ht(e) {
|
|
405
405
|
return Ut[e] || Ut[""];
|
|
406
406
|
}
|
|
407
407
|
function en(e) {
|
|
@@ -499,7 +499,7 @@ function Oi(e) {
|
|
|
499
499
|
}
|
|
500
500
|
return "/";
|
|
501
501
|
}
|
|
502
|
-
const
|
|
502
|
+
const Li = (e, t, n) => {
|
|
503
503
|
if (!mn) {
|
|
504
504
|
n("abort", 424);
|
|
505
505
|
return;
|
|
@@ -545,9 +545,9 @@ const xi = (e, t, n) => {
|
|
|
545
545
|
}).catch(() => {
|
|
546
546
|
n("next", i);
|
|
547
547
|
});
|
|
548
|
-
},
|
|
548
|
+
}, xi = {
|
|
549
549
|
prepare: wi,
|
|
550
|
-
send:
|
|
550
|
+
send: Li
|
|
551
551
|
};
|
|
552
552
|
function Di(e) {
|
|
553
553
|
const t = {
|
|
@@ -654,12 +654,12 @@ function Pi(e, t, n, a) {
|
|
|
654
654
|
const i = e.resources.length, r = e.random ? Math.floor(Math.random() * i) : e.index;
|
|
655
655
|
let l;
|
|
656
656
|
if (e.random) {
|
|
657
|
-
let
|
|
658
|
-
for (l = [];
|
|
659
|
-
const W = Math.floor(Math.random() *
|
|
660
|
-
l.push(
|
|
657
|
+
let L = e.resources.slice(0);
|
|
658
|
+
for (l = []; L.length > 1; ) {
|
|
659
|
+
const W = Math.floor(Math.random() * L.length);
|
|
660
|
+
l.push(L[W]), L = L.slice(0, W).concat(L.slice(W + 1));
|
|
661
661
|
}
|
|
662
|
-
l = l.concat(
|
|
662
|
+
l = l.concat(L);
|
|
663
663
|
} else
|
|
664
664
|
l = e.resources.slice(r).concat(e.resources.slice(0, r));
|
|
665
665
|
const o = Date.now();
|
|
@@ -669,14 +669,14 @@ function Pi(e, t, n, a) {
|
|
|
669
669
|
v && (clearTimeout(v), v = null);
|
|
670
670
|
}
|
|
671
671
|
function b() {
|
|
672
|
-
s === "pending" && (s = "aborted"), f(), y.forEach((
|
|
673
|
-
|
|
672
|
+
s === "pending" && (s = "aborted"), f(), y.forEach((L) => {
|
|
673
|
+
L.status === "pending" && (L.status = "aborted");
|
|
674
674
|
}), y = [];
|
|
675
675
|
}
|
|
676
|
-
function C(
|
|
677
|
-
W && (m = []), typeof
|
|
676
|
+
function C(L, W) {
|
|
677
|
+
W && (m = []), typeof L == "function" && m.push(L);
|
|
678
678
|
}
|
|
679
|
-
function
|
|
679
|
+
function x() {
|
|
680
680
|
return {
|
|
681
681
|
startTime: o,
|
|
682
682
|
payload: t,
|
|
@@ -688,18 +688,18 @@ function Pi(e, t, n, a) {
|
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
function D() {
|
|
691
|
-
s = "failed", m.forEach((
|
|
692
|
-
|
|
691
|
+
s = "failed", m.forEach((L) => {
|
|
692
|
+
L(void 0, c);
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
695
|
function k() {
|
|
696
|
-
y.forEach((
|
|
697
|
-
|
|
696
|
+
y.forEach((L) => {
|
|
697
|
+
L.status === "pending" && (L.status = "aborted");
|
|
698
698
|
}), y = [];
|
|
699
699
|
}
|
|
700
|
-
function N(
|
|
700
|
+
function N(L, W, K) {
|
|
701
701
|
const Q = W !== "success";
|
|
702
|
-
switch (y = y.filter((B) => B !==
|
|
702
|
+
switch (y = y.filter((B) => B !== L), s) {
|
|
703
703
|
case "pending":
|
|
704
704
|
break;
|
|
705
705
|
case "failed":
|
|
@@ -718,7 +718,7 @@ function Pi(e, t, n, a) {
|
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
720
|
if (f(), k(), !e.random) {
|
|
721
|
-
const B = e.resources.indexOf(
|
|
721
|
+
const B = e.resources.indexOf(L.resource);
|
|
722
722
|
B !== -1 && B !== e.index && (e.index = B);
|
|
723
723
|
}
|
|
724
724
|
s = "completed", m.forEach((B) => {
|
|
@@ -729,8 +729,8 @@ function Pi(e, t, n, a) {
|
|
|
729
729
|
if (s !== "pending")
|
|
730
730
|
return;
|
|
731
731
|
f();
|
|
732
|
-
const
|
|
733
|
-
if (
|
|
732
|
+
const L = l.shift();
|
|
733
|
+
if (L === void 0) {
|
|
734
734
|
if (y.length) {
|
|
735
735
|
v = setTimeout(() => {
|
|
736
736
|
f(), s === "pending" && (k(), D());
|
|
@@ -742,14 +742,14 @@ function Pi(e, t, n, a) {
|
|
|
742
742
|
}
|
|
743
743
|
const W = {
|
|
744
744
|
status: "pending",
|
|
745
|
-
resource:
|
|
745
|
+
resource: L,
|
|
746
746
|
callback: (K, Q) => {
|
|
747
747
|
N(W, K, Q);
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
|
-
y.push(W), u++, v = setTimeout(S, e.rotate), n(
|
|
750
|
+
y.push(W), u++, v = setTimeout(S, e.rotate), n(L, t, W.callback);
|
|
751
751
|
}
|
|
752
|
-
return setTimeout(S),
|
|
752
|
+
return setTimeout(S), x;
|
|
753
753
|
}
|
|
754
754
|
function ua(e) {
|
|
755
755
|
const t = {
|
|
@@ -803,7 +803,7 @@ function Wi(e) {
|
|
|
803
803
|
function Vi(e, t, n) {
|
|
804
804
|
let a, i;
|
|
805
805
|
if (typeof e == "string") {
|
|
806
|
-
const r =
|
|
806
|
+
const r = Ht(e);
|
|
807
807
|
if (!r)
|
|
808
808
|
return n(void 0, 424), gn;
|
|
809
809
|
i = r.send;
|
|
@@ -813,7 +813,7 @@ function Vi(e, t, n) {
|
|
|
813
813
|
const r = en(e);
|
|
814
814
|
if (r) {
|
|
815
815
|
a = ua(r);
|
|
816
|
-
const l = e.resources ? e.resources[0] : "", o =
|
|
816
|
+
const l = e.resources ? e.resources[0] : "", o = Ht(l);
|
|
817
817
|
o && (i = o.send);
|
|
818
818
|
}
|
|
819
819
|
}
|
|
@@ -826,7 +826,7 @@ function Ui(e) {
|
|
|
826
826
|
e.iconsLoaderFlag = !1, Qi(e);
|
|
827
827
|
}));
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Hi(e) {
|
|
830
830
|
const t = [], n = [];
|
|
831
831
|
return e.forEach((a) => {
|
|
832
832
|
(a.match(ta) ? t : n).push(a);
|
|
@@ -860,7 +860,7 @@ function bn(e, t) {
|
|
|
860
860
|
t(null);
|
|
861
861
|
}) : t(e);
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function Fi(e, t) {
|
|
864
864
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
865
865
|
e.iconsQueueFlag = !1;
|
|
866
866
|
const { provider: n, prefix: a } = e, i = e.iconsToLoad;
|
|
@@ -891,10 +891,10 @@ function Hi(e, t) {
|
|
|
891
891
|
});
|
|
892
892
|
return;
|
|
893
893
|
}
|
|
894
|
-
const { valid: l, invalid: o } =
|
|
894
|
+
const { valid: l, invalid: o } = Hi(i);
|
|
895
895
|
if (o.length && Re(e, o, null), !l.length)
|
|
896
896
|
return;
|
|
897
|
-
const s = a.match(ta) ?
|
|
897
|
+
const s = a.match(ta) ? Ht(n) : null;
|
|
898
898
|
if (!s) {
|
|
899
899
|
Re(e, l, null);
|
|
900
900
|
return;
|
|
@@ -935,7 +935,7 @@ const qi = (e, t) => {
|
|
|
935
935
|
m.has(v) || (m.add(v), i[u][c].push(v));
|
|
936
936
|
}), r.forEach((s) => {
|
|
937
937
|
const u = i[s.provider][s.prefix];
|
|
938
|
-
u.length &&
|
|
938
|
+
u.length && Fi(s, u);
|
|
939
939
|
}), t ? zi(t, a, r) : hn;
|
|
940
940
|
};
|
|
941
941
|
function Ri(e, t) {
|
|
@@ -1012,7 +1012,7 @@ const In = {
|
|
|
1012
1012
|
role: "img"
|
|
1013
1013
|
}, er = {
|
|
1014
1014
|
display: "inline-block"
|
|
1015
|
-
},
|
|
1015
|
+
}, Ft = {
|
|
1016
1016
|
backgroundColor: "currentColor"
|
|
1017
1017
|
}, da = {
|
|
1018
1018
|
backgroundColor: "transparent"
|
|
@@ -1021,8 +1021,8 @@ const In = {
|
|
|
1021
1021
|
Repeat: "no-repeat",
|
|
1022
1022
|
Size: "100% 100%"
|
|
1023
1023
|
}, pn = {
|
|
1024
|
-
webkitMask:
|
|
1025
|
-
mask:
|
|
1024
|
+
webkitMask: Ft,
|
|
1025
|
+
mask: Ft,
|
|
1026
1026
|
background: da
|
|
1027
1027
|
};
|
|
1028
1028
|
for (const e in pn) {
|
|
@@ -1075,8 +1075,8 @@ const En = (e, t) => {
|
|
|
1075
1075
|
C !== !0 && C !== "true" && delete a["aria-hidden"];
|
|
1076
1076
|
break;
|
|
1077
1077
|
default: {
|
|
1078
|
-
const
|
|
1079
|
-
|
|
1078
|
+
const x = ct[b];
|
|
1079
|
+
x ? (C === !0 || C === "true" || C === 1) && (n[x] = !0) : In[b] === void 0 && (a[b] = C);
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
@@ -1100,12 +1100,12 @@ const En = (e, t) => {
|
|
|
1100
1100
|
width: Cn(u.width),
|
|
1101
1101
|
height: Cn(u.height),
|
|
1102
1102
|
...er,
|
|
1103
|
-
...m ?
|
|
1103
|
+
...m ? Ft : da,
|
|
1104
1104
|
...o
|
|
1105
1105
|
}, dn("span", a);
|
|
1106
1106
|
};
|
|
1107
1107
|
la(!0);
|
|
1108
|
-
Ei("",
|
|
1108
|
+
Ei("", xi);
|
|
1109
1109
|
if (typeof document < "u" && typeof window < "u") {
|
|
1110
1110
|
const e = window;
|
|
1111
1111
|
if (e.IconifyPreload !== void 0) {
|
|
@@ -1244,7 +1244,7 @@ const tr = {
|
|
|
1244
1244
|
icon: e.name,
|
|
1245
1245
|
style: fe({ fontSize: d(n), display: "inline-block", color: e.color }),
|
|
1246
1246
|
"aria-label": e.label,
|
|
1247
|
-
class:
|
|
1247
|
+
class: H(["vicon", {
|
|
1248
1248
|
"vicon-spin": e.animation === "spin",
|
|
1249
1249
|
"vicon-wrench": e.animation === "wrench",
|
|
1250
1250
|
"vicon-pulse": e.animation === "pulse",
|
|
@@ -1318,21 +1318,21 @@ const tr = {
|
|
|
1318
1318
|
e.legend || t.legend ? (A(), g("legend", {
|
|
1319
1319
|
key: 0,
|
|
1320
1320
|
id: e.legendId,
|
|
1321
|
-
class:
|
|
1321
|
+
class: H(["fr-fieldset__legend", e.legendClass])
|
|
1322
1322
|
}, [
|
|
1323
1323
|
le(z(e.legend) + " ", 1),
|
|
1324
|
-
|
|
1324
|
+
F(n.$slots, "legend")
|
|
1325
1325
|
], 10, or)) : w("", !0),
|
|
1326
1326
|
e.hint || t.hint ? (A(), g("div", sr, [
|
|
1327
1327
|
p("span", {
|
|
1328
|
-
class:
|
|
1328
|
+
class: H(["fr-hint-text", e.hintClass])
|
|
1329
1329
|
}, [
|
|
1330
1330
|
le(z(e.hint) + " ", 1),
|
|
1331
|
-
|
|
1331
|
+
F(n.$slots, "hint")
|
|
1332
1332
|
], 2)
|
|
1333
1333
|
])) : w("", !0),
|
|
1334
1334
|
p("div", cr, [
|
|
1335
|
-
|
|
1335
|
+
F(n.$slots, "default")
|
|
1336
1336
|
])
|
|
1337
1337
|
]));
|
|
1338
1338
|
}
|
|
@@ -1354,7 +1354,7 @@ const tr = {
|
|
|
1354
1354
|
}));
|
|
1355
1355
|
const t = E(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), n = E(() => e.inline ? void 0 : "ellipsis-container"), a = E(() => e.inline ? void 0 : "ellipsis");
|
|
1356
1356
|
return (i, r) => (A(), g("div", {
|
|
1357
|
-
class:
|
|
1357
|
+
class: H(["icon-text--container", [d(n)]])
|
|
1358
1358
|
}, [
|
|
1359
1359
|
X(se, {
|
|
1360
1360
|
class: "icon-text--icon",
|
|
@@ -1363,7 +1363,7 @@ const tr = {
|
|
|
1363
1363
|
size: d(t)
|
|
1364
1364
|
}, null, 8, ["name", "color", "size"]),
|
|
1365
1365
|
p("span", {
|
|
1366
|
-
class:
|
|
1366
|
+
class: H(["icon-text--text", [d(a), e.typographyClass]])
|
|
1367
1367
|
}, z(e.text), 3)
|
|
1368
1368
|
], 2));
|
|
1369
1369
|
}
|
|
@@ -1384,7 +1384,7 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1384
1384
|
setup(e) {
|
|
1385
1385
|
const t = E(() => fr(e.text));
|
|
1386
1386
|
return (n, a) => (A(), g("div", {
|
|
1387
|
-
class:
|
|
1387
|
+
class: H(["fr-notice", `fr-notice--${e.type}`])
|
|
1388
1388
|
}, [
|
|
1389
1389
|
p("div", mr, [
|
|
1390
1390
|
p("div", gr, [
|
|
@@ -1423,14 +1423,14 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1423
1423
|
class: "av-card__title",
|
|
1424
1424
|
style: fe({ background: e.titleBackground, height: e.titleHeight })
|
|
1425
1425
|
}, [
|
|
1426
|
-
|
|
1426
|
+
F(n.$slots, "title", {}, void 0, !0)
|
|
1427
1427
|
], 4)) : w("", !0),
|
|
1428
|
-
|
|
1428
|
+
F(n.$slots, "default", {}, void 0, !0),
|
|
1429
1429
|
t.body ? (A(), g("div", yr, [
|
|
1430
|
-
|
|
1430
|
+
F(n.$slots, "body", {}, void 0, !0)
|
|
1431
1431
|
])) : w("", !0),
|
|
1432
1432
|
t.footer ? (A(), g("div", pr, [
|
|
1433
|
-
|
|
1433
|
+
F(n.$slots, "footer", {}, void 0, !0)
|
|
1434
1434
|
])) : w("", !0)
|
|
1435
1435
|
], 4));
|
|
1436
1436
|
}
|
|
@@ -1442,6 +1442,7 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1442
1442
|
ARROW_DECISION: "mdi:arrow-decision",
|
|
1443
1443
|
ARROW_LEFT_THIN: "mdi:arrow-left-thin",
|
|
1444
1444
|
ARROW_RIGHT: "mdi:arrow-right",
|
|
1445
|
+
ARROW_RIGHT_BOTTOM: "mdi:arrow-right-bottom",
|
|
1445
1446
|
ARROW_RIGHT_THIN: "mdi:arrow-right-thin",
|
|
1446
1447
|
ARROW_TOP_RIGHT_THICK: "mdi:arrow-top-right-thick",
|
|
1447
1448
|
ATTACH_FILE: "mdi:attach-file",
|
|
@@ -1460,6 +1461,7 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1460
1461
|
CHECKBOX_MARKED: "mdi:checkbox-marked",
|
|
1461
1462
|
CHEVRON_DOUBLE_LEFT: "mdi:chevron-double-left",
|
|
1462
1463
|
CHEVRON_DOUBLE_RIGHT: "mdi:chevron-double-right",
|
|
1464
|
+
CIRCLE: "mdi:circle",
|
|
1463
1465
|
CLOSE_CIRCLE_OUTLINE: "mdi:close-circle-outline",
|
|
1464
1466
|
CONTENT_SAVE_OUTLINE: "mdi:content-save-outline",
|
|
1465
1467
|
DOTS_VERTICAL: "mdi:dots-vertical",
|
|
@@ -1508,7 +1510,8 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1508
1510
|
WARNING_OUTLINE: "mdi:warning-outline"
|
|
1509
1511
|
}, Kf = {
|
|
1510
1512
|
DICE_1_LINE: "ri:dice-1-line",
|
|
1511
|
-
DICE_4_LINE: "ri:dice-4-line"
|
|
1513
|
+
DICE_4_LINE: "ri:dice-4-line",
|
|
1514
|
+
LOADER_LINE: "ri:loader-line"
|
|
1512
1515
|
}, Gf = {
|
|
1513
1516
|
AMS_SAE: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yNSAxNy41SDExLjM3NVYxOS4yNUg1LjI1QzQuMjc4NzUgMTkuMjUgMy41IDE4LjQ3MTMgMy41IDE3LjVWMy41QzMuNSAzLjAzNTg3IDMuNjg0MzcgMi41OTA3NSA0LjAxMjU2IDIuMjYyNTZDNC4zNDA3NSAxLjkzNDM3IDQuNzg1ODcgMS43NSA1LjI1IDEuNzVIMTUuNzVDMTYuMjE0MSAxLjc1IDE2LjY1OTIgMS45MzQzNyAxNi45ODc0IDIuMjYyNTZDMTcuMzE1NiAyLjU5MDc1IDE3LjUgMy4wMzU4NyAxNy41IDMuNVYxMC45NzI1TDE2LjE4NzUgMTAuMjU1TDE1Ljc1IDEwLjVWMy41SDExLjM3NVYxMC41TDkuMTg3NSA4LjUzMTI1TDcgMTAuNVYzLjVINS4yNVYxNy41Wk0yMSAxNC44NzVMMTYuMTg3NSAxMi4yNUwxMS4zNzUgMTQuODc1TDE2LjE4NzUgMTcuNUwyMSAxNC44NzVaTTEzLjEyNSAxNi43MDM4VjE4LjQ1MzhMMTYuMTg3NSAyMC4xMjVMMTkuMjUgMTguNDUzOFYxNi43MDM4TDE2LjE4NzUgMTguMzc1TDEzLjEyNSAxNi43MDM4WiIgZmlsbD0iY3VycmVudENvbG9yIiAvPgo8L3N2Zz4K",
|
|
1514
1517
|
CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
@@ -1560,7 +1563,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }
|
|
|
1560
1563
|
return A(), g("button", {
|
|
1561
1564
|
ref_key: "btn",
|
|
1562
1565
|
ref: n,
|
|
1563
|
-
class:
|
|
1566
|
+
class: H(["av-button fr-btn inline-flex", [
|
|
1564
1567
|
{
|
|
1565
1568
|
"fr-btn--tertiary": e.variant !== "DEFAULT",
|
|
1566
1569
|
"fr-btn--tertiary-no-outline": e.variant === "DEFAULT",
|
|
@@ -1579,7 +1582,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }
|
|
|
1579
1582
|
"aria-disabled": d(v),
|
|
1580
1583
|
"aria-label": d(c),
|
|
1581
1584
|
style: fe(e.iconOnly ? { "padding-inline": "0.5rem" } : {}),
|
|
1582
|
-
onClick: b[0] || (b[0] = (
|
|
1585
|
+
onClick: b[0] || (b[0] = (x) => e.onClick ? e.onClick(x) : () => {
|
|
1583
1586
|
})
|
|
1584
1587
|
}, [
|
|
1585
1588
|
d(u) ? (A(), R(C, Ue(te({ key: 0 }, d(u))), null, 16)) : w("", !0),
|
|
@@ -1587,7 +1590,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }
|
|
|
1587
1590
|
], 14, Mr);
|
|
1588
1591
|
};
|
|
1589
1592
|
}
|
|
1590
|
-
}), me = /* @__PURE__ */ Y(Nr, [["__scopeId", "data-v-ed18b35d"]]), kr = ["id", "role"], wr = { class: "av-alert--container" }, Or = { class: "av-alert--content" },
|
|
1593
|
+
}), me = /* @__PURE__ */ Y(Nr, [["__scopeId", "data-v-ed18b35d"]]), kr = ["id", "role"], wr = { class: "av-alert--container" }, Or = { class: "av-alert--content" }, Lr = { class: "av-alert--title" }, xr = { class: "b1-regular" }, Dr = /* @__PURE__ */ j({
|
|
1591
1594
|
__name: "AvAlert",
|
|
1592
1595
|
props: {
|
|
1593
1596
|
alert: { type: Boolean, default: !1 },
|
|
@@ -1626,13 +1629,13 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }
|
|
|
1626
1629
|
return (l, o) => e.closed ? w("", !0) : (A(), g("div", {
|
|
1627
1630
|
key: 0,
|
|
1628
1631
|
id: e.id,
|
|
1629
|
-
class:
|
|
1632
|
+
class: H(["fr-alert", d(i)]),
|
|
1630
1633
|
role: e.alert ? "alert" : void 0
|
|
1631
1634
|
}, [
|
|
1632
1635
|
p("div", wr, [
|
|
1633
1636
|
p("div", Or, [
|
|
1634
1637
|
X(se, te(d(r), { size: 3 }), null, 16),
|
|
1635
|
-
p("div",
|
|
1638
|
+
p("div", Lr, [
|
|
1636
1639
|
e.small ? w("", !0) : (A(), R(Ce(e.titleTag), {
|
|
1637
1640
|
key: 0,
|
|
1638
1641
|
class: "fr-alert__title"
|
|
@@ -1642,8 +1645,8 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }
|
|
|
1642
1645
|
]),
|
|
1643
1646
|
_: 1
|
|
1644
1647
|
})),
|
|
1645
|
-
|
|
1646
|
-
p("span",
|
|
1648
|
+
F(l.$slots, "default", {}, () => [
|
|
1649
|
+
p("span", xr, z(e.description), 1)
|
|
1647
1650
|
], !0)
|
|
1648
1651
|
])
|
|
1649
1652
|
]),
|
|
@@ -1766,7 +1769,7 @@ function Ur(e, t) {
|
|
|
1766
1769
|
], -1)
|
|
1767
1770
|
])]);
|
|
1768
1771
|
}
|
|
1769
|
-
const
|
|
1772
|
+
const Hr = /* @__PURE__ */ Y(Wr, [["render", Ur]]);
|
|
1770
1773
|
function an() {
|
|
1771
1774
|
const e = q(), t = q(!1), n = q(!1), a = () => {
|
|
1772
1775
|
if (!e.value)
|
|
@@ -1793,7 +1796,7 @@ function an() {
|
|
|
1793
1796
|
}
|
|
1794
1797
|
};
|
|
1795
1798
|
}
|
|
1796
|
-
const
|
|
1799
|
+
const Fr = {
|
|
1797
1800
|
role: "navigation",
|
|
1798
1801
|
class: "fr-translate fr-nav"
|
|
1799
1802
|
}, qr = { class: "fr-nav__item" }, Rr = ["aria-controls", "aria-expanded", "title"], Xr = { class: "fr-hidden-lg" }, Zr = ["id"], Yr = { class: "fr-menu__list" }, Kr = ["hreflang", "lang", "aria-current", "href", "onClick"], Tn = /* @__PURE__ */ j({
|
|
@@ -1823,7 +1826,7 @@ const Hr = {
|
|
|
1823
1826
|
v !== y && l(v);
|
|
1824
1827
|
}), (v, y) => {
|
|
1825
1828
|
var m, f;
|
|
1826
|
-
return A(), g("nav",
|
|
1829
|
+
return A(), g("nav", Fr, [
|
|
1827
1830
|
p("div", qr, [
|
|
1828
1831
|
p("button", {
|
|
1829
1832
|
class: "fr-translate__btn fr-btn fr-btn--tertiary",
|
|
@@ -1840,7 +1843,7 @@ const Hr = {
|
|
|
1840
1843
|
id: e.id,
|
|
1841
1844
|
ref_key: "collapse",
|
|
1842
1845
|
ref: a,
|
|
1843
|
-
class:
|
|
1846
|
+
class: H(["fr-collapse fr-translate__menu fr-menu", { "fr-collapse--expanded": d(r), "fr-collapsing": d(i) }]),
|
|
1844
1847
|
onTransitionend: y[1] || (y[1] = (b) => d(o)(d(s)))
|
|
1845
1848
|
}, [
|
|
1846
1849
|
p("ul", Yr, [
|
|
@@ -1851,7 +1854,7 @@ const Hr = {
|
|
|
1851
1854
|
lang: b.codeIso,
|
|
1852
1855
|
"aria-current": e.currentLanguage === b.codeIso ? !0 : void 0,
|
|
1853
1856
|
href: `#${b.codeIso}`,
|
|
1854
|
-
onClick: de((
|
|
1857
|
+
onClick: de((x) => u(b), ["prevent", "stop"])
|
|
1855
1858
|
}, z(`${b.codeIso.toUpperCase()} - ${b.label}`), 9, Kr)
|
|
1856
1859
|
]))), 128))
|
|
1857
1860
|
])
|
|
@@ -2294,12 +2297,12 @@ const Cl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Ml = {
|
|
|
2294
2297
|
/^n/i,
|
|
2295
2298
|
/^d/i
|
|
2296
2299
|
]
|
|
2297
|
-
},
|
|
2300
|
+
}, Ll = {
|
|
2298
2301
|
narrow: /^[smtwf]/i,
|
|
2299
2302
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
2300
2303
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
2301
2304
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
2302
|
-
},
|
|
2305
|
+
}, xl = {
|
|
2303
2306
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
2304
2307
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
2305
2308
|
}, Dl = {
|
|
@@ -2342,9 +2345,9 @@ const Cl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Ml = {
|
|
|
2342
2345
|
defaultParseWidth: "any"
|
|
2343
2346
|
}),
|
|
2344
2347
|
day: Ze({
|
|
2345
|
-
matchPatterns:
|
|
2348
|
+
matchPatterns: Ll,
|
|
2346
2349
|
defaultMatchWidth: "wide",
|
|
2347
|
-
parsePatterns:
|
|
2350
|
+
parsePatterns: xl,
|
|
2348
2351
|
defaultParseWidth: "any"
|
|
2349
2352
|
}),
|
|
2350
2353
|
dayPeriod: Ze({
|
|
@@ -2931,7 +2934,7 @@ const Ee = {
|
|
|
2931
2934
|
switch (t) {
|
|
2932
2935
|
// Hours and optional minutes
|
|
2933
2936
|
case "X":
|
|
2934
|
-
return
|
|
2937
|
+
return xn(a);
|
|
2935
2938
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
2936
2939
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2937
2940
|
// so this token always has the same output as `XX`
|
|
@@ -2954,7 +2957,7 @@ const Ee = {
|
|
|
2954
2957
|
switch (t) {
|
|
2955
2958
|
// Hours and optional minutes
|
|
2956
2959
|
case "x":
|
|
2957
|
-
return
|
|
2960
|
+
return xn(a);
|
|
2958
2961
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
2959
2962
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2960
2963
|
// so this token always has the same output as `xx`
|
|
@@ -2979,7 +2982,7 @@ const Ee = {
|
|
|
2979
2982
|
case "O":
|
|
2980
2983
|
case "OO":
|
|
2981
2984
|
case "OOO":
|
|
2982
|
-
return "GMT" +
|
|
2985
|
+
return "GMT" + Ln(a, ":");
|
|
2983
2986
|
// Long
|
|
2984
2987
|
case "OOOO":
|
|
2985
2988
|
default:
|
|
@@ -2994,7 +2997,7 @@ const Ee = {
|
|
|
2994
2997
|
case "z":
|
|
2995
2998
|
case "zz":
|
|
2996
2999
|
case "zzz":
|
|
2997
|
-
return "GMT" +
|
|
3000
|
+
return "GMT" + Ln(a, ":");
|
|
2998
3001
|
// Long
|
|
2999
3002
|
case "zzzz":
|
|
3000
3003
|
default:
|
|
@@ -3011,11 +3014,11 @@ const Ee = {
|
|
|
3011
3014
|
return ee(+e, t.length);
|
|
3012
3015
|
}
|
|
3013
3016
|
};
|
|
3014
|
-
function
|
|
3017
|
+
function Ln(e, t = "") {
|
|
3015
3018
|
const n = e > 0 ? "-" : "+", a = Math.abs(e), i = Math.trunc(a / 60), r = a % 60;
|
|
3016
3019
|
return r === 0 ? n + String(i) : n + String(i) + t + ee(r, 2);
|
|
3017
3020
|
}
|
|
3018
|
-
function
|
|
3021
|
+
function xn(e, t) {
|
|
3019
3022
|
return e % 60 === 0 ? (e > 0 ? "-" : "+") + ee(Math.abs(e) / 60, 2) : ke(e, t);
|
|
3020
3023
|
}
|
|
3021
3024
|
function ke(e, t = "") {
|
|
@@ -3070,12 +3073,12 @@ const Dn = (e, t) => {
|
|
|
3070
3073
|
}, Ul = {
|
|
3071
3074
|
p: ha,
|
|
3072
3075
|
P: Vl
|
|
3073
|
-
},
|
|
3076
|
+
}, Hl = /^D+$/, Fl = /^Y+$/, ql = ["D", "DD", "YY", "YYYY"];
|
|
3074
3077
|
function Rl(e) {
|
|
3075
|
-
return
|
|
3078
|
+
return Hl.test(e);
|
|
3076
3079
|
}
|
|
3077
3080
|
function Xl(e) {
|
|
3078
|
-
return
|
|
3081
|
+
return Fl.test(e);
|
|
3079
3082
|
}
|
|
3080
3083
|
function Zl(e, t, n) {
|
|
3081
3084
|
const a = Yl(e, t, n);
|
|
@@ -3196,7 +3199,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3196
3199
|
return t({
|
|
3197
3200
|
focus: v
|
|
3198
3201
|
}), (f, b) => (A(), g("div", {
|
|
3199
|
-
class:
|
|
3202
|
+
class: H(["av-input", {
|
|
3200
3203
|
"av-input--date": e.type === "date",
|
|
3201
3204
|
"av-input--no-radius": e.noRadius
|
|
3202
3205
|
}])
|
|
@@ -3209,21 +3212,21 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3209
3212
|
}, null, 8, ["name"])
|
|
3210
3213
|
])) : w("", !0),
|
|
3211
3214
|
p("label", {
|
|
3212
|
-
class:
|
|
3215
|
+
class: H(d(m)),
|
|
3213
3216
|
for: e.id
|
|
3214
3217
|
}, [
|
|
3215
3218
|
p("span", {
|
|
3216
|
-
class:
|
|
3219
|
+
class: H(e.labelClass)
|
|
3217
3220
|
}, [
|
|
3218
3221
|
le(z(e.label) + " ", 1),
|
|
3219
|
-
|
|
3222
|
+
F(f.$slots, "requiredTip", {}, () => [
|
|
3220
3223
|
e.required === !0 ? (A(), g("span", ro, " * ")) : w("", !0)
|
|
3221
3224
|
], !0),
|
|
3222
3225
|
e.hint ? (A(), g("span", lo, z(e.hint), 1)) : w("", !0)
|
|
3223
3226
|
], 2)
|
|
3224
3227
|
], 10, io),
|
|
3225
3228
|
p("div", {
|
|
3226
|
-
class:
|
|
3229
|
+
class: H(["av-input__wrapper", [
|
|
3227
3230
|
{ "fr-input-wrap": e.type === "date" }
|
|
3228
3231
|
]])
|
|
3229
3232
|
}, [
|
|
@@ -3249,7 +3252,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3249
3252
|
onInput: b[0] || (b[0] = (C) => a("update:modelValue", C.target.value))
|
|
3250
3253
|
}), null, 16, ["id", "placeholder", "type", "disabled", "maxlength", "minlength", "required", "max", "min", "class", "value", "aria-describedby"]))
|
|
3251
3254
|
], 2),
|
|
3252
|
-
|
|
3255
|
+
F(f.$slots, "customCaptions", {
|
|
3253
3256
|
currentValue: e.modelValue,
|
|
3254
3257
|
maxlength: e.maxlength
|
|
3255
3258
|
}, () => {
|
|
@@ -3260,14 +3263,14 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3260
3263
|
}, !0)
|
|
3261
3264
|
]),
|
|
3262
3265
|
d(i).length > 0 ? (A(), g("div", so, [
|
|
3263
|
-
(A(!0), g(J, null, ae(d(i), (C,
|
|
3264
|
-
key:
|
|
3266
|
+
(A(!0), g(J, null, ae(d(i), (C, x) => (A(), g("div", {
|
|
3267
|
+
key: x,
|
|
3265
3268
|
class: "av-input__error-message"
|
|
3266
3269
|
}, z(C), 1))), 128))
|
|
3267
3270
|
])) : w("", !0),
|
|
3268
3271
|
d(r).length > 0 ? (A(), g("div", co, [
|
|
3269
|
-
(A(!0), g(J, null, ae(d(r), (C,
|
|
3270
|
-
key:
|
|
3272
|
+
(A(!0), g(J, null, ae(d(r), (C, x) => (A(), g("div", {
|
|
3273
|
+
key: x,
|
|
3271
3274
|
class: "av-input__valid-message"
|
|
3272
3275
|
}, z(C), 1))), 128))
|
|
3273
3276
|
])) : w("", !0)
|
|
@@ -3328,7 +3331,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3328
3331
|
}, Mo = { class: "fr-header__service-title" }, To = { class: "fr-header__tools" }, No = { class: "fr-header__tools-links" }, ko = {
|
|
3329
3332
|
key: 0,
|
|
3330
3333
|
class: "fr-header__search fr-modal demo-display-none"
|
|
3331
|
-
}, wo = ["aria-label"], Oo = { class: "fr-container" },
|
|
3334
|
+
}, wo = ["aria-label"], Oo = { class: "fr-container" }, Lo = { class: "fr-header__menu-links" }, xo = {
|
|
3332
3335
|
key: 1,
|
|
3333
3336
|
class: "flex justify-center items-center demo-display-none"
|
|
3334
3337
|
}, Do = { class: "fr-header__menu fr-modal" }, Qo = {
|
|
@@ -3382,7 +3385,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3382
3385
|
const y = s, m = E(() => [e.homeLabel, e.serviceTitle].filter((b) => b).join(" - ")), f = E(() => !!a.mainnav);
|
|
3383
3386
|
return Et(Br, () => s), (b, C) => {
|
|
3384
3387
|
var D, k;
|
|
3385
|
-
const
|
|
3388
|
+
const x = Mt("RouterLink");
|
|
3386
3389
|
return A(), g("header", fo, [
|
|
3387
3390
|
p("div", vo, [
|
|
3388
3391
|
p("div", mo, [
|
|
@@ -3390,12 +3393,12 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3390
3393
|
p("div", ho, [
|
|
3391
3394
|
p("div", bo, [
|
|
3392
3395
|
p("div", Io, [
|
|
3393
|
-
X(
|
|
3396
|
+
X(x, {
|
|
3394
3397
|
to: e.homeTo,
|
|
3395
3398
|
title: d(m)
|
|
3396
3399
|
}, {
|
|
3397
3400
|
default: G(() => [
|
|
3398
|
-
X(
|
|
3401
|
+
X(Hr, { "data-testid": "header-logo" })
|
|
3399
3402
|
]),
|
|
3400
3403
|
_: 1
|
|
3401
3404
|
}, 8, ["to", "title"])
|
|
@@ -3426,18 +3429,18 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3426
3429
|
]),
|
|
3427
3430
|
e.serviceTitle ? (A(), g("div", Eo, [
|
|
3428
3431
|
p("p", Mo, z(e.serviceTitle), 1),
|
|
3429
|
-
|
|
3432
|
+
F(b.$slots, "serviceDescription", {}, void 0, !0)
|
|
3430
3433
|
])) : w("", !0)
|
|
3431
3434
|
]),
|
|
3432
3435
|
p("div", To, [
|
|
3433
3436
|
p("div", No, [
|
|
3434
|
-
|
|
3437
|
+
F(b.$slots, "before-quick-links", {}, void 0, !0),
|
|
3435
3438
|
d(r) ? w("", !0) : (A(), R(Mn, {
|
|
3436
3439
|
key: 0,
|
|
3437
3440
|
links: e.quickLinks,
|
|
3438
3441
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
3439
3442
|
}, null, 8, ["links", "nav-aria-label"])),
|
|
3440
|
-
|
|
3443
|
+
F(b.$slots, "after-quick-links", {}, void 0, !0),
|
|
3441
3444
|
d(i) ? (A(), R(Tn, te({ key: 1 }, d(i), {
|
|
3442
3445
|
onSelect: C[2] || (C[2] = (N) => n("languageSelect", N))
|
|
3443
3446
|
}), null, 16)) : w("", !0)
|
|
@@ -3458,7 +3461,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3458
3461
|
e.showSearch || d(f) || e.quickLinks && e.quickLinks.length || d(i) ? (A(), g("div", {
|
|
3459
3462
|
key: 0,
|
|
3460
3463
|
id: "header-navigation",
|
|
3461
|
-
class:
|
|
3464
|
+
class: H(["fr-header__menu fr-modal", { "fr-modal--opened": d(o) }]),
|
|
3462
3465
|
"aria-label": e.menuModalLabel,
|
|
3463
3466
|
role: "dialog",
|
|
3464
3467
|
"aria-modal": "true"
|
|
@@ -3471,11 +3474,11 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3471
3474
|
"data-testid": "close-modal-btn",
|
|
3472
3475
|
onClick: C[5] || (C[5] = de((N) => s(), ["prevent", "stop"]))
|
|
3473
3476
|
}, z(e.closeMenuModalLabel), 1),
|
|
3474
|
-
p("div",
|
|
3477
|
+
p("div", Lo, [
|
|
3475
3478
|
d(i) ? (A(), R(Tn, te({ key: 0 }, d(i), {
|
|
3476
3479
|
onSelect: C[6] || (C[6] = (N) => d(i).currentLanguage = N.codeIso)
|
|
3477
3480
|
}), null, 16)) : w("", !0),
|
|
3478
|
-
|
|
3481
|
+
F(b.$slots, "before-quick-links", {}, void 0, !0),
|
|
3479
3482
|
d(r) ? (A(), R(Mn, {
|
|
3480
3483
|
key: 1,
|
|
3481
3484
|
role: "navigation",
|
|
@@ -3483,13 +3486,13 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3483
3486
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
3484
3487
|
onLinkClick: d(y)
|
|
3485
3488
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : w("", !0),
|
|
3486
|
-
|
|
3489
|
+
F(b.$slots, "after-quick-links", {}, void 0, !0)
|
|
3487
3490
|
]),
|
|
3488
|
-
d(o) ?
|
|
3491
|
+
d(o) ? F(b.$slots, "mainnav", {
|
|
3489
3492
|
key: 0,
|
|
3490
3493
|
hidemodal: s
|
|
3491
3494
|
}, void 0, !0) : w("", !0),
|
|
3492
|
-
d(l) ? (A(), g("div",
|
|
3495
|
+
d(l) ? (A(), g("div", xo, [
|
|
3493
3496
|
X(Qn, {
|
|
3494
3497
|
"searchbar-id": e.searchbarId,
|
|
3495
3498
|
"model-value": e.modelValue,
|
|
@@ -3500,12 +3503,12 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3500
3503
|
])) : w("", !0)
|
|
3501
3504
|
])
|
|
3502
3505
|
], 10, wo)) : w("", !0),
|
|
3503
|
-
|
|
3506
|
+
F(b.$slots, "default", {}, void 0, !0)
|
|
3504
3507
|
])
|
|
3505
3508
|
]),
|
|
3506
3509
|
p("div", Do, [
|
|
3507
3510
|
d(f) && !d(o) ? (A(), g("div", Qo, [
|
|
3508
|
-
|
|
3511
|
+
F(b.$slots, "mainnav", { hidemodal: s }, void 0, !0)
|
|
3509
3512
|
])) : w("", !0)
|
|
3510
3513
|
])
|
|
3511
3514
|
]);
|
|
@@ -3573,12 +3576,12 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3573
3576
|
t.value = !1, r && ((o = (l = e.value) == null ? void 0 : l.querySelector("a")) == null || o.focus()), e.value && i === !1 && e.value.style.removeProperty("--collapse-max-height");
|
|
3574
3577
|
}
|
|
3575
3578
|
};
|
|
3576
|
-
}, Ie = (e = "", t = "") => (e ? `${e}-` : "") + Xa() + (t ? `-${t}` : ""),
|
|
3579
|
+
}, Ie = (e = "", t = "") => (e ? `${e}-` : "") + Xa() + (t ? `-${t}` : ""), Fe = (e, t) => {
|
|
3577
3580
|
const n = e.__vccOpts || e;
|
|
3578
3581
|
for (const [a, i] of t)
|
|
3579
3582
|
n[a] = i;
|
|
3580
3583
|
return n;
|
|
3581
|
-
}, Uo = ["aria-label"],
|
|
3584
|
+
}, Uo = ["aria-label"], Ho = ["aria-expanded", "aria-controls"], Fo = ["id"], qo = { class: "fr-breadcrumb__list" }, Ro = ["aria-current"], Xo = /* @__PURE__ */ j({
|
|
3582
3585
|
__name: "DsfrBreadcrumb",
|
|
3583
3586
|
props: {
|
|
3584
3587
|
breadcrumbId: { default: () => Ie("breadcrumb") },
|
|
@@ -3609,12 +3612,12 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3609
3612
|
"aria-expanded": l.value,
|
|
3610
3613
|
"aria-controls": o.breadcrumbId,
|
|
3611
3614
|
onClick: s[0] || (s[0] = (c) => l.value = !l.value)
|
|
3612
|
-
}, z(o.showBreadcrumbLabel), 9,
|
|
3615
|
+
}, z(o.showBreadcrumbLabel), 9, Ho)),
|
|
3613
3616
|
p("div", {
|
|
3614
3617
|
id: o.breadcrumbId,
|
|
3615
3618
|
ref_key: "collapse",
|
|
3616
3619
|
ref: t,
|
|
3617
|
-
class:
|
|
3620
|
+
class: H(["fr-collapse", {
|
|
3618
3621
|
"fr-collapse--expanded": d(a),
|
|
3619
3622
|
// Need to use a separate data to add/remove the class after a RAF
|
|
3620
3623
|
"fr-collapsing": d(n)
|
|
@@ -3645,7 +3648,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3645
3648
|
}, z(c.text), 9, Ro))
|
|
3646
3649
|
]))), 128))
|
|
3647
3650
|
])
|
|
3648
|
-
], 42,
|
|
3651
|
+
], 42, Fo)
|
|
3649
3652
|
], 8, Uo);
|
|
3650
3653
|
};
|
|
3651
3654
|
}
|
|
@@ -3691,7 +3694,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3691
3694
|
icon: l.value,
|
|
3692
3695
|
style: fe({ fontSize: a.value, verticalAlign: s.verticalAlign, display: s.display, color: o.value }),
|
|
3693
3696
|
"aria-label": s.label,
|
|
3694
|
-
class:
|
|
3697
|
+
class: H(["vicon", {
|
|
3695
3698
|
"vicon-spin": t.animation === "spin",
|
|
3696
3699
|
"vicon-wrench": t.animation === "wrench",
|
|
3697
3700
|
"vicon-pulse": t.animation === "pulse",
|
|
@@ -3707,7 +3710,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3707
3710
|
ssr: s.ssr
|
|
3708
3711
|
}, null, 8, ["icon", "style", "aria-label", "class", "flip", "ssr"]));
|
|
3709
3712
|
}
|
|
3710
|
-
}), Ot = /* @__PURE__ */
|
|
3713
|
+
}), Ot = /* @__PURE__ */ Fe(Zo, [["__scopeId", "data-v-6e09e524"]]), Yo = ["title", "disabled", "aria-disabled"], Ko = { key: 1 }, Go = /* @__PURE__ */ j({
|
|
3711
3714
|
__name: "DsfrButton",
|
|
3712
3715
|
props: {
|
|
3713
3716
|
disabled: { type: Boolean },
|
|
@@ -3734,7 +3737,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3734
3737
|
return (c, v) => (A(), g("button", {
|
|
3735
3738
|
ref_key: "btn",
|
|
3736
3739
|
ref: l,
|
|
3737
|
-
class:
|
|
3740
|
+
class: H(["fr-btn", {
|
|
3738
3741
|
"fr-btn--secondary": c.secondary && !c.tertiary,
|
|
3739
3742
|
"fr-btn--tertiary": c.tertiary && !c.secondary && !c.noOutline,
|
|
3740
3743
|
"fr-btn--tertiary-no-outline": c.tertiary && !c.secondary && c.noOutline,
|
|
@@ -3758,11 +3761,11 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3758
3761
|
c.icon && !o.value ? (A(), R(Ot, Ue(te({ key: 0 }, u.value)), null, 16)) : w("", !0),
|
|
3759
3762
|
c.iconOnly ? w("", !0) : (A(), g("span", Ko, [
|
|
3760
3763
|
le(z(c.label) + " ", 1),
|
|
3761
|
-
|
|
3764
|
+
F(c.$slots, "default", {}, void 0, !0)
|
|
3762
3765
|
]))
|
|
3763
3766
|
], 14, Yo));
|
|
3764
3767
|
}
|
|
3765
|
-
}), Jo = /* @__PURE__ */
|
|
3768
|
+
}), Jo = /* @__PURE__ */ Fe(Go, [["__scopeId", "data-v-118397f5"]]), $o = /* @__PURE__ */ j({
|
|
3766
3769
|
__name: "DsfrButtonGroup",
|
|
3767
3770
|
props: {
|
|
3768
3771
|
buttons: { default: () => [] },
|
|
@@ -3777,10 +3780,10 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3777
3780
|
const t = e, n = q(null), a = E(() => ["sm", "small"].includes(t.size)), i = E(() => ["md", "medium"].includes(t.size)), r = E(() => ["lg", "large"].includes(t.size)), l = E(() => ["always", "", !0].includes(t.inlineLayoutWhen)), o = E(() => ["sm", "small"].includes(t.inlineLayoutWhen)), s = E(() => ["md", "medium"].includes(t.inlineLayoutWhen)), u = E(() => ["lg", "large"].includes(t.inlineLayoutWhen)), c = E(() => t.align === "center"), v = E(() => t.align === "right"), y = q("auto"), m = E(() => `--equisized-width: ${y.value};`), f = async () => {
|
|
3778
3781
|
var b;
|
|
3779
3782
|
let C = 0;
|
|
3780
|
-
await new Promise((
|
|
3781
|
-
const D =
|
|
3783
|
+
await new Promise((x) => setTimeout(x, 100)), (b = n.value) == null || b.querySelectorAll(".fr-btn").forEach((x) => {
|
|
3784
|
+
const D = x, k = D.offsetWidth, N = window.getComputedStyle(D), S = +N.marginLeft.replace("px", ""), L = +N.marginRight.replace("px", "");
|
|
3782
3785
|
D.style.width = "var(--equisized-width)";
|
|
3783
|
-
const W = k + S +
|
|
3786
|
+
const W = k + S + L;
|
|
3784
3787
|
W > C && (C = W);
|
|
3785
3788
|
}), y.value = `${C}px`;
|
|
3786
3789
|
};
|
|
@@ -3790,7 +3793,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3790
3793
|
ref_key: "buttonsEl",
|
|
3791
3794
|
ref: n,
|
|
3792
3795
|
style: fe(m.value),
|
|
3793
|
-
class:
|
|
3796
|
+
class: H(["fr-btns-group", {
|
|
3794
3797
|
"fr-btns-group--equisized": b.equisized,
|
|
3795
3798
|
"fr-btns-group--sm": a.value,
|
|
3796
3799
|
"fr-btns-group--md": i.value,
|
|
@@ -3805,10 +3808,10 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3805
3808
|
}]),
|
|
3806
3809
|
"data-testid": "fr-btns"
|
|
3807
3810
|
}, [
|
|
3808
|
-
(A(!0), g(J, null, ae(b.buttons, ({ onClick:
|
|
3809
|
-
X(Jo, te({ ref_for: !0 }, D, { onClick:
|
|
3811
|
+
(A(!0), g(J, null, ae(b.buttons, ({ onClick: x, ...D }, k) => (A(), g("li", { key: k }, [
|
|
3812
|
+
X(Jo, te({ ref_for: !0 }, D, { onClick: x }), null, 16, ["onClick"])
|
|
3810
3813
|
]))), 128)),
|
|
3811
|
-
|
|
3814
|
+
F(b.$slots, "default")
|
|
3812
3815
|
], 6));
|
|
3813
3816
|
}
|
|
3814
3817
|
});
|
|
@@ -3816,7 +3819,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3816
3819
|
* tabbable 6.2.0
|
|
3817
3820
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
3818
3821
|
*/
|
|
3819
|
-
var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], ft = /* @__PURE__ */ ba.join(","), Ia = typeof Element > "u",
|
|
3822
|
+
var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], ft = /* @__PURE__ */ ba.join(","), Ia = typeof Element > "u", Le = Ia ? function() {
|
|
3820
3823
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, vt = !Ia && Element.prototype.getRootNode ? function(e) {
|
|
3821
3824
|
var t;
|
|
3822
3825
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -3834,7 +3837,7 @@ var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3834
3837
|
if (mt(e))
|
|
3835
3838
|
return [];
|
|
3836
3839
|
var a = Array.prototype.slice.apply(e.querySelectorAll(ft));
|
|
3837
|
-
return t &&
|
|
3840
|
+
return t && Le.call(e, ft) && a.unshift(e), a = a.filter(n), a;
|
|
3838
3841
|
}, pa = function e(t, n, a) {
|
|
3839
3842
|
for (var i = [], r = Array.from(t); r.length; ) {
|
|
3840
3843
|
var l = r.shift();
|
|
@@ -3846,7 +3849,7 @@ var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3846
3849
|
candidates: u
|
|
3847
3850
|
});
|
|
3848
3851
|
} else {
|
|
3849
|
-
var c =
|
|
3852
|
+
var c = Le.call(l, ft);
|
|
3850
3853
|
c && a.filter(l) && (n || !t.includes(l)) && i.push(l);
|
|
3851
3854
|
var v = l.shadowRoot || // check for an undisclosed shadow
|
|
3852
3855
|
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), y = !mt(v, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
@@ -3922,8 +3925,8 @@ var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3922
3925
|
var n = t.displayCheck, a = t.getShadowRoot;
|
|
3923
3926
|
if (getComputedStyle(e).visibility === "hidden")
|
|
3924
3927
|
return !0;
|
|
3925
|
-
var i =
|
|
3926
|
-
if (
|
|
3928
|
+
var i = Le.call(e, "details>summary:first-of-type"), r = i ? e.parentElement : e;
|
|
3929
|
+
if (Le.call(r, "details:not([open]) *"))
|
|
3927
3930
|
return !0;
|
|
3928
3931
|
if (!n || n === "full" || n === "legacy-full") {
|
|
3929
3932
|
if (typeof a == "function") {
|
|
@@ -3949,7 +3952,7 @@ var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
3949
3952
|
for (var n = 0; n < t.children.length; n++) {
|
|
3950
3953
|
var a = t.children.item(n);
|
|
3951
3954
|
if (a.tagName === "LEGEND")
|
|
3952
|
-
return
|
|
3955
|
+
return Le.call(t, "fieldset[disabled] *") ? !0 : !a.contains(e);
|
|
3953
3956
|
}
|
|
3954
3957
|
return !0;
|
|
3955
3958
|
}
|
|
@@ -4001,11 +4004,11 @@ var ba = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4001
4004
|
}, ze = function(e, t) {
|
|
4002
4005
|
if (t = t || {}, !e)
|
|
4003
4006
|
throw new Error("No node provided");
|
|
4004
|
-
return
|
|
4007
|
+
return Le.call(e, ft) === !1 ? !1 : qt(t, e);
|
|
4005
4008
|
}, ms = /* @__PURE__ */ ba.concat("iframe").join(","), zt = function(e, t) {
|
|
4006
4009
|
if (t = t || {}, !e)
|
|
4007
4010
|
throw new Error("No node provided");
|
|
4008
|
-
return
|
|
4011
|
+
return Le.call(e, ms) === !1 ? !1 : gt(t, e);
|
|
4009
4012
|
};
|
|
4010
4013
|
/*!
|
|
4011
4014
|
* focus-trap 7.6.4
|
|
@@ -4324,7 +4327,7 @@ var jn = {
|
|
|
4324
4327
|
}
|
|
4325
4328
|
Ye(i.allowOutsideClick, h) || h.preventDefault();
|
|
4326
4329
|
}
|
|
4327
|
-
},
|
|
4330
|
+
}, x = function(h) {
|
|
4328
4331
|
var M = it(h), I = s(M, h) >= 0;
|
|
4329
4332
|
if (I || M instanceof Document)
|
|
4330
4333
|
I && (r.mostRecentlyFocusedNode = M);
|
|
@@ -4371,11 +4374,11 @@ var jn = {
|
|
|
4371
4374
|
}, S = function(h) {
|
|
4372
4375
|
var M = it(h);
|
|
4373
4376
|
s(M, h) >= 0 || Ye(i.clickOutsideDeactivates, h) || Ye(i.allowOutsideClick, h) || (h.preventDefault(), h.stopImmediatePropagation());
|
|
4374
|
-
},
|
|
4377
|
+
}, L = function() {
|
|
4375
4378
|
if (r.active)
|
|
4376
4379
|
return jn.activateTrap(a, l), r.delayInitialFocusTimer = i.delayInitialFocus ? Pn(function() {
|
|
4377
4380
|
m(c());
|
|
4378
|
-
}) : m(c()), n.addEventListener("focusin",
|
|
4381
|
+
}) : m(c()), n.addEventListener("focusin", x, !0), n.addEventListener("mousedown", C, {
|
|
4379
4382
|
capture: !0,
|
|
4380
4383
|
passive: !1
|
|
4381
4384
|
}), n.addEventListener("touchstart", C, {
|
|
@@ -4390,7 +4393,7 @@ var jn = {
|
|
|
4390
4393
|
}), n.addEventListener("keydown", N), l;
|
|
4391
4394
|
}, W = function() {
|
|
4392
4395
|
if (r.active)
|
|
4393
|
-
return n.removeEventListener("focusin",
|
|
4396
|
+
return n.removeEventListener("focusin", x, !0), n.removeEventListener("mousedown", C, !0), n.removeEventListener("touchstart", C, !0), n.removeEventListener("click", S, !0), n.removeEventListener("keydown", k, !0), n.removeEventListener("keydown", N), l;
|
|
4394
4397
|
}, K = function(h) {
|
|
4395
4398
|
var M = h.some(function(I) {
|
|
4396
4399
|
var T = Array.from(I.removedNodes);
|
|
@@ -4420,7 +4423,7 @@ var jn = {
|
|
|
4420
4423
|
var M = o(h, "onActivate"), I = o(h, "onPostActivate"), T = o(h, "checkCanFocusTrap");
|
|
4421
4424
|
T || v(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = n.activeElement, M == null || M();
|
|
4422
4425
|
var O = function() {
|
|
4423
|
-
T && v(),
|
|
4426
|
+
T && v(), L(), B(), I == null || I();
|
|
4424
4427
|
};
|
|
4425
4428
|
return T ? (T(r.containers.concat()).then(O, O), this) : (O(), this);
|
|
4426
4429
|
},
|
|
@@ -4469,7 +4472,7 @@ var jn = {
|
|
|
4469
4472
|
I == null || I(), W(), B(), T == null || T();
|
|
4470
4473
|
} else {
|
|
4471
4474
|
var O = o(M, "onUnpause"), V = o(M, "onPostUnpause");
|
|
4472
|
-
O == null || O(), v(),
|
|
4475
|
+
O == null || O(), v(), L(), B(), V == null || V();
|
|
4473
4476
|
}
|
|
4474
4477
|
return this;
|
|
4475
4478
|
}
|
|
@@ -4481,7 +4484,7 @@ var jn = {
|
|
|
4481
4484
|
* (c) 2023 Eduardo San Martin Morote
|
|
4482
4485
|
* @license MIT
|
|
4483
4486
|
*/
|
|
4484
|
-
const
|
|
4487
|
+
const Ls = {
|
|
4485
4488
|
escapeDeactivates: {
|
|
4486
4489
|
type: Boolean,
|
|
4487
4490
|
default: !0
|
|
@@ -4507,14 +4510,14 @@ const xs = {
|
|
|
4507
4510
|
preventScroll: Boolean,
|
|
4508
4511
|
setReturnFocus: [Object, String, Boolean, Function],
|
|
4509
4512
|
tabbableOptions: Object
|
|
4510
|
-
},
|
|
4513
|
+
}, xs = j({
|
|
4511
4514
|
props: Object.assign({
|
|
4512
4515
|
active: {
|
|
4513
4516
|
// TODO: could be options for activate but what about the options for deactivating?
|
|
4514
4517
|
type: Boolean,
|
|
4515
4518
|
default: !0
|
|
4516
4519
|
}
|
|
4517
|
-
},
|
|
4520
|
+
}, Ls),
|
|
4518
4521
|
emits: [
|
|
4519
4522
|
"update:active",
|
|
4520
4523
|
"activate",
|
|
@@ -4599,8 +4602,8 @@ const xs = {
|
|
|
4599
4602
|
ie(() => n.opened, (f) => {
|
|
4600
4603
|
var b, C;
|
|
4601
4604
|
f ? ((b = o.value) == null || b.showModal(), setTimeout(() => {
|
|
4602
|
-
var
|
|
4603
|
-
(
|
|
4605
|
+
var x;
|
|
4606
|
+
(x = l.value) == null || x.focus();
|
|
4604
4607
|
}, 100)) : (C = o.value) == null || C.close(), s(f);
|
|
4605
4608
|
});
|
|
4606
4609
|
function s(f) {
|
|
@@ -4624,9 +4627,9 @@ const xs = {
|
|
|
4624
4627
|
const y = E(() => typeof n.icon == "string" && n.icon.startsWith("fr-icon-")), m = E(
|
|
4625
4628
|
() => y.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale: Wn } : { scale: Wn, ...n.icon ?? {} }
|
|
4626
4629
|
);
|
|
4627
|
-
return (f, b) => f.opened ? (A(), R(d(
|
|
4630
|
+
return (f, b) => f.opened ? (A(), R(d(xs), { key: 0 }, {
|
|
4628
4631
|
default: G(() => {
|
|
4629
|
-
var C,
|
|
4632
|
+
var C, x;
|
|
4630
4633
|
return [
|
|
4631
4634
|
p("dialog", {
|
|
4632
4635
|
id: "fr-modal-1",
|
|
@@ -4635,13 +4638,13 @@ const xs = {
|
|
|
4635
4638
|
"aria-modal": "true",
|
|
4636
4639
|
"aria-labelledby": f.modalId,
|
|
4637
4640
|
role: r.value,
|
|
4638
|
-
class:
|
|
4641
|
+
class: H(["fr-modal", { "fr-modal--opened": f.opened }]),
|
|
4639
4642
|
open: f.opened
|
|
4640
4643
|
}, [
|
|
4641
4644
|
p("div", Qs, [
|
|
4642
4645
|
p("div", Ss, [
|
|
4643
4646
|
p("div", {
|
|
4644
|
-
class:
|
|
4647
|
+
class: H(["fr-col-12", {
|
|
4645
4648
|
"fr-col-md-8": f.size === "lg",
|
|
4646
4649
|
"fr-col-md-6": f.size === "md",
|
|
4647
4650
|
"fr-col-md-4": f.size === "sm"
|
|
@@ -4668,7 +4671,7 @@ const xs = {
|
|
|
4668
4671
|
}, [
|
|
4669
4672
|
y.value || m.value ? (A(), g("span", {
|
|
4670
4673
|
key: 0,
|
|
4671
|
-
class:
|
|
4674
|
+
class: H({
|
|
4672
4675
|
[String(f.icon)]: y.value
|
|
4673
4676
|
})
|
|
4674
4677
|
}, [
|
|
@@ -4676,11 +4679,11 @@ const xs = {
|
|
|
4676
4679
|
], 2)) : w("", !0),
|
|
4677
4680
|
le(" " + z(f.title), 1)
|
|
4678
4681
|
], 8, Ws),
|
|
4679
|
-
|
|
4682
|
+
F(f.$slots, "default", {}, void 0, !0)
|
|
4680
4683
|
]),
|
|
4681
4684
|
(C = f.actions) != null && C.length || f.$slots.footer ? (A(), g("div", Vs, [
|
|
4682
|
-
|
|
4683
|
-
(
|
|
4685
|
+
F(f.$slots, "footer", {}, void 0, !0),
|
|
4686
|
+
(x = f.actions) != null && x.length ? (A(), R($o, {
|
|
4684
4687
|
key: 0,
|
|
4685
4688
|
align: "right",
|
|
4686
4689
|
buttons: f.actions,
|
|
@@ -4698,7 +4701,7 @@ const xs = {
|
|
|
4698
4701
|
_: 3
|
|
4699
4702
|
})) : w("", !0);
|
|
4700
4703
|
}
|
|
4701
|
-
}),
|
|
4704
|
+
}), Hs = /* @__PURE__ */ Fe(Us, [["__scopeId", "data-v-70fe954b"]]), Fs = ["id", "aria-current"], qs = /* @__PURE__ */ j({
|
|
4702
4705
|
__name: "DsfrNavigationItem",
|
|
4703
4706
|
props: {
|
|
4704
4707
|
id: { default: () => Ie("nav", "item") },
|
|
@@ -4710,10 +4713,10 @@ const xs = {
|
|
|
4710
4713
|
class: "fr-nav__item",
|
|
4711
4714
|
"aria-current": t.active ? "page" : void 0
|
|
4712
4715
|
}, [
|
|
4713
|
-
|
|
4714
|
-
], 8,
|
|
4716
|
+
F(t.$slots, "default", {}, void 0, !0)
|
|
4717
|
+
], 8, Fs));
|
|
4715
4718
|
}
|
|
4716
|
-
}), Rs = /* @__PURE__ */
|
|
4719
|
+
}), Rs = /* @__PURE__ */ Fe(qs, [["__scopeId", "data-v-aa4076c4"]]), Xs = ["href"], Vn = 2, sn = /* @__PURE__ */ j({
|
|
4717
4720
|
__name: "DsfrNavigationMenuLink",
|
|
4718
4721
|
props: {
|
|
4719
4722
|
id: { default: () => Ie("menu-link") },
|
|
@@ -4727,7 +4730,7 @@ const xs = {
|
|
|
4727
4730
|
setup(e) {
|
|
4728
4731
|
const t = e, n = E(() => typeof t.to == "string" && t.to.startsWith("http")), a = E(() => t.icon && typeof t.icon == "string" && t.icon.startsWith("fr-icon-")), i = E(
|
|
4729
4732
|
() => a.value || !t.icon ? void 0 : typeof t.icon == "string" ? { scale: Vn, name: t.icon } : { scale: Vn, ...t.icon || {} }
|
|
4730
|
-
), r = Gt() ?
|
|
4733
|
+
), r = Gt() ? He(Vo) : void 0, l = (r == null ? void 0 : r()) ?? (() => {
|
|
4731
4734
|
});
|
|
4732
4735
|
return (o, s) => {
|
|
4733
4736
|
const u = Mt("RouterLink");
|
|
@@ -4741,7 +4744,7 @@ const xs = {
|
|
|
4741
4744
|
})
|
|
4742
4745
|
}, z(o.text), 9, Xs)) : (A(), R(u, {
|
|
4743
4746
|
key: 1,
|
|
4744
|
-
class:
|
|
4747
|
+
class: H(["fr-nav__link", {
|
|
4745
4748
|
[String(o.icon)]: a.value
|
|
4746
4749
|
}]),
|
|
4747
4750
|
"data-testid": "nav-router-link",
|
|
@@ -4825,7 +4828,7 @@ const xs = {
|
|
|
4825
4828
|
ref_key: "collapse",
|
|
4826
4829
|
ref: n,
|
|
4827
4830
|
"data-testid": "mega-menu-wrapper",
|
|
4828
|
-
class:
|
|
4831
|
+
class: H(["fr-collapse fr-mega-menu", {
|
|
4829
4832
|
"fr-collapse--expanded": d(i),
|
|
4830
4833
|
// Need to use a separate data to add/remove the class after a RAF
|
|
4831
4834
|
"fr-collapsing": d(a)
|
|
@@ -4845,7 +4848,7 @@ const xs = {
|
|
|
4845
4848
|
p("h4", ac, z(s.title), 1),
|
|
4846
4849
|
p("p", ic, [
|
|
4847
4850
|
le(z(s.description) + " ", 1),
|
|
4848
|
-
|
|
4851
|
+
F(s.$slots, "description", {}, void 0, !0)
|
|
4849
4852
|
]),
|
|
4850
4853
|
X(c, {
|
|
4851
4854
|
class: "fr-link fr-icon-arrow-right-line fr-link--icon-right fr-link--align-on-content",
|
|
@@ -4858,7 +4861,7 @@ const xs = {
|
|
|
4858
4861
|
}, 8, ["to"])
|
|
4859
4862
|
])
|
|
4860
4863
|
]),
|
|
4861
|
-
|
|
4864
|
+
F(s.$slots, "default", {}, void 0, !0),
|
|
4862
4865
|
(A(!0), g(J, null, ae(s.menus, (v, y) => (A(), R(Gs, te({
|
|
4863
4866
|
key: y,
|
|
4864
4867
|
ref_for: !0
|
|
@@ -4869,7 +4872,7 @@ const xs = {
|
|
|
4869
4872
|
], 64);
|
|
4870
4873
|
};
|
|
4871
4874
|
}
|
|
4872
|
-
}), lc = /* @__PURE__ */
|
|
4875
|
+
}), lc = /* @__PURE__ */ Fe(rc, [["__scopeId", "data-v-1e103394"]]), oc = ["id", "aria-current"], sc = /* @__PURE__ */ j({
|
|
4873
4876
|
__name: "DsfrNavigationMenuItem",
|
|
4874
4877
|
props: {
|
|
4875
4878
|
id: { default: () => Ie("menu", "item") },
|
|
@@ -4881,7 +4884,7 @@ const xs = {
|
|
|
4881
4884
|
class: "fr-menu__item",
|
|
4882
4885
|
"aria-current": t.active ? "page" : void 0
|
|
4883
4886
|
}, [
|
|
4884
|
-
|
|
4887
|
+
F(t.$slots, "default")
|
|
4885
4888
|
], 8, oc));
|
|
4886
4889
|
}
|
|
4887
4890
|
}), cc = ["aria-expanded", "aria-current", "aria-controls"], uc = ["id"], dc = { class: "fr-menu__list" }, Ac = /* @__PURE__ */ j({
|
|
@@ -4920,12 +4923,12 @@ const xs = {
|
|
|
4920
4923
|
id: s.id,
|
|
4921
4924
|
ref_key: "collapse",
|
|
4922
4925
|
ref: n,
|
|
4923
|
-
class:
|
|
4926
|
+
class: H(["fr-collapse fr-menu", { "fr-collapse--expanded": d(i), "fr-collapsing": d(a) }]),
|
|
4924
4927
|
"data-testid": "navigation-menu",
|
|
4925
4928
|
onTransitionend: u[2] || (u[2] = (c) => d(l)(o.value))
|
|
4926
4929
|
}, [
|
|
4927
4930
|
p("ul", dc, [
|
|
4928
|
-
|
|
4931
|
+
F(s.$slots, "default"),
|
|
4929
4932
|
(A(!0), g(J, null, ae(s.links, (c, v) => (A(), R(sc, { key: v }, {
|
|
4930
4933
|
default: G(() => [
|
|
4931
4934
|
X(sn, te({ ref_for: !0 }, c, {
|
|
@@ -4976,7 +4979,7 @@ const xs = {
|
|
|
4976
4979
|
"aria-label": o.label
|
|
4977
4980
|
}, [
|
|
4978
4981
|
p("ul", vc, [
|
|
4979
|
-
|
|
4982
|
+
F(o.$slots, "default"),
|
|
4980
4983
|
(A(!0), g(J, null, ae(o.navItems, (u, c) => (A(), R(Rs, {
|
|
4981
4984
|
id: u.id,
|
|
4982
4985
|
key: c
|
|
@@ -5038,15 +5041,15 @@ const xs = {
|
|
|
5038
5041
|
);
|
|
5039
5042
|
const n = E(() => t.errorMessage || t.successMessage), a = E(() => t.errorMessage ? "error" : "valid");
|
|
5040
5043
|
return (i, r) => (A(), g("div", {
|
|
5041
|
-
class:
|
|
5044
|
+
class: H(["fr-select-group", { [`fr-select-group--${a.value}`]: n.value }])
|
|
5042
5045
|
}, [
|
|
5043
5046
|
p("label", {
|
|
5044
5047
|
class: "fr-label",
|
|
5045
5048
|
for: i.selectId
|
|
5046
5049
|
}, [
|
|
5047
|
-
|
|
5050
|
+
F(i.$slots, "label", {}, () => [
|
|
5048
5051
|
le(z(i.label) + " ", 1),
|
|
5049
|
-
|
|
5052
|
+
F(i.$slots, "required-tip", {}, () => [
|
|
5050
5053
|
i.required ? (A(), g("span", hc, " *")) : w("", !0)
|
|
5051
5054
|
])
|
|
5052
5055
|
]),
|
|
@@ -5082,7 +5085,7 @@ const xs = {
|
|
|
5082
5085
|
n.value ? (A(), g("p", {
|
|
5083
5086
|
key: 0,
|
|
5084
5087
|
id: `select-${a.value}-desc-${a.value}`,
|
|
5085
|
-
class:
|
|
5088
|
+
class: H(`fr-${a.value}-text`)
|
|
5086
5089
|
}, z(n.value), 11, Cc)) : w("", !0)
|
|
5087
5090
|
], 2));
|
|
5088
5091
|
}
|
|
@@ -5097,7 +5100,7 @@ const xs = {
|
|
|
5097
5100
|
"7152af7e": l.value,
|
|
5098
5101
|
"2a62e962": o.value
|
|
5099
5102
|
}));
|
|
5100
|
-
const t = e, n = { true: "100%", false: "-100%" }, a =
|
|
5103
|
+
const t = e, n = { true: "100%", false: "-100%" }, a = He(ln), { isVisible: i, asc: r } = a(Ct(() => t.tabId)), l = E(() => n[String(r == null ? void 0 : r.value)]), o = E(() => n[String(!(r != null && r.value))]);
|
|
5101
5104
|
return (s, u) => (A(), R(Ka, {
|
|
5102
5105
|
name: "slide-fade",
|
|
5103
5106
|
mode: "in-out"
|
|
@@ -5105,14 +5108,14 @@ const xs = {
|
|
|
5105
5108
|
default: G(() => [
|
|
5106
5109
|
Jn(p("div", {
|
|
5107
5110
|
id: s.panelId,
|
|
5108
|
-
class:
|
|
5111
|
+
class: H(["fr-tabs__panel", {
|
|
5109
5112
|
"fr-tabs__panel--selected": d(i)
|
|
5110
5113
|
}]),
|
|
5111
5114
|
role: "tabpanel",
|
|
5112
5115
|
"aria-labelledby": s.tabId,
|
|
5113
5116
|
tabindex: d(i) ? 0 : -1
|
|
5114
5117
|
}, [
|
|
5115
|
-
|
|
5118
|
+
F(s.$slots, "default", {}, void 0, !0)
|
|
5116
5119
|
], 10, Mc), [
|
|
5117
5120
|
[Ga, d(i)]
|
|
5118
5121
|
])
|
|
@@ -5120,7 +5123,7 @@ const xs = {
|
|
|
5120
5123
|
_: 3
|
|
5121
5124
|
}));
|
|
5122
5125
|
}
|
|
5123
|
-
}), Ma = /* @__PURE__ */
|
|
5126
|
+
}), Ma = /* @__PURE__ */ Fe(Tc, [["__scopeId", "data-v-5774b16c"]]), Nc = { role: "presentation" }, kc = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], wc = {
|
|
5124
5127
|
key: 0,
|
|
5125
5128
|
style: { "margin-left": "-0.25rem", "margin-right": "0.5rem", "font-size": "0.95rem" }
|
|
5126
5129
|
}, Ta = /* @__PURE__ */ j({
|
|
@@ -5142,7 +5145,7 @@ const xs = {
|
|
|
5142
5145
|
const v = c == null ? void 0 : c.key, y = r[v];
|
|
5143
5146
|
y && a(y);
|
|
5144
5147
|
}
|
|
5145
|
-
const o =
|
|
5148
|
+
const o = He(ln), { isVisible: s } = o(Ct(() => n.tabId)), u = Ra("button");
|
|
5146
5149
|
return ie(s, () => {
|
|
5147
5150
|
var c;
|
|
5148
5151
|
s.value && ((c = u.value) == null || c.focus());
|
|
@@ -5164,11 +5167,11 @@ const xs = {
|
|
|
5164
5167
|
c.icon ? (A(), g("span", wc, [
|
|
5165
5168
|
X(Ot, { name: c.icon }, null, 8, ["name"])
|
|
5166
5169
|
])) : w("", !0),
|
|
5167
|
-
|
|
5170
|
+
F(c.$slots, "default")
|
|
5168
5171
|
], 16, kc)
|
|
5169
5172
|
]));
|
|
5170
5173
|
}
|
|
5171
|
-
}), Oc = ["aria-label"],
|
|
5174
|
+
}), Oc = ["aria-label"], Lc = /* @__PURE__ */ j({
|
|
5172
5175
|
__name: "DsfrTabs",
|
|
5173
5176
|
props: {
|
|
5174
5177
|
modelValue: { default: 0 },
|
|
@@ -5190,13 +5193,13 @@ const xs = {
|
|
|
5190
5193
|
S.value = K > Q;
|
|
5191
5194
|
}), [...o.value.values()].includes(N.value))
|
|
5192
5195
|
return { isVisible: E(() => o.value.get(l.value) === N.value), asc: S };
|
|
5193
|
-
const
|
|
5194
|
-
o.value.set(
|
|
5195
|
-
const W = E(() =>
|
|
5196
|
+
const L = s.value++;
|
|
5197
|
+
o.value.set(L, N.value);
|
|
5198
|
+
const W = E(() => L === l.value);
|
|
5196
5199
|
return ie(N, () => {
|
|
5197
|
-
o.value.set(
|
|
5200
|
+
o.value.set(L, N.value);
|
|
5198
5201
|
}), ve(() => {
|
|
5199
|
-
o.value.delete(
|
|
5202
|
+
o.value.delete(L);
|
|
5200
5203
|
}), { isVisible: W };
|
|
5201
5204
|
});
|
|
5202
5205
|
const u = q(null), c = q(null), v = Wt({}), y = (N) => {
|
|
@@ -5214,29 +5217,29 @@ const xs = {
|
|
|
5214
5217
|
l.value = 0;
|
|
5215
5218
|
}, C = async () => {
|
|
5216
5219
|
l.value = a.tabTitles.length - 1;
|
|
5217
|
-
},
|
|
5220
|
+
}, x = q({ "--tabs-height": "100px" }), D = () => {
|
|
5218
5221
|
var N;
|
|
5219
5222
|
if (l.value < 0 || !c.value || !c.value.offsetHeight)
|
|
5220
5223
|
return;
|
|
5221
|
-
const S = c.value.offsetHeight,
|
|
5222
|
-
if (!
|
|
5224
|
+
const S = c.value.offsetHeight, L = (N = u.value) == null ? void 0 : N.querySelectorAll(".fr-tabs__panel")[l.value];
|
|
5225
|
+
if (!L || !L.offsetHeight)
|
|
5223
5226
|
return;
|
|
5224
|
-
const W =
|
|
5225
|
-
|
|
5227
|
+
const W = L.offsetHeight;
|
|
5228
|
+
x.value["--tabs-height"] = `${S + W}px`;
|
|
5226
5229
|
}, k = q(null);
|
|
5227
5230
|
return ue(() => {
|
|
5228
5231
|
var N;
|
|
5229
5232
|
window.ResizeObserver && (k.value = new window.ResizeObserver(() => {
|
|
5230
5233
|
D();
|
|
5231
5234
|
})), (N = u.value) == null || N.querySelectorAll(".fr-tabs__panel").forEach((S) => {
|
|
5232
|
-
var
|
|
5233
|
-
S && ((
|
|
5235
|
+
var L;
|
|
5236
|
+
S && ((L = k.value) == null || L.observe(S));
|
|
5234
5237
|
});
|
|
5235
5238
|
}), ve(() => {
|
|
5236
5239
|
var N;
|
|
5237
5240
|
(N = u.value) == null || N.querySelectorAll(".fr-tabs__panel").forEach((S) => {
|
|
5238
|
-
var
|
|
5239
|
-
S && ((
|
|
5241
|
+
var L;
|
|
5242
|
+
S && ((L = k.value) == null || L.unobserve(S));
|
|
5240
5243
|
});
|
|
5241
5244
|
}), t({
|
|
5242
5245
|
renderTabs: D,
|
|
@@ -5246,7 +5249,7 @@ const xs = {
|
|
|
5246
5249
|
ref_key: "$el",
|
|
5247
5250
|
ref: u,
|
|
5248
5251
|
class: "fr-tabs",
|
|
5249
|
-
style: fe(
|
|
5252
|
+
style: fe(x.value)
|
|
5250
5253
|
}, [
|
|
5251
5254
|
p("ul", {
|
|
5252
5255
|
ref_key: "tablist",
|
|
@@ -5255,12 +5258,12 @@ const xs = {
|
|
|
5255
5258
|
role: "tablist",
|
|
5256
5259
|
"aria-label": N.tabListName
|
|
5257
5260
|
}, [
|
|
5258
|
-
|
|
5259
|
-
(A(!0), g(J, null, ae(N.tabTitles, (
|
|
5261
|
+
F(N.$slots, "tab-items", {}, () => [
|
|
5262
|
+
(A(!0), g(J, null, ae(N.tabTitles, (L, W) => (A(), R(Ta, {
|
|
5260
5263
|
key: W,
|
|
5261
|
-
icon:
|
|
5262
|
-
"panel-id":
|
|
5263
|
-
"tab-id":
|
|
5264
|
+
icon: L.icon,
|
|
5265
|
+
"panel-id": L.panelId || `${y(W)}-panel`,
|
|
5266
|
+
"tab-id": L.tabId || y(W),
|
|
5264
5267
|
onClick: (K) => l.value = W,
|
|
5265
5268
|
onNext: S[0] || (S[0] = (K) => f()),
|
|
5266
5269
|
onPrevious: S[1] || (S[1] = (K) => m()),
|
|
@@ -5268,13 +5271,13 @@ const xs = {
|
|
|
5268
5271
|
onLast: S[3] || (S[3] = (K) => C())
|
|
5269
5272
|
}, {
|
|
5270
5273
|
default: G(() => [
|
|
5271
|
-
le(z(
|
|
5274
|
+
le(z(L.title), 1)
|
|
5272
5275
|
]),
|
|
5273
5276
|
_: 2
|
|
5274
5277
|
}, 1032, ["icon", "panel-id", "tab-id", "onClick"]))), 128))
|
|
5275
5278
|
])
|
|
5276
5279
|
], 8, Oc),
|
|
5277
|
-
(A(!0), g(J, null, ae(N.tabContents, (
|
|
5280
|
+
(A(!0), g(J, null, ae(N.tabContents, (L, W) => {
|
|
5278
5281
|
var K, Q, B, h;
|
|
5279
5282
|
return A(), R(Ma, {
|
|
5280
5283
|
key: W,
|
|
@@ -5282,15 +5285,15 @@ const xs = {
|
|
|
5282
5285
|
"tab-id": ((h = (B = N.tabTitles) == null ? void 0 : B[W]) == null ? void 0 : h.tabId) || y(W)
|
|
5283
5286
|
}, {
|
|
5284
5287
|
default: G(() => [
|
|
5285
|
-
le(z(
|
|
5288
|
+
le(z(L), 1)
|
|
5286
5289
|
]),
|
|
5287
5290
|
_: 2
|
|
5288
5291
|
}, 1032, ["panel-id", "tab-id"]);
|
|
5289
5292
|
}), 128)),
|
|
5290
|
-
|
|
5293
|
+
F(N.$slots, "default")
|
|
5291
5294
|
], 4));
|
|
5292
5295
|
}
|
|
5293
|
-
}),
|
|
5296
|
+
}), xc = { class: "av-accordion fr-accordion" }, Dc = { class: "fr-accordion__title" }, Qc = ["aria-expanded", "aria-controls"], Sc = { class: "title-container" }, zc = { class: "n6" }, Bc = ["id"], jc = { class: "accordion-content-container" }, Pc = /* @__PURE__ */ j({
|
|
5294
5297
|
__name: "AvAccordion",
|
|
5295
5298
|
props: {
|
|
5296
5299
|
id: { default: () => crypto.randomUUID() },
|
|
@@ -5304,7 +5307,7 @@ const xs = {
|
|
|
5304
5307
|
cssExpanded: a,
|
|
5305
5308
|
doExpand: i,
|
|
5306
5309
|
onTransitionEnd: r
|
|
5307
|
-
} = an(), l = q(), o =
|
|
5310
|
+
} = an(), l = q(), o = He(ea), { isActive: s, expand: u } = (o == null ? void 0 : o(Ct(() => e.title))) ?? {
|
|
5308
5311
|
isActive: l,
|
|
5309
5312
|
expand: () => l.value = !l.value
|
|
5310
5313
|
};
|
|
@@ -5314,7 +5317,7 @@ const xs = {
|
|
|
5314
5317
|
c !== v && i(c);
|
|
5315
5318
|
}), (c, v) => {
|
|
5316
5319
|
const y = se;
|
|
5317
|
-
return A(), g("section",
|
|
5320
|
+
return A(), g("section", xc, [
|
|
5318
5321
|
p("h3", Dc, [
|
|
5319
5322
|
p("button", {
|
|
5320
5323
|
class: "fr-accordion__btn",
|
|
@@ -5339,7 +5342,7 @@ const xs = {
|
|
|
5339
5342
|
id: e.id,
|
|
5340
5343
|
ref_key: "collapse",
|
|
5341
5344
|
ref: t,
|
|
5342
|
-
class:
|
|
5345
|
+
class: H(["fr-collapse", {
|
|
5343
5346
|
"fr-collapse--expanded": d(a),
|
|
5344
5347
|
// Need to use a separate data to add/remove the class after a RAF
|
|
5345
5348
|
"fr-collapsing": d(n)
|
|
@@ -5347,7 +5350,7 @@ const xs = {
|
|
|
5347
5350
|
onTransitionend: v[1] || (v[1] = (m) => d(r)(d(s), !1))
|
|
5348
5351
|
}, [
|
|
5349
5352
|
p("div", jc, [
|
|
5350
|
-
|
|
5353
|
+
F(c.$slots, "default", {}, void 0, !0)
|
|
5351
5354
|
])
|
|
5352
5355
|
], 42, Bc)
|
|
5353
5356
|
]);
|
|
@@ -5388,7 +5391,7 @@ const xs = {
|
|
|
5388
5391
|
r.value.delete(s);
|
|
5389
5392
|
}), { isActive: u, expand: c };
|
|
5390
5393
|
}), (o, s) => (A(), g("div", Wc, [
|
|
5391
|
-
|
|
5394
|
+
F(o.$slots, "default")
|
|
5392
5395
|
]));
|
|
5393
5396
|
}
|
|
5394
5397
|
}), Vc = { class: "av-cancel-confirm-buttons-container" }, Uc = /* @__PURE__ */ j({
|
|
@@ -5431,7 +5434,7 @@ const xs = {
|
|
|
5431
5434
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : w("", !0)
|
|
5432
5435
|
]));
|
|
5433
5436
|
}
|
|
5434
|
-
}),
|
|
5437
|
+
}), Hc = /* @__PURE__ */ Y(Uc, [["__scopeId", "data-v-b2b6579f"]]), Fc = ["title", "aria-label"], qc = { class: "av-rich-button__line" }, Rc = { class: "av-rich-button__left" }, Xc = /* @__PURE__ */ j({
|
|
5435
5438
|
__name: "AvRichButton",
|
|
5436
5439
|
props: {
|
|
5437
5440
|
label: {},
|
|
@@ -5460,7 +5463,7 @@ const xs = {
|
|
|
5460
5463
|
color: "var(--dark-background-primary1)",
|
|
5461
5464
|
size: 1.5
|
|
5462
5465
|
}, null, 8, ["name"])) : w("", !0),
|
|
5463
|
-
|
|
5466
|
+
F(t.$slots, "default", {}, void 0, !0)
|
|
5464
5467
|
]),
|
|
5465
5468
|
e.iconRight ? (A(), R(se, {
|
|
5466
5469
|
key: 0,
|
|
@@ -5469,7 +5472,7 @@ const xs = {
|
|
|
5469
5472
|
size: 1.5
|
|
5470
5473
|
}, null, 8, ["name"])) : w("", !0)
|
|
5471
5474
|
])
|
|
5472
|
-
], 8,
|
|
5475
|
+
], 8, Fc));
|
|
5473
5476
|
}
|
|
5474
5477
|
}), av = /* @__PURE__ */ Y(Xc, [["__scopeId", "data-v-5907eac1"]]), Zc = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], Yc = ["for"], Kc = { class: "label-container" }, Gc = {
|
|
5475
5478
|
key: 0,
|
|
@@ -5500,13 +5503,13 @@ const xs = {
|
|
|
5500
5503
|
return (c, v) => {
|
|
5501
5504
|
const y = se;
|
|
5502
5505
|
return A(), g("div", {
|
|
5503
|
-
class:
|
|
5506
|
+
class: H(["fr-fieldset__element", {
|
|
5504
5507
|
"fr-fieldset__element--inline": e.inline,
|
|
5505
5508
|
"fr-fieldset__element--disabled": e.disabled
|
|
5506
5509
|
}])
|
|
5507
5510
|
}, [
|
|
5508
5511
|
p("div", {
|
|
5509
|
-
class:
|
|
5512
|
+
class: H(["fr-checkbox-group", {
|
|
5510
5513
|
"fr-checkbox-group--error": e.errorMessage,
|
|
5511
5514
|
"fr-checkbox-group--valid": !e.errorMessage && e.validMessage,
|
|
5512
5515
|
"fr-checkbox-group--sm": e.small
|
|
@@ -5547,11 +5550,11 @@ const xs = {
|
|
|
5547
5550
|
size: d(s)
|
|
5548
5551
|
}, null, 8, ["name", "color", "size"])) : w("", !0),
|
|
5549
5552
|
p("span", {
|
|
5550
|
-
class:
|
|
5553
|
+
class: H(["label", d(u)])
|
|
5551
5554
|
}, z(e.label), 3),
|
|
5552
5555
|
e.required ? (A(), g("span", {
|
|
5553
5556
|
key: 1,
|
|
5554
|
-
class:
|
|
5557
|
+
class: H(["required", d(u)])
|
|
5555
5558
|
}, " *", 2)) : w("", !0)
|
|
5556
5559
|
]),
|
|
5557
5560
|
e.hint ? (A(), g("span", Gc, z(e.hint), 1)) : w("", !0)
|
|
@@ -5564,7 +5567,7 @@ const xs = {
|
|
|
5564
5567
|
role: "alert"
|
|
5565
5568
|
}, [
|
|
5566
5569
|
p("p", {
|
|
5567
|
-
class:
|
|
5570
|
+
class: H(["fr-message--info flex items-center", d(a)])
|
|
5568
5571
|
}, z(d(t)), 3)
|
|
5569
5572
|
], 8, Jc)) : w("", !0)
|
|
5570
5573
|
], 2)
|
|
@@ -5671,11 +5674,11 @@ const xs = {
|
|
|
5671
5674
|
}), {
|
|
5672
5675
|
default: G(() => [
|
|
5673
5676
|
p("div", {
|
|
5674
|
-
class:
|
|
5677
|
+
class: H(d(c) ? "" : "file-upload-container")
|
|
5675
5678
|
}, [
|
|
5676
5679
|
p("div", nu, [
|
|
5677
5680
|
p("div", au, [
|
|
5678
|
-
|
|
5681
|
+
F(m.$slots, "left", {}, () => [
|
|
5679
5682
|
X(se, {
|
|
5680
5683
|
size: 2.5,
|
|
5681
5684
|
name: d($).ATTACHMENT_PLUS,
|
|
@@ -5726,7 +5729,7 @@ const xs = {
|
|
|
5726
5729
|
_: 3
|
|
5727
5730
|
}, 16, ["class"])),
|
|
5728
5731
|
p("span", Au, [
|
|
5729
|
-
|
|
5732
|
+
F(m.$slots, "hint", {}, void 0, !0)
|
|
5730
5733
|
])
|
|
5731
5734
|
], 64));
|
|
5732
5735
|
}
|
|
@@ -5754,13 +5757,13 @@ const xs = {
|
|
|
5754
5757
|
}));
|
|
5755
5758
|
const t = E(() => `av-list--${e.size}`), n = E(() => e.bordered ? "av-list--bordered" : ""), a = E(() => e.divided ? "av-list--divided" : "");
|
|
5756
5759
|
return (i, r) => (A(), g("div", {
|
|
5757
|
-
class:
|
|
5760
|
+
class: H(["av-list", [d(t), d(n), d(a)]]),
|
|
5758
5761
|
role: e.role,
|
|
5759
5762
|
"aria-label": e.ariaLabel,
|
|
5760
5763
|
"aria-labelledby": e.ariaLabelledby,
|
|
5761
5764
|
"aria-describedby": e.ariaDescribedby
|
|
5762
5765
|
}, [
|
|
5763
|
-
|
|
5766
|
+
F(i.$slots, "default", {}, void 0, !0)
|
|
5764
5767
|
], 10, vu));
|
|
5765
5768
|
}
|
|
5766
5769
|
}), Na = /* @__PURE__ */ Y(mu, [["__scopeId", "data-v-f74989f7"]]), gu = ["role"], hu = {
|
|
@@ -5822,7 +5825,7 @@ const xs = {
|
|
|
5822
5825
|
const l = E(() => e.clickable ? "av-list-item--clickable" : ""), o = E(() => e.disabled ? "av-list-item--disabled" : ""), s = E(() => e.selected ? "av-list-item--selected" : "");
|
|
5823
5826
|
return (u, c) => (A(), g("div", { role: e.role }, [
|
|
5824
5827
|
(A(), R(Ce(d(n)), {
|
|
5825
|
-
class:
|
|
5828
|
+
class: H(["av-list-item", [d(l), d(o), d(s)]]),
|
|
5826
5829
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
5827
5830
|
"aria-label": e.clickable ? d(a) : void 0,
|
|
5828
5831
|
"aria-describedby": e.ariaDescribedby,
|
|
@@ -5846,7 +5849,7 @@ const xs = {
|
|
|
5846
5849
|
e.title ? (A(), g("div", Iu, z(e.title), 1)) : w("", !0),
|
|
5847
5850
|
e.description ? (A(), g("div", yu, z(e.description), 1)) : w("", !0),
|
|
5848
5851
|
t.default ? (A(), g("div", pu, [
|
|
5849
|
-
|
|
5852
|
+
F(u.$slots, "default", {}, void 0, !0)
|
|
5850
5853
|
])) : w("", !0)
|
|
5851
5854
|
])
|
|
5852
5855
|
]),
|
|
@@ -5886,7 +5889,7 @@ const xs = {
|
|
|
5886
5889
|
}
|
|
5887
5890
|
function y(b) {
|
|
5888
5891
|
l ? (v(b) ? c.value = c.value.filter(
|
|
5889
|
-
(
|
|
5892
|
+
(x) => x.value !== b.value
|
|
5890
5893
|
) : c.value.push(b), o([...c.value])) : (c.value = [b], o(b));
|
|
5891
5894
|
}
|
|
5892
5895
|
function m(b) {
|
|
@@ -5900,23 +5903,23 @@ const xs = {
|
|
|
5900
5903
|
}, { immediate: !0 }), (b, C) => (A(), g("div", Eu, [
|
|
5901
5904
|
d(n) ? (A(), g("span", {
|
|
5902
5905
|
key: 0,
|
|
5903
|
-
class:
|
|
5906
|
+
class: H(["av-select-label", [d(i)]])
|
|
5904
5907
|
}, z(d(n)), 3)) : w("", !0),
|
|
5905
|
-
(A(!0), g(J, null, ae(d(s), (
|
|
5906
|
-
key:
|
|
5908
|
+
(A(!0), g(J, null, ae(d(s), (x) => (A(), g("div", {
|
|
5909
|
+
key: x.value,
|
|
5907
5910
|
class: "tag-wrapper"
|
|
5908
5911
|
}, [
|
|
5909
5912
|
X(rr, {
|
|
5910
|
-
class:
|
|
5911
|
-
"fr-tag--selected": v(
|
|
5912
|
-
"fr-tag--disabled": f(
|
|
5913
|
+
class: H({
|
|
5914
|
+
"fr-tag--selected": v(x),
|
|
5915
|
+
"fr-tag--disabled": f(x)
|
|
5913
5916
|
}),
|
|
5914
|
-
label:
|
|
5915
|
-
icon: m(
|
|
5916
|
-
disabled: f(
|
|
5917
|
+
label: x.label,
|
|
5918
|
+
icon: m(x),
|
|
5919
|
+
disabled: f(x),
|
|
5917
5920
|
selectable: "",
|
|
5918
|
-
selected: v(
|
|
5919
|
-
onSelect: () => y(
|
|
5921
|
+
selected: v(x),
|
|
5922
|
+
onSelect: () => y(x)
|
|
5920
5923
|
}, null, 8, ["class", "label", "icon", "disabled", "selected", "onSelect"])
|
|
5921
5924
|
]))), 128))
|
|
5922
5925
|
]));
|
|
@@ -5964,9 +5967,9 @@ const rv = [
|
|
|
5964
5967
|
disabled: { type: Boolean }
|
|
5965
5968
|
},
|
|
5966
5969
|
setup(e) {
|
|
5967
|
-
return (t, n) =>
|
|
5970
|
+
return (t, n) => F(t.$slots, "default");
|
|
5968
5971
|
}
|
|
5969
|
-
}), Ou = ["id", "name", "value", "checked", "disabled"],
|
|
5972
|
+
}), Ou = ["id", "name", "value", "checked", "disabled"], Lu = ["for"], xu = /* @__PURE__ */ j({
|
|
5970
5973
|
__name: "RadioButton",
|
|
5971
5974
|
props: {
|
|
5972
5975
|
value: { type: [String, Number, Boolean] },
|
|
@@ -5980,10 +5983,10 @@ const rv = [
|
|
|
5980
5983
|
setup(e, { emit: t }) {
|
|
5981
5984
|
const n = t, a = q(`av-radio-button-${crypto.randomUUID()}`);
|
|
5982
5985
|
return (i, r) => (A(), g("div", {
|
|
5983
|
-
class:
|
|
5986
|
+
class: H(["fr-fieldset__element", { "fr-fieldset__element--inline": e.inline }])
|
|
5984
5987
|
}, [
|
|
5985
5988
|
p("div", {
|
|
5986
|
-
class:
|
|
5989
|
+
class: H(["fr-radio-group", {
|
|
5987
5990
|
"fr-radio-group--sm": e.small
|
|
5988
5991
|
}])
|
|
5989
5992
|
}, [
|
|
@@ -6001,8 +6004,8 @@ const rv = [
|
|
|
6001
6004
|
for: d(a),
|
|
6002
6005
|
class: "fr-label"
|
|
6003
6006
|
}, [
|
|
6004
|
-
|
|
6005
|
-
], 8,
|
|
6007
|
+
F(i.$slots, "default")
|
|
6008
|
+
], 8, Lu)
|
|
6006
6009
|
], 2)
|
|
6007
6010
|
], 2));
|
|
6008
6011
|
}
|
|
@@ -6050,7 +6053,7 @@ const rv = [
|
|
|
6050
6053
|
m && a("update:modelValue", m);
|
|
6051
6054
|
}), t({ selected: y }), (m, f) => (A(), g("div", Du, [
|
|
6052
6055
|
p("fieldset", {
|
|
6053
|
-
class:
|
|
6056
|
+
class: H(["fr-fieldset", {
|
|
6054
6057
|
"fr-fieldset--error": e.errorMessage,
|
|
6055
6058
|
"fr-fieldset--valid": e.validMessage
|
|
6056
6059
|
}]),
|
|
@@ -6069,15 +6072,15 @@ const rv = [
|
|
|
6069
6072
|
e.required ? (A(), g("span", ju, " *")) : w("", !0)
|
|
6070
6073
|
], 8, Su)) : w("", !0),
|
|
6071
6074
|
(A(!0), g(J, null, ae(d(v), (b, C) => {
|
|
6072
|
-
var
|
|
6073
|
-
return A(), R(
|
|
6075
|
+
var x, D;
|
|
6076
|
+
return A(), R(xu, {
|
|
6074
6077
|
key: C,
|
|
6075
6078
|
modelValue: d(y),
|
|
6076
6079
|
"onUpdate:modelValue": [
|
|
6077
6080
|
f[0] || (f[0] = (k) => Tt(y) ? y.value = k : null),
|
|
6078
6081
|
f[1] || (f[1] = (k) => l(k))
|
|
6079
6082
|
],
|
|
6080
|
-
value: (
|
|
6083
|
+
value: (x = b.props) == null ? void 0 : x.value,
|
|
6081
6084
|
disabled: ((D = b.props) == null ? void 0 : D.disabled) ?? e.disabled,
|
|
6082
6085
|
small: e.small,
|
|
6083
6086
|
inline: e.inline,
|
|
@@ -6100,7 +6103,7 @@ const rv = [
|
|
|
6100
6103
|
role: "alert"
|
|
6101
6104
|
}, [
|
|
6102
6105
|
p("p", {
|
|
6103
|
-
class:
|
|
6106
|
+
class: H(["fr-message fr-message--info flex items-center", d(r)])
|
|
6104
6107
|
}, z(d(i)), 3)
|
|
6105
6108
|
], 8, Pu)) : w("", !0)
|
|
6106
6109
|
], 10, Qu)
|
|
@@ -6110,12 +6113,12 @@ const rv = [
|
|
|
6110
6113
|
var je = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(je || {});
|
|
6111
6114
|
const Oa = Symbol("AvAutocompleteContext");
|
|
6112
6115
|
function cn() {
|
|
6113
|
-
const e =
|
|
6116
|
+
const e = He(Oa);
|
|
6114
6117
|
if (!e)
|
|
6115
6118
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
6116
6119
|
return e;
|
|
6117
6120
|
}
|
|
6118
|
-
function
|
|
6121
|
+
function La(e) {
|
|
6119
6122
|
return $a() ? (_a(e), !0) : !1;
|
|
6120
6123
|
}
|
|
6121
6124
|
const Bt = /* @__PURE__ */ new WeakMap(), Wu = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
|
|
@@ -6123,12 +6126,12 @@ const Bt = /* @__PURE__ */ new WeakMap(), Wu = /* @__NO_SIDE_EFFECTS__ */ (...e)
|
|
|
6123
6126
|
const n = e[0], a = (t = $t()) == null ? void 0 : t.proxy;
|
|
6124
6127
|
if (a == null && !Gt())
|
|
6125
6128
|
throw new Error("injectLocal must be called in setup");
|
|
6126
|
-
return a && Bt.has(a) && n in Bt.get(a) ? Bt.get(a)[n] :
|
|
6129
|
+
return a && Bt.has(a) && n in Bt.get(a) ? Bt.get(a)[n] : He(...e);
|
|
6127
6130
|
}, Vu = typeof window < "u" && typeof document < "u";
|
|
6128
6131
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
6129
|
-
const Uu = (e) => e != null,
|
|
6132
|
+
const Uu = (e) => e != null, Hu = Object.prototype.toString, Fu = (e) => Hu.call(e) === "[object Object]", Ve = () => {
|
|
6130
6133
|
};
|
|
6131
|
-
function
|
|
6134
|
+
function xa(e, t) {
|
|
6132
6135
|
function n(...a) {
|
|
6133
6136
|
return new Promise((i, r) => {
|
|
6134
6137
|
Promise.resolve(e(() => t.apply(this, a), { fn: t, thisArg: this, args: a })).then(i).catch(r);
|
|
@@ -6161,8 +6164,8 @@ function Ru(...e) {
|
|
|
6161
6164
|
};
|
|
6162
6165
|
return (y) => {
|
|
6163
6166
|
const m = re(l), f = Date.now() - t, b = () => r = y();
|
|
6164
|
-
return c(), m <= 0 ? (t = Date.now(), b()) : (f > m && (s || !a) ? (t = Date.now(), b()) : o && (r = new Promise((C,
|
|
6165
|
-
i = u ?
|
|
6167
|
+
return c(), m <= 0 ? (t = Date.now(), b()) : (f > m && (s || !a) ? (t = Date.now(), b()) : o && (r = new Promise((C, x) => {
|
|
6168
|
+
i = u ? x : C, n = setTimeout(() => {
|
|
6166
6169
|
t = Date.now(), a = !0, C(b()), c();
|
|
6167
6170
|
}, Math.max(0, m - f));
|
|
6168
6171
|
})), !s && !n && (n = setTimeout(() => a = !0, m)), a = !1, r);
|
|
@@ -6186,14 +6189,14 @@ function Zu(e) {
|
|
|
6186
6189
|
}
|
|
6187
6190
|
// @__NO_SIDE_EFFECTS__
|
|
6188
6191
|
function Yu(e, t = 200, n = {}) {
|
|
6189
|
-
return
|
|
6192
|
+
return xa(
|
|
6190
6193
|
qu(t, n),
|
|
6191
6194
|
e
|
|
6192
6195
|
);
|
|
6193
6196
|
}
|
|
6194
6197
|
// @__NO_SIDE_EFFECTS__
|
|
6195
6198
|
function Ku(e, t = 200, n = !1, a = !0, i = !1) {
|
|
6196
|
-
return
|
|
6199
|
+
return xa(
|
|
6197
6200
|
Ru(t, n, a, i),
|
|
6198
6201
|
e
|
|
6199
6202
|
);
|
|
@@ -6237,7 +6240,7 @@ function Xt(...e) {
|
|
|
6237
6240
|
([o, s, u, c]) => {
|
|
6238
6241
|
if (n(), !(o != null && o.length) || !(s != null && s.length) || !(u != null && u.length))
|
|
6239
6242
|
return;
|
|
6240
|
-
const v =
|
|
6243
|
+
const v = Fu(c) ? { ...c } : c;
|
|
6241
6244
|
t.push(
|
|
6242
6245
|
...o.flatMap(
|
|
6243
6246
|
(y) => s.flatMap(
|
|
@@ -6250,7 +6253,7 @@ function Xt(...e) {
|
|
|
6250
6253
|
), l = () => {
|
|
6251
6254
|
r(), n();
|
|
6252
6255
|
};
|
|
6253
|
-
return
|
|
6256
|
+
return La(n), l;
|
|
6254
6257
|
}
|
|
6255
6258
|
// @__NO_SIDE_EFFECTS__
|
|
6256
6259
|
function Ju() {
|
|
@@ -6281,7 +6284,7 @@ function $u(e, t, n = {}) {
|
|
|
6281
6284
|
), c = () => r == null ? void 0 : r.takeRecords(), v = () => {
|
|
6282
6285
|
u(), o();
|
|
6283
6286
|
};
|
|
6284
|
-
return
|
|
6287
|
+
return La(v), {
|
|
6285
6288
|
isSupported: l,
|
|
6286
6289
|
stop: v,
|
|
6287
6290
|
takeRecords: c
|
|
@@ -6397,17 +6400,17 @@ function td(e, t = {}) {
|
|
|
6397
6400
|
return m.value;
|
|
6398
6401
|
},
|
|
6399
6402
|
set(Q) {
|
|
6400
|
-
|
|
6403
|
+
x(Q, void 0);
|
|
6401
6404
|
}
|
|
6402
6405
|
}), C = E({
|
|
6403
6406
|
get() {
|
|
6404
6407
|
return f.value;
|
|
6405
6408
|
},
|
|
6406
6409
|
set(Q) {
|
|
6407
|
-
|
|
6410
|
+
x(void 0, Q);
|
|
6408
6411
|
}
|
|
6409
6412
|
});
|
|
6410
|
-
function
|
|
6413
|
+
function x(Q, B) {
|
|
6411
6414
|
var h, M, I, T;
|
|
6412
6415
|
if (!c)
|
|
6413
6416
|
return;
|
|
@@ -6434,7 +6437,7 @@ function td(e, t = {}) {
|
|
|
6434
6437
|
bottom: !1
|
|
6435
6438
|
}), S = (Q) => {
|
|
6436
6439
|
D.value && (D.value = !1, N.left = !1, N.right = !1, N.top = !1, N.bottom = !1, i(Q));
|
|
6437
|
-
},
|
|
6440
|
+
}, L = /* @__PURE__ */ Yu(S, n + a), W = (Q) => {
|
|
6438
6441
|
var B;
|
|
6439
6442
|
if (!c)
|
|
6440
6443
|
return;
|
|
@@ -6451,7 +6454,7 @@ function td(e, t = {}) {
|
|
|
6451
6454
|
if (!c)
|
|
6452
6455
|
return;
|
|
6453
6456
|
const h = (B = Q.target.documentElement) != null ? B : Q.target;
|
|
6454
|
-
W(h), D.value = !0,
|
|
6457
|
+
W(h), D.value = !0, L(Q), r(Q);
|
|
6455
6458
|
};
|
|
6456
6459
|
return Xt(
|
|
6457
6460
|
e,
|
|
@@ -6510,9 +6513,9 @@ var od = Object.prototype, sd = od.toString;
|
|
|
6510
6513
|
function cd(e) {
|
|
6511
6514
|
return sd.call(e);
|
|
6512
6515
|
}
|
|
6513
|
-
var ud = "[object Null]", dd = "[object Undefined]",
|
|
6516
|
+
var ud = "[object Null]", dd = "[object Undefined]", Hn = ht ? ht.toStringTag : void 0;
|
|
6514
6517
|
function Ad(e) {
|
|
6515
|
-
return e == null ? e === void 0 ? dd : ud :
|
|
6518
|
+
return e == null ? e === void 0 ? dd : ud : Hn && Hn in Object(e) ? ld(e) : cd(e);
|
|
6516
6519
|
}
|
|
6517
6520
|
function fd(e) {
|
|
6518
6521
|
return e != null && typeof e == "object";
|
|
@@ -6535,12 +6538,12 @@ function Zt(e) {
|
|
|
6535
6538
|
var t = typeof e;
|
|
6536
6539
|
return e != null && (t == "object" || t == "function");
|
|
6537
6540
|
}
|
|
6538
|
-
var
|
|
6541
|
+
var Fn = NaN, yd = /^[-+]0x[0-9a-f]+$/i, pd = /^0b[01]+$/i, Cd = /^0o[0-7]+$/i, Ed = parseInt;
|
|
6539
6542
|
function qn(e) {
|
|
6540
6543
|
if (typeof e == "number")
|
|
6541
6544
|
return e;
|
|
6542
6545
|
if (md(e))
|
|
6543
|
-
return
|
|
6546
|
+
return Fn;
|
|
6544
6547
|
if (Zt(e)) {
|
|
6545
6548
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
6546
6549
|
e = Zt(t) ? t + "" : t;
|
|
@@ -6549,7 +6552,7 @@ function qn(e) {
|
|
|
6549
6552
|
return e === 0 ? e : +e;
|
|
6550
6553
|
e = Id(e);
|
|
6551
6554
|
var n = pd.test(e);
|
|
6552
|
-
return n || Cd.test(e) ? Ed(e.slice(2), n ? 2 : 8) : yd.test(e) ?
|
|
6555
|
+
return n || Cd.test(e) ? Ed(e.slice(2), n ? 2 : 8) : yd.test(e) ? Fn : +e;
|
|
6553
6556
|
}
|
|
6554
6557
|
var jt = function() {
|
|
6555
6558
|
return za.Date.now();
|
|
@@ -6559,29 +6562,29 @@ function ja(e, t, n) {
|
|
|
6559
6562
|
if (typeof e != "function")
|
|
6560
6563
|
throw new TypeError(Md);
|
|
6561
6564
|
t = qn(t) || 0, Zt(n) && (c = !!n.leading, v = "maxWait" in n, r = v ? Td(qn(n.maxWait) || 0, t) : r, y = "trailing" in n ? !!n.trailing : y);
|
|
6562
|
-
function m(
|
|
6565
|
+
function m(L) {
|
|
6563
6566
|
var W = a, K = i;
|
|
6564
|
-
return a = i = void 0, u =
|
|
6567
|
+
return a = i = void 0, u = L, l = e.apply(K, W), l;
|
|
6565
6568
|
}
|
|
6566
|
-
function f(
|
|
6567
|
-
return u =
|
|
6569
|
+
function f(L) {
|
|
6570
|
+
return u = L, o = setTimeout(x, t), c ? m(L) : l;
|
|
6568
6571
|
}
|
|
6569
|
-
function b(
|
|
6570
|
-
var W =
|
|
6572
|
+
function b(L) {
|
|
6573
|
+
var W = L - s, K = L - u, Q = t - W;
|
|
6571
6574
|
return v ? Nd(Q, r - K) : Q;
|
|
6572
6575
|
}
|
|
6573
|
-
function C(
|
|
6574
|
-
var W =
|
|
6576
|
+
function C(L) {
|
|
6577
|
+
var W = L - s, K = L - u;
|
|
6575
6578
|
return s === void 0 || W >= t || W < 0 || v && K >= r;
|
|
6576
6579
|
}
|
|
6577
|
-
function
|
|
6578
|
-
var
|
|
6579
|
-
if (C(
|
|
6580
|
-
return D(
|
|
6581
|
-
o = setTimeout(
|
|
6580
|
+
function x() {
|
|
6581
|
+
var L = jt();
|
|
6582
|
+
if (C(L))
|
|
6583
|
+
return D(L);
|
|
6584
|
+
o = setTimeout(x, b(L));
|
|
6582
6585
|
}
|
|
6583
|
-
function D(
|
|
6584
|
-
return o = void 0, y && a ? m(
|
|
6586
|
+
function D(L) {
|
|
6587
|
+
return o = void 0, y && a ? m(L) : (a = i = void 0, l);
|
|
6585
6588
|
}
|
|
6586
6589
|
function k() {
|
|
6587
6590
|
o !== void 0 && clearTimeout(o), u = 0, a = s = i = o = void 0;
|
|
@@ -6590,14 +6593,14 @@ function ja(e, t, n) {
|
|
|
6590
6593
|
return o === void 0 ? l : D(jt());
|
|
6591
6594
|
}
|
|
6592
6595
|
function S() {
|
|
6593
|
-
var
|
|
6594
|
-
if (a = arguments, i = this, s =
|
|
6596
|
+
var L = jt(), W = C(L);
|
|
6597
|
+
if (a = arguments, i = this, s = L, W) {
|
|
6595
6598
|
if (o === void 0)
|
|
6596
6599
|
return f(s);
|
|
6597
6600
|
if (v)
|
|
6598
|
-
return clearTimeout(o), o = setTimeout(
|
|
6601
|
+
return clearTimeout(o), o = setTimeout(x, t), m(s);
|
|
6599
6602
|
}
|
|
6600
|
-
return o === void 0 && (o = setTimeout(
|
|
6603
|
+
return o === void 0 && (o = setTimeout(x, t)), l;
|
|
6601
6604
|
}
|
|
6602
6605
|
return S.cancel = k, S.flush = N, S;
|
|
6603
6606
|
}
|
|
@@ -6610,7 +6613,7 @@ const kd = {
|
|
|
6610
6613
|
}, Od = {
|
|
6611
6614
|
key: 1,
|
|
6612
6615
|
class: "av-autocomplete-dropdown__empty-text"
|
|
6613
|
-
},
|
|
6616
|
+
}, Ld = /* @__PURE__ */ j({
|
|
6614
6617
|
__name: "AvAutocompleteDropdown",
|
|
6615
6618
|
emits: ["loadMore"],
|
|
6616
6619
|
setup(e, { expose: t, emit: n }) {
|
|
@@ -6651,12 +6654,12 @@ const kd = {
|
|
|
6651
6654
|
(W) => u(W) !== S
|
|
6652
6655
|
) : r.value = [...N, k];
|
|
6653
6656
|
}
|
|
6654
|
-
const { arrivedState:
|
|
6657
|
+
const { arrivedState: x } = td(y, {
|
|
6655
6658
|
throttle: 100
|
|
6656
6659
|
}), D = ja(() => {
|
|
6657
6660
|
a("loadMore");
|
|
6658
6661
|
}, s.loadMoreThrottleDelay);
|
|
6659
|
-
return ie(() =>
|
|
6662
|
+
return ie(() => x.bottom, (k) => {
|
|
6660
6663
|
s.enableLoadMore && k && o.value && D();
|
|
6661
6664
|
}), ve(() => {
|
|
6662
6665
|
D.cancel();
|
|
@@ -6666,7 +6669,7 @@ const kd = {
|
|
|
6666
6669
|
key: 0,
|
|
6667
6670
|
ref_key: "dropdownRef",
|
|
6668
6671
|
ref: v,
|
|
6669
|
-
class:
|
|
6672
|
+
class: H(["av-autocomplete-dropdown", d(s).dropdownClass]),
|
|
6670
6673
|
style: fe({ width: d(s).dropdownWidth, maxHeight: d(s).maxDropdownHeight })
|
|
6671
6674
|
}, [
|
|
6672
6675
|
d(f) === d(je).LOADING ? (A(), g("div", kd, [
|
|
@@ -6677,7 +6680,7 @@ const kd = {
|
|
|
6677
6680
|
}, null, 8, ["name"]),
|
|
6678
6681
|
N[0] || (N[0] = p("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
6679
6682
|
])) : d(f) === d(je).NO_OPTIONS ? (A(), g("div", wd, [
|
|
6680
|
-
i.empty ?
|
|
6683
|
+
i.empty ? F(k.$slots, "empty", { key: 0 }, void 0, !0) : (A(), g("div", Od, " No results found "))
|
|
6681
6684
|
])) : (A(), R(Na, te({
|
|
6682
6685
|
key: 2,
|
|
6683
6686
|
ref_key: "listRef",
|
|
@@ -6689,7 +6692,7 @@ const kd = {
|
|
|
6689
6692
|
(A(!0), g(J, null, ae(d(m), (S) => (A(), g(J, {
|
|
6690
6693
|
key: d(u)(S)
|
|
6691
6694
|
}, [
|
|
6692
|
-
i.item ?
|
|
6695
|
+
i.item ? F(k.$slots, "item", {
|
|
6693
6696
|
key: 0,
|
|
6694
6697
|
option: S,
|
|
6695
6698
|
isSelected: b(S),
|
|
@@ -6710,7 +6713,7 @@ const kd = {
|
|
|
6710
6713
|
}, 16, ["class"]))
|
|
6711
6714
|
], 6)) : w("", !0);
|
|
6712
6715
|
}
|
|
6713
|
-
}),
|
|
6716
|
+
}), xd = /* @__PURE__ */ Y(Ld, [["__scopeId", "data-v-3471432d"]]), Dd = { class: "av-autocomplete-input" }, Qd = {
|
|
6714
6717
|
key: 0,
|
|
6715
6718
|
class: "av-autocomplete-input__suffix"
|
|
6716
6719
|
}, Sd = /* @__PURE__ */ j({
|
|
@@ -6734,7 +6737,7 @@ const kd = {
|
|
|
6734
6737
|
function C(k) {
|
|
6735
6738
|
l.value = String(k || ""), b(l.value);
|
|
6736
6739
|
}
|
|
6737
|
-
function
|
|
6740
|
+
function x() {
|
|
6738
6741
|
o.value = !0;
|
|
6739
6742
|
}
|
|
6740
6743
|
function D() {
|
|
@@ -6754,9 +6757,9 @@ const kd = {
|
|
|
6754
6757
|
placeholder: d(f)
|
|
6755
6758
|
}, d(s).inputOptions, {
|
|
6756
6759
|
"onUpdate:modelValue": C,
|
|
6757
|
-
onFocus:
|
|
6760
|
+
onFocus: x,
|
|
6758
6761
|
onBlur: d(c),
|
|
6759
|
-
onClick:
|
|
6762
|
+
onClick: x
|
|
6760
6763
|
}), lt({ _: 2 }, [
|
|
6761
6764
|
i.requiredTip ? {
|
|
6762
6765
|
name: "requiredTip",
|
|
@@ -6803,7 +6806,7 @@ const kd = {
|
|
|
6803
6806
|
key: d(i)(u),
|
|
6804
6807
|
class: "av-autocomplete-selected-tags__item"
|
|
6805
6808
|
}, [
|
|
6806
|
-
t.selectedItem ?
|
|
6809
|
+
t.selectedItem ? F(o.$slots, "selectedItem", {
|
|
6807
6810
|
key: 0,
|
|
6808
6811
|
option: u,
|
|
6809
6812
|
remove: () => l(u)
|
|
@@ -6878,15 +6881,15 @@ const kd = {
|
|
|
6878
6881
|
getOptionId: f,
|
|
6879
6882
|
getDisplayLabel: b
|
|
6880
6883
|
});
|
|
6881
|
-
function
|
|
6882
|
-
var S,
|
|
6884
|
+
function x(D) {
|
|
6885
|
+
var S, L, W, K, Q;
|
|
6883
6886
|
const k = D.target, N = (S = u.value) == null ? void 0 : S.inputRef;
|
|
6884
|
-
!((
|
|
6887
|
+
!((L = N == null ? void 0 : N.contains) != null && L.call(N, k)) && !((W = s.value) != null && W.contains(k)) && !((Q = (K = c.value) == null ? void 0 : K.dropdownRef) != null && Q.contains(k)) && (l.value = !1);
|
|
6885
6888
|
}
|
|
6886
6889
|
return ue(() => {
|
|
6887
|
-
document.addEventListener("click",
|
|
6890
|
+
document.addEventListener("click", x);
|
|
6888
6891
|
}), ve(() => {
|
|
6889
|
-
document.removeEventListener("click",
|
|
6892
|
+
document.removeEventListener("click", x);
|
|
6890
6893
|
}), (D, k) => (A(), g("div", Wd, [
|
|
6891
6894
|
p("div", {
|
|
6892
6895
|
ref_key: "wrapperRef",
|
|
@@ -6907,18 +6910,18 @@ const kd = {
|
|
|
6907
6910
|
key: "0"
|
|
6908
6911
|
} : void 0
|
|
6909
6912
|
]), 1536),
|
|
6910
|
-
X(
|
|
6913
|
+
X(xd, {
|
|
6911
6914
|
ref_key: "dropdownRef",
|
|
6912
6915
|
ref: c,
|
|
6913
6916
|
onLoadMore: k[1] || (k[1] = (N) => a("loadMore"))
|
|
6914
6917
|
}, lt({ _: 2 }, [
|
|
6915
6918
|
i.item ? {
|
|
6916
6919
|
name: "item",
|
|
6917
|
-
fn: G(({ option: N, isSelected: S, toggle:
|
|
6918
|
-
|
|
6920
|
+
fn: G(({ option: N, isSelected: S, toggle: L }) => [
|
|
6921
|
+
F(D.$slots, "item", {
|
|
6919
6922
|
option: N,
|
|
6920
6923
|
isSelected: S,
|
|
6921
|
-
toggle:
|
|
6924
|
+
toggle: L
|
|
6922
6925
|
}, void 0, !0)
|
|
6923
6926
|
]),
|
|
6924
6927
|
key: "0"
|
|
@@ -6926,7 +6929,7 @@ const kd = {
|
|
|
6926
6929
|
i.empty ? {
|
|
6927
6930
|
name: "empty",
|
|
6928
6931
|
fn: G(() => [
|
|
6929
|
-
|
|
6932
|
+
F(D.$slots, "empty", {}, void 0, !0)
|
|
6930
6933
|
]),
|
|
6931
6934
|
key: "1"
|
|
6932
6935
|
} : void 0
|
|
@@ -6936,7 +6939,7 @@ const kd = {
|
|
|
6936
6939
|
i.selectedItem ? {
|
|
6937
6940
|
name: "selectedItem",
|
|
6938
6941
|
fn: G(({ option: N, remove: S }) => [
|
|
6939
|
-
|
|
6942
|
+
F(D.$slots, "selectedItem", {
|
|
6940
6943
|
option: N,
|
|
6941
6944
|
remove: S
|
|
6942
6945
|
}, void 0, !0)
|
|
@@ -6946,7 +6949,7 @@ const kd = {
|
|
|
6946
6949
|
]), 1024)
|
|
6947
6950
|
]));
|
|
6948
6951
|
}
|
|
6949
|
-
}), sv = /* @__PURE__ */ Y(Vd, [["__scopeId", "data-v-a8c4de33"]]), Ud = ["id"],
|
|
6952
|
+
}), sv = /* @__PURE__ */ Y(Vd, [["__scopeId", "data-v-a8c4de33"]]), Ud = ["id"], Hd = ["id"], Fd = {
|
|
6950
6953
|
key: 0,
|
|
6951
6954
|
class: "fr-btns-group"
|
|
6952
6955
|
}, qd = {
|
|
@@ -6995,7 +6998,7 @@ const kd = {
|
|
|
6995
6998
|
const h = B.target;
|
|
6996
6999
|
!((M = i.value) != null && M.$el.contains(h)) && !((I = u.value) != null && I.contains(h)) && n("close");
|
|
6997
7000
|
}
|
|
6998
|
-
function
|
|
7001
|
+
function x() {
|
|
6999
7002
|
for (; s.length; ) {
|
|
7000
7003
|
const B = s.pop();
|
|
7001
7004
|
B && B();
|
|
@@ -7017,7 +7020,7 @@ const kd = {
|
|
|
7017
7020
|
const [h] = m();
|
|
7018
7021
|
h && (B.preventDefault(), h.focus());
|
|
7019
7022
|
}
|
|
7020
|
-
function
|
|
7023
|
+
function L(B) {
|
|
7021
7024
|
B.preventDefault();
|
|
7022
7025
|
const h = m(), M = document.activeElement, I = Array.from(h).indexOf(M);
|
|
7023
7026
|
if (I !== -1) {
|
|
@@ -7043,7 +7046,7 @@ const kd = {
|
|
|
7043
7046
|
B.shiftKey && h === ((M = i.value) == null ? void 0 : M.$el) && n("close");
|
|
7044
7047
|
}
|
|
7045
7048
|
return ve(() => {
|
|
7046
|
-
|
|
7049
|
+
x();
|
|
7047
7050
|
}), (B, h) => {
|
|
7048
7051
|
const M = me, I = rn;
|
|
7049
7052
|
return e.isVisible ? (A(), g("div", {
|
|
@@ -7054,14 +7057,14 @@ const kd = {
|
|
|
7054
7057
|
style: fe({
|
|
7055
7058
|
"--width-host": `${d(o)}px`
|
|
7056
7059
|
}),
|
|
7057
|
-
class:
|
|
7060
|
+
class: H(["fr-multiselect__collapse fr-collapse", { "fr-collapse--expanded": d(v), "fr-collapsing": d(c) }]),
|
|
7058
7061
|
onTransitionend: h[2] || (h[2] = (T) => d(y)(d(r)))
|
|
7059
7062
|
}, [
|
|
7060
7063
|
p("p", {
|
|
7061
7064
|
id: `${e.id}-text-hint`,
|
|
7062
7065
|
class: "fr-sr-only"
|
|
7063
|
-
}, z(e.hint), 9,
|
|
7064
|
-
e.selectAll ? (A(), g("ul",
|
|
7066
|
+
}, z(e.hint), 9, Hd),
|
|
7067
|
+
e.selectAll ? (A(), g("ul", Fd, [
|
|
7065
7068
|
p("li", null, [
|
|
7066
7069
|
X(M, {
|
|
7067
7070
|
name: "select-all",
|
|
@@ -7105,7 +7108,7 @@ const kd = {
|
|
|
7105
7108
|
"legend-id": `${e.id}-checkboxes-legend`
|
|
7106
7109
|
}, {
|
|
7107
7110
|
default: G(() => [
|
|
7108
|
-
|
|
7111
|
+
F(B.$slots, "legend", {}, void 0, !0),
|
|
7109
7112
|
(A(!0), g(J, null, ae(d(D), (T) => (A(), g("div", {
|
|
7110
7113
|
key: `${a(T, e.id)}-checkbox`,
|
|
7111
7114
|
class: "fr-fieldset__element"
|
|
@@ -7120,8 +7123,8 @@ const kd = {
|
|
|
7120
7123
|
icon: T.icon,
|
|
7121
7124
|
name: `${a(T, e.id)}-checkbox`,
|
|
7122
7125
|
onKeydown: [
|
|
7123
|
-
Ae(
|
|
7124
|
-
Ae(
|
|
7126
|
+
Ae(L, ["down"]),
|
|
7127
|
+
Ae(L, ["right"]),
|
|
7125
7128
|
Ae(W, ["up"]),
|
|
7126
7129
|
Ae(W, ["left"]),
|
|
7127
7130
|
Ae(K, ["tab"])
|
|
@@ -7133,7 +7136,7 @@ const kd = {
|
|
|
7133
7136
|
_: 3
|
|
7134
7137
|
}, 8, ["id", "style", "legend", "legend-id"]),
|
|
7135
7138
|
d(D).length === 0 ? (A(), g("div", Zd, [
|
|
7136
|
-
|
|
7139
|
+
F(B.$slots, "no-results", {}, () => [
|
|
7137
7140
|
le(z(e.noResultLabel), 1)
|
|
7138
7141
|
], !0)
|
|
7139
7142
|
])) : w("", !0)
|
|
@@ -7198,13 +7201,13 @@ const kd = {
|
|
|
7198
7201
|
function C(Q) {
|
|
7199
7202
|
Q.key === "Escape" && k();
|
|
7200
7203
|
}
|
|
7201
|
-
function
|
|
7204
|
+
function x(Q) {
|
|
7202
7205
|
var h, M;
|
|
7203
7206
|
const B = Q.target;
|
|
7204
7207
|
!((h = a.value) != null && h.$el.contains(B)) && !((M = o.value) != null && M.contains(B)) && k();
|
|
7205
7208
|
}
|
|
7206
7209
|
function D() {
|
|
7207
|
-
i.value = !0, b.value = !0, document.addEventListener("click",
|
|
7210
|
+
i.value = !0, b.value = !0, document.addEventListener("click", x), document.addEventListener("keydown", C), setTimeout(() => {
|
|
7208
7211
|
c(!0);
|
|
7209
7212
|
}, 100);
|
|
7210
7213
|
}
|
|
@@ -7217,9 +7220,9 @@ const kd = {
|
|
|
7217
7220
|
b.value ? k() : D();
|
|
7218
7221
|
}
|
|
7219
7222
|
function S() {
|
|
7220
|
-
document.removeEventListener("click",
|
|
7223
|
+
document.removeEventListener("click", x), document.removeEventListener("keydown", C);
|
|
7221
7224
|
}
|
|
7222
|
-
function
|
|
7225
|
+
function L(Q) {
|
|
7223
7226
|
var h;
|
|
7224
7227
|
const B = document.activeElement;
|
|
7225
7228
|
Q.shiftKey && B === ((h = a.value) == null ? void 0 : h.$el) && k();
|
|
@@ -7242,18 +7245,18 @@ const kd = {
|
|
|
7242
7245
|
return (Q, B) => {
|
|
7243
7246
|
const h = me;
|
|
7244
7247
|
return A(), g("div", {
|
|
7245
|
-
class:
|
|
7248
|
+
class: H({
|
|
7246
7249
|
"fr-multiselect--dense": e.dense,
|
|
7247
7250
|
"fr-multiselect--unselected": e.modelValue.length === 0,
|
|
7248
7251
|
"fr-multiselect--selected": e.modelValue.length > 0
|
|
7249
7252
|
})
|
|
7250
7253
|
}, [
|
|
7251
7254
|
p("div", {
|
|
7252
|
-
class:
|
|
7255
|
+
class: H(["fr-select-group", { [`fr-select-group--${d(l)}`]: d(r) }]),
|
|
7253
7256
|
title: d(f)
|
|
7254
7257
|
}, [
|
|
7255
7258
|
p("label", {
|
|
7256
|
-
class:
|
|
7259
|
+
class: H(d(K)),
|
|
7257
7260
|
for: e.id
|
|
7258
7261
|
}, [
|
|
7259
7262
|
p("span", _d, z(e.label), 1),
|
|
@@ -7277,7 +7280,7 @@ const kd = {
|
|
|
7277
7280
|
"aria-controls": `${e.id}-collapse`,
|
|
7278
7281
|
size: e.dense ? "sm" : "md",
|
|
7279
7282
|
onClick: N,
|
|
7280
|
-
onKeydown: Ae(de(
|
|
7283
|
+
onKeydown: Ae(de(L, ["shift"]), ["tab"])
|
|
7281
7284
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "size", "onKeydown"]),
|
|
7282
7285
|
X(Gd, {
|
|
7283
7286
|
id: e.id,
|
|
@@ -7299,7 +7302,7 @@ const kd = {
|
|
|
7299
7302
|
d(r) ? (A(), g("p", {
|
|
7300
7303
|
key: 0,
|
|
7301
7304
|
id: `select-${d(l)}-desc-${d(l)}`,
|
|
7302
|
-
class:
|
|
7305
|
+
class: H(`fr-${d(l)}-text`)
|
|
7303
7306
|
}, z(d(r)), 11, nA)) : w("", !0)
|
|
7304
7307
|
], 2);
|
|
7305
7308
|
};
|
|
@@ -7330,7 +7333,7 @@ const kd = {
|
|
|
7330
7333
|
return r ? r.text : n.defaultUnselectedText;
|
|
7331
7334
|
});
|
|
7332
7335
|
return (r, l) => (A(), g("div", {
|
|
7333
|
-
class:
|
|
7336
|
+
class: H({ "fr-select--dense": n.dense })
|
|
7334
7337
|
}, [
|
|
7335
7338
|
X(d(Ec), te(n, {
|
|
7336
7339
|
title: d(i),
|
|
@@ -7345,7 +7348,7 @@ const kd = {
|
|
|
7345
7348
|
icon: {}
|
|
7346
7349
|
},
|
|
7347
7350
|
setup(e) {
|
|
7348
|
-
return (t, n) =>
|
|
7351
|
+
return (t, n) => F(t.$slots, "default");
|
|
7349
7352
|
}
|
|
7350
7353
|
}), rA = /* @__PURE__ */ j({
|
|
7351
7354
|
__name: "AvTabs",
|
|
@@ -7381,23 +7384,23 @@ const kd = {
|
|
|
7381
7384
|
}), ie(r, (y) => {
|
|
7382
7385
|
a("update:modelValue", y);
|
|
7383
7386
|
}), t({ activeTab: r }), (y, m) => {
|
|
7384
|
-
const f = Ta, b = Ma, C =
|
|
7387
|
+
const f = Ta, b = Ma, C = Lc;
|
|
7385
7388
|
return A(), R(C, {
|
|
7386
7389
|
modelValue: d(r),
|
|
7387
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
7388
|
-
class:
|
|
7390
|
+
"onUpdate:modelValue": m[0] || (m[0] = (x) => Tt(r) ? r.value = x : null),
|
|
7391
|
+
class: H({ compact: e.compact }),
|
|
7389
7392
|
"tab-list-name": e.ariaLabel ?? "Liste d’onglets",
|
|
7390
7393
|
"tab-titles": []
|
|
7391
7394
|
}, {
|
|
7392
7395
|
"tab-items": G(() => [
|
|
7393
|
-
(A(!0), g(J, null, ae(d(l), (
|
|
7396
|
+
(A(!0), g(J, null, ae(d(l), (x, D) => {
|
|
7394
7397
|
var k;
|
|
7395
7398
|
return A(), R(f, {
|
|
7396
7399
|
key: D,
|
|
7397
|
-
class:
|
|
7400
|
+
class: H({ compact: e.compact }),
|
|
7398
7401
|
"tab-id": `tab-${D}`,
|
|
7399
7402
|
"panel-id": `panel-${D}`,
|
|
7400
|
-
icon: (k =
|
|
7403
|
+
icon: (k = x.props) == null ? void 0 : k.icon,
|
|
7401
7404
|
onClick: (N) => r.value = D,
|
|
7402
7405
|
onNext: u,
|
|
7403
7406
|
onPrevious: s,
|
|
@@ -7407,7 +7410,7 @@ const kd = {
|
|
|
7407
7410
|
default: G(() => {
|
|
7408
7411
|
var N;
|
|
7409
7412
|
return [
|
|
7410
|
-
le(z((N =
|
|
7413
|
+
le(z((N = x.props) == null ? void 0 : N.title), 1)
|
|
7411
7414
|
];
|
|
7412
7415
|
}),
|
|
7413
7416
|
_: 2
|
|
@@ -7415,13 +7418,13 @@ const kd = {
|
|
|
7415
7418
|
}), 128))
|
|
7416
7419
|
]),
|
|
7417
7420
|
default: G(() => [
|
|
7418
|
-
(A(!0), g(J, null, ae(d(l), (
|
|
7421
|
+
(A(!0), g(J, null, ae(d(l), (x, D) => (A(), R(b, {
|
|
7419
7422
|
key: D,
|
|
7420
7423
|
"panel-id": `panel-${D}`,
|
|
7421
7424
|
"tab-id": `tab-${D}`
|
|
7422
7425
|
}, {
|
|
7423
7426
|
default: G(() => [
|
|
7424
|
-
(A(), R(Ce(
|
|
7427
|
+
(A(), R(Ce(x.children.default)))
|
|
7425
7428
|
]),
|
|
7426
7429
|
_: 2
|
|
7427
7430
|
}, 1032, ["panel-id", "tab-id"]))), 128))
|
|
@@ -7457,12 +7460,12 @@ const kd = {
|
|
|
7457
7460
|
p("label", {
|
|
7458
7461
|
id: d(a),
|
|
7459
7462
|
for: d(n),
|
|
7460
|
-
class:
|
|
7463
|
+
class: H(["av-toggle", {
|
|
7461
7464
|
"av-toggle--disabled": e.disabled
|
|
7462
7465
|
}])
|
|
7463
7466
|
}, [
|
|
7464
7467
|
p("div", {
|
|
7465
|
-
class:
|
|
7468
|
+
class: H(["toggle", {
|
|
7466
7469
|
"toggle--disabled": e.disabled
|
|
7467
7470
|
}])
|
|
7468
7471
|
}, [
|
|
@@ -7522,10 +7525,10 @@ const kd = {
|
|
|
7522
7525
|
}), mv = /* @__PURE__ */ Y(hA, [["__scopeId", "data-v-433349ab"]]), bA = ["aria-label"], IA = { class: "fr-pagination__list" }, yA = { key: 0 }, pA = { class: "b2-regular" }, CA = ["href", "title", "aria-disabled"], EA = { class: "fr-sr-only" }, MA = ["href", "title", "aria-disabled"], TA = {
|
|
7523
7526
|
key: 0,
|
|
7524
7527
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
7525
|
-
}, NA = ["href", "title", "aria-current", "onClick"], kA = { key: 0 }, wA = { key: 1 }, OA = ["href", "title", "disabled", "aria-disabled"],
|
|
7528
|
+
}, NA = ["href", "title", "aria-current", "onClick"], kA = { key: 0 }, wA = { key: 1 }, OA = ["href", "title", "disabled", "aria-disabled"], LA = {
|
|
7526
7529
|
key: 0,
|
|
7527
7530
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
7528
|
-
},
|
|
7531
|
+
}, xA = ["href", "title", "disabled", "aria-disabled"], DA = { class: "fr-sr-only" }, QA = /* @__PURE__ */ j({
|
|
7529
7532
|
__name: "AvPagination",
|
|
7530
7533
|
props: {
|
|
7531
7534
|
compact: { type: Boolean, default: !1 },
|
|
@@ -7543,7 +7546,7 @@ const kd = {
|
|
|
7543
7546
|
setup(e, { emit: t }) {
|
|
7544
7547
|
const n = t, a = E(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = E(() => Math.min(e.pages.length - 1, a.value + e.truncLimit)), r = E(() => e.pages.length > e.truncLimit ? e.pages.slice(a.value, i.value + 1) : e.pages), l = (m) => n("update:current-page", m), o = (m) => l(m), s = () => o(0), u = () => o(Math.max(0, e.currentPage - 1)), c = () => o(Math.min(e.pages.length - 1, e.currentPage + 1)), v = () => o(e.pages.length - 1), y = (m) => e.pages.indexOf(m) === e.currentPage;
|
|
7545
7548
|
return (m, f) => {
|
|
7546
|
-
var b, C,
|
|
7549
|
+
var b, C, x, D;
|
|
7547
7550
|
return A(), g("nav", {
|
|
7548
7551
|
role: "navigation",
|
|
7549
7552
|
class: "fr-pagination",
|
|
@@ -7601,14 +7604,14 @@ const kd = {
|
|
|
7601
7604
|
]))), 128)),
|
|
7602
7605
|
p("li", null, [
|
|
7603
7606
|
p("a", {
|
|
7604
|
-
href: (
|
|
7607
|
+
href: (x = e.pages[Math.min(e.currentPage + 1, e.pages.length - 1)]) == null ? void 0 : x.href,
|
|
7605
7608
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
7606
7609
|
title: e.nextPageLabel,
|
|
7607
7610
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
7608
7611
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
7609
7612
|
onClick: f[2] || (f[2] = de((k) => c(), ["prevent"]))
|
|
7610
7613
|
}, [
|
|
7611
|
-
e.compact ? w("", !0) : (A(), g("span",
|
|
7614
|
+
e.compact ? w("", !0) : (A(), g("span", LA, z(e.nextPageLabel), 1)),
|
|
7612
7615
|
X(se, {
|
|
7613
7616
|
name: d($).NAVIGATE_NEXT,
|
|
7614
7617
|
size: 1.5,
|
|
@@ -7632,7 +7635,7 @@ const kd = {
|
|
|
7632
7635
|
size: 1.5,
|
|
7633
7636
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
7634
7637
|
}, null, 8, ["name", "color"])
|
|
7635
|
-
], 8,
|
|
7638
|
+
], 8, xA))
|
|
7636
7639
|
])
|
|
7637
7640
|
])
|
|
7638
7641
|
], 8, bA);
|
|
@@ -7682,7 +7685,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7682
7685
|
}
|
|
7683
7686
|
return (c, v) => (A(), g("nav", {
|
|
7684
7687
|
id: d(r),
|
|
7685
|
-
class:
|
|
7688
|
+
class: H(["av-side-menu", { "av-side-menu--collapsed": d(o) }]),
|
|
7686
7689
|
"aria-label": d(l)
|
|
7687
7690
|
}, [
|
|
7688
7691
|
t.collapsible ? (A(), g("div", zA, [
|
|
@@ -7697,7 +7700,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7697
7700
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
7698
7701
|
])) : w("", !0),
|
|
7699
7702
|
p("div", BA, [
|
|
7700
|
-
|
|
7703
|
+
F(c.$slots, "default", {}, void 0, !0)
|
|
7701
7704
|
])
|
|
7702
7705
|
], 10, SA));
|
|
7703
7706
|
}
|
|
@@ -7744,7 +7747,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7744
7747
|
"hover-background-color": e.selectedItemColor,
|
|
7745
7748
|
tag: "button",
|
|
7746
7749
|
role: "menuitem",
|
|
7747
|
-
class:
|
|
7750
|
+
class: H(["av-side-navigation__menu-item", {
|
|
7748
7751
|
"av-side-navigation__menu-item--collapsed": n.value
|
|
7749
7752
|
}]),
|
|
7750
7753
|
clickable: "",
|
|
@@ -7757,7 +7760,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7757
7760
|
_: 1
|
|
7758
7761
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
7759
7762
|
}
|
|
7760
|
-
}), bv = /* @__PURE__ */ Y(WA, [["__scopeId", "data-v-3c5a1abd"]]), VA = { class: "custom-width-container" }, UA = { class: "block-container" },
|
|
7763
|
+
}), bv = /* @__PURE__ */ Y(WA, [["__scopeId", "data-v-3c5a1abd"]]), VA = { class: "custom-width-container" }, UA = { class: "block-container" }, HA = { class: "main-container" }, FA = ["aria-current"], qA = ["aria-current"], RA = { class: "b1-regular" }, XA = { class: "main-labels-container" }, ZA = /* @__PURE__ */ j({
|
|
7761
7764
|
__name: "AvStepper",
|
|
7762
7765
|
props: {
|
|
7763
7766
|
steps: {},
|
|
@@ -7771,22 +7774,22 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7771
7774
|
const t = e, { steps: n, currentStep: a, width: i } = _t(t);
|
|
7772
7775
|
return (r, l) => (A(), g("div", VA, [
|
|
7773
7776
|
p("div", UA, [
|
|
7774
|
-
p("div",
|
|
7777
|
+
p("div", HA, [
|
|
7775
7778
|
p("div", {
|
|
7776
7779
|
class: "step step--active",
|
|
7777
7780
|
"aria-current": d(a) === 0 ? "step" : void 0
|
|
7778
7781
|
}, [...l[0] || (l[0] = [
|
|
7779
7782
|
p("span", { class: "b1-regular" }, "1", -1)
|
|
7780
|
-
])], 8,
|
|
7783
|
+
])], 8, FA),
|
|
7781
7784
|
(A(!0), g(J, null, ae(d(n).slice(1, d(n).length), (o, s) => (A(), g("div", {
|
|
7782
7785
|
key: s,
|
|
7783
7786
|
class: "steps-container"
|
|
7784
7787
|
}, [
|
|
7785
7788
|
p("div", {
|
|
7786
|
-
class:
|
|
7789
|
+
class: H(["separator", { "separator--active": s + 1 <= d(a) }])
|
|
7787
7790
|
}, null, 2),
|
|
7788
7791
|
p("div", {
|
|
7789
|
-
class:
|
|
7792
|
+
class: H(["step", { "step--active": s + 1 <= d(a) }]),
|
|
7790
7793
|
"aria-current": s + 1 === d(a) ? "step" : void 0
|
|
7791
7794
|
}, [
|
|
7792
7795
|
p("span", RA, z(s + 2), 1)
|
|
@@ -7799,7 +7802,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7799
7802
|
class: "label-container"
|
|
7800
7803
|
}, [
|
|
7801
7804
|
p("span", {
|
|
7802
|
-
class:
|
|
7805
|
+
class: H(["label", {
|
|
7803
7806
|
"b1-bold": s <= d(a),
|
|
7804
7807
|
"b1-light": s > d(a)
|
|
7805
7808
|
}])
|
|
@@ -7846,17 +7849,17 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7846
7849
|
}), (c, v) => d(s) ? (A(), g("div", YA, [
|
|
7847
7850
|
e.backdrop ? (A(), g("div", KA)) : w("", !0),
|
|
7848
7851
|
p("div", {
|
|
7849
|
-
class:
|
|
7852
|
+
class: H(["av-drawer", `av-drawer--${d(r)}`]),
|
|
7850
7853
|
role: "dialog",
|
|
7851
7854
|
"aria-modal": "true",
|
|
7852
7855
|
"aria-label": e.ariaLabel
|
|
7853
7856
|
}, [
|
|
7854
7857
|
p("div", JA, [
|
|
7855
7858
|
p("div", $A, [
|
|
7856
|
-
|
|
7859
|
+
F(c.$slots, "default", {}, void 0, !0)
|
|
7857
7860
|
]),
|
|
7858
7861
|
i.footer ? (A(), g("div", _A, [
|
|
7859
|
-
|
|
7862
|
+
F(c.$slots, "footer", {}, void 0, !0)
|
|
7860
7863
|
])) : w("", !0)
|
|
7861
7864
|
])
|
|
7862
7865
|
], 10, GA)
|
|
@@ -7919,7 +7922,7 @@ function pv() {
|
|
|
7919
7922
|
* tabbable 6.2.0
|
|
7920
7923
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
7921
7924
|
*/
|
|
7922
|
-
var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], bt = /* @__PURE__ */ Pa.join(","), Wa = typeof Element > "u",
|
|
7925
|
+
var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], bt = /* @__PURE__ */ Pa.join(","), Wa = typeof Element > "u", xe = Wa ? function() {
|
|
7923
7926
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, It = !Wa && Element.prototype.getRootNode ? function(e) {
|
|
7924
7927
|
var t;
|
|
7925
7928
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -7937,7 +7940,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
7937
7940
|
if (yt(t))
|
|
7938
7941
|
return [];
|
|
7939
7942
|
var i = Array.prototype.slice.apply(t.querySelectorAll(bt));
|
|
7940
|
-
return n &&
|
|
7943
|
+
return n && xe.call(t, bt) && i.unshift(t), i = i.filter(a), i;
|
|
7941
7944
|
}, Ua = function e(t, n, a) {
|
|
7942
7945
|
for (var i = [], r = Array.from(t); r.length; ) {
|
|
7943
7946
|
var l = r.shift();
|
|
@@ -7949,7 +7952,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
7949
7952
|
candidates: u
|
|
7950
7953
|
});
|
|
7951
7954
|
} else {
|
|
7952
|
-
var c =
|
|
7955
|
+
var c = xe.call(l, bt);
|
|
7953
7956
|
c && a.filter(l) && (n || !t.includes(l)) && i.push(l);
|
|
7954
7957
|
var v = l.shadowRoot || // check for an undisclosed shadow
|
|
7955
7958
|
typeof a.getShadowRoot == "function" && a.getShadowRoot(l), y = !yt(v, !1) && (!a.shadowRootFilter || a.shadowRootFilter(l));
|
|
@@ -7964,21 +7967,21 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
7964
7967
|
}
|
|
7965
7968
|
}
|
|
7966
7969
|
return i;
|
|
7967
|
-
},
|
|
7970
|
+
}, Ha = function(t) {
|
|
7968
7971
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
7969
7972
|
}, Oe = function(t) {
|
|
7970
7973
|
if (!t)
|
|
7971
7974
|
throw new Error("No node provided");
|
|
7972
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || af(t)) && !
|
|
7975
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || af(t)) && !Ha(t) ? 0 : t.tabIndex;
|
|
7973
7976
|
}, rf = function(t, n) {
|
|
7974
7977
|
var a = Oe(t);
|
|
7975
|
-
return a < 0 && n && !
|
|
7978
|
+
return a < 0 && n && !Ha(t) ? 0 : a;
|
|
7976
7979
|
}, lf = function(t, n) {
|
|
7977
7980
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
7978
|
-
},
|
|
7981
|
+
}, Fa = function(t) {
|
|
7979
7982
|
return t.tagName === "INPUT";
|
|
7980
7983
|
}, of = function(t) {
|
|
7981
|
-
return
|
|
7984
|
+
return Fa(t) && t.type === "hidden";
|
|
7982
7985
|
}, sf = function(t) {
|
|
7983
7986
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
|
|
7984
7987
|
return a.tagName === "SUMMARY";
|
|
@@ -8005,7 +8008,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8005
8008
|
var r = cf(i, t.form);
|
|
8006
8009
|
return !r || r === t;
|
|
8007
8010
|
}, df = function(t) {
|
|
8008
|
-
return
|
|
8011
|
+
return Fa(t) && t.type === "radio";
|
|
8009
8012
|
}, Af = function(t) {
|
|
8010
8013
|
return df(t) && !uf(t);
|
|
8011
8014
|
}, ff = function(t) {
|
|
@@ -8025,8 +8028,8 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8025
8028
|
var a = n.displayCheck, i = n.getShadowRoot;
|
|
8026
8029
|
if (getComputedStyle(t).visibility === "hidden")
|
|
8027
8030
|
return !0;
|
|
8028
|
-
var r =
|
|
8029
|
-
if (
|
|
8031
|
+
var r = xe.call(t, "details>summary:first-of-type"), l = r ? t.parentElement : t;
|
|
8032
|
+
if (xe.call(l, "details:not([open]) *"))
|
|
8030
8033
|
return !0;
|
|
8031
8034
|
if (!a || a === "full" || a === "legacy-full") {
|
|
8032
8035
|
if (typeof i == "function") {
|
|
@@ -8052,7 +8055,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8052
8055
|
for (var a = 0; a < n.children.length; a++) {
|
|
8053
8056
|
var i = n.children.item(a);
|
|
8054
8057
|
if (i.tagName === "LEGEND")
|
|
8055
|
-
return
|
|
8058
|
+
return xe.call(n, "fieldset[disabled] *") ? !0 : !i.contains(t);
|
|
8056
8059
|
}
|
|
8057
8060
|
return !0;
|
|
8058
8061
|
}
|
|
@@ -8104,11 +8107,11 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8104
8107
|
}, Be = function(t, n) {
|
|
8105
8108
|
if (n = n || {}, !t)
|
|
8106
8109
|
throw new Error("No node provided");
|
|
8107
|
-
return
|
|
8110
|
+
return xe.call(t, bt) === !1 ? !1 : Yt(n, t);
|
|
8108
8111
|
}, yf = /* @__PURE__ */ Pa.concat("iframe").join(","), Pt = function(t, n) {
|
|
8109
8112
|
if (n = n || {}, !t)
|
|
8110
8113
|
throw new Error("No node provided");
|
|
8111
|
-
return
|
|
8114
|
+
return xe.call(t, yf) === !1 ? !1 : pt(n, t);
|
|
8112
8115
|
};
|
|
8113
8116
|
/*!
|
|
8114
8117
|
* focus-trap 7.6.5
|
|
@@ -8197,11 +8200,11 @@ var Yn = {
|
|
|
8197
8200
|
}
|
|
8198
8201
|
}, Of = function(t) {
|
|
8199
8202
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
8200
|
-
},
|
|
8203
|
+
}, Lf = function(t) {
|
|
8201
8204
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
8202
8205
|
}, et = function(t) {
|
|
8203
8206
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
8204
|
-
},
|
|
8207
|
+
}, xf = function(t) {
|
|
8205
8208
|
return et(t) && !t.shiftKey;
|
|
8206
8209
|
}, Df = function(t) {
|
|
8207
8210
|
return et(t) && t.shiftKey;
|
|
@@ -8218,7 +8221,7 @@ var Yn = {
|
|
|
8218
8221
|
returnFocusOnDeactivate: !0,
|
|
8219
8222
|
escapeDeactivates: !0,
|
|
8220
8223
|
delayInitialFocus: !0,
|
|
8221
|
-
isKeyForward:
|
|
8224
|
+
isKeyForward: xf,
|
|
8222
8225
|
isKeyBackward: Df
|
|
8223
8226
|
}, n), l = {
|
|
8224
8227
|
// containers given to createFocusTrap()
|
|
@@ -8389,18 +8392,18 @@ var Yn = {
|
|
|
8389
8392
|
if (U < 0)
|
|
8390
8393
|
P ? Z = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : Z = l.tabbableGroups[0].firstTabbableNode;
|
|
8391
8394
|
else if (P) {
|
|
8392
|
-
var ne = l.tabbableGroups.findIndex(function(
|
|
8393
|
-
var
|
|
8394
|
-
return T ===
|
|
8395
|
+
var ne = l.tabbableGroups.findIndex(function(Lt) {
|
|
8396
|
+
var xt = Lt.firstTabbableNode;
|
|
8397
|
+
return T === xt;
|
|
8395
8398
|
});
|
|
8396
8399
|
if (ne < 0 && (_.container === T || Pt(T, r.tabbableOptions) && !Be(T, r.tabbableOptions) && !_.nextTabbableNode(T, !1)) && (ne = U), ne >= 0) {
|
|
8397
8400
|
var oe = ne === 0 ? l.tabbableGroups.length - 1 : ne - 1, Ne = l.tabbableGroups[oe];
|
|
8398
8401
|
Z = Oe(T) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
|
|
8399
8402
|
} else et(O) || (Z = _.nextTabbableNode(T, !1));
|
|
8400
8403
|
} else {
|
|
8401
|
-
var he = l.tabbableGroups.findIndex(function(
|
|
8402
|
-
var
|
|
8403
|
-
return T ===
|
|
8404
|
+
var he = l.tabbableGroups.findIndex(function(Lt) {
|
|
8405
|
+
var xt = Lt.lastTabbableNode;
|
|
8406
|
+
return T === xt;
|
|
8404
8407
|
});
|
|
8405
8408
|
if (he < 0 && (_.container === T || Pt(T, r.tabbableOptions) && !Be(T, r.tabbableOptions) && !_.nextTabbableNode(T)) && (he = U), he >= 0) {
|
|
8406
8409
|
var ye = he === l.tabbableGroups.length - 1 ? 0 : he + 1, Qe = l.tabbableGroups[ye];
|
|
@@ -8410,7 +8413,7 @@ var Yn = {
|
|
|
8410
8413
|
} else
|
|
8411
8414
|
Z = c("fallbackFocus");
|
|
8412
8415
|
return Z;
|
|
8413
|
-
},
|
|
8416
|
+
}, x = function(I) {
|
|
8414
8417
|
var T = rt(I);
|
|
8415
8418
|
if (!(u(T, I) >= 0)) {
|
|
8416
8419
|
if (Je(r.clickOutsideDeactivates, I)) {
|
|
@@ -8470,21 +8473,21 @@ var Yn = {
|
|
|
8470
8473
|
}, N = function(I) {
|
|
8471
8474
|
(r.isKeyForward(I) || r.isKeyBackward(I)) && k(I, r.isKeyBackward(I));
|
|
8472
8475
|
}, S = function(I) {
|
|
8473
|
-
|
|
8474
|
-
},
|
|
8476
|
+
Lf(I) && Je(r.escapeDeactivates, I) !== !1 && (I.preventDefault(), o.deactivate());
|
|
8477
|
+
}, L = function(I) {
|
|
8475
8478
|
var T = rt(I);
|
|
8476
8479
|
u(T, I) >= 0 || Je(r.clickOutsideDeactivates, I) || Je(r.allowOutsideClick, I) || (I.preventDefault(), I.stopImmediatePropagation());
|
|
8477
8480
|
}, W = function() {
|
|
8478
8481
|
if (l.active)
|
|
8479
8482
|
return Yn.activateTrap(i, o), l.delayInitialFocusTimer = r.delayInitialFocus ? Kn(function() {
|
|
8480
8483
|
f(v());
|
|
8481
|
-
}) : f(v()), a.addEventListener("focusin", D, !0), a.addEventListener("mousedown",
|
|
8484
|
+
}) : f(v()), a.addEventListener("focusin", D, !0), a.addEventListener("mousedown", x, {
|
|
8482
8485
|
capture: !0,
|
|
8483
8486
|
passive: !1
|
|
8484
|
-
}), a.addEventListener("touchstart",
|
|
8487
|
+
}), a.addEventListener("touchstart", x, {
|
|
8485
8488
|
capture: !0,
|
|
8486
8489
|
passive: !1
|
|
8487
|
-
}), a.addEventListener("click",
|
|
8490
|
+
}), a.addEventListener("click", L, {
|
|
8488
8491
|
capture: !0,
|
|
8489
8492
|
passive: !1
|
|
8490
8493
|
}), a.addEventListener("keydown", N, {
|
|
@@ -8493,7 +8496,7 @@ var Yn = {
|
|
|
8493
8496
|
}), a.addEventListener("keydown", S), o;
|
|
8494
8497
|
}, K = function() {
|
|
8495
8498
|
if (l.active)
|
|
8496
|
-
return a.removeEventListener("focusin", D, !0), a.removeEventListener("mousedown",
|
|
8499
|
+
return a.removeEventListener("focusin", D, !0), a.removeEventListener("mousedown", x, !0), a.removeEventListener("touchstart", x, !0), a.removeEventListener("click", L, !0), a.removeEventListener("keydown", N, !0), a.removeEventListener("keydown", S), o;
|
|
8497
8500
|
}, Q = function(I) {
|
|
8498
8501
|
var T = I.some(function(O) {
|
|
8499
8502
|
var V = Array.from(O.removedNodes);
|
|
@@ -8639,7 +8642,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8639
8642
|
ref: c,
|
|
8640
8643
|
class: "av-popover-trigger-wrapper"
|
|
8641
8644
|
}, [
|
|
8642
|
-
|
|
8645
|
+
F(v.$slots, "trigger", { toggle: d(l) }, void 0, !0)
|
|
8643
8646
|
]),
|
|
8644
8647
|
(A(), R(_n, { to: "body" }, [
|
|
8645
8648
|
d(i) ? (A(), g("div", {
|
|
@@ -8655,7 +8658,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8655
8658
|
["prevent"]
|
|
8656
8659
|
), ["esc"]))
|
|
8657
8660
|
}, [
|
|
8658
|
-
|
|
8661
|
+
F(v.$slots, "popover", { close: d(o) }, void 0, !0)
|
|
8659
8662
|
], 36)) : w("", !0)
|
|
8660
8663
|
]))
|
|
8661
8664
|
]));
|
|
@@ -8717,7 +8720,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8717
8720
|
}), Ev = /* @__PURE__ */ Y(Vf, [["__scopeId", "data-v-59887d17"]]), Uf = {
|
|
8718
8721
|
key: 0,
|
|
8719
8722
|
class: "header"
|
|
8720
|
-
},
|
|
8723
|
+
}, Hf = { class: "footer" }, Ff = /* @__PURE__ */ j({
|
|
8721
8724
|
__name: "AvModal",
|
|
8722
8725
|
props: {
|
|
8723
8726
|
modalId: {},
|
|
@@ -8738,7 +8741,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8738
8741
|
setup(e, { emit: t }) {
|
|
8739
8742
|
const n = Gn(e, ["isLoading"]), a = t, i = ge(), r = E(() => n.closeButtonIcon ?? $.CLOSE_CIRCLE_OUTLINE), l = E(() => n.confirmButtonIcon ?? $.CHECK_CIRCLE_OUTLINE);
|
|
8740
8743
|
return (o, s) => {
|
|
8741
|
-
const u =
|
|
8744
|
+
const u = Hc, c = Hs;
|
|
8742
8745
|
return A(), R(_n, { to: "body" }, [
|
|
8743
8746
|
X(c, te(n, {
|
|
8744
8747
|
title: "",
|
|
@@ -8746,12 +8749,12 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8746
8749
|
}), {
|
|
8747
8750
|
default: G(() => [
|
|
8748
8751
|
i.header ? (A(), g("div", Uf, [
|
|
8749
|
-
|
|
8752
|
+
F(o.$slots, "header", {}, void 0, !0)
|
|
8750
8753
|
])) : w("", !0),
|
|
8751
|
-
|
|
8754
|
+
F(o.$slots, "default", {}, void 0, !0)
|
|
8752
8755
|
]),
|
|
8753
8756
|
footer: G(() => [
|
|
8754
|
-
p("div",
|
|
8757
|
+
p("div", Hf, [
|
|
8755
8758
|
X(u, {
|
|
8756
8759
|
"cancel-label": n.closeButtonLabel,
|
|
8757
8760
|
"cancel-icon": d(r),
|
|
@@ -8764,7 +8767,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8764
8767
|
onCancel: s[0] || (s[0] = () => a("close")),
|
|
8765
8768
|
onConfirm: s[1] || (s[1] = () => a("confirm"))
|
|
8766
8769
|
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
8767
|
-
|
|
8770
|
+
F(o.$slots, "footer", {}, void 0, !0)
|
|
8768
8771
|
])
|
|
8769
8772
|
]),
|
|
8770
8773
|
_: 3
|
|
@@ -8772,7 +8775,7 @@ const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
|
8772
8775
|
]);
|
|
8773
8776
|
};
|
|
8774
8777
|
}
|
|
8775
|
-
}), Mv = /* @__PURE__ */ Y(
|
|
8778
|
+
}), Mv = /* @__PURE__ */ Y(Ff, [["__scopeId", "data-v-aef6262c"]]);
|
|
8776
8779
|
export {
|
|
8777
8780
|
nf as AV_BREAKPOINTS,
|
|
8778
8781
|
tv as AvAccordion,
|
|
@@ -8782,7 +8785,7 @@ export {
|
|
|
8782
8785
|
Xf as AvBadge,
|
|
8783
8786
|
vv as AvBreadcrumb,
|
|
8784
8787
|
me as AvButton,
|
|
8785
|
-
|
|
8788
|
+
Hc as AvCancelConfirmButtons,
|
|
8786
8789
|
Yf as AvCard,
|
|
8787
8790
|
_c as AvCheckbox,
|
|
8788
8791
|
yv as AvDrawer,
|
|
@@ -8797,7 +8800,7 @@ export {
|
|
|
8797
8800
|
Tn as AvLanguageSelector,
|
|
8798
8801
|
Na as AvList,
|
|
8799
8802
|
ka as AvListItem,
|
|
8800
|
-
|
|
8803
|
+
Hr as AvLogo,
|
|
8801
8804
|
Mv as AvModal,
|
|
8802
8805
|
cv as AvMultiselect,
|
|
8803
8806
|
mv as AvNavigation,
|