@avenirs-esr/avenirs-dsav 0.1.124 → 0.1.126
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/AvSelect/AvSelect.stories.d.ts +5 -0
- package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +4 -0
- package/dist/components/interaction/selects/AvSelect/AvSelect.vue.d.ts +4 -0
- package/dist/components/interaction/selects/index.d.ts +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +476 -465
- package/dist/test-utils.cjs.js +5 -5
- package/dist/test-utils.es.js +7 -5
- package/package.json +1 -1
- package/src/styles/components/_form.scss +2 -2
- package/src/styles/utilities/_spacing.scss +12 -4
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, useCssVars as re, computed as I, createElementBlock as b, openBlock as d, normalizeStyle as de, normalizeClass as Q, unref as r, createElementVNode as M, toDisplayString as W, createPropsRestProxy as Ba, createBlock as S, resolveDynamicComponent as he, mergeProps as _, withCtx as K, createCommentVNode as L, createVNode as
|
|
1
|
+
import { defineComponent as p, useCssVars as re, computed as I, createElementBlock as b, openBlock as d, normalizeStyle as de, normalizeClass as Q, unref as r, createElementVNode as M, toDisplayString as W, createPropsRestProxy as Ba, createBlock as S, resolveDynamicComponent as he, mergeProps as _, withCtx as K, createCommentVNode as L, createVNode as U, Fragment as $, renderList as ie, useSlots as me, createTextVNode as Le, renderSlot as V, ref as z, normalizeProps as Pa, withDirectives as Et, vShow as $t, TransitionGroup as Wa, onMounted as ve, watch as se, onUnmounted as ge, Comment as Ua, cloneVNode as Va, toRefs as _t, withModifiers as ue, inject as it, toRef as ea, provide as Nt, nextTick as rt, getCurrentScope as Ha, onScopeDispose as Ra, getCurrentInstance as Tt, hasInjectionContext as Dt, isRef as Lt, toValue as le, shallowRef as Ee, reactive as bt, watchEffect as Za, onBeforeUnmount as ta, Teleport as aa, withKeys as Ae, mergeModels as ye, useModel as we, vModelCheckbox as Ya, useAttrs as Xa, createSlots as Je, useTemplateRef as qa, resolveComponent as wt } from "vue";
|
|
2
2
|
import { r as na } from "./injection-key.es.js";
|
|
3
3
|
const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
4
4
|
__name: "AvBadge",
|
|
@@ -45,7 +45,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
45
45
|
for (const [n, l] of t)
|
|
46
46
|
a[n] = l;
|
|
47
47
|
return a;
|
|
48
|
-
},
|
|
48
|
+
}, WA = /* @__PURE__ */ P(Ka, [["__scopeId", "data-v-bc1cb35e"]]), Ga = ["title"], Ja = /* @__PURE__ */ p({
|
|
49
49
|
__name: "AvIcon",
|
|
50
50
|
props: {
|
|
51
51
|
size: { default: 1 },
|
|
@@ -207,7 +207,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
207
207
|
WARNING_CIRCLE: "mdi:warning-circle",
|
|
208
208
|
WARNING_OUTLINE: "mdi:warning-outline",
|
|
209
209
|
WEIGHTS: "mdi:weights"
|
|
210
|
-
},
|
|
210
|
+
}, UA = {
|
|
211
211
|
DICE_1_LINE: "ri:dice-1-line",
|
|
212
212
|
DICE_4_LINE: "ri:dice-4-line",
|
|
213
213
|
HAND_HEART_LINE: "ri:hand-heart-line",
|
|
@@ -302,7 +302,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
302
302
|
return (l, i) => (d(), b("div", {
|
|
303
303
|
class: Q(["icon-text--container av-row av-align-center", [r(a)]])
|
|
304
304
|
}, [
|
|
305
|
-
|
|
305
|
+
U(ne, {
|
|
306
306
|
class: "icon-text--icon",
|
|
307
307
|
name: e.icon,
|
|
308
308
|
color: e.iconColor,
|
|
@@ -403,14 +403,14 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
403
403
|
class: Q(["av-fieldset__legend av-w-full av-pb-xs", e.legendClass])
|
|
404
404
|
}, [
|
|
405
405
|
Le(W(e.legend) + " ", 1),
|
|
406
|
-
|
|
406
|
+
V(n.$slots, "legend", {}, void 0, !0)
|
|
407
407
|
], 10, ln)) : L("", !0),
|
|
408
408
|
e.hint || t.hint ? (d(), b("div", rn, [
|
|
409
409
|
M("span", {
|
|
410
410
|
class: Q(["av-hint-text", e.hintClass])
|
|
411
411
|
}, [
|
|
412
412
|
Le(W(e.hint) + " ", 1),
|
|
413
|
-
|
|
413
|
+
V(n.$slots, "hint", {}, void 0, !0)
|
|
414
414
|
], 2),
|
|
415
415
|
e.required ? (d(), b("span", on, " *")) : L("", !0)
|
|
416
416
|
])) : L("", !0),
|
|
@@ -420,9 +420,9 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
420
420
|
"av-row av-row-wrap av-justify-start": e.inline
|
|
421
421
|
}])
|
|
422
422
|
}, [
|
|
423
|
-
|
|
423
|
+
V(n.$slots, "default", {}, void 0, !0)
|
|
424
424
|
], 2),
|
|
425
|
-
|
|
425
|
+
U(i, {
|
|
426
426
|
type: e.errorMessage ? "error" : "success",
|
|
427
427
|
message: r(a)
|
|
428
428
|
}, null, 8, ["type", "message"])
|
|
@@ -441,7 +441,7 @@ const Fa = ["title"], Ka = /* @__PURE__ */ p({
|
|
|
441
441
|
"av-fieldset__element--disabled": e.disabled
|
|
442
442
|
}])
|
|
443
443
|
}, [
|
|
444
|
-
|
|
444
|
+
V(t.$slots, "default", {}, void 0, !0)
|
|
445
445
|
], 2));
|
|
446
446
|
}
|
|
447
447
|
}), ia = /* @__PURE__ */ P(cn, [["__scopeId", "data-v-06db26e9"]]);
|
|
@@ -475,7 +475,7 @@ const dn = { class: "b2-bold" }, fn = { class: "b2-regular" }, vn = ["innerHTML"
|
|
|
475
475
|
return d(), b("div", {
|
|
476
476
|
class: Q(["av-notice av-row av-align-center av-gap-sm av-p-sm", `av-notice--${e.type}`])
|
|
477
477
|
}, [
|
|
478
|
-
|
|
478
|
+
U(i, _(r(a), { size: 1.5 }), null, 16),
|
|
479
479
|
M("span", dn, [
|
|
480
480
|
Le(W(e.title) + " ", 1),
|
|
481
481
|
M("span", fn, [
|
|
@@ -485,11 +485,11 @@ const dn = { class: "b2-bold" }, fn = { class: "b2-regular" }, vn = ["innerHTML"
|
|
|
485
485
|
], 2);
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
|
-
}),
|
|
488
|
+
}), VA = /* @__PURE__ */ P(mn, [["__scopeId", "data-v-4d37ebd3"]]);
|
|
489
489
|
function gn(e) {
|
|
490
490
|
return [...new Set(e)];
|
|
491
491
|
}
|
|
492
|
-
function
|
|
492
|
+
function HA(e) {
|
|
493
493
|
return /^[^\s@]+@[^\s.@]+\.[^\s@]+$/.test(e);
|
|
494
494
|
}
|
|
495
495
|
const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE__ */ p({
|
|
@@ -635,7 +635,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
635
635
|
}]),
|
|
636
636
|
style: de({ background: e.titleBackground, minHeight: e.titleHeight, maxHeight: e.titleHeight })
|
|
637
637
|
}, [
|
|
638
|
-
|
|
638
|
+
V(A.$slots, "title", {}, void 0, !0),
|
|
639
639
|
e.collapsible ? (d(), S(f, {
|
|
640
640
|
key: 0,
|
|
641
641
|
ref_key: "buttonRef",
|
|
@@ -654,12 +654,12 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
654
654
|
"aria-hidden": e.collapsible && r(a),
|
|
655
655
|
class: Q(["av-card__content-collapsible av-col av-justify-between av-h-full av-gap-sm", { "av-pt-sm": !!t.title }])
|
|
656
656
|
}, [
|
|
657
|
-
|
|
657
|
+
V(A.$slots, "default", {}, void 0, !0),
|
|
658
658
|
t.body ? (d(), b("div", yn, [
|
|
659
|
-
|
|
659
|
+
V(A.$slots, "body", {}, void 0, !0)
|
|
660
660
|
])) : L("", !0),
|
|
661
661
|
t.footer ? (d(), b("div", Cn, [
|
|
662
|
-
|
|
662
|
+
V(A.$slots, "footer", {}, void 0, !0)
|
|
663
663
|
])) : L("", !0)
|
|
664
664
|
], 10, hn)), [
|
|
665
665
|
[$t, !e.collapsible || !r(a)]
|
|
@@ -667,10 +667,10 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
667
667
|
], 38);
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
|
-
}),
|
|
670
|
+
}), RA = /* @__PURE__ */ P(Mn, [["__scopeId", "data-v-f24c73d5"]]), En = ["id", "role"], Nn = { class: "av-alert__container av-row av-align-center av-justify-between av-w-full av-gap-md" }, Tn = { class: "av-alert__content av-row av-align-center av-gap-sm" }, Dn = { class: "av-alert__title" }, Ln = {
|
|
671
671
|
key: 0,
|
|
672
672
|
class: "s2-bold"
|
|
673
|
-
}, wn = { class: "b1-regular" },
|
|
673
|
+
}, wn = { class: "b1-regular" }, xn = /* @__PURE__ */ p({
|
|
674
674
|
__name: "AvAlert",
|
|
675
675
|
props: {
|
|
676
676
|
closed: { type: Boolean },
|
|
@@ -713,10 +713,10 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
713
713
|
}, [
|
|
714
714
|
M("div", Nn, [
|
|
715
715
|
M("div", Tn, [
|
|
716
|
-
|
|
716
|
+
U(ne, _(r(o), { size: 3 }), null, 16),
|
|
717
717
|
M("div", Dn, [
|
|
718
718
|
e.small ? L("", !0) : (d(), b("span", Ln, W(e.title), 1)),
|
|
719
|
-
|
|
719
|
+
V(c.$slots, "default", {}, () => [
|
|
720
720
|
M("span", wn, W(e.description), 1)
|
|
721
721
|
], !0)
|
|
722
722
|
])
|
|
@@ -732,7 +732,7 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
732
732
|
])
|
|
733
733
|
], 10, En));
|
|
734
734
|
}
|
|
735
|
-
}),
|
|
735
|
+
}), On = /* @__PURE__ */ P(xn, [["__scopeId", "data-v-8d8544c0"]]), Sn = { class: "toaster-container" }, pn = /* @__PURE__ */ p({
|
|
736
736
|
__name: "AvToaster",
|
|
737
737
|
props: {
|
|
738
738
|
messages: {},
|
|
@@ -756,14 +756,14 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
758
|
return (n, l) => (d(), b("div", Sn, [
|
|
759
|
-
|
|
759
|
+
U(Wa, {
|
|
760
760
|
mode: "out-in",
|
|
761
761
|
name: "list",
|
|
762
762
|
tag: "div",
|
|
763
763
|
class: "toasters av-col av-align-center"
|
|
764
764
|
}, {
|
|
765
765
|
default: K(() => [
|
|
766
|
-
(d(!0), b($, null, ie(e.messages, (i) => (d(), S(
|
|
766
|
+
(d(!0), b($, null, ie(e.messages, (i) => (d(), S(On, _({
|
|
767
767
|
key: i.id,
|
|
768
768
|
class: ["av-toaster", t(i.type)]
|
|
769
769
|
}, { ref_for: !0 }, i, {
|
|
@@ -775,12 +775,12 @@ const In = ["title", "aria-label", "aria-disabled", "disabled"], bn = /* @__PURE
|
|
|
775
775
|
})
|
|
776
776
|
]));
|
|
777
777
|
}
|
|
778
|
-
}),
|
|
778
|
+
}), ZA = /* @__PURE__ */ P(pn, [["__scopeId", "data-v-cfd2bdbb"]]);
|
|
779
779
|
/*!
|
|
780
780
|
* tabbable 6.2.0
|
|
781
781
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
782
782
|
*/
|
|
783
|
-
var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], _e = /* @__PURE__ */ ra.join(","), oa = typeof Element > "u",
|
|
783
|
+
var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], _e = /* @__PURE__ */ ra.join(","), oa = typeof Element > "u", xe = oa ? function() {
|
|
784
784
|
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, et = !oa && Element.prototype.getRootNode ? function(e) {
|
|
785
785
|
var t;
|
|
786
786
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
@@ -798,7 +798,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
798
798
|
if (tt(t))
|
|
799
799
|
return [];
|
|
800
800
|
var l = Array.prototype.slice.apply(t.querySelectorAll(_e));
|
|
801
|
-
return a &&
|
|
801
|
+
return a && xe.call(t, _e) && l.unshift(t), l = l.filter(n), l;
|
|
802
802
|
}, ca = function e(t, a, n) {
|
|
803
803
|
for (var l = [], i = Array.from(t); i.length; ) {
|
|
804
804
|
var o = i.shift();
|
|
@@ -810,7 +810,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
810
810
|
candidates: A
|
|
811
811
|
});
|
|
812
812
|
} else {
|
|
813
|
-
var u =
|
|
813
|
+
var u = xe.call(o, _e);
|
|
814
814
|
u && n.filter(o) && (a || !t.includes(o)) && l.push(o);
|
|
815
815
|
var f = o.shadowRoot || // check for an undisclosed shadow
|
|
816
816
|
typeof n.getShadowRoot == "function" && n.getShadowRoot(o), g = !tt(f, !1) && (!n.shadowRootFilter || n.shadowRootFilter(o));
|
|
@@ -886,8 +886,8 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
886
886
|
var n = a.displayCheck, l = a.getShadowRoot;
|
|
887
887
|
if (getComputedStyle(t).visibility === "hidden")
|
|
888
888
|
return !0;
|
|
889
|
-
var i =
|
|
890
|
-
if (
|
|
889
|
+
var i = xe.call(t, "details>summary:first-of-type"), o = i ? t.parentElement : t;
|
|
890
|
+
if (xe.call(o, "details:not([open]) *"))
|
|
891
891
|
return !0;
|
|
892
892
|
if (!n || n === "full" || n === "legacy-full") {
|
|
893
893
|
if (typeof l == "function") {
|
|
@@ -913,7 +913,7 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
913
913
|
for (var n = 0; n < a.children.length; n++) {
|
|
914
914
|
var l = a.children.item(n);
|
|
915
915
|
if (l.tagName === "LEGEND")
|
|
916
|
-
return
|
|
916
|
+
return xe.call(a, "fieldset[disabled] *") ? !0 : !l.contains(t);
|
|
917
917
|
}
|
|
918
918
|
return !0;
|
|
919
919
|
}
|
|
@@ -962,14 +962,14 @@ var ra = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
962
962
|
flatten: !0,
|
|
963
963
|
getShadowRoot: a.getShadowRoot
|
|
964
964
|
}) : n = sa(t, a.includeContainer, at.bind(null, a)), n;
|
|
965
|
-
},
|
|
965
|
+
}, Oe = function(t, a) {
|
|
966
966
|
if (a = a || {}, !t)
|
|
967
967
|
throw new Error("No node provided");
|
|
968
|
-
return
|
|
968
|
+
return xe.call(t, _e) === !1 ? !1 : ht(a, t);
|
|
969
969
|
}, Kn = /* @__PURE__ */ ra.concat("iframe").join(","), ft = function(t, a) {
|
|
970
970
|
if (a = a || {}, !t)
|
|
971
971
|
throw new Error("No node provided");
|
|
972
|
-
return
|
|
972
|
+
return xe.call(t, Kn) === !1 ? !1 : at(a, t);
|
|
973
973
|
};
|
|
974
974
|
/*!
|
|
975
975
|
* focus-trap 7.6.5
|
|
@@ -1118,22 +1118,22 @@ var jt = {
|
|
|
1118
1118
|
delayInitialFocusTimer: void 0,
|
|
1119
1119
|
// the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
|
|
1120
1120
|
recentNavEvent: void 0
|
|
1121
|
-
}, s, c = function(y, E,
|
|
1122
|
-
return y && y[E] !== void 0 ? y[E] : i[
|
|
1121
|
+
}, s, c = function(y, E, O) {
|
|
1122
|
+
return y && y[E] !== void 0 ? y[E] : i[O || E];
|
|
1123
1123
|
}, A = function(y, E) {
|
|
1124
|
-
var
|
|
1124
|
+
var O = typeof (E == null ? void 0 : E.composedPath) == "function" ? E.composedPath() : void 0;
|
|
1125
1125
|
return o.containerGroups.findIndex(function(X) {
|
|
1126
1126
|
var q = X.container, J = X.tabbableNodes;
|
|
1127
1127
|
return q.contains(y) || // fall back to explicit tabbable search which will take into consideration any
|
|
1128
1128
|
// web components if the `tabbableOptions.getShadowRoot` option was used for
|
|
1129
1129
|
// the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
|
|
1130
1130
|
// look inside web components even if open)
|
|
1131
|
-
(
|
|
1131
|
+
(O == null ? void 0 : O.includes(q)) || J.find(function(Y) {
|
|
1132
1132
|
return Y === y;
|
|
1133
1133
|
});
|
|
1134
1134
|
});
|
|
1135
1135
|
}, u = function(y) {
|
|
1136
|
-
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
|
|
1136
|
+
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, O = E.hasFallback, X = O === void 0 ? !1 : O, q = E.params, J = q === void 0 ? [] : q, Y = i[y];
|
|
1137
1137
|
if (typeof Y == "function" && (Y = Y.apply(void 0, el(J))), Y === !0 && (Y = void 0), !Y) {
|
|
1138
1138
|
if (Y === void 0 || Y === !1)
|
|
1139
1139
|
return Y;
|
|
@@ -1160,8 +1160,8 @@ var jt = {
|
|
|
1160
1160
|
if (A(n.activeElement) >= 0)
|
|
1161
1161
|
y = n.activeElement;
|
|
1162
1162
|
else {
|
|
1163
|
-
var E = o.tabbableGroups[0],
|
|
1164
|
-
y =
|
|
1163
|
+
var E = o.tabbableGroups[0], O = E && E.firstTabbableNode;
|
|
1164
|
+
y = O || u("fallbackFocus");
|
|
1165
1165
|
}
|
|
1166
1166
|
else y === null && (y = u("fallbackFocus"));
|
|
1167
1167
|
if (!y)
|
|
@@ -1169,17 +1169,17 @@ var jt = {
|
|
|
1169
1169
|
return y;
|
|
1170
1170
|
}, g = function() {
|
|
1171
1171
|
if (o.containerGroups = o.containers.map(function(y) {
|
|
1172
|
-
var E = qn(y, i.tabbableOptions),
|
|
1173
|
-
return
|
|
1174
|
-
}), Y =
|
|
1175
|
-
return
|
|
1172
|
+
var E = qn(y, i.tabbableOptions), O = Fn(y, i.tabbableOptions), X = E.length > 0 ? E[0] : void 0, q = E.length > 0 ? E[E.length - 1] : void 0, J = O.find(function(ae) {
|
|
1173
|
+
return Oe(ae);
|
|
1174
|
+
}), Y = O.slice().reverse().find(function(ae) {
|
|
1175
|
+
return Oe(ae);
|
|
1176
1176
|
}), ee = !!E.find(function(ae) {
|
|
1177
1177
|
return De(ae) > 0;
|
|
1178
1178
|
});
|
|
1179
1179
|
return {
|
|
1180
1180
|
container: y,
|
|
1181
1181
|
tabbableNodes: E,
|
|
1182
|
-
focusableNodes:
|
|
1182
|
+
focusableNodes: O,
|
|
1183
1183
|
/** True if at least one node with positive `tabindex` was found in this container. */
|
|
1184
1184
|
posTabIndexesFound: ee,
|
|
1185
1185
|
/** First tabbable node in container, __tabindex__ order; `undefined` if none. */
|
|
@@ -1207,10 +1207,10 @@ var jt = {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
nextTabbableNode: function(Ne) {
|
|
1209
1209
|
var je = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, Ce = E.indexOf(Ne);
|
|
1210
|
-
return Ce < 0 ? je ?
|
|
1211
|
-
return
|
|
1212
|
-
}) :
|
|
1213
|
-
return
|
|
1210
|
+
return Ce < 0 ? je ? O.slice(O.indexOf(Ne) + 1).find(function(ze) {
|
|
1211
|
+
return Oe(ze);
|
|
1212
|
+
}) : O.slice(0, O.indexOf(Ne)).reverse().find(function(ze) {
|
|
1213
|
+
return Oe(ze);
|
|
1214
1214
|
}) : E[Ce + (je ? 1 : -1)];
|
|
1215
1215
|
}
|
|
1216
1216
|
};
|
|
@@ -1242,11 +1242,11 @@ var jt = {
|
|
|
1242
1242
|
});
|
|
1243
1243
|
return E || (E === !1 ? !1 : y);
|
|
1244
1244
|
}, N = function(y) {
|
|
1245
|
-
var E = y.target,
|
|
1246
|
-
E = E || Ke(
|
|
1245
|
+
var E = y.target, O = y.event, X = y.isBackward, q = X === void 0 ? !1 : X;
|
|
1246
|
+
E = E || Ke(O), g();
|
|
1247
1247
|
var J = null;
|
|
1248
1248
|
if (o.tabbableGroups.length > 0) {
|
|
1249
|
-
var Y = A(E,
|
|
1249
|
+
var Y = A(E, O), ee = Y >= 0 ? o.containerGroups[Y] : void 0;
|
|
1250
1250
|
if (Y < 0)
|
|
1251
1251
|
q ? J = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : J = o.tabbableGroups[0].firstTabbableNode;
|
|
1252
1252
|
else if (q) {
|
|
@@ -1254,19 +1254,19 @@ var jt = {
|
|
|
1254
1254
|
var dt = ut.firstTabbableNode;
|
|
1255
1255
|
return E === dt;
|
|
1256
1256
|
});
|
|
1257
|
-
if (ae < 0 && (ee.container === E || ft(E, i.tabbableOptions) && !
|
|
1257
|
+
if (ae < 0 && (ee.container === E || ft(E, i.tabbableOptions) && !Oe(E, i.tabbableOptions) && !ee.nextTabbableNode(E, !1)) && (ae = Y), ae >= 0) {
|
|
1258
1258
|
var Ne = ae === 0 ? o.tabbableGroups.length - 1 : ae - 1, je = o.tabbableGroups[Ne];
|
|
1259
1259
|
J = De(E) >= 0 ? je.lastTabbableNode : je.lastDomTabbableNode;
|
|
1260
|
-
} else Re(
|
|
1260
|
+
} else Re(O) || (J = ee.nextTabbableNode(E, !1));
|
|
1261
1261
|
} else {
|
|
1262
1262
|
var Ce = o.tabbableGroups.findIndex(function(ut) {
|
|
1263
1263
|
var dt = ut.lastTabbableNode;
|
|
1264
1264
|
return E === dt;
|
|
1265
1265
|
});
|
|
1266
|
-
if (Ce < 0 && (ee.container === E || ft(E, i.tabbableOptions) && !
|
|
1266
|
+
if (Ce < 0 && (ee.container === E || ft(E, i.tabbableOptions) && !Oe(E, i.tabbableOptions) && !ee.nextTabbableNode(E)) && (Ce = Y), Ce >= 0) {
|
|
1267
1267
|
var ze = Ce === o.tabbableGroups.length - 1 ? 0 : Ce + 1, St = o.tabbableGroups[ze];
|
|
1268
1268
|
J = De(E) >= 0 ? St.firstTabbableNode : St.firstDomTabbableNode;
|
|
1269
|
-
} else Re(
|
|
1269
|
+
} else Re(O) || (J = ee.nextTabbableNode(E));
|
|
1270
1270
|
}
|
|
1271
1271
|
} else
|
|
1272
1272
|
J = u("fallbackFocus");
|
|
@@ -1289,9 +1289,9 @@ var jt = {
|
|
|
1289
1289
|
Be(i.allowOutsideClick, y) || y.preventDefault();
|
|
1290
1290
|
}
|
|
1291
1291
|
}, T = function(y) {
|
|
1292
|
-
var E = Ke(y),
|
|
1293
|
-
if (
|
|
1294
|
-
|
|
1292
|
+
var E = Ke(y), O = A(E, y) >= 0;
|
|
1293
|
+
if (O || E instanceof Document)
|
|
1294
|
+
O && (o.mostRecentlyFocusedNode = E);
|
|
1295
1295
|
else {
|
|
1296
1296
|
y.stopImmediatePropagation();
|
|
1297
1297
|
var X, q = !0;
|
|
@@ -1323,11 +1323,11 @@ var jt = {
|
|
|
1323
1323
|
}, D = function(y) {
|
|
1324
1324
|
var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
1325
1325
|
o.recentNavEvent = y;
|
|
1326
|
-
var
|
|
1326
|
+
var O = N({
|
|
1327
1327
|
event: y,
|
|
1328
1328
|
isBackward: E
|
|
1329
1329
|
});
|
|
1330
|
-
|
|
1330
|
+
O && (Re(y) && y.preventDefault(), v(O));
|
|
1331
1331
|
}, w = function(y) {
|
|
1332
1332
|
(i.isKeyForward(y) || i.isKeyBackward(y)) && D(y, i.isKeyBackward(y));
|
|
1333
1333
|
}, B = function(y) {
|
|
@@ -1356,14 +1356,14 @@ var jt = {
|
|
|
1356
1356
|
if (o.active)
|
|
1357
1357
|
return n.removeEventListener("focusin", T, !0), n.removeEventListener("mousedown", C, !0), n.removeEventListener("touchstart", C, !0), n.removeEventListener("click", Z, !0), n.removeEventListener("keydown", w, !0), n.removeEventListener("keydown", B), s;
|
|
1358
1358
|
}, k = function(y) {
|
|
1359
|
-
var E = y.some(function(
|
|
1360
|
-
var X = Array.from(
|
|
1359
|
+
var E = y.some(function(O) {
|
|
1360
|
+
var X = Array.from(O.removedNodes);
|
|
1361
1361
|
return X.some(function(q) {
|
|
1362
1362
|
return q === o.mostRecentlyFocusedNode;
|
|
1363
1363
|
});
|
|
1364
1364
|
});
|
|
1365
1365
|
E && v(f());
|
|
1366
|
-
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(k) : void 0,
|
|
1366
|
+
}, R = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(k) : void 0, x = function() {
|
|
1367
1367
|
R && (R.disconnect(), o.active && !o.paused && o.containers.map(function(y) {
|
|
1368
1368
|
R.observe(y, {
|
|
1369
1369
|
subtree: !0,
|
|
@@ -1381,10 +1381,10 @@ var jt = {
|
|
|
1381
1381
|
activate: function(y) {
|
|
1382
1382
|
if (o.active)
|
|
1383
1383
|
return this;
|
|
1384
|
-
var E = c(y, "onActivate"),
|
|
1384
|
+
var E = c(y, "onActivate"), O = c(y, "onPostActivate"), X = c(y, "checkCanFocusTrap");
|
|
1385
1385
|
X || g(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = m(n), E == null || E();
|
|
1386
1386
|
var q = function() {
|
|
1387
|
-
X && g(), F(),
|
|
1387
|
+
X && g(), F(), x(), O == null || O();
|
|
1388
1388
|
};
|
|
1389
1389
|
return X ? (X(o.containers.concat()).then(q, q), this) : (q(), this);
|
|
1390
1390
|
},
|
|
@@ -1396,9 +1396,9 @@ var jt = {
|
|
|
1396
1396
|
onPostDeactivate: i.onPostDeactivate,
|
|
1397
1397
|
checkCanReturnFocus: i.checkCanReturnFocus
|
|
1398
1398
|
}, y);
|
|
1399
|
-
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1,
|
|
1400
|
-
var
|
|
1401
|
-
|
|
1399
|
+
clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, te(), o.active = !1, o.paused = !1, x(), jt.deactivateTrap(l, s);
|
|
1400
|
+
var O = c(E, "onDeactivate"), X = c(E, "onPostDeactivate"), q = c(E, "checkCanReturnFocus"), J = c(E, "returnFocus", "returnFocusOnDeactivate");
|
|
1401
|
+
O == null || O();
|
|
1402
1402
|
var Y = function() {
|
|
1403
1403
|
zt(function() {
|
|
1404
1404
|
J && v(h(o.nodeFocusedBeforeActivation)), X == null || X();
|
|
@@ -1414,9 +1414,9 @@ var jt = {
|
|
|
1414
1414
|
},
|
|
1415
1415
|
updateContainerElements: function(y) {
|
|
1416
1416
|
var E = [].concat(y).filter(Boolean);
|
|
1417
|
-
return o.containers = E.map(function(
|
|
1418
|
-
return typeof
|
|
1419
|
-
}), o.active && g(),
|
|
1417
|
+
return o.containers = E.map(function(O) {
|
|
1418
|
+
return typeof O == "string" ? n.querySelector(O) : O;
|
|
1419
|
+
}), o.active && g(), x(), this;
|
|
1420
1420
|
}
|
|
1421
1421
|
}, Object.defineProperties(s, {
|
|
1422
1422
|
_isManuallyPaused: {
|
|
@@ -1429,11 +1429,11 @@ var jt = {
|
|
|
1429
1429
|
if (o.paused === y)
|
|
1430
1430
|
return this;
|
|
1431
1431
|
if (o.paused = y, y) {
|
|
1432
|
-
var
|
|
1433
|
-
|
|
1432
|
+
var O = c(E, "onPause"), X = c(E, "onPostPause");
|
|
1433
|
+
O == null || O(), te(), x(), X == null || X();
|
|
1434
1434
|
} else {
|
|
1435
1435
|
var q = c(E, "onUnpause"), J = c(E, "onPostUnpause");
|
|
1436
|
-
q == null || q(), g(), F(),
|
|
1436
|
+
q == null || q(), g(), F(), x(), J == null || J();
|
|
1437
1437
|
}
|
|
1438
1438
|
return this;
|
|
1439
1439
|
}
|
|
@@ -1594,7 +1594,7 @@ const ul = { key: 0 }, dl = ["aria-label"], fl = { class: "av-drawer__content-wr
|
|
|
1594
1594
|
onTouchmove: v[1] || (v[1] = ue(() => {
|
|
1595
1595
|
}, ["prevent"]))
|
|
1596
1596
|
}, null, 32)) : L("", !0),
|
|
1597
|
-
|
|
1597
|
+
U(r(fa), {
|
|
1598
1598
|
"initial-focus": "drawerRef",
|
|
1599
1599
|
onDeactivate: v[5] || (v[5] = (h) => n("escapePressed"))
|
|
1600
1600
|
}, {
|
|
@@ -1616,10 +1616,10 @@ const ul = { key: 0 }, dl = ["aria-label"], fl = { class: "av-drawer__content-wr
|
|
|
1616
1616
|
}, [
|
|
1617
1617
|
M("div", fl, [
|
|
1618
1618
|
M("div", vl, [
|
|
1619
|
-
|
|
1619
|
+
V(m.$slots, "default", {}, void 0, !0)
|
|
1620
1620
|
]),
|
|
1621
1621
|
l.footer ? (d(), b("div", ml, [
|
|
1622
|
-
|
|
1622
|
+
V(m.$slots, "footer", {}, void 0, !0)
|
|
1623
1623
|
])) : L("", !0)
|
|
1624
1624
|
])
|
|
1625
1625
|
], 42, dl)
|
|
@@ -1728,17 +1728,17 @@ const bl = { class: "av-accordion" }, hl = ["id", "aria-expanded", "aria-control
|
|
|
1728
1728
|
onTransitionend: C[2] || (C[2] = (D) => r(i)(r(f), !1))
|
|
1729
1729
|
}, [
|
|
1730
1730
|
M("div", El, [
|
|
1731
|
-
|
|
1731
|
+
V(N.$slots, "default", {}, void 0, !0)
|
|
1732
1732
|
])
|
|
1733
1733
|
], 42, Ml)
|
|
1734
1734
|
]);
|
|
1735
1735
|
};
|
|
1736
1736
|
}
|
|
1737
|
-
}),
|
|
1737
|
+
}), YA = /* @__PURE__ */ P(Nl, [["__scopeId", "data-v-6b17a367"]]), Tl = {
|
|
1738
1738
|
class: "av-accordions-group",
|
|
1739
1739
|
role: "group",
|
|
1740
1740
|
"aria-label": "Accordion group"
|
|
1741
|
-
},
|
|
1741
|
+
}, XA = /* @__PURE__ */ p({
|
|
1742
1742
|
__name: "AvAccordionsGroup",
|
|
1743
1743
|
props: {
|
|
1744
1744
|
activeAccordion: {}
|
|
@@ -1802,7 +1802,7 @@ const bl = { class: "av-accordion" }, hl = ["id", "aria-expanded", "aria-control
|
|
|
1802
1802
|
i.value.delete(g);
|
|
1803
1803
|
}), { isActive: m, expand: v, onKeydown: h, setTriggerRef: N };
|
|
1804
1804
|
}), (f, g) => (d(), b("div", Tl, [
|
|
1805
|
-
|
|
1805
|
+
V(f.$slots, "default")
|
|
1806
1806
|
]));
|
|
1807
1807
|
}
|
|
1808
1808
|
});
|
|
@@ -1845,7 +1845,7 @@ const vt = /* @__PURE__ */ new WeakMap(), Ll = /* @__NO_SIDE_EFFECTS__ */ (...e)
|
|
|
1845
1845
|
return n && vt.has(n) && a in vt.get(n) ? vt.get(n)[a] : it(...e);
|
|
1846
1846
|
}, wl = typeof window < "u" && typeof document < "u";
|
|
1847
1847
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1848
|
-
const
|
|
1848
|
+
const xl = (e) => e != null, Ol = Object.prototype.toString, Sl = (e) => Ol.call(e) === "[object Object]", ke = () => {
|
|
1849
1849
|
};
|
|
1850
1850
|
function ma(e, t) {
|
|
1851
1851
|
function a(...n) {
|
|
@@ -1931,7 +1931,7 @@ function Pl(e, t, a) {
|
|
|
1931
1931
|
);
|
|
1932
1932
|
}
|
|
1933
1933
|
const Fe = wl ? window : void 0;
|
|
1934
|
-
function
|
|
1934
|
+
function xt(e) {
|
|
1935
1935
|
var t;
|
|
1936
1936
|
const a = le(e);
|
|
1937
1937
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
@@ -1946,7 +1946,7 @@ function Ct(...e) {
|
|
|
1946
1946
|
() => {
|
|
1947
1947
|
var s, c;
|
|
1948
1948
|
return [
|
|
1949
|
-
(c = (s = l.value) == null ? void 0 : s.map((A) =>
|
|
1949
|
+
(c = (s = l.value) == null ? void 0 : s.map((A) => xt(A))) != null ? c : [Fe].filter((A) => A != null),
|
|
1950
1950
|
$e(le(l.value ? e[1] : e[0])),
|
|
1951
1951
|
$e(r(l.value ? e[2] : e[1])),
|
|
1952
1952
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -1989,7 +1989,7 @@ function Ul(e, t, a = {}) {
|
|
|
1989
1989
|
const o = /* @__PURE__ */ Ia(() => n && "MutationObserver" in n), s = () => {
|
|
1990
1990
|
i && (i.disconnect(), i = void 0);
|
|
1991
1991
|
}, c = I(() => {
|
|
1992
|
-
const g = le(e), m = $e(g).map(
|
|
1992
|
+
const g = le(e), m = $e(g).map(xt).filter(xl);
|
|
1993
1993
|
return new Set(m);
|
|
1994
1994
|
}), A = se(
|
|
1995
1995
|
c,
|
|
@@ -2127,18 +2127,18 @@ function Rl(e, t = {}) {
|
|
|
2127
2127
|
}
|
|
2128
2128
|
});
|
|
2129
2129
|
function C(k, R) {
|
|
2130
|
-
var
|
|
2130
|
+
var x, j, y, E;
|
|
2131
2131
|
if (!u)
|
|
2132
2132
|
return;
|
|
2133
|
-
const
|
|
2134
|
-
if (!
|
|
2133
|
+
const O = le(e);
|
|
2134
|
+
if (!O)
|
|
2135
2135
|
return;
|
|
2136
|
-
(y =
|
|
2137
|
-
top: (
|
|
2136
|
+
(y = O instanceof Document ? u.document.body : O) == null || y.scrollTo({
|
|
2137
|
+
top: (x = le(R)) != null ? x : N.value,
|
|
2138
2138
|
left: (j = le(k)) != null ? j : h.value,
|
|
2139
2139
|
behavior: le(A)
|
|
2140
2140
|
});
|
|
2141
|
-
const X = ((E =
|
|
2141
|
+
const X = ((E = O == null ? void 0 : O.document) == null ? void 0 : E.documentElement) || (O == null ? void 0 : O.documentElement) || O;
|
|
2142
2142
|
h != null && (m.value = X.scrollLeft), N != null && (v.value = X.scrollTop);
|
|
2143
2143
|
}
|
|
2144
2144
|
const T = Ee(!1), D = bt({
|
|
@@ -2157,20 +2157,20 @@ function Rl(e, t = {}) {
|
|
|
2157
2157
|
var R;
|
|
2158
2158
|
if (!u)
|
|
2159
2159
|
return;
|
|
2160
|
-
const
|
|
2160
|
+
const x = ((R = k == null ? void 0 : k.document) == null ? void 0 : R.documentElement) || (k == null ? void 0 : k.documentElement) || xt(k), { display: j, flexDirection: y, direction: E } = getComputedStyle(x), O = E === "rtl" ? -1 : 1, X = x.scrollLeft;
|
|
2161
2161
|
w.left = X < m.value, w.right = X > m.value;
|
|
2162
|
-
const q = Math.abs(X *
|
|
2162
|
+
const q = Math.abs(X * O) <= (o.left || 0), J = Math.abs(X * O) + x.clientWidth >= x.scrollWidth - (o.right || 0) - Bt;
|
|
2163
2163
|
j === "flex" && y === "row-reverse" ? (D.left = J, D.right = q) : (D.left = q, D.right = J), m.value = X;
|
|
2164
|
-
let Y =
|
|
2164
|
+
let Y = x.scrollTop;
|
|
2165
2165
|
k === u.document && !Y && (Y = u.document.body.scrollTop), w.top = Y < v.value, w.bottom = Y > v.value;
|
|
2166
|
-
const ee = Math.abs(Y) <= (o.top || 0), ae = Math.abs(Y) +
|
|
2166
|
+
const ee = Math.abs(Y) <= (o.top || 0), ae = Math.abs(Y) + x.clientHeight >= x.scrollHeight - (o.bottom || 0) - Bt;
|
|
2167
2167
|
j === "flex" && y === "column-reverse" ? (D.top = ae, D.bottom = ee) : (D.top = ee, D.bottom = ae), v.value = Y;
|
|
2168
2168
|
}, te = (k) => {
|
|
2169
2169
|
var R;
|
|
2170
2170
|
if (!u)
|
|
2171
2171
|
return;
|
|
2172
|
-
const
|
|
2173
|
-
F(
|
|
2172
|
+
const x = (R = k.target.documentElement) != null ? R : k.target;
|
|
2173
|
+
F(x), T.value = !0, Z(k), i(k);
|
|
2174
2174
|
};
|
|
2175
2175
|
return Ct(
|
|
2176
2176
|
e,
|
|
@@ -2259,7 +2259,7 @@ function Yl(e, t) {
|
|
|
2259
2259
|
cleanupFocusTrap: l
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
2262
|
-
function
|
|
2262
|
+
function qA(e) {
|
|
2263
2263
|
ve(() => {
|
|
2264
2264
|
document.documentElement.style.setProperty("--global-background-color", e);
|
|
2265
2265
|
}), ge(() => {
|
|
@@ -2299,7 +2299,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2299
2299
|
ref: u,
|
|
2300
2300
|
class: "av-popover-trigger-wrapper"
|
|
2301
2301
|
}, [
|
|
2302
|
-
|
|
2302
|
+
V(f.$slots, "trigger", { toggle: r(o) }, void 0, !0)
|
|
2303
2303
|
]),
|
|
2304
2304
|
(d(), S(aa, { to: "body" }, [
|
|
2305
2305
|
r(l) ? (d(), b("div", {
|
|
@@ -2315,7 +2315,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2315
2315
|
["prevent"]
|
|
2316
2316
|
), ["esc"]))
|
|
2317
2317
|
}, [
|
|
2318
|
-
|
|
2318
|
+
V(f.$slots, "popover", { close: r(s) }, void 0, !0)
|
|
2319
2319
|
], 36)) : L("", !0)
|
|
2320
2320
|
]))
|
|
2321
2321
|
]));
|
|
@@ -2347,7 +2347,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2347
2347
|
padding: e.padding
|
|
2348
2348
|
}, {
|
|
2349
2349
|
trigger: K(({ toggle: o }) => [
|
|
2350
|
-
|
|
2350
|
+
U(oe, {
|
|
2351
2351
|
icon: e.triggerIcon,
|
|
2352
2352
|
label: e.triggerLabel || e.triggerAriaLabel,
|
|
2353
2353
|
"aria-label": e.triggerAriaLabel,
|
|
@@ -2409,7 +2409,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2409
2409
|
return (A, u) => {
|
|
2410
2410
|
const f = Jl;
|
|
2411
2411
|
return d(), b("nav", $l, [
|
|
2412
|
-
|
|
2412
|
+
U(f, {
|
|
2413
2413
|
id: r(l),
|
|
2414
2414
|
items: r(s),
|
|
2415
2415
|
title: e.title,
|
|
@@ -2452,7 +2452,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2452
2452
|
color: "var(--dark-background-primary1)",
|
|
2453
2453
|
size: 1.5
|
|
2454
2454
|
}, null, 8, ["name"])) : L("", !0),
|
|
2455
|
-
|
|
2455
|
+
V(t.$slots, "default", {}, void 0, !0)
|
|
2456
2456
|
]),
|
|
2457
2457
|
e.iconRight ? (d(), S(ne, {
|
|
2458
2458
|
key: 0,
|
|
@@ -2463,7 +2463,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2463
2463
|
])
|
|
2464
2464
|
], 8, _l));
|
|
2465
2465
|
}
|
|
2466
|
-
}),
|
|
2466
|
+
}), FA = /* @__PURE__ */ P(ai, [["__scopeId", "data-v-ff4425d7"]]), ni = ["id", "name", "value", "checked", "required", "data-testid", "data-test", "tabindex", "aria-describedby"], li = ["for"], ii = { class: "label-container av-row av-gap-xs av-align-center" }, ri = {
|
|
2467
2467
|
key: 0,
|
|
2468
2468
|
class: "av-hint-text"
|
|
2469
2469
|
}, oi = /* @__PURE__ */ p({
|
|
@@ -2518,7 +2518,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2518
2518
|
class: "av-label av-pb-none"
|
|
2519
2519
|
}, [
|
|
2520
2520
|
M("div", ii, [
|
|
2521
|
-
|
|
2521
|
+
U(g, {
|
|
2522
2522
|
class: "option-checkbox",
|
|
2523
2523
|
name: r(o),
|
|
2524
2524
|
color: r(s),
|
|
@@ -2534,7 +2534,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2534
2534
|
M("span", {
|
|
2535
2535
|
class: Q(["label", r(A)])
|
|
2536
2536
|
}, [
|
|
2537
|
-
|
|
2537
|
+
V(u.$slots, "label", {}, () => [
|
|
2538
2538
|
Le(W(e.label), 1)
|
|
2539
2539
|
], !0)
|
|
2540
2540
|
], 2),
|
|
@@ -2545,7 +2545,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2545
2545
|
]),
|
|
2546
2546
|
e.hint ? (d(), b("span", ri, W(e.hint), 1)) : L("", !0)
|
|
2547
2547
|
], 8, li),
|
|
2548
|
-
|
|
2548
|
+
U(m, {
|
|
2549
2549
|
"message-id": r(n),
|
|
2550
2550
|
type: e.errorMessage ? "error" : "success",
|
|
2551
2551
|
message: r(a)
|
|
@@ -2587,7 +2587,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2587
2587
|
"av-col": !e.inline
|
|
2588
2588
|
}])
|
|
2589
2589
|
}, [
|
|
2590
|
-
|
|
2590
|
+
V(a.$slots, "default")
|
|
2591
2591
|
], 2)
|
|
2592
2592
|
]),
|
|
2593
2593
|
_: 3
|
|
@@ -2692,8 +2692,8 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2692
2692
|
}, [
|
|
2693
2693
|
M("div", ui, [
|
|
2694
2694
|
M("div", di, [
|
|
2695
|
-
|
|
2696
|
-
|
|
2695
|
+
V(v.$slots, "left", {}, () => [
|
|
2696
|
+
U(ne, {
|
|
2697
2697
|
size: 2.5,
|
|
2698
2698
|
name: r(H).ATTACHMENT_PLUS,
|
|
2699
2699
|
color: "var(--icon)"
|
|
@@ -2707,7 +2707,7 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2707
2707
|
M("span", Ii, W(e.title), 1),
|
|
2708
2708
|
M("span", bi, W(e.description), 1)
|
|
2709
2709
|
])),
|
|
2710
|
-
|
|
2710
|
+
U(Ai, {
|
|
2711
2711
|
"valid-message": e.validMessage,
|
|
2712
2712
|
error: e.error
|
|
2713
2713
|
}, null, 8, ["valid-message", "error"])
|
|
@@ -2743,11 +2743,11 @@ const Xl = { class: "av-popover-wrapper" }, ql = /* @__PURE__ */ p({
|
|
|
2743
2743
|
_: 3
|
|
2744
2744
|
}, 16, ["class"])),
|
|
2745
2745
|
M("span", Ci, [
|
|
2746
|
-
|
|
2746
|
+
V(v.$slots, "hint", {}, void 0, !0)
|
|
2747
2747
|
])
|
|
2748
2748
|
], 64));
|
|
2749
2749
|
}
|
|
2750
|
-
}),
|
|
2750
|
+
}), KA = /* @__PURE__ */ P(Mi, [["__scopeId", "data-v-b3d7bf33"]]), ha = 6048e5, Ei = 864e5, ya = 6e4, Ca = 36e5, Wt = Symbol.for("constructDateFrom");
|
|
2751
2751
|
function fe(e, t) {
|
|
2752
2752
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && Wt in e ? e[Wt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2753
2753
|
}
|
|
@@ -2819,7 +2819,7 @@ function wi(e, t) {
|
|
|
2819
2819
|
(!a || a < i || isNaN(+i)) && (a = i);
|
|
2820
2820
|
}), fe(n, a || NaN);
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function xi(e, t) {
|
|
2823
2823
|
let a, n = t == null ? void 0 : t.in;
|
|
2824
2824
|
return e.forEach((l) => {
|
|
2825
2825
|
!n && typeof l == "object" && (n = fe.bind(null, l));
|
|
@@ -2827,11 +2827,11 @@ function Oi(e, t) {
|
|
|
2827
2827
|
(!a || a > i || isNaN(+i)) && (a = i);
|
|
2828
2828
|
}), fe(n, a || NaN);
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function Oi(e) {
|
|
2831
2831
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
2832
2832
|
}
|
|
2833
2833
|
function At(e) {
|
|
2834
|
-
return !(!
|
|
2834
|
+
return !(!Oi(e) && typeof e != "number" || isNaN(+ce(e)));
|
|
2835
2835
|
}
|
|
2836
2836
|
function Si(e, t) {
|
|
2837
2837
|
const a = ce(e, t == null ? void 0 : t.in);
|
|
@@ -4006,7 +4006,7 @@ function Ie(e, t, a) {
|
|
|
4006
4006
|
return { isToken: !1, value: "'" };
|
|
4007
4007
|
const h = v[0];
|
|
4008
4008
|
if (h === "'")
|
|
4009
|
-
return { isToken: !1, value:
|
|
4009
|
+
return { isToken: !1, value: xr(v) };
|
|
4010
4010
|
if (Ht[h])
|
|
4011
4011
|
return { isToken: !0, value: v };
|
|
4012
4012
|
if (h.match(wr))
|
|
@@ -4029,7 +4029,7 @@ function Ie(e, t, a) {
|
|
|
4029
4029
|
return N(s, h, l.localize, A);
|
|
4030
4030
|
}).join("");
|
|
4031
4031
|
}
|
|
4032
|
-
function
|
|
4032
|
+
function xr(e) {
|
|
4033
4033
|
const t = e.match(Dr);
|
|
4034
4034
|
return t ? t[1].replace(Lr, "'") : e;
|
|
4035
4035
|
}
|
|
@@ -4066,7 +4066,7 @@ const Ge = {
|
|
|
4066
4066
|
dateTimeDelimiter: /[T ]/,
|
|
4067
4067
|
timeZoneDelimiter: /[Z ]/i,
|
|
4068
4068
|
timezone: /([Z+-].*)$/
|
|
4069
|
-
},
|
|
4069
|
+
}, Or = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Sr = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, pr = /^([+-])(\d{2})(?::?(\d{2}))?$/;
|
|
4070
4070
|
function kr(e) {
|
|
4071
4071
|
const t = {}, a = e.split(Ge.dateTimeDelimiter);
|
|
4072
4072
|
let n;
|
|
@@ -4094,7 +4094,7 @@ function Qr(e, t) {
|
|
|
4094
4094
|
}
|
|
4095
4095
|
function jr(e, t) {
|
|
4096
4096
|
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
4097
|
-
const a = e.match(
|
|
4097
|
+
const a = e.match(Or);
|
|
4098
4098
|
if (!a) return /* @__PURE__ */ new Date(NaN);
|
|
4099
4099
|
const n = !!a[4], l = Ve(a[1]), i = Ve(a[2]) - 1, o = Ve(a[3]), s = Ve(a[4]), c = Ve(a[5]) - 1;
|
|
4100
4100
|
if (n)
|
|
@@ -4240,10 +4240,10 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4240
4240
|
class: "required"
|
|
4241
4241
|
}, to = {
|
|
4242
4242
|
key: 0,
|
|
4243
|
-
class: "
|
|
4243
|
+
class: "caption-light"
|
|
4244
4244
|
}, ao = {
|
|
4245
4245
|
key: 0,
|
|
4246
|
-
class: "
|
|
4246
|
+
class: "av-hint-text"
|
|
4247
4247
|
}, no = /* @__PURE__ */ p({
|
|
4248
4248
|
inheritAttrs: !1,
|
|
4249
4249
|
__name: "AvInput",
|
|
@@ -4276,9 +4276,9 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4276
4276
|
emits: ["update:modelValue"],
|
|
4277
4277
|
setup(e, { expose: t, emit: a }) {
|
|
4278
4278
|
re((T) => ({
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4279
|
+
v16253a1a: T.width,
|
|
4280
|
+
v96ff7904: r(v),
|
|
4281
|
+
v215cb653: T.textareaMinHeight
|
|
4282
4282
|
}));
|
|
4283
4283
|
const n = a, l = Xa(), i = I(() => e.id ?? `input-${crypto.randomUUID()}`), o = I(() => e.errorMessage ? Array.isArray(e.errorMessage) ? e.errorMessage : [e.errorMessage] : []), s = I(() => e.validMessage ? Array.isArray(e.validMessage) ? e.validMessage : [e.validMessage] : []), c = I(() => !!e.errorMessage), A = z(null), u = () => {
|
|
4284
4284
|
var T;
|
|
@@ -4320,7 +4320,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4320
4320
|
M("div", Gr, [
|
|
4321
4321
|
M("div", Jr, [
|
|
4322
4322
|
r(C) ? (d(), b("div", $r, [
|
|
4323
|
-
|
|
4323
|
+
U(ne, {
|
|
4324
4324
|
name: r(C),
|
|
4325
4325
|
size: 1.2
|
|
4326
4326
|
}, null, 8, ["name"])
|
|
@@ -4333,10 +4333,9 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4333
4333
|
class: Q(e.labelClass)
|
|
4334
4334
|
}, [
|
|
4335
4335
|
Le(W(e.label) + " ", 1),
|
|
4336
|
-
|
|
4336
|
+
V(T.$slots, "requiredTip", {}, () => [
|
|
4337
4337
|
e.required ? (d(), b("span", eo, "*")) : L("", !0)
|
|
4338
|
-
], !0)
|
|
4339
|
-
e.hint ? (d(), b("span", to, W(e.hint), 1)) : L("", !0)
|
|
4338
|
+
], !0)
|
|
4340
4339
|
], 2)
|
|
4341
4340
|
], 10, _r),
|
|
4342
4341
|
(d(), S(he(r(g)), _(r(N), {
|
|
@@ -4361,31 +4360,32 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4361
4360
|
onClick: f
|
|
4362
4361
|
}), null, 16, ["class", "placeholder", "value"])) : L("", !0)
|
|
4363
4362
|
]),
|
|
4364
|
-
e.disabled ? L("", !0) :
|
|
4363
|
+
e.disabled ? L("", !0) : V(T.$slots, "maxLengthCaption", {
|
|
4365
4364
|
key: 0,
|
|
4366
4365
|
currentValue: e.modelValue,
|
|
4367
4366
|
maxlength: e.maxlength
|
|
4368
4367
|
}, () => {
|
|
4369
4368
|
var B;
|
|
4370
4369
|
return [
|
|
4371
|
-
e.maxlength ? (d(), b("span",
|
|
4370
|
+
e.maxlength ? (d(), b("span", to, W((B = e.modelValue) == null ? void 0 : B.toString().length) + " / " + W(e.maxlength), 1)) : L("", !0)
|
|
4372
4371
|
];
|
|
4373
4372
|
}, !0)
|
|
4374
4373
|
]),
|
|
4374
|
+
e.hint ? (d(), b("span", ao, W(e.hint), 1)) : L("", !0),
|
|
4375
4375
|
r(o).length > 0 ? (d(), S(w, {
|
|
4376
|
-
key:
|
|
4376
|
+
key: 1,
|
|
4377
4377
|
message: r(o),
|
|
4378
4378
|
type: "error"
|
|
4379
4379
|
}, null, 8, ["message"])) : L("", !0),
|
|
4380
4380
|
r(s).length > 0 ? (d(), S(w, {
|
|
4381
|
-
key:
|
|
4381
|
+
key: 2,
|
|
4382
4382
|
message: r(s),
|
|
4383
4383
|
type: "success"
|
|
4384
4384
|
}, null, 8, ["message"])) : L("", !0)
|
|
4385
4385
|
], 2);
|
|
4386
4386
|
};
|
|
4387
4387
|
}
|
|
4388
|
-
}), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-
|
|
4388
|
+
}), qe = /* @__PURE__ */ P(no, [["__scopeId", "data-v-7eb2fa52"]]), lo = ["for"], io = /* @__PURE__ */ p({
|
|
4389
4389
|
__name: "AvPeriodInput",
|
|
4390
4390
|
props: {
|
|
4391
4391
|
id: {},
|
|
@@ -4420,7 +4420,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4420
4420
|
return C && T ? wi([C, T]) : C ?? T;
|
|
4421
4421
|
}
|
|
4422
4422
|
function c(C, T) {
|
|
4423
|
-
return C && T ?
|
|
4423
|
+
return C && T ? xi([C, T]) : C ?? T;
|
|
4424
4424
|
}
|
|
4425
4425
|
const A = I(() => o(e.startModelValue)), u = I(() => o(e.endModelValue)), f = I(() => e.startMinDate), g = I(() => c(e.startMaxDate, u.value)), m = I(() => s(e.endMinDate, A.value)), v = I(() => e.endMaxDate);
|
|
4426
4426
|
function h(C) {
|
|
@@ -4445,7 +4445,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4445
4445
|
"av-col av-align-stretch": e.stacked
|
|
4446
4446
|
}])
|
|
4447
4447
|
}, [
|
|
4448
|
-
|
|
4448
|
+
U(qe, {
|
|
4449
4449
|
id: r(l),
|
|
4450
4450
|
type: "date",
|
|
4451
4451
|
"model-value": e.startModelValue,
|
|
@@ -4458,7 +4458,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4458
4458
|
"data-testid": "start-date-input",
|
|
4459
4459
|
"onUpdate:modelValue": T[0] || (T[0] = (D) => h(D))
|
|
4460
4460
|
}, null, 8, ["id", "model-value", "label", "disabled", "width", "min-date", "max-date"]),
|
|
4461
|
-
|
|
4461
|
+
U(qe, {
|
|
4462
4462
|
id: r(i),
|
|
4463
4463
|
type: "date",
|
|
4464
4464
|
"model-value": e.endModelValue,
|
|
@@ -4474,7 +4474,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4474
4474
|
], 2)
|
|
4475
4475
|
], 2));
|
|
4476
4476
|
}
|
|
4477
|
-
}),
|
|
4477
|
+
}), GA = /* @__PURE__ */ P(io, [["__scopeId", "data-v-e9c8185b"]]), ro = {
|
|
4478
4478
|
class: "av-search-bar",
|
|
4479
4479
|
role: "search"
|
|
4480
4480
|
}, oo = /* @__PURE__ */ p({
|
|
@@ -4493,7 +4493,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4493
4493
|
const o = qe, s = oe;
|
|
4494
4494
|
return d(), b("div", ro, [
|
|
4495
4495
|
M("div", null, [
|
|
4496
|
-
|
|
4496
|
+
U(o, {
|
|
4497
4497
|
id: r(n),
|
|
4498
4498
|
type: "search",
|
|
4499
4499
|
"no-radius": "",
|
|
@@ -4507,7 +4507,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4507
4507
|
onKeydown: i[1] || (i[1] = Ae((c) => a("search", e.modelValue), ["enter"]))
|
|
4508
4508
|
}, null, 8, ["id", "placeholder", "model-value", "label", "disabled", "aria-disabled"])
|
|
4509
4509
|
]),
|
|
4510
|
-
|
|
4510
|
+
U(s, {
|
|
4511
4511
|
variant: "FLAT",
|
|
4512
4512
|
label: e.label,
|
|
4513
4513
|
"no-radius": "",
|
|
@@ -4550,7 +4550,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4550
4550
|
"aria-labelledby": e.ariaLabelledby,
|
|
4551
4551
|
"aria-describedby": e.ariaDescribedby
|
|
4552
4552
|
}, [
|
|
4553
|
-
|
|
4553
|
+
V(l.$slots, "default", {}, void 0, !0)
|
|
4554
4554
|
], 10, so));
|
|
4555
4555
|
}
|
|
4556
4556
|
}), La = /* @__PURE__ */ P(co, [["__scopeId", "data-v-2d433bb3"]]), Ao = ["role"], uo = {
|
|
@@ -4625,7 +4625,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4625
4625
|
}, {
|
|
4626
4626
|
default: K(() => [
|
|
4627
4627
|
e.icon ? (d(), b("div", uo, [
|
|
4628
|
-
|
|
4628
|
+
U(ne, {
|
|
4629
4629
|
name: e.icon,
|
|
4630
4630
|
color: e.iconColor ?? e.color,
|
|
4631
4631
|
size: e.iconSize
|
|
@@ -4635,7 +4635,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4635
4635
|
e.title ? (d(), b("span", vo, W(e.title), 1)) : L("", !0),
|
|
4636
4636
|
e.description ? (d(), b("span", mo, W(e.description), 1)) : L("", !0),
|
|
4637
4637
|
t.default ? (d(), b("div", go, [
|
|
4638
|
-
|
|
4638
|
+
V(g.$slots, "default", {}, void 0, !0)
|
|
4639
4639
|
])) : L("", !0)
|
|
4640
4640
|
])
|
|
4641
4641
|
]),
|
|
@@ -4695,7 +4695,7 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4695
4695
|
key: C.value,
|
|
4696
4696
|
class: "tag-wrapper"
|
|
4697
4697
|
}, [
|
|
4698
|
-
|
|
4698
|
+
U(_a, {
|
|
4699
4699
|
class: Q({
|
|
4700
4700
|
"av-tag--selected": f(C),
|
|
4701
4701
|
"av-tag--disabled": v(C)
|
|
@@ -4711,13 +4711,13 @@ const Gr = { class: "av-input__wrapper av-col av-gap-xxs" }, Jr = { class: "av-i
|
|
|
4711
4711
|
]));
|
|
4712
4712
|
}
|
|
4713
4713
|
}), yo = /* @__PURE__ */ P(ho, [["__scopeId", "data-v-2dcefe34"]]);
|
|
4714
|
-
var
|
|
4715
|
-
const
|
|
4714
|
+
var xa = /* @__PURE__ */ ((e) => (e[e.FOUR = 4] = "FOUR", e[e.EIGHT = 8] = "EIGHT", e[e.TWELVE = 12] = "TWELVE", e))(xa || {});
|
|
4715
|
+
const JA = [
|
|
4716
4716
|
4,
|
|
4717
4717
|
8,
|
|
4718
4718
|
12
|
|
4719
4719
|
/* TWELVE */
|
|
4720
|
-
], Co = { class: "pagination-size-picker-container av-row" },
|
|
4720
|
+
], Co = { class: "pagination-size-picker-container av-row" }, $A = /* @__PURE__ */ p({
|
|
4721
4721
|
__name: "AvPageSizePicker",
|
|
4722
4722
|
props: {
|
|
4723
4723
|
label: {},
|
|
@@ -4725,7 +4725,7 @@ const KA = [
|
|
|
4725
4725
|
handleSelectChange: { type: Function }
|
|
4726
4726
|
},
|
|
4727
4727
|
setup(e) {
|
|
4728
|
-
const t = I(() => Object.values(
|
|
4728
|
+
const t = I(() => Object.values(xa).filter((n) => typeof n == "number").map((n) => ({
|
|
4729
4729
|
label: n.toString(),
|
|
4730
4730
|
value: n.toString()
|
|
4731
4731
|
}))), a = I(() => ({
|
|
@@ -4733,7 +4733,7 @@ const KA = [
|
|
|
4733
4733
|
value: e.pageSizeSelected.toString()
|
|
4734
4734
|
}));
|
|
4735
4735
|
return (n, l) => (d(), b("div", Co, [
|
|
4736
|
-
|
|
4736
|
+
U(yo, {
|
|
4737
4737
|
options: r(t),
|
|
4738
4738
|
selected: r(a),
|
|
4739
4739
|
"handle-select-change": e.handleSelectChange,
|
|
@@ -4753,7 +4753,7 @@ const KA = [
|
|
|
4753
4753
|
disabled: { type: Boolean }
|
|
4754
4754
|
},
|
|
4755
4755
|
setup(e) {
|
|
4756
|
-
return (t, a) =>
|
|
4756
|
+
return (t, a) => V(t.$slots, "default");
|
|
4757
4757
|
}
|
|
4758
4758
|
}), Eo = ["id", "name", "value", "checked", "disabled"], No = ["for"], To = /* @__PURE__ */ p({
|
|
4759
4759
|
__name: "RadioButton",
|
|
@@ -4794,7 +4794,7 @@ const KA = [
|
|
|
4794
4794
|
for: r(n),
|
|
4795
4795
|
class: "av-label"
|
|
4796
4796
|
}, [
|
|
4797
|
-
|
|
4797
|
+
V(l.$slots, "default", {}, void 0, !0)
|
|
4798
4798
|
], 8, No)
|
|
4799
4799
|
], 2)
|
|
4800
4800
|
]),
|
|
@@ -4802,7 +4802,7 @@ const KA = [
|
|
|
4802
4802
|
}, 8, ["inline", "disabled"]);
|
|
4803
4803
|
};
|
|
4804
4804
|
}
|
|
4805
|
-
}), Do = /* @__PURE__ */ P(To, [["__scopeId", "data-v-2e0e07d7"]]),
|
|
4805
|
+
}), Do = /* @__PURE__ */ P(To, [["__scopeId", "data-v-2e0e07d7"]]), _A = /* @__PURE__ */ p({
|
|
4806
4806
|
__name: "AvRadioButtonSet",
|
|
4807
4807
|
props: {
|
|
4808
4808
|
id: {},
|
|
@@ -4885,22 +4885,22 @@ const KA = [
|
|
|
4885
4885
|
}
|
|
4886
4886
|
});
|
|
4887
4887
|
var pe = /* @__PURE__ */ ((e) => (e.LOADING = "loading", e.NO_OPTIONS = "no-options", e.HAS_OPTIONS = "has-options", e))(pe || {});
|
|
4888
|
-
const
|
|
4889
|
-
function
|
|
4890
|
-
const e = it(
|
|
4888
|
+
const Oa = Symbol("AvAutocompleteContext");
|
|
4889
|
+
function Ot() {
|
|
4890
|
+
const e = it(Oa);
|
|
4891
4891
|
if (!e)
|
|
4892
4892
|
throw new Error("useAutocompleteContext must be used within AvAutocomplete component");
|
|
4893
4893
|
return e;
|
|
4894
4894
|
}
|
|
4895
|
-
var Lo = typeof global == "object" && global && global.Object === Object && global, wo = typeof self == "object" && self && self.Object === Object && self, Sa = Lo || wo || Function("return this")(), lt = Sa.Symbol, pa = Object.prototype,
|
|
4895
|
+
var Lo = typeof global == "object" && global && global.Object === Object && global, wo = typeof self == "object" && self && self.Object === Object && self, Sa = Lo || wo || Function("return this")(), lt = Sa.Symbol, pa = Object.prototype, xo = pa.hasOwnProperty, Oo = pa.toString, He = lt ? lt.toStringTag : void 0;
|
|
4896
4896
|
function So(e) {
|
|
4897
|
-
var t =
|
|
4897
|
+
var t = xo.call(e, He), a = e[He];
|
|
4898
4898
|
try {
|
|
4899
4899
|
e[He] = void 0;
|
|
4900
4900
|
var n = !0;
|
|
4901
4901
|
} catch {
|
|
4902
4902
|
}
|
|
4903
|
-
var l =
|
|
4903
|
+
var l = Oo.call(e);
|
|
4904
4904
|
return n && (t ? e[He] = a : delete e[He]), l;
|
|
4905
4905
|
}
|
|
4906
4906
|
var po = Object.prototype, ko = po.toString;
|
|
@@ -5018,7 +5018,7 @@ const $o = {
|
|
|
5018
5018
|
props: c,
|
|
5019
5019
|
getOptionId: A,
|
|
5020
5020
|
getDisplayLabel: u
|
|
5021
|
-
} =
|
|
5021
|
+
} = Ot(), f = z(), g = z(), m = I(() => {
|
|
5022
5022
|
if (!c.options)
|
|
5023
5023
|
return [];
|
|
5024
5024
|
if (c.serverSideFiltering)
|
|
@@ -5067,14 +5067,14 @@ const $o = {
|
|
|
5067
5067
|
style: de({ width: r(c).dropdownWidth, maxHeight: r(c).maxDropdownHeight })
|
|
5068
5068
|
}, [
|
|
5069
5069
|
r(v) === r(pe).LOADING ? (d(), b("div", $o, [
|
|
5070
|
-
|
|
5070
|
+
U(ne, {
|
|
5071
5071
|
name: r(H).LOADING,
|
|
5072
5072
|
size: 1.5,
|
|
5073
5073
|
class: "av-autocomplete-dropdown__spinner"
|
|
5074
5074
|
}, null, 8, ["name"]),
|
|
5075
5075
|
w[0] || (w[0] = M("span", { class: "av-autocomplete-dropdown__loading-text" }, "Loading...", -1))
|
|
5076
5076
|
])) : r(v) === r(pe).NO_OPTIONS ? (d(), b("div", _o, [
|
|
5077
|
-
l.empty ?
|
|
5077
|
+
l.empty ? V(D.$slots, "empty", { key: 0 }, void 0, !0) : (d(), b("div", es, " No results found "))
|
|
5078
5078
|
])) : (d(), S(La, _({
|
|
5079
5079
|
key: 2,
|
|
5080
5080
|
ref_key: "listRef",
|
|
@@ -5086,7 +5086,7 @@ const $o = {
|
|
|
5086
5086
|
(d(!0), b($, null, ie(r(m), (B) => (d(), b($, {
|
|
5087
5087
|
key: r(A)(B)
|
|
5088
5088
|
}, [
|
|
5089
|
-
l.item ?
|
|
5089
|
+
l.item ? V(D.$slots, "item", {
|
|
5090
5090
|
key: 0,
|
|
5091
5091
|
option: B,
|
|
5092
5092
|
isSelected: h(B),
|
|
@@ -5121,7 +5121,7 @@ const $o = {
|
|
|
5121
5121
|
inputId: A,
|
|
5122
5122
|
handleBlur: u,
|
|
5123
5123
|
getDisplayLabel: f
|
|
5124
|
-
} =
|
|
5124
|
+
} = Ot(), g = z(), m = I(() => !c.multiSelect && i.value.length > 0 ? f(i.value[0]) : c.multiSelect && i.value.length > 0 ? c.showSelectedSection ? `${i.value.length} element(s) selected` : i.value.map(f).join(", ") : o.value), v = I(() => {
|
|
5125
5125
|
var D;
|
|
5126
5126
|
return ((D = c.inputOptions) == null ? void 0 : D.placeholder) || "Search...";
|
|
5127
5127
|
}), h = ka((D) => {
|
|
@@ -5142,7 +5142,7 @@ const $o = {
|
|
|
5142
5142
|
inputRef: g,
|
|
5143
5143
|
searchQuery: I(() => o.value)
|
|
5144
5144
|
}), (D, w) => (d(), b("div", ns, [
|
|
5145
|
-
|
|
5145
|
+
U(qe, _({
|
|
5146
5146
|
id: r(A),
|
|
5147
5147
|
ref_key: "inputRef",
|
|
5148
5148
|
ref: g,
|
|
@@ -5163,7 +5163,7 @@ const $o = {
|
|
|
5163
5163
|
} : void 0
|
|
5164
5164
|
]), 1040, ["id", "model-value", "placeholder", "onBlur"]),
|
|
5165
5165
|
r(i).length > 0 ? (d(), b("div", ls, [
|
|
5166
|
-
|
|
5166
|
+
U(oe, {
|
|
5167
5167
|
label: "Clear selected items",
|
|
5168
5168
|
icon: r(H).CLOSE_CIRCLE_OUTLINE,
|
|
5169
5169
|
"icon-only": "",
|
|
@@ -5186,7 +5186,7 @@ const $o = {
|
|
|
5186
5186
|
props: n,
|
|
5187
5187
|
getOptionId: l,
|
|
5188
5188
|
getDisplayLabel: i
|
|
5189
|
-
} =
|
|
5189
|
+
} = Ot();
|
|
5190
5190
|
function o(s) {
|
|
5191
5191
|
const c = a.value, A = l(s);
|
|
5192
5192
|
a.value = c.filter(
|
|
@@ -5198,7 +5198,7 @@ const $o = {
|
|
|
5198
5198
|
key: r(l)(A),
|
|
5199
5199
|
class: "av-autocomplete-selected-tags__item"
|
|
5200
5200
|
}, [
|
|
5201
|
-
t.selectedItem ?
|
|
5201
|
+
t.selectedItem ? V(s.$slots, "selectedItem", {
|
|
5202
5202
|
key: 0,
|
|
5203
5203
|
option: A,
|
|
5204
5204
|
remove: () => o(A)
|
|
@@ -5263,7 +5263,7 @@ const $o = {
|
|
|
5263
5263
|
function h(T) {
|
|
5264
5264
|
return a.getOptionLabel ? a.getOptionLabel(T) : T.label;
|
|
5265
5265
|
}
|
|
5266
|
-
Nt(
|
|
5266
|
+
Nt(Oa, {
|
|
5267
5267
|
selectedItems: i,
|
|
5268
5268
|
searchQuery: s,
|
|
5269
5269
|
isOpen: o,
|
|
@@ -5288,7 +5288,7 @@ const $o = {
|
|
|
5288
5288
|
ref: c,
|
|
5289
5289
|
class: "av-autocomplete__wrapper"
|
|
5290
5290
|
}, [
|
|
5291
|
-
|
|
5291
|
+
U(rs, {
|
|
5292
5292
|
ref_key: "inputRef",
|
|
5293
5293
|
ref: A,
|
|
5294
5294
|
onSearch: g,
|
|
@@ -5302,7 +5302,7 @@ const $o = {
|
|
|
5302
5302
|
key: "0"
|
|
5303
5303
|
} : void 0
|
|
5304
5304
|
]), 1536),
|
|
5305
|
-
|
|
5305
|
+
U(as, {
|
|
5306
5306
|
ref_key: "dropdownRef",
|
|
5307
5307
|
ref: u,
|
|
5308
5308
|
onLoadMore: D[1] || (D[1] = (w) => n("loadMore"))
|
|
@@ -5310,7 +5310,7 @@ const $o = {
|
|
|
5310
5310
|
l.item ? {
|
|
5311
5311
|
name: "item",
|
|
5312
5312
|
fn: K(({ option: w, isSelected: B, toggle: Z }) => [
|
|
5313
|
-
|
|
5313
|
+
V(T.$slots, "item", {
|
|
5314
5314
|
option: w,
|
|
5315
5315
|
isSelected: B,
|
|
5316
5316
|
toggle: Z
|
|
@@ -5321,17 +5321,17 @@ const $o = {
|
|
|
5321
5321
|
l.empty ? {
|
|
5322
5322
|
name: "empty",
|
|
5323
5323
|
fn: K(() => [
|
|
5324
|
-
|
|
5324
|
+
V(T.$slots, "empty", {}, void 0, !0)
|
|
5325
5325
|
]),
|
|
5326
5326
|
key: "1"
|
|
5327
5327
|
} : void 0
|
|
5328
5328
|
]), 1536)
|
|
5329
5329
|
], 512),
|
|
5330
|
-
|
|
5330
|
+
U(cs, null, Je({ _: 2 }, [
|
|
5331
5331
|
l.selectedItem ? {
|
|
5332
5332
|
name: "selectedItem",
|
|
5333
5333
|
fn: K(({ option: w, remove: B }) => [
|
|
5334
|
-
|
|
5334
|
+
V(T.$slots, "selectedItem", {
|
|
5335
5335
|
option: w,
|
|
5336
5336
|
remove: B
|
|
5337
5337
|
}, void 0, !0)
|
|
@@ -5341,7 +5341,7 @@ const $o = {
|
|
|
5341
5341
|
]), 1024)
|
|
5342
5342
|
]));
|
|
5343
5343
|
}
|
|
5344
|
-
}),
|
|
5344
|
+
}), eu = /* @__PURE__ */ P(us, [["__scopeId", "data-v-a8c4de33"]]), ds = ["id"], fs = ["id"], vs = {
|
|
5345
5345
|
key: 0,
|
|
5346
5346
|
class: "av-btns-group"
|
|
5347
5347
|
}, ms = { key: 1 }, gs = { key: 2 }, Is = "label", bs = /* @__PURE__ */ p({
|
|
@@ -5365,8 +5365,8 @@ const $o = {
|
|
|
5365
5365
|
emits: /* @__PURE__ */ ye(["close"], ["update:modelValue"]),
|
|
5366
5366
|
setup(e, { emit: t }) {
|
|
5367
5367
|
const a = t;
|
|
5368
|
-
function n(R,
|
|
5369
|
-
return `${
|
|
5368
|
+
function n(R, x) {
|
|
5369
|
+
return `${x}-${R.value}`;
|
|
5370
5370
|
}
|
|
5371
5371
|
const l = z(null), i = z(!1), o = we(e, "modelValue"), s = z(0), c = [], {
|
|
5372
5372
|
collapse: A,
|
|
@@ -5383,8 +5383,8 @@ const $o = {
|
|
|
5383
5383
|
}
|
|
5384
5384
|
function N(R) {
|
|
5385
5385
|
var j, y;
|
|
5386
|
-
const
|
|
5387
|
-
!((j = l.value) != null && j.$el.contains(
|
|
5386
|
+
const x = R.target;
|
|
5387
|
+
!((j = l.value) != null && j.$el.contains(x)) && !((y = A.value) != null && y.contains(x)) && a("close");
|
|
5388
5388
|
}
|
|
5389
5389
|
function C() {
|
|
5390
5390
|
for (; c.length; ) {
|
|
@@ -5398,44 +5398,44 @@ const $o = {
|
|
|
5398
5398
|
), D = I(() => e.selected.length < T.value.length ? !1 : T.value.every((R) => e.selected.includes(R)));
|
|
5399
5399
|
function w() {
|
|
5400
5400
|
const R = new Set(o.value || []);
|
|
5401
|
-
D.value ? T.value.forEach((
|
|
5402
|
-
R.delete(
|
|
5403
|
-
}) : T.value.forEach((
|
|
5404
|
-
R.add(
|
|
5401
|
+
D.value ? T.value.forEach((x) => {
|
|
5402
|
+
R.delete(x.value);
|
|
5403
|
+
}) : T.value.forEach((x) => {
|
|
5404
|
+
R.add(x.value);
|
|
5405
5405
|
}), o.value = Array.from(R);
|
|
5406
5406
|
}
|
|
5407
5407
|
function B(R) {
|
|
5408
|
-
const [
|
|
5409
|
-
|
|
5408
|
+
const [x] = m();
|
|
5409
|
+
x && (R.preventDefault(), x.focus());
|
|
5410
5410
|
}
|
|
5411
5411
|
function Z(R) {
|
|
5412
5412
|
R.preventDefault();
|
|
5413
|
-
const
|
|
5413
|
+
const x = m(), j = document.activeElement, y = Array.from(x).indexOf(j);
|
|
5414
5414
|
if (y !== -1) {
|
|
5415
|
-
const E = (y + 1) %
|
|
5416
|
-
|
|
5415
|
+
const E = (y + 1) % x.length;
|
|
5416
|
+
x[E].focus();
|
|
5417
5417
|
}
|
|
5418
5418
|
}
|
|
5419
5419
|
function F(R) {
|
|
5420
5420
|
R.preventDefault();
|
|
5421
|
-
const
|
|
5421
|
+
const x = m(), j = document.activeElement, y = Array.from(x).indexOf(j);
|
|
5422
5422
|
if (y !== -1) {
|
|
5423
|
-
const E = (y - 1 +
|
|
5424
|
-
|
|
5423
|
+
const E = (y - 1 + x.length) % x.length;
|
|
5424
|
+
x[E].focus();
|
|
5425
5425
|
}
|
|
5426
5426
|
}
|
|
5427
5427
|
function te(R) {
|
|
5428
|
-
const
|
|
5429
|
-
Array.from(
|
|
5428
|
+
const x = m(), j = document.activeElement;
|
|
5429
|
+
Array.from(x).indexOf(j) + 1 === x.length && l.value && !R.shiftKey && a("close");
|
|
5430
5430
|
}
|
|
5431
5431
|
function k(R) {
|
|
5432
5432
|
var j;
|
|
5433
|
-
const
|
|
5434
|
-
R.shiftKey &&
|
|
5433
|
+
const x = document.activeElement;
|
|
5434
|
+
R.shiftKey && x === ((j = l.value) == null ? void 0 : j.$el) && a("close");
|
|
5435
5435
|
}
|
|
5436
5436
|
return ge(() => {
|
|
5437
5437
|
C();
|
|
5438
|
-
}), (R,
|
|
5438
|
+
}), (R, x) => {
|
|
5439
5439
|
const j = oe, y = qe;
|
|
5440
5440
|
return e.isVisible ? (d(), b("div", {
|
|
5441
5441
|
key: 0,
|
|
@@ -5446,7 +5446,7 @@ const $o = {
|
|
|
5446
5446
|
"--width-host": `${r(s)}px`
|
|
5447
5447
|
}),
|
|
5448
5448
|
class: Q(["av-multiselect__collapse av-collapse av-p-xs av-ml-xxs", { "av-collapse--expanded": r(f), "av-collapsing": r(u) }]),
|
|
5449
|
-
onTransitionend:
|
|
5449
|
+
onTransitionend: x[2] || (x[2] = (E) => r(g)(r(i)))
|
|
5450
5450
|
}, [
|
|
5451
5451
|
M("p", {
|
|
5452
5452
|
id: `${e.id}-text-hint`,
|
|
@@ -5454,7 +5454,7 @@ const $o = {
|
|
|
5454
5454
|
}, W(e.hint), 9, fs),
|
|
5455
5455
|
e.selectAll ? (d(), b("ul", vs, [
|
|
5456
5456
|
M("li", null, [
|
|
5457
|
-
|
|
5457
|
+
U(j, {
|
|
5458
5458
|
name: "select-all",
|
|
5459
5459
|
size: "sm",
|
|
5460
5460
|
disabled: r(T).length === 0,
|
|
@@ -5466,9 +5466,9 @@ const $o = {
|
|
|
5466
5466
|
])
|
|
5467
5467
|
])) : L("", !0),
|
|
5468
5468
|
e.search ? (d(), b("div", ms, [
|
|
5469
|
-
|
|
5469
|
+
U(y, {
|
|
5470
5470
|
modelValue: r(v),
|
|
5471
|
-
"onUpdate:modelValue":
|
|
5471
|
+
"onUpdate:modelValue": x[0] || (x[0] = (E) => Lt(v) ? v.value = E : null),
|
|
5472
5472
|
"aria-describedby": `${e.id}-text-hint`,
|
|
5473
5473
|
"aria-controls": `${e.id}-checkboxes`,
|
|
5474
5474
|
"prefix-icon": r(H).MAGNIFY,
|
|
@@ -5482,7 +5482,7 @@ const $o = {
|
|
|
5482
5482
|
]
|
|
5483
5483
|
}, null, 8, ["modelValue", "aria-describedby", "aria-controls", "prefix-icon"])
|
|
5484
5484
|
])) : L("", !0),
|
|
5485
|
-
|
|
5485
|
+
U(ci, {
|
|
5486
5486
|
id: `${e.id}-checkboxes`,
|
|
5487
5487
|
class: "av-multiselect__collapse__fieldset",
|
|
5488
5488
|
legend: e.legend,
|
|
@@ -5493,7 +5493,7 @@ const $o = {
|
|
|
5493
5493
|
id: `${n(E, e.id)}-checkbox`,
|
|
5494
5494
|
key: `${n(E, e.id)}-fieldset`,
|
|
5495
5495
|
modelValue: o.value,
|
|
5496
|
-
"onUpdate:modelValue":
|
|
5496
|
+
"onUpdate:modelValue": x[1] || (x[1] = (O) => o.value = O),
|
|
5497
5497
|
value: E.value,
|
|
5498
5498
|
label: E.label,
|
|
5499
5499
|
icon: E.icon,
|
|
@@ -5545,9 +5545,9 @@ const $o = {
|
|
|
5545
5545
|
},
|
|
5546
5546
|
emits: ["update:modelValue"],
|
|
5547
5547
|
setup(e, { emit: t }) {
|
|
5548
|
-
re((
|
|
5549
|
-
v2d665760:
|
|
5550
|
-
v65959acd:
|
|
5548
|
+
re((x) => ({
|
|
5549
|
+
v2d665760: x.width,
|
|
5550
|
+
v65959acd: x.height
|
|
5551
5551
|
}));
|
|
5552
5552
|
const a = t, n = I(() => e.id ?? `multi-select-${crypto.randomUUID()}`), l = z(null), i = z(!1), o = I(() => e.errorMessage || e.successMessage), s = I(() => e.errorMessage ? "error" : "success"), {
|
|
5553
5553
|
collapse: c,
|
|
@@ -5561,20 +5561,20 @@ const $o = {
|
|
|
5561
5561
|
cssExpanded: u,
|
|
5562
5562
|
doExpand: f,
|
|
5563
5563
|
onTransitionEnd: g
|
|
5564
|
-
}, v = I(() => e.modelValue.map((
|
|
5564
|
+
}, v = I(() => e.modelValue.map((x) => x.value)), h = I(() => {
|
|
5565
5565
|
if (!e.modelValue || e.modelValue.length === 0)
|
|
5566
5566
|
return e.placeholder;
|
|
5567
5567
|
if (e.selectedText)
|
|
5568
5568
|
return e.selectedText;
|
|
5569
|
-
const
|
|
5570
|
-
return `${e.modelValue.length} option${
|
|
5569
|
+
const x = e.modelValue.length > 1 ? "s" : "";
|
|
5570
|
+
return `${e.modelValue.length} option${x} sélectionnée${x}`;
|
|
5571
5571
|
}), N = z(!1);
|
|
5572
|
-
function C(
|
|
5573
|
-
|
|
5572
|
+
function C(x) {
|
|
5573
|
+
x.key === "Escape" && w();
|
|
5574
5574
|
}
|
|
5575
|
-
function T(
|
|
5575
|
+
function T(x) {
|
|
5576
5576
|
var y, E;
|
|
5577
|
-
const j =
|
|
5577
|
+
const j = x.target;
|
|
5578
5578
|
!((y = l.value) != null && y.$el.contains(j)) && !((E = c.value) != null && E.contains(j)) && w();
|
|
5579
5579
|
}
|
|
5580
5580
|
function D() {
|
|
@@ -5593,15 +5593,15 @@ const $o = {
|
|
|
5593
5593
|
function Z() {
|
|
5594
5594
|
document.removeEventListener("click", T), document.removeEventListener("keydown", C);
|
|
5595
5595
|
}
|
|
5596
|
-
function F(
|
|
5596
|
+
function F(x) {
|
|
5597
5597
|
var y;
|
|
5598
5598
|
const j = document.activeElement;
|
|
5599
|
-
|
|
5599
|
+
x.shiftKey && j === ((y = l.value) == null ? void 0 : y.$el) && w();
|
|
5600
5600
|
}
|
|
5601
|
-
function te(
|
|
5601
|
+
function te(x) {
|
|
5602
5602
|
var y;
|
|
5603
5603
|
const j = ((y = e.options) == null ? void 0 : y.filter(
|
|
5604
|
-
(E) =>
|
|
5604
|
+
(E) => x.includes(E.value)
|
|
5605
5605
|
)) ?? [];
|
|
5606
5606
|
a("update:modelValue", j);
|
|
5607
5607
|
}
|
|
@@ -5615,7 +5615,7 @@ const $o = {
|
|
|
5615
5615
|
]), R = I(() => ({
|
|
5616
5616
|
"--icon-path": `url(${be.MDI_KEYBOARD_ARROW_DOWN})`
|
|
5617
5617
|
}));
|
|
5618
|
-
return (
|
|
5618
|
+
return (x, j) => {
|
|
5619
5619
|
const y = oe, E = Qe;
|
|
5620
5620
|
return d(), b($, null, [
|
|
5621
5621
|
M("div", {
|
|
@@ -5627,16 +5627,16 @@ const $o = {
|
|
|
5627
5627
|
for: r(n)
|
|
5628
5628
|
}, [
|
|
5629
5629
|
M("span", Ms, W(e.label), 1),
|
|
5630
|
-
"required" in
|
|
5630
|
+
"required" in x.$attrs && x.$attrs.required !== !1 ? (d(), b("span", Es)) : L("", !0),
|
|
5631
5631
|
e.hint ? (d(), b("span", Ns, W(e.hint), 1)) : L("", !0)
|
|
5632
5632
|
], 10, Cs),
|
|
5633
|
-
|
|
5633
|
+
U(y, _({
|
|
5634
5634
|
id: r(n),
|
|
5635
5635
|
ref_key: "host",
|
|
5636
5636
|
ref: l,
|
|
5637
5637
|
type: "button",
|
|
5638
5638
|
variant: "OUTLINED"
|
|
5639
|
-
},
|
|
5639
|
+
}, x.$attrs, {
|
|
5640
5640
|
label: r(h),
|
|
5641
5641
|
class: ["av-multiselect", {
|
|
5642
5642
|
"av-multiselect--is-open": r(i),
|
|
@@ -5652,7 +5652,7 @@ const $o = {
|
|
|
5652
5652
|
onClick: B,
|
|
5653
5653
|
onKeydown: Ae(ue(F, ["shift"]), ["tab"])
|
|
5654
5654
|
}), null, 16, ["id", "label", "disabled", "aria-expanded", "aria-controls", "class", "small", "style", "onKeydown"]),
|
|
5655
|
-
|
|
5655
|
+
U(hs, {
|
|
5656
5656
|
id: r(n),
|
|
5657
5657
|
legend: e.legend,
|
|
5658
5658
|
hint: e.collapseHint,
|
|
@@ -5668,7 +5668,7 @@ const $o = {
|
|
|
5668
5668
|
"onUpdate:modelValue": te
|
|
5669
5669
|
}, null, 8, ["id", "legend", "hint", "model-value", "is-visible", "select-all", "select-all-label", "search", "options", "selected"])
|
|
5670
5670
|
], 10, ys),
|
|
5671
|
-
|
|
5671
|
+
U(E, {
|
|
5672
5672
|
"message-id": `multiselect-${r(s)}-desc-${r(s)}`,
|
|
5673
5673
|
type: r(s),
|
|
5674
5674
|
message: r(o)
|
|
@@ -5676,13 +5676,16 @@ const $o = {
|
|
|
5676
5676
|
], 64);
|
|
5677
5677
|
};
|
|
5678
5678
|
}
|
|
5679
|
-
}),
|
|
5679
|
+
}), tu = /* @__PURE__ */ P(Ts, [["__scopeId", "data-v-4a202f3d"]]), Ds = { class: "av-select-control" }, Ls = {
|
|
5680
|
+
key: 0,
|
|
5681
|
+
class: "av-select-prefix av-align-center av-col"
|
|
5682
|
+
}, ws = ["for"], xs = {
|
|
5680
5683
|
key: 0,
|
|
5681
5684
|
class: "required"
|
|
5682
|
-
},
|
|
5685
|
+
}, Os = {
|
|
5683
5686
|
key: 1,
|
|
5684
5687
|
class: "av-hint-text"
|
|
5685
|
-
},
|
|
5688
|
+
}, Ss = ["id", "name", "disabled", "aria-disabled", "required", "aria-required", "title"], ps = ["selected"], ks = ["selected", "value", "disabled", "aria-disabled"], Qs = /* @__PURE__ */ p({
|
|
5686
5689
|
__name: "AvSelect",
|
|
5687
5690
|
props: {
|
|
5688
5691
|
required: { type: Boolean, default: !1 },
|
|
@@ -5696,7 +5699,8 @@ const $o = {
|
|
|
5696
5699
|
successMessage: { default: "" },
|
|
5697
5700
|
errorMessage: { default: "" },
|
|
5698
5701
|
placeholder: {},
|
|
5699
|
-
dense: { type: Boolean, default: !1 }
|
|
5702
|
+
dense: { type: Boolean, default: !1 },
|
|
5703
|
+
prefixIcon: {}
|
|
5700
5704
|
},
|
|
5701
5705
|
emits: ["update:modelValue"],
|
|
5702
5706
|
setup(e, { emit: t }) {
|
|
@@ -5717,49 +5721,56 @@ const $o = {
|
|
|
5717
5721
|
M("div", {
|
|
5718
5722
|
class: Q(["av-select-group", { [`av-select-group--${r(s)}`]: r(o) }])
|
|
5719
5723
|
}, [
|
|
5720
|
-
M("
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
"
|
|
5733
|
-
"
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
}
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5724
|
+
M("div", Ds, [
|
|
5725
|
+
e.prefixIcon ? (d(), b("div", Ls, [
|
|
5726
|
+
U(ne, {
|
|
5727
|
+
name: e.prefixIcon,
|
|
5728
|
+
size: 1.2
|
|
5729
|
+
}, null, 8, ["name"])
|
|
5730
|
+
])) : L("", !0),
|
|
5731
|
+
M("label", {
|
|
5732
|
+
class: "av-label b2-light",
|
|
5733
|
+
for: r(n)
|
|
5734
|
+
}, [
|
|
5735
|
+
M("span", null, W(e.label), 1),
|
|
5736
|
+
e.required ? (d(), b("span", xs, " *")) : L("", !0),
|
|
5737
|
+
e.hint ? (d(), b("span", Os, W(e.hint), 1)) : L("", !0)
|
|
5738
|
+
], 8, ws),
|
|
5739
|
+
M("select", _({
|
|
5740
|
+
id: r(n),
|
|
5741
|
+
class: [{
|
|
5742
|
+
[`av-select--${r(s)}`]: r(o),
|
|
5743
|
+
"av-select--with-prefix": e.prefixIcon
|
|
5744
|
+
}, "av-select b2-light"],
|
|
5745
|
+
name: e.name || r(n),
|
|
5746
|
+
disabled: e.disabled,
|
|
5747
|
+
"aria-disabled": e.disabled,
|
|
5748
|
+
required: e.required,
|
|
5749
|
+
"aria-required": e.required,
|
|
5750
|
+
title: r(l)
|
|
5751
|
+
}, c.$attrs, {
|
|
5752
|
+
style: r(i),
|
|
5753
|
+
onChange: A[0] || (A[0] = (f) => {
|
|
5754
|
+
var g;
|
|
5755
|
+
return a("update:modelValue", (g = f.target) == null ? void 0 : g.value);
|
|
5756
|
+
})
|
|
5757
|
+
}), [
|
|
5758
|
+
M("option", {
|
|
5759
|
+
selected: !e.options.some((f) => f.value === e.modelValue),
|
|
5760
|
+
disabled: "",
|
|
5761
|
+
value: "",
|
|
5762
|
+
hidden: ""
|
|
5763
|
+
}, W(e.placeholder), 9, ps),
|
|
5764
|
+
(d(!0), b($, null, ie(e.options, (f, g) => (d(), b("option", {
|
|
5765
|
+
key: g,
|
|
5766
|
+
selected: e.modelValue === f.value,
|
|
5767
|
+
value: f.value,
|
|
5768
|
+
disabled: f.disabled,
|
|
5769
|
+
"aria-disabled": f.disabled
|
|
5770
|
+
}, W(f.text), 9, ks))), 128))
|
|
5771
|
+
], 16, Ss)
|
|
5772
|
+
]),
|
|
5773
|
+
U(u, {
|
|
5763
5774
|
"message-id": `select-${r(s)}-desc-${r(s)}`,
|
|
5764
5775
|
message: r(o),
|
|
5765
5776
|
type: r(s)
|
|
@@ -5768,16 +5779,16 @@ const $o = {
|
|
|
5768
5779
|
], 2);
|
|
5769
5780
|
};
|
|
5770
5781
|
}
|
|
5771
|
-
}),
|
|
5782
|
+
}), au = /* @__PURE__ */ P(Qs, [["__scopeId", "data-v-2bdc0c89"]]), nu = /* @__PURE__ */ p({
|
|
5772
5783
|
__name: "AvTab",
|
|
5773
5784
|
props: {
|
|
5774
5785
|
title: {},
|
|
5775
5786
|
icon: {}
|
|
5776
5787
|
},
|
|
5777
5788
|
setup(e) {
|
|
5778
|
-
return (t, a) =>
|
|
5789
|
+
return (t, a) => V(t.$slots, "default");
|
|
5779
5790
|
}
|
|
5780
|
-
}),
|
|
5791
|
+
}), js = ["id", "aria-labelledby", "tabindex"], zs = /* @__PURE__ */ p({
|
|
5781
5792
|
__name: "TabContent",
|
|
5782
5793
|
props: {
|
|
5783
5794
|
panelId: {},
|
|
@@ -5794,12 +5805,12 @@ const $o = {
|
|
|
5794
5805
|
"aria-labelledby": e.tabId,
|
|
5795
5806
|
tabindex: e.isVisible ? 0 : -1
|
|
5796
5807
|
}, [
|
|
5797
|
-
|
|
5798
|
-
], 10,
|
|
5808
|
+
V(t.$slots, "default", {}, void 0, !0)
|
|
5809
|
+
], 10, js)), [
|
|
5799
5810
|
[$t, e.isVisible]
|
|
5800
5811
|
]);
|
|
5801
5812
|
}
|
|
5802
|
-
}),
|
|
5813
|
+
}), Bs = /* @__PURE__ */ P(zs, [["__scopeId", "data-v-3bab28a1"]]), Ps = ["id", "data-testid", "tabindex", "aria-selected", "aria-controls"], Ws = /* @__PURE__ */ p({
|
|
5803
5814
|
__name: "TabItem",
|
|
5804
5815
|
props: {
|
|
5805
5816
|
panelId: {},
|
|
@@ -5866,12 +5877,12 @@ const $o = {
|
|
|
5866
5877
|
M("span", {
|
|
5867
5878
|
class: Q(r(i))
|
|
5868
5879
|
}, W(e.title), 3)
|
|
5869
|
-
], 16,
|
|
5880
|
+
], 16, Ps)
|
|
5870
5881
|
], 2);
|
|
5871
5882
|
};
|
|
5872
5883
|
}
|
|
5873
|
-
}),
|
|
5874
|
-
function
|
|
5884
|
+
}), Us = /* @__PURE__ */ P(Ws, [["__scopeId", "data-v-19c21903"]]);
|
|
5885
|
+
function Vs(e, t, a) {
|
|
5875
5886
|
const n = z({ "--tabs-height": "100px" });
|
|
5876
5887
|
function l() {
|
|
5877
5888
|
if (a.value < 0 || !e.value || !e.value.offsetHeight)
|
|
@@ -5884,7 +5895,7 @@ function Ws(e, t, a) {
|
|
|
5884
5895
|
}
|
|
5885
5896
|
return { tabsStyle: n, updateTabsStyle: l };
|
|
5886
5897
|
}
|
|
5887
|
-
const
|
|
5898
|
+
const Hs = ["aria-label"], Rs = /* @__PURE__ */ p({
|
|
5888
5899
|
__name: "AvTabs",
|
|
5889
5900
|
props: /* @__PURE__ */ ye({
|
|
5890
5901
|
ariaLabel: {},
|
|
@@ -5898,7 +5909,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
5898
5909
|
const t = me(), a = I(() => {
|
|
5899
5910
|
var N;
|
|
5900
5911
|
return ((N = t.default) == null ? void 0 : N.call(t)) || [];
|
|
5901
|
-
}), n = we(e, "modelValue"), l = z(null), i = z(null), o = bt({}), { tabsStyle: s, updateTabsStyle: c } =
|
|
5912
|
+
}), n = we(e, "modelValue"), l = z(null), i = z(null), o = bt({}), { tabsStyle: s, updateTabsStyle: c } = Vs(
|
|
5902
5913
|
i,
|
|
5903
5914
|
I(() => {
|
|
5904
5915
|
var N;
|
|
@@ -5963,7 +5974,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
5963
5974
|
}, [
|
|
5964
5975
|
(d(!0), b($, null, ie(r(a), (T, D) => {
|
|
5965
5976
|
var w, B;
|
|
5966
|
-
return d(), S(
|
|
5977
|
+
return d(), S(Us, {
|
|
5967
5978
|
key: D,
|
|
5968
5979
|
"tab-id": A(D),
|
|
5969
5980
|
"panel-id": `${A(D)}-panel`,
|
|
@@ -5978,8 +5989,8 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
5978
5989
|
onLast: v
|
|
5979
5990
|
}, null, 8, ["tab-id", "panel-id", "title", "icon", "compact", "is-selected", "onClick"]);
|
|
5980
5991
|
}), 128))
|
|
5981
|
-
], 10,
|
|
5982
|
-
(d(!0), b($, null, ie(r(a), (T, D) => (d(), S(
|
|
5992
|
+
], 10, Hs),
|
|
5993
|
+
(d(!0), b($, null, ie(r(a), (T, D) => (d(), S(Bs, {
|
|
5983
5994
|
key: D,
|
|
5984
5995
|
"panel-id": `${A(D)}-panel`,
|
|
5985
5996
|
"tab-id": A(D),
|
|
@@ -5992,16 +6003,16 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
5992
6003
|
}, 1032, ["panel-id", "tab-id", "is-visible"]))), 128))
|
|
5993
6004
|
], 6));
|
|
5994
6005
|
}
|
|
5995
|
-
}),
|
|
6006
|
+
}), lu = /* @__PURE__ */ P(Rs, [["__scopeId", "data-v-b9caf011"]]), Zs = "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", Ys = "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", Xs = ["id", "for"], qs = {
|
|
5996
6007
|
width: "34",
|
|
5997
6008
|
height: "14"
|
|
5998
|
-
},
|
|
6009
|
+
}, Fs = ["href"], Ks = {
|
|
5999
6010
|
key: 0,
|
|
6000
6011
|
class: "caption-bold no-select"
|
|
6001
|
-
},
|
|
6012
|
+
}, Gs = {
|
|
6002
6013
|
key: 1,
|
|
6003
6014
|
class: "caption-regular no-select"
|
|
6004
|
-
},
|
|
6015
|
+
}, Js = { class: "caption-regular" }, $s = ["id", "disabled", "aria-disabled", "checked", "data-testid", "aria-describedby", "name"], _s = /* @__PURE__ */ p({
|
|
6005
6016
|
__name: "AvToggle",
|
|
6006
6017
|
props: {
|
|
6007
6018
|
modelValue: { type: Boolean },
|
|
@@ -6028,17 +6039,17 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6028
6039
|
"toggle--disabled": e.disabled
|
|
6029
6040
|
}])
|
|
6030
6041
|
}, [
|
|
6031
|
-
(d(), b("svg",
|
|
6042
|
+
(d(), b("svg", qs, [
|
|
6032
6043
|
M("image", {
|
|
6033
|
-
href: e.modelValue ? r(
|
|
6044
|
+
href: e.modelValue ? r(Zs) : r(Ys),
|
|
6034
6045
|
width: "34",
|
|
6035
6046
|
height: "14"
|
|
6036
|
-
}, null, 8,
|
|
6047
|
+
}, null, 8, Fs)
|
|
6037
6048
|
])),
|
|
6038
|
-
e.modelValue ? (d(), b("span",
|
|
6049
|
+
e.modelValue ? (d(), b("span", Ks, W(e.activeText), 1)) : (d(), b("span", Gs, W(e.inactiveText), 1))
|
|
6039
6050
|
], 2),
|
|
6040
|
-
M("span",
|
|
6041
|
-
], 10,
|
|
6051
|
+
M("span", Js, W(e.description), 1)
|
|
6052
|
+
], 10, Xs),
|
|
6042
6053
|
M("input", {
|
|
6043
6054
|
id: r(t),
|
|
6044
6055
|
style: { display: "none" },
|
|
@@ -6050,10 +6061,10 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6050
6061
|
"aria-describedby": r(a),
|
|
6051
6062
|
name: e.name,
|
|
6052
6063
|
onInput: l[0] || (l[0] = (i) => n.$emit("update:modelValue", i.target.checked))
|
|
6053
|
-
}, null, 40,
|
|
6064
|
+
}, null, 40, $s)
|
|
6054
6065
|
], 64));
|
|
6055
6066
|
}
|
|
6056
|
-
}),
|
|
6067
|
+
}), iu = /* @__PURE__ */ P(_s, [["__scopeId", "data-v-a3feaa5e"]]), ec = { class: "av-cancel-confirm-buttons-container av-row av-gap-sm" }, Qa = /* @__PURE__ */ p({
|
|
6057
6068
|
__name: "AvCancelConfirmButtons",
|
|
6058
6069
|
props: {
|
|
6059
6070
|
cancelLabel: {},
|
|
@@ -6070,7 +6081,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6070
6081
|
emits: ["cancel", "confirm"],
|
|
6071
6082
|
setup(e, { emit: t }) {
|
|
6072
6083
|
const a = t;
|
|
6073
|
-
return (n, l) => (d(), b("div",
|
|
6084
|
+
return (n, l) => (d(), b("div", ec, [
|
|
6074
6085
|
e.cancelLabel ? (d(), S(r(oe), {
|
|
6075
6086
|
key: 0,
|
|
6076
6087
|
icon: e.cancelIcon,
|
|
@@ -6099,7 +6110,7 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6099
6110
|
}, null, 8, ["icon", "label", "title", "is-loading", "disabled", "type", "form", "icon-only"])) : L("", !0)
|
|
6100
6111
|
]));
|
|
6101
6112
|
}
|
|
6102
|
-
}), ja = Symbol("header"),
|
|
6113
|
+
}), ja = Symbol("header"), tc = ["aria-label"], ac = { class: "av-btns-group" }, Jt = /* @__PURE__ */ p({
|
|
6103
6114
|
__name: "AvHeaderMenuLinks",
|
|
6104
6115
|
props: {
|
|
6105
6116
|
links: {},
|
|
@@ -6112,9 +6123,9 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6112
6123
|
role: "navigation",
|
|
6113
6124
|
"aria-label": e.navAriaLabel
|
|
6114
6125
|
}, [
|
|
6115
|
-
M("ul",
|
|
6126
|
+
M("ul", ac, [
|
|
6116
6127
|
(d(!0), b($, null, ie(e.links, (i, o) => (d(), b("li", { key: o }, [
|
|
6117
|
-
|
|
6128
|
+
U(oe, {
|
|
6118
6129
|
icon: i.icon,
|
|
6119
6130
|
label: i.label ?? "",
|
|
6120
6131
|
onClick: (s) => {
|
|
@@ -6124,9 +6135,9 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6124
6135
|
}, null, 8, ["icon", "label", "onClick"])
|
|
6125
6136
|
]))), 128))
|
|
6126
6137
|
])
|
|
6127
|
-
], 8,
|
|
6138
|
+
], 8, tc));
|
|
6128
6139
|
}
|
|
6129
|
-
}),
|
|
6140
|
+
}), nc = {}, lc = {
|
|
6130
6141
|
width: "214",
|
|
6131
6142
|
height: "97",
|
|
6132
6143
|
viewBox: "0 0 214 97",
|
|
@@ -6134,8 +6145,8 @@ const Us = ["aria-label"], Vs = /* @__PURE__ */ p({
|
|
|
6134
6145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6135
6146
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
6136
6147
|
};
|
|
6137
|
-
function
|
|
6138
|
-
return d(), b("svg",
|
|
6148
|
+
function ic(e, t) {
|
|
6149
|
+
return d(), b("svg", lc, [...t[0] || (t[0] = [
|
|
6139
6150
|
M("rect", {
|
|
6140
6151
|
width: "213.732",
|
|
6141
6152
|
height: "96.9",
|
|
@@ -6163,25 +6174,25 @@ function nc(e, t) {
|
|
|
6163
6174
|
], -1)
|
|
6164
6175
|
])]);
|
|
6165
6176
|
}
|
|
6166
|
-
const
|
|
6177
|
+
const rc = /* @__PURE__ */ P(nc, [["render", ic]]), oc = {
|
|
6167
6178
|
role: "banner",
|
|
6168
6179
|
class: "av-header"
|
|
6169
|
-
},
|
|
6180
|
+
}, sc = { class: "av-header__body" }, cc = { class: "av-container" }, Ac = { class: "av-header__body-row" }, uc = { class: "av-header__brand" }, dc = { class: "av-header__brand-top" }, fc = { class: "av-header__logo av-enlarge-link" }, vc = {
|
|
6170
6181
|
key: 0,
|
|
6171
6182
|
class: "av-header__navbar"
|
|
6172
|
-
},
|
|
6183
|
+
}, mc = {
|
|
6173
6184
|
key: 0,
|
|
6174
6185
|
class: "av-header__service"
|
|
6175
|
-
},
|
|
6186
|
+
}, gc = { class: "n6" }, Ic = { class: "av-header__tools av-hidden av-unhidden--lg" }, bc = { class: "av-header__tools-links" }, hc = {
|
|
6176
6187
|
key: 0,
|
|
6177
6188
|
class: "av-header__search demo-display-none"
|
|
6178
|
-
},
|
|
6189
|
+
}, yc = { class: "av-header__menu av-hidden av-unhidden--lg" }, Cc = {
|
|
6179
6190
|
key: 0,
|
|
6180
6191
|
class: "av-container av-header__mainnav"
|
|
6181
|
-
},
|
|
6192
|
+
}, Mc = { class: "av-row av-justify-end" }, Ec = { class: "av-header__menu-modal" }, Nc = { class: "av-header__menu-modal-links" }, Tc = {
|
|
6182
6193
|
key: 1,
|
|
6183
6194
|
class: "flex justify-center items-center demo-display-none"
|
|
6184
|
-
},
|
|
6195
|
+
}, Dc = /* @__PURE__ */ p({
|
|
6185
6196
|
__name: "AvHeader",
|
|
6186
6197
|
props: {
|
|
6187
6198
|
searchbarId: { default: "searchbar-header" },
|
|
@@ -6230,24 +6241,24 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6230
6241
|
return Nt(ja, () => A), (N, C) => {
|
|
6231
6242
|
var Z, F, te;
|
|
6232
6243
|
const T = wt("RouterLink"), D = oe, w = Qa, B = Il;
|
|
6233
|
-
return d(), b("header",
|
|
6234
|
-
M("div",
|
|
6235
|
-
M("div",
|
|
6236
|
-
M("div",
|
|
6237
|
-
M("div",
|
|
6238
|
-
M("div",
|
|
6239
|
-
M("div",
|
|
6240
|
-
|
|
6244
|
+
return d(), b("header", oc, [
|
|
6245
|
+
M("div", sc, [
|
|
6246
|
+
M("div", cc, [
|
|
6247
|
+
M("div", Ac, [
|
|
6248
|
+
M("div", uc, [
|
|
6249
|
+
M("div", dc, [
|
|
6250
|
+
M("div", fc, [
|
|
6251
|
+
U(T, {
|
|
6241
6252
|
to: e.homeTo,
|
|
6242
6253
|
title: r(v)
|
|
6243
6254
|
}, {
|
|
6244
6255
|
default: K(() => [
|
|
6245
|
-
|
|
6256
|
+
U(rc, { "data-testid": "header-logo" })
|
|
6246
6257
|
]),
|
|
6247
6258
|
_: 1
|
|
6248
6259
|
}, 8, ["to", "title"])
|
|
6249
6260
|
]),
|
|
6250
|
-
e.showSearch || r(h) || (Z = e.quickLinks) != null && Z.length ? (d(), b("div",
|
|
6261
|
+
e.showSearch || r(h) || (Z = e.quickLinks) != null && Z.length ? (d(), b("div", vc, [
|
|
6251
6262
|
e.showSearch ? (d(), S(D, {
|
|
6252
6263
|
key: 0,
|
|
6253
6264
|
class: "search-button",
|
|
@@ -6275,26 +6286,26 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6275
6286
|
}, null, 8, ["icon", "label", "aria-label", "title"])) : L("", !0)
|
|
6276
6287
|
])) : L("", !0)
|
|
6277
6288
|
]),
|
|
6278
|
-
e.serviceTitle ? (d(), b("div",
|
|
6279
|
-
M("span",
|
|
6280
|
-
|
|
6289
|
+
e.serviceTitle ? (d(), b("div", mc, [
|
|
6290
|
+
M("span", gc, W(e.serviceTitle), 1),
|
|
6291
|
+
V(N.$slots, "serviceDescription", {}, void 0, !0)
|
|
6281
6292
|
])) : L("", !0)
|
|
6282
6293
|
]),
|
|
6283
|
-
M("div",
|
|
6284
|
-
M("div",
|
|
6285
|
-
|
|
6294
|
+
M("div", Ic, [
|
|
6295
|
+
M("div", bc, [
|
|
6296
|
+
V(N.$slots, "before-quick-links", {}, void 0, !0),
|
|
6286
6297
|
!r(o) && ((te = e.quickLinks) != null && te.length) ? (d(), S(Jt, {
|
|
6287
6298
|
key: 0,
|
|
6288
6299
|
links: e.quickLinks,
|
|
6289
6300
|
"nav-aria-label": e.quickLinksAriaLabel
|
|
6290
6301
|
}, null, 8, ["links", "nav-aria-label"])) : L("", !0),
|
|
6291
|
-
|
|
6302
|
+
V(N.$slots, "after-quick-links", {}, void 0, !0),
|
|
6292
6303
|
r(i) ? (d(), S(Pt, _({ key: 1 }, r(i), {
|
|
6293
6304
|
onSelect: C[2] || (C[2] = (k) => a("languageSelect", k))
|
|
6294
6305
|
}), null, 16)) : L("", !0)
|
|
6295
6306
|
]),
|
|
6296
|
-
e.showSearch ? (d(), b("div",
|
|
6297
|
-
|
|
6307
|
+
e.showSearch ? (d(), b("div", hc, [
|
|
6308
|
+
U(qt, {
|
|
6298
6309
|
id: e.searchbarId,
|
|
6299
6310
|
label: e.searchLabel,
|
|
6300
6311
|
"model-value": e.modelValue,
|
|
@@ -6306,12 +6317,12 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6306
6317
|
])) : L("", !0)
|
|
6307
6318
|
])
|
|
6308
6319
|
]),
|
|
6309
|
-
|
|
6320
|
+
V(N.$slots, "default", {}, void 0, !0)
|
|
6310
6321
|
])
|
|
6311
6322
|
]),
|
|
6312
|
-
M("div",
|
|
6313
|
-
r(h) && !r(c) ? (d(), b("div",
|
|
6314
|
-
|
|
6323
|
+
M("div", yc, [
|
|
6324
|
+
r(h) && !r(c) ? (d(), b("div", Cc, [
|
|
6325
|
+
V(N.$slots, "mainnav", { hidemodal: A }, void 0, !0)
|
|
6315
6326
|
])) : L("", !0)
|
|
6316
6327
|
]),
|
|
6317
6328
|
r(l) && (e.showSearch || r(h) || e.quickLinks && e.quickLinks.length || r(i)) ? (d(), S(B, {
|
|
@@ -6325,20 +6336,20 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6325
6336
|
width: "75%"
|
|
6326
6337
|
}, {
|
|
6327
6338
|
default: K(() => [
|
|
6328
|
-
M("div",
|
|
6329
|
-
|
|
6339
|
+
M("div", Mc, [
|
|
6340
|
+
U(w, {
|
|
6330
6341
|
"cancel-label": e.closeMenuModalLabel,
|
|
6331
6342
|
"cancel-icon": r(H).CLOSE_CIRCLE_OUTLINE,
|
|
6332
6343
|
"icon-only": "",
|
|
6333
6344
|
onCancel: A
|
|
6334
6345
|
}, null, 8, ["cancel-label", "cancel-icon"])
|
|
6335
6346
|
]),
|
|
6336
|
-
M("div",
|
|
6337
|
-
M("div",
|
|
6347
|
+
M("div", Ec, [
|
|
6348
|
+
M("div", Nc, [
|
|
6338
6349
|
r(i) ? (d(), S(Pt, _({ key: 0 }, r(i), {
|
|
6339
6350
|
onSelect: C[5] || (C[5] = (k) => a("languageSelect", k))
|
|
6340
6351
|
}), null, 16)) : L("", !0),
|
|
6341
|
-
|
|
6352
|
+
V(N.$slots, "before-quick-links", {}, void 0, !0),
|
|
6342
6353
|
r(o) ? (d(), S(Jt, {
|
|
6343
6354
|
key: 1,
|
|
6344
6355
|
role: "navigation",
|
|
@@ -6346,14 +6357,14 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6346
6357
|
"nav-aria-label": e.quickLinksAriaLabel,
|
|
6347
6358
|
onLinkClick: r(m)
|
|
6348
6359
|
}, null, 8, ["links", "nav-aria-label", "onLinkClick"])) : L("", !0),
|
|
6349
|
-
|
|
6360
|
+
V(N.$slots, "after-quick-links", {}, void 0, !0)
|
|
6350
6361
|
]),
|
|
6351
|
-
r(c) ?
|
|
6362
|
+
r(c) ? V(N.$slots, "mainnav", {
|
|
6352
6363
|
key: 0,
|
|
6353
6364
|
hidemodal: A
|
|
6354
6365
|
}, void 0, !0) : L("", !0),
|
|
6355
|
-
r(s) ? (d(), b("div",
|
|
6356
|
-
|
|
6366
|
+
r(s) ? (d(), b("div", Tc, [
|
|
6367
|
+
U(qt, {
|
|
6357
6368
|
"searchbar-id": e.searchbarId,
|
|
6358
6369
|
"model-value": e.modelValue,
|
|
6359
6370
|
placeholder: e.placeholder,
|
|
@@ -6368,12 +6379,12 @@ const lc = /* @__PURE__ */ P(tc, [["render", nc]]), ic = {
|
|
|
6368
6379
|
]);
|
|
6369
6380
|
};
|
|
6370
6381
|
}
|
|
6371
|
-
}),
|
|
6382
|
+
}), ru = /* @__PURE__ */ P(Dc, [["__scopeId", "data-v-aabccc88"]]), Lc = {
|
|
6372
6383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6373
6384
|
viewBox: "0 0 106.703 44.429"
|
|
6374
6385
|
};
|
|
6375
|
-
function
|
|
6376
|
-
return d(), b("svg",
|
|
6386
|
+
function wc(e, t) {
|
|
6387
|
+
return d(), b("svg", Lc, [...t[0] || (t[0] = [
|
|
6377
6388
|
M("path", {
|
|
6378
6389
|
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",
|
|
6379
6390
|
style: { fill: "#ed184e", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none", "stroke-width": ".0352778" },
|
|
@@ -6386,7 +6397,7 @@ function Dc(e, t) {
|
|
|
6386
6397
|
}, null, -1)
|
|
6387
6398
|
])]);
|
|
6388
6399
|
}
|
|
6389
|
-
const
|
|
6400
|
+
const xc = { render: wc }, Oc = { class: "svg-wrapper" }, Sc = /* @__PURE__ */ p({
|
|
6390
6401
|
__name: "EsupLogo",
|
|
6391
6402
|
props: {
|
|
6392
6403
|
width: {},
|
|
@@ -6401,15 +6412,15 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6401
6412
|
...e.width && { width: e.width },
|
|
6402
6413
|
...e.height && { height: e.height }
|
|
6403
6414
|
}));
|
|
6404
|
-
return (a, n) => (d(), b("div",
|
|
6405
|
-
|
|
6415
|
+
return (a, n) => (d(), b("div", Oc, [
|
|
6416
|
+
U(r(xc), _(r(t), {
|
|
6406
6417
|
class: "logo",
|
|
6407
6418
|
role: "img",
|
|
6408
6419
|
"aria-label": "Logo Esup Portail"
|
|
6409
6420
|
}), null, 16)
|
|
6410
6421
|
]));
|
|
6411
6422
|
}
|
|
6412
|
-
}),
|
|
6423
|
+
}), ou = /* @__PURE__ */ P(Sc, [["__scopeId", "data-v-c54db433"]]), pc = ["aria-label"], kc = ["id"], Qc = { class: "av-breadcrumb__list" }, jc = ["aria-current"], zc = /* @__PURE__ */ p({
|
|
6413
6424
|
__name: "AvBreadcrumb",
|
|
6414
6425
|
props: {
|
|
6415
6426
|
id: {},
|
|
@@ -6459,7 +6470,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6459
6470
|
"av-collapsing": r(a)
|
|
6460
6471
|
}])
|
|
6461
6472
|
}, [
|
|
6462
|
-
M("ol",
|
|
6473
|
+
M("ol", Qc, [
|
|
6463
6474
|
(d(!0), b($, null, ie(e.links, (m, v) => (d(), b("li", {
|
|
6464
6475
|
key: v,
|
|
6465
6476
|
class: "av-breadcrumb__item",
|
|
@@ -6479,14 +6490,14 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6479
6490
|
key: 1,
|
|
6480
6491
|
"aria-current": v === e.links.length - 1 ? "page" : void 0,
|
|
6481
6492
|
class: "b2-regular av-breadcrumb__link"
|
|
6482
|
-
}, W(m.text), 9,
|
|
6493
|
+
}, W(m.text), 9, jc))
|
|
6483
6494
|
], 4))), 128))
|
|
6484
6495
|
])
|
|
6485
|
-
], 10,
|
|
6486
|
-
], 8,
|
|
6496
|
+
], 10, kc)
|
|
6497
|
+
], 8, pc)) : L("", !0);
|
|
6487
6498
|
};
|
|
6488
6499
|
}
|
|
6489
|
-
}),
|
|
6500
|
+
}), su = /* @__PURE__ */ P(zc, [["__scopeId", "data-v-7edf8c6c"]]), Bc = ["id", "aria-current"], Pc = /* @__PURE__ */ p({
|
|
6490
6501
|
__name: "NavigationItem",
|
|
6491
6502
|
props: {
|
|
6492
6503
|
id: {},
|
|
@@ -6499,10 +6510,10 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6499
6510
|
class: Q(["av-nav__item", { "av-nav__item--active": e.active }]),
|
|
6500
6511
|
"aria-current": e.active ? "page" : void 0
|
|
6501
6512
|
}, [
|
|
6502
|
-
|
|
6503
|
-
], 10,
|
|
6513
|
+
V(a.$slots, "default", {}, void 0, !0)
|
|
6514
|
+
], 10, Bc));
|
|
6504
6515
|
}
|
|
6505
|
-
}),
|
|
6516
|
+
}), Wc = /* @__PURE__ */ P(Pc, [["__scopeId", "data-v-94f974c7"]]), Uc = ["id", "aria-current"], Vc = /* @__PURE__ */ p({
|
|
6506
6517
|
__name: "NavigationMenuItem",
|
|
6507
6518
|
props: {
|
|
6508
6519
|
id: {},
|
|
@@ -6515,10 +6526,10 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6515
6526
|
class: "av-menu__item",
|
|
6516
6527
|
"aria-current": e.active ? "page" : void 0
|
|
6517
6528
|
}, [
|
|
6518
|
-
|
|
6519
|
-
], 8,
|
|
6529
|
+
V(a.$slots, "default", {}, void 0, !0)
|
|
6530
|
+
], 8, Uc));
|
|
6520
6531
|
}
|
|
6521
|
-
}),
|
|
6532
|
+
}), Hc = /* @__PURE__ */ P(Vc, [["__scopeId", "data-v-fe85d2ff"]]), Rc = ["href"], Zc = { class: "b1-regular" }, Yc = { class: "b1-regular" }, Xc = /* @__PURE__ */ p({
|
|
6522
6533
|
__name: "NavigationMenuLink",
|
|
6523
6534
|
props: {
|
|
6524
6535
|
id: {},
|
|
@@ -6547,8 +6558,8 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6547
6558
|
o.$emit("toggleId", r(a)), e.onClick(u);
|
|
6548
6559
|
})
|
|
6549
6560
|
}, [
|
|
6550
|
-
M("span",
|
|
6551
|
-
], 10,
|
|
6561
|
+
M("span", Zc, W(e.text), 1)
|
|
6562
|
+
], 10, Rc)) : (d(), S(A, {
|
|
6552
6563
|
key: 1,
|
|
6553
6564
|
class: "av-nav__link",
|
|
6554
6565
|
"data-testid": "nav-router-link",
|
|
@@ -6564,13 +6575,13 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6564
6575
|
name: e.icon,
|
|
6565
6576
|
size: 1.5
|
|
6566
6577
|
}, null, 8, ["name"])) : L("", !0),
|
|
6567
|
-
M("span",
|
|
6578
|
+
M("span", Yc, W(e.text), 1)
|
|
6568
6579
|
]),
|
|
6569
6580
|
_: 1
|
|
6570
6581
|
}, 8, ["to"]));
|
|
6571
6582
|
};
|
|
6572
6583
|
}
|
|
6573
|
-
}), za = /* @__PURE__ */ P(
|
|
6584
|
+
}), za = /* @__PURE__ */ P(Xc, [["__scopeId", "data-v-972cb2ab"]]), qc = ["aria-expanded", "aria-current", "aria-controls"], Fc = ["id"], Kc = { class: "av-menu__list" }, Gc = /* @__PURE__ */ p({
|
|
6574
6585
|
__name: "NavigationMenu",
|
|
6575
6586
|
props: {
|
|
6576
6587
|
id: {},
|
|
@@ -6604,7 +6615,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6604
6615
|
onClick: u[0] || (u[0] = (f) => A.$emit("toggleId", r(o)))
|
|
6605
6616
|
}, [
|
|
6606
6617
|
M("span", null, W(e.title), 1)
|
|
6607
|
-
], 12,
|
|
6618
|
+
], 12, qc),
|
|
6608
6619
|
M("div", {
|
|
6609
6620
|
id: r(o),
|
|
6610
6621
|
ref_key: "collapse",
|
|
@@ -6613,23 +6624,23 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6613
6624
|
"data-testid": "navigation-menu",
|
|
6614
6625
|
onTransitionend: u[2] || (u[2] = (f) => r(i)(r(s)))
|
|
6615
6626
|
}, [
|
|
6616
|
-
M("ul",
|
|
6617
|
-
(d(!0), b($, null, ie(e.links, (f, g) => (d(), S(
|
|
6627
|
+
M("ul", Kc, [
|
|
6628
|
+
(d(!0), b($, null, ie(e.links, (f, g) => (d(), S(Hc, { key: g }, {
|
|
6618
6629
|
default: K(() => [
|
|
6619
|
-
|
|
6630
|
+
U(za, _({ ref_for: !0 }, f, {
|
|
6620
6631
|
onToggleId: u[1] || (u[1] = (m) => A.$emit("toggleId", e.expandedId))
|
|
6621
6632
|
}), null, 16)
|
|
6622
6633
|
]),
|
|
6623
6634
|
_: 2
|
|
6624
6635
|
}, 1024))), 128))
|
|
6625
6636
|
])
|
|
6626
|
-
], 42,
|
|
6637
|
+
], 42, Fc)
|
|
6627
6638
|
], 64));
|
|
6628
6639
|
}
|
|
6629
|
-
}),
|
|
6640
|
+
}), Jc = /* @__PURE__ */ P(Gc, [["__scopeId", "data-v-3235602d"]]), $c = {
|
|
6630
6641
|
style: { position: "relative" },
|
|
6631
6642
|
class: "my-nav-wrapper"
|
|
6632
|
-
},
|
|
6643
|
+
}, _c = ["id", "aria-label"], eA = { class: "av-nav__list" }, cu = /* @__PURE__ */ p({
|
|
6633
6644
|
__name: "AvNavigation",
|
|
6634
6645
|
props: {
|
|
6635
6646
|
id: {},
|
|
@@ -6664,15 +6675,15 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6664
6675
|
document.addEventListener("click", i), document.addEventListener("keydown", o);
|
|
6665
6676
|
}), ge(() => {
|
|
6666
6677
|
document.removeEventListener("click", i), document.removeEventListener("keydown", o);
|
|
6667
|
-
}), (s, c) => (d(), b("div",
|
|
6678
|
+
}), (s, c) => (d(), b("div", $c, [
|
|
6668
6679
|
M("nav", {
|
|
6669
6680
|
id: r(t),
|
|
6670
6681
|
class: "av-nav",
|
|
6671
6682
|
role: "navigation",
|
|
6672
6683
|
"aria-label": e.label
|
|
6673
6684
|
}, [
|
|
6674
|
-
M("ul",
|
|
6675
|
-
(d(!0), b($, null, ie(e.navItems, (A, u) => (d(), S(
|
|
6685
|
+
M("ul", eA, [
|
|
6686
|
+
(d(!0), b($, null, ie(e.navItems, (A, u) => (d(), S(Wc, { key: u }, {
|
|
6676
6687
|
default: K(() => [
|
|
6677
6688
|
A.to && A.text ? (d(), S(za, _({
|
|
6678
6689
|
key: 0,
|
|
@@ -6680,7 +6691,7 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6680
6691
|
}, A, {
|
|
6681
6692
|
"active-id": r(a),
|
|
6682
6693
|
onToggleId: c[0] || (c[0] = (f) => n(f))
|
|
6683
|
-
}), null, 16, ["active-id"])) : A.title && A.links ? (d(), S(
|
|
6694
|
+
}), null, 16, ["active-id"])) : A.title && A.links ? (d(), S(Jc, _({
|
|
6684
6695
|
key: 1,
|
|
6685
6696
|
ref_for: !0
|
|
6686
6697
|
}, A, {
|
|
@@ -6691,16 +6702,16 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6691
6702
|
_: 2
|
|
6692
6703
|
}, 1024))), 128))
|
|
6693
6704
|
])
|
|
6694
|
-
], 8,
|
|
6705
|
+
], 8, _c)
|
|
6695
6706
|
]));
|
|
6696
6707
|
}
|
|
6697
|
-
}),
|
|
6708
|
+
}), tA = ["aria-label"], aA = { class: "av-pagination__list av-row av-row-wrap av-align-center av-gap-sm" }, nA = { key: 0 }, lA = { class: "b2-regular" }, iA = ["href", "title", "aria-disabled"], rA = { class: "av-sr-only" }, oA = ["href", "title", "aria-disabled"], sA = {
|
|
6698
6709
|
key: 0,
|
|
6699
6710
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
6700
|
-
},
|
|
6711
|
+
}, cA = ["href", "title", "aria-current", "onClick"], AA = { key: 0 }, uA = { key: 1 }, dA = ["href", "title", "disabled", "aria-disabled"], fA = {
|
|
6701
6712
|
key: 0,
|
|
6702
6713
|
class: "caption-regular av-hidden av-unhidden-md"
|
|
6703
|
-
},
|
|
6714
|
+
}, vA = ["href", "title", "disabled", "aria-disabled"], mA = { class: "av-sr-only" }, gA = /* @__PURE__ */ p({
|
|
6704
6715
|
__name: "AvPagination",
|
|
6705
6716
|
props: {
|
|
6706
6717
|
compact: { type: Boolean, default: !1 },
|
|
@@ -6725,9 +6736,9 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6725
6736
|
class: "av-pagination av-nav",
|
|
6726
6737
|
"aria-label": e.ariaLabel
|
|
6727
6738
|
}, [
|
|
6728
|
-
M("ul",
|
|
6729
|
-
e.compact && e.compactCurrentPageLabel ? (d(), b("li",
|
|
6730
|
-
M("span",
|
|
6739
|
+
M("ul", aA, [
|
|
6740
|
+
e.compact && e.compactCurrentPageLabel ? (d(), b("li", nA, [
|
|
6741
|
+
M("span", lA, W(e.compactCurrentPageLabel), 1)
|
|
6731
6742
|
])) : L("", !0),
|
|
6732
6743
|
M("li", null, [
|
|
6733
6744
|
e.compact ? L("", !0) : (d(), b("a", {
|
|
@@ -6738,12 +6749,12 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6738
6749
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6739
6750
|
onClick: h[0] || (h[0] = ue((w) => A(), ["prevent"]))
|
|
6740
6751
|
}, [
|
|
6741
|
-
|
|
6752
|
+
U(ne, {
|
|
6742
6753
|
name: r(H).PAGE_FIRST,
|
|
6743
6754
|
size: 1.5
|
|
6744
6755
|
}, null, 8, ["name"]),
|
|
6745
|
-
M("span",
|
|
6746
|
-
], 8,
|
|
6756
|
+
M("span", rA, W(e.firstPageLabel), 1)
|
|
6757
|
+
], 8, iA))
|
|
6747
6758
|
]),
|
|
6748
6759
|
M("li", null, [
|
|
6749
6760
|
M("a", {
|
|
@@ -6753,12 +6764,12 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6753
6764
|
"aria-disabled": e.currentPage === 0 ? !0 : void 0,
|
|
6754
6765
|
onClick: h[1] || (h[1] = ue((w) => u(), ["prevent"]))
|
|
6755
6766
|
}, [
|
|
6756
|
-
|
|
6767
|
+
U(ne, {
|
|
6757
6768
|
name: r(H).NAVIGATE_BEFORE,
|
|
6758
6769
|
size: 1.5
|
|
6759
6770
|
}, null, 8, ["name"]),
|
|
6760
|
-
e.compact ? L("", !0) : (d(), b("span",
|
|
6761
|
-
], 8,
|
|
6771
|
+
e.compact ? L("", !0) : (d(), b("span", sA, W(e.prevPageLabel), 1))
|
|
6772
|
+
], 8, oA)
|
|
6762
6773
|
]),
|
|
6763
6774
|
e.compact ? L("", !0) : (d(!0), b($, { key: 1 }, ie(r(i), (w, B) => (d(), b("li", { key: B }, [
|
|
6764
6775
|
M("a", {
|
|
@@ -6768,10 +6779,10 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6768
6779
|
"aria-current": m(w) ? "page" : void 0,
|
|
6769
6780
|
onClick: ue((Z) => c(e.pages.indexOf(w)), ["prevent"])
|
|
6770
6781
|
}, [
|
|
6771
|
-
r(i).indexOf(w) === 0 && r(n) > 0 ? (d(), b("span",
|
|
6782
|
+
r(i).indexOf(w) === 0 && r(n) > 0 ? (d(), b("span", AA, "...")) : L("", !0),
|
|
6772
6783
|
Le(" " + W(w.label) + " ", 1),
|
|
6773
|
-
r(i).indexOf(w) === r(i).length - 1 && r(l) < e.pages.length - 1 ? (d(), b("span",
|
|
6774
|
-
], 8,
|
|
6784
|
+
r(i).indexOf(w) === r(i).length - 1 && r(l) < e.pages.length - 1 ? (d(), b("span", uA, "...")) : L("", !0)
|
|
6785
|
+
], 8, cA)
|
|
6775
6786
|
]))), 128)),
|
|
6776
6787
|
M("li", null, [
|
|
6777
6788
|
M("a", {
|
|
@@ -6782,12 +6793,12 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6782
6793
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6783
6794
|
onClick: h[2] || (h[2] = ue((w) => f(), ["prevent"]))
|
|
6784
6795
|
}, [
|
|
6785
|
-
e.compact ? L("", !0) : (d(), b("span",
|
|
6786
|
-
|
|
6796
|
+
e.compact ? L("", !0) : (d(), b("span", fA, W(e.nextPageLabel), 1)),
|
|
6797
|
+
U(ne, {
|
|
6787
6798
|
name: r(H).NAVIGATE_NEXT,
|
|
6788
6799
|
size: 1.5
|
|
6789
6800
|
}, null, 8, ["name"])
|
|
6790
|
-
], 8,
|
|
6801
|
+
], 8, dA)
|
|
6791
6802
|
]),
|
|
6792
6803
|
M("li", null, [
|
|
6793
6804
|
e.compact ? L("", !0) : (d(), b("a", {
|
|
@@ -6799,19 +6810,19 @@ const Lc = { render: Dc }, wc = { class: "svg-wrapper" }, Oc = /* @__PURE__ */ p
|
|
|
6799
6810
|
"aria-disabled": e.currentPage === e.pages.length - 1 ? !0 : void 0,
|
|
6800
6811
|
onClick: h[3] || (h[3] = ue((w) => g(), ["prevent"]))
|
|
6801
6812
|
}, [
|
|
6802
|
-
M("span",
|
|
6803
|
-
|
|
6813
|
+
M("span", mA, W(e.lastPageLabel), 1),
|
|
6814
|
+
U(ne, {
|
|
6804
6815
|
name: r(H).PAGE_LAST,
|
|
6805
6816
|
size: 1.5
|
|
6806
6817
|
}, null, 8, ["name"])
|
|
6807
|
-
], 8,
|
|
6818
|
+
], 8, vA))
|
|
6808
6819
|
])
|
|
6809
6820
|
])
|
|
6810
|
-
], 8,
|
|
6821
|
+
], 8, tA)) : L("", !0);
|
|
6811
6822
|
};
|
|
6812
6823
|
}
|
|
6813
|
-
}),
|
|
6814
|
-
function
|
|
6824
|
+
}), Au = /* @__PURE__ */ P(gA, [["__scopeId", "data-v-e50ee994"]]);
|
|
6825
|
+
function uu(e) {
|
|
6815
6826
|
return Array.from({ length: e.value }, (t, a) => {
|
|
6816
6827
|
const n = a + 1;
|
|
6817
6828
|
return {
|
|
@@ -6821,10 +6832,10 @@ function cu(e) {
|
|
|
6821
6832
|
};
|
|
6822
6833
|
});
|
|
6823
6834
|
}
|
|
6824
|
-
const
|
|
6835
|
+
const IA = ["id", "aria-label"], bA = {
|
|
6825
6836
|
key: 0,
|
|
6826
6837
|
class: "av-side-menu__header"
|
|
6827
|
-
},
|
|
6838
|
+
}, hA = { class: "av-side-menu__content" }, yA = /* @__PURE__ */ p({
|
|
6828
6839
|
__name: "AvSideMenu",
|
|
6829
6840
|
props: /* @__PURE__ */ ye({
|
|
6830
6841
|
id: {},
|
|
@@ -6857,8 +6868,8 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6857
6868
|
class: Q(["av-side-menu", { "av-side-menu--collapsed": r(s) }]),
|
|
6858
6869
|
"aria-label": r(o)
|
|
6859
6870
|
}, [
|
|
6860
|
-
t.collapsible ? (d(), b("div",
|
|
6861
|
-
|
|
6871
|
+
t.collapsible ? (d(), b("div", bA, [
|
|
6872
|
+
U(oe, {
|
|
6862
6873
|
"aria-expanded": !r(s),
|
|
6863
6874
|
"aria-controls": r(i),
|
|
6864
6875
|
icon: r(s) ? r(H).CHEVRON_DOUBLE_RIGHT : r(H).CHEVRON_DOUBLE_LEFT,
|
|
@@ -6868,12 +6879,12 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6868
6879
|
onClick: A
|
|
6869
6880
|
}, null, 8, ["aria-expanded", "aria-controls", "icon", "label"])
|
|
6870
6881
|
])) : L("", !0),
|
|
6871
|
-
M("div",
|
|
6872
|
-
|
|
6882
|
+
M("div", hA, [
|
|
6883
|
+
V(u.$slots, "default", {}, void 0, !0)
|
|
6873
6884
|
])
|
|
6874
|
-
], 10,
|
|
6885
|
+
], 10, IA));
|
|
6875
6886
|
}
|
|
6876
|
-
}),
|
|
6887
|
+
}), CA = /* @__PURE__ */ P(yA, [["__scopeId", "data-v-23242ccc"]]), MA = /* @__PURE__ */ p({
|
|
6877
6888
|
__name: "AvSideNavigation",
|
|
6878
6889
|
props: /* @__PURE__ */ ye({
|
|
6879
6890
|
items: {},
|
|
@@ -6895,14 +6906,14 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6895
6906
|
function n(l) {
|
|
6896
6907
|
t.value = l;
|
|
6897
6908
|
}
|
|
6898
|
-
return (l, i) => (d(), S(
|
|
6909
|
+
return (l, i) => (d(), S(CA, {
|
|
6899
6910
|
collapsed: a.value,
|
|
6900
6911
|
"onUpdate:collapsed": i[0] || (i[0] = (o) => a.value = o),
|
|
6901
6912
|
"collapsed-width": e.collapsedWidth,
|
|
6902
6913
|
color: e.selectedItemColor
|
|
6903
6914
|
}, {
|
|
6904
6915
|
default: K(() => [
|
|
6905
|
-
|
|
6916
|
+
U(r(La), {
|
|
6906
6917
|
size: "small",
|
|
6907
6918
|
role: "menu"
|
|
6908
6919
|
}, {
|
|
@@ -6927,7 +6938,7 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6927
6938
|
_: 1
|
|
6928
6939
|
}, 8, ["collapsed", "collapsed-width", "color"]));
|
|
6929
6940
|
}
|
|
6930
|
-
}),
|
|
6941
|
+
}), du = /* @__PURE__ */ P(MA, [["__scopeId", "data-v-5e3ce08d"]]), EA = { class: "av-stepper av-col" }, NA = { class: "main-container av-row av-align-center" }, TA = ["aria-current"], DA = ["aria-current"], LA = { class: "b1-regular" }, wA = { class: "main-labels-container av-row av-align-start av-justify-between av-pt-xs" }, xA = /* @__PURE__ */ p({
|
|
6931
6942
|
__name: "AvStepper",
|
|
6932
6943
|
props: {
|
|
6933
6944
|
steps: {},
|
|
@@ -6937,14 +6948,14 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6937
6948
|
setup(e) {
|
|
6938
6949
|
return re((t) => ({
|
|
6939
6950
|
v4b4d4496: t.width
|
|
6940
|
-
})), (t, a) => (d(), b("div",
|
|
6941
|
-
M("div",
|
|
6951
|
+
})), (t, a) => (d(), b("div", EA, [
|
|
6952
|
+
M("div", NA, [
|
|
6942
6953
|
M("div", {
|
|
6943
6954
|
class: "step step--active",
|
|
6944
6955
|
"aria-current": e.currentStep === 0 ? "step" : void 0
|
|
6945
6956
|
}, [...a[0] || (a[0] = [
|
|
6946
6957
|
M("span", { class: "b1-regular" }, "1", -1)
|
|
6947
|
-
])], 8,
|
|
6958
|
+
])], 8, TA),
|
|
6948
6959
|
(d(!0), b($, null, ie(e.steps.slice(1, e.steps.length), (n, l) => (d(), b("div", {
|
|
6949
6960
|
key: l,
|
|
6950
6961
|
class: "steps-container av-row av-align-center"
|
|
@@ -6956,11 +6967,11 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6956
6967
|
class: Q(["step av-col av-align-center av-justify-center", { "step--active": l + 1 <= e.currentStep }]),
|
|
6957
6968
|
"aria-current": l + 1 === e.currentStep ? "step" : void 0
|
|
6958
6969
|
}, [
|
|
6959
|
-
M("span",
|
|
6960
|
-
], 10,
|
|
6970
|
+
M("span", LA, W(l + 2), 1)
|
|
6971
|
+
], 10, DA)
|
|
6961
6972
|
]))), 128))
|
|
6962
6973
|
]),
|
|
6963
|
-
M("div",
|
|
6974
|
+
M("div", wA, [
|
|
6964
6975
|
(d(!0), b($, null, ie(e.steps, (n, l) => (d(), b("div", {
|
|
6965
6976
|
key: l,
|
|
6966
6977
|
class: "label-container av-col av-align-center av-justify-center"
|
|
@@ -6975,10 +6986,10 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
6975
6986
|
])
|
|
6976
6987
|
]));
|
|
6977
6988
|
}
|
|
6978
|
-
}),
|
|
6989
|
+
}), fu = /* @__PURE__ */ P(xA, [["__scopeId", "data-v-7b8405c2"]]), OA = ["id", "aria-labelledby", "role", "open"], SA = { class: "av-container av-container--md av-container-fluid" }, pA = { class: "av-modal__body" }, kA = { class: "av-modal__content" }, QA = {
|
|
6979
6990
|
key: 0,
|
|
6980
6991
|
class: "header"
|
|
6981
|
-
},
|
|
6992
|
+
}, jA = { class: "av-modal__footer" }, zA = /* @__PURE__ */ p({
|
|
6982
6993
|
__name: "AvModal",
|
|
6983
6994
|
props: {
|
|
6984
6995
|
id: {},
|
|
@@ -7022,16 +7033,16 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
7022
7033
|
open: e.opened,
|
|
7023
7034
|
onKeydown: u[2] || (u[2] = Ae((g) => a("close"), ["esc"]))
|
|
7024
7035
|
}, [
|
|
7025
|
-
M("div",
|
|
7026
|
-
M("div",
|
|
7027
|
-
M("div",
|
|
7028
|
-
n.header ? (d(), b("div",
|
|
7029
|
-
|
|
7036
|
+
M("div", SA, [
|
|
7037
|
+
M("div", pA, [
|
|
7038
|
+
M("div", kA, [
|
|
7039
|
+
n.header ? (d(), b("div", QA, [
|
|
7040
|
+
V(A.$slots, "header", {}, void 0, !0)
|
|
7030
7041
|
])) : L("", !0),
|
|
7031
|
-
|
|
7042
|
+
V(A.$slots, "default", {}, void 0, !0)
|
|
7032
7043
|
]),
|
|
7033
|
-
M("div",
|
|
7034
|
-
|
|
7044
|
+
M("div", jA, [
|
|
7045
|
+
U(f, {
|
|
7035
7046
|
ref_key: "closeBtn",
|
|
7036
7047
|
ref: o,
|
|
7037
7048
|
"cancel-label": e.closeButtonLabel,
|
|
@@ -7045,37 +7056,37 @@ const mA = ["id", "aria-label"], gA = {
|
|
|
7045
7056
|
onCancel: u[0] || (u[0] = () => a("close")),
|
|
7046
7057
|
onConfirm: u[1] || (u[1] = () => a("confirm"))
|
|
7047
7058
|
}, null, 8, ["cancel-label", "cancel-icon", "cancel-disabled", "cancel-is-loading", "confirm-label", "confirm-icon", "confirm-disabled", "confirm-is-loading"]),
|
|
7048
|
-
|
|
7059
|
+
V(A.$slots, "footer", {}, void 0, !0)
|
|
7049
7060
|
])
|
|
7050
7061
|
])
|
|
7051
7062
|
])
|
|
7052
|
-
], 42,
|
|
7063
|
+
], 42, OA)
|
|
7053
7064
|
]),
|
|
7054
7065
|
_: 3
|
|
7055
7066
|
})) : L("", !0)
|
|
7056
7067
|
]);
|
|
7057
7068
|
};
|
|
7058
7069
|
}
|
|
7059
|
-
}),
|
|
7070
|
+
}), vu = /* @__PURE__ */ P(zA, [["__scopeId", "data-v-82e0cdaa"]]);
|
|
7060
7071
|
export {
|
|
7061
7072
|
Zl as AV_BREAKPOINTS,
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7073
|
+
YA as AvAccordion,
|
|
7074
|
+
XA as AvAccordionsGroup,
|
|
7075
|
+
On as AvAlert,
|
|
7076
|
+
eu as AvAutocomplete,
|
|
7077
|
+
WA as AvBadge,
|
|
7078
|
+
su as AvBreadcrumb,
|
|
7068
7079
|
oe as AvButton,
|
|
7069
7080
|
Qa as AvCancelConfirmButtons,
|
|
7070
|
-
|
|
7081
|
+
RA as AvCard,
|
|
7071
7082
|
si as AvCheckbox,
|
|
7072
7083
|
ci as AvCheckboxesGroup,
|
|
7073
7084
|
Il as AvDrawer,
|
|
7074
7085
|
Jl as AvDropdown,
|
|
7075
7086
|
la as AvFieldset,
|
|
7076
7087
|
ia as AvFieldsetElement,
|
|
7077
|
-
|
|
7078
|
-
|
|
7088
|
+
KA as AvFileUpload,
|
|
7089
|
+
ru as AvHeader,
|
|
7079
7090
|
Jt as AvHeaderMenuLinks,
|
|
7080
7091
|
ne as AvIcon,
|
|
7081
7092
|
tn as AvIconText,
|
|
@@ -7083,44 +7094,44 @@ export {
|
|
|
7083
7094
|
Pt as AvLanguageSelector,
|
|
7084
7095
|
La as AvList,
|
|
7085
7096
|
wa as AvListItem,
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7097
|
+
rc as AvLogo,
|
|
7098
|
+
vu as AvModal,
|
|
7099
|
+
tu as AvMultiselect,
|
|
7100
|
+
cu as AvNavigation,
|
|
7101
|
+
VA as AvNotice,
|
|
7102
|
+
$A as AvPageSizePicker,
|
|
7103
|
+
Au as AvPagination,
|
|
7104
|
+
GA as AvPeriodInput,
|
|
7094
7105
|
Fl as AvPopover,
|
|
7095
7106
|
Mo as AvRadioButton,
|
|
7096
|
-
|
|
7097
|
-
|
|
7107
|
+
_A as AvRadioButtonSet,
|
|
7108
|
+
FA as AvRichButton,
|
|
7098
7109
|
qt as AvSearchBar,
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7110
|
+
au as AvSelect,
|
|
7111
|
+
CA as AvSideMenu,
|
|
7112
|
+
du as AvSideNavigation,
|
|
7113
|
+
fu as AvStepper,
|
|
7114
|
+
nu as AvTab,
|
|
7115
|
+
lu as AvTabs,
|
|
7105
7116
|
_a as AvTag,
|
|
7106
7117
|
yo as AvTagPicker,
|
|
7107
|
-
|
|
7108
|
-
|
|
7118
|
+
ZA as AvToaster,
|
|
7119
|
+
iu as AvToggle,
|
|
7109
7120
|
pe as DropdownState,
|
|
7110
|
-
|
|
7121
|
+
ou as EsupLogo,
|
|
7111
7122
|
be as ICONS_DATA_URL,
|
|
7112
7123
|
H as MDI_ICONS,
|
|
7113
|
-
|
|
7114
|
-
|
|
7124
|
+
xa as PageSizes,
|
|
7125
|
+
UA as RI_ICONS,
|
|
7115
7126
|
An as formatTextToHtml,
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7127
|
+
uu as getPaginationPages,
|
|
7128
|
+
HA as isValidEmail,
|
|
7129
|
+
JA as pageSizeValues,
|
|
7119
7130
|
ja as registerNavigationLinkKey,
|
|
7120
7131
|
gn as removeDuplicates,
|
|
7121
7132
|
un as toSentenceCase,
|
|
7122
7133
|
st as useAvBreakpoints,
|
|
7123
7134
|
ot as useCollapsable,
|
|
7124
7135
|
Yl as useFocusTrap,
|
|
7125
|
-
|
|
7136
|
+
qA as useGlobalBackgroundColor
|
|
7126
7137
|
};
|