@assemblyvoting/ui-library 3.3.6-beta.2 → 3.3.6-beta.3
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 { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as
|
|
1
|
+
import { defineComponent as W, h as Z4, getCurrentInstance as O3, effectScope as x$, inject as k1, onMounted as z1, onUnmounted as is, shallowRef as ns, ref as n1, computed as E, onBeforeMount as k$, watch as s1, Fragment as K, isRef as N$, createVNode as T, Text as S$, pushScopeId as Z1, popScopeId as Y1, nextTick as ss, openBlock as m, createBlock as Z, createElementBlock as h, normalizeClass as j, renderSlot as g1, normalizeProps as w$, guardReactiveProps as T$, withScopeId as I$, resolveComponent as P, normalizeStyle as B1, withKeys as U8, createElementVNode as o, createCommentVNode as I, mergeProps as W8, withCtx as i1, createApp as E$, toDisplayString as g, createTextVNode as o1, resolveDirective as h2, withDirectives as j1, reactive as ls, provide as rs, renderList as f1, Transition as Y2, unref as D, useCssVars as D$, vShow as E4, withModifiers as m2, createSlots as P$, vModelText as os } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* shared v9.13.1
|
|
4
4
|
* (c) 2024 kazuya kawaguchi
|
|
@@ -2410,7 +2410,7 @@ const xW = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
2410
2410
|
return e && (c = Rs(e)[Qi]) ? { [Qi]: c } : null;
|
|
2411
2411
|
};
|
|
2412
2412
|
function K8(e = {}, c) {
|
|
2413
|
-
const { __root: a, __injectWithOption: t } = e, i = a === void 0, n = e.flatJson, s = r2 ?
|
|
2413
|
+
const { __root: a, __injectWithOption: t } = e, i = a === void 0, n = e.flatJson, s = r2 ? n1 : ns, l = !!e.translateExistCompatible;
|
|
2414
2414
|
process.env.NODE_ENV !== "production" && l && ms(J1(_1.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));
|
|
2415
2415
|
let r = l1(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2416
2416
|
const f = s(
|
|
@@ -2643,9 +2643,9 @@ function K8(e = {}, c) {
|
|
|
2643
2643
|
function H1(w, F) {
|
|
2644
2644
|
p.value[w] = R1(p.value[w] || {}, F), y.numberFormats = p.value, Zi(y, w, F);
|
|
2645
2645
|
}
|
|
2646
|
-
Xi++, a && r2 && (
|
|
2646
|
+
Xi++, a && r2 && (s1(a.locale, (w) => {
|
|
2647
2647
|
r && (f.value = w, y.locale = w, N3(y, f.value, u.value));
|
|
2648
|
-
}),
|
|
2648
|
+
}), s1(a.fallbackLocale, (w) => {
|
|
2649
2649
|
r && (u.value = w, y.fallbackLocale = w, N3(y, f.value, u.value));
|
|
2650
2650
|
}));
|
|
2651
2651
|
const V1 = {
|
|
@@ -3128,7 +3128,7 @@ function DW(e) {
|
|
|
3128
3128
|
return {
|
|
3129
3129
|
created: (s, l) => {
|
|
3130
3130
|
const [r, f] = c(l);
|
|
3131
|
-
r2 && e.global === f && (s.__i18nWatcher =
|
|
3131
|
+
r2 && e.global === f && (s.__i18nWatcher = s1(f.locale, () => {
|
|
3132
3132
|
l.instance && l.instance.$forceUpdate();
|
|
3133
3133
|
})), s.__composer = f, s.textContent = r;
|
|
3134
3134
|
},
|
|
@@ -3658,13 +3658,13 @@ function lG(e, c, a, t = {}) {
|
|
|
3658
3658
|
const i = c === "local", n = ns(null);
|
|
3659
3659
|
if (i && e.proxy && !(e.proxy.$options.i18n || e.proxy.$options.__i18n))
|
|
3660
3660
|
throw T1(d1.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
|
|
3661
|
-
const s = l1(t.inheritLocale) ? t.inheritLocale : !$(t.locale), l =
|
|
3661
|
+
const s = l1(t.inheritLocale) ? t.inheritLocale : !$(t.locale), l = n1(
|
|
3662
3662
|
// prettier-ignore
|
|
3663
3663
|
!i || s ? a.locale.value : $(t.locale) ? t.locale : v3
|
|
3664
|
-
), r =
|
|
3664
|
+
), r = n1(
|
|
3665
3665
|
// prettier-ignore
|
|
3666
3666
|
!i || s ? a.fallbackLocale.value : $(t.fallbackLocale) || C1(t.fallbackLocale) || t1(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : l.value
|
|
3667
|
-
), f =
|
|
3667
|
+
), f = n1(c6(l.value, t)), u = n1(t1(t.datetimeFormats) ? t.datetimeFormats : { [l.value]: {} }), v = n1(t1(t.numberFormats) ? t.numberFormats : { [l.value]: {} }), d = i ? a.missingWarn : l1(t.missingWarn) || I2(t.missingWarn) ? t.missingWarn : !0, p = i ? a.fallbackWarn : l1(t.fallbackWarn) || I2(t.fallbackWarn) ? t.fallbackWarn : !0, V = i ? a.fallbackRoot : l1(t.fallbackRoot) ? t.fallbackRoot : !0, b = !!t.fallbackFormat, A = M1(t.missing) ? t.missing : null, _ = M1(t.postTranslation) ? t.postTranslation : null, C = i ? a.warnHtmlMessage : l1(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, M = !!t.escapeParameter, x = i ? a.modifiers : t1(t.modifiers) ? t.modifiers : {}, k = t.pluralRules || i && a.pluralRules;
|
|
3668
3668
|
function L() {
|
|
3669
3669
|
return [
|
|
3670
3670
|
l.value,
|
|
@@ -21487,7 +21487,7 @@ function MJ(e, c, a, t, i, n) {
|
|
|
21487
21487
|
onAutoHide: c[7] || (c[7] = () => e.$emit("auto-hide")),
|
|
21488
21488
|
onResize: c[8] || (c[8] = () => e.$emit("resize"))
|
|
21489
21489
|
}), {
|
|
21490
|
-
default:
|
|
21490
|
+
default: i1(({
|
|
21491
21491
|
popperId: r,
|
|
21492
21492
|
isShown: f,
|
|
21493
21493
|
shouldMountContent: u,
|
|
@@ -21519,7 +21519,7 @@ function MJ(e, c, a, t, i, n) {
|
|
|
21519
21519
|
onHide: V,
|
|
21520
21520
|
onResize: A
|
|
21521
21521
|
}, {
|
|
21522
|
-
default:
|
|
21522
|
+
default: i1(() => [
|
|
21523
21523
|
g1(e.$slots, "popper", {
|
|
21524
21524
|
shown: f,
|
|
21525
21525
|
hide: V
|
|
@@ -21633,7 +21633,7 @@ function _J(e, c, a, t, i, n) {
|
|
|
21633
21633
|
onApplyShow: e.onShow,
|
|
21634
21634
|
onApplyHide: e.onHide
|
|
21635
21635
|
}), {
|
|
21636
|
-
default:
|
|
21636
|
+
default: i1(({
|
|
21637
21637
|
popperId: r,
|
|
21638
21638
|
isShown: f,
|
|
21639
21639
|
shouldMountContent: u,
|
|
@@ -21662,7 +21662,7 @@ function _J(e, c, a, t, i, n) {
|
|
|
21662
21662
|
onHide: p,
|
|
21663
21663
|
onResize: b
|
|
21664
21664
|
}, {
|
|
21665
|
-
default:
|
|
21665
|
+
default: i1(() => [
|
|
21666
21666
|
e.html ? (m(), h("div", {
|
|
21667
21667
|
key: 0,
|
|
21668
21668
|
innerHTML: e.finalContent
|
|
@@ -21694,7 +21694,7 @@ let m8, W3, kJ = 0;
|
|
|
21694
21694
|
function NJ() {
|
|
21695
21695
|
if (m8)
|
|
21696
21696
|
return;
|
|
21697
|
-
W3 =
|
|
21697
|
+
W3 = n1([]), m8 = E$({
|
|
21698
21698
|
name: "VTooltipDirectiveApp",
|
|
21699
21699
|
setup() {
|
|
21700
21700
|
return {
|
|
@@ -21717,7 +21717,7 @@ function NJ() {
|
|
|
21717
21717
|
}
|
|
21718
21718
|
function SJ(e, c, a) {
|
|
21719
21719
|
NJ();
|
|
21720
|
-
const t =
|
|
21720
|
+
const t = n1(jq(e, c, a)), i = n1(!1), n = {
|
|
21721
21721
|
id: kJ++,
|
|
21722
21722
|
options: t,
|
|
21723
21723
|
shown: i
|
|
@@ -24370,7 +24370,7 @@ const pY = W({
|
|
|
24370
24370
|
title: s.value
|
|
24371
24371
|
})
|
|
24372
24372
|
);
|
|
24373
|
-
|
|
24373
|
+
s1(
|
|
24374
24374
|
l,
|
|
24375
24375
|
(f) => {
|
|
24376
24376
|
if (!f)
|
|
@@ -24711,7 +24711,7 @@ const NY = /* @__PURE__ */ G(kY, [["__scopeId", "data-v-6c6cbec3"]]), SY = { cla
|
|
|
24711
24711
|
},
|
|
24712
24712
|
emits: ["update:modelValue"],
|
|
24713
24713
|
setup(e, { emit: c }) {
|
|
24714
|
-
const a = e, t = c, i =
|
|
24714
|
+
const a = e, t = c, i = n1(null), n = (v) => {
|
|
24715
24715
|
t("update:modelValue", parseInt(v.target.value));
|
|
24716
24716
|
}, s = (v) => {
|
|
24717
24717
|
v.target.value === "" && t("update:modelValue", 0);
|
|
@@ -24868,7 +24868,7 @@ const OY = /* @__PURE__ */ G(PY, [["__scopeId", "data-v-c69bbc44"]]), BY = { cla
|
|
|
24868
24868
|
},
|
|
24869
24869
|
emits: ["update:modelValue"],
|
|
24870
24870
|
setup(e, { emit: c }) {
|
|
24871
|
-
const a = c, t =
|
|
24871
|
+
const a = c, t = n1(!1), i = () => {
|
|
24872
24872
|
t.value = !t.value;
|
|
24873
24873
|
}, n = (s) => {
|
|
24874
24874
|
a("update:modelValue", s.target.value);
|
|
@@ -25365,7 +25365,7 @@ const pQ = /* @__PURE__ */ G(vQ, [["__scopeId", "data-v-6caf6a51"]]), hQ = { cla
|
|
|
25365
25365
|
])
|
|
25366
25366
|
], 10, VQ),
|
|
25367
25367
|
T(p, null, {
|
|
25368
|
-
default:
|
|
25368
|
+
default: i1(() => [
|
|
25369
25369
|
(m(!0), h(K, null, f1(n.value, (b) => (m(), Z(d, {
|
|
25370
25370
|
key: b,
|
|
25371
25371
|
optionLabel: b.label,
|
|
@@ -25386,7 +25386,7 @@ const LQ = /* @__PURE__ */ G(AQ, [["__scopeId", "data-v-09756cc6"]]), _Q = ["ari
|
|
|
25386
25386
|
setup(e) {
|
|
25387
25387
|
const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
|
25388
25388
|
return (i, n) => (m(), Z(Y2, { name: "dropdown-content" }, {
|
|
25389
|
-
default:
|
|
25389
|
+
default: i1(() => [
|
|
25390
25390
|
a.value ? (m(), h("div", {
|
|
25391
25391
|
key: 0,
|
|
25392
25392
|
class: "AVDropdownContent",
|
|
@@ -25600,7 +25600,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
|
25600
25600
|
},
|
|
25601
25601
|
emits: ["update", "fileFormatNotAccepted", "download"],
|
|
25602
25602
|
setup(e, { emit: c }) {
|
|
25603
|
-
const a = k1("i18n"), { t } = a.global, i = e, n =
|
|
25603
|
+
const a = k1("i18n"), { t } = a.global, i = e, n = n1(!1), s = n1(null), l = n1([]);
|
|
25604
25604
|
z1(() => {
|
|
25605
25605
|
if (i.locale && r1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null) {
|
|
25606
25606
|
const [L, S] = i.customOpenMethod;
|
|
@@ -25626,7 +25626,7 @@ const DQ = /* @__PURE__ */ G(EQ, [["__scopeId", "data-v-0cc3f6d1"]]), PQ = { cla
|
|
|
25626
25626
|
}
|
|
25627
25627
|
};
|
|
25628
25628
|
}
|
|
25629
|
-
}),
|
|
25629
|
+
}), s1(
|
|
25630
25630
|
() => i.locale,
|
|
25631
25631
|
() => {
|
|
25632
25632
|
i.locale && r1(i.locale);
|
|
@@ -25855,7 +25855,7 @@ const dK = /* @__PURE__ */ G(mK, [["__scopeId", "data-v-d0e51bd2"]]), vK = (e) =
|
|
|
25855
25855
|
},
|
|
25856
25856
|
emits: ["update"],
|
|
25857
25857
|
setup(e, { emit: c }) {
|
|
25858
|
-
const a = e, t = c, i =
|
|
25858
|
+
const a = e, t = c, i = n1(!1);
|
|
25859
25859
|
z1(() => {
|
|
25860
25860
|
a.checked && (i.value = a.checked);
|
|
25861
25861
|
});
|
|
@@ -25864,7 +25864,7 @@ const dK = /* @__PURE__ */ G(mK, [["__scopeId", "data-v-d0e51bd2"]]), vK = (e) =
|
|
|
25864
25864
|
}, s = () => {
|
|
25865
25865
|
t("update", a.value, i.value);
|
|
25866
25866
|
};
|
|
25867
|
-
return
|
|
25867
|
+
return s1(
|
|
25868
25868
|
() => a.checked,
|
|
25869
25869
|
() => {
|
|
25870
25870
|
i.value = a.checked;
|
|
@@ -26099,7 +26099,7 @@ const xK = /* @__PURE__ */ G(yK, [["__scopeId", "data-v-00ff3c9d"]]), kK = ["hre
|
|
|
26099
26099
|
},
|
|
26100
26100
|
emits: ["onClick"],
|
|
26101
26101
|
setup(e, { emit: c }) {
|
|
26102
|
-
const a = e, t = c, i =
|
|
26102
|
+
const a = e, t = c, i = n1(!1), n = E(() => a.href ? "link" : "button"), s = E(() => a.disabled ? null : a.href), l = E(() => a.type === "step" ? "number" : "icon"), r = E(
|
|
26103
26103
|
() => a.type === "step" ? a.stepIndex : a.icon
|
|
26104
26104
|
), f = () => {
|
|
26105
26105
|
a.disabled || (i.value = !i.value);
|
|
@@ -26278,7 +26278,7 @@ const OK = /* @__PURE__ */ G(PK, [["__scopeId", "data-v-3d675f68"]]), BK = { cla
|
|
|
26278
26278
|
}, null, 8, ["icon"]))
|
|
26279
26279
|
], 8, RK),
|
|
26280
26280
|
T(r, null, {
|
|
26281
|
-
default:
|
|
26281
|
+
default: i1(() => [
|
|
26282
26282
|
(m(!0), h(K, null, f1(e.options, (f, u) => (m(), Z(l, {
|
|
26283
26283
|
key: u,
|
|
26284
26284
|
optionLabel: f.label,
|
|
@@ -26299,7 +26299,7 @@ const jK = /* @__PURE__ */ G(FK, [["__scopeId", "data-v-6c23aaa1"]]), qK = ["ari
|
|
|
26299
26299
|
setup(e) {
|
|
26300
26300
|
const c = k1("sharedState"), a = E(() => c.active), t = E(() => c.id);
|
|
26301
26301
|
return (i, n) => (m(), Z(Y2, { name: "dropdown-content" }, {
|
|
26302
|
-
default:
|
|
26302
|
+
default: i1(() => [
|
|
26303
26303
|
a.value ? (m(), h("div", {
|
|
26304
26304
|
key: 0,
|
|
26305
26305
|
class: "AVMenuDropdownContent",
|
|
@@ -26390,8 +26390,8 @@ const JK = /* @__PURE__ */ G(GK, [["__scopeId", "data-v-8513fa9b"]]), ZK = ["dis
|
|
|
26390
26390
|
},
|
|
26391
26391
|
emits: ["update:waiting"],
|
|
26392
26392
|
setup(e, { emit: c }) {
|
|
26393
|
-
const a = c, t = e, i =
|
|
26394
|
-
|
|
26393
|
+
const a = c, t = e, i = n1(!1);
|
|
26394
|
+
s1(i, (r) => a("update:waiting", r));
|
|
26395
26395
|
const n = E(() => {
|
|
26396
26396
|
if (!i.value)
|
|
26397
26397
|
switch (t.variant) {
|
|
@@ -26469,7 +26469,7 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
|
|
|
26469
26469
|
},
|
|
26470
26470
|
emits: ["update"],
|
|
26471
26471
|
setup(e, { emit: c }) {
|
|
26472
|
-
const a = e, t =
|
|
26472
|
+
const a = e, t = n1([]), i = n1(""), n = E(() => a.options.length === 2 ? "AVTabSwitcher--double" : "AVTabSwitcher--triple");
|
|
26473
26473
|
z1(() => s());
|
|
26474
26474
|
const s = () => {
|
|
26475
26475
|
t.value = [], a.options.map(
|
|
@@ -26493,15 +26493,15 @@ const KK = /* @__PURE__ */ G(QK, [["__scopeId", "data-v-7439a7ec"]]), XK = { cla
|
|
|
26493
26493
|
}, v = () => {
|
|
26494
26494
|
f("update", i.value, t.value);
|
|
26495
26495
|
};
|
|
26496
|
-
return
|
|
26496
|
+
return s1(
|
|
26497
26497
|
() => a.options,
|
|
26498
26498
|
() => s()
|
|
26499
|
-
),
|
|
26499
|
+
), s1(
|
|
26500
26500
|
() => a.selected,
|
|
26501
26501
|
() => {
|
|
26502
26502
|
i.value = a.selected, l(a.selected);
|
|
26503
26503
|
}
|
|
26504
|
-
),
|
|
26504
|
+
), s1(
|
|
26505
26505
|
() => a.disabled,
|
|
26506
26506
|
() => r()
|
|
26507
26507
|
), (d, p) => (m(), h("div", XK, [
|
|
@@ -26604,7 +26604,7 @@ const lX = /* @__PURE__ */ G(sX, [["__scopeId", "data-v-2d7c011c"]]), rX = {
|
|
|
26604
26604
|
z1(() => {
|
|
26605
26605
|
i();
|
|
26606
26606
|
});
|
|
26607
|
-
const t =
|
|
26607
|
+
const t = n1(0), i = () => {
|
|
26608
26608
|
const v = setInterval(() => {
|
|
26609
26609
|
t.value = t.value + 1, t.value >= a.timeout && (clearInterval(v), n("expired", !0, a.timeout));
|
|
26610
26610
|
}, 1e3);
|
|
@@ -26711,7 +26711,7 @@ const zX = /* @__PURE__ */ G(hX, [["__scopeId", "data-v-dbd25d5c"]]), VX = { cla
|
|
|
26711
26711
|
D$((s) => ({
|
|
26712
26712
|
"3e5060db": n.value
|
|
26713
26713
|
}));
|
|
26714
|
-
const c = e, a =
|
|
26714
|
+
const c = e, a = n1([]), t = () => {
|
|
26715
26715
|
a.value = [], c.steps.map((s) => {
|
|
26716
26716
|
a.value.push({
|
|
26717
26717
|
value: s,
|
|
@@ -26722,13 +26722,13 @@ const zX = /* @__PURE__ */ G(hX, [["__scopeId", "data-v-dbd25d5c"]]), VX = { cla
|
|
|
26722
26722
|
}, i = (s) => c.done ? c.done.includes(s) : !1;
|
|
26723
26723
|
z1(() => {
|
|
26724
26724
|
t();
|
|
26725
|
-
}),
|
|
26725
|
+
}), s1(
|
|
26726
26726
|
() => c.steps,
|
|
26727
26727
|
() => t()
|
|
26728
|
-
),
|
|
26728
|
+
), s1(
|
|
26729
26729
|
() => c.active,
|
|
26730
26730
|
() => t()
|
|
26731
|
-
),
|
|
26731
|
+
), s1(
|
|
26732
26732
|
() => c.done,
|
|
26733
26733
|
() => t()
|
|
26734
26734
|
);
|
|
@@ -26807,7 +26807,7 @@ const HX = /* @__PURE__ */ G(gX, [["__scopeId", "data-v-89e22cbe"]]), g$ = (e) =
|
|
|
26807
26807
|
);
|
|
26808
26808
|
return z1(() => {
|
|
26809
26809
|
c.locale && r1(c.locale);
|
|
26810
|
-
}),
|
|
26810
|
+
}), s1(
|
|
26811
26811
|
() => c.locale,
|
|
26812
26812
|
() => {
|
|
26813
26813
|
c.locale && r1(c.locale);
|
|
@@ -26869,7 +26869,7 @@ const kX = /* @__PURE__ */ G(xX, [["__scopeId", "data-v-a31774ee"]]), NX = { cla
|
|
|
26869
26869
|
const a = k1("i18n"), { t } = a.global, i = e, n = c;
|
|
26870
26870
|
z1(() => {
|
|
26871
26871
|
i.locale && r1(i.locale);
|
|
26872
|
-
}),
|
|
26872
|
+
}), s1(
|
|
26873
26873
|
() => i.locale,
|
|
26874
26874
|
() => {
|
|
26875
26875
|
i.locale && r1(i.locale);
|
|
@@ -26950,7 +26950,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
|
26950
26950
|
onLeave: i,
|
|
26951
26951
|
onAfterEnter: t
|
|
26952
26952
|
}, {
|
|
26953
|
-
default:
|
|
26953
|
+
default: i1(() => [
|
|
26954
26954
|
g1(n.$slots, "default")
|
|
26955
26955
|
]),
|
|
26956
26956
|
_: 3
|
|
@@ -26974,7 +26974,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
|
26974
26974
|
},
|
|
26975
26975
|
emits: ["accordionOpen"],
|
|
26976
26976
|
setup(e, { emit: c }) {
|
|
26977
|
-
const a = e, t = c, i =
|
|
26977
|
+
const a = e, t = c, i = n1(!1), n = n1(!0), s = E(() => ({
|
|
26978
26978
|
collapsable: a.collapsable,
|
|
26979
26979
|
startCollapsed: a.startCollapsed
|
|
26980
26980
|
}));
|
|
@@ -27007,7 +27007,7 @@ const EX = /* @__PURE__ */ G(IX, [["__scopeId", "data-v-96e67fd1"]]), DX = /* @_
|
|
|
27007
27007
|
T(u, {
|
|
27008
27008
|
"skip-transition": !n.value
|
|
27009
27009
|
}, {
|
|
27010
|
-
default:
|
|
27010
|
+
default: i1(() => [
|
|
27011
27011
|
j1(o("div", {
|
|
27012
27012
|
id: e.paneId,
|
|
27013
27013
|
"aria-hidden": !i.value || null
|
|
@@ -27145,7 +27145,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
|
27145
27145
|
const c = e, a = E(() => {
|
|
27146
27146
|
const v = c.title.split(" ");
|
|
27147
27147
|
return v.length < 2 ? `${v[0][0].toUpperCase()}${v[0][1].toUpperCase()}` : `${v[0][0].toUpperCase()}${v[1][0].toUpperCase()}`;
|
|
27148
|
-
}), t =
|
|
27148
|
+
}), t = n1([]), i = n1(0), n = E(
|
|
27149
27149
|
() => Math.ceil((i.value - 32) / 2)
|
|
27150
27150
|
), s = E(() => c.hasPrevStep ? `
|
|
27151
27151
|
height: ${n.value + 4}px;
|
|
@@ -27157,7 +27157,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
|
27157
27157
|
(c.hasNextStep || c.hasPrevStep) && (t.value = Array.from(document.querySelectorAll("#verticalStepItem")));
|
|
27158
27158
|
}, f = () => {
|
|
27159
27159
|
var v;
|
|
27160
|
-
c.linkMode || (i.value = ((v = t.value.find(
|
|
27160
|
+
console.log("CALLED"), c.linkMode || (i.value = ((v = t.value.find(
|
|
27161
27161
|
(d) => Number(d.dataset.index) === Number(c.stepNumber)
|
|
27162
27162
|
)) == null ? void 0 : v.clientHeight) ?? 0);
|
|
27163
27163
|
}, u = () => {
|
|
@@ -27166,12 +27166,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
|
27166
27166
|
};
|
|
27167
27167
|
return z1(() => {
|
|
27168
27168
|
u(), r(), f(), window.addEventListener("resize", f);
|
|
27169
|
-
}), is(() => window.removeEventListener("resize", f)),
|
|
27170
|
-
() => c.collapsed,
|
|
27171
|
-
() => {
|
|
27172
|
-
setTimeout(() => f(), 250);
|
|
27173
|
-
}
|
|
27174
|
-
), (v, d) => {
|
|
27169
|
+
}), is(() => window.removeEventListener("resize", f)), (v, d) => {
|
|
27175
27170
|
const p = P("AVIcon");
|
|
27176
27171
|
return m(), h("div", $X, [
|
|
27177
27172
|
e.hasPrevStep ? (m(), h("div", {
|
|
@@ -27216,8 +27211,11 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
|
27216
27211
|
}, null, 8, ["icon"])
|
|
27217
27212
|
]))
|
|
27218
27213
|
], 2),
|
|
27219
|
-
T(Y2,
|
|
27220
|
-
|
|
27214
|
+
T(Y2, {
|
|
27215
|
+
onAfterEnter: d[0] || (d[0] = (V) => f()),
|
|
27216
|
+
onAfterLeave: d[1] || (d[1] = (V) => f())
|
|
27217
|
+
}, {
|
|
27218
|
+
default: i1(() => [
|
|
27221
27219
|
e.collapsed ? I("", !0) : (m(), h("div", {
|
|
27222
27220
|
key: 0,
|
|
27223
27221
|
class: j(["AVVerticalStep--text", {
|
|
@@ -27248,7 +27246,7 @@ const qX = /* @__PURE__ */ G(jX, [["__scopeId", "data-v-29792015"]]), $X = { cla
|
|
|
27248
27246
|
};
|
|
27249
27247
|
}
|
|
27250
27248
|
});
|
|
27251
|
-
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-
|
|
27249
|
+
const t11 = /* @__PURE__ */ G(a11, [["__scopeId", "data-v-0504e8ba"]]), bi = (e) => (Z1("data-v-90e59491"), e = e(), Y1(), e), i11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), n11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), s11 = /* @__PURE__ */ bi(() => /* @__PURE__ */ o("span", { class: "AVAnimatedMenuButton--line" }, null, -1)), l11 = [
|
|
27252
27250
|
i11,
|
|
27253
27251
|
n11,
|
|
27254
27252
|
s11
|
|
@@ -27367,7 +27365,7 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
|
27367
27365
|
},
|
|
27368
27366
|
emits: ["update"],
|
|
27369
27367
|
setup(e, { emit: c }) {
|
|
27370
|
-
const a = e, t = c, i =
|
|
27368
|
+
const a = e, t = c, i = n1(""), n = n1([]), s = (u) => {
|
|
27371
27369
|
n.value.map((v) => {
|
|
27372
27370
|
v.value === u ? (v.checked = !0, i.value = v.value) : v.checked = !1;
|
|
27373
27371
|
});
|
|
@@ -27391,12 +27389,12 @@ const g11 = /* @__PURE__ */ G(v11, [["render", M11], ["__scopeId", "data-v-f13d6
|
|
|
27391
27389
|
}, f = () => {
|
|
27392
27390
|
t("update", i.value, n.value);
|
|
27393
27391
|
};
|
|
27394
|
-
return
|
|
27392
|
+
return s1(
|
|
27395
27393
|
() => a.initialValue,
|
|
27396
27394
|
() => {
|
|
27397
27395
|
i.value = a.initialValue, s(a.initialValue);
|
|
27398
27396
|
}
|
|
27399
|
-
),
|
|
27397
|
+
), s1(
|
|
27400
27398
|
() => a.disabled,
|
|
27401
27399
|
() => {
|
|
27402
27400
|
l();
|
|
@@ -27568,7 +27566,7 @@ const w11 = /* @__PURE__ */ G(S11, [["__scopeId", "data-v-479a161a"]]), T11 = ["
|
|
|
27568
27566
|
variant: "rounded",
|
|
27569
27567
|
role: "button"
|
|
27570
27568
|
}, {
|
|
27571
|
-
default:
|
|
27569
|
+
default: i1(() => [
|
|
27572
27570
|
o("div", I11, [
|
|
27573
27571
|
o("span", E11, g(e.id), 1),
|
|
27574
27572
|
o("div", D11, [
|
|
@@ -27665,7 +27663,7 @@ const Y11 = /* @__PURE__ */ G(Z11, [["__scopeId", "data-v-dd72671e"]]), Q11 = ["
|
|
|
27665
27663
|
"data-test": "link"
|
|
27666
27664
|
}, [
|
|
27667
27665
|
T(i, { variant: "rounded" }, {
|
|
27668
|
-
default:
|
|
27666
|
+
default: i1(() => [
|
|
27669
27667
|
o("div", K11, [
|
|
27670
27668
|
e.reviewed ? (m(), h("div", X11, [
|
|
27671
27669
|
T(t, { icon: "fa-solid fa-check" })
|
|
@@ -27751,7 +27749,7 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
|
27751
27749
|
);
|
|
27752
27750
|
return z1(() => {
|
|
27753
27751
|
c.locale && r1(c.locale);
|
|
27754
|
-
}),
|
|
27752
|
+
}), s1(
|
|
27755
27753
|
() => c.locale,
|
|
27756
27754
|
() => {
|
|
27757
27755
|
c.locale && r1(c.locale);
|
|
@@ -27820,7 +27818,7 @@ const n21 = /* @__PURE__ */ G(i21, [["__scopeId", "data-v-c682a2cf"]]), s21 = ["
|
|
|
27820
27818
|
};
|
|
27821
27819
|
}
|
|
27822
27820
|
});
|
|
27823
|
-
const as =
|
|
27821
|
+
const as = n1(/* @__PURE__ */ new Map());
|
|
27824
27822
|
function H$() {
|
|
27825
27823
|
function e(c, ...a) {
|
|
27826
27824
|
as.value.set(c, a);
|
|
@@ -27905,7 +27903,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
27905
27903
|
},
|
|
27906
27904
|
emits: ["accordion-open", "checked", "view-candidate"],
|
|
27907
27905
|
setup(e, { emit: c }) {
|
|
27908
|
-
const { eventBus: a } = H$(), t =
|
|
27906
|
+
const { eventBus: a } = H$(), t = n1(!1), i = n1(null), n = e, s = c, l = E(
|
|
27909
27907
|
() => document.getElementsByTagName("html")[0].dir === "rtl"
|
|
27910
27908
|
), r = E(
|
|
27911
27909
|
() => n.contest.markingType.voteVariation === "ranked"
|
|
@@ -27961,7 +27959,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
27961
27959
|
t.value = !0, i.value.scrollIntoView && i.value.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
27962
27960
|
}));
|
|
27963
27961
|
};
|
|
27964
|
-
|
|
27962
|
+
s1(
|
|
27965
27963
|
() => a.value.get("highlight-option"),
|
|
27966
27964
|
(O) => {
|
|
27967
27965
|
const [a1] = O ?? [];
|
|
@@ -27973,7 +27971,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
27973
27971
|
);
|
|
27974
27972
|
return z1(() => {
|
|
27975
27973
|
n.locale && r1(n.locale);
|
|
27976
|
-
}),
|
|
27974
|
+
}), s1(
|
|
27977
27975
|
() => n.locale,
|
|
27978
27976
|
() => {
|
|
27979
27977
|
n.locale && r1(n.locale);
|
|
@@ -27999,7 +27997,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
27999
27997
|
"start-collapsed": e.contest.collapseDefault && !e.observerMode,
|
|
28000
27998
|
onAccordionOpen: a1[2] || (a1[2] = (P1) => s("accordion-open"))
|
|
28001
27999
|
}, P$({
|
|
28002
|
-
toggle:
|
|
28000
|
+
toggle: i1(({ isOpen: P1, collapsable: W1 }) => [
|
|
28003
28001
|
o("section", {
|
|
28004
28002
|
ref_key: "el",
|
|
28005
28003
|
ref: i,
|
|
@@ -28126,7 +28124,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
28126
28124
|
], 2)
|
|
28127
28125
|
], 14, h21)
|
|
28128
28126
|
]),
|
|
28129
|
-
pane:
|
|
28127
|
+
pane: i1(({ toggleCollapse: P1 }) => [
|
|
28130
28128
|
A.value ? (m(), h("div", T21, [
|
|
28131
28129
|
(m(!0), h(K, null, f1(e.option.children, (W1) => (m(), Z(Q, {
|
|
28132
28130
|
key: W1.reference,
|
|
@@ -28148,7 +28146,7 @@ const C$ = (e) => (Z1("data-v-e98bd97f"), e = e(), Y1(), e), p21 = ["id", "href"
|
|
|
28148
28146
|
}, [
|
|
28149
28147
|
!e.disabled && k.value && !e.observerMode ? {
|
|
28150
28148
|
name: "results",
|
|
28151
|
-
fn:
|
|
28149
|
+
fn: i1(() => [
|
|
28152
28150
|
o("div", S21, [
|
|
28153
28151
|
T(u1, {
|
|
28154
28152
|
icon: "user",
|
|
@@ -28221,7 +28219,7 @@ const E21 = /* @__PURE__ */ G(I21, [["__scopeId", "data-v-e98bd97f"]]), b$ = (e)
|
|
|
28221
28219
|
const c = k1("i18n"), { t: a } = c.global, t = e;
|
|
28222
28220
|
z1(() => {
|
|
28223
28221
|
t.locale && r1(t.locale);
|
|
28224
|
-
}),
|
|
28222
|
+
}), s1(
|
|
28225
28223
|
() => t.locale,
|
|
28226
28224
|
() => {
|
|
28227
28225
|
t.locale && r1(t.locale);
|
|
@@ -28334,7 +28332,7 @@ const U21 = /* @__PURE__ */ G($21, [["__scopeId", "data-v-d585dd76"]]), W21 = ["
|
|
|
28334
28332
|
const a = k1("i18n"), { t } = a.global, i = e, n = c;
|
|
28335
28333
|
z1(() => {
|
|
28336
28334
|
i.locale && r1(i.locale);
|
|
28337
|
-
}),
|
|
28335
|
+
}), s1(
|
|
28338
28336
|
() => i.locale,
|
|
28339
28337
|
() => {
|
|
28340
28338
|
i.locale && r1(i.locale);
|
|
@@ -28436,7 +28434,7 @@ const a31 = /* @__PURE__ */ G(c31, [["__scopeId", "data-v-f2bba574"]]), t31 = (e
|
|
|
28436
28434
|
);
|
|
28437
28435
|
return z1(() => {
|
|
28438
28436
|
c.locale && r1(c.locale);
|
|
28439
|
-
}),
|
|
28437
|
+
}), s1(
|
|
28440
28438
|
() => c.locale,
|
|
28441
28439
|
() => {
|
|
28442
28440
|
c.locale && r1(c.locale);
|
|
@@ -28525,7 +28523,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
|
28525
28523
|
}
|
|
28526
28524
|
},
|
|
28527
28525
|
setup(e) {
|
|
28528
|
-
const { eventBusEmit: c } = H$(), a = e, t =
|
|
28526
|
+
const { eventBusEmit: c } = H$(), a = e, t = n1(""), i = E(() => t.value.trim() === "" ? [] : h31(
|
|
28529
28527
|
a.options,
|
|
28530
28528
|
t.value,
|
|
28531
28529
|
(d) => d.title[v.value]
|
|
@@ -28538,7 +28536,7 @@ const z31 = ["aria-label"], V31 = { class: "AVSearchBallot--form-group" }, M31 =
|
|
|
28538
28536
|
);
|
|
28539
28537
|
return z1(() => {
|
|
28540
28538
|
a.locale && r1(a.locale);
|
|
28541
|
-
}),
|
|
28539
|
+
}), s1(
|
|
28542
28540
|
() => a.locale,
|
|
28543
28541
|
() => {
|
|
28544
28542
|
a.locale && r1(a.locale);
|
|
@@ -28640,7 +28638,7 @@ const N31 = /* @__PURE__ */ G(k31, [["__scopeId", "data-v-0b2b5c97"]]), S31 = {
|
|
|
28640
28638
|
const c = k1("i18n"), { t: a } = c.global, t = e;
|
|
28641
28639
|
return z1(() => {
|
|
28642
28640
|
t.locale && r1(t.locale);
|
|
28643
|
-
}),
|
|
28641
|
+
}), s1(
|
|
28644
28642
|
() => t.locale,
|
|
28645
28643
|
() => {
|
|
28646
28644
|
t.locale && r1(t.locale);
|
|
@@ -28715,7 +28713,7 @@ const D31 = /* @__PURE__ */ G(E31, [["__scopeId", "data-v-3a80cb22"]]), P31 = {
|
|
|
28715
28713
|
const c = k1("i18n"), { t: a } = c.global, t = e;
|
|
28716
28714
|
return z1(() => {
|
|
28717
28715
|
t.locale && r1(t.locale);
|
|
28718
|
-
}),
|
|
28716
|
+
}), s1(
|
|
28719
28717
|
() => t.locale,
|
|
28720
28718
|
() => {
|
|
28721
28719
|
t.locale && r1(t.locale);
|
|
@@ -28765,7 +28763,7 @@ const j31 = /* @__PURE__ */ G(F31, [["__scopeId", "data-v-13834427"]]), q31 = (e
|
|
|
28765
28763
|
return (c, a) => {
|
|
28766
28764
|
const t = P("AVCard");
|
|
28767
28765
|
return m(), Z(t, { variant: "rounded-electa" }, {
|
|
28768
|
-
default:
|
|
28766
|
+
default: i1(() => [
|
|
28769
28767
|
o("h3", $31, g(e.contestTitle), 1),
|
|
28770
28768
|
o("p", U31, g(e.votingRoundTitle), 1),
|
|
28771
28769
|
W31,
|
|
@@ -28829,7 +28827,7 @@ const J31 = /* @__PURE__ */ G(G31, [["__scopeId", "data-v-8a538d47"]]), Z31 = {
|
|
|
28829
28827
|
);
|
|
28830
28828
|
return z1(() => {
|
|
28831
28829
|
c.locale && r1(c.locale);
|
|
28832
|
-
}),
|
|
28830
|
+
}), s1(
|
|
28833
28831
|
() => c.locale,
|
|
28834
28832
|
() => {
|
|
28835
28833
|
c.locale && r1(c.locale);
|
|
@@ -28969,13 +28967,13 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
|
|
|
28969
28967
|
emits: ["clickOutside"],
|
|
28970
28968
|
setup(e, { emit: c }) {
|
|
28971
28969
|
const a = c, t = e;
|
|
28972
|
-
return
|
|
28970
|
+
return s1(
|
|
28973
28971
|
() => t.modalActive,
|
|
28974
28972
|
() => {
|
|
28975
28973
|
t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
|
|
28976
28974
|
}
|
|
28977
28975
|
), (i, n) => (m(), Z(Y2, { name: "modal-animation" }, {
|
|
28978
|
-
default:
|
|
28976
|
+
default: i1(() => [
|
|
28979
28977
|
j1(o("div", {
|
|
28980
28978
|
class: "AVModal",
|
|
28981
28979
|
role: "dialog",
|
|
@@ -28985,7 +28983,7 @@ const b41 = /* @__PURE__ */ G(V41, [["render", C41], ["__scopeId", "data-v-1923e
|
|
|
28985
28983
|
onClick: n[1] || (n[1] = m2((s) => a("clickOutside"), ["stop"]))
|
|
28986
28984
|
}, [
|
|
28987
28985
|
T(Y2, { name: "modal-animation-inner" }, {
|
|
28988
|
-
default:
|
|
28986
|
+
default: i1(() => [
|
|
28989
28987
|
j1(o("div", {
|
|
28990
28988
|
class: j(["AVModal--inner", { "AVModal--padding": !e.removePadding }]),
|
|
28991
28989
|
onClick: n[0] || (n[0] = m2(() => {
|
|
@@ -29193,7 +29191,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
|
29193
29191
|
"view-candidate"
|
|
29194
29192
|
],
|
|
29195
29193
|
setup(e, { emit: c }) {
|
|
29196
|
-
const a = e, t = c, i =
|
|
29194
|
+
const a = e, t = c, i = n1(!1), n = n1(""), s = n1(""), l = n1(null), r = E(() => a.selectionPile.optionSelections), f = E(() => new A$(a.contest)), u = E(
|
|
29197
29195
|
() => a.contest.disregardVoterWeight ? null : a.weight
|
|
29198
29196
|
), v = E(() => {
|
|
29199
29197
|
var y;
|
|
@@ -29228,7 +29226,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
|
29228
29226
|
), A = E(() => G4(a.contest.options).some(
|
|
29229
29227
|
(N) => N.exclusive
|
|
29230
29228
|
)), _ = E(() => a.contest);
|
|
29231
|
-
|
|
29229
|
+
s1(_, (N, y) => {
|
|
29232
29230
|
var R;
|
|
29233
29231
|
y && N && N.reference !== y.reference && ((R = document.getElementById("content")) == null || R.focus(), y.searchForm && (l.value.value = ""));
|
|
29234
29232
|
});
|
|
@@ -29256,7 +29254,7 @@ const S41 = (e) => (Z1("data-v-217fba3a"), e = e(), Y1(), e), w41 = ["aria-label
|
|
|
29256
29254
|
);
|
|
29257
29255
|
return z1(() => {
|
|
29258
29256
|
a.locale && r1(a.locale);
|
|
29259
|
-
}),
|
|
29257
|
+
}), s1(
|
|
29260
29258
|
() => a.locale,
|
|
29261
29259
|
() => {
|
|
29262
29260
|
a.locale && r1(a.locale);
|
|
@@ -29419,7 +29417,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
|
29419
29417
|
},
|
|
29420
29418
|
emits: ["editCurrentSelection", "deleteSelection"],
|
|
29421
29419
|
setup(e, { emit: c }) {
|
|
29422
|
-
const a = c, t = e, i =
|
|
29420
|
+
const a = c, t = e, i = n1(!1), n = E(() => t.selectionPile.optionSelections.length === 0), s = E(() => !t.maximumOptionsShown || i.value ? u.value.options : u.value.options.slice(0, t.maximumOptionsShown)), l = E(() => u.value.options.length - s.value.length), r = E(() => G4(t.contest.options).filter((A) => A.selectable)), f = (V, b) => V && V.parentContent ? (b.push(V.parentContent), f(V.parentContent, b)) : b, u = E(() => {
|
|
29423
29421
|
const V = {
|
|
29424
29422
|
options: [],
|
|
29425
29423
|
writeIns: []
|
|
@@ -29456,7 +29454,7 @@ const P41 = /* @__PURE__ */ G(D41, [["__scopeId", "data-v-217fba3a"]]), O41 = (e
|
|
|
29456
29454
|
);
|
|
29457
29455
|
return z1(() => {
|
|
29458
29456
|
t.locale && r1(t.locale);
|
|
29459
|
-
}),
|
|
29457
|
+
}), s1(
|
|
29460
29458
|
() => t.locale,
|
|
29461
29459
|
() => {
|
|
29462
29460
|
t.locale && r1(t.locale);
|
|
@@ -29647,15 +29645,15 @@ const i61 = {
|
|
|
29647
29645
|
],
|
|
29648
29646
|
setup(e, { emit: c }) {
|
|
29649
29647
|
var u1;
|
|
29650
|
-
const a = e, t = c, i =
|
|
29648
|
+
const a = e, t = c, i = n1(null), n = n1(
|
|
29651
29649
|
a.contestSelection.piles[0] || {
|
|
29652
29650
|
multiplier: a.weight,
|
|
29653
29651
|
optionSelections: [],
|
|
29654
29652
|
explicitBlank: !1
|
|
29655
29653
|
}
|
|
29656
|
-
), s =
|
|
29654
|
+
), s = n1(
|
|
29657
29655
|
((u1 = a.contestSelection.piles) == null ? void 0 : u1.length) === 0 || a.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
|
|
29658
|
-
), l =
|
|
29656
|
+
), l = n1([]), r = E(() => a.contestSelection.piles), f = E(
|
|
29659
29657
|
() => {
|
|
29660
29658
|
var U;
|
|
29661
29659
|
return (U = r.value) == null ? void 0 : U.reduce((Q, y1) => Q - y1.multiplier, a.weight);
|
|
@@ -29710,14 +29708,14 @@ const i61 = {
|
|
|
29710
29708
|
}, y = (U) => {
|
|
29711
29709
|
l.value = U;
|
|
29712
29710
|
}, R = (U) => t("view-candidate", U);
|
|
29713
|
-
|
|
29711
|
+
s1(d, (U) => t("update:complete", U)), s1(V, () => {
|
|
29714
29712
|
n.value && (n.value.multiplier = Math.max(
|
|
29715
29713
|
0,
|
|
29716
29714
|
Math.min(V.value, b.value)
|
|
29717
29715
|
));
|
|
29718
|
-
}),
|
|
29716
|
+
}), s1(n, (U) => {
|
|
29719
29717
|
t("update:activePile", U);
|
|
29720
|
-
}),
|
|
29718
|
+
}), s1(s, (U) => t("update:activeState", U)), z1(() => {
|
|
29721
29719
|
a.locale && r1(a.locale), t("update:activePile", n.value), t("update:activeState", s.value), t("update:complete", d.value), A.value || x();
|
|
29722
29720
|
});
|
|
29723
29721
|
const X = k1("i18n"), { t: O } = X.global, a1 = E(
|
|
@@ -29725,7 +29723,7 @@ const i61 = {
|
|
|
29725
29723
|
);
|
|
29726
29724
|
return z1(() => {
|
|
29727
29725
|
a.locale && r1(a.locale);
|
|
29728
|
-
}),
|
|
29726
|
+
}), s1(
|
|
29729
29727
|
() => a.locale,
|
|
29730
29728
|
() => {
|
|
29731
29729
|
a.locale && r1(a.locale);
|
|
@@ -29754,7 +29752,7 @@ const i61 = {
|
|
|
29754
29752
|
name: "fade",
|
|
29755
29753
|
mode: "out-in"
|
|
29756
29754
|
}, {
|
|
29757
|
-
default:
|
|
29755
|
+
default: i1(() => {
|
|
29758
29756
|
var a2, V2, _2;
|
|
29759
29757
|
return [
|
|
29760
29758
|
n.value && s.value === "ballot" ? (m(), h("div", { key: i.value }, [
|
|
@@ -30005,7 +30003,7 @@ const _61 = /* @__PURE__ */ G(L61, [["__scopeId", "data-v-b9617a26"]]), y61 = "d
|
|
|
30005
30003
|
);
|
|
30006
30004
|
return z1(() => {
|
|
30007
30005
|
l.locale && r1(l.locale);
|
|
30008
|
-
}),
|
|
30006
|
+
}), s1(
|
|
30009
30007
|
() => l.locale,
|
|
30010
30008
|
() => {
|
|
30011
30009
|
l.locale && r1(l.locale);
|
|
@@ -30201,7 +30199,7 @@ const G61 = /* @__PURE__ */ G(W61, [["__scopeId", "data-v-9f104b97"]]), J61 = {
|
|
|
30201
30199
|
});
|
|
30202
30200
|
return z1(() => {
|
|
30203
30201
|
t.locale && r1(t.locale);
|
|
30204
|
-
}),
|
|
30202
|
+
}), s1(
|
|
30205
30203
|
() => t.locale,
|
|
30206
30204
|
() => {
|
|
30207
30205
|
t.locale && r1(t.locale);
|
|
@@ -30314,7 +30312,7 @@ const d81 = /* @__PURE__ */ G(m81, [["__scopeId", "data-v-01af2e3f"]]), v81 = {
|
|
|
30314
30312
|
);
|
|
30315
30313
|
return z1(() => {
|
|
30316
30314
|
c.locale && r1(c.locale);
|
|
30317
|
-
}),
|
|
30315
|
+
}), s1(
|
|
30318
30316
|
() => c.locale,
|
|
30319
30317
|
() => {
|
|
30320
30318
|
c.locale && r1(c.locale);
|
|
@@ -30432,7 +30430,7 @@ const C81 = /* @__PURE__ */ G(H81, [["__scopeId", "data-v-08f3cdf6"]]), b81 = {
|
|
|
30432
30430
|
);
|
|
30433
30431
|
return z1(() => {
|
|
30434
30432
|
c.locale && r1(c.locale);
|
|
30435
|
-
}),
|
|
30433
|
+
}), s1(
|
|
30436
30434
|
() => c.locale,
|
|
30437
30435
|
() => {
|
|
30438
30436
|
c.locale && r1(c.locale);
|
|
@@ -30561,12 +30559,12 @@ function F81(e, c) {
|
|
|
30561
30559
|
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
|
|
30562
30560
|
return m(), h(K, null, [
|
|
30563
30561
|
T(n, null, {
|
|
30564
|
-
default:
|
|
30562
|
+
default: i1(function() {
|
|
30565
30563
|
return [
|
|
30566
30564
|
D81,
|
|
30567
30565
|
o("div", P81, [
|
|
30568
30566
|
T(t, { type: "navbar" }, {
|
|
30569
|
-
default:
|
|
30567
|
+
default: i1(function() {
|
|
30570
30568
|
return [
|
|
30571
30569
|
T(a, {
|
|
30572
30570
|
label: "Dashboard",
|
|
@@ -30602,10 +30600,10 @@ function F81(e, c) {
|
|
|
30602
30600
|
_: 1
|
|
30603
30601
|
}),
|
|
30604
30602
|
T(v, null, {
|
|
30605
|
-
sidebar:
|
|
30603
|
+
sidebar: i1(function() {
|
|
30606
30604
|
return [
|
|
30607
30605
|
T(u, null, {
|
|
30608
|
-
default:
|
|
30606
|
+
default: i1(function() {
|
|
30609
30607
|
return [
|
|
30610
30608
|
o("div", O81, [
|
|
30611
30609
|
B81,
|
|
@@ -30616,7 +30614,7 @@ function F81(e, c) {
|
|
|
30616
30614
|
]),
|
|
30617
30615
|
T(l, { options: ["Pre-election", "election"] }),
|
|
30618
30616
|
T(t, { type: "sidebar" }, {
|
|
30619
|
-
default:
|
|
30617
|
+
default: i1(function() {
|
|
30620
30618
|
return [
|
|
30621
30619
|
T(r, {
|
|
30622
30620
|
label: "Election Overview",
|
|
@@ -30677,7 +30675,7 @@ function F81(e, c) {
|
|
|
30677
30675
|
})
|
|
30678
30676
|
];
|
|
30679
30677
|
}),
|
|
30680
|
-
content:
|
|
30678
|
+
content: i1(function() {
|
|
30681
30679
|
return [
|
|
30682
30680
|
R81
|
|
30683
30681
|
];
|
|
@@ -30757,12 +30755,12 @@ function Y81(e, c) {
|
|
|
30757
30755
|
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVLabel"), l = P("AVTabSwitcher"), r = P("AVSidebarItem"), f = P("AVButton"), u = P("AVSidebar"), v = P("AVContent"), d = P("AVFooter");
|
|
30758
30756
|
return m(), h(K, null, [
|
|
30759
30757
|
T(n, null, {
|
|
30760
|
-
default:
|
|
30758
|
+
default: i1(function() {
|
|
30761
30759
|
return [
|
|
30762
30760
|
$81,
|
|
30763
30761
|
o("div", U81, [
|
|
30764
30762
|
T(t, { type: "navbar" }, {
|
|
30765
|
-
default:
|
|
30763
|
+
default: i1(function() {
|
|
30766
30764
|
return [
|
|
30767
30765
|
T(a, {
|
|
30768
30766
|
label: "Dashboard",
|
|
@@ -30798,10 +30796,10 @@ function Y81(e, c) {
|
|
|
30798
30796
|
_: 1
|
|
30799
30797
|
}),
|
|
30800
30798
|
T(v, null, {
|
|
30801
|
-
sidebar:
|
|
30799
|
+
sidebar: i1(function() {
|
|
30802
30800
|
return [
|
|
30803
30801
|
T(u, null, {
|
|
30804
|
-
default:
|
|
30802
|
+
default: i1(function() {
|
|
30805
30803
|
return [
|
|
30806
30804
|
o("div", W81, [
|
|
30807
30805
|
G81,
|
|
@@ -30812,7 +30810,7 @@ function Y81(e, c) {
|
|
|
30812
30810
|
]),
|
|
30813
30811
|
T(l, { options: ["Pre-election", "election"] }),
|
|
30814
30812
|
T(t, { type: "sidebar" }, {
|
|
30815
|
-
default:
|
|
30813
|
+
default: i1(function() {
|
|
30816
30814
|
return [
|
|
30817
30815
|
T(r, {
|
|
30818
30816
|
label: "Election Overview",
|
|
@@ -30873,7 +30871,7 @@ function Y81(e, c) {
|
|
|
30873
30871
|
})
|
|
30874
30872
|
];
|
|
30875
30873
|
}),
|
|
30876
|
-
content:
|
|
30874
|
+
content: i1(function() {
|
|
30877
30875
|
return [
|
|
30878
30876
|
J81,
|
|
30879
30877
|
Z81
|
|
@@ -30894,12 +30892,12 @@ function a01(e, c) {
|
|
|
30894
30892
|
var a = P("AVNavbarItem"), t = P("AVNavigationItemList"), i = P("AVMenuDropdown"), n = P("AVNavbar"), s = P("AVContent"), l = P("AVFooter");
|
|
30895
30893
|
return m(), h(K, null, [
|
|
30896
30894
|
T(n, null, {
|
|
30897
|
-
default:
|
|
30895
|
+
default: i1(function() {
|
|
30898
30896
|
return [
|
|
30899
30897
|
X81,
|
|
30900
30898
|
o("div", e01, [
|
|
30901
30899
|
T(t, { type: "navbar" }, {
|
|
30902
|
-
default:
|
|
30900
|
+
default: i1(function() {
|
|
30903
30901
|
return [
|
|
30904
30902
|
T(a, {
|
|
30905
30903
|
label: "Dashboard",
|
|
@@ -30935,7 +30933,7 @@ function a01(e, c) {
|
|
|
30935
30933
|
_: 1
|
|
30936
30934
|
}),
|
|
30937
30935
|
T(s, null, {
|
|
30938
|
-
content:
|
|
30936
|
+
content: i1(function() {
|
|
30939
30937
|
return [
|
|
30940
30938
|
c01
|
|
30941
30939
|
];
|
|
@@ -31027,11 +31025,11 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
|
31027
31025
|
const i = P("AVNavbarItem"), n = P("AVNavigationItemList"), s = P("AVMenuDropdown"), l = P("AVNavbar"), r = P("AVIcon"), f = P("AVCard"), u = P("AVElectionCard"), v = P("AVContent"), d = P("AVFooter");
|
|
31028
31026
|
return m(), h(K, null, [
|
|
31029
31027
|
T(l, null, {
|
|
31030
|
-
default:
|
|
31028
|
+
default: i1(() => [
|
|
31031
31029
|
i01,
|
|
31032
31030
|
o("div", n01, [
|
|
31033
31031
|
T(n, { type: "navbar" }, {
|
|
31034
|
-
default:
|
|
31032
|
+
default: i1(() => [
|
|
31035
31033
|
T(i, {
|
|
31036
31034
|
label: "Dashboard",
|
|
31037
31035
|
icon: "check-to-slot",
|
|
@@ -31064,18 +31062,18 @@ const t01 = /* @__PURE__ */ G(K81, [["render", a01]]), i8 = (e) => (Z1("data-v-2
|
|
|
31064
31062
|
_: 1
|
|
31065
31063
|
}),
|
|
31066
31064
|
T(v, null, {
|
|
31067
|
-
content:
|
|
31065
|
+
content: i1(() => [
|
|
31068
31066
|
T(f, {
|
|
31069
31067
|
variant: "jumbotron",
|
|
31070
31068
|
class: "dashboard-container"
|
|
31071
31069
|
}, {
|
|
31072
|
-
default:
|
|
31070
|
+
default: i1(() => [
|
|
31073
31071
|
o("a", s01, [
|
|
31074
31072
|
T(f, {
|
|
31075
31073
|
variant: "rounded",
|
|
31076
31074
|
role: "button"
|
|
31077
31075
|
}, {
|
|
31078
|
-
default:
|
|
31076
|
+
default: i1(() => [
|
|
31079
31077
|
l01,
|
|
31080
31078
|
o("div", r01, [
|
|
31081
31079
|
T(r, {
|