@avenirs-esr/avenirs-dsav 0.1.54 → 0.1.56
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/README.md +1 -1
- package/dist/avenirs-dsav.css +1 -1
- package/dist/components/overlay/index.d.ts +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +169 -159
- package/dist/test-utils.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, h as
|
|
1
|
+
import { defineComponent as j, h as fn, createElementBlock as m, openBlock as d, normalizeClass as R, createElementVNode as p, toDisplayString as z, createCommentVNode as k, renderSlot as S, createTextVNode as ne, ref as X, computed as C, watch as ue, withModifiers as fe, unref as f, Fragment as _, renderList as oe, createVNode as K, withKeys as ge, withCtx as G, provide as Tt, onUnmounted as ye, inject as qe, toRef as Nt, onMounted as me, createBlock as H, resolveDynamicComponent as be, useId as Ra, mergeProps as J, reactive as qt, normalizeStyle as Ce, useTemplateRef as Xa, resolveComponent as wt, nextTick as Ue, normalizeProps as He, useAttrs as Za, mergeModels as Ee, useModel as Le, useCssVars as Ae, Transition as Ya, withDirectives as Gn, vShow as Ka, hasInjectionContext as _t, onBeforeUnmount as $t, Comment as Ga, cloneVNode as Ja, vModelCheckbox as _a, guardReactiveProps as en, createPropsRestProxy as Jn, useSlots as he, TransitionGroup as $a, createSlots as et, isRef as tn, getCurrentScope as er, onScopeDispose as tr, getCurrentInstance as nn, toValue as de, shallowRef as Ne, watchEffect as nr, toRefs as an, Teleport as _n } from "vue";
|
|
2
2
|
const $n = /^[a-z0-9]+(-[a-z0-9]+)*$/, kt = (e, t, n, a = "") => {
|
|
3
3
|
const r = e.split(":");
|
|
4
4
|
if (e.slice(0, 1) === "@") {
|
|
@@ -62,7 +62,7 @@ function ar(e, t) {
|
|
|
62
62
|
const a = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
63
63
|
return a && (n.rotate = a), n;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function vn(e, t) {
|
|
66
66
|
const n = ar(e, t);
|
|
67
67
|
for (const a in Ut)
|
|
68
68
|
a in vt ? a in e && !(a in n) && (n[a] = vt[a]) : a in t ? n[a] = t[a] : a in e && (n[a] = e[a]);
|
|
@@ -86,12 +86,12 @@ function ir(e, t, n) {
|
|
|
86
86
|
const a = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null);
|
|
87
87
|
let i = {};
|
|
88
88
|
function l(s) {
|
|
89
|
-
i =
|
|
89
|
+
i = vn(
|
|
90
90
|
a[s] || r[s],
|
|
91
91
|
i
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
|
-
return l(t), n.forEach(l),
|
|
94
|
+
return l(t), n.forEach(l), vn(e, i);
|
|
95
95
|
}
|
|
96
96
|
function ta(e, t) {
|
|
97
97
|
const n = [];
|
|
@@ -155,7 +155,7 @@ function na(e) {
|
|
|
155
155
|
}
|
|
156
156
|
return t;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
158
|
+
const mn = /* @__PURE__ */ Object.create(null);
|
|
159
159
|
function or(e, t) {
|
|
160
160
|
return {
|
|
161
161
|
provider: e,
|
|
@@ -165,7 +165,7 @@ function or(e, t) {
|
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
167
|
function We(e, t) {
|
|
168
|
-
const n =
|
|
168
|
+
const n = mn[e] || (mn[e] = /* @__PURE__ */ Object.create(null));
|
|
169
169
|
return n[t] || (n[t] = or(e, t));
|
|
170
170
|
}
|
|
171
171
|
function aa(e, t) {
|
|
@@ -226,7 +226,7 @@ const ia = Object.freeze({
|
|
|
226
226
|
// Transformations
|
|
227
227
|
...vt
|
|
228
228
|
}), Ar = /(-?[0-9.]*[0-9]+[0-9.]*)/g, fr = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
229
|
-
function
|
|
229
|
+
function gn(e, t, n) {
|
|
230
230
|
if (t === 1)
|
|
231
231
|
return e;
|
|
232
232
|
if (n = n || 100, typeof e == "number")
|
|
@@ -322,7 +322,7 @@ function hr(e, t) {
|
|
|
322
322
|
});
|
|
323
323
|
const l = a.width, s = a.height, o = r.width, u = r.height;
|
|
324
324
|
let c, A;
|
|
325
|
-
l === null ? (A = s === null ? "1em" : s === "auto" ? u : s, c =
|
|
325
|
+
l === null ? (A = s === null ? "1em" : s === "auto" ? u : s, c = gn(A, o / u)) : (c = l === "auto" ? o : l, A = s === null ? gn(c, u / o) : s === "auto" ? u : s);
|
|
326
326
|
const b = {}, g = (I, y) => {
|
|
327
327
|
br(y) || (b[I] = y.toString());
|
|
328
328
|
};
|
|
@@ -361,7 +361,7 @@ function Er(e, t) {
|
|
|
361
361
|
function Ft(e) {
|
|
362
362
|
return Ht[e] || Ht[""];
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function rn(e) {
|
|
365
365
|
let t;
|
|
366
366
|
if (typeof e.resources == "string")
|
|
367
367
|
t = [e.resources];
|
|
@@ -386,21 +386,21 @@ function an(e) {
|
|
|
386
386
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
const
|
|
389
|
+
const ln = /* @__PURE__ */ Object.create(null), Xe = [
|
|
390
390
|
"https://api.simplesvg.com",
|
|
391
391
|
"https://api.unisvg.com"
|
|
392
392
|
], dt = [];
|
|
393
393
|
for (; Xe.length > 0; )
|
|
394
394
|
Xe.length === 1 || Math.random() > 0.5 ? dt.push(Xe.shift()) : dt.push(Xe.pop());
|
|
395
|
-
|
|
395
|
+
ln[""] = rn({
|
|
396
396
|
resources: ["https://api.iconify.design"].concat(dt)
|
|
397
397
|
});
|
|
398
398
|
function Mr(e, t) {
|
|
399
|
-
const n =
|
|
400
|
-
return n === null ? !1 : (
|
|
399
|
+
const n = rn(t);
|
|
400
|
+
return n === null ? !1 : (ln[e] = n, !0);
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return
|
|
402
|
+
function on(e) {
|
|
403
|
+
return ln[e];
|
|
404
404
|
}
|
|
405
405
|
const Tr = () => {
|
|
406
406
|
let e;
|
|
@@ -410,9 +410,9 @@ const Tr = () => {
|
|
|
410
410
|
} catch {
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
|
-
let
|
|
413
|
+
let bn = Tr();
|
|
414
414
|
function Nr(e, t) {
|
|
415
|
-
const n =
|
|
415
|
+
const n = on(e);
|
|
416
416
|
if (!n)
|
|
417
417
|
return 0;
|
|
418
418
|
let a;
|
|
@@ -450,14 +450,14 @@ const kr = (e, t, n) => {
|
|
|
450
450
|
};
|
|
451
451
|
function Or(e) {
|
|
452
452
|
if (typeof e == "string") {
|
|
453
|
-
const t =
|
|
453
|
+
const t = on(e);
|
|
454
454
|
if (t)
|
|
455
455
|
return t.path;
|
|
456
456
|
}
|
|
457
457
|
return "/";
|
|
458
458
|
}
|
|
459
459
|
const Dr = (e, t, n) => {
|
|
460
|
-
if (!
|
|
460
|
+
if (!bn) {
|
|
461
461
|
n("abort", 424);
|
|
462
462
|
return;
|
|
463
463
|
}
|
|
@@ -480,7 +480,7 @@ const Dr = (e, t, n) => {
|
|
|
480
480
|
return;
|
|
481
481
|
}
|
|
482
482
|
let r = 503;
|
|
483
|
-
|
|
483
|
+
bn(e + a).then((i) => {
|
|
484
484
|
const l = i.status;
|
|
485
485
|
if (l !== 200) {
|
|
486
486
|
setTimeout(() => {
|
|
@@ -741,12 +741,12 @@ function sa(e) {
|
|
|
741
741
|
cleanup: a
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function hn() {
|
|
745
745
|
}
|
|
746
746
|
const St = /* @__PURE__ */ Object.create(null);
|
|
747
747
|
function Wr(e) {
|
|
748
748
|
if (!St[e]) {
|
|
749
|
-
const t =
|
|
749
|
+
const t = on(e);
|
|
750
750
|
if (!t)
|
|
751
751
|
return;
|
|
752
752
|
const n = sa(t), a = {
|
|
@@ -762,21 +762,21 @@ function Vr(e, t, n) {
|
|
|
762
762
|
if (typeof e == "string") {
|
|
763
763
|
const i = Ft(e);
|
|
764
764
|
if (!i)
|
|
765
|
-
return n(void 0, 424),
|
|
765
|
+
return n(void 0, 424), hn;
|
|
766
766
|
r = i.send;
|
|
767
767
|
const l = Wr(e);
|
|
768
768
|
l && (a = l.redundancy);
|
|
769
769
|
} else {
|
|
770
|
-
const i =
|
|
770
|
+
const i = rn(e);
|
|
771
771
|
if (i) {
|
|
772
772
|
a = sa(i);
|
|
773
773
|
const l = e.resources ? e.resources[0] : "", s = Ft(l);
|
|
774
774
|
s && (r = s.send);
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
|
-
return !a || !r ? (n(void 0, 424),
|
|
777
|
+
return !a || !r ? (n(void 0, 424), hn) : a.query(t, r, n)().abort;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function pn() {
|
|
780
780
|
}
|
|
781
781
|
function qr(e) {
|
|
782
782
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
@@ -810,7 +810,7 @@ function Ze(e, t, n) {
|
|
|
810
810
|
}
|
|
811
811
|
a(), qr(e);
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function yn(e, t) {
|
|
814
814
|
e instanceof Promise ? e.then((n) => {
|
|
815
815
|
t(n);
|
|
816
816
|
}).catch(() => {
|
|
@@ -825,7 +825,7 @@ function Hr(e, t) {
|
|
|
825
825
|
return;
|
|
826
826
|
const i = e.loadIcon;
|
|
827
827
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
828
|
-
|
|
828
|
+
yn(
|
|
829
829
|
e.loadIcons(r, a, n),
|
|
830
830
|
(c) => {
|
|
831
831
|
Ze(e, r, c);
|
|
@@ -836,7 +836,7 @@ function Hr(e, t) {
|
|
|
836
836
|
if (i) {
|
|
837
837
|
r.forEach((c) => {
|
|
838
838
|
const A = i(c, a, n);
|
|
839
|
-
|
|
839
|
+
yn(A, (b) => {
|
|
840
840
|
const g = b ? {
|
|
841
841
|
prefix: a,
|
|
842
842
|
icons: {
|
|
@@ -872,7 +872,7 @@ const Fr = (e, t) => {
|
|
|
872
872
|
a.loaded,
|
|
873
873
|
a.missing,
|
|
874
874
|
a.pending,
|
|
875
|
-
|
|
875
|
+
pn
|
|
876
876
|
);
|
|
877
877
|
}), () => {
|
|
878
878
|
o = !1;
|
|
@@ -893,7 +893,7 @@ const Fr = (e, t) => {
|
|
|
893
893
|
}), i.forEach((o) => {
|
|
894
894
|
const u = r[o.provider][o.prefix];
|
|
895
895
|
u.length && Hr(o, u);
|
|
896
|
-
}), t ? zr(t, a, i) :
|
|
896
|
+
}), t ? zr(t, a, i) : pn;
|
|
897
897
|
};
|
|
898
898
|
function Rr(e, t) {
|
|
899
899
|
const n = {
|
|
@@ -959,7 +959,7 @@ function Jr(e) {
|
|
|
959
959
|
function _r(e) {
|
|
960
960
|
return 'url("' + Jr(e) + '")';
|
|
961
961
|
}
|
|
962
|
-
const
|
|
962
|
+
const In = {
|
|
963
963
|
...la,
|
|
964
964
|
inline: !1
|
|
965
965
|
}, $r = {
|
|
@@ -973,30 +973,30 @@ const yn = {
|
|
|
973
973
|
backgroundColor: "currentColor"
|
|
974
974
|
}, ua = {
|
|
975
975
|
backgroundColor: "transparent"
|
|
976
|
-
},
|
|
976
|
+
}, Cn = {
|
|
977
977
|
Image: "var(--svg)",
|
|
978
978
|
Repeat: "no-repeat",
|
|
979
979
|
Size: "100% 100%"
|
|
980
|
-
},
|
|
980
|
+
}, En = {
|
|
981
981
|
webkitMask: Rt,
|
|
982
982
|
mask: Rt,
|
|
983
983
|
background: ua
|
|
984
984
|
};
|
|
985
|
-
for (const e in
|
|
986
|
-
const t =
|
|
987
|
-
for (const n in
|
|
988
|
-
t[e + n] =
|
|
985
|
+
for (const e in En) {
|
|
986
|
+
const t = En[e];
|
|
987
|
+
for (const n in Cn)
|
|
988
|
+
t[e + n] = Cn[n];
|
|
989
989
|
}
|
|
990
990
|
const At = {};
|
|
991
991
|
["horizontal", "vertical"].forEach((e) => {
|
|
992
992
|
const t = e.slice(0, 1) + "Flip";
|
|
993
993
|
At[e + "-flip"] = t, At[e.slice(0, 1) + "-flip"] = t, At[e + "Flip"] = t;
|
|
994
994
|
});
|
|
995
|
-
function
|
|
995
|
+
function Mn(e) {
|
|
996
996
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
997
997
|
}
|
|
998
|
-
const
|
|
999
|
-
const n = Rr(
|
|
998
|
+
const Tn = (e, t) => {
|
|
999
|
+
const n = Rr(In, t), a = { ...$r }, r = t.mode || "svg", i = {}, l = t.style, s = typeof l == "object" && !(l instanceof Array) ? l : {};
|
|
1000
1000
|
for (let I in t) {
|
|
1001
1001
|
const y = t[I];
|
|
1002
1002
|
if (y !== void 0)
|
|
@@ -1033,7 +1033,7 @@ const Mn = (e, t) => {
|
|
|
1033
1033
|
break;
|
|
1034
1034
|
default: {
|
|
1035
1035
|
const x = At[I];
|
|
1036
|
-
x ? (y === !0 || y === "true" || y === 1) && (n[x] = !0) :
|
|
1036
|
+
x ? (y === !0 || y === "true" || y === 1) && (n[x] = !0) : In[I] === void 0 && (a[I] = y);
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
@@ -1044,7 +1044,7 @@ const Mn = (e, t) => {
|
|
|
1044
1044
|
...s
|
|
1045
1045
|
}, Object.assign(a, u);
|
|
1046
1046
|
let I = 0, y = t.id;
|
|
1047
|
-
return typeof y == "string" && (y = y.replace(/-/g, "_")), a.innerHTML = Cr(o.body, y ? () => y + "ID" + I++ : "iconifyVue"),
|
|
1047
|
+
return typeof y == "string" && (y = y.replace(/-/g, "_")), a.innerHTML = Cr(o.body, y ? () => y + "ID" + I++ : "iconifyVue"), fn("svg", a);
|
|
1048
1048
|
}
|
|
1049
1049
|
const { body: c, width: A, height: b } = e, g = r === "mask" || (r === "bg" ? !1 : c.indexOf("currentColor") !== -1), v = Kr(c, {
|
|
1050
1050
|
...u,
|
|
@@ -1054,12 +1054,12 @@ const Mn = (e, t) => {
|
|
|
1054
1054
|
return a.style = {
|
|
1055
1055
|
...i,
|
|
1056
1056
|
"--svg": _r(v),
|
|
1057
|
-
width:
|
|
1058
|
-
height:
|
|
1057
|
+
width: Mn(u.width),
|
|
1058
|
+
height: Mn(u.height),
|
|
1059
1059
|
...ei,
|
|
1060
1060
|
...g ? Rt : ua,
|
|
1061
1061
|
...s
|
|
1062
|
-
},
|
|
1062
|
+
}, fn("span", a);
|
|
1063
1063
|
};
|
|
1064
1064
|
ra(!0);
|
|
1065
1065
|
Er("", xr);
|
|
@@ -1154,17 +1154,17 @@ const ti = {
|
|
|
1154
1154
|
this.counter;
|
|
1155
1155
|
const e = this.$attrs, t = this.iconMounted || e.ssr ? this.getIcon(e.icon, e.onLoad, e.customise) : null;
|
|
1156
1156
|
if (!t)
|
|
1157
|
-
return
|
|
1157
|
+
return Tn(ti, e);
|
|
1158
1158
|
let n = e;
|
|
1159
1159
|
return t.classes && (n = {
|
|
1160
1160
|
...e,
|
|
1161
1161
|
class: (typeof e.class == "string" ? e.class + " " : "") + t.classes.join(" ")
|
|
1162
|
-
}),
|
|
1162
|
+
}), Tn({
|
|
1163
1163
|
...Ot,
|
|
1164
1164
|
...t.data
|
|
1165
1165
|
}, n);
|
|
1166
1166
|
}
|
|
1167
|
-
}), ca = Symbol("accordions"), da = Symbol("header"),
|
|
1167
|
+
}), ca = Symbol("accordions"), da = Symbol("header"), sn = Symbol("tabs"), Fe = () => {
|
|
1168
1168
|
const e = X(), t = X(!1), n = X(!1), a = () => {
|
|
1169
1169
|
if (!e.value)
|
|
1170
1170
|
return;
|
|
@@ -1580,7 +1580,7 @@ const ti = {
|
|
|
1580
1580
|
"fr-checkbox-group--sm": l.small
|
|
1581
1581
|
}])
|
|
1582
1582
|
}, [
|
|
1583
|
-
|
|
1583
|
+
Gn(p("input", J({
|
|
1584
1584
|
id: l.id,
|
|
1585
1585
|
"onUpdate:modelValue": s[0] || (s[0] = (o) => i.value = o),
|
|
1586
1586
|
name: l.name,
|
|
@@ -1761,7 +1761,7 @@ var Aa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
1763
|
return r;
|
|
1764
|
-
},
|
|
1764
|
+
}, Nn = function(e) {
|
|
1765
1765
|
var t = e.getBoundingClientRect(), n = t.width, a = t.height;
|
|
1766
1766
|
return n === 0 && a === 0;
|
|
1767
1767
|
}, Fi = function(e, t) {
|
|
@@ -1776,7 +1776,7 @@ var Aa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1776
1776
|
for (var l = e; e; ) {
|
|
1777
1777
|
var s = e.parentElement, o = gt(e);
|
|
1778
1778
|
if (s && !s.shadowRoot && a(s) === !0)
|
|
1779
|
-
return
|
|
1779
|
+
return Nn(e);
|
|
1780
1780
|
e.assignedSlot ? e = e.assignedSlot : !s && o !== e.ownerDocument ? e = o.host : e = s;
|
|
1781
1781
|
}
|
|
1782
1782
|
e = l;
|
|
@@ -1786,7 +1786,7 @@ var Aa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1786
1786
|
if (n !== "legacy-full")
|
|
1787
1787
|
return !0;
|
|
1788
1788
|
} else if (n === "non-zero-area")
|
|
1789
|
-
return
|
|
1789
|
+
return Nn(e);
|
|
1790
1790
|
return !1;
|
|
1791
1791
|
}, Ri = function(e) {
|
|
1792
1792
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
@@ -1880,7 +1880,7 @@ function el() {
|
|
|
1880
1880
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1881
1881
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1882
1882
|
}
|
|
1883
|
-
function
|
|
1883
|
+
function wn(e, t) {
|
|
1884
1884
|
var n = Object.keys(e);
|
|
1885
1885
|
if (Object.getOwnPropertySymbols) {
|
|
1886
1886
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -1890,12 +1890,12 @@ function Nn(e, t) {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
return n;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function kn(e) {
|
|
1894
1894
|
for (var t = 1; t < arguments.length; t++) {
|
|
1895
1895
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1896
|
-
t % 2 ?
|
|
1896
|
+
t % 2 ? wn(Object(n), !0).forEach(function(a) {
|
|
1897
1897
|
_i(e, a, n[a]);
|
|
1898
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
1898
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wn(Object(n)).forEach(function(a) {
|
|
1899
1899
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
1900
1900
|
});
|
|
1901
1901
|
}
|
|
@@ -1925,7 +1925,7 @@ function rl(e, t) {
|
|
|
1925
1925
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Zt(e, t) : void 0;
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
|
-
var
|
|
1928
|
+
var On = {
|
|
1929
1929
|
activateTrap: function(e, t) {
|
|
1930
1930
|
if (e.length > 0) {
|
|
1931
1931
|
var n = e[e.length - 1];
|
|
@@ -1948,7 +1948,7 @@ var kn = {
|
|
|
1948
1948
|
return tt(e) && !e.shiftKey;
|
|
1949
1949
|
}, sl = function(e) {
|
|
1950
1950
|
return tt(e) && e.shiftKey;
|
|
1951
|
-
},
|
|
1951
|
+
}, Dn = function(e) {
|
|
1952
1952
|
return setTimeout(e, 0);
|
|
1953
1953
|
}, Ye = function(e) {
|
|
1954
1954
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
@@ -1957,7 +1957,7 @@ var kn = {
|
|
|
1957
1957
|
}, st = function(e) {
|
|
1958
1958
|
return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
|
|
1959
1959
|
}, ul = [], cl = function(e, t) {
|
|
1960
|
-
var n = (t == null ? void 0 : t.document) || document, a = (t == null ? void 0 : t.trapStack) || ul, r =
|
|
1960
|
+
var n = (t == null ? void 0 : t.document) || document, a = (t == null ? void 0 : t.trapStack) || ul, r = kn({
|
|
1961
1961
|
returnFocusOnDeactivate: !0,
|
|
1962
1962
|
escapeDeactivates: !0,
|
|
1963
1963
|
delayInitialFocus: !0,
|
|
@@ -2219,7 +2219,7 @@ var kn = {
|
|
|
2219
2219
|
o(M, E) >= 0 || Ye(r.clickOutsideDeactivates, E) || Ye(r.allowOutsideClick, E) || (E.preventDefault(), E.stopImmediatePropagation());
|
|
2220
2220
|
}, D = function() {
|
|
2221
2221
|
if (i.active)
|
|
2222
|
-
return
|
|
2222
|
+
return On.activateTrap(a, l), i.delayInitialFocusTimer = r.delayInitialFocus ? Dn(function() {
|
|
2223
2223
|
g(c());
|
|
2224
2224
|
}) : g(c()), n.addEventListener("focusin", x, !0), n.addEventListener("mousedown", y, {
|
|
2225
2225
|
capture: !0,
|
|
@@ -2273,16 +2273,16 @@ var kn = {
|
|
|
2273
2273
|
deactivate: function(E) {
|
|
2274
2274
|
if (!i.active)
|
|
2275
2275
|
return this;
|
|
2276
|
-
var M =
|
|
2276
|
+
var M = kn({
|
|
2277
2277
|
onDeactivate: r.onDeactivate,
|
|
2278
2278
|
onPostDeactivate: r.onPostDeactivate,
|
|
2279
2279
|
checkCanReturnFocus: r.checkCanReturnFocus
|
|
2280
2280
|
}, E);
|
|
2281
|
-
clearTimeout(i.delayInitialFocusTimer), i.delayInitialFocusTimer = void 0, B(), i.active = !1, i.paused = !1, ae(),
|
|
2281
|
+
clearTimeout(i.delayInitialFocusTimer), i.delayInitialFocusTimer = void 0, B(), i.active = !1, i.paused = !1, ae(), On.deactivateTrap(a, l);
|
|
2282
2282
|
var h = s(M, "onDeactivate"), T = s(M, "onPostDeactivate"), O = s(M, "checkCanReturnFocus"), U = s(M, "returnFocus", "returnFocusOnDeactivate");
|
|
2283
2283
|
h == null || h();
|
|
2284
2284
|
var W = function() {
|
|
2285
|
-
|
|
2285
|
+
Dn(function() {
|
|
2286
2286
|
U && g(v(i.nodeFocusedBeforeActivation)), T == null || T();
|
|
2287
2287
|
});
|
|
2288
2288
|
};
|
|
@@ -2568,7 +2568,7 @@ const dl = {
|
|
|
2568
2568
|
}), null, 16, ["id", "class", "value", "aria-describedby"]))
|
|
2569
2569
|
], 64));
|
|
2570
2570
|
}
|
|
2571
|
-
}),
|
|
2571
|
+
}), un = /* @__PURE__ */ Me(Ml, [["__scopeId", "data-v-7ca45de8"]]), Tl = {
|
|
2572
2572
|
key: 1,
|
|
2573
2573
|
class: "fr-sr-only"
|
|
2574
2574
|
}, Nl = /* @__PURE__ */ j({
|
|
@@ -2589,7 +2589,7 @@ const dl = {
|
|
|
2589
2589
|
class: R(["fr-search-bar", { "fr-search-bar--lg": a.large }]),
|
|
2590
2590
|
role: "search"
|
|
2591
2591
|
}, [
|
|
2592
|
-
K(
|
|
2592
|
+
K(un, {
|
|
2593
2593
|
id: a.id,
|
|
2594
2594
|
type: "search",
|
|
2595
2595
|
placeholder: a.placeholder,
|
|
@@ -2618,7 +2618,7 @@ const dl = {
|
|
|
2618
2618
|
}), wl = ["aria-labelledby", "role", "open"], kl = { class: "fr-container fr-container--fluid fr-container-md" }, Ol = { class: "fr-grid-row fr-grid-row--center" }, Dl = { class: "fr-modal__body" }, xl = { class: "fr-modal__header" }, Ll = ["title"], Ql = { class: "fr-modal__content" }, Sl = ["id"], zl = {
|
|
2619
2619
|
key: 0,
|
|
2620
2620
|
class: "fr-modal__footer"
|
|
2621
|
-
},
|
|
2621
|
+
}, xn = 2, Bl = /* @__PURE__ */ j({
|
|
2622
2622
|
__name: "DsfrModal",
|
|
2623
2623
|
props: {
|
|
2624
2624
|
modalId: { default: () => ce("modal", "dialog") },
|
|
@@ -2650,7 +2650,7 @@ const dl = {
|
|
|
2650
2650
|
}
|
|
2651
2651
|
me(() => {
|
|
2652
2652
|
u(), o(n.opened);
|
|
2653
|
-
}),
|
|
2653
|
+
}), $t(() => {
|
|
2654
2654
|
c(), o(!1);
|
|
2655
2655
|
});
|
|
2656
2656
|
function u() {
|
|
@@ -2664,7 +2664,7 @@ const dl = {
|
|
|
2664
2664
|
await Ue(), (v = n.origin) == null || v.focus(), a("close");
|
|
2665
2665
|
}
|
|
2666
2666
|
const b = C(() => typeof n.icon == "string" && n.icon.startsWith("fr-icon-")), g = C(
|
|
2667
|
-
() => b.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale:
|
|
2667
|
+
() => b.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale: xn } : { scale: xn, ...n.icon ?? {} }
|
|
2668
2668
|
);
|
|
2669
2669
|
return (v, I) => v.opened ? (d(), H(f(Al), { key: 0 }, {
|
|
2670
2670
|
default: G(() => {
|
|
@@ -2980,7 +2980,7 @@ const dl = {
|
|
|
2980
2980
|
])) : k("", !0),
|
|
2981
2981
|
t.search ? (d(), m("div", Fl, [
|
|
2982
2982
|
p("div", Rl, [
|
|
2983
|
-
K(
|
|
2983
|
+
K(un, {
|
|
2984
2984
|
modelValue: w.value,
|
|
2985
2985
|
"onUpdate:modelValue": q[0] || (q[0] = (Y) => w.value = Y),
|
|
2986
2986
|
"aria-describedby": `${t.id}-text-hint`,
|
|
@@ -3072,7 +3072,7 @@ const dl = {
|
|
|
3072
3072
|
S(t.$slots, "default", {}, void 0, !0)
|
|
3073
3073
|
], 8, Jl));
|
|
3074
3074
|
}
|
|
3075
|
-
}), $l = /* @__PURE__ */ Me(_l, [["__scopeId", "data-v-aa4076c4"]]), eo = ["href"],
|
|
3075
|
+
}), $l = /* @__PURE__ */ Me(_l, [["__scopeId", "data-v-aa4076c4"]]), eo = ["href"], Ln = 2, cn = /* @__PURE__ */ j({
|
|
3076
3076
|
__name: "DsfrNavigationMenuLink",
|
|
3077
3077
|
props: {
|
|
3078
3078
|
id: { default: () => ce("menu-link") },
|
|
@@ -3085,7 +3085,7 @@ const dl = {
|
|
|
3085
3085
|
emits: ["toggleId"],
|
|
3086
3086
|
setup(e) {
|
|
3087
3087
|
const t = e, n = C(() => typeof t.to == "string" && t.to.startsWith("http")), a = C(() => t.icon && typeof t.icon == "string" && t.icon.startsWith("fr-icon-")), r = C(
|
|
3088
|
-
() => a.value || !t.icon ? void 0 : typeof t.icon == "string" ? { scale:
|
|
3088
|
+
() => a.value || !t.icon ? void 0 : typeof t.icon == "string" ? { scale: Ln, name: t.icon } : { scale: Ln, ...t.icon || {} }
|
|
3089
3089
|
), i = _t() ? qe(da) : void 0, l = (i == null ? void 0 : i()) ?? (() => {
|
|
3090
3090
|
});
|
|
3091
3091
|
return (s, o) => {
|
|
@@ -3140,7 +3140,7 @@ const dl = {
|
|
|
3140
3140
|
key: r,
|
|
3141
3141
|
class: "fr-nav__link"
|
|
3142
3142
|
}, [
|
|
3143
|
-
K(
|
|
3143
|
+
K(cn, J({ ref_for: !0 }, a), null, 16)
|
|
3144
3144
|
]))), 128))
|
|
3145
3145
|
])
|
|
3146
3146
|
]));
|
|
@@ -3287,7 +3287,7 @@ const dl = {
|
|
|
3287
3287
|
S(o.$slots, "default"),
|
|
3288
3288
|
(d(!0), m(_, null, oe(o.links, (c, A) => (d(), H(bo, { key: A }, {
|
|
3289
3289
|
default: G(() => [
|
|
3290
|
-
K(
|
|
3290
|
+
K(cn, J({ ref_for: !0 }, c, {
|
|
3291
3291
|
onToggleId: u[1] || (u[1] = (b) => o.$emit("toggleId", o.expandedId))
|
|
3292
3292
|
}), null, 16)
|
|
3293
3293
|
]),
|
|
@@ -3341,7 +3341,7 @@ const dl = {
|
|
|
3341
3341
|
key: c
|
|
3342
3342
|
}, {
|
|
3343
3343
|
default: G(() => [
|
|
3344
|
-
u.to && u.text ? (d(), H(
|
|
3344
|
+
u.to && u.text ? (d(), H(cn, J({
|
|
3345
3345
|
key: 0,
|
|
3346
3346
|
ref_for: !0
|
|
3347
3347
|
}, u, {
|
|
@@ -3668,13 +3668,13 @@ const dl = {
|
|
|
3668
3668
|
"7152af7e": l.value,
|
|
3669
3669
|
"2a62e962": s.value
|
|
3670
3670
|
}));
|
|
3671
|
-
const t = e, n = { true: "100%", false: "-100%" }, a = qe(
|
|
3671
|
+
const t = e, n = { true: "100%", false: "-100%" }, a = qe(sn), { isVisible: r, asc: i } = a(Nt(() => t.tabId)), l = C(() => n[String(i == null ? void 0 : i.value)]), s = C(() => n[String(!(i != null && i.value))]);
|
|
3672
3672
|
return (o, u) => (d(), H(Ya, {
|
|
3673
3673
|
name: "slide-fade",
|
|
3674
3674
|
mode: "in-out"
|
|
3675
3675
|
}, {
|
|
3676
3676
|
default: G(() => [
|
|
3677
|
-
|
|
3677
|
+
Gn(p("div", {
|
|
3678
3678
|
id: o.panelId,
|
|
3679
3679
|
class: R(["fr-tabs__panel", {
|
|
3680
3680
|
"fr-tabs__panel--selected": f(r)
|
|
@@ -3713,7 +3713,7 @@ const dl = {
|
|
|
3713
3713
|
const A = c == null ? void 0 : c.key, b = i[A];
|
|
3714
3714
|
b && a(b);
|
|
3715
3715
|
}
|
|
3716
|
-
const s = qe(
|
|
3716
|
+
const s = qe(sn), { isVisible: o } = s(Nt(() => n.tabId)), u = Xa("button");
|
|
3717
3717
|
return ue(o, () => {
|
|
3718
3718
|
var c;
|
|
3719
3719
|
o.value && ((c = u.value) == null || c.focus());
|
|
@@ -3755,7 +3755,7 @@ const dl = {
|
|
|
3755
3755
|
r("update:modelValue", N);
|
|
3756
3756
|
}
|
|
3757
3757
|
}), s = X(/* @__PURE__ */ new Map()), o = X(0);
|
|
3758
|
-
Tt(
|
|
3758
|
+
Tt(sn, (N) => {
|
|
3759
3759
|
const P = X(!0);
|
|
3760
3760
|
if (ue(l, (ee, F) => {
|
|
3761
3761
|
P.value = ee > F;
|
|
@@ -3956,7 +3956,7 @@ const dl = {
|
|
|
3956
3956
|
},
|
|
3957
3957
|
setup(e) {
|
|
3958
3958
|
const t = e;
|
|
3959
|
-
return (n, a) => (d(), H(f(Ia), He(
|
|
3959
|
+
return (n, a) => (d(), H(f(Ia), He(en(t)), null, 16));
|
|
3960
3960
|
}
|
|
3961
3961
|
}), cs = { class: "av-icon-vicon--container" }, ds = 16 / 19.19, As = /* @__PURE__ */ j({
|
|
3962
3962
|
__name: "AvVIcon",
|
|
@@ -4334,7 +4334,7 @@ const Is = /* @__PURE__ */ j({
|
|
|
4334
4334
|
})
|
|
4335
4335
|
]));
|
|
4336
4336
|
}
|
|
4337
|
-
}), rv = /* @__PURE__ */ $(Ds, [["__scopeId", "data-v-202438c7"]]), xs = ["aria-label"], Ls = { class: "fr-btns-group" },
|
|
4337
|
+
}), rv = /* @__PURE__ */ $(Ds, [["__scopeId", "data-v-202438c7"]]), xs = ["aria-label"], Ls = { class: "fr-btns-group" }, Qn = /* @__PURE__ */ j({
|
|
4338
4338
|
__name: "AvHeaderMenuLinks",
|
|
4339
4339
|
props: {
|
|
4340
4340
|
links: {},
|
|
@@ -4512,7 +4512,7 @@ const Bs = /* @__PURE__ */ $(Qs, [["render", zs]]), js = {
|
|
|
4512
4512
|
p("div", Ks, [
|
|
4513
4513
|
p("div", Gs, [
|
|
4514
4514
|
S(y.$slots, "before-quick-links", {}, void 0, !0),
|
|
4515
|
-
f(l) ? k("", !0) : (d(), H(
|
|
4515
|
+
f(l) ? k("", !0) : (d(), H(Qn, {
|
|
4516
4516
|
key: 0,
|
|
4517
4517
|
links: e.quickLinks,
|
|
4518
4518
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
@@ -4556,7 +4556,7 @@ const Bs = /* @__PURE__ */ $(Qs, [["render", zs]]), js = {
|
|
|
4556
4556
|
onSelect: x[6] || (x[6] = (B) => f(i).currentLanguage = B.codeIso)
|
|
4557
4557
|
}), null, 16)) : k("", !0),
|
|
4558
4558
|
S(y.$slots, "before-quick-links", {}, void 0, !0),
|
|
4559
|
-
f(l) ? (d(), H(
|
|
4559
|
+
f(l) ? (d(), H(Qn, {
|
|
4560
4560
|
key: 1,
|
|
4561
4561
|
role: "navigation",
|
|
4562
4562
|
links: e.quickLinks,
|
|
@@ -4928,9 +4928,9 @@ const ou = { render: lu }, su = { class: "svg-wrapper" }, uu = /* @__PURE__ */ j
|
|
|
4928
4928
|
])
|
|
4929
4929
|
], 64));
|
|
4930
4930
|
}
|
|
4931
|
-
}), cv = /* @__PURE__ */ $(Su, [["__scopeId", "data-v-2c0c549f"]]), Ca = 6048e5, zu = 864e5,
|
|
4931
|
+
}), cv = /* @__PURE__ */ $(Su, [["__scopeId", "data-v-2c0c549f"]]), Ca = 6048e5, zu = 864e5, Sn = Symbol.for("constructDateFrom");
|
|
4932
4932
|
function ke(e, t) {
|
|
4933
|
-
return typeof e == "function" ? e(t) : e && typeof e == "object" &&
|
|
4933
|
+
return typeof e == "function" ? e(t) : e && typeof e == "object" && Sn in e ? e[Sn](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
4934
4934
|
}
|
|
4935
4935
|
function Ie(e, t) {
|
|
4936
4936
|
return ke(t || e, e);
|
|
@@ -4955,7 +4955,7 @@ function Ea(e, t) {
|
|
|
4955
4955
|
const s = pt(l);
|
|
4956
4956
|
return n.getTime() >= i.getTime() ? a + 1 : n.getTime() >= s.getTime() ? a : a - 1;
|
|
4957
4957
|
}
|
|
4958
|
-
function
|
|
4958
|
+
function zn(e) {
|
|
4959
4959
|
const t = Ie(e), n = new Date(
|
|
4960
4960
|
Date.UTC(
|
|
4961
4961
|
t.getFullYear(),
|
|
@@ -4976,7 +4976,7 @@ function ju(e, ...t) {
|
|
|
4976
4976
|
);
|
|
4977
4977
|
return t.map(n);
|
|
4978
4978
|
}
|
|
4979
|
-
function
|
|
4979
|
+
function Bn(e, t) {
|
|
4980
4980
|
const n = Ie(e, t == null ? void 0 : t.in);
|
|
4981
4981
|
return n.setHours(0, 0, 0, 0), n;
|
|
4982
4982
|
}
|
|
@@ -4985,7 +4985,7 @@ function Pu(e, t, n) {
|
|
|
4985
4985
|
n == null ? void 0 : n.in,
|
|
4986
4986
|
e,
|
|
4987
4987
|
t
|
|
4988
|
-
), i =
|
|
4988
|
+
), i = Bn(a), l = Bn(r), s = +i - zn(i), o = +l - zn(l);
|
|
4989
4989
|
return Math.round((s - o) / zu);
|
|
4990
4990
|
}
|
|
4991
4991
|
function Wu(e, t) {
|
|
@@ -5524,7 +5524,7 @@ const Te = {
|
|
|
5524
5524
|
afternoon: "afternoon",
|
|
5525
5525
|
evening: "evening",
|
|
5526
5526
|
night: "night"
|
|
5527
|
-
},
|
|
5527
|
+
}, jn = {
|
|
5528
5528
|
// Era
|
|
5529
5529
|
G: function(e, t, n) {
|
|
5530
5530
|
const a = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -5999,7 +5999,7 @@ const Te = {
|
|
|
5999
5999
|
switch (t) {
|
|
6000
6000
|
// Hours and optional minutes
|
|
6001
6001
|
case "X":
|
|
6002
|
-
return
|
|
6002
|
+
return Wn(a);
|
|
6003
6003
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
6004
6004
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6005
6005
|
// so this token always has the same output as `XX`
|
|
@@ -6022,7 +6022,7 @@ const Te = {
|
|
|
6022
6022
|
switch (t) {
|
|
6023
6023
|
// Hours and optional minutes
|
|
6024
6024
|
case "x":
|
|
6025
|
-
return
|
|
6025
|
+
return Wn(a);
|
|
6026
6026
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
6027
6027
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
6028
6028
|
// so this token always has the same output as `xx`
|
|
@@ -6047,7 +6047,7 @@ const Te = {
|
|
|
6047
6047
|
case "O":
|
|
6048
6048
|
case "OO":
|
|
6049
6049
|
case "OOO":
|
|
6050
|
-
return "GMT" +
|
|
6050
|
+
return "GMT" + Pn(a, ":");
|
|
6051
6051
|
// Long
|
|
6052
6052
|
case "OOOO":
|
|
6053
6053
|
default:
|
|
@@ -6062,7 +6062,7 @@ const Te = {
|
|
|
6062
6062
|
case "z":
|
|
6063
6063
|
case "zz":
|
|
6064
6064
|
case "zzz":
|
|
6065
|
-
return "GMT" +
|
|
6065
|
+
return "GMT" + Pn(a, ":");
|
|
6066
6066
|
// Long
|
|
6067
6067
|
case "zzzz":
|
|
6068
6068
|
default:
|
|
@@ -6079,18 +6079,18 @@ const Te = {
|
|
|
6079
6079
|
return ie(+e, t.length);
|
|
6080
6080
|
}
|
|
6081
6081
|
};
|
|
6082
|
-
function
|
|
6082
|
+
function Pn(e, t = "") {
|
|
6083
6083
|
const n = e > 0 ? "-" : "+", a = Math.abs(e), r = Math.trunc(a / 60), i = a % 60;
|
|
6084
6084
|
return i === 0 ? n + String(r) : n + String(r) + t + ie(i, 2);
|
|
6085
6085
|
}
|
|
6086
|
-
function
|
|
6086
|
+
function Wn(e, t) {
|
|
6087
6087
|
return e % 60 === 0 ? (e > 0 ? "-" : "+") + ie(Math.abs(e) / 60, 2) : Oe(e, t);
|
|
6088
6088
|
}
|
|
6089
6089
|
function Oe(e, t = "") {
|
|
6090
6090
|
const n = e > 0 ? "-" : "+", a = Math.abs(e), r = ie(Math.trunc(a / 60), 2), i = ie(a % 60, 2);
|
|
6091
6091
|
return n + r + t + i;
|
|
6092
6092
|
}
|
|
6093
|
-
const
|
|
6093
|
+
const Vn = (e, t) => {
|
|
6094
6094
|
switch (e) {
|
|
6095
6095
|
case "P":
|
|
6096
6096
|
return t.date({ width: "short" });
|
|
@@ -6117,7 +6117,7 @@ const Wn = (e, t) => {
|
|
|
6117
6117
|
}, Tc = (e, t) => {
|
|
6118
6118
|
const n = e.match(/(P+)(p+)?/) || [], a = n[1], r = n[2];
|
|
6119
6119
|
if (!r)
|
|
6120
|
-
return
|
|
6120
|
+
return Vn(e, t);
|
|
6121
6121
|
let i;
|
|
6122
6122
|
switch (a) {
|
|
6123
6123
|
case "P":
|
|
@@ -6134,7 +6134,7 @@ const Wn = (e, t) => {
|
|
|
6134
6134
|
i = t.dateTime({ width: "full" });
|
|
6135
6135
|
break;
|
|
6136
6136
|
}
|
|
6137
|
-
return i.replace("{{date}}",
|
|
6137
|
+
return i.replace("{{date}}", Vn(a, t)).replace("{{time}}", Na(r, t));
|
|
6138
6138
|
}, Nc = {
|
|
6139
6139
|
p: Na,
|
|
6140
6140
|
P: Tc
|
|
@@ -6172,7 +6172,7 @@ function Wc(e, t, n) {
|
|
|
6172
6172
|
const I = v[0];
|
|
6173
6173
|
if (I === "'")
|
|
6174
6174
|
return { isToken: !1, value: Vc(v) };
|
|
6175
|
-
if (
|
|
6175
|
+
if (jn[I])
|
|
6176
6176
|
return { isToken: !0, value: v };
|
|
6177
6177
|
if (I.match(Pc))
|
|
6178
6178
|
throw new RangeError(
|
|
@@ -6190,7 +6190,7 @@ function Wc(e, t, n) {
|
|
|
6190
6190
|
if (!v.isToken) return v.value;
|
|
6191
6191
|
const I = v.value;
|
|
6192
6192
|
(xc(I) || Dc(I)) && Lc(I, t, String(e));
|
|
6193
|
-
const y =
|
|
6193
|
+
const y = jn[I[0]];
|
|
6194
6194
|
return y(s, I, r.localize, u);
|
|
6195
6195
|
}).join("");
|
|
6196
6196
|
}
|
|
@@ -6256,7 +6256,7 @@ const qc = { class: "av-input__wrapper" }, Uc = {
|
|
|
6256
6256
|
size: 1.2
|
|
6257
6257
|
}, null, 8, ["name"])
|
|
6258
6258
|
])) : k("", !0),
|
|
6259
|
-
K(f(
|
|
6259
|
+
K(f(un), J({
|
|
6260
6260
|
id: f(s),
|
|
6261
6261
|
"model-value": e.modelValue,
|
|
6262
6262
|
label: e.label,
|
|
@@ -6588,7 +6588,7 @@ const dv = [
|
|
|
6588
6588
|
return d(), H(f(ha), {
|
|
6589
6589
|
key: g,
|
|
6590
6590
|
modelValue: f(u),
|
|
6591
|
-
"onUpdate:modelValue": A[0] || (A[0] = (y) =>
|
|
6591
|
+
"onUpdate:modelValue": A[0] || (A[0] = (y) => tn(u) ? u.value = y : null),
|
|
6592
6592
|
value: (v = b.props) == null ? void 0 : v.value,
|
|
6593
6593
|
disabled: ((I = b.props) == null ? void 0 : I.disabled) ?? a.disabled,
|
|
6594
6594
|
small: a.small,
|
|
@@ -6611,7 +6611,7 @@ const dv = [
|
|
|
6611
6611
|
});
|
|
6612
6612
|
var Pe = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(Pe || {});
|
|
6613
6613
|
const Da = Symbol("AvAutocompleteContext");
|
|
6614
|
-
function
|
|
6614
|
+
function dn() {
|
|
6615
6615
|
const e = qe(Da);
|
|
6616
6616
|
if (!e)
|
|
6617
6617
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
@@ -6622,7 +6622,7 @@ function xa(e) {
|
|
|
6622
6622
|
}
|
|
6623
6623
|
const Pt = /* @__PURE__ */ new WeakMap(), ud = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
|
|
6624
6624
|
var t;
|
|
6625
|
-
const n = e[0], a = (t =
|
|
6625
|
+
const n = e[0], a = (t = nn()) == null ? void 0 : t.proxy;
|
|
6626
6626
|
if (a == null && !_t())
|
|
6627
6627
|
throw new Error("injectLocal must be called in setup");
|
|
6628
6628
|
return a && Pt.has(a) && n in Pt.get(a) ? Pt.get(a)[n] : qe(...e);
|
|
@@ -6657,7 +6657,7 @@ function vd(e, t = {}) {
|
|
|
6657
6657
|
}
|
|
6658
6658
|
function md(...e) {
|
|
6659
6659
|
let t = 0, n, a = !0, r = Ve, i, l, s, o, u;
|
|
6660
|
-
!
|
|
6660
|
+
!tn(e[0]) && typeof e[0] == "object" ? { delay: l, trailing: s = !0, leading: o = !0, rejectOnCancel: u = !1 } = e[0] : [l, s = !0, o = !0, u = !1] = e;
|
|
6661
6661
|
const c = () => {
|
|
6662
6662
|
n && (clearTimeout(n), n = void 0, r(), r = Ve);
|
|
6663
6663
|
};
|
|
@@ -6684,7 +6684,7 @@ function ft(e) {
|
|
|
6684
6684
|
return Array.isArray(e) ? e : [e];
|
|
6685
6685
|
}
|
|
6686
6686
|
function bd(e) {
|
|
6687
|
-
return
|
|
6687
|
+
return nn();
|
|
6688
6688
|
}
|
|
6689
6689
|
// @__NO_SIDE_EFFECTS__
|
|
6690
6690
|
function hd(e, t = 200, n = {}) {
|
|
@@ -6714,7 +6714,7 @@ function yd(e, t, n) {
|
|
|
6714
6714
|
);
|
|
6715
6715
|
}
|
|
6716
6716
|
const ot = cd ? window : void 0;
|
|
6717
|
-
function
|
|
6717
|
+
function An(e) {
|
|
6718
6718
|
var t;
|
|
6719
6719
|
const n = de(e);
|
|
6720
6720
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
@@ -6729,7 +6729,7 @@ function Yt(...e) {
|
|
|
6729
6729
|
() => {
|
|
6730
6730
|
var s, o;
|
|
6731
6731
|
return [
|
|
6732
|
-
(o = (s = r.value) == null ? void 0 : s.map((u) =>
|
|
6732
|
+
(o = (s = r.value) == null ? void 0 : s.map((u) => An(u))) != null ? o : [ot].filter((u) => u != null),
|
|
6733
6733
|
ft(de(r.value ? e[1] : e[0])),
|
|
6734
6734
|
ft(f(r.value ? e[2] : e[1])),
|
|
6735
6735
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -6756,7 +6756,7 @@ function Yt(...e) {
|
|
|
6756
6756
|
}
|
|
6757
6757
|
// @__NO_SIDE_EFFECTS__
|
|
6758
6758
|
function Id() {
|
|
6759
|
-
const e = Ne(!1), t =
|
|
6759
|
+
const e = Ne(!1), t = nn();
|
|
6760
6760
|
return t && me(() => {
|
|
6761
6761
|
e.value = !0;
|
|
6762
6762
|
}, t), e;
|
|
@@ -6772,7 +6772,7 @@ function Cd(e, t, n = {}) {
|
|
|
6772
6772
|
const l = /* @__PURE__ */ Sa(() => a && "MutationObserver" in a), s = () => {
|
|
6773
6773
|
i && (i.disconnect(), i = void 0);
|
|
6774
6774
|
}, o = C(() => {
|
|
6775
|
-
const b = de(e), g = ft(b).map(
|
|
6775
|
+
const b = de(e), g = ft(b).map(An).filter(dd);
|
|
6776
6776
|
return new Set(g);
|
|
6777
6777
|
}), u = ue(
|
|
6778
6778
|
o,
|
|
@@ -6867,7 +6867,7 @@ function Md(e, t = {}) {
|
|
|
6867
6867
|
}
|
|
6868
6868
|
});
|
|
6869
6869
|
}
|
|
6870
|
-
const
|
|
6870
|
+
const qn = 1;
|
|
6871
6871
|
function Td(e, t = {}) {
|
|
6872
6872
|
const {
|
|
6873
6873
|
throttle: n = 0,
|
|
@@ -6940,13 +6940,13 @@ function Td(e, t = {}) {
|
|
|
6940
6940
|
var ae;
|
|
6941
6941
|
if (!c)
|
|
6942
6942
|
return;
|
|
6943
|
-
const E = ((ae = F == null ? void 0 : F.document) == null ? void 0 : ae.documentElement) || (F == null ? void 0 : F.documentElement) ||
|
|
6943
|
+
const E = ((ae = F == null ? void 0 : F.document) == null ? void 0 : ae.documentElement) || (F == null ? void 0 : F.documentElement) || An(F), { display: M, flexDirection: h, direction: T } = getComputedStyle(E), O = T === "rtl" ? -1 : 1, U = E.scrollLeft;
|
|
6944
6944
|
N.left = U < g.value, N.right = U > g.value;
|
|
6945
|
-
const W = Math.abs(U * O) <= (l.left || 0), Z = Math.abs(U * O) + E.clientWidth >= E.scrollWidth - (l.right || 0) -
|
|
6945
|
+
const W = Math.abs(U * O) <= (l.left || 0), Z = Math.abs(U * O) + E.clientWidth >= E.scrollWidth - (l.right || 0) - qn;
|
|
6946
6946
|
M === "flex" && h === "row-reverse" ? (w.left = Z, w.right = W) : (w.left = W, w.right = Z), g.value = U;
|
|
6947
6947
|
let V = E.scrollTop;
|
|
6948
6948
|
F === c.document && !V && (V = c.document.body.scrollTop), N.top = V < v.value, N.bottom = V > v.value;
|
|
6949
|
-
const te = Math.abs(V) <= (l.top || 0), re = Math.abs(V) + E.clientHeight >= E.scrollHeight - (l.bottom || 0) -
|
|
6949
|
+
const te = Math.abs(V) <= (l.top || 0), re = Math.abs(V) + E.clientHeight >= E.scrollHeight - (l.bottom || 0) - qn;
|
|
6950
6950
|
M === "flex" && h === "column-reverse" ? (w.top = re, w.bottom = te) : (w.top = te, w.bottom = re), v.value = V;
|
|
6951
6951
|
}, ee = (F) => {
|
|
6952
6952
|
var ae;
|
|
@@ -7012,9 +7012,9 @@ var xd = Object.prototype, Ld = xd.toString;
|
|
|
7012
7012
|
function Qd(e) {
|
|
7013
7013
|
return Ld.call(e);
|
|
7014
7014
|
}
|
|
7015
|
-
var Sd = "[object Null]", zd = "[object Undefined]",
|
|
7015
|
+
var Sd = "[object Null]", zd = "[object Undefined]", Un = yt ? yt.toStringTag : void 0;
|
|
7016
7016
|
function Bd(e) {
|
|
7017
|
-
return e == null ? e === void 0 ? zd : Sd :
|
|
7017
|
+
return e == null ? e === void 0 ? zd : Sd : Un && Un in Object(e) ? Dd(e) : Qd(e);
|
|
7018
7018
|
}
|
|
7019
7019
|
function jd(e) {
|
|
7020
7020
|
return e != null && typeof e == "object";
|
|
@@ -7037,12 +7037,12 @@ function Kt(e) {
|
|
|
7037
7037
|
var t = typeof e;
|
|
7038
7038
|
return e != null && (t == "object" || t == "function");
|
|
7039
7039
|
}
|
|
7040
|
-
var
|
|
7041
|
-
function
|
|
7040
|
+
var Hn = NaN, Fd = /^[-+]0x[0-9a-f]+$/i, Rd = /^0b[01]+$/i, Xd = /^0o[0-7]+$/i, Zd = parseInt;
|
|
7041
|
+
function Fn(e) {
|
|
7042
7042
|
if (typeof e == "number")
|
|
7043
7043
|
return e;
|
|
7044
7044
|
if (Wd(e))
|
|
7045
|
-
return
|
|
7045
|
+
return Hn;
|
|
7046
7046
|
if (Kt(e)) {
|
|
7047
7047
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
7048
7048
|
e = Kt(t) ? t + "" : t;
|
|
@@ -7051,7 +7051,7 @@ function Hn(e) {
|
|
|
7051
7051
|
return e === 0 ? e : +e;
|
|
7052
7052
|
e = Hd(e);
|
|
7053
7053
|
var n = Rd.test(e);
|
|
7054
|
-
return n || Xd.test(e) ? Zd(e.slice(2), n ? 2 : 8) : Fd.test(e) ?
|
|
7054
|
+
return n || Xd.test(e) ? Zd(e.slice(2), n ? 2 : 8) : Fd.test(e) ? Hn : +e;
|
|
7055
7055
|
}
|
|
7056
7056
|
var Wt = function() {
|
|
7057
7057
|
return Ba.Date.now();
|
|
@@ -7060,7 +7060,7 @@ function Pa(e, t, n) {
|
|
|
7060
7060
|
var a, r, i, l, s, o, u = 0, c = !1, A = !1, b = !0;
|
|
7061
7061
|
if (typeof e != "function")
|
|
7062
7062
|
throw new TypeError(Yd);
|
|
7063
|
-
t =
|
|
7063
|
+
t = Fn(t) || 0, Kt(n) && (c = !!n.leading, A = "maxWait" in n, i = A ? Kd(Fn(n.maxWait) || 0, t) : i, b = "trailing" in n ? !!n.trailing : b);
|
|
7064
7064
|
function g(D) {
|
|
7065
7065
|
var B = a, ee = r;
|
|
7066
7066
|
return a = r = void 0, u = D, l = e.apply(ee, B), l;
|
|
@@ -7123,7 +7123,7 @@ const Jd = {
|
|
|
7123
7123
|
props: o,
|
|
7124
7124
|
getOptionId: u,
|
|
7125
7125
|
getDisplayLabel: c
|
|
7126
|
-
} =
|
|
7126
|
+
} = dn(), A = X(), b = X(), g = C(() => {
|
|
7127
7127
|
if (!o.options)
|
|
7128
7128
|
return [];
|
|
7129
7129
|
if (o.serverSideFiltering)
|
|
@@ -7227,7 +7227,7 @@ const Jd = {
|
|
|
7227
7227
|
inputId: u,
|
|
7228
7228
|
handleBlur: c,
|
|
7229
7229
|
getDisplayLabel: A
|
|
7230
|
-
} =
|
|
7230
|
+
} = dn(), b = X(), g = C(() => !o.multiSelect && i.value.length > 0 ? A(i.value[0]) : o.multiSelect && i.value.length > 0 ? o.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(A).join(", ") : l.value), v = C(() => {
|
|
7231
7231
|
var w;
|
|
7232
7232
|
return ((w = o.inputOptions) == null ? void 0 : w.placeholder) || "Search...";
|
|
7233
7233
|
}), I = Pa((w) => {
|
|
@@ -7293,7 +7293,7 @@ const Jd = {
|
|
|
7293
7293
|
props: a,
|
|
7294
7294
|
getOptionId: r,
|
|
7295
7295
|
getDisplayLabel: i
|
|
7296
|
-
} =
|
|
7296
|
+
} = dn();
|
|
7297
7297
|
function l(s) {
|
|
7298
7298
|
const o = n.value, u = r(s);
|
|
7299
7299
|
n.value = o.filter(
|
|
@@ -7622,7 +7622,7 @@ const Jd = {
|
|
|
7622
7622
|
const v = ya, I = pa, y = os;
|
|
7623
7623
|
return d(), H(y, {
|
|
7624
7624
|
modelValue: f(i),
|
|
7625
|
-
"onUpdate:modelValue": g[0] || (g[0] = (x) =>
|
|
7625
|
+
"onUpdate:modelValue": g[0] || (g[0] = (x) => tn(i) ? i.value = x : null),
|
|
7626
7626
|
class: R({ compact: e.compact }),
|
|
7627
7627
|
"tab-list-name": e.ariaLabel ?? "Liste d’onglets",
|
|
7628
7628
|
"tab-titles": []
|
|
@@ -7738,7 +7738,7 @@ const Jd = {
|
|
|
7738
7738
|
},
|
|
7739
7739
|
setup(e) {
|
|
7740
7740
|
const t = e;
|
|
7741
|
-
return (n, a) => (d(), H(f(gi), He(
|
|
7741
|
+
return (n, a) => (d(), H(f(gi), He(en(t)), null, 16));
|
|
7742
7742
|
}
|
|
7743
7743
|
}), TA = {
|
|
7744
7744
|
style: { position: "relative" },
|
|
@@ -7753,7 +7753,7 @@ const Jd = {
|
|
|
7753
7753
|
return (n, a) => {
|
|
7754
7754
|
const r = Mo;
|
|
7755
7755
|
return d(), m("div", TA, [
|
|
7756
|
-
K(r, He(
|
|
7756
|
+
K(r, He(en(t)), null, 16)
|
|
7757
7757
|
]);
|
|
7758
7758
|
};
|
|
7759
7759
|
}
|
|
@@ -7909,7 +7909,7 @@ const HA = ["id", "aria-label"], FA = {
|
|
|
7909
7909
|
v4d5b7c17: f(o),
|
|
7910
7910
|
v4a813d87: c.padding
|
|
7911
7911
|
}));
|
|
7912
|
-
const t = e, n = Le(e, "collapsed"), { width: a, collapsedWidth: r } =
|
|
7912
|
+
const t = e, n = Le(e, "collapsed"), { width: a, collapsedWidth: r } = an(t), i = C(() => t.id ?? crypto.randomUUID()), l = C(() => `${i.value} navigation`), s = C({
|
|
7913
7913
|
get: () => t.collapsible ? n.value : !1,
|
|
7914
7914
|
set: (c) => {
|
|
7915
7915
|
t.collapsible && (n.value = c);
|
|
@@ -8006,7 +8006,7 @@ const HA = ["id", "aria-label"], FA = {
|
|
|
8006
8006
|
Ae((i) => ({
|
|
8007
8007
|
v06d1bdf1: f(r)
|
|
8008
8008
|
}));
|
|
8009
|
-
const t = e, { steps: n, currentStep: a, width: r } =
|
|
8009
|
+
const t = e, { steps: n, currentStep: a, width: r } = an(t);
|
|
8010
8010
|
return (i, l) => (d(), m("div", KA, [
|
|
8011
8011
|
p("div", GA, [
|
|
8012
8012
|
p("div", JA, [
|
|
@@ -8065,32 +8065,42 @@ const HA = ["id", "aria-label"], FA = {
|
|
|
8065
8065
|
},
|
|
8066
8066
|
emits: ["escapePressed"],
|
|
8067
8067
|
setup(e, { emit: t }) {
|
|
8068
|
-
Ae((
|
|
8069
|
-
|
|
8070
|
-
|
|
8068
|
+
Ae((c) => ({
|
|
8069
|
+
v52ac02d7: f(l),
|
|
8070
|
+
v5085de3c: f(s)
|
|
8071
8071
|
}));
|
|
8072
|
-
const n = e, a = t, r = he(), { position: i, width: l, padding: s } =
|
|
8073
|
-
|
|
8072
|
+
const n = e, a = t, r = he(), { position: i, width: l, padding: s, show: o } = an(n);
|
|
8073
|
+
function u(c) {
|
|
8074
|
+
c.key === "Escape" && a("escapePressed");
|
|
8075
|
+
}
|
|
8076
|
+
return ue(
|
|
8077
|
+
o,
|
|
8078
|
+
(c) => {
|
|
8079
|
+
c ? window.addEventListener("keydown", u) : window.removeEventListener("keydown", u);
|
|
8080
|
+
},
|
|
8081
|
+
{ immediate: !0 }
|
|
8082
|
+
), $t(() => {
|
|
8083
|
+
window.removeEventListener("keydown", u);
|
|
8084
|
+
}), (c, A) => f(o) ? (d(), m("div", af, [
|
|
8074
8085
|
e.backdrop ? (d(), m("div", rf)) : k("", !0),
|
|
8075
8086
|
p("div", {
|
|
8076
8087
|
class: R(["av-drawer", `av-drawer--${f(i)}`]),
|
|
8077
8088
|
role: "dialog",
|
|
8078
8089
|
"aria-modal": "true",
|
|
8079
|
-
"aria-label": e.ariaLabel
|
|
8080
|
-
onKeydown: u[0] || (u[0] = ge((c) => a("escapePressed"), ["esc"]))
|
|
8090
|
+
"aria-label": e.ariaLabel
|
|
8081
8091
|
}, [
|
|
8082
8092
|
p("div", of, [
|
|
8083
8093
|
p("div", sf, [
|
|
8084
|
-
S(
|
|
8094
|
+
S(c.$slots, "default", {}, void 0, !0)
|
|
8085
8095
|
]),
|
|
8086
8096
|
r.footer ? (d(), m("div", uf, [
|
|
8087
|
-
S(
|
|
8097
|
+
S(c.$slots, "footer", {}, void 0, !0)
|
|
8088
8098
|
])) : k("", !0)
|
|
8089
8099
|
])
|
|
8090
|
-
],
|
|
8100
|
+
], 10, lf)
|
|
8091
8101
|
])) : k("", !0);
|
|
8092
8102
|
}
|
|
8093
|
-
}), Nv = /* @__PURE__ */ $(cf, [["__scopeId", "data-v-
|
|
8103
|
+
}), Nv = /* @__PURE__ */ $(cf, [["__scopeId", "data-v-2f06b4d1"]]), df = {
|
|
8094
8104
|
key: 0,
|
|
8095
8105
|
class: "header"
|
|
8096
8106
|
}, Af = { class: "footer" }, ff = /* @__PURE__ */ j({
|
|
@@ -8304,7 +8314,7 @@ var Wa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8304
8314
|
}
|
|
8305
8315
|
}
|
|
8306
8316
|
return i;
|
|
8307
|
-
},
|
|
8317
|
+
}, Rn = function(t) {
|
|
8308
8318
|
var n = t.getBoundingClientRect(), a = n.width, r = n.height;
|
|
8309
8319
|
return a === 0 && r === 0;
|
|
8310
8320
|
}, Nf = function(t, n) {
|
|
@@ -8319,7 +8329,7 @@ var Wa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8319
8329
|
for (var s = t; t; ) {
|
|
8320
8330
|
var o = t.parentElement, u = Ct(t);
|
|
8321
8331
|
if (o && !o.shadowRoot && r(o) === !0)
|
|
8322
|
-
return
|
|
8332
|
+
return Rn(t);
|
|
8323
8333
|
t.assignedSlot ? t = t.assignedSlot : !o && u !== t.ownerDocument ? t = u.host : t = o;
|
|
8324
8334
|
}
|
|
8325
8335
|
t = s;
|
|
@@ -8329,7 +8339,7 @@ var Wa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8329
8339
|
if (a !== "legacy-full")
|
|
8330
8340
|
return !0;
|
|
8331
8341
|
} else if (a === "non-zero-area")
|
|
8332
|
-
return
|
|
8342
|
+
return Rn(t);
|
|
8333
8343
|
return !1;
|
|
8334
8344
|
}, wf = function(t) {
|
|
8335
8345
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
@@ -8423,7 +8433,7 @@ function Bf() {
|
|
|
8423
8433
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8424
8434
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
8425
8435
|
}
|
|
8426
|
-
function
|
|
8436
|
+
function Xn(e, t) {
|
|
8427
8437
|
var n = Object.keys(e);
|
|
8428
8438
|
if (Object.getOwnPropertySymbols) {
|
|
8429
8439
|
var a = Object.getOwnPropertySymbols(e);
|
|
@@ -8433,12 +8443,12 @@ function Rn(e, t) {
|
|
|
8433
8443
|
}
|
|
8434
8444
|
return n;
|
|
8435
8445
|
}
|
|
8436
|
-
function
|
|
8446
|
+
function Zn(e) {
|
|
8437
8447
|
for (var t = 1; t < arguments.length; t++) {
|
|
8438
8448
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
8439
|
-
t % 2 ?
|
|
8449
|
+
t % 2 ? Xn(Object(n), !0).forEach(function(a) {
|
|
8440
8450
|
Sf(e, a, n[a]);
|
|
8441
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
8451
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xn(Object(n)).forEach(function(a) {
|
|
8442
8452
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
8443
8453
|
});
|
|
8444
8454
|
}
|
|
@@ -8468,7 +8478,7 @@ function Vf(e, t) {
|
|
|
8468
8478
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Jt(e, t) : void 0;
|
|
8469
8479
|
}
|
|
8470
8480
|
}
|
|
8471
|
-
var
|
|
8481
|
+
var Yn = {
|
|
8472
8482
|
activateTrap: function(t, n) {
|
|
8473
8483
|
if (t.length > 0) {
|
|
8474
8484
|
var a = t[t.length - 1];
|
|
@@ -8491,7 +8501,7 @@ var Zn = {
|
|
|
8491
8501
|
return at(t) && !t.shiftKey;
|
|
8492
8502
|
}, Ff = function(t) {
|
|
8493
8503
|
return at(t) && t.shiftKey;
|
|
8494
|
-
},
|
|
8504
|
+
}, Kn = function(t) {
|
|
8495
8505
|
return setTimeout(t, 0);
|
|
8496
8506
|
}, $e = function(t) {
|
|
8497
8507
|
for (var n = arguments.length, a = new Array(n > 1 ? n - 1 : 0), r = 1; r < n; r++)
|
|
@@ -8500,7 +8510,7 @@ var Zn = {
|
|
|
8500
8510
|
}, ut = function(t) {
|
|
8501
8511
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
8502
8512
|
}, Rf = [], Xf = function(t, n) {
|
|
8503
|
-
var a = (n == null ? void 0 : n.document) || document, r = (n == null ? void 0 : n.trapStack) || Rf, i =
|
|
8513
|
+
var a = (n == null ? void 0 : n.document) || document, r = (n == null ? void 0 : n.trapStack) || Rf, i = Zn({
|
|
8504
8514
|
returnFocusOnDeactivate: !0,
|
|
8505
8515
|
escapeDeactivates: !0,
|
|
8506
8516
|
delayInitialFocus: !0,
|
|
@@ -8762,7 +8772,7 @@ var Zn = {
|
|
|
8762
8772
|
u(T, h) >= 0 || $e(i.clickOutsideDeactivates, h) || $e(i.allowOutsideClick, h) || (h.preventDefault(), h.stopImmediatePropagation());
|
|
8763
8773
|
}, B = function() {
|
|
8764
8774
|
if (l.active)
|
|
8765
|
-
return
|
|
8775
|
+
return Yn.activateTrap(r, s), l.delayInitialFocusTimer = i.delayInitialFocus ? Kn(function() {
|
|
8766
8776
|
v(A());
|
|
8767
8777
|
}) : v(A()), a.addEventListener("focusin", Q, !0), a.addEventListener("mousedown", x, {
|
|
8768
8778
|
capture: !0,
|
|
@@ -8816,16 +8826,16 @@ var Zn = {
|
|
|
8816
8826
|
deactivate: function(h) {
|
|
8817
8827
|
if (!l.active)
|
|
8818
8828
|
return this;
|
|
8819
|
-
var T =
|
|
8829
|
+
var T = Zn({
|
|
8820
8830
|
onDeactivate: i.onDeactivate,
|
|
8821
8831
|
onPostDeactivate: i.onPostDeactivate,
|
|
8822
8832
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
8823
8833
|
}, h);
|
|
8824
|
-
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, ee(), l.active = !1, l.paused = !1, E(),
|
|
8834
|
+
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, ee(), l.active = !1, l.paused = !1, E(), Yn.deactivateTrap(r, s);
|
|
8825
8835
|
var O = o(T, "onDeactivate"), U = o(T, "onPostDeactivate"), W = o(T, "checkCanReturnFocus"), Z = o(T, "returnFocus", "returnFocusOnDeactivate");
|
|
8826
8836
|
O == null || O();
|
|
8827
8837
|
var V = function() {
|
|
8828
|
-
|
|
8838
|
+
Kn(function() {
|
|
8829
8839
|
Z && v(I(l.nodeFocusedBeforeActivation)), U == null || U();
|
|
8830
8840
|
});
|
|
8831
8841
|
};
|
|
@@ -8900,8 +8910,8 @@ const Yf = { class: "av-popover-wrapper" }, Kf = /* @__PURE__ */ j({
|
|
|
8900
8910
|
},
|
|
8901
8911
|
setup(e, { expose: t }) {
|
|
8902
8912
|
Ae((A) => ({
|
|
8903
|
-
|
|
8904
|
-
|
|
8913
|
+
v19879f70: A.width,
|
|
8914
|
+
v5623eb3b: A.padding
|
|
8905
8915
|
}));
|
|
8906
8916
|
const n = X(null), a = X(null), { showPopover: r, popoverPosition: i, togglePopover: l, closePopover: s } = vf(n, a), { initializeFocusTrap: o, cleanupFocusTrap: u } = Zf(a, s);
|
|
8907
8917
|
function c(A) {
|
|
@@ -8918,7 +8928,7 @@ const Yf = { class: "av-popover-wrapper" }, Kf = /* @__PURE__ */ j({
|
|
|
8918
8928
|
}
|
|
8919
8929
|
return t({ setTriggerRef: c, triggerRef: n }), ue(r, async (A) => {
|
|
8920
8930
|
A ? (await Ue(), o()) : u();
|
|
8921
|
-
}),
|
|
8931
|
+
}), $t(() => {
|
|
8922
8932
|
u();
|
|
8923
8933
|
}), (A, b) => (d(), m("div", Yf, [
|
|
8924
8934
|
p("div", {
|
|
@@ -8946,7 +8956,7 @@ const Yf = { class: "av-popover-wrapper" }, Kf = /* @__PURE__ */ j({
|
|
|
8946
8956
|
]))
|
|
8947
8957
|
]));
|
|
8948
8958
|
}
|
|
8949
|
-
}), Dv = /* @__PURE__ */ $(Kf, [["__scopeId", "data-v-
|
|
8959
|
+
}), Dv = /* @__PURE__ */ $(Kf, [["__scopeId", "data-v-08e87c92"]]);
|
|
8950
8960
|
export {
|
|
8951
8961
|
mf as AV_BREAKPOINTS,
|
|
8952
8962
|
ov as AvAccordion,
|
|
@@ -8961,7 +8971,7 @@ export {
|
|
|
8961
8971
|
Nv as AvDrawer,
|
|
8962
8972
|
cv as AvFileUpload,
|
|
8963
8973
|
iv as AvHeader,
|
|
8964
|
-
|
|
8974
|
+
Qn as AvHeaderMenuLinks,
|
|
8965
8975
|
vs as AvIconText,
|
|
8966
8976
|
Zc as AvInput,
|
|
8967
8977
|
wa as AvList,
|