@avenirs-esr/avenirs-dsav 0.1.42 → 0.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avenirs-dsav.css +1 -1
- package/dist/avenirs-dsav.es.js +1221 -1202
- package/dist/avenirs-dsav.umd.js +7 -7
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.stories.d.ts +6 -0
- package/dist/components/interaction/buttons/AvCancelConfirmButtons/AvCancelConfirmButtons.vue.d.ts +14 -2
- package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +13 -0
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/use-breakpoint/use-breakpoint.d.ts +54 -0
- package/dist/composables/use-breakpoint/use-breakpoint.test.d.ts +1 -0
- package/dist/config/breakpoints.d.ts +10 -0
- package/dist/config/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/avenirs-dsav.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DsfrBadge as ta, VIcon as aa, DsfrNotice as na, DsfrButton as ra, registerNavigationLinkKey as
|
|
2
|
-
import { registerNavigationLinkKey as
|
|
3
|
-
import { defineComponent as
|
|
1
|
+
import { DsfrBadge as ta, VIcon as aa, DsfrNotice as na, DsfrButton as ra, registerNavigationLinkKey as ia, DsfrLanguageSelector as Aa, DsfrSearchBar as oa, DsfrAccordionsGroup as la, DsfrAccordion as sa, useRandomId as ca, DsfrInput as ua, DsfrTag as da, DsfrRadioButtonSet as fa, DsfrRadioButton as va, DsfrMultiselect as ma, DsfrSelect as ga, DsfrTabs as Ia, DsfrTabContent as ba, DsfrTabItem as ha, DsfrNavigation as Ca, DsfrModal as ya } from "@gouvminint/vue-dsfr";
|
|
2
|
+
import { registerNavigationLinkKey as fs } from "@gouvminint/vue-dsfr";
|
|
3
|
+
import { defineComponent as w, useCssVars as te, computed as M, createBlock as k, openBlock as u, mergeProps as ee, unref as l, createPropsRestProxy as Ot, createElementBlock as g, createVNode as P, normalizeClass as F, createElementVNode as y, toDisplayString as Z, withCtx as R, useSlots as Ae, normalizeStyle as Ve, createCommentVNode as D, renderSlot as j, resolveDynamicComponent as ue, createTextVNode as rt, TransitionGroup as Ea, Fragment as _, renderList as re, toRef as Ma, ref as J, onMounted as Ne, onUnmounted as Te, provide as St, resolveComponent as pa, withModifiers as se, mergeModels as ve, useModel as xe, nextTick as Re, createSlots as ke, watch as ce, isRef as it, inject as Na, getCurrentScope as Ta, onScopeDispose as Qa, getCurrentInstance as kt, toValue as ae, shallowRef as Pe, reactive as dt, normalizeProps as Da, guardReactiveProps as La, toRefs as At, withKeys as ot, Teleport as zt, onBeforeUnmount as wa } from "vue";
|
|
4
4
|
const hl = {
|
|
5
5
|
name: "AvBadge",
|
|
6
6
|
template: '<div class="av-badge"/>',
|
|
@@ -18,7 +18,7 @@ const hl = {
|
|
|
18
18
|
backgroundColor: String,
|
|
19
19
|
iconPath: String
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, Oa = /* @__PURE__ */ w({
|
|
22
22
|
__name: "AvBadge",
|
|
23
23
|
props: {
|
|
24
24
|
color: {},
|
|
@@ -37,14 +37,14 @@ const hl = {
|
|
|
37
37
|
v406561e2: r.backgroundColor,
|
|
38
38
|
v6fc40bd1: r.borderColor
|
|
39
39
|
}));
|
|
40
|
-
const t = e, a =
|
|
40
|
+
const t = e, a = M(() => t.iconPath && !t.noIcon ? "av-badge--customIcon" : void 0), n = M(() => ({
|
|
41
41
|
"--icon-path": `url(${t.iconPath})`
|
|
42
42
|
}));
|
|
43
|
-
return (r,
|
|
44
|
-
const
|
|
45
|
-
return u(), k(
|
|
46
|
-
class: ["av-badge", [
|
|
47
|
-
style:
|
|
43
|
+
return (r, A) => {
|
|
44
|
+
const i = ta;
|
|
45
|
+
return u(), k(i, ee(t, {
|
|
46
|
+
class: ["av-badge", [l(a)]],
|
|
47
|
+
style: l(n)
|
|
48
48
|
}), null, 16, ["class", "style"]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -53,7 +53,7 @@ const hl = {
|
|
|
53
53
|
for (const [n, r] of t)
|
|
54
54
|
a[n] = r;
|
|
55
55
|
return a;
|
|
56
|
-
},
|
|
56
|
+
}, Cl = /* @__PURE__ */ W(Oa, [["__scopeId", "data-v-844b9e93"]]), Sa = { class: "av-icon-vicon--container" }, ka = 16 / 19.19, za = /* @__PURE__ */ w({
|
|
57
57
|
__name: "AvVIcon",
|
|
58
58
|
props: {
|
|
59
59
|
size: { default: 1 },
|
|
@@ -70,17 +70,17 @@ const hl = {
|
|
|
70
70
|
},
|
|
71
71
|
setup(e) {
|
|
72
72
|
te((r) => ({
|
|
73
|
-
v53885778:
|
|
73
|
+
v53885778: l(n)
|
|
74
74
|
}));
|
|
75
|
-
const t =
|
|
76
|
-
return (r,
|
|
77
|
-
const
|
|
75
|
+
const t = Ot(e, ["size"]), a = M(() => ka * e.size), n = M(() => `${e.size}rem`);
|
|
76
|
+
return (r, A) => {
|
|
77
|
+
const i = aa;
|
|
78
78
|
return u(), g("div", Sa, [
|
|
79
|
-
P(
|
|
79
|
+
P(i, ee(t, { scale: l(a) }), null, 16, ["scale"])
|
|
80
80
|
]);
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */
|
|
83
|
+
}), ne = /* @__PURE__ */ W(za, [["__scopeId", "data-v-bc7be51b"]]), xa = /* @__PURE__ */ w({
|
|
84
84
|
__name: "AvIconText",
|
|
85
85
|
props: {
|
|
86
86
|
textColor: { default: "var(--text1)" },
|
|
@@ -96,29 +96,29 @@ const hl = {
|
|
|
96
96
|
v1b1615da: r.gap,
|
|
97
97
|
v274632b3: r.textColor
|
|
98
98
|
}));
|
|
99
|
-
const t =
|
|
100
|
-
return (r,
|
|
101
|
-
class: F(["icon-text--container", [
|
|
99
|
+
const t = M(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = M(() => e.inline ? void 0 : "ellipsis-container"), n = M(() => e.inline ? void 0 : "ellipsis");
|
|
100
|
+
return (r, A) => (u(), g("div", {
|
|
101
|
+
class: F(["icon-text--container", [l(a)]])
|
|
102
102
|
}, [
|
|
103
103
|
P(ne, {
|
|
104
104
|
class: "icon-text--icon",
|
|
105
105
|
name: e.icon,
|
|
106
106
|
color: e.iconColor,
|
|
107
|
-
size:
|
|
107
|
+
size: l(t)
|
|
108
108
|
}, null, 8, ["name", "color", "size"]),
|
|
109
109
|
y("span", {
|
|
110
|
-
class: F(["icon-text--text", [
|
|
110
|
+
class: F(["icon-text--text", [l(n), e.typographyClass]])
|
|
111
111
|
}, Z(e.text), 3)
|
|
112
112
|
], 2));
|
|
113
113
|
}
|
|
114
|
-
}),
|
|
115
|
-
function
|
|
114
|
+
}), Ba = /* @__PURE__ */ W(xa, [["__scopeId", "data-v-dec33472"]]);
|
|
115
|
+
function ja(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"], yl = /* @__PURE__ */ w({
|
|
122
122
|
__name: "AvNotice",
|
|
123
123
|
props: {
|
|
124
124
|
title: { default: "" },
|
|
@@ -126,18 +126,18 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
126
126
|
type: {}
|
|
127
127
|
},
|
|
128
128
|
setup(e) {
|
|
129
|
-
const t =
|
|
130
|
-
return (a, n) => (u(), k(
|
|
129
|
+
const t = M(() => ja(e.text));
|
|
130
|
+
return (a, n) => (u(), k(l(na), {
|
|
131
131
|
title: e.title,
|
|
132
132
|
type: e.type
|
|
133
133
|
}, {
|
|
134
134
|
desc: R(() => [
|
|
135
|
-
y("span", { innerHTML:
|
|
135
|
+
y("span", { innerHTML: l(t) }, null, 8, Pa)
|
|
136
136
|
]),
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["title", "type"]));
|
|
139
139
|
}
|
|
140
|
-
}),
|
|
140
|
+
}), El = {
|
|
141
141
|
name: "AvVIcon",
|
|
142
142
|
props: ["name", "color", "size"],
|
|
143
143
|
template: '<div class="av-vicon" />'
|
|
@@ -147,7 +147,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
147
147
|
}, Va = {
|
|
148
148
|
key: 2,
|
|
149
149
|
class: "av-card__footer"
|
|
150
|
-
}, Ua = /* @__PURE__ */
|
|
150
|
+
}, Ua = /* @__PURE__ */ w({
|
|
151
151
|
__name: "AvCard",
|
|
152
152
|
props: {
|
|
153
153
|
backgroundColor: { default: "var(--card)" },
|
|
@@ -156,7 +156,7 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
156
156
|
titleHeight: {}
|
|
157
157
|
},
|
|
158
158
|
setup(e) {
|
|
159
|
-
const t =
|
|
159
|
+
const t = Ae();
|
|
160
160
|
return (a, n) => (u(), g("div", {
|
|
161
161
|
class: "av-card",
|
|
162
162
|
style: Ve({ borderColor: e.borderColor, background: e.backgroundColor })
|
|
@@ -166,18 +166,18 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
166
166
|
class: "av-card__title",
|
|
167
167
|
style: Ve({ background: e.titleBackground, height: e.titleHeight })
|
|
168
168
|
}, [
|
|
169
|
-
|
|
169
|
+
j(a.$slots, "title", {}, void 0, !0)
|
|
170
170
|
], 4)) : D("", !0),
|
|
171
|
-
|
|
171
|
+
j(a.$slots, "default", {}, void 0, !0),
|
|
172
172
|
t.body ? (u(), g("div", Wa, [
|
|
173
|
-
|
|
173
|
+
j(a.$slots, "body", {}, void 0, !0)
|
|
174
174
|
])) : D("", !0),
|
|
175
175
|
t.footer ? (u(), g("div", Va, [
|
|
176
|
-
|
|
176
|
+
j(a.$slots, "footer", {}, void 0, !0)
|
|
177
177
|
])) : D("", !0)
|
|
178
178
|
], 4));
|
|
179
179
|
}
|
|
180
|
-
}),
|
|
180
|
+
}), Ml = /* @__PURE__ */ W(Ua, [["__scopeId", "data-v-740c9a3b"]]), Y = {
|
|
181
181
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
182
182
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
183
183
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -249,10 +249,10 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
249
249
|
TRAY_UPLOAD: "mdi:tray-upload",
|
|
250
250
|
VECTOR_POLYGON_VARIANT: "mdi:vector-polygon-variant",
|
|
251
251
|
WARNING_OUTLINE: "mdi:warning-outline"
|
|
252
|
-
},
|
|
252
|
+
}, pl = {
|
|
253
253
|
DICE_1_LINE: "ri:dice-1-line",
|
|
254
254
|
DICE_4_LINE: "ri:dice-4-line"
|
|
255
|
-
},
|
|
255
|
+
}, Nl = {
|
|
256
256
|
AMS_SAE: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yNSAxNy41SDExLjM3NVYxOS4yNUg1LjI1QzQuMjc4NzUgMTkuMjUgMy41IDE4LjQ3MTMgMy41IDE3LjVWMy41QzMuNSAzLjAzNTg3IDMuNjg0MzcgMi41OTA3NSA0LjAxMjU2IDIuMjYyNTZDNC4zNDA3NSAxLjkzNDM3IDQuNzg1ODcgMS43NSA1LjI1IDEuNzVIMTUuNzVDMTYuMjE0MSAxLjc1IDE2LjY1OTIgMS45MzQzNyAxNi45ODc0IDIuMjYyNTZDMTcuMzE1NiAyLjU5MDc1IDE3LjUgMy4wMzU4NyAxNy41IDMuNVYxMC45NzI1TDE2LjE4NzUgMTAuMjU1TDE1Ljc1IDEwLjVWMy41SDExLjM3NVYxMC41TDkuMTg3NSA4LjUzMTI1TDcgMTAuNVYzLjVINS4yNVYxNy41Wk0yMSAxNC44NzVMMTYuMTg3NSAxMi4yNUwxMS4zNzUgMTQuODc1TDE2LjE4NzUgMTcuNUwyMSAxNC44NzVaTTEzLjEyNSAxNi43MDM4VjE4LjQ1MzhMMTYuMTg3NSAyMC4xMjVMMTkuMjUgMTguNDUzOFYxNi43MDM4TDE2LjE4NzUgMTguMzc1TDEzLjEyNSAxNi43MDM4WiIgZmlsbD0iY3VycmVudENvbG9yIiAvPgo8L3N2Zz4K",
|
|
257
257
|
CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
258
258
|
CLOCK_HALF_PLUS_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTMxXzMxMzY5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1MzFfMzEzNjkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSAxMS43ODI3TDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzYuNTExNDQgMi42NjYwMiA1LjI1MDMzIDMuMTgyNjggNC4yMTY5OSA0LjIxNjAyQzMuMTgzNjYgNS4yNDkzNSAyLjY2Njk5IDYuNTEwNDYgMi42NjY5OSA3Ljk5OTM1QzIuNjY2OTkgOC43MTA0NiAyLjgwMDMzIDkuMzkzNzkgMy4wNjY5OSAxMC4wNDkzQzMuMzMzNjYgMTAuNzA0OSAzLjcxNjk5IDExLjI4MjcgNC4yMTY5OSAxMS43ODI3WiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
@@ -264,10 +264,10 @@ const Pa = ["innerHTML"], Cl = /* @__PURE__ */ O({
|
|
|
264
264
|
function Xa(e) {
|
|
265
265
|
return [...new Set(e)];
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Tl(e) {
|
|
268
268
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
269
269
|
}
|
|
270
|
-
const Ha = /* @__PURE__ */
|
|
270
|
+
const Ha = /* @__PURE__ */ w({
|
|
271
271
|
__name: "AvButton",
|
|
272
272
|
props: {
|
|
273
273
|
variant: { default: "DEFAULT" },
|
|
@@ -285,9 +285,9 @@ const Ha = /* @__PURE__ */ O({
|
|
|
285
285
|
},
|
|
286
286
|
setup(e, { expose: t }) {
|
|
287
287
|
te((c) => ({
|
|
288
|
-
v8ea3f2fe: o
|
|
288
|
+
v8ea3f2fe: l(o)
|
|
289
289
|
}));
|
|
290
|
-
const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r =
|
|
290
|
+
const a = e, n = { name: Y.LOADING_OUTLINE, animation: "spin" }, r = M(() => a.isLoading ? n : a.icon), A = M(() => `av-button--variant-${a.variant.toLowerCase()}`), i = M(() => `av-button--theme-${a.theme.toLowerCase()}`), s = M(() => a.noRadius ? "av-button--no-radius" : ""), o = M(() => {
|
|
291
291
|
if (a.iconScale && !Number.isNaN(a.iconScale))
|
|
292
292
|
return a.iconScale;
|
|
293
293
|
switch (a.size) {
|
|
@@ -304,21 +304,21 @@ const Ha = /* @__PURE__ */ O({
|
|
|
304
304
|
return 1.5;
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
|
-
return t({ computedSvgScale:
|
|
307
|
+
return t({ computedSvgScale: o }), (c, d) => {
|
|
308
308
|
const f = ra;
|
|
309
309
|
return u(), k(f, ee(a, {
|
|
310
|
-
class: ["av-button", [
|
|
310
|
+
class: ["av-button", [l(A), l(i), l(s)]],
|
|
311
311
|
disabled: a.disabled || e.isLoading,
|
|
312
|
-
icon:
|
|
312
|
+
icon: l(r),
|
|
313
313
|
"no-outline": a.variant === "DEFAULT",
|
|
314
314
|
tertiary: !0,
|
|
315
|
-
"aria-label":
|
|
316
|
-
title:
|
|
317
|
-
label:
|
|
315
|
+
"aria-label": l(Je)(a.label),
|
|
316
|
+
title: l(Je)(a.label),
|
|
317
|
+
label: l(Je)(a.label)
|
|
318
318
|
}), null, 16, ["class", "disabled", "icon", "no-outline", "aria-label", "title", "label"]);
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
}), me = /* @__PURE__ */ W(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */
|
|
321
|
+
}), me = /* @__PURE__ */ W(Ha, [["__scopeId", "data-v-2d2e30b8"]]), Za = ["id", "role"], qa = { class: "av-alert--container" }, Ya = { class: "av-alert--content" }, Ra = { class: "av-alert--title" }, Fa = { class: "b1-regular" }, Ka = /* @__PURE__ */ w({
|
|
322
322
|
__name: "AvAlert",
|
|
323
323
|
props: {
|
|
324
324
|
alert: { type: Boolean, default: !1 },
|
|
@@ -334,14 +334,14 @@ const Ha = /* @__PURE__ */ O({
|
|
|
334
334
|
},
|
|
335
335
|
emits: ["close"],
|
|
336
336
|
setup(e, { emit: t }) {
|
|
337
|
-
const a = t, n = () => a("close"), r =
|
|
337
|
+
const a = t, n = () => a("close"), r = M(
|
|
338
338
|
() => [
|
|
339
339
|
`fr-alert--${e.type}`,
|
|
340
340
|
{
|
|
341
341
|
"fr-alert--sm": e.small
|
|
342
342
|
}
|
|
343
343
|
]
|
|
344
|
-
),
|
|
344
|
+
), A = M(() => {
|
|
345
345
|
switch (e.type) {
|
|
346
346
|
case "error":
|
|
347
347
|
return { name: Y.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
|
|
@@ -354,15 +354,15 @@ const Ha = /* @__PURE__ */ O({
|
|
|
354
354
|
return { name: Y.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
|
-
return (
|
|
357
|
+
return (i, s) => e.closed ? D("", !0) : (u(), g("div", {
|
|
358
358
|
key: 0,
|
|
359
359
|
id: e.id,
|
|
360
|
-
class: F(["fr-alert",
|
|
360
|
+
class: F(["fr-alert", l(r)]),
|
|
361
361
|
role: e.alert ? "alert" : void 0
|
|
362
362
|
}, [
|
|
363
363
|
y("div", qa, [
|
|
364
364
|
y("div", Ya, [
|
|
365
|
-
P(ne, ee(
|
|
365
|
+
P(ne, ee(l(A), { size: 3 }), null, 16),
|
|
366
366
|
y("div", Ra, [
|
|
367
367
|
e.small ? D("", !0) : (u(), k(ue(e.titleTag), {
|
|
368
368
|
key: 0,
|
|
@@ -373,7 +373,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
373
373
|
]),
|
|
374
374
|
_: 1
|
|
375
375
|
})),
|
|
376
|
-
|
|
376
|
+
j(i.$slots, "default", {}, () => [
|
|
377
377
|
y("span", Fa, Z(e.description), 1)
|
|
378
378
|
], !0)
|
|
379
379
|
])
|
|
@@ -381,7 +381,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
381
381
|
e.closeable ? (u(), k(me, {
|
|
382
382
|
key: 0,
|
|
383
383
|
"icon-only": "",
|
|
384
|
-
icon:
|
|
384
|
+
icon: l(Y).CLOSE_CIRCLE_OUTLINE,
|
|
385
385
|
label: e.closeButtonLabel,
|
|
386
386
|
small: "",
|
|
387
387
|
"on-click": n
|
|
@@ -389,7 +389,7 @@ const Ha = /* @__PURE__ */ O({
|
|
|
389
389
|
])
|
|
390
390
|
], 10, Za));
|
|
391
391
|
}
|
|
392
|
-
}), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */
|
|
392
|
+
}), Ga = /* @__PURE__ */ W(Ka, [["__scopeId", "data-v-e4e8790e"]]), Ja = { class: "toaster-container" }, _a = /* @__PURE__ */ w({
|
|
393
393
|
__name: "AvToaster",
|
|
394
394
|
props: {
|
|
395
395
|
messages: {},
|
|
@@ -421,19 +421,19 @@ const Ha = /* @__PURE__ */ O({
|
|
|
421
421
|
class: "toasters"
|
|
422
422
|
}, {
|
|
423
423
|
default: R(() => [
|
|
424
|
-
(u(!0), g(_, null, re(e.messages, (
|
|
425
|
-
key:
|
|
426
|
-
class: ["av-toaster", t(
|
|
427
|
-
}, { ref_for: !0 },
|
|
428
|
-
style: a(
|
|
429
|
-
onClose: (
|
|
424
|
+
(u(!0), g(_, null, re(e.messages, (A) => (u(), k(Ga, ee({
|
|
425
|
+
key: A.id,
|
|
426
|
+
class: ["av-toaster", t(A.type)]
|
|
427
|
+
}, { ref_for: !0 }, A, {
|
|
428
|
+
style: a(A.type),
|
|
429
|
+
onClose: (i) => e.onRemoveMessage(A.id)
|
|
430
430
|
}), null, 16, ["class", "style", "onClose"]))), 128))
|
|
431
431
|
]),
|
|
432
432
|
_: 1
|
|
433
433
|
})
|
|
434
434
|
]));
|
|
435
435
|
}
|
|
436
|
-
}),
|
|
436
|
+
}), Ql = /* @__PURE__ */ W(_a, [["__scopeId", "data-v-202438c7"]]), $a = ["aria-label"], en = { class: "fr-btns-group" }, ft = /* @__PURE__ */ w({
|
|
437
437
|
__name: "AvHeaderMenuLinks",
|
|
438
438
|
props: {
|
|
439
439
|
links: {},
|
|
@@ -447,13 +447,13 @@ const Ha = /* @__PURE__ */ O({
|
|
|
447
447
|
"aria-label": e.navAriaLabel
|
|
448
448
|
}, [
|
|
449
449
|
y("ul", en, [
|
|
450
|
-
(u(!0), g(_, null, re(e.links, (
|
|
450
|
+
(u(!0), g(_, null, re(e.links, (A, i) => (u(), g("li", { key: i }, [
|
|
451
451
|
P(me, {
|
|
452
|
-
icon:
|
|
453
|
-
label:
|
|
454
|
-
"on-click": (
|
|
455
|
-
var
|
|
456
|
-
a("linkClick",
|
|
452
|
+
icon: A.icon,
|
|
453
|
+
label: A.label ?? "",
|
|
454
|
+
"on-click": (s) => {
|
|
455
|
+
var o;
|
|
456
|
+
a("linkClick", s), (o = A.onClick) == null || o.call(A, s);
|
|
457
457
|
}
|
|
458
458
|
}, null, 8, ["icon", "label", "on-click"])
|
|
459
459
|
]))), 128))
|
|
@@ -506,7 +506,7 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
506
506
|
}, vn = ["aria-label", "title", "data-fr-opened"], mn = ["aria-label", "title"], gn = {
|
|
507
507
|
key: 0,
|
|
508
508
|
class: "fr-header__service"
|
|
509
|
-
}, In = { class: "fr-header__service-title" },
|
|
509
|
+
}, In = { class: "fr-header__service-title" }, bn = { class: "fr-header__tools" }, hn = { class: "fr-header__tools-links" }, Cn = {
|
|
510
510
|
key: 0,
|
|
511
511
|
class: "fr-header__search fr-modal demo-display-none"
|
|
512
512
|
}, yn = ["aria-label"], En = { class: "fr-container" }, Mn = { class: "fr-header__menu-links" }, pn = {
|
|
@@ -515,7 +515,7 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
515
515
|
}, Nn = { class: "fr-header__menu fr-modal" }, Tn = {
|
|
516
516
|
key: 0,
|
|
517
517
|
class: "fr-container"
|
|
518
|
-
}, Qn = /* @__PURE__ */
|
|
518
|
+
}, Qn = /* @__PURE__ */ w({
|
|
519
519
|
__name: "AvHeader",
|
|
520
520
|
props: {
|
|
521
521
|
searchbarId: { default: "searchbar-header" },
|
|
@@ -536,32 +536,32 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
536
536
|
},
|
|
537
537
|
emits: ["update:modelValue", "search", "languageSelect"],
|
|
538
538
|
setup(e, { emit: t }) {
|
|
539
|
-
const a = e, n = t, r =
|
|
539
|
+
const a = e, n = t, r = Ae(), A = Ma(a, "languageSelector"), i = J(!1), s = J(!1), o = J(!1);
|
|
540
540
|
function c() {
|
|
541
|
-
var
|
|
542
|
-
|
|
541
|
+
var p;
|
|
542
|
+
o.value = !1, i.value = !1, s.value = !1, (p = document.getElementById("button-menu")) == null || p.focus();
|
|
543
543
|
}
|
|
544
|
-
function d(
|
|
545
|
-
|
|
544
|
+
function d(p) {
|
|
545
|
+
p.key === "Escape" && c();
|
|
546
546
|
}
|
|
547
|
-
|
|
547
|
+
Ne(() => {
|
|
548
548
|
document.addEventListener("keydown", d);
|
|
549
|
-
}),
|
|
549
|
+
}), Te(() => {
|
|
550
550
|
document.removeEventListener("keydown", d);
|
|
551
551
|
});
|
|
552
552
|
function f() {
|
|
553
|
-
|
|
554
|
-
var
|
|
555
|
-
(
|
|
553
|
+
o.value = !0, i.value = !0, s.value = !1, setTimeout(() => {
|
|
554
|
+
var p;
|
|
555
|
+
(p = document.getElementById("close-button")) == null || p.focus();
|
|
556
556
|
});
|
|
557
557
|
}
|
|
558
|
-
function
|
|
559
|
-
|
|
558
|
+
function b() {
|
|
559
|
+
o.value = !0, i.value = !1, s.value = !0;
|
|
560
560
|
}
|
|
561
|
-
const I = c, m =
|
|
562
|
-
return St(
|
|
563
|
-
var
|
|
564
|
-
const Q = pa("RouterLink"), E =
|
|
561
|
+
const I = c, m = M(() => [a.homeLabel, a.serviceTitle].filter((p) => p).join(" - ")), C = M(() => !!r.mainnav);
|
|
562
|
+
return St(ia, () => c), (p, T) => {
|
|
563
|
+
var B, V;
|
|
564
|
+
const Q = pa("RouterLink"), E = Aa, L = oa;
|
|
565
565
|
return u(), g("header", An, [
|
|
566
566
|
y("div", on, [
|
|
567
567
|
y("div", ln, [
|
|
@@ -571,7 +571,7 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
571
571
|
y("div", dn, [
|
|
572
572
|
P(Q, {
|
|
573
573
|
to: e.homeTo,
|
|
574
|
-
title:
|
|
574
|
+
title: l(m)
|
|
575
575
|
}, {
|
|
576
576
|
default: R(() => [
|
|
577
577
|
P(rn, { "data-testid": "header-logo" })
|
|
@@ -579,17 +579,17 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
579
579
|
_: 1
|
|
580
580
|
}, 8, ["to", "title"])
|
|
581
581
|
]),
|
|
582
|
-
e.showSearch ||
|
|
582
|
+
e.showSearch || l(C) || (B = e.quickLinks) != null && B.length ? (u(), g("div", fn, [
|
|
583
583
|
e.showSearch ? (u(), g("button", {
|
|
584
584
|
key: 0,
|
|
585
585
|
class: "fr-btn fr-btn--search",
|
|
586
586
|
"aria-controls": "header-search",
|
|
587
587
|
"aria-label": e.showSearchLabel,
|
|
588
588
|
title: e.showSearchLabel,
|
|
589
|
-
"data-fr-opened":
|
|
590
|
-
onClick: T[0] || (T[0] = se((x) =>
|
|
589
|
+
"data-fr-opened": l(s),
|
|
590
|
+
onClick: T[0] || (T[0] = se((x) => b(), ["prevent", "stop"]))
|
|
591
591
|
}, null, 8, vn)) : D("", !0),
|
|
592
|
-
|
|
592
|
+
l(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",
|
|
@@ -605,19 +605,19 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
605
605
|
]),
|
|
606
606
|
e.serviceTitle ? (u(), g("div", gn, [
|
|
607
607
|
y("p", In, Z(e.serviceTitle), 1),
|
|
608
|
-
|
|
608
|
+
j(p.$slots, "serviceDescription", {}, void 0, !0)
|
|
609
609
|
])) : D("", !0)
|
|
610
610
|
]),
|
|
611
|
-
y("div",
|
|
612
|
-
y("div",
|
|
613
|
-
|
|
614
|
-
|
|
611
|
+
y("div", bn, [
|
|
612
|
+
y("div", hn, [
|
|
613
|
+
j(p.$slots, "before-quick-links", {}, void 0, !0),
|
|
614
|
+
l(i) ? D("", !0) : (u(), k(ft, {
|
|
615
615
|
key: 0,
|
|
616
616
|
links: e.quickLinks,
|
|
617
617
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
618
618
|
}, null, 8, ["links", "nav-aria-label"])),
|
|
619
|
-
|
|
620
|
-
|
|
619
|
+
j(p.$slots, "after-quick-links", {}, void 0, !0),
|
|
620
|
+
l(A) ? (u(), k(E, ee({ key: 1 }, l(A), {
|
|
621
621
|
onSelect: T[2] || (T[2] = (x) => n("languageSelect", x))
|
|
622
622
|
}), null, 16)) : D("", !0)
|
|
623
623
|
]),
|
|
@@ -634,10 +634,10 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
634
634
|
])) : D("", !0)
|
|
635
635
|
])
|
|
636
636
|
]),
|
|
637
|
-
e.showSearch ||
|
|
637
|
+
e.showSearch || l(C) || e.quickLinks && e.quickLinks.length || l(A) ? (u(), g("div", {
|
|
638
638
|
key: 0,
|
|
639
639
|
id: "header-navigation",
|
|
640
|
-
class: F(["fr-header__menu fr-modal", { "fr-modal--opened": o
|
|
640
|
+
class: F(["fr-header__menu fr-modal", { "fr-modal--opened": l(o) }]),
|
|
641
641
|
"aria-label": e.menuModalLabel,
|
|
642
642
|
role: "dialog",
|
|
643
643
|
"aria-modal": "true"
|
|
@@ -651,24 +651,24 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
651
651
|
onClick: T[5] || (T[5] = se((x) => c(), ["prevent", "stop"]))
|
|
652
652
|
}, Z(e.closeMenuModalLabel), 1),
|
|
653
653
|
y("div", Mn, [
|
|
654
|
-
|
|
655
|
-
onSelect: T[6] || (T[6] = (x) =>
|
|
654
|
+
l(A) ? (u(), k(E, ee({ key: 0 }, l(A), {
|
|
655
|
+
onSelect: T[6] || (T[6] = (x) => l(A).currentLanguage = x.codeIso)
|
|
656
656
|
}), null, 16)) : D("", !0),
|
|
657
|
-
|
|
658
|
-
|
|
657
|
+
j(p.$slots, "before-quick-links", {}, void 0, !0),
|
|
658
|
+
l(i) ? (u(), k(ft, {
|
|
659
659
|
key: 1,
|
|
660
660
|
role: "navigation",
|
|
661
661
|
links: e.quickLinks,
|
|
662
662
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
663
|
-
onLinkClick:
|
|
663
|
+
onLinkClick: l(I)
|
|
664
664
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : D("", !0),
|
|
665
|
-
|
|
665
|
+
j(p.$slots, "after-quick-links", {}, void 0, !0)
|
|
666
666
|
]),
|
|
667
|
-
o
|
|
667
|
+
l(o) ? j(p.$slots, "mainnav", {
|
|
668
668
|
key: 0,
|
|
669
669
|
hidemodal: c
|
|
670
670
|
}, void 0, !0) : D("", !0),
|
|
671
|
-
|
|
671
|
+
l(s) ? (u(), g("div", pn, [
|
|
672
672
|
P(L, {
|
|
673
673
|
"searchbar-id": e.searchbarId,
|
|
674
674
|
"model-value": e.modelValue,
|
|
@@ -679,18 +679,18 @@ const rn = /* @__PURE__ */ W(tn, [["render", nn]]), An = {
|
|
|
679
679
|
])) : D("", !0)
|
|
680
680
|
])
|
|
681
681
|
], 10, yn)) : D("", !0),
|
|
682
|
-
|
|
682
|
+
j(p.$slots, "default", {}, void 0, !0)
|
|
683
683
|
])
|
|
684
684
|
]),
|
|
685
685
|
y("div", Nn, [
|
|
686
|
-
|
|
687
|
-
|
|
686
|
+
l(C) && !l(o) ? (u(), g("div", Tn, [
|
|
687
|
+
j(p.$slots, "mainnav", { hidemodal: c }, void 0, !0)
|
|
688
688
|
])) : D("", !0)
|
|
689
689
|
])
|
|
690
690
|
]);
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
}),
|
|
693
|
+
}), Dl = /* @__PURE__ */ W(Qn, [["__scopeId", "data-v-40671897"]]), Dn = {
|
|
694
694
|
xmlns: "http://www.w3.org/2000/svg",
|
|
695
695
|
viewBox: "0 0 106.703 44.429"
|
|
696
696
|
};
|
|
@@ -708,7 +708,7 @@ function Ln(e, t) {
|
|
|
708
708
|
}, null, -1)
|
|
709
709
|
])]);
|
|
710
710
|
}
|
|
711
|
-
const
|
|
711
|
+
const wn = { render: Ln }, On = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ w({
|
|
712
712
|
__name: "EsupLogo",
|
|
713
713
|
props: {
|
|
714
714
|
width: {},
|
|
@@ -719,24 +719,24 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
719
719
|
te((a) => ({
|
|
720
720
|
v1dadd14a: a.color
|
|
721
721
|
}));
|
|
722
|
-
const t =
|
|
722
|
+
const t = M(() => ({
|
|
723
723
|
...e.width && { width: e.width },
|
|
724
724
|
...e.height && { height: e.height }
|
|
725
725
|
}));
|
|
726
|
-
return (a, n) => (u(), g("div",
|
|
727
|
-
P(
|
|
726
|
+
return (a, n) => (u(), g("div", On, [
|
|
727
|
+
P(l(wn), ee(l(t), { class: "logo" }), null, 16)
|
|
728
728
|
]));
|
|
729
729
|
}
|
|
730
|
-
}),
|
|
730
|
+
}), Ll = /* @__PURE__ */ W(Sn, [["__scopeId", "data-v-0e512b24"]]), wl = /* @__PURE__ */ w({
|
|
731
731
|
__name: "AvAccordion",
|
|
732
732
|
props: {
|
|
733
733
|
title: {},
|
|
734
734
|
icon: {}
|
|
735
735
|
},
|
|
736
736
|
setup(e) {
|
|
737
|
-
return (t, a) =>
|
|
737
|
+
return (t, a) => j(t.$slots, "default");
|
|
738
738
|
}
|
|
739
|
-
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" },
|
|
739
|
+
}), kn = { class: "title-container" }, zn = { class: "n6" }, xn = { class: "accordion-content-container" }, Bn = /* @__PURE__ */ w({
|
|
740
740
|
__name: "AvAccordionsGroup",
|
|
741
741
|
props: /* @__PURE__ */ ve({
|
|
742
742
|
activeAccordion: {}
|
|
@@ -746,40 +746,40 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
746
746
|
}),
|
|
747
747
|
emits: /* @__PURE__ */ ve(["update:activeAccordion"], ["update:activeAccordion"]),
|
|
748
748
|
setup(e) {
|
|
749
|
-
const t =
|
|
750
|
-
var
|
|
751
|
-
return ((
|
|
752
|
-
}), n =
|
|
753
|
-
return (
|
|
749
|
+
const t = Ae(), a = M(() => {
|
|
750
|
+
var A;
|
|
751
|
+
return ((A = t.default) == null ? void 0 : A.call(t)) || [];
|
|
752
|
+
}), n = xe(e, "activeAccordion"), r = `accordion-group-${crypto.randomUUID()}`;
|
|
753
|
+
return (A, i) => (u(), k(l(la), {
|
|
754
754
|
modelValue: n.value,
|
|
755
|
-
"onUpdate:modelValue":
|
|
755
|
+
"onUpdate:modelValue": i[0] || (i[0] = (s) => n.value = s),
|
|
756
756
|
role: "group",
|
|
757
757
|
"aria-label": "Accordion group"
|
|
758
758
|
}, {
|
|
759
759
|
default: R(() => [
|
|
760
|
-
(u(!0), g(_, null, re(
|
|
761
|
-
id: `${r}-accordion-${
|
|
762
|
-
key:
|
|
763
|
-
"aria-labelledby": `accordion-title-${
|
|
764
|
-
"aria-describedby": `accordion-content-${
|
|
760
|
+
(u(!0), g(_, null, re(l(a), (s, o) => (u(), k(l(sa), {
|
|
761
|
+
id: `${r}-accordion-${o}`,
|
|
762
|
+
key: o,
|
|
763
|
+
"aria-labelledby": `accordion-title-${o}`,
|
|
764
|
+
"aria-describedby": `accordion-content-${o}`
|
|
765
765
|
}, {
|
|
766
766
|
title: R(() => {
|
|
767
767
|
var c, d, f;
|
|
768
768
|
return [
|
|
769
769
|
y("div", kn, [
|
|
770
|
-
(c =
|
|
770
|
+
(c = s.props) != null && c.icon ? (u(), k(ne, {
|
|
771
771
|
key: 0,
|
|
772
772
|
size: 2,
|
|
773
|
-
name: (d =
|
|
773
|
+
name: (d = s.props) == null ? void 0 : d.icon,
|
|
774
774
|
color: "var(--icon)"
|
|
775
775
|
}, null, 8, ["name"])) : D("", !0),
|
|
776
|
-
y("h6", zn, Z((f =
|
|
776
|
+
y("h6", zn, Z((f = s.props) == null ? void 0 : f.title), 1)
|
|
777
777
|
])
|
|
778
778
|
];
|
|
779
779
|
}),
|
|
780
780
|
default: R(() => [
|
|
781
781
|
y("div", xn, [
|
|
782
|
-
(u(), k(ue(
|
|
782
|
+
(u(), k(ue(s.children.default)))
|
|
783
783
|
])
|
|
784
784
|
]),
|
|
785
785
|
_: 2
|
|
@@ -788,47 +788,52 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
788
788
|
_: 1
|
|
789
789
|
}, 8, ["modelValue"]));
|
|
790
790
|
}
|
|
791
|
-
}), Ol = /* @__PURE__ */ W(
|
|
791
|
+
}), Ol = /* @__PURE__ */ W(Bn, [["__scopeId", "data-v-efeab1a6"]]), Sl = {
|
|
792
792
|
name: "AvButton",
|
|
793
793
|
props: ["label", "variant", "type", "disabled", "isLoading"],
|
|
794
794
|
emits: ["click"],
|
|
795
795
|
template: `<button :disabled="disabled" @click="$emit('click')">{{ label }}</button>`
|
|
796
|
-
},
|
|
796
|
+
}, jn = { class: "av-cancel-confirm-buttons-container" }, Pn = /* @__PURE__ */ w({
|
|
797
797
|
__name: "AvCancelConfirmButtons",
|
|
798
798
|
props: {
|
|
799
799
|
cancelLabel: {},
|
|
800
800
|
cancelIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
|
|
801
|
+
cancelDisabled: { type: Boolean },
|
|
802
|
+
cancelIsLoading: { type: Boolean },
|
|
801
803
|
confirmLabel: {},
|
|
802
804
|
confirmIcon: { default: () => Y.CLOSE_CIRCLE_OUTLINE },
|
|
803
|
-
|
|
805
|
+
confirmDisabled: { type: Boolean },
|
|
806
|
+
confirmIsLoading: { type: Boolean }
|
|
804
807
|
},
|
|
805
808
|
emits: ["cancel", "confirm"],
|
|
806
809
|
setup(e, { emit: t }) {
|
|
807
810
|
const a = t;
|
|
808
|
-
return (n, r) => (u(), g("div",
|
|
809
|
-
e.cancelLabel ? (u(), k(
|
|
811
|
+
return (n, r) => (u(), g("div", jn, [
|
|
812
|
+
e.cancelLabel ? (u(), k(l(me), {
|
|
810
813
|
key: 0,
|
|
811
814
|
icon: e.cancelIcon,
|
|
812
815
|
label: e.cancelLabel,
|
|
813
816
|
title: e.cancelLabel,
|
|
814
817
|
variant: "OUTLINED",
|
|
815
|
-
"is-loading": e.
|
|
818
|
+
"is-loading": e.cancelIsLoading,
|
|
819
|
+
disabled: e.cancelDisabled,
|
|
816
820
|
size: "sm",
|
|
817
821
|
onClick: r[0] || (r[0] = () => a("cancel"))
|
|
818
|
-
}, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0),
|
|
819
|
-
e.confirmLabel ? (u(), k(
|
|
822
|
+
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : D("", !0),
|
|
823
|
+
e.confirmLabel ? (u(), k(l(me), {
|
|
820
824
|
key: 1,
|
|
821
825
|
icon: e.confirmIcon,
|
|
822
826
|
label: e.confirmLabel,
|
|
823
827
|
title: e.confirmLabel,
|
|
824
828
|
variant: "FLAT",
|
|
825
|
-
"is-loading": e.
|
|
829
|
+
"is-loading": e.confirmIsLoading,
|
|
830
|
+
disabled: e.confirmDisabled,
|
|
826
831
|
size: "sm",
|
|
827
832
|
onClick: r[1] || (r[1] = () => a("confirm"))
|
|
828
|
-
}, null, 8, ["icon", "label", "title", "is-loading"])) : D("", !0)
|
|
833
|
+
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : D("", !0)
|
|
829
834
|
]));
|
|
830
835
|
}
|
|
831
|
-
}), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-
|
|
836
|
+
}), Wn = /* @__PURE__ */ W(Pn, [["__scopeId", "data-v-b2b6579f"]]), Vn = ["title", "aria-label"], Un = { class: "av-rich-button__line" }, Xn = { class: "av-rich-button__left" }, Hn = /* @__PURE__ */ w({
|
|
832
837
|
__name: "AvRichButton",
|
|
833
838
|
props: {
|
|
834
839
|
label: {},
|
|
@@ -857,7 +862,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
857
862
|
color: "var(--dark-background-primary1)",
|
|
858
863
|
size: 1.5
|
|
859
864
|
}, null, 8, ["name"])) : D("", !0),
|
|
860
|
-
|
|
865
|
+
j(t.$slots, "default", {}, void 0, !0)
|
|
861
866
|
]),
|
|
862
867
|
e.iconRight ? (u(), k(ne, {
|
|
863
868
|
key: 0,
|
|
@@ -868,11 +873,11 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
868
873
|
])
|
|
869
874
|
], 8, Vn));
|
|
870
875
|
}
|
|
871
|
-
}),
|
|
876
|
+
}), kl = /* @__PURE__ */ W(Hn, [["__scopeId", "data-v-f0871dc1"]]), Zn = {
|
|
872
877
|
key: 0,
|
|
873
878
|
class: "messages-group",
|
|
874
879
|
role: "alert"
|
|
875
|
-
}, qn = /* @__PURE__ */
|
|
880
|
+
}, qn = /* @__PURE__ */ w({
|
|
876
881
|
__name: "AvFileUploadAlert",
|
|
877
882
|
props: {
|
|
878
883
|
error: { default: void 0 },
|
|
@@ -880,8 +885,8 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
880
885
|
},
|
|
881
886
|
setup(e) {
|
|
882
887
|
return (t, a) => e.error || e.validMessage ? (u(), g("div", Zn, [
|
|
883
|
-
P(
|
|
884
|
-
icon: e.error ?
|
|
888
|
+
P(Ba, {
|
|
889
|
+
icon: e.error ? l(Y).CLOSE_CIRCLE_OUTLINE : l(Y).CHECK_CIRCLE_OUTLINE,
|
|
885
890
|
"icon-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
886
891
|
text: e.error ? e.error : e.validMessage,
|
|
887
892
|
"text-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
@@ -895,7 +900,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
895
900
|
}, _n = { class: "b2-regular" }, $n = { class: "caption-light" }, er = {
|
|
896
901
|
key: 0,
|
|
897
902
|
class: "right-icon-container"
|
|
898
|
-
}, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */
|
|
903
|
+
}, tr = ["id", "aria-describedby", "disabled", "aria-disabled", "accept"], ar = { class: "caption-light" }, nr = /* @__PURE__ */ w({
|
|
899
904
|
inheritAttrs: !1,
|
|
900
905
|
__name: "AvFileUpload",
|
|
901
906
|
props: {
|
|
@@ -920,29 +925,29 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
920
925
|
te((I) => ({
|
|
921
926
|
v38bbeb48: I.maxWidth
|
|
922
927
|
}));
|
|
923
|
-
const a = t, n =
|
|
924
|
-
function
|
|
928
|
+
const a = t, n = M(() => Array.isArray(e.accept) ? e.accept.join(",") : e.accept), r = J(!1);
|
|
929
|
+
function A(I) {
|
|
925
930
|
const m = n.value;
|
|
926
|
-
return m ? m.split(",").map((
|
|
931
|
+
return m ? m.split(",").map((p) => p.trim().toLowerCase()).some((p) => p.startsWith(".") ? I.name.toLowerCase().endsWith(p) : p.includes("/") ? I.type === p || I.type.startsWith(`${p.split("/")[0]}/`) : !1) : !0;
|
|
927
932
|
}
|
|
928
|
-
async function
|
|
929
|
-
var C,
|
|
930
|
-
if (I.preventDefault(), r.value = !1, e.disabled || !((
|
|
933
|
+
async function i(I) {
|
|
934
|
+
var C, p;
|
|
935
|
+
if (I.preventDefault(), r.value = !1, e.disabled || !((p = (C = I.dataTransfer) == null ? void 0 : C.files) != null && p.length))
|
|
931
936
|
return;
|
|
932
|
-
const m = Array.from(I.dataTransfer.files).filter(
|
|
937
|
+
const m = Array.from(I.dataTransfer.files).filter(A);
|
|
933
938
|
await Re(), m.length ? (a("change", m), a("update:modelValue", m[0] ?? "")) : a("onDropAcceptTypeError");
|
|
934
939
|
}
|
|
935
|
-
function
|
|
940
|
+
function s(I) {
|
|
936
941
|
I.preventDefault(), e.disabled || (r.value = !0);
|
|
937
942
|
}
|
|
938
|
-
function
|
|
943
|
+
function o() {
|
|
939
944
|
r.value = !1;
|
|
940
945
|
}
|
|
941
946
|
function c(I) {
|
|
942
947
|
const m = I.target.files;
|
|
943
948
|
a("change", m), a("update:modelValue", (m == null ? void 0 : m[0]) ?? null);
|
|
944
949
|
}
|
|
945
|
-
const d =
|
|
950
|
+
const d = M(() => e.fileName || e.modelValue && !e.enableMultiple), f = M(() => ({
|
|
946
951
|
for: e.id,
|
|
947
952
|
class: [
|
|
948
953
|
"fr-upload-group",
|
|
@@ -954,34 +959,34 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
954
959
|
}
|
|
955
960
|
],
|
|
956
961
|
"aria-label": e.ariaLabel,
|
|
957
|
-
onDragover:
|
|
958
|
-
onDragleave:
|
|
959
|
-
onDrop:
|
|
962
|
+
onDragover: s,
|
|
963
|
+
onDragleave: o,
|
|
964
|
+
onDrop: i
|
|
960
965
|
}));
|
|
961
|
-
function
|
|
966
|
+
function b(I) {
|
|
962
967
|
var m;
|
|
963
968
|
I ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (m = e.onDeleteFile) == null || m.call(e);
|
|
964
969
|
}
|
|
965
970
|
return (I, m) => (u(), g(_, null, [
|
|
966
|
-
(u(), k(ue(
|
|
967
|
-
class:
|
|
971
|
+
(u(), k(ue(l(d) ? "div" : "label"), ee(l(d) ? {} : l(f), {
|
|
972
|
+
class: l(d) ? "file-preview-container" : ""
|
|
968
973
|
}), {
|
|
969
974
|
default: R(() => [
|
|
970
975
|
y("div", {
|
|
971
|
-
class: F(
|
|
976
|
+
class: F(l(d) ? "" : "file-upload-container")
|
|
972
977
|
}, [
|
|
973
978
|
y("div", Yn, [
|
|
974
979
|
y("div", Rn, [
|
|
975
|
-
|
|
980
|
+
j(I.$slots, "left", {}, () => [
|
|
976
981
|
P(ne, {
|
|
977
982
|
size: 2.5,
|
|
978
|
-
name:
|
|
983
|
+
name: l(Y).ATTACHMENT_PLUS,
|
|
979
984
|
color: "var(--icon)"
|
|
980
985
|
}, null, 8, ["name"])
|
|
981
986
|
], !0)
|
|
982
987
|
]),
|
|
983
988
|
y("div", Fn, [
|
|
984
|
-
|
|
989
|
+
l(d) ? (u(), g("div", Kn, [
|
|
985
990
|
y("span", Gn, Z(e.fileName || e.modelValue.name), 1)
|
|
986
991
|
])) : (u(), g("div", Jn, [
|
|
987
992
|
y("span", _n, Z(e.title), 1),
|
|
@@ -993,19 +998,19 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
993
998
|
}, null, 8, ["valid-message", "error"])
|
|
994
999
|
]),
|
|
995
1000
|
e.disabled ? D("", !0) : (u(), g("div", er, [
|
|
996
|
-
|
|
1001
|
+
l(d) ? (u(), k(me, {
|
|
997
1002
|
key: 0,
|
|
998
1003
|
label: e.deleteButtonLabel,
|
|
999
1004
|
theme: "SECONDARY",
|
|
1000
|
-
onClick: m[0] || (m[0] = () =>
|
|
1005
|
+
onClick: m[0] || (m[0] = () => b(e.modelValue))
|
|
1001
1006
|
}, null, 8, ["label"])) : (u(), k(ne, {
|
|
1002
1007
|
key: 1,
|
|
1003
1008
|
size: 1.5,
|
|
1004
|
-
name:
|
|
1009
|
+
name: l(Y).TRAY_UPLOAD,
|
|
1005
1010
|
color: "var(--dark-background-primary1)"
|
|
1006
1011
|
}, null, 8, ["name"]))
|
|
1007
1012
|
])),
|
|
1008
|
-
|
|
1013
|
+
l(d) ? D("", !0) : (u(), g("input", ee({
|
|
1009
1014
|
key: 1,
|
|
1010
1015
|
id: e.id,
|
|
1011
1016
|
class: "fr-upload",
|
|
@@ -1014,7 +1019,7 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
1014
1019
|
}, I.$attrs, {
|
|
1015
1020
|
disabled: e.disabled,
|
|
1016
1021
|
"aria-disabled": e.disabled,
|
|
1017
|
-
accept:
|
|
1022
|
+
accept: l(n),
|
|
1018
1023
|
onChange: m[1] || (m[1] = (C) => c(C))
|
|
1019
1024
|
}), null, 16, tr))
|
|
1020
1025
|
])
|
|
@@ -1023,36 +1028,36 @@ const On = { render: Ln }, wn = { class: "svg-wrapper" }, Sn = /* @__PURE__ */ O
|
|
|
1023
1028
|
_: 3
|
|
1024
1029
|
}, 16, ["class"])),
|
|
1025
1030
|
y("span", ar, [
|
|
1026
|
-
|
|
1031
|
+
j(I.$slots, "hint", {}, void 0, !0)
|
|
1027
1032
|
])
|
|
1028
1033
|
], 64));
|
|
1029
1034
|
}
|
|
1030
|
-
}),
|
|
1035
|
+
}), zl = /* @__PURE__ */ W(nr, [["__scopeId", "data-v-2c0c549f"]]), xt = 6048e5, rr = 864e5, vt = Symbol.for("constructDateFrom");
|
|
1031
1036
|
function ge(e, t) {
|
|
1032
1037
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && vt in e ? e[vt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
1033
1038
|
}
|
|
1034
1039
|
function le(e, t) {
|
|
1035
1040
|
return ge(t || e, e);
|
|
1036
1041
|
}
|
|
1037
|
-
let
|
|
1042
|
+
let ir = {};
|
|
1038
1043
|
function Fe() {
|
|
1039
|
-
return
|
|
1044
|
+
return ir;
|
|
1040
1045
|
}
|
|
1041
|
-
function
|
|
1042
|
-
var
|
|
1043
|
-
const a = Fe(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((
|
|
1044
|
-
return r.setDate(r.getDate() -
|
|
1046
|
+
function Be(e, t) {
|
|
1047
|
+
var s, o, c, d;
|
|
1048
|
+
const a = Fe(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((o = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : o.weekStartsOn) ?? a.weekStartsOn ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.weekStartsOn) ?? 0, r = le(e, t == null ? void 0 : t.in), A = r.getDay(), i = (A < n ? 7 : 0) + A - n;
|
|
1049
|
+
return r.setDate(r.getDate() - i), r.setHours(0, 0, 0, 0), r;
|
|
1045
1050
|
}
|
|
1046
1051
|
function Ue(e, t) {
|
|
1047
|
-
return
|
|
1052
|
+
return Be(e, { ...t, weekStartsOn: 1 });
|
|
1048
1053
|
}
|
|
1049
|
-
function
|
|
1054
|
+
function Bt(e, t) {
|
|
1050
1055
|
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = ge(a, 0);
|
|
1051
1056
|
r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
1052
|
-
const
|
|
1053
|
-
|
|
1054
|
-
const
|
|
1055
|
-
return a.getTime() >=
|
|
1057
|
+
const A = Ue(r), i = ge(a, 0);
|
|
1058
|
+
i.setFullYear(n, 0, 4), i.setHours(0, 0, 0, 0);
|
|
1059
|
+
const s = Ue(i);
|
|
1060
|
+
return a.getTime() >= A.getTime() ? n + 1 : a.getTime() >= s.getTime() ? n : n - 1;
|
|
1056
1061
|
}
|
|
1057
1062
|
function mt(e) {
|
|
1058
1063
|
const t = le(e), a = new Date(
|
|
@@ -1068,7 +1073,7 @@ function mt(e) {
|
|
|
1068
1073
|
);
|
|
1069
1074
|
return a.setUTCFullYear(t.getFullYear()), +e - +a;
|
|
1070
1075
|
}
|
|
1071
|
-
function
|
|
1076
|
+
function Ar(e, ...t) {
|
|
1072
1077
|
const a = ge.bind(
|
|
1073
1078
|
null,
|
|
1074
1079
|
t.find((n) => typeof n == "object")
|
|
@@ -1080,21 +1085,21 @@ function gt(e, t) {
|
|
|
1080
1085
|
return a.setHours(0, 0, 0, 0), a;
|
|
1081
1086
|
}
|
|
1082
1087
|
function or(e, t, a) {
|
|
1083
|
-
const [n, r] =
|
|
1088
|
+
const [n, r] = Ar(
|
|
1084
1089
|
a == null ? void 0 : a.in,
|
|
1085
1090
|
e,
|
|
1086
1091
|
t
|
|
1087
|
-
),
|
|
1088
|
-
return Math.round((
|
|
1092
|
+
), A = gt(n), i = gt(r), s = +A - mt(A), o = +i - mt(i);
|
|
1093
|
+
return Math.round((s - o) / rr);
|
|
1089
1094
|
}
|
|
1090
1095
|
function lr(e, t) {
|
|
1091
|
-
const a =
|
|
1096
|
+
const a = Bt(e, t), n = ge(e, 0);
|
|
1092
1097
|
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), Ue(n);
|
|
1093
1098
|
}
|
|
1094
1099
|
function sr(e) {
|
|
1095
1100
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
1096
1101
|
}
|
|
1097
|
-
function
|
|
1102
|
+
function jt(e) {
|
|
1098
1103
|
return !(!sr(e) && typeof e != "number" || isNaN(+le(e)));
|
|
1099
1104
|
}
|
|
1100
1105
|
function cr(e, t) {
|
|
@@ -1209,23 +1214,23 @@ const fr = {
|
|
|
1209
1214
|
tomorrow: "'tomorrow at' p",
|
|
1210
1215
|
nextWeek: "eeee 'at' p",
|
|
1211
1216
|
other: "P"
|
|
1212
|
-
},
|
|
1213
|
-
function
|
|
1217
|
+
}, br = (e, t, a, n) => Ir[e];
|
|
1218
|
+
function Le(e) {
|
|
1214
1219
|
return (t, a) => {
|
|
1215
1220
|
const n = a != null && a.context ? String(a.context) : "standalone";
|
|
1216
1221
|
let r;
|
|
1217
1222
|
if (n === "formatting" && e.formattingValues) {
|
|
1218
|
-
const
|
|
1219
|
-
r = e.formattingValues[
|
|
1223
|
+
const i = e.defaultFormattingWidth || e.defaultWidth, s = a != null && a.width ? String(a.width) : i;
|
|
1224
|
+
r = e.formattingValues[s] || e.formattingValues[i];
|
|
1220
1225
|
} else {
|
|
1221
|
-
const
|
|
1222
|
-
r = e.values[
|
|
1226
|
+
const i = e.defaultWidth, s = a != null && a.width ? String(a.width) : e.defaultWidth;
|
|
1227
|
+
r = e.values[s] || e.values[i];
|
|
1223
1228
|
}
|
|
1224
|
-
const
|
|
1225
|
-
return r[
|
|
1229
|
+
const A = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
1230
|
+
return r[A];
|
|
1226
1231
|
};
|
|
1227
1232
|
}
|
|
1228
|
-
const
|
|
1233
|
+
const hr = {
|
|
1229
1234
|
narrow: ["B", "A"],
|
|
1230
1235
|
abbreviated: ["BC", "AD"],
|
|
1231
1236
|
wide: ["Before Christ", "Anno Domini"]
|
|
@@ -1352,45 +1357,45 @@ const br = {
|
|
|
1352
1357
|
return a + "th";
|
|
1353
1358
|
}, Tr = {
|
|
1354
1359
|
ordinalNumber: Nr,
|
|
1355
|
-
era:
|
|
1356
|
-
values:
|
|
1360
|
+
era: Le({
|
|
1361
|
+
values: hr,
|
|
1357
1362
|
defaultWidth: "wide"
|
|
1358
1363
|
}),
|
|
1359
|
-
quarter:
|
|
1364
|
+
quarter: Le({
|
|
1360
1365
|
values: Cr,
|
|
1361
1366
|
defaultWidth: "wide",
|
|
1362
1367
|
argumentCallback: (e) => e - 1
|
|
1363
1368
|
}),
|
|
1364
|
-
month:
|
|
1369
|
+
month: Le({
|
|
1365
1370
|
values: yr,
|
|
1366
1371
|
defaultWidth: "wide"
|
|
1367
1372
|
}),
|
|
1368
|
-
day:
|
|
1373
|
+
day: Le({
|
|
1369
1374
|
values: Er,
|
|
1370
1375
|
defaultWidth: "wide"
|
|
1371
1376
|
}),
|
|
1372
|
-
dayPeriod:
|
|
1377
|
+
dayPeriod: Le({
|
|
1373
1378
|
values: Mr,
|
|
1374
1379
|
defaultWidth: "wide",
|
|
1375
1380
|
formattingValues: pr,
|
|
1376
1381
|
defaultFormattingWidth: "wide"
|
|
1377
1382
|
})
|
|
1378
1383
|
};
|
|
1379
|
-
function
|
|
1384
|
+
function we(e) {
|
|
1380
1385
|
return (t, a = {}) => {
|
|
1381
|
-
const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth],
|
|
1382
|
-
if (!
|
|
1386
|
+
const n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], A = t.match(r);
|
|
1387
|
+
if (!A)
|
|
1383
1388
|
return null;
|
|
1384
|
-
const
|
|
1389
|
+
const i = A[0], s = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], o = Array.isArray(s) ? Dr(s, (f) => f.test(i)) : (
|
|
1385
1390
|
// [TODO] -- I challenge you to fix the type
|
|
1386
|
-
Qr(
|
|
1391
|
+
Qr(s, (f) => f.test(i))
|
|
1387
1392
|
);
|
|
1388
1393
|
let c;
|
|
1389
|
-
c = e.valueCallback ? e.valueCallback(
|
|
1394
|
+
c = e.valueCallback ? e.valueCallback(o) : o, c = a.valueCallback ? (
|
|
1390
1395
|
// [TODO] -- I challenge you to fix the type
|
|
1391
1396
|
a.valueCallback(c)
|
|
1392
1397
|
) : c;
|
|
1393
|
-
const d = t.slice(
|
|
1398
|
+
const d = t.slice(i.length);
|
|
1394
1399
|
return { value: c, rest: d };
|
|
1395
1400
|
};
|
|
1396
1401
|
}
|
|
@@ -1408,15 +1413,15 @@ function Lr(e) {
|
|
|
1408
1413
|
return (t, a = {}) => {
|
|
1409
1414
|
const n = t.match(e.matchPattern);
|
|
1410
1415
|
if (!n) return null;
|
|
1411
|
-
const r = n[0],
|
|
1412
|
-
if (!
|
|
1413
|
-
let
|
|
1414
|
-
|
|
1415
|
-
const
|
|
1416
|
-
return { value:
|
|
1416
|
+
const r = n[0], A = t.match(e.parsePattern);
|
|
1417
|
+
if (!A) return null;
|
|
1418
|
+
let i = e.valueCallback ? e.valueCallback(A[0]) : A[0];
|
|
1419
|
+
i = a.valueCallback ? a.valueCallback(i) : i;
|
|
1420
|
+
const s = t.slice(r.length);
|
|
1421
|
+
return { value: i, rest: s };
|
|
1417
1422
|
};
|
|
1418
1423
|
}
|
|
1419
|
-
const
|
|
1424
|
+
const wr = /^(\d+)(th|st|nd|rd)?/i, Or = /\d+/i, Sr = {
|
|
1420
1425
|
narrow: /^(b|a)/i,
|
|
1421
1426
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1422
1427
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -1428,11 +1433,11 @@ const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
|
|
|
1428
1433
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
1429
1434
|
}, xr = {
|
|
1430
1435
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1431
|
-
},
|
|
1436
|
+
}, Br = {
|
|
1432
1437
|
narrow: /^[jfmasond]/i,
|
|
1433
1438
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
1434
1439
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
1435
|
-
},
|
|
1440
|
+
}, jr = {
|
|
1436
1441
|
narrow: [
|
|
1437
1442
|
/^j/i,
|
|
1438
1443
|
/^f/i,
|
|
@@ -1485,36 +1490,36 @@ const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
|
|
|
1485
1490
|
}
|
|
1486
1491
|
}, Xr = {
|
|
1487
1492
|
ordinalNumber: Lr({
|
|
1488
|
-
matchPattern:
|
|
1489
|
-
parsePattern:
|
|
1493
|
+
matchPattern: wr,
|
|
1494
|
+
parsePattern: Or,
|
|
1490
1495
|
valueCallback: (e) => parseInt(e, 10)
|
|
1491
1496
|
}),
|
|
1492
|
-
era:
|
|
1497
|
+
era: we({
|
|
1493
1498
|
matchPatterns: Sr,
|
|
1494
1499
|
defaultMatchWidth: "wide",
|
|
1495
1500
|
parsePatterns: kr,
|
|
1496
1501
|
defaultParseWidth: "any"
|
|
1497
1502
|
}),
|
|
1498
|
-
quarter:
|
|
1503
|
+
quarter: we({
|
|
1499
1504
|
matchPatterns: zr,
|
|
1500
1505
|
defaultMatchWidth: "wide",
|
|
1501
1506
|
parsePatterns: xr,
|
|
1502
1507
|
defaultParseWidth: "any",
|
|
1503
1508
|
valueCallback: (e) => e + 1
|
|
1504
1509
|
}),
|
|
1505
|
-
month:
|
|
1506
|
-
matchPatterns:
|
|
1510
|
+
month: we({
|
|
1511
|
+
matchPatterns: Br,
|
|
1507
1512
|
defaultMatchWidth: "wide",
|
|
1508
|
-
parsePatterns:
|
|
1513
|
+
parsePatterns: jr,
|
|
1509
1514
|
defaultParseWidth: "any"
|
|
1510
1515
|
}),
|
|
1511
|
-
day:
|
|
1516
|
+
day: we({
|
|
1512
1517
|
matchPatterns: Pr,
|
|
1513
1518
|
defaultMatchWidth: "wide",
|
|
1514
1519
|
parsePatterns: Wr,
|
|
1515
1520
|
defaultParseWidth: "any"
|
|
1516
1521
|
}),
|
|
1517
|
-
dayPeriod:
|
|
1522
|
+
dayPeriod: we({
|
|
1518
1523
|
matchPatterns: Vr,
|
|
1519
1524
|
defaultMatchWidth: "any",
|
|
1520
1525
|
parsePatterns: Ur,
|
|
@@ -1524,7 +1529,7 @@ const Or = /^(\d+)(th|st|nd|rd)?/i, wr = /\d+/i, Sr = {
|
|
|
1524
1529
|
code: "en-US",
|
|
1525
1530
|
formatDistance: dr,
|
|
1526
1531
|
formatLong: gr,
|
|
1527
|
-
formatRelative:
|
|
1532
|
+
formatRelative: br,
|
|
1528
1533
|
localize: Tr,
|
|
1529
1534
|
match: Xr,
|
|
1530
1535
|
options: {
|
|
@@ -1541,21 +1546,21 @@ function qr(e, t) {
|
|
|
1541
1546
|
return Math.round(n / xt) + 1;
|
|
1542
1547
|
}
|
|
1543
1548
|
function Pt(e, t) {
|
|
1544
|
-
var d, f,
|
|
1545
|
-
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(),
|
|
1546
|
-
|
|
1547
|
-
const
|
|
1548
|
-
|
|
1549
|
-
const c =
|
|
1550
|
-
return +a >= +
|
|
1549
|
+
var d, f, b, I;
|
|
1550
|
+
const a = le(e, t == null ? void 0 : t.in), n = a.getFullYear(), r = Fe(), A = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (b = r.locale) == null ? void 0 : b.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, i = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1551
|
+
i.setFullYear(n + 1, 0, A), i.setHours(0, 0, 0, 0);
|
|
1552
|
+
const s = Be(i, t), o = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1553
|
+
o.setFullYear(n, 0, A), o.setHours(0, 0, 0, 0);
|
|
1554
|
+
const c = Be(o, t);
|
|
1555
|
+
return +a >= +s ? n + 1 : +a >= +c ? n : n - 1;
|
|
1551
1556
|
}
|
|
1552
1557
|
function Yr(e, t) {
|
|
1553
|
-
var
|
|
1554
|
-
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((
|
|
1555
|
-
return
|
|
1558
|
+
var s, o, c, d;
|
|
1559
|
+
const a = Fe(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((o = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : o.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((d = (c = a.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = Pt(e, t), A = ge((t == null ? void 0 : t.in) || e, 0);
|
|
1560
|
+
return A.setFullYear(r, 0, n), A.setHours(0, 0, 0, 0), Be(A, t);
|
|
1556
1561
|
}
|
|
1557
1562
|
function Rr(e, t) {
|
|
1558
|
-
const a = le(e, t == null ? void 0 : t.in), n = +
|
|
1563
|
+
const a = le(e, t == null ? void 0 : t.in), n = +Be(a, t) - +Yr(a, t);
|
|
1559
1564
|
return Math.round(n / xt) + 1;
|
|
1560
1565
|
}
|
|
1561
1566
|
function H(e, t) {
|
|
@@ -1652,16 +1657,16 @@ const fe = {
|
|
|
1652
1657
|
},
|
|
1653
1658
|
// Local week-numbering year
|
|
1654
1659
|
Y: function(e, t, a, n) {
|
|
1655
|
-
const r = Pt(e, n),
|
|
1660
|
+
const r = Pt(e, n), A = r > 0 ? r : 1 - r;
|
|
1656
1661
|
if (t === "YY") {
|
|
1657
|
-
const
|
|
1658
|
-
return H(
|
|
1662
|
+
const i = A % 100;
|
|
1663
|
+
return H(i, 2);
|
|
1659
1664
|
}
|
|
1660
|
-
return t === "Yo" ? a.ordinalNumber(
|
|
1665
|
+
return t === "Yo" ? a.ordinalNumber(A, { unit: "year" }) : H(A, t.length);
|
|
1661
1666
|
},
|
|
1662
1667
|
// ISO week-numbering year
|
|
1663
1668
|
R: function(e, t) {
|
|
1664
|
-
const a =
|
|
1669
|
+
const a = Bt(e);
|
|
1665
1670
|
return H(a, t.length);
|
|
1666
1671
|
},
|
|
1667
1672
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -1858,17 +1863,17 @@ const fe = {
|
|
|
1858
1863
|
},
|
|
1859
1864
|
// Local day of week
|
|
1860
1865
|
e: function(e, t, a, n) {
|
|
1861
|
-
const r = e.getDay(),
|
|
1866
|
+
const r = e.getDay(), A = (r - n.weekStartsOn + 8) % 7 || 7;
|
|
1862
1867
|
switch (t) {
|
|
1863
1868
|
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
1864
1869
|
case "e":
|
|
1865
|
-
return String(
|
|
1870
|
+
return String(A);
|
|
1866
1871
|
// Padded numerical value
|
|
1867
1872
|
case "ee":
|
|
1868
|
-
return H(
|
|
1873
|
+
return H(A, 2);
|
|
1869
1874
|
// 1st, 2nd, ..., 7th
|
|
1870
1875
|
case "eo":
|
|
1871
|
-
return a.ordinalNumber(
|
|
1876
|
+
return a.ordinalNumber(A, { unit: "day" });
|
|
1872
1877
|
case "eee":
|
|
1873
1878
|
return a.day(r, {
|
|
1874
1879
|
width: "abbreviated",
|
|
@@ -1897,17 +1902,17 @@ const fe = {
|
|
|
1897
1902
|
},
|
|
1898
1903
|
// Stand-alone local day of week
|
|
1899
1904
|
c: function(e, t, a, n) {
|
|
1900
|
-
const r = e.getDay(),
|
|
1905
|
+
const r = e.getDay(), A = (r - n.weekStartsOn + 8) % 7 || 7;
|
|
1901
1906
|
switch (t) {
|
|
1902
1907
|
// Numerical value (same as in `e`)
|
|
1903
1908
|
case "c":
|
|
1904
|
-
return String(
|
|
1909
|
+
return String(A);
|
|
1905
1910
|
// Padded numerical value
|
|
1906
1911
|
case "cc":
|
|
1907
|
-
return H(
|
|
1912
|
+
return H(A, t.length);
|
|
1908
1913
|
// 1st, 2nd, ..., 7th
|
|
1909
1914
|
case "co":
|
|
1910
|
-
return a.ordinalNumber(
|
|
1915
|
+
return a.ordinalNumber(A, { unit: "day" });
|
|
1911
1916
|
case "ccc":
|
|
1912
1917
|
return a.day(r, {
|
|
1913
1918
|
width: "abbreviated",
|
|
@@ -2098,13 +2103,13 @@ const fe = {
|
|
|
2098
2103
|
switch (t) {
|
|
2099
2104
|
// Hours and optional minutes
|
|
2100
2105
|
case "X":
|
|
2101
|
-
return
|
|
2106
|
+
return ht(n);
|
|
2102
2107
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
2103
2108
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2104
2109
|
// so this token always has the same output as `XX`
|
|
2105
2110
|
case "XXXX":
|
|
2106
2111
|
case "XX":
|
|
2107
|
-
return
|
|
2112
|
+
return be(n);
|
|
2108
2113
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
2109
2114
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2110
2115
|
// so this token always has the same output as `XXX`
|
|
@@ -2112,7 +2117,7 @@ const fe = {
|
|
|
2112
2117
|
case "XXX":
|
|
2113
2118
|
// Hours and minutes with `:` delimiter
|
|
2114
2119
|
default:
|
|
2115
|
-
return
|
|
2120
|
+
return be(n, ":");
|
|
2116
2121
|
}
|
|
2117
2122
|
},
|
|
2118
2123
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -2121,13 +2126,13 @@ const fe = {
|
|
|
2121
2126
|
switch (t) {
|
|
2122
2127
|
// Hours and optional minutes
|
|
2123
2128
|
case "x":
|
|
2124
|
-
return
|
|
2129
|
+
return ht(n);
|
|
2125
2130
|
// Hours, minutes and optional seconds without `:` delimiter
|
|
2126
2131
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2127
2132
|
// so this token always has the same output as `xx`
|
|
2128
2133
|
case "xxxx":
|
|
2129
2134
|
case "xx":
|
|
2130
|
-
return
|
|
2135
|
+
return be(n);
|
|
2131
2136
|
// Hours, minutes and optional seconds with `:` delimiter
|
|
2132
2137
|
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
2133
2138
|
// so this token always has the same output as `xxx`
|
|
@@ -2135,7 +2140,7 @@ const fe = {
|
|
|
2135
2140
|
case "xxx":
|
|
2136
2141
|
// Hours and minutes with `:` delimiter
|
|
2137
2142
|
default:
|
|
2138
|
-
return
|
|
2143
|
+
return be(n, ":");
|
|
2139
2144
|
}
|
|
2140
2145
|
},
|
|
2141
2146
|
// Timezone (GMT)
|
|
@@ -2146,11 +2151,11 @@ const fe = {
|
|
|
2146
2151
|
case "O":
|
|
2147
2152
|
case "OO":
|
|
2148
2153
|
case "OOO":
|
|
2149
|
-
return "GMT" +
|
|
2154
|
+
return "GMT" + bt(n, ":");
|
|
2150
2155
|
// Long
|
|
2151
2156
|
case "OOOO":
|
|
2152
2157
|
default:
|
|
2153
|
-
return "GMT" +
|
|
2158
|
+
return "GMT" + be(n, ":");
|
|
2154
2159
|
}
|
|
2155
2160
|
},
|
|
2156
2161
|
// Timezone (specific non-location)
|
|
@@ -2161,11 +2166,11 @@ const fe = {
|
|
|
2161
2166
|
case "z":
|
|
2162
2167
|
case "zz":
|
|
2163
2168
|
case "zzz":
|
|
2164
|
-
return "GMT" +
|
|
2169
|
+
return "GMT" + bt(n, ":");
|
|
2165
2170
|
// Long
|
|
2166
2171
|
case "zzzz":
|
|
2167
2172
|
default:
|
|
2168
|
-
return "GMT" +
|
|
2173
|
+
return "GMT" + be(n, ":");
|
|
2169
2174
|
}
|
|
2170
2175
|
},
|
|
2171
2176
|
// Seconds timestamp
|
|
@@ -2178,16 +2183,16 @@ const fe = {
|
|
|
2178
2183
|
return H(+e, t.length);
|
|
2179
2184
|
}
|
|
2180
2185
|
};
|
|
2181
|
-
function
|
|
2182
|
-
const a = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.trunc(n / 60),
|
|
2183
|
-
return
|
|
2186
|
+
function bt(e, t = "") {
|
|
2187
|
+
const a = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.trunc(n / 60), A = n % 60;
|
|
2188
|
+
return A === 0 ? a + String(r) : a + String(r) + t + H(A, 2);
|
|
2184
2189
|
}
|
|
2185
|
-
function
|
|
2186
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) :
|
|
2190
|
+
function ht(e, t) {
|
|
2191
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + H(Math.abs(e) / 60, 2) : be(e, t);
|
|
2187
2192
|
}
|
|
2188
|
-
function
|
|
2189
|
-
const a = e > 0 ? "-" : "+", n = Math.abs(e), r = H(Math.trunc(n / 60), 2),
|
|
2190
|
-
return a + r + t +
|
|
2193
|
+
function be(e, t = "") {
|
|
2194
|
+
const a = e > 0 ? "-" : "+", n = Math.abs(e), r = H(Math.trunc(n / 60), 2), A = H(n % 60, 2);
|
|
2195
|
+
return a + r + t + A;
|
|
2191
2196
|
}
|
|
2192
2197
|
const Ct = (e, t) => {
|
|
2193
2198
|
switch (e) {
|
|
@@ -2217,23 +2222,23 @@ const Ct = (e, t) => {
|
|
|
2217
2222
|
const a = e.match(/(P+)(p+)?/) || [], n = a[1], r = a[2];
|
|
2218
2223
|
if (!r)
|
|
2219
2224
|
return Ct(e, t);
|
|
2220
|
-
let
|
|
2225
|
+
let A;
|
|
2221
2226
|
switch (n) {
|
|
2222
2227
|
case "P":
|
|
2223
|
-
|
|
2228
|
+
A = t.dateTime({ width: "short" });
|
|
2224
2229
|
break;
|
|
2225
2230
|
case "PP":
|
|
2226
|
-
|
|
2231
|
+
A = t.dateTime({ width: "medium" });
|
|
2227
2232
|
break;
|
|
2228
2233
|
case "PPP":
|
|
2229
|
-
|
|
2234
|
+
A = t.dateTime({ width: "long" });
|
|
2230
2235
|
break;
|
|
2231
2236
|
case "PPPP":
|
|
2232
2237
|
default:
|
|
2233
|
-
|
|
2238
|
+
A = t.dateTime({ width: "full" });
|
|
2234
2239
|
break;
|
|
2235
2240
|
}
|
|
2236
|
-
return
|
|
2241
|
+
return A.replace("{{date}}", Ct(n, t)).replace("{{time}}", Wt(r, t));
|
|
2237
2242
|
}, Kr = {
|
|
2238
2243
|
p: Wt,
|
|
2239
2244
|
P: Fr
|
|
@@ -2241,76 +2246,76 @@ const Ct = (e, t) => {
|
|
|
2241
2246
|
function $r(e) {
|
|
2242
2247
|
return Gr.test(e);
|
|
2243
2248
|
}
|
|
2244
|
-
function
|
|
2249
|
+
function ei(e) {
|
|
2245
2250
|
return Jr.test(e);
|
|
2246
2251
|
}
|
|
2247
|
-
function
|
|
2248
|
-
const n =
|
|
2252
|
+
function ti(e, t, a) {
|
|
2253
|
+
const n = ai(e, t, a);
|
|
2249
2254
|
if (console.warn(n), _r.includes(e)) throw new RangeError(n);
|
|
2250
2255
|
}
|
|
2251
|
-
function
|
|
2256
|
+
function ai(e, t, a) {
|
|
2252
2257
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
2253
2258
|
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`;
|
|
2254
2259
|
}
|
|
2255
|
-
const
|
|
2256
|
-
function
|
|
2257
|
-
var d, f,
|
|
2258
|
-
const n = Fe(), r = n.locale ?? Hr,
|
|
2259
|
-
if (!
|
|
2260
|
+
const ni = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ri = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ii = /^'([^]*?)'?$/, Ai = /''/g, oi = /[a-zA-Z]/;
|
|
2261
|
+
function li(e, t, a) {
|
|
2262
|
+
var d, f, b, I;
|
|
2263
|
+
const n = Fe(), r = n.locale ?? Hr, A = n.firstWeekContainsDate ?? ((f = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, i = n.weekStartsOn ?? ((I = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : I.weekStartsOn) ?? 0, s = le(e, a == null ? void 0 : a.in);
|
|
2264
|
+
if (!jt(s))
|
|
2260
2265
|
throw new RangeError("Invalid time value");
|
|
2261
|
-
let
|
|
2266
|
+
let o = t.match(ri).map((m) => {
|
|
2262
2267
|
const C = m[0];
|
|
2263
2268
|
if (C === "p" || C === "P") {
|
|
2264
|
-
const
|
|
2265
|
-
return
|
|
2269
|
+
const p = Kr[C];
|
|
2270
|
+
return p(m, r.formatLong);
|
|
2266
2271
|
}
|
|
2267
2272
|
return m;
|
|
2268
|
-
}).join("").match(
|
|
2273
|
+
}).join("").match(ni).map((m) => {
|
|
2269
2274
|
if (m === "''")
|
|
2270
2275
|
return { isToken: !1, value: "'" };
|
|
2271
2276
|
const C = m[0];
|
|
2272
2277
|
if (C === "'")
|
|
2273
|
-
return { isToken: !1, value:
|
|
2278
|
+
return { isToken: !1, value: si(m) };
|
|
2274
2279
|
if (It[C])
|
|
2275
2280
|
return { isToken: !0, value: m };
|
|
2276
|
-
if (C.match(
|
|
2281
|
+
if (C.match(oi))
|
|
2277
2282
|
throw new RangeError(
|
|
2278
2283
|
"Format string contains an unescaped latin alphabet character `" + C + "`"
|
|
2279
2284
|
);
|
|
2280
2285
|
return { isToken: !1, value: m };
|
|
2281
2286
|
});
|
|
2282
|
-
r.localize.preprocessor && (
|
|
2287
|
+
r.localize.preprocessor && (o = r.localize.preprocessor(s, o));
|
|
2283
2288
|
const c = {
|
|
2284
|
-
firstWeekContainsDate:
|
|
2285
|
-
weekStartsOn:
|
|
2289
|
+
firstWeekContainsDate: A,
|
|
2290
|
+
weekStartsOn: i,
|
|
2286
2291
|
locale: r
|
|
2287
2292
|
};
|
|
2288
|
-
return
|
|
2293
|
+
return o.map((m) => {
|
|
2289
2294
|
if (!m.isToken) return m.value;
|
|
2290
2295
|
const C = m.value;
|
|
2291
|
-
(
|
|
2292
|
-
const
|
|
2293
|
-
return
|
|
2296
|
+
(ei(C) || $r(C)) && ti(C, t, String(e));
|
|
2297
|
+
const p = It[C[0]];
|
|
2298
|
+
return p(s, C, r.localize, c);
|
|
2294
2299
|
}).join("");
|
|
2295
2300
|
}
|
|
2296
|
-
function
|
|
2297
|
-
const t = e.match(
|
|
2298
|
-
return t ? t[1].replace(
|
|
2301
|
+
function si(e) {
|
|
2302
|
+
const t = e.match(ii);
|
|
2303
|
+
return t ? t[1].replace(Ai, "'") : e;
|
|
2299
2304
|
}
|
|
2300
|
-
const
|
|
2305
|
+
const ci = { class: "av-input__wrapper" }, ui = {
|
|
2301
2306
|
key: 0,
|
|
2302
2307
|
class: "av-input__prefix"
|
|
2303
|
-
},
|
|
2308
|
+
}, di = {
|
|
2304
2309
|
key: 0,
|
|
2305
2310
|
class: "caption-light"
|
|
2306
|
-
},
|
|
2311
|
+
}, fi = {
|
|
2307
2312
|
key: 0,
|
|
2308
2313
|
class: "av-input__error",
|
|
2309
2314
|
role: "alert"
|
|
2310
|
-
},
|
|
2315
|
+
}, vi = {
|
|
2311
2316
|
key: 1,
|
|
2312
2317
|
class: "av-input__valid"
|
|
2313
|
-
},
|
|
2318
|
+
}, mi = /* @__PURE__ */ w({
|
|
2314
2319
|
__name: "AvInput",
|
|
2315
2320
|
props: {
|
|
2316
2321
|
id: {},
|
|
@@ -2337,33 +2342,33 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2337
2342
|
},
|
|
2338
2343
|
emits: ["update:modelValue"],
|
|
2339
2344
|
setup(e, { emit: t }) {
|
|
2340
|
-
te((
|
|
2341
|
-
bbb0de5c:
|
|
2345
|
+
te((b) => ({
|
|
2346
|
+
bbb0de5c: b.width
|
|
2342
2347
|
}));
|
|
2343
|
-
const a = e, n = t, r =
|
|
2344
|
-
function f(
|
|
2345
|
-
if (!(a.type !== "date" && a.type !== "datetime-local" ||
|
|
2346
|
-
return
|
|
2348
|
+
const a = e, n = t, r = Ae(), A = M(() => a.errorMessage ? Array.isArray(a.errorMessage) ? a.errorMessage : [a.errorMessage] : []), i = M(() => a.validMessage ? Array.isArray(a.validMessage) ? a.validMessage : [a.validMessage] : []), s = M(() => a.id || `av-input-${crypto.randomUUID()}`), o = M(() => !!a.errorMessage), c = M(() => f(a.minDate)), d = M(() => f(a.maxDate));
|
|
2349
|
+
function f(b) {
|
|
2350
|
+
if (!(a.type !== "date" && a.type !== "datetime-local" || b === void 0 || !jt(b)))
|
|
2351
|
+
return li(b, "yyyy-MM-dd");
|
|
2347
2352
|
}
|
|
2348
|
-
return (
|
|
2353
|
+
return (b, I) => (u(), g("div", {
|
|
2349
2354
|
class: F(["av-input", { "av-input--date": e.type === "date" }])
|
|
2350
2355
|
}, [
|
|
2351
|
-
y("div",
|
|
2352
|
-
e.prefixIcon ? (u(), g("div",
|
|
2356
|
+
y("div", ci, [
|
|
2357
|
+
e.prefixIcon ? (u(), g("div", ui, [
|
|
2353
2358
|
P(ne, {
|
|
2354
2359
|
name: e.prefixIcon,
|
|
2355
2360
|
size: 1.2
|
|
2356
2361
|
}, null, 8, ["name"])
|
|
2357
2362
|
])) : D("", !0),
|
|
2358
|
-
P(
|
|
2359
|
-
id:
|
|
2363
|
+
P(l(ua), ee({
|
|
2364
|
+
id: l(s),
|
|
2360
2365
|
"model-value": e.modelValue,
|
|
2361
2366
|
label: e.label,
|
|
2362
2367
|
"label-visible": e.labelVisible,
|
|
2363
2368
|
"label-class": e.labelClass,
|
|
2364
2369
|
hint: e.hint,
|
|
2365
2370
|
"description-id": a.descriptionId,
|
|
2366
|
-
"is-invalid": o
|
|
2371
|
+
"is-invalid": l(o),
|
|
2367
2372
|
"is-valid": e.isValid,
|
|
2368
2373
|
"is-textarea": e.isTextarea,
|
|
2369
2374
|
"wrapper-class": "av-input__wrapper",
|
|
@@ -2373,11 +2378,11 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2373
2378
|
required: e.required,
|
|
2374
2379
|
maxlength: e.maxlength,
|
|
2375
2380
|
minlength: e.minlength
|
|
2376
|
-
},
|
|
2377
|
-
max:
|
|
2378
|
-
min:
|
|
2381
|
+
}, b.$attrs, {
|
|
2382
|
+
max: l(d),
|
|
2383
|
+
min: l(c),
|
|
2379
2384
|
"onUpdate:modelValue": I[0] || (I[0] = (m) => n("update:modelValue", m))
|
|
2380
|
-
}),
|
|
2385
|
+
}), ke({ _: 2 }, [
|
|
2381
2386
|
r.requiredTip ? {
|
|
2382
2387
|
name: "required-tip",
|
|
2383
2388
|
fn: R(() => [
|
|
@@ -2386,35 +2391,35 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2386
2391
|
key: "0"
|
|
2387
2392
|
} : void 0
|
|
2388
2393
|
]), 1040, ["id", "model-value", "label", "label-visible", "label-class", "hint", "description-id", "is-invalid", "is-valid", "is-textarea", "placeholder", "type", "disabled", "required", "maxlength", "minlength", "max", "min"]),
|
|
2389
|
-
|
|
2394
|
+
j(b.$slots, "customCaptions", {
|
|
2390
2395
|
currentValue: e.modelValue,
|
|
2391
2396
|
maxlength: e.maxlength
|
|
2392
2397
|
}, () => {
|
|
2393
2398
|
var m;
|
|
2394
2399
|
return [
|
|
2395
|
-
e.maxlength ? (u(), g("span",
|
|
2400
|
+
e.maxlength ? (u(), g("span", di, Z((m = e.modelValue) == null ? void 0 : m.toString().length) + " / " + Z(e.maxlength), 1)) : D("", !0)
|
|
2396
2401
|
];
|
|
2397
2402
|
}, !0)
|
|
2398
2403
|
]),
|
|
2399
|
-
|
|
2400
|
-
(u(!0), g(_, null, re(
|
|
2404
|
+
l(A).length > 0 ? (u(), g("div", fi, [
|
|
2405
|
+
(u(!0), g(_, null, re(l(A), (m, C) => (u(), g("div", {
|
|
2401
2406
|
key: C,
|
|
2402
2407
|
class: "av-input__error-message"
|
|
2403
2408
|
}, Z(m), 1))), 128))
|
|
2404
2409
|
])) : D("", !0),
|
|
2405
|
-
|
|
2406
|
-
(u(!0), g(_, null, re(
|
|
2410
|
+
l(i).length > 0 ? (u(), g("div", vi, [
|
|
2411
|
+
(u(!0), g(_, null, re(l(i), (m, C) => (u(), g("div", {
|
|
2407
2412
|
key: C,
|
|
2408
2413
|
class: "av-input__valid-message"
|
|
2409
2414
|
}, Z(m), 1))), 128))
|
|
2410
2415
|
])) : D("", !0)
|
|
2411
2416
|
], 2));
|
|
2412
2417
|
}
|
|
2413
|
-
}),
|
|
2418
|
+
}), gi = /* @__PURE__ */ W(mi, [["__scopeId", "data-v-055da9a3"]]), xl = {
|
|
2414
2419
|
name: "AvList",
|
|
2415
2420
|
props: ["size"],
|
|
2416
2421
|
template: '<div class="av-list"><slot /></div>'
|
|
2417
|
-
},
|
|
2422
|
+
}, Ii = ["role", "aria-label", "aria-labelledby", "aria-describedby"], bi = /* @__PURE__ */ w({
|
|
2418
2423
|
__name: "AvList",
|
|
2419
2424
|
props: {
|
|
2420
2425
|
backgroundColor: { default: "transparent" },
|
|
@@ -2436,32 +2441,32 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2436
2441
|
v61717933: r.padding,
|
|
2437
2442
|
v718f62b9: r.borderColor
|
|
2438
2443
|
}));
|
|
2439
|
-
const t =
|
|
2440
|
-
return (r,
|
|
2441
|
-
class: F(["av-list", [
|
|
2444
|
+
const t = M(() => `av-list--${e.size}`), a = M(() => e.bordered ? "av-list--bordered" : ""), n = M(() => e.divided ? "av-list--divided" : "");
|
|
2445
|
+
return (r, A) => (u(), g("div", {
|
|
2446
|
+
class: F(["av-list", [l(t), l(a), l(n)]]),
|
|
2442
2447
|
role: e.role,
|
|
2443
2448
|
"aria-label": e.ariaLabel,
|
|
2444
2449
|
"aria-labelledby": e.ariaLabelledby,
|
|
2445
2450
|
"aria-describedby": e.ariaDescribedby
|
|
2446
2451
|
}, [
|
|
2447
|
-
|
|
2448
|
-
], 10,
|
|
2452
|
+
j(r.$slots, "default", {}, void 0, !0)
|
|
2453
|
+
], 10, Ii));
|
|
2449
2454
|
}
|
|
2450
|
-
}), Vt = /* @__PURE__ */ W(
|
|
2455
|
+
}), Vt = /* @__PURE__ */ W(bi, [["__scopeId", "data-v-f74989f7"]]), Bl = {
|
|
2451
2456
|
name: "AvListItem",
|
|
2452
2457
|
props: ["clickable", "hoverBackgroundColor", "selected", "icon", "iconSize", "iconColor", "colorOnHover"],
|
|
2453
2458
|
emits: ["click"],
|
|
2454
2459
|
template: `<div class="av-list-item-stub" @click="$emit('click')"><slot /></div>`
|
|
2455
|
-
},
|
|
2460
|
+
}, hi = ["role"], Ci = {
|
|
2456
2461
|
key: 0,
|
|
2457
2462
|
class: "av-list-item__icon"
|
|
2458
|
-
},
|
|
2463
|
+
}, yi = { class: "av-list-item__content" }, Ei = {
|
|
2459
2464
|
key: 0,
|
|
2460
2465
|
class: "av-list-item__title"
|
|
2461
|
-
},
|
|
2466
|
+
}, Mi = {
|
|
2462
2467
|
key: 1,
|
|
2463
2468
|
class: "av-list-item__description"
|
|
2464
|
-
},
|
|
2469
|
+
}, pi = { key: 2 }, Ni = /* @__PURE__ */ w({
|
|
2465
2470
|
__name: "AvListItem",
|
|
2466
2471
|
props: {
|
|
2467
2472
|
icon: {},
|
|
@@ -2492,12 +2497,12 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2492
2497
|
v479455c7: c.descriptionColor,
|
|
2493
2498
|
v6281c2f9: c.hoverBackgroundColor
|
|
2494
2499
|
}));
|
|
2495
|
-
const t =
|
|
2500
|
+
const t = Ae(), a = M(() => e.clickable ? e.tag : "div"), n = M(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0);
|
|
2496
2501
|
function r(c) {
|
|
2497
2502
|
var d;
|
|
2498
2503
|
!e.clickable || e.disabled || (d = e.onClick) == null || d.call(e, c);
|
|
2499
2504
|
}
|
|
2500
|
-
function
|
|
2505
|
+
function A(c) {
|
|
2501
2506
|
var d;
|
|
2502
2507
|
if (!(!e.clickable || e.disabled) && (c.key === "Enter" || c.key === " ")) {
|
|
2503
2508
|
c.preventDefault();
|
|
@@ -2508,42 +2513,42 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2508
2513
|
(d = e.onClick) == null || d.call(e, f);
|
|
2509
2514
|
}
|
|
2510
2515
|
}
|
|
2511
|
-
const
|
|
2516
|
+
const i = M(() => e.clickable ? "av-list-item--clickable" : ""), s = M(() => e.disabled ? "av-list-item--disabled" : ""), o = M(() => e.selected ? "av-list-item--selected" : "");
|
|
2512
2517
|
return (c, d) => (u(), g("div", { role: e.role }, [
|
|
2513
|
-
(u(), k(ue(
|
|
2514
|
-
class: F(["av-list-item", [
|
|
2518
|
+
(u(), k(ue(l(a)), {
|
|
2519
|
+
class: F(["av-list-item", [l(i), l(s), l(o)]]),
|
|
2515
2520
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
2516
|
-
"aria-label": e.clickable ?
|
|
2521
|
+
"aria-label": e.clickable ? l(n) : void 0,
|
|
2517
2522
|
"aria-describedby": e.ariaDescribedby,
|
|
2518
2523
|
"aria-disabled": e.disabled ? "true" : void 0,
|
|
2519
|
-
disabled: e.disabled &&
|
|
2520
|
-
href:
|
|
2521
|
-
target:
|
|
2522
|
-
rel:
|
|
2524
|
+
disabled: e.disabled && l(a) === "button" ? !0 : void 0,
|
|
2525
|
+
href: l(a) === "a" ? e.href : void 0,
|
|
2526
|
+
target: l(a) === "a" ? e.target : void 0,
|
|
2527
|
+
rel: l(a) === "a" ? e.rel : void 0,
|
|
2523
2528
|
onClick: r,
|
|
2524
|
-
onKeydown:
|
|
2529
|
+
onKeydown: A
|
|
2525
2530
|
}, {
|
|
2526
2531
|
default: R(() => [
|
|
2527
|
-
e.icon ? (u(), g("div",
|
|
2532
|
+
e.icon ? (u(), g("div", Ci, [
|
|
2528
2533
|
P(ne, {
|
|
2529
2534
|
name: e.icon,
|
|
2530
2535
|
color: e.iconColor ?? e.color,
|
|
2531
2536
|
size: e.iconSize
|
|
2532
2537
|
}, null, 8, ["name", "color", "size"])
|
|
2533
2538
|
])) : D("", !0),
|
|
2534
|
-
y("div",
|
|
2535
|
-
e.title ? (u(), g("div",
|
|
2536
|
-
e.description ? (u(), g("div",
|
|
2537
|
-
t.default ? (u(), g("div",
|
|
2538
|
-
|
|
2539
|
+
y("div", yi, [
|
|
2540
|
+
e.title ? (u(), g("div", Ei, Z(e.title), 1)) : D("", !0),
|
|
2541
|
+
e.description ? (u(), g("div", Mi, Z(e.description), 1)) : D("", !0),
|
|
2542
|
+
t.default ? (u(), g("div", pi, [
|
|
2543
|
+
j(c.$slots, "default", {}, void 0, !0)
|
|
2539
2544
|
])) : D("", !0)
|
|
2540
2545
|
])
|
|
2541
2546
|
]),
|
|
2542
2547
|
_: 3
|
|
2543
2548
|
}, 40, ["class", "tabindex", "aria-label", "aria-describedby", "aria-disabled", "disabled", "href", "target", "rel"]))
|
|
2544
|
-
], 8,
|
|
2549
|
+
], 8, hi));
|
|
2545
2550
|
}
|
|
2546
|
-
}), Ut = /* @__PURE__ */ W(
|
|
2551
|
+
}), Ut = /* @__PURE__ */ W(Ni, [["__scopeId", "data-v-b9106d17"]]), Ti = { class: "av-select-container" }, Qi = /* @__PURE__ */ w({
|
|
2547
2552
|
__name: "AvTagPicker",
|
|
2548
2553
|
props: {
|
|
2549
2554
|
multiple: { type: Boolean },
|
|
@@ -2556,44 +2561,44 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2556
2561
|
},
|
|
2557
2562
|
setup(e) {
|
|
2558
2563
|
te((C) => ({
|
|
2559
|
-
v68aa0dfa:
|
|
2564
|
+
v68aa0dfa: l(n)
|
|
2560
2565
|
}));
|
|
2561
2566
|
const t = e, {
|
|
2562
2567
|
label: a,
|
|
2563
2568
|
labelColor: n,
|
|
2564
2569
|
labelTypographyClass: r,
|
|
2565
|
-
selected:
|
|
2566
|
-
multiple:
|
|
2567
|
-
handleSelectChange:
|
|
2568
|
-
} = t,
|
|
2570
|
+
selected: A,
|
|
2571
|
+
multiple: i,
|
|
2572
|
+
handleSelectChange: s
|
|
2573
|
+
} = t, o = M(() => Xa(t.options));
|
|
2569
2574
|
function c(C) {
|
|
2570
2575
|
return C ? Array.isArray(C) ? C : [C] : [];
|
|
2571
2576
|
}
|
|
2572
|
-
const d = J(c(
|
|
2577
|
+
const d = J(c(A));
|
|
2573
2578
|
function f(C) {
|
|
2574
|
-
return d.value.some((
|
|
2579
|
+
return d.value.some((p) => p.value === C.value);
|
|
2575
2580
|
}
|
|
2576
|
-
function
|
|
2577
|
-
|
|
2581
|
+
function b(C) {
|
|
2582
|
+
i ? (f(C) ? d.value = d.value.filter(
|
|
2578
2583
|
(T) => T.value !== C.value
|
|
2579
|
-
) : d.value.push(C),
|
|
2584
|
+
) : d.value.push(C), s([...d.value])) : (d.value = [C], s(C));
|
|
2580
2585
|
}
|
|
2581
2586
|
function I(C) {
|
|
2582
2587
|
return f(C) ? Y.CHECK : void 0;
|
|
2583
2588
|
}
|
|
2584
2589
|
function m(C) {
|
|
2585
|
-
return f(C) && !
|
|
2590
|
+
return f(C) && !i;
|
|
2586
2591
|
}
|
|
2587
2592
|
return ce(() => t.selected, (C) => {
|
|
2588
2593
|
d.value = c(C);
|
|
2589
|
-
}, { immediate: !0 }), (C,
|
|
2594
|
+
}, { immediate: !0 }), (C, p) => {
|
|
2590
2595
|
const T = da;
|
|
2591
|
-
return u(), g("div",
|
|
2592
|
-
|
|
2596
|
+
return u(), g("div", Ti, [
|
|
2597
|
+
l(a) ? (u(), g("span", {
|
|
2593
2598
|
key: 0,
|
|
2594
|
-
class: F(["av-select-label", [
|
|
2595
|
-
}, Z(
|
|
2596
|
-
(u(!0), g(_, null, re(o
|
|
2599
|
+
class: F(["av-select-label", [l(r)]])
|
|
2600
|
+
}, Z(l(a)), 3)) : D("", !0),
|
|
2601
|
+
(u(!0), g(_, null, re(l(o), (Q) => (u(), g("div", {
|
|
2597
2602
|
key: Q.value,
|
|
2598
2603
|
class: "tag-wrapper"
|
|
2599
2604
|
}, [
|
|
@@ -2607,20 +2612,20 @@ const cA = { class: "av-input__wrapper" }, uA = {
|
|
|
2607
2612
|
disabled: m(Q),
|
|
2608
2613
|
selectable: "",
|
|
2609
2614
|
selected: f(Q),
|
|
2610
|
-
onSelect: () =>
|
|
2615
|
+
onSelect: () => b(Q)
|
|
2611
2616
|
}, null, 8, ["class", "label", "icon", "disabled", "selected", "onSelect"])
|
|
2612
2617
|
]))), 128))
|
|
2613
2618
|
]);
|
|
2614
2619
|
};
|
|
2615
2620
|
}
|
|
2616
|
-
}),
|
|
2617
|
-
var Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
|
|
2621
|
+
}), Di = /* @__PURE__ */ W(Qi, [["__scopeId", "data-v-b70ffc0f"]]);
|
|
2622
|
+
var Li = /* @__PURE__ */ ((e) => (e[e.SM = 576] = "SM", e[e.MD = 768] = "MD", e[e.LG = 1024] = "LG", e[e.XL = 1440] = "XL", e))(Li || {}), Xt = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(Xt || {});
|
|
2618
2623
|
const jl = [
|
|
2619
2624
|
4,
|
|
2620
2625
|
8,
|
|
2621
2626
|
12
|
|
2622
2627
|
/* TWELVE */
|
|
2623
|
-
],
|
|
2628
|
+
], wi = { class: "pagination-size-picker-container" }, Oi = /* @__PURE__ */ w({
|
|
2624
2629
|
__name: "AvPageSizePicker",
|
|
2625
2630
|
props: {
|
|
2626
2631
|
label: {},
|
|
@@ -2628,17 +2633,17 @@ const jl = [
|
|
|
2628
2633
|
handleSelectChange: { type: Function }
|
|
2629
2634
|
},
|
|
2630
2635
|
setup(e) {
|
|
2631
|
-
const t =
|
|
2636
|
+
const t = M(() => Object.values(Xt).filter((n) => typeof n == "number").map((n) => ({
|
|
2632
2637
|
label: n.toString(),
|
|
2633
2638
|
value: n.toString()
|
|
2634
|
-
}))), a =
|
|
2639
|
+
}))), a = M(() => ({
|
|
2635
2640
|
label: e.pageSizeSelected.toString(),
|
|
2636
2641
|
value: e.pageSizeSelected.toString()
|
|
2637
2642
|
}));
|
|
2638
|
-
return (n, r) => (u(), g("div",
|
|
2639
|
-
P(
|
|
2640
|
-
options:
|
|
2641
|
-
selected:
|
|
2643
|
+
return (n, r) => (u(), g("div", wi, [
|
|
2644
|
+
P(Di, {
|
|
2645
|
+
options: l(t),
|
|
2646
|
+
selected: l(a),
|
|
2642
2647
|
"handle-select-change": e.handleSelectChange,
|
|
2643
2648
|
multiple: !1,
|
|
2644
2649
|
label: e.label,
|
|
@@ -2647,7 +2652,7 @@ const jl = [
|
|
|
2647
2652
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
2648
2653
|
]));
|
|
2649
2654
|
}
|
|
2650
|
-
}),
|
|
2655
|
+
}), Pl = /* @__PURE__ */ W(Oi, [["__scopeId", "data-v-d72fe5ab"]]), Wl = {
|
|
2651
2656
|
name: "AvTagPicker",
|
|
2652
2657
|
props: [
|
|
2653
2658
|
"label",
|
|
@@ -2667,7 +2672,7 @@ const jl = [
|
|
|
2667
2672
|
</button>
|
|
2668
2673
|
</div>
|
|
2669
2674
|
`
|
|
2670
|
-
},
|
|
2675
|
+
}, Si = /* @__PURE__ */ w({
|
|
2671
2676
|
__name: "AvRadioButton",
|
|
2672
2677
|
props: {
|
|
2673
2678
|
value: { type: [String, Number, Boolean] },
|
|
@@ -2676,9 +2681,9 @@ const jl = [
|
|
|
2676
2681
|
disabled: { type: Boolean }
|
|
2677
2682
|
},
|
|
2678
2683
|
setup(e) {
|
|
2679
|
-
return (t, a) =>
|
|
2684
|
+
return (t, a) => j(t.$slots, "default");
|
|
2680
2685
|
}
|
|
2681
|
-
}),
|
|
2686
|
+
}), Vl = /* @__PURE__ */ w({
|
|
2682
2687
|
__name: "AvRadioButtonSet",
|
|
2683
2688
|
props: {
|
|
2684
2689
|
name: {},
|
|
@@ -2694,39 +2699,39 @@ const jl = [
|
|
|
2694
2699
|
},
|
|
2695
2700
|
emits: ["update:modelValue"],
|
|
2696
2701
|
setup(e, { expose: t, emit: a }) {
|
|
2697
|
-
const n = e, r = a,
|
|
2698
|
-
function
|
|
2699
|
-
return d != null && typeof d == "object" && "type" in d && d.type ===
|
|
2702
|
+
const n = e, r = a, A = Ae();
|
|
2703
|
+
function i(d) {
|
|
2704
|
+
return d != null && typeof d == "object" && "type" in d && d.type === Si;
|
|
2700
2705
|
}
|
|
2701
|
-
function
|
|
2702
|
-
return d ? d.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === _ && Array.isArray(f.children) ?
|
|
2706
|
+
function s(d) {
|
|
2707
|
+
return d ? d.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === _ && Array.isArray(f.children) ? s(f.children) : i(f) ? [f] : []) : [];
|
|
2703
2708
|
}
|
|
2704
|
-
const
|
|
2709
|
+
const o = M(() => {
|
|
2705
2710
|
var d;
|
|
2706
|
-
return
|
|
2711
|
+
return s((d = A.default) == null ? void 0 : d.call(A));
|
|
2707
2712
|
}), c = J(n.modelValue);
|
|
2708
2713
|
return ce(() => n.modelValue, (d) => {
|
|
2709
2714
|
c.value = d;
|
|
2710
2715
|
}), ce(c, (d) => {
|
|
2711
2716
|
d && r("update:modelValue", d);
|
|
2712
|
-
}), t({ selected: c }), (d, f) => (u(), k(
|
|
2717
|
+
}), t({ selected: c }), (d, f) => (u(), k(l(fa), ee(n, { "model-value": l(c) }), {
|
|
2713
2718
|
default: R(() => [
|
|
2714
|
-
(u(!0), g(_, null, re(o
|
|
2719
|
+
(u(!0), g(_, null, re(l(o), (b, I) => {
|
|
2715
2720
|
var m, C;
|
|
2716
|
-
return u(), k(
|
|
2721
|
+
return u(), k(l(va), {
|
|
2717
2722
|
key: I,
|
|
2718
|
-
modelValue:
|
|
2719
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2720
|
-
value: (m =
|
|
2721
|
-
disabled: ((C =
|
|
2723
|
+
modelValue: l(c),
|
|
2724
|
+
"onUpdate:modelValue": f[0] || (f[0] = (p) => it(c) ? c.value = p : null),
|
|
2725
|
+
value: (m = b.props) == null ? void 0 : m.value,
|
|
2726
|
+
disabled: ((C = b.props) == null ? void 0 : C.disabled) ?? n.disabled,
|
|
2722
2727
|
small: n.small,
|
|
2723
2728
|
inline: n.inline,
|
|
2724
2729
|
name: n.name
|
|
2725
2730
|
}, {
|
|
2726
2731
|
label: R(() => {
|
|
2727
|
-
var
|
|
2732
|
+
var p;
|
|
2728
2733
|
return [
|
|
2729
|
-
(u(), k(ue((
|
|
2734
|
+
(u(), k(ue((p = b.children) == null ? void 0 : p.default)))
|
|
2730
2735
|
];
|
|
2731
2736
|
}),
|
|
2732
2737
|
_: 2
|
|
@@ -2736,7 +2741,7 @@ const jl = [
|
|
|
2736
2741
|
_: 1
|
|
2737
2742
|
}, 16, ["model-value"]));
|
|
2738
2743
|
}
|
|
2739
|
-
}),
|
|
2744
|
+
}), Ul = {
|
|
2740
2745
|
name: "AvAutocomplete",
|
|
2741
2746
|
props: [
|
|
2742
2747
|
"modelValue",
|
|
@@ -2764,74 +2769,74 @@ function lt() {
|
|
|
2764
2769
|
function Zt(e) {
|
|
2765
2770
|
return Ta() ? (Qa(e), !0) : !1;
|
|
2766
2771
|
}
|
|
2767
|
-
const
|
|
2772
|
+
const ki = typeof window < "u" && typeof document < "u";
|
|
2768
2773
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
2769
|
-
const
|
|
2774
|
+
const zi = (e) => e != null, xi = Object.prototype.toString, Bi = (e) => xi.call(e) === "[object Object]", pe = () => {
|
|
2770
2775
|
};
|
|
2771
2776
|
function qt(e, t) {
|
|
2772
2777
|
function a(...n) {
|
|
2773
|
-
return new Promise((r,
|
|
2774
|
-
Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(r).catch(
|
|
2778
|
+
return new Promise((r, A) => {
|
|
2779
|
+
Promise.resolve(e(() => t.apply(this, n), { fn: t, thisArg: this, args: n })).then(r).catch(A);
|
|
2775
2780
|
});
|
|
2776
2781
|
}
|
|
2777
2782
|
return a;
|
|
2778
2783
|
}
|
|
2779
|
-
function
|
|
2784
|
+
function ji(e, t = {}) {
|
|
2780
2785
|
let a, n, r = pe;
|
|
2781
|
-
const
|
|
2782
|
-
clearTimeout(
|
|
2786
|
+
const A = (o) => {
|
|
2787
|
+
clearTimeout(o), r(), r = pe;
|
|
2783
2788
|
};
|
|
2784
|
-
let
|
|
2785
|
-
return (
|
|
2789
|
+
let i;
|
|
2790
|
+
return (o) => {
|
|
2786
2791
|
const c = ae(e), d = ae(t.maxWait);
|
|
2787
|
-
return a &&
|
|
2788
|
-
r = t.rejectOnCancel ?
|
|
2789
|
-
a &&
|
|
2792
|
+
return a && A(a), c <= 0 || d !== void 0 && d <= 0 ? (n && (A(n), n = void 0), Promise.resolve(o())) : new Promise((f, b) => {
|
|
2793
|
+
r = t.rejectOnCancel ? b : f, i = o, d && !n && (n = setTimeout(() => {
|
|
2794
|
+
a && A(a), n = void 0, f(i());
|
|
2790
2795
|
}, d)), a = setTimeout(() => {
|
|
2791
|
-
n &&
|
|
2796
|
+
n && A(n), n = void 0, f(o());
|
|
2792
2797
|
}, c);
|
|
2793
2798
|
});
|
|
2794
2799
|
};
|
|
2795
2800
|
}
|
|
2796
|
-
function
|
|
2797
|
-
let t = 0, a, n = !0, r = pe,
|
|
2798
|
-
!
|
|
2801
|
+
function Pi(...e) {
|
|
2802
|
+
let t = 0, a, n = !0, r = pe, A, i, s, o, c;
|
|
2803
|
+
!it(e[0]) && typeof e[0] == "object" ? { delay: i, trailing: s = !0, leading: o = !0, rejectOnCancel: c = !1 } = e[0] : [i, s = !0, o = !0, c = !1] = e;
|
|
2799
2804
|
const d = () => {
|
|
2800
2805
|
a && (clearTimeout(a), a = void 0, r(), r = pe);
|
|
2801
2806
|
};
|
|
2802
|
-
return (
|
|
2803
|
-
const I = ae(
|
|
2804
|
-
return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (
|
|
2805
|
-
r = c ? T :
|
|
2806
|
-
t = Date.now(), n = !0,
|
|
2807
|
+
return (b) => {
|
|
2808
|
+
const I = ae(i), m = Date.now() - t, C = () => A = b();
|
|
2809
|
+
return d(), I <= 0 ? (t = Date.now(), C()) : (m > I && (o || !n) ? (t = Date.now(), C()) : s && (A = new Promise((p, T) => {
|
|
2810
|
+
r = c ? T : p, a = setTimeout(() => {
|
|
2811
|
+
t = Date.now(), n = !0, p(C()), d();
|
|
2807
2812
|
}, Math.max(0, I - m));
|
|
2808
|
-
})), !
|
|
2813
|
+
})), !o && !a && (a = setTimeout(() => n = !0, I)), n = !1, A);
|
|
2809
2814
|
};
|
|
2810
2815
|
}
|
|
2811
2816
|
function We(e) {
|
|
2812
2817
|
return Array.isArray(e) ? e : [e];
|
|
2813
2818
|
}
|
|
2814
|
-
function
|
|
2819
|
+
function Wi(e) {
|
|
2815
2820
|
return kt();
|
|
2816
2821
|
}
|
|
2817
2822
|
// @__NO_SIDE_EFFECTS__
|
|
2818
|
-
function
|
|
2823
|
+
function Vi(e, t = 200, a = {}) {
|
|
2819
2824
|
return qt(
|
|
2820
|
-
|
|
2825
|
+
ji(t, a),
|
|
2821
2826
|
e
|
|
2822
2827
|
);
|
|
2823
2828
|
}
|
|
2824
2829
|
// @__NO_SIDE_EFFECTS__
|
|
2825
|
-
function
|
|
2830
|
+
function Ui(e, t = 200, a = !1, n = !0, r = !1) {
|
|
2826
2831
|
return qt(
|
|
2827
|
-
|
|
2832
|
+
Pi(t, a, n, r),
|
|
2828
2833
|
e
|
|
2829
2834
|
);
|
|
2830
2835
|
}
|
|
2831
|
-
function
|
|
2832
|
-
|
|
2836
|
+
function Xi(e, t = !0, a) {
|
|
2837
|
+
Wi() ? Ne(e, a) : t ? e() : Re(e);
|
|
2833
2838
|
}
|
|
2834
|
-
function
|
|
2839
|
+
function Hi(e, t, a) {
|
|
2835
2840
|
return ce(
|
|
2836
2841
|
e,
|
|
2837
2842
|
t,
|
|
@@ -2841,7 +2846,7 @@ function XA(e, t, a) {
|
|
|
2841
2846
|
}
|
|
2842
2847
|
);
|
|
2843
2848
|
}
|
|
2844
|
-
const st =
|
|
2849
|
+
const st = ki ? window : void 0;
|
|
2845
2850
|
function ct(e) {
|
|
2846
2851
|
var t;
|
|
2847
2852
|
const a = ae(e);
|
|
@@ -2849,130 +2854,130 @@ function ct(e) {
|
|
|
2849
2854
|
}
|
|
2850
2855
|
function yt(...e) {
|
|
2851
2856
|
const t = [], a = () => {
|
|
2852
|
-
t.forEach((
|
|
2853
|
-
}, n = (
|
|
2854
|
-
const
|
|
2855
|
-
return
|
|
2856
|
-
}),
|
|
2857
|
+
t.forEach((s) => s()), t.length = 0;
|
|
2858
|
+
}, n = (s, o, c, d) => (s.addEventListener(o, c, d), () => s.removeEventListener(o, c, d)), r = M(() => {
|
|
2859
|
+
const s = We(ae(e[0])).filter((o) => o != null);
|
|
2860
|
+
return s.every((o) => typeof o != "string") ? s : void 0;
|
|
2861
|
+
}), A = Hi(
|
|
2857
2862
|
() => {
|
|
2858
|
-
var
|
|
2863
|
+
var s, o;
|
|
2859
2864
|
return [
|
|
2860
|
-
(
|
|
2865
|
+
(o = (s = r.value) == null ? void 0 : s.map((c) => ct(c))) != null ? o : [st].filter((c) => c != null),
|
|
2861
2866
|
We(ae(r.value ? e[1] : e[0])),
|
|
2862
|
-
We(
|
|
2867
|
+
We(l(r.value ? e[2] : e[1])),
|
|
2863
2868
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
2864
2869
|
ae(r.value ? e[3] : e[2])
|
|
2865
2870
|
];
|
|
2866
2871
|
},
|
|
2867
|
-
([
|
|
2868
|
-
if (a(), !(
|
|
2872
|
+
([s, o, c, d]) => {
|
|
2873
|
+
if (a(), !(s != null && s.length) || !(o != null && o.length) || !(c != null && c.length))
|
|
2869
2874
|
return;
|
|
2870
|
-
const f =
|
|
2875
|
+
const f = Bi(d) ? { ...d } : d;
|
|
2871
2876
|
t.push(
|
|
2872
|
-
...
|
|
2873
|
-
(
|
|
2874
|
-
(I) => c.map((m) => n(
|
|
2877
|
+
...s.flatMap(
|
|
2878
|
+
(b) => o.flatMap(
|
|
2879
|
+
(I) => c.map((m) => n(b, I, m, f))
|
|
2875
2880
|
)
|
|
2876
2881
|
)
|
|
2877
2882
|
);
|
|
2878
2883
|
},
|
|
2879
2884
|
{ flush: "post" }
|
|
2880
|
-
),
|
|
2881
|
-
|
|
2885
|
+
), i = () => {
|
|
2886
|
+
A(), a();
|
|
2882
2887
|
};
|
|
2883
|
-
return Zt(a),
|
|
2888
|
+
return Zt(a), i;
|
|
2884
2889
|
}
|
|
2885
2890
|
// @__NO_SIDE_EFFECTS__
|
|
2886
|
-
function
|
|
2891
|
+
function Zi() {
|
|
2887
2892
|
const e = Pe(!1), t = kt();
|
|
2888
|
-
return t &&
|
|
2893
|
+
return t && Ne(() => {
|
|
2889
2894
|
e.value = !0;
|
|
2890
2895
|
}, t), e;
|
|
2891
2896
|
}
|
|
2892
2897
|
// @__NO_SIDE_EFFECTS__
|
|
2893
|
-
function
|
|
2894
|
-
const t = /* @__PURE__ */
|
|
2895
|
-
return
|
|
2898
|
+
function qi(e) {
|
|
2899
|
+
const t = /* @__PURE__ */ Zi();
|
|
2900
|
+
return M(() => (t.value, !!e()));
|
|
2896
2901
|
}
|
|
2897
|
-
function
|
|
2902
|
+
function Yi(e, t, a = {}) {
|
|
2898
2903
|
const { window: n = st, ...r } = a;
|
|
2899
|
-
let
|
|
2900
|
-
const
|
|
2901
|
-
|
|
2902
|
-
},
|
|
2903
|
-
const
|
|
2904
|
+
let A;
|
|
2905
|
+
const i = /* @__PURE__ */ qi(() => n && "MutationObserver" in n), s = () => {
|
|
2906
|
+
A && (A.disconnect(), A = void 0);
|
|
2907
|
+
}, o = M(() => {
|
|
2908
|
+
const b = ae(e), I = We(b).map(ct).filter(zi);
|
|
2904
2909
|
return new Set(I);
|
|
2905
2910
|
}), c = ce(
|
|
2906
|
-
|
|
2907
|
-
(
|
|
2908
|
-
|
|
2911
|
+
o,
|
|
2912
|
+
(b) => {
|
|
2913
|
+
s(), i.value && b.size && (A = new MutationObserver(t), b.forEach((I) => A.observe(I, r)));
|
|
2909
2914
|
},
|
|
2910
2915
|
{ immediate: !0, flush: "post" }
|
|
2911
|
-
), d = () =>
|
|
2912
|
-
c(),
|
|
2916
|
+
), d = () => A == null ? void 0 : A.takeRecords(), f = () => {
|
|
2917
|
+
c(), s();
|
|
2913
2918
|
};
|
|
2914
2919
|
return Zt(f), {
|
|
2915
|
-
isSupported:
|
|
2920
|
+
isSupported: i,
|
|
2916
2921
|
stop: f,
|
|
2917
2922
|
takeRecords: d
|
|
2918
2923
|
};
|
|
2919
2924
|
}
|
|
2920
2925
|
const Et = 1;
|
|
2921
|
-
function
|
|
2926
|
+
function Ri(e, t = {}) {
|
|
2922
2927
|
const {
|
|
2923
2928
|
throttle: a = 0,
|
|
2924
2929
|
idle: n = 200,
|
|
2925
2930
|
onStop: r = pe,
|
|
2926
|
-
onScroll:
|
|
2927
|
-
offset:
|
|
2931
|
+
onScroll: A = pe,
|
|
2932
|
+
offset: i = {
|
|
2928
2933
|
left: 0,
|
|
2929
2934
|
right: 0,
|
|
2930
2935
|
top: 0,
|
|
2931
2936
|
bottom: 0
|
|
2932
2937
|
},
|
|
2933
|
-
observe:
|
|
2938
|
+
observe: s = {
|
|
2934
2939
|
mutation: !1
|
|
2935
2940
|
},
|
|
2936
|
-
eventListenerOptions:
|
|
2941
|
+
eventListenerOptions: o = {
|
|
2937
2942
|
capture: !1,
|
|
2938
2943
|
passive: !0
|
|
2939
2944
|
},
|
|
2940
2945
|
behavior: c = "auto",
|
|
2941
2946
|
window: d = st,
|
|
2942
|
-
onError: f = (
|
|
2943
|
-
console.error(
|
|
2947
|
+
onError: f = (O) => {
|
|
2948
|
+
console.error(O);
|
|
2944
2949
|
}
|
|
2945
|
-
} = t,
|
|
2946
|
-
mutation:
|
|
2947
|
-
} :
|
|
2950
|
+
} = t, b = typeof s == "boolean" ? {
|
|
2951
|
+
mutation: s
|
|
2952
|
+
} : s, I = Pe(0), m = Pe(0), C = M({
|
|
2948
2953
|
get() {
|
|
2949
2954
|
return I.value;
|
|
2950
2955
|
},
|
|
2951
|
-
set(
|
|
2952
|
-
T(
|
|
2956
|
+
set(O) {
|
|
2957
|
+
T(O, void 0);
|
|
2953
2958
|
}
|
|
2954
|
-
}),
|
|
2959
|
+
}), p = M({
|
|
2955
2960
|
get() {
|
|
2956
2961
|
return m.value;
|
|
2957
2962
|
},
|
|
2958
|
-
set(
|
|
2959
|
-
T(void 0,
|
|
2963
|
+
set(O) {
|
|
2964
|
+
T(void 0, O);
|
|
2960
2965
|
}
|
|
2961
2966
|
});
|
|
2962
|
-
function T(
|
|
2963
|
-
var $, X, v,
|
|
2967
|
+
function T(O, oe) {
|
|
2968
|
+
var $, X, v, h;
|
|
2964
2969
|
if (!d)
|
|
2965
2970
|
return;
|
|
2966
2971
|
const N = ae(e);
|
|
2967
2972
|
if (!N)
|
|
2968
2973
|
return;
|
|
2969
2974
|
(v = N instanceof Document ? d.document.body : N) == null || v.scrollTo({
|
|
2970
|
-
top: ($ = ae(oe)) != null ? $ :
|
|
2971
|
-
left: (X = ae(
|
|
2975
|
+
top: ($ = ae(oe)) != null ? $ : p.value,
|
|
2976
|
+
left: (X = ae(O)) != null ? X : C.value,
|
|
2972
2977
|
behavior: ae(c)
|
|
2973
2978
|
});
|
|
2974
|
-
const z = ((
|
|
2975
|
-
C != null && (I.value = z.scrollLeft),
|
|
2979
|
+
const z = ((h = N == null ? void 0 : N.document) == null ? void 0 : h.documentElement) || (N == null ? void 0 : N.documentElement) || N;
|
|
2980
|
+
C != null && (I.value = z.scrollLeft), p != null && (m.value = z.scrollTop);
|
|
2976
2981
|
}
|
|
2977
2982
|
const Q = Pe(!1), E = dt({
|
|
2978
2983
|
left: !0,
|
|
@@ -2984,46 +2989,46 @@ function YA(e, t = {}) {
|
|
|
2984
2989
|
right: !1,
|
|
2985
2990
|
top: !1,
|
|
2986
2991
|
bottom: !1
|
|
2987
|
-
}),
|
|
2988
|
-
Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(
|
|
2989
|
-
}, V = /* @__PURE__ */
|
|
2992
|
+
}), B = (O) => {
|
|
2993
|
+
Q.value && (Q.value = !1, L.left = !1, L.right = !1, L.top = !1, L.bottom = !1, r(O));
|
|
2994
|
+
}, V = /* @__PURE__ */ Vi(B, a + n), x = (O) => {
|
|
2990
2995
|
var oe;
|
|
2991
2996
|
if (!d)
|
|
2992
2997
|
return;
|
|
2993
|
-
const $ = ((oe =
|
|
2998
|
+
const $ = ((oe = O == null ? void 0 : O.document) == null ? void 0 : oe.documentElement) || (O == null ? void 0 : O.documentElement) || ct(O), { display: X, flexDirection: v, direction: h } = getComputedStyle($), N = h === "rtl" ? -1 : 1, z = $.scrollLeft;
|
|
2994
2999
|
L.left = z < I.value, L.right = z > I.value;
|
|
2995
|
-
const U = Math.abs(z * N) <= (
|
|
3000
|
+
const U = Math.abs(z * N) <= (i.left || 0), q = Math.abs(z * N) + $.clientWidth >= $.scrollWidth - (i.right || 0) - Et;
|
|
2996
3001
|
X === "flex" && v === "row-reverse" ? (E.left = q, E.right = U) : (E.left = U, E.right = q), I.value = z;
|
|
2997
3002
|
let S = $.scrollTop;
|
|
2998
|
-
|
|
2999
|
-
const K = Math.abs(S) <= (
|
|
3003
|
+
O === d.document && !S && (S = d.document.body.scrollTop), L.top = S < m.value, L.bottom = S > m.value;
|
|
3004
|
+
const K = Math.abs(S) <= (i.top || 0), G = Math.abs(S) + $.clientHeight >= $.scrollHeight - (i.bottom || 0) - Et;
|
|
3000
3005
|
X === "flex" && v === "column-reverse" ? (E.top = G, E.bottom = K) : (E.top = K, E.bottom = G), m.value = S;
|
|
3001
|
-
},
|
|
3006
|
+
}, ie = (O) => {
|
|
3002
3007
|
var oe;
|
|
3003
3008
|
if (!d)
|
|
3004
3009
|
return;
|
|
3005
|
-
const $ = (oe =
|
|
3006
|
-
x($), Q.value = !0, V(
|
|
3010
|
+
const $ = (oe = O.target.documentElement) != null ? oe : O.target;
|
|
3011
|
+
x($), Q.value = !0, V(O), A(O);
|
|
3007
3012
|
};
|
|
3008
3013
|
return yt(
|
|
3009
3014
|
e,
|
|
3010
3015
|
"scroll",
|
|
3011
|
-
a ? /* @__PURE__ */
|
|
3012
|
-
|
|
3013
|
-
),
|
|
3016
|
+
a ? /* @__PURE__ */ Ui(ie, a, !0, !1) : ie,
|
|
3017
|
+
o
|
|
3018
|
+
), Xi(() => {
|
|
3014
3019
|
try {
|
|
3015
|
-
const
|
|
3016
|
-
if (!
|
|
3020
|
+
const O = ae(e);
|
|
3021
|
+
if (!O)
|
|
3017
3022
|
return;
|
|
3018
|
-
x(
|
|
3019
|
-
} catch (
|
|
3020
|
-
f(
|
|
3023
|
+
x(O);
|
|
3024
|
+
} catch (O) {
|
|
3025
|
+
f(O);
|
|
3021
3026
|
}
|
|
3022
|
-
}),
|
|
3027
|
+
}), b != null && b.mutation && e != null && e !== d && e !== document && Yi(
|
|
3023
3028
|
e,
|
|
3024
3029
|
() => {
|
|
3025
|
-
const
|
|
3026
|
-
|
|
3030
|
+
const O = ae(e);
|
|
3031
|
+
O && x(O);
|
|
3027
3032
|
},
|
|
3028
3033
|
{
|
|
3029
3034
|
attributes: !0,
|
|
@@ -3033,65 +3038,65 @@ function YA(e, t = {}) {
|
|
|
3033
3038
|
), yt(
|
|
3034
3039
|
e,
|
|
3035
3040
|
"scrollend",
|
|
3036
|
-
|
|
3037
|
-
|
|
3041
|
+
B,
|
|
3042
|
+
o
|
|
3038
3043
|
), {
|
|
3039
3044
|
x: C,
|
|
3040
|
-
y:
|
|
3045
|
+
y: p,
|
|
3041
3046
|
isScrolling: Q,
|
|
3042
3047
|
arrivedState: E,
|
|
3043
3048
|
directions: L,
|
|
3044
3049
|
measure() {
|
|
3045
|
-
const
|
|
3046
|
-
d &&
|
|
3050
|
+
const O = ae(e);
|
|
3051
|
+
d && O && x(O);
|
|
3047
3052
|
}
|
|
3048
3053
|
};
|
|
3049
3054
|
}
|
|
3050
|
-
var
|
|
3051
|
-
function
|
|
3052
|
-
var t =
|
|
3055
|
+
var Fi = typeof global == "object" && global && global.Object === Object && global, Ki = typeof self == "object" && self && self.Object === Object && self, Yt = Fi || Ki || Function("return this")(), Xe = Yt.Symbol, Rt = Object.prototype, Gi = Rt.hasOwnProperty, Ji = Rt.toString, Oe = Xe ? Xe.toStringTag : void 0;
|
|
3056
|
+
function _i(e) {
|
|
3057
|
+
var t = Gi.call(e, Oe), a = e[Oe];
|
|
3053
3058
|
try {
|
|
3054
|
-
e[
|
|
3059
|
+
e[Oe] = void 0;
|
|
3055
3060
|
var n = !0;
|
|
3056
3061
|
} catch {
|
|
3057
3062
|
}
|
|
3058
|
-
var r =
|
|
3059
|
-
return n && (t ? e[
|
|
3063
|
+
var r = Ji.call(e);
|
|
3064
|
+
return n && (t ? e[Oe] = a : delete e[Oe]), r;
|
|
3060
3065
|
}
|
|
3061
|
-
var
|
|
3062
|
-
function
|
|
3063
|
-
return
|
|
3066
|
+
var $i = Object.prototype, eA = $i.toString;
|
|
3067
|
+
function tA(e) {
|
|
3068
|
+
return eA.call(e);
|
|
3064
3069
|
}
|
|
3065
|
-
var
|
|
3066
|
-
function
|
|
3067
|
-
return e == null ? e === void 0 ?
|
|
3070
|
+
var aA = "[object Null]", nA = "[object Undefined]", Mt = Xe ? Xe.toStringTag : void 0;
|
|
3071
|
+
function rA(e) {
|
|
3072
|
+
return e == null ? e === void 0 ? nA : aA : Mt && Mt in Object(e) ? _i(e) : tA(e);
|
|
3068
3073
|
}
|
|
3069
|
-
function
|
|
3074
|
+
function iA(e) {
|
|
3070
3075
|
return e != null && typeof e == "object";
|
|
3071
3076
|
}
|
|
3072
|
-
var
|
|
3073
|
-
function
|
|
3074
|
-
return typeof e == "symbol" ||
|
|
3077
|
+
var AA = "[object Symbol]";
|
|
3078
|
+
function oA(e) {
|
|
3079
|
+
return typeof e == "symbol" || iA(e) && rA(e) == AA;
|
|
3075
3080
|
}
|
|
3076
|
-
var
|
|
3077
|
-
function
|
|
3078
|
-
for (var t = e.length; t-- &&
|
|
3081
|
+
var lA = /\s/;
|
|
3082
|
+
function sA(e) {
|
|
3083
|
+
for (var t = e.length; t-- && lA.test(e.charAt(t)); )
|
|
3079
3084
|
;
|
|
3080
3085
|
return t;
|
|
3081
3086
|
}
|
|
3082
|
-
var
|
|
3083
|
-
function
|
|
3084
|
-
return e && e.slice(0,
|
|
3087
|
+
var cA = /^\s+/;
|
|
3088
|
+
function uA(e) {
|
|
3089
|
+
return e && e.slice(0, sA(e) + 1).replace(cA, "");
|
|
3085
3090
|
}
|
|
3086
3091
|
function tt(e) {
|
|
3087
3092
|
var t = typeof e;
|
|
3088
3093
|
return e != null && (t == "object" || t == "function");
|
|
3089
3094
|
}
|
|
3090
|
-
var pt = NaN,
|
|
3095
|
+
var pt = NaN, dA = /^[-+]0x[0-9a-f]+$/i, fA = /^0b[01]+$/i, vA = /^0o[0-7]+$/i, mA = parseInt;
|
|
3091
3096
|
function Nt(e) {
|
|
3092
3097
|
if (typeof e == "number")
|
|
3093
3098
|
return e;
|
|
3094
|
-
if (
|
|
3099
|
+
if (oA(e))
|
|
3095
3100
|
return pt;
|
|
3096
3101
|
if (tt(e)) {
|
|
3097
3102
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -3099,160 +3104,160 @@ function Nt(e) {
|
|
|
3099
3104
|
}
|
|
3100
3105
|
if (typeof e != "string")
|
|
3101
3106
|
return e === 0 ? e : +e;
|
|
3102
|
-
e =
|
|
3103
|
-
var a =
|
|
3104
|
-
return a ||
|
|
3107
|
+
e = uA(e);
|
|
3108
|
+
var a = fA.test(e);
|
|
3109
|
+
return a || vA.test(e) ? mA(e.slice(2), a ? 2 : 8) : dA.test(e) ? pt : +e;
|
|
3105
3110
|
}
|
|
3106
3111
|
var $e = function() {
|
|
3107
3112
|
return Yt.Date.now();
|
|
3108
|
-
},
|
|
3113
|
+
}, gA = "Expected a function", IA = Math.max, bA = Math.min;
|
|
3109
3114
|
function Ft(e, t, a) {
|
|
3110
|
-
var n, r,
|
|
3115
|
+
var n, r, A, i, s, o, c = 0, d = !1, f = !1, b = !0;
|
|
3111
3116
|
if (typeof e != "function")
|
|
3112
|
-
throw new TypeError(
|
|
3113
|
-
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a,
|
|
3117
|
+
throw new TypeError(gA);
|
|
3118
|
+
t = Nt(t) || 0, tt(a) && (d = !!a.leading, f = "maxWait" in a, A = f ? IA(Nt(a.maxWait) || 0, t) : A, b = "trailing" in a ? !!a.trailing : b);
|
|
3114
3119
|
function I(V) {
|
|
3115
|
-
var x = n,
|
|
3116
|
-
return n = r = void 0, c = V,
|
|
3120
|
+
var x = n, ie = r;
|
|
3121
|
+
return n = r = void 0, c = V, i = e.apply(ie, x), i;
|
|
3117
3122
|
}
|
|
3118
3123
|
function m(V) {
|
|
3119
|
-
return c = V,
|
|
3124
|
+
return c = V, s = setTimeout(T, t), d ? I(V) : i;
|
|
3120
3125
|
}
|
|
3121
3126
|
function C(V) {
|
|
3122
|
-
var x = V -
|
|
3123
|
-
return f ?
|
|
3127
|
+
var x = V - o, ie = V - c, O = t - x;
|
|
3128
|
+
return f ? bA(O, A - ie) : O;
|
|
3124
3129
|
}
|
|
3125
|
-
function
|
|
3126
|
-
var x = V -
|
|
3127
|
-
return
|
|
3130
|
+
function p(V) {
|
|
3131
|
+
var x = V - o, ie = V - c;
|
|
3132
|
+
return o === void 0 || x >= t || x < 0 || f && ie >= A;
|
|
3128
3133
|
}
|
|
3129
3134
|
function T() {
|
|
3130
3135
|
var V = $e();
|
|
3131
|
-
if (
|
|
3136
|
+
if (p(V))
|
|
3132
3137
|
return Q(V);
|
|
3133
|
-
|
|
3138
|
+
s = setTimeout(T, C(V));
|
|
3134
3139
|
}
|
|
3135
3140
|
function Q(V) {
|
|
3136
|
-
return
|
|
3141
|
+
return s = void 0, b && n ? I(V) : (n = r = void 0, i);
|
|
3137
3142
|
}
|
|
3138
3143
|
function E() {
|
|
3139
|
-
|
|
3144
|
+
s !== void 0 && clearTimeout(s), c = 0, n = o = r = s = void 0;
|
|
3140
3145
|
}
|
|
3141
3146
|
function L() {
|
|
3142
|
-
return
|
|
3147
|
+
return s === void 0 ? i : Q($e());
|
|
3143
3148
|
}
|
|
3144
|
-
function
|
|
3145
|
-
var V = $e(), x =
|
|
3146
|
-
if (n = arguments, r = this,
|
|
3147
|
-
if (
|
|
3148
|
-
return m(
|
|
3149
|
+
function B() {
|
|
3150
|
+
var V = $e(), x = p(V);
|
|
3151
|
+
if (n = arguments, r = this, o = V, x) {
|
|
3152
|
+
if (s === void 0)
|
|
3153
|
+
return m(o);
|
|
3149
3154
|
if (f)
|
|
3150
|
-
return clearTimeout(
|
|
3155
|
+
return clearTimeout(s), s = setTimeout(T, t), I(o);
|
|
3151
3156
|
}
|
|
3152
|
-
return
|
|
3157
|
+
return s === void 0 && (s = setTimeout(T, t)), i;
|
|
3153
3158
|
}
|
|
3154
|
-
return
|
|
3159
|
+
return B.cancel = E, B.flush = L, B;
|
|
3155
3160
|
}
|
|
3156
|
-
const
|
|
3161
|
+
const hA = {
|
|
3157
3162
|
key: 0,
|
|
3158
3163
|
class: "av-autocomplete-dropdown__loading"
|
|
3159
|
-
},
|
|
3164
|
+
}, CA = {
|
|
3160
3165
|
key: 1,
|
|
3161
3166
|
class: "av-autocomplete-dropdown__empty"
|
|
3162
|
-
},
|
|
3167
|
+
}, yA = {
|
|
3163
3168
|
key: 1,
|
|
3164
3169
|
class: "av-autocomplete-dropdown__empty-text"
|
|
3165
|
-
},
|
|
3170
|
+
}, EA = /* @__PURE__ */ w({
|
|
3166
3171
|
__name: "AvAutocompleteDropdown",
|
|
3167
3172
|
emits: ["loadMore"],
|
|
3168
3173
|
setup(e, { expose: t, emit: a }) {
|
|
3169
|
-
const n = a, r =
|
|
3170
|
-
selectedItems:
|
|
3171
|
-
searchQuery:
|
|
3172
|
-
isOpen:
|
|
3173
|
-
props:
|
|
3174
|
+
const n = a, r = Ae(), {
|
|
3175
|
+
selectedItems: A,
|
|
3176
|
+
searchQuery: i,
|
|
3177
|
+
isOpen: s,
|
|
3178
|
+
props: o,
|
|
3174
3179
|
getOptionId: c,
|
|
3175
3180
|
getDisplayLabel: d
|
|
3176
|
-
} = lt(), f = J(),
|
|
3177
|
-
if (!
|
|
3181
|
+
} = lt(), f = J(), b = J(), I = M(() => {
|
|
3182
|
+
if (!o.options)
|
|
3178
3183
|
return [];
|
|
3179
|
-
if (
|
|
3180
|
-
return
|
|
3181
|
-
const E =
|
|
3184
|
+
if (o.serverSideFiltering)
|
|
3185
|
+
return o.maxResults ? o.options.slice(0, o.maxResults) : o.options;
|
|
3186
|
+
const E = i.value.toLowerCase().trim();
|
|
3182
3187
|
if (!E) {
|
|
3183
|
-
const
|
|
3184
|
-
return
|
|
3188
|
+
const B = o.options;
|
|
3189
|
+
return o.maxResults ? B.slice(0, o.maxResults) : B;
|
|
3185
3190
|
}
|
|
3186
3191
|
let L;
|
|
3187
|
-
return
|
|
3188
|
-
}), m =
|
|
3192
|
+
return o.filterOptions ? L = o.filterOptions(o.options, E) : L = o.options.filter((B) => d(B).toLowerCase().includes(E)), o.maxResults ? L.slice(0, o.maxResults) : L;
|
|
3193
|
+
}), m = M(() => o.loading ? Me.LOADING : s.value && o.options && o.options.length > 0 && I.value.length > 0 ? Me.HAS_OPTIONS : Me.NO_OPTIONS);
|
|
3189
3194
|
function C(E) {
|
|
3190
|
-
return
|
|
3195
|
+
return A.value.some(
|
|
3191
3196
|
(L) => c(L) === c(E)
|
|
3192
3197
|
);
|
|
3193
3198
|
}
|
|
3194
|
-
function
|
|
3195
|
-
if (!
|
|
3196
|
-
|
|
3199
|
+
function p(E) {
|
|
3200
|
+
if (!o.multiSelect) {
|
|
3201
|
+
A.value = [E], s.value = !1, i.value = "";
|
|
3197
3202
|
return;
|
|
3198
3203
|
}
|
|
3199
|
-
const L =
|
|
3204
|
+
const L = A.value, B = c(E);
|
|
3200
3205
|
L.some(
|
|
3201
|
-
(x) => c(x) ===
|
|
3202
|
-
) ?
|
|
3203
|
-
(x) => c(x) !==
|
|
3204
|
-
) :
|
|
3206
|
+
(x) => c(x) === B
|
|
3207
|
+
) ? A.value = L.filter(
|
|
3208
|
+
(x) => c(x) !== B
|
|
3209
|
+
) : A.value = [...L, E];
|
|
3205
3210
|
}
|
|
3206
|
-
const { arrivedState: T } =
|
|
3211
|
+
const { arrivedState: T } = Ri(b, {
|
|
3207
3212
|
throttle: 100
|
|
3208
3213
|
}), Q = Ft(() => {
|
|
3209
3214
|
n("loadMore");
|
|
3210
|
-
},
|
|
3215
|
+
}, o.loadMoreThrottleDelay);
|
|
3211
3216
|
return ce(() => T.bottom, (E) => {
|
|
3212
|
-
|
|
3213
|
-
}),
|
|
3217
|
+
o.enableLoadMore && E && s.value && Q();
|
|
3218
|
+
}), Te(() => {
|
|
3214
3219
|
Q.cancel();
|
|
3215
3220
|
}), t({
|
|
3216
3221
|
dropdownRef: f
|
|
3217
|
-
}), (E, L) =>
|
|
3222
|
+
}), (E, L) => l(s) ? (u(), g("div", {
|
|
3218
3223
|
key: 0,
|
|
3219
3224
|
ref_key: "dropdownRef",
|
|
3220
3225
|
ref: f,
|
|
3221
|
-
class: F(["av-autocomplete-dropdown", o
|
|
3222
|
-
style: Ve({ width: o
|
|
3226
|
+
class: F(["av-autocomplete-dropdown", l(o).dropdownClass]),
|
|
3227
|
+
style: Ve({ width: l(o).dropdownWidth, maxHeight: l(o).maxDropdownHeight })
|
|
3223
3228
|
}, [
|
|
3224
|
-
|
|
3229
|
+
l(m) === l(Me).LOADING ? (u(), g("div", hA, [
|
|
3225
3230
|
P(ne, {
|
|
3226
|
-
name:
|
|
3231
|
+
name: l(Y).LOADING_OUTLINE,
|
|
3227
3232
|
size: 1.5,
|
|
3228
3233
|
class: "av-autocomplete-dropdown__spinner"
|
|
3229
3234
|
}, null, 8, ["name"]),
|
|
3230
3235
|
L[0] || (L[0] = y("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
3231
|
-
])) :
|
|
3232
|
-
r.empty ?
|
|
3236
|
+
])) : l(m) === l(Me).NO_OPTIONS ? (u(), g("div", CA, [
|
|
3237
|
+
r.empty ? j(E.$slots, "empty", { key: 0 }, void 0, !0) : (u(), g("div", yA, " No results found "))
|
|
3233
3238
|
])) : (u(), k(Vt, ee({
|
|
3234
3239
|
key: 2,
|
|
3235
3240
|
ref_key: "listRef",
|
|
3236
|
-
ref:
|
|
3237
|
-
}, o
|
|
3238
|
-
class: ["av-autocomplete-dropdown__options", o
|
|
3241
|
+
ref: b
|
|
3242
|
+
}, l(o).listOptions, {
|
|
3243
|
+
class: ["av-autocomplete-dropdown__options", l(o).scrollbarClass]
|
|
3239
3244
|
}), {
|
|
3240
3245
|
default: R(() => [
|
|
3241
|
-
(u(!0), g(_, null, re(
|
|
3242
|
-
key:
|
|
3246
|
+
(u(!0), g(_, null, re(l(I), (B) => (u(), g(_, {
|
|
3247
|
+
key: l(c)(B)
|
|
3243
3248
|
}, [
|
|
3244
|
-
r.item ?
|
|
3249
|
+
r.item ? j(E.$slots, "item", {
|
|
3245
3250
|
key: 0,
|
|
3246
|
-
option:
|
|
3247
|
-
isSelected: C(
|
|
3248
|
-
toggle: () =>
|
|
3251
|
+
option: B,
|
|
3252
|
+
isSelected: C(B),
|
|
3253
|
+
toggle: () => p(B)
|
|
3249
3254
|
}, void 0, !0) : (u(), k(Ut, {
|
|
3250
3255
|
key: 1,
|
|
3251
|
-
title:
|
|
3252
|
-
icon: C(
|
|
3253
|
-
selected: C(
|
|
3256
|
+
title: l(d)(B),
|
|
3257
|
+
icon: C(B) ? l(Y).CHECK : void 0,
|
|
3258
|
+
selected: C(B),
|
|
3254
3259
|
clickable: "",
|
|
3255
|
-
"on-click": () =>
|
|
3260
|
+
"on-click": () => p(B),
|
|
3256
3261
|
"hover-background-color": "var(--light-background-neutral)",
|
|
3257
3262
|
"color-on-hover": "var(--base)"
|
|
3258
3263
|
}, null, 8, ["title", "icon", "selected", "on-click"]))
|
|
@@ -3262,54 +3267,54 @@ const hi = {
|
|
|
3262
3267
|
}, 16, ["class"]))
|
|
3263
3268
|
], 6)) : D("", !0);
|
|
3264
3269
|
}
|
|
3265
|
-
}),
|
|
3270
|
+
}), MA = /* @__PURE__ */ W(EA, [["__scopeId", "data-v-b59b9163"]]), pA = { class: "av-autocomplete-input" }, NA = {
|
|
3266
3271
|
key: 0,
|
|
3267
3272
|
class: "av-autocomplete-input__suffix"
|
|
3268
|
-
},
|
|
3273
|
+
}, TA = /* @__PURE__ */ w({
|
|
3269
3274
|
__name: "AvAutocompleteInput",
|
|
3270
3275
|
emits: ["search", "clear"],
|
|
3271
3276
|
setup(e, { expose: t, emit: a }) {
|
|
3272
|
-
const n = a, r =
|
|
3273
|
-
selectedItems:
|
|
3274
|
-
searchQuery:
|
|
3275
|
-
isOpen:
|
|
3276
|
-
props:
|
|
3277
|
+
const n = a, r = Ae(), {
|
|
3278
|
+
selectedItems: A,
|
|
3279
|
+
searchQuery: i,
|
|
3280
|
+
isOpen: s,
|
|
3281
|
+
props: o,
|
|
3277
3282
|
inputId: c,
|
|
3278
3283
|
handleBlur: d,
|
|
3279
3284
|
getDisplayLabel: f
|
|
3280
|
-
} = lt(),
|
|
3285
|
+
} = lt(), b = J(), I = M(() => !o.multiSelect && A.value.length > 0 ? f(A.value[0]) : o.multiSelect && A.value.length > 0 ? o.showSelectedSection ? `${A.value.length} element(s) selected` : A.value.map(f).join(", ") : i.value), m = M(() => {
|
|
3281
3286
|
var E;
|
|
3282
|
-
return ((E =
|
|
3287
|
+
return ((E = o.inputOptions) == null ? void 0 : E.placeholder) || "Search...";
|
|
3283
3288
|
}), C = Ft((E) => {
|
|
3284
|
-
|
|
3285
|
-
},
|
|
3286
|
-
function
|
|
3287
|
-
|
|
3289
|
+
i.value = E, n("search", E);
|
|
3290
|
+
}, o.debounceDelay);
|
|
3291
|
+
function p(E) {
|
|
3292
|
+
i.value = String(E || ""), C(i.value);
|
|
3288
3293
|
}
|
|
3289
3294
|
function T() {
|
|
3290
|
-
|
|
3295
|
+
s.value = !0;
|
|
3291
3296
|
}
|
|
3292
3297
|
function Q() {
|
|
3293
|
-
|
|
3298
|
+
A.value = [], i.value = "", n("clear");
|
|
3294
3299
|
}
|
|
3295
|
-
return
|
|
3300
|
+
return Te(() => {
|
|
3296
3301
|
C.cancel();
|
|
3297
3302
|
}), t({
|
|
3298
|
-
inputRef:
|
|
3299
|
-
searchQuery:
|
|
3300
|
-
}), (E, L) => (u(), g("div",
|
|
3301
|
-
P(
|
|
3302
|
-
id:
|
|
3303
|
+
inputRef: b,
|
|
3304
|
+
searchQuery: M(() => i.value)
|
|
3305
|
+
}), (E, L) => (u(), g("div", pA, [
|
|
3306
|
+
P(gi, ee({
|
|
3307
|
+
id: l(c),
|
|
3303
3308
|
ref_key: "inputRef",
|
|
3304
|
-
ref:
|
|
3305
|
-
"model-value":
|
|
3306
|
-
placeholder:
|
|
3307
|
-
}, o
|
|
3308
|
-
"onUpdate:modelValue":
|
|
3309
|
+
ref: b,
|
|
3310
|
+
"model-value": l(I),
|
|
3311
|
+
placeholder: l(m)
|
|
3312
|
+
}, l(o).inputOptions, {
|
|
3313
|
+
"onUpdate:modelValue": p,
|
|
3309
3314
|
onFocus: T,
|
|
3310
|
-
onBlur:
|
|
3315
|
+
onBlur: l(d),
|
|
3311
3316
|
onClick: T
|
|
3312
|
-
}),
|
|
3317
|
+
}), ke({ _: 2 }, [
|
|
3313
3318
|
r.requiredTip ? {
|
|
3314
3319
|
name: "requiredTip",
|
|
3315
3320
|
fn: R(() => [
|
|
@@ -3318,10 +3323,10 @@ const hi = {
|
|
|
3318
3323
|
key: "0"
|
|
3319
3324
|
} : void 0
|
|
3320
3325
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
3321
|
-
|
|
3326
|
+
l(A).length > 0 ? (u(), g("div", NA, [
|
|
3322
3327
|
P(me, {
|
|
3323
3328
|
label: "Clear selected items",
|
|
3324
|
-
icon:
|
|
3329
|
+
icon: l(Y).CLOSE_CIRCLE_OUTLINE,
|
|
3325
3330
|
"icon-only": "",
|
|
3326
3331
|
"icon-scale": 0.8,
|
|
3327
3332
|
size: "sm",
|
|
@@ -3332,47 +3337,47 @@ const hi = {
|
|
|
3332
3337
|
])) : D("", !0)
|
|
3333
3338
|
]));
|
|
3334
3339
|
}
|
|
3335
|
-
}),
|
|
3340
|
+
}), QA = /* @__PURE__ */ W(TA, [["__scopeId", "data-v-24fd377c"]]), DA = {
|
|
3336
3341
|
key: 0,
|
|
3337
3342
|
class: "av-autocomplete-selected-tags"
|
|
3338
|
-
},
|
|
3343
|
+
}, LA = /* @__PURE__ */ w({
|
|
3339
3344
|
__name: "AvAutocompleteSelectedTags",
|
|
3340
3345
|
setup(e) {
|
|
3341
|
-
const t =
|
|
3346
|
+
const t = Ae(), {
|
|
3342
3347
|
selectedItems: a,
|
|
3343
3348
|
props: n,
|
|
3344
3349
|
getOptionId: r,
|
|
3345
|
-
getDisplayLabel:
|
|
3350
|
+
getDisplayLabel: A
|
|
3346
3351
|
} = lt();
|
|
3347
|
-
function
|
|
3348
|
-
const
|
|
3349
|
-
a.value =
|
|
3352
|
+
function i(s) {
|
|
3353
|
+
const o = a.value, c = r(s);
|
|
3354
|
+
a.value = o.filter(
|
|
3350
3355
|
(d) => r(d) !== c
|
|
3351
3356
|
);
|
|
3352
3357
|
}
|
|
3353
|
-
return (
|
|
3354
|
-
(u(!0), g(_, null, re(
|
|
3355
|
-
key:
|
|
3358
|
+
return (s, o) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (u(), g("div", DA, [
|
|
3359
|
+
(u(!0), g(_, null, re(l(a), (c) => (u(), g("div", {
|
|
3360
|
+
key: l(r)(c),
|
|
3356
3361
|
class: "av-autocomplete-selected-tags__item"
|
|
3357
3362
|
}, [
|
|
3358
|
-
t.selectedItem ?
|
|
3363
|
+
t.selectedItem ? j(s.$slots, "selectedItem", {
|
|
3359
3364
|
key: 0,
|
|
3360
3365
|
option: c,
|
|
3361
|
-
remove: () =>
|
|
3366
|
+
remove: () => i(c)
|
|
3362
3367
|
}, void 0, !0) : (u(), k(me, {
|
|
3363
3368
|
key: 1,
|
|
3364
|
-
label:
|
|
3365
|
-
icon:
|
|
3369
|
+
label: l(A)(c),
|
|
3370
|
+
icon: l(Y).CLOSE_CIRCLE_OUTLINE,
|
|
3366
3371
|
"icon-right": "",
|
|
3367
3372
|
size: "sm",
|
|
3368
3373
|
variant: "OUTLINED",
|
|
3369
3374
|
theme: "SECONDARY",
|
|
3370
|
-
"on-click": () =>
|
|
3375
|
+
"on-click": () => i(c)
|
|
3371
3376
|
}, null, 8, ["label", "icon", "on-click"]))
|
|
3372
3377
|
]))), 128))
|
|
3373
3378
|
])) : D("", !0);
|
|
3374
3379
|
}
|
|
3375
|
-
}),
|
|
3380
|
+
}), wA = /* @__PURE__ */ W(LA, [["__scopeId", "data-v-c00c128b"]]), OA = { class: "av-autocomplete" }, SA = /* @__PURE__ */ w({
|
|
3376
3381
|
__name: "AvAutocomplete",
|
|
3377
3382
|
props: /* @__PURE__ */ ve({
|
|
3378
3383
|
id: {},
|
|
@@ -3404,14 +3409,14 @@ const hi = {
|
|
|
3404
3409
|
}),
|
|
3405
3410
|
emits: /* @__PURE__ */ ve(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
3406
3411
|
setup(e, { emit: t }) {
|
|
3407
|
-
const a = e, n = t, r =
|
|
3408
|
-
function
|
|
3409
|
-
|
|
3412
|
+
const a = e, n = t, r = Ae(), A = xe(e, "modelValue"), i = J(!1), s = J(""), o = J(), c = J(), d = J(), f = M(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
3413
|
+
function b(Q) {
|
|
3414
|
+
s.value = Q, n("search", Q);
|
|
3410
3415
|
}
|
|
3411
3416
|
function I(Q) {
|
|
3412
3417
|
var E, L;
|
|
3413
3418
|
(L = (E = d.value) == null ? void 0 : E.dropdownRef) != null && L.contains(Q.relatedTarget) || setTimeout(() => {
|
|
3414
|
-
|
|
3419
|
+
i.value = !1;
|
|
3415
3420
|
}, a.blurCloseDelay);
|
|
3416
3421
|
}
|
|
3417
3422
|
function m(Q) {
|
|
@@ -3421,9 +3426,9 @@ const hi = {
|
|
|
3421
3426
|
return a.getOptionLabel ? a.getOptionLabel(Q) : Q.label;
|
|
3422
3427
|
}
|
|
3423
3428
|
St(Ht, {
|
|
3424
|
-
selectedItems:
|
|
3425
|
-
searchQuery:
|
|
3426
|
-
isOpen:
|
|
3429
|
+
selectedItems: A,
|
|
3430
|
+
searchQuery: s,
|
|
3431
|
+
isOpen: i,
|
|
3427
3432
|
props: a,
|
|
3428
3433
|
inputId: f,
|
|
3429
3434
|
handleBlur: I,
|
|
@@ -3431,26 +3436,26 @@ const hi = {
|
|
|
3431
3436
|
getDisplayLabel: C
|
|
3432
3437
|
});
|
|
3433
3438
|
function T(Q) {
|
|
3434
|
-
var
|
|
3435
|
-
const E = Q.target, L = (
|
|
3436
|
-
!((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x =
|
|
3439
|
+
var B, V, x, ie, O;
|
|
3440
|
+
const E = Q.target, L = (B = c.value) == null ? void 0 : B.inputRef;
|
|
3441
|
+
!((V = L == null ? void 0 : L.contains) != null && V.call(L, E)) && !((x = o.value) != null && x.contains(E)) && !((O = (ie = d.value) == null ? void 0 : ie.dropdownRef) != null && O.contains(E)) && (i.value = !1);
|
|
3437
3442
|
}
|
|
3438
|
-
return
|
|
3443
|
+
return Ne(() => {
|
|
3439
3444
|
document.addEventListener("click", T);
|
|
3440
|
-
}),
|
|
3445
|
+
}), Te(() => {
|
|
3441
3446
|
document.removeEventListener("click", T);
|
|
3442
|
-
}), (Q, E) => (u(), g("div",
|
|
3447
|
+
}), (Q, E) => (u(), g("div", OA, [
|
|
3443
3448
|
y("div", {
|
|
3444
3449
|
ref_key: "wrapperRef",
|
|
3445
|
-
ref:
|
|
3450
|
+
ref: o,
|
|
3446
3451
|
class: "av-autocomplete__wrapper"
|
|
3447
3452
|
}, [
|
|
3448
|
-
P(
|
|
3453
|
+
P(QA, {
|
|
3449
3454
|
ref_key: "inputRef",
|
|
3450
3455
|
ref: c,
|
|
3451
|
-
onSearch:
|
|
3456
|
+
onSearch: b,
|
|
3452
3457
|
onClear: E[0] || (E[0] = (L) => n("clear"))
|
|
3453
|
-
},
|
|
3458
|
+
}, ke({ _: 2 }, [
|
|
3454
3459
|
r.requiredTip ? {
|
|
3455
3460
|
name: "requiredTip",
|
|
3456
3461
|
fn: R(() => [
|
|
@@ -3459,17 +3464,17 @@ const hi = {
|
|
|
3459
3464
|
key: "0"
|
|
3460
3465
|
} : void 0
|
|
3461
3466
|
]), 1536),
|
|
3462
|
-
P(
|
|
3467
|
+
P(MA, {
|
|
3463
3468
|
ref_key: "dropdownRef",
|
|
3464
3469
|
ref: d,
|
|
3465
3470
|
onLoadMore: E[1] || (E[1] = (L) => n("loadMore"))
|
|
3466
|
-
},
|
|
3471
|
+
}, ke({ _: 2 }, [
|
|
3467
3472
|
r.item ? {
|
|
3468
3473
|
name: "item",
|
|
3469
|
-
fn: R(({ option: L, isSelected:
|
|
3470
|
-
|
|
3474
|
+
fn: R(({ option: L, isSelected: B, toggle: V }) => [
|
|
3475
|
+
j(Q.$slots, "item", {
|
|
3471
3476
|
option: L,
|
|
3472
|
-
isSelected:
|
|
3477
|
+
isSelected: B,
|
|
3473
3478
|
toggle: V
|
|
3474
3479
|
}, void 0, !0)
|
|
3475
3480
|
]),
|
|
@@ -3478,19 +3483,19 @@ const hi = {
|
|
|
3478
3483
|
r.empty ? {
|
|
3479
3484
|
name: "empty",
|
|
3480
3485
|
fn: R(() => [
|
|
3481
|
-
|
|
3486
|
+
j(Q.$slots, "empty", {}, void 0, !0)
|
|
3482
3487
|
]),
|
|
3483
3488
|
key: "1"
|
|
3484
3489
|
} : void 0
|
|
3485
3490
|
]), 1536)
|
|
3486
3491
|
], 512),
|
|
3487
|
-
P(
|
|
3492
|
+
P(wA, null, ke({ _: 2 }, [
|
|
3488
3493
|
r.selectedItem ? {
|
|
3489
3494
|
name: "selectedItem",
|
|
3490
|
-
fn: R(({ option: L, remove:
|
|
3491
|
-
|
|
3495
|
+
fn: R(({ option: L, remove: B }) => [
|
|
3496
|
+
j(Q.$slots, "selectedItem", {
|
|
3492
3497
|
option: L,
|
|
3493
|
-
remove:
|
|
3498
|
+
remove: B
|
|
3494
3499
|
}, void 0, !0)
|
|
3495
3500
|
]),
|
|
3496
3501
|
key: "0"
|
|
@@ -3498,7 +3503,7 @@ const hi = {
|
|
|
3498
3503
|
]), 1024)
|
|
3499
3504
|
]));
|
|
3500
3505
|
}
|
|
3501
|
-
}),
|
|
3506
|
+
}), Xl = /* @__PURE__ */ W(SA, [["__scopeId", "data-v-fd810890"]]), kA = { class: "item-container" }, zA = /* @__PURE__ */ w({
|
|
3502
3507
|
__name: "AvMultiselect",
|
|
3503
3508
|
props: {
|
|
3504
3509
|
disabled: { type: Boolean },
|
|
@@ -3523,7 +3528,7 @@ const hi = {
|
|
|
3523
3528
|
te((f) => ({
|
|
3524
3529
|
v5e495a53: f.width
|
|
3525
3530
|
}));
|
|
3526
|
-
const a = e, n = t, r =
|
|
3531
|
+
const a = e, n = t, r = M(() => a.modelValue.map((f) => f.value)), A = M(() => {
|
|
3527
3532
|
if (!a.modelValue || a.modelValue.length === 0)
|
|
3528
3533
|
return a.defaultUnselectedText;
|
|
3529
3534
|
if (a.selectedText)
|
|
@@ -3531,26 +3536,26 @@ const hi = {
|
|
|
3531
3536
|
const f = a.modelValue.length > 1 ? "s" : "";
|
|
3532
3537
|
return `${a.modelValue.length} option${f} sélectionnée${f}`;
|
|
3533
3538
|
});
|
|
3534
|
-
function
|
|
3535
|
-
return a.modelValue.some((
|
|
3536
|
-
}
|
|
3537
|
-
function l(f) {
|
|
3538
|
-
return A(f) ? Y.CHECKBOX_MARKED : Y.CHECKBOX_BLANK_OUTLINE;
|
|
3539
|
+
function i(f) {
|
|
3540
|
+
return a.modelValue.some((b) => b.value === f.value);
|
|
3539
3541
|
}
|
|
3540
3542
|
function s(f) {
|
|
3541
|
-
return
|
|
3543
|
+
return i(f) ? Y.CHECKBOX_MARKED : Y.CHECKBOX_BLANK_OUTLINE;
|
|
3544
|
+
}
|
|
3545
|
+
function o(f) {
|
|
3546
|
+
return i(f) ? "var(--dark-background-primary1)" : "var(--icon)";
|
|
3542
3547
|
}
|
|
3543
3548
|
function c(f) {
|
|
3544
|
-
return
|
|
3549
|
+
return i(f) ? "b2-bold" : "b2-regular";
|
|
3545
3550
|
}
|
|
3546
3551
|
function d(f) {
|
|
3547
3552
|
var I;
|
|
3548
|
-
const
|
|
3553
|
+
const b = ((I = a.options) == null ? void 0 : I.filter(
|
|
3549
3554
|
(m) => f.includes(m.value)
|
|
3550
3555
|
)) ?? [];
|
|
3551
|
-
n("update:modelValue",
|
|
3556
|
+
n("update:modelValue", b);
|
|
3552
3557
|
}
|
|
3553
|
-
return (f,
|
|
3558
|
+
return (f, b) => {
|
|
3554
3559
|
const I = ne;
|
|
3555
3560
|
return u(), g("div", {
|
|
3556
3561
|
class: F({
|
|
@@ -3559,27 +3564,27 @@ const hi = {
|
|
|
3559
3564
|
"fr-multiselect--selected": a.modelValue.length > 0
|
|
3560
3565
|
})
|
|
3561
3566
|
}, [
|
|
3562
|
-
P(
|
|
3563
|
-
"model-value":
|
|
3564
|
-
title:
|
|
3565
|
-
"button-label":
|
|
3567
|
+
P(l(ma), ee(a, {
|
|
3568
|
+
"model-value": l(r),
|
|
3569
|
+
title: l(A),
|
|
3570
|
+
"button-label": l(A),
|
|
3566
3571
|
"id-key": "value",
|
|
3567
3572
|
"filtering-keys": ["label"],
|
|
3568
|
-
"onUpdate:modelValue":
|
|
3573
|
+
"onUpdate:modelValue": b[0] || (b[0] = (m) => d(m))
|
|
3569
3574
|
}), {
|
|
3570
3575
|
"checkbox-label": R(({ option: m }) => [
|
|
3571
|
-
y("div",
|
|
3576
|
+
y("div", kA, [
|
|
3572
3577
|
P(I, {
|
|
3573
3578
|
class: "option-checkbox",
|
|
3574
|
-
name:
|
|
3575
|
-
color:
|
|
3579
|
+
name: s(m),
|
|
3580
|
+
color: o(m),
|
|
3576
3581
|
size: 1.5
|
|
3577
3582
|
}, null, 8, ["name", "color"]),
|
|
3578
3583
|
m.icon ? (u(), k(I, {
|
|
3579
3584
|
key: 0,
|
|
3580
3585
|
class: "option-icon",
|
|
3581
3586
|
name: m.icon,
|
|
3582
|
-
color:
|
|
3587
|
+
color: o(m),
|
|
3583
3588
|
size: 1.5
|
|
3584
3589
|
}, null, 8, ["name", "color"])) : D("", !0),
|
|
3585
3590
|
y("span", {
|
|
@@ -3592,7 +3597,7 @@ const hi = {
|
|
|
3592
3597
|
], 2);
|
|
3593
3598
|
};
|
|
3594
3599
|
}
|
|
3595
|
-
}),
|
|
3600
|
+
}), Hl = /* @__PURE__ */ W(zA, [["__scopeId", "data-v-4cc765fa"]]), Zl = {
|
|
3596
3601
|
name: "AvSelect",
|
|
3597
3602
|
props: {
|
|
3598
3603
|
modelValue: [String, Number],
|
|
@@ -3616,7 +3621,7 @@ const hi = {
|
|
|
3616
3621
|
</option>
|
|
3617
3622
|
</select>
|
|
3618
3623
|
`
|
|
3619
|
-
},
|
|
3624
|
+
}, xA = /* @__PURE__ */ w({
|
|
3620
3625
|
__name: "AvSelect",
|
|
3621
3626
|
props: {
|
|
3622
3627
|
required: { type: Boolean },
|
|
@@ -3634,32 +3639,32 @@ const hi = {
|
|
|
3634
3639
|
},
|
|
3635
3640
|
emits: ["update:modelValue"],
|
|
3636
3641
|
setup(e, { emit: t }) {
|
|
3637
|
-
const a = e, n = t, r =
|
|
3638
|
-
var
|
|
3642
|
+
const a = e, n = t, r = M(() => {
|
|
3643
|
+
var i;
|
|
3639
3644
|
if (!a.modelValue)
|
|
3640
3645
|
return a.defaultUnselectedText;
|
|
3641
|
-
const
|
|
3642
|
-
return
|
|
3646
|
+
const A = (i = a.options) == null ? void 0 : i.find((s) => String(s.value) === String(a.modelValue));
|
|
3647
|
+
return A ? A.text : a.defaultUnselectedText;
|
|
3643
3648
|
});
|
|
3644
|
-
return (
|
|
3649
|
+
return (A, i) => (u(), g("div", {
|
|
3645
3650
|
class: F({ "fr-select--dense": a.dense })
|
|
3646
3651
|
}, [
|
|
3647
|
-
P(
|
|
3648
|
-
title:
|
|
3649
|
-
"onUpdate:modelValue":
|
|
3652
|
+
P(l(ga), ee(a, {
|
|
3653
|
+
title: l(r),
|
|
3654
|
+
"onUpdate:modelValue": i[0] || (i[0] = (s) => n("update:modelValue", s))
|
|
3650
3655
|
}), null, 16, ["title"])
|
|
3651
3656
|
], 2));
|
|
3652
3657
|
}
|
|
3653
|
-
}),
|
|
3658
|
+
}), ql = /* @__PURE__ */ W(xA, [["__scopeId", "data-v-d230e734"]]), Yl = /* @__PURE__ */ w({
|
|
3654
3659
|
__name: "AvTab",
|
|
3655
3660
|
props: {
|
|
3656
3661
|
title: {},
|
|
3657
3662
|
icon: {}
|
|
3658
3663
|
},
|
|
3659
3664
|
setup(e) {
|
|
3660
|
-
return (t, a) =>
|
|
3665
|
+
return (t, a) => j(t.$slots, "default");
|
|
3661
3666
|
}
|
|
3662
|
-
}),
|
|
3667
|
+
}), BA = /* @__PURE__ */ w({
|
|
3663
3668
|
__name: "AvTabs",
|
|
3664
3669
|
props: {
|
|
3665
3670
|
ariaLabel: {},
|
|
@@ -3668,41 +3673,41 @@ const hi = {
|
|
|
3668
3673
|
},
|
|
3669
3674
|
emits: ["update:modelValue"],
|
|
3670
3675
|
setup(e, { expose: t, emit: a }) {
|
|
3671
|
-
const n = a, r =
|
|
3672
|
-
var
|
|
3673
|
-
return ((
|
|
3676
|
+
const n = a, r = Ae(), A = J(e.modelValue), i = M(() => {
|
|
3677
|
+
var b;
|
|
3678
|
+
return ((b = r.default) == null ? void 0 : b.call(r)) || [];
|
|
3674
3679
|
});
|
|
3675
|
-
function
|
|
3676
|
-
const I =
|
|
3677
|
-
|
|
3680
|
+
function s(b) {
|
|
3681
|
+
const I = i.value.length;
|
|
3682
|
+
A.value = (A.value + b + I) % I;
|
|
3678
3683
|
}
|
|
3679
|
-
function
|
|
3680
|
-
|
|
3684
|
+
function o() {
|
|
3685
|
+
s(-1);
|
|
3681
3686
|
}
|
|
3682
3687
|
function c() {
|
|
3683
|
-
|
|
3688
|
+
s(1);
|
|
3684
3689
|
}
|
|
3685
3690
|
function d() {
|
|
3686
|
-
|
|
3691
|
+
A.value = 0;
|
|
3687
3692
|
}
|
|
3688
3693
|
function f() {
|
|
3689
|
-
|
|
3694
|
+
A.value = i.value.length - 1;
|
|
3690
3695
|
}
|
|
3691
|
-
return ce(() => e.modelValue, (
|
|
3692
|
-
|
|
3693
|
-
}), ce(
|
|
3694
|
-
n("update:modelValue",
|
|
3695
|
-
}), t({ activeTab:
|
|
3696
|
-
const m =
|
|
3697
|
-
return u(), k(
|
|
3698
|
-
modelValue:
|
|
3699
|
-
"onUpdate:modelValue": I[0] || (I[0] = (T) =>
|
|
3696
|
+
return ce(() => e.modelValue, (b) => {
|
|
3697
|
+
b !== void 0 && (A.value = b);
|
|
3698
|
+
}), ce(A, (b) => {
|
|
3699
|
+
n("update:modelValue", b);
|
|
3700
|
+
}), t({ activeTab: A }), (b, I) => {
|
|
3701
|
+
const m = ha, C = ba, p = Ia;
|
|
3702
|
+
return u(), k(p, {
|
|
3703
|
+
modelValue: l(A),
|
|
3704
|
+
"onUpdate:modelValue": I[0] || (I[0] = (T) => it(A) ? A.value = T : null),
|
|
3700
3705
|
class: F({ compact: e.compact }),
|
|
3701
3706
|
"tab-list-name": e.ariaLabel ?? "Liste d’onglets",
|
|
3702
3707
|
"tab-titles": []
|
|
3703
3708
|
}, {
|
|
3704
3709
|
"tab-items": R(() => [
|
|
3705
|
-
(u(!0), g(_, null, re(
|
|
3710
|
+
(u(!0), g(_, null, re(l(i), (T, Q) => {
|
|
3706
3711
|
var E;
|
|
3707
3712
|
return u(), k(m, {
|
|
3708
3713
|
key: Q,
|
|
@@ -3710,9 +3715,9 @@ const hi = {
|
|
|
3710
3715
|
"tab-id": `tab-${Q}`,
|
|
3711
3716
|
"panel-id": `panel-${Q}`,
|
|
3712
3717
|
icon: (E = T.props) == null ? void 0 : E.icon,
|
|
3713
|
-
onClick: (L) =>
|
|
3718
|
+
onClick: (L) => A.value = Q,
|
|
3714
3719
|
onNext: c,
|
|
3715
|
-
onPrevious:
|
|
3720
|
+
onPrevious: o,
|
|
3716
3721
|
onFirst: d,
|
|
3717
3722
|
onLast: f
|
|
3718
3723
|
}, {
|
|
@@ -3727,7 +3732,7 @@ const hi = {
|
|
|
3727
3732
|
}), 128))
|
|
3728
3733
|
]),
|
|
3729
3734
|
default: R(() => [
|
|
3730
|
-
(u(!0), g(_, null, re(
|
|
3735
|
+
(u(!0), g(_, null, re(l(i), (T, Q) => (u(), k(C, {
|
|
3731
3736
|
key: Q,
|
|
3732
3737
|
"panel-id": `panel-${Q}`,
|
|
3733
3738
|
"tab-id": `tab-${Q}`
|
|
@@ -3742,16 +3747,16 @@ const hi = {
|
|
|
3742
3747
|
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
3743
3748
|
};
|
|
3744
3749
|
}
|
|
3745
|
-
}),
|
|
3750
|
+
}), Rl = /* @__PURE__ */ W(BA, [["__scopeId", "data-v-dbd71c5f"]]), jA = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20opacity='0.6'%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%23D4D4EC'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.5%2020C30.0228%2020%2034.5%2015.5228%2034.5%2010C34.5%204.47715%2030.0228%200%2024.5%200C18.9772%200%2014.5%204.47715%2014.5%2010C14.5%2015.5228%2018.9772%2020%2024.5%2020Z'%20fill='%23000091'/%3e%3c/svg%3e", PA = "data:image/svg+xml,%3csvg%20width='34'%20height='20'%20viewBox='0%200%2034%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20y='3'%20width='34'%20height='14'%20rx='7'%20fill='%2314171A'%20fill-opacity='0.36'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2020C15.5228%2020%2020%2015.5228%2020%2010C20%204.47715%2015.5228%200%2010%200C4.47715%200%200%204.47715%200%2010C0%2015.5228%204.47715%2020%2010%2020Z'%20fill='%23F6F6F6'/%3e%3cpath%20d='M10%200.5C15.2467%200.5%2019.5%204.75329%2019.5%2010C19.5%2015.2467%2015.2467%2019.5%2010%2019.5C4.75329%2019.5%200.5%2015.2467%200.5%2010C0.5%204.75329%204.75329%200.5%2010%200.5Z'%20stroke='%2314171A'%20stroke-opacity='0.36'/%3e%3c/svg%3e", WA = ["id", "for"], VA = {
|
|
3746
3751
|
width: "34",
|
|
3747
3752
|
height: "14"
|
|
3748
|
-
},
|
|
3753
|
+
}, UA = ["href"], XA = {
|
|
3749
3754
|
key: 0,
|
|
3750
3755
|
class: "caption-bold no-select"
|
|
3751
|
-
},
|
|
3756
|
+
}, HA = {
|
|
3752
3757
|
key: 1,
|
|
3753
3758
|
class: "caption-regular no-select"
|
|
3754
|
-
},
|
|
3759
|
+
}, ZA = { class: "caption-regular" }, qA = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], YA = /* @__PURE__ */ w({
|
|
3755
3760
|
__name: "AvToggle",
|
|
3756
3761
|
props: {
|
|
3757
3762
|
modelValue: { type: Boolean },
|
|
@@ -3764,11 +3769,11 @@ const hi = {
|
|
|
3764
3769
|
},
|
|
3765
3770
|
emits: ["update:modelValue"],
|
|
3766
3771
|
setup(e) {
|
|
3767
|
-
const t = e, a =
|
|
3768
|
-
return (r,
|
|
3772
|
+
const t = e, a = M(() => t.id ?? crypto.randomUUID()), n = M(() => `${a.value}-label`);
|
|
3773
|
+
return (r, A) => (u(), g(_, null, [
|
|
3769
3774
|
y("label", {
|
|
3770
|
-
id:
|
|
3771
|
-
for:
|
|
3775
|
+
id: l(n),
|
|
3776
|
+
for: l(a),
|
|
3772
3777
|
class: F(["av-toggle", {
|
|
3773
3778
|
"av-toggle--disabled": e.disabled
|
|
3774
3779
|
}])
|
|
@@ -3778,35 +3783,35 @@ const hi = {
|
|
|
3778
3783
|
"toggle--disabled": e.disabled
|
|
3779
3784
|
}])
|
|
3780
3785
|
}, [
|
|
3781
|
-
(u(), g("svg",
|
|
3786
|
+
(u(), g("svg", VA, [
|
|
3782
3787
|
y("image", {
|
|
3783
|
-
href: e.modelValue ?
|
|
3788
|
+
href: e.modelValue ? l(jA) : l(PA),
|
|
3784
3789
|
width: "34",
|
|
3785
3790
|
height: "14"
|
|
3786
|
-
}, null, 8,
|
|
3791
|
+
}, null, 8, UA)
|
|
3787
3792
|
])),
|
|
3788
|
-
e.modelValue ? (u(), g("span",
|
|
3793
|
+
e.modelValue ? (u(), g("span", XA, Z(e.activeText), 1)) : (u(), g("span", HA, Z(e.inactiveText), 1))
|
|
3789
3794
|
], 2),
|
|
3790
|
-
y("span",
|
|
3791
|
-
], 10,
|
|
3795
|
+
y("span", ZA, Z(e.description), 1)
|
|
3796
|
+
], 10, WA),
|
|
3792
3797
|
y("input", {
|
|
3793
|
-
id:
|
|
3798
|
+
id: l(a),
|
|
3794
3799
|
style: { visibility: "hidden" },
|
|
3795
3800
|
disabled: e.disabled,
|
|
3796
3801
|
"aria-disabled": e.disabled,
|
|
3797
3802
|
type: "checkbox",
|
|
3798
3803
|
checked: e.modelValue,
|
|
3799
|
-
"data-testid":
|
|
3800
|
-
"aria-describedby":
|
|
3804
|
+
"data-testid": l(a),
|
|
3805
|
+
"aria-describedby": l(n),
|
|
3801
3806
|
name: e.name,
|
|
3802
|
-
onInput:
|
|
3803
|
-
}, null, 40,
|
|
3807
|
+
onInput: A[0] || (A[0] = (i) => r.$emit("update:modelValue", i.target.checked))
|
|
3808
|
+
}, null, 40, qA)
|
|
3804
3809
|
], 64));
|
|
3805
3810
|
}
|
|
3806
|
-
}),
|
|
3811
|
+
}), Fl = /* @__PURE__ */ W(YA, [["__scopeId", "data-v-0aabed11"]]), RA = {
|
|
3807
3812
|
style: { position: "relative" },
|
|
3808
3813
|
class: "my-nav-wrapper"
|
|
3809
|
-
},
|
|
3814
|
+
}, FA = /* @__PURE__ */ w({
|
|
3810
3815
|
__name: "AvNavigation",
|
|
3811
3816
|
props: {
|
|
3812
3817
|
navItems: {}
|
|
@@ -3815,18 +3820,18 @@ const hi = {
|
|
|
3815
3820
|
const t = e;
|
|
3816
3821
|
return (a, n) => {
|
|
3817
3822
|
const r = Ca;
|
|
3818
|
-
return u(), g("div",
|
|
3823
|
+
return u(), g("div", RA, [
|
|
3819
3824
|
P(r, Da(La(t)), null, 16)
|
|
3820
3825
|
]);
|
|
3821
3826
|
};
|
|
3822
3827
|
}
|
|
3823
|
-
}),
|
|
3828
|
+
}), Kl = /* @__PURE__ */ W(FA, [["__scopeId", "data-v-433349ab"]]), KA = ["aria-label"], GA = { class: "fr-pagination__list" }, JA = { key: 0 }, _A = { class: "b2-regular" }, $A = ["href", "title", "aria-disabled"], eo = { class: "fr-sr-only" }, to = ["href", "title", "aria-disabled"], ao = {
|
|
3824
3829
|
key: 0,
|
|
3825
3830
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3826
|
-
},
|
|
3831
|
+
}, no = ["href", "title", "aria-current", "onClick"], ro = { key: 0 }, io = { key: 1 }, Ao = ["href", "title", "disabled", "aria-disabled"], oo = {
|
|
3827
3832
|
key: 0,
|
|
3828
3833
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
3829
|
-
},
|
|
3834
|
+
}, lo = ["href", "title", "disabled", "aria-disabled"], so = { class: "fr-sr-only" }, co = /* @__PURE__ */ w({
|
|
3830
3835
|
__name: "AvPagination",
|
|
3831
3836
|
props: {
|
|
3832
3837
|
compact: { type: Boolean, default: !1 },
|
|
@@ -3842,17 +3847,17 @@ const hi = {
|
|
|
3842
3847
|
},
|
|
3843
3848
|
emits: ["update:current-page"],
|
|
3844
3849
|
setup(e, { emit: t }) {
|
|
3845
|
-
const a = t, n =
|
|
3850
|
+
const a = t, n = M(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), r = M(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), A = M(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, r.value + 1) : e.pages), i = (I) => a("update:current-page", I), s = (I) => i(I), o = () => s(0), c = () => s(Math.max(0, e.currentPage - 1)), d = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => s(e.pages.length - 1), b = (I) => e.pages.indexOf(I) === e.currentPage;
|
|
3846
3851
|
return (I, m) => {
|
|
3847
|
-
var C,
|
|
3852
|
+
var C, p, T, Q;
|
|
3848
3853
|
return u(), g("nav", {
|
|
3849
3854
|
role: "navigation",
|
|
3850
3855
|
class: "fr-pagination",
|
|
3851
3856
|
"aria-label": e.ariaLabel
|
|
3852
3857
|
}, [
|
|
3853
|
-
y("ul",
|
|
3854
|
-
e.compact && e.compactCurrentPageLabel ? (u(), g("li",
|
|
3855
|
-
y("span",
|
|
3858
|
+
y("ul", GA, [
|
|
3859
|
+
e.compact && e.compactCurrentPageLabel ? (u(), g("li", JA, [
|
|
3860
|
+
y("span", _A, Z(e.compactCurrentPageLabel), 1)
|
|
3856
3861
|
])) : D("", !0),
|
|
3857
3862
|
y("li", null, [
|
|
3858
3863
|
e.compact ? D("", !0) : (u(), g("a", {
|
|
@@ -3861,44 +3866,44 @@ const hi = {
|
|
|
3861
3866
|
class: "fr-pagination__link",
|
|
3862
3867
|
title: e.firstPageLabel,
|
|
3863
3868
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
3864
|
-
onClick: m[0] || (m[0] = se((E) =>
|
|
3869
|
+
onClick: m[0] || (m[0] = se((E) => o(), ["prevent"]))
|
|
3865
3870
|
}, [
|
|
3866
3871
|
P(ne, {
|
|
3867
|
-
name:
|
|
3872
|
+
name: l(Y).PAGE_FIRST,
|
|
3868
3873
|
size: 1.5,
|
|
3869
3874
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3870
3875
|
}, null, 8, ["name", "color"]),
|
|
3871
|
-
y("span",
|
|
3872
|
-
], 8,
|
|
3876
|
+
y("span", eo, Z(e.firstPageLabel), 1)
|
|
3877
|
+
], 8, $A))
|
|
3873
3878
|
]),
|
|
3874
3879
|
y("li", null, [
|
|
3875
3880
|
y("a", {
|
|
3876
|
-
href: (
|
|
3881
|
+
href: (p = e.pages[Math.max(e.currentPage - 1, 0)]) == null ? void 0 : p.href,
|
|
3877
3882
|
class: "fr-pagination__link fr-pagination__link--lg-label",
|
|
3878
3883
|
title: e.prevPageLabel,
|
|
3879
3884
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
3880
3885
|
onClick: m[1] || (m[1] = se((E) => c(), ["prevent"]))
|
|
3881
3886
|
}, [
|
|
3882
3887
|
P(ne, {
|
|
3883
|
-
name:
|
|
3888
|
+
name: l(Y).NAVIGATE_BEFORE,
|
|
3884
3889
|
size: 1.5,
|
|
3885
3890
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3886
3891
|
}, null, 8, ["name", "color"]),
|
|
3887
|
-
e.compact ? D("", !0) : (u(), g("span",
|
|
3888
|
-
], 8,
|
|
3892
|
+
e.compact ? D("", !0) : (u(), g("span", ao, Z(e.prevPageLabel), 1))
|
|
3893
|
+
], 8, to)
|
|
3889
3894
|
]),
|
|
3890
|
-
e.compact ? D("", !0) : (u(!0), g(_, { key: 1 }, re(
|
|
3895
|
+
e.compact ? D("", !0) : (u(!0), g(_, { key: 1 }, re(l(A), (E, L) => (u(), g("li", { key: L }, [
|
|
3891
3896
|
y("a", {
|
|
3892
3897
|
href: E == null ? void 0 : E.href,
|
|
3893
3898
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
3894
3899
|
title: E.title,
|
|
3895
|
-
"aria-current":
|
|
3896
|
-
onClick: se((
|
|
3900
|
+
"aria-current": b(E) ? "page" : void 0,
|
|
3901
|
+
onClick: se((B) => s(e.pages.indexOf(E)), ["prevent"])
|
|
3897
3902
|
}, [
|
|
3898
|
-
|
|
3903
|
+
l(A).indexOf(E) === 0 && l(n) > 0 ? (u(), g("span", ro, "...")) : D("", !0),
|
|
3899
3904
|
rt(" " + Z(E.label) + " ", 1),
|
|
3900
|
-
|
|
3901
|
-
], 8,
|
|
3905
|
+
l(A).indexOf(E) === l(A).length - 1 && l(r) < e.pages.length - 1 ? (u(), g("span", io, "...")) : D("", !0)
|
|
3906
|
+
], 8, no)
|
|
3902
3907
|
]))), 128)),
|
|
3903
3908
|
y("li", null, [
|
|
3904
3909
|
y("a", {
|
|
@@ -3909,9 +3914,9 @@ const hi = {
|
|
|
3909
3914
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3910
3915
|
onClick: m[2] || (m[2] = se((E) => d(), ["prevent"]))
|
|
3911
3916
|
}, [
|
|
3912
|
-
e.compact ? D("", !0) : (u(), g("span",
|
|
3917
|
+
e.compact ? D("", !0) : (u(), g("span", oo, Z(e.nextPageLabel), 1)),
|
|
3913
3918
|
P(ne, {
|
|
3914
|
-
name:
|
|
3919
|
+
name: l(Y).NAVIGATE_NEXT,
|
|
3915
3920
|
size: 1.5,
|
|
3916
3921
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3917
3922
|
}, null, 8, ["name", "color"])
|
|
@@ -3927,20 +3932,20 @@ const hi = {
|
|
|
3927
3932
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
3928
3933
|
onClick: m[3] || (m[3] = se((E) => f(), ["prevent"]))
|
|
3929
3934
|
}, [
|
|
3930
|
-
y("span",
|
|
3935
|
+
y("span", so, Z(e.lastPageLabel), 1),
|
|
3931
3936
|
P(ne, {
|
|
3932
|
-
name:
|
|
3937
|
+
name: l(Y).PAGE_LAST,
|
|
3933
3938
|
size: 1.5,
|
|
3934
3939
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
3935
3940
|
}, null, 8, ["name", "color"])
|
|
3936
|
-
], 8,
|
|
3941
|
+
], 8, lo))
|
|
3937
3942
|
])
|
|
3938
3943
|
])
|
|
3939
|
-
], 8,
|
|
3944
|
+
], 8, KA);
|
|
3940
3945
|
};
|
|
3941
3946
|
}
|
|
3942
|
-
}),
|
|
3943
|
-
function
|
|
3947
|
+
}), Gl = /* @__PURE__ */ W(co, [["__scopeId", "data-v-ccfe7c3a"]]);
|
|
3948
|
+
function Jl(e) {
|
|
3944
3949
|
return Array.from({ length: e.value }, (t, a) => {
|
|
3945
3950
|
const n = a + 1;
|
|
3946
3951
|
return {
|
|
@@ -3950,10 +3955,10 @@ function Gl(e) {
|
|
|
3950
3955
|
};
|
|
3951
3956
|
});
|
|
3952
3957
|
}
|
|
3953
|
-
const
|
|
3958
|
+
const uo = ["id", "aria-label"], fo = {
|
|
3954
3959
|
key: 0,
|
|
3955
3960
|
class: "av-side-menu__header"
|
|
3956
|
-
},
|
|
3961
|
+
}, vo = { class: "av-side-menu__content" }, mo = /* @__PURE__ */ w({
|
|
3957
3962
|
__name: "AvSideMenu",
|
|
3958
3963
|
props: /* @__PURE__ */ ve({
|
|
3959
3964
|
id: {},
|
|
@@ -3969,40 +3974,40 @@ const co = ["id", "aria-label"], uo = {
|
|
|
3969
3974
|
emits: /* @__PURE__ */ ve(["update:collapsed"], ["update:collapsed"]),
|
|
3970
3975
|
setup(e) {
|
|
3971
3976
|
te((d) => ({
|
|
3972
|
-
v4d5b7c17: o
|
|
3977
|
+
v4d5b7c17: l(o),
|
|
3973
3978
|
v4a813d87: d.padding
|
|
3974
3979
|
}));
|
|
3975
|
-
const t = e, a =
|
|
3980
|
+
const t = e, a = xe(e, "collapsed"), { width: n, collapsedWidth: r } = At(t), A = M(() => t.id ?? crypto.randomUUID()), i = M(() => `${A.value} navigation`), s = M({
|
|
3976
3981
|
get: () => t.collapsible ? a.value : !1,
|
|
3977
3982
|
set: (d) => {
|
|
3978
3983
|
t.collapsible && (a.value = d);
|
|
3979
3984
|
}
|
|
3980
|
-
}),
|
|
3985
|
+
}), o = M(() => t.collapsible && s.value ? r.value : n.value);
|
|
3981
3986
|
function c() {
|
|
3982
|
-
t.collapsible && (
|
|
3987
|
+
t.collapsible && (s.value = !s.value);
|
|
3983
3988
|
}
|
|
3984
3989
|
return (d, f) => (u(), g("nav", {
|
|
3985
|
-
id:
|
|
3986
|
-
class: F(["av-side-menu", { "av-side-menu--collapsed":
|
|
3987
|
-
"aria-label":
|
|
3990
|
+
id: l(A),
|
|
3991
|
+
class: F(["av-side-menu", { "av-side-menu--collapsed": l(s) }]),
|
|
3992
|
+
"aria-label": l(i)
|
|
3988
3993
|
}, [
|
|
3989
|
-
t.collapsible ? (u(), g("div",
|
|
3994
|
+
t.collapsible ? (u(), g("div", fo, [
|
|
3990
3995
|
P(me, {
|
|
3991
|
-
"aria-expanded": !
|
|
3992
|
-
"aria-controls":
|
|
3993
|
-
icon:
|
|
3996
|
+
"aria-expanded": !l(s),
|
|
3997
|
+
"aria-controls": l(A),
|
|
3998
|
+
icon: l(s) ? l(Y).CHEVRON_DOUBLE_RIGHT : l(Y).CHEVRON_DOUBLE_LEFT,
|
|
3994
3999
|
class: "av-side-menu__collapse-button",
|
|
3995
|
-
label:
|
|
4000
|
+
label: l(s) ? `${l(A)}-expand-button` : `${l(A)}-collapse-button`,
|
|
3996
4001
|
"icon-only": "",
|
|
3997
4002
|
onClick: c
|
|
3998
4003
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
3999
4004
|
])) : D("", !0),
|
|
4000
|
-
y("div",
|
|
4001
|
-
|
|
4005
|
+
y("div", vo, [
|
|
4006
|
+
j(d.$slots, "default", {}, void 0, !0)
|
|
4002
4007
|
])
|
|
4003
|
-
], 10,
|
|
4008
|
+
], 10, uo));
|
|
4004
4009
|
}
|
|
4005
|
-
}),
|
|
4010
|
+
}), go = /* @__PURE__ */ W(mo, [["__scopeId", "data-v-23242ccc"]]), _l = {
|
|
4006
4011
|
name: "AvSideNavigation",
|
|
4007
4012
|
props: {
|
|
4008
4013
|
items: Array,
|
|
@@ -4012,7 +4017,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4012
4017
|
},
|
|
4013
4018
|
emits: ["update:selectedItem", "update:isSideMenuCollapsed"],
|
|
4014
4019
|
template: `<div class="av-side-navigation-stub" @click="$emit('update:isSideMenuCollapsed', !isSideMenuCollapsed)" />`
|
|
4015
|
-
},
|
|
4020
|
+
}, Io = /* @__PURE__ */ w({
|
|
4016
4021
|
__name: "AvSideNavigation",
|
|
4017
4022
|
props: /* @__PURE__ */ ve({
|
|
4018
4023
|
items: {},
|
|
@@ -4030,28 +4035,28 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4030
4035
|
}),
|
|
4031
4036
|
emits: /* @__PURE__ */ ve(["update:selectedItem", "update:isSideMenuCollapsed"], ["update:selectedItem", "update:isSideMenuCollapsed"]),
|
|
4032
4037
|
setup(e) {
|
|
4033
|
-
const t =
|
|
4038
|
+
const t = xe(e, "selectedItem"), a = xe(e, "isSideMenuCollapsed");
|
|
4034
4039
|
function n(r) {
|
|
4035
4040
|
t.value = r;
|
|
4036
4041
|
}
|
|
4037
|
-
return (r,
|
|
4042
|
+
return (r, A) => (u(), k(go, {
|
|
4038
4043
|
collapsed: a.value,
|
|
4039
|
-
"onUpdate:collapsed":
|
|
4044
|
+
"onUpdate:collapsed": A[0] || (A[0] = (i) => a.value = i),
|
|
4040
4045
|
"collapsed-width": e.collapsedWidth,
|
|
4041
4046
|
color: e.selectedItemColor
|
|
4042
4047
|
}, {
|
|
4043
4048
|
default: R(() => [
|
|
4044
|
-
P(
|
|
4049
|
+
P(l(Vt), {
|
|
4045
4050
|
size: "small",
|
|
4046
4051
|
role: "menu"
|
|
4047
4052
|
}, {
|
|
4048
4053
|
default: R(() => [
|
|
4049
|
-
(u(!0), g(_, null, re(e.items, (
|
|
4050
|
-
key:
|
|
4051
|
-
title: a.value ? void 0 :
|
|
4052
|
-
icon:
|
|
4054
|
+
(u(!0), g(_, null, re(e.items, (i) => (u(), k(l(Ut), {
|
|
4055
|
+
key: i.id,
|
|
4056
|
+
title: a.value ? void 0 : i.label,
|
|
4057
|
+
icon: i.icon,
|
|
4053
4058
|
"icon-size": 1.8,
|
|
4054
|
-
selected: t.value ===
|
|
4059
|
+
selected: t.value === i.id,
|
|
4055
4060
|
"hover-background-color": e.selectedItemColor,
|
|
4056
4061
|
tag: "button",
|
|
4057
4062
|
role: "menuitem",
|
|
@@ -4059,7 +4064,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4059
4064
|
"av-side-navigation__menu-item--collapsed": a.value
|
|
4060
4065
|
}]),
|
|
4061
4066
|
clickable: "",
|
|
4062
|
-
onClick: (
|
|
4067
|
+
onClick: (s) => n(i.id)
|
|
4063
4068
|
}, null, 8, ["title", "icon", "selected", "hover-background-color", "class", "onClick"]))), 128))
|
|
4064
4069
|
]),
|
|
4065
4070
|
_: 1
|
|
@@ -4068,7 +4073,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4068
4073
|
_: 1
|
|
4069
4074
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
4070
4075
|
}
|
|
4071
|
-
}),
|
|
4076
|
+
}), $l = /* @__PURE__ */ W(Io, [["__scopeId", "data-v-3c5a1abd"]]), es = {
|
|
4072
4077
|
name: "AvStepper",
|
|
4073
4078
|
props: {
|
|
4074
4079
|
steps: {
|
|
@@ -4092,7 +4097,7 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4092
4097
|
</div>
|
|
4093
4098
|
</div>
|
|
4094
4099
|
`
|
|
4095
|
-
},
|
|
4100
|
+
}, bo = { class: "custom-width-container" }, ho = { class: "block-container" }, Co = { class: "main-container" }, yo = ["aria-current"], Eo = ["aria-current"], Mo = { class: "b1-regular" }, po = { class: "main-labels-container" }, No = /* @__PURE__ */ w({
|
|
4096
4101
|
__name: "AvStepper",
|
|
4097
4102
|
props: {
|
|
4098
4103
|
steps: {},
|
|
@@ -4100,62 +4105,62 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4100
4105
|
width: { default: "100%" }
|
|
4101
4106
|
},
|
|
4102
4107
|
setup(e) {
|
|
4103
|
-
te((
|
|
4104
|
-
v06d1bdf1:
|
|
4108
|
+
te((A) => ({
|
|
4109
|
+
v06d1bdf1: l(r)
|
|
4105
4110
|
}));
|
|
4106
|
-
const t = e, { steps: a, currentStep: n, width: r } =
|
|
4107
|
-
return (
|
|
4111
|
+
const t = e, { steps: a, currentStep: n, width: r } = At(t);
|
|
4112
|
+
return (A, i) => (u(), g("div", bo, [
|
|
4108
4113
|
y("div", ho, [
|
|
4109
|
-
y("div",
|
|
4114
|
+
y("div", Co, [
|
|
4110
4115
|
y("div", {
|
|
4111
4116
|
class: "step step--active",
|
|
4112
|
-
"aria-current":
|
|
4113
|
-
}, [...
|
|
4117
|
+
"aria-current": l(n) === 0 ? "step" : void 0
|
|
4118
|
+
}, [...i[0] || (i[0] = [
|
|
4114
4119
|
y("span", { class: "b1-regular" }, "1", -1)
|
|
4115
|
-
])], 8,
|
|
4116
|
-
(u(!0), g(_, null, re(
|
|
4117
|
-
key:
|
|
4120
|
+
])], 8, yo),
|
|
4121
|
+
(u(!0), g(_, null, re(l(a).slice(1, l(a).length), (s, o) => (u(), g("div", {
|
|
4122
|
+
key: o,
|
|
4118
4123
|
class: "steps-container"
|
|
4119
4124
|
}, [
|
|
4120
4125
|
y("div", {
|
|
4121
|
-
class: F(["separator", { "separator--active":
|
|
4126
|
+
class: F(["separator", { "separator--active": o + 1 <= l(n) }])
|
|
4122
4127
|
}, null, 2),
|
|
4123
4128
|
y("div", {
|
|
4124
|
-
class: F(["step", { "step--active":
|
|
4125
|
-
"aria-current":
|
|
4129
|
+
class: F(["step", { "step--active": o + 1 <= l(n) }]),
|
|
4130
|
+
"aria-current": o + 1 === l(n) ? "step" : void 0
|
|
4126
4131
|
}, [
|
|
4127
|
-
y("span",
|
|
4128
|
-
], 10,
|
|
4132
|
+
y("span", Mo, Z(o + 2), 1)
|
|
4133
|
+
], 10, Eo)
|
|
4129
4134
|
]))), 128))
|
|
4130
4135
|
]),
|
|
4131
|
-
y("div",
|
|
4132
|
-
(u(!0), g(_, null, re(
|
|
4133
|
-
key:
|
|
4136
|
+
y("div", po, [
|
|
4137
|
+
(u(!0), g(_, null, re(l(a), (s, o) => (u(), g("div", {
|
|
4138
|
+
key: o,
|
|
4134
4139
|
class: "label-container"
|
|
4135
4140
|
}, [
|
|
4136
4141
|
y("span", {
|
|
4137
4142
|
class: F(["label", {
|
|
4138
|
-
"b1-bold":
|
|
4139
|
-
"b1-light":
|
|
4143
|
+
"b1-bold": o <= l(n),
|
|
4144
|
+
"b1-light": o > l(n)
|
|
4140
4145
|
}])
|
|
4141
|
-
}, Z(
|
|
4146
|
+
}, Z(s), 3)
|
|
4142
4147
|
]))), 128))
|
|
4143
4148
|
])
|
|
4144
4149
|
])
|
|
4145
4150
|
]));
|
|
4146
4151
|
}
|
|
4147
|
-
}),
|
|
4152
|
+
}), ts = /* @__PURE__ */ W(No, [["__scopeId", "data-v-26a5b40e"]]), as = {
|
|
4148
4153
|
name: "AvDrawer",
|
|
4149
4154
|
props: ["show", "position", "width"],
|
|
4150
4155
|
emits: ["escape-pressed"],
|
|
4151
4156
|
template: '<div class="av-drawer-stub"><slot /><slot name="footer" /></div>'
|
|
4152
|
-
},
|
|
4157
|
+
}, To = { key: 0 }, Qo = {
|
|
4153
4158
|
key: 0,
|
|
4154
4159
|
class: "av-drawer-backdrop"
|
|
4155
|
-
},
|
|
4160
|
+
}, Do = ["aria-label"], Lo = { class: "av-drawer__content-wrapper" }, wo = { class: "av-drawer__content" }, Oo = {
|
|
4156
4161
|
key: 0,
|
|
4157
4162
|
class: "footer-container"
|
|
4158
|
-
},
|
|
4163
|
+
}, So = /* @__PURE__ */ w({
|
|
4159
4164
|
__name: "AvDrawer",
|
|
4160
4165
|
props: {
|
|
4161
4166
|
show: { type: Boolean },
|
|
@@ -4167,35 +4172,35 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4167
4172
|
},
|
|
4168
4173
|
emits: ["escapePressed"],
|
|
4169
4174
|
setup(e, { emit: t }) {
|
|
4170
|
-
te((
|
|
4171
|
-
b9426bca:
|
|
4172
|
-
v7249d1b4:
|
|
4175
|
+
te((o) => ({
|
|
4176
|
+
b9426bca: l(i),
|
|
4177
|
+
v7249d1b4: l(s)
|
|
4173
4178
|
}));
|
|
4174
|
-
const a = e, n = t, r =
|
|
4175
|
-
return (
|
|
4176
|
-
e.backdrop ? (u(), g("div",
|
|
4179
|
+
const a = e, n = t, r = Ae(), { position: A, width: i, padding: s } = At(a);
|
|
4180
|
+
return (o, c) => e.show ? (u(), g("div", To, [
|
|
4181
|
+
e.backdrop ? (u(), g("div", Qo)) : D("", !0),
|
|
4177
4182
|
y("div", {
|
|
4178
|
-
class: F(["av-drawer", `av-drawer--${
|
|
4183
|
+
class: F(["av-drawer", `av-drawer--${l(A)}`]),
|
|
4179
4184
|
role: "dialog",
|
|
4180
4185
|
"aria-modal": "true",
|
|
4181
4186
|
"aria-label": e.ariaLabel,
|
|
4182
4187
|
onKeydown: c[0] || (c[0] = ot((d) => n("escapePressed"), ["esc"]))
|
|
4183
4188
|
}, [
|
|
4184
|
-
y("div",
|
|
4185
|
-
y("div",
|
|
4186
|
-
|
|
4189
|
+
y("div", Lo, [
|
|
4190
|
+
y("div", wo, [
|
|
4191
|
+
j(o.$slots, "default", {}, void 0, !0)
|
|
4187
4192
|
]),
|
|
4188
4193
|
r.footer ? (u(), g("div", Oo, [
|
|
4189
|
-
|
|
4194
|
+
j(o.$slots, "footer", {}, void 0, !0)
|
|
4190
4195
|
])) : D("", !0)
|
|
4191
4196
|
])
|
|
4192
|
-
], 42,
|
|
4197
|
+
], 42, Do)
|
|
4193
4198
|
])) : D("", !0);
|
|
4194
4199
|
}
|
|
4195
|
-
}),
|
|
4200
|
+
}), ns = /* @__PURE__ */ W(So, [["__scopeId", "data-v-4b1b7481"]]), ko = {
|
|
4196
4201
|
key: 0,
|
|
4197
4202
|
class: "header"
|
|
4198
|
-
},
|
|
4203
|
+
}, zo = { class: "footer" }, xo = /* @__PURE__ */ w({
|
|
4199
4204
|
__name: "AvModal",
|
|
4200
4205
|
props: {
|
|
4201
4206
|
modalId: {},
|
|
@@ -4205,38 +4210,44 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4205
4210
|
icon: {},
|
|
4206
4211
|
size: {},
|
|
4207
4212
|
closeButtonLabel: {},
|
|
4213
|
+
closeButtonIcon: {},
|
|
4214
|
+
closeButtonDisabled: { type: Boolean },
|
|
4208
4215
|
confirmButtonLabel: {},
|
|
4209
4216
|
confirmButtonIcon: {},
|
|
4217
|
+
confirmButtonDisabled: { type: Boolean },
|
|
4210
4218
|
isLoading: { type: Boolean }
|
|
4211
4219
|
},
|
|
4212
4220
|
emits: ["close", "confirm"],
|
|
4213
4221
|
setup(e, { emit: t }) {
|
|
4214
|
-
const a =
|
|
4215
|
-
return (
|
|
4216
|
-
const
|
|
4222
|
+
const a = Ot(e, ["isLoading"]), n = t, r = Ae(), A = M(() => a.closeButtonIcon ?? Y.CLOSE_CIRCLE_OUTLINE), i = M(() => a.confirmButtonIcon ?? Y.CHECK_CIRCLE_OUTLINE);
|
|
4223
|
+
return (s, o) => {
|
|
4224
|
+
const c = Wn, d = ya;
|
|
4217
4225
|
return u(), k(zt, { to: "body" }, [
|
|
4218
|
-
P(
|
|
4226
|
+
P(d, ee(a, {
|
|
4219
4227
|
title: "",
|
|
4220
|
-
onKeydown:
|
|
4228
|
+
onKeydown: o[2] || (o[2] = ot((f) => n("close"), ["esc"]))
|
|
4221
4229
|
}), {
|
|
4222
4230
|
default: R(() => [
|
|
4223
|
-
r.header ? (u(), g("div",
|
|
4224
|
-
|
|
4231
|
+
r.header ? (u(), g("div", ko, [
|
|
4232
|
+
j(s.$slots, "header", {}, void 0, !0)
|
|
4225
4233
|
])) : D("", !0),
|
|
4226
|
-
|
|
4234
|
+
j(s.$slots, "default", {}, void 0, !0)
|
|
4227
4235
|
]),
|
|
4228
4236
|
footer: R(() => [
|
|
4229
|
-
y("div",
|
|
4230
|
-
P(
|
|
4237
|
+
y("div", zo, [
|
|
4238
|
+
P(c, {
|
|
4231
4239
|
"cancel-label": a.closeButtonLabel,
|
|
4232
|
-
"cancel-icon":
|
|
4240
|
+
"cancel-icon": l(A),
|
|
4241
|
+
"cancel-disabled": a.closeButtonDisabled,
|
|
4242
|
+
"cancel-is-loading": e.isLoading,
|
|
4233
4243
|
"confirm-label": a.confirmButtonLabel,
|
|
4234
|
-
"confirm-icon":
|
|
4235
|
-
"
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4244
|
+
"confirm-icon": l(i),
|
|
4245
|
+
"confirm-disabled": a.confirmButtonDisabled,
|
|
4246
|
+
"confirm-is-loading": e.isLoading,
|
|
4247
|
+
onCancel: o[0] || (o[0] = () => n("close")),
|
|
4248
|
+
onConfirm: o[1] || (o[1] = () => n("confirm"))
|
|
4249
|
+
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
4250
|
+
j(s.$slots, "footer", {}, void 0, !0)
|
|
4240
4251
|
])
|
|
4241
4252
|
]),
|
|
4242
4253
|
_: 3
|
|
@@ -4244,35 +4255,41 @@ const co = ["id", "aria-label"], uo = {
|
|
|
4244
4255
|
]);
|
|
4245
4256
|
};
|
|
4246
4257
|
}
|
|
4247
|
-
}),
|
|
4248
|
-
function
|
|
4258
|
+
}), rs = /* @__PURE__ */ W(xo, [["__scopeId", "data-v-aef6262c"]]);
|
|
4259
|
+
function Bo(e, t) {
|
|
4249
4260
|
const a = J(!1), n = J({ top: 0, left: 0 }), r = async () => {
|
|
4250
4261
|
if (a.value = !a.value, a.value && e.value) {
|
|
4251
4262
|
await Re();
|
|
4252
|
-
const
|
|
4253
|
-
let c =
|
|
4263
|
+
const s = e.value.getBoundingClientRect(), o = s.bottom + window.scrollY + 4;
|
|
4264
|
+
let c = s.left + window.scrollX;
|
|
4254
4265
|
if (t.value) {
|
|
4255
4266
|
const d = t.value.getBoundingClientRect(), f = window.innerWidth;
|
|
4256
4267
|
c + d.width > f && (c = f - d.width - 16, c < 0 && (c = 16));
|
|
4257
4268
|
}
|
|
4258
|
-
n.value = { top:
|
|
4269
|
+
n.value = { top: o / 16, left: c / 16 };
|
|
4259
4270
|
}
|
|
4260
|
-
},
|
|
4271
|
+
}, A = () => {
|
|
4261
4272
|
a.value = !1;
|
|
4262
|
-
},
|
|
4263
|
-
e.value && !e.value.contains(
|
|
4273
|
+
}, i = (s) => {
|
|
4274
|
+
e.value && !e.value.contains(s.target) && A();
|
|
4264
4275
|
};
|
|
4265
|
-
return
|
|
4266
|
-
document.addEventListener("click",
|
|
4267
|
-
}),
|
|
4268
|
-
document.removeEventListener("click",
|
|
4276
|
+
return Ne(() => {
|
|
4277
|
+
document.addEventListener("click", i);
|
|
4278
|
+
}), Te(() => {
|
|
4279
|
+
document.removeEventListener("click", i);
|
|
4269
4280
|
}), {
|
|
4270
4281
|
showPopover: a,
|
|
4271
4282
|
popoverPosition: n,
|
|
4272
4283
|
togglePopover: r,
|
|
4273
|
-
closePopover:
|
|
4284
|
+
closePopover: A
|
|
4274
4285
|
};
|
|
4275
4286
|
}
|
|
4287
|
+
function is() {
|
|
4288
|
+
const e = J(window.innerWidth), t = () => {
|
|
4289
|
+
e.value = window.innerWidth;
|
|
4290
|
+
};
|
|
4291
|
+
return Ne(() => window.addEventListener("resize", t)), Te(() => window.removeEventListener("resize", t)), { respondBelow: (r) => M(() => e.value <= r - 1), respondTo: (r) => M(() => e.value >= r) };
|
|
4292
|
+
}
|
|
4276
4293
|
/*!
|
|
4277
4294
|
* tabbable 6.2.0
|
|
4278
4295
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -4286,8 +4303,8 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4286
4303
|
}, qe = function e(t, a) {
|
|
4287
4304
|
var n;
|
|
4288
4305
|
a === void 0 && (a = !0);
|
|
4289
|
-
var r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"),
|
|
4290
|
-
return
|
|
4306
|
+
var r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), A = r === "" || r === "true", i = A || a && t && e(t.parentNode);
|
|
4307
|
+
return i;
|
|
4291
4308
|
}, jo = function(t) {
|
|
4292
4309
|
var a, n = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "contenteditable");
|
|
4293
4310
|
return n === "" || n === "true";
|
|
@@ -4297,113 +4314,113 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4297
4314
|
var r = Array.prototype.slice.apply(t.querySelectorAll(He));
|
|
4298
4315
|
return a && Ce.call(t, He) && r.unshift(t), r = r.filter(n), r;
|
|
4299
4316
|
}, _t = function e(t, a, n) {
|
|
4300
|
-
for (var r = [],
|
|
4301
|
-
var
|
|
4302
|
-
if (!qe(
|
|
4303
|
-
if (
|
|
4304
|
-
var
|
|
4317
|
+
for (var r = [], A = Array.from(t); A.length; ) {
|
|
4318
|
+
var i = A.shift();
|
|
4319
|
+
if (!qe(i, !1))
|
|
4320
|
+
if (i.tagName === "SLOT") {
|
|
4321
|
+
var s = i.assignedElements(), o = s.length ? s : i.children, c = e(o, !0, n);
|
|
4305
4322
|
n.flatten ? r.push.apply(r, c) : r.push({
|
|
4306
|
-
scopeParent:
|
|
4323
|
+
scopeParent: i,
|
|
4307
4324
|
candidates: c
|
|
4308
4325
|
});
|
|
4309
4326
|
} else {
|
|
4310
|
-
var d = Ce.call(
|
|
4311
|
-
d && n.filter(
|
|
4312
|
-
var f =
|
|
4313
|
-
typeof n.getShadowRoot == "function" && n.getShadowRoot(
|
|
4314
|
-
if (f &&
|
|
4315
|
-
var I = e(f === !0 ?
|
|
4327
|
+
var d = Ce.call(i, He);
|
|
4328
|
+
d && n.filter(i) && (a || !t.includes(i)) && r.push(i);
|
|
4329
|
+
var f = i.shadowRoot || // check for an undisclosed shadow
|
|
4330
|
+
typeof n.getShadowRoot == "function" && n.getShadowRoot(i), b = !qe(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
|
|
4331
|
+
if (f && b) {
|
|
4332
|
+
var I = e(f === !0 ? i.children : f.children, !0, n);
|
|
4316
4333
|
n.flatten ? r.push.apply(r, I) : r.push({
|
|
4317
|
-
scopeParent:
|
|
4334
|
+
scopeParent: i,
|
|
4318
4335
|
candidates: I
|
|
4319
4336
|
});
|
|
4320
4337
|
} else
|
|
4321
|
-
|
|
4338
|
+
A.unshift.apply(A, i.children);
|
|
4322
4339
|
}
|
|
4323
4340
|
}
|
|
4324
4341
|
return r;
|
|
4325
4342
|
}, $t = function(t) {
|
|
4326
4343
|
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
4327
|
-
},
|
|
4344
|
+
}, he = function(t) {
|
|
4328
4345
|
if (!t)
|
|
4329
4346
|
throw new Error("No node provided");
|
|
4330
4347
|
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);
|
|
4333
|
-
return n < 0 && a && !$t(t) ? 0 : n;
|
|
4334
4348
|
}, Po = function(t, a) {
|
|
4349
|
+
var n = he(t);
|
|
4350
|
+
return n < 0 && a && !$t(t) ? 0 : n;
|
|
4351
|
+
}, Wo = function(t, a) {
|
|
4335
4352
|
return t.tabIndex === a.tabIndex ? t.documentOrder - a.documentOrder : t.tabIndex - a.tabIndex;
|
|
4336
4353
|
}, ea = function(t) {
|
|
4337
4354
|
return t.tagName === "INPUT";
|
|
4338
|
-
}, Wo = function(t) {
|
|
4339
|
-
return ea(t) && t.type === "hidden";
|
|
4340
4355
|
}, Vo = function(t) {
|
|
4356
|
+
return ea(t) && t.type === "hidden";
|
|
4357
|
+
}, Uo = function(t) {
|
|
4341
4358
|
var a = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
4342
4359
|
return n.tagName === "SUMMARY";
|
|
4343
4360
|
});
|
|
4344
4361
|
return a;
|
|
4345
|
-
},
|
|
4362
|
+
}, Xo = function(t, a) {
|
|
4346
4363
|
for (var n = 0; n < t.length; n++)
|
|
4347
4364
|
if (t[n].checked && t[n].form === a)
|
|
4348
4365
|
return t[n];
|
|
4349
|
-
},
|
|
4366
|
+
}, Ho = function(t) {
|
|
4350
4367
|
if (!t.name)
|
|
4351
4368
|
return !0;
|
|
4352
|
-
var a = t.form || Ze(t), n = function(
|
|
4353
|
-
return a.querySelectorAll('input[type="radio"][name="' +
|
|
4369
|
+
var a = t.form || Ze(t), n = function(s) {
|
|
4370
|
+
return a.querySelectorAll('input[type="radio"][name="' + s + '"]');
|
|
4354
4371
|
}, r;
|
|
4355
4372
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
4356
4373
|
r = n(window.CSS.escape(t.name));
|
|
4357
4374
|
else
|
|
4358
4375
|
try {
|
|
4359
4376
|
r = n(t.name);
|
|
4360
|
-
} catch (
|
|
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",
|
|
4377
|
+
} catch (i) {
|
|
4378
|
+
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
|
|
4362
4379
|
}
|
|
4363
|
-
var
|
|
4364
|
-
return !
|
|
4365
|
-
}, Ho = function(t) {
|
|
4366
|
-
return ea(t) && t.type === "radio";
|
|
4380
|
+
var A = Xo(r, t.form);
|
|
4381
|
+
return !A || A === t;
|
|
4367
4382
|
}, Zo = function(t) {
|
|
4368
|
-
return
|
|
4383
|
+
return ea(t) && t.type === "radio";
|
|
4369
4384
|
}, qo = function(t) {
|
|
4370
|
-
|
|
4385
|
+
return Zo(t) && !Ho(t);
|
|
4386
|
+
}, Yo = function(t) {
|
|
4387
|
+
var a, n = t && Ze(t), r = (a = n) === null || a === void 0 ? void 0 : a.host, A = !1;
|
|
4371
4388
|
if (n && n !== t) {
|
|
4372
|
-
var
|
|
4373
|
-
for (
|
|
4389
|
+
var i, s, o;
|
|
4390
|
+
for (A = !!((i = r) !== null && i !== void 0 && (s = i.ownerDocument) !== null && s !== void 0 && s.contains(r) || t != null && (o = t.ownerDocument) !== null && o !== void 0 && o.contains(t)); !A && r; ) {
|
|
4374
4391
|
var c, d, f;
|
|
4375
|
-
n = Ze(r), r = (c = n) === null || c === void 0 ? void 0 : c.host,
|
|
4392
|
+
n = Ze(r), r = (c = n) === null || c === void 0 ? void 0 : c.host, A = !!((d = r) !== null && d !== void 0 && (f = d.ownerDocument) !== null && f !== void 0 && f.contains(r));
|
|
4376
4393
|
}
|
|
4377
4394
|
}
|
|
4378
|
-
return
|
|
4395
|
+
return A;
|
|
4379
4396
|
}, Tt = function(t) {
|
|
4380
4397
|
var a = t.getBoundingClientRect(), n = a.width, r = a.height;
|
|
4381
4398
|
return n === 0 && r === 0;
|
|
4382
|
-
},
|
|
4399
|
+
}, Ro = function(t, a) {
|
|
4383
4400
|
var n = a.displayCheck, r = a.getShadowRoot;
|
|
4384
4401
|
if (getComputedStyle(t).visibility === "hidden")
|
|
4385
4402
|
return !0;
|
|
4386
|
-
var
|
|
4387
|
-
if (Ce.call(
|
|
4403
|
+
var A = Ce.call(t, "details>summary:first-of-type"), i = A ? t.parentElement : t;
|
|
4404
|
+
if (Ce.call(i, "details:not([open]) *"))
|
|
4388
4405
|
return !0;
|
|
4389
4406
|
if (!n || n === "full" || n === "legacy-full") {
|
|
4390
4407
|
if (typeof r == "function") {
|
|
4391
|
-
for (var
|
|
4392
|
-
var
|
|
4393
|
-
if (
|
|
4408
|
+
for (var s = t; t; ) {
|
|
4409
|
+
var o = t.parentElement, c = Ze(t);
|
|
4410
|
+
if (o && !o.shadowRoot && r(o) === !0)
|
|
4394
4411
|
return Tt(t);
|
|
4395
|
-
t.assignedSlot ? t = t.assignedSlot : !
|
|
4412
|
+
t.assignedSlot ? t = t.assignedSlot : !o && c !== t.ownerDocument ? t = c.host : t = o;
|
|
4396
4413
|
}
|
|
4397
|
-
t =
|
|
4414
|
+
t = s;
|
|
4398
4415
|
}
|
|
4399
|
-
if (
|
|
4416
|
+
if (Yo(t))
|
|
4400
4417
|
return !t.getClientRects().length;
|
|
4401
4418
|
if (n !== "legacy-full")
|
|
4402
4419
|
return !0;
|
|
4403
4420
|
} else if (n === "non-zero-area")
|
|
4404
4421
|
return Tt(t);
|
|
4405
4422
|
return !1;
|
|
4406
|
-
},
|
|
4423
|
+
}, Fo = function(t) {
|
|
4407
4424
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
4408
4425
|
for (var a = t.parentElement; a; ) {
|
|
4409
4426
|
if (a.tagName === "FIELDSET" && a.disabled) {
|
|
@@ -4421,37 +4438,37 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4421
4438
|
return !(a.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4422
4439
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4423
4440
|
// note related to `candidateSelectors`)
|
|
4424
|
-
qe(a) ||
|
|
4425
|
-
|
|
4441
|
+
qe(a) || Vo(a) || Ro(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
4442
|
+
Uo(a) || Fo(a));
|
|
4426
4443
|
}, at = function(t, a) {
|
|
4427
|
-
return !(
|
|
4428
|
-
},
|
|
4444
|
+
return !(qo(a) || he(a) < 0 || !Ye(t, a));
|
|
4445
|
+
}, Ko = function(t) {
|
|
4429
4446
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
4430
4447
|
return !!(isNaN(a) || a >= 0);
|
|
4431
|
-
},
|
|
4448
|
+
}, Go = function e(t) {
|
|
4432
4449
|
var a = [], n = [];
|
|
4433
|
-
return t.forEach(function(r,
|
|
4434
|
-
var
|
|
4435
|
-
|
|
4436
|
-
documentOrder:
|
|
4437
|
-
tabIndex:
|
|
4450
|
+
return t.forEach(function(r, A) {
|
|
4451
|
+
var i = !!r.scopeParent, s = i ? r.scopeParent : r, o = Po(s, i), c = i ? e(r.candidates) : s;
|
|
4452
|
+
o === 0 ? i ? a.push.apply(a, c) : a.push(s) : n.push({
|
|
4453
|
+
documentOrder: A,
|
|
4454
|
+
tabIndex: o,
|
|
4438
4455
|
item: r,
|
|
4439
|
-
isScope:
|
|
4456
|
+
isScope: i,
|
|
4440
4457
|
content: c
|
|
4441
4458
|
});
|
|
4442
|
-
}), n.sort(
|
|
4443
|
-
return
|
|
4459
|
+
}), n.sort(Wo).reduce(function(r, A) {
|
|
4460
|
+
return A.isScope ? r.push.apply(r, A.content) : r.push(A.content), r;
|
|
4444
4461
|
}, []).concat(a);
|
|
4445
|
-
},
|
|
4462
|
+
}, Jo = function(t, a) {
|
|
4446
4463
|
a = a || {};
|
|
4447
4464
|
var n;
|
|
4448
4465
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
4449
4466
|
filter: at.bind(null, a),
|
|
4450
4467
|
flatten: !1,
|
|
4451
4468
|
getShadowRoot: a.getShadowRoot,
|
|
4452
|
-
shadowRootFilter:
|
|
4453
|
-
}) : n = Jt(t, a.includeContainer, at.bind(null, a)),
|
|
4454
|
-
},
|
|
4469
|
+
shadowRootFilter: Ko
|
|
4470
|
+
}) : n = Jt(t, a.includeContainer, at.bind(null, a)), Go(n);
|
|
4471
|
+
}, _o = function(t, a) {
|
|
4455
4472
|
a = a || {};
|
|
4456
4473
|
var n;
|
|
4457
4474
|
return a.getShadowRoot ? n = _t([t], a.includeContainer, {
|
|
@@ -4463,10 +4480,10 @@ var Kt = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4463
4480
|
if (a = a || {}, !t)
|
|
4464
4481
|
throw new Error("No node provided");
|
|
4465
4482
|
return Ce.call(t, He) === !1 ? !1 : at(a, t);
|
|
4466
|
-
},
|
|
4483
|
+
}, $o = /* @__PURE__ */ Kt.concat("iframe").join(","), et = function(t, a) {
|
|
4467
4484
|
if (a = a || {}, !t)
|
|
4468
4485
|
throw new Error("No node provided");
|
|
4469
|
-
return Ce.call(t,
|
|
4486
|
+
return Ce.call(t, $o) === !1 ? !1 : Ye(a, t);
|
|
4470
4487
|
};
|
|
4471
4488
|
/*!
|
|
4472
4489
|
* focus-trap 7.6.5
|
|
@@ -4477,10 +4494,10 @@ function nt(e, t) {
|
|
|
4477
4494
|
for (var a = 0, n = Array(t); a < t; a++) n[a] = e[a];
|
|
4478
4495
|
return n;
|
|
4479
4496
|
}
|
|
4480
|
-
function
|
|
4497
|
+
function el(e) {
|
|
4481
4498
|
if (Array.isArray(e)) return nt(e);
|
|
4482
4499
|
}
|
|
4483
|
-
function
|
|
4500
|
+
function tl(e, t, a) {
|
|
4484
4501
|
return (t = Al(t)) in e ? Object.defineProperty(e, t, {
|
|
4485
4502
|
value: a,
|
|
4486
4503
|
enumerable: !0,
|
|
@@ -4488,10 +4505,10 @@ function el(e, t, a) {
|
|
|
4488
4505
|
writable: !0
|
|
4489
4506
|
}) : e[t] = a, e;
|
|
4490
4507
|
}
|
|
4491
|
-
function
|
|
4508
|
+
function al(e) {
|
|
4492
4509
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4493
4510
|
}
|
|
4494
|
-
function
|
|
4511
|
+
function nl() {
|
|
4495
4512
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4496
4513
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4497
4514
|
}
|
|
@@ -4509,17 +4526,17 @@ function Dt(e) {
|
|
|
4509
4526
|
for (var t = 1; t < arguments.length; t++) {
|
|
4510
4527
|
var a = arguments[t] != null ? arguments[t] : {};
|
|
4511
4528
|
t % 2 ? Qt(Object(a), !0).forEach(function(n) {
|
|
4512
|
-
|
|
4529
|
+
tl(e, n, a[n]);
|
|
4513
4530
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Qt(Object(a)).forEach(function(n) {
|
|
4514
4531
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(a, n));
|
|
4515
4532
|
});
|
|
4516
4533
|
}
|
|
4517
4534
|
return e;
|
|
4518
4535
|
}
|
|
4519
|
-
function
|
|
4520
|
-
return
|
|
4536
|
+
function rl(e) {
|
|
4537
|
+
return el(e) || al(e) || ol(e) || nl();
|
|
4521
4538
|
}
|
|
4522
|
-
function
|
|
4539
|
+
function il(e, t) {
|
|
4523
4540
|
if (typeof e != "object" || !e) return e;
|
|
4524
4541
|
var a = e[Symbol.toPrimitive];
|
|
4525
4542
|
if (a !== void 0) {
|
|
@@ -4530,10 +4547,10 @@ function rl(e, t) {
|
|
|
4530
4547
|
return (t === "string" ? String : Number)(e);
|
|
4531
4548
|
}
|
|
4532
4549
|
function Al(e) {
|
|
4533
|
-
var t =
|
|
4550
|
+
var t = il(e, "string");
|
|
4534
4551
|
return typeof t == "symbol" ? t : t + "";
|
|
4535
4552
|
}
|
|
4536
|
-
function
|
|
4553
|
+
function ol(e, t) {
|
|
4537
4554
|
if (e) {
|
|
4538
4555
|
if (typeof e == "string") return nt(e, t);
|
|
4539
4556
|
var a = {}.toString.call(e).slice(8, -1);
|
|
@@ -4553,32 +4570,32 @@ var Lt = {
|
|
|
4553
4570
|
var n = t.indexOf(a);
|
|
4554
4571
|
n !== -1 && t.splice(n, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
4555
4572
|
}
|
|
4556
|
-
}, ol = function(t) {
|
|
4557
|
-
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
4558
4573
|
}, ll = function(t) {
|
|
4574
|
+
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
4575
|
+
}, sl = function(t) {
|
|
4559
4576
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
4560
|
-
},
|
|
4577
|
+
}, ze = function(t) {
|
|
4561
4578
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
4562
|
-
}, sl = function(t) {
|
|
4563
|
-
return Se(t) && !t.shiftKey;
|
|
4564
4579
|
}, cl = function(t) {
|
|
4565
|
-
return
|
|
4566
|
-
},
|
|
4580
|
+
return ze(t) && !t.shiftKey;
|
|
4581
|
+
}, ul = function(t) {
|
|
4582
|
+
return ze(t) && t.shiftKey;
|
|
4583
|
+
}, wt = function(t) {
|
|
4567
4584
|
return setTimeout(t, 0);
|
|
4568
|
-
},
|
|
4585
|
+
}, Se = function(t) {
|
|
4569
4586
|
for (var a = arguments.length, n = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
|
|
4570
4587
|
n[r - 1] = arguments[r];
|
|
4571
4588
|
return typeof t == "function" ? t.apply(void 0, n) : t;
|
|
4572
|
-
},
|
|
4589
|
+
}, je = function(t) {
|
|
4573
4590
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
4574
|
-
},
|
|
4575
|
-
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) ||
|
|
4591
|
+
}, dl = [], fl = function(t, a) {
|
|
4592
|
+
var n = (a == null ? void 0 : a.document) || document, r = (a == null ? void 0 : a.trapStack) || dl, A = Dt({
|
|
4576
4593
|
returnFocusOnDeactivate: !0,
|
|
4577
4594
|
escapeDeactivates: !0,
|
|
4578
4595
|
delayInitialFocus: !0,
|
|
4579
|
-
isKeyForward:
|
|
4580
|
-
isKeyBackward:
|
|
4581
|
-
}, a),
|
|
4596
|
+
isKeyForward: cl,
|
|
4597
|
+
isKeyBackward: ul
|
|
4598
|
+
}, a), i = {
|
|
4582
4599
|
// containers given to createFocusTrap()
|
|
4583
4600
|
// @type {Array<HTMLElement>}
|
|
4584
4601
|
containers: [],
|
|
@@ -4615,11 +4632,11 @@ var Lt = {
|
|
|
4615
4632
|
delayInitialFocusTimer: void 0,
|
|
4616
4633
|
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
4617
4634
|
recentNavEvent: void 0
|
|
4618
|
-
},
|
|
4619
|
-
return v && v[
|
|
4620
|
-
}, c = function(v,
|
|
4621
|
-
var N = typeof (
|
|
4622
|
-
return
|
|
4635
|
+
}, s, o = function(v, h, N) {
|
|
4636
|
+
return v && v[h] !== void 0 ? v[h] : A[N || h];
|
|
4637
|
+
}, c = function(v, h) {
|
|
4638
|
+
var N = typeof (h == null ? void 0 : h.composedPath) == "function" ? h.composedPath() : void 0;
|
|
4639
|
+
return i.containerGroups.findIndex(function(z) {
|
|
4623
4640
|
var U = z.container, q = z.tabbableNodes;
|
|
4624
4641
|
return U.contains(v) || // fall back to explicit tabbable search which will take into consideration any
|
|
4625
4642
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
@@ -4630,8 +4647,8 @@ var Lt = {
|
|
|
4630
4647
|
});
|
|
4631
4648
|
});
|
|
4632
4649
|
}, d = function(v) {
|
|
4633
|
-
var
|
|
4634
|
-
if (typeof S == "function" && (S = S.apply(void 0,
|
|
4650
|
+
var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, N = h.hasFallback, z = N === void 0 ? !1 : N, U = h.params, q = U === void 0 ? [] : U, S = A[v];
|
|
4651
|
+
if (typeof S == "function" && (S = S.apply(void 0, rl(q))), S === !0 && (S = void 0), !S) {
|
|
4635
4652
|
if (S === void 0 || S === !1)
|
|
4636
4653
|
return S;
|
|
4637
4654
|
throw new Error("`".concat(v, "` was specified but was not a node, or did not return a node"));
|
|
@@ -4653,29 +4670,29 @@ var Lt = {
|
|
|
4653
4670
|
});
|
|
4654
4671
|
if (v === !1)
|
|
4655
4672
|
return !1;
|
|
4656
|
-
if (v === void 0 || v && !et(v,
|
|
4673
|
+
if (v === void 0 || v && !et(v, A.tabbableOptions))
|
|
4657
4674
|
if (c(n.activeElement) >= 0)
|
|
4658
4675
|
v = n.activeElement;
|
|
4659
4676
|
else {
|
|
4660
|
-
var
|
|
4677
|
+
var h = i.tabbableGroups[0], N = h && h.firstTabbableNode;
|
|
4661
4678
|
v = N || d("fallbackFocus");
|
|
4662
4679
|
}
|
|
4663
4680
|
else v === null && (v = d("fallbackFocus"));
|
|
4664
4681
|
if (!v)
|
|
4665
4682
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
4666
4683
|
return v;
|
|
4667
|
-
},
|
|
4668
|
-
if (
|
|
4669
|
-
var
|
|
4684
|
+
}, b = function() {
|
|
4685
|
+
if (i.containerGroups = i.containers.map(function(v) {
|
|
4686
|
+
var h = Jo(v, A.tabbableOptions), N = _o(v, A.tabbableOptions), z = h.length > 0 ? h[0] : void 0, U = h.length > 0 ? h[h.length - 1] : void 0, q = N.find(function(G) {
|
|
4670
4687
|
return Ee(G);
|
|
4671
4688
|
}), S = N.slice().reverse().find(function(G) {
|
|
4672
4689
|
return Ee(G);
|
|
4673
|
-
}), K = !!
|
|
4674
|
-
return
|
|
4690
|
+
}), K = !!h.find(function(G) {
|
|
4691
|
+
return he(G) > 0;
|
|
4675
4692
|
});
|
|
4676
4693
|
return {
|
|
4677
4694
|
container: v,
|
|
4678
|
-
tabbableNodes:
|
|
4695
|
+
tabbableNodes: h,
|
|
4679
4696
|
focusableNodes: N,
|
|
4680
4697
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
4681
4698
|
posTabIndexesFound: K,
|
|
@@ -4703,26 +4720,26 @@ var Lt = {
|
|
|
4703
4720
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
4704
4721
|
*/
|
|
4705
4722
|
nextTabbableNode: function(Ie) {
|
|
4706
|
-
var
|
|
4707
|
-
return de < 0 ?
|
|
4708
|
-
return Ee(
|
|
4709
|
-
}) : N.slice(0, N.indexOf(Ie)).reverse().find(function(
|
|
4710
|
-
return Ee(
|
|
4711
|
-
}) :
|
|
4723
|
+
var Qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, de = h.indexOf(Ie);
|
|
4724
|
+
return de < 0 ? Qe ? N.slice(N.indexOf(Ie) + 1).find(function(De) {
|
|
4725
|
+
return Ee(De);
|
|
4726
|
+
}) : N.slice(0, N.indexOf(Ie)).reverse().find(function(De) {
|
|
4727
|
+
return Ee(De);
|
|
4728
|
+
}) : h[de + (Qe ? 1 : -1)];
|
|
4712
4729
|
}
|
|
4713
4730
|
};
|
|
4714
|
-
}),
|
|
4731
|
+
}), i.tabbableGroups = i.containerGroups.filter(function(v) {
|
|
4715
4732
|
return v.tabbableNodes.length > 0;
|
|
4716
|
-
}),
|
|
4733
|
+
}), i.tabbableGroups.length <= 0 && !d("fallbackFocus"))
|
|
4717
4734
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
4718
|
-
if (
|
|
4735
|
+
if (i.containerGroups.find(function(v) {
|
|
4719
4736
|
return v.posTabIndexesFound;
|
|
4720
|
-
}) &&
|
|
4737
|
+
}) && i.containerGroups.length > 1)
|
|
4721
4738
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
|
4722
4739
|
}, I = function(v) {
|
|
4723
|
-
var
|
|
4724
|
-
if (
|
|
4725
|
-
return
|
|
4740
|
+
var h = v.activeElement;
|
|
4741
|
+
if (h)
|
|
4742
|
+
return h.shadowRoot && h.shadowRoot.activeElement !== null ? I(h.shadowRoot) : h;
|
|
4726
4743
|
}, m = function(v) {
|
|
4727
4744
|
if (v !== !1 && v !== I(document)) {
|
|
4728
4745
|
if (!v || !v.focus) {
|
|
@@ -4730,111 +4747,111 @@ var Lt = {
|
|
|
4730
4747
|
return;
|
|
4731
4748
|
}
|
|
4732
4749
|
v.focus({
|
|
4733
|
-
preventScroll: !!
|
|
4734
|
-
}),
|
|
4750
|
+
preventScroll: !!A.preventScroll
|
|
4751
|
+
}), i.mostRecentlyFocusedNode = v, ll(v) && v.select();
|
|
4735
4752
|
}
|
|
4736
4753
|
}, C = function(v) {
|
|
4737
|
-
var
|
|
4754
|
+
var h = d("setReturnFocus", {
|
|
4738
4755
|
params: [v]
|
|
4739
4756
|
});
|
|
4740
|
-
return
|
|
4741
|
-
},
|
|
4742
|
-
var
|
|
4743
|
-
|
|
4757
|
+
return h || (h === !1 ? !1 : v);
|
|
4758
|
+
}, p = function(v) {
|
|
4759
|
+
var h = v.target, N = v.event, z = v.isBackward, U = z === void 0 ? !1 : z;
|
|
4760
|
+
h = h || je(N), b();
|
|
4744
4761
|
var q = null;
|
|
4745
|
-
if (
|
|
4746
|
-
var S = c(
|
|
4762
|
+
if (i.tabbableGroups.length > 0) {
|
|
4763
|
+
var S = c(h, N), K = S >= 0 ? i.containerGroups[S] : void 0;
|
|
4747
4764
|
if (S < 0)
|
|
4748
|
-
U ? q =
|
|
4765
|
+
U ? q = i.tabbableGroups[i.tabbableGroups.length - 1].lastTabbableNode : q = i.tabbableGroups[0].firstTabbableNode;
|
|
4749
4766
|
else if (U) {
|
|
4750
|
-
var G =
|
|
4767
|
+
var G = i.tabbableGroups.findIndex(function(Ke) {
|
|
4751
4768
|
var Ge = Ke.firstTabbableNode;
|
|
4752
|
-
return
|
|
4769
|
+
return h === Ge;
|
|
4753
4770
|
});
|
|
4754
|
-
if (G < 0 && (K.container ===
|
|
4755
|
-
var Ie = G === 0 ?
|
|
4756
|
-
q =
|
|
4757
|
-
} else
|
|
4771
|
+
if (G < 0 && (K.container === h || et(h, A.tabbableOptions) && !Ee(h, A.tabbableOptions) && !K.nextTabbableNode(h, !1)) && (G = S), G >= 0) {
|
|
4772
|
+
var Ie = G === 0 ? i.tabbableGroups.length - 1 : G - 1, Qe = i.tabbableGroups[Ie];
|
|
4773
|
+
q = he(h) >= 0 ? Qe.lastTabbableNode : Qe.lastDomTabbableNode;
|
|
4774
|
+
} else ze(N) || (q = K.nextTabbableNode(h, !1));
|
|
4758
4775
|
} else {
|
|
4759
|
-
var de =
|
|
4776
|
+
var de = i.tabbableGroups.findIndex(function(Ke) {
|
|
4760
4777
|
var Ge = Ke.lastTabbableNode;
|
|
4761
|
-
return
|
|
4778
|
+
return h === Ge;
|
|
4762
4779
|
});
|
|
4763
|
-
if (de < 0 && (K.container ===
|
|
4764
|
-
var
|
|
4765
|
-
q =
|
|
4766
|
-
} else
|
|
4780
|
+
if (de < 0 && (K.container === h || et(h, A.tabbableOptions) && !Ee(h, A.tabbableOptions) && !K.nextTabbableNode(h)) && (de = S), de >= 0) {
|
|
4781
|
+
var De = de === i.tabbableGroups.length - 1 ? 0 : de + 1, ut = i.tabbableGroups[De];
|
|
4782
|
+
q = he(h) >= 0 ? ut.firstTabbableNode : ut.firstDomTabbableNode;
|
|
4783
|
+
} else ze(N) || (q = K.nextTabbableNode(h));
|
|
4767
4784
|
}
|
|
4768
4785
|
} else
|
|
4769
4786
|
q = d("fallbackFocus");
|
|
4770
4787
|
return q;
|
|
4771
4788
|
}, T = function(v) {
|
|
4772
|
-
var
|
|
4773
|
-
if (!(c(
|
|
4774
|
-
if (
|
|
4775
|
-
|
|
4789
|
+
var h = je(v);
|
|
4790
|
+
if (!(c(h, v) >= 0)) {
|
|
4791
|
+
if (Se(A.clickOutsideDeactivates, v)) {
|
|
4792
|
+
s.deactivate({
|
|
4776
4793
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
4777
4794
|
// which will result in the outside click setting focus to the node
|
|
4778
4795
|
// that was clicked (and if not focusable, to "nothing"); by setting
|
|
4779
4796
|
// `returnFocus: true`, we'll attempt to re-focus the node originally-focused
|
|
4780
4797
|
// on activation (or the configured `setReturnFocus` node), whether the
|
|
4781
4798
|
// outside click was on a focusable node or not
|
|
4782
|
-
returnFocus:
|
|
4799
|
+
returnFocus: A.returnFocusOnDeactivate
|
|
4783
4800
|
});
|
|
4784
4801
|
return;
|
|
4785
4802
|
}
|
|
4786
|
-
|
|
4803
|
+
Se(A.allowOutsideClick, v) || v.preventDefault();
|
|
4787
4804
|
}
|
|
4788
4805
|
}, Q = function(v) {
|
|
4789
|
-
var
|
|
4790
|
-
if (N ||
|
|
4791
|
-
N && (
|
|
4806
|
+
var h = je(v), N = c(h, v) >= 0;
|
|
4807
|
+
if (N || h instanceof Document)
|
|
4808
|
+
N && (i.mostRecentlyFocusedNode = h);
|
|
4792
4809
|
else {
|
|
4793
4810
|
v.stopImmediatePropagation();
|
|
4794
4811
|
var z, U = !0;
|
|
4795
|
-
if (
|
|
4796
|
-
if (
|
|
4797
|
-
var q = c(
|
|
4812
|
+
if (i.mostRecentlyFocusedNode)
|
|
4813
|
+
if (he(i.mostRecentlyFocusedNode) > 0) {
|
|
4814
|
+
var q = c(i.mostRecentlyFocusedNode), S = i.containerGroups[q].tabbableNodes;
|
|
4798
4815
|
if (S.length > 0) {
|
|
4799
4816
|
var K = S.findIndex(function(G) {
|
|
4800
|
-
return G ===
|
|
4817
|
+
return G === i.mostRecentlyFocusedNode;
|
|
4801
4818
|
});
|
|
4802
|
-
K >= 0 && (
|
|
4819
|
+
K >= 0 && (A.isKeyForward(i.recentNavEvent) ? K + 1 < S.length && (z = S[K + 1], U = !1) : K - 1 >= 0 && (z = S[K - 1], U = !1));
|
|
4803
4820
|
}
|
|
4804
4821
|
} else
|
|
4805
|
-
|
|
4822
|
+
i.containerGroups.some(function(G) {
|
|
4806
4823
|
return G.tabbableNodes.some(function(Ie) {
|
|
4807
|
-
return
|
|
4824
|
+
return he(Ie) > 0;
|
|
4808
4825
|
});
|
|
4809
4826
|
}) || (U = !1);
|
|
4810
4827
|
else
|
|
4811
4828
|
U = !1;
|
|
4812
|
-
U && (z =
|
|
4829
|
+
U && (z = p({
|
|
4813
4830
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
4814
4831
|
// outside the trap causing the focus escape we're trying to fix)
|
|
4815
|
-
target:
|
|
4816
|
-
isBackward:
|
|
4817
|
-
})), m(z ||
|
|
4832
|
+
target: i.mostRecentlyFocusedNode,
|
|
4833
|
+
isBackward: A.isKeyBackward(i.recentNavEvent)
|
|
4834
|
+
})), m(z || i.mostRecentlyFocusedNode || f());
|
|
4818
4835
|
}
|
|
4819
|
-
|
|
4836
|
+
i.recentNavEvent = void 0;
|
|
4820
4837
|
}, E = function(v) {
|
|
4821
|
-
var
|
|
4822
|
-
|
|
4823
|
-
var N =
|
|
4838
|
+
var h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
4839
|
+
i.recentNavEvent = v;
|
|
4840
|
+
var N = p({
|
|
4824
4841
|
event: v,
|
|
4825
|
-
isBackward:
|
|
4842
|
+
isBackward: h
|
|
4826
4843
|
});
|
|
4827
|
-
N && (
|
|
4844
|
+
N && (ze(v) && v.preventDefault(), m(N));
|
|
4828
4845
|
}, L = function(v) {
|
|
4829
|
-
(
|
|
4830
|
-
},
|
|
4831
|
-
|
|
4846
|
+
(A.isKeyForward(v) || A.isKeyBackward(v)) && E(v, A.isKeyBackward(v));
|
|
4847
|
+
}, B = function(v) {
|
|
4848
|
+
sl(v) && Se(A.escapeDeactivates, v) !== !1 && (v.preventDefault(), s.deactivate());
|
|
4832
4849
|
}, V = function(v) {
|
|
4833
|
-
var
|
|
4834
|
-
c(
|
|
4850
|
+
var h = je(v);
|
|
4851
|
+
c(h, v) >= 0 || Se(A.clickOutsideDeactivates, v) || Se(A.allowOutsideClick, v) || (v.preventDefault(), v.stopImmediatePropagation());
|
|
4835
4852
|
}, x = function() {
|
|
4836
|
-
if (
|
|
4837
|
-
return Lt.activateTrap(r,
|
|
4853
|
+
if (i.active)
|
|
4854
|
+
return Lt.activateTrap(r, s), i.delayInitialFocusTimer = A.delayInitialFocus ? wt(function() {
|
|
4838
4855
|
m(f());
|
|
4839
4856
|
}) : m(f()), n.addEventListener("focusin", Q, !0), n.addEventListener("mousedown", T, {
|
|
4840
4857
|
capture: !0,
|
|
@@ -4848,101 +4865,101 @@ var Lt = {
|
|
|
4848
4865
|
}), n.addEventListener("keydown", L, {
|
|
4849
4866
|
capture: !0,
|
|
4850
4867
|
passive: !1
|
|
4851
|
-
}), n.addEventListener("keydown",
|
|
4852
|
-
},
|
|
4853
|
-
if (
|
|
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",
|
|
4855
|
-
},
|
|
4856
|
-
var
|
|
4868
|
+
}), n.addEventListener("keydown", B), s;
|
|
4869
|
+
}, ie = function() {
|
|
4870
|
+
if (i.active)
|
|
4871
|
+
return n.removeEventListener("focusin", Q, !0), n.removeEventListener("mousedown", T, !0), n.removeEventListener("touchstart", T, !0), n.removeEventListener("click", V, !0), n.removeEventListener("keydown", L, !0), n.removeEventListener("keydown", B), s;
|
|
4872
|
+
}, O = function(v) {
|
|
4873
|
+
var h = v.some(function(N) {
|
|
4857
4874
|
var z = Array.from(N.removedNodes);
|
|
4858
4875
|
return z.some(function(U) {
|
|
4859
|
-
return U ===
|
|
4876
|
+
return U === i.mostRecentlyFocusedNode;
|
|
4860
4877
|
});
|
|
4861
4878
|
});
|
|
4862
|
-
|
|
4863
|
-
}, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(
|
|
4864
|
-
oe && (oe.disconnect(),
|
|
4879
|
+
h && m(f());
|
|
4880
|
+
}, oe = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(O) : void 0, $ = function() {
|
|
4881
|
+
oe && (oe.disconnect(), i.active && !i.paused && i.containers.map(function(v) {
|
|
4865
4882
|
oe.observe(v, {
|
|
4866
4883
|
subtree: !0,
|
|
4867
4884
|
childList: !0
|
|
4868
4885
|
});
|
|
4869
4886
|
}));
|
|
4870
4887
|
};
|
|
4871
|
-
return
|
|
4888
|
+
return s = {
|
|
4872
4889
|
get active() {
|
|
4873
|
-
return
|
|
4890
|
+
return i.active;
|
|
4874
4891
|
},
|
|
4875
4892
|
get paused() {
|
|
4876
|
-
return
|
|
4893
|
+
return i.paused;
|
|
4877
4894
|
},
|
|
4878
4895
|
activate: function(v) {
|
|
4879
|
-
if (
|
|
4896
|
+
if (i.active)
|
|
4880
4897
|
return this;
|
|
4881
|
-
var
|
|
4882
|
-
z ||
|
|
4898
|
+
var h = o(v, "onActivate"), N = o(v, "onPostActivate"), z = o(v, "checkCanFocusTrap");
|
|
4899
|
+
z || b(), i.active = !0, i.paused = !1, i.nodeFocusedBeforeActivation = I(n), h == null || h();
|
|
4883
4900
|
var U = function() {
|
|
4884
|
-
z &&
|
|
4901
|
+
z && b(), x(), $(), N == null || N();
|
|
4885
4902
|
};
|
|
4886
|
-
return z ? (z(
|
|
4903
|
+
return z ? (z(i.containers.concat()).then(U, U), this) : (U(), this);
|
|
4887
4904
|
},
|
|
4888
4905
|
deactivate: function(v) {
|
|
4889
|
-
if (!
|
|
4906
|
+
if (!i.active)
|
|
4890
4907
|
return this;
|
|
4891
|
-
var
|
|
4892
|
-
onDeactivate:
|
|
4893
|
-
onPostDeactivate:
|
|
4894
|
-
checkCanReturnFocus:
|
|
4908
|
+
var h = Dt({
|
|
4909
|
+
onDeactivate: A.onDeactivate,
|
|
4910
|
+
onPostDeactivate: A.onPostDeactivate,
|
|
4911
|
+
checkCanReturnFocus: A.checkCanReturnFocus
|
|
4895
4912
|
}, v);
|
|
4896
|
-
clearTimeout(
|
|
4897
|
-
var N =
|
|
4913
|
+
clearTimeout(i.delayInitialFocusTimer), i.delayInitialFocusTimer = void 0, ie(), i.active = !1, i.paused = !1, $(), Lt.deactivateTrap(r, s);
|
|
4914
|
+
var N = o(h, "onDeactivate"), z = o(h, "onPostDeactivate"), U = o(h, "checkCanReturnFocus"), q = o(h, "returnFocus", "returnFocusOnDeactivate");
|
|
4898
4915
|
N == null || N();
|
|
4899
4916
|
var S = function() {
|
|
4900
|
-
|
|
4901
|
-
q && m(C(
|
|
4917
|
+
wt(function() {
|
|
4918
|
+
q && m(C(i.nodeFocusedBeforeActivation)), z == null || z();
|
|
4902
4919
|
});
|
|
4903
4920
|
};
|
|
4904
|
-
return q && U ? (U(C(
|
|
4921
|
+
return q && U ? (U(C(i.nodeFocusedBeforeActivation)).then(S, S), this) : (S(), this);
|
|
4905
4922
|
},
|
|
4906
4923
|
pause: function(v) {
|
|
4907
|
-
return
|
|
4924
|
+
return i.active ? (i.manuallyPaused = !0, this._setPausedState(!0, v)) : this;
|
|
4908
4925
|
},
|
|
4909
4926
|
unpause: function(v) {
|
|
4910
|
-
return
|
|
4927
|
+
return i.active ? (i.manuallyPaused = !1, r[r.length - 1] !== this ? this : this._setPausedState(!1, v)) : this;
|
|
4911
4928
|
},
|
|
4912
4929
|
updateContainerElements: function(v) {
|
|
4913
|
-
var
|
|
4914
|
-
return
|
|
4930
|
+
var h = [].concat(v).filter(Boolean);
|
|
4931
|
+
return i.containers = h.map(function(N) {
|
|
4915
4932
|
return typeof N == "string" ? n.querySelector(N) : N;
|
|
4916
|
-
}),
|
|
4933
|
+
}), i.active && b(), $(), this;
|
|
4917
4934
|
}
|
|
4918
|
-
}, Object.defineProperties(
|
|
4935
|
+
}, Object.defineProperties(s, {
|
|
4919
4936
|
_isManuallyPaused: {
|
|
4920
4937
|
value: function() {
|
|
4921
|
-
return
|
|
4938
|
+
return i.manuallyPaused;
|
|
4922
4939
|
}
|
|
4923
4940
|
},
|
|
4924
4941
|
_setPausedState: {
|
|
4925
|
-
value: function(v,
|
|
4926
|
-
if (
|
|
4942
|
+
value: function(v, h) {
|
|
4943
|
+
if (i.paused === v)
|
|
4927
4944
|
return this;
|
|
4928
|
-
if (
|
|
4929
|
-
var N =
|
|
4930
|
-
N == null || N(),
|
|
4945
|
+
if (i.paused = v, v) {
|
|
4946
|
+
var N = o(h, "onPause"), z = o(h, "onPostPause");
|
|
4947
|
+
N == null || N(), ie(), $(), z == null || z();
|
|
4931
4948
|
} else {
|
|
4932
|
-
var U =
|
|
4933
|
-
U == null || U(),
|
|
4949
|
+
var U = o(h, "onUnpause"), q = o(h, "onPostUnpause");
|
|
4950
|
+
U == null || U(), b(), x(), $(), q == null || q();
|
|
4934
4951
|
}
|
|
4935
4952
|
return this;
|
|
4936
4953
|
}
|
|
4937
4954
|
}
|
|
4938
|
-
}),
|
|
4955
|
+
}), s.updateContainerElements(t), s;
|
|
4939
4956
|
};
|
|
4940
|
-
function
|
|
4957
|
+
function vl(e, t) {
|
|
4941
4958
|
let a = null;
|
|
4942
4959
|
function n() {
|
|
4943
4960
|
!e.value || !e.value.querySelector(
|
|
4944
4961
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4945
|
-
) || (a =
|
|
4962
|
+
) || (a = fl(e.value, {
|
|
4946
4963
|
escapeDeactivates: !0,
|
|
4947
4964
|
onDeactivate: t,
|
|
4948
4965
|
returnFocusOnDeactivate: !0,
|
|
@@ -4957,7 +4974,7 @@ function fl(e, t) {
|
|
|
4957
4974
|
cleanupFocusTrap: r
|
|
4958
4975
|
};
|
|
4959
4976
|
}
|
|
4960
|
-
const
|
|
4977
|
+
const ml = { class: "av-popover-wrapper" }, gl = /* @__PURE__ */ w({
|
|
4961
4978
|
__name: "AvPopover",
|
|
4962
4979
|
props: {
|
|
4963
4980
|
width: { default: "12.5rem" },
|
|
@@ -4968,7 +4985,7 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
4968
4985
|
v75959032: f.width,
|
|
4969
4986
|
v330e9906: f.padding
|
|
4970
4987
|
}));
|
|
4971
|
-
const a = J(null), n = J(null), { showPopover: r, popoverPosition:
|
|
4988
|
+
const a = J(null), n = J(null), { showPopover: r, popoverPosition: A, togglePopover: i, closePopover: s } = Bo(a, n), { initializeFocusTrap: o, cleanupFocusTrap: c } = vl(n, s);
|
|
4972
4989
|
function d(f) {
|
|
4973
4990
|
if (!f) {
|
|
4974
4991
|
a.value = null;
|
|
@@ -4978,44 +4995,44 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
4978
4995
|
a.value = f;
|
|
4979
4996
|
return;
|
|
4980
4997
|
}
|
|
4981
|
-
const
|
|
4982
|
-
|
|
4998
|
+
const b = f.$el;
|
|
4999
|
+
b instanceof HTMLElement ? a.value = b : a.value = null;
|
|
4983
5000
|
}
|
|
4984
5001
|
return t({ setTriggerRef: d, triggerRef: a }), ce(r, async (f) => {
|
|
4985
|
-
f ? (await Re(),
|
|
4986
|
-
}),
|
|
5002
|
+
f ? (await Re(), o()) : c();
|
|
5003
|
+
}), wa(() => {
|
|
4987
5004
|
c();
|
|
4988
|
-
}), (f,
|
|
5005
|
+
}), (f, b) => (u(), g("div", ml, [
|
|
4989
5006
|
y("div", {
|
|
4990
5007
|
ref: d,
|
|
4991
5008
|
class: "av-popover-trigger-wrapper"
|
|
4992
5009
|
}, [
|
|
4993
|
-
|
|
5010
|
+
j(f.$slots, "trigger", { toggle: l(i) }, void 0, !0)
|
|
4994
5011
|
]),
|
|
4995
5012
|
(u(), k(zt, { to: "body" }, [
|
|
4996
|
-
|
|
5013
|
+
l(r) ? (u(), g("div", {
|
|
4997
5014
|
key: 0,
|
|
4998
5015
|
ref_key: "popoverRef",
|
|
4999
5016
|
ref: n,
|
|
5000
5017
|
tabindex: "-1",
|
|
5001
5018
|
class: "av-popover",
|
|
5002
|
-
style: Ve(`top: ${
|
|
5003
|
-
onKeydown:
|
|
5019
|
+
style: Ve(`top: ${l(A).top}rem; left: ${l(A).left}rem;`),
|
|
5020
|
+
onKeydown: b[0] || (b[0] = ot(se(
|
|
5004
5021
|
//@ts-ignore
|
|
5005
|
-
(...I) =>
|
|
5022
|
+
(...I) => l(s) && l(s)(...I),
|
|
5006
5023
|
["prevent"]
|
|
5007
5024
|
), ["esc"]))
|
|
5008
5025
|
}, [
|
|
5009
|
-
|
|
5026
|
+
j(f.$slots, "popover", { close: l(s) }, void 0, !0)
|
|
5010
5027
|
], 36)) : D("", !0)
|
|
5011
5028
|
]))
|
|
5012
5029
|
]));
|
|
5013
5030
|
}
|
|
5014
|
-
}),
|
|
5031
|
+
}), As = /* @__PURE__ */ W(gl, [["__scopeId", "data-v-6a5eaa47"]]), os = {
|
|
5015
5032
|
name: "DsfrBadge",
|
|
5016
5033
|
template: '<div class="dsfr-badge" />',
|
|
5017
5034
|
props: ["label", "type", "small", "ellipsis"]
|
|
5018
|
-
},
|
|
5035
|
+
}, ls = {
|
|
5019
5036
|
name: "DsfrModal",
|
|
5020
5037
|
props: ["opened", "title"],
|
|
5021
5038
|
template: '<div class="dsfr-modal"><slot /><slot name="footer" /></div>',
|
|
@@ -5025,82 +5042,84 @@ const vl = { class: "av-popover-wrapper" }, ml = /* @__PURE__ */ O({
|
|
|
5025
5042
|
this.$emit("keydown", { key: "Escape" });
|
|
5026
5043
|
}
|
|
5027
5044
|
}
|
|
5028
|
-
},
|
|
5045
|
+
}, ss = {
|
|
5029
5046
|
name: "DsfrNavigation",
|
|
5030
5047
|
props: {
|
|
5031
5048
|
navItems: Array
|
|
5032
5049
|
},
|
|
5033
5050
|
template: '<nav class="dsfr-navigation-mock"><slot /></nav>'
|
|
5034
|
-
},
|
|
5051
|
+
}, cs = {
|
|
5035
5052
|
name: "VIcon",
|
|
5036
5053
|
props: ["name", "size", "color"],
|
|
5037
5054
|
template: '<div class="v-icon-stub"></div>'
|
|
5038
5055
|
};
|
|
5039
5056
|
export {
|
|
5040
|
-
|
|
5057
|
+
wl as AvAccordion,
|
|
5041
5058
|
Ol as AvAccordionsGroup,
|
|
5042
5059
|
Ga as AvAlert,
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5060
|
+
Xl as AvAutocomplete,
|
|
5061
|
+
Ul as AvAutocompleteStub,
|
|
5062
|
+
Cl as AvBadge,
|
|
5046
5063
|
hl as AvBadgeStub,
|
|
5047
5064
|
me as AvButton,
|
|
5048
|
-
|
|
5065
|
+
Sl as AvButtonStub,
|
|
5049
5066
|
Wn as AvCancelConfirmButtons,
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5067
|
+
Ml as AvCard,
|
|
5068
|
+
ns as AvDrawer,
|
|
5069
|
+
as as AvDrawerStub,
|
|
5070
|
+
zl as AvFileUpload,
|
|
5071
|
+
Dl as AvHeader,
|
|
5055
5072
|
ft as AvHeaderMenuLinks,
|
|
5056
|
-
|
|
5057
|
-
|
|
5073
|
+
Ba as AvIconText,
|
|
5074
|
+
gi as AvInput,
|
|
5058
5075
|
Vt as AvList,
|
|
5059
5076
|
Ut as AvListItem,
|
|
5060
|
-
|
|
5061
|
-
|
|
5077
|
+
Bl as AvListItemStub,
|
|
5078
|
+
xl as AvListStub,
|
|
5062
5079
|
rn as AvLogo,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5080
|
+
rs as AvModal,
|
|
5081
|
+
Hl as AvMultiselect,
|
|
5082
|
+
Kl as AvNavigation,
|
|
5083
|
+
yl as AvNotice,
|
|
5084
|
+
Pl as AvPageSizePicker,
|
|
5085
|
+
Gl as AvPagination,
|
|
5086
|
+
As as AvPopover,
|
|
5087
|
+
Si as AvRadioButton,
|
|
5088
|
+
Vl as AvRadioButtonSet,
|
|
5089
|
+
kl as AvRichButton,
|
|
5090
|
+
ql as AvSelect,
|
|
5091
|
+
Zl as AvSelectStub,
|
|
5092
|
+
go as AvSideMenu,
|
|
5093
|
+
$l as AvSideNavigation,
|
|
5094
|
+
_l as AvSideNavigationStub,
|
|
5095
|
+
ts as AvStepper,
|
|
5096
|
+
es as AvStepperStub,
|
|
5097
|
+
Yl as AvTab,
|
|
5098
|
+
Rl as AvTabs,
|
|
5099
|
+
Di as AvTagPicker,
|
|
5100
|
+
Wl as AvTagPickerStub,
|
|
5101
|
+
Ql as AvToaster,
|
|
5102
|
+
Fl as AvToggle,
|
|
5086
5103
|
ne as AvVIcon,
|
|
5087
|
-
|
|
5104
|
+
El as AvVIconStub,
|
|
5105
|
+
Li as BREAKPOINTS,
|
|
5088
5106
|
Me as DropdownState,
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5107
|
+
os as DsfrBadgeStub,
|
|
5108
|
+
ls as DsfrModalStub,
|
|
5109
|
+
ss as DsfrNavigationStub,
|
|
5110
|
+
Ll as EsupLogo,
|
|
5111
|
+
Nl as ICONS_DATA_URL,
|
|
5094
5112
|
Y as MDI_ICONS,
|
|
5095
5113
|
Xt as PageSizes,
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5114
|
+
pl as RI_ICONS,
|
|
5115
|
+
cs as VIconStub,
|
|
5116
|
+
ja as formatTextToHtml,
|
|
5117
|
+
Jl as getPaginationPages,
|
|
5118
|
+
Tl as isValidEmail,
|
|
5101
5119
|
jl as pageSizeValues,
|
|
5102
|
-
|
|
5120
|
+
fs as registerNavigationLinkKey,
|
|
5103
5121
|
Xa as removeDuplicates,
|
|
5104
5122
|
Je as toSentenceCase,
|
|
5105
|
-
|
|
5123
|
+
is as useBreakpoint,
|
|
5124
|
+
vl as useFocusTrap
|
|
5106
5125
|
};
|