@assemblyvoting/ui-library 1.3.38 → 1.4.0
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
|
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 x, 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 y = v && S === D && D.visualViewport ? D.visualViewport.height : (
|
258
258
|
// $FlowFixMe[prop-missing]
|
259
259
|
S[E]
|
260
260
|
);
|
261
|
-
b -=
|
261
|
+
b -= y - 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)), y = p === u1 ? H : S, A = {
|
491
|
+
top: D.top - y.top + B.top,
|
492
|
+
bottom: y.bottom - D.bottom + B.bottom,
|
493
|
+
left: D.left - y.left + B.left,
|
494
|
+
right: y.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, y = 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
|
+
y = 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 y = 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 !== y && (a.modifiersData[i]._skip = !0, a.placement = y, 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, y = 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 y == "number" ? {
|
682
|
+
mainAxis: y,
|
683
|
+
altAxis: y
|
684
684
|
} : Object.assign({
|
685
685
|
mainAxis: 0,
|
686
686
|
altAxis: 0
|
687
|
-
},
|
687
|
+
}, y), 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, y = D.name;
|
854
854
|
typeof S == "function" && (f = S({
|
855
855
|
state: f,
|
856
856
|
options: H,
|
857
|
-
name:
|
857
|
+
name: y,
|
858
858
|
instance: h
|
859
859
|
}) || f);
|
860
860
|
}
|
@@ -954,7 +954,7 @@ function V4(...c) {
|
|
954
954
|
Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
|
955
955
|
const s = [], n = () => {
|
956
956
|
s.forEach((f) => f()), s.length = 0;
|
957
|
-
}, r = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), l =
|
957
|
+
}, r = (f, v, p, h) => (f.addEventListener(v, p, h), () => f.removeEventListener(v, p, h)), l = e2(() => [m1(a), f3(t)], ([f, v]) => {
|
958
958
|
n(), f && s.push(...e.flatMap((p) => i.map((h) => r(f, p, h, v))));
|
959
959
|
}, { immediate: !0, flush: "post" }), m = () => {
|
960
960
|
l(), n();
|
@@ -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 y;
|
1117
|
+
const H = await ((y = s.value) == null ? void 0 : y.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 y = H;
|
1127
|
+
if (H === "" && (y = n.value ? "close" : "open"), y === "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 = "", y = "") => {
|
1133
|
+
e.hover !== !1 && (y === "trigger" ? r.value = H === "open" : l.value = H === "open", L(H));
|
1134
|
+
}, k = function(H, y) {
|
1135
|
+
const { slots: A } = y;
|
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 y = H;
|
1157
|
+
return H === "fade-slide" && (y = "shift-in"), {
|
1158
1158
|
outer: "fade",
|
1159
|
-
inner:
|
1159
|
+
inner: y
|
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 [y, A] = H;
|
1171
1171
|
return {
|
1172
|
-
enter: `${
|
1172
|
+
enter: `${y / 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((y) => m.value.startsWith(y));
|
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((y) => m.value.startsWith(y));
|
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
|
+
}, y = s.value.state.styles.popper;
|
1190
|
+
return k_(y, H);
|
1191
|
+
}), S = (H, y) => {
|
1192
|
+
e.onTransition !== void 0 && e.onTransition(H, y);
|
1193
|
+
}, E = function(H, y) {
|
1194
|
+
const { slots: A } = y;
|
1195
1195
|
return j2(
|
1196
1196
|
N2,
|
1197
1197
|
{ name: B.value.outer },
|
@@ -1275,13 +1275,13 @@ const a9 = {
|
|
1275
1275
|
}), lk(() => {
|
1276
1276
|
var H;
|
1277
1277
|
(H = s.value) == null || H.destroy(), s.value = void 0;
|
1278
|
-
}),
|
1279
|
-
var
|
1278
|
+
}), e2(n, (H) => {
|
1279
|
+
var y;
|
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(), (y = s.value) == null || y.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(y) {
|
12438
|
+
return v.classes.indexOf(y) === -1;
|
12439
|
+
}).filter(function(y) {
|
12440
|
+
return y !== "" || !!y;
|
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
|
+
})), y = Y.createElementNS("http://www.w3.org/2000/svg", "svg");
|
13092
|
+
a === "::before" ? c.insertBefore(y, c.firstChild) : c.appendChild(y), y.outerHTML = H.map(function(A) {
|
13093
13093
|
return U1(A);
|
13094
13094
|
}).join(`
|
13095
13095
|
`), c.removeAttribute(e), i();
|
@@ -13467,7 +13467,7 @@ const VD = P({
|
|
13467
13467
|
title: s.value
|
13468
13468
|
})
|
13469
13469
|
);
|
13470
|
-
|
13470
|
+
e2(
|
13471
13471
|
n,
|
13472
13472
|
(l) => {
|
13473
13473
|
if (!l)
|
@@ -13537,16 +13537,16 @@ 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"])) : x("", !0),
|
13541
13541
|
K(i.$slots, "default", {}, () => [
|
13542
|
-
|
13542
|
+
c2(V(c.label), 1)
|
13543
13543
|
], !0),
|
13544
13544
|
c.iconRight ? (u(), q(s, {
|
13545
13545
|
key: 1,
|
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"])) : x("", !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"])) : x("", !0)
|
13701
|
+
], 8, xD)) : x("", !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"])) : x("", !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
|
+
])) : x("", !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)) : x("", !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"])) : x("", !0)
|
13825
|
+
], 8, DD)) : x("", !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"])) : x("", !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
|
+
])) : x("", !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)) : x("", !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"])) : x("", !0)
|
13961
|
+
], 8, FD)) : x("", !0),
|
13962
13962
|
o("div", $D, [
|
13963
13963
|
o("div", RD, [
|
13964
|
-
c.disableIcon ?
|
13964
|
+
c.disableIcon ? x("", !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)) : x("", !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"])) : x("", !0)
|
14068
|
+
], 8, ZD)) : x("", !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"])) : x("", !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)) : x("", !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"])) : x("", !0)
|
14169
|
+
], 8, tI)) : x("", !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"])) : x("", !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
|
+
])) : x("", !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)) : x("", !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"])) : x("", !0)
|
14369
|
+
], 8, zI)) : x("", !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
|
+
])) : x("", !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)) : x("", !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)) : x("", !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 ? x("", !0) : (u(), d("div", _I, [
|
14531
14531
|
o("div", TI, [
|
14532
|
-
c.disableIcon ?
|
14532
|
+
c.disableIcon ? x("", !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 ? x("", !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 y = 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(y);
|
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 ? x("", !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"])) : x("", !0)
|
14730
14730
|
], 8, EI)),
|
14731
14731
|
o("div", {
|
14732
14732
|
class: j(`AVFileInput--dropzone-container ${c.error && "error"} ${c.disabled && "disabled"}`),
|
@@ -14762,15 +14762,15 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14762
14762
|
])) : (u(), d("div", WI, [
|
14763
14763
|
o("div", GI, V(n.value.primary), 1),
|
14764
14764
|
o("div", YI, [
|
14765
|
-
|
14765
|
+
c2(V(n.value.secondary.start) + " ", 1),
|
14766
14766
|
o("strong", null, V(n.value.secondary.strong), 1),
|
14767
|
-
|
14767
|
+
c2(" " + V(n.value.secondary.end), 1)
|
14768
14768
|
])
|
14769
14769
|
]))
|
14770
14770
|
], 8, $I)
|
14771
14771
|
], 34),
|
14772
|
-
c.disableAcceptedFormats ?
|
14773
|
-
|
14772
|
+
c.disableAcceptedFormats ? x("", !0) : (u(), d("p", QI, [
|
14773
|
+
c2(V(n.value.acceptedFormats) + " ", 1),
|
14774
14774
|
o("em", ZI, V(p.value), 1)
|
14775
14775
|
])),
|
14776
14776
|
s.value.length ? (u(), d("div", XI, [
|
@@ -14793,11 +14793,11 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14793
14793
|
}))
|
14794
14794
|
]),
|
14795
14795
|
o("p", aB, [
|
14796
|
-
|
14796
|
+
c2(V(E.name) + " ", 1),
|
14797
14797
|
o("em", null, V(Math.round(E.size / 1e3) + "kb"), 1)
|
14798
14798
|
])
|
14799
14799
|
]),
|
14800
|
-
c.disabled ?
|
14800
|
+
c.disabled ? x("", !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
|
+
])) : x("", !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
|
+
])) : x("", !0),
|
14851
|
+
c.error && c.errorMessage ? (u(), d("p", mB, V(c.errorMessage), 1)) : x("", !0)
|
14852
14852
|
]);
|
14853
14853
|
};
|
14854
14854
|
}
|
@@ -14884,7 +14884,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
|
|
14884
14884
|
}, s = () => {
|
14885
14885
|
a("update", e.value, i.value);
|
14886
14886
|
};
|
14887
|
-
return
|
14887
|
+
return e2(
|
14888
14888
|
() => e.checked,
|
14889
14889
|
() => {
|
14890
14890
|
i.value = e.checked;
|
@@ -14901,7 +14901,7 @@ const vB = /* @__PURE__ */ I(dB, [["__scopeId", "data-v-3122c494"]]), pB = (c) =
|
|
14901
14901
|
disabled: c.disabled
|
14902
14902
|
}, null, 40, VB),
|
14903
14903
|
zB,
|
14904
|
-
|
14904
|
+
c2(" " + V(c.value), 1)
|
14905
14905
|
], 10, hB));
|
14906
14906
|
}
|
14907
14907
|
});
|
@@ -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 ? x("", !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 ? x("", !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 ? x("", !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)) : x("", !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"])) : x("", !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)) : x("", !0)
|
15303
15303
|
]),
|
15304
15304
|
_: 3
|
15305
15305
|
}));
|
@@ -15337,8 +15337,8 @@ 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"])) :
|
15341
|
-
|
15340
|
+
}, null, 8, ["icon"])) : x("", !0),
|
15341
|
+
c2(" " + V(c.optionLabel), 1)
|
15342
15342
|
], 10, YB);
|
15343
15343
|
};
|
15344
15344
|
}
|
@@ -15384,7 +15384,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
|
|
15384
15384
|
emits: ["update:waiting"],
|
15385
15385
|
setup(c, { emit: a }) {
|
15386
15386
|
const e = c, i = F(!1);
|
15387
|
-
|
15387
|
+
e2(i, (r) => a("update:waiting", r));
|
15388
15388
|
const t = g(() => {
|
15389
15389
|
if (!i.value)
|
15390
15390
|
switch (e.variant) {
|
@@ -15427,7 +15427,7 @@ const ZB = /* @__PURE__ */ I(QB, [["__scopeId", "data-v-f770cea1"]]), XB = ["dis
|
|
15427
15427
|
})
|
15428
15428
|
], !0),
|
15429
15429
|
K(r.$slots, "waitingLabel", {}, () => [
|
15430
|
-
|
15430
|
+
c2("Working...")
|
15431
15431
|
], !0)
|
15432
15432
|
], 64)) : K(r.$slots, "default", { key: 0 }, () => [
|
15433
15433
|
z(m, {
|
@@ -15485,15 +15485,15 @@ const KB = /* @__PURE__ */ I(JB, [["__scopeId", "data-v-11042fa9"]]), cP = { cla
|
|
15485
15485
|
}, f = () => {
|
15486
15486
|
a("update", t.value, i.value);
|
15487
15487
|
};
|
15488
|
-
return
|
15488
|
+
return e2(
|
15489
15489
|
() => e.options,
|
15490
15490
|
() => n()
|
15491
|
-
),
|
15491
|
+
), e2(
|
15492
15492
|
() => e.selected,
|
15493
15493
|
() => {
|
15494
15494
|
t.value = e.selected, r(e.selected);
|
15495
15495
|
}
|
15496
|
-
),
|
15496
|
+
), e2(
|
15497
15497
|
() => e.disabled,
|
15498
15498
|
() => l()
|
15499
15499
|
), (v, p) => (u(), d("div", cP, [
|
@@ -15623,7 +15623,7 @@ const lP = /* @__PURE__ */ I(rP, [["__scopeId", "data-v-607d90fc"]]), oP = {
|
|
15623
15623
|
class: j(`AVTimedCard--help-text ${c.timeout - i.value <= c.customWarningTime && "AVTimedCard--help-text-warning"}`),
|
15624
15624
|
"data-test": "help-text"
|
15625
15625
|
}, [
|
15626
|
-
|
15626
|
+
c2(V(c.expirationMessage), 1),
|
15627
15627
|
o("strong", null, V(m.value), 1)
|
15628
15628
|
], 2)
|
15629
15629
|
], 64));
|
@@ -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)) : x("", !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)) : x("", !0)
|
15670
15670
|
]));
|
15671
15671
|
}
|
15672
15672
|
});
|
@@ -15705,13 +15705,13 @@ const zP = /* @__PURE__ */ I(VP, [["__scopeId", "data-v-9a6218e9"]]), HP = { cla
|
|
15705
15705
|
}, t = (n) => a.done ? a.done.includes(n) : !1;
|
15706
15706
|
v2(() => {
|
15707
15707
|
i();
|
15708
|
-
}),
|
15708
|
+
}), e2(
|
15709
15709
|
() => a.steps,
|
15710
15710
|
() => i()
|
15711
|
-
),
|
15711
|
+
), e2(
|
15712
15712
|
() => a.active,
|
15713
15713
|
() => i()
|
15714
|
-
),
|
15714
|
+
), e2(
|
15715
15715
|
() => a.done,
|
15716
15716
|
() => i()
|
15717
15717
|
);
|
@@ -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
|
+
])) : x("", !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"])) : x("", !0)
|
15889
15889
|
], 16, BP)
|
15890
15890
|
]);
|
15891
15891
|
};
|
@@ -16072,12 +16072,12 @@ const $P = /* @__PURE__ */ I(FP, [["__scopeId", "data-v-823fd4bf"]]), RP = { cla
|
|
16072
16072
|
}, l = () => {
|
16073
16073
|
a("update", i.value, t.value);
|
16074
16074
|
};
|
16075
|
-
return
|
16075
|
+
return e2(
|
16076
16076
|
() => e.initialValue,
|
16077
16077
|
() => {
|
16078
16078
|
i.value = e.initialValue, s(e.initialValue);
|
16079
16079
|
}
|
16080
|
-
),
|
16080
|
+
), e2(
|
16081
16081
|
() => e.disabled,
|
16082
16082
|
() => {
|
16083
16083
|
n();
|
@@ -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 ? x("", !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)) : x("", !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 ? x("", !0) : (u(), q(i, {
|
16152
16152
|
key: 0,
|
16153
16153
|
icon: "fa-solid fa-circle-chevron-left",
|
16154
16154
|
class: "AVBreadcrumb--icon"
|
@@ -16265,7 +16265,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16265
16265
|
z(r, { icon: "fa-solid fa-location-pin" })
|
16266
16266
|
]),
|
16267
16267
|
o("span", fO, [
|
16268
|
-
|
16268
|
+
c2(V(c.countyNameLabel), 1),
|
16269
16269
|
o("strong", null, V(c.countyName), 1)
|
16270
16270
|
])
|
16271
16271
|
]),
|
@@ -16274,7 +16274,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16274
16274
|
z(r, { icon: "fa-solid fa-file-circle-plus" })
|
16275
16275
|
]),
|
16276
16276
|
o("span", dO, [
|
16277
|
-
|
16277
|
+
c2(V(c.createdAtLabel), 1),
|
16278
16278
|
o("strong", null, V(c.createdAt), 1)
|
16279
16279
|
])
|
16280
16280
|
]),
|
@@ -16283,7 +16283,7 @@ const eO = /* @__PURE__ */ I(cO, [["__scopeId", "data-v-71e09fe3"]]), aO = ["hre
|
|
16283
16283
|
z(r, { icon: "fa-solid fa-pen-to-square" })
|
16284
16284
|
]),
|
16285
16285
|
o("span", hO, [
|
16286
|
-
|
16286
|
+
c2(V(c.lastUpdatedLabel), 1),
|
16287
16287
|
o("strong", null, V(c.lastUpdated), 1)
|
16288
16288
|
])
|
16289
16289
|
])
|
@@ -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
|
+
])) : x("", !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)) : x("", !0),
|
16512
16512
|
o("div", _O, [
|
16513
16513
|
o("div", TO, V(t.value), 1)
|
16514
16514
|
]),
|
16515
|
-
i.value ?
|
16515
|
+
i.value ? x("", !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
|
+
])) : x("", !0)
|
16539
16539
|
], 8, wO);
|
16540
16540
|
};
|
16541
16541
|
}
|
@@ -16757,16 +16757,16 @@ 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
|
+
}, y = (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
|
}));
|
16764
16764
|
};
|
16765
|
-
return
|
16765
|
+
return e2(
|
16766
16766
|
() => i.value.get("highlight-option"),
|
16767
16767
|
(A) => {
|
16768
16768
|
const [O] = A ?? [];
|
16769
|
-
|
16769
|
+
y(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)) : x("", !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
|
+
])) : x("", !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
|
+
])) : x("", !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)) : x("", !0)
|
16850
|
+
])) : x("", !0)
|
16851
|
+
])) : x("", !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)) : x("", !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
|
+
])) : x("", !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
|
+
])) : x("", !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
|
+
])) : x("", !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)) : x("", !0)
|
17688
17688
|
])
|
17689
17689
|
], 40, Bj));
|
17690
17690
|
}
|
@@ -17770,19 +17770,19 @@ const Gj = /* @__PURE__ */ I(Wj, [["__scopeId", "data-v-3516a383"]]), Yj = {
|
|
17770
17770
|
return (i, t) => (u(), d("div", Qj, [
|
17771
17771
|
o("div", Zj, [
|
17772
17772
|
o("span", null, [
|
17773
|
-
|
17773
|
+
c2(V(e.value.total) + " ", 1),
|
17774
17774
|
o("strong", null, V(c.assignedWeight + c.unusedWeight), 1)
|
17775
17775
|
])
|
17776
17776
|
]),
|
17777
17777
|
o("div", Xj, [
|
17778
17778
|
o("span", null, [
|
17779
|
-
|
17779
|
+
c2(V(e.value.assigned) + " ", 1),
|
17780
17780
|
o("strong", null, V(c.assignedWeight), 1)
|
17781
17781
|
])
|
17782
17782
|
]),
|
17783
17783
|
o("div", Jj, [
|
17784
17784
|
o("span", null, [
|
17785
|
-
|
17785
|
+
c2(V(e.value.unused) + " ", 1),
|
17786
17786
|
o("strong", null, V(c.unusedWeight), 1)
|
17787
17787
|
])
|
17788
17788
|
])
|
@@ -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"])) : x("", !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"])) : x("", !0),
|
18077
|
+
c.disableBanner ? x("", !0) : (u(), d("div", {
|
18078
18078
|
key: 1,
|
18079
18079
|
class: j(`AVFooter--base AVFooter--child ${c.enableSteps && "AVFooter--child-stacked"}`)
|
18080
18080
|
}, [
|
@@ -18135,7 +18135,7 @@ const AE = /* @__PURE__ */ I(CE, [["render", yE], ["__scopeId", "data-v-1923eca8
|
|
18135
18135
|
},
|
18136
18136
|
setup(c) {
|
18137
18137
|
const a = c;
|
18138
|
-
return
|
18138
|
+
return e2(
|
18139
18139
|
() => a.modalActive,
|
18140
18140
|
() => {
|
18141
18141
|
a.modalActive && (document.body.style.overflowY = "hidden"), a.modalActive || (document.body.style.overflowY = "scroll");
|
@@ -18324,7 +18324,7 @@ const DE = {
|
|
18324
18324
|
var _;
|
18325
18325
|
return (_ = e.contest.question) == null ? void 0 : _[e.locale];
|
18326
18326
|
}), p = g(() => e.contest.options), h = g(() => e.contest), L = g(() => DE[e.locale]);
|
18327
|
-
|
18327
|
+
e2(h, (_, C) => {
|
18328
18328
|
var N;
|
18329
18329
|
C && _ && _.reference !== C.reference && ((N = document.getElementById("content")) == null || N.focus(), C.searchForm && (n.value.value = ""));
|
18330
18330
|
});
|
@@ -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)) : x("", !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"])) : x("", !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
|
+
(y) => y.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, (y) => (u(), d(R, {
|
18387
|
+
key: y.reference
|
18388
18388
|
}, [
|
18389
|
-
|
18389
|
+
y.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: y,
|
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"])) : x("", !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"])) : x("", !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)) : x("", !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)) : x("", !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
|
+
])) : x("", !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
|
+
])) : x("", !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)) : x("", !0)
|
18767
18767
|
]));
|
18768
18768
|
};
|
18769
18769
|
}
|
@@ -19045,12 +19045,10 @@ 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, y) => H - y.multiplier, e.weight)
|
19049
19049
|
), m = g(() => {
|
19050
|
-
var H
|
19051
|
-
return
|
19052
|
-
l.value + ((x = r.value[i.value]) == null ? void 0 : x.multiplier) || 0
|
19053
|
-
), l.value + ((A = r.value[i.value]) == null ? void 0 : A.multiplier) || 0;
|
19050
|
+
var H;
|
19051
|
+
return l.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0;
|
19054
19052
|
}), f = g(
|
19055
19053
|
() => new Jw(e.contest)
|
19056
19054
|
), v = () => new rq({
|
@@ -19061,7 +19059,7 @@ const lq = {
|
|
19061
19059
|
(H) => f.value.isComplete(H)
|
19062
19060
|
)
|
19063
19061
|
), h = g(
|
19064
|
-
() => r.value.reduce((H,
|
19062
|
+
() => r.value.reduce((H, y) => H + y.multiplier, 0)
|
19065
19063
|
), L = g(() => {
|
19066
19064
|
var H;
|
19067
19065
|
return (H = t.value) == null ? void 0 : H.multiplier;
|
@@ -19092,26 +19090,19 @@ const lq = {
|
|
19092
19090
|
}, E = (H) => {
|
19093
19091
|
t.value = { ...r.value[H] }, i.value = H, a("setBallotActiveState", "ballot");
|
19094
19092
|
};
|
19095
|
-
return
|
19093
|
+
return e2(p, (H) => a("update:complete", H)), e2(n, (H) => a("setBallotActiveState", H)), e2(L, () => {
|
19096
19094
|
t.value && (t.value.multiplier = Math.max(
|
19097
19095
|
0,
|
19098
19096
|
Math.min(L.value, m.value)
|
19099
19097
|
));
|
19100
|
-
}),
|
19101
|
-
|
19102
|
-
|
19103
|
-
multiplier:
|
19104
|
-
explicitBlank: !1
|
19105
|
-
}, console.log("SELECTIONPILES", t.value);
|
19106
|
-
}), c2(i, () => {
|
19107
|
-
t.value = {
|
19098
|
+
}), v2(() => {
|
19099
|
+
var H;
|
19100
|
+
t.value = ((H = e.contestSelection.piles) == null ? void 0 : H[0]) || {
|
19101
|
+
multiplier: e.weight,
|
19108
19102
|
optionSelections: [],
|
19109
|
-
multiplier: m.value,
|
19110
19103
|
explicitBlank: !1
|
19111
|
-
},
|
19112
|
-
}),
|
19113
|
-
b.value || N();
|
19114
|
-
}), (H, x) => {
|
19104
|
+
}, b.value || N();
|
19105
|
+
}), (H, y) => {
|
19115
19106
|
var f2;
|
19116
19107
|
const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
|
19117
19108
|
return u(), d(R, null, [
|
@@ -19129,7 +19120,7 @@ const lq = {
|
|
19129
19120
|
"total-weight": h.value + l.value,
|
19130
19121
|
"is-editing": k.value,
|
19131
19122
|
locale: e.locale
|
19132
|
-
}, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) :
|
19123
|
+
}, null, 8, ["active-ballot-index", "active-state", "selection-piles", "total-weight", "is-editing", "locale"])) : x("", !0),
|
19133
19124
|
z(N2, {
|
19134
19125
|
name: "fade",
|
19135
19126
|
mode: "out-in"
|
@@ -19150,15 +19141,15 @@ const lq = {
|
|
19150
19141
|
r.value.length > 0 ? (u(), d("button", {
|
19151
19142
|
key: "back",
|
19152
19143
|
class: "AVSplitHelper--btn-secondary",
|
19153
|
-
onClick:
|
19154
|
-
}, V(s.value.ballot.back_button), 1)) :
|
19144
|
+
onClick: y[0] || (y[0] = (W) => a("setBallotActiveState", "overview"))
|
19145
|
+
}, V(s.value.ballot.back_button), 1)) : x("", !0)
|
19155
19146
|
]),
|
19156
19147
|
o("div", vq, [
|
19157
19148
|
o("button", {
|
19158
19149
|
key: "assign",
|
19159
19150
|
class: "AVSplitHelper--btn-primary",
|
19160
19151
|
disabled: !B(t.value) || _(t.value),
|
19161
|
-
onClick:
|
19152
|
+
onClick: y[1] || (y[1] = (W) => a("setBallotActiveState", "assign"))
|
19162
19153
|
}, V(s.value.ballot.confirm_button), 9, pq)
|
19163
19154
|
])
|
19164
19155
|
])
|
@@ -19175,7 +19166,7 @@ const lq = {
|
|
19175
19166
|
"total-piles": c.contestSelection.piles.length,
|
19176
19167
|
"splitable-contests": c.splitableContests,
|
19177
19168
|
locale: e.locale,
|
19178
|
-
onEditCurrentSelection:
|
19169
|
+
onEditCurrentSelection: y[2] || (y[2] = (W) => a("setBallotActiveState", "ballot"))
|
19179
19170
|
}, null, 8, ["selection-pile", "contest", "pile-index", "active-state", "is-editing", "total-piles", "splitable-contests", "locale"]),
|
19180
19171
|
o("label", {
|
19181
19172
|
for: `${c.contest.reference}-ballot-selector`,
|
@@ -19183,7 +19174,7 @@ const lq = {
|
|
19183
19174
|
}, V(k.value ? s.value.assign.ballots_to_assign_edit_mode : s.value.assign.ballots_to_assign), 9, Hq),
|
19184
19175
|
S2(o("input", {
|
19185
19176
|
id: `${c.contest.reference}-ballot-selector`,
|
19186
|
-
"onUpdate:modelValue":
|
19177
|
+
"onUpdate:modelValue": y[3] || (y[3] = (W) => t.value.multiplier = W),
|
19187
19178
|
class: "AVSplitHelper--assign-input",
|
19188
19179
|
type: "number",
|
19189
19180
|
max: m.value
|
@@ -19202,7 +19193,7 @@ const lq = {
|
|
19202
19193
|
o("button", {
|
19203
19194
|
key: "ballot",
|
19204
19195
|
class: "AVSplitHelper--btn-secondary",
|
19205
|
-
onClick:
|
19196
|
+
onClick: y[4] || (y[4] = (W) => a("setBallotActiveState", "ballot"))
|
19206
19197
|
}, V(s.value.assign.back_button), 1)
|
19207
19198
|
]),
|
19208
19199
|
o("div", Lq, [
|
@@ -19210,7 +19201,7 @@ const lq = {
|
|
19210
19201
|
key: "confirm",
|
19211
19202
|
class: "AVSplitHelper--btn-primary",
|
19212
19203
|
disabled: t.value.multiplier < 1 || t.value.multiplier > m.value,
|
19213
|
-
onClick:
|
19204
|
+
onClick: y[5] || (y[5] = (W) => N())
|
19214
19205
|
}, V(s.value.assign.confirm_button), 9, bq)
|
19215
19206
|
])
|
19216
19207
|
])
|
@@ -19220,11 +19211,11 @@ const lq = {
|
|
19220
19211
|
icon: "circle-check",
|
19221
19212
|
class: "AVSplitHelper--overview-success-icon"
|
19222
19213
|
}),
|
19223
|
-
|
19214
|
+
c2(" " + V(s.value.overview.all_ballots_assigned), 1)
|
19224
19215
|
])) : (u(), d("div", Aq, [
|
19225
19216
|
o("p", Nq, [
|
19226
19217
|
o("strong", null, V(l.value), 1),
|
19227
|
-
|
19218
|
+
c2(" " + V(s.value.overview.ballots_left), 1)
|
19228
19219
|
]),
|
19229
19220
|
o("button", {
|
19230
19221
|
key: "newSelection",
|
@@ -19233,7 +19224,7 @@ const lq = {
|
|
19233
19224
|
onClick: D
|
19234
19225
|
}, [
|
19235
19226
|
z(t2, { icon: "file-circle-plus" }),
|
19236
|
-
|
19227
|
+
c2(" " + V(s.value.overview.new_ballot_selection), 1)
|
19237
19228
|
], 8, Sq)
|
19238
19229
|
])),
|
19239
19230
|
(u(!0), d(R, null, X(r.value, (W, i2) => (u(), d("article", {
|
@@ -19252,7 +19243,7 @@ const lq = {
|
|
19252
19243
|
onDeleteSelection: (s2) => S(i2)
|
19253
19244
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "splitable-contests", "locale", "onDeleteSelection"])
|
19254
19245
|
], 8, wq))), 128))
|
19255
|
-
])) :
|
19246
|
+
])) : x("", !0)
|
19256
19247
|
];
|
19257
19248
|
}),
|
19258
19249
|
_: 1
|
@@ -19270,7 +19261,7 @@ const lq = {
|
|
19270
19261
|
};
|
19271
19262
|
}
|
19272
19263
|
});
|
19273
|
-
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-
|
19264
|
+
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-ff607d34"]]);
|
19274
19265
|
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, [
|
19275
19266
|
/* @__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. "),
|
19276
19267
|
/* @__PURE__ */ o("br"),
|
@@ -19841,7 +19832,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19841
19832
|
}),
|
19842
19833
|
oF,
|
19843
19834
|
fF
|
19844
|
-
])) :
|
19835
|
+
])) : x("", !0),
|
19845
19836
|
(u(), d(R, null, X(a, (h) => z(f, {
|
19846
19837
|
key: h.id,
|
19847
19838
|
id: h.id,
|