@avenirs-esr/avenirs-dsav 0.1.57 → 0.1.59
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/components/interaction/inputs/AvInput/AvInput.vue.d.ts +1 -0
- package/dist/components/overlay/dropdowns/AvDropdown/AvDropdown.stories.d.ts +61 -0
- package/dist/components/overlay/dropdowns/AvDropdown/AvDropdown.stub.d.ts +19 -0
- package/dist/components/overlay/dropdowns/AvDropdown/AvDropdown.vue.d.ts +81 -0
- package/dist/components/overlay/index.d.ts +1 -0
- package/dist/index.cjs.js +8 -8
- package/dist/index.es.js +626 -571
- package/dist/test-utils.cjs.js +19 -8
- package/dist/test-utils.es.js +33 -16
- package/dist/tests/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as j, useCssVars as ce, computed as E, createElementBlock as g, openBlock as A, normalizeStyle as fe, normalizeClass as F, unref as d, createElementVNode as p, toDisplayString as z, h as dn, ref as q, watch as ie, nextTick as De, onMounted as ue, createVNode as X, createPropsRestProxy as Gn, createBlock as R, resolveDynamicComponent as Ce, mergeProps as te, withCtx as
|
|
1
|
+
import { defineComponent as j, useCssVars as ce, computed as E, createElementBlock as g, openBlock as A, normalizeStyle as fe, normalizeClass as F, unref as d, createElementVNode as p, toDisplayString as z, h as dn, ref as q, watch as ie, nextTick as De, onMounted as ue, createVNode as X, createPropsRestProxy as Gn, createBlock as R, resolveDynamicComponent as Ce, mergeProps as te, withCtx as G, createCommentVNode as w, Fragment as J, createTextVNode as le, useSlots as ge, renderSlot as H, normalizeProps as Ue, TransitionGroup as qa, renderList as ae, withModifiers as de, withKeys as Ae, toRef as Ct, onUnmounted as ve, provide as Et, resolveComponent as Mt, reactive as Wt, inject as Fe, useTemplateRef as Ra, useId as Xa, hasInjectionContext as Gt, onBeforeUnmount as Jt, Comment as Za, cloneVNode as Ya, Transition as Ka, withDirectives as Jn, vShow as Ga, mergeModels as pe, useModel as Pe, vModelCheckbox as Ja, isRef as Tt, getCurrentScope as $a, onScopeDispose as _a, getCurrentInstance as $t, toValue as re, shallowRef as Me, watchEffect as ei, createSlots as lt, guardReactiveProps as $n, toRefs as _t, Teleport as _n } from "vue";
|
|
2
2
|
import { r as ea } from "./injection-key.es.js";
|
|
3
3
|
const ti = ["title"], ni = /* @__PURE__ */ j({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -42,7 +42,7 @@ const ti = ["title"], ni = /* @__PURE__ */ j({
|
|
|
42
42
|
for (const [a, i] of t)
|
|
43
43
|
n[a] = i;
|
|
44
44
|
return n;
|
|
45
|
-
},
|
|
45
|
+
}, Xf = /* @__PURE__ */ Y(ni, [["__scopeId", "data-v-97b734d8"]]), ta = /^[a-z0-9]+(-[a-z0-9]+)*$/, Nt = (e, t, n, a = "") => {
|
|
46
46
|
const i = e.split(":");
|
|
47
47
|
if (e.slice(0, 1) === "@") {
|
|
48
48
|
if (i.length < 2 || i.length > 3)
|
|
@@ -229,14 +229,14 @@ function la(e) {
|
|
|
229
229
|
return typeof e == "boolean" && (tt = e), tt;
|
|
230
230
|
}
|
|
231
231
|
function ci(e) {
|
|
232
|
-
const t = typeof e == "string" ?
|
|
232
|
+
const t = typeof e == "string" ? Nt(e, !0, tt) : e;
|
|
233
233
|
if (t) {
|
|
234
234
|
const n = We(t.provider, t.prefix), a = t.name;
|
|
235
235
|
return n.icons[a] || (n.missing.has(a) ? null : void 0);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
function ui(e, t) {
|
|
239
|
-
const n =
|
|
239
|
+
const n = Nt(e, !0, tt);
|
|
240
240
|
if (!n)
|
|
241
241
|
return !1;
|
|
242
242
|
const a = We(n.provider, n.prefix);
|
|
@@ -339,11 +339,11 @@ function bi(e, t) {
|
|
|
339
339
|
), C.push("scale(-1 1)"), i.top = i.left = 0) : D && (C.push(
|
|
340
340
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
|
341
341
|
), C.push("scale(1 -1)"), i.top = i.left = 0);
|
|
342
|
-
let
|
|
342
|
+
let N;
|
|
343
343
|
switch (k < 0 && (k -= Math.floor(k / 4) * 4), k = k % 4, k) {
|
|
344
344
|
case 1:
|
|
345
|
-
|
|
346
|
-
"rotate(90 " +
|
|
345
|
+
N = i.height / 2 + i.top, C.unshift(
|
|
346
|
+
"rotate(90 " + N.toString() + " " + N.toString() + ")"
|
|
347
347
|
);
|
|
348
348
|
break;
|
|
349
349
|
case 2:
|
|
@@ -352,12 +352,12 @@ function bi(e, t) {
|
|
|
352
352
|
);
|
|
353
353
|
break;
|
|
354
354
|
case 3:
|
|
355
|
-
|
|
356
|
-
"rotate(-90 " +
|
|
355
|
+
N = i.width / 2 + i.left, C.unshift(
|
|
356
|
+
"rotate(-90 " + N.toString() + " " + N.toString() + ")"
|
|
357
357
|
);
|
|
358
358
|
break;
|
|
359
359
|
}
|
|
360
|
-
k % 2 === 1 && (i.left !== i.top && (
|
|
360
|
+
k % 2 === 1 && (i.left !== i.top && (N = i.left, i.left = i.top, i.top = N), i.width !== i.height && (N = i.width, i.width = i.height, i.height = N)), C.length && (r = gi(
|
|
361
361
|
r,
|
|
362
362
|
'<g transform="' + C.join(" ") + '">',
|
|
363
363
|
"</g>"
|
|
@@ -445,7 +445,7 @@ function Mi(e, t) {
|
|
|
445
445
|
function nn(e) {
|
|
446
446
|
return tn[e];
|
|
447
447
|
}
|
|
448
|
-
const
|
|
448
|
+
const Ti = () => {
|
|
449
449
|
let e;
|
|
450
450
|
try {
|
|
451
451
|
if (e = fetch, typeof e == "function")
|
|
@@ -453,8 +453,8 @@ const Ni = () => {
|
|
|
453
453
|
} catch {
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
|
-
let mn =
|
|
457
|
-
function
|
|
456
|
+
let mn = Ti();
|
|
457
|
+
function Ni(e, t) {
|
|
458
458
|
const n = nn(e);
|
|
459
459
|
if (!n)
|
|
460
460
|
return 0;
|
|
@@ -475,7 +475,7 @@ function ki(e) {
|
|
|
475
475
|
return e === 404;
|
|
476
476
|
}
|
|
477
477
|
const wi = (e, t, n) => {
|
|
478
|
-
const a = [], i =
|
|
478
|
+
const a = [], i = Ni(e, t), r = "icons";
|
|
479
479
|
let l = {
|
|
480
480
|
type: r,
|
|
481
481
|
provider: e,
|
|
@@ -638,7 +638,7 @@ function zi(e, t, n) {
|
|
|
638
638
|
function Bi(e, t = !0, n = !1) {
|
|
639
639
|
const a = [];
|
|
640
640
|
return e.forEach((i) => {
|
|
641
|
-
const r = typeof i == "string" ?
|
|
641
|
+
const r = typeof i == "string" ? Nt(i, t, n) : i;
|
|
642
642
|
r && a.push(r);
|
|
643
643
|
}), a;
|
|
644
644
|
}
|
|
@@ -697,7 +697,7 @@ function Pi(e, t, n, a) {
|
|
|
697
697
|
x.status === "pending" && (x.status = "aborted");
|
|
698
698
|
}), y = [];
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function N(x, W, K) {
|
|
701
701
|
const Q = W !== "success";
|
|
702
702
|
switch (y = y.filter((B) => B !== x), s) {
|
|
703
703
|
case "pending":
|
|
@@ -744,7 +744,7 @@ function Pi(e, t, n, a) {
|
|
|
744
744
|
status: "pending",
|
|
745
745
|
resource: x,
|
|
746
746
|
callback: (K, Q) => {
|
|
747
|
-
|
|
747
|
+
N(W, K, Q);
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
y.push(W), u++, v = setTimeout(S, e.rotate), n(x, t, W.callback);
|
|
@@ -1173,7 +1173,7 @@ const tr = {
|
|
|
1173
1173
|
data: e
|
|
1174
1174
|
};
|
|
1175
1175
|
let a;
|
|
1176
|
-
if (typeof e != "string" || (a =
|
|
1176
|
+
if (typeof e != "string" || (a = Nt(e, !1, !0)) === null)
|
|
1177
1177
|
return this.abortLoading(), null;
|
|
1178
1178
|
let i = ci(a);
|
|
1179
1179
|
if (!i)
|
|
@@ -1286,14 +1286,14 @@ const tr = {
|
|
|
1286
1286
|
}, { ...d(i), ...l.$attrs }, {
|
|
1287
1287
|
onClick: o[0] || (o[0] = (s) => !e.disabled && t.selectable && l.$emit("select", [t.value, t.selected ?? !1]))
|
|
1288
1288
|
}), {
|
|
1289
|
-
default:
|
|
1289
|
+
default: G(() => [
|
|
1290
1290
|
e.icon ? (A(), R(se, {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
label: e.iconOnly ? e.label : void 0,
|
|
1293
1293
|
size: d(r),
|
|
1294
1294
|
name: e.icon
|
|
1295
1295
|
}, null, 8, ["label", "size", "name"])) : w("", !0),
|
|
1296
|
-
e.iconOnly ? w("", !0) : (A(), g(
|
|
1296
|
+
e.iconOnly ? w("", !0) : (A(), g(J, { key: 1 }, [
|
|
1297
1297
|
le(z(e.label), 1)
|
|
1298
1298
|
], 64))
|
|
1299
1299
|
]),
|
|
@@ -1313,7 +1313,7 @@ const tr = {
|
|
|
1313
1313
|
hintClass: { default: "" }
|
|
1314
1314
|
},
|
|
1315
1315
|
setup(e) {
|
|
1316
|
-
const t =
|
|
1316
|
+
const t = ge();
|
|
1317
1317
|
return (n, a) => (A(), g("fieldset", lr, [
|
|
1318
1318
|
e.legend || t.legend ? (A(), g("legend", {
|
|
1319
1319
|
key: 0,
|
|
@@ -1374,7 +1374,7 @@ function fr(e, t = "var(--dark-background-primary1)") {
|
|
|
1374
1374
|
function vr(e) {
|
|
1375
1375
|
return e ? e[0].toUpperCase() + e.slice(1).toLowerCase() : "";
|
|
1376
1376
|
}
|
|
1377
|
-
const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = { class: "fr-notice__title" }, br = { class: "fr-notice__desc" }, Ir = ["innerHTML"],
|
|
1377
|
+
const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = { class: "fr-notice__title" }, br = { class: "fr-notice__desc" }, Ir = ["innerHTML"], Zf = /* @__PURE__ */ j({
|
|
1378
1378
|
__name: "AvNotice",
|
|
1379
1379
|
props: {
|
|
1380
1380
|
title: { default: "" },
|
|
@@ -1413,7 +1413,7 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1413
1413
|
titleHeight: {}
|
|
1414
1414
|
},
|
|
1415
1415
|
setup(e) {
|
|
1416
|
-
const t =
|
|
1416
|
+
const t = ge();
|
|
1417
1417
|
return (n, a) => (A(), g("div", {
|
|
1418
1418
|
class: "av-card",
|
|
1419
1419
|
style: fe({ borderColor: e.borderColor, background: e.backgroundColor })
|
|
@@ -1434,7 +1434,7 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1434
1434
|
])) : w("", !0)
|
|
1435
1435
|
], 4));
|
|
1436
1436
|
}
|
|
1437
|
-
}),
|
|
1437
|
+
}), Yf = /* @__PURE__ */ Y(Cr, [["__scopeId", "data-v-740c9a3b"]]), $ = {
|
|
1438
1438
|
ACCOUNT_CIRCLE_OUTLINE: "mdi:account-circle-outline",
|
|
1439
1439
|
ACCOUNT_STUDENT_OUTLINE: "mdi:account-student-outline",
|
|
1440
1440
|
ALERT_CIRCLE_OUTLINE: "mdi:alert-circle-outline",
|
|
@@ -1506,10 +1506,10 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1506
1506
|
TRAY_UPLOAD: "mdi:tray-upload",
|
|
1507
1507
|
VECTOR_POLYGON_VARIANT: "mdi:vector-polygon-variant",
|
|
1508
1508
|
WARNING_OUTLINE: "mdi:warning-outline"
|
|
1509
|
-
},
|
|
1509
|
+
}, Kf = {
|
|
1510
1510
|
DICE_1_LINE: "ri:dice-1-line",
|
|
1511
1511
|
DICE_4_LINE: "ri:dice-4-line"
|
|
1512
|
-
},
|
|
1512
|
+
}, Gf = {
|
|
1513
1513
|
AMS_SAE: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0iY3VycmVudENvbG9yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yNSAxNy41SDExLjM3NVYxOS4yNUg1LjI1QzQuMjc4NzUgMTkuMjUgMy41IDE4LjQ3MTMgMy41IDE3LjVWMy41QzMuNSAzLjAzNTg3IDMuNjg0MzcgMi41OTA3NSA0LjAxMjU2IDIuMjYyNTZDNC4zNDA3NSAxLjkzNDM3IDQuNzg1ODcgMS43NSA1LjI1IDEuNzVIMTUuNzVDMTYuMjE0MSAxLjc1IDE2LjY1OTIgMS45MzQzNyAxNi45ODc0IDIuMjYyNTZDMTcuMzE1NiAyLjU5MDc1IDE3LjUgMy4wMzU4NyAxNy41IDMuNVYxMC45NzI1TDE2LjE4NzUgMTAuMjU1TDE1Ljc1IDEwLjVWMy41SDExLjM3NVYxMC41TDkuMTg3NSA4LjUzMTI1TDcgMTAuNVYzLjVINS4yNVYxNy41Wk0yMSAxNC44NzVMMTYuMTg3NSAxMi4yNUwxMS4zNzUgMTQuODc1TDE2LjE4NzUgMTcuNUwyMSAxNC44NzVaTTEzLjEyNSAxNi43MDM4VjE4LjQ1MzhMMTYuMTg3NSAyMC4xMjVMMTkuMjUgMTguNDUzOFYxNi43MDM4TDE2LjE4NzUgMTguMzc1TDEzLjEyNSAxNi43MDM4WiIgZmlsbD0iY3VycmVudENvbG9yIiAvPgo8L3N2Zz4K",
|
|
1514
1514
|
CLOCK_ALMOST_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTQzXzI2OTE5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1NDNfMjY5MTkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSA0LjIxNjAyTDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzcuMjg5MjEgMi42NjYwMiA2LjYwNTg4IDIuNzk5MzUgNS45NTAzMyAzLjA2NjAyQzUuMjk0NzcgMy4zMzI2OCA0LjcxNjk5IDMuNzE2MDIgNC4yMTY5OSA0LjIxNjAyWiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
1515
1515
|
CLOCK_HALF_PLUS_CHECK: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzQwMDA4NTMxXzMxMzY5IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9ImN1cnJlbnRDb2xvciIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNDAwMDg1MzFfMzEzNjkpIj4KPHBhdGggZD0iTTguMDAwMzMgMTQuMzMyN0M3LjEyMjU1IDE0LjMzMjcgNi4yOTc2NiAxNC4xNjYgNS41MjU2NiAxMy44MzI3QzQuNzUzMjEgMTMuNDk5MyA0LjA4MzY2IDEzLjA0OTMgMy41MTY5OSAxMi40ODI3QzIuOTUwMzMgMTEuOTE2IDIuNTAwMzMgMTEuMjQ2NSAyLjE2Njk5IDEwLjQ3NEMxLjgzMzY2IDkuNzAyMDEgMS42NjY5OSA4Ljg3NzEzIDEuNjY2OTkgNy45OTkzNUMxLjY2Njk5IDcuMTIxNTcgMS44MzM2NiA2LjI5NjQ2IDIuMTY2OTkgNS41MjQwMkMyLjUwMDMzIDQuNzUyMDIgMi45NTAzMyA0LjA4MjY4IDMuNTE2OTkgMy41MTYwMkM0LjA4MzY2IDIuOTQ5MzUgNC43NTMyMSAyLjQ5OTM1IDUuNTI1NjYgMi4xNjYwMkM2LjI5NzY2IDEuODMyNjggNy4xMjI1NSAxLjY2NjAyIDguMDAwMzMgMS42NjYwMkM4Ljg3ODEgMS42NjYwMiA5LjcwMzIxIDEuODMyNjggMTAuNDc1NyAyLjE2NjAyQzExLjI0NzcgMi40OTkzNSAxMS45MTcgMi45NDkzNSAxMi40ODM3IDMuNTE2MDJDMTMuMDUwMyA0LjA4MjY4IDEzLjUwMDMgNC43NTIwMiAxMy44MzM3IDUuNTI0MDJDMTQuMTY3IDYuMjk2NDYgMTQuMzMzNyA3LjEyMTU3IDE0LjMzMzcgNy45OTkzNUMxNC4zMzM3IDguODc3MTMgMTQuMTY3IDkuNzAyMDEgMTMuODMzNyAxMC40NzRDMTMuNTAwMyAxMS4yNDY1IDEzLjA1MDMgMTEuOTE2IDEyLjQ4MzcgMTIuNDgyN0MxMS45MTcgMTMuMDQ5MyAxMS4yNDc3IDEzLjQ5OTMgMTAuNDc1NyAxMy44MzI3QzkuNzAzMjEgMTQuMTY2IDguODc4MSAxNC4zMzI3IDguMDAwMzMgMTQuMzMyN1pNNC4yMTY5OSAxMS43ODI3TDguMDAwMzMgNy45OTkzNVYyLjY2NjAyQzYuNTExNDQgMi42NjYwMiA1LjI1MDMzIDMuMTgyNjggNC4yMTY5OSA0LjIxNjAyQzMuMTgzNjYgNS4yNDkzNSAyLjY2Njk5IDYuNTEwNDYgMi42NjY5OSA3Ljk5OTM1QzIuNjY2OTkgOC43MTA0NiAyLjgwMDMzIDkuMzkzNzkgMy4wNjY5OSAxMC4wNDkzQzMuMzMzNjYgMTAuNzA0OSAzLjcxNjk5IDExLjI4MjcgNC4yMTY5OSAxMS43ODI3WiIgZmlsbD0iY3VycmVudENvbG9yIi8+CjwvZz4KPC9zdmc+Cg==",
|
|
@@ -1521,10 +1521,10 @@ const mr = { class: "fr-container" }, gr = { class: "fr-notice__body" }, hr = {
|
|
|
1521
1521
|
function Er(e) {
|
|
1522
1522
|
return [...new Set(e)];
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function Jf(e) {
|
|
1525
1525
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
1526
1526
|
}
|
|
1527
|
-
const Mr = ["title", "disabled", "aria-disabled", "aria-label"],
|
|
1527
|
+
const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Tr = { key: 1 }, Nr = /* @__PURE__ */ j({
|
|
1528
1528
|
__name: "AvButton",
|
|
1529
1529
|
props: {
|
|
1530
1530
|
variant: { default: "DEFAULT" },
|
|
@@ -1547,7 +1547,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1547
1547
|
(f = n.value) == null || f.focus();
|
|
1548
1548
|
}
|
|
1549
1549
|
t({ focus: a });
|
|
1550
|
-
const i = { name:
|
|
1550
|
+
const i = { name: $.LOADING_OUTLINE, animation: "spin" }, r = E(() => ["sm", "small"].includes(e.size)), l = E(() => ["md", "medium"].includes(e.size)), o = E(() => ["lg", "large"].includes(e.size)), s = E(() => e.iconScale && !Number.isNaN(e.iconScale) ? e.iconScale : r.value ? 1 : o.value ? 2 : 1.5), u = E(() => {
|
|
1551
1551
|
if (e.isLoading)
|
|
1552
1552
|
return { ...i, size: s.value };
|
|
1553
1553
|
if (typeof e.icon == "string" && e.icon.trim())
|
|
@@ -1583,11 +1583,11 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1583
1583
|
})
|
|
1584
1584
|
}, [
|
|
1585
1585
|
d(u) ? (A(), R(C, Ue(te({ key: 0 }, d(u))), null, 16)) : w("", !0),
|
|
1586
|
-
e.iconOnly ? w("", !0) : (A(), g("span",
|
|
1586
|
+
e.iconOnly ? w("", !0) : (A(), g("span", Tr, z(d(c)), 1))
|
|
1587
1587
|
], 14, Mr);
|
|
1588
1588
|
};
|
|
1589
1589
|
}
|
|
1590
|
-
}),
|
|
1590
|
+
}), me = /* @__PURE__ */ Y(Nr, [["__scopeId", "data-v-ed18b35d"]]), kr = ["id", "role"], wr = { class: "av-alert--container" }, Or = { class: "av-alert--content" }, xr = { class: "av-alert--title" }, Lr = { class: "b1-regular" }, Dr = /* @__PURE__ */ j({
|
|
1591
1591
|
__name: "AvAlert",
|
|
1592
1592
|
props: {
|
|
1593
1593
|
alert: { type: Boolean, default: !1 },
|
|
@@ -1613,14 +1613,14 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1613
1613
|
), r = E(() => {
|
|
1614
1614
|
switch (e.type) {
|
|
1615
1615
|
case "error":
|
|
1616
|
-
return { name:
|
|
1616
|
+
return { name: $.ALERT_CIRCLE_OUTLINE, color: "var(--dark-background-error)" };
|
|
1617
1617
|
case "success":
|
|
1618
|
-
return { name:
|
|
1618
|
+
return { name: $.CHECK_CIRCLE, color: "var(--dark-background-success)" };
|
|
1619
1619
|
case "warning":
|
|
1620
|
-
return { name:
|
|
1620
|
+
return { name: $.WARNING_OUTLINE, color: "var(--dark-background-warn)" };
|
|
1621
1621
|
case "info":
|
|
1622
1622
|
default:
|
|
1623
|
-
return { name:
|
|
1623
|
+
return { name: $.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
1624
1624
|
}
|
|
1625
1625
|
});
|
|
1626
1626
|
return (l, o) => e.closed ? w("", !0) : (A(), g("div", {
|
|
@@ -1637,7 +1637,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1637
1637
|
key: 0,
|
|
1638
1638
|
class: "fr-alert__title"
|
|
1639
1639
|
}, {
|
|
1640
|
-
default:
|
|
1640
|
+
default: G(() => [
|
|
1641
1641
|
le(z(e.title), 1)
|
|
1642
1642
|
]),
|
|
1643
1643
|
_: 1
|
|
@@ -1647,10 +1647,10 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1647
1647
|
], !0)
|
|
1648
1648
|
])
|
|
1649
1649
|
]),
|
|
1650
|
-
e.closeable ? (A(), R(
|
|
1650
|
+
e.closeable ? (A(), R(me, {
|
|
1651
1651
|
key: 0,
|
|
1652
1652
|
"icon-only": "",
|
|
1653
|
-
icon: d(
|
|
1653
|
+
icon: d($).CLOSE_CIRCLE_OUTLINE,
|
|
1654
1654
|
label: e.closeButtonLabel,
|
|
1655
1655
|
small: "",
|
|
1656
1656
|
"on-click": a
|
|
@@ -1689,8 +1689,8 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1689
1689
|
tag: "div",
|
|
1690
1690
|
class: "toasters"
|
|
1691
1691
|
}, {
|
|
1692
|
-
default:
|
|
1693
|
-
(A(!0), g(
|
|
1692
|
+
default: G(() => [
|
|
1693
|
+
(A(!0), g(J, null, ae(e.messages, (r) => (A(), R(Qr, te({
|
|
1694
1694
|
key: r.id,
|
|
1695
1695
|
class: ["av-toaster", t(r.type)]
|
|
1696
1696
|
}, { ref_for: !0 }, r, {
|
|
@@ -1702,7 +1702,7 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1702
1702
|
})
|
|
1703
1703
|
]));
|
|
1704
1704
|
}
|
|
1705
|
-
}),
|
|
1705
|
+
}), $f = /* @__PURE__ */ Y(zr, [["__scopeId", "data-v-202438c7"]]), Br = Symbol("header"), jr = ["aria-label"], Pr = { class: "fr-btns-group" }, Mn = /* @__PURE__ */ j({
|
|
1706
1706
|
__name: "AvHeaderMenuLinks",
|
|
1707
1707
|
props: {
|
|
1708
1708
|
links: {},
|
|
@@ -1716,8 +1716,8 @@ const Mr = ["title", "disabled", "aria-disabled", "aria-label"], Nr = { key: 1 }
|
|
|
1716
1716
|
"aria-label": e.navAriaLabel
|
|
1717
1717
|
}, [
|
|
1718
1718
|
p("ul", Pr, [
|
|
1719
|
-
(A(!0), g(
|
|
1720
|
-
X(
|
|
1719
|
+
(A(!0), g(J, null, ae(e.links, (r, l) => (A(), g("li", { key: l }, [
|
|
1720
|
+
X(me, {
|
|
1721
1721
|
icon: r.icon,
|
|
1722
1722
|
label: r.label ?? "",
|
|
1723
1723
|
"on-click": (o) => {
|
|
@@ -1796,7 +1796,7 @@ function an() {
|
|
|
1796
1796
|
const Hr = {
|
|
1797
1797
|
role: "navigation",
|
|
1798
1798
|
class: "fr-translate fr-nav"
|
|
1799
|
-
}, qr = { class: "fr-nav__item" }, Rr = ["aria-controls", "aria-expanded", "title"], Xr = { class: "fr-hidden-lg" }, Zr = ["id"], Yr = { class: "fr-menu__list" }, Kr = ["hreflang", "lang", "aria-current", "href", "onClick"],
|
|
1799
|
+
}, qr = { class: "fr-nav__item" }, Rr = ["aria-controls", "aria-expanded", "title"], Xr = { class: "fr-hidden-lg" }, Zr = ["id"], Yr = { class: "fr-menu__list" }, Kr = ["hreflang", "lang", "aria-current", "href", "onClick"], Tn = /* @__PURE__ */ j({
|
|
1800
1800
|
__name: "AvLanguageSelector",
|
|
1801
1801
|
props: {
|
|
1802
1802
|
id: { default: () => crypto.randomUUID() },
|
|
@@ -1844,7 +1844,7 @@ const Hr = {
|
|
|
1844
1844
|
onTransitionend: y[1] || (y[1] = (b) => d(o)(d(s)))
|
|
1845
1845
|
}, [
|
|
1846
1846
|
p("ul", Yr, [
|
|
1847
|
-
(A(!0), g(
|
|
1847
|
+
(A(!0), g(J, null, ae(e.languages, (b, C) => (A(), g("li", { key: C }, [
|
|
1848
1848
|
p("a", {
|
|
1849
1849
|
class: "fr-translate__language fr-nav__link",
|
|
1850
1850
|
hreflang: b.codeIso,
|
|
@@ -1860,12 +1860,12 @@ const Hr = {
|
|
|
1860
1860
|
]);
|
|
1861
1861
|
};
|
|
1862
1862
|
}
|
|
1863
|
-
}), fa = 6048e5, Gr = 864e5,
|
|
1864
|
-
function
|
|
1865
|
-
return typeof e == "function" ? e(t) : e && typeof e == "object" &&
|
|
1863
|
+
}), fa = 6048e5, Gr = 864e5, Nn = Symbol.for("constructDateFrom");
|
|
1864
|
+
function Te(e, t) {
|
|
1865
|
+
return typeof e == "function" ? e(t) : e && typeof e == "object" && Nn in e ? e[Nn](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
1866
1866
|
}
|
|
1867
1867
|
function be(e, t) {
|
|
1868
|
-
return
|
|
1868
|
+
return Te(t || e, e);
|
|
1869
1869
|
}
|
|
1870
1870
|
let Jr = {};
|
|
1871
1871
|
function wt() {
|
|
@@ -1880,9 +1880,9 @@ function At(e, t) {
|
|
|
1880
1880
|
return nt(e, { ...t, weekStartsOn: 1 });
|
|
1881
1881
|
}
|
|
1882
1882
|
function va(e, t) {
|
|
1883
|
-
const n = be(e, t == null ? void 0 : t.in), a = n.getFullYear(), i =
|
|
1883
|
+
const n = be(e, t == null ? void 0 : t.in), a = n.getFullYear(), i = Te(n, 0);
|
|
1884
1884
|
i.setFullYear(a + 1, 0, 4), i.setHours(0, 0, 0, 0);
|
|
1885
|
-
const r = At(i), l =
|
|
1885
|
+
const r = At(i), l = Te(n, 0);
|
|
1886
1886
|
l.setFullYear(a, 0, 4), l.setHours(0, 0, 0, 0);
|
|
1887
1887
|
const o = At(l);
|
|
1888
1888
|
return n.getTime() >= r.getTime() ? a + 1 : n.getTime() >= o.getTime() ? a : a - 1;
|
|
@@ -1902,7 +1902,7 @@ function kn(e) {
|
|
|
1902
1902
|
return n.setUTCFullYear(t.getFullYear()), +e - +n;
|
|
1903
1903
|
}
|
|
1904
1904
|
function $r(e, ...t) {
|
|
1905
|
-
const n =
|
|
1905
|
+
const n = Te.bind(
|
|
1906
1906
|
null,
|
|
1907
1907
|
t.find((a) => typeof a == "object")
|
|
1908
1908
|
);
|
|
@@ -1921,7 +1921,7 @@ function _r(e, t, n) {
|
|
|
1921
1921
|
return Math.round((o - s) / Gr);
|
|
1922
1922
|
}
|
|
1923
1923
|
function el(e, t) {
|
|
1924
|
-
const n = va(e, t), a =
|
|
1924
|
+
const n = va(e, t), a = Te(e, 0);
|
|
1925
1925
|
return a.setFullYear(n, 0, 4), a.setHours(0, 0, 0, 0), At(a);
|
|
1926
1926
|
}
|
|
1927
1927
|
function tl(e) {
|
|
@@ -2253,9 +2253,9 @@ const Cl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Ml = {
|
|
|
2253
2253
|
narrow: /^(b|a)/i,
|
|
2254
2254
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
2255
2255
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
2256
|
-
}, Nl = {
|
|
2257
|
-
any: [/^b/i, /^(a|c)/i]
|
|
2258
2256
|
}, Tl = {
|
|
2257
|
+
any: [/^b/i, /^(a|c)/i]
|
|
2258
|
+
}, Nl = {
|
|
2259
2259
|
narrow: /^[1234]/i,
|
|
2260
2260
|
abbreviated: /^q[1234]/i,
|
|
2261
2261
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
@@ -2325,11 +2325,11 @@ const Cl = /^(\d+)(th|st|nd|rd)?/i, El = /\d+/i, Ml = {
|
|
|
2325
2325
|
era: Ze({
|
|
2326
2326
|
matchPatterns: Ml,
|
|
2327
2327
|
defaultMatchWidth: "wide",
|
|
2328
|
-
parsePatterns:
|
|
2328
|
+
parsePatterns: Tl,
|
|
2329
2329
|
defaultParseWidth: "any"
|
|
2330
2330
|
}),
|
|
2331
2331
|
quarter: Ze({
|
|
2332
|
-
matchPatterns:
|
|
2332
|
+
matchPatterns: Nl,
|
|
2333
2333
|
defaultMatchWidth: "wide",
|
|
2334
2334
|
parsePatterns: kl,
|
|
2335
2335
|
defaultParseWidth: "any",
|
|
@@ -2375,23 +2375,23 @@ function jl(e, t) {
|
|
|
2375
2375
|
}
|
|
2376
2376
|
function ga(e, t) {
|
|
2377
2377
|
var c, v, y, m;
|
|
2378
|
-
const n = be(e, t == null ? void 0 : t.in), a = n.getFullYear(), i = wt(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((v = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : v.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (y = i.locale) == null ? void 0 : y.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, l =
|
|
2378
|
+
const n = be(e, t == null ? void 0 : t.in), a = n.getFullYear(), i = wt(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((v = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : v.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (y = i.locale) == null ? void 0 : y.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, l = Te((t == null ? void 0 : t.in) || e, 0);
|
|
2379
2379
|
l.setFullYear(a + 1, 0, r), l.setHours(0, 0, 0, 0);
|
|
2380
|
-
const o = nt(l, t), s =
|
|
2380
|
+
const o = nt(l, t), s = Te((t == null ? void 0 : t.in) || e, 0);
|
|
2381
2381
|
s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0);
|
|
2382
2382
|
const u = nt(s, t);
|
|
2383
2383
|
return +n >= +o ? a + 1 : +n >= +u ? a : a - 1;
|
|
2384
2384
|
}
|
|
2385
2385
|
function Pl(e, t) {
|
|
2386
2386
|
var o, s, u, c;
|
|
2387
|
-
const n = wt(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (o = t == null ? void 0 : t.locale) == null ? void 0 : o.options) == null ? void 0 : s.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = ga(e, t), r =
|
|
2387
|
+
const n = wt(), a = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (o = t == null ? void 0 : t.locale) == null ? void 0 : o.options) == null ? void 0 : s.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = ga(e, t), r = Te((t == null ? void 0 : t.in) || e, 0);
|
|
2388
2388
|
return r.setFullYear(i, 0, a), r.setHours(0, 0, 0, 0), nt(r, t);
|
|
2389
2389
|
}
|
|
2390
2390
|
function Wl(e, t) {
|
|
2391
2391
|
const n = be(e, t == null ? void 0 : t.in), a = +nt(n, t) - +Pl(n, t);
|
|
2392
2392
|
return Math.round(a / fa) + 1;
|
|
2393
2393
|
}
|
|
2394
|
-
function
|
|
2394
|
+
function ee(e, t) {
|
|
2395
2395
|
const n = e < 0 ? "-" : "", a = Math.abs(e).toString().padStart(t, "0");
|
|
2396
2396
|
return n + a;
|
|
2397
2397
|
}
|
|
@@ -2399,16 +2399,16 @@ const Ee = {
|
|
|
2399
2399
|
// Year
|
|
2400
2400
|
y(e, t) {
|
|
2401
2401
|
const n = e.getFullYear(), a = n > 0 ? n : 1 - n;
|
|
2402
|
-
return
|
|
2402
|
+
return ee(t === "yy" ? a % 100 : a, t.length);
|
|
2403
2403
|
},
|
|
2404
2404
|
// Month
|
|
2405
2405
|
M(e, t) {
|
|
2406
2406
|
const n = e.getMonth();
|
|
2407
|
-
return t === "M" ? String(n + 1) :
|
|
2407
|
+
return t === "M" ? String(n + 1) : ee(n + 1, 2);
|
|
2408
2408
|
},
|
|
2409
2409
|
// Day of the month
|
|
2410
2410
|
d(e, t) {
|
|
2411
|
-
return
|
|
2411
|
+
return ee(e.getDate(), t.length);
|
|
2412
2412
|
},
|
|
2413
2413
|
// AM or PM
|
|
2414
2414
|
a(e, t) {
|
|
@@ -2428,26 +2428,26 @@ const Ee = {
|
|
|
2428
2428
|
},
|
|
2429
2429
|
// Hour [1-12]
|
|
2430
2430
|
h(e, t) {
|
|
2431
|
-
return
|
|
2431
|
+
return ee(e.getHours() % 12 || 12, t.length);
|
|
2432
2432
|
},
|
|
2433
2433
|
// Hour [0-23]
|
|
2434
2434
|
H(e, t) {
|
|
2435
|
-
return
|
|
2435
|
+
return ee(e.getHours(), t.length);
|
|
2436
2436
|
},
|
|
2437
2437
|
// Minute
|
|
2438
2438
|
m(e, t) {
|
|
2439
|
-
return
|
|
2439
|
+
return ee(e.getMinutes(), t.length);
|
|
2440
2440
|
},
|
|
2441
2441
|
// Second
|
|
2442
2442
|
s(e, t) {
|
|
2443
|
-
return
|
|
2443
|
+
return ee(e.getSeconds(), t.length);
|
|
2444
2444
|
},
|
|
2445
2445
|
// Fraction of second
|
|
2446
2446
|
S(e, t) {
|
|
2447
2447
|
const n = t.length, a = e.getMilliseconds(), i = Math.trunc(
|
|
2448
2448
|
a * Math.pow(10, n - 3)
|
|
2449
2449
|
);
|
|
2450
|
-
return
|
|
2450
|
+
return ee(i, t.length);
|
|
2451
2451
|
}
|
|
2452
2452
|
}, Se = {
|
|
2453
2453
|
midnight: "midnight",
|
|
@@ -2488,14 +2488,14 @@ const Ee = {
|
|
|
2488
2488
|
const i = ga(e, a), r = i > 0 ? i : 1 - i;
|
|
2489
2489
|
if (t === "YY") {
|
|
2490
2490
|
const l = r % 100;
|
|
2491
|
-
return
|
|
2491
|
+
return ee(l, 2);
|
|
2492
2492
|
}
|
|
2493
|
-
return t === "Yo" ? n.ordinalNumber(r, { unit: "year" }) :
|
|
2493
|
+
return t === "Yo" ? n.ordinalNumber(r, { unit: "year" }) : ee(r, t.length);
|
|
2494
2494
|
},
|
|
2495
2495
|
// ISO week-numbering year
|
|
2496
2496
|
R: function(e, t) {
|
|
2497
2497
|
const n = va(e);
|
|
2498
|
-
return
|
|
2498
|
+
return ee(n, t.length);
|
|
2499
2499
|
},
|
|
2500
2500
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
2501
2501
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -2508,7 +2508,7 @@ const Ee = {
|
|
|
2508
2508
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
2509
2509
|
u: function(e, t) {
|
|
2510
2510
|
const n = e.getFullYear();
|
|
2511
|
-
return
|
|
2511
|
+
return ee(n, t.length);
|
|
2512
2512
|
},
|
|
2513
2513
|
// Quarter
|
|
2514
2514
|
Q: function(e, t, n) {
|
|
@@ -2519,7 +2519,7 @@ const Ee = {
|
|
|
2519
2519
|
return String(a);
|
|
2520
2520
|
// 01, 02, 03, 04
|
|
2521
2521
|
case "QQ":
|
|
2522
|
-
return
|
|
2522
|
+
return ee(a, 2);
|
|
2523
2523
|
// 1st, 2nd, 3rd, 4th
|
|
2524
2524
|
case "Qo":
|
|
2525
2525
|
return n.ordinalNumber(a, { unit: "quarter" });
|
|
@@ -2553,7 +2553,7 @@ const Ee = {
|
|
|
2553
2553
|
return String(a);
|
|
2554
2554
|
// 01, 02, 03, 04
|
|
2555
2555
|
case "qq":
|
|
2556
|
-
return
|
|
2556
|
+
return ee(a, 2);
|
|
2557
2557
|
// 1st, 2nd, 3rd, 4th
|
|
2558
2558
|
case "qo":
|
|
2559
2559
|
return n.ordinalNumber(a, { unit: "quarter" });
|
|
@@ -2615,7 +2615,7 @@ const Ee = {
|
|
|
2615
2615
|
return String(a + 1);
|
|
2616
2616
|
// 01, 02, ..., 12
|
|
2617
2617
|
case "LL":
|
|
2618
|
-
return
|
|
2618
|
+
return ee(a + 1, 2);
|
|
2619
2619
|
// 1st, 2nd, ..., 12th
|
|
2620
2620
|
case "Lo":
|
|
2621
2621
|
return n.ordinalNumber(a + 1, { unit: "month" });
|
|
@@ -2640,12 +2640,12 @@ const Ee = {
|
|
|
2640
2640
|
// Local week of year
|
|
2641
2641
|
w: function(e, t, n, a) {
|
|
2642
2642
|
const i = Wl(e, a);
|
|
2643
|
-
return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) :
|
|
2643
|
+
return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : ee(i, t.length);
|
|
2644
2644
|
},
|
|
2645
2645
|
// ISO week of year
|
|
2646
2646
|
I: function(e, t, n) {
|
|
2647
2647
|
const a = jl(e);
|
|
2648
|
-
return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) :
|
|
2648
|
+
return t === "Io" ? n.ordinalNumber(a, { unit: "week" }) : ee(a, t.length);
|
|
2649
2649
|
},
|
|
2650
2650
|
// Day of the month
|
|
2651
2651
|
d: function(e, t, n) {
|
|
@@ -2654,7 +2654,7 @@ const Ee = {
|
|
|
2654
2654
|
// Day of year
|
|
2655
2655
|
D: function(e, t, n) {
|
|
2656
2656
|
const a = Bl(e);
|
|
2657
|
-
return t === "Do" ? n.ordinalNumber(a, { unit: "dayOfYear" }) :
|
|
2657
|
+
return t === "Do" ? n.ordinalNumber(a, { unit: "dayOfYear" }) : ee(a, t.length);
|
|
2658
2658
|
},
|
|
2659
2659
|
// Day of week
|
|
2660
2660
|
E: function(e, t, n) {
|
|
@@ -2698,7 +2698,7 @@ const Ee = {
|
|
|
2698
2698
|
return String(r);
|
|
2699
2699
|
// Padded numerical value
|
|
2700
2700
|
case "ee":
|
|
2701
|
-
return
|
|
2701
|
+
return ee(r, 2);
|
|
2702
2702
|
// 1st, 2nd, ..., 7th
|
|
2703
2703
|
case "eo":
|
|
2704
2704
|
return n.ordinalNumber(r, { unit: "day" });
|
|
@@ -2737,7 +2737,7 @@ const Ee = {
|
|
|
2737
2737
|
return String(r);
|
|
2738
2738
|
// Padded numerical value
|
|
2739
2739
|
case "cc":
|
|
2740
|
-
return
|
|
2740
|
+
return ee(r, t.length);
|
|
2741
2741
|
// 1st, 2nd, ..., 7th
|
|
2742
2742
|
case "co":
|
|
2743
2743
|
return n.ordinalNumber(r, { unit: "day" });
|
|
@@ -2776,7 +2776,7 @@ const Ee = {
|
|
|
2776
2776
|
return String(i);
|
|
2777
2777
|
// 02
|
|
2778
2778
|
case "ii":
|
|
2779
|
-
return
|
|
2779
|
+
return ee(i, t.length);
|
|
2780
2780
|
// 2nd
|
|
2781
2781
|
case "io":
|
|
2782
2782
|
return n.ordinalNumber(i, { unit: "day" });
|
|
@@ -2904,12 +2904,12 @@ const Ee = {
|
|
|
2904
2904
|
// Hour [0-11]
|
|
2905
2905
|
K: function(e, t, n) {
|
|
2906
2906
|
const a = e.getHours() % 12;
|
|
2907
|
-
return t === "Ko" ? n.ordinalNumber(a, { unit: "hour" }) :
|
|
2907
|
+
return t === "Ko" ? n.ordinalNumber(a, { unit: "hour" }) : ee(a, t.length);
|
|
2908
2908
|
},
|
|
2909
2909
|
// Hour [1-24]
|
|
2910
2910
|
k: function(e, t, n) {
|
|
2911
2911
|
let a = e.getHours();
|
|
2912
|
-
return a === 0 && (a = 24), t === "ko" ? n.ordinalNumber(a, { unit: "hour" }) :
|
|
2912
|
+
return a === 0 && (a = 24), t === "ko" ? n.ordinalNumber(a, { unit: "hour" }) : ee(a, t.length);
|
|
2913
2913
|
},
|
|
2914
2914
|
// Minute
|
|
2915
2915
|
m: function(e, t, n) {
|
|
@@ -3004,22 +3004,22 @@ const Ee = {
|
|
|
3004
3004
|
// Seconds timestamp
|
|
3005
3005
|
t: function(e, t, n) {
|
|
3006
3006
|
const a = Math.trunc(+e / 1e3);
|
|
3007
|
-
return
|
|
3007
|
+
return ee(a, t.length);
|
|
3008
3008
|
},
|
|
3009
3009
|
// Milliseconds timestamp
|
|
3010
3010
|
T: function(e, t, n) {
|
|
3011
|
-
return
|
|
3011
|
+
return ee(+e, t.length);
|
|
3012
3012
|
}
|
|
3013
3013
|
};
|
|
3014
3014
|
function xn(e, t = "") {
|
|
3015
3015
|
const n = e > 0 ? "-" : "+", a = Math.abs(e), i = Math.trunc(a / 60), r = a % 60;
|
|
3016
|
-
return r === 0 ? n + String(i) : n + String(i) + t +
|
|
3016
|
+
return r === 0 ? n + String(i) : n + String(i) + t + ee(r, 2);
|
|
3017
3017
|
}
|
|
3018
3018
|
function Ln(e, t) {
|
|
3019
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
3019
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + ee(Math.abs(e) / 60, 2) : ke(e, t);
|
|
3020
3020
|
}
|
|
3021
3021
|
function ke(e, t = "") {
|
|
3022
|
-
const n = e > 0 ? "-" : "+", a = Math.abs(e), i =
|
|
3022
|
+
const n = e > 0 ? "-" : "+", a = Math.abs(e), i = ee(Math.trunc(a / 60), 2), r = ee(a % 60, 2);
|
|
3023
3023
|
return n + i + t + r;
|
|
3024
3024
|
}
|
|
3025
3025
|
const Dn = (e, t) => {
|
|
@@ -3158,7 +3158,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3158
3158
|
hint: { default: "" },
|
|
3159
3159
|
isValid: { type: Boolean, default: !1 },
|
|
3160
3160
|
isTextarea: { type: Boolean, default: !1 },
|
|
3161
|
-
labelVisible: { type: Boolean },
|
|
3161
|
+
labelVisible: { type: Boolean, default: !0 },
|
|
3162
3162
|
label: { default: "" },
|
|
3163
3163
|
labelClass: { default: "b2-light" },
|
|
3164
3164
|
modelValue: { default: "" },
|
|
@@ -3179,7 +3179,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3179
3179
|
emits: ["update:modelValue"],
|
|
3180
3180
|
setup(e, { expose: t, emit: n }) {
|
|
3181
3181
|
ce((f) => ({
|
|
3182
|
-
|
|
3182
|
+
v30c2189c: f.width
|
|
3183
3183
|
}));
|
|
3184
3184
|
const a = n, i = E(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), r = E(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), l = E(() => !!e.errorMessage), o = E(() => u(e.minDate)), s = E(() => u(e.maxDate));
|
|
3185
3185
|
function u(f) {
|
|
@@ -3260,20 +3260,20 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3260
3260
|
}, !0)
|
|
3261
3261
|
]),
|
|
3262
3262
|
d(i).length > 0 ? (A(), g("div", so, [
|
|
3263
|
-
(A(!0), g(
|
|
3263
|
+
(A(!0), g(J, null, ae(d(i), (C, L) => (A(), g("div", {
|
|
3264
3264
|
key: L,
|
|
3265
3265
|
class: "av-input__error-message"
|
|
3266
3266
|
}, z(C), 1))), 128))
|
|
3267
3267
|
])) : w("", !0),
|
|
3268
3268
|
d(r).length > 0 ? (A(), g("div", co, [
|
|
3269
|
-
(A(!0), g(
|
|
3269
|
+
(A(!0), g(J, null, ae(d(r), (C, L) => (A(), g("div", {
|
|
3270
3270
|
key: L,
|
|
3271
3271
|
class: "av-input__valid-message"
|
|
3272
3272
|
}, z(C), 1))), 128))
|
|
3273
3273
|
])) : w("", !0)
|
|
3274
3274
|
], 2));
|
|
3275
3275
|
}
|
|
3276
|
-
}), rn = /* @__PURE__ */ Y(uo, [["__scopeId", "data-v-
|
|
3276
|
+
}), rn = /* @__PURE__ */ Y(uo, [["__scopeId", "data-v-ff068bc1"]]), Ao = {
|
|
3277
3277
|
class: "fr-search-bar",
|
|
3278
3278
|
role: "search"
|
|
3279
3279
|
}, Qn = /* @__PURE__ */ j({
|
|
@@ -3289,7 +3289,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3289
3289
|
setup(e, { emit: t }) {
|
|
3290
3290
|
const n = t;
|
|
3291
3291
|
return (a, i) => {
|
|
3292
|
-
const r = rn, l =
|
|
3292
|
+
const r = rn, l = me;
|
|
3293
3293
|
return A(), g("div", Ao, [
|
|
3294
3294
|
X(r, {
|
|
3295
3295
|
id: e.id,
|
|
@@ -3325,7 +3325,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3325
3325
|
}, po = ["aria-label", "title", "data-fr-opened"], Co = ["aria-label", "title"], Eo = {
|
|
3326
3326
|
key: 0,
|
|
3327
3327
|
class: "fr-header__service"
|
|
3328
|
-
}, Mo = { class: "fr-header__service-title" },
|
|
3328
|
+
}, Mo = { class: "fr-header__service-title" }, To = { class: "fr-header__tools" }, No = { class: "fr-header__tools-links" }, ko = {
|
|
3329
3329
|
key: 0,
|
|
3330
3330
|
class: "fr-header__search fr-modal demo-display-none"
|
|
3331
3331
|
}, wo = ["aria-label"], Oo = { class: "fr-container" }, xo = { class: "fr-header__menu-links" }, Lo = {
|
|
@@ -3357,7 +3357,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3357
3357
|
},
|
|
3358
3358
|
emits: ["update:modelValue", "search", "languageSelect"],
|
|
3359
3359
|
setup(e, { emit: t }) {
|
|
3360
|
-
const n = t, a =
|
|
3360
|
+
const n = t, a = ge(), i = Ct(() => e.languageSelector), r = q(!1), l = q(!1), o = q(!1);
|
|
3361
3361
|
function s() {
|
|
3362
3362
|
var b;
|
|
3363
3363
|
o.value = !1, r.value = !1, l.value = !1, (b = document.getElementById("button-menu")) == null || b.focus();
|
|
@@ -3394,7 +3394,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3394
3394
|
to: e.homeTo,
|
|
3395
3395
|
title: d(m)
|
|
3396
3396
|
}, {
|
|
3397
|
-
default:
|
|
3397
|
+
default: G(() => [
|
|
3398
3398
|
X(Fr, { "data-testid": "header-logo" })
|
|
3399
3399
|
]),
|
|
3400
3400
|
_: 1
|
|
@@ -3408,7 +3408,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3408
3408
|
"aria-label": e.showSearchLabel,
|
|
3409
3409
|
title: e.showSearchLabel,
|
|
3410
3410
|
"data-fr-opened": d(l),
|
|
3411
|
-
onClick: C[0] || (C[0] = de((
|
|
3411
|
+
onClick: C[0] || (C[0] = de((N) => v(), ["prevent", "stop"]))
|
|
3412
3412
|
}, null, 8, po)) : w("", !0),
|
|
3413
3413
|
d(f) || (k = e.quickLinks) != null && k.length ? (A(), g("button", {
|
|
3414
3414
|
key: 1,
|
|
@@ -3420,7 +3420,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3420
3420
|
"aria-label": e.menuLabel,
|
|
3421
3421
|
title: e.menuLabel,
|
|
3422
3422
|
"data-testid": "open-menu-btn",
|
|
3423
|
-
onClick: C[1] || (C[1] = de((
|
|
3423
|
+
onClick: C[1] || (C[1] = de((N) => c(), ["prevent", "stop"]))
|
|
3424
3424
|
}, null, 8, Co)) : w("", !0)
|
|
3425
3425
|
])) : w("", !0)
|
|
3426
3426
|
]),
|
|
@@ -3429,8 +3429,8 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3429
3429
|
H(b.$slots, "serviceDescription", {}, void 0, !0)
|
|
3430
3430
|
])) : w("", !0)
|
|
3431
3431
|
]),
|
|
3432
|
-
p("div",
|
|
3433
|
-
p("div",
|
|
3432
|
+
p("div", To, [
|
|
3433
|
+
p("div", No, [
|
|
3434
3434
|
H(b.$slots, "before-quick-links", {}, void 0, !0),
|
|
3435
3435
|
d(r) ? w("", !0) : (A(), R(Mn, {
|
|
3436
3436
|
key: 0,
|
|
@@ -3438,8 +3438,8 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3438
3438
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
3439
3439
|
}, null, 8, ["links", "nav-aria-label"])),
|
|
3440
3440
|
H(b.$slots, "after-quick-links", {}, void 0, !0),
|
|
3441
|
-
d(i) ? (A(), R(
|
|
3442
|
-
onSelect: C[2] || (C[2] = (
|
|
3441
|
+
d(i) ? (A(), R(Tn, te({ key: 1 }, d(i), {
|
|
3442
|
+
onSelect: C[2] || (C[2] = (N) => n("languageSelect", N))
|
|
3443
3443
|
}), null, 16)) : w("", !0)
|
|
3444
3444
|
]),
|
|
3445
3445
|
e.showSearch ? (A(), g("div", ko, [
|
|
@@ -3449,8 +3449,8 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3449
3449
|
"model-value": e.modelValue,
|
|
3450
3450
|
placeholder: e.placeholder,
|
|
3451
3451
|
style: { "justify-content": "flex-end" },
|
|
3452
|
-
"onUpdate:modelValue": C[3] || (C[3] = (
|
|
3453
|
-
onSearch: C[4] || (C[4] = (
|
|
3452
|
+
"onUpdate:modelValue": C[3] || (C[3] = (N) => n("update:modelValue", N)),
|
|
3453
|
+
onSearch: C[4] || (C[4] = (N) => n("search", N))
|
|
3454
3454
|
}, null, 8, ["id", "label", "model-value", "placeholder"])
|
|
3455
3455
|
])) : w("", !0)
|
|
3456
3456
|
])
|
|
@@ -3469,11 +3469,11 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3469
3469
|
class: "fr-btn fr-btn--close",
|
|
3470
3470
|
"aria-controls": "header-navigation",
|
|
3471
3471
|
"data-testid": "close-modal-btn",
|
|
3472
|
-
onClick: C[5] || (C[5] = de((
|
|
3472
|
+
onClick: C[5] || (C[5] = de((N) => s(), ["prevent", "stop"]))
|
|
3473
3473
|
}, z(e.closeMenuModalLabel), 1),
|
|
3474
3474
|
p("div", xo, [
|
|
3475
|
-
d(i) ? (A(), R(
|
|
3476
|
-
onSelect: C[6] || (C[6] = (
|
|
3475
|
+
d(i) ? (A(), R(Tn, te({ key: 0 }, d(i), {
|
|
3476
|
+
onSelect: C[6] || (C[6] = (N) => d(i).currentLanguage = N.codeIso)
|
|
3477
3477
|
}), null, 16)) : w("", !0),
|
|
3478
3478
|
H(b.$slots, "before-quick-links", {}, void 0, !0),
|
|
3479
3479
|
d(r) ? (A(), R(Mn, {
|
|
@@ -3494,8 +3494,8 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3494
3494
|
"searchbar-id": e.searchbarId,
|
|
3495
3495
|
"model-value": e.modelValue,
|
|
3496
3496
|
placeholder: e.placeholder,
|
|
3497
|
-
"onUpdate:modelValue": C[7] || (C[7] = (
|
|
3498
|
-
onSearch: C[8] || (C[8] = (
|
|
3497
|
+
"onUpdate:modelValue": C[7] || (C[7] = (N) => n("update:modelValue", N)),
|
|
3498
|
+
onSearch: C[8] || (C[8] = (N) => n("search", N))
|
|
3499
3499
|
}, null, 8, ["searchbar-id", "model-value", "placeholder"])
|
|
3500
3500
|
])) : w("", !0)
|
|
3501
3501
|
])
|
|
@@ -3511,7 +3511,7 @@ const no = { class: "av-input__wrapper" }, ao = {
|
|
|
3511
3511
|
]);
|
|
3512
3512
|
};
|
|
3513
3513
|
}
|
|
3514
|
-
}),
|
|
3514
|
+
}), _f = /* @__PURE__ */ Y(So, [["__scopeId", "data-v-e54683cc"]]), zo = {
|
|
3515
3515
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3516
3516
|
viewBox: "0 0 106.703 44.429"
|
|
3517
3517
|
};
|
|
@@ -3548,7 +3548,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3548
3548
|
X(d(jo), te(d(t), { class: "logo" }), null, 16)
|
|
3549
3549
|
]));
|
|
3550
3550
|
}
|
|
3551
|
-
}),
|
|
3551
|
+
}), ev = /* @__PURE__ */ Y(Wo, [["__scopeId", "data-v-0e512b24"]]), Vo = Symbol("header"), ln = Symbol("tabs"), on = () => {
|
|
3552
3552
|
const e = q(), t = q(!1), n = q(!1), a = () => {
|
|
3553
3553
|
if (!e.value)
|
|
3554
3554
|
return;
|
|
@@ -3622,7 +3622,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3622
3622
|
onTransitionend: s[1] || (s[1] = (c) => d(r)(l.value))
|
|
3623
3623
|
}, [
|
|
3624
3624
|
p("ol", qo, [
|
|
3625
|
-
(A(!0), g(
|
|
3625
|
+
(A(!0), g(J, null, ae(o.links, (c, v) => (A(), g("li", {
|
|
3626
3626
|
key: v,
|
|
3627
3627
|
class: "fr-breadcrumb__item",
|
|
3628
3628
|
"data-testid": "lis"
|
|
@@ -3633,7 +3633,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3633
3633
|
to: c.to,
|
|
3634
3634
|
"aria-current": v === o.links.length - 1 ? "page" : void 0
|
|
3635
3635
|
}, {
|
|
3636
|
-
default:
|
|
3636
|
+
default: G(() => [
|
|
3637
3637
|
le(z(c.text), 1)
|
|
3638
3638
|
]),
|
|
3639
3639
|
_: 2
|
|
@@ -3778,7 +3778,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3778
3778
|
var b;
|
|
3779
3779
|
let C = 0;
|
|
3780
3780
|
await new Promise((L) => setTimeout(L, 100)), (b = n.value) == null || b.querySelectorAll(".fr-btn").forEach((L) => {
|
|
3781
|
-
const D = L, k = D.offsetWidth,
|
|
3781
|
+
const D = L, k = D.offsetWidth, N = window.getComputedStyle(D), S = +N.marginLeft.replace("px", ""), x = +N.marginRight.replace("px", "");
|
|
3782
3782
|
D.style.width = "var(--equisized-width)";
|
|
3783
3783
|
const W = k + S + x;
|
|
3784
3784
|
W > C && (C = W);
|
|
@@ -3805,7 +3805,7 @@ const jo = { render: Bo }, Po = { class: "svg-wrapper" }, Wo = /* @__PURE__ */ j
|
|
|
3805
3805
|
}]),
|
|
3806
3806
|
"data-testid": "fr-btns"
|
|
3807
3807
|
}, [
|
|
3808
|
-
(A(!0), g(
|
|
3808
|
+
(A(!0), g(J, null, ae(b.buttons, ({ onClick: L, ...D }, k) => (A(), g("li", { key: k }, [
|
|
3809
3809
|
X(Jo, te({ ref_for: !0 }, D, { onClick: L }), null, 16, ["onClick"])
|
|
3810
3810
|
]))), 128)),
|
|
3811
3811
|
H(b.$slots, "default")
|
|
@@ -4094,11 +4094,11 @@ var jn = {
|
|
|
4094
4094
|
}
|
|
4095
4095
|
}, Ms = function(e) {
|
|
4096
4096
|
return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
|
|
4097
|
-
},
|
|
4097
|
+
}, Ts = function(e) {
|
|
4098
4098
|
return (e == null ? void 0 : e.key) === "Escape" || (e == null ? void 0 : e.key) === "Esc" || (e == null ? void 0 : e.keyCode) === 27;
|
|
4099
4099
|
}, $e = function(e) {
|
|
4100
4100
|
return (e == null ? void 0 : e.key) === "Tab" || (e == null ? void 0 : e.keyCode) === 9;
|
|
4101
|
-
},
|
|
4101
|
+
}, Ns = function(e) {
|
|
4102
4102
|
return $e(e) && !e.shiftKey;
|
|
4103
4103
|
}, ks = function(e) {
|
|
4104
4104
|
return $e(e) && e.shiftKey;
|
|
@@ -4115,7 +4115,7 @@ var jn = {
|
|
|
4115
4115
|
returnFocusOnDeactivate: !0,
|
|
4116
4116
|
escapeDeactivates: !0,
|
|
4117
4117
|
delayInitialFocus: !0,
|
|
4118
|
-
isKeyForward:
|
|
4118
|
+
isKeyForward: Ns,
|
|
4119
4119
|
isKeyBackward: ks
|
|
4120
4120
|
}, t), r = {
|
|
4121
4121
|
// containers given to createFocusTrap()
|
|
@@ -4158,8 +4158,8 @@ var jn = {
|
|
|
4158
4158
|
return h && h[M] !== void 0 ? h[M] : i[I || M];
|
|
4159
4159
|
}, s = function(h, M) {
|
|
4160
4160
|
var I = typeof (M == null ? void 0 : M.composedPath) == "function" ? M.composedPath() : void 0;
|
|
4161
|
-
return r.containerGroups.findIndex(function(
|
|
4162
|
-
var O =
|
|
4161
|
+
return r.containerGroups.findIndex(function(T) {
|
|
4162
|
+
var O = T.container, V = T.tabbableNodes;
|
|
4163
4163
|
return O.contains(h) || // fall back to explicit tabbable search which will take into consideration any
|
|
4164
4164
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
4165
4165
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
@@ -4169,7 +4169,7 @@ var jn = {
|
|
|
4169
4169
|
});
|
|
4170
4170
|
});
|
|
4171
4171
|
}, u = function(h) {
|
|
4172
|
-
var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = M.hasFallback,
|
|
4172
|
+
var M = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = M.hasFallback, T = I === void 0 ? !1 : I, O = M.params, V = O === void 0 ? [] : O, P = i[h];
|
|
4173
4173
|
if (typeof P == "function" && (P = P.apply(void 0, ys(V))), P === !0 && (P = void 0), !P) {
|
|
4174
4174
|
if (P === void 0 || P === !1)
|
|
4175
4175
|
return P;
|
|
@@ -4182,7 +4182,7 @@ var jn = {
|
|
|
4182
4182
|
} catch (U) {
|
|
4183
4183
|
throw new Error("`".concat(h, '` appears to be an invalid selector; error="').concat(U.message, '"'));
|
|
4184
4184
|
}
|
|
4185
|
-
if (!Z && !
|
|
4185
|
+
if (!Z && !T)
|
|
4186
4186
|
throw new Error("`".concat(h, "` as selector refers to no known node"));
|
|
4187
4187
|
}
|
|
4188
4188
|
return Z;
|
|
@@ -4205,7 +4205,7 @@ var jn = {
|
|
|
4205
4205
|
return h;
|
|
4206
4206
|
}, v = function() {
|
|
4207
4207
|
if (r.containerGroups = r.containers.map(function(h) {
|
|
4208
|
-
var M = fs(h, i.tabbableOptions), I = vs(h, i.tabbableOptions),
|
|
4208
|
+
var M = fs(h, i.tabbableOptions), I = vs(h, i.tabbableOptions), T = M.length > 0 ? M[0] : void 0, O = M.length > 0 ? M[M.length - 1] : void 0, V = I.find(function(U) {
|
|
4209
4209
|
return ze(U);
|
|
4210
4210
|
}), P = I.slice().reverse().find(function(U) {
|
|
4211
4211
|
return ze(U);
|
|
@@ -4219,7 +4219,7 @@ var jn = {
|
|
|
4219
4219
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
4220
4220
|
posTabIndexesFound: Z,
|
|
4221
4221
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
4222
|
-
firstTabbableNode:
|
|
4222
|
+
firstTabbableNode: T,
|
|
4223
4223
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
4224
4224
|
lastTabbableNode: O,
|
|
4225
4225
|
// NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
|
|
@@ -4242,12 +4242,12 @@ var jn = {
|
|
|
4242
4242
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
4243
4243
|
*/
|
|
4244
4244
|
nextTabbableNode: function(U) {
|
|
4245
|
-
var
|
|
4246
|
-
return ne < 0 ?
|
|
4245
|
+
var _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ne = M.indexOf(U);
|
|
4246
|
+
return ne < 0 ? _ ? I.slice(I.indexOf(U) + 1).find(function(oe) {
|
|
4247
4247
|
return ze(oe);
|
|
4248
4248
|
}) : I.slice(0, I.indexOf(U)).reverse().find(function(oe) {
|
|
4249
4249
|
return ze(oe);
|
|
4250
|
-
}) : M[ne + (
|
|
4250
|
+
}) : M[ne + (_ ? 1 : -1)];
|
|
4251
4251
|
}
|
|
4252
4252
|
};
|
|
4253
4253
|
}), r.tabbableGroups = r.containerGroups.filter(function(h) {
|
|
@@ -4278,7 +4278,7 @@ var jn = {
|
|
|
4278
4278
|
});
|
|
4279
4279
|
return M || (M === !1 ? !1 : h);
|
|
4280
4280
|
}, b = function(h) {
|
|
4281
|
-
var M = h.target, I = h.event,
|
|
4281
|
+
var M = h.target, I = h.event, T = h.isBackward, O = T === void 0 ? !1 : T;
|
|
4282
4282
|
M = M || it(I), v();
|
|
4283
4283
|
var V = null;
|
|
4284
4284
|
if (r.tabbableGroups.length > 0) {
|
|
@@ -4291,7 +4291,7 @@ var jn = {
|
|
|
4291
4291
|
return M === Qe;
|
|
4292
4292
|
});
|
|
4293
4293
|
if (U < 0 && (Z.container === M || zt(M, i.tabbableOptions) && !ze(M, i.tabbableOptions) && !Z.nextTabbableNode(M, !1)) && (U = P), U >= 0) {
|
|
4294
|
-
var
|
|
4294
|
+
var _ = U === 0 ? r.tabbableGroups.length - 1 : U - 1, ne = r.tabbableGroups[_];
|
|
4295
4295
|
V = we(M) >= 0 ? ne.lastTabbableNode : ne.lastDomTabbableNode;
|
|
4296
4296
|
} else $e(I) || (V = Z.nextTabbableNode(M, !1));
|
|
4297
4297
|
} else {
|
|
@@ -4300,8 +4300,8 @@ var jn = {
|
|
|
4300
4300
|
return M === Qe;
|
|
4301
4301
|
});
|
|
4302
4302
|
if (oe < 0 && (Z.container === M || zt(M, i.tabbableOptions) && !ze(M, i.tabbableOptions) && !Z.nextTabbableNode(M)) && (oe = P), oe >= 0) {
|
|
4303
|
-
var
|
|
4304
|
-
V = we(M) >= 0 ?
|
|
4303
|
+
var Ne = oe === r.tabbableGroups.length - 1 ? 0 : oe + 1, he = r.tabbableGroups[Ne];
|
|
4304
|
+
V = we(M) >= 0 ? he.firstTabbableNode : he.firstDomTabbableNode;
|
|
4305
4305
|
} else $e(I) || (V = Z.nextTabbableNode(M));
|
|
4306
4306
|
}
|
|
4307
4307
|
} else
|
|
@@ -4330,7 +4330,7 @@ var jn = {
|
|
|
4330
4330
|
I && (r.mostRecentlyFocusedNode = M);
|
|
4331
4331
|
else {
|
|
4332
4332
|
h.stopImmediatePropagation();
|
|
4333
|
-
var
|
|
4333
|
+
var T, O = !0;
|
|
4334
4334
|
if (r.mostRecentlyFocusedNode)
|
|
4335
4335
|
if (we(r.mostRecentlyFocusedNode) > 0) {
|
|
4336
4336
|
var V = s(r.mostRecentlyFocusedNode), P = r.containerGroups[V].tabbableNodes;
|
|
@@ -4338,22 +4338,22 @@ var jn = {
|
|
|
4338
4338
|
var Z = P.findIndex(function(U) {
|
|
4339
4339
|
return U === r.mostRecentlyFocusedNode;
|
|
4340
4340
|
});
|
|
4341
|
-
Z >= 0 && (i.isKeyForward(r.recentNavEvent) ? Z + 1 < P.length && (
|
|
4341
|
+
Z >= 0 && (i.isKeyForward(r.recentNavEvent) ? Z + 1 < P.length && (T = P[Z + 1], O = !1) : Z - 1 >= 0 && (T = P[Z - 1], O = !1));
|
|
4342
4342
|
}
|
|
4343
4343
|
} else
|
|
4344
4344
|
r.containerGroups.some(function(U) {
|
|
4345
|
-
return U.tabbableNodes.some(function(
|
|
4346
|
-
return we(
|
|
4345
|
+
return U.tabbableNodes.some(function(_) {
|
|
4346
|
+
return we(_) > 0;
|
|
4347
4347
|
});
|
|
4348
4348
|
}) || (O = !1);
|
|
4349
4349
|
else
|
|
4350
4350
|
O = !1;
|
|
4351
|
-
O && (
|
|
4351
|
+
O && (T = b({
|
|
4352
4352
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
|
4353
4353
|
// outside the trap causing the focus escape we're trying to fix)
|
|
4354
4354
|
target: r.mostRecentlyFocusedNode,
|
|
4355
4355
|
isBackward: i.isKeyBackward(r.recentNavEvent)
|
|
4356
|
-
})), m(
|
|
4356
|
+
})), m(T || r.mostRecentlyFocusedNode || c());
|
|
4357
4357
|
}
|
|
4358
4358
|
r.recentNavEvent = void 0;
|
|
4359
4359
|
}, D = function(h) {
|
|
@@ -4366,8 +4366,8 @@ var jn = {
|
|
|
4366
4366
|
I && ($e(h) && h.preventDefault(), m(I));
|
|
4367
4367
|
}, k = function(h) {
|
|
4368
4368
|
(i.isKeyForward(h) || i.isKeyBackward(h)) && D(h, i.isKeyBackward(h));
|
|
4369
|
-
},
|
|
4370
|
-
|
|
4369
|
+
}, N = function(h) {
|
|
4370
|
+
Ts(h) && Ye(i.escapeDeactivates, h) !== !1 && (h.preventDefault(), l.deactivate());
|
|
4371
4371
|
}, S = function(h) {
|
|
4372
4372
|
var M = it(h);
|
|
4373
4373
|
s(M, h) >= 0 || Ye(i.clickOutsideDeactivates, h) || Ye(i.allowOutsideClick, h) || (h.preventDefault(), h.stopImmediatePropagation());
|
|
@@ -4387,14 +4387,14 @@ var jn = {
|
|
|
4387
4387
|
}), n.addEventListener("keydown", k, {
|
|
4388
4388
|
capture: !0,
|
|
4389
4389
|
passive: !1
|
|
4390
|
-
}), n.addEventListener("keydown",
|
|
4390
|
+
}), n.addEventListener("keydown", N), l;
|
|
4391
4391
|
}, W = function() {
|
|
4392
4392
|
if (r.active)
|
|
4393
|
-
return n.removeEventListener("focusin", L, !0), n.removeEventListener("mousedown", C, !0), n.removeEventListener("touchstart", C, !0), n.removeEventListener("click", S, !0), n.removeEventListener("keydown", k, !0), n.removeEventListener("keydown",
|
|
4393
|
+
return n.removeEventListener("focusin", L, !0), n.removeEventListener("mousedown", C, !0), n.removeEventListener("touchstart", C, !0), n.removeEventListener("click", S, !0), n.removeEventListener("keydown", k, !0), n.removeEventListener("keydown", N), l;
|
|
4394
4394
|
}, K = function(h) {
|
|
4395
4395
|
var M = h.some(function(I) {
|
|
4396
|
-
var
|
|
4397
|
-
return
|
|
4396
|
+
var T = Array.from(I.removedNodes);
|
|
4397
|
+
return T.some(function(O) {
|
|
4398
4398
|
return O === r.mostRecentlyFocusedNode;
|
|
4399
4399
|
});
|
|
4400
4400
|
});
|
|
@@ -4417,12 +4417,12 @@ var jn = {
|
|
|
4417
4417
|
activate: function(h) {
|
|
4418
4418
|
if (r.active)
|
|
4419
4419
|
return this;
|
|
4420
|
-
var M = o(h, "onActivate"), I = o(h, "onPostActivate"),
|
|
4421
|
-
|
|
4420
|
+
var M = o(h, "onActivate"), I = o(h, "onPostActivate"), T = o(h, "checkCanFocusTrap");
|
|
4421
|
+
T || v(), r.active = !0, r.paused = !1, r.nodeFocusedBeforeActivation = n.activeElement, M == null || M();
|
|
4422
4422
|
var O = function() {
|
|
4423
|
-
|
|
4423
|
+
T && v(), x(), B(), I == null || I();
|
|
4424
4424
|
};
|
|
4425
|
-
return
|
|
4425
|
+
return T ? (T(r.containers.concat()).then(O, O), this) : (O(), this);
|
|
4426
4426
|
},
|
|
4427
4427
|
deactivate: function(h) {
|
|
4428
4428
|
if (!r.active)
|
|
@@ -4433,11 +4433,11 @@ var jn = {
|
|
|
4433
4433
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
4434
4434
|
}, h);
|
|
4435
4435
|
clearTimeout(r.delayInitialFocusTimer), r.delayInitialFocusTimer = void 0, W(), r.active = !1, r.paused = !1, B(), jn.deactivateTrap(a, l);
|
|
4436
|
-
var I = o(M, "onDeactivate"),
|
|
4436
|
+
var I = o(M, "onDeactivate"), T = o(M, "onPostDeactivate"), O = o(M, "checkCanReturnFocus"), V = o(M, "returnFocus", "returnFocusOnDeactivate");
|
|
4437
4437
|
I == null || I();
|
|
4438
4438
|
var P = function() {
|
|
4439
4439
|
Pn(function() {
|
|
4440
|
-
V && m(f(r.nodeFocusedBeforeActivation)),
|
|
4440
|
+
V && m(f(r.nodeFocusedBeforeActivation)), T == null || T();
|
|
4441
4441
|
});
|
|
4442
4442
|
};
|
|
4443
4443
|
return V && O ? (O(f(r.nodeFocusedBeforeActivation)).then(P, P), this) : (P(), this);
|
|
@@ -4465,8 +4465,8 @@ var jn = {
|
|
|
4465
4465
|
if (r.paused === h)
|
|
4466
4466
|
return this;
|
|
4467
4467
|
if (r.paused = h, h) {
|
|
4468
|
-
var I = o(M, "onPause"),
|
|
4469
|
-
I == null || I(), W(), B(),
|
|
4468
|
+
var I = o(M, "onPause"), T = o(M, "onPostPause");
|
|
4469
|
+
I == null || I(), W(), B(), T == null || T();
|
|
4470
4470
|
} else {
|
|
4471
4471
|
var O = o(M, "onUnpause"), V = o(M, "onPostUnpause");
|
|
4472
4472
|
O == null || O(), v(), x(), B(), V == null || V();
|
|
@@ -4625,7 +4625,7 @@ const xs = {
|
|
|
4625
4625
|
() => y.value ? void 0 : typeof n.icon == "string" ? { name: n.icon, scale: Wn } : { scale: Wn, ...n.icon ?? {} }
|
|
4626
4626
|
);
|
|
4627
4627
|
return (f, b) => f.opened ? (A(), R(d(Ls), { key: 0 }, {
|
|
4628
|
-
default:
|
|
4628
|
+
default: G(() => {
|
|
4629
4629
|
var C, L;
|
|
4630
4630
|
return [
|
|
4631
4631
|
p("dialog", {
|
|
@@ -4751,7 +4751,7 @@ const xs = {
|
|
|
4751
4751
|
d(l)(), o.$emit("toggleId", o.id), (v = o.onClick) == null || v.call(o, c);
|
|
4752
4752
|
})
|
|
4753
4753
|
}, {
|
|
4754
|
-
default:
|
|
4754
|
+
default: G(() => [
|
|
4755
4755
|
o.icon && i.value ? (A(), R(Ot, Ue(te({ key: 0 }, i.value)), null, 16)) : w("", !0),
|
|
4756
4756
|
le(" " + z(o.text), 1)
|
|
4757
4757
|
]),
|
|
@@ -4777,7 +4777,7 @@ const xs = {
|
|
|
4777
4777
|
}, z(t.title), 1)
|
|
4778
4778
|
]),
|
|
4779
4779
|
p("ul", Ks, [
|
|
4780
|
-
(A(!0), g(
|
|
4780
|
+
(A(!0), g(J, null, ae(t.links, (a, i) => (A(), g("li", {
|
|
4781
4781
|
key: i,
|
|
4782
4782
|
class: "fr-nav__link"
|
|
4783
4783
|
}, [
|
|
@@ -4812,7 +4812,7 @@ const xs = {
|
|
|
4812
4812
|
o.value && r(!0);
|
|
4813
4813
|
}), (s, u) => {
|
|
4814
4814
|
const c = Mt("RouterLink");
|
|
4815
|
-
return A(), g(
|
|
4815
|
+
return A(), g(J, null, [
|
|
4816
4816
|
p("button", {
|
|
4817
4817
|
class: "fr-nav__btn",
|
|
4818
4818
|
"aria-expanded": o.value,
|
|
@@ -4851,7 +4851,7 @@ const xs = {
|
|
|
4851
4851
|
class: "fr-link fr-icon-arrow-right-line fr-link--icon-right fr-link--align-on-content",
|
|
4852
4852
|
to: s.link.to
|
|
4853
4853
|
}, {
|
|
4854
|
-
default:
|
|
4854
|
+
default: G(() => [
|
|
4855
4855
|
le(z(s.link.text), 1)
|
|
4856
4856
|
]),
|
|
4857
4857
|
_: 1
|
|
@@ -4859,7 +4859,7 @@ const xs = {
|
|
|
4859
4859
|
])
|
|
4860
4860
|
]),
|
|
4861
4861
|
H(s.$slots, "default", {}, void 0, !0),
|
|
4862
|
-
(A(!0), g(
|
|
4862
|
+
(A(!0), g(J, null, ae(s.menus, (v, y) => (A(), R(Gs, te({
|
|
4863
4863
|
key: y,
|
|
4864
4864
|
ref_for: !0
|
|
4865
4865
|
}, v), null, 16))), 128))
|
|
@@ -4906,7 +4906,7 @@ const xs = {
|
|
|
4906
4906
|
s !== u && r(s);
|
|
4907
4907
|
}), ue(() => {
|
|
4908
4908
|
o.value && r(!0);
|
|
4909
|
-
}), (s, u) => (A(), g(
|
|
4909
|
+
}), (s, u) => (A(), g(J, null, [
|
|
4910
4910
|
p("button", {
|
|
4911
4911
|
class: "fr-nav__btn",
|
|
4912
4912
|
"aria-expanded": o.value,
|
|
@@ -4926,8 +4926,8 @@ const xs = {
|
|
|
4926
4926
|
}, [
|
|
4927
4927
|
p("ul", dc, [
|
|
4928
4928
|
H(s.$slots, "default"),
|
|
4929
|
-
(A(!0), g(
|
|
4930
|
-
default:
|
|
4929
|
+
(A(!0), g(J, null, ae(s.links, (c, v) => (A(), R(sc, { key: v }, {
|
|
4930
|
+
default: G(() => [
|
|
4931
4931
|
X(sn, te({ ref_for: !0 }, c, {
|
|
4932
4932
|
onToggleId: u[1] || (u[1] = (y) => s.$emit("toggleId", s.expandedId))
|
|
4933
4933
|
}), null, 16)
|
|
@@ -4977,11 +4977,11 @@ const xs = {
|
|
|
4977
4977
|
}, [
|
|
4978
4978
|
p("ul", vc, [
|
|
4979
4979
|
H(o.$slots, "default"),
|
|
4980
|
-
(A(!0), g(
|
|
4980
|
+
(A(!0), g(J, null, ae(o.navItems, (u, c) => (A(), R(Rs, {
|
|
4981
4981
|
id: u.id,
|
|
4982
4982
|
key: c
|
|
4983
4983
|
}, {
|
|
4984
|
-
default:
|
|
4984
|
+
default: G(() => [
|
|
4985
4985
|
u.to && u.text ? (A(), R(sn, te({
|
|
4986
4986
|
key: 0,
|
|
4987
4987
|
ref_for: !0
|
|
@@ -5071,7 +5071,7 @@ const xs = {
|
|
|
5071
5071
|
value: "",
|
|
5072
5072
|
hidden: ""
|
|
5073
5073
|
}, z(i.defaultUnselectedText), 9, yc),
|
|
5074
|
-
(A(!0), g(
|
|
5074
|
+
(A(!0), g(J, null, ae(i.options, (l, o) => (A(), g("option", {
|
|
5075
5075
|
key: o,
|
|
5076
5076
|
selected: i.modelValue === l || typeof l == "object" && l.value === i.modelValue,
|
|
5077
5077
|
value: typeof l == "object" ? l.value : l,
|
|
@@ -5086,7 +5086,7 @@ const xs = {
|
|
|
5086
5086
|
}, z(n.value), 11, Cc)) : w("", !0)
|
|
5087
5087
|
], 2));
|
|
5088
5088
|
}
|
|
5089
|
-
}), Mc = ["id", "aria-labelledby", "tabindex"],
|
|
5089
|
+
}), Mc = ["id", "aria-labelledby", "tabindex"], Tc = /* @__PURE__ */ j({
|
|
5090
5090
|
__name: "DsfrTabContent",
|
|
5091
5091
|
props: {
|
|
5092
5092
|
panelId: {},
|
|
@@ -5102,7 +5102,7 @@ const xs = {
|
|
|
5102
5102
|
name: "slide-fade",
|
|
5103
5103
|
mode: "in-out"
|
|
5104
5104
|
}, {
|
|
5105
|
-
default:
|
|
5105
|
+
default: G(() => [
|
|
5106
5106
|
Jn(p("div", {
|
|
5107
5107
|
id: s.panelId,
|
|
5108
5108
|
class: F(["fr-tabs__panel", {
|
|
@@ -5120,10 +5120,10 @@ const xs = {
|
|
|
5120
5120
|
_: 3
|
|
5121
5121
|
}));
|
|
5122
5122
|
}
|
|
5123
|
-
}), Ma = /* @__PURE__ */ He(
|
|
5123
|
+
}), Ma = /* @__PURE__ */ He(Tc, [["__scopeId", "data-v-5774b16c"]]), Nc = { role: "presentation" }, kc = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], wc = {
|
|
5124
5124
|
key: 0,
|
|
5125
5125
|
style: { "margin-left": "-0.25rem", "margin-right": "0.5rem", "font-size": "0.95rem" }
|
|
5126
|
-
},
|
|
5126
|
+
}, Ta = /* @__PURE__ */ j({
|
|
5127
5127
|
__name: "DsfrTabItem",
|
|
5128
5128
|
props: {
|
|
5129
5129
|
panelId: {},
|
|
@@ -5146,7 +5146,7 @@ const xs = {
|
|
|
5146
5146
|
return ie(s, () => {
|
|
5147
5147
|
var c;
|
|
5148
5148
|
s.value && ((c = u.value) == null || c.focus());
|
|
5149
|
-
}), (c, v) => (A(), g("li",
|
|
5149
|
+
}), (c, v) => (A(), g("li", Nc, [
|
|
5150
5150
|
p("button", te(c.$attrs, {
|
|
5151
5151
|
id: c.tabId,
|
|
5152
5152
|
ref_key: "button",
|
|
@@ -5180,61 +5180,61 @@ const xs = {
|
|
|
5180
5180
|
setup(e, { expose: t, emit: n }) {
|
|
5181
5181
|
const a = e, i = n, r = q(!1), l = E({
|
|
5182
5182
|
get: () => a.modelValue,
|
|
5183
|
-
set(
|
|
5184
|
-
i("update:modelValue",
|
|
5183
|
+
set(N) {
|
|
5184
|
+
i("update:modelValue", N);
|
|
5185
5185
|
}
|
|
5186
5186
|
}), o = q(/* @__PURE__ */ new Map()), s = q(0);
|
|
5187
|
-
Et(ln, (
|
|
5187
|
+
Et(ln, (N) => {
|
|
5188
5188
|
const S = q(!0);
|
|
5189
5189
|
if (ie(l, (K, Q) => {
|
|
5190
5190
|
S.value = K > Q;
|
|
5191
|
-
}), [...o.value.values()].includes(
|
|
5192
|
-
return { isVisible: E(() => o.value.get(l.value) ===
|
|
5191
|
+
}), [...o.value.values()].includes(N.value))
|
|
5192
|
+
return { isVisible: E(() => o.value.get(l.value) === N.value), asc: S };
|
|
5193
5193
|
const x = s.value++;
|
|
5194
|
-
o.value.set(x,
|
|
5194
|
+
o.value.set(x, N.value);
|
|
5195
5195
|
const W = E(() => x === l.value);
|
|
5196
|
-
return ie(
|
|
5197
|
-
o.value.set(x,
|
|
5196
|
+
return ie(N, () => {
|
|
5197
|
+
o.value.set(x, N.value);
|
|
5198
5198
|
}), ve(() => {
|
|
5199
5199
|
o.value.delete(x);
|
|
5200
5200
|
}), { isVisible: W };
|
|
5201
5201
|
});
|
|
5202
|
-
const u = q(null), c = q(null), v = Wt({}), y = (
|
|
5203
|
-
if (v[
|
|
5204
|
-
return v[
|
|
5202
|
+
const u = q(null), c = q(null), v = Wt({}), y = (N) => {
|
|
5203
|
+
if (v[N])
|
|
5204
|
+
return v[N];
|
|
5205
5205
|
const S = Ie("tab");
|
|
5206
|
-
return v[
|
|
5206
|
+
return v[N] = S, S;
|
|
5207
5207
|
}, m = async () => {
|
|
5208
|
-
const
|
|
5209
|
-
r.value = !1, l.value =
|
|
5208
|
+
const N = l.value === 0 ? a.tabTitles.length - 1 : l.value - 1;
|
|
5209
|
+
r.value = !1, l.value = N;
|
|
5210
5210
|
}, f = async () => {
|
|
5211
|
-
const
|
|
5212
|
-
r.value = !0, l.value =
|
|
5211
|
+
const N = l.value === a.tabTitles.length - 1 ? 0 : l.value + 1;
|
|
5212
|
+
r.value = !0, l.value = N;
|
|
5213
5213
|
}, b = async () => {
|
|
5214
5214
|
l.value = 0;
|
|
5215
5215
|
}, C = async () => {
|
|
5216
5216
|
l.value = a.tabTitles.length - 1;
|
|
5217
5217
|
}, L = q({ "--tabs-height": "100px" }), D = () => {
|
|
5218
|
-
var
|
|
5218
|
+
var N;
|
|
5219
5219
|
if (l.value < 0 || !c.value || !c.value.offsetHeight)
|
|
5220
5220
|
return;
|
|
5221
|
-
const S = c.value.offsetHeight, x = (
|
|
5221
|
+
const S = c.value.offsetHeight, x = (N = u.value) == null ? void 0 : N.querySelectorAll(".fr-tabs__panel")[l.value];
|
|
5222
5222
|
if (!x || !x.offsetHeight)
|
|
5223
5223
|
return;
|
|
5224
5224
|
const W = x.offsetHeight;
|
|
5225
5225
|
L.value["--tabs-height"] = `${S + W}px`;
|
|
5226
5226
|
}, k = q(null);
|
|
5227
5227
|
return ue(() => {
|
|
5228
|
-
var
|
|
5228
|
+
var N;
|
|
5229
5229
|
window.ResizeObserver && (k.value = new window.ResizeObserver(() => {
|
|
5230
5230
|
D();
|
|
5231
|
-
})), (
|
|
5231
|
+
})), (N = u.value) == null || N.querySelectorAll(".fr-tabs__panel").forEach((S) => {
|
|
5232
5232
|
var x;
|
|
5233
5233
|
S && ((x = k.value) == null || x.observe(S));
|
|
5234
5234
|
});
|
|
5235
5235
|
}), ve(() => {
|
|
5236
|
-
var
|
|
5237
|
-
(
|
|
5236
|
+
var N;
|
|
5237
|
+
(N = u.value) == null || N.querySelectorAll(".fr-tabs__panel").forEach((S) => {
|
|
5238
5238
|
var x;
|
|
5239
5239
|
S && ((x = k.value) == null || x.unobserve(S));
|
|
5240
5240
|
});
|
|
@@ -5242,7 +5242,7 @@ const xs = {
|
|
|
5242
5242
|
renderTabs: D,
|
|
5243
5243
|
selectFirst: b,
|
|
5244
5244
|
selectLast: C
|
|
5245
|
-
}), (
|
|
5245
|
+
}), (N, S) => (A(), g("div", {
|
|
5246
5246
|
ref_key: "$el",
|
|
5247
5247
|
ref: u,
|
|
5248
5248
|
class: "fr-tabs",
|
|
@@ -5253,10 +5253,10 @@ const xs = {
|
|
|
5253
5253
|
ref: c,
|
|
5254
5254
|
class: "fr-tabs__list",
|
|
5255
5255
|
role: "tablist",
|
|
5256
|
-
"aria-label":
|
|
5256
|
+
"aria-label": N.tabListName
|
|
5257
5257
|
}, [
|
|
5258
|
-
H(
|
|
5259
|
-
(A(!0), g(
|
|
5258
|
+
H(N.$slots, "tab-items", {}, () => [
|
|
5259
|
+
(A(!0), g(J, null, ae(N.tabTitles, (x, W) => (A(), R(Ta, {
|
|
5260
5260
|
key: W,
|
|
5261
5261
|
icon: x.icon,
|
|
5262
5262
|
"panel-id": x.panelId || `${y(W)}-panel`,
|
|
@@ -5267,27 +5267,27 @@ const xs = {
|
|
|
5267
5267
|
onFirst: S[2] || (S[2] = (K) => b()),
|
|
5268
5268
|
onLast: S[3] || (S[3] = (K) => C())
|
|
5269
5269
|
}, {
|
|
5270
|
-
default:
|
|
5270
|
+
default: G(() => [
|
|
5271
5271
|
le(z(x.title), 1)
|
|
5272
5272
|
]),
|
|
5273
5273
|
_: 2
|
|
5274
5274
|
}, 1032, ["icon", "panel-id", "tab-id", "onClick"]))), 128))
|
|
5275
5275
|
])
|
|
5276
5276
|
], 8, Oc),
|
|
5277
|
-
(A(!0), g(
|
|
5277
|
+
(A(!0), g(J, null, ae(N.tabContents, (x, W) => {
|
|
5278
5278
|
var K, Q, B, h;
|
|
5279
5279
|
return A(), R(Ma, {
|
|
5280
5280
|
key: W,
|
|
5281
|
-
"panel-id": ((Q = (K =
|
|
5282
|
-
"tab-id": ((h = (B =
|
|
5281
|
+
"panel-id": ((Q = (K = N.tabTitles) == null ? void 0 : K[W]) == null ? void 0 : Q.panelId) || `${y(W)}-panel`,
|
|
5282
|
+
"tab-id": ((h = (B = N.tabTitles) == null ? void 0 : B[W]) == null ? void 0 : h.tabId) || y(W)
|
|
5283
5283
|
}, {
|
|
5284
|
-
default:
|
|
5284
|
+
default: G(() => [
|
|
5285
5285
|
le(z(x), 1)
|
|
5286
5286
|
]),
|
|
5287
5287
|
_: 2
|
|
5288
5288
|
}, 1032, ["panel-id", "tab-id"]);
|
|
5289
5289
|
}), 128)),
|
|
5290
|
-
H(
|
|
5290
|
+
H(N.$slots, "default")
|
|
5291
5291
|
], 4));
|
|
5292
5292
|
}
|
|
5293
5293
|
}), Lc = { class: "av-accordion fr-accordion" }, Dc = { class: "fr-accordion__title" }, Qc = ["aria-expanded", "aria-controls"], Sc = { class: "title-container" }, zc = { class: "n6" }, Bc = ["id"], jc = { class: "accordion-content-container" }, Pc = /* @__PURE__ */ j({
|
|
@@ -5353,11 +5353,11 @@ const xs = {
|
|
|
5353
5353
|
]);
|
|
5354
5354
|
};
|
|
5355
5355
|
}
|
|
5356
|
-
}),
|
|
5356
|
+
}), tv = /* @__PURE__ */ Y(Pc, [["__scopeId", "data-v-241b77d7"]]), Wc = {
|
|
5357
5357
|
class: "fr-accordions-group",
|
|
5358
5358
|
role: "group",
|
|
5359
5359
|
"aria-label": "Accordion group"
|
|
5360
|
-
},
|
|
5360
|
+
}, nv = /* @__PURE__ */ j({
|
|
5361
5361
|
__name: "AvAccordionsGroup",
|
|
5362
5362
|
props: {
|
|
5363
5363
|
activeAccordion: {}
|
|
@@ -5395,11 +5395,11 @@ const xs = {
|
|
|
5395
5395
|
__name: "AvCancelConfirmButtons",
|
|
5396
5396
|
props: {
|
|
5397
5397
|
cancelLabel: {},
|
|
5398
|
-
cancelIcon: { default: () =>
|
|
5398
|
+
cancelIcon: { default: () => $.CLOSE_CIRCLE_OUTLINE },
|
|
5399
5399
|
cancelDisabled: { type: Boolean },
|
|
5400
5400
|
cancelIsLoading: { type: Boolean },
|
|
5401
5401
|
confirmLabel: {},
|
|
5402
|
-
confirmIcon: { default: () =>
|
|
5402
|
+
confirmIcon: { default: () => $.CLOSE_CIRCLE_OUTLINE },
|
|
5403
5403
|
confirmDisabled: { type: Boolean },
|
|
5404
5404
|
confirmIsLoading: { type: Boolean }
|
|
5405
5405
|
},
|
|
@@ -5407,7 +5407,7 @@ const xs = {
|
|
|
5407
5407
|
setup(e, { emit: t }) {
|
|
5408
5408
|
const n = t;
|
|
5409
5409
|
return (a, i) => (A(), g("div", Vc, [
|
|
5410
|
-
e.cancelLabel ? (A(), R(d(
|
|
5410
|
+
e.cancelLabel ? (A(), R(d(me), {
|
|
5411
5411
|
key: 0,
|
|
5412
5412
|
icon: e.cancelIcon,
|
|
5413
5413
|
label: e.cancelLabel,
|
|
@@ -5418,7 +5418,7 @@ const xs = {
|
|
|
5418
5418
|
size: "sm",
|
|
5419
5419
|
onClick: i[0] || (i[0] = () => n("cancel"))
|
|
5420
5420
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : w("", !0),
|
|
5421
|
-
e.confirmLabel ? (A(), R(d(
|
|
5421
|
+
e.confirmLabel ? (A(), R(d(me), {
|
|
5422
5422
|
key: 1,
|
|
5423
5423
|
icon: e.confirmIcon,
|
|
5424
5424
|
label: e.confirmLabel,
|
|
@@ -5471,7 +5471,7 @@ const xs = {
|
|
|
5471
5471
|
])
|
|
5472
5472
|
], 8, Hc));
|
|
5473
5473
|
}
|
|
5474
|
-
}),
|
|
5474
|
+
}), av = /* @__PURE__ */ Y(Xc, [["__scopeId", "data-v-5907eac1"]]), Zc = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], Yc = ["for"], Kc = { class: "label-container" }, Gc = {
|
|
5475
5475
|
key: 0,
|
|
5476
5476
|
class: "fr-hint-text"
|
|
5477
5477
|
}, Jc = ["id"], $c = /* @__PURE__ */ j({
|
|
@@ -5496,7 +5496,7 @@ const xs = {
|
|
|
5496
5496
|
}),
|
|
5497
5497
|
emits: ["update:modelValue"],
|
|
5498
5498
|
setup(e) {
|
|
5499
|
-
const t = E(() => e.errorMessage || e.validMessage), n = E(() => t.value ? `message-${e.id}` : void 0), a = E(() => e.errorMessage ? "fr-error-text" : "fr-valid-text"), i = Pe(e, "modelValue"), r = E(() => i.value.includes(e.value)), l = E(() => r.value ?
|
|
5499
|
+
const t = E(() => e.errorMessage || e.validMessage), n = E(() => t.value ? `message-${e.id}` : void 0), a = E(() => e.errorMessage ? "fr-error-text" : "fr-valid-text"), i = Pe(e, "modelValue"), r = E(() => i.value.includes(e.value)), l = E(() => r.value ? $.CHECKBOX_MARKED : $.CHECKBOX_BLANK_OUTLINE), o = E(() => r.value ? "var(--dark-background-primary1)" : "var(--icon)"), s = E(() => e.small ? 1 : 1.5), u = E(() => e.small ? r.value ? "caption-bold" : "caption-regular" : r.value ? "b2-bold" : "b2-regular");
|
|
5500
5500
|
return (c, v) => {
|
|
5501
5501
|
const y = se;
|
|
5502
5502
|
return A(), g("div", {
|
|
@@ -5584,7 +5584,7 @@ const xs = {
|
|
|
5584
5584
|
setup(e) {
|
|
5585
5585
|
return (t, n) => e.error || e.validMessage ? (A(), g("div", eu, [
|
|
5586
5586
|
X(Ar, {
|
|
5587
|
-
icon: e.error ? d(
|
|
5587
|
+
icon: e.error ? d($).CLOSE_CIRCLE_OUTLINE : d($).CHECK_CIRCLE_OUTLINE,
|
|
5588
5588
|
"icon-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
5589
5589
|
text: e.error ? e.error : e.validMessage,
|
|
5590
5590
|
"text-color": e.error ? "var(--dark-background-error)" : "var(--dark-background-success)",
|
|
@@ -5665,11 +5665,11 @@ const xs = {
|
|
|
5665
5665
|
var f;
|
|
5666
5666
|
m ? (n("update:modelValue", null), n("update:validMessage", null), n("update:error", null), n("change", [])) : (f = e.onDeleteFile) == null || f.call(e);
|
|
5667
5667
|
}
|
|
5668
|
-
return (m, f) => (A(), g(
|
|
5668
|
+
return (m, f) => (A(), g(J, null, [
|
|
5669
5669
|
(A(), R(Ce(d(c) ? "div" : "label"), te(d(c) ? {} : d(v), {
|
|
5670
5670
|
class: d(c) ? "file-preview-container" : ""
|
|
5671
5671
|
}), {
|
|
5672
|
-
default:
|
|
5672
|
+
default: G(() => [
|
|
5673
5673
|
p("div", {
|
|
5674
5674
|
class: F(d(c) ? "" : "file-upload-container")
|
|
5675
5675
|
}, [
|
|
@@ -5678,7 +5678,7 @@ const xs = {
|
|
|
5678
5678
|
H(m.$slots, "left", {}, () => [
|
|
5679
5679
|
X(se, {
|
|
5680
5680
|
size: 2.5,
|
|
5681
|
-
name: d(
|
|
5681
|
+
name: d($).ATTACHMENT_PLUS,
|
|
5682
5682
|
color: "var(--icon)"
|
|
5683
5683
|
}, null, 8, ["name"])
|
|
5684
5684
|
], !0)
|
|
@@ -5696,7 +5696,7 @@ const xs = {
|
|
|
5696
5696
|
}, null, 8, ["valid-message", "error"])
|
|
5697
5697
|
]),
|
|
5698
5698
|
e.disabled ? w("", !0) : (A(), g("div", uu, [
|
|
5699
|
-
d(c) ? (A(), R(
|
|
5699
|
+
d(c) ? (A(), R(me, {
|
|
5700
5700
|
key: 0,
|
|
5701
5701
|
label: e.deleteButtonLabel,
|
|
5702
5702
|
theme: "SECONDARY",
|
|
@@ -5704,7 +5704,7 @@ const xs = {
|
|
|
5704
5704
|
}, null, 8, ["label"])) : (A(), R(se, {
|
|
5705
5705
|
key: 1,
|
|
5706
5706
|
size: 1.5,
|
|
5707
|
-
name: d(
|
|
5707
|
+
name: d($).TRAY_UPLOAD,
|
|
5708
5708
|
color: "var(--dark-background-primary1)"
|
|
5709
5709
|
}, null, 8, ["name"]))
|
|
5710
5710
|
])),
|
|
@@ -5730,7 +5730,7 @@ const xs = {
|
|
|
5730
5730
|
])
|
|
5731
5731
|
], 64));
|
|
5732
5732
|
}
|
|
5733
|
-
}),
|
|
5733
|
+
}), iv = /* @__PURE__ */ Y(fu, [["__scopeId", "data-v-adf6887e"]]), vu = ["role", "aria-label", "aria-labelledby", "aria-describedby"], mu = /* @__PURE__ */ j({
|
|
5734
5734
|
__name: "AvList",
|
|
5735
5735
|
props: {
|
|
5736
5736
|
backgroundColor: { default: "transparent" },
|
|
@@ -5763,7 +5763,7 @@ const xs = {
|
|
|
5763
5763
|
H(i.$slots, "default", {}, void 0, !0)
|
|
5764
5764
|
], 10, vu));
|
|
5765
5765
|
}
|
|
5766
|
-
}),
|
|
5766
|
+
}), Na = /* @__PURE__ */ Y(mu, [["__scopeId", "data-v-f74989f7"]]), gu = ["role"], hu = {
|
|
5767
5767
|
key: 0,
|
|
5768
5768
|
class: "av-list-item__icon"
|
|
5769
5769
|
}, bu = { class: "av-list-item__content" }, Iu = {
|
|
@@ -5803,7 +5803,7 @@ const xs = {
|
|
|
5803
5803
|
b9991e40: u.descriptionColor,
|
|
5804
5804
|
v547ba992: u.hoverBackgroundColor
|
|
5805
5805
|
}));
|
|
5806
|
-
const t =
|
|
5806
|
+
const t = ge(), n = E(() => e.clickable ? e.tag : "div"), a = E(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0);
|
|
5807
5807
|
function i(u) {
|
|
5808
5808
|
var c;
|
|
5809
5809
|
!e.clickable || e.disabled || (c = e.onClick) == null || c.call(e, u);
|
|
@@ -5834,7 +5834,7 @@ const xs = {
|
|
|
5834
5834
|
onClick: i,
|
|
5835
5835
|
onKeydown: r
|
|
5836
5836
|
}, {
|
|
5837
|
-
default:
|
|
5837
|
+
default: G(() => [
|
|
5838
5838
|
e.icon ? (A(), g("div", hu, [
|
|
5839
5839
|
X(se, {
|
|
5840
5840
|
name: e.icon,
|
|
@@ -5890,7 +5890,7 @@ const xs = {
|
|
|
5890
5890
|
) : c.value.push(b), o([...c.value])) : (c.value = [b], o(b));
|
|
5891
5891
|
}
|
|
5892
5892
|
function m(b) {
|
|
5893
|
-
return v(b) ?
|
|
5893
|
+
return v(b) ? $.CHECK : void 0;
|
|
5894
5894
|
}
|
|
5895
5895
|
function f(b) {
|
|
5896
5896
|
return v(b) && !l;
|
|
@@ -5902,7 +5902,7 @@ const xs = {
|
|
|
5902
5902
|
key: 0,
|
|
5903
5903
|
class: F(["av-select-label", [d(i)]])
|
|
5904
5904
|
}, z(d(n)), 3)) : w("", !0),
|
|
5905
|
-
(A(!0), g(
|
|
5905
|
+
(A(!0), g(J, null, ae(d(s), (L) => (A(), g("div", {
|
|
5906
5906
|
key: L.value,
|
|
5907
5907
|
class: "tag-wrapper"
|
|
5908
5908
|
}, [
|
|
@@ -5921,14 +5921,14 @@ const xs = {
|
|
|
5921
5921
|
]))), 128))
|
|
5922
5922
|
]));
|
|
5923
5923
|
}
|
|
5924
|
-
}),
|
|
5924
|
+
}), Tu = /* @__PURE__ */ Y(Mu, [["__scopeId", "data-v-109d63a2"]]);
|
|
5925
5925
|
var wa = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(wa || {});
|
|
5926
|
-
const
|
|
5926
|
+
const rv = [
|
|
5927
5927
|
4,
|
|
5928
5928
|
8,
|
|
5929
5929
|
12
|
|
5930
5930
|
/* TWELVE */
|
|
5931
|
-
],
|
|
5931
|
+
], Nu = { class: "pagination-size-picker-container" }, ku = /* @__PURE__ */ j({
|
|
5932
5932
|
__name: "AvPageSizePicker",
|
|
5933
5933
|
props: {
|
|
5934
5934
|
label: {},
|
|
@@ -5943,8 +5943,8 @@ const nv = [
|
|
|
5943
5943
|
label: e.pageSizeSelected.toString(),
|
|
5944
5944
|
value: e.pageSizeSelected.toString()
|
|
5945
5945
|
}));
|
|
5946
|
-
return (a, i) => (A(), g("div",
|
|
5947
|
-
X(
|
|
5946
|
+
return (a, i) => (A(), g("div", Nu, [
|
|
5947
|
+
X(Tu, {
|
|
5948
5948
|
options: d(t),
|
|
5949
5949
|
selected: d(n),
|
|
5950
5950
|
"handle-select-change": e.handleSelectChange,
|
|
@@ -5955,7 +5955,7 @@ const nv = [
|
|
|
5955
5955
|
}, null, 8, ["options", "selected", "handle-select-change", "label"])
|
|
5956
5956
|
]));
|
|
5957
5957
|
}
|
|
5958
|
-
}),
|
|
5958
|
+
}), lv = /* @__PURE__ */ Y(ku, [["__scopeId", "data-v-d72fe5ab"]]), wu = /* @__PURE__ */ j({
|
|
5959
5959
|
__name: "AvRadioButton",
|
|
5960
5960
|
props: {
|
|
5961
5961
|
value: { type: [String, Number, Boolean] },
|
|
@@ -6012,7 +6012,7 @@ const nv = [
|
|
|
6012
6012
|
}, ju = {
|
|
6013
6013
|
key: 1,
|
|
6014
6014
|
class: "caption-regular required"
|
|
6015
|
-
}, Pu = ["id"],
|
|
6015
|
+
}, Pu = ["id"], ov = /* @__PURE__ */ j({
|
|
6016
6016
|
__name: "AvRadioButtonSet",
|
|
6017
6017
|
props: {
|
|
6018
6018
|
id: { default: `av-radio-button-set-${crypto.randomUUID()}` },
|
|
@@ -6033,12 +6033,12 @@ const nv = [
|
|
|
6033
6033
|
function l(m) {
|
|
6034
6034
|
m !== e.modelValue && a("update:modelValue", m);
|
|
6035
6035
|
}
|
|
6036
|
-
const o = E(() => i.value ? `messages-${e.id}` : void 0), s =
|
|
6036
|
+
const o = E(() => i.value ? `messages-${e.id}` : void 0), s = ge();
|
|
6037
6037
|
function u(m) {
|
|
6038
6038
|
return m != null && typeof m == "object" && "type" in m && m.type === wu;
|
|
6039
6039
|
}
|
|
6040
6040
|
function c(m) {
|
|
6041
|
-
return m ? m.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type ===
|
|
6041
|
+
return m ? m.flatMap((f) => !f || typeof f != "object" || !("type" in f) ? [] : f.type === J && Array.isArray(f.children) ? c(f.children) : u(f) ? [f] : []) : [];
|
|
6042
6042
|
}
|
|
6043
6043
|
const v = E(() => {
|
|
6044
6044
|
var m;
|
|
@@ -6068,13 +6068,13 @@ const nv = [
|
|
|
6068
6068
|
e.hint ? (A(), g("span", Bu, z(e.hint), 1)) : w("", !0),
|
|
6069
6069
|
e.required ? (A(), g("span", ju, " *")) : w("", !0)
|
|
6070
6070
|
], 8, Su)) : w("", !0),
|
|
6071
|
-
(A(!0), g(
|
|
6071
|
+
(A(!0), g(J, null, ae(d(v), (b, C) => {
|
|
6072
6072
|
var L, D;
|
|
6073
6073
|
return A(), R(Lu, {
|
|
6074
6074
|
key: C,
|
|
6075
6075
|
modelValue: d(y),
|
|
6076
6076
|
"onUpdate:modelValue": [
|
|
6077
|
-
f[0] || (f[0] = (k) =>
|
|
6077
|
+
f[0] || (f[0] = (k) => Tt(y) ? y.value = k : null),
|
|
6078
6078
|
f[1] || (f[1] = (k) => l(k))
|
|
6079
6079
|
],
|
|
6080
6080
|
value: (L = b.props) == null ? void 0 : L.value,
|
|
@@ -6083,7 +6083,7 @@ const nv = [
|
|
|
6083
6083
|
inline: e.inline,
|
|
6084
6084
|
name: e.name
|
|
6085
6085
|
}, {
|
|
6086
|
-
default:
|
|
6086
|
+
default: G(() => {
|
|
6087
6087
|
var k;
|
|
6088
6088
|
return [
|
|
6089
6089
|
(A(), R(Ce((k = b.children) == null ? void 0 : k.default)))
|
|
@@ -6155,7 +6155,7 @@ function qu(e, t = {}) {
|
|
|
6155
6155
|
}
|
|
6156
6156
|
function Ru(...e) {
|
|
6157
6157
|
let t = 0, n, a = !0, i = Ve, r, l, o, s, u;
|
|
6158
|
-
!
|
|
6158
|
+
!Tt(e[0]) && typeof e[0] == "object" ? { delay: l, trailing: o = !0, leading: s = !0, rejectOnCancel: u = !1 } = e[0] : [l, o = !0, s = !0, u = !1] = e;
|
|
6159
6159
|
const c = () => {
|
|
6160
6160
|
n && (clearTimeout(n), n = void 0, i(), i = Ve);
|
|
6161
6161
|
};
|
|
@@ -6408,7 +6408,7 @@ function td(e, t = {}) {
|
|
|
6408
6408
|
}
|
|
6409
6409
|
});
|
|
6410
6410
|
function L(Q, B) {
|
|
6411
|
-
var h, M, I,
|
|
6411
|
+
var h, M, I, T;
|
|
6412
6412
|
if (!c)
|
|
6413
6413
|
return;
|
|
6414
6414
|
const O = re(e);
|
|
@@ -6419,7 +6419,7 @@ function td(e, t = {}) {
|
|
|
6419
6419
|
left: (M = re(Q)) != null ? M : b.value,
|
|
6420
6420
|
behavior: re(u)
|
|
6421
6421
|
});
|
|
6422
|
-
const V = ((
|
|
6422
|
+
const V = ((T = O == null ? void 0 : O.document) == null ? void 0 : T.documentElement) || (O == null ? void 0 : O.documentElement) || O;
|
|
6423
6423
|
b != null && (m.value = V.scrollLeft), C != null && (f.value = V.scrollTop);
|
|
6424
6424
|
}
|
|
6425
6425
|
const D = Me(!1), k = Wt({
|
|
@@ -6427,25 +6427,25 @@ function td(e, t = {}) {
|
|
|
6427
6427
|
right: !1,
|
|
6428
6428
|
top: !0,
|
|
6429
6429
|
bottom: !1
|
|
6430
|
-
}),
|
|
6430
|
+
}), N = Wt({
|
|
6431
6431
|
left: !1,
|
|
6432
6432
|
right: !1,
|
|
6433
6433
|
top: !1,
|
|
6434
6434
|
bottom: !1
|
|
6435
6435
|
}), S = (Q) => {
|
|
6436
|
-
D.value && (D.value = !1,
|
|
6436
|
+
D.value && (D.value = !1, N.left = !1, N.right = !1, N.top = !1, N.bottom = !1, i(Q));
|
|
6437
6437
|
}, x = /* @__PURE__ */ Yu(S, n + a), W = (Q) => {
|
|
6438
6438
|
var B;
|
|
6439
6439
|
if (!c)
|
|
6440
6440
|
return;
|
|
6441
|
-
const h = ((B = Q == null ? void 0 : Q.document) == null ? void 0 : B.documentElement) || (Q == null ? void 0 : Q.documentElement) || un(Q), { display: M, flexDirection: I, direction:
|
|
6442
|
-
|
|
6441
|
+
const h = ((B = Q == null ? void 0 : Q.document) == null ? void 0 : B.documentElement) || (Q == null ? void 0 : Q.documentElement) || un(Q), { display: M, flexDirection: I, direction: T } = getComputedStyle(h), O = T === "rtl" ? -1 : 1, V = h.scrollLeft;
|
|
6442
|
+
N.left = V < m.value, N.right = V > m.value;
|
|
6443
6443
|
const P = Math.abs(V * O) <= (l.left || 0), Z = Math.abs(V * O) + h.clientWidth >= h.scrollWidth - (l.right || 0) - Un;
|
|
6444
6444
|
M === "flex" && I === "row-reverse" ? (k.left = Z, k.right = P) : (k.left = P, k.right = Z), m.value = V;
|
|
6445
6445
|
let U = h.scrollTop;
|
|
6446
|
-
Q === c.document && !U && (U = c.document.body.scrollTop),
|
|
6447
|
-
const
|
|
6448
|
-
M === "flex" && I === "column-reverse" ? (k.top = ne, k.bottom =
|
|
6446
|
+
Q === c.document && !U && (U = c.document.body.scrollTop), N.top = U < f.value, N.bottom = U > f.value;
|
|
6447
|
+
const _ = Math.abs(U) <= (l.top || 0), ne = Math.abs(U) + h.clientHeight >= h.scrollHeight - (l.bottom || 0) - Un;
|
|
6448
|
+
M === "flex" && I === "column-reverse" ? (k.top = ne, k.bottom = _) : (k.top = _, k.bottom = ne), f.value = U;
|
|
6449
6449
|
}, K = (Q) => {
|
|
6450
6450
|
var B;
|
|
6451
6451
|
if (!c)
|
|
@@ -6488,7 +6488,7 @@ function td(e, t = {}) {
|
|
|
6488
6488
|
y: C,
|
|
6489
6489
|
isScrolling: D,
|
|
6490
6490
|
arrivedState: k,
|
|
6491
|
-
directions:
|
|
6491
|
+
directions: N,
|
|
6492
6492
|
measure() {
|
|
6493
6493
|
const Q = re(e);
|
|
6494
6494
|
c && Q && W(Q);
|
|
@@ -6553,12 +6553,12 @@ function qn(e) {
|
|
|
6553
6553
|
}
|
|
6554
6554
|
var jt = function() {
|
|
6555
6555
|
return za.Date.now();
|
|
6556
|
-
}, Md = "Expected a function",
|
|
6556
|
+
}, Md = "Expected a function", Td = Math.max, Nd = Math.min;
|
|
6557
6557
|
function ja(e, t, n) {
|
|
6558
6558
|
var a, i, r, l, o, s, u = 0, c = !1, v = !1, y = !0;
|
|
6559
6559
|
if (typeof e != "function")
|
|
6560
6560
|
throw new TypeError(Md);
|
|
6561
|
-
t = qn(t) || 0, Zt(n) && (c = !!n.leading, v = "maxWait" in n, r = v ?
|
|
6561
|
+
t = qn(t) || 0, Zt(n) && (c = !!n.leading, v = "maxWait" in n, r = v ? Td(qn(n.maxWait) || 0, t) : r, y = "trailing" in n ? !!n.trailing : y);
|
|
6562
6562
|
function m(x) {
|
|
6563
6563
|
var W = a, K = i;
|
|
6564
6564
|
return a = i = void 0, u = x, l = e.apply(K, W), l;
|
|
@@ -6568,7 +6568,7 @@ function ja(e, t, n) {
|
|
|
6568
6568
|
}
|
|
6569
6569
|
function b(x) {
|
|
6570
6570
|
var W = x - s, K = x - u, Q = t - W;
|
|
6571
|
-
return v ?
|
|
6571
|
+
return v ? Nd(Q, r - K) : Q;
|
|
6572
6572
|
}
|
|
6573
6573
|
function C(x) {
|
|
6574
6574
|
var W = x - s, K = x - u;
|
|
@@ -6586,7 +6586,7 @@ function ja(e, t, n) {
|
|
|
6586
6586
|
function k() {
|
|
6587
6587
|
o !== void 0 && clearTimeout(o), u = 0, a = s = i = o = void 0;
|
|
6588
6588
|
}
|
|
6589
|
-
function
|
|
6589
|
+
function N() {
|
|
6590
6590
|
return o === void 0 ? l : D(jt());
|
|
6591
6591
|
}
|
|
6592
6592
|
function S() {
|
|
@@ -6599,7 +6599,7 @@ function ja(e, t, n) {
|
|
|
6599
6599
|
}
|
|
6600
6600
|
return o === void 0 && (o = setTimeout(L, t)), l;
|
|
6601
6601
|
}
|
|
6602
|
-
return S.cancel = k, S.flush =
|
|
6602
|
+
return S.cancel = k, S.flush = N, S;
|
|
6603
6603
|
}
|
|
6604
6604
|
const kd = {
|
|
6605
6605
|
key: 0,
|
|
@@ -6614,7 +6614,7 @@ const kd = {
|
|
|
6614
6614
|
__name: "AvAutocompleteDropdown",
|
|
6615
6615
|
emits: ["loadMore"],
|
|
6616
6616
|
setup(e, { expose: t, emit: n }) {
|
|
6617
|
-
const a = n, i =
|
|
6617
|
+
const a = n, i = ge(), {
|
|
6618
6618
|
selectedItems: r,
|
|
6619
6619
|
searchQuery: l,
|
|
6620
6620
|
isOpen: o,
|
|
@@ -6631,12 +6631,12 @@ const kd = {
|
|
|
6631
6631
|
const S = s.options;
|
|
6632
6632
|
return s.maxResults ? S.slice(0, s.maxResults) : S;
|
|
6633
6633
|
}
|
|
6634
|
-
let
|
|
6635
|
-
return s.filterOptions ?
|
|
6634
|
+
let N;
|
|
6635
|
+
return s.filterOptions ? N = s.filterOptions(s.options, k) : N = s.options.filter((S) => c(S).toLowerCase().includes(k)), s.maxResults ? N.slice(0, s.maxResults) : N;
|
|
6636
6636
|
}), f = E(() => s.loading ? je.LOADING : o.value && s.options && s.options.length > 0 && m.value.length > 0 ? je.HAS_OPTIONS : je.NO_OPTIONS);
|
|
6637
6637
|
function b(k) {
|
|
6638
6638
|
return r.value.some(
|
|
6639
|
-
(
|
|
6639
|
+
(N) => u(N) === u(k)
|
|
6640
6640
|
);
|
|
6641
6641
|
}
|
|
6642
6642
|
function C(k) {
|
|
@@ -6644,12 +6644,12 @@ const kd = {
|
|
|
6644
6644
|
r.value = [k], o.value = !1, l.value = "";
|
|
6645
6645
|
return;
|
|
6646
6646
|
}
|
|
6647
|
-
const
|
|
6648
|
-
|
|
6647
|
+
const N = r.value, S = u(k);
|
|
6648
|
+
N.some(
|
|
6649
6649
|
(W) => u(W) === S
|
|
6650
|
-
) ? r.value =
|
|
6650
|
+
) ? r.value = N.filter(
|
|
6651
6651
|
(W) => u(W) !== S
|
|
6652
|
-
) : r.value = [...
|
|
6652
|
+
) : r.value = [...N, k];
|
|
6653
6653
|
}
|
|
6654
6654
|
const { arrivedState: L } = td(y, {
|
|
6655
6655
|
throttle: 100
|
|
@@ -6662,7 +6662,7 @@ const kd = {
|
|
|
6662
6662
|
D.cancel();
|
|
6663
6663
|
}), t({
|
|
6664
6664
|
dropdownRef: v
|
|
6665
|
-
}), (k,
|
|
6665
|
+
}), (k, N) => d(o) ? (A(), g("div", {
|
|
6666
6666
|
key: 0,
|
|
6667
6667
|
ref_key: "dropdownRef",
|
|
6668
6668
|
ref: v,
|
|
@@ -6671,22 +6671,22 @@ const kd = {
|
|
|
6671
6671
|
}, [
|
|
6672
6672
|
d(f) === d(je).LOADING ? (A(), g("div", kd, [
|
|
6673
6673
|
X(se, {
|
|
6674
|
-
name: d(
|
|
6674
|
+
name: d($).LOADING_OUTLINE,
|
|
6675
6675
|
size: 1.5,
|
|
6676
6676
|
class: "av-autocomplete-dropdown__spinner"
|
|
6677
6677
|
}, null, 8, ["name"]),
|
|
6678
|
-
|
|
6678
|
+
N[0] || (N[0] = p("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
6679
6679
|
])) : d(f) === d(je).NO_OPTIONS ? (A(), g("div", wd, [
|
|
6680
6680
|
i.empty ? H(k.$slots, "empty", { key: 0 }, void 0, !0) : (A(), g("div", Od, " No results found "))
|
|
6681
|
-
])) : (A(), R(
|
|
6681
|
+
])) : (A(), R(Na, te({
|
|
6682
6682
|
key: 2,
|
|
6683
6683
|
ref_key: "listRef",
|
|
6684
6684
|
ref: y
|
|
6685
6685
|
}, d(s).listOptions, {
|
|
6686
6686
|
class: ["av-autocomplete-dropdown__options", d(s).scrollbarClass]
|
|
6687
6687
|
}), {
|
|
6688
|
-
default:
|
|
6689
|
-
(A(!0), g(
|
|
6688
|
+
default: G(() => [
|
|
6689
|
+
(A(!0), g(J, null, ae(d(m), (S) => (A(), g(J, {
|
|
6690
6690
|
key: d(u)(S)
|
|
6691
6691
|
}, [
|
|
6692
6692
|
i.item ? H(k.$slots, "item", {
|
|
@@ -6697,7 +6697,7 @@ const kd = {
|
|
|
6697
6697
|
}, void 0, !0) : (A(), R(ka, {
|
|
6698
6698
|
key: 1,
|
|
6699
6699
|
title: d(c)(S),
|
|
6700
|
-
icon: b(S) ? d(
|
|
6700
|
+
icon: b(S) ? d($).CHECK : void 0,
|
|
6701
6701
|
selected: b(S),
|
|
6702
6702
|
clickable: "",
|
|
6703
6703
|
"on-click": () => C(S),
|
|
@@ -6717,7 +6717,7 @@ const kd = {
|
|
|
6717
6717
|
__name: "AvAutocompleteInput",
|
|
6718
6718
|
emits: ["search", "clear"],
|
|
6719
6719
|
setup(e, { expose: t, emit: n }) {
|
|
6720
|
-
const a = n, i =
|
|
6720
|
+
const a = n, i = ge(), {
|
|
6721
6721
|
selectedItems: r,
|
|
6722
6722
|
searchQuery: l,
|
|
6723
6723
|
isOpen: o,
|
|
@@ -6745,7 +6745,7 @@ const kd = {
|
|
|
6745
6745
|
}), t({
|
|
6746
6746
|
inputRef: y,
|
|
6747
6747
|
searchQuery: E(() => l.value)
|
|
6748
|
-
}), (k,
|
|
6748
|
+
}), (k, N) => (A(), g("div", Dd, [
|
|
6749
6749
|
X(rn, te({
|
|
6750
6750
|
id: d(u),
|
|
6751
6751
|
ref_key: "inputRef",
|
|
@@ -6760,16 +6760,16 @@ const kd = {
|
|
|
6760
6760
|
}), lt({ _: 2 }, [
|
|
6761
6761
|
i.requiredTip ? {
|
|
6762
6762
|
name: "requiredTip",
|
|
6763
|
-
fn:
|
|
6763
|
+
fn: G(() => [
|
|
6764
6764
|
(A(), R(Ce(i.requiredTip)))
|
|
6765
6765
|
]),
|
|
6766
6766
|
key: "0"
|
|
6767
6767
|
} : void 0
|
|
6768
6768
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
6769
6769
|
d(r).length > 0 ? (A(), g("div", Qd, [
|
|
6770
|
-
X(
|
|
6770
|
+
X(me, {
|
|
6771
6771
|
label: "Clear selected items",
|
|
6772
|
-
icon: d(
|
|
6772
|
+
icon: d($).CLOSE_CIRCLE_OUTLINE,
|
|
6773
6773
|
"icon-only": "",
|
|
6774
6774
|
"icon-scale": 0.8,
|
|
6775
6775
|
size: "sm",
|
|
@@ -6786,7 +6786,7 @@ const kd = {
|
|
|
6786
6786
|
}, jd = /* @__PURE__ */ j({
|
|
6787
6787
|
__name: "AvAutocompleteSelectedTags",
|
|
6788
6788
|
setup(e) {
|
|
6789
|
-
const t =
|
|
6789
|
+
const t = ge(), {
|
|
6790
6790
|
selectedItems: n,
|
|
6791
6791
|
props: a,
|
|
6792
6792
|
getOptionId: i,
|
|
@@ -6799,7 +6799,7 @@ const kd = {
|
|
|
6799
6799
|
);
|
|
6800
6800
|
}
|
|
6801
6801
|
return (o, s) => d(a).multiSelect && d(n).length > 0 && d(a).showSelectedSection ? (A(), g("div", Bd, [
|
|
6802
|
-
(A(!0), g(
|
|
6802
|
+
(A(!0), g(J, null, ae(d(n), (u) => (A(), g("div", {
|
|
6803
6803
|
key: d(i)(u),
|
|
6804
6804
|
class: "av-autocomplete-selected-tags__item"
|
|
6805
6805
|
}, [
|
|
@@ -6807,10 +6807,10 @@ const kd = {
|
|
|
6807
6807
|
key: 0,
|
|
6808
6808
|
option: u,
|
|
6809
6809
|
remove: () => l(u)
|
|
6810
|
-
}, void 0, !0) : (A(), R(
|
|
6810
|
+
}, void 0, !0) : (A(), R(me, {
|
|
6811
6811
|
key: 1,
|
|
6812
6812
|
label: d(r)(u),
|
|
6813
|
-
icon: d(
|
|
6813
|
+
icon: d($).CLOSE_CIRCLE_OUTLINE,
|
|
6814
6814
|
"icon-right": "",
|
|
6815
6815
|
size: "sm",
|
|
6816
6816
|
variant: "OUTLINED",
|
|
@@ -6852,13 +6852,13 @@ const kd = {
|
|
|
6852
6852
|
}),
|
|
6853
6853
|
emits: /* @__PURE__ */ pe(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
6854
6854
|
setup(e, { emit: t }) {
|
|
6855
|
-
const n = e, a = t, i =
|
|
6855
|
+
const n = e, a = t, i = ge(), r = Pe(e, "modelValue"), l = q(!1), o = q(""), s = q(), u = q(), c = q(), v = E(() => n.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
6856
6856
|
function y(D) {
|
|
6857
6857
|
o.value = D, a("search", D);
|
|
6858
6858
|
}
|
|
6859
6859
|
function m(D) {
|
|
6860
|
-
var k,
|
|
6861
|
-
(
|
|
6860
|
+
var k, N;
|
|
6861
|
+
(N = (k = c.value) == null ? void 0 : k.dropdownRef) != null && N.contains(D.relatedTarget) || setTimeout(() => {
|
|
6862
6862
|
l.value = !1;
|
|
6863
6863
|
}, n.blurCloseDelay);
|
|
6864
6864
|
}
|
|
@@ -6880,8 +6880,8 @@ const kd = {
|
|
|
6880
6880
|
});
|
|
6881
6881
|
function L(D) {
|
|
6882
6882
|
var S, x, W, K, Q;
|
|
6883
|
-
const k = D.target,
|
|
6884
|
-
!((x =
|
|
6883
|
+
const k = D.target, N = (S = u.value) == null ? void 0 : S.inputRef;
|
|
6884
|
+
!((x = N == null ? void 0 : N.contains) != null && x.call(N, k)) && !((W = s.value) != null && W.contains(k)) && !((Q = (K = c.value) == null ? void 0 : K.dropdownRef) != null && Q.contains(k)) && (l.value = !1);
|
|
6885
6885
|
}
|
|
6886
6886
|
return ue(() => {
|
|
6887
6887
|
document.addEventListener("click", L);
|
|
@@ -6897,11 +6897,11 @@ const kd = {
|
|
|
6897
6897
|
ref_key: "inputRef",
|
|
6898
6898
|
ref: u,
|
|
6899
6899
|
onSearch: y,
|
|
6900
|
-
onClear: k[0] || (k[0] = (
|
|
6900
|
+
onClear: k[0] || (k[0] = (N) => a("clear"))
|
|
6901
6901
|
}, lt({ _: 2 }, [
|
|
6902
6902
|
i.requiredTip ? {
|
|
6903
6903
|
name: "requiredTip",
|
|
6904
|
-
fn:
|
|
6904
|
+
fn: G(() => [
|
|
6905
6905
|
(A(), R(Ce(i.requiredTip)))
|
|
6906
6906
|
]),
|
|
6907
6907
|
key: "0"
|
|
@@ -6910,13 +6910,13 @@ const kd = {
|
|
|
6910
6910
|
X(Ld, {
|
|
6911
6911
|
ref_key: "dropdownRef",
|
|
6912
6912
|
ref: c,
|
|
6913
|
-
onLoadMore: k[1] || (k[1] = (
|
|
6913
|
+
onLoadMore: k[1] || (k[1] = (N) => a("loadMore"))
|
|
6914
6914
|
}, lt({ _: 2 }, [
|
|
6915
6915
|
i.item ? {
|
|
6916
6916
|
name: "item",
|
|
6917
|
-
fn:
|
|
6917
|
+
fn: G(({ option: N, isSelected: S, toggle: x }) => [
|
|
6918
6918
|
H(D.$slots, "item", {
|
|
6919
|
-
option:
|
|
6919
|
+
option: N,
|
|
6920
6920
|
isSelected: S,
|
|
6921
6921
|
toggle: x
|
|
6922
6922
|
}, void 0, !0)
|
|
@@ -6925,7 +6925,7 @@ const kd = {
|
|
|
6925
6925
|
} : void 0,
|
|
6926
6926
|
i.empty ? {
|
|
6927
6927
|
name: "empty",
|
|
6928
|
-
fn:
|
|
6928
|
+
fn: G(() => [
|
|
6929
6929
|
H(D.$slots, "empty", {}, void 0, !0)
|
|
6930
6930
|
]),
|
|
6931
6931
|
key: "1"
|
|
@@ -6935,9 +6935,9 @@ const kd = {
|
|
|
6935
6935
|
X(Pd, null, lt({ _: 2 }, [
|
|
6936
6936
|
i.selectedItem ? {
|
|
6937
6937
|
name: "selectedItem",
|
|
6938
|
-
fn:
|
|
6938
|
+
fn: G(({ option: N, remove: S }) => [
|
|
6939
6939
|
H(D.$slots, "selectedItem", {
|
|
6940
|
-
option:
|
|
6940
|
+
option: N,
|
|
6941
6941
|
remove: S
|
|
6942
6942
|
}, void 0, !0)
|
|
6943
6943
|
]),
|
|
@@ -6946,7 +6946,7 @@ const kd = {
|
|
|
6946
6946
|
]), 1024)
|
|
6947
6947
|
]));
|
|
6948
6948
|
}
|
|
6949
|
-
}),
|
|
6949
|
+
}), sv = /* @__PURE__ */ Y(Vd, [["__scopeId", "data-v-a8c4de33"]]), Ud = ["id"], Fd = ["id"], Hd = {
|
|
6950
6950
|
key: 0,
|
|
6951
6951
|
class: "fr-btns-group"
|
|
6952
6952
|
}, qd = {
|
|
@@ -7005,7 +7005,7 @@ const kd = {
|
|
|
7005
7005
|
const D = E(
|
|
7006
7006
|
() => e.options.filter((B) => typeof B == "object" && B !== null ? `${B[Yd]}`.toLowerCase().includes(f.value.toLowerCase()) : `${B}`.toLowerCase().includes(f.value.toLowerCase()))
|
|
7007
7007
|
), k = E(() => e.selected.length < D.value.length ? !1 : D.value.every((B) => e.selected.includes(B)));
|
|
7008
|
-
function
|
|
7008
|
+
function N() {
|
|
7009
7009
|
const B = new Set(l.value || []);
|
|
7010
7010
|
k.value ? D.value.forEach((h) => {
|
|
7011
7011
|
B.delete(h.value);
|
|
@@ -7021,16 +7021,16 @@ const kd = {
|
|
|
7021
7021
|
B.preventDefault();
|
|
7022
7022
|
const h = m(), M = document.activeElement, I = Array.from(h).indexOf(M);
|
|
7023
7023
|
if (I !== -1) {
|
|
7024
|
-
const
|
|
7025
|
-
h[
|
|
7024
|
+
const T = (I + 1) % h.length;
|
|
7025
|
+
h[T].focus();
|
|
7026
7026
|
}
|
|
7027
7027
|
}
|
|
7028
7028
|
function W(B) {
|
|
7029
7029
|
B.preventDefault();
|
|
7030
7030
|
const h = m(), M = document.activeElement, I = Array.from(h).indexOf(M);
|
|
7031
7031
|
if (I !== -1) {
|
|
7032
|
-
const
|
|
7033
|
-
h[
|
|
7032
|
+
const T = (I - 1 + h.length) % h.length;
|
|
7033
|
+
h[T].focus();
|
|
7034
7034
|
}
|
|
7035
7035
|
}
|
|
7036
7036
|
function K(B) {
|
|
@@ -7045,7 +7045,7 @@ const kd = {
|
|
|
7045
7045
|
return ve(() => {
|
|
7046
7046
|
L();
|
|
7047
7047
|
}), (B, h) => {
|
|
7048
|
-
const M =
|
|
7048
|
+
const M = me, I = rn;
|
|
7049
7049
|
return e.isVisible ? (A(), g("div", {
|
|
7050
7050
|
key: 0,
|
|
7051
7051
|
id: `${e.id}-collapse`,
|
|
@@ -7055,7 +7055,7 @@ const kd = {
|
|
|
7055
7055
|
"--width-host": `${d(o)}px`
|
|
7056
7056
|
}),
|
|
7057
7057
|
class: F(["fr-multiselect__collapse fr-collapse", { "fr-collapse--expanded": d(v), "fr-collapsing": d(c) }]),
|
|
7058
|
-
onTransitionend: h[2] || (h[2] = (
|
|
7058
|
+
onTransitionend: h[2] || (h[2] = (T) => d(y)(d(r)))
|
|
7059
7059
|
}, [
|
|
7060
7060
|
p("p", {
|
|
7061
7061
|
id: `${e.id}-text-hint`,
|
|
@@ -7068,8 +7068,8 @@ const kd = {
|
|
|
7068
7068
|
size: "sm",
|
|
7069
7069
|
disabled: d(D).length === 0,
|
|
7070
7070
|
label: e.selectAllLabel[d(k) ? 1 : 0],
|
|
7071
|
-
icon: d(k) ? d(
|
|
7072
|
-
onClick:
|
|
7071
|
+
icon: d(k) ? d($).CLOSE_CIRCLE_OUTLINE : d($).CHECK_CIRCLE_OUTLINE,
|
|
7072
|
+
onClick: N,
|
|
7073
7073
|
onKeydown: Ae(de(Q, ["shift"]), ["tab"])
|
|
7074
7074
|
}, null, 8, ["disabled", "label", "icon", "onKeydown"])
|
|
7075
7075
|
])
|
|
@@ -7078,7 +7078,7 @@ const kd = {
|
|
|
7078
7078
|
p("div", Rd, [
|
|
7079
7079
|
X(I, {
|
|
7080
7080
|
modelValue: d(f),
|
|
7081
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
7081
|
+
"onUpdate:modelValue": h[0] || (h[0] = (T) => Tt(f) ? f.value = T : null),
|
|
7082
7082
|
"aria-describedby": `${e.id}-text-hint`,
|
|
7083
7083
|
"aria-controls": `${e.id}-checkboxes`,
|
|
7084
7084
|
"aria-live": "polite",
|
|
@@ -7104,21 +7104,21 @@ const kd = {
|
|
|
7104
7104
|
legend: e.legend,
|
|
7105
7105
|
"legend-id": `${e.id}-checkboxes-legend`
|
|
7106
7106
|
}, {
|
|
7107
|
-
default:
|
|
7107
|
+
default: G(() => [
|
|
7108
7108
|
H(B.$slots, "legend", {}, void 0, !0),
|
|
7109
|
-
(A(!0), g(
|
|
7110
|
-
key: `${a(
|
|
7109
|
+
(A(!0), g(J, null, ae(d(D), (T) => (A(), g("div", {
|
|
7110
|
+
key: `${a(T, e.id)}-checkbox`,
|
|
7111
7111
|
class: "fr-fieldset__element"
|
|
7112
7112
|
}, [
|
|
7113
7113
|
p("div", Xd, [
|
|
7114
7114
|
X(_c, {
|
|
7115
|
-
id: `${a(
|
|
7115
|
+
id: `${a(T, e.id)}-checkbox`,
|
|
7116
7116
|
modelValue: l.value,
|
|
7117
7117
|
"onUpdate:modelValue": h[1] || (h[1] = (O) => l.value = O),
|
|
7118
|
-
value:
|
|
7119
|
-
label:
|
|
7120
|
-
icon:
|
|
7121
|
-
name: `${a(
|
|
7118
|
+
value: T.value,
|
|
7119
|
+
label: T.label,
|
|
7120
|
+
icon: T.icon,
|
|
7121
|
+
name: `${a(T, e.id)}-checkbox`,
|
|
7122
7122
|
onKeydown: [
|
|
7123
7123
|
Ae(x, ["down"]),
|
|
7124
7124
|
Ae(x, ["right"]),
|
|
@@ -7213,7 +7213,7 @@ const kd = {
|
|
|
7213
7213
|
b.value = !1;
|
|
7214
7214
|
}, 300), S();
|
|
7215
7215
|
}
|
|
7216
|
-
async function
|
|
7216
|
+
async function N() {
|
|
7217
7217
|
b.value ? k() : D();
|
|
7218
7218
|
}
|
|
7219
7219
|
function S() {
|
|
@@ -7240,7 +7240,7 @@ const kd = {
|
|
|
7240
7240
|
e.labelClass
|
|
7241
7241
|
]);
|
|
7242
7242
|
return (Q, B) => {
|
|
7243
|
-
const h =
|
|
7243
|
+
const h = me;
|
|
7244
7244
|
return A(), g("div", {
|
|
7245
7245
|
class: F({
|
|
7246
7246
|
"fr-multiselect--dense": e.dense,
|
|
@@ -7276,7 +7276,7 @@ const kd = {
|
|
|
7276
7276
|
"aria-expanded": d(i),
|
|
7277
7277
|
"aria-controls": `${e.id}-collapse`,
|
|
7278
7278
|
size: e.dense ? "sm" : "md",
|
|
7279
|
-
onClick:
|
|
7279
|
+
onClick: N,
|
|
7280
7280
|
onKeydown: Ae(de(x, ["shift"]), ["tab"])
|
|
7281
7281
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "size", "onKeydown"]),
|
|
7282
7282
|
X(Gd, {
|
|
@@ -7304,7 +7304,7 @@ const kd = {
|
|
|
7304
7304
|
], 2);
|
|
7305
7305
|
};
|
|
7306
7306
|
}
|
|
7307
|
-
}),
|
|
7307
|
+
}), cv = /* @__PURE__ */ Y(aA, [["__scopeId", "data-v-2e45fb78"]]), iA = /* @__PURE__ */ j({
|
|
7308
7308
|
__name: "AvSelect",
|
|
7309
7309
|
props: {
|
|
7310
7310
|
required: { type: Boolean },
|
|
@@ -7338,7 +7338,7 @@ const kd = {
|
|
|
7338
7338
|
}), null, 16, ["title"])
|
|
7339
7339
|
], 2));
|
|
7340
7340
|
}
|
|
7341
|
-
}),
|
|
7341
|
+
}), uv = /* @__PURE__ */ Y(iA, [["__scopeId", "data-v-d230e734"]]), dv = /* @__PURE__ */ j({
|
|
7342
7342
|
__name: "AvTab",
|
|
7343
7343
|
props: {
|
|
7344
7344
|
title: {},
|
|
@@ -7356,7 +7356,7 @@ const kd = {
|
|
|
7356
7356
|
},
|
|
7357
7357
|
emits: ["update:modelValue"],
|
|
7358
7358
|
setup(e, { expose: t, emit: n }) {
|
|
7359
|
-
const a = n, i =
|
|
7359
|
+
const a = n, i = ge(), r = q(e.modelValue), l = E(() => {
|
|
7360
7360
|
var y;
|
|
7361
7361
|
return ((y = i.default) == null ? void 0 : y.call(i)) || [];
|
|
7362
7362
|
});
|
|
@@ -7381,16 +7381,16 @@ const kd = {
|
|
|
7381
7381
|
}), ie(r, (y) => {
|
|
7382
7382
|
a("update:modelValue", y);
|
|
7383
7383
|
}), t({ activeTab: r }), (y, m) => {
|
|
7384
|
-
const f =
|
|
7384
|
+
const f = Ta, b = Ma, C = xc;
|
|
7385
7385
|
return A(), R(C, {
|
|
7386
7386
|
modelValue: d(r),
|
|
7387
|
-
"onUpdate:modelValue": m[0] || (m[0] = (L) =>
|
|
7387
|
+
"onUpdate:modelValue": m[0] || (m[0] = (L) => Tt(r) ? r.value = L : null),
|
|
7388
7388
|
class: F({ compact: e.compact }),
|
|
7389
7389
|
"tab-list-name": e.ariaLabel ?? "Liste d’onglets",
|
|
7390
7390
|
"tab-titles": []
|
|
7391
7391
|
}, {
|
|
7392
|
-
"tab-items":
|
|
7393
|
-
(A(!0), g(
|
|
7392
|
+
"tab-items": G(() => [
|
|
7393
|
+
(A(!0), g(J, null, ae(d(l), (L, D) => {
|
|
7394
7394
|
var k;
|
|
7395
7395
|
return A(), R(f, {
|
|
7396
7396
|
key: D,
|
|
@@ -7398,29 +7398,29 @@ const kd = {
|
|
|
7398
7398
|
"tab-id": `tab-${D}`,
|
|
7399
7399
|
"panel-id": `panel-${D}`,
|
|
7400
7400
|
icon: (k = L.props) == null ? void 0 : k.icon,
|
|
7401
|
-
onClick: (
|
|
7401
|
+
onClick: (N) => r.value = D,
|
|
7402
7402
|
onNext: u,
|
|
7403
7403
|
onPrevious: s,
|
|
7404
7404
|
onFirst: c,
|
|
7405
7405
|
onLast: v
|
|
7406
7406
|
}, {
|
|
7407
|
-
default:
|
|
7408
|
-
var
|
|
7407
|
+
default: G(() => {
|
|
7408
|
+
var N;
|
|
7409
7409
|
return [
|
|
7410
|
-
le(z((
|
|
7410
|
+
le(z((N = L.props) == null ? void 0 : N.title), 1)
|
|
7411
7411
|
];
|
|
7412
7412
|
}),
|
|
7413
7413
|
_: 2
|
|
7414
7414
|
}, 1032, ["class", "tab-id", "panel-id", "icon", "onClick"]);
|
|
7415
7415
|
}), 128))
|
|
7416
7416
|
]),
|
|
7417
|
-
default:
|
|
7418
|
-
(A(!0), g(
|
|
7417
|
+
default: G(() => [
|
|
7418
|
+
(A(!0), g(J, null, ae(d(l), (L, D) => (A(), R(b, {
|
|
7419
7419
|
key: D,
|
|
7420
7420
|
"panel-id": `panel-${D}`,
|
|
7421
7421
|
"tab-id": `tab-${D}`
|
|
7422
7422
|
}, {
|
|
7423
|
-
default:
|
|
7423
|
+
default: G(() => [
|
|
7424
7424
|
(A(), R(Ce(L.children.default)))
|
|
7425
7425
|
]),
|
|
7426
7426
|
_: 2
|
|
@@ -7430,7 +7430,7 @@ const kd = {
|
|
|
7430
7430
|
}, 8, ["modelValue", "class", "tab-list-name"]);
|
|
7431
7431
|
};
|
|
7432
7432
|
}
|
|
7433
|
-
}),
|
|
7433
|
+
}), Av = /* @__PURE__ */ Y(rA, [["__scopeId", "data-v-dbd71c5f"]]), lA = "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", oA = "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", sA = ["id", "for"], cA = {
|
|
7434
7434
|
width: "34",
|
|
7435
7435
|
height: "14"
|
|
7436
7436
|
}, uA = ["href"], dA = {
|
|
@@ -7453,7 +7453,7 @@ const kd = {
|
|
|
7453
7453
|
emits: ["update:modelValue"],
|
|
7454
7454
|
setup(e) {
|
|
7455
7455
|
const t = e, n = E(() => t.id ?? crypto.randomUUID()), a = E(() => `${n.value}-label`);
|
|
7456
|
-
return (i, r) => (A(), g(
|
|
7456
|
+
return (i, r) => (A(), g(J, null, [
|
|
7457
7457
|
p("label", {
|
|
7458
7458
|
id: d(a),
|
|
7459
7459
|
for: d(n),
|
|
@@ -7491,7 +7491,7 @@ const kd = {
|
|
|
7491
7491
|
}, null, 40, vA)
|
|
7492
7492
|
], 64));
|
|
7493
7493
|
}
|
|
7494
|
-
}),
|
|
7494
|
+
}), fv = /* @__PURE__ */ Y(mA, [["__scopeId", "data-v-c27aa110"]]), vv = /* @__PURE__ */ j({
|
|
7495
7495
|
__name: "AvBreadcrumb",
|
|
7496
7496
|
props: {
|
|
7497
7497
|
links: {},
|
|
@@ -7519,10 +7519,10 @@ const kd = {
|
|
|
7519
7519
|
]);
|
|
7520
7520
|
};
|
|
7521
7521
|
}
|
|
7522
|
-
}),
|
|
7522
|
+
}), mv = /* @__PURE__ */ Y(hA, [["__scopeId", "data-v-433349ab"]]), bA = ["aria-label"], IA = { class: "fr-pagination__list" }, yA = { key: 0 }, pA = { class: "b2-regular" }, CA = ["href", "title", "aria-disabled"], EA = { class: "fr-sr-only" }, MA = ["href", "title", "aria-disabled"], TA = {
|
|
7523
7523
|
key: 0,
|
|
7524
7524
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
7525
|
-
},
|
|
7525
|
+
}, NA = ["href", "title", "aria-current", "onClick"], kA = { key: 0 }, wA = { key: 1 }, OA = ["href", "title", "disabled", "aria-disabled"], xA = {
|
|
7526
7526
|
key: 0,
|
|
7527
7527
|
class: "caption-regular fr-hidden fr-unhidden-md"
|
|
7528
7528
|
}, LA = ["href", "title", "disabled", "aria-disabled"], DA = { class: "fr-sr-only" }, QA = /* @__PURE__ */ j({
|
|
@@ -7563,7 +7563,7 @@ const kd = {
|
|
|
7563
7563
|
onClick: f[0] || (f[0] = de((k) => s(), ["prevent"]))
|
|
7564
7564
|
}, [
|
|
7565
7565
|
X(se, {
|
|
7566
|
-
name: d(
|
|
7566
|
+
name: d($).PAGE_FIRST,
|
|
7567
7567
|
size: 1.5,
|
|
7568
7568
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
7569
7569
|
}, null, 8, ["name", "color"]),
|
|
@@ -7579,14 +7579,14 @@ const kd = {
|
|
|
7579
7579
|
onClick: f[1] || (f[1] = de((k) => u(), ["prevent"]))
|
|
7580
7580
|
}, [
|
|
7581
7581
|
X(se, {
|
|
7582
|
-
name: d(
|
|
7582
|
+
name: d($).NAVIGATE_BEFORE,
|
|
7583
7583
|
size: 1.5,
|
|
7584
7584
|
color: e.currentPage === 0 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
7585
7585
|
}, null, 8, ["name", "color"]),
|
|
7586
|
-
e.compact ? w("", !0) : (A(), g("span",
|
|
7586
|
+
e.compact ? w("", !0) : (A(), g("span", TA, z(e.prevPageLabel), 1))
|
|
7587
7587
|
], 8, MA)
|
|
7588
7588
|
]),
|
|
7589
|
-
e.compact ? w("", !0) : (A(!0), g(
|
|
7589
|
+
e.compact ? w("", !0) : (A(!0), g(J, { key: 1 }, ae(d(r), (k, N) => (A(), g("li", { key: N }, [
|
|
7590
7590
|
p("a", {
|
|
7591
7591
|
href: k == null ? void 0 : k.href,
|
|
7592
7592
|
class: "fr-pagination__link fr-unhidden-lg",
|
|
@@ -7597,7 +7597,7 @@ const kd = {
|
|
|
7597
7597
|
d(r).indexOf(k) === 0 && d(a) > 0 ? (A(), g("span", kA, "...")) : w("", !0),
|
|
7598
7598
|
le(" " + z(k.label) + " ", 1),
|
|
7599
7599
|
d(r).indexOf(k) === d(r).length - 1 && d(i) < e.pages.length - 1 ? (A(), g("span", wA, "...")) : w("", !0)
|
|
7600
|
-
], 8,
|
|
7600
|
+
], 8, NA)
|
|
7601
7601
|
]))), 128)),
|
|
7602
7602
|
p("li", null, [
|
|
7603
7603
|
p("a", {
|
|
@@ -7610,7 +7610,7 @@ const kd = {
|
|
|
7610
7610
|
}, [
|
|
7611
7611
|
e.compact ? w("", !0) : (A(), g("span", xA, z(e.nextPageLabel), 1)),
|
|
7612
7612
|
X(se, {
|
|
7613
|
-
name: d(
|
|
7613
|
+
name: d($).NAVIGATE_NEXT,
|
|
7614
7614
|
size: 1.5,
|
|
7615
7615
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
7616
7616
|
}, null, 8, ["name", "color"])
|
|
@@ -7628,7 +7628,7 @@ const kd = {
|
|
|
7628
7628
|
}, [
|
|
7629
7629
|
p("span", DA, z(e.lastPageLabel), 1),
|
|
7630
7630
|
X(se, {
|
|
7631
|
-
name: d(
|
|
7631
|
+
name: d($).PAGE_LAST,
|
|
7632
7632
|
size: 1.5,
|
|
7633
7633
|
color: e.currentPage === e.pages.length - 1 ? "var(--dark-background-neutral)" : "var(--dark-background-primary1)"
|
|
7634
7634
|
}, null, 8, ["name", "color"])
|
|
@@ -7638,8 +7638,8 @@ const kd = {
|
|
|
7638
7638
|
], 8, bA);
|
|
7639
7639
|
};
|
|
7640
7640
|
}
|
|
7641
|
-
}),
|
|
7642
|
-
function
|
|
7641
|
+
}), gv = /* @__PURE__ */ Y(QA, [["__scopeId", "data-v-b95a4c48"]]);
|
|
7642
|
+
function hv(e) {
|
|
7643
7643
|
return Array.from({ length: e.value }, (t, n) => {
|
|
7644
7644
|
const a = n + 1;
|
|
7645
7645
|
return {
|
|
@@ -7686,10 +7686,10 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7686
7686
|
"aria-label": d(l)
|
|
7687
7687
|
}, [
|
|
7688
7688
|
t.collapsible ? (A(), g("div", zA, [
|
|
7689
|
-
X(
|
|
7689
|
+
X(me, {
|
|
7690
7690
|
"aria-expanded": !d(o),
|
|
7691
7691
|
"aria-controls": d(r),
|
|
7692
|
-
icon: d(o) ? d(
|
|
7692
|
+
icon: d(o) ? d($).CHEVRON_DOUBLE_RIGHT : d($).CHEVRON_DOUBLE_LEFT,
|
|
7693
7693
|
class: "av-side-menu__collapse-button",
|
|
7694
7694
|
label: d(o) ? `${d(r)}-expand-button` : `${d(r)}-collapse-button`,
|
|
7695
7695
|
"icon-only": "",
|
|
@@ -7729,13 +7729,13 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7729
7729
|
"collapsed-width": e.collapsedWidth,
|
|
7730
7730
|
color: e.selectedItemColor
|
|
7731
7731
|
}, {
|
|
7732
|
-
default:
|
|
7733
|
-
X(d(
|
|
7732
|
+
default: G(() => [
|
|
7733
|
+
X(d(Na), {
|
|
7734
7734
|
size: "small",
|
|
7735
7735
|
role: "menu"
|
|
7736
7736
|
}, {
|
|
7737
|
-
default:
|
|
7738
|
-
(A(!0), g(
|
|
7737
|
+
default: G(() => [
|
|
7738
|
+
(A(!0), g(J, null, ae(e.items, (l) => (A(), R(d(ka), {
|
|
7739
7739
|
key: l.id,
|
|
7740
7740
|
title: n.value ? void 0 : l.label,
|
|
7741
7741
|
icon: l.icon,
|
|
@@ -7757,7 +7757,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7757
7757
|
_: 1
|
|
7758
7758
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
7759
7759
|
}
|
|
7760
|
-
}),
|
|
7760
|
+
}), bv = /* @__PURE__ */ Y(WA, [["__scopeId", "data-v-3c5a1abd"]]), VA = { class: "custom-width-container" }, UA = { class: "block-container" }, FA = { class: "main-container" }, HA = ["aria-current"], qA = ["aria-current"], RA = { class: "b1-regular" }, XA = { class: "main-labels-container" }, ZA = /* @__PURE__ */ j({
|
|
7761
7761
|
__name: "AvStepper",
|
|
7762
7762
|
props: {
|
|
7763
7763
|
steps: {},
|
|
@@ -7778,7 +7778,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7778
7778
|
}, [...l[0] || (l[0] = [
|
|
7779
7779
|
p("span", { class: "b1-regular" }, "1", -1)
|
|
7780
7780
|
])], 8, HA),
|
|
7781
|
-
(A(!0), g(
|
|
7781
|
+
(A(!0), g(J, null, ae(d(n).slice(1, d(n).length), (o, s) => (A(), g("div", {
|
|
7782
7782
|
key: s,
|
|
7783
7783
|
class: "steps-container"
|
|
7784
7784
|
}, [
|
|
@@ -7794,7 +7794,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7794
7794
|
]))), 128))
|
|
7795
7795
|
]),
|
|
7796
7796
|
p("div", XA, [
|
|
7797
|
-
(A(!0), g(
|
|
7797
|
+
(A(!0), g(J, null, ae(d(n), (o, s) => (A(), g("div", {
|
|
7798
7798
|
key: s,
|
|
7799
7799
|
class: "label-container"
|
|
7800
7800
|
}, [
|
|
@@ -7809,7 +7809,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7809
7809
|
])
|
|
7810
7810
|
]));
|
|
7811
7811
|
}
|
|
7812
|
-
}),
|
|
7812
|
+
}), Iv = /* @__PURE__ */ Y(ZA, [["__scopeId", "data-v-26a5b40e"]]), YA = { key: 0 }, KA = {
|
|
7813
7813
|
key: 0,
|
|
7814
7814
|
class: "av-drawer-backdrop"
|
|
7815
7815
|
}, GA = ["aria-label"], JA = { class: "av-drawer__content-wrapper" }, $A = { class: "av-drawer__content" }, _A = {
|
|
@@ -7831,7 +7831,7 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7831
7831
|
v52ac02d7: d(l),
|
|
7832
7832
|
v5085de3c: d(o)
|
|
7833
7833
|
}));
|
|
7834
|
-
const n = e, a = t, i =
|
|
7834
|
+
const n = e, a = t, i = ge(), { position: r, width: l, padding: o, show: s } = _t(n);
|
|
7835
7835
|
function u(c) {
|
|
7836
7836
|
c.key === "Escape" && a("escapePressed");
|
|
7837
7837
|
}
|
|
@@ -7862,66 +7862,8 @@ const SA = ["id", "aria-label"], zA = {
|
|
|
7862
7862
|
], 10, GA)
|
|
7863
7863
|
])) : w("", !0);
|
|
7864
7864
|
}
|
|
7865
|
-
}),
|
|
7866
|
-
|
|
7867
|
-
class: "header"
|
|
7868
|
-
}, nf = { class: "footer" }, af = /* @__PURE__ */ j({
|
|
7869
|
-
__name: "AvModal",
|
|
7870
|
-
props: {
|
|
7871
|
-
modalId: {},
|
|
7872
|
-
opened: { type: Boolean },
|
|
7873
|
-
isAlert: { type: Boolean },
|
|
7874
|
-
origin: {},
|
|
7875
|
-
icon: {},
|
|
7876
|
-
size: {},
|
|
7877
|
-
closeButtonLabel: {},
|
|
7878
|
-
closeButtonIcon: {},
|
|
7879
|
-
closeButtonDisabled: { type: Boolean },
|
|
7880
|
-
confirmButtonLabel: {},
|
|
7881
|
-
confirmButtonIcon: {},
|
|
7882
|
-
confirmButtonDisabled: { type: Boolean },
|
|
7883
|
-
isLoading: { type: Boolean }
|
|
7884
|
-
},
|
|
7885
|
-
emits: ["close", "confirm"],
|
|
7886
|
-
setup(e, { emit: t }) {
|
|
7887
|
-
const n = Gn(e, ["isLoading"]), a = t, i = me(), r = E(() => n.closeButtonIcon ?? ee.CLOSE_CIRCLE_OUTLINE), l = E(() => n.confirmButtonIcon ?? ee.CHECK_CIRCLE_OUTLINE);
|
|
7888
|
-
return (o, s) => {
|
|
7889
|
-
const u = Fc, c = Fs;
|
|
7890
|
-
return A(), R(_n, { to: "body" }, [
|
|
7891
|
-
X(c, te(n, {
|
|
7892
|
-
title: "",
|
|
7893
|
-
onKeydown: s[2] || (s[2] = Ae((v) => a("close"), ["esc"]))
|
|
7894
|
-
}), {
|
|
7895
|
-
default: J(() => [
|
|
7896
|
-
i.header ? (A(), g("div", tf, [
|
|
7897
|
-
H(o.$slots, "header", {}, void 0, !0)
|
|
7898
|
-
])) : w("", !0),
|
|
7899
|
-
H(o.$slots, "default", {}, void 0, !0)
|
|
7900
|
-
]),
|
|
7901
|
-
footer: J(() => [
|
|
7902
|
-
p("div", nf, [
|
|
7903
|
-
X(u, {
|
|
7904
|
-
"cancel-label": n.closeButtonLabel,
|
|
7905
|
-
"cancel-icon": d(r),
|
|
7906
|
-
"cancel-disabled": n.closeButtonDisabled,
|
|
7907
|
-
"cancel-is-loading": e.isLoading,
|
|
7908
|
-
"confirm-label": n.confirmButtonLabel,
|
|
7909
|
-
"confirm-icon": d(l),
|
|
7910
|
-
"confirm-disabled": n.confirmButtonDisabled,
|
|
7911
|
-
"confirm-is-loading": e.isLoading,
|
|
7912
|
-
onCancel: s[0] || (s[0] = () => a("close")),
|
|
7913
|
-
onConfirm: s[1] || (s[1] = () => a("confirm"))
|
|
7914
|
-
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
7915
|
-
H(o.$slots, "footer", {}, void 0, !0)
|
|
7916
|
-
])
|
|
7917
|
-
]),
|
|
7918
|
-
_: 3
|
|
7919
|
-
}, 16)
|
|
7920
|
-
]);
|
|
7921
|
-
};
|
|
7922
|
-
}
|
|
7923
|
-
}), bv = /* @__PURE__ */ Y(af, [["__scopeId", "data-v-aef6262c"]]);
|
|
7924
|
-
function rf(e, t) {
|
|
7865
|
+
}), yv = /* @__PURE__ */ Y(ef, [["__scopeId", "data-v-2f06b4d1"]]);
|
|
7866
|
+
function tf(e, t) {
|
|
7925
7867
|
const n = q(!1), a = q({ top: 0, left: 0 }), i = async () => {
|
|
7926
7868
|
if (n.value = !n.value, n.value && e.value) {
|
|
7927
7869
|
await De();
|
|
@@ -7949,7 +7891,7 @@ function rf(e, t) {
|
|
|
7949
7891
|
closePopover: r
|
|
7950
7892
|
};
|
|
7951
7893
|
}
|
|
7952
|
-
const
|
|
7894
|
+
const nf = {
|
|
7953
7895
|
sm: 576,
|
|
7954
7896
|
/* 36rem */
|
|
7955
7897
|
md: 768,
|
|
@@ -7959,8 +7901,8 @@ const lf = {
|
|
|
7959
7901
|
xl: 1440
|
|
7960
7902
|
/* 90rem */
|
|
7961
7903
|
};
|
|
7962
|
-
function
|
|
7963
|
-
const e = /* @__PURE__ */ ed(
|
|
7904
|
+
function pv() {
|
|
7905
|
+
const e = /* @__PURE__ */ ed(nf), t = e.smaller("sm"), n = e.smaller("md"), a = e.smaller("lg"), i = e.smaller("xl"), r = e.greater("md"), l = e.greater("lg"), o = n, s = E(() => r.value && a.value);
|
|
7964
7906
|
return {
|
|
7965
7907
|
isMobile: o,
|
|
7966
7908
|
isTablet: s,
|
|
@@ -7988,7 +7930,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
7988
7930
|
n === void 0 && (n = !0);
|
|
7989
7931
|
var i = t == null || (a = t.getAttribute) === null || a === void 0 ? void 0 : a.call(t, "inert"), r = i === "" || i === "true", l = r || n && t && e(t.parentNode);
|
|
7990
7932
|
return l;
|
|
7991
|
-
},
|
|
7933
|
+
}, af = function(t) {
|
|
7992
7934
|
var n, a = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
7993
7935
|
return a === "" || a === "true";
|
|
7994
7936
|
}, Va = function(t, n, a) {
|
|
@@ -8027,26 +7969,26 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8027
7969
|
}, Oe = function(t) {
|
|
8028
7970
|
if (!t)
|
|
8029
7971
|
throw new Error("No node provided");
|
|
8030
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
8031
|
-
},
|
|
7972
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || af(t)) && !Fa(t) ? 0 : t.tabIndex;
|
|
7973
|
+
}, rf = function(t, n) {
|
|
8032
7974
|
var a = Oe(t);
|
|
8033
7975
|
return a < 0 && n && !Fa(t) ? 0 : a;
|
|
8034
|
-
},
|
|
7976
|
+
}, lf = function(t, n) {
|
|
8035
7977
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
8036
7978
|
}, Ha = function(t) {
|
|
8037
7979
|
return t.tagName === "INPUT";
|
|
8038
|
-
},
|
|
7980
|
+
}, of = function(t) {
|
|
8039
7981
|
return Ha(t) && t.type === "hidden";
|
|
8040
|
-
},
|
|
7982
|
+
}, sf = function(t) {
|
|
8041
7983
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(a) {
|
|
8042
7984
|
return a.tagName === "SUMMARY";
|
|
8043
7985
|
});
|
|
8044
7986
|
return n;
|
|
8045
|
-
},
|
|
7987
|
+
}, cf = function(t, n) {
|
|
8046
7988
|
for (var a = 0; a < t.length; a++)
|
|
8047
7989
|
if (t[a].checked && t[a].form === n)
|
|
8048
7990
|
return t[a];
|
|
8049
|
-
},
|
|
7991
|
+
}, uf = function(t) {
|
|
8050
7992
|
if (!t.name)
|
|
8051
7993
|
return !0;
|
|
8052
7994
|
var n = t.form || It(t), a = function(o) {
|
|
@@ -8060,13 +8002,13 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8060
8002
|
} catch (l) {
|
|
8061
8003
|
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", l.message), !1;
|
|
8062
8004
|
}
|
|
8063
|
-
var r =
|
|
8005
|
+
var r = cf(i, t.form);
|
|
8064
8006
|
return !r || r === t;
|
|
8065
|
-
},
|
|
8007
|
+
}, df = function(t) {
|
|
8066
8008
|
return Ha(t) && t.type === "radio";
|
|
8067
|
-
},
|
|
8068
|
-
return
|
|
8069
|
-
},
|
|
8009
|
+
}, Af = function(t) {
|
|
8010
|
+
return df(t) && !uf(t);
|
|
8011
|
+
}, ff = function(t) {
|
|
8070
8012
|
var n, a = t && It(t), i = (n = a) === null || n === void 0 ? void 0 : n.host, r = !1;
|
|
8071
8013
|
if (a && a !== t) {
|
|
8072
8014
|
var l, o, s;
|
|
@@ -8079,7 +8021,7 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8079
8021
|
}, Rn = function(t) {
|
|
8080
8022
|
var n = t.getBoundingClientRect(), a = n.width, i = n.height;
|
|
8081
8023
|
return a === 0 && i === 0;
|
|
8082
|
-
},
|
|
8024
|
+
}, vf = function(t, n) {
|
|
8083
8025
|
var a = n.displayCheck, i = n.getShadowRoot;
|
|
8084
8026
|
if (getComputedStyle(t).visibility === "hidden")
|
|
8085
8027
|
return !0;
|
|
@@ -8096,14 +8038,14 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8096
8038
|
}
|
|
8097
8039
|
t = o;
|
|
8098
8040
|
}
|
|
8099
|
-
if (
|
|
8041
|
+
if (ff(t))
|
|
8100
8042
|
return !t.getClientRects().length;
|
|
8101
8043
|
if (a !== "legacy-full")
|
|
8102
8044
|
return !0;
|
|
8103
8045
|
} else if (a === "non-zero-area")
|
|
8104
8046
|
return Rn(t);
|
|
8105
8047
|
return !1;
|
|
8106
|
-
},
|
|
8048
|
+
}, mf = function(t) {
|
|
8107
8049
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
8108
8050
|
for (var n = t.parentElement; n; ) {
|
|
8109
8051
|
if (n.tagName === "FIELDSET" && n.disabled) {
|
|
@@ -8121,17 +8063,17 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8121
8063
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
8122
8064
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
8123
8065
|
// note related to `candidateSelectors`)
|
|
8124
|
-
yt(n) ||
|
|
8125
|
-
|
|
8066
|
+
yt(n) || of(n) || vf(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
8067
|
+
sf(n) || mf(n));
|
|
8126
8068
|
}, Yt = function(t, n) {
|
|
8127
|
-
return !(
|
|
8128
|
-
},
|
|
8069
|
+
return !(Af(n) || Oe(n) < 0 || !pt(t, n));
|
|
8070
|
+
}, gf = function(t) {
|
|
8129
8071
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
8130
8072
|
return !!(isNaN(n) || n >= 0);
|
|
8131
|
-
},
|
|
8073
|
+
}, hf = function e(t) {
|
|
8132
8074
|
var n = [], a = [];
|
|
8133
8075
|
return t.forEach(function(i, r) {
|
|
8134
|
-
var l = !!i.scopeParent, o = l ? i.scopeParent : i, s =
|
|
8076
|
+
var l = !!i.scopeParent, o = l ? i.scopeParent : i, s = rf(o, l), u = l ? e(i.candidates) : o;
|
|
8135
8077
|
s === 0 ? l ? n.push.apply(n, u) : n.push(o) : a.push({
|
|
8136
8078
|
documentOrder: r,
|
|
8137
8079
|
tabIndex: s,
|
|
@@ -8139,19 +8081,19 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8139
8081
|
isScope: l,
|
|
8140
8082
|
content: u
|
|
8141
8083
|
});
|
|
8142
|
-
}), a.sort(
|
|
8084
|
+
}), a.sort(lf).reduce(function(i, r) {
|
|
8143
8085
|
return r.isScope ? i.push.apply(i, r.content) : i.push(r.content), i;
|
|
8144
8086
|
}, []).concat(n);
|
|
8145
|
-
},
|
|
8087
|
+
}, bf = function(t, n) {
|
|
8146
8088
|
n = n || {};
|
|
8147
8089
|
var a;
|
|
8148
8090
|
return n.getShadowRoot ? a = Ua([t], n.includeContainer, {
|
|
8149
8091
|
filter: Yt.bind(null, n),
|
|
8150
8092
|
flatten: !1,
|
|
8151
8093
|
getShadowRoot: n.getShadowRoot,
|
|
8152
|
-
shadowRootFilter:
|
|
8153
|
-
}) : a = Va(t, n.includeContainer, Yt.bind(null, n)),
|
|
8154
|
-
},
|
|
8094
|
+
shadowRootFilter: gf
|
|
8095
|
+
}) : a = Va(t, n.includeContainer, Yt.bind(null, n)), hf(a);
|
|
8096
|
+
}, If = function(t, n) {
|
|
8155
8097
|
n = n || {};
|
|
8156
8098
|
var a;
|
|
8157
8099
|
return n.getShadowRoot ? a = Ua([t], n.includeContainer, {
|
|
@@ -8163,10 +8105,10 @@ var Pa = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
8163
8105
|
if (n = n || {}, !t)
|
|
8164
8106
|
throw new Error("No node provided");
|
|
8165
8107
|
return Le.call(t, bt) === !1 ? !1 : Yt(n, t);
|
|
8166
|
-
},
|
|
8108
|
+
}, yf = /* @__PURE__ */ Pa.concat("iframe").join(","), Pt = function(t, n) {
|
|
8167
8109
|
if (n = n || {}, !t)
|
|
8168
8110
|
throw new Error("No node provided");
|
|
8169
|
-
return Le.call(t,
|
|
8111
|
+
return Le.call(t, yf) === !1 ? !1 : pt(n, t);
|
|
8170
8112
|
};
|
|
8171
8113
|
/*!
|
|
8172
8114
|
* focus-trap 7.6.5
|
|
@@ -8177,21 +8119,21 @@ function Kt(e, t) {
|
|
|
8177
8119
|
for (var n = 0, a = Array(t); n < t; n++) a[n] = e[n];
|
|
8178
8120
|
return a;
|
|
8179
8121
|
}
|
|
8180
|
-
function
|
|
8122
|
+
function pf(e) {
|
|
8181
8123
|
if (Array.isArray(e)) return Kt(e);
|
|
8182
8124
|
}
|
|
8183
|
-
function
|
|
8184
|
-
return (t =
|
|
8125
|
+
function Cf(e, t, n) {
|
|
8126
|
+
return (t = kf(t)) in e ? Object.defineProperty(e, t, {
|
|
8185
8127
|
value: n,
|
|
8186
8128
|
enumerable: !0,
|
|
8187
8129
|
configurable: !0,
|
|
8188
8130
|
writable: !0
|
|
8189
8131
|
}) : e[t] = n, e;
|
|
8190
8132
|
}
|
|
8191
|
-
function
|
|
8133
|
+
function Ef(e) {
|
|
8192
8134
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
8193
8135
|
}
|
|
8194
|
-
function
|
|
8136
|
+
function Mf() {
|
|
8195
8137
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8196
8138
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
8197
8139
|
}
|
|
@@ -8209,17 +8151,17 @@ function Zn(e) {
|
|
|
8209
8151
|
for (var t = 1; t < arguments.length; t++) {
|
|
8210
8152
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
8211
8153
|
t % 2 ? Xn(Object(n), !0).forEach(function(a) {
|
|
8212
|
-
|
|
8154
|
+
Cf(e, a, n[a]);
|
|
8213
8155
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xn(Object(n)).forEach(function(a) {
|
|
8214
8156
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
|
|
8215
8157
|
});
|
|
8216
8158
|
}
|
|
8217
8159
|
return e;
|
|
8218
8160
|
}
|
|
8219
|
-
function
|
|
8220
|
-
return
|
|
8161
|
+
function Tf(e) {
|
|
8162
|
+
return pf(e) || Ef(e) || wf(e) || Mf();
|
|
8221
8163
|
}
|
|
8222
|
-
function
|
|
8164
|
+
function Nf(e, t) {
|
|
8223
8165
|
if (typeof e != "object" || !e) return e;
|
|
8224
8166
|
var n = e[Symbol.toPrimitive];
|
|
8225
8167
|
if (n !== void 0) {
|
|
@@ -8229,11 +8171,11 @@ function Of(e, t) {
|
|
|
8229
8171
|
}
|
|
8230
8172
|
return (t === "string" ? String : Number)(e);
|
|
8231
8173
|
}
|
|
8232
|
-
function
|
|
8233
|
-
var t =
|
|
8174
|
+
function kf(e) {
|
|
8175
|
+
var t = Nf(e, "string");
|
|
8234
8176
|
return typeof t == "symbol" ? t : t + "";
|
|
8235
8177
|
}
|
|
8236
|
-
function
|
|
8178
|
+
function wf(e, t) {
|
|
8237
8179
|
if (e) {
|
|
8238
8180
|
if (typeof e == "string") return Kt(e, t);
|
|
8239
8181
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -8253,15 +8195,15 @@ var Yn = {
|
|
|
8253
8195
|
var a = t.indexOf(n);
|
|
8254
8196
|
a !== -1 && t.splice(a, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
|
|
8255
8197
|
}
|
|
8256
|
-
},
|
|
8198
|
+
}, Of = function(t) {
|
|
8257
8199
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
8258
|
-
},
|
|
8200
|
+
}, xf = function(t) {
|
|
8259
8201
|
return (t == null ? void 0 : t.key) === "Escape" || (t == null ? void 0 : t.key) === "Esc" || (t == null ? void 0 : t.keyCode) === 27;
|
|
8260
8202
|
}, et = function(t) {
|
|
8261
8203
|
return (t == null ? void 0 : t.key) === "Tab" || (t == null ? void 0 : t.keyCode) === 9;
|
|
8262
|
-
},
|
|
8204
|
+
}, Lf = function(t) {
|
|
8263
8205
|
return et(t) && !t.shiftKey;
|
|
8264
|
-
},
|
|
8206
|
+
}, Df = function(t) {
|
|
8265
8207
|
return et(t) && t.shiftKey;
|
|
8266
8208
|
}, Kn = function(t) {
|
|
8267
8209
|
return setTimeout(t, 0);
|
|
@@ -8271,13 +8213,13 @@ var Yn = {
|
|
|
8271
8213
|
return typeof t == "function" ? t.apply(void 0, a) : t;
|
|
8272
8214
|
}, rt = function(t) {
|
|
8273
8215
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
8274
|
-
},
|
|
8275
|
-
var a = (n == null ? void 0 : n.document) || document, i = (n == null ? void 0 : n.trapStack) ||
|
|
8216
|
+
}, Qf = [], Sf = function(t, n) {
|
|
8217
|
+
var a = (n == null ? void 0 : n.document) || document, i = (n == null ? void 0 : n.trapStack) || Qf, r = Zn({
|
|
8276
8218
|
returnFocusOnDeactivate: !0,
|
|
8277
8219
|
escapeDeactivates: !0,
|
|
8278
8220
|
delayInitialFocus: !0,
|
|
8279
|
-
isKeyForward:
|
|
8280
|
-
isKeyBackward:
|
|
8221
|
+
isKeyForward: Lf,
|
|
8222
|
+
isKeyBackward: Df
|
|
8281
8223
|
}, n), l = {
|
|
8282
8224
|
// containers given to createFocusTrap()
|
|
8283
8225
|
// @type {Array<HTMLElement>}
|
|
@@ -8315,10 +8257,10 @@ var Yn = {
|
|
|
8315
8257
|
delayInitialFocusTimer: void 0,
|
|
8316
8258
|
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
8317
8259
|
recentNavEvent: void 0
|
|
8318
|
-
}, o, s = function(I,
|
|
8319
|
-
return I && I[
|
|
8320
|
-
}, u = function(I,
|
|
8321
|
-
var O = typeof (
|
|
8260
|
+
}, o, s = function(I, T, O) {
|
|
8261
|
+
return I && I[T] !== void 0 ? I[T] : r[O || T];
|
|
8262
|
+
}, u = function(I, T) {
|
|
8263
|
+
var O = typeof (T == null ? void 0 : T.composedPath) == "function" ? T.composedPath() : void 0;
|
|
8322
8264
|
return l.containerGroups.findIndex(function(V) {
|
|
8323
8265
|
var P = V.container, Z = V.tabbableNodes;
|
|
8324
8266
|
return P.contains(I) || // fall back to explicit tabbable search which will take into consideration any
|
|
@@ -8330,23 +8272,23 @@ var Yn = {
|
|
|
8330
8272
|
});
|
|
8331
8273
|
});
|
|
8332
8274
|
}, c = function(I) {
|
|
8333
|
-
var
|
|
8334
|
-
if (typeof U == "function" && (U = U.apply(void 0,
|
|
8275
|
+
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, O = T.hasFallback, V = O === void 0 ? !1 : O, P = T.params, Z = P === void 0 ? [] : P, U = r[I];
|
|
8276
|
+
if (typeof U == "function" && (U = U.apply(void 0, Tf(Z))), U === !0 && (U = void 0), !U) {
|
|
8335
8277
|
if (U === void 0 || U === !1)
|
|
8336
8278
|
return U;
|
|
8337
8279
|
throw new Error("`".concat(I, "` was specified but was not a node, or did not return a node"));
|
|
8338
8280
|
}
|
|
8339
|
-
var
|
|
8281
|
+
var _ = U;
|
|
8340
8282
|
if (typeof U == "string") {
|
|
8341
8283
|
try {
|
|
8342
|
-
|
|
8284
|
+
_ = a.querySelector(U);
|
|
8343
8285
|
} catch (ne) {
|
|
8344
8286
|
throw new Error("`".concat(I, '` appears to be an invalid selector; error="').concat(ne.message, '"'));
|
|
8345
8287
|
}
|
|
8346
|
-
if (
|
|
8288
|
+
if (!_ && !V)
|
|
8347
8289
|
throw new Error("`".concat(I, "` as selector refers to no known node"));
|
|
8348
8290
|
}
|
|
8349
|
-
return
|
|
8291
|
+
return _;
|
|
8350
8292
|
}, v = function() {
|
|
8351
8293
|
var I = c("initialFocus", {
|
|
8352
8294
|
hasFallback: !0
|
|
@@ -8357,7 +8299,7 @@ var Yn = {
|
|
|
8357
8299
|
if (u(a.activeElement) >= 0)
|
|
8358
8300
|
I = a.activeElement;
|
|
8359
8301
|
else {
|
|
8360
|
-
var
|
|
8302
|
+
var T = l.tabbableGroups[0], O = T && T.firstTabbableNode;
|
|
8361
8303
|
I = O || c("fallbackFocus");
|
|
8362
8304
|
}
|
|
8363
8305
|
else I === null && (I = c("fallbackFocus"));
|
|
@@ -8366,19 +8308,19 @@ var Yn = {
|
|
|
8366
8308
|
return I;
|
|
8367
8309
|
}, y = function() {
|
|
8368
8310
|
if (l.containerGroups = l.containers.map(function(I) {
|
|
8369
|
-
var
|
|
8311
|
+
var T = bf(I, r.tabbableOptions), O = If(I, r.tabbableOptions), V = T.length > 0 ? T[0] : void 0, P = T.length > 0 ? T[T.length - 1] : void 0, Z = O.find(function(ne) {
|
|
8370
8312
|
return Be(ne);
|
|
8371
8313
|
}), U = O.slice().reverse().find(function(ne) {
|
|
8372
8314
|
return Be(ne);
|
|
8373
|
-
}),
|
|
8315
|
+
}), _ = !!T.find(function(ne) {
|
|
8374
8316
|
return Oe(ne) > 0;
|
|
8375
8317
|
});
|
|
8376
8318
|
return {
|
|
8377
8319
|
container: I,
|
|
8378
|
-
tabbableNodes:
|
|
8320
|
+
tabbableNodes: T,
|
|
8379
8321
|
focusableNodes: O,
|
|
8380
8322
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
8381
|
-
posTabIndexesFound:
|
|
8323
|
+
posTabIndexesFound: _,
|
|
8382
8324
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
8383
8325
|
firstTabbableNode: V,
|
|
8384
8326
|
/** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
@@ -8403,12 +8345,12 @@ var Yn = {
|
|
|
8403
8345
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
|
8404
8346
|
*/
|
|
8405
8347
|
nextTabbableNode: function(oe) {
|
|
8406
|
-
var
|
|
8407
|
-
return
|
|
8348
|
+
var Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, he = T.indexOf(oe);
|
|
8349
|
+
return he < 0 ? Ne ? O.slice(O.indexOf(oe) + 1).find(function(ye) {
|
|
8408
8350
|
return Be(ye);
|
|
8409
8351
|
}) : O.slice(0, O.indexOf(oe)).reverse().find(function(ye) {
|
|
8410
8352
|
return Be(ye);
|
|
8411
|
-
}) :
|
|
8353
|
+
}) : T[he + (Ne ? 1 : -1)];
|
|
8412
8354
|
}
|
|
8413
8355
|
};
|
|
8414
8356
|
}), l.tabbableGroups = l.containerGroups.filter(function(I) {
|
|
@@ -8420,9 +8362,9 @@ var Yn = {
|
|
|
8420
8362
|
}) && l.containerGroups.length > 1)
|
|
8421
8363
|
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.");
|
|
8422
8364
|
}, m = function(I) {
|
|
8423
|
-
var
|
|
8424
|
-
if (
|
|
8425
|
-
return
|
|
8365
|
+
var T = I.activeElement;
|
|
8366
|
+
if (T)
|
|
8367
|
+
return T.shadowRoot && T.shadowRoot.activeElement !== null ? m(T.shadowRoot) : T;
|
|
8426
8368
|
}, f = function(I) {
|
|
8427
8369
|
if (I !== !1 && I !== m(document)) {
|
|
8428
8370
|
if (!I || !I.focus) {
|
|
@@ -8431,46 +8373,46 @@ var Yn = {
|
|
|
8431
8373
|
}
|
|
8432
8374
|
I.focus({
|
|
8433
8375
|
preventScroll: !!r.preventScroll
|
|
8434
|
-
}), l.mostRecentlyFocusedNode = I,
|
|
8376
|
+
}), l.mostRecentlyFocusedNode = I, Of(I) && I.select();
|
|
8435
8377
|
}
|
|
8436
8378
|
}, b = function(I) {
|
|
8437
|
-
var
|
|
8379
|
+
var T = c("setReturnFocus", {
|
|
8438
8380
|
params: [I]
|
|
8439
8381
|
});
|
|
8440
|
-
return
|
|
8382
|
+
return T || (T === !1 ? !1 : I);
|
|
8441
8383
|
}, C = function(I) {
|
|
8442
|
-
var
|
|
8443
|
-
|
|
8384
|
+
var T = I.target, O = I.event, V = I.isBackward, P = V === void 0 ? !1 : V;
|
|
8385
|
+
T = T || rt(O), y();
|
|
8444
8386
|
var Z = null;
|
|
8445
8387
|
if (l.tabbableGroups.length > 0) {
|
|
8446
|
-
var U = u(
|
|
8388
|
+
var U = u(T, O), _ = U >= 0 ? l.containerGroups[U] : void 0;
|
|
8447
8389
|
if (U < 0)
|
|
8448
8390
|
P ? Z = l.tabbableGroups[l.tabbableGroups.length - 1].lastTabbableNode : Z = l.tabbableGroups[0].firstTabbableNode;
|
|
8449
8391
|
else if (P) {
|
|
8450
8392
|
var ne = l.tabbableGroups.findIndex(function(xt) {
|
|
8451
8393
|
var Lt = xt.firstTabbableNode;
|
|
8452
|
-
return
|
|
8394
|
+
return T === Lt;
|
|
8453
8395
|
});
|
|
8454
|
-
if (ne < 0 && (
|
|
8455
|
-
var oe = ne === 0 ? l.tabbableGroups.length - 1 : ne - 1,
|
|
8456
|
-
Z = Oe(
|
|
8457
|
-
} else et(O) || (Z =
|
|
8396
|
+
if (ne < 0 && (_.container === T || Pt(T, r.tabbableOptions) && !Be(T, r.tabbableOptions) && !_.nextTabbableNode(T, !1)) && (ne = U), ne >= 0) {
|
|
8397
|
+
var oe = ne === 0 ? l.tabbableGroups.length - 1 : ne - 1, Ne = l.tabbableGroups[oe];
|
|
8398
|
+
Z = Oe(T) >= 0 ? Ne.lastTabbableNode : Ne.lastDomTabbableNode;
|
|
8399
|
+
} else et(O) || (Z = _.nextTabbableNode(T, !1));
|
|
8458
8400
|
} else {
|
|
8459
|
-
var
|
|
8401
|
+
var he = l.tabbableGroups.findIndex(function(xt) {
|
|
8460
8402
|
var Lt = xt.lastTabbableNode;
|
|
8461
|
-
return
|
|
8403
|
+
return T === Lt;
|
|
8462
8404
|
});
|
|
8463
|
-
if (
|
|
8464
|
-
var ye =
|
|
8465
|
-
Z = Oe(
|
|
8466
|
-
} else et(O) || (Z =
|
|
8405
|
+
if (he < 0 && (_.container === T || Pt(T, r.tabbableOptions) && !Be(T, r.tabbableOptions) && !_.nextTabbableNode(T)) && (he = U), he >= 0) {
|
|
8406
|
+
var ye = he === l.tabbableGroups.length - 1 ? 0 : he + 1, Qe = l.tabbableGroups[ye];
|
|
8407
|
+
Z = Oe(T) >= 0 ? Qe.firstTabbableNode : Qe.firstDomTabbableNode;
|
|
8408
|
+
} else et(O) || (Z = _.nextTabbableNode(T));
|
|
8467
8409
|
}
|
|
8468
8410
|
} else
|
|
8469
8411
|
Z = c("fallbackFocus");
|
|
8470
8412
|
return Z;
|
|
8471
8413
|
}, L = function(I) {
|
|
8472
|
-
var
|
|
8473
|
-
if (!(u(
|
|
8414
|
+
var T = rt(I);
|
|
8415
|
+
if (!(u(T, I) >= 0)) {
|
|
8474
8416
|
if (Je(r.clickOutsideDeactivates, I)) {
|
|
8475
8417
|
o.deactivate({
|
|
8476
8418
|
// NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
|
|
@@ -8486,9 +8428,9 @@ var Yn = {
|
|
|
8486
8428
|
Je(r.allowOutsideClick, I) || I.preventDefault();
|
|
8487
8429
|
}
|
|
8488
8430
|
}, D = function(I) {
|
|
8489
|
-
var
|
|
8490
|
-
if (O ||
|
|
8491
|
-
O && (l.mostRecentlyFocusedNode =
|
|
8431
|
+
var T = rt(I), O = u(T, I) >= 0;
|
|
8432
|
+
if (O || T instanceof Document)
|
|
8433
|
+
O && (l.mostRecentlyFocusedNode = T);
|
|
8492
8434
|
else {
|
|
8493
8435
|
I.stopImmediatePropagation();
|
|
8494
8436
|
var V, P = !0;
|
|
@@ -8496,10 +8438,10 @@ var Yn = {
|
|
|
8496
8438
|
if (Oe(l.mostRecentlyFocusedNode) > 0) {
|
|
8497
8439
|
var Z = u(l.mostRecentlyFocusedNode), U = l.containerGroups[Z].tabbableNodes;
|
|
8498
8440
|
if (U.length > 0) {
|
|
8499
|
-
var
|
|
8441
|
+
var _ = U.findIndex(function(ne) {
|
|
8500
8442
|
return ne === l.mostRecentlyFocusedNode;
|
|
8501
8443
|
});
|
|
8502
|
-
|
|
8444
|
+
_ >= 0 && (r.isKeyForward(l.recentNavEvent) ? _ + 1 < U.length && (V = U[_ + 1], P = !1) : _ - 1 >= 0 && (V = U[_ - 1], P = !1));
|
|
8503
8445
|
}
|
|
8504
8446
|
} else
|
|
8505
8447
|
l.containerGroups.some(function(ne) {
|
|
@@ -8518,20 +8460,20 @@ var Yn = {
|
|
|
8518
8460
|
}
|
|
8519
8461
|
l.recentNavEvent = void 0;
|
|
8520
8462
|
}, k = function(I) {
|
|
8521
|
-
var
|
|
8463
|
+
var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
8522
8464
|
l.recentNavEvent = I;
|
|
8523
8465
|
var O = C({
|
|
8524
8466
|
event: I,
|
|
8525
|
-
isBackward:
|
|
8467
|
+
isBackward: T
|
|
8526
8468
|
});
|
|
8527
8469
|
O && (et(I) && I.preventDefault(), f(O));
|
|
8528
|
-
},
|
|
8470
|
+
}, N = function(I) {
|
|
8529
8471
|
(r.isKeyForward(I) || r.isKeyBackward(I)) && k(I, r.isKeyBackward(I));
|
|
8530
8472
|
}, S = function(I) {
|
|
8531
|
-
|
|
8473
|
+
xf(I) && Je(r.escapeDeactivates, I) !== !1 && (I.preventDefault(), o.deactivate());
|
|
8532
8474
|
}, x = function(I) {
|
|
8533
|
-
var
|
|
8534
|
-
u(
|
|
8475
|
+
var T = rt(I);
|
|
8476
|
+
u(T, I) >= 0 || Je(r.clickOutsideDeactivates, I) || Je(r.allowOutsideClick, I) || (I.preventDefault(), I.stopImmediatePropagation());
|
|
8535
8477
|
}, W = function() {
|
|
8536
8478
|
if (l.active)
|
|
8537
8479
|
return Yn.activateTrap(i, o), l.delayInitialFocusTimer = r.delayInitialFocus ? Kn(function() {
|
|
@@ -8545,21 +8487,21 @@ var Yn = {
|
|
|
8545
8487
|
}), a.addEventListener("click", x, {
|
|
8546
8488
|
capture: !0,
|
|
8547
8489
|
passive: !1
|
|
8548
|
-
}), a.addEventListener("keydown",
|
|
8490
|
+
}), a.addEventListener("keydown", N, {
|
|
8549
8491
|
capture: !0,
|
|
8550
8492
|
passive: !1
|
|
8551
8493
|
}), a.addEventListener("keydown", S), o;
|
|
8552
8494
|
}, K = function() {
|
|
8553
8495
|
if (l.active)
|
|
8554
|
-
return a.removeEventListener("focusin", D, !0), a.removeEventListener("mousedown", L, !0), a.removeEventListener("touchstart", L, !0), a.removeEventListener("click", x, !0), a.removeEventListener("keydown",
|
|
8496
|
+
return a.removeEventListener("focusin", D, !0), a.removeEventListener("mousedown", L, !0), a.removeEventListener("touchstart", L, !0), a.removeEventListener("click", x, !0), a.removeEventListener("keydown", N, !0), a.removeEventListener("keydown", S), o;
|
|
8555
8497
|
}, Q = function(I) {
|
|
8556
|
-
var
|
|
8498
|
+
var T = I.some(function(O) {
|
|
8557
8499
|
var V = Array.from(O.removedNodes);
|
|
8558
8500
|
return V.some(function(P) {
|
|
8559
8501
|
return P === l.mostRecentlyFocusedNode;
|
|
8560
8502
|
});
|
|
8561
8503
|
});
|
|
8562
|
-
|
|
8504
|
+
T && f(v());
|
|
8563
8505
|
}, B = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(Q) : void 0, h = function() {
|
|
8564
8506
|
B && (B.disconnect(), l.active && !l.paused && l.containers.map(function(I) {
|
|
8565
8507
|
B.observe(I, {
|
|
@@ -8578,8 +8520,8 @@ var Yn = {
|
|
|
8578
8520
|
activate: function(I) {
|
|
8579
8521
|
if (l.active)
|
|
8580
8522
|
return this;
|
|
8581
|
-
var
|
|
8582
|
-
V || y(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = m(a),
|
|
8523
|
+
var T = s(I, "onActivate"), O = s(I, "onPostActivate"), V = s(I, "checkCanFocusTrap");
|
|
8524
|
+
V || y(), l.active = !0, l.paused = !1, l.nodeFocusedBeforeActivation = m(a), T == null || T();
|
|
8583
8525
|
var P = function() {
|
|
8584
8526
|
V && y(), W(), h(), O == null || O();
|
|
8585
8527
|
};
|
|
@@ -8588,13 +8530,13 @@ var Yn = {
|
|
|
8588
8530
|
deactivate: function(I) {
|
|
8589
8531
|
if (!l.active)
|
|
8590
8532
|
return this;
|
|
8591
|
-
var
|
|
8533
|
+
var T = Zn({
|
|
8592
8534
|
onDeactivate: r.onDeactivate,
|
|
8593
8535
|
onPostDeactivate: r.onPostDeactivate,
|
|
8594
8536
|
checkCanReturnFocus: r.checkCanReturnFocus
|
|
8595
8537
|
}, I);
|
|
8596
8538
|
clearTimeout(l.delayInitialFocusTimer), l.delayInitialFocusTimer = void 0, K(), l.active = !1, l.paused = !1, h(), Yn.deactivateTrap(i, o);
|
|
8597
|
-
var O = s(
|
|
8539
|
+
var O = s(T, "onDeactivate"), V = s(T, "onPostDeactivate"), P = s(T, "checkCanReturnFocus"), Z = s(T, "returnFocus", "returnFocusOnDeactivate");
|
|
8598
8540
|
O == null || O();
|
|
8599
8541
|
var U = function() {
|
|
8600
8542
|
Kn(function() {
|
|
@@ -8610,8 +8552,8 @@ var Yn = {
|
|
|
8610
8552
|
return l.active ? (l.manuallyPaused = !1, i[i.length - 1] !== this ? this : this._setPausedState(!1, I)) : this;
|
|
8611
8553
|
},
|
|
8612
8554
|
updateContainerElements: function(I) {
|
|
8613
|
-
var
|
|
8614
|
-
return l.containers =
|
|
8555
|
+
var T = [].concat(I).filter(Boolean);
|
|
8556
|
+
return l.containers = T.map(function(O) {
|
|
8615
8557
|
return typeof O == "string" ? a.querySelector(O) : O;
|
|
8616
8558
|
}), l.active && y(), h(), this;
|
|
8617
8559
|
}
|
|
@@ -8622,14 +8564,14 @@ var Yn = {
|
|
|
8622
8564
|
}
|
|
8623
8565
|
},
|
|
8624
8566
|
_setPausedState: {
|
|
8625
|
-
value: function(I,
|
|
8567
|
+
value: function(I, T) {
|
|
8626
8568
|
if (l.paused === I)
|
|
8627
8569
|
return this;
|
|
8628
8570
|
if (l.paused = I, I) {
|
|
8629
|
-
var O = s(
|
|
8571
|
+
var O = s(T, "onPause"), V = s(T, "onPostPause");
|
|
8630
8572
|
O == null || O(), K(), h(), V == null || V();
|
|
8631
8573
|
} else {
|
|
8632
|
-
var P = s(
|
|
8574
|
+
var P = s(T, "onUnpause"), Z = s(T, "onPostUnpause");
|
|
8633
8575
|
P == null || P(), y(), W(), h(), Z == null || Z();
|
|
8634
8576
|
}
|
|
8635
8577
|
return this;
|
|
@@ -8637,12 +8579,12 @@ var Yn = {
|
|
|
8637
8579
|
}
|
|
8638
8580
|
}), o.updateContainerElements(t), o;
|
|
8639
8581
|
};
|
|
8640
|
-
function
|
|
8582
|
+
function zf(e, t) {
|
|
8641
8583
|
let n = null;
|
|
8642
8584
|
function a() {
|
|
8643
8585
|
!e.value || !e.value.querySelector(
|
|
8644
8586
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
8645
|
-
) || (n =
|
|
8587
|
+
) || (n = Sf(e.value, {
|
|
8646
8588
|
escapeDeactivates: !0,
|
|
8647
8589
|
onDeactivate: t,
|
|
8648
8590
|
returnFocusOnDeactivate: !0,
|
|
@@ -8657,14 +8599,14 @@ function Pf(e, t) {
|
|
|
8657
8599
|
cleanupFocusTrap: i
|
|
8658
8600
|
};
|
|
8659
8601
|
}
|
|
8660
|
-
function
|
|
8602
|
+
function Cv(e) {
|
|
8661
8603
|
ue(() => {
|
|
8662
8604
|
document.documentElement.style.setProperty("--global-background-color", e);
|
|
8663
8605
|
}), ve(() => {
|
|
8664
8606
|
document.documentElement.style.setProperty("--global-background-color", "var(--default-global-background-color)");
|
|
8665
8607
|
});
|
|
8666
8608
|
}
|
|
8667
|
-
const
|
|
8609
|
+
const Bf = { class: "av-popover-wrapper" }, jf = /* @__PURE__ */ j({
|
|
8668
8610
|
__name: "AvPopover",
|
|
8669
8611
|
props: {
|
|
8670
8612
|
width: { default: "12.5rem" },
|
|
@@ -8675,7 +8617,7 @@ const Wf = { class: "av-popover-wrapper" }, Vf = /* @__PURE__ */ j({
|
|
|
8675
8617
|
v19879f70: v.width,
|
|
8676
8618
|
v5623eb3b: v.padding
|
|
8677
8619
|
}));
|
|
8678
|
-
const n = q(null), a = q(null), { showPopover: i, popoverPosition: r, togglePopover: l, closePopover: o } =
|
|
8620
|
+
const n = q(null), a = q(null), { showPopover: i, popoverPosition: r, togglePopover: l, closePopover: o } = tf(n, a), { initializeFocusTrap: s, cleanupFocusTrap: u } = zf(a, o);
|
|
8679
8621
|
function c(v) {
|
|
8680
8622
|
if (!v) {
|
|
8681
8623
|
n.value = null;
|
|
@@ -8692,7 +8634,7 @@ const Wf = { class: "av-popover-wrapper" }, Vf = /* @__PURE__ */ j({
|
|
|
8692
8634
|
v ? (await De(), s()) : u();
|
|
8693
8635
|
}), Jt(() => {
|
|
8694
8636
|
u();
|
|
8695
|
-
}), (v, y) => (A(), g("div",
|
|
8637
|
+
}), (v, y) => (A(), g("div", Bf, [
|
|
8696
8638
|
p("div", {
|
|
8697
8639
|
ref: c,
|
|
8698
8640
|
class: "av-popover-trigger-wrapper"
|
|
@@ -8718,67 +8660,180 @@ const Wf = { class: "av-popover-wrapper" }, Vf = /* @__PURE__ */ j({
|
|
|
8718
8660
|
]))
|
|
8719
8661
|
]));
|
|
8720
8662
|
}
|
|
8721
|
-
}),
|
|
8663
|
+
}), Pf = /* @__PURE__ */ Y(jf, [["__scopeId", "data-v-08e87c92"]]), Wf = { class: "av-dropdown" }, Vf = /* @__PURE__ */ j({
|
|
8664
|
+
__name: "AvDropdown",
|
|
8665
|
+
props: {
|
|
8666
|
+
items: {},
|
|
8667
|
+
triggerAriaLabel: {},
|
|
8668
|
+
triggerIcon: { default: () => $.DOTS_VERTICAL },
|
|
8669
|
+
triggerLabel: {},
|
|
8670
|
+
triggerVariant: { default: "OUTLINED" },
|
|
8671
|
+
triggerSize: { default: "sm" },
|
|
8672
|
+
width: { default: "15rem" },
|
|
8673
|
+
padding: { default: "var(--spacing-xs)" },
|
|
8674
|
+
itemSize: { default: "sm" },
|
|
8675
|
+
itemTheme: { default: "SECONDARY" },
|
|
8676
|
+
itemIconScale: { default: 1.3 }
|
|
8677
|
+
},
|
|
8678
|
+
emits: ["itemSelected"],
|
|
8679
|
+
setup(e, { emit: t }) {
|
|
8680
|
+
const n = t;
|
|
8681
|
+
function a(i, r) {
|
|
8682
|
+
n("itemSelected", i), r();
|
|
8683
|
+
}
|
|
8684
|
+
return (i, r) => (A(), R(Pf, {
|
|
8685
|
+
width: e.width,
|
|
8686
|
+
padding: e.padding
|
|
8687
|
+
}, {
|
|
8688
|
+
trigger: G(({ toggle: l }) => [
|
|
8689
|
+
X(me, {
|
|
8690
|
+
icon: e.triggerIcon,
|
|
8691
|
+
label: e.triggerLabel || e.triggerAriaLabel,
|
|
8692
|
+
"aria-label": e.triggerAriaLabel,
|
|
8693
|
+
variant: e.triggerVariant,
|
|
8694
|
+
size: e.triggerSize,
|
|
8695
|
+
onClick: l
|
|
8696
|
+
}, null, 8, ["icon", "label", "aria-label", "variant", "size", "onClick"])
|
|
8697
|
+
]),
|
|
8698
|
+
popover: G(({ close: l }) => [
|
|
8699
|
+
p("div", Wf, [
|
|
8700
|
+
(A(!0), g(J, null, ae(e.items, (o) => (A(), R(me, {
|
|
8701
|
+
key: o.name,
|
|
8702
|
+
class: "av-dropdown__menu-item",
|
|
8703
|
+
icon: o.icon,
|
|
8704
|
+
label: o.label,
|
|
8705
|
+
"aria-label": o.label,
|
|
8706
|
+
size: e.itemSize,
|
|
8707
|
+
theme: e.itemTheme,
|
|
8708
|
+
"icon-scale": e.itemIconScale,
|
|
8709
|
+
"no-radius": "",
|
|
8710
|
+
onClick: (s) => a(o.name, l)
|
|
8711
|
+
}, null, 8, ["icon", "label", "aria-label", "size", "theme", "icon-scale", "onClick"]))), 128))
|
|
8712
|
+
])
|
|
8713
|
+
]),
|
|
8714
|
+
_: 1
|
|
8715
|
+
}, 8, ["width", "padding"]));
|
|
8716
|
+
}
|
|
8717
|
+
}), Ev = /* @__PURE__ */ Y(Vf, [["__scopeId", "data-v-59887d17"]]), Uf = {
|
|
8718
|
+
key: 0,
|
|
8719
|
+
class: "header"
|
|
8720
|
+
}, Ff = { class: "footer" }, Hf = /* @__PURE__ */ j({
|
|
8721
|
+
__name: "AvModal",
|
|
8722
|
+
props: {
|
|
8723
|
+
modalId: {},
|
|
8724
|
+
opened: { type: Boolean },
|
|
8725
|
+
isAlert: { type: Boolean },
|
|
8726
|
+
origin: {},
|
|
8727
|
+
icon: {},
|
|
8728
|
+
size: {},
|
|
8729
|
+
closeButtonLabel: {},
|
|
8730
|
+
closeButtonIcon: {},
|
|
8731
|
+
closeButtonDisabled: { type: Boolean },
|
|
8732
|
+
confirmButtonLabel: {},
|
|
8733
|
+
confirmButtonIcon: {},
|
|
8734
|
+
confirmButtonDisabled: { type: Boolean },
|
|
8735
|
+
isLoading: { type: Boolean }
|
|
8736
|
+
},
|
|
8737
|
+
emits: ["close", "confirm"],
|
|
8738
|
+
setup(e, { emit: t }) {
|
|
8739
|
+
const n = Gn(e, ["isLoading"]), a = t, i = ge(), r = E(() => n.closeButtonIcon ?? $.CLOSE_CIRCLE_OUTLINE), l = E(() => n.confirmButtonIcon ?? $.CHECK_CIRCLE_OUTLINE);
|
|
8740
|
+
return (o, s) => {
|
|
8741
|
+
const u = Fc, c = Fs;
|
|
8742
|
+
return A(), R(_n, { to: "body" }, [
|
|
8743
|
+
X(c, te(n, {
|
|
8744
|
+
title: "",
|
|
8745
|
+
onKeydown: s[2] || (s[2] = Ae((v) => a("close"), ["esc"]))
|
|
8746
|
+
}), {
|
|
8747
|
+
default: G(() => [
|
|
8748
|
+
i.header ? (A(), g("div", Uf, [
|
|
8749
|
+
H(o.$slots, "header", {}, void 0, !0)
|
|
8750
|
+
])) : w("", !0),
|
|
8751
|
+
H(o.$slots, "default", {}, void 0, !0)
|
|
8752
|
+
]),
|
|
8753
|
+
footer: G(() => [
|
|
8754
|
+
p("div", Ff, [
|
|
8755
|
+
X(u, {
|
|
8756
|
+
"cancel-label": n.closeButtonLabel,
|
|
8757
|
+
"cancel-icon": d(r),
|
|
8758
|
+
"cancel-disabled": n.closeButtonDisabled,
|
|
8759
|
+
"cancel-is-loading": e.isLoading,
|
|
8760
|
+
"confirm-label": n.confirmButtonLabel,
|
|
8761
|
+
"confirm-icon": d(l),
|
|
8762
|
+
"confirm-disabled": n.confirmButtonDisabled,
|
|
8763
|
+
"confirm-is-loading": e.isLoading,
|
|
8764
|
+
onCancel: s[0] || (s[0] = () => a("close")),
|
|
8765
|
+
onConfirm: s[1] || (s[1] = () => a("confirm"))
|
|
8766
|
+
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
8767
|
+
H(o.$slots, "footer", {}, void 0, !0)
|
|
8768
|
+
])
|
|
8769
|
+
]),
|
|
8770
|
+
_: 3
|
|
8771
|
+
}, 16)
|
|
8772
|
+
]);
|
|
8773
|
+
};
|
|
8774
|
+
}
|
|
8775
|
+
}), Mv = /* @__PURE__ */ Y(Hf, [["__scopeId", "data-v-aef6262c"]]);
|
|
8722
8776
|
export {
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8777
|
+
nf as AV_BREAKPOINTS,
|
|
8778
|
+
tv as AvAccordion,
|
|
8779
|
+
nv as AvAccordionsGroup,
|
|
8726
8780
|
Qr as AvAlert,
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8781
|
+
sv as AvAutocomplete,
|
|
8782
|
+
Xf as AvBadge,
|
|
8783
|
+
vv as AvBreadcrumb,
|
|
8784
|
+
me as AvButton,
|
|
8731
8785
|
Fc as AvCancelConfirmButtons,
|
|
8732
|
-
|
|
8786
|
+
Yf as AvCard,
|
|
8733
8787
|
_c as AvCheckbox,
|
|
8734
|
-
|
|
8788
|
+
yv as AvDrawer,
|
|
8789
|
+
Ev as AvDropdown,
|
|
8735
8790
|
ur as AvFieldset,
|
|
8736
|
-
|
|
8737
|
-
|
|
8791
|
+
iv as AvFileUpload,
|
|
8792
|
+
_f as AvHeader,
|
|
8738
8793
|
Mn as AvHeaderMenuLinks,
|
|
8739
8794
|
se as AvIcon,
|
|
8740
8795
|
Ar as AvIconText,
|
|
8741
8796
|
rn as AvInput,
|
|
8742
|
-
|
|
8743
|
-
|
|
8797
|
+
Tn as AvLanguageSelector,
|
|
8798
|
+
Na as AvList,
|
|
8744
8799
|
ka as AvListItem,
|
|
8745
8800
|
Fr as AvLogo,
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8801
|
+
Mv as AvModal,
|
|
8802
|
+
cv as AvMultiselect,
|
|
8803
|
+
mv as AvNavigation,
|
|
8804
|
+
Zf as AvNotice,
|
|
8805
|
+
lv as AvPageSizePicker,
|
|
8806
|
+
gv as AvPagination,
|
|
8807
|
+
Pf as AvPopover,
|
|
8753
8808
|
wu as AvRadioButton,
|
|
8754
|
-
|
|
8755
|
-
|
|
8809
|
+
ov as AvRadioButtonSet,
|
|
8810
|
+
av as AvRichButton,
|
|
8756
8811
|
Qn as AvSearchBar,
|
|
8757
|
-
|
|
8812
|
+
uv as AvSelect,
|
|
8758
8813
|
PA as AvSideMenu,
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8814
|
+
bv as AvSideNavigation,
|
|
8815
|
+
Iv as AvStepper,
|
|
8816
|
+
dv as AvTab,
|
|
8817
|
+
Av as AvTabs,
|
|
8763
8818
|
rr as AvTag,
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8819
|
+
Tu as AvTagPicker,
|
|
8820
|
+
$f as AvToaster,
|
|
8821
|
+
fv as AvToggle,
|
|
8767
8822
|
je as DropdownState,
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8823
|
+
ev as EsupLogo,
|
|
8824
|
+
Gf as ICONS_DATA_URL,
|
|
8825
|
+
$ as MDI_ICONS,
|
|
8771
8826
|
wa as PageSizes,
|
|
8772
|
-
|
|
8827
|
+
Kf as RI_ICONS,
|
|
8773
8828
|
fr as formatTextToHtml,
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8829
|
+
hv as getPaginationPages,
|
|
8830
|
+
Jf as isValidEmail,
|
|
8831
|
+
rv as pageSizeValues,
|
|
8777
8832
|
Vo as registerNavigationLinkKey,
|
|
8778
8833
|
Er as removeDuplicates,
|
|
8779
8834
|
vr as toSentenceCase,
|
|
8780
|
-
|
|
8835
|
+
pv as useAvBreakpoints,
|
|
8781
8836
|
an as useCollapsable,
|
|
8782
|
-
|
|
8783
|
-
|
|
8837
|
+
zf as useFocusTrap,
|
|
8838
|
+
Cv as useGlobalBackgroundColor
|
|
8784
8839
|
};
|