@avenirs-esr/avenirs-dsav 0.1.43 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avenirs-dsav.es.js +484 -476
- package/dist/avenirs-dsav.umd.js +7 -7
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/use-breakpoint/use-breakpoint.d.ts +54 -0
- package/dist/composables/use-breakpoint/use-breakpoint.test.d.ts +1 -0
- package/dist/config/breakpoints.d.ts +10 -0
- package/dist/config/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/avenirs-dsav.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DsfrBadge as ta, VIcon as aa, DsfrNotice as na, DsfrButton as ra, registerNavigationLinkKey as ia, DsfrLanguageSelector as Aa, DsfrSearchBar as oa, DsfrAccordionsGroup as la, DsfrAccordion as sa, useRandomId as ca, DsfrInput as ua, DsfrTag as da, DsfrRadioButtonSet as fa, DsfrRadioButton as va, DsfrMultiselect as ma, DsfrSelect as ga, DsfrTabs as Ia, DsfrTabContent as ba, DsfrTabItem as ha, DsfrNavigation as Ca, DsfrModal as ya } from "@gouvminint/vue-dsfr";
|
|
2
|
-
import { registerNavigationLinkKey as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
const
|
|
2
|
+
import { registerNavigationLinkKey as fs } from "@gouvminint/vue-dsfr";
|
|
3
|
+
import { defineComponent as w, useCssVars as te, computed as M, createBlock as k, openBlock as u, mergeProps as ee, unref as l, createPropsRestProxy as Ot, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as R, useSlots as Ae, normalizeStyle as Ve, createCommentVNode as D, renderSlot as j, resolveDynamicComponent as ue, createTextVNode as rt, TransitionGroup as Ea, Fragment as _, renderList as re, toRef as Ma, ref as J, onMounted as Ne, onUnmounted as Te, provide as St, resolveComponent as pa, withModifiers as se, mergeModels as ve, useModel as xe, nextTick as Re, createSlots as ke, watch as ce, isRef as it, inject as Na, getCurrentScope as Ta, onScopeDispose as Qa, getCurrentInstance as kt, toValue as ae, shallowRef as Pe, reactive as dt, normalizeProps as Da, guardReactiveProps as La, toRefs as At, withKeys as ot, Teleport as zt, onBeforeUnmount as wa } from "vue";
|
|
4
|
+
const hl = {
|
|
5
5
|
name: "AvBadge",
|
|
6
6
|
template: '<div class="av-badge"/>',
|
|
7
7
|
props: {
|
|
@@ -18,7 +18,7 @@ const bl = {
|
|
|
18
18
|
backgroundColor: String,
|
|
19
19
|
iconPath: String
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, Oa = /* @__PURE__ */ w({
|
|
22
22
|
__name: "AvBadge",
|
|
23
23
|
props: {
|
|
24
24
|
color: {},
|
|
@@ -37,7 +37,7 @@ const bl = {
|
|
|
37
37
|
v406561e2: r.backgroundColor,
|
|
38
38
|
v6fc40bd1: r.borderColor
|
|
39
39
|
}));
|
|
40
|
-
const t = e, a =
|
|
40
|
+
const t = e, a = M(() => t.iconPath && !t.noIcon ? "av-badge--customIcon" : void 0), n = M(() => ({
|
|
41
41
|
"--icon-path": `url(${t.iconPath})`
|
|
42
42
|
}));
|
|
43
43
|
return (r, A) => {
|
|
@@ -53,7 +53,7 @@ const bl = {
|
|
|
53
53
|
for (const [n, r] of t)
|
|
54
54
|
a[n] = r;
|
|
55
55
|
return a;
|
|
56
|
-
},
|
|
56
|
+
}, Cl = /* @__PURE__ */ W(Oa, [["__scopeId", "data-v-844b9e93"]]), Sa = { class: "av-icon-vicon--container" }, ka = 16 / 19.19, za = /* @__PURE__ */ w({
|
|
57
57
|
__name: "AvVIcon",
|
|
58
58
|
props: {
|
|
59
59
|
size: { default: 1 },
|
|
@@ -72,7 +72,7 @@ const bl = {
|
|
|
72
72
|
te((r) => ({
|
|
73
73
|
v53885778: l(n)
|
|
74
74
|
}));
|
|
75
|
-
const t =
|
|
75
|
+
const t = Ot(e, ["size"]), a = M(() => ka * e.size), n = M(() => `${e.size}rem`);
|
|
76
76
|
return (r, A) => {
|
|
77
77
|
const i = aa;
|
|
78
78
|
return u(), g("div", Sa, [
|
|
@@ -80,7 +80,7 @@ const bl = {
|
|
|
80
80
|
]);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */
|
|
83
|
+
}), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */ w({
|
|
84
84
|
__name: "AvIconText",
|
|
85
85
|
props: {
|
|
86
86
|
textColor: { default: "var(--text1)" },
|
|
@@ -96,7 +96,7 @@ const bl = {
|
|
|
96
96
|
v1b1615da: r.gap,
|
|
97
97
|
v274632b3: r.textColor
|
|
98
98
|
}));
|
|
99
|
-
const t =
|
|
99
|
+
const t = M(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = M(() => e.inline ? void 0 : "ellipsis-container"), n = M(() => e.inline ? void 0 : "ellipsis");
|
|
100
100
|
return (r, A) => (u(), g("div", {
|
|
101
101
|
class: F(["icon-text--container", [l(a)]])
|
|
102
102
|
}, [
|
|
@@ -118,7 +118,7 @@ function ja(e, t = "var(--dark-background-primary1)") {
|
|
|
118
118
|
function Je(e) {
|
|
119
119
|
return e ? e[0].toUpperCase() + e.slice(1).toLowerCase() : "";
|
|
120
120
|
}
|
|
121
|
-
const Pa = ["innerHTML"],
|
|
121
|
+
const Pa = ["innerHTML"], yl = /* @__PURE__ */ w({
|
|
122
122
|
__name: "AvNotice",
|
|
123
123
|
props: {
|
|
124
124
|
title: { default: "" },
|
|
@@ -126,7 +126,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
126
126
|
type: {}
|
|
127
127
|
},
|
|
128
128
|
setup(e) {
|
|
129
|
-
const t =
|
|
129
|
+
const t = M(() => ja(e.text));
|
|
130
130
|
return (a, n) => (u(), k(l(na), {
|
|
131
131
|
title: e.title,
|
|
132
132
|
type: e.type
|
|
@@ -137,7 +137,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["title", "type"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), El = {
|
|
141
141
|
name: "AvVIcon",
|
|
142
142
|
props: ["name", "color", "size"],
|
|
143
143
|
template: '<div class="av-vicon" />'
|
|
@@ -147,7 +147,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
147
147
|
}, Va = {
|
|
148
148
|
key: 2,
|
|
149
149
|
class: "av-card__footer"
|
|
150
|
-
}, Ua = /* @__PURE__ */
|
|
150
|
+
}, Ua = /* @__PURE__ */ w({
|
|
151
151
|
__name: "AvCard",
|
|
152
152
|
props: {
|
|
153
153
|
backgroundColor: { default: "var(--card)" },
|
|
@@ -177,7 +177,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
177
177
|
])) : D("", !0)
|
|
178
178
|
], 4));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Ml = /* @__PURE__ */ W(Ua, [["__scopeId", "data-v-740c9a3b"]]), Y = {
|
|
181
181
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
182
182
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
183
183
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -249,10 +249,10 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
249
249
|
TRAY_UPLOAD: "mdi:tray-upload",
|
|
250
250
|
VECTOR_POLYGON_VARIANT: "mdi:vector-polygon-variant",
|
|
251
251
|
WARNING_OUTLINE: "mdi:warning-outline"
|
|
252
|
-
},
|
|
252
|
+
}, pl = {
|
|
253
253
|
DICE_1_LINE: "ri:dice-1-line",
|
|
254
254
|
DICE_4_LINE: "ri:dice-4-line"
|
|
255
|
-
},
|
|
255
|
+
}, Nl = {
|
|
256
256
|
AMS_SAE: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yNSAxNy41SDExLjM3NVYxOS4yNUg1LjI1QzQuMjc4NzUgMTkuMjUgMy41IDE4LjQ3MTMgMy41IDE3LjVWMy41QzMuNSAzLjAzNTg3IDMuNjg0MzcgMi41OTA3NSA0LjAxMjU2IDIuMjYyNTZDNC4zNDA3NSAxLjkzNDM3IDQuNzg1ODcgMS43NSA1LjI1IDEuNzVIMTUuNzVDMTYuMjE0MSAxLjc1IDE2LjY1OTIgMS45MzQzNyAxNi45ODc0IDIuMjYyNTZDMTcuMzE1NiAyLjU5MDc1IDE3LjUgMy4wMzU4NyAxNy41IDMuNVYxMC45NzI1TDE2LjE4NzUgMTAuMjU1TDE1Ljc1IDEwLjVWMy41SDExLjM3NVYxMC41TDkuMTg3NSA4LjUzMTI1TDcgMTAuNVYzLjVINS4yNVYxNy41Wk0yMSAxNC44NzVMMTYuMTg3NSAxMi4yNUwxMS4zNzUgMTQuODc1TDE2LjE4NzUgMTcuNUwyMSAxNC44NzVaTTEzLjEyNSAxNi43MDM4VjE4LjQ1MzhMMTYuMTg3NSAyMC4xMjVMMTkuMjUgMTguNDUzOFYxNi43MDM4TDE2LjE4NzUgMTguMzc1TDEzLjEyNSAxNi43MDM4WiIgZmlsbD0iY3VycmVudENvbG9yIiAvPgo8L3N2Zz4K",
|
|
257
257
|
CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
258
258
|
CLOCK_HALF_PLUS_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTMxXzMxMzY5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1MzFfMzEzNjkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSAxMS43ODI3TDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzYuNTExNDQgMi42NjYwMiA1LjI1MDMzIDMuMTgyNjggNC4yMTY5OSA0LjIxNjAyQzMuMTgzNjYgNS4yNDkzNSAyLjY2Njk5IDYuNTEwNDYgMi42NjY5OSA3Ljk5OTM1QzIuNjY2OTkgOC43MTA0NiAyLjgwMDMzIDkuMzkzNzkgMy4wNjY5OSAxMC4wNDkzQzMuMzMzNjYgMTAuNzA0OSAzLjcxNjk5IDExLjI4MjcgNC4yMTY5OSAxMS43ODI3WiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
@@ -264,10 +264,10 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
264
264
|
function Xa(e) {
|
|
265
265
|
return [...new Set(e)];
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Tl(e) {
|
|
268
268
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
269
269
|
}
|
|
270
|
-
const Ha = /* @__PURE__ */
|
|
270
|
+
const Ha = /* @__PURE__ */ w({
|
|
271
271
|
__name: "AvButton",
|
|
272
272
|
props: {
|
|
273
273
|
variant: { default: "DEFAULT" },
|
|
@@ -287,7 +287,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
287
287
|
te((c) => ({
|
|
288
288
|
v8ea3f2fe: l(o)
|
|
289
289
|
}));
|
|
290
|
-
const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r =
|
|
290
|
+
const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r = M(() => a.isLoading ? n : a.icon), A = M(() => `av-button--variant-${a.variant.toLowerCase()}`), i = M(() => `av-button--theme-${a.theme.toLowerCase()}`), s = M(() => a.noRadius ? "av-button--no-radius" : ""), o = M(() => {
|
|
291
291
|
if (a.iconScale && !Number.isNaN(a.iconScale))
|
|
292
292
|
return a.iconScale;
|
|
293
293
|
switch (a.size) {
|
|
@@ -318,7 +318,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
318
318
|
}), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title", "label"]);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
}), me = /* @__PURE__ */ W(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */
|
|
321
|
+
}), me = /* @__PURE__ */ W(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */ w({
|
|
322
322
|
__name: "AvAlert",
|
|
323
323
|
props: {
|
|
324
324
|
alert: { type: Boolean, default: !1 },
|
|
@@ -334,14 +334,14 @@ const Ha = /* @__PURE__ */ O({
|
|
|
334
334
|
},
|
|
335
335
|
emits: ["close"],
|
|
336
336
|
setup(e, { emit: t }) {
|
|
337
|
-
const a = t, n = () => a("close"), r =
|
|
337
|
+
const a = t, n = () => a("close"), r = M(
|
|
338
338
|
() => [
|
|
339
339
|
`fr-alert--${e.type}`,
|
|
340
340
|
{
|
|
341
341
|
"fr-alert--sm": e.small
|
|
342
342
|
}
|
|
343
343
|
]
|
|
344
|
-
), A =
|
|
344
|
+
), A = M(() => {
|
|
345
345
|
switch (e.type) {
|
|
346
346
|
case "error":
|
|
347
347
|
return { name: Y.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
|
|
@@ -389,7 +389,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
389
389
|
])
|
|
390
390
|
], 10, Za));
|
|
391
391
|
}
|
|
392
|
-
}), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */
|
|
392
|
+
}), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */ w({
|
|
393
393
|
__name: "AvToaster",
|
|
394
394
|
props: {
|
|
395
395
|
messages: {},
|
|
@@ -433,7 +433,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
433
433
|
})
|
|
434
434
|
]));
|
|
435
435
|
}
|
|
436
|
-
}),
|
|
436
|
+
}), Ql = /* @__PURE__ */ W(_a, [["__scopeId", "data-v-202438c7"]]), $a = ["aria-label"], en = { class: "fr-btns-group" }, ft = /* @__PURE__ */ w({
|
|
437
437
|
__name: "AvHeaderMenuLinks",
|
|
438
438
|
props: {
|
|
439
439
|
links: {},
|
|
@@ -515,7 +515,7 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
515
515
|
}, Nn = { class: "fr-header__menu fr-modal" }, Tn = {
|
|
516
516
|
key: 0,
|
|
517
517
|
class: "fr-container"
|
|
518
|
-
}, Qn = /* @__PURE__ */
|
|
518
|
+
}, Qn = /* @__PURE__ */ w({
|
|
519
519
|
__name: "AvHeader",
|
|
520
520
|
props: {
|
|
521
521
|
searchbarId: { default: "searchbar-header" },
|
|
@@ -538,28 +538,28 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
538
538
|
setup(e, { emit: t }) {
|
|
539
539
|
const a = e, n = t, r = Ae(), A = Ma(a, "languageSelector"), i = J(!1), s = J(!1), o = J(!1);
|
|
540
540
|
function c() {
|
|
541
|
-
var
|
|
542
|
-
o.value = !1, i.value = !1, s.value = !1, (
|
|
541
|
+
var p;
|
|
542
|
+
o.value = !1, i.value = !1, s.value = !1, (p = document.getElementById("button-menu")) == null || p.focus();
|
|
543
543
|
}
|
|
544
|
-
function d(
|
|
545
|
-
|
|
544
|
+
function d(p) {
|
|
545
|
+
p.key === "Escape" && c();
|
|
546
546
|
}
|
|
547
|
-
|
|
547
|
+
Ne(() => {
|
|
548
548
|
document.addEventListener("keydown", d);
|
|
549
|
-
}),
|
|
549
|
+
}), Te(() => {
|
|
550
550
|
document.removeEventListener("keydown", d);
|
|
551
551
|
});
|
|
552
552
|
function f() {
|
|
553
553
|
o.value = !0, i.value = !0, s.value = !1, setTimeout(() => {
|
|
554
|
-
var
|
|
555
|
-
(
|
|
554
|
+
var p;
|
|
555
|
+
(p = document.getElementById("close-button")) == null || p.focus();
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
558
|
function b() {
|
|
559
559
|
o.value = !0, i.value = !1, s.value = !0;
|
|
560
560
|
}
|
|
561
|
-
const I = c, m =
|
|
562
|
-
return St(ia, () => c), (
|
|
561
|
+
const I = c, m = M(() => [a.homeLabel, a.serviceTitle].filter((p) => p).join(" - ")), C = M(() => !!r.mainnav);
|
|
562
|
+
return St(ia, () => c), (p, T) => {
|
|
563
563
|
var B, V;
|
|
564
564
|
const Q = pa("RouterLink"), E = Aa, L = oa;
|
|
565
565
|
return u(), g("header", An, [
|
|
@@ -605,18 +605,18 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
605
605
|
]),
|
|
606
606
|
e.serviceTitle ? (u(), g("div", gn, [
|
|
607
607
|
y("p", In, Z(e.serviceTitle), 1),
|
|
608
|
-
j(
|
|
608
|
+
j(p.$slots, "serviceDescription", {}, void 0, !0)
|
|
609
609
|
])) : D("", !0)
|
|
610
610
|
]),
|
|
611
611
|
y("div", bn, [
|
|
612
612
|
y("div", hn, [
|
|
613
|
-
j(
|
|
613
|
+
j(p.$slots, "before-quick-links", {}, void 0, !0),
|
|
614
614
|
l(i) ? D("", !0) : (u(), k(ft, {
|
|
615
615
|
key: 0,
|
|
616
616
|
links: e.quickLinks,
|
|
617
617
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
618
618
|
}, null, 8, ["links", "nav-aria-label"])),
|
|
619
|
-
j(
|
|
619
|
+
j(p.$slots, "after-quick-links", {}, void 0, !0),
|
|
620
620
|
l(A) ? (u(), k(E, ee({ key: 1 }, l(A), {
|
|
621
621
|
onSelect: T[2] || (T[2] = (x) => n("languageSelect", x))
|
|
622
622
|
}), null, 16)) : D("", !0)
|
|
@@ -654,7 +654,7 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
654
654
|
l(A) ? (u(), k(E, ee({ key: 0 }, l(A), {
|
|
655
655
|
onSelect: T[6] || (T[6] = (x) => l(A).currentLanguage = x.codeIso)
|
|
656
656
|
}), null, 16)) : D("", !0),
|
|
657
|
-
j(
|
|
657
|
+
j(p.$slots, "before-quick-links", {}, void 0, !0),
|
|
658
658
|
l(i) ? (u(), k(ft, {
|
|
659
659
|
key: 1,
|
|
660
660
|
role: "navigation",
|
|
@@ -662,9 +662,9 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
662
662
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
663
663
|
onLinkClick: l(I)
|
|
664
664
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
|
|
665
|
-
j(
|
|
665
|
+
j(p.$slots, "after-quick-links", {}, void 0, !0)
|
|
666
666
|
]),
|
|
667
|
-
l(o) ? j(
|
|
667
|
+
l(o) ? j(p.$slots, "mainnav", {
|
|
668
668
|
key: 0,
|
|
669
669
|
hidemodal: c
|
|
670
670
|
}, void 0, !0) : D("", !0),
|
|
@@ -679,18 +679,18 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
679
679
|
])) : D("", !0)
|
|
680
680
|
])
|
|
681
681
|
], 10, yn)) : D("", !0),
|
|
682
|
-
j(
|
|
682
|
+
j(p.$slots, "default", {}, void 0, !0)
|
|
683
683
|
])
|
|
684
684
|
]),
|
|
685
685
|
y("div", Nn, [
|
|
686
686
|
l(C) && !l(o) ? (u(), g("div", Tn, [
|
|
687
|
-
j(
|
|
687
|
+
j(p.$slots, "mainnav", { hidemodal: c }, void 0, !0)
|
|
688
688
|
])) : D("", !0)
|
|
689
689
|
])
|
|
690
690
|
]);
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
}),
|
|
693
|
+
}), Dl = /* @__PURE__ */ W(Qn, [["__scopeId", "data-v-40671897"]]), Dn = {
|
|
694
694
|
xmlns: "http://www.w3.org/2000/svg",
|
|
695
695
|
viewBox: "0 0 106.703 44.429"
|
|
696
696
|
};
|
|
@@ -708,7 +708,7 @@ function Ln(e, t) {
|
|
|
708
708
|
}, null, -1)
|
|
709
709
|
])]);
|
|
710
710
|
}
|
|
711
|
-
const
|
|
711
|
+
const wn = { render: Ln }, On = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ w({
|
|
712
712
|
__name: "EsupLogo",
|
|
713
713
|
props: {
|
|
714
714
|
width: {},
|
|
@@ -719,15 +719,15 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
719
719
|
te((a) => ({
|
|
720
720
|
v1dadd14a: a.color
|
|
721
721
|
}));
|
|
722
|
-
const t =
|
|
722
|
+
const t = M(() => ({
|
|
723
723
|
...e.width && { width: e.width },
|
|
724
724
|
...e.height && { height: e.height }
|
|
725
725
|
}));
|
|
726
|
-
return (a, n) => (u(), g("div",
|
|
727
|
-
P(l(
|
|
726
|
+
return (a, n) => (u(), g("div", On, [
|
|
727
|
+
P(l(wn), ee(l(t), { class: "logo" }), null, 16)
|
|
728
728
|
]));
|
|
729
729
|
}
|
|
730
|
-
}),
|
|
730
|
+
}), Ll = /* @__PURE__ */ W(Sn, [["__scopeId", "data-v-0e512b24"]]), wl = /* @__PURE__ */ w({
|
|
731
731
|
__name: "AvAccordion",
|
|
732
732
|
props: {
|
|
733
733
|
title: {},
|
|
@@ -736,7 +736,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
736
736
|
setup(e) {
|
|
737
737
|
return (t, a) => j(t.$slots, "default");
|
|
738
738
|
}
|
|
739
|
-
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, Bn = /* @__PURE__ */
|
|
739
|
+
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, Bn = /* @__PURE__ */ w({
|
|
740
740
|
__name: "AvAccordionsGroup",
|
|
741
741
|
props: /* @__PURE__ */ ve({
|
|
742
742
|
activeAccordion: {}
|
|
@@ -746,10 +746,10 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
746
746
|
}),
|
|
747
747
|
emits: /* @__PURE__ */ ve(["update:activeAccordion"], ["update:activeAccordion"]),
|
|
748
748
|
setup(e) {
|
|
749
|
-
const t = Ae(), a =
|
|
749
|
+
const t = Ae(), a = M(() => {
|
|
750
750
|
var A;
|
|
751
751
|
return ((A = t.default) == null ? void 0 : A.call(t)) || [];
|
|
752
|
-
}), n =
|
|
752
|
+
}), n = xe(e, "activeAccordion"), r = `accordion-group-${crypto.randomUUID()}`;
|
|
753
753
|
return (A, i) => (u(), k(l(la), {
|
|
754
754
|
modelValue: n.value,
|
|
755
755
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => n.value = s),
|
|
@@ -788,12 +788,12 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
788
788
|
_: 1
|
|
789
789
|
}, 8, ["modelValue"]));
|
|
790
790
|
}
|
|
791
|
-
}), Ol = /* @__PURE__ */ W(Bn, [["__scopeId", "data-v-efeab1a6"]]),
|
|
791
|
+
}), Ol = /* @__PURE__ */ W(Bn, [["__scopeId", "data-v-efeab1a6"]]), Sl = {
|
|
792
792
|
name: "AvButton",
|
|
793
793
|
props: ["label", "variant", "type", "disabled", "isLoading"],
|
|
794
794
|
emits: ["click"],
|
|
795
795
|
template: `<button :disabled="disabled" @click="$emit('click')">{{ label }}</button>`
|
|
796
|
-
}, jn = { class: "av-cancel-confirm-buttons-container" }, Pn = /* @__PURE__ */
|
|
796
|
+
}, jn = { class: "av-cancel-confirm-buttons-container" }, Pn = /* @__PURE__ */ w({
|
|
797
797
|
__name: "AvCancelConfirmButtons",
|
|
798
798
|
props: {
|
|
799
799
|
cancelLabel: {},
|
|
@@ -833,7 +833,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
833
833
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : D("", !0)
|
|
834
834
|
]));
|
|
835
835
|
}
|
|
836
|
-
}), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-b2b6579f"]]), Vn = ["title", "aria-label"], Un = { class: "av-rich-button__line" }, Xn = { class: "av-rich-button__left" }, Hn = /* @__PURE__ */
|
|
836
|
+
}), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-b2b6579f"]]), Vn = ["title", "aria-label"], Un = { class: "av-rich-button__line" }, Xn = { class: "av-rich-button__left" }, Hn = /* @__PURE__ */ w({
|
|
837
837
|
__name: "AvRichButton",
|
|
838
838
|
props: {
|
|
839
839
|
label: {},
|
|
@@ -873,11 +873,11 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
873
873
|
])
|
|
874
874
|
], 8, Vn));
|
|
875
875
|
}
|
|
876
|
-
}),
|
|
876
|
+
}), kl = /* @__PURE__ */ W(Hn, [["__scopeId", "data-v-f0871dc1"]]), Zn = {
|
|
877
877
|
key: 0,
|
|
878
878
|
class: "messages-group",
|
|
879
879
|
role: "alert"
|
|
880
|
-
}, qn = /* @__PURE__ */
|
|
880
|
+
}, qn = /* @__PURE__ */ w({
|
|
881
881
|
__name: "AvFileUploadAlert",
|
|
882
882
|
props: {
|
|
883
883
|
error: { default: void 0 },
|
|
@@ -900,7 +900,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
900
900
|
}, _n = { class: "b2-regular" }, $n = { class: "caption-light" }, er = {
|
|
901
901
|
key: 0,
|
|
902
902
|
class: "right-icon-container"
|
|
903
|
-
}, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */
|
|
903
|
+
}, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */ w({
|
|
904
904
|
inheritAttrs: !1,
|
|
905
905
|
__name: "AvFileUpload",
|
|
906
906
|
props: {
|
|
@@ -925,14 +925,14 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
925
925
|
te((I) => ({
|
|
926
926
|
v38bbeb48: I.maxWidth
|
|
927
927
|
}));
|
|
928
|
-
const a = t, n =
|
|
928
|
+
const a = t, n = M(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), r = J(!1);
|
|
929
929
|
function A(I) {
|
|
930
930
|
const m = n.value;
|
|
931
|
-
return m ? m.split(",").map((
|
|
931
|
+
return m ? m.split(",").map((p) => p.trim().toLowerCase()).some((p) => p.startsWith(".") ? I.name.toLowerCase().endsWith(p) : p.includes("/") ? I.type === p || I.type.startsWith(`${p.split("/")[0]}/`) : !1) : !0;
|
|
932
932
|
}
|
|
933
933
|
async function i(I) {
|
|
934
|
-
var C,
|
|
935
|
-
if (I.preventDefault(), r.value = !1, e.disabled || !((
|
|
934
|
+
var C, p;
|
|
935
|
+
if (I.preventDefault(), r.value = !1, e.disabled || !((p = (C = I.dataTransfer) == null ? void 0 : C.files) != null && p.length))
|
|
936
936
|
return;
|
|
937
937
|
const m = Array.from(I.dataTransfer.files).filter(A);
|
|
938
938
|
await Re(), m.length ? (a("change", m), a("update:modelValue", m[0] ?? "")) : a("onDropAcceptTypeError");
|
|
@@ -947,7 +947,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
947
947
|
const m = I.target.files;
|
|
948
948
|
a("change", m), a("update:modelValue", (m == null ? void 0 : m[0]) ?? null);
|
|
949
949
|
}
|
|
950
|
-
const d =
|
|
950
|
+
const d = M(() => e.fileName || e.modelValue && !e.enableMultiple), f = M(() => ({
|
|
951
951
|
for: e.id,
|
|
952
952
|
class: [
|
|
953
953
|
"fr-upload-group",
|
|
@@ -1032,7 +1032,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
1032
1032
|
])
|
|
1033
1033
|
], 64));
|
|
1034
1034
|
}
|
|
1035
|
-
}),
|
|
1035
|
+
}), zl = /* @__PURE__ */ W(nr, [["__scopeId", "data-v-2c0c549f"]]), xt = 6048e5, rr = 864e5, vt = Symbol.for("constructDateFrom");
|
|
1036
1036
|
function ge(e, t) {
|
|
1037
1037
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && vt in e ? e[vt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
1038
1038
|
}
|
|
@@ -1043,13 +1043,13 @@ let ir = {};
|
|
|
1043
1043
|
function Fe() {
|
|
1044
1044
|
return ir;
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function Be(e, t) {
|
|
1047
1047
|
var s, o, c, d;
|
|
1048
1048
|
const a = Fe(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((o = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : o.weekStartsOn) ?? a.weekStartsOn ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.weekStartsOn) ?? 0, r = le(e, t == null ? void 0 : t.in), A = r.getDay(), i = (A < n ? 7 : 0) + A - n;
|
|
1049
1049
|
return r.setDate(r.getDate() - i), r.setHours(0, 0, 0, 0), r;
|
|
1050
1050
|
}
|
|
1051
1051
|
function Ue(e, t) {
|
|
1052
|
-
return
|
|
1052
|
+
return Be(e, { ...t, weekStartsOn: 1 });
|
|
1053
1053
|
}
|
|
1054
1054
|
function Bt(e, t) {
|
|
1055
1055
|
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = ge(a, 0);
|
|
@@ -1215,7 +1215,7 @@ const fr = {
|
|
|
1215
1215
|
nextWeek: "eeee 'at' p",
|
|
1216
1216
|
other: "P"
|
|
1217
1217
|
}, br = (e, t, a, n) => Ir[e];
|
|
1218
|
-
function
|
|
1218
|
+
function Le(e) {
|
|
1219
1219
|
return (t, a) => {
|
|
1220
1220
|
const n = a != null && a.context ? String(a.context) : "standalone";
|
|
1221
1221
|
let r;
|
|
@@ -1357,31 +1357,31 @@ const hr = {
|
|
|
1357
1357
|
return a + "th";
|
|
1358
1358
|
}, Tr = {
|
|
1359
1359
|
ordinalNumber: Nr,
|
|
1360
|
-
era:
|
|
1360
|
+
era: Le({
|
|
1361
1361
|
values: hr,
|
|
1362
1362
|
defaultWidth: "wide"
|
|
1363
1363
|
}),
|
|
1364
|
-
quarter:
|
|
1364
|
+
quarter: Le({
|
|
1365
1365
|
values: Cr,
|
|
1366
1366
|
defaultWidth: "wide",
|
|
1367
1367
|
argumentCallback: (e) => e - 1
|
|
1368
1368
|
}),
|
|
1369
|
-
month:
|
|
1369
|
+
month: Le({
|
|
1370
1370
|
values: yr,
|
|
1371
1371
|
defaultWidth: "wide"
|
|
1372
1372
|
}),
|
|
1373
|
-
day:
|
|
1373
|
+
day: Le({
|
|
1374
1374
|
values: Er,
|
|
1375
1375
|
defaultWidth: "wide"
|
|
1376
1376
|
}),
|
|
1377
|
-
dayPeriod:
|
|
1377
|
+
dayPeriod: Le({
|
|
1378
1378
|
values: Mr,
|
|
1379
1379
|
defaultWidth: "wide",
|
|
1380
1380
|
formattingValues: pr,
|
|
1381
1381
|
defaultFormattingWidth: "wide"
|
|
1382
1382
|
})
|
|
1383
1383
|
};
|
|
1384
|
-
function
|
|
1384
|
+
function we(e) {
|
|
1385
1385
|
return (t, a = {}) => {
|
|
1386
1386
|
const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], A = t.match(r);
|
|
1387
1387
|
if (!A)
|
|
@@ -1421,7 +1421,7 @@ function Lr(e) {
|
|
|
1421
1421
|
return { value: i, rest: s };
|
|
1422
1422
|
};
|
|
1423
1423
|
}
|
|
1424
|
-
const
|
|
1424
|
+
const wr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Sr = {
|
|
1425
1425
|
narrow: /^(b|a)/i,
|
|
1426
1426
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1427
1427
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -1490,36 +1490,36 @@ const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
}, Xr = {
|
|
1492
1492
|
ordinalNumber: Lr({
|
|
1493
|
-
matchPattern:
|
|
1494
|
-
parsePattern:
|
|
1493
|
+
matchPattern: wr,
|
|
1494
|
+
parsePattern: Or,
|
|
1495
1495
|
valueCallback: (e) => parseInt(e, 10)
|
|
1496
1496
|
}),
|
|
1497
|
-
era:
|
|
1497
|
+
era: we({
|
|
1498
1498
|
matchPatterns: Sr,
|
|
1499
1499
|
defaultMatchWidth: "wide",
|
|
1500
1500
|
parsePatterns: kr,
|
|
1501
1501
|
defaultParseWidth: "any"
|
|
1502
1502
|
}),
|
|
1503
|
-
quarter:
|
|
1503
|
+
quarter: we({
|
|
1504
1504
|
matchPatterns: zr,
|
|
1505
1505
|
defaultMatchWidth: "wide",
|
|
1506
1506
|
parsePatterns: xr,
|
|
1507
1507
|
defaultParseWidth: "any",
|
|
1508
1508
|
valueCallback: (e) => e + 1
|
|
1509
1509
|
}),
|
|
1510
|
-
month:
|
|
1510
|
+
month: we({
|
|
1511
1511
|
matchPatterns: Br,
|
|
1512
1512
|
defaultMatchWidth: "wide",
|
|
1513
1513
|
parsePatterns: jr,
|
|
1514
1514
|
defaultParseWidth: "any"
|
|
1515
1515
|
}),
|
|
1516
|
-
day:
|
|
1516
|
+
day: we({
|
|
1517
1517
|
matchPatterns: Pr,
|
|
1518
1518
|
defaultMatchWidth: "wide",
|
|
1519
1519
|
parsePatterns: Wr,
|
|
1520
1520
|
defaultParseWidth: "any"
|
|
1521
1521
|
}),
|
|
1522
|
-
dayPeriod:
|
|
1522
|
+
dayPeriod: we({
|
|
1523
1523
|
matchPatterns: Vr,
|
|
1524
1524
|
defaultMatchWidth: "any",
|
|
1525
1525
|
parsePatterns: Ur,
|
|
@@ -1549,18 +1549,18 @@ function Pt(e, t) {
|
|
|
1549
1549
|
var d, f, b, I;
|
|
1550
1550
|
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), A = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, i = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1551
1551
|
i.setFullYear(n + 1, 0, A), i.setHours(0, 0, 0, 0);
|
|
1552
|
-
const s =
|
|
1552
|
+
const s = Be(i, t), o = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1553
1553
|
o.setFullYear(n, 0, A), o.setHours(0, 0, 0, 0);
|
|
1554
|
-
const c =
|
|
1554
|
+
const c = Be(o, t);
|
|
1555
1555
|
return +a >= +s ? n + 1 : +a >= +c ? n : n - 1;
|
|
1556
1556
|
}
|
|
1557
1557
|
function Yr(e, t) {
|
|
1558
1558
|
var s, o, c, d;
|
|
1559
1559
|
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((o = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : o.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), A = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1560
|
-
return A.setFullYear(r, 0, n), A.setHours(0, 0, 0, 0),
|
|
1560
|
+
return A.setFullYear(r, 0, n), A.setHours(0, 0, 0, 0), Be(A, t);
|
|
1561
1561
|
}
|
|
1562
1562
|
function Rr(e, t) {
|
|
1563
|
-
const a = le(e, t == null ? void 0 : t.in), n = +
|
|
1563
|
+
const a = le(e, t == null ? void 0 : t.in), n = +Be(a, t) - +Yr(a, t);
|
|
1564
1564
|
return Math.round(n / xt) + 1;
|
|
1565
1565
|
}
|
|
1566
1566
|
function H(e, t) {
|
|
@@ -2266,8 +2266,8 @@ function li(e, t, a) {
|
|
|
2266
2266
|
let o = t.match(ri).map((m) => {
|
|
2267
2267
|
const C = m[0];
|
|
2268
2268
|
if (C === "p" || C === "P") {
|
|
2269
|
-
const
|
|
2270
|
-
return
|
|
2269
|
+
const p = Kr[C];
|
|
2270
|
+
return p(m, r.formatLong);
|
|
2271
2271
|
}
|
|
2272
2272
|
return m;
|
|
2273
2273
|
}).join("").match(ni).map((m) => {
|
|
@@ -2294,8 +2294,8 @@ function li(e, t, a) {
|
|
|
2294
2294
|
if (!m.isToken) return m.value;
|
|
2295
2295
|
const C = m.value;
|
|
2296
2296
|
(ei(C) || $r(C)) && ti(C, t, String(e));
|
|
2297
|
-
const
|
|
2298
|
-
return
|
|
2297
|
+
const p = It[C[0]];
|
|
2298
|
+
return p(s, C, r.localize, c);
|
|
2299
2299
|
}).join("");
|
|
2300
2300
|
}
|
|
2301
2301
|
function si(e) {
|
|
@@ -2315,7 +2315,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2315
2315
|
}, vi = {
|
|
2316
2316
|
key: 1,
|
|
2317
2317
|
class: "av-input__valid"
|
|
2318
|
-
}, mi = /* @__PURE__ */
|
|
2318
|
+
}, mi = /* @__PURE__ */ w({
|
|
2319
2319
|
__name: "AvInput",
|
|
2320
2320
|
props: {
|
|
2321
2321
|
id: {},
|
|
@@ -2345,7 +2345,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2345
2345
|
te((b) => ({
|
|
2346
2346
|
bbb0de5c: b.width
|
|
2347
2347
|
}));
|
|
2348
|
-
const a = e, n = t, r = Ae(), A =
|
|
2348
|
+
const a = e, n = t, r = Ae(), A = M(() => a.errorMessage ? Array.isArray(a.errorMessage) ? a.errorMessage : [a.errorMessage] : []), i = M(() => a.validMessage ? Array.isArray(a.validMessage) ? a.validMessage : [a.validMessage] : []), s = M(() => a.id || `av-input-${crypto.randomUUID()}`), o = M(() => !!a.errorMessage), c = M(() => f(a.minDate)), d = M(() => f(a.maxDate));
|
|
2349
2349
|
function f(b) {
|
|
2350
2350
|
if (!(a.type !== "date" && a.type !== "datetime-local" || b === void 0 || !jt(b)))
|
|
2351
2351
|
return li(b, "yyyy-MM-dd");
|
|
@@ -2382,7 +2382,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2382
2382
|
max: l(d),
|
|
2383
2383
|
min: l(c),
|
|
2384
2384
|
"onUpdate:modelValue": I[0] || (I[0] = (m) => n("update:modelValue", m))
|
|
2385
|
-
}),
|
|
2385
|
+
}), ke({ _: 2 }, [
|
|
2386
2386
|
r.requiredTip ? {
|
|
2387
2387
|
name: "required-tip",
|
|
2388
2388
|
fn: R(() => [
|
|
@@ -2415,11 +2415,11 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2415
2415
|
])) : D("", !0)
|
|
2416
2416
|
], 2));
|
|
2417
2417
|
}
|
|
2418
|
-
}), gi = /* @__PURE__ */ W(mi, [["__scopeId", "data-v-055da9a3"]]),
|
|
2418
|
+
}), gi = /* @__PURE__ */ W(mi, [["__scopeId", "data-v-055da9a3"]]), xl = {
|
|
2419
2419
|
name: "AvList",
|
|
2420
2420
|
props: ["size"],
|
|
2421
2421
|
template: '<div class="av-list"><slot /></div>'
|
|
2422
|
-
}, Ii = ["role", "aria-label", "aria-labelledby", "aria-describedby"], bi = /* @__PURE__ */
|
|
2422
|
+
}, Ii = ["role", "aria-label", "aria-labelledby", "aria-describedby"], bi = /* @__PURE__ */ w({
|
|
2423
2423
|
__name: "AvList",
|
|
2424
2424
|
props: {
|
|
2425
2425
|
backgroundColor: { default: "transparent" },
|
|
@@ -2441,7 +2441,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2441
2441
|
v61717933: r.padding,
|
|
2442
2442
|
v718f62b9: r.borderColor
|
|
2443
2443
|
}));
|
|
2444
|
-
const t =
|
|
2444
|
+
const t = M(() => `av-list--${e.size}`), a = M(() => e.bordered ? "av-list--bordered" : ""), n = M(() => e.divided ? "av-list--divided" : "");
|
|
2445
2445
|
return (r, A) => (u(), g("div", {
|
|
2446
2446
|
class: F(["av-list", [l(t), l(a), l(n)]]),
|
|
2447
2447
|
role: e.role,
|
|
@@ -2452,7 +2452,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2452
2452
|
j(r.$slots, "default", {}, void 0, !0)
|
|
2453
2453
|
], 10, Ii));
|
|
2454
2454
|
}
|
|
2455
|
-
}), Vt = /* @__PURE__ */ W(bi, [["__scopeId", "data-v-f74989f7"]]),
|
|
2455
|
+
}), Vt = /* @__PURE__ */ W(bi, [["__scopeId", "data-v-f74989f7"]]), Bl = {
|
|
2456
2456
|
name: "AvListItem",
|
|
2457
2457
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
2458
2458
|
emits: ["click"],
|
|
@@ -2466,7 +2466,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2466
2466
|
}, Mi = {
|
|
2467
2467
|
key: 1,
|
|
2468
2468
|
class: "av-list-item__description"
|
|
2469
|
-
}, pi = { key: 2 }, Ni = /* @__PURE__ */
|
|
2469
|
+
}, pi = { key: 2 }, Ni = /* @__PURE__ */ w({
|
|
2470
2470
|
__name: "AvListItem",
|
|
2471
2471
|
props: {
|
|
2472
2472
|
icon: {},
|
|
@@ -2497,7 +2497,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2497
2497
|
v479455c7: c.descriptionColor,
|
|
2498
2498
|
v6281c2f9: c.hoverBackgroundColor
|
|
2499
2499
|
}));
|
|
2500
|
-
const t = Ae(), a =
|
|
2500
|
+
const t = Ae(), a = M(() => e.clickable ? e.tag : "div"), n = M(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0);
|
|
2501
2501
|
function r(c) {
|
|
2502
2502
|
var d;
|
|
2503
2503
|
!e.clickable || e.disabled || (d = e.onClick) == null || d.call(e, c);
|
|
@@ -2513,7 +2513,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2513
2513
|
(d = e.onClick) == null || d.call(e, f);
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
const i =
|
|
2516
|
+
const i = M(() => e.clickable ? "av-list-item--clickable" : ""), s = M(() => e.disabled ? "av-list-item--disabled" : ""), o = M(() => e.selected ? "av-list-item--selected" : "");
|
|
2517
2517
|
return (c, d) => (u(), g("div", { role: e.role }, [
|
|
2518
2518
|
(u(), k(ue(l(a)), {
|
|
2519
2519
|
class: F(["av-list-item", [l(i), l(s), l(o)]]),
|
|
@@ -2548,7 +2548,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2548
2548
|
}, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
|
|
2549
2549
|
], 8, hi));
|
|
2550
2550
|
}
|
|
2551
|
-
}), Ut = /* @__PURE__ */ W(Ni, [["__scopeId", "data-v-b9106d17"]]), Ti = { class: "av-select-container" }, Qi = /* @__PURE__ */
|
|
2551
|
+
}), Ut = /* @__PURE__ */ W(Ni, [["__scopeId", "data-v-b9106d17"]]), Ti = { class: "av-select-container" }, Qi = /* @__PURE__ */ w({
|
|
2552
2552
|
__name: "AvTagPicker",
|
|
2553
2553
|
props: {
|
|
2554
2554
|
multiple: { type: Boolean },
|
|
@@ -2570,13 +2570,13 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2570
2570
|
selected: A,
|
|
2571
2571
|
multiple: i,
|
|
2572
2572
|
handleSelectChange: s
|
|
2573
|
-
} = t, o =
|
|
2573
|
+
} = t, o = M(() => Xa(t.options));
|
|
2574
2574
|
function c(C) {
|
|
2575
2575
|
return C ? Array.isArray(C) ? C : [C] : [];
|
|
2576
2576
|
}
|
|
2577
2577
|
const d = J(c(A));
|
|
2578
2578
|
function f(C) {
|
|
2579
|
-
return d.value.some((
|
|
2579
|
+
return d.value.some((p) => p.value === C.value);
|
|
2580
2580
|
}
|
|
2581
2581
|
function b(C) {
|
|
2582
2582
|
i ? (f(C) ? d.value = d.value.filter(
|
|
@@ -2591,7 +2591,7 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2591
2591
|
}
|
|
2592
2592
|
return ce(() => t.selected, (C) => {
|
|
2593
2593
|
d.value = c(C);
|
|
2594
|
-
}, { immediate: !0 }), (C,
|
|
2594
|
+
}, { immediate: !0 }), (C, p) => {
|
|
2595
2595
|
const T = da;
|
|
2596
2596
|
return u(), g("div", Ti, [
|
|
2597
2597
|
l(a) ? (u(), g("span", {
|
|
@@ -2619,13 +2619,13 @@ const ci = { class: "av-input__wrapper" }, ui = {
|
|
|
2619
2619
|
};
|
|
2620
2620
|
}
|
|
2621
2621
|
}), Di = /* @__PURE__ */ W(Qi, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
2622
|
-
var Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
|
|
2623
|
-
const
|
|
2622
|
+
var Li = /* @__PURE__ */ ((e) => (e[e.SM = 576] = "SM", e[e.MD = 768] = "MD", e[e.LG = 1024] = "LG", e[e.XL = 1440] = "XL", e))(Li || {}), Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
|
|
2623
|
+
const jl = [
|
|
2624
2624
|
4,
|
|
2625
2625
|
8,
|
|
2626
2626
|
12
|
|
2627
2627
|
/* TWELVE */
|
|
2628
|
-
],
|
|
2628
|
+
], wi = { class: "pagination-size-picker-container" }, Oi = /* @__PURE__ */ w({
|
|
2629
2629
|
__name: "AvPageSizePicker",
|
|
2630
2630
|
props: {
|
|
2631
2631
|
label: {},
|
|
@@ -2633,14 +2633,14 @@ const Bl = [
|
|
|
2633
2633
|
handleSelectChange: { type: Function }
|
|
2634
2634
|
},
|
|
2635
2635
|
setup(e) {
|
|
2636
|
-
const t =
|
|
2636
|
+
const t = M(() => Object.values(Xt).filter((n) => typeof n == "number").map((n) => ({
|
|
2637
2637
|
label: n.toString(),
|
|
2638
2638
|
value: n.toString()
|
|
2639
|
-
}))), a =
|
|
2639
|
+
}))), a = M(() => ({
|
|
2640
2640
|
label: e.pageSizeSelected.toString(),
|
|
2641
2641
|
value: e.pageSizeSelected.toString()
|
|
2642
2642
|
}));
|
|
2643
|
-
return (n, r) => (u(), g("div",
|
|
2643
|
+
return (n, r) => (u(), g("div", wi, [
|
|
2644
2644
|
P(Di, {
|
|
2645
2645
|
options: l(t),
|
|
2646
2646
|
selected: l(a),
|
|
@@ -2652,7 +2652,7 @@ const Bl = [
|
|
|
2652
2652
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
2653
2653
|
]));
|
|
2654
2654
|
}
|
|
2655
|
-
}),
|
|
2655
|
+
}), Pl = /* @__PURE__ */ W(Oi, [["__scopeId", "data-v-d72fe5ab"]]), Wl = {
|
|
2656
2656
|
name: "AvTagPicker",
|
|
2657
2657
|
props: [
|
|
2658
2658
|
"label",
|
|
@@ -2672,7 +2672,7 @@ const Bl = [
|
|
|
2672
2672
|
</button>
|
|
2673
2673
|
</div>
|
|
2674
2674
|
`
|
|
2675
|
-
},
|
|
2675
|
+
}, Si = /* @__PURE__ */ w({
|
|
2676
2676
|
__name: "AvRadioButton",
|
|
2677
2677
|
props: {
|
|
2678
2678
|
value: { type: [String, Number, Boolean] },
|
|
@@ -2683,7 +2683,7 @@ const Bl = [
|
|
|
2683
2683
|
setup(e) {
|
|
2684
2684
|
return (t, a) => j(t.$slots, "default");
|
|
2685
2685
|
}
|
|
2686
|
-
}),
|
|
2686
|
+
}), Vl = /* @__PURE__ */ w({
|
|
2687
2687
|
__name: "AvRadioButtonSet",
|
|
2688
2688
|
props: {
|
|
2689
2689
|
name: {},
|
|
@@ -2701,12 +2701,12 @@ const Bl = [
|
|
|
2701
2701
|
setup(e, { expose: t, emit: a }) {
|
|
2702
2702
|
const n = e, r = a, A = Ae();
|
|
2703
2703
|
function i(d) {
|
|
2704
|
-
return d != null && typeof d == "object" && "type" in d && d.type ===
|
|
2704
|
+
return d != null && typeof d == "object" && "type" in d && d.type === Si;
|
|
2705
2705
|
}
|
|
2706
2706
|
function s(d) {
|
|
2707
2707
|
return d ? d.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === _ && Array.isArray(f.children) ? s(f.children) : i(f) ? [f] : []) : [];
|
|
2708
2708
|
}
|
|
2709
|
-
const o =
|
|
2709
|
+
const o = M(() => {
|
|
2710
2710
|
var d;
|
|
2711
2711
|
return s((d = A.default) == null ? void 0 : d.call(A));
|
|
2712
2712
|
}), c = J(n.modelValue);
|
|
@@ -2721,7 +2721,7 @@ const Bl = [
|
|
|
2721
2721
|
return u(), k(l(va), {
|
|
2722
2722
|
key: I,
|
|
2723
2723
|
modelValue: l(c),
|
|
2724
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2724
|
+
"onUpdate:modelValue": f[0] || (f[0] = (p) => it(c) ? c.value = p : null),
|
|
2725
2725
|
value: (m = b.props) == null ? void 0 : m.value,
|
|
2726
2726
|
disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? n.disabled,
|
|
2727
2727
|
small: n.small,
|
|
@@ -2729,9 +2729,9 @@ const Bl = [
|
|
|
2729
2729
|
name: n.name
|
|
2730
2730
|
}, {
|
|
2731
2731
|
label: R(() => {
|
|
2732
|
-
var
|
|
2732
|
+
var p;
|
|
2733
2733
|
return [
|
|
2734
|
-
(u(), k(ue((
|
|
2734
|
+
(u(), k(ue((p = b.children) == null ? void 0 : p.default)))
|
|
2735
2735
|
];
|
|
2736
2736
|
}),
|
|
2737
2737
|
_: 2
|
|
@@ -2741,7 +2741,7 @@ const Bl = [
|
|
|
2741
2741
|
_: 1
|
|
2742
2742
|
}, 16, ["model-value"]));
|
|
2743
2743
|
}
|
|
2744
|
-
}),
|
|
2744
|
+
}), Ul = {
|
|
2745
2745
|
name: "AvAutocomplete",
|
|
2746
2746
|
props: [
|
|
2747
2747
|
"modelValue",
|
|
@@ -2769,9 +2769,9 @@ function lt() {
|
|
|
2769
2769
|
function Zt(e) {
|
|
2770
2770
|
return Ta() ? (Qa(e), !0) : !1;
|
|
2771
2771
|
}
|
|
2772
|
-
const
|
|
2772
|
+
const ki = typeof window < "u" && typeof document < "u";
|
|
2773
2773
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2774
|
-
const
|
|
2774
|
+
const zi = (e) => e != null, xi = Object.prototype.toString, Bi = (e) => xi.call(e) === "[object Object]", pe = () => {
|
|
2775
2775
|
};
|
|
2776
2776
|
function qt(e, t) {
|
|
2777
2777
|
function a(...n) {
|
|
@@ -2781,7 +2781,7 @@ function qt(e, t) {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
return a;
|
|
2783
2783
|
}
|
|
2784
|
-
function
|
|
2784
|
+
function ji(e, t = {}) {
|
|
2785
2785
|
let a, n, r = pe;
|
|
2786
2786
|
const A = (o) => {
|
|
2787
2787
|
clearTimeout(o), r(), r = pe;
|
|
@@ -2798,7 +2798,7 @@ function Bi(e, t = {}) {
|
|
|
2798
2798
|
});
|
|
2799
2799
|
};
|
|
2800
2800
|
}
|
|
2801
|
-
function
|
|
2801
|
+
function Pi(...e) {
|
|
2802
2802
|
let t = 0, a, n = !0, r = pe, A, i, s, o, c;
|
|
2803
2803
|
!it(e[0]) && typeof e[0] == "object" ? { delay: i, trailing: s = !0, leading: o = !0, rejectOnCancel: c = !1 } = e[0] : [i, s = !0, o = !0, c = !1] = e;
|
|
2804
2804
|
const d = () => {
|
|
@@ -2806,9 +2806,9 @@ function ji(...e) {
|
|
|
2806
2806
|
};
|
|
2807
2807
|
return (b) => {
|
|
2808
2808
|
const I = ae(i), m = Date.now() - t, C = () => A = b();
|
|
2809
|
-
return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (o || !n) ? (t = Date.now(), C()) : s && (A = new Promise((
|
|
2810
|
-
r = c ? T :
|
|
2811
|
-
t = Date.now(), n = !0,
|
|
2809
|
+
return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (o || !n) ? (t = Date.now(), C()) : s && (A = new Promise((p, T) => {
|
|
2810
|
+
r = c ? T : p, a = setTimeout(() => {
|
|
2811
|
+
t = Date.now(), n = !0, p(C()), d();
|
|
2812
2812
|
}, Math.max(0, I - m));
|
|
2813
2813
|
})), !o && !a && (a = setTimeout(() => n = !0, I)), n = !1, A);
|
|
2814
2814
|
};
|
|
@@ -2816,27 +2816,27 @@ function ji(...e) {
|
|
|
2816
2816
|
function We(e) {
|
|
2817
2817
|
return Array.isArray(e) ? e : [e];
|
|
2818
2818
|
}
|
|
2819
|
-
function
|
|
2819
|
+
function Wi(e) {
|
|
2820
2820
|
return kt();
|
|
2821
2821
|
}
|
|
2822
2822
|
// @__NO_SIDE_EFFECTS__
|
|
2823
|
-
function
|
|
2823
|
+
function Vi(e, t = 200, a = {}) {
|
|
2824
2824
|
return qt(
|
|
2825
|
-
|
|
2825
|
+
ji(t, a),
|
|
2826
2826
|
e
|
|
2827
2827
|
);
|
|
2828
2828
|
}
|
|
2829
2829
|
// @__NO_SIDE_EFFECTS__
|
|
2830
|
-
function
|
|
2830
|
+
function Ui(e, t = 200, a = !1, n = !0, r = !1) {
|
|
2831
2831
|
return qt(
|
|
2832
|
-
|
|
2832
|
+
Pi(t, a, n, r),
|
|
2833
2833
|
e
|
|
2834
2834
|
);
|
|
2835
2835
|
}
|
|
2836
|
-
function
|
|
2837
|
-
|
|
2836
|
+
function Xi(e, t = !0, a) {
|
|
2837
|
+
Wi() ? Ne(e, a) : t ? e() : Re(e);
|
|
2838
2838
|
}
|
|
2839
|
-
function
|
|
2839
|
+
function Hi(e, t, a) {
|
|
2840
2840
|
return ce(
|
|
2841
2841
|
e,
|
|
2842
2842
|
t,
|
|
@@ -2846,7 +2846,7 @@ function Xi(e, t, a) {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
);
|
|
2848
2848
|
}
|
|
2849
|
-
const st =
|
|
2849
|
+
const st = ki ? window : void 0;
|
|
2850
2850
|
function ct(e) {
|
|
2851
2851
|
var t;
|
|
2852
2852
|
const a = ae(e);
|
|
@@ -2855,10 +2855,10 @@ function ct(e) {
|
|
|
2855
2855
|
function yt(...e) {
|
|
2856
2856
|
const t = [], a = () => {
|
|
2857
2857
|
t.forEach((s) => s()), t.length = 0;
|
|
2858
|
-
}, n = (s, o, c, d) => (s.addEventListener(o, c, d), () => s.removeEventListener(o, c, d)), r =
|
|
2858
|
+
}, n = (s, o, c, d) => (s.addEventListener(o, c, d), () => s.removeEventListener(o, c, d)), r = M(() => {
|
|
2859
2859
|
const s = We(ae(e[0])).filter((o) => o != null);
|
|
2860
2860
|
return s.every((o) => typeof o != "string") ? s : void 0;
|
|
2861
|
-
}), A =
|
|
2861
|
+
}), A = Hi(
|
|
2862
2862
|
() => {
|
|
2863
2863
|
var s, o;
|
|
2864
2864
|
return [
|
|
@@ -2872,7 +2872,7 @@ function yt(...e) {
|
|
|
2872
2872
|
([s, o, c, d]) => {
|
|
2873
2873
|
if (a(), !(s != null && s.length) || !(o != null && o.length) || !(c != null && c.length))
|
|
2874
2874
|
return;
|
|
2875
|
-
const f =
|
|
2875
|
+
const f = Bi(d) ? { ...d } : d;
|
|
2876
2876
|
t.push(
|
|
2877
2877
|
...s.flatMap(
|
|
2878
2878
|
(b) => o.flatMap(
|
|
@@ -2888,24 +2888,24 @@ function yt(...e) {
|
|
|
2888
2888
|
return Zt(a), i;
|
|
2889
2889
|
}
|
|
2890
2890
|
// @__NO_SIDE_EFFECTS__
|
|
2891
|
-
function
|
|
2891
|
+
function Zi() {
|
|
2892
2892
|
const e = Pe(!1), t = kt();
|
|
2893
|
-
return t &&
|
|
2893
|
+
return t && Ne(() => {
|
|
2894
2894
|
e.value = !0;
|
|
2895
2895
|
}, t), e;
|
|
2896
2896
|
}
|
|
2897
2897
|
// @__NO_SIDE_EFFECTS__
|
|
2898
|
-
function
|
|
2899
|
-
const t = /* @__PURE__ */
|
|
2900
|
-
return
|
|
2898
|
+
function qi(e) {
|
|
2899
|
+
const t = /* @__PURE__ */ Zi();
|
|
2900
|
+
return M(() => (t.value, !!e()));
|
|
2901
2901
|
}
|
|
2902
|
-
function
|
|
2902
|
+
function Yi(e, t, a = {}) {
|
|
2903
2903
|
const { window: n = st, ...r } = a;
|
|
2904
2904
|
let A;
|
|
2905
|
-
const i = /* @__PURE__ */
|
|
2905
|
+
const i = /* @__PURE__ */ qi(() => n && "MutationObserver" in n), s = () => {
|
|
2906
2906
|
A && (A.disconnect(), A = void 0);
|
|
2907
|
-
}, o =
|
|
2908
|
-
const b = ae(e), I = We(b).map(ct).filter(
|
|
2907
|
+
}, o = M(() => {
|
|
2908
|
+
const b = ae(e), I = We(b).map(ct).filter(zi);
|
|
2909
2909
|
return new Set(I);
|
|
2910
2910
|
}), c = ce(
|
|
2911
2911
|
o,
|
|
@@ -2923,7 +2923,7 @@ function qi(e, t, a = {}) {
|
|
|
2923
2923
|
};
|
|
2924
2924
|
}
|
|
2925
2925
|
const Et = 1;
|
|
2926
|
-
function
|
|
2926
|
+
function Ri(e, t = {}) {
|
|
2927
2927
|
const {
|
|
2928
2928
|
throttle: a = 0,
|
|
2929
2929
|
idle: n = 200,
|
|
@@ -2944,27 +2944,27 @@ function Yi(e, t = {}) {
|
|
|
2944
2944
|
},
|
|
2945
2945
|
behavior: c = "auto",
|
|
2946
2946
|
window: d = st,
|
|
2947
|
-
onError: f = (
|
|
2948
|
-
console.error(
|
|
2947
|
+
onError: f = (O) => {
|
|
2948
|
+
console.error(O);
|
|
2949
2949
|
}
|
|
2950
2950
|
} = t, b = typeof s == "boolean" ? {
|
|
2951
2951
|
mutation: s
|
|
2952
|
-
} : s, I = Pe(0), m = Pe(0), C =
|
|
2952
|
+
} : s, I = Pe(0), m = Pe(0), C = M({
|
|
2953
2953
|
get() {
|
|
2954
2954
|
return I.value;
|
|
2955
2955
|
},
|
|
2956
|
-
set(
|
|
2957
|
-
T(
|
|
2956
|
+
set(O) {
|
|
2957
|
+
T(O, void 0);
|
|
2958
2958
|
}
|
|
2959
|
-
}),
|
|
2959
|
+
}), p = M({
|
|
2960
2960
|
get() {
|
|
2961
2961
|
return m.value;
|
|
2962
2962
|
},
|
|
2963
|
-
set(
|
|
2964
|
-
T(void 0,
|
|
2963
|
+
set(O) {
|
|
2964
|
+
T(void 0, O);
|
|
2965
2965
|
}
|
|
2966
2966
|
});
|
|
2967
|
-
function T(
|
|
2967
|
+
function T(O, oe) {
|
|
2968
2968
|
var $, X, v, h;
|
|
2969
2969
|
if (!d)
|
|
2970
2970
|
return;
|
|
@@ -2972,12 +2972,12 @@ function Yi(e, t = {}) {
|
|
|
2972
2972
|
if (!N)
|
|
2973
2973
|
return;
|
|
2974
2974
|
(v = N instanceof Document ? d.document.body : N) == null || v.scrollTo({
|
|
2975
|
-
top: ($ = ae(oe)) != null ? $ :
|
|
2976
|
-
left: (X = ae(
|
|
2975
|
+
top: ($ = ae(oe)) != null ? $ : p.value,
|
|
2976
|
+
left: (X = ae(O)) != null ? X : C.value,
|
|
2977
2977
|
behavior: ae(c)
|
|
2978
2978
|
});
|
|
2979
2979
|
const z = ((h = N == null ? void 0 : N.document) == null ? void 0 : h.documentElement) || (N == null ? void 0 : N.documentElement) || N;
|
|
2980
|
-
C != null && (I.value = z.scrollLeft),
|
|
2980
|
+
C != null && (I.value = z.scrollLeft), p != null && (m.value = z.scrollTop);
|
|
2981
2981
|
}
|
|
2982
2982
|
const Q = Pe(!1), E = dt({
|
|
2983
2983
|
left: !0,
|
|
@@ -2989,46 +2989,46 @@ function Yi(e, t = {}) {
|
|
|
2989
2989
|
right: !1,
|
|
2990
2990
|
top: !1,
|
|
2991
2991
|
bottom: !1
|
|
2992
|
-
}), B = (
|
|
2993
|
-
Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(
|
|
2994
|
-
}, V = /* @__PURE__ */
|
|
2992
|
+
}), B = (O) => {
|
|
2993
|
+
Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(O));
|
|
2994
|
+
}, V = /* @__PURE__ */ Vi(B, a + n), x = (O) => {
|
|
2995
2995
|
var oe;
|
|
2996
2996
|
if (!d)
|
|
2997
2997
|
return;
|
|
2998
|
-
const $ = ((oe =
|
|
2998
|
+
const $ = ((oe = O == null ? void 0 : O.document) == null ? void 0 : oe.documentElement) || (O == null ? void 0 : O.documentElement) || ct(O), { display: X, flexDirection: v, direction: h } = getComputedStyle($), N = h === "rtl" ? -1 : 1, z = $.scrollLeft;
|
|
2999
2999
|
L.left = z < I.value, L.right = z > I.value;
|
|
3000
3000
|
const U = Math.abs(z * N) <= (i.left || 0), q = Math.abs(z * N) + $.clientWidth >= $.scrollWidth - (i.right || 0) - Et;
|
|
3001
3001
|
X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = z;
|
|
3002
3002
|
let S = $.scrollTop;
|
|
3003
|
-
|
|
3003
|
+
O === d.document && !S && (S = d.document.body.scrollTop), L.top = S < m.value, L.bottom = S > m.value;
|
|
3004
3004
|
const K = Math.abs(S) <= (i.top || 0), G = Math.abs(S) + $.clientHeight >= $.scrollHeight - (i.bottom || 0) - Et;
|
|
3005
3005
|
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = S;
|
|
3006
|
-
}, ie = (
|
|
3006
|
+
}, ie = (O) => {
|
|
3007
3007
|
var oe;
|
|
3008
3008
|
if (!d)
|
|
3009
3009
|
return;
|
|
3010
|
-
const $ = (oe =
|
|
3011
|
-
x($), Q.value = !0, V(
|
|
3010
|
+
const $ = (oe = O.target.documentElement) != null ? oe : O.target;
|
|
3011
|
+
x($), Q.value = !0, V(O), A(O);
|
|
3012
3012
|
};
|
|
3013
3013
|
return yt(
|
|
3014
3014
|
e,
|
|
3015
3015
|
"scroll",
|
|
3016
|
-
a ? /* @__PURE__ */
|
|
3016
|
+
a ? /* @__PURE__ */ Ui(ie, a, !0, !1) : ie,
|
|
3017
3017
|
o
|
|
3018
|
-
),
|
|
3018
|
+
), Xi(() => {
|
|
3019
3019
|
try {
|
|
3020
|
-
const
|
|
3021
|
-
if (!
|
|
3020
|
+
const O = ae(e);
|
|
3021
|
+
if (!O)
|
|
3022
3022
|
return;
|
|
3023
|
-
x(
|
|
3024
|
-
} catch (
|
|
3025
|
-
f(
|
|
3023
|
+
x(O);
|
|
3024
|
+
} catch (O) {
|
|
3025
|
+
f(O);
|
|
3026
3026
|
}
|
|
3027
|
-
}), b != null && b.mutation && e != null && e !== d && e !== document &&
|
|
3027
|
+
}), b != null && b.mutation && e != null && e !== d && e !== document && Yi(
|
|
3028
3028
|
e,
|
|
3029
3029
|
() => {
|
|
3030
|
-
const
|
|
3031
|
-
|
|
3030
|
+
const O = ae(e);
|
|
3031
|
+
O && x(O);
|
|
3032
3032
|
},
|
|
3033
3033
|
{
|
|
3034
3034
|
attributes: !0,
|
|
@@ -3042,61 +3042,61 @@ function Yi(e, t = {}) {
|
|
|
3042
3042
|
o
|
|
3043
3043
|
), {
|
|
3044
3044
|
x: C,
|
|
3045
|
-
y:
|
|
3045
|
+
y: p,
|
|
3046
3046
|
isScrolling: Q,
|
|
3047
3047
|
arrivedState: E,
|
|
3048
3048
|
directions: L,
|
|
3049
3049
|
measure() {
|
|
3050
|
-
const
|
|
3051
|
-
d &&
|
|
3050
|
+
const O = ae(e);
|
|
3051
|
+
d && O && x(O);
|
|
3052
3052
|
}
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
|
-
var
|
|
3056
|
-
function
|
|
3057
|
-
var t =
|
|
3055
|
+
var Fi = typeof global == "object" && global && global.Object === Object && global, Ki = typeof self == "object" && self && self.Object === Object && self, Yt = Fi || Ki || Function("return this")(), Xe = Yt.Symbol, Rt = Object.prototype, Gi = Rt.hasOwnProperty, Ji = Rt.toString, Oe = Xe ? Xe.toStringTag : void 0;
|
|
3056
|
+
function _i(e) {
|
|
3057
|
+
var t = Gi.call(e, Oe), a = e[Oe];
|
|
3058
3058
|
try {
|
|
3059
|
-
e[
|
|
3059
|
+
e[Oe] = void 0;
|
|
3060
3060
|
var n = !0;
|
|
3061
3061
|
} catch {
|
|
3062
3062
|
}
|
|
3063
|
-
var r =
|
|
3064
|
-
return n && (t ? e[
|
|
3063
|
+
var r = Ji.call(e);
|
|
3064
|
+
return n && (t ? e[Oe] = a : delete e[Oe]), r;
|
|
3065
3065
|
}
|
|
3066
|
-
var
|
|
3067
|
-
function
|
|
3068
|
-
return
|
|
3069
|
-
}
|
|
3070
|
-
var tA = "[object Null]", aA = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
|
|
3071
|
-
function nA(e) {
|
|
3072
|
-
return e == null ? e === void 0 ? aA : tA : Mt && Mt in Object(e) ? Ji(e) : eA(e);
|
|
3066
|
+
var $i = Object.prototype, eA = $i.toString;
|
|
3067
|
+
function tA(e) {
|
|
3068
|
+
return eA.call(e);
|
|
3073
3069
|
}
|
|
3070
|
+
var aA = "[object Null]", nA = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
|
|
3074
3071
|
function rA(e) {
|
|
3072
|
+
return e == null ? e === void 0 ? nA : aA : Mt && Mt in Object(e) ? _i(e) : tA(e);
|
|
3073
|
+
}
|
|
3074
|
+
function iA(e) {
|
|
3075
3075
|
return e != null && typeof e == "object";
|
|
3076
3076
|
}
|
|
3077
|
-
var
|
|
3078
|
-
function
|
|
3079
|
-
return typeof e == "symbol" ||
|
|
3077
|
+
var AA = "[object Symbol]";
|
|
3078
|
+
function oA(e) {
|
|
3079
|
+
return typeof e == "symbol" || iA(e) && rA(e) == AA;
|
|
3080
3080
|
}
|
|
3081
|
-
var
|
|
3082
|
-
function
|
|
3083
|
-
for (var t = e.length; t-- &&
|
|
3081
|
+
var lA = /\s/;
|
|
3082
|
+
function sA(e) {
|
|
3083
|
+
for (var t = e.length; t-- && lA.test(e.charAt(t)); )
|
|
3084
3084
|
;
|
|
3085
3085
|
return t;
|
|
3086
3086
|
}
|
|
3087
|
-
var
|
|
3088
|
-
function
|
|
3089
|
-
return e && e.slice(0,
|
|
3087
|
+
var cA = /^\s+/;
|
|
3088
|
+
function uA(e) {
|
|
3089
|
+
return e && e.slice(0, sA(e) + 1).replace(cA, "");
|
|
3090
3090
|
}
|
|
3091
3091
|
function tt(e) {
|
|
3092
3092
|
var t = typeof e;
|
|
3093
3093
|
return e != null && (t == "object" || t == "function");
|
|
3094
3094
|
}
|
|
3095
|
-
var pt = NaN,
|
|
3095
|
+
var pt = NaN, dA = /^[-+]0x[0-9a-f]+$/i, fA = /^0b[01]+$/i, vA = /^0o[0-7]+$/i, mA = parseInt;
|
|
3096
3096
|
function Nt(e) {
|
|
3097
3097
|
if (typeof e == "number")
|
|
3098
3098
|
return e;
|
|
3099
|
-
if (
|
|
3099
|
+
if (oA(e))
|
|
3100
3100
|
return pt;
|
|
3101
3101
|
if (tt(e)) {
|
|
3102
3102
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -3104,18 +3104,18 @@ function Nt(e) {
|
|
|
3104
3104
|
}
|
|
3105
3105
|
if (typeof e != "string")
|
|
3106
3106
|
return e === 0 ? e : +e;
|
|
3107
|
-
e =
|
|
3108
|
-
var a =
|
|
3109
|
-
return a ||
|
|
3107
|
+
e = uA(e);
|
|
3108
|
+
var a = fA.test(e);
|
|
3109
|
+
return a || vA.test(e) ? mA(e.slice(2), a ? 2 : 8) : dA.test(e) ? pt : +e;
|
|
3110
3110
|
}
|
|
3111
3111
|
var $e = function() {
|
|
3112
3112
|
return Yt.Date.now();
|
|
3113
|
-
},
|
|
3113
|
+
}, gA = "Expected a function", IA = Math.max, bA = Math.min;
|
|
3114
3114
|
function Ft(e, t, a) {
|
|
3115
3115
|
var n, r, A, i, s, o, c = 0, d = !1, f = !1, b = !0;
|
|
3116
3116
|
if (typeof e != "function")
|
|
3117
|
-
throw new TypeError(
|
|
3118
|
-
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, A = f ?
|
|
3117
|
+
throw new TypeError(gA);
|
|
3118
|
+
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, A = f ? IA(Nt(a.maxWait) || 0, t) : A, b = "trailing" in a ? !!a.trailing : b);
|
|
3119
3119
|
function I(V) {
|
|
3120
3120
|
var x = n, ie = r;
|
|
3121
3121
|
return n = r = void 0, c = V, i = e.apply(ie, x), i;
|
|
@@ -3124,16 +3124,16 @@ function Ft(e, t, a) {
|
|
|
3124
3124
|
return c = V, s = setTimeout(T, t), d ? I(V) : i;
|
|
3125
3125
|
}
|
|
3126
3126
|
function C(V) {
|
|
3127
|
-
var x = V - o, ie = V - c,
|
|
3128
|
-
return f ?
|
|
3127
|
+
var x = V - o, ie = V - c, O = t - x;
|
|
3128
|
+
return f ? bA(O, A - ie) : O;
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3130
|
+
function p(V) {
|
|
3131
3131
|
var x = V - o, ie = V - c;
|
|
3132
3132
|
return o === void 0 || x >= t || x < 0 || f && ie >= A;
|
|
3133
3133
|
}
|
|
3134
3134
|
function T() {
|
|
3135
3135
|
var V = $e();
|
|
3136
|
-
if (
|
|
3136
|
+
if (p(V))
|
|
3137
3137
|
return Q(V);
|
|
3138
3138
|
s = setTimeout(T, C(V));
|
|
3139
3139
|
}
|
|
@@ -3147,7 +3147,7 @@ function Ft(e, t, a) {
|
|
|
3147
3147
|
return s === void 0 ? i : Q($e());
|
|
3148
3148
|
}
|
|
3149
3149
|
function B() {
|
|
3150
|
-
var V = $e(), x =
|
|
3150
|
+
var V = $e(), x = p(V);
|
|
3151
3151
|
if (n = arguments, r = this, o = V, x) {
|
|
3152
3152
|
if (s === void 0)
|
|
3153
3153
|
return m(o);
|
|
@@ -3158,16 +3158,16 @@ function Ft(e, t, a) {
|
|
|
3158
3158
|
}
|
|
3159
3159
|
return B.cancel = E, B.flush = L, B;
|
|
3160
3160
|
}
|
|
3161
|
-
const
|
|
3161
|
+
const hA = {
|
|
3162
3162
|
key: 0,
|
|
3163
3163
|
class: "av-autocomplete-dropdown__loading"
|
|
3164
|
-
},
|
|
3164
|
+
}, CA = {
|
|
3165
3165
|
key: 1,
|
|
3166
3166
|
class: "av-autocomplete-dropdown__empty"
|
|
3167
|
-
},
|
|
3167
|
+
}, yA = {
|
|
3168
3168
|
key: 1,
|
|
3169
3169
|
class: "av-autocomplete-dropdown__empty-text"
|
|
3170
|
-
},
|
|
3170
|
+
}, EA = /* @__PURE__ */ w({
|
|
3171
3171
|
__name: "AvAutocompleteDropdown",
|
|
3172
3172
|
emits: ["loadMore"],
|
|
3173
3173
|
setup(e, { expose: t, emit: a }) {
|
|
@@ -3178,7 +3178,7 @@ const bA = {
|
|
|
3178
3178
|
props: o,
|
|
3179
3179
|
getOptionId: c,
|
|
3180
3180
|
getDisplayLabel: d
|
|
3181
|
-
} = lt(), f = J(), b = J(), I =
|
|
3181
|
+
} = lt(), f = J(), b = J(), I = M(() => {
|
|
3182
3182
|
if (!o.options)
|
|
3183
3183
|
return [];
|
|
3184
3184
|
if (o.serverSideFiltering)
|
|
@@ -3190,13 +3190,13 @@ const bA = {
|
|
|
3190
3190
|
}
|
|
3191
3191
|
let L;
|
|
3192
3192
|
return o.filterOptions ? L = o.filterOptions(o.options, E) : L = o.options.filter((B) => d(B).toLowerCase().includes(E)), o.maxResults ? L.slice(0, o.maxResults) : L;
|
|
3193
|
-
}), m =
|
|
3193
|
+
}), m = M(() => o.loading ? Me.LOADING : s.value && o.options && o.options.length > 0 && I.value.length > 0 ? Me.HAS_OPTIONS : Me.NO_OPTIONS);
|
|
3194
3194
|
function C(E) {
|
|
3195
3195
|
return A.value.some(
|
|
3196
3196
|
(L) => c(L) === c(E)
|
|
3197
3197
|
);
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3199
|
+
function p(E) {
|
|
3200
3200
|
if (!o.multiSelect) {
|
|
3201
3201
|
A.value = [E], s.value = !1, i.value = "";
|
|
3202
3202
|
return;
|
|
@@ -3208,14 +3208,14 @@ const bA = {
|
|
|
3208
3208
|
(x) => c(x) !== B
|
|
3209
3209
|
) : A.value = [...L, E];
|
|
3210
3210
|
}
|
|
3211
|
-
const { arrivedState: T } =
|
|
3211
|
+
const { arrivedState: T } = Ri(b, {
|
|
3212
3212
|
throttle: 100
|
|
3213
3213
|
}), Q = Ft(() => {
|
|
3214
3214
|
n("loadMore");
|
|
3215
3215
|
}, o.loadMoreThrottleDelay);
|
|
3216
3216
|
return ce(() => T.bottom, (E) => {
|
|
3217
3217
|
o.enableLoadMore && E && s.value && Q();
|
|
3218
|
-
}),
|
|
3218
|
+
}), Te(() => {
|
|
3219
3219
|
Q.cancel();
|
|
3220
3220
|
}), t({
|
|
3221
3221
|
dropdownRef: f
|
|
@@ -3226,15 +3226,15 @@ const bA = {
|
|
|
3226
3226
|
class: F(["av-autocomplete-dropdown", l(o).dropdownClass]),
|
|
3227
3227
|
style: Ve({ width: l(o).dropdownWidth, maxHeight: l(o).maxDropdownHeight })
|
|
3228
3228
|
}, [
|
|
3229
|
-
l(m) === l(Me).LOADING ? (u(), g("div",
|
|
3229
|
+
l(m) === l(Me).LOADING ? (u(), g("div", hA, [
|
|
3230
3230
|
P(ne, {
|
|
3231
3231
|
name: l(Y).LOADING_OUTLINE,
|
|
3232
3232
|
size: 1.5,
|
|
3233
3233
|
class: "av-autocomplete-dropdown__spinner"
|
|
3234
3234
|
}, null, 8, ["name"]),
|
|
3235
3235
|
L[0] || (L[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
3236
|
-
])) : l(m) === l(Me).NO_OPTIONS ? (u(), g("div",
|
|
3237
|
-
r.empty ? j(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div",
|
|
3236
|
+
])) : l(m) === l(Me).NO_OPTIONS ? (u(), g("div", CA, [
|
|
3237
|
+
r.empty ? j(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", yA, " No results found "))
|
|
3238
3238
|
])) : (u(), k(Vt, ee({
|
|
3239
3239
|
key: 2,
|
|
3240
3240
|
ref_key: "listRef",
|
|
@@ -3250,14 +3250,14 @@ const bA = {
|
|
|
3250
3250
|
key: 0,
|
|
3251
3251
|
option: B,
|
|
3252
3252
|
isSelected: C(B),
|
|
3253
|
-
toggle: () =>
|
|
3253
|
+
toggle: () => p(B)
|
|
3254
3254
|
}, void 0, !0) : (u(), k(Ut, {
|
|
3255
3255
|
key: 1,
|
|
3256
3256
|
title: l(d)(B),
|
|
3257
3257
|
icon: C(B) ? l(Y).CHECK : void 0,
|
|
3258
3258
|
selected: C(B),
|
|
3259
3259
|
clickable: "",
|
|
3260
|
-
"on-click": () =>
|
|
3260
|
+
"on-click": () => p(B),
|
|
3261
3261
|
"hover-background-color": "var(--light-background-neutral)",
|
|
3262
3262
|
"color-on-hover": "var(--base)"
|
|
3263
3263
|
}, null, 8, ["title", "icon", "selected", "on-click"]))
|
|
@@ -3267,10 +3267,10 @@ const bA = {
|
|
|
3267
3267
|
}, 16, ["class"]))
|
|
3268
3268
|
], 6)) : D("", !0);
|
|
3269
3269
|
}
|
|
3270
|
-
}),
|
|
3270
|
+
}), MA = /* @__PURE__ */ W(EA, [["__scopeId", "data-v-b59b9163"]]), pA = { class: "av-autocomplete-input" }, NA = {
|
|
3271
3271
|
key: 0,
|
|
3272
3272
|
class: "av-autocomplete-input__suffix"
|
|
3273
|
-
},
|
|
3273
|
+
}, TA = /* @__PURE__ */ w({
|
|
3274
3274
|
__name: "AvAutocompleteInput",
|
|
3275
3275
|
emits: ["search", "clear"],
|
|
3276
3276
|
setup(e, { expose: t, emit: a }) {
|
|
@@ -3282,13 +3282,13 @@ const bA = {
|
|
|
3282
3282
|
inputId: c,
|
|
3283
3283
|
handleBlur: d,
|
|
3284
3284
|
getDisplayLabel: f
|
|
3285
|
-
} = lt(), b = J(), I =
|
|
3285
|
+
} = lt(), b = J(), I = M(() => !o.multiSelect && A.value.length > 0 ? f(A.value[0]) : o.multiSelect && A.value.length > 0 ? o.showSelectedSection ? `${A.value.length} element(s) selected` : A.value.map(f).join(", ") : i.value), m = M(() => {
|
|
3286
3286
|
var E;
|
|
3287
3287
|
return ((E = o.inputOptions) == null ? void 0 : E.placeholder) || "Search...";
|
|
3288
3288
|
}), C = Ft((E) => {
|
|
3289
3289
|
i.value = E, n("search", E);
|
|
3290
3290
|
}, o.debounceDelay);
|
|
3291
|
-
function
|
|
3291
|
+
function p(E) {
|
|
3292
3292
|
i.value = String(E || ""), C(i.value);
|
|
3293
3293
|
}
|
|
3294
3294
|
function T() {
|
|
@@ -3297,12 +3297,12 @@ const bA = {
|
|
|
3297
3297
|
function Q() {
|
|
3298
3298
|
A.value = [], i.value = "", n("clear");
|
|
3299
3299
|
}
|
|
3300
|
-
return
|
|
3300
|
+
return Te(() => {
|
|
3301
3301
|
C.cancel();
|
|
3302
3302
|
}), t({
|
|
3303
3303
|
inputRef: b,
|
|
3304
|
-
searchQuery:
|
|
3305
|
-
}), (E, L) => (u(), g("div",
|
|
3304
|
+
searchQuery: M(() => i.value)
|
|
3305
|
+
}), (E, L) => (u(), g("div", pA, [
|
|
3306
3306
|
P(gi, ee({
|
|
3307
3307
|
id: l(c),
|
|
3308
3308
|
ref_key: "inputRef",
|
|
@@ -3310,11 +3310,11 @@ const bA = {
|
|
|
3310
3310
|
"model-value": l(I),
|
|
3311
3311
|
placeholder: l(m)
|
|
3312
3312
|
}, l(o).inputOptions, {
|
|
3313
|
-
"onUpdate:modelValue":
|
|
3313
|
+
"onUpdate:modelValue": p,
|
|
3314
3314
|
onFocus: T,
|
|
3315
3315
|
onBlur: l(d),
|
|
3316
3316
|
onClick: T
|
|
3317
|
-
}),
|
|
3317
|
+
}), ke({ _: 2 }, [
|
|
3318
3318
|
r.requiredTip ? {
|
|
3319
3319
|
name: "requiredTip",
|
|
3320
3320
|
fn: R(() => [
|
|
@@ -3323,7 +3323,7 @@ const bA = {
|
|
|
3323
3323
|
key: "0"
|
|
3324
3324
|
} : void 0
|
|
3325
3325
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
3326
|
-
l(A).length > 0 ? (u(), g("div",
|
|
3326
|
+
l(A).length > 0 ? (u(), g("div", NA, [
|
|
3327
3327
|
P(me, {
|
|
3328
3328
|
label: "Clear selected items",
|
|
3329
3329
|
icon: l(Y).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -3337,10 +3337,10 @@ const bA = {
|
|
|
3337
3337
|
])) : D("", !0)
|
|
3338
3338
|
]));
|
|
3339
3339
|
}
|
|
3340
|
-
}),
|
|
3340
|
+
}), QA = /* @__PURE__ */ W(TA, [["__scopeId", "data-v-24fd377c"]]), DA = {
|
|
3341
3341
|
key: 0,
|
|
3342
3342
|
class: "av-autocomplete-selected-tags"
|
|
3343
|
-
},
|
|
3343
|
+
}, LA = /* @__PURE__ */ w({
|
|
3344
3344
|
__name: "AvAutocompleteSelectedTags",
|
|
3345
3345
|
setup(e) {
|
|
3346
3346
|
const t = Ae(), {
|
|
@@ -3355,7 +3355,7 @@ const bA = {
|
|
|
3355
3355
|
(d) => r(d) !== c
|
|
3356
3356
|
);
|
|
3357
3357
|
}
|
|
3358
|
-
return (s, o) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (u(), g("div",
|
|
3358
|
+
return (s, o) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (u(), g("div", DA, [
|
|
3359
3359
|
(u(!0), g(_, null, re(l(a), (c) => (u(), g("div", {
|
|
3360
3360
|
key: l(r)(c),
|
|
3361
3361
|
class: "av-autocomplete-selected-tags__item"
|
|
@@ -3377,7 +3377,7 @@ const bA = {
|
|
|
3377
3377
|
]))), 128))
|
|
3378
3378
|
])) : D("", !0);
|
|
3379
3379
|
}
|
|
3380
|
-
}),
|
|
3380
|
+
}), wA = /* @__PURE__ */ W(LA, [["__scopeId", "data-v-c00c128b"]]), OA = { class: "av-autocomplete" }, SA = /* @__PURE__ */ w({
|
|
3381
3381
|
__name: "AvAutocomplete",
|
|
3382
3382
|
props: /* @__PURE__ */ ve({
|
|
3383
3383
|
id: {},
|
|
@@ -3409,7 +3409,7 @@ const bA = {
|
|
|
3409
3409
|
}),
|
|
3410
3410
|
emits: /* @__PURE__ */ ve(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
3411
3411
|
setup(e, { emit: t }) {
|
|
3412
|
-
const a = e, n = t, r = Ae(), A =
|
|
3412
|
+
const a = e, n = t, r = Ae(), A = xe(e, "modelValue"), i = J(!1), s = J(""), o = J(), c = J(), d = J(), f = M(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
3413
3413
|
function b(Q) {
|
|
3414
3414
|
s.value = Q, n("search", Q);
|
|
3415
3415
|
}
|
|
@@ -3436,13 +3436,13 @@ const bA = {
|
|
|
3436
3436
|
getDisplayLabel: C
|
|
3437
3437
|
});
|
|
3438
3438
|
function T(Q) {
|
|
3439
|
-
var B, V, x, ie,
|
|
3439
|
+
var B, V, x, ie, O;
|
|
3440
3440
|
const E = Q.target, L = (B = c.value) == null ? void 0 : B.inputRef;
|
|
3441
|
-
!((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x = o.value) != null && x.contains(E)) && !((
|
|
3441
|
+
!((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x = o.value) != null && x.contains(E)) && !((O = (ie = d.value) == null ? void 0 : ie.dropdownRef) != null && O.contains(E)) && (i.value = !1);
|
|
3442
3442
|
}
|
|
3443
|
-
return
|
|
3443
|
+
return Ne(() => {
|
|
3444
3444
|
document.addEventListener("click", T);
|
|
3445
|
-
}),
|
|
3445
|
+
}), Te(() => {
|
|
3446
3446
|
document.removeEventListener("click", T);
|
|
3447
3447
|
}), (Q, E) => (u(), g("div", OA, [
|
|
3448
3448
|
y("div", {
|
|
@@ -3450,12 +3450,12 @@ const bA = {
|
|
|
3450
3450
|
ref: o,
|
|
3451
3451
|
class: "av-autocomplete__wrapper"
|
|
3452
3452
|
}, [
|
|
3453
|
-
P(
|
|
3453
|
+
P(QA, {
|
|
3454
3454
|
ref_key: "inputRef",
|
|
3455
3455
|
ref: c,
|
|
3456
3456
|
onSearch: b,
|
|
3457
3457
|
onClear: E[0] || (E[0] = (L) => n("clear"))
|
|
3458
|
-
},
|
|
3458
|
+
}, ke({ _: 2 }, [
|
|
3459
3459
|
r.requiredTip ? {
|
|
3460
3460
|
name: "requiredTip",
|
|
3461
3461
|
fn: R(() => [
|
|
@@ -3464,11 +3464,11 @@ const bA = {
|
|
|
3464
3464
|
key: "0"
|
|
3465
3465
|
} : void 0
|
|
3466
3466
|
]), 1536),
|
|
3467
|
-
P(
|
|
3467
|
+
P(MA, {
|
|
3468
3468
|
ref_key: "dropdownRef",
|
|
3469
3469
|
ref: d,
|
|
3470
3470
|
onLoadMore: E[1] || (E[1] = (L) => n("loadMore"))
|
|
3471
|
-
},
|
|
3471
|
+
}, ke({ _: 2 }, [
|
|
3472
3472
|
r.item ? {
|
|
3473
3473
|
name: "item",
|
|
3474
3474
|
fn: R(({ option: L, isSelected: B, toggle: V }) => [
|
|
@@ -3489,7 +3489,7 @@ const bA = {
|
|
|
3489
3489
|
} : void 0
|
|
3490
3490
|
]), 1536)
|
|
3491
3491
|
], 512),
|
|
3492
|
-
P(
|
|
3492
|
+
P(wA, null, ke({ _: 2 }, [
|
|
3493
3493
|
r.selectedItem ? {
|
|
3494
3494
|
name: "selectedItem",
|
|
3495
3495
|
fn: R(({ option: L, remove: B }) => [
|
|
@@ -3503,7 +3503,7 @@ const bA = {
|
|
|
3503
3503
|
]), 1024)
|
|
3504
3504
|
]));
|
|
3505
3505
|
}
|
|
3506
|
-
}),
|
|
3506
|
+
}), Xl = /* @__PURE__ */ W(SA, [["__scopeId", "data-v-fd810890"]]), kA = { class: "item-container" }, zA = /* @__PURE__ */ w({
|
|
3507
3507
|
__name: "AvMultiselect",
|
|
3508
3508
|
props: {
|
|
3509
3509
|
disabled: { type: Boolean },
|
|
@@ -3528,7 +3528,7 @@ const bA = {
|
|
|
3528
3528
|
te((f) => ({
|
|
3529
3529
|
v5e495a53: f.width
|
|
3530
3530
|
}));
|
|
3531
|
-
const a = e, n = t, r =
|
|
3531
|
+
const a = e, n = t, r = M(() => a.modelValue.map((f) => f.value)), A = M(() => {
|
|
3532
3532
|
if (!a.modelValue || a.modelValue.length === 0)
|
|
3533
3533
|
return a.defaultUnselectedText;
|
|
3534
3534
|
if (a.selectedText)
|
|
@@ -3573,7 +3573,7 @@ const bA = {
|
|
|
3573
3573
|
"onUpdate:modelValue": b[0] || (b[0] = (m) => d(m))
|
|
3574
3574
|
}), {
|
|
3575
3575
|
"checkbox-label": R(({ option: m }) => [
|
|
3576
|
-
y("div",
|
|
3576
|
+
y("div", kA, [
|
|
3577
3577
|
P(I, {
|
|
3578
3578
|
class: "option-checkbox",
|
|
3579
3579
|
name: s(m),
|
|
@@ -3597,7 +3597,7 @@ const bA = {
|
|
|
3597
3597
|
], 2);
|
|
3598
3598
|
};
|
|
3599
3599
|
}
|
|
3600
|
-
}),
|
|
3600
|
+
}), Hl = /* @__PURE__ */ W(zA, [["__scopeId", "data-v-4cc765fa"]]), Zl = {
|
|
3601
3601
|
name: "AvSelect",
|
|
3602
3602
|
props: {
|
|
3603
3603
|
modelValue: [String, Number],
|
|
@@ -3621,7 +3621,7 @@ const bA = {
|
|
|
3621
3621
|
</option>
|
|
3622
3622
|
</select>
|
|
3623
3623
|
`
|
|
3624
|
-
},
|
|
3624
|
+
}, xA = /* @__PURE__ */ w({
|
|
3625
3625
|
__name: "AvSelect",
|
|
3626
3626
|
props: {
|
|
3627
3627
|
required: { type: Boolean },
|
|
@@ -3639,7 +3639,7 @@ const bA = {
|
|
|
3639
3639
|
},
|
|
3640
3640
|
emits: ["update:modelValue"],
|
|
3641
3641
|
setup(e, { emit: t }) {
|
|
3642
|
-
const a = e, n = t, r =
|
|
3642
|
+
const a = e, n = t, r = M(() => {
|
|
3643
3643
|
var i;
|
|
3644
3644
|
if (!a.modelValue)
|
|
3645
3645
|
return a.defaultUnselectedText;
|
|
@@ -3655,7 +3655,7 @@ const bA = {
|
|
|
3655
3655
|
}), null, 16, ["title"])
|
|
3656
3656
|
], 2));
|
|
3657
3657
|
}
|
|
3658
|
-
}),
|
|
3658
|
+
}), ql = /* @__PURE__ */ W(xA, [["__scopeId", "data-v-d230e734"]]), Yl = /* @__PURE__ */ w({
|
|
3659
3659
|
__name: "AvTab",
|
|
3660
3660
|
props: {
|
|
3661
3661
|
title: {},
|
|
@@ -3664,7 +3664,7 @@ const bA = {
|
|
|
3664
3664
|
setup(e) {
|
|
3665
3665
|
return (t, a) => j(t.$slots, "default");
|
|
3666
3666
|
}
|
|
3667
|
-
}),
|
|
3667
|
+
}), BA = /* @__PURE__ */ w({
|
|
3668
3668
|
__name: "AvTabs",
|
|
3669
3669
|
props: {
|
|
3670
3670
|
ariaLabel: {},
|
|
@@ -3673,7 +3673,7 @@ const bA = {
|
|
|
3673
3673
|
},
|
|
3674
3674
|
emits: ["update:modelValue"],
|
|
3675
3675
|
setup(e, { expose: t, emit: a }) {
|
|
3676
|
-
const n = a, r = Ae(), A = J(e.modelValue), i =
|
|
3676
|
+
const n = a, r = Ae(), A = J(e.modelValue), i = M(() => {
|
|
3677
3677
|
var b;
|
|
3678
3678
|
return ((b = r.default) == null ? void 0 : b.call(r)) || [];
|
|
3679
3679
|
});
|
|
@@ -3698,8 +3698,8 @@ const bA = {
|
|
|
3698
3698
|
}), ce(A, (b) => {
|
|
3699
3699
|
n("update:modelValue", b);
|
|
3700
3700
|
}), t({ activeTab: A }), (b, I) => {
|
|
3701
|
-
const m = ha, C = ba,
|
|
3702
|
-
return u(), k(
|
|
3701
|
+
const m = ha, C = ba, p = Ia;
|
|
3702
|
+
return u(), k(p, {
|
|
3703
3703
|
modelValue: l(A),
|
|
3704
3704
|
"onUpdate:modelValue": I[0] || (I[0] = (T) => it(A) ? A.value = T : null),
|
|
3705
3705
|
class: F({ compact: e.compact }),
|
|
@@ -3747,16 +3747,16 @@ const bA = {
|
|
|
3747
3747
|
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
3748
3748
|
};
|
|
3749
3749
|
}
|
|
3750
|
-
}),
|
|
3750
|
+
}), Rl = /* @__PURE__ */ W(BA, [["__scopeId", "data-v-dbd71c5f"]]), jA = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", PA = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", WA = ["id", "for"], VA = {
|
|
3751
3751
|
width: "34",
|
|
3752
3752
|
height: "14"
|
|
3753
|
-
},
|
|
3753
|
+
}, UA = ["href"], XA = {
|
|
3754
3754
|
key: 0,
|
|
3755
3755
|
class: "caption-bold no-select"
|
|
3756
|
-
},
|
|
3756
|
+
}, HA = {
|
|
3757
3757
|
key: 1,
|
|
3758
3758
|
class: "caption-regular no-select"
|
|
3759
|
-
},
|
|
3759
|
+
}, ZA = { class: "caption-regular" }, qA = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], YA = /* @__PURE__ */ w({
|
|
3760
3760
|
__name: "AvToggle",
|
|
3761
3761
|
props: {
|
|
3762
3762
|
modelValue: { type: Boolean },
|
|
@@ -3769,7 +3769,7 @@ const bA = {
|
|
|
3769
3769
|
},
|
|
3770
3770
|
emits: ["update:modelValue"],
|
|
3771
3771
|
setup(e) {
|
|
3772
|
-
const t = e, a =
|
|
3772
|
+
const t = e, a = M(() => t.id ?? crypto.randomUUID()), n = M(() => `${a.value}-label`);
|
|
3773
3773
|
return (r, A) => (u(), g(_, null, [
|
|
3774
3774
|
y("label", {
|
|
3775
3775
|
id: l(n),
|
|
@@ -3783,17 +3783,17 @@ const bA = {
|
|
|
3783
3783
|
"toggle--disabled": e.disabled
|
|
3784
3784
|
}])
|
|
3785
3785
|
}, [
|
|
3786
|
-
(u(), g("svg",
|
|
3786
|
+
(u(), g("svg", VA, [
|
|
3787
3787
|
y("image", {
|
|
3788
|
-
href: e.modelValue ? l(
|
|
3788
|
+
href: e.modelValue ? l(jA) : l(PA),
|
|
3789
3789
|
width: "34",
|
|
3790
3790
|
height: "14"
|
|
3791
|
-
}, null, 8,
|
|
3791
|
+
}, null, 8, UA)
|
|
3792
3792
|
])),
|
|
3793
|
-
e.modelValue ? (u(), g("span",
|
|
3793
|
+
e.modelValue ? (u(), g("span", XA, Z(e.activeText), 1)) : (u(), g("span", HA, Z(e.inactiveText), 1))
|
|
3794
3794
|
], 2),
|
|
3795
|
-
y("span",
|
|
3796
|
-
], 10,
|
|
3795
|
+
y("span", ZA, Z(e.description), 1)
|
|
3796
|
+
], 10, WA),
|
|
3797
3797
|
y("input", {
|
|
3798
3798
|
id: l(a),
|
|
3799
3799
|
style: { visibility: "hidden" },
|
|
@@ -3805,13 +3805,13 @@ const bA = {
|
|
|
3805
3805
|
"aria-describedby": l(n),
|
|
3806
3806
|
name: e.name,
|
|
3807
3807
|
onInput: A[0] || (A[0] = (i) => r.$emit("update:modelValue", i.target.checked))
|
|
3808
|
-
}, null, 40,
|
|
3808
|
+
}, null, 40, qA)
|
|
3809
3809
|
], 64));
|
|
3810
3810
|
}
|
|
3811
|
-
}),
|
|
3811
|
+
}), Fl = /* @__PURE__ */ W(YA, [["__scopeId", "data-v-0aabed11"]]), RA = {
|
|
3812
3812
|
style: { position: "relative" },
|
|
3813
3813
|
class: "my-nav-wrapper"
|
|
3814
|
-
},
|
|
3814
|
+
}, FA = /* @__PURE__ */ w({
|
|
3815
3815
|
__name: "AvNavigation",
|
|
3816
3816
|
props: {
|
|
3817
3817
|
navItems: {}
|
|
@@ -3820,18 +3820,18 @@ const bA = {
|
|
|
3820
3820
|
const t = e;
|
|
3821
3821
|
return (a, n) => {
|
|
3822
3822
|
const r = Ca;
|
|
3823
|
-
return u(), g("div",
|
|
3823
|
+
return u(), g("div", RA, [
|
|
3824
3824
|
P(r, Da(La(t)), null, 16)
|
|
3825
3825
|
]);
|
|
3826
3826
|
};
|
|
3827
3827
|
}
|
|
3828
|
-
}),
|
|
3828
|
+
}), Kl = /* @__PURE__ */ W(FA, [["__scopeId", "data-v-433349ab"]]), KA = ["aria-label"], GA = { class: "fr-pagination__list" }, JA = { key: 0 }, _A = { class: "b2-regular" }, $A = ["href", "title", "aria-disabled"], eo = { class: "fr-sr-only" }, to = ["href", "title", "aria-disabled"], ao = {
|
|
3829
3829
|
key: 0,
|
|
3830
3830
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3831
|
-
},
|
|
3831
|
+
}, no = ["href", "title", "aria-current", "onClick"], ro = { key: 0 }, io = { key: 1 }, Ao = ["href", "title", "disabled", "aria-disabled"], oo = {
|
|
3832
3832
|
key: 0,
|
|
3833
3833
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3834
|
-
},
|
|
3834
|
+
}, lo = ["href", "title", "disabled", "aria-disabled"], so = { class: "fr-sr-only" }, co = /* @__PURE__ */ w({
|
|
3835
3835
|
__name: "AvPagination",
|
|
3836
3836
|
props: {
|
|
3837
3837
|
compact: { type: Boolean, default: !1 },
|
|
@@ -3847,17 +3847,17 @@ const bA = {
|
|
|
3847
3847
|
},
|
|
3848
3848
|
emits: ["update:current-page"],
|
|
3849
3849
|
setup(e, { emit: t }) {
|
|
3850
|
-
const a = t, n =
|
|
3850
|
+
const a = t, n = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), r = M(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), A = M(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, r.value + 1) : e.pages), i = (I) => a("update:current-page", I), s = (I) => i(I), o = () => s(0), c = () => s(Math.max(0, e.currentPage - 1)), d = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => s(e.pages.length - 1), b = (I) => e.pages.indexOf(I) === e.currentPage;
|
|
3851
3851
|
return (I, m) => {
|
|
3852
|
-
var C,
|
|
3852
|
+
var C, p, T, Q;
|
|
3853
3853
|
return u(), g("nav", {
|
|
3854
3854
|
role: "navigation",
|
|
3855
3855
|
class: "fr-pagination",
|
|
3856
3856
|
"aria-label": e.ariaLabel
|
|
3857
3857
|
}, [
|
|
3858
|
-
y("ul",
|
|
3859
|
-
e.compact && e.compactCurrentPageLabel ? (u(), g("li",
|
|
3860
|
-
y("span",
|
|
3858
|
+
y("ul", GA, [
|
|
3859
|
+
e.compact && e.compactCurrentPageLabel ? (u(), g("li", JA, [
|
|
3860
|
+
y("span", _A, Z(e.compactCurrentPageLabel), 1)
|
|
3861
3861
|
])) : D("", !0),
|
|
3862
3862
|
y("li", null, [
|
|
3863
3863
|
e.compact ? D("", !0) : (u(), g("a", {
|
|
@@ -3873,12 +3873,12 @@ const bA = {
|
|
|
3873
3873
|
size: 1.5,
|
|
3874
3874
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3875
3875
|
}, null, 8, ["name", "color"]),
|
|
3876
|
-
y("span",
|
|
3877
|
-
], 8,
|
|
3876
|
+
y("span", eo, Z(e.firstPageLabel), 1)
|
|
3877
|
+
], 8, $A))
|
|
3878
3878
|
]),
|
|
3879
3879
|
y("li", null, [
|
|
3880
3880
|
y("a", {
|
|
3881
|
-
href: (
|
|
3881
|
+
href: (p = e.pages[Math.max(e.currentPage - 1, 0)]) == null ? void 0 : p.href,
|
|
3882
3882
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
3883
3883
|
title: e.prevPageLabel,
|
|
3884
3884
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
@@ -3889,8 +3889,8 @@ const bA = {
|
|
|
3889
3889
|
size: 1.5,
|
|
3890
3890
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3891
3891
|
}, null, 8, ["name", "color"]),
|
|
3892
|
-
e.compact ? D("", !0) : (u(), g("span",
|
|
3893
|
-
], 8,
|
|
3892
|
+
e.compact ? D("", !0) : (u(), g("span", ao, Z(e.prevPageLabel), 1))
|
|
3893
|
+
], 8, to)
|
|
3894
3894
|
]),
|
|
3895
3895
|
e.compact ? D("", !0) : (u(!0), g(_, { key: 1 }, re(l(A), (E, L) => (u(), g("li", { key: L }, [
|
|
3896
3896
|
y("a", {
|
|
@@ -3900,10 +3900,10 @@ const bA = {
|
|
|
3900
3900
|
"aria-current": b(E) ? "page" : void 0,
|
|
3901
3901
|
onClick: se((B) => s(e.pages.indexOf(E)), ["prevent"])
|
|
3902
3902
|
}, [
|
|
3903
|
-
l(A).indexOf(E) === 0 && l(n) > 0 ? (u(), g("span",
|
|
3903
|
+
l(A).indexOf(E) === 0 && l(n) > 0 ? (u(), g("span", ro, "...")) : D("", !0),
|
|
3904
3904
|
rt(" " + Z(E.label) + " ", 1),
|
|
3905
|
-
l(A).indexOf(E) === l(A).length - 1 && l(r) < e.pages.length - 1 ? (u(), g("span",
|
|
3906
|
-
], 8,
|
|
3905
|
+
l(A).indexOf(E) === l(A).length - 1 && l(r) < e.pages.length - 1 ? (u(), g("span", io, "...")) : D("", !0)
|
|
3906
|
+
], 8, no)
|
|
3907
3907
|
]))), 128)),
|
|
3908
3908
|
y("li", null, [
|
|
3909
3909
|
y("a", {
|
|
@@ -3914,13 +3914,13 @@ const bA = {
|
|
|
3914
3914
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3915
3915
|
onClick: m[2] || (m[2] = se((E) => d(), ["prevent"]))
|
|
3916
3916
|
}, [
|
|
3917
|
-
e.compact ? D("", !0) : (u(), g("span",
|
|
3917
|
+
e.compact ? D("", !0) : (u(), g("span", oo, Z(e.nextPageLabel), 1)),
|
|
3918
3918
|
P(ne, {
|
|
3919
3919
|
name: l(Y).NAVIGATE_NEXT,
|
|
3920
3920
|
size: 1.5,
|
|
3921
3921
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3922
3922
|
}, null, 8, ["name", "color"])
|
|
3923
|
-
], 8,
|
|
3923
|
+
], 8, Ao)
|
|
3924
3924
|
]),
|
|
3925
3925
|
y("li", null, [
|
|
3926
3926
|
e.compact ? D("", !0) : (u(), g("a", {
|
|
@@ -3932,20 +3932,20 @@ const bA = {
|
|
|
3932
3932
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3933
3933
|
onClick: m[3] || (m[3] = se((E) => f(), ["prevent"]))
|
|
3934
3934
|
}, [
|
|
3935
|
-
y("span",
|
|
3935
|
+
y("span", so, Z(e.lastPageLabel), 1),
|
|
3936
3936
|
P(ne, {
|
|
3937
3937
|
name: l(Y).PAGE_LAST,
|
|
3938
3938
|
size: 1.5,
|
|
3939
3939
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3940
3940
|
}, null, 8, ["name", "color"])
|
|
3941
|
-
], 8,
|
|
3941
|
+
], 8, lo))
|
|
3942
3942
|
])
|
|
3943
3943
|
])
|
|
3944
|
-
], 8,
|
|
3944
|
+
], 8, KA);
|
|
3945
3945
|
};
|
|
3946
3946
|
}
|
|
3947
|
-
}),
|
|
3948
|
-
function
|
|
3947
|
+
}), Gl = /* @__PURE__ */ W(co, [["__scopeId", "data-v-ccfe7c3a"]]);
|
|
3948
|
+
function Jl(e) {
|
|
3949
3949
|
return Array.from({ length: e.value }, (t, a) => {
|
|
3950
3950
|
const n = a + 1;
|
|
3951
3951
|
return {
|
|
@@ -3955,10 +3955,10 @@ function Gl(e) {
|
|
|
3955
3955
|
};
|
|
3956
3956
|
});
|
|
3957
3957
|
}
|
|
3958
|
-
const
|
|
3958
|
+
const uo = ["id", "aria-label"], fo = {
|
|
3959
3959
|
key: 0,
|
|
3960
3960
|
class: "av-side-menu__header"
|
|
3961
|
-
},
|
|
3961
|
+
}, vo = { class: "av-side-menu__content" }, mo = /* @__PURE__ */ w({
|
|
3962
3962
|
__name: "AvSideMenu",
|
|
3963
3963
|
props: /* @__PURE__ */ ve({
|
|
3964
3964
|
id: {},
|
|
@@ -3977,12 +3977,12 @@ const co = ["id", "aria-label"], uo = {
|
|
|
3977
3977
|
v4d5b7c17: l(o),
|
|
3978
3978
|
v4a813d87: d.padding
|
|
3979
3979
|
}));
|
|
3980
|
-
const t = e, a =
|
|
3980
|
+
const t = e, a = xe(e, "collapsed"), { width: n, collapsedWidth: r } = At(t), A = M(() => t.id ?? crypto.randomUUID()), i = M(() => `${A.value} navigation`), s = M({
|
|
3981
3981
|
get: () => t.collapsible ? a.value : !1,
|
|
3982
3982
|
set: (d) => {
|
|
3983
3983
|
t.collapsible && (a.value = d);
|
|
3984
3984
|
}
|
|
3985
|
-
}), o =
|
|
3985
|
+
}), o = M(() => t.collapsible && s.value ? r.value : n.value);
|
|
3986
3986
|
function c() {
|
|
3987
3987
|
t.collapsible && (s.value = !s.value);
|
|
3988
3988
|
}
|
|
@@ -3991,7 +3991,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
3991
3991
|
class: F(["av-side-menu", { "av-side-menu--collapsed": l(s) }]),
|
|
3992
3992
|
"aria-label": l(i)
|
|
3993
3993
|
}, [
|
|
3994
|
-
t.collapsible ? (u(), g("div",
|
|
3994
|
+
t.collapsible ? (u(), g("div", fo, [
|
|
3995
3995
|
P(me, {
|
|
3996
3996
|
"aria-expanded": !l(s),
|
|
3997
3997
|
"aria-controls": l(A),
|
|
@@ -4002,12 +4002,12 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4002
4002
|
onClick: c
|
|
4003
4003
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
4004
4004
|
])) : D("", !0),
|
|
4005
|
-
y("div",
|
|
4005
|
+
y("div", vo, [
|
|
4006
4006
|
j(d.$slots, "default", {}, void 0, !0)
|
|
4007
4007
|
])
|
|
4008
|
-
], 10,
|
|
4008
|
+
], 10, uo));
|
|
4009
4009
|
}
|
|
4010
|
-
}),
|
|
4010
|
+
}), go = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-23242ccc"]]), _l = {
|
|
4011
4011
|
name: "AvSideNavigation",
|
|
4012
4012
|
props: {
|
|
4013
4013
|
items: Array,
|
|
@@ -4017,7 +4017,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4017
4017
|
},
|
|
4018
4018
|
emits: ["update:selectedItem", "update:isSideMenuCollapsed"],
|
|
4019
4019
|
template: `<div class="av-side-navigation-stub" @click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)" />`
|
|
4020
|
-
},
|
|
4020
|
+
}, Io = /* @__PURE__ */ w({
|
|
4021
4021
|
__name: "AvSideNavigation",
|
|
4022
4022
|
props: /* @__PURE__ */ ve({
|
|
4023
4023
|
items: {},
|
|
@@ -4035,11 +4035,11 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4035
4035
|
}),
|
|
4036
4036
|
emits: /* @__PURE__ */ ve(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
4037
4037
|
setup(e) {
|
|
4038
|
-
const t =
|
|
4038
|
+
const t = xe(e, "selectedItem"), a = xe(e, "isSideMenuCollapsed");
|
|
4039
4039
|
function n(r) {
|
|
4040
4040
|
t.value = r;
|
|
4041
4041
|
}
|
|
4042
|
-
return (r, A) => (u(), k(
|
|
4042
|
+
return (r, A) => (u(), k(go, {
|
|
4043
4043
|
collapsed: a.value,
|
|
4044
4044
|
"onUpdate:collapsed": A[0] || (A[0] = (i) => a.value = i),
|
|
4045
4045
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -4073,7 +4073,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4073
4073
|
_: 1
|
|
4074
4074
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
4075
4075
|
}
|
|
4076
|
-
}),
|
|
4076
|
+
}), $l = /* @__PURE__ */ W(Io, [["__scopeId", "data-v-3c5a1abd"]]), es = {
|
|
4077
4077
|
name: "AvStepper",
|
|
4078
4078
|
props: {
|
|
4079
4079
|
steps: {
|
|
@@ -4097,7 +4097,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4097
4097
|
</div>
|
|
4098
4098
|
</div>
|
|
4099
4099
|
`
|
|
4100
|
-
},
|
|
4100
|
+
}, bo = { class: "custom-width-container" }, ho = { class: "block-container" }, Co = { class: "main-container" }, yo = ["aria-current"], Eo = ["aria-current"], Mo = { class: "b1-regular" }, po = { class: "main-labels-container" }, No = /* @__PURE__ */ w({
|
|
4101
4101
|
__name: "AvStepper",
|
|
4102
4102
|
props: {
|
|
4103
4103
|
steps: {},
|
|
@@ -4109,15 +4109,15 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4109
4109
|
v06d1bdf1: l(r)
|
|
4110
4110
|
}));
|
|
4111
4111
|
const t = e, { steps: a, currentStep: n, width: r } = At(t);
|
|
4112
|
-
return (A, i) => (u(), g("div",
|
|
4113
|
-
y("div",
|
|
4114
|
-
y("div",
|
|
4112
|
+
return (A, i) => (u(), g("div", bo, [
|
|
4113
|
+
y("div", ho, [
|
|
4114
|
+
y("div", Co, [
|
|
4115
4115
|
y("div", {
|
|
4116
4116
|
class: "step step--active",
|
|
4117
4117
|
"aria-current": l(n) === 0 ? "step" : void 0
|
|
4118
4118
|
}, [...i[0] || (i[0] = [
|
|
4119
4119
|
y("span", { class: "b1-regular" }, "1", -1)
|
|
4120
|
-
])], 8,
|
|
4120
|
+
])], 8, yo),
|
|
4121
4121
|
(u(!0), g(_, null, re(l(a).slice(1, l(a).length), (s, o) => (u(), g("div", {
|
|
4122
4122
|
key: o,
|
|
4123
4123
|
class: "steps-container"
|
|
@@ -4129,11 +4129,11 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4129
4129
|
class: F(["step", { "step--active": o + 1 <= l(n) }]),
|
|
4130
4130
|
"aria-current": o + 1 === l(n) ? "step" : void 0
|
|
4131
4131
|
}, [
|
|
4132
|
-
y("span",
|
|
4133
|
-
], 10,
|
|
4132
|
+
y("span", Mo, Z(o + 2), 1)
|
|
4133
|
+
], 10, Eo)
|
|
4134
4134
|
]))), 128))
|
|
4135
4135
|
]),
|
|
4136
|
-
y("div",
|
|
4136
|
+
y("div", po, [
|
|
4137
4137
|
(u(!0), g(_, null, re(l(a), (s, o) => (u(), g("div", {
|
|
4138
4138
|
key: o,
|
|
4139
4139
|
class: "label-container"
|
|
@@ -4149,18 +4149,18 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4149
4149
|
])
|
|
4150
4150
|
]));
|
|
4151
4151
|
}
|
|
4152
|
-
}),
|
|
4152
|
+
}), ts = /* @__PURE__ */ W(No, [["__scopeId", "data-v-26a5b40e"]]), as = {
|
|
4153
4153
|
name: "AvDrawer",
|
|
4154
4154
|
props: ["show", "position", "width"],
|
|
4155
4155
|
emits: ["escape-pressed"],
|
|
4156
4156
|
template: '<div class="av-drawer-stub"><slot /><slot name="footer" /></div>'
|
|
4157
|
-
},
|
|
4157
|
+
}, To = { key: 0 }, Qo = {
|
|
4158
4158
|
key: 0,
|
|
4159
4159
|
class: "av-drawer-backdrop"
|
|
4160
|
-
},
|
|
4160
|
+
}, Do = ["aria-label"], Lo = { class: "av-drawer__content-wrapper" }, wo = { class: "av-drawer__content" }, Oo = {
|
|
4161
4161
|
key: 0,
|
|
4162
4162
|
class: "footer-container"
|
|
4163
|
-
},
|
|
4163
|
+
}, So = /* @__PURE__ */ w({
|
|
4164
4164
|
__name: "AvDrawer",
|
|
4165
4165
|
props: {
|
|
4166
4166
|
show: { type: Boolean },
|
|
@@ -4177,8 +4177,8 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4177
4177
|
v7249d1b4: l(s)
|
|
4178
4178
|
}));
|
|
4179
4179
|
const a = e, n = t, r = Ae(), { position: A, width: i, padding: s } = At(a);
|
|
4180
|
-
return (o, c) => e.show ? (u(), g("div",
|
|
4181
|
-
e.backdrop ? (u(), g("div",
|
|
4180
|
+
return (o, c) => e.show ? (u(), g("div", To, [
|
|
4181
|
+
e.backdrop ? (u(), g("div", Qo)) : D("", !0),
|
|
4182
4182
|
y("div", {
|
|
4183
4183
|
class: F(["av-drawer", `av-drawer--${l(A)}`]),
|
|
4184
4184
|
role: "dialog",
|
|
@@ -4186,21 +4186,21 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4186
4186
|
"aria-label": e.ariaLabel,
|
|
4187
4187
|
onKeydown: c[0] || (c[0] = ot((d) => n("escapePressed"), ["esc"]))
|
|
4188
4188
|
}, [
|
|
4189
|
-
y("div",
|
|
4190
|
-
y("div",
|
|
4189
|
+
y("div", Lo, [
|
|
4190
|
+
y("div", wo, [
|
|
4191
4191
|
j(o.$slots, "default", {}, void 0, !0)
|
|
4192
4192
|
]),
|
|
4193
4193
|
r.footer ? (u(), g("div", Oo, [
|
|
4194
4194
|
j(o.$slots, "footer", {}, void 0, !0)
|
|
4195
4195
|
])) : D("", !0)
|
|
4196
4196
|
])
|
|
4197
|
-
], 42,
|
|
4197
|
+
], 42, Do)
|
|
4198
4198
|
])) : D("", !0);
|
|
4199
4199
|
}
|
|
4200
|
-
}),
|
|
4200
|
+
}), ns = /* @__PURE__ */ W(So, [["__scopeId", "data-v-4b1b7481"]]), ko = {
|
|
4201
4201
|
key: 0,
|
|
4202
4202
|
class: "header"
|
|
4203
|
-
},
|
|
4203
|
+
}, zo = { class: "footer" }, xo = /* @__PURE__ */ w({
|
|
4204
4204
|
__name: "AvModal",
|
|
4205
4205
|
props: {
|
|
4206
4206
|
modalId: {},
|
|
@@ -4219,7 +4219,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4219
4219
|
},
|
|
4220
4220
|
emits: ["close", "confirm"],
|
|
4221
4221
|
setup(e, { emit: t }) {
|
|
4222
|
-
const a =
|
|
4222
|
+
const a = Ot(e, ["isLoading"]), n = t, r = Ae(), A = M(() => a.closeButtonIcon ?? Y.CLOSE_CIRCLE_OUTLINE), i = M(() => a.confirmButtonIcon ?? Y.CHECK_CIRCLE_OUTLINE);
|
|
4223
4223
|
return (s, o) => {
|
|
4224
4224
|
const c = Wn, d = ya;
|
|
4225
4225
|
return u(), k(zt, { to: "body" }, [
|
|
@@ -4228,13 +4228,13 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4228
4228
|
onKeydown: o[2] || (o[2] = ot((f) => n("close"), ["esc"]))
|
|
4229
4229
|
}), {
|
|
4230
4230
|
default: R(() => [
|
|
4231
|
-
r.header ? (u(), g("div",
|
|
4231
|
+
r.header ? (u(), g("div", ko, [
|
|
4232
4232
|
j(s.$slots, "header", {}, void 0, !0)
|
|
4233
4233
|
])) : D("", !0),
|
|
4234
4234
|
j(s.$slots, "default", {}, void 0, !0)
|
|
4235
4235
|
]),
|
|
4236
4236
|
footer: R(() => [
|
|
4237
|
-
y("div",
|
|
4237
|
+
y("div", zo, [
|
|
4238
4238
|
P(c, {
|
|
4239
4239
|
"cancel-label": a.closeButtonLabel,
|
|
4240
4240
|
"cancel-icon": l(A),
|
|
@@ -4255,8 +4255,8 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4255
4255
|
]);
|
|
4256
4256
|
};
|
|
4257
4257
|
}
|
|
4258
|
-
}),
|
|
4259
|
-
function
|
|
4258
|
+
}), rs = /* @__PURE__ */ W(xo, [["__scopeId", "data-v-aef6262c"]]);
|
|
4259
|
+
function Bo(e, t) {
|
|
4260
4260
|
const a = J(!1), n = J({ top: 0, left: 0 }), r = async () => {
|
|
4261
4261
|
if (a.value = !a.value, a.value && e.value) {
|
|
4262
4262
|
await Re();
|
|
@@ -4273,9 +4273,9 @@ function xo(e, t) {
|
|
|
4273
4273
|
}, i = (s) => {
|
|
4274
4274
|
e.value && !e.value.contains(s.target) && A();
|
|
4275
4275
|
};
|
|
4276
|
-
return
|
|
4276
|
+
return Ne(() => {
|
|
4277
4277
|
document.addEventListener("click", i);
|
|
4278
|
-
}),
|
|
4278
|
+
}), Te(() => {
|
|
4279
4279
|
document.removeEventListener("click", i);
|
|
4280
4280
|
}), {
|
|
4281
4281
|
showPopover: a,
|
|
@@ -4284,6 +4284,12 @@ function xo(e, t) {
|
|
|
4284
4284
|
closePopover: A
|
|
4285
4285
|
};
|
|
4286
4286
|
}
|
|
4287
|
+
function is() {
|
|
4288
|
+
const e = J(window.innerWidth), t = () => {
|
|
4289
|
+
e.value = window.innerWidth;
|
|
4290
|
+
};
|
|
4291
|
+
return Ne(() => window.addEventListener("resize", t)), Te(() => window.removeEventListener("resize", t)), { respondBelow: (r) => M(() => e.value <= r - 1), respondTo: (r) => M(() => e.value >= r) };
|
|
4292
|
+
}
|
|
4287
4293
|
/*!
|
|
4288
4294
|
* tabbable 6.2.0
|
|
4289
4295
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -4299,7 +4305,7 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4299
4305
|
a === void 0 && (a = !0);
|
|
4300
4306
|
var r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), A = r === "" || r === "true", i = A || a && t && e(t.parentNode);
|
|
4301
4307
|
return i;
|
|
4302
|
-
},
|
|
4308
|
+
}, jo = function(t) {
|
|
4303
4309
|
var a, n = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
4304
4310
|
return n === "" || n === "true";
|
|
4305
4311
|
}, Jt = function(t, a, n) {
|
|
@@ -4338,26 +4344,26 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4338
4344
|
}, he = function(t) {
|
|
4339
4345
|
if (!t)
|
|
4340
4346
|
throw new Error("No node provided");
|
|
4341
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
4342
|
-
},
|
|
4347
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || jo(t)) && !$t(t) ? 0 : t.tabIndex;
|
|
4348
|
+
}, Po = function(t, a) {
|
|
4343
4349
|
var n = he(t);
|
|
4344
4350
|
return n < 0 && a && !$t(t) ? 0 : n;
|
|
4345
|
-
},
|
|
4351
|
+
}, Wo = function(t, a) {
|
|
4346
4352
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
4347
4353
|
}, ea = function(t) {
|
|
4348
4354
|
return t.tagName === "INPUT";
|
|
4349
|
-
}, Wo = function(t) {
|
|
4350
|
-
return ea(t) && t.type === "hidden";
|
|
4351
4355
|
}, Vo = function(t) {
|
|
4356
|
+
return ea(t) && t.type === "hidden";
|
|
4357
|
+
}, Uo = function(t) {
|
|
4352
4358
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
4353
4359
|
return n.tagName === "SUMMARY";
|
|
4354
4360
|
});
|
|
4355
4361
|
return a;
|
|
4356
|
-
},
|
|
4362
|
+
}, Xo = function(t, a) {
|
|
4357
4363
|
for (var n = 0; n < t.length; n++)
|
|
4358
4364
|
if (t[n].checked && t[n].form === a)
|
|
4359
4365
|
return t[n];
|
|
4360
|
-
},
|
|
4366
|
+
}, Ho = function(t) {
|
|
4361
4367
|
if (!t.name)
|
|
4362
4368
|
return !0;
|
|
4363
4369
|
var a = t.form || Ze(t), n = function(s) {
|
|
@@ -4371,13 +4377,13 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4371
4377
|
} catch (i) {
|
|
4372
4378
|
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
|
|
4373
4379
|
}
|
|
4374
|
-
var A =
|
|
4380
|
+
var A = Xo(r, t.form);
|
|
4375
4381
|
return !A || A === t;
|
|
4376
|
-
}, Ho = function(t) {
|
|
4377
|
-
return ea(t) && t.type === "radio";
|
|
4378
4382
|
}, Zo = function(t) {
|
|
4379
|
-
return
|
|
4383
|
+
return ea(t) && t.type === "radio";
|
|
4380
4384
|
}, qo = function(t) {
|
|
4385
|
+
return Zo(t) && !Ho(t);
|
|
4386
|
+
}, Yo = function(t) {
|
|
4381
4387
|
var a, n = t && Ze(t), r = (a = n) === null || a === void 0 ? void 0 : a.host, A = !1;
|
|
4382
4388
|
if (n && n !== t) {
|
|
4383
4389
|
var i, s, o;
|
|
@@ -4390,7 +4396,7 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4390
4396
|
}, Tt = function(t) {
|
|
4391
4397
|
var a = t.getBoundingClientRect(), n = a.width, r = a.height;
|
|
4392
4398
|
return n === 0 && r === 0;
|
|
4393
|
-
},
|
|
4399
|
+
}, Ro = function(t, a) {
|
|
4394
4400
|
var n = a.displayCheck, r = a.getShadowRoot;
|
|
4395
4401
|
if (getComputedStyle(t).visibility === "hidden")
|
|
4396
4402
|
return !0;
|
|
@@ -4407,14 +4413,14 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4407
4413
|
}
|
|
4408
4414
|
t = s;
|
|
4409
4415
|
}
|
|
4410
|
-
if (
|
|
4416
|
+
if (Yo(t))
|
|
4411
4417
|
return !t.getClientRects().length;
|
|
4412
4418
|
if (n !== "legacy-full")
|
|
4413
4419
|
return !0;
|
|
4414
4420
|
} else if (n === "non-zero-area")
|
|
4415
4421
|
return Tt(t);
|
|
4416
4422
|
return !1;
|
|
4417
|
-
},
|
|
4423
|
+
}, Fo = function(t) {
|
|
4418
4424
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
4419
4425
|
for (var a = t.parentElement; a; ) {
|
|
4420
4426
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
@@ -4432,17 +4438,17 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4432
4438
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4433
4439
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4434
4440
|
// note related to `candidateSelectors`)
|
|
4435
|
-
qe(a) ||
|
|
4436
|
-
|
|
4441
|
+
qe(a) || Vo(a) || Ro(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
4442
|
+
Uo(a) || Fo(a));
|
|
4437
4443
|
}, at = function(t, a) {
|
|
4438
|
-
return !(
|
|
4439
|
-
},
|
|
4444
|
+
return !(qo(a) || he(a) < 0 || !Ye(t, a));
|
|
4445
|
+
}, Ko = function(t) {
|
|
4440
4446
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
4441
4447
|
return !!(isNaN(a) || a >= 0);
|
|
4442
|
-
},
|
|
4448
|
+
}, Go = function e(t) {
|
|
4443
4449
|
var a = [], n = [];
|
|
4444
4450
|
return t.forEach(function(r, A) {
|
|
4445
|
-
var i = !!r.scopeParent, s = i ? r.scopeParent : r, o =
|
|
4451
|
+
var i = !!r.scopeParent, s = i ? r.scopeParent : r, o = Po(s, i), c = i ? e(r.candidates) : s;
|
|
4446
4452
|
o === 0 ? i ? a.push.apply(a, c) : a.push(s) : n.push({
|
|
4447
4453
|
documentOrder: A,
|
|
4448
4454
|
tabIndex: o,
|
|
@@ -4450,19 +4456,19 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4450
4456
|
isScope: i,
|
|
4451
4457
|
content: c
|
|
4452
4458
|
});
|
|
4453
|
-
}), n.sort(
|
|
4459
|
+
}), n.sort(Wo).reduce(function(r, A) {
|
|
4454
4460
|
return A.isScope ? r.push.apply(r, A.content) : r.push(A.content), r;
|
|
4455
4461
|
}, []).concat(a);
|
|
4456
|
-
},
|
|
4462
|
+
}, Jo = function(t, a) {
|
|
4457
4463
|
a = a || {};
|
|
4458
4464
|
var n;
|
|
4459
4465
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
4460
4466
|
filter: at.bind(null, a),
|
|
4461
4467
|
flatten: !1,
|
|
4462
4468
|
getShadowRoot: a.getShadowRoot,
|
|
4463
|
-
shadowRootFilter:
|
|
4464
|
-
}) : n = Jt(t, a.includeContainer, at.bind(null, a)),
|
|
4465
|
-
},
|
|
4469
|
+
shadowRootFilter: Ko
|
|
4470
|
+
}) : n = Jt(t, a.includeContainer, at.bind(null, a)), Go(n);
|
|
4471
|
+
}, _o = function(t, a) {
|
|
4466
4472
|
a = a || {};
|
|
4467
4473
|
var n;
|
|
4468
4474
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
@@ -4474,10 +4480,10 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4474
4480
|
if (a = a || {}, !t)
|
|
4475
4481
|
throw new Error("No node provided");
|
|
4476
4482
|
return Ce.call(t, He) === !1 ? !1 : at(a, t);
|
|
4477
|
-
},
|
|
4483
|
+
}, $o = /* @__PURE__ */ Kt.concat("iframe").join(","), et = function(t, a) {
|
|
4478
4484
|
if (a = a || {}, !t)
|
|
4479
4485
|
throw new Error("No node provided");
|
|
4480
|
-
return Ce.call(t,
|
|
4486
|
+
return Ce.call(t, $o) === !1 ? !1 : Ye(a, t);
|
|
4481
4487
|
};
|
|
4482
4488
|
/*!
|
|
4483
4489
|
* focus-trap 7.6.5
|
|
@@ -4488,21 +4494,21 @@ function nt(e, t) {
|
|
|
4488
4494
|
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
4489
4495
|
return n;
|
|
4490
4496
|
}
|
|
4491
|
-
function
|
|
4497
|
+
function el(e) {
|
|
4492
4498
|
if (Array.isArray(e)) return nt(e);
|
|
4493
4499
|
}
|
|
4494
|
-
function
|
|
4495
|
-
return (t =
|
|
4500
|
+
function tl(e, t, a) {
|
|
4501
|
+
return (t = Al(t)) in e ? Object.defineProperty(e, t, {
|
|
4496
4502
|
value: a,
|
|
4497
4503
|
enumerable: !0,
|
|
4498
4504
|
configurable: !0,
|
|
4499
4505
|
writable: !0
|
|
4500
4506
|
}) : e[t] = a, e;
|
|
4501
4507
|
}
|
|
4502
|
-
function
|
|
4508
|
+
function al(e) {
|
|
4503
4509
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4504
4510
|
}
|
|
4505
|
-
function
|
|
4511
|
+
function nl() {
|
|
4506
4512
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4507
4513
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4508
4514
|
}
|
|
@@ -4520,17 +4526,17 @@ function Dt(e) {
|
|
|
4520
4526
|
for (var t = 1; t < arguments.length; t++) {
|
|
4521
4527
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
4522
4528
|
t % 2 ? Qt(Object(a), !0).forEach(function(n) {
|
|
4523
|
-
|
|
4529
|
+
tl(e, n, a[n]);
|
|
4524
4530
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Qt(Object(a)).forEach(function(n) {
|
|
4525
4531
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
4526
4532
|
});
|
|
4527
4533
|
}
|
|
4528
4534
|
return e;
|
|
4529
4535
|
}
|
|
4530
|
-
function
|
|
4531
|
-
return
|
|
4536
|
+
function rl(e) {
|
|
4537
|
+
return el(e) || al(e) || ol(e) || nl();
|
|
4532
4538
|
}
|
|
4533
|
-
function
|
|
4539
|
+
function il(e, t) {
|
|
4534
4540
|
if (typeof e != "object" || !e) return e;
|
|
4535
4541
|
var a = e[Symbol.toPrimitive];
|
|
4536
4542
|
if (a !== void 0) {
|
|
@@ -4540,11 +4546,11 @@ function rl(e, t) {
|
|
|
4540
4546
|
}
|
|
4541
4547
|
return (t === "string" ? String : Number)(e);
|
|
4542
4548
|
}
|
|
4543
|
-
function
|
|
4544
|
-
var t =
|
|
4549
|
+
function Al(e) {
|
|
4550
|
+
var t = il(e, "string");
|
|
4545
4551
|
return typeof t == "symbol" ? t : t + "";
|
|
4546
4552
|
}
|
|
4547
|
-
function
|
|
4553
|
+
function ol(e, t) {
|
|
4548
4554
|
if (e) {
|
|
4549
4555
|
if (typeof e == "string") return nt(e, t);
|
|
4550
4556
|
var a = {}.toString.call(e).slice(8, -1);
|
|
@@ -4564,31 +4570,31 @@ var Lt = {
|
|
|
4564
4570
|
var n = t.indexOf(a);
|
|
4565
4571
|
n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
4566
4572
|
}
|
|
4567
|
-
}, ol = function(t) {
|
|
4568
|
-
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
4569
4573
|
}, ll = function(t) {
|
|
4574
|
+
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
4575
|
+
}, sl = function(t) {
|
|
4570
4576
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
4571
|
-
},
|
|
4577
|
+
}, ze = function(t) {
|
|
4572
4578
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
4573
|
-
}, sl = function(t) {
|
|
4574
|
-
return Se(t) && !t.shiftKey;
|
|
4575
4579
|
}, cl = function(t) {
|
|
4576
|
-
return
|
|
4577
|
-
},
|
|
4580
|
+
return ze(t) && !t.shiftKey;
|
|
4581
|
+
}, ul = function(t) {
|
|
4582
|
+
return ze(t) && t.shiftKey;
|
|
4583
|
+
}, wt = function(t) {
|
|
4578
4584
|
return setTimeout(t, 0);
|
|
4579
|
-
},
|
|
4585
|
+
}, Se = function(t) {
|
|
4580
4586
|
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
|
|
4581
4587
|
n[r - 1] = arguments[r];
|
|
4582
4588
|
return typeof t == "function" ? t.apply(void 0, n) : t;
|
|
4583
4589
|
}, je = function(t) {
|
|
4584
4590
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
4585
|
-
},
|
|
4586
|
-
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) ||
|
|
4591
|
+
}, dl = [], fl = function(t, a) {
|
|
4592
|
+
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) || dl, A = Dt({
|
|
4587
4593
|
returnFocusOnDeactivate: !0,
|
|
4588
4594
|
escapeDeactivates: !0,
|
|
4589
4595
|
delayInitialFocus: !0,
|
|
4590
|
-
isKeyForward:
|
|
4591
|
-
isKeyBackward:
|
|
4596
|
+
isKeyForward: cl,
|
|
4597
|
+
isKeyBackward: ul
|
|
4592
4598
|
}, a), i = {
|
|
4593
4599
|
// containers given to createFocusTrap()
|
|
4594
4600
|
// @type {Array<HTMLElement>}
|
|
@@ -4642,7 +4648,7 @@ var Lt = {
|
|
|
4642
4648
|
});
|
|
4643
4649
|
}, d = function(v) {
|
|
4644
4650
|
var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = h.hasFallback, z = N === void 0 ? !1 : N, U = h.params, q = U === void 0 ? [] : U, S = A[v];
|
|
4645
|
-
if (typeof S == "function" && (S = S.apply(void 0,
|
|
4651
|
+
if (typeof S == "function" && (S = S.apply(void 0, rl(q))), S === !0 && (S = void 0), !S) {
|
|
4646
4652
|
if (S === void 0 || S === !1)
|
|
4647
4653
|
return S;
|
|
4648
4654
|
throw new Error("`".concat(v, "` was specified but was not a node, or did not return a node"));
|
|
@@ -4677,7 +4683,7 @@ var Lt = {
|
|
|
4677
4683
|
return v;
|
|
4678
4684
|
}, b = function() {
|
|
4679
4685
|
if (i.containerGroups = i.containers.map(function(v) {
|
|
4680
|
-
var h =
|
|
4686
|
+
var h = Jo(v, A.tabbableOptions), N = _o(v, A.tabbableOptions), z = h.length > 0 ? h[0] : void 0, U = h.length > 0 ? h[h.length - 1] : void 0, q = N.find(function(G) {
|
|
4681
4687
|
return Ee(G);
|
|
4682
4688
|
}), S = N.slice().reverse().find(function(G) {
|
|
4683
4689
|
return Ee(G);
|
|
@@ -4714,12 +4720,12 @@ var Lt = {
|
|
|
4714
4720
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
4715
4721
|
*/
|
|
4716
4722
|
nextTabbableNode: function(Ie) {
|
|
4717
|
-
var
|
|
4718
|
-
return de < 0 ?
|
|
4719
|
-
return Ee(
|
|
4720
|
-
}) : N.slice(0, N.indexOf(Ie)).reverse().find(function(
|
|
4721
|
-
return Ee(
|
|
4722
|
-
}) : h[de + (
|
|
4723
|
+
var Qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = h.indexOf(Ie);
|
|
4724
|
+
return de < 0 ? Qe ? N.slice(N.indexOf(Ie) + 1).find(function(De) {
|
|
4725
|
+
return Ee(De);
|
|
4726
|
+
}) : N.slice(0, N.indexOf(Ie)).reverse().find(function(De) {
|
|
4727
|
+
return Ee(De);
|
|
4728
|
+
}) : h[de + (Qe ? 1 : -1)];
|
|
4723
4729
|
}
|
|
4724
4730
|
};
|
|
4725
4731
|
}), i.tabbableGroups = i.containerGroups.filter(function(v) {
|
|
@@ -4742,14 +4748,14 @@ var Lt = {
|
|
|
4742
4748
|
}
|
|
4743
4749
|
v.focus({
|
|
4744
4750
|
preventScroll: !!A.preventScroll
|
|
4745
|
-
}), i.mostRecentlyFocusedNode = v,
|
|
4751
|
+
}), i.mostRecentlyFocusedNode = v, ll(v) && v.select();
|
|
4746
4752
|
}
|
|
4747
4753
|
}, C = function(v) {
|
|
4748
4754
|
var h = d("setReturnFocus", {
|
|
4749
4755
|
params: [v]
|
|
4750
4756
|
});
|
|
4751
4757
|
return h || (h === !1 ? !1 : v);
|
|
4752
|
-
},
|
|
4758
|
+
}, p = function(v) {
|
|
4753
4759
|
var h = v.target, N = v.event, z = v.isBackward, U = z === void 0 ? !1 : z;
|
|
4754
4760
|
h = h || je(N), b();
|
|
4755
4761
|
var q = null;
|
|
@@ -4763,18 +4769,18 @@ var Lt = {
|
|
|
4763
4769
|
return h === Ge;
|
|
4764
4770
|
});
|
|
4765
4771
|
if (G < 0 && (K.container === h || et(h, A.tabbableOptions) && !Ee(h, A.tabbableOptions) && !K.nextTabbableNode(h, !1)) && (G = S), G >= 0) {
|
|
4766
|
-
var Ie = G === 0 ? i.tabbableGroups.length - 1 : G - 1,
|
|
4767
|
-
q = he(h) >= 0 ?
|
|
4768
|
-
} else
|
|
4772
|
+
var Ie = G === 0 ? i.tabbableGroups.length - 1 : G - 1, Qe = i.tabbableGroups[Ie];
|
|
4773
|
+
q = he(h) >= 0 ? Qe.lastTabbableNode : Qe.lastDomTabbableNode;
|
|
4774
|
+
} else ze(N) || (q = K.nextTabbableNode(h, !1));
|
|
4769
4775
|
} else {
|
|
4770
4776
|
var de = i.tabbableGroups.findIndex(function(Ke) {
|
|
4771
4777
|
var Ge = Ke.lastTabbableNode;
|
|
4772
4778
|
return h === Ge;
|
|
4773
4779
|
});
|
|
4774
4780
|
if (de < 0 && (K.container === h || et(h, A.tabbableOptions) && !Ee(h, A.tabbableOptions) && !K.nextTabbableNode(h)) && (de = S), de >= 0) {
|
|
4775
|
-
var
|
|
4781
|
+
var De = de === i.tabbableGroups.length - 1 ? 0 : de + 1, ut = i.tabbableGroups[De];
|
|
4776
4782
|
q = he(h) >= 0 ? ut.firstTabbableNode : ut.firstDomTabbableNode;
|
|
4777
|
-
} else
|
|
4783
|
+
} else ze(N) || (q = K.nextTabbableNode(h));
|
|
4778
4784
|
}
|
|
4779
4785
|
} else
|
|
4780
4786
|
q = d("fallbackFocus");
|
|
@@ -4782,7 +4788,7 @@ var Lt = {
|
|
|
4782
4788
|
}, T = function(v) {
|
|
4783
4789
|
var h = je(v);
|
|
4784
4790
|
if (!(c(h, v) >= 0)) {
|
|
4785
|
-
if (
|
|
4791
|
+
if (Se(A.clickOutsideDeactivates, v)) {
|
|
4786
4792
|
s.deactivate({
|
|
4787
4793
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
4788
4794
|
// which will result in the outside click setting focus to the node
|
|
@@ -4794,7 +4800,7 @@ var Lt = {
|
|
|
4794
4800
|
});
|
|
4795
4801
|
return;
|
|
4796
4802
|
}
|
|
4797
|
-
|
|
4803
|
+
Se(A.allowOutsideClick, v) || v.preventDefault();
|
|
4798
4804
|
}
|
|
4799
4805
|
}, Q = function(v) {
|
|
4800
4806
|
var h = je(v), N = c(h, v) >= 0;
|
|
@@ -4820,7 +4826,7 @@ var Lt = {
|
|
|
4820
4826
|
}) || (U = !1);
|
|
4821
4827
|
else
|
|
4822
4828
|
U = !1;
|
|
4823
|
-
U && (z =
|
|
4829
|
+
U && (z = p({
|
|
4824
4830
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
4825
4831
|
// outside the trap causing the focus escape we're trying to fix)
|
|
4826
4832
|
target: i.mostRecentlyFocusedNode,
|
|
@@ -4831,21 +4837,21 @@ var Lt = {
|
|
|
4831
4837
|
}, E = function(v) {
|
|
4832
4838
|
var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
4833
4839
|
i.recentNavEvent = v;
|
|
4834
|
-
var N =
|
|
4840
|
+
var N = p({
|
|
4835
4841
|
event: v,
|
|
4836
4842
|
isBackward: h
|
|
4837
4843
|
});
|
|
4838
|
-
N && (
|
|
4844
|
+
N && (ze(v) && v.preventDefault(), m(N));
|
|
4839
4845
|
}, L = function(v) {
|
|
4840
4846
|
(A.isKeyForward(v) || A.isKeyBackward(v)) && E(v, A.isKeyBackward(v));
|
|
4841
4847
|
}, B = function(v) {
|
|
4842
|
-
|
|
4848
|
+
sl(v) && Se(A.escapeDeactivates, v) !== !1 && (v.preventDefault(), s.deactivate());
|
|
4843
4849
|
}, V = function(v) {
|
|
4844
4850
|
var h = je(v);
|
|
4845
|
-
c(h, v) >= 0 ||
|
|
4851
|
+
c(h, v) >= 0 || Se(A.clickOutsideDeactivates, v) || Se(A.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
|
|
4846
4852
|
}, x = function() {
|
|
4847
4853
|
if (i.active)
|
|
4848
|
-
return Lt.activateTrap(r, s), i.delayInitialFocusTimer = A.delayInitialFocus ?
|
|
4854
|
+
return Lt.activateTrap(r, s), i.delayInitialFocusTimer = A.delayInitialFocus ? wt(function() {
|
|
4849
4855
|
m(f());
|
|
4850
4856
|
}) : m(f()), n.addEventListener("focusin", Q, !0), n.addEventListener("mousedown", T, {
|
|
4851
4857
|
capture: !0,
|
|
@@ -4863,7 +4869,7 @@ var Lt = {
|
|
|
4863
4869
|
}, ie = function() {
|
|
4864
4870
|
if (i.active)
|
|
4865
4871
|
return n.removeEventListener("focusin", Q, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", V, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", B), s;
|
|
4866
|
-
},
|
|
4872
|
+
}, O = function(v) {
|
|
4867
4873
|
var h = v.some(function(N) {
|
|
4868
4874
|
var z = Array.from(N.removedNodes);
|
|
4869
4875
|
return z.some(function(U) {
|
|
@@ -4871,7 +4877,7 @@ var Lt = {
|
|
|
4871
4877
|
});
|
|
4872
4878
|
});
|
|
4873
4879
|
h && m(f());
|
|
4874
|
-
}, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(
|
|
4880
|
+
}, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(O) : void 0, $ = function() {
|
|
4875
4881
|
oe && (oe.disconnect(), i.active && !i.paused && i.containers.map(function(v) {
|
|
4876
4882
|
oe.observe(v, {
|
|
4877
4883
|
subtree: !0,
|
|
@@ -4908,7 +4914,7 @@ var Lt = {
|
|
|
4908
4914
|
var N = o(h, "onDeactivate"), z = o(h, "onPostDeactivate"), U = o(h, "checkCanReturnFocus"), q = o(h, "returnFocus", "returnFocusOnDeactivate");
|
|
4909
4915
|
N == null || N();
|
|
4910
4916
|
var S = function() {
|
|
4911
|
-
|
|
4917
|
+
wt(function() {
|
|
4912
4918
|
q && m(C(i.nodeFocusedBeforeActivation)), z == null || z();
|
|
4913
4919
|
});
|
|
4914
4920
|
};
|
|
@@ -4948,12 +4954,12 @@ var Lt = {
|
|
|
4948
4954
|
}
|
|
4949
4955
|
}), s.updateContainerElements(t), s;
|
|
4950
4956
|
};
|
|
4951
|
-
function
|
|
4957
|
+
function vl(e, t) {
|
|
4952
4958
|
let a = null;
|
|
4953
4959
|
function n() {
|
|
4954
4960
|
!e.value || !e.value.querySelector(
|
|
4955
4961
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4956
|
-
) || (a =
|
|
4962
|
+
) || (a = fl(e.value, {
|
|
4957
4963
|
escapeDeactivates: !0,
|
|
4958
4964
|
onDeactivate: t,
|
|
4959
4965
|
returnFocusOnDeactivate: !0,
|
|
@@ -4968,7 +4974,7 @@ function fl(e, t) {
|
|
|
4968
4974
|
cleanupFocusTrap: r
|
|
4969
4975
|
};
|
|
4970
4976
|
}
|
|
4971
|
-
const
|
|
4977
|
+
const ml = { class: "av-popover-wrapper" }, gl = /* @__PURE__ */ w({
|
|
4972
4978
|
__name: "AvPopover",
|
|
4973
4979
|
props: {
|
|
4974
4980
|
width: { default: "12.5rem" },
|
|
@@ -4979,7 +4985,7 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
4979
4985
|
v75959032: f.width,
|
|
4980
4986
|
v330e9906: f.padding
|
|
4981
4987
|
}));
|
|
4982
|
-
const a = J(null), n = J(null), { showPopover: r, popoverPosition: A, togglePopover: i, closePopover: s } =
|
|
4988
|
+
const a = J(null), n = J(null), { showPopover: r, popoverPosition: A, togglePopover: i, closePopover: s } = Bo(a, n), { initializeFocusTrap: o, cleanupFocusTrap: c } = vl(n, s);
|
|
4983
4989
|
function d(f) {
|
|
4984
4990
|
if (!f) {
|
|
4985
4991
|
a.value = null;
|
|
@@ -4994,9 +5000,9 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
4994
5000
|
}
|
|
4995
5001
|
return t({ setTriggerRef: d, triggerRef: a }), ce(r, async (f) => {
|
|
4996
5002
|
f ? (await Re(), o()) : c();
|
|
4997
|
-
}),
|
|
5003
|
+
}), wa(() => {
|
|
4998
5004
|
c();
|
|
4999
|
-
}), (f, b) => (u(), g("div",
|
|
5005
|
+
}), (f, b) => (u(), g("div", ml, [
|
|
5000
5006
|
y("div", {
|
|
5001
5007
|
ref: d,
|
|
5002
5008
|
class: "av-popover-trigger-wrapper"
|
|
@@ -5022,11 +5028,11 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
5022
5028
|
]))
|
|
5023
5029
|
]));
|
|
5024
5030
|
}
|
|
5025
|
-
}),
|
|
5031
|
+
}), As = /* @__PURE__ */ W(gl, [["__scopeId", "data-v-6a5eaa47"]]), os = {
|
|
5026
5032
|
name: "DsfrBadge",
|
|
5027
5033
|
template: '<div class="dsfr-badge" />',
|
|
5028
5034
|
props: ["label", "type", "small", "ellipsis"]
|
|
5029
|
-
},
|
|
5035
|
+
}, ls = {
|
|
5030
5036
|
name: "DsfrModal",
|
|
5031
5037
|
props: ["opened", "title"],
|
|
5032
5038
|
template: '<div class="dsfr-modal"><slot /><slot name="footer" /></div>',
|
|
@@ -5036,82 +5042,84 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
5036
5042
|
this.$emit("keydown", { key: "Escape" });
|
|
5037
5043
|
}
|
|
5038
5044
|
}
|
|
5039
|
-
},
|
|
5045
|
+
}, ss = {
|
|
5040
5046
|
name: "DsfrNavigation",
|
|
5041
5047
|
props: {
|
|
5042
5048
|
navItems: Array
|
|
5043
5049
|
},
|
|
5044
5050
|
template: '<nav class="dsfr-navigation-mock"><slot /></nav>'
|
|
5045
|
-
},
|
|
5051
|
+
}, cs = {
|
|
5046
5052
|
name: "VIcon",
|
|
5047
5053
|
props: ["name", "size", "color"],
|
|
5048
5054
|
template: '<div class="v-icon-stub"></div>'
|
|
5049
5055
|
};
|
|
5050
5056
|
export {
|
|
5051
|
-
|
|
5057
|
+
wl as AvAccordion,
|
|
5052
5058
|
Ol as AvAccordionsGroup,
|
|
5053
5059
|
Ga as AvAlert,
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5060
|
+
Xl as AvAutocomplete,
|
|
5061
|
+
Ul as AvAutocompleteStub,
|
|
5062
|
+
Cl as AvBadge,
|
|
5063
|
+
hl as AvBadgeStub,
|
|
5058
5064
|
me as AvButton,
|
|
5059
|
-
|
|
5065
|
+
Sl as AvButtonStub,
|
|
5060
5066
|
Wn as AvCancelConfirmButtons,
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5067
|
+
Ml as AvCard,
|
|
5068
|
+
ns as AvDrawer,
|
|
5069
|
+
as as AvDrawerStub,
|
|
5070
|
+
zl as AvFileUpload,
|
|
5071
|
+
Dl as AvHeader,
|
|
5066
5072
|
ft as AvHeaderMenuLinks,
|
|
5067
5073
|
Ba as AvIconText,
|
|
5068
5074
|
gi as AvInput,
|
|
5069
5075
|
Vt as AvList,
|
|
5070
5076
|
Ut as AvListItem,
|
|
5071
|
-
|
|
5072
|
-
|
|
5077
|
+
Bl as AvListItemStub,
|
|
5078
|
+
xl as AvListStub,
|
|
5073
5079
|
rn as AvLogo,
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5080
|
+
rs as AvModal,
|
|
5081
|
+
Hl as AvMultiselect,
|
|
5082
|
+
Kl as AvNavigation,
|
|
5083
|
+
yl as AvNotice,
|
|
5084
|
+
Pl as AvPageSizePicker,
|
|
5085
|
+
Gl as AvPagination,
|
|
5086
|
+
As as AvPopover,
|
|
5087
|
+
Si as AvRadioButton,
|
|
5088
|
+
Vl as AvRadioButtonSet,
|
|
5089
|
+
kl as AvRichButton,
|
|
5090
|
+
ql as AvSelect,
|
|
5091
|
+
Zl as AvSelectStub,
|
|
5092
|
+
go as AvSideMenu,
|
|
5093
|
+
$l as AvSideNavigation,
|
|
5094
|
+
_l as AvSideNavigationStub,
|
|
5095
|
+
ts as AvStepper,
|
|
5096
|
+
es as AvStepperStub,
|
|
5097
|
+
Yl as AvTab,
|
|
5098
|
+
Rl as AvTabs,
|
|
5093
5099
|
Di as AvTagPicker,
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5100
|
+
Wl as AvTagPickerStub,
|
|
5101
|
+
Ql as AvToaster,
|
|
5102
|
+
Fl as AvToggle,
|
|
5097
5103
|
ne as AvVIcon,
|
|
5098
|
-
|
|
5104
|
+
El as AvVIconStub,
|
|
5105
|
+
Li as BREAKPOINTS,
|
|
5099
5106
|
Me as DropdownState,
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5107
|
+
os as DsfrBadgeStub,
|
|
5108
|
+
ls as DsfrModalStub,
|
|
5109
|
+
ss as DsfrNavigationStub,
|
|
5110
|
+
Ll as EsupLogo,
|
|
5111
|
+
Nl as ICONS_DATA_URL,
|
|
5105
5112
|
Y as MDI_ICONS,
|
|
5106
5113
|
Xt as PageSizes,
|
|
5107
|
-
|
|
5108
|
-
|
|
5114
|
+
pl as RI_ICONS,
|
|
5115
|
+
cs as VIconStub,
|
|
5109
5116
|
ja as formatTextToHtml,
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5117
|
+
Jl as getPaginationPages,
|
|
5118
|
+
Tl as isValidEmail,
|
|
5119
|
+
jl as pageSizeValues,
|
|
5120
|
+
fs as registerNavigationLinkKey,
|
|
5114
5121
|
Xa as removeDuplicates,
|
|
5115
5122
|
Je as toSentenceCase,
|
|
5116
|
-
|
|
5123
|
+
is as useBreakpoint,
|
|
5124
|
+
vl as useFocusTrap
|
|
5117
5125
|
};
|