@avenirs-esr/avenirs-dsav 0.1.41 → 0.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avenirs-dsav.css +1 -1
- package/dist/avenirs-dsav.es.js +813 -776
- package/dist/avenirs-dsav.umd.js +7 -7
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stories.d.ts +38 -0
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stub.d.ts +6 -0
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.test.d.ts +1 -0
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts +35 -0
- package/dist/components/interaction/buttons/index.d.ts +1 -0
- package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +11 -6
- 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 Aa, DsfrLanguageSelector as ia, 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 ha, DsfrTabItem as ba, DsfrNavigation as Ca, DsfrModal as ya } from "@gouvminint/vue-dsfr";
|
|
2
|
-
import { registerNavigationLinkKey as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
const
|
|
2
|
+
import { registerNavigationLinkKey as us } from "@gouvminint/vue-dsfr";
|
|
3
|
+
import { defineComponent as O, useCssVars as te, computed as p, createBlock as k, openBlock as u, mergeProps as ee, unref as o, createPropsRestProxy as wt, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as R, useSlots as ie, normalizeStyle as Ve, createCommentVNode as D, renderSlot as B, resolveDynamicComponent as ue, createTextVNode as rt, TransitionGroup as Ea, Fragment as _, renderList as re, toRef as Ma, ref as J, onMounted as xe, onUnmounted as je, provide as St, resolveComponent as pa, withModifiers as se, mergeModels as ve, useModel as ke, nextTick as Re, createSlots as we, watch as ce, isRef as At, 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 it, withKeys as ot, Teleport as zt, onBeforeUnmount as Oa } from "vue";
|
|
4
|
+
const hl = {
|
|
5
5
|
name: "AvBadge",
|
|
6
6
|
template: '<div class="av-badge"/>',
|
|
7
7
|
props: {
|
|
@@ -18,7 +18,7 @@ const ml = {
|
|
|
18
18
|
backgroundColor: String,
|
|
19
19
|
iconPath: String
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, wa = /* @__PURE__ */ O({
|
|
22
22
|
__name: "AvBadge",
|
|
23
23
|
props: {
|
|
24
24
|
color: {},
|
|
@@ -42,18 +42,18 @@ const ml = {
|
|
|
42
42
|
}));
|
|
43
43
|
return (r, i) => {
|
|
44
44
|
const A = ta;
|
|
45
|
-
return u(),
|
|
45
|
+
return u(), k(A, ee(t, {
|
|
46
46
|
class: ["av-badge", [o(a)]],
|
|
47
47
|
style: o(n)
|
|
48
48
|
}), null, 16, ["class", "style"]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
51
|
+
}), W = (e, t) => {
|
|
52
52
|
const a = e.__vccOpts || e;
|
|
53
53
|
for (const [n, r] of t)
|
|
54
54
|
a[n] = r;
|
|
55
55
|
return a;
|
|
56
|
-
},
|
|
56
|
+
}, bl = /* @__PURE__ */ W(wa, [["__scopeId", "data-v-844b9e93"]]), Sa = { class: "av-icon-vicon--container" }, ka = 16 / 19.19, za = /* @__PURE__ */ O({
|
|
57
57
|
__name: "AvVIcon",
|
|
58
58
|
props: {
|
|
59
59
|
size: { default: 1 },
|
|
@@ -72,7 +72,7 @@ const ml = {
|
|
|
72
72
|
te((r) => ({
|
|
73
73
|
v53885778: o(n)
|
|
74
74
|
}));
|
|
75
|
-
const t =
|
|
75
|
+
const t = wt(e, ["size"]), a = p(() => ka * e.size), n = p(() => `${e.size}rem`);
|
|
76
76
|
return (r, i) => {
|
|
77
77
|
const A = aa;
|
|
78
78
|
return u(), g("div", Sa, [
|
|
@@ -80,7 +80,7 @@ const ml = {
|
|
|
80
80
|
]);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), ne = /* @__PURE__ */
|
|
83
|
+
}), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */ O({
|
|
84
84
|
__name: "AvIconText",
|
|
85
85
|
props: {
|
|
86
86
|
textColor: { default: "var(--text1)" },
|
|
@@ -111,14 +111,14 @@ const ml = {
|
|
|
111
111
|
}, Z(e.text), 3)
|
|
112
112
|
], 2));
|
|
113
113
|
}
|
|
114
|
-
}), ja = /* @__PURE__ */
|
|
114
|
+
}), ja = /* @__PURE__ */ W(xa, [["__scopeId", "data-v-dec33472"]]);
|
|
115
115
|
function Ba(e, t = "var(--dark-background-primary1)") {
|
|
116
116
|
return e.replace(/###(.+?)###/gs, `<h1 style="display:flex;flex-direction:row;justify-content:start;font-size:var(--font-size-n6);line-height:var(--line-height-n5);color:${t}">$1</h1>`).replace(/@@([\s\S]+?)@@/g, "<div>$1</div>").replace(/^\s*--\s+(.*)$/gm, '<li class="indented-list">$1</li>').replace(/(\r\n|\n|\r|\\n|\\r)/g, '<div class="line-break"></div>').replace(/__(.+?)__/g, '<span class="text-underline">$1</span>').replace(/\*\*(.+?)\*\*/g, `<strong style="color: ${t}">$1</strong>`);
|
|
117
117
|
}
|
|
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"], Cl = /* @__PURE__ */ O({
|
|
122
122
|
__name: "AvNotice",
|
|
123
123
|
props: {
|
|
124
124
|
title: { default: "" },
|
|
@@ -127,17 +127,17 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
|
|
|
127
127
|
},
|
|
128
128
|
setup(e) {
|
|
129
129
|
const t = p(() => Ba(e.text));
|
|
130
|
-
return (a, n) => (u(),
|
|
130
|
+
return (a, n) => (u(), k(o(na), {
|
|
131
131
|
title: e.title,
|
|
132
132
|
type: e.type
|
|
133
133
|
}, {
|
|
134
|
-
desc:
|
|
134
|
+
desc: R(() => [
|
|
135
135
|
y("span", { innerHTML: o(t) }, null, 8, Pa)
|
|
136
136
|
]),
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["title", "type"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), yl = {
|
|
141
141
|
name: "AvVIcon",
|
|
142
142
|
props: ["name", "color", "size"],
|
|
143
143
|
template: '<div class="av-vicon" />'
|
|
@@ -147,7 +147,7 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
|
|
|
147
147
|
}, Va = {
|
|
148
148
|
key: 2,
|
|
149
149
|
class: "av-card__footer"
|
|
150
|
-
}, Ua = /* @__PURE__ */
|
|
150
|
+
}, Ua = /* @__PURE__ */ O({
|
|
151
151
|
__name: "AvCard",
|
|
152
152
|
props: {
|
|
153
153
|
backgroundColor: { default: "var(--card)" },
|
|
@@ -167,17 +167,17 @@ const Pa = ["innerHTML"], Il = /* @__PURE__ */ S({
|
|
|
167
167
|
style: Ve({ background: e.titleBackground, height: e.titleHeight })
|
|
168
168
|
}, [
|
|
169
169
|
B(a.$slots, "title", {}, void 0, !0)
|
|
170
|
-
], 4)) :
|
|
170
|
+
], 4)) : D("", !0),
|
|
171
171
|
B(a.$slots, "default", {}, void 0, !0),
|
|
172
172
|
t.body ? (u(), g("div", Wa, [
|
|
173
173
|
B(a.$slots, "body", {}, void 0, !0)
|
|
174
|
-
])) :
|
|
174
|
+
])) : D("", !0),
|
|
175
175
|
t.footer ? (u(), g("div", Va, [
|
|
176
176
|
B(a.$slots, "footer", {}, void 0, !0)
|
|
177
|
-
])) :
|
|
177
|
+
])) : D("", !0)
|
|
178
178
|
], 4));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), El = /* @__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"], Il = /* @__PURE__ */ S({
|
|
|
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
|
+
}, Ml = {
|
|
253
253
|
DICE_1_LINE: "ri:dice-1-line",
|
|
254
254
|
DICE_4_LINE: "ri:dice-4-line"
|
|
255
|
-
},
|
|
255
|
+
}, pl = {
|
|
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"], Il = /* @__PURE__ */ S({
|
|
|
264
264
|
function Xa(e) {
|
|
265
265
|
return [...new Set(e)];
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Nl(e) {
|
|
268
268
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
269
269
|
}
|
|
270
|
-
const Ha = /* @__PURE__ */
|
|
270
|
+
const Ha = /* @__PURE__ */ O({
|
|
271
271
|
__name: "AvButton",
|
|
272
272
|
props: {
|
|
273
273
|
variant: { default: "DEFAULT" },
|
|
@@ -287,7 +287,7 @@ const Ha = /* @__PURE__ */ S({
|
|
|
287
287
|
te((c) => ({
|
|
288
288
|
v8ea3f2fe: o(s)
|
|
289
289
|
}));
|
|
290
|
-
const a = e, n = { name:
|
|
290
|
+
const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r = p(() => a.isLoading ? n : a.icon), i = p(() => `av-button--variant-${a.variant.toLowerCase()}`), A = p(() => `av-button--theme-${a.theme.toLowerCase()}`), l = p(() => a.noRadius ? "av-button--no-radius" : ""), s = p(() => {
|
|
291
291
|
if (a.iconScale && !Number.isNaN(a.iconScale))
|
|
292
292
|
return a.iconScale;
|
|
293
293
|
switch (a.size) {
|
|
@@ -306,7 +306,7 @@ const Ha = /* @__PURE__ */ S({
|
|
|
306
306
|
});
|
|
307
307
|
return t({ computedSvgScale: s }), (c, d) => {
|
|
308
308
|
const f = ra;
|
|
309
|
-
return u(),
|
|
309
|
+
return u(), k(f, ee(a, {
|
|
310
310
|
class: ["av-button", [o(i), o(A), o(l)]],
|
|
311
311
|
disabled: a.disabled || e.isLoading,
|
|
312
312
|
icon: o(r),
|
|
@@ -318,7 +318,7 @@ const Ha = /* @__PURE__ */ S({
|
|
|
318
318
|
}), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title", "label"]);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
}),
|
|
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__ */ O({
|
|
322
322
|
__name: "AvAlert",
|
|
323
323
|
props: {
|
|
324
324
|
alert: { type: Boolean, default: !1 },
|
|
@@ -344,17 +344,17 @@ const Ha = /* @__PURE__ */ S({
|
|
|
344
344
|
), i = p(() => {
|
|
345
345
|
switch (e.type) {
|
|
346
346
|
case "error":
|
|
347
|
-
return { name:
|
|
347
|
+
return { name: Y.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
|
|
348
348
|
case "success":
|
|
349
|
-
return { name:
|
|
349
|
+
return { name: Y.CHECK_CIRCLE, color: "var(--dark-background-success)" };
|
|
350
350
|
case "warning":
|
|
351
|
-
return { name:
|
|
351
|
+
return { name: Y.WARNING_OUTLINE, color: "var(--dark-background-warn)" };
|
|
352
352
|
case "info":
|
|
353
353
|
default:
|
|
354
|
-
return { name:
|
|
354
|
+
return { name: Y.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
|
-
return (A, l) => e.closed ?
|
|
357
|
+
return (A, l) => e.closed ? D("", !0) : (u(), g("div", {
|
|
358
358
|
key: 0,
|
|
359
359
|
id: e.id,
|
|
360
360
|
class: F(["fr-alert", o(r)]),
|
|
@@ -364,11 +364,11 @@ const Ha = /* @__PURE__ */ S({
|
|
|
364
364
|
y("div", Ya, [
|
|
365
365
|
P(ne, ee(o(i), { size: 3 }), null, 16),
|
|
366
366
|
y("div", Ra, [
|
|
367
|
-
e.small ?
|
|
367
|
+
e.small ? D("", !0) : (u(), k(ue(e.titleTag), {
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "fr-alert__title"
|
|
370
370
|
}, {
|
|
371
|
-
default:
|
|
371
|
+
default: R(() => [
|
|
372
372
|
rt(Z(e.title), 1)
|
|
373
373
|
]),
|
|
374
374
|
_: 1
|
|
@@ -378,18 +378,18 @@ const Ha = /* @__PURE__ */ S({
|
|
|
378
378
|
], !0)
|
|
379
379
|
])
|
|
380
380
|
]),
|
|
381
|
-
e.closeable ? (u(),
|
|
381
|
+
e.closeable ? (u(), k(me, {
|
|
382
382
|
key: 0,
|
|
383
383
|
"icon-only": "",
|
|
384
|
-
icon: o(
|
|
384
|
+
icon: o(Y).CLOSE_CIRCLE_OUTLINE,
|
|
385
385
|
label: e.closeButtonLabel,
|
|
386
386
|
small: "",
|
|
387
387
|
"on-click": n
|
|
388
|
-
}, null, 8, ["icon", "label"])) :
|
|
388
|
+
}, null, 8, ["icon", "label"])) : D("", !0)
|
|
389
389
|
])
|
|
390
390
|
], 10, Za));
|
|
391
391
|
}
|
|
392
|
-
}), Ga = /* @__PURE__ */
|
|
392
|
+
}), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */ O({
|
|
393
393
|
__name: "AvToaster",
|
|
394
394
|
props: {
|
|
395
395
|
messages: {},
|
|
@@ -420,8 +420,8 @@ const Ha = /* @__PURE__ */ S({
|
|
|
420
420
|
tag: "div",
|
|
421
421
|
class: "toasters"
|
|
422
422
|
}, {
|
|
423
|
-
default:
|
|
424
|
-
(u(!0), g(_, null, re(e.messages, (i) => (u(),
|
|
423
|
+
default: R(() => [
|
|
424
|
+
(u(!0), g(_, null, re(e.messages, (i) => (u(), k(Ga, ee({
|
|
425
425
|
key: i.id,
|
|
426
426
|
class: ["av-toaster", t(i.type)]
|
|
427
427
|
}, { ref_for: !0 }, i, {
|
|
@@ -433,7 +433,7 @@ const Ha = /* @__PURE__ */ S({
|
|
|
433
433
|
})
|
|
434
434
|
]));
|
|
435
435
|
}
|
|
436
|
-
}),
|
|
436
|
+
}), Tl = /* @__PURE__ */ W(_a, [["__scopeId", "data-v-202438c7"]]), $a = ["aria-label"], en = { class: "fr-btns-group" }, ft = /* @__PURE__ */ O({
|
|
437
437
|
__name: "AvHeaderMenuLinks",
|
|
438
438
|
props: {
|
|
439
439
|
links: {},
|
|
@@ -448,7 +448,7 @@ const Ha = /* @__PURE__ */ S({
|
|
|
448
448
|
}, [
|
|
449
449
|
y("ul", en, [
|
|
450
450
|
(u(!0), g(_, null, re(e.links, (i, A) => (u(), g("li", { key: A }, [
|
|
451
|
-
P(
|
|
451
|
+
P(me, {
|
|
452
452
|
icon: i.icon,
|
|
453
453
|
label: i.label ?? "",
|
|
454
454
|
"on-click": (l) => {
|
|
@@ -497,7 +497,7 @@ function nn(e, t) {
|
|
|
497
497
|
], -1)
|
|
498
498
|
])]);
|
|
499
499
|
}
|
|
500
|
-
const rn = /* @__PURE__ */
|
|
500
|
+
const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
501
501
|
role: "banner",
|
|
502
502
|
class: "fr-header"
|
|
503
503
|
}, on = { class: "fr-header__body" }, ln = { class: "fr-container width-inherit" }, sn = { class: "fr-header__body-row" }, cn = { class: "fr-header__brand" }, un = { class: "fr-header__brand-top" }, dn = { class: "fr-header__logo fr-enlarge-link" }, fn = {
|
|
@@ -515,7 +515,7 @@ const rn = /* @__PURE__ */ V(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__ */ O({
|
|
519
519
|
__name: "AvHeader",
|
|
520
520
|
props: {
|
|
521
521
|
searchbarId: { default: "searchbar-header" },
|
|
@@ -560,8 +560,8 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
|
|
|
560
560
|
}
|
|
561
561
|
const I = c, m = p(() => [a.homeLabel, a.serviceTitle].filter((M) => M).join(" - ")), C = p(() => !!r.mainnav);
|
|
562
562
|
return St(Aa, () => c), (M, T) => {
|
|
563
|
-
var j,
|
|
564
|
-
const Q = pa("RouterLink"), E = ia,
|
|
563
|
+
var j, V;
|
|
564
|
+
const Q = pa("RouterLink"), E = ia, L = oa;
|
|
565
565
|
return u(), g("header", An, [
|
|
566
566
|
y("div", on, [
|
|
567
567
|
y("div", ln, [
|
|
@@ -573,7 +573,7 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
|
|
|
573
573
|
to: e.homeTo,
|
|
574
574
|
title: o(m)
|
|
575
575
|
}, {
|
|
576
|
-
default:
|
|
576
|
+
default: R(() => [
|
|
577
577
|
P(rn, { "data-testid": "header-logo" })
|
|
578
578
|
]),
|
|
579
579
|
_: 1
|
|
@@ -587,9 +587,9 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
|
|
|
587
587
|
"aria-label": e.showSearchLabel,
|
|
588
588
|
title: e.showSearchLabel,
|
|
589
589
|
"data-fr-opened": o(l),
|
|
590
|
-
onClick: T[0] || (T[0] = se((
|
|
591
|
-
}, null, 8, vn)) :
|
|
592
|
-
o(C) || (
|
|
590
|
+
onClick: T[0] || (T[0] = se((x) => h(), ["prevent", "stop"]))
|
|
591
|
+
}, null, 8, vn)) : D("", !0),
|
|
592
|
+
o(C) || (V = e.quickLinks) != null && V.length ? (u(), g("button", {
|
|
593
593
|
key: 1,
|
|
594
594
|
id: "button-menu",
|
|
595
595
|
class: "fr-btn--menu fr-btn",
|
|
@@ -599,39 +599,39 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
|
|
|
599
599
|
"aria-label": e.menuLabel,
|
|
600
600
|
title: e.menuLabel,
|
|
601
601
|
"data-testid": "open-menu-btn",
|
|
602
|
-
onClick: T[1] || (T[1] = se((
|
|
603
|
-
}, null, 8, mn)) :
|
|
604
|
-
])) :
|
|
602
|
+
onClick: T[1] || (T[1] = se((x) => f(), ["prevent", "stop"]))
|
|
603
|
+
}, null, 8, mn)) : D("", !0)
|
|
604
|
+
])) : D("", !0)
|
|
605
605
|
]),
|
|
606
606
|
e.serviceTitle ? (u(), g("div", gn, [
|
|
607
607
|
y("p", In, Z(e.serviceTitle), 1),
|
|
608
608
|
B(M.$slots, "serviceDescription", {}, void 0, !0)
|
|
609
|
-
])) :
|
|
609
|
+
])) : D("", !0)
|
|
610
610
|
]),
|
|
611
611
|
y("div", hn, [
|
|
612
612
|
y("div", bn, [
|
|
613
613
|
B(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
614
|
-
o(A) ?
|
|
614
|
+
o(A) ? 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
619
|
B(M.$slots, "after-quick-links", {}, void 0, !0),
|
|
620
|
-
o(i) ? (u(),
|
|
621
|
-
onSelect: T[2] || (T[2] = (
|
|
622
|
-
}), null, 16)) :
|
|
620
|
+
o(i) ? (u(), k(E, ee({ key: 1 }, o(i), {
|
|
621
|
+
onSelect: T[2] || (T[2] = (x) => n("languageSelect", x))
|
|
622
|
+
}), null, 16)) : D("", !0)
|
|
623
623
|
]),
|
|
624
624
|
e.showSearch ? (u(), g("div", Cn, [
|
|
625
|
-
P(
|
|
625
|
+
P(L, {
|
|
626
626
|
id: e.searchbarId,
|
|
627
627
|
label: e.searchLabel,
|
|
628
628
|
"model-value": e.modelValue,
|
|
629
629
|
placeholder: e.placeholder,
|
|
630
630
|
style: { "justify-content": "flex-end" },
|
|
631
|
-
"onUpdate:modelValue": T[3] || (T[3] = (
|
|
632
|
-
onSearch: T[4] || (T[4] = (
|
|
631
|
+
"onUpdate:modelValue": T[3] || (T[3] = (x) => n("update:modelValue", x)),
|
|
632
|
+
onSearch: T[4] || (T[4] = (x) => n("search", x))
|
|
633
633
|
}, null, 8, ["id", "label", "model-value", "placeholder"])
|
|
634
|
-
])) :
|
|
634
|
+
])) : D("", !0)
|
|
635
635
|
])
|
|
636
636
|
]),
|
|
637
637
|
e.showSearch || o(C) || e.quickLinks && e.quickLinks.length || o(i) ? (u(), g("div", {
|
|
@@ -648,53 +648,53 @@ const rn = /* @__PURE__ */ V(tn, [["render", nn]]), An = {
|
|
|
648
648
|
class: "fr-btn fr-btn--close",
|
|
649
649
|
"aria-controls": "header-navigation",
|
|
650
650
|
"data-testid": "close-modal-btn",
|
|
651
|
-
onClick: T[5] || (T[5] = se((
|
|
651
|
+
onClick: T[5] || (T[5] = se((x) => c(), ["prevent", "stop"]))
|
|
652
652
|
}, Z(e.closeMenuModalLabel), 1),
|
|
653
653
|
y("div", Mn, [
|
|
654
|
-
o(i) ? (u(),
|
|
655
|
-
onSelect: T[6] || (T[6] = (
|
|
656
|
-
}), null, 16)) :
|
|
654
|
+
o(i) ? (u(), k(E, ee({ key: 0 }, o(i), {
|
|
655
|
+
onSelect: T[6] || (T[6] = (x) => o(i).currentLanguage = x.codeIso)
|
|
656
|
+
}), null, 16)) : D("", !0),
|
|
657
657
|
B(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
658
|
-
o(A) ? (u(),
|
|
658
|
+
o(A) ? (u(), k(ft, {
|
|
659
659
|
key: 1,
|
|
660
660
|
role: "navigation",
|
|
661
661
|
links: e.quickLinks,
|
|
662
662
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
663
663
|
onLinkClick: o(I)
|
|
664
|
-
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) :
|
|
664
|
+
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
|
|
665
665
|
B(M.$slots, "after-quick-links", {}, void 0, !0)
|
|
666
666
|
]),
|
|
667
667
|
o(s) ? B(M.$slots, "mainnav", {
|
|
668
668
|
key: 0,
|
|
669
669
|
hidemodal: c
|
|
670
|
-
}, void 0, !0) :
|
|
670
|
+
}, void 0, !0) : D("", !0),
|
|
671
671
|
o(l) ? (u(), g("div", pn, [
|
|
672
|
-
P(
|
|
672
|
+
P(L, {
|
|
673
673
|
"searchbar-id": e.searchbarId,
|
|
674
674
|
"model-value": e.modelValue,
|
|
675
675
|
placeholder: e.placeholder,
|
|
676
|
-
"onUpdate:modelValue": T[7] || (T[7] = (
|
|
677
|
-
onSearch: T[8] || (T[8] = (
|
|
676
|
+
"onUpdate:modelValue": T[7] || (T[7] = (x) => n("update:modelValue", x)),
|
|
677
|
+
onSearch: T[8] || (T[8] = (x) => n("search", x))
|
|
678
678
|
}, null, 8, ["searchbar-id", "model-value", "placeholder"])
|
|
679
|
-
])) :
|
|
679
|
+
])) : D("", !0)
|
|
680
680
|
])
|
|
681
|
-
], 10, yn)) :
|
|
681
|
+
], 10, yn)) : D("", !0),
|
|
682
682
|
B(M.$slots, "default", {}, void 0, !0)
|
|
683
683
|
])
|
|
684
684
|
]),
|
|
685
685
|
y("div", Nn, [
|
|
686
686
|
o(C) && !o(s) ? (u(), g("div", Tn, [
|
|
687
687
|
B(M.$slots, "mainnav", { hidemodal: c }, void 0, !0)
|
|
688
|
-
])) :
|
|
688
|
+
])) : D("", !0)
|
|
689
689
|
])
|
|
690
690
|
]);
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
}),
|
|
693
|
+
}), Ql = /* @__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
|
};
|
|
697
|
-
function
|
|
697
|
+
function Ln(e, t) {
|
|
698
698
|
return u(), g("svg", Dn, [...t[0] || (t[0] = [
|
|
699
699
|
y("path", {
|
|
700
700
|
d: "M33.63 110.595q-.883.002-1.403.293a1.95 1.95 0 0 0-.781.783 3.1 3.1 0 0 0-.34 1.087q-.08.597-.08 1.21.001.499.091 1.086.09.589.374 1.098.283.506.792.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.296 3.394q0-1.425.294-2.547c.196-.744.51-1.38.94-1.898a4.2 4.2 0 0 1 1.64-1.2q.997-.422 2.422-.42 1.493.046 2.67.678.498.274.985.702.487.43.86 1.076.373.645.61 1.528.24.882.24 2.06 0 1.175-.216 2.06a6.2 6.2 0 0 1-.565 1.517 4.37 4.37 0 0 1-1.71 1.74q-1.086.613-2.49.634a4.6 4.6 0 0 1-1.357-.292 4.3 4.3 0 0 1-1.155-.724q-.588-.502-.973-1.45l.498.657v5.386h-2.693zM45.625 110.595q-.837 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.273.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.364 3.373q0-1.178.227-2.06.225-.883.6-1.528.372-.646.859-1.076.487-.427.984-.702c.785-.42 1.683-.649 2.694-.677.996.028 1.885.257 2.67.677q.499.274.985.702.488.43.86 1.076.374.645.611 1.528c.159.589.239 1.273.239 2.06q0 1.175-.239 2.06a6.2 6.2 0 0 1-.61 1.517q-.375.632-.86 1.051a5.7 5.7 0 0 1-.985.688q-1.178.615-2.671.635-1.516-.02-2.694-.635-.497-.27-.984-.688a4.2 4.2 0 0 1-.86-1.05 5.9 5.9 0 0 1-.6-1.518q-.225-.884-.226-2.06M52.347 111.57q0-1.18.497-1.846c.333-.444.695-.783 1.087-1.009a3.9 3.9 0 0 1 1.584-.497h3.17v2.737h-2.128q-.453 0-.736.159-.283.158-.442.342-.18.222-.249.498v7.74h-2.783zM62.78 110.913v5.045q.07.275.25.497.158.184.442.342.282.159.735.159h1.72v2.738h-2.761a3.9 3.9 0 0 1-1.584-.498q-.59-.337-1.076-1.009-.487-.665-.486-1.845v-11.2h2.76v3.076h2.604v2.695zM72.558 110.595q-.838 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.271.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.792-.85t.373-1.096.09-1.087q0-.613-.079-1.21a3.2 3.2 0 0 0-.339-1.087 1.96 1.96 0 0 0-.781-.783q-.52-.292-1.403-.293m5.296 9.099h-2.693v-1.584l.498-.657q-.385.948-.974 1.45a4.3 4.3 0 0 1-1.154.723q-.656.25-1.358.293-1.404-.02-2.49-.635a4.8 4.8 0 0 1-.917-.688 4.4 4.4 0 0 1-.791-1.05 6.2 6.2 0 0 1-.566-1.518q-.215-.885-.215-2.06 0-1.179.226-2.06.226-.883.6-1.528.374-.646.86-1.076.487-.427.984-.702c.784-.42 1.683-.649 2.694-.677.95 0 1.758.137 2.421.42a4.2 4.2 0 0 1 1.642 1.2q.645.779.939 1.897.293 1.123.294 2.547zM82.086 108.218v11.476h-2.761v-11.476zm-2.761-2.558q0-.497.01-.744c.008-.166.053-.29.137-.364q.123-.112.408-.123a22 22 0 0 1 1.651 0q.284.012.408.123c.082.074.128.198.136.364q.01.247.01.744 0 .498-.01.748-.012.248-.136.363-.125.112-.408.124-.282.01-.826.01-.543 0-.825-.01-.285-.012-.408-.124-.126-.115-.136-.363-.01-.25-.011-.748M86.409 104.415v15.279h-2.761v-15.28z",
|
|
@@ -708,7 +708,7 @@ function On(e, t) {
|
|
|
708
708
|
}, null, -1)
|
|
709
709
|
])]);
|
|
710
710
|
}
|
|
711
|
-
const
|
|
711
|
+
const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O({
|
|
712
712
|
__name: "EsupLogo",
|
|
713
713
|
props: {
|
|
714
714
|
width: {},
|
|
@@ -723,11 +723,11 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
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(o(
|
|
726
|
+
return (a, n) => (u(), g("div", wn, [
|
|
727
|
+
P(o(On), ee(o(t), { class: "logo" }), null, 16)
|
|
728
728
|
]));
|
|
729
729
|
}
|
|
730
|
-
}),
|
|
730
|
+
}), Dl = /* @__PURE__ */ W(Sn, [["__scopeId", "data-v-0e512b24"]]), Ll = /* @__PURE__ */ O({
|
|
731
731
|
__name: "AvAccordion",
|
|
732
732
|
props: {
|
|
733
733
|
title: {},
|
|
@@ -736,7 +736,7 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
736
736
|
setup(e) {
|
|
737
737
|
return (t, a) => B(t.$slots, "default");
|
|
738
738
|
}
|
|
739
|
-
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, jn = /* @__PURE__ */
|
|
739
|
+
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, jn = /* @__PURE__ */ O({
|
|
740
740
|
__name: "AvAccordionsGroup",
|
|
741
741
|
props: /* @__PURE__ */ ve({
|
|
742
742
|
activeAccordion: {}
|
|
@@ -750,36 +750,36 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
750
750
|
var i;
|
|
751
751
|
return ((i = t.default) == null ? void 0 : i.call(t)) || [];
|
|
752
752
|
}), n = ke(e, "activeAccordion"), r = `accordion-group-${crypto.randomUUID()}`;
|
|
753
|
-
return (i, A) => (u(),
|
|
753
|
+
return (i, A) => (u(), k(o(la), {
|
|
754
754
|
modelValue: n.value,
|
|
755
755
|
"onUpdate:modelValue": A[0] || (A[0] = (l) => n.value = l),
|
|
756
756
|
role: "group",
|
|
757
757
|
"aria-label": "Accordion group"
|
|
758
758
|
}, {
|
|
759
|
-
default:
|
|
760
|
-
(u(!0), g(_, null, re(o(a), (l, s) => (u(),
|
|
759
|
+
default: R(() => [
|
|
760
|
+
(u(!0), g(_, null, re(o(a), (l, s) => (u(), k(o(sa), {
|
|
761
761
|
id: `${r}-accordion-${s}`,
|
|
762
762
|
key: s,
|
|
763
763
|
"aria-labelledby": `accordion-title-${s}`,
|
|
764
764
|
"aria-describedby": `accordion-content-${s}`
|
|
765
765
|
}, {
|
|
766
|
-
title:
|
|
766
|
+
title: R(() => {
|
|
767
767
|
var c, d, f;
|
|
768
768
|
return [
|
|
769
769
|
y("div", kn, [
|
|
770
|
-
(c = l.props) != null && c.icon ? (u(),
|
|
770
|
+
(c = l.props) != null && c.icon ? (u(), k(ne, {
|
|
771
771
|
key: 0,
|
|
772
772
|
size: 2,
|
|
773
773
|
name: (d = l.props) == null ? void 0 : d.icon,
|
|
774
774
|
color: "var(--icon)"
|
|
775
|
-
}, null, 8, ["name"])) :
|
|
775
|
+
}, null, 8, ["name"])) : D("", !0),
|
|
776
776
|
y("h6", zn, Z((f = l.props) == null ? void 0 : f.title), 1)
|
|
777
777
|
])
|
|
778
778
|
];
|
|
779
779
|
}),
|
|
780
|
-
default:
|
|
780
|
+
default: R(() => [
|
|
781
781
|
y("div", xn, [
|
|
782
|
-
(u(),
|
|
782
|
+
(u(), k(ue(l.children.default)))
|
|
783
783
|
])
|
|
784
784
|
]),
|
|
785
785
|
_: 2
|
|
@@ -788,12 +788,47 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
788
788
|
_: 1
|
|
789
789
|
}, 8, ["modelValue"]));
|
|
790
790
|
}
|
|
791
|
-
}),
|
|
791
|
+
}), Ol = /* @__PURE__ */ W(jn, [["__scopeId", "data-v-efeab1a6"]]), wl = {
|
|
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
|
-
}, Bn =
|
|
796
|
+
}, Bn = { class: "av-cancel-confirm-buttons-container" }, Pn = /* @__PURE__ */ O({
|
|
797
|
+
__name: "AvCancelConfirmButtons",
|
|
798
|
+
props: {
|
|
799
|
+
cancelLabel: {},
|
|
800
|
+
cancelIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
|
|
801
|
+
confirmLabel: {},
|
|
802
|
+
confirmIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
|
|
803
|
+
isLoading: { type: Boolean }
|
|
804
|
+
},
|
|
805
|
+
emits: ["cancel", "confirm"],
|
|
806
|
+
setup(e, { emit: t }) {
|
|
807
|
+
const a = t;
|
|
808
|
+
return (n, r) => (u(), g("div", Bn, [
|
|
809
|
+
e.cancelLabel ? (u(), k(o(me), {
|
|
810
|
+
key: 0,
|
|
811
|
+
icon: e.cancelIcon,
|
|
812
|
+
label: e.cancelLabel,
|
|
813
|
+
title: e.cancelLabel,
|
|
814
|
+
variant: "OUTLINED",
|
|
815
|
+
"is-loading": e.isLoading,
|
|
816
|
+
size: "sm",
|
|
817
|
+
onClick: r[0] || (r[0] = () => a("cancel"))
|
|
818
|
+
}, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0),
|
|
819
|
+
e.confirmLabel ? (u(), k(o(me), {
|
|
820
|
+
key: 1,
|
|
821
|
+
icon: e.confirmIcon,
|
|
822
|
+
label: e.confirmLabel,
|
|
823
|
+
title: e.confirmLabel,
|
|
824
|
+
variant: "FLAT",
|
|
825
|
+
"is-loading": e.isLoading,
|
|
826
|
+
size: "sm",
|
|
827
|
+
onClick: r[1] || (r[1] = () => a("confirm"))
|
|
828
|
+
}, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0)
|
|
829
|
+
]));
|
|
830
|
+
}
|
|
831
|
+
}), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-60461bd3"]]), Vn = ["title", "aria-label"], Un = { class: "av-rich-button__line" }, Xn = { class: "av-rich-button__left" }, Hn = /* @__PURE__ */ O({
|
|
797
832
|
__name: "AvRichButton",
|
|
798
833
|
props: {
|
|
799
834
|
label: {},
|
|
@@ -814,53 +849,53 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
814
849
|
onClick: a[0] || (a[0] = //@ts-ignore
|
|
815
850
|
(...n) => e.onClick && e.onClick(...n))
|
|
816
851
|
}, [
|
|
817
|
-
y("div",
|
|
818
|
-
y("div",
|
|
819
|
-
e.iconLeft ? (u(),
|
|
852
|
+
y("div", Un, [
|
|
853
|
+
y("div", Xn, [
|
|
854
|
+
e.iconLeft ? (u(), k(ne, {
|
|
820
855
|
key: 0,
|
|
821
856
|
name: e.iconLeft,
|
|
822
857
|
color: "var(--dark-background-primary1)",
|
|
823
858
|
size: 1.5
|
|
824
|
-
}, null, 8, ["name"])) :
|
|
859
|
+
}, null, 8, ["name"])) : D("", !0),
|
|
825
860
|
B(t.$slots, "default", {}, void 0, !0)
|
|
826
861
|
]),
|
|
827
|
-
e.iconRight ? (u(),
|
|
862
|
+
e.iconRight ? (u(), k(ne, {
|
|
828
863
|
key: 0,
|
|
829
864
|
name: e.iconRight,
|
|
830
865
|
color: "var(--dark-background-primary1)",
|
|
831
866
|
size: 1.5
|
|
832
|
-
}, null, 8, ["name"])) :
|
|
867
|
+
}, null, 8, ["name"])) : D("", !0)
|
|
833
868
|
])
|
|
834
|
-
], 8,
|
|
869
|
+
], 8, Vn));
|
|
835
870
|
}
|
|
836
|
-
}),
|
|
871
|
+
}), Sl = /* @__PURE__ */ W(Hn, [["__scopeId", "data-v-f0871dc1"]]), Zn = {
|
|
837
872
|
key: 0,
|
|
838
873
|
class: "messages-group",
|
|
839
874
|
role: "alert"
|
|
840
|
-
},
|
|
875
|
+
}, qn = /* @__PURE__ */ O({
|
|
841
876
|
__name: "AvFileUploadAlert",
|
|
842
877
|
props: {
|
|
843
878
|
error: { default: void 0 },
|
|
844
879
|
validMessage: { default: void 0 }
|
|
845
880
|
},
|
|
846
881
|
setup(e) {
|
|
847
|
-
return (t, a) => e.error || e.validMessage ? (u(), g("div",
|
|
882
|
+
return (t, a) => e.error || e.validMessage ? (u(), g("div", Zn, [
|
|
848
883
|
P(ja, {
|
|
849
|
-
icon: e.error ? o(
|
|
884
|
+
icon: e.error ? o(Y).CLOSE_CIRCLE_OUTLINE : o(Y).CHECK_CIRCLE_OUTLINE,
|
|
850
885
|
"icon-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
851
886
|
text: e.error ? e.error : e.validMessage,
|
|
852
887
|
"text-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
853
888
|
"typography-class": "caption-regular"
|
|
854
889
|
}, null, 8, ["icon", "icon-color", "text", "text-color"])
|
|
855
|
-
])) :
|
|
890
|
+
])) : D("", !0);
|
|
856
891
|
}
|
|
857
|
-
}),
|
|
892
|
+
}), Yn = { class: "file-upload-content" }, Rn = { class: "left-content-container" }, Fn = { class: "content-container" }, Kn = { key: 0 }, Gn = { class: "b2-bold" }, Jn = {
|
|
858
893
|
key: 1,
|
|
859
894
|
class: "title-container"
|
|
860
|
-
},
|
|
895
|
+
}, _n = { class: "b2-regular" }, $n = { class: "caption-light" }, er = {
|
|
861
896
|
key: 0,
|
|
862
897
|
class: "right-icon-container"
|
|
863
|
-
},
|
|
898
|
+
}, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */ O({
|
|
864
899
|
inheritAttrs: !1,
|
|
865
900
|
__name: "AvFileUpload",
|
|
866
901
|
props: {
|
|
@@ -928,49 +963,49 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
928
963
|
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (m = e.onDeleteFile) == null || m.call(e);
|
|
929
964
|
}
|
|
930
965
|
return (I, m) => (u(), g(_, null, [
|
|
931
|
-
(u(),
|
|
966
|
+
(u(), k(ue(o(d) ? "div" : "label"), ee(o(d) ? {} : o(f), {
|
|
932
967
|
class: o(d) ? "file-preview-container" : ""
|
|
933
968
|
}), {
|
|
934
|
-
default:
|
|
969
|
+
default: R(() => [
|
|
935
970
|
y("div", {
|
|
936
971
|
class: F(o(d) ? "" : "file-upload-container")
|
|
937
972
|
}, [
|
|
938
|
-
y("div",
|
|
939
|
-
y("div",
|
|
973
|
+
y("div", Yn, [
|
|
974
|
+
y("div", Rn, [
|
|
940
975
|
B(I.$slots, "left", {}, () => [
|
|
941
976
|
P(ne, {
|
|
942
977
|
size: 2.5,
|
|
943
|
-
name: o(
|
|
978
|
+
name: o(Y).ATTACHMENT_PLUS,
|
|
944
979
|
color: "var(--icon)"
|
|
945
980
|
}, null, 8, ["name"])
|
|
946
981
|
], !0)
|
|
947
982
|
]),
|
|
948
|
-
y("div",
|
|
949
|
-
o(d) ? (u(), g("div",
|
|
950
|
-
y("span",
|
|
951
|
-
])) : (u(), g("div",
|
|
952
|
-
y("span",
|
|
953
|
-
y("span",
|
|
983
|
+
y("div", Fn, [
|
|
984
|
+
o(d) ? (u(), g("div", Kn, [
|
|
985
|
+
y("span", Gn, Z(e.fileName || e.modelValue.name), 1)
|
|
986
|
+
])) : (u(), g("div", Jn, [
|
|
987
|
+
y("span", _n, Z(e.title), 1),
|
|
988
|
+
y("span", $n, Z(e.description), 1)
|
|
954
989
|
])),
|
|
955
|
-
P(
|
|
990
|
+
P(qn, {
|
|
956
991
|
"valid-message": e.validMessage,
|
|
957
992
|
error: e.error
|
|
958
993
|
}, null, 8, ["valid-message", "error"])
|
|
959
994
|
]),
|
|
960
|
-
e.disabled ?
|
|
961
|
-
o(d) ? (u(),
|
|
995
|
+
e.disabled ? D("", !0) : (u(), g("div", er, [
|
|
996
|
+
o(d) ? (u(), k(me, {
|
|
962
997
|
key: 0,
|
|
963
998
|
label: e.deleteButtonLabel,
|
|
964
999
|
theme: "SECONDARY",
|
|
965
1000
|
onClick: m[0] || (m[0] = () => h(e.modelValue))
|
|
966
|
-
}, null, 8, ["label"])) : (u(),
|
|
1001
|
+
}, null, 8, ["label"])) : (u(), k(ne, {
|
|
967
1002
|
key: 1,
|
|
968
1003
|
size: 1.5,
|
|
969
|
-
name: o(
|
|
1004
|
+
name: o(Y).TRAY_UPLOAD,
|
|
970
1005
|
color: "var(--dark-background-primary1)"
|
|
971
1006
|
}, null, 8, ["name"]))
|
|
972
1007
|
])),
|
|
973
|
-
o(d) ?
|
|
1008
|
+
o(d) ? D("", !0) : (u(), g("input", ee({
|
|
974
1009
|
key: 1,
|
|
975
1010
|
id: e.id,
|
|
976
1011
|
class: "fr-upload",
|
|
@@ -981,27 +1016,27 @@ const wn = { render: On }, Ln = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ S
|
|
|
981
1016
|
"aria-disabled": e.disabled,
|
|
982
1017
|
accept: o(n),
|
|
983
1018
|
onChange: m[1] || (m[1] = (C) => c(C))
|
|
984
|
-
}), null, 16,
|
|
1019
|
+
}), null, 16, tr))
|
|
985
1020
|
])
|
|
986
1021
|
], 2)
|
|
987
1022
|
]),
|
|
988
1023
|
_: 3
|
|
989
1024
|
}, 16, ["class"])),
|
|
990
|
-
y("span",
|
|
1025
|
+
y("span", ar, [
|
|
991
1026
|
B(I.$slots, "hint", {}, void 0, !0)
|
|
992
1027
|
])
|
|
993
1028
|
], 64));
|
|
994
1029
|
}
|
|
995
|
-
}),
|
|
996
|
-
function
|
|
1030
|
+
}), kl = /* @__PURE__ */ W(nr, [["__scopeId", "data-v-2c0c549f"]]), xt = 6048e5, rr = 864e5, vt = Symbol.for("constructDateFrom");
|
|
1031
|
+
function ge(e, t) {
|
|
997
1032
|
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);
|
|
998
1033
|
}
|
|
999
1034
|
function le(e, t) {
|
|
1000
|
-
return
|
|
1035
|
+
return ge(t || e, e);
|
|
1001
1036
|
}
|
|
1002
|
-
let
|
|
1037
|
+
let Ar = {};
|
|
1003
1038
|
function Fe() {
|
|
1004
|
-
return
|
|
1039
|
+
return Ar;
|
|
1005
1040
|
}
|
|
1006
1041
|
function ze(e, t) {
|
|
1007
1042
|
var l, s, c, d;
|
|
@@ -1012,9 +1047,9 @@ function Ue(e, t) {
|
|
|
1012
1047
|
return ze(e, { ...t, weekStartsOn: 1 });
|
|
1013
1048
|
}
|
|
1014
1049
|
function jt(e, t) {
|
|
1015
|
-
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r =
|
|
1050
|
+
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = ge(a, 0);
|
|
1016
1051
|
r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
1017
|
-
const i = Ue(r), A =
|
|
1052
|
+
const i = Ue(r), A = ge(a, 0);
|
|
1018
1053
|
A.setFullYear(n, 0, 4), A.setHours(0, 0, 0, 0);
|
|
1019
1054
|
const l = Ue(A);
|
|
1020
1055
|
return a.getTime() >= i.getTime() ? n + 1 : a.getTime() >= l.getTime() ? n : n - 1;
|
|
@@ -1033,8 +1068,8 @@ function mt(e) {
|
|
|
1033
1068
|
);
|
|
1034
1069
|
return a.setUTCFullYear(t.getFullYear()), +e - +a;
|
|
1035
1070
|
}
|
|
1036
|
-
function
|
|
1037
|
-
const a =
|
|
1071
|
+
function ir(e, ...t) {
|
|
1072
|
+
const a = ge.bind(
|
|
1038
1073
|
null,
|
|
1039
1074
|
t.find((n) => typeof n == "object")
|
|
1040
1075
|
);
|
|
@@ -1044,29 +1079,29 @@ function gt(e, t) {
|
|
|
1044
1079
|
const a = le(e, t == null ? void 0 : t.in);
|
|
1045
1080
|
return a.setHours(0, 0, 0, 0), a;
|
|
1046
1081
|
}
|
|
1047
|
-
function
|
|
1048
|
-
const [n, r] =
|
|
1082
|
+
function or(e, t, a) {
|
|
1083
|
+
const [n, r] = ir(
|
|
1049
1084
|
a == null ? void 0 : a.in,
|
|
1050
1085
|
e,
|
|
1051
1086
|
t
|
|
1052
1087
|
), i = gt(n), A = gt(r), l = +i - mt(i), s = +A - mt(A);
|
|
1053
|
-
return Math.round((l - s) /
|
|
1088
|
+
return Math.round((l - s) / rr);
|
|
1054
1089
|
}
|
|
1055
|
-
function
|
|
1056
|
-
const a = jt(e, t), n =
|
|
1090
|
+
function lr(e, t) {
|
|
1091
|
+
const a = jt(e, t), n = ge(e, 0);
|
|
1057
1092
|
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), Ue(n);
|
|
1058
1093
|
}
|
|
1059
|
-
function
|
|
1094
|
+
function sr(e) {
|
|
1060
1095
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
1061
1096
|
}
|
|
1062
1097
|
function Bt(e) {
|
|
1063
|
-
return !(!
|
|
1098
|
+
return !(!sr(e) && typeof e != "number" || isNaN(+le(e)));
|
|
1064
1099
|
}
|
|
1065
|
-
function
|
|
1100
|
+
function cr(e, t) {
|
|
1066
1101
|
const a = le(e, t == null ? void 0 : t.in);
|
|
1067
1102
|
return a.setFullYear(a.getFullYear(), 0, 1), a.setHours(0, 0, 0, 0), a;
|
|
1068
1103
|
}
|
|
1069
|
-
const
|
|
1104
|
+
const ur = {
|
|
1070
1105
|
lessThanXSeconds: {
|
|
1071
1106
|
one: "less than a second",
|
|
1072
1107
|
other: "less than {{count}} seconds"
|
|
@@ -1128,9 +1163,9 @@ const lr = {
|
|
|
1128
1163
|
one: "almost 1 year",
|
|
1129
1164
|
other: "almost {{count}} years"
|
|
1130
1165
|
}
|
|
1131
|
-
},
|
|
1166
|
+
}, dr = (e, t, a) => {
|
|
1132
1167
|
let n;
|
|
1133
|
-
const r =
|
|
1168
|
+
const r = ur[e];
|
|
1134
1169
|
return typeof r == "string" ? n = r : t === 1 ? n = r.one : n = r.other.replace("{{count}}", t.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + n : n + " ago" : n;
|
|
1135
1170
|
};
|
|
1136
1171
|
function _e(e) {
|
|
@@ -1139,42 +1174,42 @@ function _e(e) {
|
|
|
1139
1174
|
return e.formats[a] || e.formats[e.defaultWidth];
|
|
1140
1175
|
};
|
|
1141
1176
|
}
|
|
1142
|
-
const
|
|
1177
|
+
const fr = {
|
|
1143
1178
|
full: "EEEE, MMMM do, y",
|
|
1144
1179
|
long: "MMMM do, y",
|
|
1145
1180
|
medium: "MMM d, y",
|
|
1146
1181
|
short: "MM/dd/yyyy"
|
|
1147
|
-
},
|
|
1182
|
+
}, vr = {
|
|
1148
1183
|
full: "h:mm:ss a zzzz",
|
|
1149
1184
|
long: "h:mm:ss a z",
|
|
1150
1185
|
medium: "h:mm:ss a",
|
|
1151
1186
|
short: "h:mm a"
|
|
1152
|
-
},
|
|
1187
|
+
}, mr = {
|
|
1153
1188
|
full: "{{date}} 'at' {{time}}",
|
|
1154
1189
|
long: "{{date}} 'at' {{time}}",
|
|
1155
1190
|
medium: "{{date}}, {{time}}",
|
|
1156
1191
|
short: "{{date}}, {{time}}"
|
|
1157
|
-
},
|
|
1192
|
+
}, gr = {
|
|
1158
1193
|
date: _e({
|
|
1159
|
-
formats:
|
|
1194
|
+
formats: fr,
|
|
1160
1195
|
defaultWidth: "full"
|
|
1161
1196
|
}),
|
|
1162
1197
|
time: _e({
|
|
1163
|
-
formats:
|
|
1198
|
+
formats: vr,
|
|
1164
1199
|
defaultWidth: "full"
|
|
1165
1200
|
}),
|
|
1166
1201
|
dateTime: _e({
|
|
1167
|
-
formats:
|
|
1202
|
+
formats: mr,
|
|
1168
1203
|
defaultWidth: "full"
|
|
1169
1204
|
})
|
|
1170
|
-
},
|
|
1205
|
+
}, Ir = {
|
|
1171
1206
|
lastWeek: "'last' eeee 'at' p",
|
|
1172
1207
|
yesterday: "'yesterday at' p",
|
|
1173
1208
|
today: "'today at' p",
|
|
1174
1209
|
tomorrow: "'tomorrow at' p",
|
|
1175
1210
|
nextWeek: "eeee 'at' p",
|
|
1176
1211
|
other: "P"
|
|
1177
|
-
},
|
|
1212
|
+
}, hr = (e, t, a, n) => Ir[e];
|
|
1178
1213
|
function Qe(e) {
|
|
1179
1214
|
return (t, a) => {
|
|
1180
1215
|
const n = a != null && a.context ? String(a.context) : "standalone";
|
|
@@ -1190,15 +1225,15 @@ function Qe(e) {
|
|
|
1190
1225
|
return r[i];
|
|
1191
1226
|
};
|
|
1192
1227
|
}
|
|
1193
|
-
const
|
|
1228
|
+
const br = {
|
|
1194
1229
|
narrow: ["B", "A"],
|
|
1195
1230
|
abbreviated: ["BC", "AD"],
|
|
1196
1231
|
wide: ["Before Christ", "Anno Domini"]
|
|
1197
|
-
},
|
|
1232
|
+
}, Cr = {
|
|
1198
1233
|
narrow: ["1", "2", "3", "4"],
|
|
1199
1234
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
1200
1235
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
1201
|
-
},
|
|
1236
|
+
}, yr = {
|
|
1202
1237
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
1203
1238
|
abbreviated: [
|
|
1204
1239
|
"Jan",
|
|
@@ -1228,7 +1263,7 @@ const gr = {
|
|
|
1228
1263
|
"November",
|
|
1229
1264
|
"December"
|
|
1230
1265
|
]
|
|
1231
|
-
},
|
|
1266
|
+
}, Er = {
|
|
1232
1267
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
1233
1268
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
1234
1269
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -1241,7 +1276,7 @@ const gr = {
|
|
|
1241
1276
|
"Friday",
|
|
1242
1277
|
"Saturday"
|
|
1243
1278
|
]
|
|
1244
|
-
},
|
|
1279
|
+
}, Mr = {
|
|
1245
1280
|
narrow: {
|
|
1246
1281
|
am: "a",
|
|
1247
1282
|
pm: "p",
|
|
@@ -1272,7 +1307,7 @@ const gr = {
|
|
|
1272
1307
|
evening: "evening",
|
|
1273
1308
|
night: "night"
|
|
1274
1309
|
}
|
|
1275
|
-
},
|
|
1310
|
+
}, pr = {
|
|
1276
1311
|
narrow: {
|
|
1277
1312
|
am: "a",
|
|
1278
1313
|
pm: "p",
|
|
@@ -1303,7 +1338,7 @@ const gr = {
|
|
|
1303
1338
|
evening: "in the evening",
|
|
1304
1339
|
night: "at night"
|
|
1305
1340
|
}
|
|
1306
|
-
},
|
|
1341
|
+
}, Nr = (e, t) => {
|
|
1307
1342
|
const a = Number(e), n = a % 100;
|
|
1308
1343
|
if (n > 20 || n < 10)
|
|
1309
1344
|
switch (n % 10) {
|
|
@@ -1315,29 +1350,29 @@ const gr = {
|
|
|
1315
1350
|
return a + "rd";
|
|
1316
1351
|
}
|
|
1317
1352
|
return a + "th";
|
|
1318
|
-
},
|
|
1319
|
-
ordinalNumber:
|
|
1353
|
+
}, Tr = {
|
|
1354
|
+
ordinalNumber: Nr,
|
|
1320
1355
|
era: Qe({
|
|
1321
|
-
values:
|
|
1356
|
+
values: br,
|
|
1322
1357
|
defaultWidth: "wide"
|
|
1323
1358
|
}),
|
|
1324
1359
|
quarter: Qe({
|
|
1325
|
-
values:
|
|
1360
|
+
values: Cr,
|
|
1326
1361
|
defaultWidth: "wide",
|
|
1327
1362
|
argumentCallback: (e) => e - 1
|
|
1328
1363
|
}),
|
|
1329
1364
|
month: Qe({
|
|
1330
|
-
values:
|
|
1365
|
+
values: yr,
|
|
1331
1366
|
defaultWidth: "wide"
|
|
1332
1367
|
}),
|
|
1333
1368
|
day: Qe({
|
|
1334
|
-
values:
|
|
1369
|
+
values: Er,
|
|
1335
1370
|
defaultWidth: "wide"
|
|
1336
1371
|
}),
|
|
1337
1372
|
dayPeriod: Qe({
|
|
1338
|
-
values:
|
|
1373
|
+
values: Mr,
|
|
1339
1374
|
defaultWidth: "wide",
|
|
1340
|
-
formattingValues:
|
|
1375
|
+
formattingValues: pr,
|
|
1341
1376
|
defaultFormattingWidth: "wide"
|
|
1342
1377
|
})
|
|
1343
1378
|
};
|
|
@@ -1346,9 +1381,9 @@ function De(e) {
|
|
|
1346
1381
|
const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(r);
|
|
1347
1382
|
if (!i)
|
|
1348
1383
|
return null;
|
|
1349
|
-
const A = i[0], l = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(l) ?
|
|
1384
|
+
const A = i[0], l = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], s = Array.isArray(l) ? Dr(l, (f) => f.test(A)) : (
|
|
1350
1385
|
// [TODO] -- I challenge you to fix the type
|
|
1351
|
-
|
|
1386
|
+
Qr(l, (f) => f.test(A))
|
|
1352
1387
|
);
|
|
1353
1388
|
let c;
|
|
1354
1389
|
c = e.valueCallback ? e.valueCallback(s) : s, c = a.valueCallback ? (
|
|
@@ -1359,17 +1394,17 @@ function De(e) {
|
|
|
1359
1394
|
return { value: c, rest: d };
|
|
1360
1395
|
};
|
|
1361
1396
|
}
|
|
1362
|
-
function
|
|
1397
|
+
function Qr(e, t) {
|
|
1363
1398
|
for (const a in e)
|
|
1364
1399
|
if (Object.prototype.hasOwnProperty.call(e, a) && t(e[a]))
|
|
1365
1400
|
return a;
|
|
1366
1401
|
}
|
|
1367
|
-
function
|
|
1402
|
+
function Dr(e, t) {
|
|
1368
1403
|
for (let a = 0; a < e.length; a++)
|
|
1369
1404
|
if (t(e[a]))
|
|
1370
1405
|
return a;
|
|
1371
1406
|
}
|
|
1372
|
-
function
|
|
1407
|
+
function Lr(e) {
|
|
1373
1408
|
return (t, a = {}) => {
|
|
1374
1409
|
const n = t.match(e.matchPattern);
|
|
1375
1410
|
if (!n) return null;
|
|
@@ -1381,23 +1416,23 @@ function Tr(e) {
|
|
|
1381
1416
|
return { value: A, rest: l };
|
|
1382
1417
|
};
|
|
1383
1418
|
}
|
|
1384
|
-
const
|
|
1419
|
+
const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
|
|
1385
1420
|
narrow: /^(b|a)/i,
|
|
1386
1421
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1387
1422
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1388
|
-
},
|
|
1423
|
+
}, kr = {
|
|
1389
1424
|
any: [/^b/i, /^(a|c)/i]
|
|
1390
|
-
},
|
|
1425
|
+
}, zr = {
|
|
1391
1426
|
narrow: /^[1234]/i,
|
|
1392
1427
|
abbreviated: /^q[1234]/i,
|
|
1393
1428
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
1394
|
-
},
|
|
1429
|
+
}, xr = {
|
|
1395
1430
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1396
|
-
},
|
|
1431
|
+
}, jr = {
|
|
1397
1432
|
narrow: /^[jfmasond]/i,
|
|
1398
1433
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
1399
1434
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
1400
|
-
},
|
|
1435
|
+
}, Br = {
|
|
1401
1436
|
narrow: [
|
|
1402
1437
|
/^j/i,
|
|
1403
1438
|
/^f/i,
|
|
@@ -1426,18 +1461,18 @@ const Qr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
|
|
|
1426
1461
|
/^n/i,
|
|
1427
1462
|
/^d/i
|
|
1428
1463
|
]
|
|
1429
|
-
},
|
|
1464
|
+
}, Pr = {
|
|
1430
1465
|
narrow: /^[smtwf]/i,
|
|
1431
1466
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
1432
1467
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
1433
1468
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
1434
|
-
},
|
|
1469
|
+
}, Wr = {
|
|
1435
1470
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
1436
1471
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
1437
|
-
},
|
|
1472
|
+
}, Vr = {
|
|
1438
1473
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
1439
1474
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
1440
|
-
},
|
|
1475
|
+
}, Ur = {
|
|
1441
1476
|
any: {
|
|
1442
1477
|
am: /^a/i,
|
|
1443
1478
|
pm: /^p/i,
|
|
@@ -1448,79 +1483,79 @@ const Qr = /^(\d+)(th|st|nd|rd)?/i, Dr = /\d+/i, Or = {
|
|
|
1448
1483
|
evening: /evening/i,
|
|
1449
1484
|
night: /night/i
|
|
1450
1485
|
}
|
|
1451
|
-
},
|
|
1452
|
-
ordinalNumber:
|
|
1453
|
-
matchPattern:
|
|
1454
|
-
parsePattern:
|
|
1486
|
+
}, Xr = {
|
|
1487
|
+
ordinalNumber: Lr({
|
|
1488
|
+
matchPattern: Or,
|
|
1489
|
+
parsePattern: wr,
|
|
1455
1490
|
valueCallback: (e) => parseInt(e, 10)
|
|
1456
1491
|
}),
|
|
1457
1492
|
era: De({
|
|
1458
|
-
matchPatterns:
|
|
1493
|
+
matchPatterns: Sr,
|
|
1459
1494
|
defaultMatchWidth: "wide",
|
|
1460
|
-
parsePatterns:
|
|
1495
|
+
parsePatterns: kr,
|
|
1461
1496
|
defaultParseWidth: "any"
|
|
1462
1497
|
}),
|
|
1463
1498
|
quarter: De({
|
|
1464
|
-
matchPatterns:
|
|
1499
|
+
matchPatterns: zr,
|
|
1465
1500
|
defaultMatchWidth: "wide",
|
|
1466
|
-
parsePatterns:
|
|
1501
|
+
parsePatterns: xr,
|
|
1467
1502
|
defaultParseWidth: "any",
|
|
1468
1503
|
valueCallback: (e) => e + 1
|
|
1469
1504
|
}),
|
|
1470
1505
|
month: De({
|
|
1471
|
-
matchPatterns:
|
|
1506
|
+
matchPatterns: jr,
|
|
1472
1507
|
defaultMatchWidth: "wide",
|
|
1473
|
-
parsePatterns:
|
|
1508
|
+
parsePatterns: Br,
|
|
1474
1509
|
defaultParseWidth: "any"
|
|
1475
1510
|
}),
|
|
1476
1511
|
day: De({
|
|
1477
|
-
matchPatterns:
|
|
1512
|
+
matchPatterns: Pr,
|
|
1478
1513
|
defaultMatchWidth: "wide",
|
|
1479
|
-
parsePatterns:
|
|
1514
|
+
parsePatterns: Wr,
|
|
1480
1515
|
defaultParseWidth: "any"
|
|
1481
1516
|
}),
|
|
1482
1517
|
dayPeriod: De({
|
|
1483
|
-
matchPatterns:
|
|
1518
|
+
matchPatterns: Vr,
|
|
1484
1519
|
defaultMatchWidth: "any",
|
|
1485
|
-
parsePatterns:
|
|
1520
|
+
parsePatterns: Ur,
|
|
1486
1521
|
defaultParseWidth: "any"
|
|
1487
1522
|
})
|
|
1488
|
-
},
|
|
1523
|
+
}, Hr = {
|
|
1489
1524
|
code: "en-US",
|
|
1490
|
-
formatDistance:
|
|
1491
|
-
formatLong:
|
|
1492
|
-
formatRelative:
|
|
1493
|
-
localize:
|
|
1494
|
-
match:
|
|
1525
|
+
formatDistance: dr,
|
|
1526
|
+
formatLong: gr,
|
|
1527
|
+
formatRelative: hr,
|
|
1528
|
+
localize: Tr,
|
|
1529
|
+
match: Xr,
|
|
1495
1530
|
options: {
|
|
1496
1531
|
weekStartsOn: 0,
|
|
1497
1532
|
firstWeekContainsDate: 1
|
|
1498
1533
|
}
|
|
1499
1534
|
};
|
|
1500
|
-
function
|
|
1535
|
+
function Zr(e, t) {
|
|
1501
1536
|
const a = le(e, t == null ? void 0 : t.in);
|
|
1502
|
-
return
|
|
1537
|
+
return or(a, cr(a)) + 1;
|
|
1503
1538
|
}
|
|
1504
|
-
function
|
|
1505
|
-
const a = le(e, t == null ? void 0 : t.in), n = +Ue(a) - +
|
|
1539
|
+
function qr(e, t) {
|
|
1540
|
+
const a = le(e, t == null ? void 0 : t.in), n = +Ue(a) - +lr(a);
|
|
1506
1541
|
return Math.round(n / xt) + 1;
|
|
1507
1542
|
}
|
|
1508
1543
|
function Pt(e, t) {
|
|
1509
1544
|
var d, f, h, I;
|
|
1510
|
-
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (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 = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A =
|
|
1545
|
+
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), i = (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 = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, A = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1511
1546
|
A.setFullYear(n + 1, 0, i), A.setHours(0, 0, 0, 0);
|
|
1512
|
-
const l = ze(A, t), s =
|
|
1547
|
+
const l = ze(A, t), s = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1513
1548
|
s.setFullYear(n, 0, i), s.setHours(0, 0, 0, 0);
|
|
1514
1549
|
const c = ze(s, t);
|
|
1515
1550
|
return +a >= +l ? n + 1 : +a >= +c ? n : n - 1;
|
|
1516
1551
|
}
|
|
1517
|
-
function
|
|
1552
|
+
function Yr(e, t) {
|
|
1518
1553
|
var l, s, c, d;
|
|
1519
|
-
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), i =
|
|
1554
|
+
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (l = t == null ? void 0 : t.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), i = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1520
1555
|
return i.setFullYear(r, 0, n), i.setHours(0, 0, 0, 0), ze(i, t);
|
|
1521
1556
|
}
|
|
1522
|
-
function
|
|
1523
|
-
const a = le(e, t == null ? void 0 : t.in), n = +ze(a, t) - +
|
|
1557
|
+
function Rr(e, t) {
|
|
1558
|
+
const a = le(e, t == null ? void 0 : t.in), n = +ze(a, t) - +Yr(a, t);
|
|
1524
1559
|
return Math.round(n / xt) + 1;
|
|
1525
1560
|
}
|
|
1526
1561
|
function H(e, t) {
|
|
@@ -1771,12 +1806,12 @@ const fe = {
|
|
|
1771
1806
|
},
|
|
1772
1807
|
// Local week of year
|
|
1773
1808
|
w: function(e, t, a, n) {
|
|
1774
|
-
const r =
|
|
1809
|
+
const r = Rr(e, n);
|
|
1775
1810
|
return t === "wo" ? a.ordinalNumber(r, { unit: "week" }) : H(r, t.length);
|
|
1776
1811
|
},
|
|
1777
1812
|
// ISO week of year
|
|
1778
1813
|
I: function(e, t, a) {
|
|
1779
|
-
const n =
|
|
1814
|
+
const n = qr(e);
|
|
1780
1815
|
return t === "Io" ? a.ordinalNumber(n, { unit: "week" }) : H(n, t.length);
|
|
1781
1816
|
},
|
|
1782
1817
|
// Day of the month
|
|
@@ -1785,7 +1820,7 @@ const fe = {
|
|
|
1785
1820
|
},
|
|
1786
1821
|
// Day of year
|
|
1787
1822
|
D: function(e, t, a) {
|
|
1788
|
-
const n =
|
|
1823
|
+
const n = Zr(e);
|
|
1789
1824
|
return t === "Do" ? a.ordinalNumber(n, { unit: "dayOfYear" }) : H(n, t.length);
|
|
1790
1825
|
},
|
|
1791
1826
|
// Day of week
|
|
@@ -2069,7 +2104,7 @@ const fe = {
|
|
|
2069
2104
|
// so this token always has the same output as `XX`
|
|
2070
2105
|
case "XXXX":
|
|
2071
2106
|
case "XX":
|
|
2072
|
-
return
|
|
2107
|
+
return he(n);
|
|
2073
2108
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
2074
2109
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2075
2110
|
// so this token always has the same output as `XXX`
|
|
@@ -2077,7 +2112,7 @@ const fe = {
|
|
|
2077
2112
|
case "XXX":
|
|
2078
2113
|
// Hours and minutes with `:` delimiter
|
|
2079
2114
|
default:
|
|
2080
|
-
return
|
|
2115
|
+
return he(n, ":");
|
|
2081
2116
|
}
|
|
2082
2117
|
},
|
|
2083
2118
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2092,7 +2127,7 @@ const fe = {
|
|
|
2092
2127
|
// so this token always has the same output as `xx`
|
|
2093
2128
|
case "xxxx":
|
|
2094
2129
|
case "xx":
|
|
2095
|
-
return
|
|
2130
|
+
return he(n);
|
|
2096
2131
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
2097
2132
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2098
2133
|
// so this token always has the same output as `xxx`
|
|
@@ -2100,7 +2135,7 @@ const fe = {
|
|
|
2100
2135
|
case "xxx":
|
|
2101
2136
|
// Hours and minutes with `:` delimiter
|
|
2102
2137
|
default:
|
|
2103
|
-
return
|
|
2138
|
+
return he(n, ":");
|
|
2104
2139
|
}
|
|
2105
2140
|
},
|
|
2106
2141
|
// Timezone (GMT)
|
|
@@ -2115,7 +2150,7 @@ const fe = {
|
|
|
2115
2150
|
// Long
|
|
2116
2151
|
case "OOOO":
|
|
2117
2152
|
default:
|
|
2118
|
-
return "GMT" +
|
|
2153
|
+
return "GMT" + he(n, ":");
|
|
2119
2154
|
}
|
|
2120
2155
|
},
|
|
2121
2156
|
// Timezone (specific non-location)
|
|
@@ -2130,7 +2165,7 @@ const fe = {
|
|
|
2130
2165
|
// Long
|
|
2131
2166
|
case "zzzz":
|
|
2132
2167
|
default:
|
|
2133
|
-
return "GMT" +
|
|
2168
|
+
return "GMT" + he(n, ":");
|
|
2134
2169
|
}
|
|
2135
2170
|
},
|
|
2136
2171
|
// Seconds timestamp
|
|
@@ -2148,9 +2183,9 @@ function ht(e, t = "") {
|
|
|
2148
2183
|
return i === 0 ? a + String(r) : a + String(r) + t + H(i, 2);
|
|
2149
2184
|
}
|
|
2150
2185
|
function bt(e, t) {
|
|
2151
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) :
|
|
2186
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) : he(e, t);
|
|
2152
2187
|
}
|
|
2153
|
-
function
|
|
2188
|
+
function he(e, t = "") {
|
|
2154
2189
|
const a = e > 0 ? "-" : "+", n = Math.abs(e), r = H(Math.trunc(n / 60), 2), i = H(n % 60, 2);
|
|
2155
2190
|
return a + r + t + i;
|
|
2156
2191
|
}
|
|
@@ -2178,7 +2213,7 @@ const Ct = (e, t) => {
|
|
|
2178
2213
|
default:
|
|
2179
2214
|
return t.time({ width: "full" });
|
|
2180
2215
|
}
|
|
2181
|
-
},
|
|
2216
|
+
}, Fr = (e, t) => {
|
|
2182
2217
|
const a = e.match(/(P+)(p+)?/) || [], n = a[1], r = a[2];
|
|
2183
2218
|
if (!r)
|
|
2184
2219
|
return Ct(e, t);
|
|
@@ -2199,46 +2234,46 @@ const Ct = (e, t) => {
|
|
|
2199
2234
|
break;
|
|
2200
2235
|
}
|
|
2201
2236
|
return i.replace("{{date}}", Ct(n, t)).replace("{{time}}", Wt(r, t));
|
|
2202
|
-
},
|
|
2237
|
+
}, Kr = {
|
|
2203
2238
|
p: Wt,
|
|
2204
|
-
P:
|
|
2205
|
-
},
|
|
2206
|
-
function
|
|
2207
|
-
return
|
|
2239
|
+
P: Fr
|
|
2240
|
+
}, Gr = /^D+$/, Jr = /^Y+$/, _r = ["D", "DD", "YY", "YYYY"];
|
|
2241
|
+
function $r(e) {
|
|
2242
|
+
return Gr.test(e);
|
|
2208
2243
|
}
|
|
2209
|
-
function
|
|
2210
|
-
return
|
|
2244
|
+
function eA(e) {
|
|
2245
|
+
return Jr.test(e);
|
|
2211
2246
|
}
|
|
2212
|
-
function
|
|
2213
|
-
const n =
|
|
2214
|
-
if (console.warn(n),
|
|
2247
|
+
function tA(e, t, a) {
|
|
2248
|
+
const n = aA(e, t, a);
|
|
2249
|
+
if (console.warn(n), _r.includes(e)) throw new RangeError(n);
|
|
2215
2250
|
}
|
|
2216
|
-
function
|
|
2251
|
+
function aA(e, t, a) {
|
|
2217
2252
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
2218
2253
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
2219
2254
|
}
|
|
2220
|
-
const
|
|
2221
|
-
function
|
|
2255
|
+
const nA = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, rA = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, AA = /^'([^]*?)'?$/, iA = /''/g, oA = /[a-zA-Z]/;
|
|
2256
|
+
function lA(e, t, a) {
|
|
2222
2257
|
var d, f, h, I;
|
|
2223
|
-
const n = Fe(), r = n.locale ??
|
|
2258
|
+
const n = Fe(), r = n.locale ?? Hr, i = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, A = n.weekStartsOn ?? ((I = (h = n.locale) == null ? void 0 : h.options) == null ? void 0 : I.weekStartsOn) ?? 0, l = le(e, a == null ? void 0 : a.in);
|
|
2224
2259
|
if (!Bt(l))
|
|
2225
2260
|
throw new RangeError("Invalid time value");
|
|
2226
|
-
let s = t.match(
|
|
2261
|
+
let s = t.match(rA).map((m) => {
|
|
2227
2262
|
const C = m[0];
|
|
2228
2263
|
if (C === "p" || C === "P") {
|
|
2229
|
-
const M =
|
|
2264
|
+
const M = Kr[C];
|
|
2230
2265
|
return M(m, r.formatLong);
|
|
2231
2266
|
}
|
|
2232
2267
|
return m;
|
|
2233
|
-
}).join("").match(
|
|
2268
|
+
}).join("").match(nA).map((m) => {
|
|
2234
2269
|
if (m === "''")
|
|
2235
2270
|
return { isToken: !1, value: "'" };
|
|
2236
2271
|
const C = m[0];
|
|
2237
2272
|
if (C === "'")
|
|
2238
|
-
return { isToken: !1, value:
|
|
2273
|
+
return { isToken: !1, value: sA(m) };
|
|
2239
2274
|
if (It[C])
|
|
2240
2275
|
return { isToken: !0, value: m };
|
|
2241
|
-
if (C.match(
|
|
2276
|
+
if (C.match(oA))
|
|
2242
2277
|
throw new RangeError(
|
|
2243
2278
|
"Format string contains an unescaped latin alphabet character `" + C + "`"
|
|
2244
2279
|
);
|
|
@@ -2253,29 +2288,29 @@ function AA(e, t, a) {
|
|
|
2253
2288
|
return s.map((m) => {
|
|
2254
2289
|
if (!m.isToken) return m.value;
|
|
2255
2290
|
const C = m.value;
|
|
2256
|
-
(
|
|
2291
|
+
(eA(C) || $r(C)) && tA(C, t, String(e));
|
|
2257
2292
|
const M = It[C[0]];
|
|
2258
2293
|
return M(l, C, r.localize, c);
|
|
2259
2294
|
}).join("");
|
|
2260
2295
|
}
|
|
2261
|
-
function
|
|
2262
|
-
const t = e.match(
|
|
2263
|
-
return t ? t[1].replace(
|
|
2296
|
+
function sA(e) {
|
|
2297
|
+
const t = e.match(AA);
|
|
2298
|
+
return t ? t[1].replace(iA, "'") : e;
|
|
2264
2299
|
}
|
|
2265
|
-
const
|
|
2300
|
+
const cA = { class: "av-input__wrapper" }, uA = {
|
|
2266
2301
|
key: 0,
|
|
2267
2302
|
class: "av-input__prefix"
|
|
2268
|
-
},
|
|
2303
|
+
}, dA = {
|
|
2269
2304
|
key: 0,
|
|
2270
2305
|
class: "caption-light"
|
|
2271
|
-
},
|
|
2306
|
+
}, fA = {
|
|
2272
2307
|
key: 0,
|
|
2273
2308
|
class: "av-input__error",
|
|
2274
2309
|
role: "alert"
|
|
2275
|
-
},
|
|
2310
|
+
}, vA = {
|
|
2276
2311
|
key: 1,
|
|
2277
2312
|
class: "av-input__valid"
|
|
2278
|
-
},
|
|
2313
|
+
}, mA = /* @__PURE__ */ O({
|
|
2279
2314
|
__name: "AvInput",
|
|
2280
2315
|
props: {
|
|
2281
2316
|
id: {},
|
|
@@ -2308,18 +2343,18 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2308
2343
|
const a = e, n = t, r = ie(), i = p(() => a.errorMessage ? Array.isArray(a.errorMessage) ? a.errorMessage : [a.errorMessage] : []), A = p(() => a.validMessage ? Array.isArray(a.validMessage) ? a.validMessage : [a.validMessage] : []), l = p(() => a.id || `av-input-${crypto.randomUUID()}`), s = p(() => !!a.errorMessage), c = p(() => f(a.minDate)), d = p(() => f(a.maxDate));
|
|
2309
2344
|
function f(h) {
|
|
2310
2345
|
if (!(a.type !== "date" && a.type !== "datetime-local" || h === void 0 || !Bt(h)))
|
|
2311
|
-
return
|
|
2346
|
+
return lA(h, "yyyy-MM-dd");
|
|
2312
2347
|
}
|
|
2313
2348
|
return (h, I) => (u(), g("div", {
|
|
2314
2349
|
class: F(["av-input", { "av-input--date": e.type === "date" }])
|
|
2315
2350
|
}, [
|
|
2316
|
-
y("div",
|
|
2317
|
-
e.prefixIcon ? (u(), g("div",
|
|
2351
|
+
y("div", cA, [
|
|
2352
|
+
e.prefixIcon ? (u(), g("div", uA, [
|
|
2318
2353
|
P(ne, {
|
|
2319
2354
|
name: e.prefixIcon,
|
|
2320
2355
|
size: 1.2
|
|
2321
2356
|
}, null, 8, ["name"])
|
|
2322
|
-
])) :
|
|
2357
|
+
])) : D("", !0),
|
|
2323
2358
|
P(o(ua), ee({
|
|
2324
2359
|
id: o(l),
|
|
2325
2360
|
"model-value": e.modelValue,
|
|
@@ -2342,11 +2377,11 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2342
2377
|
max: o(d),
|
|
2343
2378
|
min: o(c),
|
|
2344
2379
|
"onUpdate:modelValue": I[0] || (I[0] = (m) => n("update:modelValue", m))
|
|
2345
|
-
}),
|
|
2380
|
+
}), we({ _: 2 }, [
|
|
2346
2381
|
r.requiredTip ? {
|
|
2347
2382
|
name: "required-tip",
|
|
2348
|
-
fn:
|
|
2349
|
-
(u(),
|
|
2383
|
+
fn: R(() => [
|
|
2384
|
+
(u(), k(ue(r.requiredTip)))
|
|
2350
2385
|
]),
|
|
2351
2386
|
key: "0"
|
|
2352
2387
|
} : void 0
|
|
@@ -2357,29 +2392,29 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2357
2392
|
}, () => {
|
|
2358
2393
|
var m;
|
|
2359
2394
|
return [
|
|
2360
|
-
e.maxlength ? (u(), g("span",
|
|
2395
|
+
e.maxlength ? (u(), g("span", dA, Z((m = e.modelValue) == null ? void 0 : m.toString().length) + " / " + Z(e.maxlength), 1)) : D("", !0)
|
|
2361
2396
|
];
|
|
2362
2397
|
}, !0)
|
|
2363
2398
|
]),
|
|
2364
|
-
o(i).length > 0 ? (u(), g("div",
|
|
2399
|
+
o(i).length > 0 ? (u(), g("div", fA, [
|
|
2365
2400
|
(u(!0), g(_, null, re(o(i), (m, C) => (u(), g("div", {
|
|
2366
2401
|
key: C,
|
|
2367
2402
|
class: "av-input__error-message"
|
|
2368
2403
|
}, Z(m), 1))), 128))
|
|
2369
|
-
])) :
|
|
2370
|
-
o(A).length > 0 ? (u(), g("div",
|
|
2404
|
+
])) : D("", !0),
|
|
2405
|
+
o(A).length > 0 ? (u(), g("div", vA, [
|
|
2371
2406
|
(u(!0), g(_, null, re(o(A), (m, C) => (u(), g("div", {
|
|
2372
2407
|
key: C,
|
|
2373
2408
|
class: "av-input__valid-message"
|
|
2374
2409
|
}, Z(m), 1))), 128))
|
|
2375
|
-
])) :
|
|
2410
|
+
])) : D("", !0)
|
|
2376
2411
|
], 2));
|
|
2377
2412
|
}
|
|
2378
|
-
}),
|
|
2413
|
+
}), gA = /* @__PURE__ */ W(mA, [["__scopeId", "data-v-055da9a3"]]), zl = {
|
|
2379
2414
|
name: "AvList",
|
|
2380
2415
|
props: ["size"],
|
|
2381
2416
|
template: '<div class="av-list"><slot /></div>'
|
|
2382
|
-
},
|
|
2417
|
+
}, IA = ["role", "aria-label", "aria-labelledby", "aria-describedby"], hA = /* @__PURE__ */ O({
|
|
2383
2418
|
__name: "AvList",
|
|
2384
2419
|
props: {
|
|
2385
2420
|
backgroundColor: { default: "transparent" },
|
|
@@ -2410,23 +2445,23 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2410
2445
|
"aria-describedby": e.ariaDescribedby
|
|
2411
2446
|
}, [
|
|
2412
2447
|
B(r.$slots, "default", {}, void 0, !0)
|
|
2413
|
-
], 10,
|
|
2448
|
+
], 10, IA));
|
|
2414
2449
|
}
|
|
2415
|
-
}), Vt = /* @__PURE__ */
|
|
2450
|
+
}), Vt = /* @__PURE__ */ W(hA, [["__scopeId", "data-v-f74989f7"]]), xl = {
|
|
2416
2451
|
name: "AvListItem",
|
|
2417
2452
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
2418
2453
|
emits: ["click"],
|
|
2419
2454
|
template: `<div class="av-list-item-stub" @click="$emit('click')"><slot /></div>`
|
|
2420
|
-
},
|
|
2455
|
+
}, bA = ["role"], CA = {
|
|
2421
2456
|
key: 0,
|
|
2422
2457
|
class: "av-list-item__icon"
|
|
2423
|
-
},
|
|
2458
|
+
}, yA = { class: "av-list-item__content" }, EA = {
|
|
2424
2459
|
key: 0,
|
|
2425
2460
|
class: "av-list-item__title"
|
|
2426
|
-
},
|
|
2461
|
+
}, MA = {
|
|
2427
2462
|
key: 1,
|
|
2428
2463
|
class: "av-list-item__description"
|
|
2429
|
-
},
|
|
2464
|
+
}, pA = { key: 2 }, NA = /* @__PURE__ */ O({
|
|
2430
2465
|
__name: "AvListItem",
|
|
2431
2466
|
props: {
|
|
2432
2467
|
icon: {},
|
|
@@ -2475,7 +2510,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2475
2510
|
}
|
|
2476
2511
|
const A = p(() => e.clickable ? "av-list-item--clickable" : ""), l = p(() => e.disabled ? "av-list-item--disabled" : ""), s = p(() => e.selected ? "av-list-item--selected" : "");
|
|
2477
2512
|
return (c, d) => (u(), g("div", { role: e.role }, [
|
|
2478
|
-
(u(),
|
|
2513
|
+
(u(), k(ue(o(a)), {
|
|
2479
2514
|
class: F(["av-list-item", [o(A), o(l), o(s)]]),
|
|
2480
2515
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
2481
2516
|
"aria-label": e.clickable ? o(n) : void 0,
|
|
@@ -2488,27 +2523,27 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2488
2523
|
onClick: r,
|
|
2489
2524
|
onKeydown: i
|
|
2490
2525
|
}, {
|
|
2491
|
-
default:
|
|
2492
|
-
e.icon ? (u(), g("div",
|
|
2526
|
+
default: R(() => [
|
|
2527
|
+
e.icon ? (u(), g("div", CA, [
|
|
2493
2528
|
P(ne, {
|
|
2494
2529
|
name: e.icon,
|
|
2495
2530
|
color: e.iconColor ?? e.color,
|
|
2496
2531
|
size: e.iconSize
|
|
2497
2532
|
}, null, 8, ["name", "color", "size"])
|
|
2498
|
-
])) :
|
|
2499
|
-
y("div",
|
|
2500
|
-
e.title ? (u(), g("div",
|
|
2501
|
-
e.description ? (u(), g("div",
|
|
2502
|
-
t.default ? (u(), g("div",
|
|
2533
|
+
])) : D("", !0),
|
|
2534
|
+
y("div", yA, [
|
|
2535
|
+
e.title ? (u(), g("div", EA, Z(e.title), 1)) : D("", !0),
|
|
2536
|
+
e.description ? (u(), g("div", MA, Z(e.description), 1)) : D("", !0),
|
|
2537
|
+
t.default ? (u(), g("div", pA, [
|
|
2503
2538
|
B(c.$slots, "default", {}, void 0, !0)
|
|
2504
|
-
])) :
|
|
2539
|
+
])) : D("", !0)
|
|
2505
2540
|
])
|
|
2506
2541
|
]),
|
|
2507
2542
|
_: 3
|
|
2508
2543
|
}, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
|
|
2509
|
-
], 8,
|
|
2544
|
+
], 8, bA));
|
|
2510
2545
|
}
|
|
2511
|
-
}), Ut = /* @__PURE__ */
|
|
2546
|
+
}), Ut = /* @__PURE__ */ W(NA, [["__scopeId", "data-v-b9106d17"]]), TA = { class: "av-select-container" }, QA = /* @__PURE__ */ O({
|
|
2512
2547
|
__name: "AvTagPicker",
|
|
2513
2548
|
props: {
|
|
2514
2549
|
multiple: { type: Boolean },
|
|
@@ -2544,7 +2579,7 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2544
2579
|
) : d.value.push(C), l([...d.value])) : (d.value = [C], l(C));
|
|
2545
2580
|
}
|
|
2546
2581
|
function I(C) {
|
|
2547
|
-
return f(C) ?
|
|
2582
|
+
return f(C) ? Y.CHECK : void 0;
|
|
2548
2583
|
}
|
|
2549
2584
|
function m(C) {
|
|
2550
2585
|
return f(C) && !A;
|
|
@@ -2553,11 +2588,11 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2553
2588
|
d.value = c(C);
|
|
2554
2589
|
}, { immediate: !0 }), (C, M) => {
|
|
2555
2590
|
const T = da;
|
|
2556
|
-
return u(), g("div",
|
|
2591
|
+
return u(), g("div", TA, [
|
|
2557
2592
|
o(a) ? (u(), g("span", {
|
|
2558
2593
|
key: 0,
|
|
2559
2594
|
class: F(["av-select-label", [o(r)]])
|
|
2560
|
-
}, Z(o(a)), 3)) :
|
|
2595
|
+
}, Z(o(a)), 3)) : D("", !0),
|
|
2561
2596
|
(u(!0), g(_, null, re(o(s), (Q) => (u(), g("div", {
|
|
2562
2597
|
key: Q.value,
|
|
2563
2598
|
class: "tag-wrapper"
|
|
@@ -2578,14 +2613,14 @@ const oA = { class: "av-input__wrapper" }, lA = {
|
|
|
2578
2613
|
]);
|
|
2579
2614
|
};
|
|
2580
2615
|
}
|
|
2581
|
-
}),
|
|
2616
|
+
}), DA = /* @__PURE__ */ W(QA, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
2582
2617
|
var Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
|
|
2583
|
-
const
|
|
2618
|
+
const jl = [
|
|
2584
2619
|
4,
|
|
2585
2620
|
8,
|
|
2586
2621
|
12
|
|
2587
2622
|
/* TWELVE */
|
|
2588
|
-
],
|
|
2623
|
+
], LA = { class: "pagination-size-picker-container" }, OA = /* @__PURE__ */ O({
|
|
2589
2624
|
__name: "AvPageSizePicker",
|
|
2590
2625
|
props: {
|
|
2591
2626
|
label: {},
|
|
@@ -2600,8 +2635,8 @@ const kl = [
|
|
|
2600
2635
|
label: e.pageSizeSelected.toString(),
|
|
2601
2636
|
value: e.pageSizeSelected.toString()
|
|
2602
2637
|
}));
|
|
2603
|
-
return (n, r) => (u(), g("div",
|
|
2604
|
-
P(
|
|
2638
|
+
return (n, r) => (u(), g("div", LA, [
|
|
2639
|
+
P(DA, {
|
|
2605
2640
|
options: o(t),
|
|
2606
2641
|
selected: o(a),
|
|
2607
2642
|
"handle-select-change": e.handleSelectChange,
|
|
@@ -2612,7 +2647,7 @@ const kl = [
|
|
|
2612
2647
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
2613
2648
|
]));
|
|
2614
2649
|
}
|
|
2615
|
-
}),
|
|
2650
|
+
}), Bl = /* @__PURE__ */ W(OA, [["__scopeId", "data-v-d72fe5ab"]]), Pl = {
|
|
2616
2651
|
name: "AvTagPicker",
|
|
2617
2652
|
props: [
|
|
2618
2653
|
"label",
|
|
@@ -2632,7 +2667,7 @@ const kl = [
|
|
|
2632
2667
|
</button>
|
|
2633
2668
|
</div>
|
|
2634
2669
|
`
|
|
2635
|
-
},
|
|
2670
|
+
}, wA = /* @__PURE__ */ O({
|
|
2636
2671
|
__name: "AvRadioButton",
|
|
2637
2672
|
props: {
|
|
2638
2673
|
value: { type: [String, Number, Boolean] },
|
|
@@ -2643,7 +2678,7 @@ const kl = [
|
|
|
2643
2678
|
setup(e) {
|
|
2644
2679
|
return (t, a) => B(t.$slots, "default");
|
|
2645
2680
|
}
|
|
2646
|
-
}),
|
|
2681
|
+
}), Wl = /* @__PURE__ */ O({
|
|
2647
2682
|
__name: "AvRadioButtonSet",
|
|
2648
2683
|
props: {
|
|
2649
2684
|
name: {},
|
|
@@ -2661,7 +2696,7 @@ const kl = [
|
|
|
2661
2696
|
setup(e, { expose: t, emit: a }) {
|
|
2662
2697
|
const n = e, r = a, i = ie();
|
|
2663
2698
|
function A(d) {
|
|
2664
|
-
return d != null && typeof d == "object" && "type" in d && d.type ===
|
|
2699
|
+
return d != null && typeof d == "object" && "type" in d && d.type === wA;
|
|
2665
2700
|
}
|
|
2666
2701
|
function l(d) {
|
|
2667
2702
|
return d ? d.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === _ && Array.isArray(f.children) ? l(f.children) : A(f) ? [f] : []) : [];
|
|
@@ -2674,11 +2709,11 @@ const kl = [
|
|
|
2674
2709
|
c.value = d;
|
|
2675
2710
|
}), ce(c, (d) => {
|
|
2676
2711
|
d && r("update:modelValue", d);
|
|
2677
|
-
}), t({ selected: c }), (d, f) => (u(),
|
|
2678
|
-
default:
|
|
2712
|
+
}), t({ selected: c }), (d, f) => (u(), k(o(fa), ee(n, { "model-value": o(c) }), {
|
|
2713
|
+
default: R(() => [
|
|
2679
2714
|
(u(!0), g(_, null, re(o(s), (h, I) => {
|
|
2680
2715
|
var m, C;
|
|
2681
|
-
return u(),
|
|
2716
|
+
return u(), k(o(va), {
|
|
2682
2717
|
key: I,
|
|
2683
2718
|
modelValue: o(c),
|
|
2684
2719
|
"onUpdate:modelValue": f[0] || (f[0] = (M) => At(c) ? c.value = M : null),
|
|
@@ -2688,10 +2723,10 @@ const kl = [
|
|
|
2688
2723
|
inline: n.inline,
|
|
2689
2724
|
name: n.name
|
|
2690
2725
|
}, {
|
|
2691
|
-
label:
|
|
2726
|
+
label: R(() => {
|
|
2692
2727
|
var M;
|
|
2693
2728
|
return [
|
|
2694
|
-
(u(),
|
|
2729
|
+
(u(), k(ue((M = h.children) == null ? void 0 : M.default)))
|
|
2695
2730
|
];
|
|
2696
2731
|
}),
|
|
2697
2732
|
_: 2
|
|
@@ -2701,7 +2736,7 @@ const kl = [
|
|
|
2701
2736
|
_: 1
|
|
2702
2737
|
}, 16, ["model-value"]));
|
|
2703
2738
|
}
|
|
2704
|
-
}),
|
|
2739
|
+
}), Vl = {
|
|
2705
2740
|
name: "AvAutocomplete",
|
|
2706
2741
|
props: [
|
|
2707
2742
|
"modelValue",
|
|
@@ -2729,9 +2764,9 @@ function lt() {
|
|
|
2729
2764
|
function Zt(e) {
|
|
2730
2765
|
return Ta() ? (Qa(e), !0) : !1;
|
|
2731
2766
|
}
|
|
2732
|
-
const
|
|
2767
|
+
const SA = typeof window < "u" && typeof document < "u";
|
|
2733
2768
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2734
|
-
const
|
|
2769
|
+
const kA = (e) => e != null, zA = Object.prototype.toString, xA = (e) => zA.call(e) === "[object Object]", pe = () => {
|
|
2735
2770
|
};
|
|
2736
2771
|
function qt(e, t) {
|
|
2737
2772
|
function a(...n) {
|
|
@@ -2741,7 +2776,7 @@ function qt(e, t) {
|
|
|
2741
2776
|
}
|
|
2742
2777
|
return a;
|
|
2743
2778
|
}
|
|
2744
|
-
function
|
|
2779
|
+
function jA(e, t = {}) {
|
|
2745
2780
|
let a, n, r = pe;
|
|
2746
2781
|
const i = (s) => {
|
|
2747
2782
|
clearTimeout(s), r(), r = pe;
|
|
@@ -2758,7 +2793,7 @@ function kA(e, t = {}) {
|
|
|
2758
2793
|
});
|
|
2759
2794
|
};
|
|
2760
2795
|
}
|
|
2761
|
-
function
|
|
2796
|
+
function BA(...e) {
|
|
2762
2797
|
let t = 0, a, n = !0, r = pe, i, A, l, s, c;
|
|
2763
2798
|
!At(e[0]) && typeof e[0] == "object" ? { delay: A, trailing: l = !0, leading: s = !0, rejectOnCancel: c = !1 } = e[0] : [A, l = !0, s = !0, c = !1] = e;
|
|
2764
2799
|
const d = () => {
|
|
@@ -2776,27 +2811,27 @@ function zA(...e) {
|
|
|
2776
2811
|
function We(e) {
|
|
2777
2812
|
return Array.isArray(e) ? e : [e];
|
|
2778
2813
|
}
|
|
2779
|
-
function
|
|
2814
|
+
function PA(e) {
|
|
2780
2815
|
return kt();
|
|
2781
2816
|
}
|
|
2782
2817
|
// @__NO_SIDE_EFFECTS__
|
|
2783
|
-
function
|
|
2818
|
+
function WA(e, t = 200, a = {}) {
|
|
2784
2819
|
return qt(
|
|
2785
|
-
|
|
2820
|
+
jA(t, a),
|
|
2786
2821
|
e
|
|
2787
2822
|
);
|
|
2788
2823
|
}
|
|
2789
2824
|
// @__NO_SIDE_EFFECTS__
|
|
2790
|
-
function
|
|
2825
|
+
function VA(e, t = 200, a = !1, n = !0, r = !1) {
|
|
2791
2826
|
return qt(
|
|
2792
|
-
|
|
2827
|
+
BA(t, a, n, r),
|
|
2793
2828
|
e
|
|
2794
2829
|
);
|
|
2795
2830
|
}
|
|
2796
|
-
function
|
|
2797
|
-
|
|
2831
|
+
function UA(e, t = !0, a) {
|
|
2832
|
+
PA() ? xe(e, a) : t ? e() : Re(e);
|
|
2798
2833
|
}
|
|
2799
|
-
function
|
|
2834
|
+
function XA(e, t, a) {
|
|
2800
2835
|
return ce(
|
|
2801
2836
|
e,
|
|
2802
2837
|
t,
|
|
@@ -2806,7 +2841,7 @@ function WA(e, t, a) {
|
|
|
2806
2841
|
}
|
|
2807
2842
|
);
|
|
2808
2843
|
}
|
|
2809
|
-
const st =
|
|
2844
|
+
const st = SA ? window : void 0;
|
|
2810
2845
|
function ct(e) {
|
|
2811
2846
|
var t;
|
|
2812
2847
|
const a = ae(e);
|
|
@@ -2818,7 +2853,7 @@ function yt(...e) {
|
|
|
2818
2853
|
}, n = (l, s, c, d) => (l.addEventListener(s, c, d), () => l.removeEventListener(s, c, d)), r = p(() => {
|
|
2819
2854
|
const l = We(ae(e[0])).filter((s) => s != null);
|
|
2820
2855
|
return l.every((s) => typeof s != "string") ? l : void 0;
|
|
2821
|
-
}), i =
|
|
2856
|
+
}), i = XA(
|
|
2822
2857
|
() => {
|
|
2823
2858
|
var l, s;
|
|
2824
2859
|
return [
|
|
@@ -2832,7 +2867,7 @@ function yt(...e) {
|
|
|
2832
2867
|
([l, s, c, d]) => {
|
|
2833
2868
|
if (a(), !(l != null && l.length) || !(s != null && s.length) || !(c != null && c.length))
|
|
2834
2869
|
return;
|
|
2835
|
-
const f =
|
|
2870
|
+
const f = xA(d) ? { ...d } : d;
|
|
2836
2871
|
t.push(
|
|
2837
2872
|
...l.flatMap(
|
|
2838
2873
|
(h) => s.flatMap(
|
|
@@ -2848,24 +2883,24 @@ function yt(...e) {
|
|
|
2848
2883
|
return Zt(a), A;
|
|
2849
2884
|
}
|
|
2850
2885
|
// @__NO_SIDE_EFFECTS__
|
|
2851
|
-
function
|
|
2886
|
+
function HA() {
|
|
2852
2887
|
const e = Pe(!1), t = kt();
|
|
2853
2888
|
return t && xe(() => {
|
|
2854
2889
|
e.value = !0;
|
|
2855
2890
|
}, t), e;
|
|
2856
2891
|
}
|
|
2857
2892
|
// @__NO_SIDE_EFFECTS__
|
|
2858
|
-
function
|
|
2859
|
-
const t = /* @__PURE__ */
|
|
2893
|
+
function ZA(e) {
|
|
2894
|
+
const t = /* @__PURE__ */ HA();
|
|
2860
2895
|
return p(() => (t.value, !!e()));
|
|
2861
2896
|
}
|
|
2862
|
-
function
|
|
2897
|
+
function qA(e, t, a = {}) {
|
|
2863
2898
|
const { window: n = st, ...r } = a;
|
|
2864
2899
|
let i;
|
|
2865
|
-
const A = /* @__PURE__ */
|
|
2900
|
+
const A = /* @__PURE__ */ ZA(() => n && "MutationObserver" in n), l = () => {
|
|
2866
2901
|
i && (i.disconnect(), i = void 0);
|
|
2867
2902
|
}, s = p(() => {
|
|
2868
|
-
const h = ae(e), I = We(h).map(ct).filter(
|
|
2903
|
+
const h = ae(e), I = We(h).map(ct).filter(kA);
|
|
2869
2904
|
return new Set(I);
|
|
2870
2905
|
}), c = ce(
|
|
2871
2906
|
s,
|
|
@@ -2883,7 +2918,7 @@ function XA(e, t, a = {}) {
|
|
|
2883
2918
|
};
|
|
2884
2919
|
}
|
|
2885
2920
|
const Et = 1;
|
|
2886
|
-
function
|
|
2921
|
+
function YA(e, t = {}) {
|
|
2887
2922
|
const {
|
|
2888
2923
|
throttle: a = 0,
|
|
2889
2924
|
idle: n = 200,
|
|
@@ -2936,59 +2971,59 @@ function HA(e, t = {}) {
|
|
|
2936
2971
|
left: (X = ae(w)) != null ? X : C.value,
|
|
2937
2972
|
behavior: ae(c)
|
|
2938
2973
|
});
|
|
2939
|
-
const
|
|
2940
|
-
C != null && (I.value =
|
|
2974
|
+
const z = ((b = N == null ? void 0 : N.document) == null ? void 0 : b.documentElement) || (N == null ? void 0 : N.documentElement) || N;
|
|
2975
|
+
C != null && (I.value = z.scrollLeft), M != null && (m.value = z.scrollTop);
|
|
2941
2976
|
}
|
|
2942
2977
|
const Q = Pe(!1), E = dt({
|
|
2943
2978
|
left: !0,
|
|
2944
2979
|
right: !1,
|
|
2945
2980
|
top: !0,
|
|
2946
2981
|
bottom: !1
|
|
2947
|
-
}),
|
|
2982
|
+
}), L = dt({
|
|
2948
2983
|
left: !1,
|
|
2949
2984
|
right: !1,
|
|
2950
2985
|
top: !1,
|
|
2951
2986
|
bottom: !1
|
|
2952
2987
|
}), j = (w) => {
|
|
2953
|
-
Q.value && (Q.value = !1,
|
|
2954
|
-
},
|
|
2988
|
+
Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(w));
|
|
2989
|
+
}, V = /* @__PURE__ */ WA(j, a + n), x = (w) => {
|
|
2955
2990
|
var oe;
|
|
2956
2991
|
if (!d)
|
|
2957
2992
|
return;
|
|
2958
|
-
const $ = ((oe = w == null ? void 0 : w.document) == null ? void 0 : oe.documentElement) || (w == null ? void 0 : w.documentElement) || ct(w), { display: X, flexDirection: v, direction: b } = getComputedStyle($), N = b === "rtl" ? -1 : 1,
|
|
2959
|
-
|
|
2960
|
-
const U = Math.abs(
|
|
2961
|
-
X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value =
|
|
2962
|
-
let
|
|
2963
|
-
w === d.document && !
|
|
2964
|
-
const K = Math.abs(
|
|
2965
|
-
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value =
|
|
2993
|
+
const $ = ((oe = w == null ? void 0 : w.document) == null ? void 0 : oe.documentElement) || (w == null ? void 0 : w.documentElement) || ct(w), { display: X, flexDirection: v, direction: b } = getComputedStyle($), N = b === "rtl" ? -1 : 1, z = $.scrollLeft;
|
|
2994
|
+
L.left = z < I.value, L.right = z > I.value;
|
|
2995
|
+
const U = Math.abs(z * N) <= (A.left || 0), q = Math.abs(z * N) + $.clientWidth >= $.scrollWidth - (A.right || 0) - Et;
|
|
2996
|
+
X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = z;
|
|
2997
|
+
let S = $.scrollTop;
|
|
2998
|
+
w === d.document && !S && (S = d.document.body.scrollTop), L.top = S < m.value, L.bottom = S > m.value;
|
|
2999
|
+
const K = Math.abs(S) <= (A.top || 0), G = Math.abs(S) + $.clientHeight >= $.scrollHeight - (A.bottom || 0) - Et;
|
|
3000
|
+
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = S;
|
|
2966
3001
|
}, Ae = (w) => {
|
|
2967
3002
|
var oe;
|
|
2968
3003
|
if (!d)
|
|
2969
3004
|
return;
|
|
2970
3005
|
const $ = (oe = w.target.documentElement) != null ? oe : w.target;
|
|
2971
|
-
|
|
3006
|
+
x($), Q.value = !0, V(w), i(w);
|
|
2972
3007
|
};
|
|
2973
3008
|
return yt(
|
|
2974
3009
|
e,
|
|
2975
3010
|
"scroll",
|
|
2976
|
-
a ? /* @__PURE__ */
|
|
3011
|
+
a ? /* @__PURE__ */ VA(Ae, a, !0, !1) : Ae,
|
|
2977
3012
|
s
|
|
2978
|
-
),
|
|
3013
|
+
), UA(() => {
|
|
2979
3014
|
try {
|
|
2980
3015
|
const w = ae(e);
|
|
2981
3016
|
if (!w)
|
|
2982
3017
|
return;
|
|
2983
|
-
|
|
3018
|
+
x(w);
|
|
2984
3019
|
} catch (w) {
|
|
2985
3020
|
f(w);
|
|
2986
3021
|
}
|
|
2987
|
-
}), h != null && h.mutation && e != null && e !== d && e !== document &&
|
|
3022
|
+
}), h != null && h.mutation && e != null && e !== d && e !== document && qA(
|
|
2988
3023
|
e,
|
|
2989
3024
|
() => {
|
|
2990
3025
|
const w = ae(e);
|
|
2991
|
-
w &&
|
|
3026
|
+
w && x(w);
|
|
2992
3027
|
},
|
|
2993
3028
|
{
|
|
2994
3029
|
attributes: !0,
|
|
@@ -3005,58 +3040,58 @@ function HA(e, t = {}) {
|
|
|
3005
3040
|
y: M,
|
|
3006
3041
|
isScrolling: Q,
|
|
3007
3042
|
arrivedState: E,
|
|
3008
|
-
directions:
|
|
3043
|
+
directions: L,
|
|
3009
3044
|
measure() {
|
|
3010
3045
|
const w = ae(e);
|
|
3011
|
-
d && w &&
|
|
3046
|
+
d && w && x(w);
|
|
3012
3047
|
}
|
|
3013
3048
|
};
|
|
3014
3049
|
}
|
|
3015
|
-
var
|
|
3016
|
-
function
|
|
3017
|
-
var t =
|
|
3050
|
+
var RA = typeof global == "object" && global && global.Object === Object && global, FA = typeof self == "object" && self && self.Object === Object && self, Yt = RA || FA || Function("return this")(), Xe = Yt.Symbol, Rt = Object.prototype, KA = Rt.hasOwnProperty, GA = Rt.toString, Le = Xe ? Xe.toStringTag : void 0;
|
|
3051
|
+
function JA(e) {
|
|
3052
|
+
var t = KA.call(e, Le), a = e[Le];
|
|
3018
3053
|
try {
|
|
3019
|
-
e[
|
|
3054
|
+
e[Le] = void 0;
|
|
3020
3055
|
var n = !0;
|
|
3021
3056
|
} catch {
|
|
3022
3057
|
}
|
|
3023
|
-
var r =
|
|
3024
|
-
return n && (t ? e[
|
|
3058
|
+
var r = GA.call(e);
|
|
3059
|
+
return n && (t ? e[Le] = a : delete e[Le]), r;
|
|
3025
3060
|
}
|
|
3026
|
-
var
|
|
3027
|
-
function JA(e) {
|
|
3028
|
-
return GA.call(e);
|
|
3029
|
-
}
|
|
3030
|
-
var _A = "[object Null]", $A = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
|
|
3061
|
+
var _A = Object.prototype, $A = _A.toString;
|
|
3031
3062
|
function ei(e) {
|
|
3032
|
-
return
|
|
3063
|
+
return $A.call(e);
|
|
3064
|
+
}
|
|
3065
|
+
var ti = "[object Null]", ai = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
|
|
3066
|
+
function ni(e) {
|
|
3067
|
+
return e == null ? e === void 0 ? ai : ti : Mt && Mt in Object(e) ? JA(e) : ei(e);
|
|
3033
3068
|
}
|
|
3034
|
-
function
|
|
3069
|
+
function ri(e) {
|
|
3035
3070
|
return e != null && typeof e == "object";
|
|
3036
3071
|
}
|
|
3037
|
-
var
|
|
3038
|
-
function
|
|
3039
|
-
return typeof e == "symbol" ||
|
|
3072
|
+
var Ai = "[object Symbol]";
|
|
3073
|
+
function ii(e) {
|
|
3074
|
+
return typeof e == "symbol" || ri(e) && ni(e) == Ai;
|
|
3040
3075
|
}
|
|
3041
|
-
var
|
|
3042
|
-
function
|
|
3043
|
-
for (var t = e.length; t-- &&
|
|
3076
|
+
var oi = /\s/;
|
|
3077
|
+
function li(e) {
|
|
3078
|
+
for (var t = e.length; t-- && oi.test(e.charAt(t)); )
|
|
3044
3079
|
;
|
|
3045
3080
|
return t;
|
|
3046
3081
|
}
|
|
3047
|
-
var
|
|
3048
|
-
function
|
|
3049
|
-
return e && e.slice(0,
|
|
3082
|
+
var si = /^\s+/;
|
|
3083
|
+
function ci(e) {
|
|
3084
|
+
return e && e.slice(0, li(e) + 1).replace(si, "");
|
|
3050
3085
|
}
|
|
3051
3086
|
function tt(e) {
|
|
3052
3087
|
var t = typeof e;
|
|
3053
3088
|
return e != null && (t == "object" || t == "function");
|
|
3054
3089
|
}
|
|
3055
|
-
var pt = NaN,
|
|
3090
|
+
var pt = NaN, ui = /^[-+]0x[0-9a-f]+$/i, di = /^0b[01]+$/i, fi = /^0o[0-7]+$/i, vi = parseInt;
|
|
3056
3091
|
function Nt(e) {
|
|
3057
3092
|
if (typeof e == "number")
|
|
3058
3093
|
return e;
|
|
3059
|
-
if (
|
|
3094
|
+
if (ii(e))
|
|
3060
3095
|
return pt;
|
|
3061
3096
|
if (tt(e)) {
|
|
3062
3097
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -3064,51 +3099,51 @@ function Nt(e) {
|
|
|
3064
3099
|
}
|
|
3065
3100
|
if (typeof e != "string")
|
|
3066
3101
|
return e === 0 ? e : +e;
|
|
3067
|
-
e =
|
|
3068
|
-
var a =
|
|
3069
|
-
return a ||
|
|
3102
|
+
e = ci(e);
|
|
3103
|
+
var a = di.test(e);
|
|
3104
|
+
return a || fi.test(e) ? vi(e.slice(2), a ? 2 : 8) : ui.test(e) ? pt : +e;
|
|
3070
3105
|
}
|
|
3071
3106
|
var $e = function() {
|
|
3072
3107
|
return Yt.Date.now();
|
|
3073
|
-
},
|
|
3108
|
+
}, mi = "Expected a function", gi = Math.max, Ii = Math.min;
|
|
3074
3109
|
function Ft(e, t, a) {
|
|
3075
3110
|
var n, r, i, A, l, s, c = 0, d = !1, f = !1, h = !0;
|
|
3076
3111
|
if (typeof e != "function")
|
|
3077
|
-
throw new TypeError(
|
|
3078
|
-
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, i = f ?
|
|
3079
|
-
function I(
|
|
3080
|
-
var
|
|
3081
|
-
return n = r = void 0, c =
|
|
3112
|
+
throw new TypeError(mi);
|
|
3113
|
+
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, i = f ? gi(Nt(a.maxWait) || 0, t) : i, h = "trailing" in a ? !!a.trailing : h);
|
|
3114
|
+
function I(V) {
|
|
3115
|
+
var x = n, Ae = r;
|
|
3116
|
+
return n = r = void 0, c = V, A = e.apply(Ae, x), A;
|
|
3082
3117
|
}
|
|
3083
|
-
function m(
|
|
3084
|
-
return c =
|
|
3118
|
+
function m(V) {
|
|
3119
|
+
return c = V, l = setTimeout(T, t), d ? I(V) : A;
|
|
3085
3120
|
}
|
|
3086
|
-
function C(
|
|
3087
|
-
var
|
|
3088
|
-
return f ?
|
|
3121
|
+
function C(V) {
|
|
3122
|
+
var x = V - s, Ae = V - c, w = t - x;
|
|
3123
|
+
return f ? Ii(w, i - Ae) : w;
|
|
3089
3124
|
}
|
|
3090
|
-
function M(
|
|
3091
|
-
var
|
|
3092
|
-
return s === void 0 ||
|
|
3125
|
+
function M(V) {
|
|
3126
|
+
var x = V - s, Ae = V - c;
|
|
3127
|
+
return s === void 0 || x >= t || x < 0 || f && Ae >= i;
|
|
3093
3128
|
}
|
|
3094
3129
|
function T() {
|
|
3095
|
-
var
|
|
3096
|
-
if (M(
|
|
3097
|
-
return Q(
|
|
3098
|
-
l = setTimeout(T, C(
|
|
3130
|
+
var V = $e();
|
|
3131
|
+
if (M(V))
|
|
3132
|
+
return Q(V);
|
|
3133
|
+
l = setTimeout(T, C(V));
|
|
3099
3134
|
}
|
|
3100
|
-
function Q(
|
|
3101
|
-
return l = void 0, h && n ? I(
|
|
3135
|
+
function Q(V) {
|
|
3136
|
+
return l = void 0, h && n ? I(V) : (n = r = void 0, A);
|
|
3102
3137
|
}
|
|
3103
3138
|
function E() {
|
|
3104
3139
|
l !== void 0 && clearTimeout(l), c = 0, n = s = r = l = void 0;
|
|
3105
3140
|
}
|
|
3106
|
-
function
|
|
3141
|
+
function L() {
|
|
3107
3142
|
return l === void 0 ? A : Q($e());
|
|
3108
3143
|
}
|
|
3109
3144
|
function j() {
|
|
3110
|
-
var
|
|
3111
|
-
if (n = arguments, r = this, s =
|
|
3145
|
+
var V = $e(), x = M(V);
|
|
3146
|
+
if (n = arguments, r = this, s = V, x) {
|
|
3112
3147
|
if (l === void 0)
|
|
3113
3148
|
return m(s);
|
|
3114
3149
|
if (f)
|
|
@@ -3116,18 +3151,18 @@ function Ft(e, t, a) {
|
|
|
3116
3151
|
}
|
|
3117
3152
|
return l === void 0 && (l = setTimeout(T, t)), A;
|
|
3118
3153
|
}
|
|
3119
|
-
return j.cancel = E, j.flush =
|
|
3154
|
+
return j.cancel = E, j.flush = L, j;
|
|
3120
3155
|
}
|
|
3121
|
-
const
|
|
3156
|
+
const hi = {
|
|
3122
3157
|
key: 0,
|
|
3123
3158
|
class: "av-autocomplete-dropdown__loading"
|
|
3124
|
-
},
|
|
3159
|
+
}, bi = {
|
|
3125
3160
|
key: 1,
|
|
3126
3161
|
class: "av-autocomplete-dropdown__empty"
|
|
3127
|
-
},
|
|
3162
|
+
}, Ci = {
|
|
3128
3163
|
key: 1,
|
|
3129
3164
|
class: "av-autocomplete-dropdown__empty-text"
|
|
3130
|
-
},
|
|
3165
|
+
}, yi = /* @__PURE__ */ O({
|
|
3131
3166
|
__name: "AvAutocompleteDropdown",
|
|
3132
3167
|
emits: ["loadMore"],
|
|
3133
3168
|
setup(e, { expose: t, emit: a }) {
|
|
@@ -3148,12 +3183,12 @@ const mi = {
|
|
|
3148
3183
|
const j = s.options;
|
|
3149
3184
|
return s.maxResults ? j.slice(0, s.maxResults) : j;
|
|
3150
3185
|
}
|
|
3151
|
-
let
|
|
3152
|
-
return s.filterOptions ?
|
|
3186
|
+
let L;
|
|
3187
|
+
return s.filterOptions ? L = s.filterOptions(s.options, E) : L = s.options.filter((j) => d(j).toLowerCase().includes(E)), s.maxResults ? L.slice(0, s.maxResults) : L;
|
|
3153
3188
|
}), m = p(() => s.loading ? Me.LOADING : l.value && s.options && s.options.length > 0 && I.value.length > 0 ? Me.HAS_OPTIONS : Me.NO_OPTIONS);
|
|
3154
3189
|
function C(E) {
|
|
3155
3190
|
return i.value.some(
|
|
3156
|
-
(
|
|
3191
|
+
(L) => c(L) === c(E)
|
|
3157
3192
|
);
|
|
3158
3193
|
}
|
|
3159
3194
|
function M(E) {
|
|
@@ -3161,14 +3196,14 @@ const mi = {
|
|
|
3161
3196
|
i.value = [E], l.value = !1, A.value = "";
|
|
3162
3197
|
return;
|
|
3163
3198
|
}
|
|
3164
|
-
const
|
|
3165
|
-
|
|
3166
|
-
(
|
|
3167
|
-
) ? i.value =
|
|
3168
|
-
(
|
|
3169
|
-
) : i.value = [...
|
|
3199
|
+
const L = i.value, j = c(E);
|
|
3200
|
+
L.some(
|
|
3201
|
+
(x) => c(x) === j
|
|
3202
|
+
) ? i.value = L.filter(
|
|
3203
|
+
(x) => c(x) !== j
|
|
3204
|
+
) : i.value = [...L, E];
|
|
3170
3205
|
}
|
|
3171
|
-
const { arrivedState: T } =
|
|
3206
|
+
const { arrivedState: T } = YA(h, {
|
|
3172
3207
|
throttle: 100
|
|
3173
3208
|
}), Q = Ft(() => {
|
|
3174
3209
|
n("loadMore");
|
|
@@ -3179,30 +3214,30 @@ const mi = {
|
|
|
3179
3214
|
Q.cancel();
|
|
3180
3215
|
}), t({
|
|
3181
3216
|
dropdownRef: f
|
|
3182
|
-
}), (E,
|
|
3217
|
+
}), (E, L) => o(l) ? (u(), g("div", {
|
|
3183
3218
|
key: 0,
|
|
3184
3219
|
ref_key: "dropdownRef",
|
|
3185
3220
|
ref: f,
|
|
3186
3221
|
class: F(["av-autocomplete-dropdown", o(s).dropdownClass]),
|
|
3187
3222
|
style: Ve({ width: o(s).dropdownWidth, maxHeight: o(s).maxDropdownHeight })
|
|
3188
3223
|
}, [
|
|
3189
|
-
o(m) === o(Me).LOADING ? (u(), g("div",
|
|
3224
|
+
o(m) === o(Me).LOADING ? (u(), g("div", hi, [
|
|
3190
3225
|
P(ne, {
|
|
3191
|
-
name: o(
|
|
3226
|
+
name: o(Y).LOADING_OUTLINE,
|
|
3192
3227
|
size: 1.5,
|
|
3193
3228
|
class: "av-autocomplete-dropdown__spinner"
|
|
3194
3229
|
}, null, 8, ["name"]),
|
|
3195
|
-
|
|
3196
|
-
])) : o(m) === o(Me).NO_OPTIONS ? (u(), g("div",
|
|
3197
|
-
r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div",
|
|
3198
|
-
])) : (u(),
|
|
3230
|
+
L[0] || (L[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
3231
|
+
])) : o(m) === o(Me).NO_OPTIONS ? (u(), g("div", bi, [
|
|
3232
|
+
r.empty ? B(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", Ci, " No results found "))
|
|
3233
|
+
])) : (u(), k(Vt, ee({
|
|
3199
3234
|
key: 2,
|
|
3200
3235
|
ref_key: "listRef",
|
|
3201
3236
|
ref: h
|
|
3202
3237
|
}, o(s).listOptions, {
|
|
3203
3238
|
class: ["av-autocomplete-dropdown__options", o(s).scrollbarClass]
|
|
3204
3239
|
}), {
|
|
3205
|
-
default:
|
|
3240
|
+
default: R(() => [
|
|
3206
3241
|
(u(!0), g(_, null, re(o(I), (j) => (u(), g(_, {
|
|
3207
3242
|
key: o(c)(j)
|
|
3208
3243
|
}, [
|
|
@@ -3211,10 +3246,10 @@ const mi = {
|
|
|
3211
3246
|
option: j,
|
|
3212
3247
|
isSelected: C(j),
|
|
3213
3248
|
toggle: () => M(j)
|
|
3214
|
-
}, void 0, !0) : (u(),
|
|
3249
|
+
}, void 0, !0) : (u(), k(Ut, {
|
|
3215
3250
|
key: 1,
|
|
3216
3251
|
title: o(d)(j),
|
|
3217
|
-
icon: C(j) ? o(
|
|
3252
|
+
icon: C(j) ? o(Y).CHECK : void 0,
|
|
3218
3253
|
selected: C(j),
|
|
3219
3254
|
clickable: "",
|
|
3220
3255
|
"on-click": () => M(j),
|
|
@@ -3225,12 +3260,12 @@ const mi = {
|
|
|
3225
3260
|
]),
|
|
3226
3261
|
_: 3
|
|
3227
3262
|
}, 16, ["class"]))
|
|
3228
|
-
], 6)) :
|
|
3263
|
+
], 6)) : D("", !0);
|
|
3229
3264
|
}
|
|
3230
|
-
}),
|
|
3265
|
+
}), Ei = /* @__PURE__ */ W(yi, [["__scopeId", "data-v-b59b9163"]]), Mi = { class: "av-autocomplete-input" }, pi = {
|
|
3231
3266
|
key: 0,
|
|
3232
3267
|
class: "av-autocomplete-input__suffix"
|
|
3233
|
-
},
|
|
3268
|
+
}, Ni = /* @__PURE__ */ O({
|
|
3234
3269
|
__name: "AvAutocompleteInput",
|
|
3235
3270
|
emits: ["search", "clear"],
|
|
3236
3271
|
setup(e, { expose: t, emit: a }) {
|
|
@@ -3262,8 +3297,8 @@ const mi = {
|
|
|
3262
3297
|
}), t({
|
|
3263
3298
|
inputRef: h,
|
|
3264
3299
|
searchQuery: p(() => A.value)
|
|
3265
|
-
}), (E,
|
|
3266
|
-
P(
|
|
3300
|
+
}), (E, L) => (u(), g("div", Mi, [
|
|
3301
|
+
P(gA, ee({
|
|
3267
3302
|
id: o(c),
|
|
3268
3303
|
ref_key: "inputRef",
|
|
3269
3304
|
ref: h,
|
|
@@ -3274,19 +3309,19 @@ const mi = {
|
|
|
3274
3309
|
onFocus: T,
|
|
3275
3310
|
onBlur: o(d),
|
|
3276
3311
|
onClick: T
|
|
3277
|
-
}),
|
|
3312
|
+
}), we({ _: 2 }, [
|
|
3278
3313
|
r.requiredTip ? {
|
|
3279
3314
|
name: "requiredTip",
|
|
3280
|
-
fn:
|
|
3281
|
-
(u(),
|
|
3315
|
+
fn: R(() => [
|
|
3316
|
+
(u(), k(ue(r.requiredTip)))
|
|
3282
3317
|
]),
|
|
3283
3318
|
key: "0"
|
|
3284
3319
|
} : void 0
|
|
3285
3320
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
3286
|
-
o(i).length > 0 ? (u(), g("div",
|
|
3287
|
-
P(
|
|
3321
|
+
o(i).length > 0 ? (u(), g("div", pi, [
|
|
3322
|
+
P(me, {
|
|
3288
3323
|
label: "Clear selected items",
|
|
3289
|
-
icon: o(
|
|
3324
|
+
icon: o(Y).CLOSE_CIRCLE_OUTLINE,
|
|
3290
3325
|
"icon-only": "",
|
|
3291
3326
|
"icon-scale": 0.8,
|
|
3292
3327
|
size: "sm",
|
|
@@ -3294,13 +3329,13 @@ const mi = {
|
|
|
3294
3329
|
theme: "SECONDARY",
|
|
3295
3330
|
"on-click": Q
|
|
3296
3331
|
}, null, 8, ["icon"])
|
|
3297
|
-
])) :
|
|
3332
|
+
])) : D("", !0)
|
|
3298
3333
|
]));
|
|
3299
3334
|
}
|
|
3300
|
-
}),
|
|
3335
|
+
}), Ti = /* @__PURE__ */ W(Ni, [["__scopeId", "data-v-24fd377c"]]), Qi = {
|
|
3301
3336
|
key: 0,
|
|
3302
3337
|
class: "av-autocomplete-selected-tags"
|
|
3303
|
-
},
|
|
3338
|
+
}, Di = /* @__PURE__ */ O({
|
|
3304
3339
|
__name: "AvAutocompleteSelectedTags",
|
|
3305
3340
|
setup(e) {
|
|
3306
3341
|
const t = ie(), {
|
|
@@ -3315,7 +3350,7 @@ const mi = {
|
|
|
3315
3350
|
(d) => r(d) !== c
|
|
3316
3351
|
);
|
|
3317
3352
|
}
|
|
3318
|
-
return (l, s) => o(n).multiSelect && o(a).length > 0 && o(n).showSelectedSection ? (u(), g("div",
|
|
3353
|
+
return (l, s) => o(n).multiSelect && o(a).length > 0 && o(n).showSelectedSection ? (u(), g("div", Qi, [
|
|
3319
3354
|
(u(!0), g(_, null, re(o(a), (c) => (u(), g("div", {
|
|
3320
3355
|
key: o(r)(c),
|
|
3321
3356
|
class: "av-autocomplete-selected-tags__item"
|
|
@@ -3324,10 +3359,10 @@ const mi = {
|
|
|
3324
3359
|
key: 0,
|
|
3325
3360
|
option: c,
|
|
3326
3361
|
remove: () => A(c)
|
|
3327
|
-
}, void 0, !0) : (u(),
|
|
3362
|
+
}, void 0, !0) : (u(), k(me, {
|
|
3328
3363
|
key: 1,
|
|
3329
3364
|
label: o(i)(c),
|
|
3330
|
-
icon: o(
|
|
3365
|
+
icon: o(Y).CLOSE_CIRCLE_OUTLINE,
|
|
3331
3366
|
"icon-right": "",
|
|
3332
3367
|
size: "sm",
|
|
3333
3368
|
variant: "OUTLINED",
|
|
@@ -3335,9 +3370,9 @@ const mi = {
|
|
|
3335
3370
|
"on-click": () => A(c)
|
|
3336
3371
|
}, null, 8, ["label", "icon", "on-click"]))
|
|
3337
3372
|
]))), 128))
|
|
3338
|
-
])) :
|
|
3373
|
+
])) : D("", !0);
|
|
3339
3374
|
}
|
|
3340
|
-
}),
|
|
3375
|
+
}), Li = /* @__PURE__ */ W(Di, [["__scopeId", "data-v-c00c128b"]]), Oi = { class: "av-autocomplete" }, wi = /* @__PURE__ */ O({
|
|
3341
3376
|
__name: "AvAutocomplete",
|
|
3342
3377
|
props: /* @__PURE__ */ ve({
|
|
3343
3378
|
id: {},
|
|
@@ -3374,8 +3409,8 @@ const mi = {
|
|
|
3374
3409
|
l.value = Q, n("search", Q);
|
|
3375
3410
|
}
|
|
3376
3411
|
function I(Q) {
|
|
3377
|
-
var E,
|
|
3378
|
-
(
|
|
3412
|
+
var E, L;
|
|
3413
|
+
(L = (E = d.value) == null ? void 0 : E.dropdownRef) != null && L.contains(Q.relatedTarget) || setTimeout(() => {
|
|
3379
3414
|
A.value = !1;
|
|
3380
3415
|
}, a.blurCloseDelay);
|
|
3381
3416
|
}
|
|
@@ -3396,65 +3431,65 @@ const mi = {
|
|
|
3396
3431
|
getDisplayLabel: C
|
|
3397
3432
|
});
|
|
3398
3433
|
function T(Q) {
|
|
3399
|
-
var j,
|
|
3400
|
-
const E = Q.target,
|
|
3401
|
-
!((
|
|
3434
|
+
var j, V, x, Ae, w;
|
|
3435
|
+
const E = Q.target, L = (j = c.value) == null ? void 0 : j.inputRef;
|
|
3436
|
+
!((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x = s.value) != null && x.contains(E)) && !((w = (Ae = d.value) == null ? void 0 : Ae.dropdownRef) != null && w.contains(E)) && (A.value = !1);
|
|
3402
3437
|
}
|
|
3403
3438
|
return xe(() => {
|
|
3404
3439
|
document.addEventListener("click", T);
|
|
3405
3440
|
}), je(() => {
|
|
3406
3441
|
document.removeEventListener("click", T);
|
|
3407
|
-
}), (Q, E) => (u(), g("div",
|
|
3442
|
+
}), (Q, E) => (u(), g("div", Oi, [
|
|
3408
3443
|
y("div", {
|
|
3409
3444
|
ref_key: "wrapperRef",
|
|
3410
3445
|
ref: s,
|
|
3411
3446
|
class: "av-autocomplete__wrapper"
|
|
3412
3447
|
}, [
|
|
3413
|
-
P(
|
|
3448
|
+
P(Ti, {
|
|
3414
3449
|
ref_key: "inputRef",
|
|
3415
3450
|
ref: c,
|
|
3416
3451
|
onSearch: h,
|
|
3417
|
-
onClear: E[0] || (E[0] = (
|
|
3418
|
-
},
|
|
3452
|
+
onClear: E[0] || (E[0] = (L) => n("clear"))
|
|
3453
|
+
}, we({ _: 2 }, [
|
|
3419
3454
|
r.requiredTip ? {
|
|
3420
3455
|
name: "requiredTip",
|
|
3421
|
-
fn:
|
|
3422
|
-
(u(),
|
|
3456
|
+
fn: R(() => [
|
|
3457
|
+
(u(), k(ue(r.requiredTip)))
|
|
3423
3458
|
]),
|
|
3424
3459
|
key: "0"
|
|
3425
3460
|
} : void 0
|
|
3426
3461
|
]), 1536),
|
|
3427
|
-
P(
|
|
3462
|
+
P(Ei, {
|
|
3428
3463
|
ref_key: "dropdownRef",
|
|
3429
3464
|
ref: d,
|
|
3430
|
-
onLoadMore: E[1] || (E[1] = (
|
|
3431
|
-
},
|
|
3465
|
+
onLoadMore: E[1] || (E[1] = (L) => n("loadMore"))
|
|
3466
|
+
}, we({ _: 2 }, [
|
|
3432
3467
|
r.item ? {
|
|
3433
3468
|
name: "item",
|
|
3434
|
-
fn:
|
|
3469
|
+
fn: R(({ option: L, isSelected: j, toggle: V }) => [
|
|
3435
3470
|
B(Q.$slots, "item", {
|
|
3436
|
-
option:
|
|
3471
|
+
option: L,
|
|
3437
3472
|
isSelected: j,
|
|
3438
|
-
toggle:
|
|
3473
|
+
toggle: V
|
|
3439
3474
|
}, void 0, !0)
|
|
3440
3475
|
]),
|
|
3441
3476
|
key: "0"
|
|
3442
3477
|
} : void 0,
|
|
3443
3478
|
r.empty ? {
|
|
3444
3479
|
name: "empty",
|
|
3445
|
-
fn:
|
|
3480
|
+
fn: R(() => [
|
|
3446
3481
|
B(Q.$slots, "empty", {}, void 0, !0)
|
|
3447
3482
|
]),
|
|
3448
3483
|
key: "1"
|
|
3449
3484
|
} : void 0
|
|
3450
3485
|
]), 1536)
|
|
3451
3486
|
], 512),
|
|
3452
|
-
P(
|
|
3487
|
+
P(Li, null, we({ _: 2 }, [
|
|
3453
3488
|
r.selectedItem ? {
|
|
3454
3489
|
name: "selectedItem",
|
|
3455
|
-
fn:
|
|
3490
|
+
fn: R(({ option: L, remove: j }) => [
|
|
3456
3491
|
B(Q.$slots, "selectedItem", {
|
|
3457
|
-
option:
|
|
3492
|
+
option: L,
|
|
3458
3493
|
remove: j
|
|
3459
3494
|
}, void 0, !0)
|
|
3460
3495
|
]),
|
|
@@ -3463,7 +3498,7 @@ const mi = {
|
|
|
3463
3498
|
]), 1024)
|
|
3464
3499
|
]));
|
|
3465
3500
|
}
|
|
3466
|
-
}),
|
|
3501
|
+
}), Ul = /* @__PURE__ */ W(wi, [["__scopeId", "data-v-fd810890"]]), Si = { class: "item-container" }, ki = /* @__PURE__ */ O({
|
|
3467
3502
|
__name: "AvMultiselect",
|
|
3468
3503
|
props: {
|
|
3469
3504
|
disabled: { type: Boolean },
|
|
@@ -3500,7 +3535,7 @@ const mi = {
|
|
|
3500
3535
|
return a.modelValue.some((h) => h.value === f.value);
|
|
3501
3536
|
}
|
|
3502
3537
|
function l(f) {
|
|
3503
|
-
return A(f) ?
|
|
3538
|
+
return A(f) ? Y.CHECKBOX_MARKED : Y.CHECKBOX_BLANK_OUTLINE;
|
|
3504
3539
|
}
|
|
3505
3540
|
function s(f) {
|
|
3506
3541
|
return A(f) ? "var(--dark-background-primary1)" : "var(--icon)";
|
|
@@ -3532,21 +3567,21 @@ const mi = {
|
|
|
3532
3567
|
"filtering-keys": ["label"],
|
|
3533
3568
|
"onUpdate:modelValue": h[0] || (h[0] = (m) => d(m))
|
|
3534
3569
|
}), {
|
|
3535
|
-
"checkbox-label":
|
|
3536
|
-
y("div",
|
|
3570
|
+
"checkbox-label": R(({ option: m }) => [
|
|
3571
|
+
y("div", Si, [
|
|
3537
3572
|
P(I, {
|
|
3538
3573
|
class: "option-checkbox",
|
|
3539
3574
|
name: l(m),
|
|
3540
3575
|
color: s(m),
|
|
3541
3576
|
size: 1.5
|
|
3542
3577
|
}, null, 8, ["name", "color"]),
|
|
3543
|
-
m.icon ? (u(),
|
|
3578
|
+
m.icon ? (u(), k(I, {
|
|
3544
3579
|
key: 0,
|
|
3545
3580
|
class: "option-icon",
|
|
3546
3581
|
name: m.icon,
|
|
3547
3582
|
color: s(m),
|
|
3548
3583
|
size: 1.5
|
|
3549
|
-
}, null, 8, ["name", "color"])) :
|
|
3584
|
+
}, null, 8, ["name", "color"])) : D("", !0),
|
|
3550
3585
|
y("span", {
|
|
3551
3586
|
class: F(c(m))
|
|
3552
3587
|
}, Z(m.label), 3)
|
|
@@ -3557,7 +3592,7 @@ const mi = {
|
|
|
3557
3592
|
], 2);
|
|
3558
3593
|
};
|
|
3559
3594
|
}
|
|
3560
|
-
}),
|
|
3595
|
+
}), Xl = /* @__PURE__ */ W(ki, [["__scopeId", "data-v-4cc765fa"]]), Hl = {
|
|
3561
3596
|
name: "AvSelect",
|
|
3562
3597
|
props: {
|
|
3563
3598
|
modelValue: [String, Number],
|
|
@@ -3581,7 +3616,7 @@ const mi = {
|
|
|
3581
3616
|
</option>
|
|
3582
3617
|
</select>
|
|
3583
3618
|
`
|
|
3584
|
-
},
|
|
3619
|
+
}, zi = /* @__PURE__ */ O({
|
|
3585
3620
|
__name: "AvSelect",
|
|
3586
3621
|
props: {
|
|
3587
3622
|
required: { type: Boolean },
|
|
@@ -3615,7 +3650,7 @@ const mi = {
|
|
|
3615
3650
|
}), null, 16, ["title"])
|
|
3616
3651
|
], 2));
|
|
3617
3652
|
}
|
|
3618
|
-
}),
|
|
3653
|
+
}), Zl = /* @__PURE__ */ W(zi, [["__scopeId", "data-v-d230e734"]]), ql = /* @__PURE__ */ O({
|
|
3619
3654
|
__name: "AvTab",
|
|
3620
3655
|
props: {
|
|
3621
3656
|
title: {},
|
|
@@ -3624,7 +3659,7 @@ const mi = {
|
|
|
3624
3659
|
setup(e) {
|
|
3625
3660
|
return (t, a) => B(t.$slots, "default");
|
|
3626
3661
|
}
|
|
3627
|
-
}),
|
|
3662
|
+
}), xi = /* @__PURE__ */ O({
|
|
3628
3663
|
__name: "AvTabs",
|
|
3629
3664
|
props: {
|
|
3630
3665
|
ariaLabel: {},
|
|
@@ -3659,46 +3694,46 @@ const mi = {
|
|
|
3659
3694
|
n("update:modelValue", h);
|
|
3660
3695
|
}), t({ activeTab: i }), (h, I) => {
|
|
3661
3696
|
const m = ba, C = ha, M = Ia;
|
|
3662
|
-
return u(),
|
|
3697
|
+
return u(), k(M, {
|
|
3663
3698
|
modelValue: o(i),
|
|
3664
3699
|
"onUpdate:modelValue": I[0] || (I[0] = (T) => At(i) ? i.value = T : null),
|
|
3665
3700
|
class: F({ compact: e.compact }),
|
|
3666
3701
|
"tab-list-name": e.ariaLabel ?? "Liste d’onglets",
|
|
3667
3702
|
"tab-titles": []
|
|
3668
3703
|
}, {
|
|
3669
|
-
"tab-items":
|
|
3704
|
+
"tab-items": R(() => [
|
|
3670
3705
|
(u(!0), g(_, null, re(o(A), (T, Q) => {
|
|
3671
3706
|
var E;
|
|
3672
|
-
return u(),
|
|
3707
|
+
return u(), k(m, {
|
|
3673
3708
|
key: Q,
|
|
3674
3709
|
class: F({ compact: e.compact }),
|
|
3675
3710
|
"tab-id": `tab-${Q}`,
|
|
3676
3711
|
"panel-id": `panel-${Q}`,
|
|
3677
3712
|
icon: (E = T.props) == null ? void 0 : E.icon,
|
|
3678
|
-
onClick: (
|
|
3713
|
+
onClick: (L) => i.value = Q,
|
|
3679
3714
|
onNext: c,
|
|
3680
3715
|
onPrevious: s,
|
|
3681
3716
|
onFirst: d,
|
|
3682
3717
|
onLast: f
|
|
3683
3718
|
}, {
|
|
3684
|
-
default:
|
|
3685
|
-
var
|
|
3719
|
+
default: R(() => {
|
|
3720
|
+
var L;
|
|
3686
3721
|
return [
|
|
3687
|
-
rt(Z((
|
|
3722
|
+
rt(Z((L = T.props) == null ? void 0 : L.title), 1)
|
|
3688
3723
|
];
|
|
3689
3724
|
}),
|
|
3690
3725
|
_: 2
|
|
3691
3726
|
}, 1032, ["class", "tab-id", "panel-id", "icon", "onClick"]);
|
|
3692
3727
|
}), 128))
|
|
3693
3728
|
]),
|
|
3694
|
-
default:
|
|
3695
|
-
(u(!0), g(_, null, re(o(A), (T, Q) => (u(),
|
|
3729
|
+
default: R(() => [
|
|
3730
|
+
(u(!0), g(_, null, re(o(A), (T, Q) => (u(), k(C, {
|
|
3696
3731
|
key: Q,
|
|
3697
3732
|
"panel-id": `panel-${Q}`,
|
|
3698
3733
|
"tab-id": `tab-${Q}`
|
|
3699
3734
|
}, {
|
|
3700
|
-
default:
|
|
3701
|
-
(u(),
|
|
3735
|
+
default: R(() => [
|
|
3736
|
+
(u(), k(ue(T.children.default)))
|
|
3702
3737
|
]),
|
|
3703
3738
|
_: 2
|
|
3704
3739
|
}, 1032, ["panel-id", "tab-id"]))), 128))
|
|
@@ -3707,16 +3742,16 @@ const mi = {
|
|
|
3707
3742
|
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
3708
3743
|
};
|
|
3709
3744
|
}
|
|
3710
|
-
}),
|
|
3745
|
+
}), Yl = /* @__PURE__ */ W(xi, [["__scopeId", "data-v-dbd71c5f"]]), ji = "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", Bi = "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", Pi = ["id", "for"], Wi = {
|
|
3711
3746
|
width: "34",
|
|
3712
3747
|
height: "14"
|
|
3713
|
-
},
|
|
3748
|
+
}, Vi = ["href"], Ui = {
|
|
3714
3749
|
key: 0,
|
|
3715
3750
|
class: "caption-bold no-select"
|
|
3716
|
-
},
|
|
3751
|
+
}, Xi = {
|
|
3717
3752
|
key: 1,
|
|
3718
3753
|
class: "caption-regular no-select"
|
|
3719
|
-
},
|
|
3754
|
+
}, Hi = { class: "caption-regular" }, Zi = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], qi = /* @__PURE__ */ O({
|
|
3720
3755
|
__name: "AvToggle",
|
|
3721
3756
|
props: {
|
|
3722
3757
|
modelValue: { type: Boolean },
|
|
@@ -3743,17 +3778,17 @@ const mi = {
|
|
|
3743
3778
|
"toggle--disabled": e.disabled
|
|
3744
3779
|
}])
|
|
3745
3780
|
}, [
|
|
3746
|
-
(u(), g("svg",
|
|
3781
|
+
(u(), g("svg", Wi, [
|
|
3747
3782
|
y("image", {
|
|
3748
|
-
href: e.modelValue ? o(
|
|
3783
|
+
href: e.modelValue ? o(ji) : o(Bi),
|
|
3749
3784
|
width: "34",
|
|
3750
3785
|
height: "14"
|
|
3751
|
-
}, null, 8,
|
|
3786
|
+
}, null, 8, Vi)
|
|
3752
3787
|
])),
|
|
3753
|
-
e.modelValue ? (u(), g("span",
|
|
3788
|
+
e.modelValue ? (u(), g("span", Ui, Z(e.activeText), 1)) : (u(), g("span", Xi, Z(e.inactiveText), 1))
|
|
3754
3789
|
], 2),
|
|
3755
|
-
y("span",
|
|
3756
|
-
], 10,
|
|
3790
|
+
y("span", Hi, Z(e.description), 1)
|
|
3791
|
+
], 10, Pi),
|
|
3757
3792
|
y("input", {
|
|
3758
3793
|
id: o(a),
|
|
3759
3794
|
style: { visibility: "hidden" },
|
|
@@ -3765,13 +3800,13 @@ const mi = {
|
|
|
3765
3800
|
"aria-describedby": o(n),
|
|
3766
3801
|
name: e.name,
|
|
3767
3802
|
onInput: i[0] || (i[0] = (A) => r.$emit("update:modelValue", A.target.checked))
|
|
3768
|
-
}, null, 40,
|
|
3803
|
+
}, null, 40, Zi)
|
|
3769
3804
|
], 64));
|
|
3770
3805
|
}
|
|
3771
|
-
}),
|
|
3806
|
+
}), Rl = /* @__PURE__ */ W(qi, [["__scopeId", "data-v-0aabed11"]]), Yi = {
|
|
3772
3807
|
style: { position: "relative" },
|
|
3773
3808
|
class: "my-nav-wrapper"
|
|
3774
|
-
},
|
|
3809
|
+
}, Ri = /* @__PURE__ */ O({
|
|
3775
3810
|
__name: "AvNavigation",
|
|
3776
3811
|
props: {
|
|
3777
3812
|
navItems: {}
|
|
@@ -3780,18 +3815,18 @@ const mi = {
|
|
|
3780
3815
|
const t = e;
|
|
3781
3816
|
return (a, n) => {
|
|
3782
3817
|
const r = Ca;
|
|
3783
|
-
return u(), g("div",
|
|
3784
|
-
P(r, Da(
|
|
3818
|
+
return u(), g("div", Yi, [
|
|
3819
|
+
P(r, Da(La(t)), null, 16)
|
|
3785
3820
|
]);
|
|
3786
3821
|
};
|
|
3787
3822
|
}
|
|
3788
|
-
}),
|
|
3823
|
+
}), Fl = /* @__PURE__ */ W(Ri, [["__scopeId", "data-v-433349ab"]]), Fi = ["aria-label"], Ki = { class: "fr-pagination__list" }, Gi = { key: 0 }, Ji = { class: "b2-regular" }, _i = ["href", "title", "aria-disabled"], $i = { class: "fr-sr-only" }, eo = ["href", "title", "aria-disabled"], to = {
|
|
3789
3824
|
key: 0,
|
|
3790
3825
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3791
|
-
},
|
|
3826
|
+
}, ao = ["href", "title", "aria-current", "onClick"], no = { key: 0 }, ro = { key: 1 }, Ao = ["href", "title", "disabled", "aria-disabled"], io = {
|
|
3792
3827
|
key: 0,
|
|
3793
3828
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3794
|
-
},
|
|
3829
|
+
}, oo = ["href", "title", "disabled", "aria-disabled"], lo = { class: "fr-sr-only" }, so = /* @__PURE__ */ O({
|
|
3795
3830
|
__name: "AvPagination",
|
|
3796
3831
|
props: {
|
|
3797
3832
|
compact: { type: Boolean, default: !1 },
|
|
@@ -3815,12 +3850,12 @@ const mi = {
|
|
|
3815
3850
|
class: "fr-pagination",
|
|
3816
3851
|
"aria-label": e.ariaLabel
|
|
3817
3852
|
}, [
|
|
3818
|
-
y("ul",
|
|
3819
|
-
e.compact && e.compactCurrentPageLabel ? (u(), g("li",
|
|
3820
|
-
y("span",
|
|
3821
|
-
])) :
|
|
3853
|
+
y("ul", Ki, [
|
|
3854
|
+
e.compact && e.compactCurrentPageLabel ? (u(), g("li", Gi, [
|
|
3855
|
+
y("span", Ji, Z(e.compactCurrentPageLabel), 1)
|
|
3856
|
+
])) : D("", !0),
|
|
3822
3857
|
y("li", null, [
|
|
3823
|
-
e.compact ?
|
|
3858
|
+
e.compact ? D("", !0) : (u(), g("a", {
|
|
3824
3859
|
key: 0,
|
|
3825
3860
|
href: (C = e.pages[0]) == null ? void 0 : C.href,
|
|
3826
3861
|
class: "fr-pagination__link",
|
|
@@ -3829,12 +3864,12 @@ const mi = {
|
|
|
3829
3864
|
onClick: m[0] || (m[0] = se((E) => s(), ["prevent"]))
|
|
3830
3865
|
}, [
|
|
3831
3866
|
P(ne, {
|
|
3832
|
-
name: o(
|
|
3867
|
+
name: o(Y).PAGE_FIRST,
|
|
3833
3868
|
size: 1.5,
|
|
3834
3869
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3835
3870
|
}, null, 8, ["name", "color"]),
|
|
3836
|
-
y("span",
|
|
3837
|
-
], 8,
|
|
3871
|
+
y("span", $i, Z(e.firstPageLabel), 1)
|
|
3872
|
+
], 8, _i))
|
|
3838
3873
|
]),
|
|
3839
3874
|
y("li", null, [
|
|
3840
3875
|
y("a", {
|
|
@@ -3845,14 +3880,14 @@ const mi = {
|
|
|
3845
3880
|
onClick: m[1] || (m[1] = se((E) => c(), ["prevent"]))
|
|
3846
3881
|
}, [
|
|
3847
3882
|
P(ne, {
|
|
3848
|
-
name: o(
|
|
3883
|
+
name: o(Y).NAVIGATE_BEFORE,
|
|
3849
3884
|
size: 1.5,
|
|
3850
3885
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3851
3886
|
}, null, 8, ["name", "color"]),
|
|
3852
|
-
e.compact ?
|
|
3853
|
-
], 8,
|
|
3887
|
+
e.compact ? D("", !0) : (u(), g("span", to, Z(e.prevPageLabel), 1))
|
|
3888
|
+
], 8, eo)
|
|
3854
3889
|
]),
|
|
3855
|
-
e.compact ?
|
|
3890
|
+
e.compact ? D("", !0) : (u(!0), g(_, { key: 1 }, re(o(i), (E, L) => (u(), g("li", { key: L }, [
|
|
3856
3891
|
y("a", {
|
|
3857
3892
|
href: E == null ? void 0 : E.href,
|
|
3858
3893
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
@@ -3860,10 +3895,10 @@ const mi = {
|
|
|
3860
3895
|
"aria-current": h(E) ? "page" : void 0,
|
|
3861
3896
|
onClick: se((j) => l(e.pages.indexOf(E)), ["prevent"])
|
|
3862
3897
|
}, [
|
|
3863
|
-
o(i).indexOf(E) === 0 && o(n) > 0 ? (u(), g("span",
|
|
3898
|
+
o(i).indexOf(E) === 0 && o(n) > 0 ? (u(), g("span", no, "...")) : D("", !0),
|
|
3864
3899
|
rt(" " + Z(E.label) + " ", 1),
|
|
3865
|
-
o(i).indexOf(E) === o(i).length - 1 && o(r) < e.pages.length - 1 ? (u(), g("span",
|
|
3866
|
-
], 8,
|
|
3900
|
+
o(i).indexOf(E) === o(i).length - 1 && o(r) < e.pages.length - 1 ? (u(), g("span", ro, "...")) : D("", !0)
|
|
3901
|
+
], 8, ao)
|
|
3867
3902
|
]))), 128)),
|
|
3868
3903
|
y("li", null, [
|
|
3869
3904
|
y("a", {
|
|
@@ -3874,16 +3909,16 @@ const mi = {
|
|
|
3874
3909
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3875
3910
|
onClick: m[2] || (m[2] = se((E) => d(), ["prevent"]))
|
|
3876
3911
|
}, [
|
|
3877
|
-
e.compact ?
|
|
3912
|
+
e.compact ? D("", !0) : (u(), g("span", io, Z(e.nextPageLabel), 1)),
|
|
3878
3913
|
P(ne, {
|
|
3879
|
-
name: o(
|
|
3914
|
+
name: o(Y).NAVIGATE_NEXT,
|
|
3880
3915
|
size: 1.5,
|
|
3881
3916
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3882
3917
|
}, null, 8, ["name", "color"])
|
|
3883
|
-
], 8,
|
|
3918
|
+
], 8, Ao)
|
|
3884
3919
|
]),
|
|
3885
3920
|
y("li", null, [
|
|
3886
|
-
e.compact ?
|
|
3921
|
+
e.compact ? D("", !0) : (u(), g("a", {
|
|
3887
3922
|
key: 0,
|
|
3888
3923
|
class: "fr-pagination__link",
|
|
3889
3924
|
href: (Q = e.pages.at(-1)) == null ? void 0 : Q.href,
|
|
@@ -3892,20 +3927,20 @@ const mi = {
|
|
|
3892
3927
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3893
3928
|
onClick: m[3] || (m[3] = se((E) => f(), ["prevent"]))
|
|
3894
3929
|
}, [
|
|
3895
|
-
y("span",
|
|
3930
|
+
y("span", lo, Z(e.lastPageLabel), 1),
|
|
3896
3931
|
P(ne, {
|
|
3897
|
-
name: o(
|
|
3932
|
+
name: o(Y).PAGE_LAST,
|
|
3898
3933
|
size: 1.5,
|
|
3899
3934
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3900
3935
|
}, null, 8, ["name", "color"])
|
|
3901
|
-
], 8,
|
|
3936
|
+
], 8, oo))
|
|
3902
3937
|
])
|
|
3903
3938
|
])
|
|
3904
|
-
], 8,
|
|
3939
|
+
], 8, Fi);
|
|
3905
3940
|
};
|
|
3906
3941
|
}
|
|
3907
|
-
}),
|
|
3908
|
-
function
|
|
3942
|
+
}), Kl = /* @__PURE__ */ W(so, [["__scopeId", "data-v-ccfe7c3a"]]);
|
|
3943
|
+
function Gl(e) {
|
|
3909
3944
|
return Array.from({ length: e.value }, (t, a) => {
|
|
3910
3945
|
const n = a + 1;
|
|
3911
3946
|
return {
|
|
@@ -3915,10 +3950,10 @@ function Rl(e) {
|
|
|
3915
3950
|
};
|
|
3916
3951
|
});
|
|
3917
3952
|
}
|
|
3918
|
-
const
|
|
3953
|
+
const co = ["id", "aria-label"], uo = {
|
|
3919
3954
|
key: 0,
|
|
3920
3955
|
class: "av-side-menu__header"
|
|
3921
|
-
},
|
|
3956
|
+
}, fo = { class: "av-side-menu__content" }, vo = /* @__PURE__ */ O({
|
|
3922
3957
|
__name: "AvSideMenu",
|
|
3923
3958
|
props: /* @__PURE__ */ ve({
|
|
3924
3959
|
id: {},
|
|
@@ -3951,23 +3986,23 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
3951
3986
|
class: F(["av-side-menu", { "av-side-menu--collapsed": o(l) }]),
|
|
3952
3987
|
"aria-label": o(A)
|
|
3953
3988
|
}, [
|
|
3954
|
-
t.collapsible ? (u(), g("div",
|
|
3955
|
-
P(
|
|
3989
|
+
t.collapsible ? (u(), g("div", uo, [
|
|
3990
|
+
P(me, {
|
|
3956
3991
|
"aria-expanded": !o(l),
|
|
3957
3992
|
"aria-controls": o(i),
|
|
3958
|
-
icon: o(l) ? o(
|
|
3993
|
+
icon: o(l) ? o(Y).CHEVRON_DOUBLE_RIGHT : o(Y).CHEVRON_DOUBLE_LEFT,
|
|
3959
3994
|
class: "av-side-menu__collapse-button",
|
|
3960
3995
|
label: o(l) ? `${o(i)}-expand-button` : `${o(i)}-collapse-button`,
|
|
3961
3996
|
"icon-only": "",
|
|
3962
3997
|
onClick: c
|
|
3963
3998
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
3964
|
-
])) :
|
|
3965
|
-
y("div",
|
|
3999
|
+
])) : D("", !0),
|
|
4000
|
+
y("div", fo, [
|
|
3966
4001
|
B(d.$slots, "default", {}, void 0, !0)
|
|
3967
4002
|
])
|
|
3968
|
-
], 10,
|
|
4003
|
+
], 10, co));
|
|
3969
4004
|
}
|
|
3970
|
-
}),
|
|
4005
|
+
}), mo = /* @__PURE__ */ W(vo, [["__scopeId", "data-v-23242ccc"]]), Jl = {
|
|
3971
4006
|
name: "AvSideNavigation",
|
|
3972
4007
|
props: {
|
|
3973
4008
|
items: Array,
|
|
@@ -3977,7 +4012,7 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
3977
4012
|
},
|
|
3978
4013
|
emits: ["update:selectedItem", "update:isSideMenuCollapsed"],
|
|
3979
4014
|
template: `<div class="av-side-navigation-stub" @click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)" />`
|
|
3980
|
-
},
|
|
4015
|
+
}, go = /* @__PURE__ */ O({
|
|
3981
4016
|
__name: "AvSideNavigation",
|
|
3982
4017
|
props: /* @__PURE__ */ ve({
|
|
3983
4018
|
items: {},
|
|
@@ -3999,19 +4034,19 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
3999
4034
|
function n(r) {
|
|
4000
4035
|
t.value = r;
|
|
4001
4036
|
}
|
|
4002
|
-
return (r, i) => (u(),
|
|
4037
|
+
return (r, i) => (u(), k(mo, {
|
|
4003
4038
|
collapsed: a.value,
|
|
4004
4039
|
"onUpdate:collapsed": i[0] || (i[0] = (A) => a.value = A),
|
|
4005
4040
|
"collapsed-width": e.collapsedWidth,
|
|
4006
4041
|
color: e.selectedItemColor
|
|
4007
4042
|
}, {
|
|
4008
|
-
default:
|
|
4043
|
+
default: R(() => [
|
|
4009
4044
|
P(o(Vt), {
|
|
4010
4045
|
size: "small",
|
|
4011
4046
|
role: "menu"
|
|
4012
4047
|
}, {
|
|
4013
|
-
default:
|
|
4014
|
-
(u(!0), g(_, null, re(e.items, (A) => (u(),
|
|
4048
|
+
default: R(() => [
|
|
4049
|
+
(u(!0), g(_, null, re(e.items, (A) => (u(), k(o(Ut), {
|
|
4015
4050
|
key: A.id,
|
|
4016
4051
|
title: a.value ? void 0 : A.label,
|
|
4017
4052
|
icon: A.icon,
|
|
@@ -4033,7 +4068,7 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4033
4068
|
_: 1
|
|
4034
4069
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
4035
4070
|
}
|
|
4036
|
-
}),
|
|
4071
|
+
}), _l = /* @__PURE__ */ W(go, [["__scopeId", "data-v-3c5a1abd"]]), $l = {
|
|
4037
4072
|
name: "AvStepper",
|
|
4038
4073
|
props: {
|
|
4039
4074
|
steps: {
|
|
@@ -4057,7 +4092,7 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4057
4092
|
</div>
|
|
4058
4093
|
</div>
|
|
4059
4094
|
`
|
|
4060
|
-
},
|
|
4095
|
+
}, Io = { class: "custom-width-container" }, ho = { class: "block-container" }, bo = { class: "main-container" }, Co = ["aria-current"], yo = ["aria-current"], Eo = { class: "b1-regular" }, Mo = { class: "main-labels-container" }, po = /* @__PURE__ */ O({
|
|
4061
4096
|
__name: "AvStepper",
|
|
4062
4097
|
props: {
|
|
4063
4098
|
steps: {},
|
|
@@ -4069,15 +4104,15 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4069
4104
|
v06d1bdf1: o(r)
|
|
4070
4105
|
}));
|
|
4071
4106
|
const t = e, { steps: a, currentStep: n, width: r } = it(t);
|
|
4072
|
-
return (i, A) => (u(), g("div",
|
|
4073
|
-
y("div",
|
|
4074
|
-
y("div",
|
|
4107
|
+
return (i, A) => (u(), g("div", Io, [
|
|
4108
|
+
y("div", ho, [
|
|
4109
|
+
y("div", bo, [
|
|
4075
4110
|
y("div", {
|
|
4076
4111
|
class: "step step--active",
|
|
4077
4112
|
"aria-current": o(n) === 0 ? "step" : void 0
|
|
4078
4113
|
}, [...A[0] || (A[0] = [
|
|
4079
4114
|
y("span", { class: "b1-regular" }, "1", -1)
|
|
4080
|
-
])], 8,
|
|
4115
|
+
])], 8, Co),
|
|
4081
4116
|
(u(!0), g(_, null, re(o(a).slice(1, o(a).length), (l, s) => (u(), g("div", {
|
|
4082
4117
|
key: s,
|
|
4083
4118
|
class: "steps-container"
|
|
@@ -4089,11 +4124,11 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4089
4124
|
class: F(["step", { "step--active": s + 1 <= o(n) }]),
|
|
4090
4125
|
"aria-current": s + 1 === o(n) ? "step" : void 0
|
|
4091
4126
|
}, [
|
|
4092
|
-
y("span",
|
|
4093
|
-
], 10,
|
|
4127
|
+
y("span", Eo, Z(s + 2), 1)
|
|
4128
|
+
], 10, yo)
|
|
4094
4129
|
]))), 128))
|
|
4095
4130
|
]),
|
|
4096
|
-
y("div",
|
|
4131
|
+
y("div", Mo, [
|
|
4097
4132
|
(u(!0), g(_, null, re(o(a), (l, s) => (u(), g("div", {
|
|
4098
4133
|
key: s,
|
|
4099
4134
|
class: "label-container"
|
|
@@ -4109,18 +4144,18 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4109
4144
|
])
|
|
4110
4145
|
]));
|
|
4111
4146
|
}
|
|
4112
|
-
}),
|
|
4147
|
+
}), es = /* @__PURE__ */ W(po, [["__scopeId", "data-v-26a5b40e"]]), ts = {
|
|
4113
4148
|
name: "AvDrawer",
|
|
4114
4149
|
props: ["show", "position", "width"],
|
|
4115
4150
|
emits: ["escape-pressed"],
|
|
4116
4151
|
template: '<div class="av-drawer-stub"><slot /><slot name="footer" /></div>'
|
|
4117
|
-
},
|
|
4152
|
+
}, No = { key: 0 }, To = {
|
|
4118
4153
|
key: 0,
|
|
4119
4154
|
class: "av-drawer-backdrop"
|
|
4120
|
-
},
|
|
4155
|
+
}, Qo = ["aria-label"], Do = { class: "av-drawer__content-wrapper" }, Lo = { class: "av-drawer__content" }, Oo = {
|
|
4121
4156
|
key: 0,
|
|
4122
4157
|
class: "footer-container"
|
|
4123
|
-
},
|
|
4158
|
+
}, wo = /* @__PURE__ */ O({
|
|
4124
4159
|
__name: "AvDrawer",
|
|
4125
4160
|
props: {
|
|
4126
4161
|
show: { type: Boolean },
|
|
@@ -4137,8 +4172,8 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4137
4172
|
v7249d1b4: o(l)
|
|
4138
4173
|
}));
|
|
4139
4174
|
const a = e, n = t, r = ie(), { position: i, width: A, padding: l } = it(a);
|
|
4140
|
-
return (s, c) => e.show ? (u(), g("div",
|
|
4141
|
-
e.backdrop ? (u(), g("div",
|
|
4175
|
+
return (s, c) => e.show ? (u(), g("div", No, [
|
|
4176
|
+
e.backdrop ? (u(), g("div", To)) : D("", !0),
|
|
4142
4177
|
y("div", {
|
|
4143
4178
|
class: F(["av-drawer", `av-drawer--${o(i)}`]),
|
|
4144
4179
|
role: "dialog",
|
|
@@ -4146,24 +4181,23 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4146
4181
|
"aria-label": e.ariaLabel,
|
|
4147
4182
|
onKeydown: c[0] || (c[0] = ot((d) => n("escapePressed"), ["esc"]))
|
|
4148
4183
|
}, [
|
|
4149
|
-
y("div",
|
|
4150
|
-
y("div",
|
|
4184
|
+
y("div", Do, [
|
|
4185
|
+
y("div", Lo, [
|
|
4151
4186
|
B(s.$slots, "default", {}, void 0, !0)
|
|
4152
4187
|
]),
|
|
4153
|
-
r.footer ? (u(), g("div",
|
|
4188
|
+
r.footer ? (u(), g("div", Oo, [
|
|
4154
4189
|
B(s.$slots, "footer", {}, void 0, !0)
|
|
4155
|
-
])) :
|
|
4190
|
+
])) : D("", !0)
|
|
4156
4191
|
])
|
|
4157
|
-
], 42,
|
|
4158
|
-
])) :
|
|
4192
|
+
], 42, Qo)
|
|
4193
|
+
])) : D("", !0);
|
|
4159
4194
|
}
|
|
4160
|
-
}),
|
|
4195
|
+
}), as = /* @__PURE__ */ W(wo, [["__scopeId", "data-v-4b1b7481"]]), So = {
|
|
4161
4196
|
key: 0,
|
|
4162
4197
|
class: "header"
|
|
4163
|
-
},
|
|
4198
|
+
}, ko = { class: "footer" }, zo = /* @__PURE__ */ O({
|
|
4164
4199
|
__name: "AvModal",
|
|
4165
4200
|
props: {
|
|
4166
|
-
closeButtonVariant: {},
|
|
4167
4201
|
modalId: {},
|
|
4168
4202
|
opened: { type: Boolean },
|
|
4169
4203
|
isAlert: { type: Boolean },
|
|
@@ -4171,35 +4205,37 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4171
4205
|
icon: {},
|
|
4172
4206
|
size: {},
|
|
4173
4207
|
closeButtonLabel: {},
|
|
4208
|
+
confirmButtonLabel: {},
|
|
4209
|
+
confirmButtonIcon: {},
|
|
4174
4210
|
isLoading: { type: Boolean }
|
|
4175
4211
|
},
|
|
4176
|
-
emits: ["close"],
|
|
4212
|
+
emits: ["close", "confirm"],
|
|
4177
4213
|
setup(e, { emit: t }) {
|
|
4178
|
-
const a =
|
|
4214
|
+
const a = wt(e, ["isLoading"]), n = t, r = ie(), i = p(() => a.confirmButtonIcon ?? Y.CHECK_CIRCLE_OUTLINE);
|
|
4179
4215
|
return (A, l) => {
|
|
4180
|
-
const s = ya;
|
|
4181
|
-
return u(),
|
|
4182
|
-
P(
|
|
4216
|
+
const s = Wn, c = ya;
|
|
4217
|
+
return u(), k(zt, { to: "body" }, [
|
|
4218
|
+
P(c, ee(a, {
|
|
4183
4219
|
title: "",
|
|
4184
|
-
onKeydown: l[
|
|
4220
|
+
onKeydown: l[2] || (l[2] = ot((d) => n("close"), ["esc"]))
|
|
4185
4221
|
}), {
|
|
4186
|
-
default:
|
|
4187
|
-
r.header ? (u(), g("div",
|
|
4222
|
+
default: R(() => [
|
|
4223
|
+
r.header ? (u(), g("div", So, [
|
|
4188
4224
|
B(A.$slots, "header", {}, void 0, !0)
|
|
4189
|
-
])) :
|
|
4225
|
+
])) : D("", !0),
|
|
4190
4226
|
B(A.$slots, "default", {}, void 0, !0)
|
|
4191
4227
|
]),
|
|
4192
|
-
footer:
|
|
4193
|
-
y("div",
|
|
4194
|
-
P(
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4228
|
+
footer: R(() => [
|
|
4229
|
+
y("div", ko, [
|
|
4230
|
+
P(s, {
|
|
4231
|
+
"cancel-label": a.closeButtonLabel,
|
|
4232
|
+
"cancel-icon": o(Y).CLOSE_CIRCLE_OUTLINE,
|
|
4233
|
+
"confirm-label": a.confirmButtonLabel,
|
|
4234
|
+
"confirm-icon": o(i),
|
|
4199
4235
|
"is-loading": e.isLoading,
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
}, null, 8, ["
|
|
4236
|
+
onCancel: l[0] || (l[0] = () => n("close")),
|
|
4237
|
+
onConfirm: l[1] || (l[1] = () => n("confirm"))
|
|
4238
|
+
}, null, 8, ["cancel-label", "cancel-icon", "confirm-label", "confirm-icon", "is-loading"]),
|
|
4203
4239
|
B(A.$slots, "footer", {}, void 0, !0)
|
|
4204
4240
|
])
|
|
4205
4241
|
]),
|
|
@@ -4208,8 +4244,8 @@ const oo = ["id", "aria-label"], lo = {
|
|
|
4208
4244
|
]);
|
|
4209
4245
|
};
|
|
4210
4246
|
}
|
|
4211
|
-
}),
|
|
4212
|
-
function
|
|
4247
|
+
}), ns = /* @__PURE__ */ W(zo, [["__scopeId", "data-v-3dea2f11"]]);
|
|
4248
|
+
function xo(e, t) {
|
|
4213
4249
|
const a = J(!1), n = J({ top: 0, left: 0 }), r = async () => {
|
|
4214
4250
|
if (a.value = !a.value, a.value && e.value) {
|
|
4215
4251
|
await Re();
|
|
@@ -4241,7 +4277,7 @@ function So(e, t) {
|
|
|
4241
4277
|
* tabbable 6.2.0
|
|
4242
4278
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4243
4279
|
*/
|
|
4244
|
-
var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], He = /* @__PURE__ */ Kt.join(","), Gt = typeof Element > "u",
|
|
4280
|
+
var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], He = /* @__PURE__ */ Kt.join(","), Gt = typeof Element > "u", Ce = Gt ? function() {
|
|
4245
4281
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Ze = !Gt && Element.prototype.getRootNode ? function(e) {
|
|
4246
4282
|
var t;
|
|
4247
4283
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -4252,14 +4288,14 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4252
4288
|
a === void 0 && (a = !0);
|
|
4253
4289
|
var r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), i = r === "" || r === "true", A = i || a && t && e(t.parentNode);
|
|
4254
4290
|
return A;
|
|
4255
|
-
},
|
|
4291
|
+
}, jo = function(t) {
|
|
4256
4292
|
var a, n = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
4257
4293
|
return n === "" || n === "true";
|
|
4258
4294
|
}, Jt = function(t, a, n) {
|
|
4259
4295
|
if (qe(t))
|
|
4260
4296
|
return [];
|
|
4261
4297
|
var r = Array.prototype.slice.apply(t.querySelectorAll(He));
|
|
4262
|
-
return a &&
|
|
4298
|
+
return a && Ce.call(t, He) && r.unshift(t), r = r.filter(n), r;
|
|
4263
4299
|
}, _t = function e(t, a, n) {
|
|
4264
4300
|
for (var r = [], i = Array.from(t); i.length; ) {
|
|
4265
4301
|
var A = i.shift();
|
|
@@ -4271,7 +4307,7 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4271
4307
|
candidates: c
|
|
4272
4308
|
});
|
|
4273
4309
|
} else {
|
|
4274
|
-
var d =
|
|
4310
|
+
var d = Ce.call(A, He);
|
|
4275
4311
|
d && n.filter(A) && (a || !t.includes(A)) && r.push(A);
|
|
4276
4312
|
var f = A.shadowRoot || // check for an undisclosed shadow
|
|
4277
4313
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(A), h = !qe(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(A));
|
|
@@ -4288,29 +4324,29 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4288
4324
|
return r;
|
|
4289
4325
|
}, $t = function(t) {
|
|
4290
4326
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
4291
|
-
},
|
|
4327
|
+
}, be = function(t) {
|
|
4292
4328
|
if (!t)
|
|
4293
4329
|
throw new Error("No node provided");
|
|
4294
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
4295
|
-
},
|
|
4296
|
-
var n =
|
|
4330
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || jo(t)) && !$t(t) ? 0 : t.tabIndex;
|
|
4331
|
+
}, Bo = function(t, a) {
|
|
4332
|
+
var n = be(t);
|
|
4297
4333
|
return n < 0 && a && !$t(t) ? 0 : n;
|
|
4298
|
-
},
|
|
4334
|
+
}, Po = function(t, a) {
|
|
4299
4335
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
4300
4336
|
}, ea = function(t) {
|
|
4301
4337
|
return t.tagName === "INPUT";
|
|
4302
|
-
},
|
|
4338
|
+
}, Wo = function(t) {
|
|
4303
4339
|
return ea(t) && t.type === "hidden";
|
|
4304
|
-
},
|
|
4340
|
+
}, Vo = function(t) {
|
|
4305
4341
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
4306
4342
|
return n.tagName === "SUMMARY";
|
|
4307
4343
|
});
|
|
4308
4344
|
return a;
|
|
4309
|
-
},
|
|
4345
|
+
}, Uo = function(t, a) {
|
|
4310
4346
|
for (var n = 0; n < t.length; n++)
|
|
4311
4347
|
if (t[n].checked && t[n].form === a)
|
|
4312
4348
|
return t[n];
|
|
4313
|
-
},
|
|
4349
|
+
}, Xo = function(t) {
|
|
4314
4350
|
if (!t.name)
|
|
4315
4351
|
return !0;
|
|
4316
4352
|
var a = t.form || Ze(t), n = function(l) {
|
|
@@ -4324,13 +4360,13 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4324
4360
|
} catch (A) {
|
|
4325
4361
|
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", A.message), !1;
|
|
4326
4362
|
}
|
|
4327
|
-
var i =
|
|
4363
|
+
var i = Uo(r, t.form);
|
|
4328
4364
|
return !i || i === t;
|
|
4329
|
-
},
|
|
4365
|
+
}, Ho = function(t) {
|
|
4330
4366
|
return ea(t) && t.type === "radio";
|
|
4331
|
-
},
|
|
4332
|
-
return
|
|
4333
|
-
},
|
|
4367
|
+
}, Zo = function(t) {
|
|
4368
|
+
return Ho(t) && !Xo(t);
|
|
4369
|
+
}, qo = function(t) {
|
|
4334
4370
|
var a, n = t && Ze(t), r = (a = n) === null || a === void 0 ? void 0 : a.host, i = !1;
|
|
4335
4371
|
if (n && n !== t) {
|
|
4336
4372
|
var A, l, s;
|
|
@@ -4343,12 +4379,12 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4343
4379
|
}, Tt = function(t) {
|
|
4344
4380
|
var a = t.getBoundingClientRect(), n = a.width, r = a.height;
|
|
4345
4381
|
return n === 0 && r === 0;
|
|
4346
|
-
},
|
|
4382
|
+
}, Yo = function(t, a) {
|
|
4347
4383
|
var n = a.displayCheck, r = a.getShadowRoot;
|
|
4348
4384
|
if (getComputedStyle(t).visibility === "hidden")
|
|
4349
4385
|
return !0;
|
|
4350
|
-
var i =
|
|
4351
|
-
if (
|
|
4386
|
+
var i = Ce.call(t, "details>summary:first-of-type"), A = i ? t.parentElement : t;
|
|
4387
|
+
if (Ce.call(A, "details:not([open]) *"))
|
|
4352
4388
|
return !0;
|
|
4353
4389
|
if (!n || n === "full" || n === "legacy-full") {
|
|
4354
4390
|
if (typeof r == "function") {
|
|
@@ -4360,21 +4396,21 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4360
4396
|
}
|
|
4361
4397
|
t = l;
|
|
4362
4398
|
}
|
|
4363
|
-
if (
|
|
4399
|
+
if (qo(t))
|
|
4364
4400
|
return !t.getClientRects().length;
|
|
4365
4401
|
if (n !== "legacy-full")
|
|
4366
4402
|
return !0;
|
|
4367
4403
|
} else if (n === "non-zero-area")
|
|
4368
4404
|
return Tt(t);
|
|
4369
4405
|
return !1;
|
|
4370
|
-
},
|
|
4406
|
+
}, Ro = function(t) {
|
|
4371
4407
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
4372
4408
|
for (var a = t.parentElement; a; ) {
|
|
4373
4409
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
4374
4410
|
for (var n = 0; n < a.children.length; n++) {
|
|
4375
4411
|
var r = a.children.item(n);
|
|
4376
4412
|
if (r.tagName === "LEGEND")
|
|
4377
|
-
return
|
|
4413
|
+
return Ce.call(a, "fieldset[disabled] *") ? !0 : !r.contains(t);
|
|
4378
4414
|
}
|
|
4379
4415
|
return !0;
|
|
4380
4416
|
}
|
|
@@ -4385,17 +4421,17 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4385
4421
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4386
4422
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4387
4423
|
// note related to `candidateSelectors`)
|
|
4388
|
-
qe(a) ||
|
|
4389
|
-
|
|
4424
|
+
qe(a) || Wo(a) || Yo(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
4425
|
+
Vo(a) || Ro(a));
|
|
4390
4426
|
}, at = function(t, a) {
|
|
4391
|
-
return !(
|
|
4392
|
-
},
|
|
4427
|
+
return !(Zo(a) || be(a) < 0 || !Ye(t, a));
|
|
4428
|
+
}, Fo = function(t) {
|
|
4393
4429
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
4394
4430
|
return !!(isNaN(a) || a >= 0);
|
|
4395
|
-
},
|
|
4431
|
+
}, Ko = function e(t) {
|
|
4396
4432
|
var a = [], n = [];
|
|
4397
4433
|
return t.forEach(function(r, i) {
|
|
4398
|
-
var A = !!r.scopeParent, l = A ? r.scopeParent : r, s =
|
|
4434
|
+
var A = !!r.scopeParent, l = A ? r.scopeParent : r, s = Bo(l, A), c = A ? e(r.candidates) : l;
|
|
4399
4435
|
s === 0 ? A ? a.push.apply(a, c) : a.push(l) : n.push({
|
|
4400
4436
|
documentOrder: i,
|
|
4401
4437
|
tabIndex: s,
|
|
@@ -4403,19 +4439,19 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4403
4439
|
isScope: A,
|
|
4404
4440
|
content: c
|
|
4405
4441
|
});
|
|
4406
|
-
}), n.sort(
|
|
4442
|
+
}), n.sort(Po).reduce(function(r, i) {
|
|
4407
4443
|
return i.isScope ? r.push.apply(r, i.content) : r.push(i.content), r;
|
|
4408
4444
|
}, []).concat(a);
|
|
4409
|
-
},
|
|
4445
|
+
}, Go = function(t, a) {
|
|
4410
4446
|
a = a || {};
|
|
4411
4447
|
var n;
|
|
4412
4448
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
4413
4449
|
filter: at.bind(null, a),
|
|
4414
4450
|
flatten: !1,
|
|
4415
4451
|
getShadowRoot: a.getShadowRoot,
|
|
4416
|
-
shadowRootFilter:
|
|
4417
|
-
}) : n = Jt(t, a.includeContainer, at.bind(null, a)),
|
|
4418
|
-
},
|
|
4452
|
+
shadowRootFilter: Fo
|
|
4453
|
+
}) : n = Jt(t, a.includeContainer, at.bind(null, a)), Ko(n);
|
|
4454
|
+
}, Jo = function(t, a) {
|
|
4419
4455
|
a = a || {};
|
|
4420
4456
|
var n;
|
|
4421
4457
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
@@ -4426,11 +4462,11 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4426
4462
|
}, Ee = function(t, a) {
|
|
4427
4463
|
if (a = a || {}, !t)
|
|
4428
4464
|
throw new Error("No node provided");
|
|
4429
|
-
return
|
|
4430
|
-
},
|
|
4465
|
+
return Ce.call(t, He) === !1 ? !1 : at(a, t);
|
|
4466
|
+
}, _o = /* @__PURE__ */ Kt.concat("iframe").join(","), et = function(t, a) {
|
|
4431
4467
|
if (a = a || {}, !t)
|
|
4432
4468
|
throw new Error("No node provided");
|
|
4433
|
-
return
|
|
4469
|
+
return Ce.call(t, _o) === !1 ? !1 : Ye(a, t);
|
|
4434
4470
|
};
|
|
4435
4471
|
/*!
|
|
4436
4472
|
* focus-trap 7.6.5
|
|
@@ -4441,21 +4477,21 @@ function nt(e, t) {
|
|
|
4441
4477
|
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
4442
4478
|
return n;
|
|
4443
4479
|
}
|
|
4444
|
-
function
|
|
4480
|
+
function $o(e) {
|
|
4445
4481
|
if (Array.isArray(e)) return nt(e);
|
|
4446
4482
|
}
|
|
4447
|
-
function
|
|
4448
|
-
return (t =
|
|
4483
|
+
function el(e, t, a) {
|
|
4484
|
+
return (t = Al(t)) in e ? Object.defineProperty(e, t, {
|
|
4449
4485
|
value: a,
|
|
4450
4486
|
enumerable: !0,
|
|
4451
4487
|
configurable: !0,
|
|
4452
4488
|
writable: !0
|
|
4453
4489
|
}) : e[t] = a, e;
|
|
4454
4490
|
}
|
|
4455
|
-
function
|
|
4491
|
+
function tl(e) {
|
|
4456
4492
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4457
4493
|
}
|
|
4458
|
-
function
|
|
4494
|
+
function al() {
|
|
4459
4495
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4460
4496
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4461
4497
|
}
|
|
@@ -4473,17 +4509,17 @@ function Dt(e) {
|
|
|
4473
4509
|
for (var t = 1; t < arguments.length; t++) {
|
|
4474
4510
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
4475
4511
|
t % 2 ? Qt(Object(a), !0).forEach(function(n) {
|
|
4476
|
-
|
|
4512
|
+
el(e, n, a[n]);
|
|
4477
4513
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Qt(Object(a)).forEach(function(n) {
|
|
4478
4514
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
4479
4515
|
});
|
|
4480
4516
|
}
|
|
4481
4517
|
return e;
|
|
4482
4518
|
}
|
|
4483
|
-
function
|
|
4484
|
-
return
|
|
4519
|
+
function nl(e) {
|
|
4520
|
+
return $o(e) || tl(e) || il(e) || al();
|
|
4485
4521
|
}
|
|
4486
|
-
function
|
|
4522
|
+
function rl(e, t) {
|
|
4487
4523
|
if (typeof e != "object" || !e) return e;
|
|
4488
4524
|
var a = e[Symbol.toPrimitive];
|
|
4489
4525
|
if (a !== void 0) {
|
|
@@ -4493,18 +4529,18 @@ function tl(e, t) {
|
|
|
4493
4529
|
}
|
|
4494
4530
|
return (t === "string" ? String : Number)(e);
|
|
4495
4531
|
}
|
|
4496
|
-
function
|
|
4497
|
-
var t =
|
|
4532
|
+
function Al(e) {
|
|
4533
|
+
var t = rl(e, "string");
|
|
4498
4534
|
return typeof t == "symbol" ? t : t + "";
|
|
4499
4535
|
}
|
|
4500
|
-
function
|
|
4536
|
+
function il(e, t) {
|
|
4501
4537
|
if (e) {
|
|
4502
4538
|
if (typeof e == "string") return nt(e, t);
|
|
4503
4539
|
var a = {}.toString.call(e).slice(8, -1);
|
|
4504
4540
|
return a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set" ? Array.from(e) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? nt(e, t) : void 0;
|
|
4505
4541
|
}
|
|
4506
4542
|
}
|
|
4507
|
-
var
|
|
4543
|
+
var Lt = {
|
|
4508
4544
|
activateTrap: function(t, a) {
|
|
4509
4545
|
if (t.length > 0) {
|
|
4510
4546
|
var n = t[t.length - 1];
|
|
@@ -4517,31 +4553,31 @@ var Ot = {
|
|
|
4517
4553
|
var n = t.indexOf(a);
|
|
4518
4554
|
n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
4519
4555
|
}
|
|
4520
|
-
},
|
|
4556
|
+
}, ol = function(t) {
|
|
4521
4557
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
4522
|
-
},
|
|
4558
|
+
}, ll = function(t) {
|
|
4523
4559
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
4524
4560
|
}, Se = function(t) {
|
|
4525
4561
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
4526
|
-
},
|
|
4562
|
+
}, sl = function(t) {
|
|
4527
4563
|
return Se(t) && !t.shiftKey;
|
|
4528
|
-
},
|
|
4564
|
+
}, cl = function(t) {
|
|
4529
4565
|
return Se(t) && t.shiftKey;
|
|
4530
|
-
},
|
|
4566
|
+
}, Ot = function(t) {
|
|
4531
4567
|
return setTimeout(t, 0);
|
|
4532
|
-
},
|
|
4568
|
+
}, Oe = function(t) {
|
|
4533
4569
|
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
|
|
4534
4570
|
n[r - 1] = arguments[r];
|
|
4535
4571
|
return typeof t == "function" ? t.apply(void 0, n) : t;
|
|
4536
4572
|
}, Be = function(t) {
|
|
4537
4573
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
4538
|
-
},
|
|
4539
|
-
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) ||
|
|
4574
|
+
}, ul = [], dl = function(t, a) {
|
|
4575
|
+
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) || ul, i = Dt({
|
|
4540
4576
|
returnFocusOnDeactivate: !0,
|
|
4541
4577
|
escapeDeactivates: !0,
|
|
4542
4578
|
delayInitialFocus: !0,
|
|
4543
|
-
isKeyForward:
|
|
4544
|
-
isKeyBackward:
|
|
4579
|
+
isKeyForward: sl,
|
|
4580
|
+
isKeyBackward: cl
|
|
4545
4581
|
}, a), A = {
|
|
4546
4582
|
// containers given to createFocusTrap()
|
|
4547
4583
|
// @type {Array<HTMLElement>}
|
|
@@ -4583,31 +4619,31 @@ var Ot = {
|
|
|
4583
4619
|
return v && v[b] !== void 0 ? v[b] : i[N || b];
|
|
4584
4620
|
}, c = function(v, b) {
|
|
4585
4621
|
var N = typeof (b == null ? void 0 : b.composedPath) == "function" ? b.composedPath() : void 0;
|
|
4586
|
-
return A.containerGroups.findIndex(function(
|
|
4587
|
-
var U =
|
|
4622
|
+
return A.containerGroups.findIndex(function(z) {
|
|
4623
|
+
var U = z.container, q = z.tabbableNodes;
|
|
4588
4624
|
return U.contains(v) || // fall back to explicit tabbable search which will take into consideration any
|
|
4589
4625
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
4590
4626
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
4591
4627
|
// look inside web components even if open)
|
|
4592
|
-
(N == null ? void 0 : N.includes(U)) || q.find(function(
|
|
4593
|
-
return
|
|
4628
|
+
(N == null ? void 0 : N.includes(U)) || q.find(function(S) {
|
|
4629
|
+
return S === v;
|
|
4594
4630
|
});
|
|
4595
4631
|
});
|
|
4596
4632
|
}, d = function(v) {
|
|
4597
|
-
var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = b.hasFallback,
|
|
4598
|
-
if (typeof
|
|
4599
|
-
if (
|
|
4600
|
-
return
|
|
4633
|
+
var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = b.hasFallback, z = N === void 0 ? !1 : N, U = b.params, q = U === void 0 ? [] : U, S = i[v];
|
|
4634
|
+
if (typeof S == "function" && (S = S.apply(void 0, nl(q))), S === !0 && (S = void 0), !S) {
|
|
4635
|
+
if (S === void 0 || S === !1)
|
|
4636
|
+
return S;
|
|
4601
4637
|
throw new Error("`".concat(v, "` was specified but was not a node, or did not return a node"));
|
|
4602
4638
|
}
|
|
4603
|
-
var K =
|
|
4604
|
-
if (typeof
|
|
4639
|
+
var K = S;
|
|
4640
|
+
if (typeof S == "string") {
|
|
4605
4641
|
try {
|
|
4606
|
-
K = n.querySelector(
|
|
4642
|
+
K = n.querySelector(S);
|
|
4607
4643
|
} catch (G) {
|
|
4608
4644
|
throw new Error("`".concat(v, '` appears to be an invalid selector; error="').concat(G.message, '"'));
|
|
4609
4645
|
}
|
|
4610
|
-
if (!K && !
|
|
4646
|
+
if (!K && !z)
|
|
4611
4647
|
throw new Error("`".concat(v, "` as selector refers to no known node"));
|
|
4612
4648
|
}
|
|
4613
4649
|
return K;
|
|
@@ -4630,12 +4666,12 @@ var Ot = {
|
|
|
4630
4666
|
return v;
|
|
4631
4667
|
}, h = function() {
|
|
4632
4668
|
if (A.containerGroups = A.containers.map(function(v) {
|
|
4633
|
-
var b =
|
|
4669
|
+
var b = Go(v, i.tabbableOptions), N = Jo(v, i.tabbableOptions), z = b.length > 0 ? b[0] : void 0, U = b.length > 0 ? b[b.length - 1] : void 0, q = N.find(function(G) {
|
|
4634
4670
|
return Ee(G);
|
|
4635
|
-
}),
|
|
4671
|
+
}), S = N.slice().reverse().find(function(G) {
|
|
4636
4672
|
return Ee(G);
|
|
4637
4673
|
}), K = !!b.find(function(G) {
|
|
4638
|
-
return
|
|
4674
|
+
return be(G) > 0;
|
|
4639
4675
|
});
|
|
4640
4676
|
return {
|
|
4641
4677
|
container: v,
|
|
@@ -4644,7 +4680,7 @@ var Ot = {
|
|
|
4644
4680
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
4645
4681
|
posTabIndexesFound: K,
|
|
4646
4682
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
4647
|
-
firstTabbableNode:
|
|
4683
|
+
firstTabbableNode: z,
|
|
4648
4684
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
4649
4685
|
lastTabbableNode: U,
|
|
4650
4686
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
@@ -4657,7 +4693,7 @@ var Ot = {
|
|
|
4657
4693
|
/** First tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
4658
4694
|
firstDomTabbableNode: q,
|
|
4659
4695
|
/** Last tabbable node in container, __DOM__ order; `undefined` if none. */
|
|
4660
|
-
lastDomTabbableNode:
|
|
4696
|
+
lastDomTabbableNode: S,
|
|
4661
4697
|
/**
|
|
4662
4698
|
* Finds the __tabbable__ node that follows the given node in the specified direction,
|
|
4663
4699
|
* in this container, if any.
|
|
@@ -4666,11 +4702,11 @@ var Ot = {
|
|
|
4666
4702
|
* in reverse.
|
|
4667
4703
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
4668
4704
|
*/
|
|
4669
|
-
nextTabbableNode: function(
|
|
4670
|
-
var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = b.indexOf(
|
|
4671
|
-
return de < 0 ? Ne ? N.slice(N.indexOf(
|
|
4705
|
+
nextTabbableNode: function(Ie) {
|
|
4706
|
+
var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = b.indexOf(Ie);
|
|
4707
|
+
return de < 0 ? Ne ? N.slice(N.indexOf(Ie) + 1).find(function(Te) {
|
|
4672
4708
|
return Ee(Te);
|
|
4673
|
-
}) : N.slice(0, N.indexOf(
|
|
4709
|
+
}) : N.slice(0, N.indexOf(Ie)).reverse().find(function(Te) {
|
|
4674
4710
|
return Ee(Te);
|
|
4675
4711
|
}) : b[de + (Ne ? 1 : -1)];
|
|
4676
4712
|
}
|
|
@@ -4695,7 +4731,7 @@ var Ot = {
|
|
|
4695
4731
|
}
|
|
4696
4732
|
v.focus({
|
|
4697
4733
|
preventScroll: !!i.preventScroll
|
|
4698
|
-
}), A.mostRecentlyFocusedNode = v,
|
|
4734
|
+
}), A.mostRecentlyFocusedNode = v, ol(v) && v.select();
|
|
4699
4735
|
}
|
|
4700
4736
|
}, C = function(v) {
|
|
4701
4737
|
var b = d("setReturnFocus", {
|
|
@@ -4703,30 +4739,30 @@ var Ot = {
|
|
|
4703
4739
|
});
|
|
4704
4740
|
return b || (b === !1 ? !1 : v);
|
|
4705
4741
|
}, M = function(v) {
|
|
4706
|
-
var b = v.target, N = v.event,
|
|
4742
|
+
var b = v.target, N = v.event, z = v.isBackward, U = z === void 0 ? !1 : z;
|
|
4707
4743
|
b = b || Be(N), h();
|
|
4708
4744
|
var q = null;
|
|
4709
4745
|
if (A.tabbableGroups.length > 0) {
|
|
4710
|
-
var
|
|
4711
|
-
if (
|
|
4746
|
+
var S = c(b, N), K = S >= 0 ? A.containerGroups[S] : void 0;
|
|
4747
|
+
if (S < 0)
|
|
4712
4748
|
U ? q = A.tabbableGroups[A.tabbableGroups.length - 1].lastTabbableNode : q = A.tabbableGroups[0].firstTabbableNode;
|
|
4713
4749
|
else if (U) {
|
|
4714
4750
|
var G = A.tabbableGroups.findIndex(function(Ke) {
|
|
4715
4751
|
var Ge = Ke.firstTabbableNode;
|
|
4716
4752
|
return b === Ge;
|
|
4717
4753
|
});
|
|
4718
|
-
if (G < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b, !1)) && (G =
|
|
4719
|
-
var
|
|
4720
|
-
q =
|
|
4754
|
+
if (G < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b, !1)) && (G = S), G >= 0) {
|
|
4755
|
+
var Ie = G === 0 ? A.tabbableGroups.length - 1 : G - 1, Ne = A.tabbableGroups[Ie];
|
|
4756
|
+
q = be(b) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
|
|
4721
4757
|
} else Se(N) || (q = K.nextTabbableNode(b, !1));
|
|
4722
4758
|
} else {
|
|
4723
4759
|
var de = A.tabbableGroups.findIndex(function(Ke) {
|
|
4724
4760
|
var Ge = Ke.lastTabbableNode;
|
|
4725
4761
|
return b === Ge;
|
|
4726
4762
|
});
|
|
4727
|
-
if (de < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b)) && (de =
|
|
4763
|
+
if (de < 0 && (K.container === b || et(b, i.tabbableOptions) && !Ee(b, i.tabbableOptions) && !K.nextTabbableNode(b)) && (de = S), de >= 0) {
|
|
4728
4764
|
var Te = de === A.tabbableGroups.length - 1 ? 0 : de + 1, ut = A.tabbableGroups[Te];
|
|
4729
|
-
q =
|
|
4765
|
+
q = be(b) >= 0 ? ut.firstTabbableNode : ut.firstDomTabbableNode;
|
|
4730
4766
|
} else Se(N) || (q = K.nextTabbableNode(b));
|
|
4731
4767
|
}
|
|
4732
4768
|
} else
|
|
@@ -4735,7 +4771,7 @@ var Ot = {
|
|
|
4735
4771
|
}, T = function(v) {
|
|
4736
4772
|
var b = Be(v);
|
|
4737
4773
|
if (!(c(b, v) >= 0)) {
|
|
4738
|
-
if (
|
|
4774
|
+
if (Oe(i.clickOutsideDeactivates, v)) {
|
|
4739
4775
|
l.deactivate({
|
|
4740
4776
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
4741
4777
|
// which will result in the outside click setting focus to the node
|
|
@@ -4747,7 +4783,7 @@ var Ot = {
|
|
|
4747
4783
|
});
|
|
4748
4784
|
return;
|
|
4749
4785
|
}
|
|
4750
|
-
|
|
4786
|
+
Oe(i.allowOutsideClick, v) || v.preventDefault();
|
|
4751
4787
|
}
|
|
4752
4788
|
}, Q = function(v) {
|
|
4753
4789
|
var b = Be(v), N = c(b, v) >= 0;
|
|
@@ -4755,30 +4791,30 @@ var Ot = {
|
|
|
4755
4791
|
N && (A.mostRecentlyFocusedNode = b);
|
|
4756
4792
|
else {
|
|
4757
4793
|
v.stopImmediatePropagation();
|
|
4758
|
-
var
|
|
4794
|
+
var z, U = !0;
|
|
4759
4795
|
if (A.mostRecentlyFocusedNode)
|
|
4760
|
-
if (
|
|
4761
|
-
var q = c(A.mostRecentlyFocusedNode),
|
|
4762
|
-
if (
|
|
4763
|
-
var K =
|
|
4796
|
+
if (be(A.mostRecentlyFocusedNode) > 0) {
|
|
4797
|
+
var q = c(A.mostRecentlyFocusedNode), S = A.containerGroups[q].tabbableNodes;
|
|
4798
|
+
if (S.length > 0) {
|
|
4799
|
+
var K = S.findIndex(function(G) {
|
|
4764
4800
|
return G === A.mostRecentlyFocusedNode;
|
|
4765
4801
|
});
|
|
4766
|
-
K >= 0 && (i.isKeyForward(A.recentNavEvent) ? K + 1 <
|
|
4802
|
+
K >= 0 && (i.isKeyForward(A.recentNavEvent) ? K + 1 < S.length && (z = S[K + 1], U = !1) : K - 1 >= 0 && (z = S[K - 1], U = !1));
|
|
4767
4803
|
}
|
|
4768
4804
|
} else
|
|
4769
4805
|
A.containerGroups.some(function(G) {
|
|
4770
|
-
return G.tabbableNodes.some(function(
|
|
4771
|
-
return
|
|
4806
|
+
return G.tabbableNodes.some(function(Ie) {
|
|
4807
|
+
return be(Ie) > 0;
|
|
4772
4808
|
});
|
|
4773
4809
|
}) || (U = !1);
|
|
4774
4810
|
else
|
|
4775
4811
|
U = !1;
|
|
4776
|
-
U && (
|
|
4812
|
+
U && (z = M({
|
|
4777
4813
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
4778
4814
|
// outside the trap causing the focus escape we're trying to fix)
|
|
4779
4815
|
target: A.mostRecentlyFocusedNode,
|
|
4780
4816
|
isBackward: i.isKeyBackward(A.recentNavEvent)
|
|
4781
|
-
})), m(
|
|
4817
|
+
})), m(z || A.mostRecentlyFocusedNode || f());
|
|
4782
4818
|
}
|
|
4783
4819
|
A.recentNavEvent = void 0;
|
|
4784
4820
|
}, E = function(v) {
|
|
@@ -4789,16 +4825,16 @@ var Ot = {
|
|
|
4789
4825
|
isBackward: b
|
|
4790
4826
|
});
|
|
4791
4827
|
N && (Se(v) && v.preventDefault(), m(N));
|
|
4792
|
-
},
|
|
4828
|
+
}, L = function(v) {
|
|
4793
4829
|
(i.isKeyForward(v) || i.isKeyBackward(v)) && E(v, i.isKeyBackward(v));
|
|
4794
4830
|
}, j = function(v) {
|
|
4795
|
-
|
|
4796
|
-
},
|
|
4831
|
+
ll(v) && Oe(i.escapeDeactivates, v) !== !1 && (v.preventDefault(), l.deactivate());
|
|
4832
|
+
}, V = function(v) {
|
|
4797
4833
|
var b = Be(v);
|
|
4798
|
-
c(b, v) >= 0 ||
|
|
4799
|
-
},
|
|
4834
|
+
c(b, v) >= 0 || Oe(i.clickOutsideDeactivates, v) || Oe(i.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
|
|
4835
|
+
}, x = function() {
|
|
4800
4836
|
if (A.active)
|
|
4801
|
-
return
|
|
4837
|
+
return Lt.activateTrap(r, l), A.delayInitialFocusTimer = i.delayInitialFocus ? Ot(function() {
|
|
4802
4838
|
m(f());
|
|
4803
4839
|
}) : m(f()), n.addEventListener("focusin", Q, !0), n.addEventListener("mousedown", T, {
|
|
4804
4840
|
capture: !0,
|
|
@@ -4806,20 +4842,20 @@ var Ot = {
|
|
|
4806
4842
|
}), n.addEventListener("touchstart", T, {
|
|
4807
4843
|
capture: !0,
|
|
4808
4844
|
passive: !1
|
|
4809
|
-
}), n.addEventListener("click",
|
|
4845
|
+
}), n.addEventListener("click", V, {
|
|
4810
4846
|
capture: !0,
|
|
4811
4847
|
passive: !1
|
|
4812
|
-
}), n.addEventListener("keydown",
|
|
4848
|
+
}), n.addEventListener("keydown", L, {
|
|
4813
4849
|
capture: !0,
|
|
4814
4850
|
passive: !1
|
|
4815
4851
|
}), n.addEventListener("keydown", j), l;
|
|
4816
4852
|
}, Ae = function() {
|
|
4817
4853
|
if (A.active)
|
|
4818
|
-
return n.removeEventListener("focusin", Q, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click",
|
|
4854
|
+
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", j), l;
|
|
4819
4855
|
}, w = function(v) {
|
|
4820
4856
|
var b = v.some(function(N) {
|
|
4821
|
-
var
|
|
4822
|
-
return
|
|
4857
|
+
var z = Array.from(N.removedNodes);
|
|
4858
|
+
return z.some(function(U) {
|
|
4823
4859
|
return U === A.mostRecentlyFocusedNode;
|
|
4824
4860
|
});
|
|
4825
4861
|
});
|
|
@@ -4842,12 +4878,12 @@ var Ot = {
|
|
|
4842
4878
|
activate: function(v) {
|
|
4843
4879
|
if (A.active)
|
|
4844
4880
|
return this;
|
|
4845
|
-
var b = s(v, "onActivate"), N = s(v, "onPostActivate"),
|
|
4846
|
-
|
|
4881
|
+
var b = s(v, "onActivate"), N = s(v, "onPostActivate"), z = s(v, "checkCanFocusTrap");
|
|
4882
|
+
z || h(), A.active = !0, A.paused = !1, A.nodeFocusedBeforeActivation = I(n), b == null || b();
|
|
4847
4883
|
var U = function() {
|
|
4848
|
-
|
|
4884
|
+
z && h(), x(), $(), N == null || N();
|
|
4849
4885
|
};
|
|
4850
|
-
return
|
|
4886
|
+
return z ? (z(A.containers.concat()).then(U, U), this) : (U(), this);
|
|
4851
4887
|
},
|
|
4852
4888
|
deactivate: function(v) {
|
|
4853
4889
|
if (!A.active)
|
|
@@ -4857,15 +4893,15 @@ var Ot = {
|
|
|
4857
4893
|
onPostDeactivate: i.onPostDeactivate,
|
|
4858
4894
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
4859
4895
|
}, v);
|
|
4860
|
-
clearTimeout(A.delayInitialFocusTimer), A.delayInitialFocusTimer = void 0, Ae(), A.active = !1, A.paused = !1, $(),
|
|
4861
|
-
var N = s(b, "onDeactivate"),
|
|
4896
|
+
clearTimeout(A.delayInitialFocusTimer), A.delayInitialFocusTimer = void 0, Ae(), A.active = !1, A.paused = !1, $(), Lt.deactivateTrap(r, l);
|
|
4897
|
+
var N = s(b, "onDeactivate"), z = s(b, "onPostDeactivate"), U = s(b, "checkCanReturnFocus"), q = s(b, "returnFocus", "returnFocusOnDeactivate");
|
|
4862
4898
|
N == null || N();
|
|
4863
|
-
var
|
|
4864
|
-
|
|
4865
|
-
q && m(C(A.nodeFocusedBeforeActivation)),
|
|
4899
|
+
var S = function() {
|
|
4900
|
+
Ot(function() {
|
|
4901
|
+
q && m(C(A.nodeFocusedBeforeActivation)), z == null || z();
|
|
4866
4902
|
});
|
|
4867
4903
|
};
|
|
4868
|
-
return q && U ? (U(C(A.nodeFocusedBeforeActivation)).then(
|
|
4904
|
+
return q && U ? (U(C(A.nodeFocusedBeforeActivation)).then(S, S), this) : (S(), this);
|
|
4869
4905
|
},
|
|
4870
4906
|
pause: function(v) {
|
|
4871
4907
|
return A.active ? (A.manuallyPaused = !0, this._setPausedState(!0, v)) : this;
|
|
@@ -4890,23 +4926,23 @@ var Ot = {
|
|
|
4890
4926
|
if (A.paused === v)
|
|
4891
4927
|
return this;
|
|
4892
4928
|
if (A.paused = v, v) {
|
|
4893
|
-
var N = s(b, "onPause"),
|
|
4894
|
-
N == null || N(), Ae(), $(),
|
|
4929
|
+
var N = s(b, "onPause"), z = s(b, "onPostPause");
|
|
4930
|
+
N == null || N(), Ae(), $(), z == null || z();
|
|
4895
4931
|
} else {
|
|
4896
4932
|
var U = s(b, "onUnpause"), q = s(b, "onPostUnpause");
|
|
4897
|
-
U == null || U(), h(),
|
|
4933
|
+
U == null || U(), h(), x(), $(), q == null || q();
|
|
4898
4934
|
}
|
|
4899
4935
|
return this;
|
|
4900
4936
|
}
|
|
4901
4937
|
}
|
|
4902
4938
|
}), l.updateContainerElements(t), l;
|
|
4903
4939
|
};
|
|
4904
|
-
function
|
|
4940
|
+
function fl(e, t) {
|
|
4905
4941
|
let a = null;
|
|
4906
4942
|
function n() {
|
|
4907
4943
|
!e.value || !e.value.querySelector(
|
|
4908
4944
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4909
|
-
) || (a =
|
|
4945
|
+
) || (a = dl(e.value, {
|
|
4910
4946
|
escapeDeactivates: !0,
|
|
4911
4947
|
onDeactivate: t,
|
|
4912
4948
|
returnFocusOnDeactivate: !0,
|
|
@@ -4921,7 +4957,7 @@ function cl(e, t) {
|
|
|
4921
4957
|
cleanupFocusTrap: r
|
|
4922
4958
|
};
|
|
4923
4959
|
}
|
|
4924
|
-
const
|
|
4960
|
+
const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
4925
4961
|
__name: "AvPopover",
|
|
4926
4962
|
props: {
|
|
4927
4963
|
width: { default: "12.5rem" },
|
|
@@ -4932,7 +4968,7 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
|
|
|
4932
4968
|
v75959032: f.width,
|
|
4933
4969
|
v330e9906: f.padding
|
|
4934
4970
|
}));
|
|
4935
|
-
const a = J(null), n = J(null), { showPopover: r, popoverPosition: i, togglePopover: A, closePopover: l } =
|
|
4971
|
+
const a = J(null), n = J(null), { showPopover: r, popoverPosition: i, togglePopover: A, closePopover: l } = xo(a, n), { initializeFocusTrap: s, cleanupFocusTrap: c } = fl(n, l);
|
|
4936
4972
|
function d(f) {
|
|
4937
4973
|
if (!f) {
|
|
4938
4974
|
a.value = null;
|
|
@@ -4947,16 +4983,16 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
|
|
|
4947
4983
|
}
|
|
4948
4984
|
return t({ setTriggerRef: d, triggerRef: a }), ce(r, async (f) => {
|
|
4949
4985
|
f ? (await Re(), s()) : c();
|
|
4950
|
-
}),
|
|
4986
|
+
}), Oa(() => {
|
|
4951
4987
|
c();
|
|
4952
|
-
}), (f, h) => (u(), g("div",
|
|
4988
|
+
}), (f, h) => (u(), g("div", vl, [
|
|
4953
4989
|
y("div", {
|
|
4954
4990
|
ref: d,
|
|
4955
4991
|
class: "av-popover-trigger-wrapper"
|
|
4956
4992
|
}, [
|
|
4957
4993
|
B(f.$slots, "trigger", { toggle: o(A) }, void 0, !0)
|
|
4958
4994
|
]),
|
|
4959
|
-
(u(),
|
|
4995
|
+
(u(), k(zt, { to: "body" }, [
|
|
4960
4996
|
o(r) ? (u(), g("div", {
|
|
4961
4997
|
key: 0,
|
|
4962
4998
|
ref_key: "popoverRef",
|
|
@@ -4971,15 +5007,15 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
|
|
|
4971
5007
|
), ["esc"]))
|
|
4972
5008
|
}, [
|
|
4973
5009
|
B(f.$slots, "popover", { close: o(l) }, void 0, !0)
|
|
4974
|
-
], 36)) :
|
|
5010
|
+
], 36)) : D("", !0)
|
|
4975
5011
|
]))
|
|
4976
5012
|
]));
|
|
4977
5013
|
}
|
|
4978
|
-
}),
|
|
5014
|
+
}), rs = /* @__PURE__ */ W(ml, [["__scopeId", "data-v-6a5eaa47"]]), As = {
|
|
4979
5015
|
name: "DsfrBadge",
|
|
4980
5016
|
template: '<div class="dsfr-badge" />',
|
|
4981
5017
|
props: ["label", "type", "small", "ellipsis"]
|
|
4982
|
-
},
|
|
5018
|
+
}, is = {
|
|
4983
5019
|
name: "DsfrModal",
|
|
4984
5020
|
props: ["opened", "title"],
|
|
4985
5021
|
template: '<div class="dsfr-modal"><slot /><slot name="footer" /></div>',
|
|
@@ -4989,81 +5025,82 @@ const ul = { class: "av-popover-wrapper" }, dl = /* @__PURE__ */ S({
|
|
|
4989
5025
|
this.$emit("keydown", { key: "Escape" });
|
|
4990
5026
|
}
|
|
4991
5027
|
}
|
|
4992
|
-
},
|
|
5028
|
+
}, os = {
|
|
4993
5029
|
name: "DsfrNavigation",
|
|
4994
5030
|
props: {
|
|
4995
5031
|
navItems: Array
|
|
4996
5032
|
},
|
|
4997
5033
|
template: '<nav class="dsfr-navigation-mock"><slot /></nav>'
|
|
4998
|
-
},
|
|
5034
|
+
}, ls = {
|
|
4999
5035
|
name: "VIcon",
|
|
5000
5036
|
props: ["name", "size", "color"],
|
|
5001
5037
|
template: '<div class="v-icon-stub"></div>'
|
|
5002
5038
|
};
|
|
5003
5039
|
export {
|
|
5004
|
-
|
|
5005
|
-
|
|
5040
|
+
Ll as AvAccordion,
|
|
5041
|
+
Ol as AvAccordionsGroup,
|
|
5006
5042
|
Ga as AvAlert,
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5043
|
+
Ul as AvAutocomplete,
|
|
5044
|
+
Vl as AvAutocompleteStub,
|
|
5045
|
+
bl as AvBadge,
|
|
5046
|
+
hl as AvBadgeStub,
|
|
5047
|
+
me as AvButton,
|
|
5048
|
+
wl as AvButtonStub,
|
|
5049
|
+
Wn as AvCancelConfirmButtons,
|
|
5050
|
+
El as AvCard,
|
|
5051
|
+
as as AvDrawer,
|
|
5052
|
+
ts as AvDrawerStub,
|
|
5053
|
+
kl as AvFileUpload,
|
|
5054
|
+
Ql as AvHeader,
|
|
5018
5055
|
ft as AvHeaderMenuLinks,
|
|
5019
5056
|
ja as AvIconText,
|
|
5020
|
-
|
|
5057
|
+
gA as AvInput,
|
|
5021
5058
|
Vt as AvList,
|
|
5022
5059
|
Ut as AvListItem,
|
|
5023
|
-
|
|
5024
|
-
|
|
5060
|
+
xl as AvListItemStub,
|
|
5061
|
+
zl as AvListStub,
|
|
5025
5062
|
rn as AvLogo,
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5063
|
+
ns as AvModal,
|
|
5064
|
+
Xl as AvMultiselect,
|
|
5065
|
+
Fl as AvNavigation,
|
|
5066
|
+
Cl as AvNotice,
|
|
5067
|
+
Bl as AvPageSizePicker,
|
|
5068
|
+
Kl as AvPagination,
|
|
5069
|
+
rs as AvPopover,
|
|
5070
|
+
wA as AvRadioButton,
|
|
5071
|
+
Wl as AvRadioButtonSet,
|
|
5072
|
+
Sl as AvRichButton,
|
|
5073
|
+
Zl as AvSelect,
|
|
5074
|
+
Hl as AvSelectStub,
|
|
5075
|
+
mo as AvSideMenu,
|
|
5076
|
+
_l as AvSideNavigation,
|
|
5077
|
+
Jl as AvSideNavigationStub,
|
|
5078
|
+
es as AvStepper,
|
|
5079
|
+
$l as AvStepperStub,
|
|
5080
|
+
ql as AvTab,
|
|
5081
|
+
Yl as AvTabs,
|
|
5082
|
+
DA as AvTagPicker,
|
|
5083
|
+
Pl as AvTagPickerStub,
|
|
5084
|
+
Tl as AvToaster,
|
|
5085
|
+
Rl as AvToggle,
|
|
5049
5086
|
ne as AvVIcon,
|
|
5050
|
-
|
|
5087
|
+
yl as AvVIconStub,
|
|
5051
5088
|
Me as DropdownState,
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5089
|
+
As as DsfrBadgeStub,
|
|
5090
|
+
is as DsfrModalStub,
|
|
5091
|
+
os as DsfrNavigationStub,
|
|
5092
|
+
Dl as EsupLogo,
|
|
5093
|
+
pl as ICONS_DATA_URL,
|
|
5094
|
+
Y as MDI_ICONS,
|
|
5058
5095
|
Xt as PageSizes,
|
|
5059
|
-
|
|
5060
|
-
|
|
5096
|
+
Ml as RI_ICONS,
|
|
5097
|
+
ls as VIconStub,
|
|
5061
5098
|
Ba as formatTextToHtml,
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5099
|
+
Gl as getPaginationPages,
|
|
5100
|
+
Nl as isValidEmail,
|
|
5101
|
+
jl as pageSizeValues,
|
|
5102
|
+
us as registerNavigationLinkKey,
|
|
5066
5103
|
Xa as removeDuplicates,
|
|
5067
5104
|
Je as toSentenceCase,
|
|
5068
|
-
|
|
5105
|
+
fl as useFocusTrap
|
|
5069
5106
|
};
|