@assemblyvoting/ui-library 1.3.30 → 1.3.32
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 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) {
|
@@ -207,7 +207,7 @@ var kk = function(a, e) {
|
|
207
207
|
function _k(c) {
|
208
208
|
var a, e = c.state, i = c.name, t = c.options, s = e.elements.arrow, n = e.modifiersData.popperOffsets, r = V2(e.placement), l = j4(r), m = [r2, d2].indexOf(r) >= 0, f = m ? "height" : "width";
|
209
209
|
if (!(!s || !n)) {
|
210
|
-
var v = kk(t.padding, e), p = O4(s), h = l === "y" ? n2 : r2, L = l === "y" ? m2 : d2,
|
210
|
+
var v = kk(t.padding, e), p = O4(s), h = l === "y" ? n2 : r2, L = l === "y" ? m2 : d2, b = e.rects.reference[f] + e.rects.reference[l] - n[l] - e.rects.popper[f], k = n[l] - e.rects.reference[l], B = y1(s), _ = B ? l === "y" ? B.clientHeight || 0 : B.clientWidth || 0 : 0, C = b / 2 - k / 2, N = v[h], D = _ - p[f] - v[L], S = _ / 2 - p[f] / 2 + C, E = v1(N, S, D), H = l;
|
211
211
|
e.modifiersData[i] = (a = {}, a[H] = E, a.centerOffset = E - S, a);
|
212
212
|
}
|
213
213
|
}
|
@@ -241,14 +241,14 @@ function Bk(c, a) {
|
|
241
241
|
};
|
242
242
|
}
|
243
243
|
function qa(c) {
|
244
|
-
var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, r = c.position, l = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y,
|
244
|
+
var a, e = c.popper, i = c.popperRect, t = c.placement, s = c.variation, n = c.offsets, r = c.position, l = c.gpuAcceleration, m = c.adaptive, f = c.roundOffsets, v = c.isFixed, p = n.x, h = p === void 0 ? 0 : p, L = n.y, b = L === void 0 ? 0 : L, k = typeof f == "function" ? f({
|
245
245
|
x: h,
|
246
|
-
y:
|
246
|
+
y: b
|
247
247
|
}) : {
|
248
248
|
x: h,
|
249
|
-
y:
|
249
|
+
y: b
|
250
250
|
};
|
251
|
-
h = k.x,
|
251
|
+
h = k.x, b = k.y;
|
252
252
|
var B = n.hasOwnProperty("x"), _ = n.hasOwnProperty("y"), C = r2, N = n2, D = window;
|
253
253
|
if (m) {
|
254
254
|
var S = y1(e), E = "clientHeight", H = "clientWidth";
|
@@ -258,7 +258,7 @@ function qa(c) {
|
|
258
258
|
// $FlowFixMe[prop-missing]
|
259
259
|
S[E]
|
260
260
|
);
|
261
|
-
|
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;
|
@@ -273,16 +273,16 @@ function qa(c) {
|
|
273
273
|
position: r
|
274
274
|
}, m && Ik), Q = f === !0 ? Bk({
|
275
275
|
x: h,
|
276
|
-
y:
|
276
|
+
y: b
|
277
277
|
}, l2(e)) : {
|
278
278
|
x: h,
|
279
|
-
y:
|
279
|
+
y: b
|
280
280
|
};
|
281
|
-
if (h = Q.x,
|
281
|
+
if (h = Q.x, b = Q.y, l) {
|
282
282
|
var U;
|
283
|
-
return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " +
|
283
|
+
return Object.assign({}, O, (U = {}, U[N] = _ ? "0" : "", U[C] = B ? "0" : "", U.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", U));
|
284
284
|
}
|
285
|
-
return Object.assign({}, O, (a = {}, a[N] = _ ?
|
285
|
+
return Object.assign({}, O, (a = {}, a[N] = _ ? b + "px" : "", a[C] = B ? h + "px" : "", a.transform = "", a));
|
286
286
|
}
|
287
287
|
function Pk(c) {
|
288
288
|
var a = c.state, e = c.options, i = e.gpuAcceleration, t = i === void 0 ? !0 : i, s = e.adaptive, n = s === void 0 ? !0 : s, r = e.roundOffsets, l = r === void 0 ? !0 : r, m = {
|
@@ -482,7 +482,7 @@ function W9(c) {
|
|
482
482
|
}
|
483
483
|
function H1(c, a) {
|
484
484
|
a === void 0 && (a = {});
|
485
|
-
var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, r = e.boundary, l = r === void 0 ? dk : r, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h,
|
485
|
+
var e = a, i = e.placement, t = i === void 0 ? c.placement : i, s = e.strategy, n = s === void 0 ? c.strategy : s, r = e.boundary, l = r === void 0 ? dk : r, m = e.rootBoundary, f = m === void 0 ? O9 : m, v = e.elementContext, p = v === void 0 ? u1 : v, h = e.altBoundary, L = h === void 0 ? !1 : h, b = e.padding, k = b === void 0 ? 0 : b, B = $9(typeof k != "number" ? k : R9(k, x1)), _ = p === u1 ? vk : u1, C = c.rects.popper, N = c.elements[L ? _ : p], D = Gk($2(N) ? N : N.contextElement || I2(c.elements.popper), l, f, n), S = c1(c.elements.reference), E = W9({
|
486
486
|
reference: S,
|
487
487
|
element: C,
|
488
488
|
strategy: "absolute",
|
@@ -510,16 +510,16 @@ function Yk(c, a) {
|
|
510
510
|
return m.indexOf(L) >= 0;
|
511
511
|
});
|
512
512
|
p.length === 0 && (p = v);
|
513
|
-
var h = p.reduce(function(L,
|
514
|
-
return L[
|
515
|
-
placement:
|
513
|
+
var h = p.reduce(function(L, b) {
|
514
|
+
return L[b] = H1(c, {
|
515
|
+
placement: b,
|
516
516
|
boundary: t,
|
517
517
|
rootBoundary: s,
|
518
518
|
padding: n
|
519
|
-
})[V2(
|
519
|
+
})[V2(b)], L;
|
520
520
|
}, {});
|
521
|
-
return Object.keys(h).sort(function(L,
|
522
|
-
return h[L] - h[
|
521
|
+
return Object.keys(h).sort(function(L, b) {
|
522
|
+
return h[L] - h[b];
|
523
523
|
});
|
524
524
|
}
|
525
525
|
function Qk(c) {
|
@@ -531,14 +531,14 @@ function Qk(c) {
|
|
531
531
|
function Zk(c) {
|
532
532
|
var a = c.state, e = c.options, i = c.name;
|
533
533
|
if (!a.modifiersData[i]._skip) {
|
534
|
-
for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !0 : n, l = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h,
|
534
|
+
for (var t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !0 : n, l = e.fallbackPlacements, m = e.padding, f = e.boundary, v = e.rootBoundary, p = e.altBoundary, h = e.flipVariations, L = h === void 0 ? !0 : h, b = e.allowedAutoPlacements, k = a.options.placement, B = V2(k), _ = B === k, C = l || (_ || !L ? [s3(k)] : Qk(k)), N = [k].concat(C).reduce(function(W2, x2) {
|
535
535
|
return W2.concat(V2(x2) === B4 ? Yk(a, {
|
536
536
|
placement: x2,
|
537
537
|
boundary: f,
|
538
538
|
rootBoundary: v,
|
539
539
|
padding: m,
|
540
540
|
flipVariations: L,
|
541
|
-
allowedAutoPlacements:
|
541
|
+
allowedAutoPlacements: b
|
542
542
|
}) : x2);
|
543
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, {
|
@@ -671,14 +671,14 @@ function s_(c) {
|
|
671
671
|
return c === "x" ? "y" : "x";
|
672
672
|
}
|
673
673
|
function n_(c) {
|
674
|
-
var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !1 : n, l = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset,
|
674
|
+
var a = c.state, e = c.options, i = c.name, t = e.mainAxis, s = t === void 0 ? !0 : t, n = e.altAxis, r = n === void 0 ? !1 : n, l = e.boundary, m = e.rootBoundary, f = e.altBoundary, v = e.padding, p = e.tether, h = p === void 0 ? !0 : p, L = e.tetherOffset, b = L === void 0 ? 0 : L, k = H1(a, {
|
675
675
|
boundary: l,
|
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, y = typeof
|
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
|
-
})) :
|
681
|
+
})) : b, A = typeof y == "number" ? {
|
682
682
|
mainAxis: y,
|
683
683
|
altAxis: y
|
684
684
|
} : Object.assign({
|
@@ -821,7 +821,7 @@ function h_(c) {
|
|
821
821
|
state: f,
|
822
822
|
setOptions: function(B) {
|
823
823
|
var _ = typeof B == "function" ? B(f.options) : B;
|
824
|
-
|
824
|
+
b(), f.options = Object.assign({}, s, f.options, _), f.scrollParents = {
|
825
825
|
reference: $2(r) ? p1(r) : r.contextElement ? p1(r.contextElement) : [],
|
826
826
|
popper: p1(l)
|
827
827
|
};
|
@@ -869,7 +869,7 @@ function h_(c) {
|
|
869
869
|
});
|
870
870
|
}),
|
871
871
|
destroy: function() {
|
872
|
-
|
872
|
+
b(), p = !0;
|
873
873
|
}
|
874
874
|
};
|
875
875
|
if (!Ga(r, l))
|
@@ -892,7 +892,7 @@ function h_(c) {
|
|
892
892
|
}
|
893
893
|
});
|
894
894
|
}
|
895
|
-
function
|
895
|
+
function b() {
|
896
896
|
v.forEach(function(k) {
|
897
897
|
return k();
|
898
898
|
}), v = [];
|
@@ -1129,7 +1129,7 @@ const a9 = {
|
|
1129
1129
|
return;
|
1130
1130
|
}
|
1131
1131
|
h();
|
1132
|
-
},
|
1132
|
+
}, b = (H = "", y = "") => {
|
1133
1133
|
e.hover !== !1 && (y === "trigger" ? r.value = H === "open" : l.value = H === "open", L(H));
|
1134
1134
|
}, k = function(H, y) {
|
1135
1135
|
const { slots: A } = y;
|
@@ -1139,9 +1139,9 @@ const a9 = {
|
|
1139
1139
|
class: "trigger-element",
|
1140
1140
|
ref: i,
|
1141
1141
|
ariaDescribedby: "tooltip",
|
1142
|
-
onMouseenter: () =>
|
1143
|
-
onMouseleave: () =>
|
1144
|
-
onFocus: () =>
|
1142
|
+
onMouseenter: () => b("open", "trigger"),
|
1143
|
+
onMouseleave: () => b("close", "trigger"),
|
1144
|
+
onFocus: () => b("open"),
|
1145
1145
|
onClick: () => L()
|
1146
1146
|
},
|
1147
1147
|
A.default ? A.default() : ""
|
@@ -1204,10 +1204,10 @@ const a9 = {
|
|
1204
1204
|
ref: t,
|
1205
1205
|
style: D.value,
|
1206
1206
|
onMouseleave: () => {
|
1207
|
-
e.hover === !1 || e.interactive === !1 ||
|
1207
|
+
e.hover === !1 || e.interactive === !1 || b("close", "tooltip");
|
1208
1208
|
},
|
1209
1209
|
onMouseenter: () => {
|
1210
|
-
e.hover === !1 || e.interactive === !1 ||
|
1210
|
+
e.hover === !1 || e.interactive === !1 || b("open", "tooltip");
|
1211
1211
|
}
|
1212
1212
|
},
|
1213
1213
|
[
|
@@ -12434,7 +12434,7 @@ 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,
|
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
12438
|
return v.classes.indexOf(y) === -1;
|
12439
12439
|
}).filter(function(y) {
|
12440
12440
|
return y !== "" || !!y;
|
@@ -12446,10 +12446,10 @@ function xa(c) {
|
|
12446
12446
|
class: _,
|
12447
12447
|
role: v.attributes.role || "img",
|
12448
12448
|
xmlns: "http://www.w3.org/2000/svg",
|
12449
|
-
viewBox: "0 0 ".concat(
|
12449
|
+
viewBox: "0 0 ".concat(b, " ").concat(k)
|
12450
12450
|
})
|
12451
12451
|
}, N = B && !~v.classes.indexOf("fa-fw") ? {
|
12452
|
-
width: "".concat(
|
12452
|
+
width: "".concat(b / k * 16 * 0.0625, "em")
|
12453
12453
|
} : {};
|
12454
12454
|
h && (C.attributes[R2] = ""), l && (C.children.push({
|
12455
12455
|
tag: "title",
|
@@ -12860,7 +12860,7 @@ function JT(c) {
|
|
12860
12860
|
};
|
12861
12861
|
}
|
12862
12862
|
var KT = function(a) {
|
12863
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, r = e.mask, l = r === void 0 ? null : r, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h,
|
12863
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transform, t = i === void 0 ? h2 : i, s = e.symbol, n = s === void 0 ? !1 : s, r = e.mask, l = r === void 0 ? null : r, m = e.maskId, f = m === void 0 ? null : m, v = e.title, p = v === void 0 ? null : v, h = e.titleId, L = h === void 0 ? null : h, b = e.classes, k = b === void 0 ? [] : b, B = e.attributes, _ = B === void 0 ? {} : B, C = e.styles, N = C === void 0 ? {} : C;
|
12864
12864
|
if (a) {
|
12865
12865
|
var D = a.prefix, S = a.iconName, E = a.icon;
|
12866
12866
|
return u4(w({
|
@@ -12920,8 +12920,8 @@ var KT = function(a) {
|
|
12920
12920
|
width: 512,
|
12921
12921
|
height: 512,
|
12922
12922
|
icon: {}
|
12923
|
-
})]).then(function(
|
12924
|
-
var k = pa(
|
12923
|
+
})]).then(function(b) {
|
12924
|
+
var k = pa(b, 2), B = k[0], _ = k[1];
|
12925
12925
|
h([e, xa({
|
12926
12926
|
icons: {
|
12927
12927
|
main: B,
|
@@ -13070,9 +13070,9 @@ function x9(c, a) {
|
|
13070
13070
|
if (n && !l)
|
13071
13071
|
return c.removeChild(n), i();
|
13072
13072
|
if (l && f !== "none" && f !== "") {
|
13073
|
-
var v = r.getPropertyValue("content"), p = ~["Sharp"].indexOf(l[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? g1[p][l[2].toLowerCase()] : K_[p][m], L = sD(v),
|
13073
|
+
var v = r.getPropertyValue("content"), p = ~["Sharp"].indexOf(l[2]) ? J : G, h = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(l[2]) ? g1[p][l[2].toLowerCase()] : K_[p][m], L = sD(v), b = L.value, k = L.isSecondary, B = l[0].startsWith("FontAwesome"), _ = La(h, b), C = _;
|
13074
13074
|
if (B) {
|
13075
|
-
var N = xT(
|
13075
|
+
var N = xT(b);
|
13076
13076
|
N.iconName && N.prefix && (_ = N.iconName, h = N.prefix);
|
13077
13077
|
}
|
13078
13078
|
if (_ && !k && (!n || n.getAttribute(Va) !== h || n.getAttribute(za) !== C)) {
|
@@ -13280,7 +13280,7 @@ var mD = {
|
|
13280
13280
|
attributes: w(w({}, g4), {}, {
|
13281
13281
|
fill: "white"
|
13282
13282
|
})
|
13283
|
-
},
|
13283
|
+
}, b = f.children ? {
|
13284
13284
|
children: f.children.map(S9)
|
13285
13285
|
} : {}, k = {
|
13286
13286
|
tag: "g",
|
@@ -13288,7 +13288,7 @@ var mD = {
|
|
13288
13288
|
children: [S9(w({
|
13289
13289
|
tag: f.tag,
|
13290
13290
|
attributes: w(w({}, f.attributes), h.path)
|
13291
|
-
},
|
13291
|
+
}, b))]
|
13292
13292
|
}, B = {
|
13293
13293
|
tag: "g",
|
13294
13294
|
attributes: w({}, h.outer),
|
@@ -13437,8 +13437,8 @@ const VD = P({
|
|
13437
13437
|
return;
|
13438
13438
|
const v = Object.keys(l.attributes || {}).reduce(
|
13439
13439
|
(h, L) => {
|
13440
|
-
const
|
13441
|
-
return h.attrs[L] =
|
13440
|
+
const b = l.attributes[L];
|
13441
|
+
return h.attrs[L] = b, h;
|
13442
13442
|
},
|
13443
13443
|
{
|
13444
13444
|
attrs: {}
|
@@ -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"])) : x("", !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"])) : 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",
|
@@ -14406,14 +14406,14 @@ const hI = /* @__PURE__ */ I(pI, [["__scopeId", "data-v-ff11beb8"]]), VI = { cla
|
|
14406
14406
|
(u(!0), d(R, null, X(t.value, (L) => (u(), q(p, {
|
14407
14407
|
key: L,
|
14408
14408
|
optionLabel: L.label,
|
14409
|
-
onOnSelected: (
|
14409
|
+
onOnSelected: (b) => n(L.value),
|
14410
14410
|
"data-test": "option"
|
14411
14411
|
}, null, 8, ["optionLabel", "onOnSelected"]))), 128))
|
14412
14412
|
]),
|
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
|
@@ -14699,7 +14699,7 @@ const PI = /* @__PURE__ */ I(BI, [["__scopeId", "data-v-0cc3f6d1"]]), OI = {
|
|
14699
14699
|
return D.files;
|
14700
14700
|
}, v = g(() => e.accept.split(",")), p = g(() => e.accept.split(",").join(", ")), h = g(
|
14701
14701
|
() => v.value.map((C) => C.toLocaleLowerCase())
|
14702
|
-
), L = (C) => C.split("/").pop(),
|
14702
|
+
), L = (C) => C.split("/").pop(), b = (C) => {
|
14703
14703
|
C.preventDefault(), !e.disabled && (t.value.files = f(C.dataTransfer.files), s.value = e.multiple ? [...t.value.files] : [t.value.files[0]], a("update", s.value), i.value = !1);
|
14704
14704
|
}, k = (C) => {
|
14705
14705
|
s.value.splice(C, 1), a("update", s.value);
|
@@ -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,13 +14726,13 @@ 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"}`),
|
14733
14733
|
onDragover: l,
|
14734
14734
|
onDragleave: m,
|
14735
|
-
onDrop:
|
14735
|
+
onDrop: b
|
14736
14736
|
}, [
|
14737
14737
|
o("input", {
|
14738
14738
|
type: "file",
|
@@ -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 ? x("", !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 ? 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
|
}
|
@@ -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,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"])) : x("", !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)) : 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
|
});
|
@@ -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
|
};
|
@@ -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"
|
@@ -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
|
}
|
@@ -16726,7 +16726,7 @@ const PO = {
|
|
16726
16726
|
), L = g(() => {
|
16727
16727
|
var A;
|
16728
16728
|
return ((A = e.option.url) == null ? void 0 : A[e.locale]) ?? "";
|
16729
|
-
}),
|
16729
|
+
}), b = g(() => {
|
16730
16730
|
var A;
|
16731
16731
|
return ((A = e.option.videoUrl) == null ? void 0 : A[e.locale]) ?? "";
|
16732
16732
|
}), k = g(() => e.option.image), B = g(() => {
|
@@ -16734,8 +16734,8 @@ const PO = {
|
|
16734
16734
|
return L.value && A.push({
|
16735
16735
|
url: L.value,
|
16736
16736
|
text: l.value.info_link_text_html
|
16737
|
-
}),
|
16738
|
-
url:
|
16737
|
+
}), b.value && A.push({
|
16738
|
+
url: b.value,
|
16739
16739
|
text: l.value.video_link_text_html
|
16740
16740
|
}), A;
|
16741
16741
|
}), _ = g(
|
@@ -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
|
}
|
@@ -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
|
}, [
|
@@ -18328,7 +18328,7 @@ const DE = {
|
|
18328
18328
|
var N;
|
18329
18329
|
C && _ && _.reference !== C.reference && ((N = document.getElementById("content")) == null || N.focus(), C.searchForm && (n.value.value = ""));
|
18330
18330
|
});
|
18331
|
-
const
|
18331
|
+
const b = () => {
|
18332
18332
|
a("update:selectionPile", {
|
18333
18333
|
...e.selectionPile,
|
18334
18334
|
explicitBlank: !e.selectionPile.explicitBlank
|
@@ -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,7 +18371,7 @@ 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",
|
@@ -18411,8 +18411,8 @@ const DE = {
|
|
18411
18411
|
checked: c.selectionPile.explicitBlank,
|
18412
18412
|
error: m.value.includes("blank"),
|
18413
18413
|
locale: e.locale,
|
18414
|
-
onToggleBlank:
|
18415
|
-
}, null, 8, ["checked", "error", "locale"])) :
|
18414
|
+
onToggleBlank: b
|
18415
|
+
}, null, 8, ["checked", "error", "locale"])) : x("", !0)
|
18416
18416
|
], 10, jE),
|
18417
18417
|
z(H, {
|
18418
18418
|
id: `ballot_${c.contest.reference}`,
|
@@ -18663,11 +18663,11 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18663
18663
|
});
|
18664
18664
|
else {
|
18665
18665
|
const h = v.options.find(
|
18666
|
-
(
|
18666
|
+
(b) => b.handle === p.reference
|
18667
18667
|
);
|
18668
|
-
e.contest.options.map((
|
18668
|
+
e.contest.options.map((b) => m(b));
|
18669
18669
|
const L = t.value.find(
|
18670
|
-
(
|
18670
|
+
(b) => b.reference === p.reference
|
18671
18671
|
);
|
18672
18672
|
h ? h.crosses += 1 : v.options.push({
|
18673
18673
|
title: L.title[e.locale],
|
@@ -18690,9 +18690,9 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18690
18690
|
o("span", null, V(s.value.selection), 1)
|
18691
18691
|
])),
|
18692
18692
|
o("div", YE, [
|
18693
|
-
(u(!0), d(R, null, X(f.value.options, (
|
18693
|
+
(u(!0), d(R, null, X(f.value.options, (b, k) => (u(), q(h, {
|
18694
18694
|
key: k,
|
18695
|
-
option:
|
18695
|
+
option: b,
|
18696
18696
|
"multiple-votes-allowed": c.contest.markingType.votesAllowedPerOption > 1,
|
18697
18697
|
locale: e.locale
|
18698
18698
|
}, null, 8, ["option", "multiple-votes-allowed", "locale"]))), 128)),
|
@@ -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, [
|
@@ -18708,7 +18708,7 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18708
18708
|
class: "AVPileSummary--assign-header",
|
18709
18709
|
"aria-label": s.value.aria_labels.edit_selection,
|
18710
18710
|
role: "button",
|
18711
|
-
onClick: p[0] || (p[0] = (
|
18711
|
+
onClick: p[0] || (p[0] = (b) => a("editCurrentSelection"))
|
18712
18712
|
}, [
|
18713
18713
|
o("div", null, [
|
18714
18714
|
z(L, {
|
@@ -18717,42 +18717,42 @@ 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)) :
|
18724
|
-
(u(!0), d(R, null, X(f.value.options, (
|
18723
|
+
n.value ? (u(), d("p", cq, V(s.value.blank), 1)) : x("", !0),
|
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"
|
18727
|
-
}, V(
|
18728
|
-
(u(!0), d(R, null, X(f.value.writeIns, (
|
18727
|
+
}, V(b.rank ? `${b.rank}: ` : "") + V(b.title), 1))), 128)),
|
18728
|
+
(u(!0), d(R, null, X(f.value.writeIns, (b, k) => (u(), d("p", {
|
18729
18729
|
key: k,
|
18730
18730
|
class: "AVPileSummary--assign-text"
|
18731
18731
|
}, [
|
18732
|
-
o("b", null, V(
|
18732
|
+
o("b", null, V(b.partyLetter) + " - " + V(b.partyName), 1),
|
18733
18733
|
eq,
|
18734
|
-
o("span", null, V(
|
18734
|
+
o("span", null, V(b.candidateName), 1)
|
18735
18735
|
]))), 128)),
|
18736
18736
|
l.value > 0 ? (u(), d("p", {
|
18737
18737
|
key: 1,
|
18738
18738
|
role: "button",
|
18739
18739
|
class: "AVPileSummary--show-more-button",
|
18740
|
-
onClick: p[1] || (p[1] = A2((
|
18740
|
+
onClick: p[1] || (p[1] = A2((b) => i.value = !0, ["stop", "prevent"]))
|
18741
18741
|
}, [
|
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",
|
18749
18749
|
class: "AVPileSummary--show-more-button",
|
18750
|
-
onClick: p[2] || (p[2] = A2((
|
18750
|
+
onClick: p[2] || (p[2] = A2((b) => i.value = !1, ["stop", "prevent"]))
|
18751
18751
|
}, [
|
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", {
|
@@ -18760,10 +18760,10 @@ const qE = /* @__PURE__ */ I(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18760
18760
|
class: "AVPileSummary--assign-delete-button",
|
18761
18761
|
role: "button",
|
18762
18762
|
"aria-label": s.value.aria_labels.delete_selection,
|
18763
|
-
onClick: p[3] || (p[3] = A2((
|
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
|
}
|
@@ -19001,10 +19001,7 @@ const lq = {
|
|
19001
19001
|
}, oq = {
|
19002
19002
|
class: "AVSplitHelper--title",
|
19003
19003
|
"aria-live": "polite"
|
19004
|
-
}, fq = ["innerHTML"], uq = { key: 0 }, mq = { class: "AVSplitHelper--footer" }, dq = { class: "AVSplitHelper--btn-secondary-container" }, vq = { class: "AVSplitHelper--btn-primary-container" }, pq = ["disabled"], hq = { key: 1 }, Vq = {
|
19005
|
-
key: 0,
|
19006
|
-
class: "AVSplitHelper--assign-card"
|
19007
|
-
}, zq = { class: "AVSplitHelper--assign-question" }, Hq = ["for"], Mq = ["id", "max"], gq = { class: "AVSplitHelper--footer" }, Cq = { class: "AVSplitHelper--btn-secondary-container" }, Lq = { class: "AVSplitHelper--btn-primary-container" }, bq = ["disabled"], xq = { key: 2 }, yq = {
|
19004
|
+
}, fq = ["innerHTML"], uq = { key: 0 }, mq = { class: "AVSplitHelper--footer" }, dq = { class: "AVSplitHelper--btn-secondary-container" }, vq = { class: "AVSplitHelper--btn-primary-container" }, pq = ["disabled"], hq = { key: 1 }, Vq = { class: "AVSplitHelper--assign-card" }, zq = { class: "AVSplitHelper--assign-question" }, Hq = ["for"], Mq = ["id", "max"], gq = { class: "AVSplitHelper--footer" }, Cq = { class: "AVSplitHelper--btn-secondary-container" }, Lq = { class: "AVSplitHelper--btn-primary-container" }, bq = ["disabled"], xq = { key: 2 }, yq = {
|
19008
19005
|
key: 0,
|
19009
19006
|
class: "AVSplitHelper--overview-success"
|
19010
19007
|
}, Aq = {
|
@@ -19066,14 +19063,14 @@ const lq = {
|
|
19066
19063
|
}), L = g(
|
19067
19064
|
() => {
|
19068
19065
|
var H;
|
19069
|
-
return l.value + ((H = r.value[i.value
|
19066
|
+
return l.value + ((H = r.value[i.value]) == null ? void 0 : H.multiplier) || 0;
|
19070
19067
|
}
|
19071
|
-
),
|
19068
|
+
), b = g(
|
19072
19069
|
() => e.splitableContests[e.contest.reference]
|
19073
19070
|
), k = g(() => i.value !== null), B = (H) => m.value.isComplete(H), _ = (H) => m.value.validate(H).length > 0, C = (H) => {
|
19074
|
-
t.value = H,
|
19071
|
+
t.value = H, b.value || N();
|
19075
19072
|
}, N = () => {
|
19076
|
-
if (
|
19073
|
+
if (b.value) {
|
19077
19074
|
const H = [...r.value];
|
19078
19075
|
t.value && (i.value === null ? H.push({ ...t.value }) : H.splice(i.value, 1, { ...t.value })), a("setContestSelection", {
|
19079
19076
|
...e.contestSelection,
|
@@ -19106,7 +19103,7 @@ const lq = {
|
|
19106
19103
|
multiplier: e.weight,
|
19107
19104
|
optionSelections: [],
|
19108
19105
|
explicitBlank: !1
|
19109
|
-
},
|
19106
|
+
}, b.value || N();
|
19110
19107
|
}), (H, y) => {
|
19111
19108
|
var f2;
|
19112
19109
|
const A = M("AVSplitWizardHeader"), O = M("AVBallot"), Q = M("AVPileSummary"), U = M("AVSplitWeightHelper"), t2 = M("AVIcon");
|
@@ -19116,7 +19113,7 @@ const lq = {
|
|
19116
19113
|
class: "AVSplitHelper--description",
|
19117
19114
|
innerHTML: (f2 = c.contest.description) == null ? void 0 : f2[e.locale]
|
19118
19115
|
}, null, 8, fq),
|
19119
|
-
|
19116
|
+
b.value ? (u(), d("div", uq, [
|
19120
19117
|
["ballot", "assign", "overview"].includes(n.value) ? (u(), q(A, {
|
19121
19118
|
key: 0,
|
19122
19119
|
"active-ballot-index": i.value,
|
@@ -19125,7 +19122,7 @@ const lq = {
|
|
19125
19122
|
"total-weight": p.value + l.value,
|
19126
19123
|
"is-editing": k.value,
|
19127
19124
|
locale: e.locale
|
19128
|
-
}, 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"])) : x("", !0),
|
19129
19126
|
z(N2, {
|
19130
19127
|
name: "fade",
|
19131
19128
|
mode: "out-in"
|
@@ -19147,7 +19144,7 @@ const lq = {
|
|
19147
19144
|
key: "back",
|
19148
19145
|
class: "AVSplitHelper--btn-secondary",
|
19149
19146
|
onClick: y[0] || (y[0] = (W) => a("setBallotActiveState", "overview"))
|
19150
|
-
}, V(s.value.ballot.back_button), 1)) :
|
19147
|
+
}, V(s.value.ballot.back_button), 1)) : x("", !0)
|
19151
19148
|
]),
|
19152
19149
|
o("div", vq, [
|
19153
19150
|
o("button", {
|
@@ -19159,7 +19156,7 @@ const lq = {
|
|
19159
19156
|
])
|
19160
19157
|
])
|
19161
19158
|
])) : n.value === "assign" ? (u(), d("div", hq, [
|
19162
|
-
|
19159
|
+
o("div", Vq, [
|
19163
19160
|
o("h4", zq, V(s.value.assign.split_question), 1),
|
19164
19161
|
z(Q, {
|
19165
19162
|
"selection-pile": t.value,
|
@@ -19186,7 +19183,7 @@ const lq = {
|
|
19186
19183
|
}, null, 8, Mq), [
|
19187
19184
|
[P9, t.value.multiplier]
|
19188
19185
|
])
|
19189
|
-
])
|
19186
|
+
]),
|
19190
19187
|
z(U, {
|
19191
19188
|
"assigned-weight": p.value,
|
19192
19189
|
"unused-weight": l.value,
|
@@ -19248,7 +19245,7 @@ const lq = {
|
|
19248
19245
|
onDeleteSelection: (s2) => S(i2)
|
19249
19246
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "splitable-contests", "locale", "onDeleteSelection"])
|
19250
19247
|
], 8, wq))), 128))
|
19251
|
-
])) :
|
19248
|
+
])) : x("", !0)
|
19252
19249
|
];
|
19253
19250
|
}),
|
19254
19251
|
_: 1
|
@@ -19266,7 +19263,7 @@ const lq = {
|
|
19266
19263
|
};
|
19267
19264
|
}
|
19268
19265
|
});
|
19269
|
-
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-
|
19266
|
+
const Tq = /* @__PURE__ */ I(_q, [["__scopeId", "data-v-f9e798f9"]]);
|
19270
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, [
|
19271
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. "),
|
19272
19269
|
/* @__PURE__ */ o("br"),
|
@@ -19837,7 +19834,7 @@ const aF = /* @__PURE__ */ I(Xq, [["render", eF]]), m4 = (c) => (T2("data-v-20fc
|
|
19837
19834
|
}),
|
19838
19835
|
oF,
|
19839
19836
|
fF
|
19840
|
-
])) :
|
19837
|
+
])) : x("", !0),
|
19841
19838
|
(u(), d(R, null, X(a, (h) => z(f, {
|
19842
19839
|
key: h.id,
|
19843
19840
|
id: h.id,
|