@avenirs-esr/avenirs-dsav 0.1.102 → 0.1.103
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/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +8 -0
- package/dist/components/navigation/AvSideNavigation/AvSideNavigation.vue.d.ts +7 -4
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +390 -382
- package/dist/tokens/icons.d.ts +8 -0
- package/package.json +1 -1
- package/src/styles/components/_icons.scss +8 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, useCssVars as se, computed as b, createElementBlock as I, openBlock as
|
|
1
|
+
import { defineComponent as Q, useCssVars as se, computed as b, createElementBlock as I, openBlock as d, normalizeStyle as ce, normalizeClass as j, unref as l, createElementVNode as g, toDisplayString as B, createPropsRestProxy as Da, createBlock as p, resolveDynamicComponent as Me, mergeProps as ee, withCtx as G, createCommentVNode as D, createVNode as W, Fragment as $, renderList as ie, useSlots as fe, createTextVNode as De, renderSlot as P, ref as U, normalizeProps as La, withDirectives as It, vShow as Yt, TransitionGroup as wa, toRefs as qt, watch as re, onBeforeUnmount as gt, inject as tt, toRef as Ft, onMounted as ue, provide as bt, onUnmounted as ve, nextTick as at, getCurrentScope as Oa, onScopeDispose as Sa, getCurrentInstance as ht, hasInjectionContext as yt, isRef as Ct, toValue as le, shallowRef as ye, reactive as dt, watchEffect as Qa, withModifiers as de, mergeModels as ge, useModel as Le, vModelCheckbox as xa, withKeys as Ae, createSlots as qe, useTemplateRef as pa, resolveComponent as Mt, Teleport as Kt, Comment as ka, cloneVNode as ja } from "vue";
|
|
2
2
|
import { r as Gt } from "./injection-key.es.js";
|
|
3
3
|
const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -21,7 +21,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
21
21
|
var i, r;
|
|
22
22
|
return (i = e.icon) != null && i.startsWith("data:") ? null : (r = e.icon) == null ? void 0 : r.replace(":", "-");
|
|
23
23
|
}), a = b(() => `--icon-${t.value}`), n = b(() => t.value ? { "--icon-path": `var(${a.value})` } : e.icon ? { "--icon-path": `url(${e.icon})` } : {});
|
|
24
|
-
return (i, r) => (
|
|
24
|
+
return (i, r) => (d(), I("p", {
|
|
25
25
|
class: j(["av-badge", {
|
|
26
26
|
"av-badge--sm": e.small,
|
|
27
27
|
"av-badge--custom-icon": e.icon,
|
|
@@ -61,7 +61,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
61
61
|
v7f7f664e: i.color
|
|
62
62
|
}));
|
|
63
63
|
const t = b(() => `${e.size}rem`), a = b(() => e.name.replace(":", "-")), n = b(() => `--icon-${a.value}`);
|
|
64
|
-
return (i, r) => (
|
|
64
|
+
return (i, r) => (d(), I("div", {
|
|
65
65
|
class: j(["av-icon", {
|
|
66
66
|
"av-icon--spin": e.animation === "spin",
|
|
67
67
|
"av-icon--wrench": e.animation === "wrench",
|
|
@@ -132,14 +132,18 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
132
132
|
FILE_DOCUMENT_EDIT_OUTLINE: "mdi:file-document-edit-outline",
|
|
133
133
|
FILE_DOCUMENT_MULTIPLE_OUTLINE: "mdi:file-document-multiple-outline",
|
|
134
134
|
FILE_IMAGE_OUTLINE: "mdi:file-image-outline",
|
|
135
|
+
FILE_REFRESH_OUTLINE: "mdi:file-refresh-outline",
|
|
136
|
+
FILE_RESTORE_OUTLINE: "mdi:file-restore-outline",
|
|
135
137
|
FILE_TREE_OUTLINE: "mdi:file-tree-outline",
|
|
136
138
|
FLAG_VARIANT: "mdi:flag-variant",
|
|
137
139
|
FORMAT_LIST_BULLETED: "mdi:format-list-bulleted",
|
|
138
140
|
HAMBURGER_MENU: "mdi:hamburger-menu",
|
|
141
|
+
HISTORY: "mdi:history",
|
|
139
142
|
HOME_VARIANT_OUTLINE: "mdi:home-variant-outline",
|
|
140
143
|
HOURGLASS: "mdi:hourglass",
|
|
141
144
|
IMAGE_FILTER_CENTER_FOCUS_WEAK: "mdi:image-filter-center-focus-weak",
|
|
142
145
|
IMAGE_OUTLINE: "mdi:image-outline",
|
|
146
|
+
IMAGE_REFRESH_OUTLINE: "mdi:image-refresh-outline",
|
|
143
147
|
INFORMATION_BOX: "mdi:information-box",
|
|
144
148
|
INFORMATION_BOX_OUTLINE: "mdi:information-box-outline",
|
|
145
149
|
INFORMATION_OUTLINE: "mdi:information-outline",
|
|
@@ -163,9 +167,13 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
163
167
|
PLUS: "mdi:plus",
|
|
164
168
|
PLUS_CIRCLE_OUTLINE: "mdi:plus-circle-outline",
|
|
165
169
|
POST_IT_NOTES_OUTLINE: "mdi:post-it-notes-outline",
|
|
170
|
+
PRINTER_OUTLINE: "mdi:printer-outline",
|
|
166
171
|
RATE_REVIEW: "mdi:rate-review",
|
|
167
172
|
RECORD_CIRCLE_OUTLINE: "mdi:record-circle-outline",
|
|
168
173
|
REDO: "mdi:redo",
|
|
174
|
+
REFRESH: "mdi:refresh",
|
|
175
|
+
RESTART: "mdi:restart",
|
|
176
|
+
RESTORE: "mdi:restore",
|
|
169
177
|
SCHOOL_OUTLINE: "mdi:school-outline",
|
|
170
178
|
SETTINGS: "mdi:settings",
|
|
171
179
|
SHARE_VARIANT_OUTLINE: "mdi:share-variant-outline",
|
|
@@ -235,7 +243,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
235
243
|
const t = Da(e, ["label", "tagName", "icon", "disabled", "small", "iconOnly"]), a = b(() => e.disabled && e.tagName === "p" || t.selectable ? "button" : e.tagName), n = b(() => ({
|
|
236
244
|
"--icon-path": `url(${me.MDI_CHECK_CIRCLE_OUTLINE})`
|
|
237
245
|
}));
|
|
238
|
-
return (i, r) => (
|
|
246
|
+
return (i, r) => (d(), p(Me(l(a)), ee({
|
|
239
247
|
class: ["av-tag", {
|
|
240
248
|
"av-tag--sm": e.small
|
|
241
249
|
}],
|
|
@@ -246,13 +254,13 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
246
254
|
onClick: r[0] || (r[0] = (o) => !e.disabled && t.selectable && i.$emit("select", [t.value, t.selected ?? !1]))
|
|
247
255
|
}), {
|
|
248
256
|
default: G(() => [
|
|
249
|
-
e.icon ? (
|
|
257
|
+
e.icon ? (d(), p(ne, {
|
|
250
258
|
key: 0,
|
|
251
259
|
title: e.iconOnly ? e.label : void 0,
|
|
252
260
|
size: e.small ? 0.875 : 1,
|
|
253
261
|
name: e.icon
|
|
254
262
|
}, null, 8, ["title", "size", "name"])) : D("", !0),
|
|
255
|
-
e.iconOnly ? D("", !0) : (
|
|
263
|
+
e.iconOnly ? D("", !0) : (d(), I("span", {
|
|
256
264
|
key: 1,
|
|
257
265
|
class: j(e.small ? "caption-regular" : "b2-regular")
|
|
258
266
|
}, B(e.label), 3))
|
|
@@ -277,7 +285,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
277
285
|
v19519e2d: i.textColor
|
|
278
286
|
}));
|
|
279
287
|
const t = b(() => e.typographyClass.startsWith("caption") ? 1.125 : e.typographyClass.startsWith("n") || e.typographyClass.startsWith("s") ? 2 : 1.3125), a = b(() => e.inline ? void 0 : "ellipsis-container"), n = b(() => e.inline ? void 0 : "ellipsis");
|
|
280
|
-
return (i, r) => (
|
|
288
|
+
return (i, r) => (d(), I("div", {
|
|
281
289
|
class: j(["icon-text--container", [l(a)]])
|
|
282
290
|
}, [
|
|
283
291
|
W(ne, {
|
|
@@ -336,8 +344,8 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
336
344
|
}), n = b(() => e.message ? Array.isArray(e.message) ? e.message : [e.message ?? ""] : []);
|
|
337
345
|
return (i, r) => {
|
|
338
346
|
const o = Ra;
|
|
339
|
-
return
|
|
340
|
-
(
|
|
347
|
+
return d(), I("div", Za, [
|
|
348
|
+
(d(!0), I($, null, ie(l(n), (s, c) => (d(), p(o, ee({
|
|
341
349
|
id: `${l(t)}-${c}`,
|
|
342
350
|
key: `${l(t)}-${c}`,
|
|
343
351
|
class: `av-message--${e.type}`
|
|
@@ -368,7 +376,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
368
376
|
const t = fe(), a = b(() => e.errorMessage || e.successMessage);
|
|
369
377
|
return (n, i) => {
|
|
370
378
|
const r = pe;
|
|
371
|
-
return
|
|
379
|
+
return d(), I("fieldset", {
|
|
372
380
|
class: j(["av-fieldset", {
|
|
373
381
|
"av-fieldset--error": e.errorMessage,
|
|
374
382
|
"av-fieldset--success": e.successMessage && !e.errorMessage,
|
|
@@ -376,7 +384,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
376
384
|
}])
|
|
377
385
|
}, [
|
|
378
386
|
g("div", null, [
|
|
379
|
-
e.legend || t.legend ? (
|
|
387
|
+
e.legend || t.legend ? (d(), I("legend", {
|
|
380
388
|
key: 0,
|
|
381
389
|
id: e.legendId,
|
|
382
390
|
class: j(["av-fieldset__legend", e.legendClass])
|
|
@@ -384,14 +392,14 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
384
392
|
De(B(e.legend) + " ", 1),
|
|
385
393
|
P(n.$slots, "legend", {}, void 0, !0)
|
|
386
394
|
], 10, Ya)) : D("", !0),
|
|
387
|
-
e.hint || t.hint ? (
|
|
395
|
+
e.hint || t.hint ? (d(), I("div", qa, [
|
|
388
396
|
g("span", {
|
|
389
397
|
class: j(["av-hint-text", e.hintClass])
|
|
390
398
|
}, [
|
|
391
399
|
De(B(e.hint) + " ", 1),
|
|
392
400
|
P(n.$slots, "hint", {}, void 0, !0)
|
|
393
401
|
], 2),
|
|
394
|
-
e.required ? (
|
|
402
|
+
e.required ? (d(), I("span", Fa, " *")) : D("", !0)
|
|
395
403
|
])) : D("", !0),
|
|
396
404
|
g("div", Ka, [
|
|
397
405
|
P(n.$slots, "default", {}, void 0, !0)
|
|
@@ -410,7 +418,7 @@ const za = ["title"], Ba = /* @__PURE__ */ Q({
|
|
|
410
418
|
disabled: { type: Boolean, default: !1 }
|
|
411
419
|
},
|
|
412
420
|
setup(e) {
|
|
413
|
-
return (t, a) => (
|
|
421
|
+
return (t, a) => (d(), I("div", {
|
|
414
422
|
class: j(["av-fieldset__element", {
|
|
415
423
|
"av-fieldset__element--disabled": e.disabled
|
|
416
424
|
}])
|
|
@@ -446,7 +454,7 @@ const en = { class: "b2-bold" }, tn = { class: "b2-regular" }, an = ["innerHTML"
|
|
|
446
454
|
});
|
|
447
455
|
return (n, i) => {
|
|
448
456
|
const r = ne;
|
|
449
|
-
return
|
|
457
|
+
return d(), I("div", {
|
|
450
458
|
class: j(["av-notice", `av-notice--${e.type}`])
|
|
451
459
|
}, [
|
|
452
460
|
W(r, ee(l(a), { size: 1.5 }), null, 16),
|
|
@@ -496,10 +504,10 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
496
504
|
return { name: e.icon, size: r.value };
|
|
497
505
|
if (e.icon && typeof e.icon != "string")
|
|
498
506
|
return { ...e.icon, size: r.value };
|
|
499
|
-
}), s = b(() => e.noSentenceCase ? e.label : _a(e.label)), c = b(() => e.disabled || e.isLoading), A = b(() => `av-button--variant-${e.variant.toLowerCase()}`),
|
|
507
|
+
}), s = b(() => e.noSentenceCase ? e.label : _a(e.label)), c = b(() => e.disabled || e.isLoading), A = b(() => `av-button--variant-${e.variant.toLowerCase()}`), u = b(() => `av-button--theme-${e.theme.toLowerCase()}`);
|
|
500
508
|
return (f, C) => {
|
|
501
509
|
const m = ne;
|
|
502
|
-
return
|
|
510
|
+
return d(), I("button", {
|
|
503
511
|
ref_key: "btn",
|
|
504
512
|
ref: a,
|
|
505
513
|
class: j(["av-button", [
|
|
@@ -509,7 +517,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
509
517
|
"av-button--no-radius": e.noRadius
|
|
510
518
|
},
|
|
511
519
|
l(A),
|
|
512
|
-
l(
|
|
520
|
+
l(u)
|
|
513
521
|
]]),
|
|
514
522
|
title: e.iconOnly ? l(s) : void 0,
|
|
515
523
|
disabled: l(c),
|
|
@@ -518,8 +526,8 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
518
526
|
style: ce(e.iconOnly ? { "padding-inline": "var(--spacing-xs)" } : {}),
|
|
519
527
|
onClick: C[0] || (C[0] = (v) => f.$emit("click", v))
|
|
520
528
|
}, [
|
|
521
|
-
l(o) ? (
|
|
522
|
-
e.iconOnly ? D("", !0) : (
|
|
529
|
+
l(o) ? (d(), p(m, La(ee({ key: 0 }, l(o))), null, 16)) : D("", !0),
|
|
530
|
+
e.iconOnly ? D("", !0) : (d(), I("span", {
|
|
523
531
|
key: 1,
|
|
524
532
|
class: j(e.small ? "b2-regular" : "b1-regular")
|
|
525
533
|
}, B(l(s)), 3))
|
|
@@ -535,7 +543,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
535
543
|
}, An = {
|
|
536
544
|
key: 1,
|
|
537
545
|
class: "av-card__footer"
|
|
538
|
-
},
|
|
546
|
+
}, dn = /* @__PURE__ */ Q({
|
|
539
547
|
__name: "AvCard",
|
|
540
548
|
props: {
|
|
541
549
|
titleOnly: { type: Boolean, default: !1 },
|
|
@@ -550,11 +558,11 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
550
558
|
const t = fe(), a = U(e.collapsed);
|
|
551
559
|
return (n, i) => {
|
|
552
560
|
const r = oe;
|
|
553
|
-
return
|
|
561
|
+
return d(), I("div", {
|
|
554
562
|
class: "av-card",
|
|
555
563
|
style: ce({ borderColor: e.borderColor, background: e.backgroundColor })
|
|
556
564
|
}, [
|
|
557
|
-
t.title ? (
|
|
565
|
+
t.title ? (d(), I("div", {
|
|
558
566
|
key: 0,
|
|
559
567
|
class: j(["av-card__title", {
|
|
560
568
|
"av-card__title--collapsed": l(a),
|
|
@@ -563,7 +571,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
563
571
|
style: ce({ background: e.titleBackground, minHeight: e.titleHeight, maxHeight: e.titleHeight })
|
|
564
572
|
}, [
|
|
565
573
|
P(n.$slots, "title", {}, void 0, !0),
|
|
566
|
-
!e.titleOnly && e.collapsible ? (
|
|
574
|
+
!e.titleOnly && e.collapsible ? (d(), p(r, {
|
|
567
575
|
key: 0,
|
|
568
576
|
icon: l(a) ? l(R).CHEVRON_DOWN : l(R).CHEVRON_LEFT,
|
|
569
577
|
"icon-only": "",
|
|
@@ -571,12 +579,12 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
571
579
|
onClick: i[0] || (i[0] = (o) => a.value = !l(a))
|
|
572
580
|
}, null, 8, ["icon"])) : D("", !0)
|
|
573
581
|
], 6)) : D("", !0),
|
|
574
|
-
e.titleOnly ? D("", !0) : It((
|
|
582
|
+
e.titleOnly ? D("", !0) : It((d(), I("div", sn, [
|
|
575
583
|
P(n.$slots, "default", {}, void 0, !0),
|
|
576
|
-
t.body ? (
|
|
584
|
+
t.body ? (d(), I("div", cn, [
|
|
577
585
|
P(n.$slots, "body", {}, void 0, !0)
|
|
578
586
|
])) : D("", !0),
|
|
579
|
-
t.footer ? (
|
|
587
|
+
t.footer ? (d(), I("div", An, [
|
|
580
588
|
P(n.$slots, "footer", {}, void 0, !0)
|
|
581
589
|
])) : D("", !0)
|
|
582
590
|
], 512)), [
|
|
@@ -585,7 +593,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
585
593
|
], 4);
|
|
586
594
|
};
|
|
587
595
|
}
|
|
588
|
-
}), hA = /* @__PURE__ */ z(
|
|
596
|
+
}), hA = /* @__PURE__ */ z(dn, [["__scopeId", "data-v-fd200882"]]), un = ["id", "role"], fn = { class: "av-alert__container" }, vn = { class: "av-alert__content" }, mn = { class: "av-alert__title" }, In = {
|
|
589
597
|
key: 0,
|
|
590
598
|
class: "s2-bold"
|
|
591
599
|
}, gn = { class: "b1-regular" }, bn = /* @__PURE__ */ Q({
|
|
@@ -623,7 +631,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
623
631
|
return { name: R.INFORMATION_OUTLINE, color: "var(--dark-background-primary1)" };
|
|
624
632
|
}
|
|
625
633
|
});
|
|
626
|
-
return (s, c) => e.closed ? D("", !0) : (
|
|
634
|
+
return (s, c) => e.closed ? D("", !0) : (d(), I("div", {
|
|
627
635
|
key: 0,
|
|
628
636
|
id: l(n),
|
|
629
637
|
class: j(["av-alert", l(r)]),
|
|
@@ -633,13 +641,13 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
633
641
|
g("div", vn, [
|
|
634
642
|
W(ne, ee(l(o), { size: 3 }), null, 16),
|
|
635
643
|
g("div", mn, [
|
|
636
|
-
e.small ? D("", !0) : (
|
|
644
|
+
e.small ? D("", !0) : (d(), I("span", In, B(e.title), 1)),
|
|
637
645
|
P(s.$slots, "default", {}, () => [
|
|
638
646
|
g("span", gn, B(e.description), 1)
|
|
639
647
|
], !0)
|
|
640
648
|
])
|
|
641
649
|
]),
|
|
642
|
-
e.closeable ? (
|
|
650
|
+
e.closeable ? (d(), p(oe, {
|
|
643
651
|
key: 0,
|
|
644
652
|
"icon-only": "",
|
|
645
653
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -648,7 +656,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
648
656
|
onClick: i
|
|
649
657
|
}, null, 8, ["icon", "label", "small"])) : D("", !0)
|
|
650
658
|
])
|
|
651
|
-
], 10,
|
|
659
|
+
], 10, un));
|
|
652
660
|
}
|
|
653
661
|
}), hn = /* @__PURE__ */ z(bn, [["__scopeId", "data-v-f32d9c3d"]]), yn = { class: "toaster-container" }, Cn = /* @__PURE__ */ Q({
|
|
654
662
|
__name: "AvToaster",
|
|
@@ -673,7 +681,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
673
681
|
return { "--icon-path": `url(${me.MDI_MESSAGE_BADGE})` };
|
|
674
682
|
}
|
|
675
683
|
}
|
|
676
|
-
return (n, i) => (
|
|
684
|
+
return (n, i) => (d(), I("div", yn, [
|
|
677
685
|
W(wa, {
|
|
678
686
|
mode: "out-in",
|
|
679
687
|
name: "list",
|
|
@@ -681,7 +689,7 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
681
689
|
class: "toasters"
|
|
682
690
|
}, {
|
|
683
691
|
default: G(() => [
|
|
684
|
-
(
|
|
692
|
+
(d(!0), I($, null, ie(e.messages, (r) => (d(), p(hn, ee({
|
|
685
693
|
key: r.id,
|
|
686
694
|
class: ["av-toaster", t(r.type)]
|
|
687
695
|
}, { ref_for: !0 }, r, {
|
|
@@ -711,24 +719,24 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
711
719
|
},
|
|
712
720
|
emits: ["escapePressed"],
|
|
713
721
|
setup(e, { emit: t }) {
|
|
714
|
-
se((
|
|
722
|
+
se((u) => ({
|
|
715
723
|
a82a08d0: l(o),
|
|
716
724
|
v45be453a: l(s)
|
|
717
725
|
}));
|
|
718
726
|
const a = e, n = t, i = fe(), { position: r, width: o, padding: s, show: c } = qt(a);
|
|
719
|
-
function A(
|
|
720
|
-
|
|
727
|
+
function A(u) {
|
|
728
|
+
u.key === "Escape" && n("escapePressed");
|
|
721
729
|
}
|
|
722
730
|
return re(
|
|
723
731
|
c,
|
|
724
|
-
(
|
|
725
|
-
|
|
732
|
+
(u) => {
|
|
733
|
+
u ? window.addEventListener("keydown", A) : window.removeEventListener("keydown", A);
|
|
726
734
|
},
|
|
727
735
|
{ immediate: !0 }
|
|
728
736
|
), gt(() => {
|
|
729
737
|
window.removeEventListener("keydown", A);
|
|
730
|
-
}), (
|
|
731
|
-
e.backdrop ? (
|
|
738
|
+
}), (u, f) => l(c) ? (d(), I("div", Mn, [
|
|
739
|
+
e.backdrop ? (d(), I("div", En)) : D("", !0),
|
|
732
740
|
g("div", {
|
|
733
741
|
class: j(["av-drawer", `av-drawer--${l(r)}`]),
|
|
734
742
|
role: "dialog",
|
|
@@ -737,10 +745,10 @@ const rn = ["title", "disabled", "aria-disabled", "aria-label"], on = /* @__PURE
|
|
|
737
745
|
}, [
|
|
738
746
|
g("div", Tn, [
|
|
739
747
|
g("div", Dn, [
|
|
740
|
-
P(
|
|
748
|
+
P(u.$slots, "default", {}, void 0, !0)
|
|
741
749
|
]),
|
|
742
|
-
i.footer ? (
|
|
743
|
-
P(
|
|
750
|
+
i.footer ? (d(), I("div", Ln, [
|
|
751
|
+
P(u.$slots, "footer", {}, void 0, !0)
|
|
744
752
|
])) : D("", !0)
|
|
745
753
|
])
|
|
746
754
|
], 10, Nn)
|
|
@@ -787,19 +795,19 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
787
795
|
cssExpanded: n,
|
|
788
796
|
doExpand: i,
|
|
789
797
|
onTransitionEnd: r
|
|
790
|
-
} = Ze(), o = b(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = U(), c = tt(Gt), { isActive: A, expand:
|
|
798
|
+
} = Ze(), o = b(() => e.id ?? `accordion-${crypto.randomUUID()}`), s = U(), c = tt(Gt), { isActive: A, expand: u } = (c == null ? void 0 : c(Ft(() => e.title))) ?? {
|
|
791
799
|
isActive: s,
|
|
792
800
|
expand: () => s.value = !s.value
|
|
793
801
|
}, f = b(() => ({
|
|
794
802
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
795
803
|
}));
|
|
796
|
-
return
|
|
804
|
+
return ue(() => {
|
|
797
805
|
A.value && i(!0);
|
|
798
806
|
}), re(A, (C, m) => {
|
|
799
807
|
C !== m && i(C);
|
|
800
808
|
}), (C, m) => {
|
|
801
809
|
const v = ne;
|
|
802
|
-
return
|
|
810
|
+
return d(), I("section", Sn, [
|
|
803
811
|
g("h3", Qn, [
|
|
804
812
|
g("button", {
|
|
805
813
|
class: "av-accordion__btn",
|
|
@@ -808,10 +816,10 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
808
816
|
type: "button",
|
|
809
817
|
style: ce(l(f)),
|
|
810
818
|
onClick: m[0] || (m[0] = //@ts-ignore
|
|
811
|
-
(...y) => l(
|
|
819
|
+
(...y) => l(u) && l(u)(...y))
|
|
812
820
|
}, [
|
|
813
821
|
g("div", pn, [
|
|
814
|
-
e.icon ? (
|
|
822
|
+
e.icon ? (d(), p(v, {
|
|
815
823
|
key: 0,
|
|
816
824
|
size: 2,
|
|
817
825
|
name: e.icon,
|
|
@@ -863,7 +871,7 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
863
871
|
re(s, () => {
|
|
864
872
|
r.value.set(c, s.value);
|
|
865
873
|
});
|
|
866
|
-
function
|
|
874
|
+
function u() {
|
|
867
875
|
if (i.value === c) {
|
|
868
876
|
i.value = -1;
|
|
869
877
|
return;
|
|
@@ -872,8 +880,8 @@ const Sn = { class: "av-accordion" }, Qn = { class: "av-accordion__title" }, xn
|
|
|
872
880
|
}
|
|
873
881
|
return ve(() => {
|
|
874
882
|
r.value.delete(c);
|
|
875
|
-
}), { isActive: A, expand:
|
|
876
|
-
}), (s, c) => (
|
|
883
|
+
}), { isActive: A, expand: u };
|
|
884
|
+
}), (s, c) => (d(), I("div", Pn, [
|
|
877
885
|
P(s.$slots, "default")
|
|
878
886
|
]));
|
|
879
887
|
}
|
|
@@ -906,11 +914,11 @@ function Zn(e, t = {}) {
|
|
|
906
914
|
};
|
|
907
915
|
let o;
|
|
908
916
|
return (c) => {
|
|
909
|
-
const A = le(e),
|
|
910
|
-
return a && r(a), A <= 0 ||
|
|
911
|
-
i = t.rejectOnCancel ? C : f, o = c,
|
|
917
|
+
const A = le(e), u = le(t.maxWait);
|
|
918
|
+
return a && r(a), A <= 0 || u !== void 0 && u <= 0 ? (n && (r(n), n = void 0), Promise.resolve(c())) : new Promise((f, C) => {
|
|
919
|
+
i = t.rejectOnCancel ? C : f, o = c, u && !n && (n = setTimeout(() => {
|
|
912
920
|
a && r(a), n = void 0, f(o());
|
|
913
|
-
},
|
|
921
|
+
}, u)), a = setTimeout(() => {
|
|
914
922
|
n && r(n), n = void 0, f(c());
|
|
915
923
|
}, A);
|
|
916
924
|
});
|
|
@@ -919,14 +927,14 @@ function Zn(e, t = {}) {
|
|
|
919
927
|
function Xn(...e) {
|
|
920
928
|
let t = 0, a, n = !0, i = xe, r, o, s, c, A;
|
|
921
929
|
!Ct(e[0]) && typeof e[0] == "object" ? { delay: o, trailing: s = !0, leading: c = !0, rejectOnCancel: A = !1 } = e[0] : [o, s = !0, c = !0, A = !1] = e;
|
|
922
|
-
const
|
|
930
|
+
const u = () => {
|
|
923
931
|
a && (clearTimeout(a), a = void 0, i(), i = xe);
|
|
924
932
|
};
|
|
925
933
|
return (C) => {
|
|
926
934
|
const m = le(o), v = Date.now() - t, y = () => r = C();
|
|
927
|
-
return
|
|
935
|
+
return u(), m <= 0 ? (t = Date.now(), y()) : (v > m && (c || !n) ? (t = Date.now(), y()) : s && (r = new Promise((M, T) => {
|
|
928
936
|
i = A ? T : M, a = setTimeout(() => {
|
|
929
|
-
t = Date.now(), n = !0, M(y()),
|
|
937
|
+
t = Date.now(), n = !0, M(y()), u();
|
|
930
938
|
}, Math.max(0, m - v));
|
|
931
939
|
})), !c && !a && (a = setTimeout(() => n = !0, m)), n = !1, r);
|
|
932
940
|
};
|
|
@@ -962,7 +970,7 @@ function Kn(e, t = 200, a = !1, n = !0, i = !1) {
|
|
|
962
970
|
);
|
|
963
971
|
}
|
|
964
972
|
function ta(e, t = !0, a) {
|
|
965
|
-
qn() ?
|
|
973
|
+
qn() ? ue(e, a) : t ? e() : at(e);
|
|
966
974
|
}
|
|
967
975
|
function Gn(e, t, a) {
|
|
968
976
|
return re(
|
|
@@ -980,10 +988,10 @@ function Et(e) {
|
|
|
980
988
|
const a = le(e);
|
|
981
989
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
982
990
|
}
|
|
983
|
-
function
|
|
991
|
+
function ut(...e) {
|
|
984
992
|
const t = [], a = () => {
|
|
985
993
|
t.forEach((s) => s()), t.length = 0;
|
|
986
|
-
}, n = (s, c, A,
|
|
994
|
+
}, n = (s, c, A, u) => (s.addEventListener(c, A, u), () => s.removeEventListener(c, A, u)), i = b(() => {
|
|
987
995
|
const s = Fe(le(e[0])).filter((c) => c != null);
|
|
988
996
|
return s.every((c) => typeof c != "string") ? s : void 0;
|
|
989
997
|
}), r = Gn(
|
|
@@ -997,10 +1005,10 @@ function dt(...e) {
|
|
|
997
1005
|
le(i.value ? e[3] : e[2])
|
|
998
1006
|
];
|
|
999
1007
|
},
|
|
1000
|
-
([s, c, A,
|
|
1008
|
+
([s, c, A, u]) => {
|
|
1001
1009
|
if (a(), !(s != null && s.length) || !(c != null && c.length) || !(A != null && A.length))
|
|
1002
1010
|
return;
|
|
1003
|
-
const f = Rn(
|
|
1011
|
+
const f = Rn(u) ? { ...u } : u;
|
|
1004
1012
|
t.push(
|
|
1005
1013
|
...s.flatMap(
|
|
1006
1014
|
(C) => c.flatMap(
|
|
@@ -1018,7 +1026,7 @@ function dt(...e) {
|
|
|
1018
1026
|
// @__NO_SIDE_EFFECTS__
|
|
1019
1027
|
function Jn() {
|
|
1020
1028
|
const e = ye(!1), t = ht();
|
|
1021
|
-
return t &&
|
|
1029
|
+
return t && ue(() => {
|
|
1022
1030
|
e.value = !0;
|
|
1023
1031
|
}, t), e;
|
|
1024
1032
|
}
|
|
@@ -1041,13 +1049,13 @@ function $n(e, t, a = {}) {
|
|
|
1041
1049
|
s(), o.value && C.size && (r = new MutationObserver(t), C.forEach((m) => r.observe(m, i)));
|
|
1042
1050
|
},
|
|
1043
1051
|
{ immediate: !0, flush: "post" }
|
|
1044
|
-
),
|
|
1052
|
+
), u = () => r == null ? void 0 : r.takeRecords(), f = () => {
|
|
1045
1053
|
A(), s();
|
|
1046
1054
|
};
|
|
1047
1055
|
return _t(f), {
|
|
1048
1056
|
isSupported: o,
|
|
1049
1057
|
stop: f,
|
|
1050
|
-
takeRecords:
|
|
1058
|
+
takeRecords: u
|
|
1051
1059
|
};
|
|
1052
1060
|
}
|
|
1053
1061
|
const _n = Symbol("vueuse-ssr-width");
|
|
@@ -1064,15 +1072,15 @@ function ze(e, t = {}) {
|
|
|
1064
1072
|
if (r.value) {
|
|
1065
1073
|
r.value = !i.value;
|
|
1066
1074
|
const A = le(e).split(",");
|
|
1067
|
-
s.value = A.some((
|
|
1068
|
-
const f =
|
|
1075
|
+
s.value = A.some((u) => {
|
|
1076
|
+
const f = u.includes("not all"), C = u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
1069
1077
|
let v = !!(C || m);
|
|
1070
1078
|
return C && v && (v = n >= Ve(C[1])), m && v && (v = n <= Ve(m[1])), f ? !v : v;
|
|
1071
1079
|
});
|
|
1072
1080
|
return;
|
|
1073
1081
|
}
|
|
1074
1082
|
i.value && (o.value = a.matchMedia(le(e)), s.value = o.value.matches);
|
|
1075
|
-
}),
|
|
1083
|
+
}), ut(o, "change", c, { passive: !0 }), b(() => s.value);
|
|
1076
1084
|
}
|
|
1077
1085
|
// @__NO_SIDE_EFFECTS__
|
|
1078
1086
|
function ei(e, t = {}) {
|
|
@@ -1085,8 +1093,8 @@ function ei(e, t = {}) {
|
|
|
1085
1093
|
function c(m, v) {
|
|
1086
1094
|
return !s.value && o ? m === "min" ? r >= Ve(v) : r <= Ve(v) : n ? n.matchMedia(`(${m}-width: ${v})`).matches : !1;
|
|
1087
1095
|
}
|
|
1088
|
-
const A = (m) => ze(() => `(min-width: ${a(m)})`, t),
|
|
1089
|
-
get: () => i === "min-width" ? A(v) :
|
|
1096
|
+
const A = (m) => ze(() => `(min-width: ${a(m)})`, t), u = (m) => ze(() => `(max-width: ${a(m)})`, t), f = Object.keys(e).reduce((m, v) => (Object.defineProperty(m, v, {
|
|
1097
|
+
get: () => i === "min-width" ? A(v) : u(v),
|
|
1090
1098
|
enumerable: !0,
|
|
1091
1099
|
configurable: !0
|
|
1092
1100
|
}), m), {});
|
|
@@ -1096,7 +1104,7 @@ function ei(e, t = {}) {
|
|
|
1096
1104
|
}
|
|
1097
1105
|
return Object.assign(f, {
|
|
1098
1106
|
greaterOrEqual: A,
|
|
1099
|
-
smallerOrEqual:
|
|
1107
|
+
smallerOrEqual: u,
|
|
1100
1108
|
greater(m) {
|
|
1101
1109
|
return ze(() => `(min-width: ${a(m, 0.1)})`, t);
|
|
1102
1110
|
},
|
|
@@ -1149,7 +1157,7 @@ function ti(e, t = {}) {
|
|
|
1149
1157
|
passive: !0
|
|
1150
1158
|
},
|
|
1151
1159
|
behavior: A = "auto",
|
|
1152
|
-
window:
|
|
1160
|
+
window: u = Xe,
|
|
1153
1161
|
onError: f = (x) => {
|
|
1154
1162
|
console.error(x);
|
|
1155
1163
|
}
|
|
@@ -1172,12 +1180,12 @@ function ti(e, t = {}) {
|
|
|
1172
1180
|
});
|
|
1173
1181
|
function T(x, H) {
|
|
1174
1182
|
var w, k, h, E;
|
|
1175
|
-
if (!
|
|
1183
|
+
if (!u)
|
|
1176
1184
|
return;
|
|
1177
1185
|
const S = le(e);
|
|
1178
1186
|
if (!S)
|
|
1179
1187
|
return;
|
|
1180
|
-
(h = S instanceof Document ?
|
|
1188
|
+
(h = S instanceof Document ? u.document.body : S) == null || h.scrollTo({
|
|
1181
1189
|
top: (w = le(H)) != null ? w : M.value,
|
|
1182
1190
|
left: (k = le(x)) != null ? k : y.value,
|
|
1183
1191
|
behavior: le(A)
|
|
@@ -1185,12 +1193,12 @@ function ti(e, t = {}) {
|
|
|
1185
1193
|
const Y = ((E = S == null ? void 0 : S.document) == null ? void 0 : E.documentElement) || (S == null ? void 0 : S.documentElement) || S;
|
|
1186
1194
|
y != null && (m.value = Y.scrollLeft), M != null && (v.value = Y.scrollTop);
|
|
1187
1195
|
}
|
|
1188
|
-
const L = ye(!1), N =
|
|
1196
|
+
const L = ye(!1), N = dt({
|
|
1189
1197
|
left: !0,
|
|
1190
1198
|
right: !1,
|
|
1191
1199
|
top: !0,
|
|
1192
1200
|
bottom: !1
|
|
1193
|
-
}), O =
|
|
1201
|
+
}), O = dt({
|
|
1194
1202
|
left: !1,
|
|
1195
1203
|
right: !1,
|
|
1196
1204
|
top: !1,
|
|
@@ -1199,24 +1207,24 @@ function ti(e, t = {}) {
|
|
|
1199
1207
|
L.value && (L.value = !1, O.left = !1, O.right = !1, O.top = !1, O.bottom = !1, i(x));
|
|
1200
1208
|
}, Z = /* @__PURE__ */ Fn(V, a + n), F = (x) => {
|
|
1201
1209
|
var H;
|
|
1202
|
-
if (!
|
|
1210
|
+
if (!u)
|
|
1203
1211
|
return;
|
|
1204
1212
|
const w = ((H = x == null ? void 0 : x.document) == null ? void 0 : H.documentElement) || (x == null ? void 0 : x.documentElement) || Et(x), { display: k, flexDirection: h, direction: E } = getComputedStyle(w), S = E === "rtl" ? -1 : 1, Y = w.scrollLeft;
|
|
1205
1213
|
O.left = Y < m.value, O.right = Y > m.value;
|
|
1206
1214
|
const q = Math.abs(Y * S) <= (o.left || 0), J = Math.abs(Y * S) + w.clientWidth >= w.scrollWidth - (o.right || 0) - Lt;
|
|
1207
1215
|
k === "flex" && h === "row-reverse" ? (N.left = J, N.right = q) : (N.left = q, N.right = J), m.value = Y;
|
|
1208
1216
|
let X = w.scrollTop;
|
|
1209
|
-
x ===
|
|
1217
|
+
x === u.document && !X && (X = u.document.body.scrollTop), O.top = X < v.value, O.bottom = X > v.value;
|
|
1210
1218
|
const _ = Math.abs(X) <= (o.top || 0), ae = Math.abs(X) + w.clientHeight >= w.scrollHeight - (o.bottom || 0) - Lt;
|
|
1211
1219
|
k === "flex" && h === "column-reverse" ? (N.top = ae, N.bottom = _) : (N.top = _, N.bottom = ae), v.value = X;
|
|
1212
1220
|
}, te = (x) => {
|
|
1213
1221
|
var H;
|
|
1214
|
-
if (!
|
|
1222
|
+
if (!u)
|
|
1215
1223
|
return;
|
|
1216
1224
|
const w = (H = x.target.documentElement) != null ? H : x.target;
|
|
1217
1225
|
F(w), L.value = !0, Z(x), r(x);
|
|
1218
1226
|
};
|
|
1219
|
-
return
|
|
1227
|
+
return ut(
|
|
1220
1228
|
e,
|
|
1221
1229
|
"scroll",
|
|
1222
1230
|
a ? /* @__PURE__ */ Kn(te, a, !0, !1) : te,
|
|
@@ -1230,7 +1238,7 @@ function ti(e, t = {}) {
|
|
|
1230
1238
|
} catch (x) {
|
|
1231
1239
|
f(x);
|
|
1232
1240
|
}
|
|
1233
|
-
}), C != null && C.mutation && e != null && e !==
|
|
1241
|
+
}), C != null && C.mutation && e != null && e !== u && e !== document && $n(
|
|
1234
1242
|
e,
|
|
1235
1243
|
() => {
|
|
1236
1244
|
const x = le(e);
|
|
@@ -1241,7 +1249,7 @@ function ti(e, t = {}) {
|
|
|
1241
1249
|
childList: !0,
|
|
1242
1250
|
subtree: !0
|
|
1243
1251
|
}
|
|
1244
|
-
),
|
|
1252
|
+
), ut(
|
|
1245
1253
|
e,
|
|
1246
1254
|
"scrollend",
|
|
1247
1255
|
V,
|
|
@@ -1254,7 +1262,7 @@ function ti(e, t = {}) {
|
|
|
1254
1262
|
directions: O,
|
|
1255
1263
|
measure() {
|
|
1256
1264
|
const x = le(e);
|
|
1257
|
-
|
|
1265
|
+
u && x && F(x);
|
|
1258
1266
|
}
|
|
1259
1267
|
};
|
|
1260
1268
|
}
|
|
@@ -1269,7 +1277,7 @@ const ai = {
|
|
|
1269
1277
|
/* 90rem */
|
|
1270
1278
|
};
|
|
1271
1279
|
function nt() {
|
|
1272
|
-
const e = /* @__PURE__ */ ei(ai), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), i = e.smaller("xl"), r = e.greater("md"), o = e.greater("lg"), s = a, c = b(() => r.value && n.value), A = o,
|
|
1280
|
+
const e = /* @__PURE__ */ ei(ai), t = e.smaller("sm"), a = e.smaller("md"), n = e.smaller("lg"), i = e.smaller("xl"), r = e.greater("md"), o = e.greater("lg"), s = a, c = b(() => r.value && n.value), A = o, u = e.active();
|
|
1273
1281
|
return {
|
|
1274
1282
|
isMobile: s,
|
|
1275
1283
|
isTablet: c,
|
|
@@ -1280,7 +1288,7 @@ function nt() {
|
|
|
1280
1288
|
isBelowXl: i,
|
|
1281
1289
|
isAboveMd: r,
|
|
1282
1290
|
isAboveLg: o,
|
|
1283
|
-
currentBreakpoint:
|
|
1291
|
+
currentBreakpoint: u
|
|
1284
1292
|
};
|
|
1285
1293
|
}
|
|
1286
1294
|
/*!
|
|
@@ -1317,8 +1325,8 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1317
1325
|
candidates: A
|
|
1318
1326
|
});
|
|
1319
1327
|
} else {
|
|
1320
|
-
var
|
|
1321
|
-
|
|
1328
|
+
var u = we.call(o, Ke);
|
|
1329
|
+
u && n.filter(o) && (a || !t.includes(o)) && i.push(o);
|
|
1322
1330
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
1323
1331
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), C = !Je(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
1324
1332
|
if (f && C) {
|
|
@@ -1374,15 +1382,15 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1374
1382
|
return !r || r === t;
|
|
1375
1383
|
}, Ai = function(t) {
|
|
1376
1384
|
return ca(t) && t.type === "radio";
|
|
1377
|
-
}, ui = function(t) {
|
|
1378
|
-
return Ai(t) && !ci(t);
|
|
1379
1385
|
}, di = function(t) {
|
|
1386
|
+
return Ai(t) && !ci(t);
|
|
1387
|
+
}, ui = function(t) {
|
|
1380
1388
|
var a, n = t && Ge(t), i = (a = n) === null || a === void 0 ? void 0 : a.host, r = !1;
|
|
1381
1389
|
if (n && n !== t) {
|
|
1382
1390
|
var o, s, c;
|
|
1383
1391
|
for (r = !!((o = i) !== null && o !== void 0 && (s = o.ownerDocument) !== null && s !== void 0 && s.contains(i) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !r && i; ) {
|
|
1384
|
-
var A,
|
|
1385
|
-
n = Ge(i), i = (A = n) === null || A === void 0 ? void 0 : A.host, r = !!((
|
|
1392
|
+
var A, u, f;
|
|
1393
|
+
n = Ge(i), i = (A = n) === null || A === void 0 ? void 0 : A.host, r = !!((u = i) !== null && u !== void 0 && (f = u.ownerDocument) !== null && f !== void 0 && f.contains(i));
|
|
1386
1394
|
}
|
|
1387
1395
|
}
|
|
1388
1396
|
return r;
|
|
@@ -1406,7 +1414,7 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1406
1414
|
}
|
|
1407
1415
|
t = s;
|
|
1408
1416
|
}
|
|
1409
|
-
if (
|
|
1417
|
+
if (ui(t))
|
|
1410
1418
|
return !t.getClientRects().length;
|
|
1411
1419
|
if (n !== "legacy-full")
|
|
1412
1420
|
return !0;
|
|
@@ -1434,7 +1442,7 @@ var ia = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
1434
1442
|
Je(a) || ri(a) || fi(a, t) || // For a details element with a summary, the summary element gets the focus
|
|
1435
1443
|
oi(a) || vi(a));
|
|
1436
1444
|
}, ft = function(t, a) {
|
|
1437
|
-
return !(
|
|
1445
|
+
return !(di(a) || Te(a) < 0 || !$e(t, a));
|
|
1438
1446
|
}, mi = function(t) {
|
|
1439
1447
|
var a = parseInt(t.getAttribute("tabindex"), 10);
|
|
1440
1448
|
return !!(isNaN(a) || a >= 0);
|
|
@@ -1639,7 +1647,7 @@ var Qt = {
|
|
|
1639
1647
|
return X === h;
|
|
1640
1648
|
});
|
|
1641
1649
|
});
|
|
1642
|
-
},
|
|
1650
|
+
}, u = function(h) {
|
|
1643
1651
|
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = E.hasFallback, Y = S === void 0 ? !1 : S, q = E.params, J = q === void 0 ? [] : q, X = r[h];
|
|
1644
1652
|
if (typeof X == "function" && (X = X.apply(void 0, Ni(J))), X === !0 && (X = void 0), !X) {
|
|
1645
1653
|
if (X === void 0 || X === !1)
|
|
@@ -1658,7 +1666,7 @@ var Qt = {
|
|
|
1658
1666
|
}
|
|
1659
1667
|
return _;
|
|
1660
1668
|
}, f = function() {
|
|
1661
|
-
var h =
|
|
1669
|
+
var h = u("initialFocus", {
|
|
1662
1670
|
hasFallback: !0
|
|
1663
1671
|
});
|
|
1664
1672
|
if (h === !1)
|
|
@@ -1668,9 +1676,9 @@ var Qt = {
|
|
|
1668
1676
|
h = n.activeElement;
|
|
1669
1677
|
else {
|
|
1670
1678
|
var E = o.tabbableGroups[0], S = E && E.firstTabbableNode;
|
|
1671
|
-
h = S ||
|
|
1679
|
+
h = S || u("fallbackFocus");
|
|
1672
1680
|
}
|
|
1673
|
-
else h === null && (h =
|
|
1681
|
+
else h === null && (h = u("fallbackFocus"));
|
|
1674
1682
|
if (!h)
|
|
1675
1683
|
throw new Error("Your focus-trap needs to have at least one focusable element");
|
|
1676
1684
|
return h;
|
|
@@ -1723,7 +1731,7 @@ var Qt = {
|
|
|
1723
1731
|
};
|
|
1724
1732
|
}), o.tabbableGroups = o.containerGroups.filter(function(h) {
|
|
1725
1733
|
return h.tabbableNodes.length > 0;
|
|
1726
|
-
}), o.tabbableGroups.length <= 0 && !
|
|
1734
|
+
}), o.tabbableGroups.length <= 0 && !u("fallbackFocus"))
|
|
1727
1735
|
throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
|
|
1728
1736
|
if (o.containerGroups.find(function(h) {
|
|
1729
1737
|
return h.posTabIndexesFound;
|
|
@@ -1744,7 +1752,7 @@ var Qt = {
|
|
|
1744
1752
|
}), o.mostRecentlyFocusedNode = h, wi(h) && h.select();
|
|
1745
1753
|
}
|
|
1746
1754
|
}, y = function(h) {
|
|
1747
|
-
var E =
|
|
1755
|
+
var E = u("setReturnFocus", {
|
|
1748
1756
|
params: [h]
|
|
1749
1757
|
});
|
|
1750
1758
|
return E || (E === !1 ? !1 : h);
|
|
@@ -1776,7 +1784,7 @@ var Qt = {
|
|
|
1776
1784
|
} else He(S) || (J = _.nextTabbableNode(E));
|
|
1777
1785
|
}
|
|
1778
1786
|
} else
|
|
1779
|
-
J =
|
|
1787
|
+
J = u("fallbackFocus");
|
|
1780
1788
|
return J;
|
|
1781
1789
|
}, T = function(h) {
|
|
1782
1790
|
var E = Ye(h);
|
|
@@ -1968,7 +1976,7 @@ function pi(e, t) {
|
|
|
1968
1976
|
};
|
|
1969
1977
|
}
|
|
1970
1978
|
function EA(e) {
|
|
1971
|
-
|
|
1979
|
+
ue(() => {
|
|
1972
1980
|
document.documentElement.style.setProperty("--global-background-color", e);
|
|
1973
1981
|
}), ve(() => {
|
|
1974
1982
|
document.documentElement.style.setProperty("--global-background-color", "var(--default-global-background-color)");
|
|
@@ -1993,11 +2001,11 @@ const ki = {
|
|
|
1993
2001
|
cssExpanded: r,
|
|
1994
2002
|
doExpand: o,
|
|
1995
2003
|
onTransitionEnd: s
|
|
1996
|
-
} = Ze(), { isBelowLg: c } = nt(), A = b(() => e.id ?? `language-selector-${crypto.randomUUID()}`),
|
|
2004
|
+
} = Ze(), { isBelowLg: c } = nt(), A = b(() => e.id ?? `language-selector-${crypto.randomUUID()}`), u = b(
|
|
1997
2005
|
() => e.languages.find(({ codeIso: y }) => y === e.currentLanguage)
|
|
1998
2006
|
), f = b(() => {
|
|
1999
2007
|
var T, L;
|
|
2000
|
-
const y = ((T =
|
|
2008
|
+
const y = ((T = u.value) == null ? void 0 : T.codeIso.toUpperCase()) ?? "", M = `${y} - ${(L = u.value) == null ? void 0 : L.label}`;
|
|
2001
2009
|
return c.value ? M : y;
|
|
2002
2010
|
}), C = U(!1), m = b(() => ({
|
|
2003
2011
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
@@ -2009,7 +2017,7 @@ const ki = {
|
|
|
2009
2017
|
y !== M && o(y);
|
|
2010
2018
|
}), (y, M) => {
|
|
2011
2019
|
const T = oe;
|
|
2012
|
-
return
|
|
2020
|
+
return d(), I("nav", ki, [
|
|
2013
2021
|
g("div", ji, [
|
|
2014
2022
|
W(T, {
|
|
2015
2023
|
class: "av-translate__btn",
|
|
@@ -2023,7 +2031,7 @@ const ki = {
|
|
|
2023
2031
|
type: "button",
|
|
2024
2032
|
style: ce(l(m)),
|
|
2025
2033
|
small: "",
|
|
2026
|
-
onClick: M[0] || (M[0] =
|
|
2034
|
+
onClick: M[0] || (M[0] = de((L) => C.value = !l(C), ["prevent", "stop"]))
|
|
2027
2035
|
}, null, 8, ["label", "aria-controls", "aria-expanded", "icon", "title", "style"]),
|
|
2028
2036
|
g("div", {
|
|
2029
2037
|
id: l(A),
|
|
@@ -2036,14 +2044,14 @@ const ki = {
|
|
|
2036
2044
|
onTransitionend: M[1] || (M[1] = (L) => l(s)(l(C)))
|
|
2037
2045
|
}, [
|
|
2038
2046
|
g("ul", Bi, [
|
|
2039
|
-
(
|
|
2047
|
+
(d(!0), I($, null, ie(e.languages, (L, N) => (d(), I("li", { key: N }, [
|
|
2040
2048
|
g("a", {
|
|
2041
2049
|
class: "av-translate__language av-nav__link",
|
|
2042
2050
|
hreflang: L.codeIso,
|
|
2043
2051
|
lang: L.codeIso,
|
|
2044
2052
|
"aria-current": e.currentLanguage === L.codeIso ? !0 : void 0,
|
|
2045
2053
|
href: `#${L.codeIso}`,
|
|
2046
|
-
onClick:
|
|
2054
|
+
onClick: de((O) => v(L), ["prevent", "stop"])
|
|
2047
2055
|
}, B(`${L.codeIso.toUpperCase()} - ${L.label}`), 9, Pi)
|
|
2048
2056
|
]))), 128))
|
|
2049
2057
|
])
|
|
@@ -2066,7 +2074,7 @@ const ki = {
|
|
|
2066
2074
|
setup(e) {
|
|
2067
2075
|
return se((t) => ({
|
|
2068
2076
|
v121e8ff2: t.customPadding
|
|
2069
|
-
})), (t, a) => (
|
|
2077
|
+
})), (t, a) => (d(), I("button", {
|
|
2070
2078
|
class: "av-rich-button",
|
|
2071
2079
|
title: e.label,
|
|
2072
2080
|
"aria-label": e.label,
|
|
@@ -2074,7 +2082,7 @@ const ki = {
|
|
|
2074
2082
|
}, [
|
|
2075
2083
|
g("div", Vi, [
|
|
2076
2084
|
g("div", Hi, [
|
|
2077
|
-
e.iconLeft ? (
|
|
2085
|
+
e.iconLeft ? (d(), p(ne, {
|
|
2078
2086
|
key: 0,
|
|
2079
2087
|
name: e.iconLeft,
|
|
2080
2088
|
color: "var(--dark-background-primary1)",
|
|
@@ -2082,7 +2090,7 @@ const ki = {
|
|
|
2082
2090
|
}, null, 8, ["name"])) : D("", !0),
|
|
2083
2091
|
P(t.$slots, "default", {}, void 0, !0)
|
|
2084
2092
|
]),
|
|
2085
|
-
e.iconRight ? (
|
|
2093
|
+
e.iconRight ? (d(), p(ne, {
|
|
2086
2094
|
key: 0,
|
|
2087
2095
|
name: e.iconRight,
|
|
2088
2096
|
color: "var(--dark-background-primary1)",
|
|
@@ -2117,9 +2125,9 @@ const ki = {
|
|
|
2117
2125
|
emits: ["update:modelValue"],
|
|
2118
2126
|
setup(e) {
|
|
2119
2127
|
const t = b(() => e.id ?? `checkbox-${crypto.randomUUID()}`), a = b(() => e.errorMessage || e.validMessage), n = b(() => a.value ? `message-${t.value}` : void 0), i = Le(e, "modelValue"), r = b(() => i.value.includes(e.value)), o = b(() => r.value ? R.CHECKBOX_MARKED : R.CHECKBOX_BLANK_OUTLINE), s = b(() => r.value ? "var(--dark-background-primary1)" : "var(--icon)"), c = b(() => e.small ? 1 : 1.5), A = b(() => e.small ? r.value ? "caption-bold" : "caption-regular" : r.value ? "b2-bold" : "b2-regular");
|
|
2120
|
-
return (
|
|
2128
|
+
return (u, f) => {
|
|
2121
2129
|
const C = ne, m = pe, v = $t;
|
|
2122
|
-
return
|
|
2130
|
+
return d(), p(v, {
|
|
2123
2131
|
inline: e.inline,
|
|
2124
2132
|
disabled: e.disabled
|
|
2125
2133
|
}, {
|
|
@@ -2133,7 +2141,7 @@ const ki = {
|
|
|
2133
2141
|
value: e.value,
|
|
2134
2142
|
checked: l(r),
|
|
2135
2143
|
required: e.required
|
|
2136
|
-
},
|
|
2144
|
+
}, u.$attrs, {
|
|
2137
2145
|
"data-testid": `input-checkbox-${l(t)}`,
|
|
2138
2146
|
"data-test": `input-checkbox-${l(t)}`,
|
|
2139
2147
|
tabindex: e.disabled ? -1 : void 0,
|
|
@@ -2152,7 +2160,7 @@ const ki = {
|
|
|
2152
2160
|
color: l(s),
|
|
2153
2161
|
size: l(c)
|
|
2154
2162
|
}, null, 8, ["name", "color", "size"]),
|
|
2155
|
-
e.icon ? (
|
|
2163
|
+
e.icon ? (d(), p(C, {
|
|
2156
2164
|
key: 0,
|
|
2157
2165
|
class: "option-icon",
|
|
2158
2166
|
name: e.icon,
|
|
@@ -2162,16 +2170,16 @@ const ki = {
|
|
|
2162
2170
|
g("span", {
|
|
2163
2171
|
class: j(["label", l(A)])
|
|
2164
2172
|
}, [
|
|
2165
|
-
P(
|
|
2173
|
+
P(u.$slots, "label", {}, () => [
|
|
2166
2174
|
De(B(e.label), 1)
|
|
2167
2175
|
], !0)
|
|
2168
2176
|
], 2),
|
|
2169
|
-
e.required ? (
|
|
2177
|
+
e.required ? (d(), I("span", {
|
|
2170
2178
|
key: 1,
|
|
2171
2179
|
class: j(["required", l(A)])
|
|
2172
2180
|
}, " *", 2)) : D("", !0)
|
|
2173
2181
|
]),
|
|
2174
|
-
e.hint ? (
|
|
2182
|
+
e.hint ? (d(), I("span", qi, B(e.hint), 1)) : D("", !0)
|
|
2175
2183
|
], 8, Xi),
|
|
2176
2184
|
W(m, {
|
|
2177
2185
|
"message-id": l(n),
|
|
@@ -2198,7 +2206,7 @@ const ki = {
|
|
|
2198
2206
|
const t = b(() => e.id ?? `checkboxes-group-${crypto.randomUUID()}`);
|
|
2199
2207
|
return (a, n) => {
|
|
2200
2208
|
const i = Jt;
|
|
2201
|
-
return
|
|
2209
|
+
return d(), p(i, {
|
|
2202
2210
|
id: l(t),
|
|
2203
2211
|
legend: e.legend,
|
|
2204
2212
|
"legend-id": e.legendId,
|
|
@@ -2230,7 +2238,7 @@ const ki = {
|
|
|
2230
2238
|
setup(e) {
|
|
2231
2239
|
return (t, a) => {
|
|
2232
2240
|
const n = pe;
|
|
2233
|
-
return
|
|
2241
|
+
return d(), p(n, {
|
|
2234
2242
|
type: e.error ? "error" : "success",
|
|
2235
2243
|
message: e.error ? e.error : e.validMessage
|
|
2236
2244
|
}, null, 8, ["type", "message"]);
|
|
@@ -2285,7 +2293,7 @@ const ki = {
|
|
|
2285
2293
|
function A() {
|
|
2286
2294
|
r.value = !1;
|
|
2287
2295
|
}
|
|
2288
|
-
function
|
|
2296
|
+
function u(v) {
|
|
2289
2297
|
const y = v.target.files;
|
|
2290
2298
|
a("change", y), a("update:modelValue", (y == null ? void 0 : y[0]) ?? null);
|
|
2291
2299
|
}
|
|
@@ -2309,8 +2317,8 @@ const ki = {
|
|
|
2309
2317
|
var y;
|
|
2310
2318
|
v ? (a("update:modelValue", null), a("update:validMessage", null), a("update:error", null), a("change", [])) : (y = e.onDeleteFile) == null || y.call(e);
|
|
2311
2319
|
}
|
|
2312
|
-
return (v, y) => (
|
|
2313
|
-
(
|
|
2320
|
+
return (v, y) => (d(), I($, null, [
|
|
2321
|
+
(d(), p(Me(l(f) ? "div" : "label"), ee(l(f) ? {} : l(C), {
|
|
2314
2322
|
class: l(f) ? "file-preview-container" : ""
|
|
2315
2323
|
}), {
|
|
2316
2324
|
default: G(() => [
|
|
@@ -2328,9 +2336,9 @@ const ki = {
|
|
|
2328
2336
|
], !0)
|
|
2329
2337
|
]),
|
|
2330
2338
|
g("div", tl, [
|
|
2331
|
-
l(f) ? (
|
|
2339
|
+
l(f) ? (d(), I("div", al, [
|
|
2332
2340
|
g("span", nl, B(e.fileName || e.modelValue.name), 1)
|
|
2333
|
-
])) : (
|
|
2341
|
+
])) : (d(), I("div", il, [
|
|
2334
2342
|
g("span", ll, B(e.title), 1),
|
|
2335
2343
|
g("span", rl, B(e.description), 1)
|
|
2336
2344
|
])),
|
|
@@ -2339,20 +2347,20 @@ const ki = {
|
|
|
2339
2347
|
error: e.error
|
|
2340
2348
|
}, null, 8, ["valid-message", "error"])
|
|
2341
2349
|
]),
|
|
2342
|
-
e.disabled ? D("", !0) : (
|
|
2343
|
-
l(f) ? (
|
|
2350
|
+
e.disabled ? D("", !0) : (d(), I("div", ol, [
|
|
2351
|
+
l(f) ? (d(), p(oe, {
|
|
2344
2352
|
key: 0,
|
|
2345
2353
|
label: e.deleteButtonLabel,
|
|
2346
2354
|
theme: "SECONDARY",
|
|
2347
2355
|
onClick: y[0] || (y[0] = () => m(e.modelValue))
|
|
2348
|
-
}, null, 8, ["label"])) : (
|
|
2356
|
+
}, null, 8, ["label"])) : (d(), p(ne, {
|
|
2349
2357
|
key: 1,
|
|
2350
2358
|
size: 1.5,
|
|
2351
2359
|
name: l(R).TRAY_UPLOAD,
|
|
2352
2360
|
color: "var(--dark-background-primary1)"
|
|
2353
2361
|
}, null, 8, ["name"]))
|
|
2354
2362
|
])),
|
|
2355
|
-
l(f) ? D("", !0) : (
|
|
2363
|
+
l(f) ? D("", !0) : (d(), I("input", ee({
|
|
2356
2364
|
key: 1,
|
|
2357
2365
|
id: l(n),
|
|
2358
2366
|
class: "av-upload",
|
|
@@ -2362,7 +2370,7 @@ const ki = {
|
|
|
2362
2370
|
disabled: e.disabled,
|
|
2363
2371
|
"aria-disabled": e.disabled,
|
|
2364
2372
|
accept: l(i),
|
|
2365
|
-
onChange: y[1] || (y[1] = (M) =>
|
|
2373
|
+
onChange: y[1] || (y[1] = (M) => u(M))
|
|
2366
2374
|
}), null, 16, sl))
|
|
2367
2375
|
])
|
|
2368
2376
|
], 2)
|
|
@@ -2374,26 +2382,26 @@ const ki = {
|
|
|
2374
2382
|
])
|
|
2375
2383
|
], 64));
|
|
2376
2384
|
}
|
|
2377
|
-
}), TA = /* @__PURE__ */ z(Al, [["__scopeId", "data-v-b3d7bf33"]]),
|
|
2385
|
+
}), TA = /* @__PURE__ */ z(Al, [["__scopeId", "data-v-b3d7bf33"]]), da = 6048e5, dl = 864e5, kt = Symbol.for("constructDateFrom");
|
|
2378
2386
|
function Ce(e, t) {
|
|
2379
2387
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && kt in e ? e[kt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2380
2388
|
}
|
|
2381
2389
|
function Ie(e, t) {
|
|
2382
2390
|
return Ce(t || e, e);
|
|
2383
2391
|
}
|
|
2384
|
-
let
|
|
2392
|
+
let ul = {};
|
|
2385
2393
|
function it() {
|
|
2386
|
-
return
|
|
2394
|
+
return ul;
|
|
2387
2395
|
}
|
|
2388
2396
|
function Re(e, t) {
|
|
2389
|
-
var s, c, A,
|
|
2390
|
-
const a = it(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((
|
|
2397
|
+
var s, c, A, u;
|
|
2398
|
+
const a = it(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.weekStartsOn) ?? a.weekStartsOn ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.weekStartsOn) ?? 0, i = Ie(e, t == null ? void 0 : t.in), r = i.getDay(), o = (r < n ? 7 : 0) + r - n;
|
|
2391
2399
|
return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
|
|
2392
2400
|
}
|
|
2393
2401
|
function _e(e, t) {
|
|
2394
2402
|
return Re(e, { ...t, weekStartsOn: 1 });
|
|
2395
2403
|
}
|
|
2396
|
-
function
|
|
2404
|
+
function ua(e, t) {
|
|
2397
2405
|
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = Ce(a, 0);
|
|
2398
2406
|
i.setFullYear(n + 1, 0, 4), i.setHours(0, 0, 0, 0);
|
|
2399
2407
|
const r = _e(i), o = Ce(a, 0);
|
|
@@ -2432,10 +2440,10 @@ function vl(e, t, a) {
|
|
|
2432
2440
|
e,
|
|
2433
2441
|
t
|
|
2434
2442
|
), r = zt(n), o = zt(i), s = +r - jt(r), c = +o - jt(o);
|
|
2435
|
-
return Math.round((s - c) /
|
|
2443
|
+
return Math.round((s - c) / dl);
|
|
2436
2444
|
}
|
|
2437
2445
|
function ml(e, t) {
|
|
2438
|
-
const a =
|
|
2446
|
+
const a = ua(e, t), n = Ce(e, 0);
|
|
2439
2447
|
return n.setFullYear(a, 0, 4), n.setHours(0, 0, 0, 0), _e(n);
|
|
2440
2448
|
}
|
|
2441
2449
|
function Il(e) {
|
|
@@ -2737,8 +2745,8 @@ function We(e) {
|
|
|
2737
2745
|
// [TODO] -- I challenge you to fix the type
|
|
2738
2746
|
a.valueCallback(A)
|
|
2739
2747
|
) : A;
|
|
2740
|
-
const
|
|
2741
|
-
return { value: A, rest:
|
|
2748
|
+
const u = t.slice(o.length);
|
|
2749
|
+
return { value: A, rest: u };
|
|
2742
2750
|
};
|
|
2743
2751
|
}
|
|
2744
2752
|
function kl(e, t) {
|
|
@@ -2885,11 +2893,11 @@ function Jl(e, t) {
|
|
|
2885
2893
|
}
|
|
2886
2894
|
function $l(e, t) {
|
|
2887
2895
|
const a = Ie(e, t == null ? void 0 : t.in), n = +_e(a) - +ml(a);
|
|
2888
|
-
return Math.round(n /
|
|
2896
|
+
return Math.round(n / da) + 1;
|
|
2889
2897
|
}
|
|
2890
2898
|
function va(e, t) {
|
|
2891
|
-
var
|
|
2892
|
-
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = it(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (
|
|
2899
|
+
var u, f, C, m;
|
|
2900
|
+
const a = Ie(e, t == null ? void 0 : t.in), n = a.getFullYear(), i = it(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((f = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (C = i.locale) == null ? void 0 : C.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2893
2901
|
o.setFullYear(n + 1, 0, r), o.setHours(0, 0, 0, 0);
|
|
2894
2902
|
const s = Re(o, t), c = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2895
2903
|
c.setFullYear(n, 0, r), c.setHours(0, 0, 0, 0);
|
|
@@ -2897,13 +2905,13 @@ function va(e, t) {
|
|
|
2897
2905
|
return +a >= +s ? n + 1 : +a >= +A ? n : n - 1;
|
|
2898
2906
|
}
|
|
2899
2907
|
function _l(e, t) {
|
|
2900
|
-
var s, c, A,
|
|
2901
|
-
const a = it(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((
|
|
2908
|
+
var s, c, A, u;
|
|
2909
|
+
const a = it(), n = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((c = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : c.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((u = (A = a.locale) == null ? void 0 : A.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = va(e, t), r = Ce((t == null ? void 0 : t.in) || e, 0);
|
|
2902
2910
|
return r.setFullYear(i, 0, n), r.setHours(0, 0, 0, 0), Re(r, t);
|
|
2903
2911
|
}
|
|
2904
2912
|
function er(e, t) {
|
|
2905
2913
|
const a = Ie(e, t == null ? void 0 : t.in), n = +Re(a, t) - +_l(a, t);
|
|
2906
|
-
return Math.round(n /
|
|
2914
|
+
return Math.round(n / da) + 1;
|
|
2907
2915
|
}
|
|
2908
2916
|
function K(e, t) {
|
|
2909
2917
|
const a = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
|
|
@@ -3008,7 +3016,7 @@ const he = {
|
|
|
3008
3016
|
},
|
|
3009
3017
|
// ISO week-numbering year
|
|
3010
3018
|
R: function(e, t) {
|
|
3011
|
-
const a =
|
|
3019
|
+
const a = ua(e);
|
|
3012
3020
|
return K(a, t.length);
|
|
3013
3021
|
},
|
|
3014
3022
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -3599,13 +3607,13 @@ function cr(e, t, a) {
|
|
|
3599
3607
|
const n = e[0] === "Y" ? "years" : "days of the month";
|
|
3600
3608
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${a}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
3601
3609
|
}
|
|
3602
|
-
const Ar = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,
|
|
3610
|
+
const Ar = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, dr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ur = /^'([^]*?)'?$/, fr = /''/g, vr = /[a-zA-Z]/;
|
|
3603
3611
|
function mr(e, t, a) {
|
|
3604
|
-
var
|
|
3605
|
-
const n = it(), i = n.locale ?? Gl, r = n.firstWeekContainsDate ?? ((f = (
|
|
3612
|
+
var u, f, C, m;
|
|
3613
|
+
const n = it(), i = n.locale ?? Gl, r = n.firstWeekContainsDate ?? ((f = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (C = n.locale) == null ? void 0 : C.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ie(e, a == null ? void 0 : a.in);
|
|
3606
3614
|
if (!fa(s))
|
|
3607
3615
|
throw new RangeError("Invalid time value");
|
|
3608
|
-
let c = t.match(
|
|
3616
|
+
let c = t.match(dr).map((v) => {
|
|
3609
3617
|
const y = v[0];
|
|
3610
3618
|
if (y === "p" || y === "P") {
|
|
3611
3619
|
const M = ar[y];
|
|
@@ -3641,7 +3649,7 @@ function mr(e, t, a) {
|
|
|
3641
3649
|
}).join("");
|
|
3642
3650
|
}
|
|
3643
3651
|
function Ir(e) {
|
|
3644
|
-
const t = e.match(
|
|
3652
|
+
const t = e.match(ur);
|
|
3645
3653
|
return t ? t[1].replace(fr, "'") : e;
|
|
3646
3654
|
}
|
|
3647
3655
|
const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" }, hr = {
|
|
@@ -3694,8 +3702,8 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3694
3702
|
v74ffa07a: l(y),
|
|
3695
3703
|
c75a0fd0: M.textareaMinHeight
|
|
3696
3704
|
}));
|
|
3697
|
-
const n = a, i = b(() => e.id ?? `input-${crypto.randomUUID()}`), r = b(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = b(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = b(() => !!e.errorMessage), c = b(() =>
|
|
3698
|
-
function
|
|
3705
|
+
const n = a, i = b(() => e.id ?? `input-${crypto.randomUUID()}`), r = b(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), o = b(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), s = b(() => !!e.errorMessage), c = b(() => u(e.minDate)), A = b(() => u(e.maxDate));
|
|
3706
|
+
function u(M) {
|
|
3699
3707
|
if (!(e.type !== "date" && e.type !== "datetime-local" || M === void 0 || !fa(M)))
|
|
3700
3708
|
return mr(M, "yyyy-MM-dd");
|
|
3701
3709
|
}
|
|
@@ -3710,7 +3718,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3710
3718
|
focus: C
|
|
3711
3719
|
}), (M, T) => {
|
|
3712
3720
|
const L = pe;
|
|
3713
|
-
return
|
|
3721
|
+
return d(), I("div", {
|
|
3714
3722
|
class: j(["av-input", {
|
|
3715
3723
|
"av-input--date": e.type === "date",
|
|
3716
3724
|
"av-input--no-radius": e.noRadius
|
|
@@ -3718,7 +3726,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3718
3726
|
}, [
|
|
3719
3727
|
g("div", gr, [
|
|
3720
3728
|
g("div", br, [
|
|
3721
|
-
e.prefixIcon ? (
|
|
3729
|
+
e.prefixIcon ? (d(), I("div", hr, [
|
|
3722
3730
|
W(ne, {
|
|
3723
3731
|
name: e.prefixIcon,
|
|
3724
3732
|
size: 1.2
|
|
@@ -3733,12 +3741,12 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3733
3741
|
}, [
|
|
3734
3742
|
De(B(e.label) + " ", 1),
|
|
3735
3743
|
P(M.$slots, "requiredTip", {}, () => [
|
|
3736
|
-
e.required ? (
|
|
3744
|
+
e.required ? (d(), I("span", Cr, "*")) : D("", !0)
|
|
3737
3745
|
], !0),
|
|
3738
|
-
e.hint ? (
|
|
3746
|
+
e.hint ? (d(), I("span", Mr, B(e.hint), 1)) : D("", !0)
|
|
3739
3747
|
], 2)
|
|
3740
3748
|
], 10, yr),
|
|
3741
|
-
(
|
|
3749
|
+
(d(), p(Me(l(m)), ee({
|
|
3742
3750
|
id: l(i),
|
|
3743
3751
|
ref_key: "__input",
|
|
3744
3752
|
ref: f,
|
|
@@ -3766,17 +3774,17 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3766
3774
|
}, () => {
|
|
3767
3775
|
var N;
|
|
3768
3776
|
return [
|
|
3769
|
-
e.maxlength ? (
|
|
3777
|
+
e.maxlength ? (d(), I("span", Er, B((N = e.modelValue) == null ? void 0 : N.toString().length) + " / " + B(e.maxlength), 1)) : D("", !0)
|
|
3770
3778
|
];
|
|
3771
3779
|
}, !0)
|
|
3772
3780
|
]),
|
|
3773
|
-
l(r).length > 0 ? (
|
|
3781
|
+
l(r).length > 0 ? (d(), I("div", Nr, [
|
|
3774
3782
|
W(L, {
|
|
3775
3783
|
message: l(r),
|
|
3776
3784
|
type: "error"
|
|
3777
3785
|
}, null, 8, ["message"])
|
|
3778
3786
|
])) : D("", !0),
|
|
3779
|
-
l(o).length > 0 ? (
|
|
3787
|
+
l(o).length > 0 ? (d(), I("div", Tr, [
|
|
3780
3788
|
W(L, {
|
|
3781
3789
|
message: l(o),
|
|
3782
3790
|
type: "success"
|
|
@@ -3802,7 +3810,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3802
3810
|
const a = t, n = b(() => e.id ?? `search-bar-${crypto.randomUUID()}`);
|
|
3803
3811
|
return (i, r) => {
|
|
3804
3812
|
const o = Nt, s = oe;
|
|
3805
|
-
return
|
|
3813
|
+
return d(), I("div", Lr, [
|
|
3806
3814
|
g("div", null, [
|
|
3807
3815
|
W(o, {
|
|
3808
3816
|
id: l(n),
|
|
@@ -3854,7 +3862,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3854
3862
|
v718f62b9: i.borderColor
|
|
3855
3863
|
}));
|
|
3856
3864
|
const t = b(() => `av-list--${e.size}`), a = b(() => e.bordered ? "av-list--bordered" : ""), n = b(() => e.divided ? "av-list--divided" : "");
|
|
3857
|
-
return (i, r) => (
|
|
3865
|
+
return (i, r) => (d(), I("div", {
|
|
3858
3866
|
class: j(["av-list", [l(t), l(a), l(n)]]),
|
|
3859
3867
|
role: e.role,
|
|
3860
3868
|
"aria-label": e.ariaLabel,
|
|
@@ -3906,23 +3914,23 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3906
3914
|
}));
|
|
3907
3915
|
const t = fe(), a = b(() => e.clickable ? e.tag : "div"), n = b(() => e.ariaLabel ? e.ariaLabel : e.title && e.description ? `${e.title}, ${e.description}` : e.title || e.description || void 0);
|
|
3908
3916
|
function i(A) {
|
|
3909
|
-
var
|
|
3910
|
-
!e.clickable || e.disabled || (
|
|
3917
|
+
var u;
|
|
3918
|
+
!e.clickable || e.disabled || (u = e.onClick) == null || u.call(e, A);
|
|
3911
3919
|
}
|
|
3912
3920
|
function r(A) {
|
|
3913
|
-
var
|
|
3921
|
+
var u;
|
|
3914
3922
|
if (!(!e.clickable || e.disabled) && (A.key === "Enter" || A.key === " ")) {
|
|
3915
3923
|
A.preventDefault();
|
|
3916
3924
|
const f = new MouseEvent("click", {
|
|
3917
3925
|
bubbles: !0,
|
|
3918
3926
|
cancelable: !0
|
|
3919
3927
|
});
|
|
3920
|
-
(
|
|
3928
|
+
(u = e.onClick) == null || u.call(e, f);
|
|
3921
3929
|
}
|
|
3922
3930
|
}
|
|
3923
3931
|
const o = b(() => e.clickable ? "av-list-item--clickable" : ""), s = b(() => e.disabled ? "av-list-item--disabled" : ""), c = b(() => e.selected ? "av-list-item--selected" : "");
|
|
3924
|
-
return (A,
|
|
3925
|
-
(
|
|
3932
|
+
return (A, u) => (d(), I("div", { role: e.role }, [
|
|
3933
|
+
(d(), p(Me(l(a)), {
|
|
3926
3934
|
class: j(["av-list-item", [l(o), l(s), l(c)]]),
|
|
3927
3935
|
tabindex: e.clickable && !e.disabled ? 0 : void 0,
|
|
3928
3936
|
"aria-label": e.clickable ? l(n) : void 0,
|
|
@@ -3936,7 +3944,7 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3936
3944
|
onKeydown: r
|
|
3937
3945
|
}, {
|
|
3938
3946
|
default: G(() => [
|
|
3939
|
-
e.icon ? (
|
|
3947
|
+
e.icon ? (d(), I("div", xr, [
|
|
3940
3948
|
W(ne, {
|
|
3941
3949
|
name: e.icon,
|
|
3942
3950
|
color: e.iconColor ?? e.color,
|
|
@@ -3944,9 +3952,9 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3944
3952
|
}, null, 8, ["name", "color", "size"])
|
|
3945
3953
|
])) : D("", !0),
|
|
3946
3954
|
g("div", pr, [
|
|
3947
|
-
e.title ? (
|
|
3948
|
-
e.description ? (
|
|
3949
|
-
t.default ? (
|
|
3955
|
+
e.title ? (d(), I("div", kr, B(e.title), 1)) : D("", !0),
|
|
3956
|
+
e.description ? (d(), I("div", jr, B(e.description), 1)) : D("", !0),
|
|
3957
|
+
t.default ? (d(), I("div", zr, [
|
|
3950
3958
|
P(A.$slots, "default", {}, void 0, !0)
|
|
3951
3959
|
])) : D("", !0)
|
|
3952
3960
|
])
|
|
@@ -3981,14 +3989,14 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3981
3989
|
function A(y) {
|
|
3982
3990
|
return y ? Array.isArray(y) ? y : [y] : [];
|
|
3983
3991
|
}
|
|
3984
|
-
const
|
|
3992
|
+
const u = U(A(r));
|
|
3985
3993
|
function f(y) {
|
|
3986
|
-
return
|
|
3994
|
+
return u.value.some((M) => M.value === y.value);
|
|
3987
3995
|
}
|
|
3988
3996
|
function C(y) {
|
|
3989
|
-
o ? (f(y) ?
|
|
3997
|
+
o ? (f(y) ? u.value = u.value.filter(
|
|
3990
3998
|
(T) => T.value !== y.value
|
|
3991
|
-
) :
|
|
3999
|
+
) : u.value.push(y), s([...u.value])) : (u.value = [y], s(y));
|
|
3992
4000
|
}
|
|
3993
4001
|
function m(y) {
|
|
3994
4002
|
return f(y) ? R.CHECK : void 0;
|
|
@@ -3997,13 +4005,13 @@ const gr = { class: "av-input__wrapper" }, br = { class: "av-input__control" },
|
|
|
3997
4005
|
return f(y) && !o;
|
|
3998
4006
|
}
|
|
3999
4007
|
return re(() => t.selected, (y) => {
|
|
4000
|
-
|
|
4001
|
-
}, { immediate: !0 }), (y, M) => (
|
|
4002
|
-
l(a) ? (
|
|
4008
|
+
u.value = A(y);
|
|
4009
|
+
}, { immediate: !0 }), (y, M) => (d(), I("div", Pr, [
|
|
4010
|
+
l(a) ? (d(), I("span", {
|
|
4003
4011
|
key: 0,
|
|
4004
4012
|
class: j(["av-select-label", [l(i)]])
|
|
4005
4013
|
}, B(l(a)), 3)) : D("", !0),
|
|
4006
|
-
(
|
|
4014
|
+
(d(!0), I($, null, ie(l(c), (T) => (d(), I("div", {
|
|
4007
4015
|
key: T.value,
|
|
4008
4016
|
class: "tag-wrapper"
|
|
4009
4017
|
}, [
|
|
@@ -4044,7 +4052,7 @@ const DA = [
|
|
|
4044
4052
|
label: e.pageSizeSelected.toString(),
|
|
4045
4053
|
value: e.pageSizeSelected.toString()
|
|
4046
4054
|
}));
|
|
4047
|
-
return (n, i) => (
|
|
4055
|
+
return (n, i) => (d(), I("div", Vr, [
|
|
4048
4056
|
W(Ur, {
|
|
4049
4057
|
options: l(t),
|
|
4050
4058
|
selected: l(a),
|
|
@@ -4082,7 +4090,7 @@ const DA = [
|
|
|
4082
4090
|
const a = t, n = U(`av-radio-button-${crypto.randomUUID()}`);
|
|
4083
4091
|
return (i, r) => {
|
|
4084
4092
|
const o = $t;
|
|
4085
|
-
return
|
|
4093
|
+
return d(), p(o, {
|
|
4086
4094
|
inline: e.inline,
|
|
4087
4095
|
disabled: e.disabled
|
|
4088
4096
|
}, {
|
|
@@ -4139,12 +4147,12 @@ const DA = [
|
|
|
4139
4147
|
function A(m) {
|
|
4140
4148
|
return m != null && typeof m == "object" && "type" in m && m.type === Rr;
|
|
4141
4149
|
}
|
|
4142
|
-
function
|
|
4143
|
-
return m ? m.flatMap((v) => !v || typeof v != "object" || !("type" in v) ? [] : v.type === $ && Array.isArray(v.children) ?
|
|
4150
|
+
function u(m) {
|
|
4151
|
+
return m ? m.flatMap((v) => !v || typeof v != "object" || !("type" in v) ? [] : v.type === $ && Array.isArray(v.children) ? u(v.children) : A(v) ? [v] : []) : [];
|
|
4144
4152
|
}
|
|
4145
4153
|
const f = b(() => {
|
|
4146
4154
|
var m;
|
|
4147
|
-
return
|
|
4155
|
+
return u((m = c.default) == null ? void 0 : m.call(c));
|
|
4148
4156
|
}), C = U(e.modelValue);
|
|
4149
4157
|
return re(() => e.modelValue, (m) => {
|
|
4150
4158
|
C.value = m;
|
|
@@ -4152,7 +4160,7 @@ const DA = [
|
|
|
4152
4160
|
m && n("update:modelValue", m);
|
|
4153
4161
|
}), t({ selected: C }), (m, v) => {
|
|
4154
4162
|
const y = Jt;
|
|
4155
|
-
return
|
|
4163
|
+
return d(), p(y, {
|
|
4156
4164
|
id: l(i),
|
|
4157
4165
|
legend: e.legend,
|
|
4158
4166
|
hint: e.hint,
|
|
@@ -4166,9 +4174,9 @@ const DA = [
|
|
|
4166
4174
|
inline: e.inline
|
|
4167
4175
|
}, {
|
|
4168
4176
|
default: G(() => [
|
|
4169
|
-
(
|
|
4177
|
+
(d(!0), I($, null, ie(l(f), (M, T) => {
|
|
4170
4178
|
var L, N;
|
|
4171
|
-
return
|
|
4179
|
+
return d(), p(qr, {
|
|
4172
4180
|
key: T,
|
|
4173
4181
|
modelValue: l(C),
|
|
4174
4182
|
"onUpdate:modelValue": [
|
|
@@ -4184,7 +4192,7 @@ const DA = [
|
|
|
4184
4192
|
default: G(() => {
|
|
4185
4193
|
var O;
|
|
4186
4194
|
return [
|
|
4187
|
-
(
|
|
4195
|
+
(d(), p(Me((O = M.children) == null ? void 0 : O.default)))
|
|
4188
4196
|
];
|
|
4189
4197
|
}),
|
|
4190
4198
|
_: 2
|
|
@@ -4264,16 +4272,16 @@ var At = function() {
|
|
|
4264
4272
|
return ya.Date.now();
|
|
4265
4273
|
}, go = "Expected a function", bo = Math.max, ho = Math.min;
|
|
4266
4274
|
function Ma(e, t, a) {
|
|
4267
|
-
var n, i, r, o, s, c, A = 0,
|
|
4275
|
+
var n, i, r, o, s, c, A = 0, u = !1, f = !1, C = !0;
|
|
4268
4276
|
if (typeof e != "function")
|
|
4269
4277
|
throw new TypeError(go);
|
|
4270
|
-
t = Zt(t) || 0, mt(a) && (
|
|
4278
|
+
t = Zt(t) || 0, mt(a) && (u = !!a.leading, f = "maxWait" in a, r = f ? bo(Zt(a.maxWait) || 0, t) : r, C = "trailing" in a ? !!a.trailing : C);
|
|
4271
4279
|
function m(Z) {
|
|
4272
4280
|
var F = n, te = i;
|
|
4273
4281
|
return n = i = void 0, A = Z, o = e.apply(te, F), o;
|
|
4274
4282
|
}
|
|
4275
4283
|
function v(Z) {
|
|
4276
|
-
return A = Z, s = setTimeout(T, t),
|
|
4284
|
+
return A = Z, s = setTimeout(T, t), u ? m(Z) : o;
|
|
4277
4285
|
}
|
|
4278
4286
|
function y(Z) {
|
|
4279
4287
|
var F = Z - c, te = Z - A, x = t - F;
|
|
@@ -4329,7 +4337,7 @@ const yo = {
|
|
|
4329
4337
|
isOpen: s,
|
|
4330
4338
|
props: c,
|
|
4331
4339
|
getOptionId: A,
|
|
4332
|
-
getDisplayLabel:
|
|
4340
|
+
getDisplayLabel: u
|
|
4333
4341
|
} = Tt(), f = U(), C = U(), m = b(() => {
|
|
4334
4342
|
if (!c.options)
|
|
4335
4343
|
return [];
|
|
@@ -4341,7 +4349,7 @@ const yo = {
|
|
|
4341
4349
|
return c.maxResults ? V.slice(0, c.maxResults) : V;
|
|
4342
4350
|
}
|
|
4343
4351
|
let O;
|
|
4344
|
-
return c.filterOptions ? O = c.filterOptions(c.options, N) : O = c.options.filter((V) =>
|
|
4352
|
+
return c.filterOptions ? O = c.filterOptions(c.options, N) : O = c.options.filter((V) => u(V).toLowerCase().includes(N)), c.maxResults ? O.slice(0, c.maxResults) : O;
|
|
4345
4353
|
}), v = b(() => c.loading ? Qe.LOADING : s.value && c.options && c.options.length > 0 && m.value.length > 0 ? Qe.HAS_OPTIONS : Qe.NO_OPTIONS);
|
|
4346
4354
|
function y(N) {
|
|
4347
4355
|
return r.value.some(
|
|
@@ -4371,23 +4379,23 @@ const yo = {
|
|
|
4371
4379
|
L.cancel();
|
|
4372
4380
|
}), t({
|
|
4373
4381
|
dropdownRef: f
|
|
4374
|
-
}), (N, O) => l(s) ? (
|
|
4382
|
+
}), (N, O) => l(s) ? (d(), I("div", {
|
|
4375
4383
|
key: 0,
|
|
4376
4384
|
ref_key: "dropdownRef",
|
|
4377
4385
|
ref: f,
|
|
4378
4386
|
class: j(["av-autocomplete-dropdown", l(c).dropdownClass]),
|
|
4379
4387
|
style: ce({ width: l(c).dropdownWidth, maxHeight: l(c).maxDropdownHeight })
|
|
4380
4388
|
}, [
|
|
4381
|
-
l(v) === l(Qe).LOADING ? (
|
|
4389
|
+
l(v) === l(Qe).LOADING ? (d(), I("div", yo, [
|
|
4382
4390
|
W(ne, {
|
|
4383
4391
|
name: l(R).LOADING,
|
|
4384
4392
|
size: 1.5,
|
|
4385
4393
|
class: "av-autocomplete-dropdown__spinner"
|
|
4386
4394
|
}, null, 8, ["name"]),
|
|
4387
4395
|
O[0] || (O[0] = g("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
4388
|
-
])) : l(v) === l(Qe).NO_OPTIONS ? (
|
|
4389
|
-
i.empty ? P(N.$slots, "empty", { key: 0 }, void 0, !0) : (
|
|
4390
|
-
])) : (
|
|
4396
|
+
])) : l(v) === l(Qe).NO_OPTIONS ? (d(), I("div", Co, [
|
|
4397
|
+
i.empty ? P(N.$slots, "empty", { key: 0 }, void 0, !0) : (d(), I("div", Mo, " No results found "))
|
|
4398
|
+
])) : (d(), p(Ia, ee({
|
|
4391
4399
|
key: 2,
|
|
4392
4400
|
ref_key: "listRef",
|
|
4393
4401
|
ref: C
|
|
@@ -4395,7 +4403,7 @@ const yo = {
|
|
|
4395
4403
|
class: ["av-autocomplete-dropdown__options", l(c).scrollbarClass]
|
|
4396
4404
|
}), {
|
|
4397
4405
|
default: G(() => [
|
|
4398
|
-
(
|
|
4406
|
+
(d(!0), I($, null, ie(l(m), (V) => (d(), I($, {
|
|
4399
4407
|
key: l(A)(V)
|
|
4400
4408
|
}, [
|
|
4401
4409
|
i.item ? P(N.$slots, "item", {
|
|
@@ -4403,9 +4411,9 @@ const yo = {
|
|
|
4403
4411
|
option: V,
|
|
4404
4412
|
isSelected: y(V),
|
|
4405
4413
|
toggle: () => M(V)
|
|
4406
|
-
}, void 0, !0) : (
|
|
4414
|
+
}, void 0, !0) : (d(), p(ga, {
|
|
4407
4415
|
key: 1,
|
|
4408
|
-
title: l(
|
|
4416
|
+
title: l(u)(V),
|
|
4409
4417
|
icon: y(V) ? l(R).CHECK : void 0,
|
|
4410
4418
|
selected: y(V),
|
|
4411
4419
|
clickable: "",
|
|
@@ -4432,7 +4440,7 @@ const yo = {
|
|
|
4432
4440
|
isOpen: s,
|
|
4433
4441
|
props: c,
|
|
4434
4442
|
inputId: A,
|
|
4435
|
-
handleBlur:
|
|
4443
|
+
handleBlur: u,
|
|
4436
4444
|
getDisplayLabel: f
|
|
4437
4445
|
} = Tt(), C = U(), m = b(() => !c.multiSelect && r.value.length > 0 ? f(r.value[0]) : c.multiSelect && r.value.length > 0 ? c.showSelectedSection ? `${r.value.length} element(s) selected` : r.value.map(f).join(", ") : o.value), v = b(() => {
|
|
4438
4446
|
var N;
|
|
@@ -4454,7 +4462,7 @@ const yo = {
|
|
|
4454
4462
|
}), t({
|
|
4455
4463
|
inputRef: C,
|
|
4456
4464
|
searchQuery: b(() => o.value)
|
|
4457
|
-
}), (N, O) => (
|
|
4465
|
+
}), (N, O) => (d(), I("div", To, [
|
|
4458
4466
|
W(Nt, ee({
|
|
4459
4467
|
id: l(A),
|
|
4460
4468
|
ref_key: "inputRef",
|
|
@@ -4464,18 +4472,18 @@ const yo = {
|
|
|
4464
4472
|
}, l(c).inputOptions, {
|
|
4465
4473
|
"onUpdate:modelValue": M,
|
|
4466
4474
|
onFocus: T,
|
|
4467
|
-
onBlur: l(
|
|
4475
|
+
onBlur: l(u),
|
|
4468
4476
|
onClick: T
|
|
4469
4477
|
}), qe({ _: 2 }, [
|
|
4470
4478
|
i.requiredTip ? {
|
|
4471
4479
|
name: "requiredTip",
|
|
4472
4480
|
fn: G(() => [
|
|
4473
|
-
(
|
|
4481
|
+
(d(), p(Me(i.requiredTip)))
|
|
4474
4482
|
]),
|
|
4475
4483
|
key: "0"
|
|
4476
4484
|
} : void 0
|
|
4477
4485
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
4478
|
-
l(r).length > 0 ? (
|
|
4486
|
+
l(r).length > 0 ? (d(), I("div", Do, [
|
|
4479
4487
|
W(oe, {
|
|
4480
4488
|
label: "Clear selected items",
|
|
4481
4489
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -4503,11 +4511,11 @@ const yo = {
|
|
|
4503
4511
|
function o(s) {
|
|
4504
4512
|
const c = a.value, A = i(s);
|
|
4505
4513
|
a.value = c.filter(
|
|
4506
|
-
(
|
|
4514
|
+
(u) => i(u) !== A
|
|
4507
4515
|
);
|
|
4508
4516
|
}
|
|
4509
|
-
return (s, c) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (
|
|
4510
|
-
(
|
|
4517
|
+
return (s, c) => l(n).multiSelect && l(a).length > 0 && l(n).showSelectedSection ? (d(), I("div", Oo, [
|
|
4518
|
+
(d(!0), I($, null, ie(l(a), (A) => (d(), I("div", {
|
|
4511
4519
|
key: l(i)(A),
|
|
4512
4520
|
class: "av-autocomplete-selected-tags__item"
|
|
4513
4521
|
}, [
|
|
@@ -4515,7 +4523,7 @@ const yo = {
|
|
|
4515
4523
|
key: 0,
|
|
4516
4524
|
option: A,
|
|
4517
4525
|
remove: () => o(A)
|
|
4518
|
-
}, void 0, !0) : (
|
|
4526
|
+
}, void 0, !0) : (d(), p(oe, {
|
|
4519
4527
|
key: 1,
|
|
4520
4528
|
label: l(r)(A),
|
|
4521
4529
|
icon: l(R).CLOSE_CIRCLE_OUTLINE,
|
|
@@ -4560,13 +4568,13 @@ const yo = {
|
|
|
4560
4568
|
}),
|
|
4561
4569
|
emits: /* @__PURE__ */ ge(["search", "loadMore", "clear"], ["update:modelValue"]),
|
|
4562
4570
|
setup(e, { emit: t }) {
|
|
4563
|
-
const a = e, n = t, i = fe(), r = Le(e, "modelValue"), o = U(!1), s = U(""), c = U(), A = U(),
|
|
4571
|
+
const a = e, n = t, i = fe(), r = Le(e, "modelValue"), o = U(!1), s = U(""), c = U(), A = U(), u = U(), f = b(() => a.id || `av-autocomplete-${crypto.randomUUID()}`);
|
|
4564
4572
|
function C(L) {
|
|
4565
4573
|
s.value = L, n("search", L);
|
|
4566
4574
|
}
|
|
4567
4575
|
function m(L) {
|
|
4568
4576
|
var N, O;
|
|
4569
|
-
(O = (N =
|
|
4577
|
+
(O = (N = u.value) == null ? void 0 : N.dropdownRef) != null && O.contains(L.relatedTarget) || setTimeout(() => {
|
|
4570
4578
|
o.value = !1;
|
|
4571
4579
|
}, a.blurCloseDelay);
|
|
4572
4580
|
}
|
|
@@ -4589,13 +4597,13 @@ const yo = {
|
|
|
4589
4597
|
function T(L) {
|
|
4590
4598
|
var V, Z, F, te, x;
|
|
4591
4599
|
const N = L.target, O = (V = A.value) == null ? void 0 : V.inputRef;
|
|
4592
|
-
!((Z = O == null ? void 0 : O.contains) != null && Z.call(O, N)) && !((F = c.value) != null && F.contains(N)) && !((x = (te =
|
|
4600
|
+
!((Z = O == null ? void 0 : O.contains) != null && Z.call(O, N)) && !((F = c.value) != null && F.contains(N)) && !((x = (te = u.value) == null ? void 0 : te.dropdownRef) != null && x.contains(N)) && (o.value = !1);
|
|
4593
4601
|
}
|
|
4594
|
-
return
|
|
4602
|
+
return ue(() => {
|
|
4595
4603
|
document.addEventListener("click", T);
|
|
4596
4604
|
}), ve(() => {
|
|
4597
4605
|
document.removeEventListener("click", T);
|
|
4598
|
-
}), (L, N) => (
|
|
4606
|
+
}), (L, N) => (d(), I("div", xo, [
|
|
4599
4607
|
g("div", {
|
|
4600
4608
|
ref_key: "wrapperRef",
|
|
4601
4609
|
ref: c,
|
|
@@ -4610,14 +4618,14 @@ const yo = {
|
|
|
4610
4618
|
i.requiredTip ? {
|
|
4611
4619
|
name: "requiredTip",
|
|
4612
4620
|
fn: G(() => [
|
|
4613
|
-
(
|
|
4621
|
+
(d(), p(Me(i.requiredTip)))
|
|
4614
4622
|
]),
|
|
4615
4623
|
key: "0"
|
|
4616
4624
|
} : void 0
|
|
4617
4625
|
]), 1536),
|
|
4618
4626
|
W(No, {
|
|
4619
4627
|
ref_key: "dropdownRef",
|
|
4620
|
-
ref:
|
|
4628
|
+
ref: u,
|
|
4621
4629
|
onLoadMore: N[1] || (N[1] = (O) => n("loadMore"))
|
|
4622
4630
|
}, qe({ _: 2 }, [
|
|
4623
4631
|
i.item ? {
|
|
@@ -4683,7 +4691,7 @@ const yo = {
|
|
|
4683
4691
|
}
|
|
4684
4692
|
const i = U(null), r = U(!1), o = Le(e, "modelValue"), s = U(0), c = [], {
|
|
4685
4693
|
collapse: A,
|
|
4686
|
-
collapsing:
|
|
4694
|
+
collapsing: u,
|
|
4687
4695
|
cssExpanded: f,
|
|
4688
4696
|
onTransitionEnd: C
|
|
4689
4697
|
} = e.useCollapsableReturn;
|
|
@@ -4750,7 +4758,7 @@ const yo = {
|
|
|
4750
4758
|
T();
|
|
4751
4759
|
}), (H, w) => {
|
|
4752
4760
|
const k = oe, h = Nt;
|
|
4753
|
-
return e.isVisible ? (
|
|
4761
|
+
return e.isVisible ? (d(), I("div", {
|
|
4754
4762
|
key: 0,
|
|
4755
4763
|
id: `${e.id}-collapse`,
|
|
4756
4764
|
ref_key: "collapse",
|
|
@@ -4758,14 +4766,14 @@ const yo = {
|
|
|
4758
4766
|
style: ce({
|
|
4759
4767
|
"--width-host": `${l(s)}px`
|
|
4760
4768
|
}),
|
|
4761
|
-
class: j(["av-multiselect__collapse av-collapse", { "av-collapse--expanded": l(f), "av-collapsing": l(
|
|
4769
|
+
class: j(["av-multiselect__collapse av-collapse", { "av-collapse--expanded": l(f), "av-collapsing": l(u) }]),
|
|
4762
4770
|
onTransitionend: w[2] || (w[2] = (E) => l(C)(l(r)))
|
|
4763
4771
|
}, [
|
|
4764
4772
|
g("p", {
|
|
4765
4773
|
id: `${e.id}-text-hint`,
|
|
4766
4774
|
class: "av-sr-only"
|
|
4767
4775
|
}, B(e.hint), 9, jo),
|
|
4768
|
-
e.selectAll ? (
|
|
4776
|
+
e.selectAll ? (d(), I("ul", zo, [
|
|
4769
4777
|
g("li", null, [
|
|
4770
4778
|
W(k, {
|
|
4771
4779
|
name: "select-all",
|
|
@@ -4774,11 +4782,11 @@ const yo = {
|
|
|
4774
4782
|
label: e.selectAllLabel[l(N) ? 1 : 0],
|
|
4775
4783
|
icon: l(N) ? l(R).CLOSE_CIRCLE_OUTLINE : l(R).CHECK_CIRCLE_OUTLINE,
|
|
4776
4784
|
onClick: O,
|
|
4777
|
-
onKeydown: Ae(
|
|
4785
|
+
onKeydown: Ae(de(x, ["shift"]), ["tab"])
|
|
4778
4786
|
}, null, 8, ["disabled", "label", "icon", "onKeydown"])
|
|
4779
4787
|
])
|
|
4780
4788
|
])) : D("", !0),
|
|
4781
|
-
e.search ? (
|
|
4789
|
+
e.search ? (d(), I("div", Bo, [
|
|
4782
4790
|
W(h, {
|
|
4783
4791
|
modelValue: l(v),
|
|
4784
4792
|
"onUpdate:modelValue": w[0] || (w[0] = (E) => Ct(v) ? v.value = E : null),
|
|
@@ -4802,7 +4810,7 @@ const yo = {
|
|
|
4802
4810
|
"legend-id": `${e.id}-checkboxes-legend`
|
|
4803
4811
|
}, {
|
|
4804
4812
|
default: G(() => [
|
|
4805
|
-
(
|
|
4813
|
+
(d(!0), I($, null, ie(l(L), (E) => (d(), p(Ki, {
|
|
4806
4814
|
id: `${n(E, e.id)}-checkbox`,
|
|
4807
4815
|
key: `${n(E, e.id)}-fieldset`,
|
|
4808
4816
|
modelValue: o.value,
|
|
@@ -4822,7 +4830,7 @@ const yo = {
|
|
|
4822
4830
|
]),
|
|
4823
4831
|
_: 1
|
|
4824
4832
|
}, 8, ["id", "legend", "legend-id"]),
|
|
4825
|
-
l(L).length === 0 ? (
|
|
4833
|
+
l(L).length === 0 ? (d(), I("div", Po, B(e.noResultLabel), 1)) : D("", !0)
|
|
4826
4834
|
], 46, ko)) : D("", !0);
|
|
4827
4835
|
};
|
|
4828
4836
|
}
|
|
@@ -4865,13 +4873,13 @@ const yo = {
|
|
|
4865
4873
|
const a = t, n = b(() => e.id ?? `multi-select-${crypto.randomUUID()}`), i = U(null), r = U(!1), o = b(() => e.errorMessage || e.successMessage), s = b(() => e.errorMessage ? "error" : "success"), {
|
|
4866
4874
|
collapse: c,
|
|
4867
4875
|
collapsing: A,
|
|
4868
|
-
cssExpanded:
|
|
4876
|
+
cssExpanded: u,
|
|
4869
4877
|
doExpand: f,
|
|
4870
4878
|
onTransitionEnd: C
|
|
4871
4879
|
} = Ze(), m = {
|
|
4872
4880
|
collapse: c,
|
|
4873
4881
|
collapsing: A,
|
|
4874
|
-
cssExpanded:
|
|
4882
|
+
cssExpanded: u,
|
|
4875
4883
|
doExpand: f,
|
|
4876
4884
|
onTransitionEnd: C
|
|
4877
4885
|
}, v = b(() => e.modelValue.map((w) => w.value)), y = b(() => {
|
|
@@ -4930,7 +4938,7 @@ const yo = {
|
|
|
4930
4938
|
}));
|
|
4931
4939
|
return (w, k) => {
|
|
4932
4940
|
const h = oe, E = pe;
|
|
4933
|
-
return
|
|
4941
|
+
return d(), I($, null, [
|
|
4934
4942
|
g("div", {
|
|
4935
4943
|
class: j(["av-select-group", { [`av-select-group--${l(s)}`]: l(o) }]),
|
|
4936
4944
|
title: l(y)
|
|
@@ -4940,8 +4948,8 @@ const yo = {
|
|
|
4940
4948
|
for: l(n)
|
|
4941
4949
|
}, [
|
|
4942
4950
|
g("span", Zo, B(e.label), 1),
|
|
4943
|
-
"required" in w.$attrs && w.$attrs.required !== !1 ? (
|
|
4944
|
-
e.hint ? (
|
|
4951
|
+
"required" in w.$attrs && w.$attrs.required !== !1 ? (d(), I("span", Xo)) : D("", !0),
|
|
4952
|
+
e.hint ? (d(), I("span", Yo, B(e.hint), 1)) : D("", !0)
|
|
4945
4953
|
], 10, Ro),
|
|
4946
4954
|
W(h, ee({
|
|
4947
4955
|
id: l(n),
|
|
@@ -4963,7 +4971,7 @@ const yo = {
|
|
|
4963
4971
|
small: e.dense,
|
|
4964
4972
|
style: l(H),
|
|
4965
4973
|
onClick: V,
|
|
4966
|
-
onKeydown: Ae(
|
|
4974
|
+
onKeydown: Ae(de(F, ["shift"]), ["tab"])
|
|
4967
4975
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "small", "style", "onKeydown"]),
|
|
4968
4976
|
W(Vo, {
|
|
4969
4977
|
id: l(n),
|
|
@@ -5017,14 +5025,14 @@ const yo = {
|
|
|
5017
5025
|
var A;
|
|
5018
5026
|
if (!e.modelValue)
|
|
5019
5027
|
return e.placeholder;
|
|
5020
|
-
const c = (A = e.options) == null ? void 0 : A.find((
|
|
5028
|
+
const c = (A = e.options) == null ? void 0 : A.find((u) => String(u.value) === String(e.modelValue));
|
|
5021
5029
|
return c ? c.text : e.placeholder;
|
|
5022
5030
|
}), r = b(() => ({
|
|
5023
5031
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5024
5032
|
})), o = b(() => e.errorMessage || e.successMessage), s = b(() => e.errorMessage ? "error" : "success");
|
|
5025
5033
|
return (c, A) => {
|
|
5026
|
-
const
|
|
5027
|
-
return
|
|
5034
|
+
const u = pe;
|
|
5035
|
+
return d(), I("div", {
|
|
5028
5036
|
class: j({ "av-select--dense": e.dense })
|
|
5029
5037
|
}, [
|
|
5030
5038
|
g("div", {
|
|
@@ -5035,8 +5043,8 @@ const yo = {
|
|
|
5035
5043
|
for: l(n)
|
|
5036
5044
|
}, [
|
|
5037
5045
|
g("span", null, B(e.label), 1),
|
|
5038
|
-
e.required ? (
|
|
5039
|
-
e.hint ? (
|
|
5046
|
+
e.required ? (d(), I("span", Ko, " *")) : D("", !0),
|
|
5047
|
+
e.hint ? (d(), I("span", Go, B(e.hint), 1)) : D("", !0)
|
|
5040
5048
|
], 8, Fo),
|
|
5041
5049
|
g("select", ee({
|
|
5042
5050
|
id: l(n),
|
|
@@ -5060,7 +5068,7 @@ const yo = {
|
|
|
5060
5068
|
value: "",
|
|
5061
5069
|
hidden: ""
|
|
5062
5070
|
}, B(e.placeholder), 9, $o),
|
|
5063
|
-
(
|
|
5071
|
+
(d(!0), I($, null, ie(e.options, (f, C) => (d(), I("option", {
|
|
5064
5072
|
key: C,
|
|
5065
5073
|
selected: e.modelValue === f.value,
|
|
5066
5074
|
value: f.value,
|
|
@@ -5068,7 +5076,7 @@ const yo = {
|
|
|
5068
5076
|
"aria-disabled": f.disabled
|
|
5069
5077
|
}, B(f.text), 9, _o))), 128))
|
|
5070
5078
|
], 16, Jo),
|
|
5071
|
-
W(
|
|
5079
|
+
W(u, {
|
|
5072
5080
|
"message-id": `select-${l(s)}-desc-${l(s)}`,
|
|
5073
5081
|
message: l(o),
|
|
5074
5082
|
type: l(s)
|
|
@@ -5094,7 +5102,7 @@ const yo = {
|
|
|
5094
5102
|
isVisible: { type: Boolean }
|
|
5095
5103
|
},
|
|
5096
5104
|
setup(e) {
|
|
5097
|
-
return (t, a) => It((
|
|
5105
|
+
return (t, a) => It((d(), I("div", {
|
|
5098
5106
|
id: e.panelId,
|
|
5099
5107
|
class: j(["av-tab-content", {
|
|
5100
5108
|
"av-tab-content--selected": e.isVisible
|
|
@@ -5127,9 +5135,9 @@ const yo = {
|
|
|
5127
5135
|
End: "last"
|
|
5128
5136
|
};
|
|
5129
5137
|
function s(c) {
|
|
5130
|
-
const A = c == null ? void 0 : c.key,
|
|
5131
|
-
if (
|
|
5132
|
-
switch (
|
|
5138
|
+
const A = c == null ? void 0 : c.key, u = o[A];
|
|
5139
|
+
if (u)
|
|
5140
|
+
switch (u) {
|
|
5133
5141
|
case "next":
|
|
5134
5142
|
a("next");
|
|
5135
5143
|
break;
|
|
@@ -5148,8 +5156,8 @@ const yo = {
|
|
|
5148
5156
|
var c;
|
|
5149
5157
|
e.isSelected && ((c = i.value) == null || c.focus());
|
|
5150
5158
|
}), (c, A) => {
|
|
5151
|
-
const
|
|
5152
|
-
return
|
|
5159
|
+
const u = ne;
|
|
5160
|
+
return d(), I("li", {
|
|
5153
5161
|
class: j(["av-tab-item", { "av-tab-item--compact": e.compact }]),
|
|
5154
5162
|
role: "presentation"
|
|
5155
5163
|
}, [
|
|
@@ -5164,10 +5172,10 @@ const yo = {
|
|
|
5164
5172
|
type: "button",
|
|
5165
5173
|
"aria-selected": e.isSelected,
|
|
5166
5174
|
"aria-controls": e.panelId,
|
|
5167
|
-
onClick: A[0] || (A[0] =
|
|
5175
|
+
onClick: A[0] || (A[0] = de((f) => c.$emit("click", e.tabId), ["prevent"])),
|
|
5168
5176
|
onKeydown: A[1] || (A[1] = (f) => s(f))
|
|
5169
5177
|
}), [
|
|
5170
|
-
e.icon ? (
|
|
5178
|
+
e.icon ? (d(), p(u, {
|
|
5171
5179
|
key: 0,
|
|
5172
5180
|
name: e.icon,
|
|
5173
5181
|
size: 2
|
|
@@ -5207,7 +5215,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5207
5215
|
const t = fe(), a = b(() => {
|
|
5208
5216
|
var M;
|
|
5209
5217
|
return ((M = t.default) == null ? void 0 : M.call(t)) || [];
|
|
5210
|
-
}), n = Le(e, "modelValue"), i = U(null), r = U(null), o =
|
|
5218
|
+
}), n = Le(e, "modelValue"), i = U(null), r = U(null), o = dt({}), { tabsStyle: s, updateTabsStyle: c } = os(
|
|
5211
5219
|
r,
|
|
5212
5220
|
b(() => {
|
|
5213
5221
|
var M;
|
|
@@ -5221,15 +5229,15 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5221
5229
|
const T = `tab-${crypto.randomUUID()}`;
|
|
5222
5230
|
return o[M] = T, T;
|
|
5223
5231
|
}
|
|
5224
|
-
function
|
|
5232
|
+
function u(M) {
|
|
5225
5233
|
const T = a.value.length;
|
|
5226
5234
|
n.value = (n.value + M + T) % T;
|
|
5227
5235
|
}
|
|
5228
5236
|
function f() {
|
|
5229
|
-
|
|
5237
|
+
u(-1);
|
|
5230
5238
|
}
|
|
5231
5239
|
function C() {
|
|
5232
|
-
|
|
5240
|
+
u(1);
|
|
5233
5241
|
}
|
|
5234
5242
|
function m() {
|
|
5235
5243
|
n.value = 0;
|
|
@@ -5238,7 +5246,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5238
5246
|
n.value = a.value.length - 1;
|
|
5239
5247
|
}
|
|
5240
5248
|
const y = U(null);
|
|
5241
|
-
return
|
|
5249
|
+
return ue(() => {
|
|
5242
5250
|
var M;
|
|
5243
5251
|
window.ResizeObserver && (y.value = new window.ResizeObserver(() => {
|
|
5244
5252
|
c();
|
|
@@ -5252,7 +5260,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5252
5260
|
var N;
|
|
5253
5261
|
L && ((N = y.value) == null || N.unobserve(L));
|
|
5254
5262
|
}), (T = y.value) == null || T.disconnect();
|
|
5255
|
-
}), (M, T) => (
|
|
5263
|
+
}), (M, T) => (d(), I("div", {
|
|
5256
5264
|
ref_key: "$el",
|
|
5257
5265
|
ref: i,
|
|
5258
5266
|
class: j(["av-tabs", {
|
|
@@ -5269,9 +5277,9 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5269
5277
|
role: "tablist",
|
|
5270
5278
|
"aria-label": e.ariaLabel ?? "Liste d’onglets"
|
|
5271
5279
|
}, [
|
|
5272
|
-
(
|
|
5280
|
+
(d(!0), I($, null, ie(l(a), (L, N) => {
|
|
5273
5281
|
var O, V;
|
|
5274
|
-
return
|
|
5282
|
+
return d(), p(rs, {
|
|
5275
5283
|
key: N,
|
|
5276
5284
|
"tab-id": A(N),
|
|
5277
5285
|
"panel-id": `${A(N)}-panel`,
|
|
@@ -5287,20 +5295,20 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5287
5295
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
5288
5296
|
}), 128))
|
|
5289
5297
|
], 10, ss),
|
|
5290
|
-
(
|
|
5298
|
+
(d(!0), I($, null, ie(l(a), (L, N) => (d(), p(ns, {
|
|
5291
5299
|
key: N,
|
|
5292
5300
|
"panel-id": `${A(N)}-panel`,
|
|
5293
5301
|
"tab-id": A(N),
|
|
5294
5302
|
"is-visible": n.value === N
|
|
5295
5303
|
}, {
|
|
5296
5304
|
default: G(() => [
|
|
5297
|
-
n.value === N ? (
|
|
5305
|
+
n.value === N ? (d(), p(Me(L.children.default), { key: 0 })) : D("", !0)
|
|
5298
5306
|
]),
|
|
5299
5307
|
_: 2
|
|
5300
5308
|
}, 1032, ["panel-id", "tab-id", "is-visible"]))), 128))
|
|
5301
5309
|
], 6));
|
|
5302
5310
|
}
|
|
5303
|
-
}), pA = /* @__PURE__ */ z(cs, [["__scopeId", "data-v-b408eadc"]]), As = "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",
|
|
5311
|
+
}), pA = /* @__PURE__ */ z(cs, [["__scopeId", "data-v-b408eadc"]]), As = "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", ds = "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", us = ["id", "for"], fs = {
|
|
5304
5312
|
width: "34",
|
|
5305
5313
|
height: "14"
|
|
5306
5314
|
}, vs = ["href"], ms = {
|
|
@@ -5323,7 +5331,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5323
5331
|
emits: ["update:modelValue"],
|
|
5324
5332
|
setup(e) {
|
|
5325
5333
|
const t = b(() => e.id ?? `toggle-${crypto.randomUUID()}`), a = b(() => `${t.value}-label`);
|
|
5326
|
-
return (n, i) => (
|
|
5334
|
+
return (n, i) => (d(), I($, null, [
|
|
5327
5335
|
g("label", {
|
|
5328
5336
|
id: l(a),
|
|
5329
5337
|
for: l(t),
|
|
@@ -5336,17 +5344,17 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5336
5344
|
"toggle--disabled": e.disabled
|
|
5337
5345
|
}])
|
|
5338
5346
|
}, [
|
|
5339
|
-
(
|
|
5347
|
+
(d(), I("svg", fs, [
|
|
5340
5348
|
g("image", {
|
|
5341
|
-
href: e.modelValue ? l(As) : l(
|
|
5349
|
+
href: e.modelValue ? l(As) : l(ds),
|
|
5342
5350
|
width: "34",
|
|
5343
5351
|
height: "14"
|
|
5344
5352
|
}, null, 8, vs)
|
|
5345
5353
|
])),
|
|
5346
|
-
e.modelValue ? (
|
|
5354
|
+
e.modelValue ? (d(), I("span", ms, B(e.activeText), 1)) : (d(), I("span", Is, B(e.inactiveText), 1))
|
|
5347
5355
|
], 2),
|
|
5348
5356
|
g("span", gs, B(e.description), 1)
|
|
5349
|
-
], 10,
|
|
5357
|
+
], 10, us),
|
|
5350
5358
|
g("input", {
|
|
5351
5359
|
id: l(t),
|
|
5352
5360
|
style: { display: "none" },
|
|
@@ -5377,8 +5385,8 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5377
5385
|
emits: ["cancel", "confirm"],
|
|
5378
5386
|
setup(e, { emit: t }) {
|
|
5379
5387
|
const a = t;
|
|
5380
|
-
return (n, i) => (
|
|
5381
|
-
e.cancelLabel ? (
|
|
5388
|
+
return (n, i) => (d(), I("div", ys, [
|
|
5389
|
+
e.cancelLabel ? (d(), p(l(oe), {
|
|
5382
5390
|
key: 0,
|
|
5383
5391
|
icon: e.cancelIcon,
|
|
5384
5392
|
label: e.cancelLabel,
|
|
@@ -5389,7 +5397,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5389
5397
|
small: "",
|
|
5390
5398
|
onClick: i[0] || (i[0] = (r) => a("cancel"))
|
|
5391
5399
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled"])) : D("", !0),
|
|
5392
|
-
e.confirmLabel ? (
|
|
5400
|
+
e.confirmLabel ? (d(), p(l(oe), {
|
|
5393
5401
|
key: 1,
|
|
5394
5402
|
icon: e.confirmIcon,
|
|
5395
5403
|
label: e.confirmLabel,
|
|
@@ -5413,12 +5421,12 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5413
5421
|
emits: ["linkClick"],
|
|
5414
5422
|
setup(e, { emit: t }) {
|
|
5415
5423
|
const a = t;
|
|
5416
|
-
return (n, i) => (
|
|
5424
|
+
return (n, i) => (d(), I("nav", {
|
|
5417
5425
|
role: "navigation",
|
|
5418
5426
|
"aria-label": e.navAriaLabel
|
|
5419
5427
|
}, [
|
|
5420
5428
|
g("ul", Es, [
|
|
5421
|
-
(
|
|
5429
|
+
(d(!0), I($, null, ie(e.links, (r, o) => (d(), I("li", { key: o }, [
|
|
5422
5430
|
W(oe, {
|
|
5423
5431
|
icon: r.icon,
|
|
5424
5432
|
label: r.label ?? "",
|
|
@@ -5440,7 +5448,7 @@ const ss = ["aria-label"], cs = /* @__PURE__ */ Q({
|
|
|
5440
5448
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
5441
5449
|
};
|
|
5442
5450
|
function Ds(e, t) {
|
|
5443
|
-
return
|
|
5451
|
+
return d(), I("svg", Ts, [...t[0] || (t[0] = [
|
|
5444
5452
|
g("rect", {
|
|
5445
5453
|
width: "213.732",
|
|
5446
5454
|
height: "96.9",
|
|
@@ -5514,13 +5522,13 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5514
5522
|
var M;
|
|
5515
5523
|
c.value = !1, o.value = !1, s.value = !1, (M = document.getElementById("button-menu")) == null || M.focus();
|
|
5516
5524
|
}
|
|
5517
|
-
function
|
|
5525
|
+
function u(M) {
|
|
5518
5526
|
M.key === "Escape" && A();
|
|
5519
5527
|
}
|
|
5520
|
-
|
|
5521
|
-
document.addEventListener("keydown",
|
|
5528
|
+
ue(() => {
|
|
5529
|
+
document.addEventListener("keydown", u);
|
|
5522
5530
|
}), ve(() => {
|
|
5523
|
-
document.removeEventListener("keydown",
|
|
5531
|
+
document.removeEventListener("keydown", u);
|
|
5524
5532
|
});
|
|
5525
5533
|
function f() {
|
|
5526
5534
|
c.value = !0, o.value = !0, s.value = !1, setTimeout(() => {
|
|
@@ -5535,7 +5543,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5535
5543
|
return bt(Na, () => A), (M, T) => {
|
|
5536
5544
|
var Z, F, te;
|
|
5537
5545
|
const L = Mt("RouterLink"), N = oe, O = Ea, V = On;
|
|
5538
|
-
return
|
|
5546
|
+
return d(), I("header", ws, [
|
|
5539
5547
|
g("div", Os, [
|
|
5540
5548
|
g("div", Ss, [
|
|
5541
5549
|
g("div", Qs, [
|
|
@@ -5552,8 +5560,8 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5552
5560
|
_: 1
|
|
5553
5561
|
}, 8, ["to", "title"])
|
|
5554
5562
|
]),
|
|
5555
|
-
e.showSearch || l(y) || (Z = e.quickLinks) != null && Z.length ? (
|
|
5556
|
-
e.showSearch ? (
|
|
5563
|
+
e.showSearch || l(y) || (Z = e.quickLinks) != null && Z.length ? (d(), I("div", js, [
|
|
5564
|
+
e.showSearch ? (d(), p(N, {
|
|
5557
5565
|
key: 0,
|
|
5558
5566
|
class: "search-button",
|
|
5559
5567
|
label: e.showSearchLabel,
|
|
@@ -5562,9 +5570,9 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5562
5570
|
title: e.showSearchLabel,
|
|
5563
5571
|
icon: l(R).MAGNIFY,
|
|
5564
5572
|
"icon-only": "",
|
|
5565
|
-
onClick: T[0] || (T[0] =
|
|
5573
|
+
onClick: T[0] || (T[0] = de((x) => C(), ["prevent", "stop"]))
|
|
5566
5574
|
}, null, 8, ["label", "aria-label", "title", "icon"])) : D("", !0),
|
|
5567
|
-
l(y) || (F = e.quickLinks) != null && F.length ? (
|
|
5575
|
+
l(y) || (F = e.quickLinks) != null && F.length ? (d(), p(N, {
|
|
5568
5576
|
key: 1,
|
|
5569
5577
|
id: "button-menu",
|
|
5570
5578
|
variant: "OUTLINED",
|
|
@@ -5576,11 +5584,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5576
5584
|
title: e.menuLabel,
|
|
5577
5585
|
"data-testid": "open-menu-btn",
|
|
5578
5586
|
"icon-only": "",
|
|
5579
|
-
onClick: T[1] || (T[1] =
|
|
5587
|
+
onClick: T[1] || (T[1] = de((x) => f(), ["prevent", "stop"]))
|
|
5580
5588
|
}, null, 8, ["icon", "label", "aria-label", "title"])) : D("", !0)
|
|
5581
5589
|
])) : D("", !0)
|
|
5582
5590
|
]),
|
|
5583
|
-
e.serviceTitle ? (
|
|
5591
|
+
e.serviceTitle ? (d(), I("div", zs, [
|
|
5584
5592
|
g("span", Bs, B(e.serviceTitle), 1),
|
|
5585
5593
|
P(M.$slots, "serviceDescription", {}, void 0, !0)
|
|
5586
5594
|
])) : D("", !0)
|
|
@@ -5588,17 +5596,17 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5588
5596
|
g("div", Ps, [
|
|
5589
5597
|
g("div", Ws, [
|
|
5590
5598
|
P(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
5591
|
-
!l(o) && ((te = e.quickLinks) != null && te.length) ? (
|
|
5599
|
+
!l(o) && ((te = e.quickLinks) != null && te.length) ? (d(), p(Xt, {
|
|
5592
5600
|
key: 0,
|
|
5593
5601
|
links: e.quickLinks,
|
|
5594
5602
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
5595
5603
|
}, null, 8, ["links", "nav-aria-label"])) : D("", !0),
|
|
5596
5604
|
P(M.$slots, "after-quick-links", {}, void 0, !0),
|
|
5597
|
-
l(r) ? (
|
|
5605
|
+
l(r) ? (d(), p(pt, ee({ key: 1 }, l(r), {
|
|
5598
5606
|
onSelect: T[2] || (T[2] = (x) => a("languageSelect", x))
|
|
5599
5607
|
}), null, 16)) : D("", !0)
|
|
5600
5608
|
]),
|
|
5601
|
-
e.showSearch ? (
|
|
5609
|
+
e.showSearch ? (d(), I("div", Us, [
|
|
5602
5610
|
W(Vt, {
|
|
5603
5611
|
id: e.searchbarId,
|
|
5604
5612
|
label: e.searchLabel,
|
|
@@ -5615,11 +5623,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5615
5623
|
])
|
|
5616
5624
|
]),
|
|
5617
5625
|
g("div", Vs, [
|
|
5618
|
-
l(y) && !l(c) ? (
|
|
5626
|
+
l(y) && !l(c) ? (d(), I("div", Hs, [
|
|
5619
5627
|
P(M.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
5620
5628
|
])) : D("", !0)
|
|
5621
5629
|
]),
|
|
5622
|
-
l(i) && (e.showSearch || l(y) || e.quickLinks && e.quickLinks.length || l(r)) ? (
|
|
5630
|
+
l(i) && (e.showSearch || l(y) || e.quickLinks && e.quickLinks.length || l(r)) ? (d(), p(V, {
|
|
5623
5631
|
key: 0,
|
|
5624
5632
|
id: "header-navigation",
|
|
5625
5633
|
show: l(c),
|
|
@@ -5642,11 +5650,11 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5642
5650
|
]),
|
|
5643
5651
|
g("div", Zs, [
|
|
5644
5652
|
g("div", Xs, [
|
|
5645
|
-
l(r) ? (
|
|
5653
|
+
l(r) ? (d(), p(pt, ee({ key: 0 }, l(r), {
|
|
5646
5654
|
onSelect: T[5] || (T[5] = (x) => l(r).currentLanguage = x.codeIso)
|
|
5647
5655
|
}), null, 16)) : D("", !0),
|
|
5648
5656
|
P(M.$slots, "before-quick-links", {}, void 0, !0),
|
|
5649
|
-
l(o) ? (
|
|
5657
|
+
l(o) ? (d(), p(Xt, {
|
|
5650
5658
|
key: 1,
|
|
5651
5659
|
role: "navigation",
|
|
5652
5660
|
links: e.quickLinks,
|
|
@@ -5659,7 +5667,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5659
5667
|
key: 0,
|
|
5660
5668
|
hidemodal: A
|
|
5661
5669
|
}, void 0, !0) : D("", !0),
|
|
5662
|
-
l(s) ? (
|
|
5670
|
+
l(s) ? (d(), I("div", Ys, [
|
|
5663
5671
|
W(Vt, {
|
|
5664
5672
|
"searchbar-id": e.searchbarId,
|
|
5665
5673
|
"model-value": e.modelValue,
|
|
@@ -5680,7 +5688,7 @@ const Ls = /* @__PURE__ */ z(Ns, [["render", Ds]]), ws = {
|
|
|
5680
5688
|
viewBox: "0 0 106.703 44.429"
|
|
5681
5689
|
};
|
|
5682
5690
|
function Ks(e, t) {
|
|
5683
|
-
return
|
|
5691
|
+
return d(), I("svg", Fs, [...t[0] || (t[0] = [
|
|
5684
5692
|
g("path", {
|
|
5685
5693
|
d: "M33.63 110.595q-.883.002-1.403.293a1.95 1.95 0 0 0-.781.783 3.1 3.1 0 0 0-.34 1.087q-.08.597-.08 1.21.001.499.091 1.086.09.589.374 1.098.283.506.792.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.296 3.394q0-1.425.294-2.547c.196-.744.51-1.38.94-1.898a4.2 4.2 0 0 1 1.64-1.2q.997-.422 2.422-.42 1.493.046 2.67.678.498.274.985.702.487.43.86 1.076.373.645.61 1.528.24.882.24 2.06 0 1.175-.216 2.06a6.2 6.2 0 0 1-.565 1.517 4.37 4.37 0 0 1-1.71 1.74q-1.086.613-2.49.634a4.6 4.6 0 0 1-1.357-.292 4.3 4.3 0 0 1-1.155-.724q-.588-.502-.973-1.45l.498.657v5.386h-2.693zM45.625 110.595q-.837 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.273.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.78-.85.271-.508.363-1.096.09-.588.09-1.087 0-.498-.09-1.087a3.4 3.4 0 0 0-.363-1.097 2.3 2.3 0 0 0-.78-.85q-.51-.339-1.347-.339m-5.364 3.373q0-1.178.227-2.06.225-.883.6-1.528.372-.646.859-1.076.487-.427.984-.702c.785-.42 1.683-.649 2.694-.677.996.028 1.885.257 2.67.677q.499.274.985.702.488.43.86 1.076.374.645.611 1.528c.159.589.239 1.273.239 2.06q0 1.175-.239 2.06a6.2 6.2 0 0 1-.61 1.517q-.375.632-.86 1.051a5.7 5.7 0 0 1-.985.688q-1.178.615-2.671.635-1.516-.02-2.694-.635-.497-.27-.984-.688a4.2 4.2 0 0 1-.86-1.05 5.9 5.9 0 0 1-.6-1.518q-.225-.884-.226-2.06M52.347 111.57q0-1.18.497-1.846c.333-.444.695-.783 1.087-1.009a3.9 3.9 0 0 1 1.584-.497h3.17v2.737h-2.128q-.453 0-.736.159-.283.158-.442.342-.18.222-.249.498v7.74h-2.783zM62.78 110.913v5.045q.07.275.25.497.158.184.442.342.282.159.735.159h1.72v2.738h-2.761a3.9 3.9 0 0 1-1.584-.498q-.59-.337-1.076-1.009-.487-.665-.486-1.845v-11.2h2.76v3.076h2.604v2.695zM72.558 110.595q-.838 0-1.347.339-.51.338-.78.85a3.4 3.4 0 0 0-.363 1.097 7 7 0 0 0-.09 1.087q0 .499.09 1.086.09.589.362 1.098.271.506.781.85.51.339 1.347.339t1.347-.34q.51-.341.792-.85t.373-1.096.09-1.087q0-.613-.079-1.21a3.2 3.2 0 0 0-.339-1.087 1.96 1.96 0 0 0-.781-.783q-.52-.292-1.403-.293m5.296 9.099h-2.693v-1.584l.498-.657q-.385.948-.974 1.45a4.3 4.3 0 0 1-1.154.723q-.656.25-1.358.293-1.404-.02-2.49-.635a4.8 4.8 0 0 1-.917-.688 4.4 4.4 0 0 1-.791-1.05 6.2 6.2 0 0 1-.566-1.518q-.215-.885-.215-2.06 0-1.179.226-2.06.226-.883.6-1.528.374-.646.86-1.076.487-.427.984-.702c.784-.42 1.683-.649 2.694-.677.95 0 1.758.137 2.421.42a4.2 4.2 0 0 1 1.642 1.2q.645.779.939 1.897.293 1.123.294 2.547zM82.086 108.218v11.476h-2.761v-11.476zm-2.761-2.558q0-.497.01-.744c.008-.166.053-.29.137-.364q.123-.112.408-.123a22 22 0 0 1 1.651 0q.284.012.408.123c.082.074.128.198.136.364q.01.247.01.744 0 .498-.01.748-.012.248-.136.363-.125.112-.408.124-.282.01-.826.01-.543 0-.825-.01-.285-.012-.408-.124-.126-.115-.136-.363-.01-.25-.011-.748M86.409 104.415v15.279h-2.761v-15.28z",
|
|
5686
5694
|
style: { fill: "#ed184e", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none", "stroke-width": ".0352778" },
|
|
@@ -5708,7 +5716,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5708
5716
|
...e.width && { width: e.width },
|
|
5709
5717
|
...e.height && { height: e.height }
|
|
5710
5718
|
}));
|
|
5711
|
-
return (a, n) => (
|
|
5719
|
+
return (a, n) => (d(), I("div", Js, [
|
|
5712
5720
|
W(l(Gs), ee(l(t), { class: "logo" }), null, 16)
|
|
5713
5721
|
]));
|
|
5714
5722
|
}
|
|
@@ -5729,28 +5737,28 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5729
5737
|
} = Ze(), { isAboveMd: r } = nt(), o = b(() => e.id ?? `breadcrumb-${crypto.randomUUID()}`), s = b(() => ({
|
|
5730
5738
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_RIGHT})`
|
|
5731
5739
|
})), c = U(r.value);
|
|
5732
|
-
return re(c, (A,
|
|
5733
|
-
A !==
|
|
5740
|
+
return re(c, (A, u) => {
|
|
5741
|
+
A !== u && i(A);
|
|
5734
5742
|
}), re(r, (A) => {
|
|
5735
5743
|
c.value = A;
|
|
5736
|
-
}),
|
|
5744
|
+
}), ue(() => {
|
|
5737
5745
|
i(c.value);
|
|
5738
|
-
}), (A,
|
|
5746
|
+
}), (A, u) => {
|
|
5739
5747
|
const f = oe, C = Mt("RouterLink");
|
|
5740
|
-
return e.links && e.links.length ? (
|
|
5748
|
+
return e.links && e.links.length ? (d(), I("nav", {
|
|
5741
5749
|
key: 0,
|
|
5742
5750
|
role: "navigation",
|
|
5743
5751
|
class: "av-breadcrumb",
|
|
5744
5752
|
"aria-label": e.navigationLabel
|
|
5745
5753
|
}, [
|
|
5746
|
-
l(c) ? D("", !0) : (
|
|
5754
|
+
l(c) ? D("", !0) : (d(), p(f, {
|
|
5747
5755
|
key: 0,
|
|
5748
5756
|
class: "av-breadcrumb__button",
|
|
5749
5757
|
label: e.showBreadcrumbLabel,
|
|
5750
5758
|
"aria-expanded": l(c),
|
|
5751
5759
|
"aria-controls": l(o),
|
|
5752
5760
|
small: "",
|
|
5753
|
-
onClick:
|
|
5761
|
+
onClick: u[0] || (u[0] = (m) => c.value = !l(c))
|
|
5754
5762
|
}, null, 8, ["label", "aria-expanded", "aria-controls"])),
|
|
5755
5763
|
g("div", {
|
|
5756
5764
|
id: l(o),
|
|
@@ -5762,12 +5770,12 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5762
5770
|
}])
|
|
5763
5771
|
}, [
|
|
5764
5772
|
g("ol", tc, [
|
|
5765
|
-
(
|
|
5773
|
+
(d(!0), I($, null, ie(e.links, (m, v) => (d(), I("li", {
|
|
5766
5774
|
key: v,
|
|
5767
5775
|
class: "av-breadcrumb__item",
|
|
5768
5776
|
style: ce(l(s))
|
|
5769
5777
|
}, [
|
|
5770
|
-
m.to ? (
|
|
5778
|
+
m.to ? (d(), p(C, {
|
|
5771
5779
|
key: 0,
|
|
5772
5780
|
class: "b2-regular av-breadcrumb__link",
|
|
5773
5781
|
to: m.to,
|
|
@@ -5778,7 +5786,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5778
5786
|
]),
|
|
5779
5787
|
_: 2
|
|
5780
5788
|
}, 1032, ["to", "aria-current"])) : D("", !0),
|
|
5781
|
-
m.to ? D("", !0) : (
|
|
5789
|
+
m.to ? D("", !0) : (d(), I("a", {
|
|
5782
5790
|
key: 1,
|
|
5783
5791
|
class: "b2-regular av-breadcrumb__link",
|
|
5784
5792
|
"aria-current": v === e.links.length - 1 ? "page" : void 0
|
|
@@ -5797,7 +5805,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5797
5805
|
},
|
|
5798
5806
|
setup(e) {
|
|
5799
5807
|
const t = b(() => e.id ?? `nav-item-${crypto.randomUUID()}`);
|
|
5800
|
-
return (a, n) => (
|
|
5808
|
+
return (a, n) => (d(), I("li", {
|
|
5801
5809
|
id: l(t),
|
|
5802
5810
|
class: j(["av-nav__item", { "av-nav__item--active": e.active }]),
|
|
5803
5811
|
"aria-current": e.active ? "page" : void 0
|
|
@@ -5813,7 +5821,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5813
5821
|
},
|
|
5814
5822
|
setup(e) {
|
|
5815
5823
|
const t = b(() => e.id ?? `nav-menu-item-${crypto.randomUUID()}`);
|
|
5816
|
-
return (a, n) => (
|
|
5824
|
+
return (a, n) => (d(), I("li", {
|
|
5817
5825
|
id: l(t),
|
|
5818
5826
|
class: "av-menu__item",
|
|
5819
5827
|
"aria-current": e.active ? "page" : void 0
|
|
@@ -5821,7 +5829,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5821
5829
|
P(a.$slots, "default", {}, void 0, !0)
|
|
5822
5830
|
], 8, oc));
|
|
5823
5831
|
}
|
|
5824
|
-
}), cc = /* @__PURE__ */ z(sc, [["__scopeId", "data-v-fe85d2ff"]]), Ac = ["href"],
|
|
5832
|
+
}), cc = /* @__PURE__ */ z(sc, [["__scopeId", "data-v-fe85d2ff"]]), Ac = ["href"], dc = { class: "b1-regular" }, uc = { class: "b1-regular" }, fc = /* @__PURE__ */ Q({
|
|
5825
5833
|
__name: "NavigationMenuLink",
|
|
5826
5834
|
props: {
|
|
5827
5835
|
id: {},
|
|
@@ -5838,7 +5846,7 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5838
5846
|
});
|
|
5839
5847
|
return (o, s) => {
|
|
5840
5848
|
const c = ne, A = Mt("RouterLink");
|
|
5841
|
-
return l(n) ? (
|
|
5849
|
+
return l(n) ? (d(), I("a", {
|
|
5842
5850
|
key: 0,
|
|
5843
5851
|
class: j(["av-nav__link", {
|
|
5844
5852
|
"av-nav__link--active": e.activeId === l(a),
|
|
@@ -5846,28 +5854,28 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5846
5854
|
}]),
|
|
5847
5855
|
"data-testid": "nav-external-link",
|
|
5848
5856
|
href: e.to,
|
|
5849
|
-
onClick: s[0] || (s[0] = (
|
|
5850
|
-
o.$emit("toggleId", l(a)), e.onClick(
|
|
5857
|
+
onClick: s[0] || (s[0] = (u) => {
|
|
5858
|
+
o.$emit("toggleId", l(a)), e.onClick(u);
|
|
5851
5859
|
})
|
|
5852
5860
|
}, [
|
|
5853
|
-
g("span",
|
|
5854
|
-
], 10, Ac)) : (
|
|
5861
|
+
g("span", dc, B(e.text), 1)
|
|
5862
|
+
], 10, Ac)) : (d(), p(A, {
|
|
5855
5863
|
key: 1,
|
|
5856
5864
|
class: "av-nav__link",
|
|
5857
5865
|
"data-testid": "nav-router-link",
|
|
5858
5866
|
to: e.to,
|
|
5859
|
-
onClick: s[1] || (s[1] = (
|
|
5867
|
+
onClick: s[1] || (s[1] = (u) => {
|
|
5860
5868
|
var f;
|
|
5861
|
-
l(r)(), o.$emit("toggleId", l(a)), (f = e.onClick) == null || f.call(e,
|
|
5869
|
+
l(r)(), o.$emit("toggleId", l(a)), (f = e.onClick) == null || f.call(e, u);
|
|
5862
5870
|
})
|
|
5863
5871
|
}, {
|
|
5864
5872
|
default: G(() => [
|
|
5865
|
-
e.icon ? (
|
|
5873
|
+
e.icon ? (d(), p(c, {
|
|
5866
5874
|
key: 0,
|
|
5867
5875
|
name: e.icon,
|
|
5868
5876
|
size: 1.5
|
|
5869
5877
|
}, null, 8, ["name"])) : D("", !0),
|
|
5870
|
-
g("span",
|
|
5878
|
+
g("span", uc, B(e.text), 1)
|
|
5871
5879
|
]),
|
|
5872
5880
|
_: 1
|
|
5873
5881
|
}, 8, ["to"]));
|
|
@@ -5893,18 +5901,18 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5893
5901
|
} = Ze(), o = b(() => e.id ?? `menu-${crypto.randomUUID()}`), s = b(() => o.value === e.expandedId), c = b(() => ({
|
|
5894
5902
|
"--icon-path": `url(${me.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5895
5903
|
}));
|
|
5896
|
-
return re(s, (A,
|
|
5897
|
-
A !==
|
|
5898
|
-
}),
|
|
5904
|
+
return re(s, (A, u) => {
|
|
5905
|
+
A !== u && i(A);
|
|
5906
|
+
}), ue(() => {
|
|
5899
5907
|
s.value && i(!0);
|
|
5900
|
-
}), (A,
|
|
5908
|
+
}), (A, u) => (d(), I($, null, [
|
|
5901
5909
|
g("button", {
|
|
5902
5910
|
class: "av-nav__btn",
|
|
5903
5911
|
"aria-expanded": l(s),
|
|
5904
5912
|
"aria-current": e.active || void 0,
|
|
5905
5913
|
"aria-controls": l(o),
|
|
5906
5914
|
style: ce(l(c)),
|
|
5907
|
-
onClick:
|
|
5915
|
+
onClick: u[0] || (u[0] = (f) => A.$emit("toggleId", l(o)))
|
|
5908
5916
|
}, [
|
|
5909
5917
|
g("span", null, B(e.title), 1)
|
|
5910
5918
|
], 12, vc),
|
|
@@ -5914,13 +5922,13 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5914
5922
|
ref: t,
|
|
5915
5923
|
class: j(["av-collapse av-menu", { "av-collapse--expanded": l(n), "av-collapsing": l(a) }]),
|
|
5916
5924
|
"data-testid": "navigation-menu",
|
|
5917
|
-
onTransitionend:
|
|
5925
|
+
onTransitionend: u[2] || (u[2] = (f) => l(r)(l(s)))
|
|
5918
5926
|
}, [
|
|
5919
5927
|
g("ul", Ic, [
|
|
5920
|
-
(
|
|
5928
|
+
(d(!0), I($, null, ie(e.links, (f, C) => (d(), p(cc, { key: C }, {
|
|
5921
5929
|
default: G(() => [
|
|
5922
5930
|
W(Ta, ee({ ref_for: !0 }, f, {
|
|
5923
|
-
onToggleId:
|
|
5931
|
+
onToggleId: u[1] || (u[1] = (m) => A.$emit("toggleId", e.expandedId))
|
|
5924
5932
|
}), null, 16)
|
|
5925
5933
|
]),
|
|
5926
5934
|
_: 2
|
|
@@ -5963,11 +5971,11 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5963
5971
|
function o(s) {
|
|
5964
5972
|
s.key === "Escape" && n(a.value);
|
|
5965
5973
|
}
|
|
5966
|
-
return
|
|
5974
|
+
return ue(() => {
|
|
5967
5975
|
document.addEventListener("click", r), document.addEventListener("keydown", o);
|
|
5968
5976
|
}), ve(() => {
|
|
5969
5977
|
document.removeEventListener("click", r), document.removeEventListener("keydown", o);
|
|
5970
|
-
}), (s, c) => (
|
|
5978
|
+
}), (s, c) => (d(), I("div", hc, [
|
|
5971
5979
|
g("nav", {
|
|
5972
5980
|
id: l(t),
|
|
5973
5981
|
class: "av-nav",
|
|
@@ -5975,15 +5983,15 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
5975
5983
|
"aria-label": e.label
|
|
5976
5984
|
}, [
|
|
5977
5985
|
g("ul", Cc, [
|
|
5978
|
-
(
|
|
5986
|
+
(d(!0), I($, null, ie(e.navItems, (A, u) => (d(), p(rc, { key: u }, {
|
|
5979
5987
|
default: G(() => [
|
|
5980
|
-
A.to && A.text ? (
|
|
5988
|
+
A.to && A.text ? (d(), p(Ta, ee({
|
|
5981
5989
|
key: 0,
|
|
5982
5990
|
ref_for: !0
|
|
5983
5991
|
}, A, {
|
|
5984
5992
|
"active-id": l(a),
|
|
5985
5993
|
onToggleId: c[0] || (c[0] = (f) => n(f))
|
|
5986
|
-
}), null, 16, ["active-id"])) : A.title && A.links ? (
|
|
5994
|
+
}), null, 16, ["active-id"])) : A.title && A.links ? (d(), p(bc, ee({
|
|
5987
5995
|
key: 1,
|
|
5988
5996
|
ref_for: !0
|
|
5989
5997
|
}, A, {
|
|
@@ -6019,26 +6027,26 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6019
6027
|
},
|
|
6020
6028
|
emits: ["update:current-page"],
|
|
6021
6029
|
setup(e, { emit: t }) {
|
|
6022
|
-
const a = t, n = b(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = b(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), r = b(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, i.value + 1) : e.pages), o = (m) => a("update:current-page", m), s = (m) => o(m), c = () => s(0), A = () => s(Math.max(0, e.currentPage - 1)),
|
|
6030
|
+
const a = t, n = b(() => Math.min(e.pages.length - 1 - e.truncLimit, Math.max(e.currentPage - (e.truncLimit - e.truncLimit % 2) / 2, 0))), i = b(() => Math.min(e.pages.length - 1, n.value + e.truncLimit)), r = b(() => e.pages.length > e.truncLimit ? e.pages.slice(n.value, i.value + 1) : e.pages), o = (m) => a("update:current-page", m), s = (m) => o(m), c = () => s(0), A = () => s(Math.max(0, e.currentPage - 1)), u = () => s(Math.min(e.pages.length - 1, e.currentPage + 1)), f = () => s(e.pages.length - 1), C = (m) => e.pages.indexOf(m) === e.currentPage;
|
|
6023
6031
|
return (m, v) => {
|
|
6024
6032
|
var y, M, T, L;
|
|
6025
|
-
return
|
|
6033
|
+
return d(), I("nav", {
|
|
6026
6034
|
role: "navigation",
|
|
6027
6035
|
class: "av-pagination av-nav",
|
|
6028
6036
|
"aria-label": e.ariaLabel
|
|
6029
6037
|
}, [
|
|
6030
6038
|
g("ul", Ec, [
|
|
6031
|
-
e.compact && e.compactCurrentPageLabel ? (
|
|
6039
|
+
e.compact && e.compactCurrentPageLabel ? (d(), I("li", Nc, [
|
|
6032
6040
|
g("span", Tc, B(e.compactCurrentPageLabel), 1)
|
|
6033
6041
|
])) : D("", !0),
|
|
6034
6042
|
g("li", null, [
|
|
6035
|
-
e.compact ? D("", !0) : (
|
|
6043
|
+
e.compact ? D("", !0) : (d(), I("a", {
|
|
6036
6044
|
key: 0,
|
|
6037
6045
|
href: (y = e.pages[0]) == null ? void 0 : y.href,
|
|
6038
6046
|
class: "av-pagination__link",
|
|
6039
6047
|
title: e.firstPageLabel,
|
|
6040
6048
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6041
|
-
onClick: v[0] || (v[0] =
|
|
6049
|
+
onClick: v[0] || (v[0] = de((N) => c(), ["prevent"]))
|
|
6042
6050
|
}, [
|
|
6043
6051
|
W(ne, {
|
|
6044
6052
|
name: l(R).PAGE_FIRST,
|
|
@@ -6053,26 +6061,26 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6053
6061
|
class: "av-pagination__link",
|
|
6054
6062
|
title: e.prevPageLabel,
|
|
6055
6063
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6056
|
-
onClick: v[1] || (v[1] =
|
|
6064
|
+
onClick: v[1] || (v[1] = de((N) => A(), ["prevent"]))
|
|
6057
6065
|
}, [
|
|
6058
6066
|
W(ne, {
|
|
6059
6067
|
name: l(R).NAVIGATE_BEFORE,
|
|
6060
6068
|
size: 1.5
|
|
6061
6069
|
}, null, 8, ["name"]),
|
|
6062
|
-
e.compact ? D("", !0) : (
|
|
6070
|
+
e.compact ? D("", !0) : (d(), I("span", Oc, B(e.prevPageLabel), 1))
|
|
6063
6071
|
], 8, wc)
|
|
6064
6072
|
]),
|
|
6065
|
-
e.compact ? D("", !0) : (
|
|
6073
|
+
e.compact ? D("", !0) : (d(!0), I($, { key: 1 }, ie(l(r), (N, O) => (d(), I("li", { key: O }, [
|
|
6066
6074
|
g("a", {
|
|
6067
6075
|
href: N == null ? void 0 : N.href,
|
|
6068
6076
|
class: "av-pagination__link",
|
|
6069
6077
|
title: N.title,
|
|
6070
6078
|
"aria-current": C(N) ? "page" : void 0,
|
|
6071
|
-
onClick:
|
|
6079
|
+
onClick: de((V) => s(e.pages.indexOf(N)), ["prevent"])
|
|
6072
6080
|
}, [
|
|
6073
|
-
l(r).indexOf(N) === 0 && l(n) > 0 ? (
|
|
6081
|
+
l(r).indexOf(N) === 0 && l(n) > 0 ? (d(), I("span", Qc, "...")) : D("", !0),
|
|
6074
6082
|
De(" " + B(N.label) + " ", 1),
|
|
6075
|
-
l(r).indexOf(N) === l(r).length - 1 && l(i) < e.pages.length - 1 ? (
|
|
6083
|
+
l(r).indexOf(N) === l(r).length - 1 && l(i) < e.pages.length - 1 ? (d(), I("span", xc, "...")) : D("", !0)
|
|
6076
6084
|
], 8, Sc)
|
|
6077
6085
|
]))), 128)),
|
|
6078
6086
|
g("li", null, [
|
|
@@ -6082,9 +6090,9 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6082
6090
|
title: e.nextPageLabel,
|
|
6083
6091
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6084
6092
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6085
|
-
onClick: v[2] || (v[2] =
|
|
6093
|
+
onClick: v[2] || (v[2] = de((N) => u(), ["prevent"]))
|
|
6086
6094
|
}, [
|
|
6087
|
-
e.compact ? D("", !0) : (
|
|
6095
|
+
e.compact ? D("", !0) : (d(), I("span", kc, B(e.nextPageLabel), 1)),
|
|
6088
6096
|
W(ne, {
|
|
6089
6097
|
name: l(R).NAVIGATE_NEXT,
|
|
6090
6098
|
size: 1.5
|
|
@@ -6092,14 +6100,14 @@ const Gs = { render: Ks }, Js = { class: "svg-wrapper" }, $s = /* @__PURE__ */ Q
|
|
|
6092
6100
|
], 8, pc)
|
|
6093
6101
|
]),
|
|
6094
6102
|
g("li", null, [
|
|
6095
|
-
e.compact ? D("", !0) : (
|
|
6103
|
+
e.compact ? D("", !0) : (d(), I("a", {
|
|
6096
6104
|
key: 0,
|
|
6097
6105
|
class: "av-pagination__link",
|
|
6098
6106
|
href: (L = e.pages[e.pages.length - 1]) == null ? void 0 : L.href,
|
|
6099
6107
|
title: e.lastPageLabel,
|
|
6100
6108
|
disabled: e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6101
6109
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6102
|
-
onClick: v[3] || (v[3] =
|
|
6110
|
+
onClick: v[3] || (v[3] = de((N) => f(), ["prevent"]))
|
|
6103
6111
|
}, [
|
|
6104
6112
|
g("span", zc, B(e.lastPageLabel), 1),
|
|
6105
6113
|
W(ne, {
|
|
@@ -6141,25 +6149,25 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6141
6149
|
}),
|
|
6142
6150
|
emits: /* @__PURE__ */ ge(["update:collapsed"], ["update:collapsed"]),
|
|
6143
6151
|
setup(e) {
|
|
6144
|
-
se((
|
|
6152
|
+
se((u) => ({
|
|
6145
6153
|
v4d5b7c17: l(c),
|
|
6146
|
-
v4a813d87:
|
|
6154
|
+
v4a813d87: u.padding
|
|
6147
6155
|
}));
|
|
6148
6156
|
const t = e, a = Le(e, "collapsed"), { width: n, collapsedWidth: i } = qt(t), r = b(() => t.id ?? crypto.randomUUID()), o = b(() => `${r.value} navigation`), s = b({
|
|
6149
6157
|
get: () => t.collapsible ? a.value : !1,
|
|
6150
|
-
set: (
|
|
6151
|
-
t.collapsible && (a.value =
|
|
6158
|
+
set: (u) => {
|
|
6159
|
+
t.collapsible && (a.value = u);
|
|
6152
6160
|
}
|
|
6153
6161
|
}), c = b(() => t.collapsible && s.value ? i.value : n.value);
|
|
6154
6162
|
function A() {
|
|
6155
6163
|
t.collapsible && (s.value = !s.value);
|
|
6156
6164
|
}
|
|
6157
|
-
return (
|
|
6165
|
+
return (u, f) => (d(), I("nav", {
|
|
6158
6166
|
id: l(r),
|
|
6159
6167
|
class: j(["av-side-menu", { "av-side-menu--collapsed": l(s) }]),
|
|
6160
6168
|
"aria-label": l(o)
|
|
6161
6169
|
}, [
|
|
6162
|
-
t.collapsible ? (
|
|
6170
|
+
t.collapsible ? (d(), I("div", Wc, [
|
|
6163
6171
|
W(oe, {
|
|
6164
6172
|
"aria-expanded": !l(s),
|
|
6165
6173
|
"aria-controls": l(r),
|
|
@@ -6171,7 +6179,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6171
6179
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
6172
6180
|
])) : D("", !0),
|
|
6173
6181
|
g("div", Uc, [
|
|
6174
|
-
P(
|
|
6182
|
+
P(u.$slots, "default", {}, void 0, !0)
|
|
6175
6183
|
])
|
|
6176
6184
|
], 10, Pc));
|
|
6177
6185
|
}
|
|
@@ -6197,7 +6205,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6197
6205
|
function n(i) {
|
|
6198
6206
|
t.value = i;
|
|
6199
6207
|
}
|
|
6200
|
-
return (i, r) => (
|
|
6208
|
+
return (i, r) => (d(), p(Hc, {
|
|
6201
6209
|
collapsed: a.value,
|
|
6202
6210
|
"onUpdate:collapsed": r[0] || (r[0] = (o) => a.value = o),
|
|
6203
6211
|
"collapsed-width": e.collapsedWidth,
|
|
@@ -6209,7 +6217,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6209
6217
|
role: "menu"
|
|
6210
6218
|
}, {
|
|
6211
6219
|
default: G(() => [
|
|
6212
|
-
(
|
|
6220
|
+
(d(!0), I($, null, ie(e.items, (o) => (d(), p(l(ga), {
|
|
6213
6221
|
key: o.id,
|
|
6214
6222
|
title: a.value ? void 0 : o.label,
|
|
6215
6223
|
icon: o.icon,
|
|
@@ -6231,7 +6239,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6231
6239
|
_: 1
|
|
6232
6240
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
6233
6241
|
}
|
|
6234
|
-
}), VA = /* @__PURE__ */ z(Rc, [["__scopeId", "data-v-
|
|
6242
|
+
}), VA = /* @__PURE__ */ z(Rc, [["__scopeId", "data-v-98b0ad69"]]), Zc = { class: "av-stepper" }, Xc = { class: "main-container" }, Yc = ["aria-current"], qc = ["aria-current"], Fc = { class: "b1-regular" }, Kc = { class: "main-labels-container" }, Gc = /* @__PURE__ */ Q({
|
|
6235
6243
|
__name: "AvStepper",
|
|
6236
6244
|
props: {
|
|
6237
6245
|
steps: {},
|
|
@@ -6241,7 +6249,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6241
6249
|
setup(e) {
|
|
6242
6250
|
return se((t) => ({
|
|
6243
6251
|
v2cd1b68a: t.width
|
|
6244
|
-
})), (t, a) => (
|
|
6252
|
+
})), (t, a) => (d(), I("div", Zc, [
|
|
6245
6253
|
g("div", Xc, [
|
|
6246
6254
|
g("div", {
|
|
6247
6255
|
class: "step step--active",
|
|
@@ -6249,7 +6257,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6249
6257
|
}, [...a[0] || (a[0] = [
|
|
6250
6258
|
g("span", { class: "b1-regular" }, "1", -1)
|
|
6251
6259
|
])], 8, Yc),
|
|
6252
|
-
(
|
|
6260
|
+
(d(!0), I($, null, ie(e.steps.slice(1, e.steps.length), (n, i) => (d(), I("div", {
|
|
6253
6261
|
key: i,
|
|
6254
6262
|
class: "steps-container"
|
|
6255
6263
|
}, [
|
|
@@ -6265,7 +6273,7 @@ const Pc = ["id", "aria-label"], Wc = {
|
|
|
6265
6273
|
]))), 128))
|
|
6266
6274
|
]),
|
|
6267
6275
|
g("div", Kc, [
|
|
6268
|
-
(
|
|
6276
|
+
(d(!0), I($, null, ie(e.steps, (n, i) => (d(), I("div", {
|
|
6269
6277
|
key: i,
|
|
6270
6278
|
class: "label-container"
|
|
6271
6279
|
}, [
|
|
@@ -6287,8 +6295,8 @@ function Jc(e, t) {
|
|
|
6287
6295
|
const s = e.value.getBoundingClientRect(), c = s.bottom + window.scrollY + 4;
|
|
6288
6296
|
let A = s.left + window.scrollX;
|
|
6289
6297
|
if (t.value) {
|
|
6290
|
-
const
|
|
6291
|
-
A +
|
|
6298
|
+
const u = t.value.getBoundingClientRect(), f = window.innerWidth;
|
|
6299
|
+
A + u.width > f && (A = f - u.width - 16, A < 0 && (A = 16));
|
|
6292
6300
|
}
|
|
6293
6301
|
n.value = { top: c / 16, left: A / 16 };
|
|
6294
6302
|
}
|
|
@@ -6297,7 +6305,7 @@ function Jc(e, t) {
|
|
|
6297
6305
|
}, o = (s) => {
|
|
6298
6306
|
e.value && !e.value.contains(s.target) && r();
|
|
6299
6307
|
};
|
|
6300
|
-
return
|
|
6308
|
+
return ue(() => {
|
|
6301
6309
|
document.addEventListener("click", o);
|
|
6302
6310
|
}), ve(() => {
|
|
6303
6311
|
document.removeEventListener("click", o);
|
|
@@ -6320,7 +6328,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6320
6328
|
d4f07f42: f.padding
|
|
6321
6329
|
}));
|
|
6322
6330
|
const a = U(null), n = U(null), { showPopover: i, popoverPosition: r, togglePopover: o, closePopover: s } = Jc(a, n), { initializeFocusTrap: c, cleanupFocusTrap: A } = pi(n, s);
|
|
6323
|
-
function
|
|
6331
|
+
function u(f) {
|
|
6324
6332
|
if (!f) {
|
|
6325
6333
|
a.value = null;
|
|
6326
6334
|
return;
|
|
@@ -6332,26 +6340,26 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6332
6340
|
const C = f.$el;
|
|
6333
6341
|
C instanceof HTMLElement ? a.value = C : a.value = null;
|
|
6334
6342
|
}
|
|
6335
|
-
return t({ setTriggerRef:
|
|
6343
|
+
return t({ setTriggerRef: u, triggerRef: a }), re(i, async (f) => {
|
|
6336
6344
|
f ? (await at(), c()) : A();
|
|
6337
6345
|
}), gt(() => {
|
|
6338
6346
|
A();
|
|
6339
|
-
}), (f, C) => (
|
|
6347
|
+
}), (f, C) => (d(), I("div", $c, [
|
|
6340
6348
|
g("div", {
|
|
6341
|
-
ref:
|
|
6349
|
+
ref: u,
|
|
6342
6350
|
class: "av-popover-trigger-wrapper"
|
|
6343
6351
|
}, [
|
|
6344
6352
|
P(f.$slots, "trigger", { toggle: l(o) }, void 0, !0)
|
|
6345
6353
|
]),
|
|
6346
|
-
(
|
|
6347
|
-
l(i) ? (
|
|
6354
|
+
(d(), p(Kt, { to: "body" }, [
|
|
6355
|
+
l(i) ? (d(), I("div", {
|
|
6348
6356
|
key: 0,
|
|
6349
6357
|
ref_key: "popoverRef",
|
|
6350
6358
|
ref: n,
|
|
6351
6359
|
tabindex: "-1",
|
|
6352
6360
|
class: "av-popover",
|
|
6353
6361
|
style: ce(`top: ${l(r).top}rem; left: ${l(r).left}rem;`),
|
|
6354
|
-
onKeydown: C[0] || (C[0] = Ae(
|
|
6362
|
+
onKeydown: C[0] || (C[0] = Ae(de(
|
|
6355
6363
|
//@ts-ignore
|
|
6356
6364
|
(...m) => l(s) && l(s)(...m),
|
|
6357
6365
|
["prevent"]
|
|
@@ -6383,7 +6391,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6383
6391
|
function n(i, r) {
|
|
6384
6392
|
a("itemSelected", i), r();
|
|
6385
6393
|
}
|
|
6386
|
-
return (i, r) => (
|
|
6394
|
+
return (i, r) => (d(), p(eA, {
|
|
6387
6395
|
width: e.width,
|
|
6388
6396
|
padding: e.padding
|
|
6389
6397
|
}, {
|
|
@@ -6400,7 +6408,7 @@ const $c = { class: "av-popover-wrapper" }, _c = /* @__PURE__ */ Q({
|
|
|
6400
6408
|
]),
|
|
6401
6409
|
popover: G(({ close: o }) => [
|
|
6402
6410
|
g("div", tA, [
|
|
6403
|
-
(
|
|
6411
|
+
(d(!0), I($, null, ie(e.items, (s) => (d(), p(oe, {
|
|
6404
6412
|
key: s.name,
|
|
6405
6413
|
class: "av-dropdown__menu-item",
|
|
6406
6414
|
icon: s.icon,
|
|
@@ -6495,7 +6503,7 @@ const nA = {
|
|
|
6495
6503
|
preventScroll: e.preventScroll
|
|
6496
6504
|
}));
|
|
6497
6505
|
}
|
|
6498
|
-
return
|
|
6506
|
+
return ue(() => {
|
|
6499
6507
|
re(() => e.active, (s) => {
|
|
6500
6508
|
s && r.value ? o().activate() : n && (n.deactivate(), (!r.value || r.value.nodeType === Node.COMMENT_NODE) && (n = null));
|
|
6501
6509
|
}, { immediate: !0, flush: "post" });
|
|
@@ -6519,7 +6527,7 @@ const nA = {
|
|
|
6519
6527
|
}), lA = ["id", "aria-labelledby", "role", "open"], rA = { class: "av-container av-container-md av-container--fluid" }, oA = { class: "av-row-md av-row-md--center" }, sA = { class: "av-modal__body" }, cA = { class: "av-modal__content" }, AA = {
|
|
6520
6528
|
key: 0,
|
|
6521
6529
|
class: "header"
|
|
6522
|
-
},
|
|
6530
|
+
}, dA = { class: "av-modal__footer" }, uA = /* @__PURE__ */ Q({
|
|
6523
6531
|
__name: "AvModal",
|
|
6524
6532
|
props: {
|
|
6525
6533
|
id: {},
|
|
@@ -6537,20 +6545,20 @@ const nA = {
|
|
|
6537
6545
|
setup(e, { emit: t }) {
|
|
6538
6546
|
const a = t, n = fe(), i = b(() => e.id ?? `modal-${crypto.randomUUID()}`), r = b(() => e.isAlert ? "alertdialog" : "dialog"), o = U(null), s = U();
|
|
6539
6547
|
re(() => e.opened, (A) => {
|
|
6540
|
-
var
|
|
6541
|
-
A ? ((
|
|
6548
|
+
var u, f, C;
|
|
6549
|
+
A ? ((u = s.value) == null || u.showModal(), (f = o.value) == null || f.focus()) : (C = s.value) == null || C.close(), c(A);
|
|
6542
6550
|
});
|
|
6543
6551
|
function c(A) {
|
|
6544
6552
|
typeof window < "u" && document.body.classList.toggle("modal-open", A);
|
|
6545
6553
|
}
|
|
6546
|
-
return
|
|
6554
|
+
return ue(() => {
|
|
6547
6555
|
c(e.opened);
|
|
6548
6556
|
}), gt(() => {
|
|
6549
6557
|
c(!1);
|
|
6550
|
-
}), (A,
|
|
6558
|
+
}), (A, u) => {
|
|
6551
6559
|
const f = Ea;
|
|
6552
|
-
return
|
|
6553
|
-
e.opened ? (
|
|
6560
|
+
return d(), p(Kt, { to: "body" }, [
|
|
6561
|
+
e.opened ? (d(), p(l(iA), { key: 0 }, {
|
|
6554
6562
|
default: G(() => [
|
|
6555
6563
|
g("dialog", {
|
|
6556
6564
|
id: l(i),
|
|
@@ -6561,18 +6569,18 @@ const nA = {
|
|
|
6561
6569
|
role: l(r),
|
|
6562
6570
|
class: j(["av-modal", { "av-modal--opened": e.opened }]),
|
|
6563
6571
|
open: e.opened,
|
|
6564
|
-
onKeydown:
|
|
6572
|
+
onKeydown: u[2] || (u[2] = Ae((C) => a("close"), ["esc"]))
|
|
6565
6573
|
}, [
|
|
6566
6574
|
g("div", rA, [
|
|
6567
6575
|
g("div", oA, [
|
|
6568
6576
|
g("div", sA, [
|
|
6569
6577
|
g("div", cA, [
|
|
6570
|
-
n.header ? (
|
|
6578
|
+
n.header ? (d(), I("div", AA, [
|
|
6571
6579
|
P(A.$slots, "header", {}, void 0, !0)
|
|
6572
6580
|
])) : D("", !0),
|
|
6573
6581
|
P(A.$slots, "default", {}, void 0, !0)
|
|
6574
6582
|
]),
|
|
6575
|
-
g("div",
|
|
6583
|
+
g("div", dA, [
|
|
6576
6584
|
W(f, {
|
|
6577
6585
|
ref_key: "closeBtn",
|
|
6578
6586
|
ref: o,
|
|
@@ -6584,8 +6592,8 @@ const nA = {
|
|
|
6584
6592
|
"confirm-icon": e.confirmButtonIcon,
|
|
6585
6593
|
"confirm-disabled": e.confirmButtonDisabled,
|
|
6586
6594
|
"confirm-is-loading": e.isLoading,
|
|
6587
|
-
onCancel:
|
|
6588
|
-
onConfirm:
|
|
6595
|
+
onCancel: u[0] || (u[0] = () => a("close")),
|
|
6596
|
+
onConfirm: u[1] || (u[1] = () => a("confirm"))
|
|
6589
6597
|
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
6590
6598
|
P(A.$slots, "footer", {}, void 0, !0)
|
|
6591
6599
|
])
|
|
@@ -6599,7 +6607,7 @@ const nA = {
|
|
|
6599
6607
|
]);
|
|
6600
6608
|
};
|
|
6601
6609
|
}
|
|
6602
|
-
}), ZA = /* @__PURE__ */ z(
|
|
6610
|
+
}), ZA = /* @__PURE__ */ z(uA, [["__scopeId", "data-v-bcc71ae5"]]);
|
|
6603
6611
|
export {
|
|
6604
6612
|
ai as AV_BREAKPOINTS,
|
|
6605
6613
|
CA as AvAccordion,
|