@assemblyvoting/ui-library 1.4.0 → 1.4.2
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/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as e2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as
|
1
|
+
import { unref as Z2, getCurrentScope as nk, onScopeDispose as rk, watch as e2, ref as F, computed as g, onMounted as v2, onUnmounted as lk, h as j2, Transition as N2, withDirectives as S2, vShow as X2, defineComponent as P, openBlock as u, createElementBlock as d, createBlock as q, resolveDynamicComponent as Oa, withCtx as $, renderSlot as K, resolveComponent as M, normalizeClass as j, createCommentVNode as y, createTextVNode as c2, toDisplayString as V, createElementVNode as o, createVNode as z, normalizeStyle as H2, reactive as T9, provide as D9, Fragment as R, renderList as X, inject as I9, pushScopeId as T2, popScopeId as D2, useCssVars as ok, mergeProps as fk, withModifiers as A2, withKeys as B9, getCurrentInstance as uk, nextTick as mk, vModelText as P9 } from "vue";
|
2
2
|
var n2 = "top", m2 = "bottom", d2 = "right", r2 = "left", B4 = "auto", x1 = [n2, m2, d2, r2], J2 = "start", z1 = "end", dk = "clippingParents", O9 = "viewport", u1 = "popper", vk = "reference", ja = /* @__PURE__ */ x1.reduce(function(c, a) {
|
3
3
|
return c.concat([a + "-" + J2, a + "-" + z1]);
|
4
4
|
}, []), j9 = /* @__PURE__ */ [].concat(x1, [B4]).reduce(function(c, a) {
|
@@ -254,11 +254,11 @@ function qa(c) {
|
|
254
254
|
var S = y1(e), E = "clientHeight", H = "clientWidth";
|
255
255
|
if (S === l2(e) && (S = I2(e), M2(S).position !== "static" && r === "absolute" && (E = "scrollHeight", H = "scrollWidth")), S = S, t === n2 || (t === r2 || t === d2) && s === z1) {
|
256
256
|
N = m2;
|
257
|
-
var
|
257
|
+
var x = v && S === D && D.visualViewport ? D.visualViewport.height : (
|
258
258
|
// $FlowFixMe[prop-missing]
|
259
259
|
S[E]
|
260
260
|
);
|
261
|
-
b -=
|
261
|
+
b -= x - i.height, b *= l ? 1 : -1;
|
262
262
|
}
|
263
263
|
if (t === r2 || (t === n2 || t === m2) && s === z1) {
|
264
264
|
C = d2;
|
@@ -487,11 +487,11 @@ function H1(c, a) {
|
|
487
487
|
element: C,
|
488
488
|
strategy: "absolute",
|
489
489
|
placement: t
|
490
|
-
}), H = L4(Object.assign({}, C, E)),
|
491
|
-
top: D.top -
|
492
|
-
bottom:
|
493
|
-
left: D.left -
|
494
|
-
right:
|
490
|
+
}), H = L4(Object.assign({}, C, E)), x = p === u1 ? H : S, A = {
|
491
|
+
top: D.top - x.top + B.top,
|
492
|
+
bottom: x.bottom - D.bottom + B.bottom,
|
493
|
+
left: D.left - x.left + B.left,
|
494
|
+
right: x.right - D.right + B.right
|
495
495
|
}, O = c.modifiersData.offset;
|
496
496
|
if (p === u1 && O) {
|
497
497
|
var Q = O[t];
|
@@ -540,7 +540,7 @@ function Zk(c) {
|
|
540
540
|
flipVariations: L,
|
541
541
|
allowedAutoPlacements: b
|
542
542
|
}) : x2);
|
543
|
-
}, []), D = a.rects.reference, S = a.rects.popper, E = /* @__PURE__ */ new Map(), H = !0,
|
543
|
+
}, []), D = a.rects.reference, S = a.rects.popper, E = /* @__PURE__ */ new Map(), H = !0, x = N[0], A = 0; A < N.length; A++) {
|
544
544
|
var O = N[A], Q = V2(O), U = e1(O) === J2, t2 = [n2, m2].indexOf(Q) >= 0, f2 = t2 ? "width" : "height", Z = H1(a, {
|
545
545
|
placement: O,
|
546
546
|
boundary: f,
|
@@ -553,7 +553,7 @@ function Zk(c) {
|
|
553
553
|
if (s && s2.push(Z[Q] <= 0), r && s2.push(Z[W] <= 0, Z[i2] <= 0), s2.every(function(W2) {
|
554
554
|
return W2;
|
555
555
|
})) {
|
556
|
-
|
556
|
+
x = O, H = !1;
|
557
557
|
break;
|
558
558
|
}
|
559
559
|
E.set(O, s2);
|
@@ -568,13 +568,13 @@ function Zk(c) {
|
|
568
568
|
});
|
569
569
|
});
|
570
570
|
if (f1)
|
571
|
-
return
|
571
|
+
return x = f1, "break";
|
572
572
|
}, o1 = B2; o1 > 0; o1--) {
|
573
573
|
var W1 = d4(o1);
|
574
574
|
if (W1 === "break")
|
575
575
|
break;
|
576
576
|
}
|
577
|
-
a.placement !==
|
577
|
+
a.placement !== x && (a.modifiersData[i]._skip = !0, a.placement = x, a.reset = !0);
|
578
578
|
}
|
579
579
|
}
|
580
580
|
const Xk = {
|
@@ -676,15 +676,15 @@ function n_(c) {
|
|
676
676
|
rootBoundary: m,
|
677
677
|
padding: v,
|
678
678
|
altBoundary: f
|
679
|
-
}), B = V2(a.placement), _ = e1(a.placement), C = !_, N = j4(B), D = s_(N), S = a.modifiersData.popperOffsets, E = a.rects.reference, H = a.rects.popper,
|
679
|
+
}), B = V2(a.placement), _ = e1(a.placement), C = !_, N = j4(B), D = s_(N), S = a.modifiersData.popperOffsets, E = a.rects.reference, H = a.rects.popper, x = typeof b == "function" ? b(Object.assign({}, a.rects, {
|
680
680
|
placement: a.placement
|
681
|
-
})) : b, A = typeof
|
682
|
-
mainAxis:
|
683
|
-
altAxis:
|
681
|
+
})) : b, A = typeof x == "number" ? {
|
682
|
+
mainAxis: x,
|
683
|
+
altAxis: x
|
684
684
|
} : Object.assign({
|
685
685
|
mainAxis: 0,
|
686
686
|
altAxis: 0
|
687
|
-
},
|
687
|
+
}, x), O = a.modifiersData.offset ? a.modifiersData.offset[a.placement] : null, Q = {
|
688
688
|
x: 0,
|
689
689
|
y: 0
|
690
690
|
};
|
@@ -850,11 +850,11 @@ function h_(c) {
|
|
850
850
|
f.reset = !1, N = -1;
|
851
851
|
continue;
|
852
852
|
}
|
853
|
-
var D = f.orderedModifiers[N], S = D.fn, E = D.options, H = E === void 0 ? {} : E,
|
853
|
+
var D = f.orderedModifiers[N], S = D.fn, E = D.options, H = E === void 0 ? {} : E, x = D.name;
|
854
854
|
typeof S == "function" && (f = S({
|
855
855
|
state: f,
|
856
856
|
options: H,
|
857
|
-
name:
|
857
|
+
name: x,
|
858
858
|
instance: h
|
859
859
|
}) || f);
|
860
860
|
}
|
@@ -1113,8 +1113,8 @@ const a9 = {
|
|
1113
1113
|
}), v = function() {
|
1114
1114
|
return e.hover === !1 || e.interactive === !1 ? e.closeDelay : e.closeDelay === 0 ? 150 : e.closeDelay;
|
1115
1115
|
}, p = Qa(async () => {
|
1116
|
-
var
|
1117
|
-
const H = await ((
|
1116
|
+
var x;
|
1117
|
+
const H = await ((x = s.value) == null ? void 0 : x.update());
|
1118
1118
|
m.value = (H == null ? void 0 : H.placement) || e.placement, n.value = !0;
|
1119
1119
|
}, e.openDelay), h = Qa(() => {
|
1120
1120
|
if (e.hover === !1 || e.interactive === !1) {
|
@@ -1123,16 +1123,16 @@ const a9 = {
|
|
1123
1123
|
}
|
1124
1124
|
r.value === !1 && l.value === !1 && (n.value = !1);
|
1125
1125
|
}, v()), L = (H = "") => {
|
1126
|
-
let
|
1127
|
-
if (H === "" && (
|
1126
|
+
let x = H;
|
1127
|
+
if (H === "" && (x = n.value ? "close" : "open"), x === "open") {
|
1128
1128
|
p();
|
1129
1129
|
return;
|
1130
1130
|
}
|
1131
1131
|
h();
|
1132
|
-
}, b = (H = "",
|
1133
|
-
e.hover !== !1 && (
|
1134
|
-
}, k = function(H,
|
1135
|
-
const { slots: A } =
|
1132
|
+
}, b = (H = "", x = "") => {
|
1133
|
+
e.hover !== !1 && (x === "trigger" ? r.value = H === "open" : l.value = H === "open", L(H));
|
1134
|
+
}, k = function(H, x) {
|
1135
|
+
const { slots: A } = x;
|
1136
1136
|
return j2(
|
1137
1137
|
"div",
|
1138
1138
|
{
|
@@ -1153,10 +1153,10 @@ const a9 = {
|
|
1153
1153
|
outer: "",
|
1154
1154
|
inner: ""
|
1155
1155
|
};
|
1156
|
-
let
|
1157
|
-
return H === "fade-slide" && (
|
1156
|
+
let x = H;
|
1157
|
+
return H === "fade-slide" && (x = "shift-in"), {
|
1158
1158
|
outer: "fade",
|
1159
|
-
inner:
|
1159
|
+
inner: x
|
1160
1160
|
};
|
1161
1161
|
}), _ = g(() => {
|
1162
1162
|
const { animationDuration: H } = e;
|
@@ -1167,16 +1167,16 @@ const a9 = {
|
|
1167
1167
|
leave: `${O / 1e3}s`
|
1168
1168
|
};
|
1169
1169
|
}
|
1170
|
-
const [
|
1170
|
+
const [x, A] = H;
|
1171
1171
|
return {
|
1172
|
-
enter: `${
|
1172
|
+
enter: `${x / 1e3}s`,
|
1173
1173
|
leave: `${A / 1e3}s`
|
1174
1174
|
};
|
1175
1175
|
}), C = g(() => {
|
1176
|
-
const H = Object.keys(i9).find((
|
1176
|
+
const H = Object.keys(i9).find((x) => m.value.startsWith(x));
|
1177
1177
|
return H === void 0 ? "translate(0, 0)" : i9[H];
|
1178
1178
|
}), N = g(() => {
|
1179
|
-
const H = Object.keys(t9).find((
|
1179
|
+
const H = Object.keys(t9).find((x) => m.value.startsWith(x));
|
1180
1180
|
return H === void 0 ? "center center" : t9[H];
|
1181
1181
|
}), D = g(() => {
|
1182
1182
|
if (s.value === void 0)
|
@@ -1186,12 +1186,12 @@ const a9 = {
|
|
1186
1186
|
"--vue-popper-leave-duration": _.value.leave,
|
1187
1187
|
"--vue-popper-shift-transform": C.value,
|
1188
1188
|
"--vue-popper-scale-transform-origin": N.value
|
1189
|
-
},
|
1190
|
-
return k_(
|
1191
|
-
}), S = (H,
|
1192
|
-
e.onTransition !== void 0 && e.onTransition(H,
|
1193
|
-
}, E = function(H,
|
1194
|
-
const { slots: A } =
|
1189
|
+
}, x = s.value.state.styles.popper;
|
1190
|
+
return k_(x, H);
|
1191
|
+
}), S = (H, x) => {
|
1192
|
+
e.onTransition !== void 0 && e.onTransition(H, x);
|
1193
|
+
}, E = function(H, x) {
|
1194
|
+
const { slots: A } = x;
|
1195
1195
|
return j2(
|
1196
1196
|
N2,
|
1197
1197
|
{ name: B.value.outer },
|
@@ -1276,12 +1276,12 @@ const a9 = {
|
|
1276
1276
|
var H;
|
1277
1277
|
(H = s.value) == null || H.destroy(), s.value = void 0;
|
1278
1278
|
}), e2(n, (H) => {
|
1279
|
-
var
|
1279
|
+
var x;
|
1280
1280
|
if (H === !1) {
|
1281
1281
|
e.onClosed !== void 0 && e.onClosed();
|
1282
1282
|
return;
|
1283
1283
|
}
|
1284
|
-
e.onOpened !== void 0 && e.onOpened(), (
|
1284
|
+
e.onOpened !== void 0 && e.onOpened(), (x = s.value) == null || x.update();
|
1285
1285
|
}), {
|
1286
1286
|
triggerElement: k,
|
1287
1287
|
tooltipElement: E,
|
@@ -12434,10 +12434,10 @@ function DT(c) {
|
|
12434
12434
|
}];
|
12435
12435
|
}
|
12436
12436
|
function xa(c) {
|
12437
|
-
var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, r = c.symbol, l = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(
|
12438
|
-
return v.classes.indexOf(
|
12439
|
-
}).filter(function(
|
12440
|
-
return
|
12437
|
+
var a = c.icons, e = a.main, i = a.mask, t = c.prefix, s = c.iconName, n = c.transform, r = c.symbol, l = c.title, m = c.maskId, f = c.titleId, v = c.extra, p = c.watchable, h = p === void 0 ? !1 : p, L = i.found ? i : e, b = L.width, k = L.height, B = t === "fak", _ = [T.replacementClass, s ? "".concat(T.cssPrefix, "-").concat(s) : ""].filter(function(x) {
|
12438
|
+
return v.classes.indexOf(x) === -1;
|
12439
|
+
}).filter(function(x) {
|
12440
|
+
return x !== "" || !!x;
|
12441
12441
|
}).concat(v.classes).join(" "), C = {
|
12442
12442
|
children: [],
|
12443
12443
|
attributes: w(w({}, v.attributes), {}, {
|
@@ -13088,8 +13088,8 @@ function x9(c, a) {
|
|
13088
13088
|
iconName: C,
|
13089
13089
|
extra: S,
|
13090
13090
|
watchable: !0
|
13091
|
-
})),
|
13092
|
-
a === "::before" ? c.insertBefore(
|
13091
|
+
})), x = Y.createElementNS("http://www.w3.org/2000/svg", "svg");
|
13092
|
+
a === "::before" ? c.insertBefore(x, c.firstChild) : c.appendChild(x), x.outerHTML = H.map(function(A) {
|
13093
13093
|
return U1(A);
|
13094
13094
|
}).join(`
|
13095
13095
|
`), c.removeAttribute(e), i();
|
@@ -13537,7 +13537,7 @@ const VD = P({
|
|
13537
13537
|
icon: `fa-solid fa-${c.icon}`,
|
13538
13538
|
class: "AVButton--icon-left",
|
13539
13539
|
"data-test": "btn-icon"
|
13540
|
-
}, null, 8, ["icon"])) :
|
13540
|
+
}, null, 8, ["icon"])) : y("", !0),
|
13541
13541
|
K(i.$slots, "default", {}, () => [
|
13542
13542
|
c2(V(c.label), 1)
|
13543
13543
|
], !0),
|
@@ -13546,7 +13546,7 @@ const VD = P({
|
|
13546
13546
|
icon: `fa-solid fa-${c.icon}`,
|
13547
13547
|
class: "AVButton--icon-right",
|
13548
13548
|
"data-test": "btn-icon"
|
13549
|
-
}, null, 8, ["icon"])) :
|
13549
|
+
}, null, 8, ["icon"])) : y("", !0)
|
13550
13550
|
], 10, zD);
|
13551
13551
|
};
|
13552
13552
|
}
|
@@ -13697,8 +13697,8 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13697
13697
|
id: `${c.id}-info-tooltip`,
|
13698
13698
|
position: "right",
|
13699
13699
|
content: c.tooltipText
|
13700
|
-
}, null, 8, ["id", "content"])) :
|
13701
|
-
], 8, xD)) :
|
13700
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
13701
|
+
], 8, xD)) : y("", !0),
|
13702
13702
|
o("div", yD, [
|
13703
13703
|
o("div", AD, [
|
13704
13704
|
c.icon ? (u(), q(l, {
|
@@ -13706,7 +13706,7 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13706
13706
|
icon: `fa-solid fa-${c.icon}`,
|
13707
13707
|
class: "AVTextInput--input-icon",
|
13708
13708
|
"data-test": "input-icon"
|
13709
|
-
}, null, 8, ["icon"])) :
|
13709
|
+
}, null, 8, ["icon"])) : y("", !0)
|
13710
13710
|
]),
|
13711
13711
|
o("input", {
|
13712
13712
|
id: c.id,
|
@@ -13723,9 +13723,9 @@ const I4 = /* @__PURE__ */ I(LD, [["__scopeId", "data-v-83458350"]]), bD = { cla
|
|
13723
13723
|
class: "AVTextInput--error-icon",
|
13724
13724
|
"data-test": "input-error-icon"
|
13725
13725
|
})
|
13726
|
-
])) :
|
13726
|
+
])) : y("", !0)
|
13727
13727
|
]),
|
13728
|
-
c.error && c.errorMessage ? (u(), d("p", wD, V(c.errorMessage), 1)) :
|
13728
|
+
c.error && c.errorMessage ? (u(), d("p", wD, V(c.errorMessage), 1)) : y("", !0)
|
13729
13729
|
]);
|
13730
13730
|
};
|
13731
13731
|
}
|
@@ -13821,8 +13821,8 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13821
13821
|
id: `${c.id}-info-tooltip`,
|
13822
13822
|
position: "right",
|
13823
13823
|
content: c.tooltipText
|
13824
|
-
}, null, 8, ["id", "content"])) :
|
13825
|
-
], 8, DD)) :
|
13824
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
13825
|
+
], 8, DD)) : y("", !0),
|
13826
13826
|
o("div", {
|
13827
13827
|
class: "AVNumberInput--input-field",
|
13828
13828
|
onMouseenter: n,
|
@@ -13834,7 +13834,7 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13834
13834
|
icon: `fa-solid fa-${c.icon}`,
|
13835
13835
|
class: "AVNumberInput--input-icon",
|
13836
13836
|
"data-test": "input-icon"
|
13837
|
-
}, null, 8, ["icon"])) :
|
13837
|
+
}, null, 8, ["icon"])) : y("", !0)
|
13838
13838
|
]),
|
13839
13839
|
o("input", {
|
13840
13840
|
value: c.modelValue,
|
@@ -13884,9 +13884,9 @@ const _D = /* @__PURE__ */ I(kD, [["__scopeId", "data-v-9ab10a3b"]]), TD = { cla
|
|
13884
13884
|
class: "AVNumberInput--error-icon",
|
13885
13885
|
"data-test": "input-error-icon"
|
13886
13886
|
})
|
13887
|
-
])) :
|
13887
|
+
])) : y("", !0)
|
13888
13888
|
], 32),
|
13889
|
-
c.error && c.errorMessage ? (u(), d("p", OD, V(c.errorMessage), 1)) :
|
13889
|
+
c.error && c.errorMessage ? (u(), d("p", OD, V(c.errorMessage), 1)) : y("", !0)
|
13890
13890
|
]);
|
13891
13891
|
};
|
13892
13892
|
}
|
@@ -13957,11 +13957,11 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13957
13957
|
id: `${c.id}-info-tooltip`,
|
13958
13958
|
position: "right",
|
13959
13959
|
content: c.tooltipText
|
13960
|
-
}, null, 8, ["id", "content"])) :
|
13961
|
-
], 8, FD)) :
|
13960
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
13961
|
+
], 8, FD)) : y("", !0),
|
13962
13962
|
o("div", $D, [
|
13963
13963
|
o("div", RD, [
|
13964
|
-
c.disableIcon ?
|
13964
|
+
c.disableIcon ? y("", !0) : (u(), q(l, {
|
13965
13965
|
key: 0,
|
13966
13966
|
icon: "fa-solid fa-key",
|
13967
13967
|
class: "AVPaswordInput--input-icon",
|
@@ -13991,7 +13991,7 @@ const ED = /* @__PURE__ */ I(jD, [["__scopeId", "data-v-cd10cd1f"]]), qD = { cla
|
|
13991
13991
|
])
|
13992
13992
|
], 2)
|
13993
13993
|
]),
|
13994
|
-
c.error && c.errorMessage ? (u(), d("p", WD, V(c.errorMessage), 1)) :
|
13994
|
+
c.error && c.errorMessage ? (u(), d("p", WD, V(c.errorMessage), 1)) : y("", !0)
|
13995
13995
|
]);
|
13996
13996
|
};
|
13997
13997
|
}
|
@@ -14064,8 +14064,8 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
|
|
14064
14064
|
id: `${c.id}-info-tooltip`,
|
14065
14065
|
position: "right",
|
14066
14066
|
content: c.tooltipText
|
14067
|
-
}, null, 8, ["id", "content"])) :
|
14068
|
-
], 8, ZD)) :
|
14067
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
14068
|
+
], 8, ZD)) : y("", !0),
|
14069
14069
|
o("div", XD, [
|
14070
14070
|
o("div", JD, [
|
14071
14071
|
c.icon ? (u(), q(n, {
|
@@ -14073,7 +14073,7 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
|
|
14073
14073
|
icon: `fa-solid fa-${c.icon}`,
|
14074
14074
|
class: "AVDatetimeInput--input-icon",
|
14075
14075
|
"data-test": "input-icon"
|
14076
|
-
}, null, 8, ["icon"])) :
|
14076
|
+
}, null, 8, ["icon"])) : y("", !0)
|
14077
14077
|
]),
|
14078
14078
|
o("input", {
|
14079
14079
|
value: c.modelValue,
|
@@ -14089,7 +14089,7 @@ const YD = /* @__PURE__ */ I(GD, [["__scopeId", "data-v-d3a76ffa"]]), QD = { cla
|
|
14089
14089
|
max: c.max
|
14090
14090
|
}, null, 46, KD)
|
14091
14091
|
]),
|
14092
|
-
c.error && c.errorMessage ? (u(), d("p", cI, V(c.errorMessage), 1)) :
|
14092
|
+
c.error && c.errorMessage ? (u(), d("p", cI, V(c.errorMessage), 1)) : y("", !0)
|
14093
14093
|
]);
|
14094
14094
|
};
|
14095
14095
|
}
|
@@ -14165,8 +14165,8 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
|
|
14165
14165
|
id: `${c.id}-info-tooltip`,
|
14166
14166
|
position: "right",
|
14167
14167
|
content: c.tooltipText
|
14168
|
-
}, null, 8, ["id", "content"])) :
|
14169
|
-
], 8, tI)) :
|
14168
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
14169
|
+
], 8, tI)) : y("", !0),
|
14170
14170
|
o("div", sI, [
|
14171
14171
|
o("div", {
|
14172
14172
|
class: "AVTextArea--icon-container",
|
@@ -14177,7 +14177,7 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
|
|
14177
14177
|
icon: `fa-solid fa-${c.icon}`,
|
14178
14178
|
class: "AVTextArea--input-icon",
|
14179
14179
|
"data-test": "input-icon"
|
14180
|
-
}, null, 8, ["icon"])) :
|
14180
|
+
}, null, 8, ["icon"])) : y("", !0)
|
14181
14181
|
], 4),
|
14182
14182
|
o("textarea", {
|
14183
14183
|
value: c.modelValue,
|
@@ -14196,9 +14196,9 @@ const aI = /* @__PURE__ */ I(eI, [["__scopeId", "data-v-2fe9b4c5"]]), iI = { cla
|
|
14196
14196
|
class: "AVTextArea--error-icon",
|
14197
14197
|
"data-test": "input-error-icon"
|
14198
14198
|
})
|
14199
|
-
])) :
|
14199
|
+
])) : y("", !0)
|
14200
14200
|
]),
|
14201
|
-
c.error && c.errorMessage ? (u(), d("p", lI, V(c.errorMessage), 1)) :
|
14201
|
+
c.error && c.errorMessage ? (u(), d("p", lI, V(c.errorMessage), 1)) : y("", !0)
|
14202
14202
|
]);
|
14203
14203
|
};
|
14204
14204
|
}
|
@@ -14365,8 +14365,8 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14365
14365
|
id: `${c.id}-info-tooltip`,
|
14366
14366
|
position: "right",
|
14367
14367
|
content: c.tooltipText
|
14368
|
-
}, null, 8, ["id", "content"])) :
|
14369
|
-
], 8, zI)) :
|
14368
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
14369
|
+
], 8, zI)) : y("", !0),
|
14370
14370
|
o("div", {
|
14371
14371
|
onClick: r,
|
14372
14372
|
class: "AVDropdown"
|
@@ -14387,7 +14387,7 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14387
14387
|
class: "AVDropdown--input-icon",
|
14388
14388
|
"data-test": "input-icon"
|
14389
14389
|
}, null, 8, ["icon"])
|
14390
|
-
])) :
|
14390
|
+
])) : y("", !0),
|
14391
14391
|
s.value === void 0 ? (u(), d("span", gI, V(c.placeholder), 1)) : (u(), d("span", {
|
14392
14392
|
key: 2,
|
14393
14393
|
class: "AVDropdown--selected-option",
|
@@ -14413,7 +14413,7 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14413
14413
|
_: 1
|
14414
14414
|
})
|
14415
14415
|
]),
|
14416
|
-
c.error && c.errorMessage ? (u(), d("p", bI, V(c.errorMessage), 1)) :
|
14416
|
+
c.error && c.errorMessage ? (u(), d("p", bI, V(c.errorMessage), 1)) : y("", !0)
|
14417
14417
|
]);
|
14418
14418
|
};
|
14419
14419
|
}
|
@@ -14430,7 +14430,7 @@ const yI = /* @__PURE__ */ I(xI, [["__scopeId", "data-v-dc6eea8a"]]), AI = ["ari
|
|
14430
14430
|
"aria-labelledby": i.value
|
14431
14431
|
}, [
|
14432
14432
|
K(t.$slots, "default", {}, void 0, !0)
|
14433
|
-
], 8, AI)) :
|
14433
|
+
], 8, AI)) : y("", !0)
|
14434
14434
|
]),
|
14435
14435
|
_: 3
|
14436
14436
|
}));
|
@@ -14527,9 +14527,9 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
|
|
14527
14527
|
style: H2(c.customWidth && `width: ${c.customWidth}px`),
|
14528
14528
|
"data-test": "alert"
|
14529
14529
|
}, [
|
14530
|
-
c.disableHeader ?
|
14530
|
+
c.disableHeader ? y("", !0) : (u(), d("div", _I, [
|
14531
14531
|
o("div", TI, [
|
14532
|
-
c.disableIcon ?
|
14532
|
+
c.disableIcon ? y("", !0) : (u(), d("div", DI, [
|
14533
14533
|
z(l, {
|
14534
14534
|
icon: `fa-solid fa-${c.icon !== "" ? c.icon : s[c.type]}`,
|
14535
14535
|
"data-test": "alert-icon"
|
@@ -14537,7 +14537,7 @@ const kI = /* @__PURE__ */ I(wI, [["__scopeId", "data-v-2ca0bff3"]]), _I = {
|
|
14537
14537
|
])),
|
14538
14538
|
o("span", II, V(c.title !== "" ? c.title : t[c.type]), 1)
|
14539
14539
|
]),
|
14540
|
-
c.disableDismiss ?
|
14540
|
+
c.disableDismiss ? y("", !0) : (u(), d("button", {
|
14541
14541
|
key: 0,
|
14542
14542
|
class: "AVAlert--icon-container",
|
14543
14543
|
onClick: i
|
@@ -14688,11 +14688,11 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14688
14688
|
if (h.value.includes(
|
14689
14689
|
`.${E.toLowerCase()}`
|
14690
14690
|
)) {
|
14691
|
-
const
|
14691
|
+
const x = new File([S], S.name, {
|
14692
14692
|
type: S.type,
|
14693
14693
|
lastModified: S.lastModified
|
14694
14694
|
});
|
14695
|
-
D.items.add(
|
14695
|
+
D.items.add(x);
|
14696
14696
|
} else
|
14697
14697
|
a("fileFormatNotAccepted", S.name);
|
14698
14698
|
}
|
@@ -14714,7 +14714,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14714
14714
|
return (C, N) => {
|
14715
14715
|
const D = M("AVTooltip"), S = M("AVIcon");
|
14716
14716
|
return u(), d("div", jI, [
|
14717
|
-
c.disableLabel ?
|
14717
|
+
c.disableLabel ? y("", !0) : (u(), d("label", {
|
14718
14718
|
key: 0,
|
14719
14719
|
for: c.id,
|
14720
14720
|
class: "AVFileInput--label",
|
@@ -14726,7 +14726,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14726
14726
|
id: `${c.id}-info-tooltip`,
|
14727
14727
|
position: "right",
|
14728
14728
|
content: c.tooltipText
|
14729
|
-
}, null, 8, ["id", "content"])) :
|
14729
|
+
}, null, 8, ["id", "content"])) : y("", !0)
|
14730
14730
|
], 8, EI)),
|
14731
14731
|
o("div", {
|
14732
14732
|
class: j(`AVFileInput--dropzone-container ${c.error && "error"} ${c.disabled && "disabled"}`),
|
@@ -14769,7 +14769,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14769
14769
|
]))
|
14770
14770
|
], 8, $I)
|
14771
14771
|
], 34),
|
14772
|
-
c.disableAcceptedFormats ?
|
14772
|
+
c.disableAcceptedFormats ? y("", !0) : (u(), d("p", QI, [
|
14773
14773
|
c2(V(n.value.acceptedFormats) + " ", 1),
|
14774
14774
|
o("em", ZI, V(p.value), 1)
|
14775
14775
|
])),
|
@@ -14797,7 +14797,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14797
14797
|
o("em", null, V(Math.round(E.size / 1e3) + "kb"), 1)
|
14798
14798
|
])
|
14799
14799
|
]),
|
14800
|
-
c.disabled ?
|
14800
|
+
c.disabled ? y("", !0) : (u(), d("button", {
|
14801
14801
|
key: 0,
|
14802
14802
|
class: "AVTextInput--delete-btn",
|
14803
14803
|
type: "button",
|
@@ -14811,7 +14811,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14811
14811
|
})
|
14812
14812
|
], 8, iB))
|
14813
14813
|
], 2))), 128))
|
14814
|
-
])) :
|
14814
|
+
])) : y("", !0),
|
14815
14815
|
c.currentValue ? (u(), d("div", tB, [
|
14816
14816
|
o("p", sB, V(n.value.current), 1),
|
14817
14817
|
(u(!0), d(R, null, X(c.currentValue, (E) => (u(), d("div", {
|
@@ -14847,8 +14847,8 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14847
14847
|
], 8, uB)
|
14848
14848
|
]))
|
14849
14849
|
]))), 128))
|
14850
|
-
])) :
|
14851
|
-
c.error && c.errorMessage ? (u(), d("p", mB, V(c.errorMessage), 1)) :
|
14850
|
+
])) : y("", !0),
|
14851
|
+
c.error && c.errorMessage ? (u(), d("p", mB, V(c.errorMessage), 1)) : y("", !0)
|
14852
14852
|
]);
|
14853
14853
|
};
|
14854
14854
|
}
|
@@ -14974,7 +14974,7 @@ const MB = /* @__PURE__ */ I(HB, [["__scopeId", "data-v-d8e45fa7"]]), gB = ["hre
|
|
14974
14974
|
class: j(`AVLink AVLink--${c.variant}`)
|
14975
14975
|
}, [
|
14976
14976
|
o("span", null, V(c.label), 1),
|
14977
|
-
c.disableIcon ?
|
14977
|
+
c.disableIcon ? y("", !0) : (u(), q(i, {
|
14978
14978
|
key: 0,
|
14979
14979
|
icon: "fa-solid fa-arrow-up-right-from-square",
|
14980
14980
|
class: "AVLink--icon",
|
@@ -15039,7 +15039,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
|
|
15039
15039
|
target: c.target,
|
15040
15040
|
style: H2(`width: ${c.customWidth}px`)
|
15041
15041
|
}, [
|
15042
|
-
c.disableIcon ?
|
15042
|
+
c.disableIcon ? y("", !0) : (u(), q(l, {
|
15043
15043
|
key: 0,
|
15044
15044
|
icon: `fa-solid fa-${c.icon}`,
|
15045
15045
|
class: "AVNavbarItem--icon"
|
@@ -15052,7 +15052,7 @@ const LB = /* @__PURE__ */ I(CB, [["__scopeId", "data-v-999075bc"]]), bB = ["hre
|
|
15052
15052
|
disabled: c.disabled,
|
15053
15053
|
onClick: s
|
15054
15054
|
}, [
|
15055
|
-
c.disableIcon ?
|
15055
|
+
c.disableIcon ? y("", !0) : (u(), q(l, {
|
15056
15056
|
key: 0,
|
15057
15057
|
icon: `fa-solid fa-${c.icon}`,
|
15058
15058
|
class: "AVNavbarItem--icon"
|
@@ -15197,13 +15197,13 @@ const IB = /* @__PURE__ */ I(DB, [["__scopeId", "data-v-835677d9"]]), BB = { cla
|
|
15197
15197
|
}, {
|
15198
15198
|
default: $(() => [
|
15199
15199
|
o("div", BB, [
|
15200
|
-
c.text ? (u(), d("span", PB, V(c.text), 1)) :
|
15200
|
+
c.text ? (u(), d("span", PB, V(c.text), 1)) : y("", !0),
|
15201
15201
|
c.icon ? (u(), q(i, {
|
15202
15202
|
key: 1,
|
15203
15203
|
icon: c.icon,
|
15204
15204
|
class: "AVTooltip--icon",
|
15205
15205
|
"aria-hidden": "true"
|
15206
|
-
}, null, 8, ["icon"])) :
|
15206
|
+
}, null, 8, ["icon"])) : y("", !0)
|
15207
15207
|
])
|
15208
15208
|
]),
|
15209
15209
|
content: $(() => [
|
@@ -15299,7 +15299,7 @@ const RB = /* @__PURE__ */ I($B, [["__scopeId", "data-v-9cd08151"]]), UB = ["ari
|
|
15299
15299
|
"aria-labelledby": i.value
|
15300
15300
|
}, [
|
15301
15301
|
K(t.$slots, "default", {}, void 0, !0)
|
15302
|
-
], 8, UB)) :
|
15302
|
+
], 8, UB)) : y("", !0)
|
15303
15303
|
]),
|
15304
15304
|
_: 3
|
15305
15305
|
}));
|
@@ -15337,7 +15337,7 @@ const GB = /* @__PURE__ */ I(WB, [["__scopeId", "data-v-e8fb623b"]]), YB = ["hre
|
|
15337
15337
|
class: "AVMenuDropdownItem--icon",
|
15338
15338
|
icon: `fa-solid fa-${c.icon}`,
|
15339
15339
|
"data-test": "option-icon"
|
15340
|
-
}, null, 8, ["icon"])) :
|
15340
|
+
}, null, 8, ["icon"])) : y("", !0),
|
15341
15341
|
c2(" " + V(c.optionLabel), 1)
|
15342
15342
|
], 10, YB);
|
15343
15343
|
};
|
@@ -15661,12 +15661,12 @@ const mP = /* @__PURE__ */ I(uP, [["__scopeId", "data-v-583fff65"]]), dP = (c) =
|
|
15661
15661
|
class: j(`AVBasicSteps--step ${e(c.steps[1]) && "AVBasicSteps--step-active"}`),
|
15662
15662
|
"data-test": "step"
|
15663
15663
|
}, V(c.steps[1]), 3),
|
15664
|
-
c.steps.length === 3 ? (u(), d("span", hP)) :
|
15664
|
+
c.steps.length === 3 ? (u(), d("span", hP)) : y("", !0),
|
15665
15665
|
c.steps.length === 3 ? (u(), d("span", {
|
15666
15666
|
key: 1,
|
15667
15667
|
class: j(`AVBasicSteps--step ${e(c.steps[2]) && "AVBasicSteps--step-active"}`),
|
15668
15668
|
"data-test": "step"
|
15669
|
-
}, V(c.steps[2]), 3)) :
|
15669
|
+
}, V(c.steps[2]), 3)) : y("", !0)
|
15670
15670
|
]));
|
15671
15671
|
}
|
15672
15672
|
});
|
@@ -15864,7 +15864,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
|
|
15864
15864
|
return u(), d("div", TP, [
|
15865
15865
|
c.exclusiveError && c.checked ? (u(), d("div", DP, [
|
15866
15866
|
o("div", IP, V(t.value.exclusive_option), 1)
|
15867
|
-
])) :
|
15867
|
+
])) : y("", !0),
|
15868
15868
|
o("button", fk({
|
15869
15869
|
class: {
|
15870
15870
|
AVOptionCheckbox: !0,
|
@@ -15885,7 +15885,7 @@ const kP = /* @__PURE__ */ I(wP, [["__scopeId", "data-v-9953e4ee"]]), _P = {
|
|
15885
15885
|
rank: c.rank,
|
15886
15886
|
checked: c.checked,
|
15887
15887
|
locale: c.locale
|
15888
|
-
}, null, 8, ["id", "rank", "checked", "locale"])) :
|
15888
|
+
}, null, 8, ["id", "rank", "checked", "locale"])) : y("", !0)
|
15889
15889
|
], 16, BP)
|
15890
15890
|
]);
|
15891
15891
|
};
|
@@ -16085,7 +16085,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
|
|
16085
16085
|
), (m, f) => {
|
16086
16086
|
const v = M("AVRadio");
|
16087
16087
|
return u(), d("div", RP, [
|
16088
|
-
c.disableLabel ?
|
16088
|
+
c.disableLabel ? y("", !0) : (u(), d("label", {
|
16089
16089
|
key: 0,
|
16090
16090
|
for: c.id,
|
16091
16091
|
class: "AVRadioGroup--label",
|
@@ -16105,7 +16105,7 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
|
|
16105
16105
|
onUpdate: (L) => r(p.value)
|
16106
16106
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
16107
16107
|
], 2),
|
16108
|
-
c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) :
|
16108
|
+
c.error && c.errorMessage ? (u(), d("p", WP, V(c.errorMessage), 1)) : y("", !0)
|
16109
16109
|
]);
|
16110
16110
|
};
|
16111
16111
|
}
|
@@ -16148,7 +16148,7 @@ const ZP = /* @__PURE__ */ I(QP, [["__scopeId", "data-v-9fd5c53d"]]), XP = { cla
|
|
16148
16148
|
const i = M("AVIcon");
|
16149
16149
|
return u(), d("div", XP, [
|
16150
16150
|
o("a", { href: c.buttonHref }, [
|
16151
|
-
c.disableButton ?
|
16151
|
+
c.disableButton ? y("", !0) : (u(), q(i, {
|
16152
16152
|
key: 0,
|
16153
16153
|
icon: "fa-solid fa-circle-chevron-left",
|
16154
16154
|
class: "AVBreadcrumb--icon"
|
@@ -16350,7 +16350,7 @@ const HO = /* @__PURE__ */ I(zO, [["__scopeId", "data-v-dd72671e"]]), MO = ["hre
|
|
16350
16350
|
o("div", gO, [
|
16351
16351
|
c.reviewed ? (u(), d("div", CO, [
|
16352
16352
|
z(i, { icon: "fa-solid fa-check" })
|
16353
|
-
])) :
|
16353
|
+
])) : y("", !0),
|
16354
16354
|
o("div", LO, [
|
16355
16355
|
o("div", bO, V(c.name), 1),
|
16356
16356
|
o("div", xO, V(`${c.contestQty} ${c.contestLabel}`), 1)
|
@@ -16508,11 +16508,11 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16508
16508
|
src: (f = c.option) == null ? void 0 : f.image,
|
16509
16509
|
class: "AVSummaryOption--img",
|
16510
16510
|
alt: e.value.option_image
|
16511
|
-
}, null, 8, kO)) :
|
16511
|
+
}, null, 8, kO)) : y("", !0),
|
16512
16512
|
o("div", _O, [
|
16513
16513
|
o("div", TO, V(t.value), 1)
|
16514
16514
|
]),
|
16515
|
-
i.value ?
|
16515
|
+
i.value ? y("", !0) : (u(), d("div", DO, [
|
16516
16516
|
z(l, {
|
16517
16517
|
checked: !0,
|
16518
16518
|
rank: (v = c.option) == null ? void 0 : v.rank,
|
@@ -16535,7 +16535,7 @@ const NO = /* @__PURE__ */ I(AO, [["__scopeId", "data-v-c682a2cf"]]), SO = {
|
|
16535
16535
|
}, null, 8, ["rank"]);
|
16536
16536
|
}), 128))
|
16537
16537
|
]))), 128))
|
16538
|
-
])) :
|
16538
|
+
])) : y("", !0)
|
16539
16539
|
], 8, wO);
|
16540
16540
|
};
|
16541
16541
|
}
|
@@ -16757,7 +16757,7 @@ const PO = {
|
|
16757
16757
|
(Q) => e.selections.map((U) => U.reference).includes(Q.reference)
|
16758
16758
|
).length;
|
16759
16759
|
return A.reduce((Q, U) => Q + H(U.children), O);
|
16760
|
-
},
|
16760
|
+
}, x = (A) => {
|
16761
16761
|
t.value = !1, A === e.option.code && (r("accordion-open"), mk(() => {
|
16762
16762
|
t.value = !0, n.value.scrollIntoView({ behavior: "smooth", block: "center" });
|
16763
16763
|
}));
|
@@ -16766,7 +16766,7 @@ const PO = {
|
|
16766
16766
|
() => i.value.get("highlight-option"),
|
16767
16767
|
(A) => {
|
16768
16768
|
const [O] = A ?? [];
|
16769
|
-
|
16769
|
+
x(O);
|
16770
16770
|
}
|
16771
16771
|
), (A, O) => {
|
16772
16772
|
const Q = M("AVIcon"), U = M("AVOptionCheckbox"), t2 = M("AVOption", !0), f2 = M("AVCollapser");
|
@@ -16806,7 +16806,7 @@ const PO = {
|
|
16806
16806
|
src: k.value,
|
16807
16807
|
alt: l.value.aria_labels.option_image,
|
16808
16808
|
class: "AVOption-image"
|
16809
|
-
}, null, 8, FO)) :
|
16809
|
+
}, null, 8, FO)) : y("", !0),
|
16810
16810
|
o("h5", {
|
16811
16811
|
class: "AVOption--title",
|
16812
16812
|
textContent: V(p.value)
|
@@ -16815,7 +16815,7 @@ const PO = {
|
|
16815
16815
|
h.value || B.value.length ? (u(), d("div", RO, [
|
16816
16816
|
h.value ? (u(), d("div", UO, [
|
16817
16817
|
o("p", { innerHTML: h.value }, null, 8, WO)
|
16818
|
-
])) :
|
16818
|
+
])) : y("", !0),
|
16819
16819
|
B.value.length > 0 ? (u(), d("div", GO, [
|
16820
16820
|
(u(!0), d(R, null, X(B.value, (i2) => (u(), d("a", {
|
16821
16821
|
key: i2.toString(),
|
@@ -16824,7 +16824,7 @@ const PO = {
|
|
16824
16824
|
target: "_blank",
|
16825
16825
|
innerHTML: i2.text
|
16826
16826
|
}, null, 8, YO))), 128))
|
16827
|
-
])) :
|
16827
|
+
])) : y("", !0),
|
16828
16828
|
W && _.value ? (u(), d("div", QO, [
|
16829
16829
|
o("div", {
|
16830
16830
|
id: `option_${c.option.code}_dropdown`,
|
@@ -16846,9 +16846,9 @@ const PO = {
|
|
16846
16846
|
"AVOption--suboption-badge-danger": c.invalid,
|
16847
16847
|
"AVOption--suboption-badge-normal": !c.invalid
|
16848
16848
|
}])
|
16849
|
-
}, V(m.value ? `${l.value.sub_options_select} ${N.value}` : `${N.value} ${l.value.sub_options_select}`), 3)) :
|
16850
|
-
])) :
|
16851
|
-
])) :
|
16849
|
+
}, V(m.value ? `${l.value.sub_options_select} ${N.value}` : `${N.value} ${l.value.sub_options_select}`), 3)) : y("", !0)
|
16850
|
+
])) : y("", !0)
|
16851
|
+
])) : y("", !0)
|
16852
16852
|
]),
|
16853
16853
|
C.value >= 1 ? (u(), d("div", {
|
16854
16854
|
key: 0,
|
@@ -16872,7 +16872,7 @@ const PO = {
|
|
16872
16872
|
onToggled: (B2) => E(c.option.reference, s2)
|
16873
16873
|
}, null, 8, ["checked", "rank", "option-reference", "check-box-index", "onToggled"]))), 128))
|
16874
16874
|
]))), 128))
|
16875
|
-
], 6)) :
|
16875
|
+
], 6)) : y("", !0)
|
16876
16876
|
], 2)
|
16877
16877
|
], 10, jO)
|
16878
16878
|
]),
|
@@ -16888,7 +16888,7 @@ const PO = {
|
|
16888
16888
|
onAccordionOpen: () => Z(!0, !1),
|
16889
16889
|
locale: c.locale
|
16890
16890
|
}, null, 8, ["option", "selections", "contest", "invalid", "onAccordionOpen", "locale"]))), 128))
|
16891
|
-
])) :
|
16891
|
+
])) : y("", !0)
|
16892
16892
|
]),
|
16893
16893
|
_: 1
|
16894
16894
|
}, 8, ["collapsable", "start-collapsed"])
|
@@ -17465,14 +17465,14 @@ const Hj = /* @__PURE__ */ I(zj, [["__scopeId", "data-v-083c32ae"]]), Mj = {
|
|
17465
17465
|
textContent: V(n)
|
17466
17466
|
}, null, 8, bj))), 128)),
|
17467
17467
|
xj
|
17468
|
-
])) :
|
17468
|
+
])) : y("", !0),
|
17469
17469
|
c.maxMarks > 1 ? (u(), d("div", yj, [
|
17470
17470
|
o("div", Aj, [
|
17471
17471
|
c.minMarks === c.maxMarks ? (u(), d("div", Nj, V(`${e.value.select_exactly.before} ${c.minMarks} ${e.value.select_exactly.after}`), 1)) : (u(), d("div", Sj, V(`${e.value.select_multiple.before} ${c.minMarks} ${e.value.select_multiple.mid} ${c.maxMarks} ${e.value.select_exactly.after}`), 1)),
|
17472
17472
|
c.chosenCount > 0 ? (u(), d("div", wj, [
|
17473
17473
|
c2(V(e.value.selected) + " ", 1),
|
17474
17474
|
o("b", null, V(c.chosenCount), 1)
|
17475
|
-
])) :
|
17475
|
+
])) : y("", !0)
|
17476
17476
|
])
|
17477
17477
|
])) : (u(), d("div", kj, [
|
17478
17478
|
o("div", null, V(e.value.select_single), 1)
|
@@ -17684,7 +17684,7 @@ const Ij = {
|
|
17684
17684
|
key: 0,
|
17685
17685
|
class: "AVSearchBallot--alert",
|
17686
17686
|
textContent: V(s.value.no_results)
|
17687
|
-
}, null, 8, Uj)) :
|
17687
|
+
}, null, 8, Uj)) : y("", !0)
|
17688
17688
|
])
|
17689
17689
|
], 40, Bj));
|
17690
17690
|
}
|
@@ -18032,7 +18032,7 @@ const cE = /* @__PURE__ */ I(Kj, [["__scopeId", "data-v-18b51da2"]]), eE = {
|
|
18032
18032
|
icon: "circle-info",
|
18033
18033
|
id: "split-helper-tooltip",
|
18034
18034
|
position: "top"
|
18035
|
-
}, null, 8, ["content", "text"])) :
|
18035
|
+
}, null, 8, ["content", "text"])) : y("", !0)
|
18036
18036
|
]);
|
18037
18037
|
};
|
18038
18038
|
}
|
@@ -18073,8 +18073,8 @@ const rE = /* @__PURE__ */ I(nE, [["__scopeId", "data-v-b9ca7030"]]), lE = "data
|
|
18073
18073
|
done: c.done,
|
18074
18074
|
active: c.active,
|
18075
18075
|
class: "AVFooter--child"
|
18076
|
-
}, null, 8, ["steps", "done", "active"])) :
|
18077
|
-
c.disableBanner ?
|
18076
|
+
}, null, 8, ["steps", "done", "active"])) : y("", !0),
|
18077
|
+
c.disableBanner ? y("", !0) : (u(), d("div", {
|
18078
18078
|
key: 1,
|
18079
18079
|
class: j(`AVFooter--base AVFooter--child ${c.enableSteps && "AVFooter--child-stacked"}`)
|
18080
18080
|
}, [
|
@@ -18363,7 +18363,7 @@ const DE = {
|
|
18363
18363
|
id: `ballot_${c.contest.reference}_question`,
|
18364
18364
|
class: "AVBallot--question",
|
18365
18365
|
"aria-live": "polite"
|
18366
|
-
}, V(v.value), 9, PE)) :
|
18366
|
+
}, V(v.value), 9, PE)) : y("", !0),
|
18367
18367
|
c.contest.searchForm ? (u(), q(N, {
|
18368
18368
|
key: 1,
|
18369
18369
|
ref_key: "search",
|
@@ -18371,22 +18371,22 @@ const DE = {
|
|
18371
18371
|
options: B(p.value),
|
18372
18372
|
"options-container-id": "ballot_options",
|
18373
18373
|
locale: e.locale
|
18374
|
-
}, null, 8, ["options", "locale"])) :
|
18374
|
+
}, null, 8, ["options", "locale"])) : y("", !0),
|
18375
18375
|
OE,
|
18376
18376
|
o("div", {
|
18377
18377
|
id: "ballot_options",
|
18378
18378
|
class: j({
|
18379
18379
|
"AVBallot--options": !0,
|
18380
18380
|
"AVBallot--options-with-list": p.value.some(
|
18381
|
-
(
|
18381
|
+
(x) => x.children
|
18382
18382
|
)
|
18383
18383
|
}),
|
18384
18384
|
"aria-label": L.value.aria_labels.ballot_options
|
18385
18385
|
}, [
|
18386
|
-
(u(!0), d(R, null, X(p.value, (
|
18387
|
-
key:
|
18386
|
+
(u(!0), d(R, null, X(p.value, (x) => (u(), d(R, {
|
18387
|
+
key: x.reference
|
18388
18388
|
}, [
|
18389
|
-
|
18389
|
+
x.writeIn ? (u(), q(D, {
|
18390
18390
|
key: 0,
|
18391
18391
|
"candidate-value": s.value,
|
18392
18392
|
"onUpdate:candidateValue": C[0] || (C[0] = (A) => s.value = A),
|
@@ -18399,7 +18399,7 @@ const DE = {
|
|
18399
18399
|
}, null, 8, ["candidate-value", "party-value", "checked-value", "parties", "locale"])) : (u(), q(S, {
|
18400
18400
|
key: 1,
|
18401
18401
|
selections: r.value,
|
18402
|
-
option:
|
18402
|
+
option: x,
|
18403
18403
|
invalid: !f.value,
|
18404
18404
|
contest: c.contest,
|
18405
18405
|
locale: e.locale,
|
@@ -18412,7 +18412,7 @@ const DE = {
|
|
18412
18412
|
error: m.value.includes("blank"),
|
18413
18413
|
locale: e.locale,
|
18414
18414
|
onToggleBlank: b
|
18415
|
-
}, null, 8, ["checked", "error", "locale"])) :
|
18415
|
+
}, null, 8, ["checked", "error", "locale"])) : y("", !0)
|
18416
18416
|
], 10, jE),
|
18417
18417
|
z(H, {
|
18418
18418
|
id: `ballot_${c.contest.reference}`,
|
@@ -18700,7 +18700,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18700
18700
|
key: 0,
|
18701
18701
|
locale: e.locale,
|
18702
18702
|
blank: n.value
|
18703
|
-
}, null, 8, ["locale", "blank"])) :
|
18703
|
+
}, null, 8, ["locale", "blank"])) : y("", !0)
|
18704
18704
|
])
|
18705
18705
|
])) : (u(), d("div", QE, [
|
18706
18706
|
o("div", ZE, [
|
@@ -18717,10 +18717,10 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18717
18717
|
}),
|
18718
18718
|
o("span", null, V(s.value.ballot_selection) + " " + V(c.pileIndex + 1), 1)
|
18719
18719
|
]),
|
18720
|
-
c.activeState === "overview" || c.isEditing ? (u(), d("span", JE, V(s.value.assigned) + " " + V(c.selectionPile.multiplier), 1)) :
|
18720
|
+
c.activeState === "overview" || c.isEditing ? (u(), d("span", JE, V(s.value.assigned) + " " + V(c.selectionPile.multiplier), 1)) : y("", !0)
|
18721
18721
|
], 8, XE),
|
18722
18722
|
o("div", KE, [
|
18723
|
-
n.value ? (u(), d("p", cq, V(s.value.blank), 1)) :
|
18723
|
+
n.value ? (u(), d("p", cq, V(s.value.blank), 1)) : y("", !0),
|
18724
18724
|
(u(!0), d(R, null, X(f.value.options, (b, k) => (u(), d("p", {
|
18725
18725
|
key: k,
|
18726
18726
|
class: "AVPileSummary--assign-text"
|
@@ -18742,7 +18742,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18742
18742
|
o("u", null, [
|
18743
18743
|
o("em", null, V(`${s.value.and_n_more_pre} ${l.value} ${s.value.and_n_more_pos}`), 1)
|
18744
18744
|
])
|
18745
|
-
])) :
|
18745
|
+
])) : y("", !0),
|
18746
18746
|
i.value ? (u(), d("p", {
|
18747
18747
|
key: 2,
|
18748
18748
|
role: "button",
|
@@ -18752,7 +18752,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18752
18752
|
o("u", null, [
|
18753
18753
|
o("em", null, V(s.value.show_less), 1)
|
18754
18754
|
])
|
18755
|
-
])) :
|
18755
|
+
])) : y("", !0)
|
18756
18756
|
])
|
18757
18757
|
]),
|
18758
18758
|
c.activeState === "overview" ? (u(), d("div", {
|
@@ -18763,7 +18763,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18763
18763
|
onClick: p[3] || (p[3] = A2((b) => a("deleteSelection"), ["stop", "prevent"]))
|
18764
18764
|
}, [
|
18765
18765
|
z(L, { icon: "trash-can" })
|
18766
|
-
], 8, aq)) :
|
18766
|
+
], 8, aq)) : y("", !0)
|
18767
18767
|
]));
|
18768
18768
|
};
|
18769
18769
|
}
|
@@ -19045,10 +19045,12 @@ const lq = {
|
|
19045
19045
|
],
|
19046
19046
|
setup(c, { emit: a }) {
|
19047
19047
|
const e = c, i = F(null), t = F(null), s = g(() => lq[e.locale]), n = g(() => e.ballotActiveState), r = g(() => e.contestSelection.piles), l = g(
|
19048
|
-
() => r.value.reduce((H,
|
19048
|
+
() => r.value.reduce((H, x) => H - x.multiplier, e.weight)
|
19049
19049
|
), m = g(() => {
|
19050
|
-
var H;
|
19051
|
-
return
|
19050
|
+
var H, x;
|
19051
|
+
return console.log("PILES", r.value), console.log("INDEX", i.value), console.log(
|
19052
|
+
l.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0
|
19053
|
+
), console.log("ACTIVE", t.value), l.value + ((x = r.value[i.value]) == null ? void 0 : x.multiplier) || 0;
|
19052
19054
|
}), f = g(
|
19053
19055
|
() => new Jw(e.contest)
|
19054
19056
|
), v = () => new rq({
|
@@ -19059,7 +19061,7 @@ const lq = {
|
|
19059
19061
|
(H) => f.value.isComplete(H)
|
19060
19062
|
)
|
19061
19063
|
), h = g(
|
19062
|
-
() => r.value.reduce((H,
|
19064
|
+
() => r.value.reduce((H, x) => H + x.multiplier, 0)
|
19063
19065
|
), L = g(() => {
|
19064
19066
|
var H;
|
19065
19067
|
return (H = t.value) == null ? void 0 : H.multiplier;
|
@@ -19102,7 +19104,7 @@ const lq = {
|
|
19102
19104
|
optionSelections: [],
|
19103
19105
|
explicitBlank: !1
|
19104
19106
|
}, b.value || N();
|
19105
|
-
}), (H,
|
19107
|
+
}), (H, x) => {
|
19106
19108
|
var f2;
|
19107
19109
|
const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
|
19108
19110
|
return u(), d(R, null, [
|
@@ -19120,7 +19122,7 @@ const lq = {
|
|
19120
19122
|
"total-weight": h.value + l.value,
|
19121
19123
|
"is-editing": k.value,
|
19122
19124
|
locale: e.locale
|
19123
|
-
}, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) :
|
19125
|
+
}, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : y("", !0),
|
19124
19126
|
z(N2, {
|
19125
19127
|
name: "fade",
|
19126
19128
|
mode: "out-in"
|
@@ -19141,15 +19143,15 @@ const lq = {
|
|
19141
19143
|
r.value.length > 0 ? (u(), d("button", {
|
19142
19144
|
key: "back",
|
19143
19145
|
class: "AVSplitHelper--btn-secondary",
|
19144
|
-
onClick:
|
19145
|
-
}, V(s.value.ballot.back_button), 1)) :
|
19146
|
+
onClick: x[0] || (x[0] = (W) => a("setBallotActiveState", "overview"))
|
19147
|
+
}, V(s.value.ballot.back_button), 1)) : y("", !0)
|
19146
19148
|
]),
|
19147
19149
|
o("div", vq, [
|
19148
19150
|
o("button", {
|
19149
19151
|
key: "assign",
|
19150
19152
|
class: "AVSplitHelper--btn-primary",
|
19151
19153
|
disabled: !B(t.value) || _(t.value),
|
19152
|
-
onClick:
|
19154
|
+
onClick: x[1] || (x[1] = (W) => a("setBallotActiveState", "assign"))
|
19153
19155
|
}, V(s.value.ballot.confirm_button), 9, pq)
|
19154
19156
|
])
|
19155
19157
|
])
|
@@ -19166,7 +19168,7 @@ const lq = {
|
|
19166
19168
|
"total-piles": c.contestSelection.piles.length,
|
19167
19169
|
"splitable-contests": c.splitableContests,
|
19168
19170
|
locale: e.locale,
|
19169
|
-
onEditCurrentSelection:
|
19171
|
+
onEditCurrentSelection: x[2] || (x[2] = (W) => a("setBallotActiveState", "ballot"))
|
19170
19172
|
}, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles", "splitable-contests", "locale"]),
|
19171
19173
|
o("label", {
|
19172
19174
|
for: `${c.contest.reference}-ballot-selector`,
|
@@ -19174,7 +19176,7 @@ const lq = {
|
|
19174
19176
|
}, V(k.value ? s.value.assign.ballots_to_assign_edit_mode : s.value.assign.ballots_to_assign), 9, Hq),
|
19175
19177
|
S2(o("input", {
|
19176
19178
|
id: `${c.contest.reference}-ballot-selector`,
|
19177
|
-
"onUpdate:modelValue":
|
19179
|
+
"onUpdate:modelValue": x[3] || (x[3] = (W) => t.value.multiplier = W),
|
19178
19180
|
class: "AVSplitHelper--assign-input",
|
19179
19181
|
type: "number",
|
19180
19182
|
max: m.value
|
@@ -19193,7 +19195,7 @@ const lq = {
|
|
19193
19195
|
o("button", {
|
19194
19196
|
key: "ballot",
|
19195
19197
|
class: "AVSplitHelper--btn-secondary",
|
19196
|
-
onClick:
|
19198
|
+
onClick: x[4] || (x[4] = (W) => a("setBallotActiveState", "ballot"))
|
19197
19199
|
}, V(s.value.assign.back_button), 1)
|
19198
19200
|
]),
|
19199
19201
|
o("div", Lq, [
|
@@ -19201,7 +19203,7 @@ const lq = {
|
|
19201
19203
|
key: "confirm",
|
19202
19204
|
class: "AVSplitHelper--btn-primary",
|
19203
19205
|
disabled: t.value.multiplier < 1 || t.value.multiplier > m.value,
|
19204
|
-
onClick:
|
19206
|
+
onClick: x[5] || (x[5] = (W) => N())
|
19205
19207
|
}, V(s.value.assign.confirm_button), 9, bq)
|
19206
19208
|
])
|
19207
19209
|
])
|
@@ -19243,7 +19245,7 @@ const lq = {
|
|
19243
19245
|
onDeleteSelection: (s2) => S(i2)
|
19244
19246
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "splitable-contests", "locale", "onDeleteSelection"])
|
19245
19247
|
], 8, wq))), 128))
|
19246
|
-
])) :
|
19248
|
+
])) : y("", !0)
|
19247
19249
|
];
|
19248
19250
|
}),
|
19249
19251
|
_: 1
|
@@ -19261,7 +19263,7 @@ const lq = {
|
|
19261
19263
|
};
|
19262
19264
|
}
|
19263
19265
|
});
|
19264
|
-
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-
|
19266
|
+
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-9afe3eed"]]);
|
19265
19267
|
var Dq = {}, Iq = /* @__PURE__ */ o("a", { href: "#" }, "LOGO", -1), Bq = { class: "flex items-center" }, Pq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Oq = /* @__PURE__ */ o("h2", { class: "mb-4" }, "Election Name", -1), jq = /* @__PURE__ */ o("div", null, [
|
19266
19268
|
/* @__PURE__ */ o("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
|
19267
19269
|
/* @__PURE__ */ o("br"),
|
@@ -19832,7 +19834,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19832
19834
|
}),
|
19833
19835
|
oF,
|
19834
19836
|
fF
|
19835
|
-
])) :
|
19837
|
+
])) : y("", !0),
|
19836
19838
|
(u(), d(R, null, X(a, (h) => z(f, {
|
19837
19839
|
key: h.id,
|
19838
19840
|
id: h.id,
|