@assemblyvoting/ui-library 3.1.27-beta.16 → 3.1.27-beta.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/atoms/AVFileInput/AVFileInput.vue.d.ts +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +402 -397
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as G, h as J4, getCurrentInstance as O3, effectScope as _$, inject as D1, onMounted as A1, onUnmounted as x$, shallowRef as ts, ref as i1, computed as E, onBeforeMount as N$, watch as
|
1
|
+
import { defineComponent as G, h as J4, getCurrentInstance as O3, effectScope as _$, inject as D1, onMounted as A1, onUnmounted as x$, shallowRef as ts, ref as i1, computed as E, onBeforeMount as N$, watch as r1, Fragment as a1, isRef as y$, createVNode as T, Text as k$, pushScopeId as e2, popScopeId as c2, nextTick as is, openBlock as d, createBlock as K, createElementBlock as h, normalizeClass as $, renderSlot as H1, normalizeProps as S$, guardReactiveProps as w$, withScopeId as T$, resolveComponent as D, normalizeStyle as W1, withKeys as $8, createElementVNode as f, createCommentVNode as I, mergeProps as U8, withCtx as s1, createApp as I$, toDisplayString as N, createTextVNode as z1, resolveDirective as B2, withDirectives as G1, reactive as ns, provide as ss, renderList as g1, Transition as Y2, unref as B, useCssVars as E$, vShow as E4, withModifiers as m2, createSlots as D$, vModelText as ls } from "vue";
|
2
2
|
/*!
|
3
3
|
* shared v9.13.1
|
4
4
|
* (c) 2024 kazuya kawaguchi
|
@@ -340,7 +340,7 @@ function lU(e, c = {}) {
|
|
340
340
|
const X = V.currentPeek() === ":";
|
341
341
|
return V.resetPeek(), X;
|
342
342
|
}
|
343
|
-
function
|
343
|
+
function x(V, M) {
|
344
344
|
const { currentType: P } = M;
|
345
345
|
if (P !== 10)
|
346
346
|
return !1;
|
@@ -350,7 +350,7 @@ function lU(e, c = {}) {
|
|
350
350
|
}, _1 = X();
|
351
351
|
return V.resetPeek(), _1;
|
352
352
|
}
|
353
|
-
function
|
353
|
+
function F(V) {
|
354
354
|
C(V);
|
355
355
|
const M = V.currentPeek() === "|";
|
356
356
|
return V.resetPeek(), M;
|
@@ -373,7 +373,7 @@ function lU(e, c = {}) {
|
|
373
373
|
const P = V.currentChar();
|
374
374
|
return P === x2 ? x2 : M(P) ? (V.next(), P) : null;
|
375
375
|
}
|
376
|
-
function
|
376
|
+
function l1(V) {
|
377
377
|
const M = V.charCodeAt(0);
|
378
378
|
return M >= 97 && M <= 122 || // a-z
|
379
379
|
M >= 65 && M <= 90 || // A-Z
|
@@ -382,7 +382,7 @@ function lU(e, c = {}) {
|
|
382
382
|
M === 36;
|
383
383
|
}
|
384
384
|
function U(V) {
|
385
|
-
return e1(V,
|
385
|
+
return e1(V, l1);
|
386
386
|
}
|
387
387
|
function Z(V) {
|
388
388
|
const M = V.charCodeAt(0);
|
@@ -438,7 +438,7 @@ function lU(e, c = {}) {
|
|
438
438
|
if (O(V))
|
439
439
|
M += P, V.next();
|
440
440
|
else {
|
441
|
-
if (
|
441
|
+
if (F(V))
|
442
442
|
break;
|
443
443
|
M += P, V.next();
|
444
444
|
}
|
@@ -550,7 +550,7 @@ function lU(e, c = {}) {
|
|
550
550
|
return M.braceNest > 0 && u(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), P = R2(V, M) || p(M), M.braceNest = 0, P;
|
551
551
|
default: {
|
552
552
|
let _1 = !0, M1 = !0, h1 = !0;
|
553
|
-
if (
|
553
|
+
if (F(V))
|
554
554
|
return M.braceNest > 0 && u(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), P = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, P;
|
555
555
|
if (M.braceNest > 0 && (M.currentType === 5 || M.currentType === 6 || M.currentType === 7))
|
556
556
|
return u(c1.UNTERMINATED_CLOSING_BRACE, n(), 0), M.braceNest = 0, y3(V, M);
|
@@ -594,7 +594,7 @@ function lU(e, c = {}) {
|
|
594
594
|
/* TokenChars.LinkedDelimiter */
|
595
595
|
);
|
596
596
|
default:
|
597
|
-
return
|
597
|
+
return F(V) ? (X = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, X) : y(V, M) || w(V, M) ? (b(V), R2(V, M)) : k(V, M) ? (b(V), v(M, 12, x3(V))) : x(V, M) ? (b(V), _1 === "{" ? N3(V, M) || X : v(M, 11, j(V))) : (P === 8 && u(c1.INVALID_LINKED_FORMAT, n(), 0), M.braceNest = 0, M.inLinked = !1, y3(V, M));
|
598
598
|
}
|
599
599
|
}
|
600
600
|
function y3(V, M) {
|
@@ -619,7 +619,7 @@ function lU(e, c = {}) {
|
|
619
619
|
case "@":
|
620
620
|
return R2(V, M) || p(M);
|
621
621
|
default: {
|
622
|
-
if (
|
622
|
+
if (F(V))
|
623
623
|
return P = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, P;
|
624
624
|
const { isModulo: _1, hasSpace: M1 } = Q(V);
|
625
625
|
if (_1)
|
@@ -664,18 +664,18 @@ function uU(e = {}) {
|
|
664
664
|
function i(z, L, A, y, ...k) {
|
665
665
|
const w = z.currentPosition();
|
666
666
|
if (w.offset += y, w.column += y, a) {
|
667
|
-
const
|
667
|
+
const x = c ? P4(A, w) : null, F = z3(L, x, {
|
668
668
|
domain: rU,
|
669
669
|
args: k
|
670
670
|
});
|
671
|
-
a(
|
671
|
+
a(F);
|
672
672
|
}
|
673
673
|
}
|
674
674
|
function n(z, L, A, y, ...k) {
|
675
675
|
const w = z.currentPosition();
|
676
676
|
if (w.offset += y, w.column += y, t) {
|
677
|
-
const
|
678
|
-
t(Y$(L,
|
677
|
+
const x = c ? P4(A, w) : null;
|
678
|
+
t(Y$(L, x, k));
|
679
679
|
}
|
680
680
|
}
|
681
681
|
function s(z, L, A) {
|
@@ -694,8 +694,8 @@ function uU(e = {}) {
|
|
694
694
|
return w.index = parseInt(L, 10), z.nextToken(), l(w, z.currentOffset(), z.currentPosition()), w;
|
695
695
|
}
|
696
696
|
function m(z, L, A) {
|
697
|
-
const y = z.context(), { lastOffset: k, lastStartLoc: w } = y,
|
698
|
-
return
|
697
|
+
const y = z.context(), { lastOffset: k, lastStartLoc: w } = y, x = s(4, k, w);
|
698
|
+
return x.key = L, A === !0 && (x.modulo = !0), z.nextToken(), l(x, z.currentOffset(), z.currentPosition()), x;
|
699
699
|
}
|
700
700
|
function u(z, L) {
|
701
701
|
const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(9, y, k);
|
@@ -750,7 +750,7 @@ function uU(e = {}) {
|
|
750
750
|
function C(z) {
|
751
751
|
const L = z.context(), A = L.currentType === 1 ? z.currentOffset() : L.offset, y = L.currentType === 1 ? L.endLoc : L.startLoc, k = s(2, A, y);
|
752
752
|
k.items = [];
|
753
|
-
let w = null,
|
753
|
+
let w = null, x = null;
|
754
754
|
do {
|
755
755
|
const O = w || z.nextToken();
|
756
756
|
switch (w = null, O.type) {
|
@@ -761,10 +761,10 @@ function uU(e = {}) {
|
|
761
761
|
O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(o(z, O.value || ""));
|
762
762
|
break;
|
763
763
|
case 4:
|
764
|
-
|
764
|
+
x = !0;
|
765
765
|
break;
|
766
766
|
case 5:
|
767
|
-
O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(m(z, O.value || "", !!
|
767
|
+
O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(m(z, O.value || "", !!x)), x && (n(z, Q4.USE_MODULO_SYNTAX, L.lastStartLoc, 0, t2(O)), x = null);
|
768
768
|
break;
|
769
769
|
case 7:
|
770
770
|
O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(u(z, O.value || ""));
|
@@ -776,19 +776,19 @@ function uU(e = {}) {
|
|
776
776
|
}
|
777
777
|
}
|
778
778
|
} while (L.currentType !== 14 && L.currentType !== 1);
|
779
|
-
const
|
780
|
-
return l(k,
|
779
|
+
const F = L.currentType === 1 ? L.lastOffset : z.currentOffset(), Q = L.currentType === 1 ? L.lastEndLoc : z.currentPosition();
|
780
|
+
return l(k, F, Q), k;
|
781
781
|
}
|
782
782
|
function b(z, L, A, y) {
|
783
783
|
const k = z.context();
|
784
784
|
let w = y.items.length === 0;
|
785
|
-
const
|
786
|
-
|
785
|
+
const x = s(1, L, A);
|
786
|
+
x.cases = [], x.cases.push(y);
|
787
787
|
do {
|
788
|
-
const
|
789
|
-
w || (w =
|
788
|
+
const F = C(z);
|
789
|
+
w || (w = F.items.length === 0), x.cases.push(F);
|
790
790
|
} while (k.currentType !== 14);
|
791
|
-
return w && i(z, c1.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), l(
|
791
|
+
return w && i(z, c1.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), l(x, z.currentOffset(), z.currentPosition()), x;
|
792
792
|
}
|
793
793
|
function _(z) {
|
794
794
|
const L = z.context(), { offset: A, startLoc: y } = L, k = C(z);
|
@@ -1595,7 +1595,7 @@ let Fi = 0;
|
|
1595
1595
|
function tW(e = {}) {
|
1596
1596
|
const c = V1(e.onWarn) ? e.onWarn : S1, a = q(e.version) ? e.version : YU, t = q(e.locale) || V1(e.locale) ? e.locale : v3, i = V1(t) ? v3 : t, n = C1(e.fallbackLocale) || t1(e.fallbackLocale) || q(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : i, s = t1(e.messages) ? e.messages : { [i]: {} }, l = t1(e.datetimeFormats) ? e.datetimeFormats : { [i]: {} }, r = t1(e.numberFormats) ? e.numberFormats : { [i]: {} }, o = B1({}, e.modifiers || {}, QU()), m = e.pluralRules || {}, u = V1(e.missing) ? e.missing : null, v = n1(e.missingWarn) || T2(e.missingWarn) ? e.missingWarn : !0, p = n1(e.fallbackWarn) || T2(e.fallbackWarn) ? e.fallbackWarn : !0, H = !!e.fallbackFormat, C = !!e.unresolving, b = V1(e.postTranslation) ? e.postTranslation : null, _ = t1(e.processor) ? e.processor : null, g = n1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, z = !!e.escapeParameter, L = V1(e.messageCompiler) ? e.messageCompiler : zs;
|
1597
1597
|
process.env.NODE_ENV !== "production" && V1(e.messageCompiler) && fs(K2(j1.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
1598
|
-
const A = V1(e.messageResolver) ? e.messageResolver : Vs || SU, y = V1(e.localeFallbacker) ? e.localeFallbacker : Ms || GU, k = u1(e.fallbackContext) ? e.fallbackContext : void 0, w = e,
|
1598
|
+
const A = V1(e.messageResolver) ? e.messageResolver : Vs || SU, y = V1(e.localeFallbacker) ? e.localeFallbacker : Ms || GU, k = u1(e.fallbackContext) ? e.fallbackContext : void 0, w = e, x = u1(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), F = u1(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), Q = u1(w.__meta) ? w.__meta : {};
|
1599
1599
|
Fi++;
|
1600
1600
|
const O = {
|
1601
1601
|
version: a,
|
@@ -1621,7 +1621,7 @@ function tW(e = {}) {
|
|
1621
1621
|
onWarn: c,
|
1622
1622
|
__meta: Q
|
1623
1623
|
};
|
1624
|
-
return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters =
|
1624
|
+
return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters = x, O.__numberFormatters = F, process.env.NODE_ENV !== "production" && (O.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && jU(O, a, Q), O;
|
1625
1625
|
}
|
1626
1626
|
function X4(e, c) {
|
1627
1627
|
return e instanceof RegExp ? e.test(c) : e;
|
@@ -1796,7 +1796,7 @@ function qi(e, ...c) {
|
|
1796
1796
|
}, w = K1(L) ? L : ys(e, r, g, L, A, k);
|
1797
1797
|
if (y)
|
1798
1798
|
return L;
|
1799
|
-
const
|
1799
|
+
const x = dW(e, g, z, o), F = FU(x), Q = fW(e, w, F), O = t ? t(Q, r) : Q;
|
1800
1800
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
1801
1801
|
const e1 = {
|
1802
1802
|
timestamp: Date.now(),
|
@@ -1976,13 +1976,13 @@ function Ui(e, ...c) {
|
|
1976
1976
|
return new Intl.DateTimeFormat(C, u).format(o);
|
1977
1977
|
let _ = {}, g, z = null, L = C, A = null;
|
1978
1978
|
const y = "datetime format";
|
1979
|
-
for (let
|
1980
|
-
if (g = A = b[
|
1979
|
+
for (let x = 0; x < b.length; x++) {
|
1980
|
+
if (g = A = b[x], process.env.NODE_ENV !== "production" && C !== g && X4(p, r) && n(K2(j1.FALLBACK_TO_DATE_FORMAT, {
|
1981
1981
|
key: r,
|
1982
1982
|
target: g
|
1983
1983
|
})), process.env.NODE_ENV !== "production" && C !== g) {
|
1984
|
-
const
|
1985
|
-
|
1984
|
+
const F = e.__v_emitter;
|
1985
|
+
F && F.emit("fallback", {
|
1986
1986
|
type: y,
|
1987
1987
|
key: r,
|
1988
1988
|
from: L,
|
@@ -2070,13 +2070,13 @@ function Gi(e, ...c) {
|
|
2070
2070
|
return new Intl.NumberFormat(C, u).format(o);
|
2071
2071
|
let _ = {}, g, z = null, L = C, A = null;
|
2072
2072
|
const y = "number format";
|
2073
|
-
for (let
|
2074
|
-
if (g = A = b[
|
2073
|
+
for (let x = 0; x < b.length; x++) {
|
2074
|
+
if (g = A = b[x], process.env.NODE_ENV !== "production" && C !== g && X4(p, r) && n(K2(j1.FALLBACK_TO_NUMBER_FORMAT, {
|
2075
2075
|
key: r,
|
2076
2076
|
target: g
|
2077
2077
|
})), process.env.NODE_ENV !== "production" && C !== g) {
|
2078
|
-
const
|
2079
|
-
|
2078
|
+
const F = e.__v_emitter;
|
2079
|
+
F && F.emit("fallback", {
|
2080
2080
|
type: y,
|
2081
2081
|
key: r,
|
2082
2082
|
from: L,
|
@@ -2422,8 +2422,8 @@ function Q8(e = {}, c) {
|
|
2422
2422
|
), u = s(e6(o.value, e)), v = s(t1(e.datetimeFormats) ? e.datetimeFormats : { [o.value]: {} }), p = s(t1(e.numberFormats) ? e.numberFormats : { [o.value]: {} });
|
2423
2423
|
let H = a ? a.missingWarn : n1(e.missingWarn) || T2(e.missingWarn) ? e.missingWarn : !0, C = a ? a.fallbackWarn : n1(e.fallbackWarn) || T2(e.fallbackWarn) ? e.fallbackWarn : !0, b = a ? a.fallbackRoot : n1(e.fallbackRoot) ? e.fallbackRoot : !0, _ = !!e.fallbackFormat, g = V1(e.missing) ? e.missing : null, z = V1(e.missing) ? Xi(e.missing) : null, L = V1(e.postTranslation) ? e.postTranslation : null, A = a ? a.warnHtmlMessage : n1(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
|
2424
2424
|
const k = a ? a.modifiers : t1(e.modifiers) ? e.modifiers : {};
|
2425
|
-
let w = e.pluralRules || a && a.pluralRules,
|
2426
|
-
|
2425
|
+
let w = e.pluralRules || a && a.pluralRules, x;
|
2426
|
+
x = (() => {
|
2427
2427
|
i && Bi(null);
|
2428
2428
|
const S = {
|
2429
2429
|
version: CW,
|
@@ -2444,10 +2444,10 @@ function Q8(e = {}, c) {
|
|
2444
2444
|
messageCompiler: e.messageCompiler,
|
2445
2445
|
__meta: { framework: "vue" }
|
2446
2446
|
};
|
2447
|
-
S.datetimeFormats = v.value, S.numberFormats = p.value, S.__datetimeFormatters = t1(
|
2448
|
-
const
|
2449
|
-
return i && Bi(
|
2450
|
-
})(), k3(
|
2447
|
+
S.datetimeFormats = v.value, S.numberFormats = p.value, S.__datetimeFormatters = t1(x) ? x.__datetimeFormatters : void 0, S.__numberFormatters = t1(x) ? x.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = t1(x) ? x.__v_emitter : void 0);
|
2448
|
+
const R = tW(S);
|
2449
|
+
return i && Bi(R), R;
|
2450
|
+
})(), k3(x, o.value, m.value);
|
2451
2451
|
function Q() {
|
2452
2452
|
return [
|
2453
2453
|
o.value,
|
@@ -2460,45 +2460,45 @@ function Q8(e = {}, c) {
|
|
2460
2460
|
const O = E({
|
2461
2461
|
get: () => o.value,
|
2462
2462
|
set: (S) => {
|
2463
|
-
o.value = S,
|
2463
|
+
o.value = S, x.locale = o.value;
|
2464
2464
|
}
|
2465
2465
|
}), e1 = E({
|
2466
2466
|
get: () => m.value,
|
2467
2467
|
set: (S) => {
|
2468
|
-
m.value = S,
|
2468
|
+
m.value = S, x.fallbackLocale = m.value, k3(x, o.value, S);
|
2469
2469
|
}
|
2470
|
-
}),
|
2470
|
+
}), l1 = E(() => u.value), U = /* @__PURE__ */ E(() => v.value), Z = /* @__PURE__ */ E(() => p.value);
|
2471
2471
|
function m1() {
|
2472
2472
|
return V1(L) ? L : null;
|
2473
2473
|
}
|
2474
2474
|
function P1(S) {
|
2475
|
-
L = S,
|
2475
|
+
L = S, x.postTranslation = S;
|
2476
2476
|
}
|
2477
2477
|
function q1() {
|
2478
2478
|
return g;
|
2479
2479
|
}
|
2480
2480
|
function O1(S) {
|
2481
|
-
S !== null && (z = Xi(S)), g = S,
|
2481
|
+
S !== null && (z = Xi(S)), g = S, x.missing = z;
|
2482
2482
|
}
|
2483
|
-
function J1(S,
|
2484
|
-
return S !== "translate" || !
|
2483
|
+
function J1(S, R) {
|
2484
|
+
return S !== "translate" || !R.resolvedMessage;
|
2485
2485
|
}
|
2486
|
-
const I1 = (S,
|
2486
|
+
const I1 = (S, R, v1, y1, _2, V4) => {
|
2487
2487
|
Q();
|
2488
2488
|
let n3;
|
2489
2489
|
try {
|
2490
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (
|
2490
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (x.fallbackContext = a ? aW() : void 0), n3 = S(x);
|
2491
2491
|
} finally {
|
2492
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (
|
2492
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (x.fallbackContext = void 0);
|
2493
2493
|
}
|
2494
2494
|
if (v1 !== "translate exists" && // for not `te` (e.g `t`)
|
2495
2495
|
k1(n3) && n3 === K4 || v1 === "translate exists" && !n3) {
|
2496
|
-
const [j2, A$] =
|
2496
|
+
const [j2, A$] = R();
|
2497
2497
|
if (process.env.NODE_ENV !== "production" && a && q(j2) && J1(v1, A$) && (b && (X4(C, j2) || Cs(H, j2)) && S1(U1(x1.FALLBACK_TO_ROOT, {
|
2498
2498
|
key: j2,
|
2499
2499
|
type: v1
|
2500
2500
|
})), process.env.NODE_ENV !== "production")) {
|
2501
|
-
const { __v_emitter: Li } =
|
2501
|
+
const { __v_emitter: Li } = x;
|
2502
2502
|
Li && b && Li.emit("fallback", {
|
2503
2503
|
type: v1,
|
2504
2504
|
key: j2,
|
@@ -2514,22 +2514,22 @@ function Q8(e = {}, c) {
|
|
2514
2514
|
}
|
2515
2515
|
};
|
2516
2516
|
function a2(...S) {
|
2517
|
-
return I1((
|
2517
|
+
return I1((R) => Reflect.apply(qi, null, [R, ...S]), () => z8(...S), "translate", (R) => Reflect.apply(R.t, R, [...S]), (R) => R, (R) => q(R));
|
2518
2518
|
}
|
2519
2519
|
function z2(...S) {
|
2520
|
-
const [
|
2520
|
+
const [R, v1, y1] = S;
|
2521
2521
|
if (y1 && !u1(y1))
|
2522
2522
|
throw w1(f1.INVALID_ARGUMENT);
|
2523
|
-
return a2(
|
2523
|
+
return a2(R, v1, B1({ resolvedMessage: !0 }, y1 || {}));
|
2524
2524
|
}
|
2525
2525
|
function A2(...S) {
|
2526
|
-
return I1((
|
2526
|
+
return I1((R) => Reflect.apply(Ui, null, [R, ...S]), () => V8(...S), "datetime format", (R) => Reflect.apply(R.d, R, [...S]), () => O4, (R) => q(R));
|
2527
2527
|
}
|
2528
2528
|
function F1(...S) {
|
2529
|
-
return I1((
|
2529
|
+
return I1((R) => Reflect.apply(Gi, null, [R, ...S]), () => M8(...S), "number format", (R) => Reflect.apply(R.n, R, [...S]), () => O4, (R) => q(R));
|
2530
2530
|
}
|
2531
2531
|
function o2(S) {
|
2532
|
-
return S.map((
|
2532
|
+
return S.map((R) => q(R) || k1(R) || n1(R) ? Zi(String(R)) : R);
|
2533
2533
|
}
|
2534
2534
|
const L3 = {
|
2535
2535
|
normalize: o2,
|
@@ -2538,9 +2538,9 @@ function Q8(e = {}, c) {
|
|
2538
2538
|
};
|
2539
2539
|
function i3(...S) {
|
2540
2540
|
return I1(
|
2541
|
-
(
|
2541
|
+
(R) => {
|
2542
2542
|
let v1;
|
2543
|
-
const y1 =
|
2543
|
+
const y1 = R;
|
2544
2544
|
try {
|
2545
2545
|
y1.processor = L3, v1 = Reflect.apply(qi, null, [y1, ...S]);
|
2546
2546
|
} finally {
|
@@ -2551,102 +2551,102 @@ function Q8(e = {}, c) {
|
|
2551
2551
|
() => z8(...S),
|
2552
2552
|
"translate",
|
2553
2553
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2554
|
-
(
|
2555
|
-
(
|
2556
|
-
(
|
2554
|
+
(R) => R[g8](...S),
|
2555
|
+
(R) => [Zi(R)],
|
2556
|
+
(R) => C1(R)
|
2557
2557
|
);
|
2558
2558
|
}
|
2559
2559
|
function A3(...S) {
|
2560
2560
|
return I1(
|
2561
|
-
(
|
2561
|
+
(R) => Reflect.apply(Gi, null, [R, ...S]),
|
2562
2562
|
() => M8(...S),
|
2563
2563
|
"number format",
|
2564
2564
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2565
|
-
(
|
2565
|
+
(R) => R[b8](...S),
|
2566
2566
|
Qi,
|
2567
|
-
(
|
2567
|
+
(R) => q(R) || C1(R)
|
2568
2568
|
);
|
2569
2569
|
}
|
2570
2570
|
function _3(...S) {
|
2571
2571
|
return I1(
|
2572
|
-
(
|
2572
|
+
(R) => Reflect.apply(Ui, null, [R, ...S]),
|
2573
2573
|
() => V8(...S),
|
2574
2574
|
"datetime format",
|
2575
2575
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2576
|
-
(
|
2576
|
+
(R) => R[C8](...S),
|
2577
2577
|
Qi,
|
2578
|
-
(
|
2578
|
+
(R) => q(R) || C1(R)
|
2579
2579
|
);
|
2580
2580
|
}
|
2581
2581
|
function x3(S) {
|
2582
|
-
w = S,
|
2582
|
+
w = S, x.pluralRules = w;
|
2583
2583
|
}
|
2584
|
-
function j(S,
|
2584
|
+
function j(S, R) {
|
2585
2585
|
return I1(() => {
|
2586
2586
|
if (!S)
|
2587
2587
|
return !1;
|
2588
|
-
const v1 = q(
|
2588
|
+
const v1 = q(R) ? R : o.value, y1 = R2(v1), _2 = x.messageResolver(y1, S);
|
2589
2589
|
return l ? _2 != null : I2(_2) || K1(_2) || q(_2);
|
2590
|
-
}, () => [S], "translate exists", (v1) => Reflect.apply(v1.te, v1, [S,
|
2590
|
+
}, () => [S], "translate exists", (v1) => Reflect.apply(v1.te, v1, [S, R]), _W, (v1) => n1(v1));
|
2591
2591
|
}
|
2592
2592
|
function d1(S) {
|
2593
|
-
let
|
2594
|
-
const v1 = hs(
|
2593
|
+
let R = null;
|
2594
|
+
const v1 = hs(x, m.value, o.value);
|
2595
2595
|
for (let y1 = 0; y1 < v1.length; y1++) {
|
2596
|
-
const _2 = u.value[v1[y1]] || {}, V4 =
|
2596
|
+
const _2 = u.value[v1[y1]] || {}, V4 = x.messageResolver(_2, S);
|
2597
2597
|
if (V4 != null) {
|
2598
|
-
|
2598
|
+
R = V4;
|
2599
2599
|
break;
|
2600
2600
|
}
|
2601
2601
|
}
|
2602
|
-
return
|
2602
|
+
return R;
|
2603
2603
|
}
|
2604
2604
|
function N3(S) {
|
2605
|
-
const
|
2606
|
-
return
|
2605
|
+
const R = d1(S);
|
2606
|
+
return R ?? (a ? a.tm(S) || {} : {});
|
2607
2607
|
}
|
2608
2608
|
function R2(S) {
|
2609
2609
|
return u.value[S] || {};
|
2610
2610
|
}
|
2611
|
-
function y3(S,
|
2611
|
+
function y3(S, R) {
|
2612
2612
|
if (n) {
|
2613
|
-
const v1 = { [S]:
|
2613
|
+
const v1 = { [S]: R };
|
2614
2614
|
for (const y1 in v1)
|
2615
2615
|
D4(v1, y1) && R3(v1[y1]);
|
2616
|
-
|
2616
|
+
R = v1[S];
|
2617
2617
|
}
|
2618
|
-
u.value[S] =
|
2618
|
+
u.value[S] = R, x.messages = u.value;
|
2619
2619
|
}
|
2620
|
-
function i8(S,
|
2620
|
+
function i8(S, R) {
|
2621
2621
|
u.value[S] = u.value[S] || {};
|
2622
|
-
const v1 = { [S]:
|
2622
|
+
const v1 = { [S]: R };
|
2623
2623
|
if (n)
|
2624
2624
|
for (const y1 in v1)
|
2625
2625
|
D4(v1, y1) && R3(v1[y1]);
|
2626
|
-
|
2626
|
+
R = v1[S], S4(R, u.value[S]), x.messages = u.value;
|
2627
2627
|
}
|
2628
2628
|
function V(S) {
|
2629
2629
|
return v.value[S] || {};
|
2630
2630
|
}
|
2631
|
-
function M(S,
|
2632
|
-
v.value[S] =
|
2631
|
+
function M(S, R) {
|
2632
|
+
v.value[S] = R, x.datetimeFormats = v.value, Wi(x, S, R);
|
2633
2633
|
}
|
2634
|
-
function P(S,
|
2635
|
-
v.value[S] = B1(v.value[S] || {},
|
2634
|
+
function P(S, R) {
|
2635
|
+
v.value[S] = B1(v.value[S] || {}, R), x.datetimeFormats = v.value, Wi(x, S, R);
|
2636
2636
|
}
|
2637
2637
|
function X(S) {
|
2638
2638
|
return p.value[S] || {};
|
2639
2639
|
}
|
2640
|
-
function _1(S,
|
2641
|
-
p.value[S] =
|
2640
|
+
function _1(S, R) {
|
2641
|
+
p.value[S] = R, x.numberFormats = p.value, Ji(x, S, R);
|
2642
2642
|
}
|
2643
|
-
function M1(S,
|
2644
|
-
p.value[S] = B1(p.value[S] || {},
|
2643
|
+
function M1(S, R) {
|
2644
|
+
p.value[S] = B1(p.value[S] || {}, R), x.numberFormats = p.value, Ji(x, S, R);
|
2645
2645
|
}
|
2646
|
-
Ki++, a && r2 && (
|
2647
|
-
r && (o.value = S,
|
2648
|
-
}),
|
2649
|
-
r && (m.value = S,
|
2646
|
+
Ki++, a && r2 && (r1(a.locale, (S) => {
|
2647
|
+
r && (o.value = S, x.locale = S, k3(x, o.value, m.value));
|
2648
|
+
}), r1(a.fallbackLocale, (S) => {
|
2649
|
+
r && (m.value = S, x.fallbackLocale = S, k3(x, o.value, m.value));
|
2650
2650
|
}));
|
2651
2651
|
const h1 = {
|
2652
2652
|
id: Ki,
|
@@ -2656,12 +2656,12 @@ function Q8(e = {}, c) {
|
|
2656
2656
|
return r;
|
2657
2657
|
},
|
2658
2658
|
set inheritLocale(S) {
|
2659
|
-
r = S, S && a && (o.value = a.locale.value, m.value = a.fallbackLocale.value, k3(
|
2659
|
+
r = S, S && a && (o.value = a.locale.value, m.value = a.fallbackLocale.value, k3(x, o.value, m.value));
|
2660
2660
|
},
|
2661
2661
|
get availableLocales() {
|
2662
2662
|
return Object.keys(u.value).sort();
|
2663
2663
|
},
|
2664
|
-
messages:
|
2664
|
+
messages: l1,
|
2665
2665
|
get modifiers() {
|
2666
2666
|
return k;
|
2667
2667
|
},
|
@@ -2675,13 +2675,13 @@ function Q8(e = {}, c) {
|
|
2675
2675
|
return H;
|
2676
2676
|
},
|
2677
2677
|
set missingWarn(S) {
|
2678
|
-
H = S,
|
2678
|
+
H = S, x.missingWarn = H;
|
2679
2679
|
},
|
2680
2680
|
get fallbackWarn() {
|
2681
2681
|
return C;
|
2682
2682
|
},
|
2683
2683
|
set fallbackWarn(S) {
|
2684
|
-
C = S,
|
2684
|
+
C = S, x.fallbackWarn = C;
|
2685
2685
|
},
|
2686
2686
|
get fallbackRoot() {
|
2687
2687
|
return b;
|
@@ -2693,19 +2693,19 @@ function Q8(e = {}, c) {
|
|
2693
2693
|
return _;
|
2694
2694
|
},
|
2695
2695
|
set fallbackFormat(S) {
|
2696
|
-
_ = S,
|
2696
|
+
_ = S, x.fallbackFormat = _;
|
2697
2697
|
},
|
2698
2698
|
get warnHtmlMessage() {
|
2699
2699
|
return A;
|
2700
2700
|
},
|
2701
2701
|
set warnHtmlMessage(S) {
|
2702
|
-
A = S,
|
2702
|
+
A = S, x.warnHtmlMessage = S;
|
2703
2703
|
},
|
2704
2704
|
get escapeParameter() {
|
2705
2705
|
return y;
|
2706
2706
|
},
|
2707
2707
|
set escapeParameter(S) {
|
2708
|
-
y = S,
|
2708
|
+
y = S, x.escapeParameter = S;
|
2709
2709
|
},
|
2710
2710
|
t: a2,
|
2711
2711
|
getLocaleMessage: R2,
|
@@ -2718,9 +2718,9 @@ function Q8(e = {}, c) {
|
|
2718
2718
|
[Ds]: x3
|
2719
2719
|
};
|
2720
2720
|
return h1.datetimeFormats = U, h1.numberFormats = Z, h1.rt = z2, h1.te = j, h1.tm = N3, h1.d = A2, h1.n = F1, h1.getDateTimeFormat = V, h1.setDateTimeFormat = M, h1.mergeDateTimeFormat = P, h1.getNumberFormat = X, h1.setNumberFormat = _1, h1.mergeNumberFormat = M1, h1[Ps] = t, h1[g8] = i3, h1[C8] = _3, h1[b8] = A3, process.env.NODE_ENV !== "production" && (h1[X2] = (S) => {
|
2721
|
-
|
2721
|
+
x.__v_emitter = S;
|
2722
2722
|
}, h1[F3] = () => {
|
2723
|
-
|
2723
|
+
x.__v_emitter = void 0;
|
2724
2724
|
}), h1;
|
2725
2725
|
}
|
2726
2726
|
function NW(e) {
|
@@ -2729,9 +2729,9 @@ function NW(e) {
|
|
2729
2729
|
let H = e.messages;
|
2730
2730
|
if (t1(e.sharedMessages)) {
|
2731
2731
|
const y = e.sharedMessages;
|
2732
|
-
H = Object.keys(y).reduce((w,
|
2733
|
-
const
|
2734
|
-
return B1(
|
2732
|
+
H = Object.keys(y).reduce((w, x) => {
|
2733
|
+
const F = w[x] || (w[x] = {});
|
2734
|
+
return B1(F, y[x]), w;
|
2735
2735
|
}, H || {});
|
2736
2736
|
}
|
2737
2737
|
const { __i18n: C, __root: b, __injectWithOption: _ } = e, g = e.datetimeFormats, z = e.numberFormats, L = e.flatJson, A = e.translateExistCompatible;
|
@@ -3128,7 +3128,7 @@ function EW(e) {
|
|
3128
3128
|
return {
|
3129
3129
|
created: (s, l) => {
|
3130
3130
|
const [r, o] = c(l);
|
3131
|
-
r2 && e.global === o && (s.__i18nWatcher =
|
3131
|
+
r2 && e.global === o && (s.__i18nWatcher = r1(o.locale, () => {
|
3132
3132
|
l.instance && l.instance.$forceUpdate();
|
3133
3133
|
})), s.__composer = o, s.textContent = r;
|
3134
3134
|
},
|
@@ -3684,14 +3684,14 @@ function sG(e, c, a, t = {}) {
|
|
3684
3684
|
set: (j) => {
|
3685
3685
|
n.value && (n.value.fallbackLocale.value = j), r.value = j;
|
3686
3686
|
}
|
3687
|
-
}),
|
3687
|
+
}), x = E(() => n.value ? n.value.messages.value : o.value), F = E(() => m.value), Q = E(() => u.value);
|
3688
3688
|
function O() {
|
3689
3689
|
return n.value ? n.value.getPostTranslationHandler() : _;
|
3690
3690
|
}
|
3691
3691
|
function e1(j) {
|
3692
3692
|
n.value && n.value.setPostTranslationHandler(j);
|
3693
3693
|
}
|
3694
|
-
function
|
3694
|
+
function l1() {
|
3695
3695
|
return n.value ? n.value.getMissingHandler() : b;
|
3696
3696
|
}
|
3697
3697
|
function U(j) {
|
@@ -3751,8 +3751,8 @@ function sG(e, c, a, t = {}) {
|
|
3751
3751
|
},
|
3752
3752
|
locale: k,
|
3753
3753
|
fallbackLocale: w,
|
3754
|
-
messages:
|
3755
|
-
datetimeFormats:
|
3754
|
+
messages: x,
|
3755
|
+
datetimeFormats: F,
|
3756
3756
|
numberFormats: Q,
|
3757
3757
|
get inheritLocale() {
|
3758
3758
|
return n.value ? n.value.inheritLocale : s;
|
@@ -3811,7 +3811,7 @@ function sG(e, c, a, t = {}) {
|
|
3811
3811
|
t: m1,
|
3812
3812
|
getPostTranslationHandler: O,
|
3813
3813
|
setPostTranslationHandler: e1,
|
3814
|
-
getMissingHandler:
|
3814
|
+
getMissingHandler: l1,
|
3815
3815
|
setMissingHandler: U,
|
3816
3816
|
rt: P1,
|
3817
3817
|
d: q1,
|
@@ -18637,12 +18637,12 @@ const BG = (e) => ({
|
|
18637
18637
|
}, p = si(i), H = ni(p), C = await s.getDimensions(o), b = p === "y", _ = b ? "top" : "left", g = b ? "bottom" : "right", z = b ? "clientHeight" : "clientWidth", L = n.reference[H] + n.reference[p] - v[p] - n.floating[H], A = v[p] - n.reference[p], y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(o));
|
18638
18638
|
let k = y ? y[z] : 0;
|
18639
18639
|
(!k || !await (s.isElement == null ? void 0 : s.isElement(y))) && (k = l.floating[z] || n.floating[H]);
|
18640
|
-
const w = L / 2 - A / 2,
|
18640
|
+
const w = L / 2 - A / 2, x = k / 2 - C[H] / 2 - 1, F = G2(u[_], x), Q = G2(u[g], x), O = F, e1 = k - C[H] - Q, l1 = k / 2 - C[H] / 2 + w, U = x8(O, l1, e1), Z = !r.arrow && s2(i) != null && l1 !== U && n.reference[H] / 2 - (l1 < O ? F : Q) - C[H] / 2 < 0, m1 = Z ? l1 < O ? l1 - O : l1 - e1 : 0;
|
18641
18641
|
return {
|
18642
18642
|
[p]: v[p] + m1,
|
18643
18643
|
data: {
|
18644
18644
|
[p]: U,
|
18645
|
-
centerOffset:
|
18645
|
+
centerOffset: l1 - U - m1,
|
18646
18646
|
...Z && {
|
18647
18647
|
alignmentOffset: m1
|
18648
18648
|
}
|
@@ -18696,28 +18696,28 @@ const RG = function(e) {
|
|
18696
18696
|
placement: y
|
18697
18697
|
}
|
18698
18698
|
};
|
18699
|
-
const k = A.map((
|
18700
|
-
const Q = s2(
|
18701
|
-
return [
|
18699
|
+
const k = A.map((F) => {
|
18700
|
+
const Q = s2(F.placement);
|
18701
|
+
return [F.placement, Q && m ? (
|
18702
18702
|
// Check along the mainAxis and main crossAxis side.
|
18703
|
-
|
18703
|
+
F.overflows.slice(0, 2).reduce((O, e1) => O + e1, 0)
|
18704
18704
|
) : (
|
18705
18705
|
// Check only the mainAxis.
|
18706
|
-
|
18707
|
-
),
|
18708
|
-
}).sort((
|
18706
|
+
F.overflows[0]
|
18707
|
+
), F.overflows];
|
18708
|
+
}).sort((F, Q) => F[1] - Q[1]), x = ((i = k.filter((F) => F[2].slice(
|
18709
18709
|
0,
|
18710
18710
|
// Aligned placements should not check their opposite crossAxis
|
18711
18711
|
// side.
|
18712
|
-
s2(
|
18712
|
+
s2(F[0]) ? 2 : 3
|
18713
18713
|
).every((Q) => Q <= 0))[0]) == null ? void 0 : i[0]) || k[0][0];
|
18714
|
-
return
|
18714
|
+
return x !== l ? {
|
18715
18715
|
data: {
|
18716
18716
|
index: _ + 1,
|
18717
18717
|
overflows: A
|
18718
18718
|
},
|
18719
18719
|
reset: {
|
18720
|
-
placement:
|
18720
|
+
placement: x
|
18721
18721
|
}
|
18722
18722
|
} : {};
|
18723
18723
|
}
|
@@ -18758,8 +18758,8 @@ const RG = function(e) {
|
|
18758
18758
|
placement: i,
|
18759
18759
|
overflows: k
|
18760
18760
|
}], !k.every((O) => O <= 0)) {
|
18761
|
-
var
|
18762
|
-
const O = (((
|
18761
|
+
var x, F;
|
18762
|
+
const O = (((x = n.flip) == null ? void 0 : x.index) || 0) + 1, e1 = A[O];
|
18763
18763
|
if (e1)
|
18764
18764
|
return {
|
18765
18765
|
data: {
|
@@ -18770,23 +18770,23 @@ const RG = function(e) {
|
|
18770
18770
|
placement: e1
|
18771
18771
|
}
|
18772
18772
|
};
|
18773
|
-
let
|
18774
|
-
if (!
|
18773
|
+
let l1 = (F = w.filter((U) => U.overflows[0] <= 0).sort((U, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : F.placement;
|
18774
|
+
if (!l1)
|
18775
18775
|
switch (p) {
|
18776
18776
|
case "bestFit": {
|
18777
18777
|
var Q;
|
18778
18778
|
const U = (Q = w.map((Z) => [Z.placement, Z.overflows.filter((m1) => m1 > 0).reduce((m1, P1) => m1 + P1, 0)]).sort((Z, m1) => Z[1] - m1[1])[0]) == null ? void 0 : Q[0];
|
18779
|
-
U && (
|
18779
|
+
U && (l1 = U);
|
18780
18780
|
break;
|
18781
18781
|
}
|
18782
18782
|
case "initialPlacement":
|
18783
|
-
|
18783
|
+
l1 = l;
|
18784
18784
|
break;
|
18785
18785
|
}
|
18786
|
-
if (i !==
|
18786
|
+
if (i !== l1)
|
18787
18787
|
return {
|
18788
18788
|
reset: {
|
18789
|
-
placement:
|
18789
|
+
placement: l1
|
18790
18790
|
}
|
18791
18791
|
};
|
18792
18792
|
}
|
@@ -18919,8 +18919,8 @@ const $G = function(e) {
|
|
18919
18919
|
const b = p - r.top - r.bottom, _ = v - r.left - r.right, g = G2(p - r[H], b), z = G2(v - r[C], _), L = !c.middlewareData.shift;
|
18920
18920
|
let A = g, y = z;
|
18921
18921
|
if (u ? y = m || L ? G2(z, _) : _ : A = m || L ? G2(g, b) : b, L && !m) {
|
18922
|
-
const w = W2(r.left, 0),
|
18923
|
-
u ? y = v - 2 * (w !== 0 ||
|
18922
|
+
const w = W2(r.left, 0), x = W2(r.right, 0), F = W2(r.top, 0), Q = W2(r.bottom, 0);
|
18923
|
+
u ? y = v - 2 * (w !== 0 || x !== 0 ? w + x : W2(r.left, r.right)) : A = p - 2 * (F !== 0 || Q !== 0 ? F + Q : W2(r.top, r.bottom));
|
18924
18924
|
}
|
18925
18925
|
await s({
|
18926
18926
|
...c,
|
@@ -20550,7 +20550,7 @@ function CJ(e, c, a, t, i, n) {
|
|
20550
20550
|
innerHTML: e.finalContent
|
20551
20551
|
}, null, 8, HJ)) : (d(), h("div", {
|
20552
20552
|
key: 1,
|
20553
|
-
textContent:
|
20553
|
+
textContent: N(e.finalContent)
|
20554
20554
|
}, null, 8, gJ))
|
20555
20555
|
]),
|
20556
20556
|
_: 2
|
@@ -22216,10 +22216,10 @@ function NZ(e) {
|
|
22216
22216
|
}];
|
22217
22217
|
}
|
22218
22218
|
function Mi(e) {
|
22219
|
-
var c = e.icons, a = c.main, t = c.mask, i = e.prefix, n = e.iconName, s = e.transform, l = e.symbol, r = e.title, o = e.maskId, m = e.titleId, u = e.extra, v = e.watchable, p = v === void 0 ? !1 : v, H = t.found ? t : a, C = H.width, b = H.height, _ = i === "fak", g = [Y.replacementClass, n ? "".concat(Y.cssPrefix, "-").concat(n) : ""].filter(function(
|
22220
|
-
return u.classes.indexOf(
|
22221
|
-
}).filter(function(
|
22222
|
-
return
|
22219
|
+
var c = e.icons, a = c.main, t = c.mask, i = e.prefix, n = e.iconName, s = e.transform, l = e.symbol, r = e.title, o = e.maskId, m = e.titleId, u = e.extra, v = e.watchable, p = v === void 0 ? !1 : v, H = t.found ? t : a, C = H.width, b = H.height, _ = i === "fak", g = [Y.replacementClass, n ? "".concat(Y.cssPrefix, "-").concat(n) : ""].filter(function(x) {
|
22220
|
+
return u.classes.indexOf(x) === -1;
|
22221
|
+
}).filter(function(x) {
|
22222
|
+
return x !== "" || !!x;
|
22223
22223
|
}).concat(u.classes).join(" "), z = {
|
22224
22224
|
children: [],
|
22225
22225
|
attributes: W(W({}, u.attributes), {}, {
|
@@ -22870,9 +22870,9 @@ function Zn(e, c) {
|
|
22870
22870
|
iconName: z,
|
22871
22871
|
extra: y,
|
22872
22872
|
watchable: !0
|
22873
|
-
})),
|
22874
|
-
c === "::before" ? e.insertBefore(
|
22875
|
-
return z4(
|
22873
|
+
})), x = L1.createElementNS("http://www.w3.org/2000/svg", "svg");
|
22874
|
+
c === "::before" ? e.insertBefore(x, e.firstChild) : e.appendChild(x), x.outerHTML = w.map(function(F) {
|
22875
|
+
return z4(F);
|
22876
22876
|
}).join(`
|
22877
22877
|
`), e.removeAttribute(a), t();
|
22878
22878
|
}).catch(i);
|
@@ -23252,7 +23252,7 @@ const uY = G({
|
|
23252
23252
|
title: s.value
|
23253
23253
|
})
|
23254
23254
|
);
|
23255
|
-
|
23255
|
+
r1(
|
23256
23256
|
l,
|
23257
23257
|
(o) => {
|
23258
23258
|
if (!o)
|
@@ -23324,7 +23324,7 @@ const uY = G({
|
|
23324
23324
|
"data-test": "btn-icon"
|
23325
23325
|
}, null, 8, ["icon"])) : I("", !0),
|
23326
23326
|
H1(i.$slots, "default", {}, () => [
|
23327
|
-
z1(
|
23327
|
+
z1(N(e.label), 1)
|
23328
23328
|
], !0),
|
23329
23329
|
e.iconRight ? (d(), K(s, {
|
23330
23330
|
key: 1,
|
@@ -23411,7 +23411,7 @@ const hY = /* @__PURE__ */ J(pY, [["__scopeId", "data-v-70d9cfd4"]]), zY = /* @_
|
|
23411
23411
|
"AVBullet--active": e.active,
|
23412
23412
|
"AVBullet--hover": e.hover
|
23413
23413
|
}])
|
23414
|
-
},
|
23414
|
+
}, N(e.value || "0"), 3)
|
23415
23415
|
], 2)) : (d(), K(t, {
|
23416
23416
|
key: 2,
|
23417
23417
|
icon: "fa-solid fa-circle",
|
@@ -23489,7 +23489,7 @@ const q8 = /* @__PURE__ */ J(zY, [["__scopeId", "data-v-5b7d0fcb"]]), VY = { cla
|
|
23489
23489
|
"data-test": "input-label"
|
23490
23490
|
}, [
|
23491
23491
|
f("span", null, [
|
23492
|
-
z1(
|
23492
|
+
z1(N(e.inputLabel) + " ", 1),
|
23493
23493
|
e.tooltipText ? G1((d(), K(r, {
|
23494
23494
|
key: 0,
|
23495
23495
|
icon: "circle-question",
|
@@ -23527,7 +23527,7 @@ const q8 = /* @__PURE__ */ J(zY, [["__scopeId", "data-v-5b7d0fcb"]]), VY = { cla
|
|
23527
23527
|
})
|
23528
23528
|
])) : I("", !0)
|
23529
23529
|
]),
|
23530
|
-
e.error && e.errorMessage ? (d(), h("p", LY,
|
23530
|
+
e.error && e.errorMessage ? (d(), h("p", LY, N(e.errorMessage), 1)) : I("", !0)
|
23531
23531
|
]);
|
23532
23532
|
};
|
23533
23533
|
}
|
@@ -23618,7 +23618,7 @@ const _Y = /* @__PURE__ */ J(AY, [["__scopeId", "data-v-6c6cbec3"]]), xY = { cla
|
|
23618
23618
|
"data-test": "input-label"
|
23619
23619
|
}, [
|
23620
23620
|
f("span", null, [
|
23621
|
-
z1(
|
23621
|
+
z1(N(e.inputLabel) + " ", 1),
|
23622
23622
|
e.tooltipText ? G1((d(), K(p, {
|
23623
23623
|
key: 0,
|
23624
23624
|
icon: "circle-question",
|
@@ -23699,7 +23699,7 @@ const _Y = /* @__PURE__ */ J(AY, [["__scopeId", "data-v-6c6cbec3"]]), xY = { cla
|
|
23699
23699
|
})
|
23700
23700
|
])) : I("", !0)
|
23701
23701
|
], 32),
|
23702
|
-
e.error && e.errorMessage ? (d(), h("p", wY,
|
23702
|
+
e.error && e.errorMessage ? (d(), h("p", wY, N(e.errorMessage), 1)) : I("", !0)
|
23703
23703
|
]);
|
23704
23704
|
};
|
23705
23705
|
}
|
@@ -23765,7 +23765,7 @@ const IY = /* @__PURE__ */ J(TY, [["__scopeId", "data-v-c69bbc44"]]), EY = { cla
|
|
23765
23765
|
"data-test": "input-label"
|
23766
23766
|
}, [
|
23767
23767
|
f("span", null, [
|
23768
|
-
z1(
|
23768
|
+
z1(N(e.inputLabel) + " ", 1),
|
23769
23769
|
e.tooltipText ? G1((d(), K(r, {
|
23770
23770
|
key: 0,
|
23771
23771
|
icon: "circle-question",
|
@@ -23809,7 +23809,7 @@ const IY = /* @__PURE__ */ J(TY, [["__scopeId", "data-v-c69bbc44"]]), EY = { cla
|
|
23809
23809
|
])
|
23810
23810
|
])
|
23811
23811
|
]),
|
23812
|
-
e.error && e.errorMessage ? (d(), h("p", RY,
|
23812
|
+
e.error && e.errorMessage ? (d(), h("p", RY, N(e.errorMessage), 1)) : I("", !0)
|
23813
23813
|
]);
|
23814
23814
|
};
|
23815
23815
|
}
|
@@ -23877,7 +23877,7 @@ const qY = /* @__PURE__ */ J(jY, [["__scopeId", "data-v-b1c76306"]]), $Y = { cla
|
|
23877
23877
|
"data-test": "input-label"
|
23878
23878
|
}, [
|
23879
23879
|
f("span", null, [
|
23880
|
-
z1(
|
23880
|
+
z1(N(e.inputLabel) + " ", 1),
|
23881
23881
|
e.tooltipText ? G1((d(), K(s, {
|
23882
23882
|
key: 0,
|
23883
23883
|
icon: "circle-question",
|
@@ -23914,7 +23914,7 @@ const qY = /* @__PURE__ */ J(jY, [["__scopeId", "data-v-b1c76306"]]), $Y = { cla
|
|
23914
23914
|
max: e.max
|
23915
23915
|
}, null, 46, JY)
|
23916
23916
|
]),
|
23917
|
-
e.error && e.errorMessage ? (d(), h("p", ZY,
|
23917
|
+
e.error && e.errorMessage ? (d(), h("p", ZY, N(e.errorMessage), 1)) : I("", !0)
|
23918
23918
|
]);
|
23919
23919
|
};
|
23920
23920
|
}
|
@@ -23985,7 +23985,7 @@ const QY = /* @__PURE__ */ J(YY, [["__scopeId", "data-v-d438432a"]]), KY = { cla
|
|
23985
23985
|
"data-test": "input-label"
|
23986
23986
|
}, [
|
23987
23987
|
f("span", null, [
|
23988
|
-
z1(
|
23988
|
+
z1(N(e.inputLabel) + " ", 1),
|
23989
23989
|
e.tooltipText ? G1((d(), K(s, {
|
23990
23990
|
key: 0,
|
23991
23991
|
icon: "circle-question",
|
@@ -24030,7 +24030,7 @@ const QY = /* @__PURE__ */ J(YY, [["__scopeId", "data-v-d438432a"]]), KY = { cla
|
|
24030
24030
|
})
|
24031
24031
|
])) : I("", !0)
|
24032
24032
|
]),
|
24033
|
-
e.error && e.errorMessage ? (d(), h("p", tQ,
|
24033
|
+
e.error && e.errorMessage ? (d(), h("p", tQ, N(e.errorMessage), 1)) : I("", !0)
|
24034
24034
|
]);
|
24035
24035
|
};
|
24036
24036
|
}
|
@@ -24055,7 +24055,7 @@ const nQ = /* @__PURE__ */ J(iQ, [["__scopeId", "data-v-c9875ea2"]]), sQ = /* @_
|
|
24055
24055
|
`;
|
24056
24056
|
return (t, i) => (d(), h("span", {
|
24057
24057
|
class: $(a)
|
24058
|
-
},
|
24058
|
+
}, N(e.value), 1));
|
24059
24059
|
}
|
24060
24060
|
});
|
24061
24061
|
const lQ = /* @__PURE__ */ J(sQ, [["__scopeId", "data-v-ee7ab830"]]), rQ = /* @__PURE__ */ G({
|
@@ -24192,7 +24192,7 @@ const uQ = /* @__PURE__ */ J(fQ, [["__scopeId", "data-v-6caf6a51"]]), mQ = { cla
|
|
24192
24192
|
"data-test": "input-label"
|
24193
24193
|
}, [
|
24194
24194
|
f("span", null, [
|
24195
|
-
z1(
|
24195
|
+
z1(N(e.inputLabel) + " ", 1),
|
24196
24196
|
e.tooltipText ? G1((d(), K(u, {
|
24197
24197
|
key: 0,
|
24198
24198
|
icon: "circle-question",
|
@@ -24227,10 +24227,10 @@ const uQ = /* @__PURE__ */ J(fQ, [["__scopeId", "data-v-6caf6a51"]]), mQ = { cla
|
|
24227
24227
|
"data-test": "input-icon"
|
24228
24228
|
}, null, 8, ["icon"])
|
24229
24229
|
])) : I("", !0),
|
24230
|
-
s.value === void 0 ? (d(), h("span", hQ,
|
24230
|
+
s.value === void 0 ? (d(), h("span", hQ, N(e.placeholder), 1)) : (d(), h("span", {
|
24231
24231
|
key: 2,
|
24232
24232
|
class: "AVDropdown--selected-option",
|
24233
|
-
textContent:
|
24233
|
+
textContent: N(s.value.label)
|
24234
24234
|
}, null, 8, zQ)),
|
24235
24235
|
f("span", VQ, [
|
24236
24236
|
T(u, {
|
@@ -24252,7 +24252,7 @@ const uQ = /* @__PURE__ */ J(fQ, [["__scopeId", "data-v-6caf6a51"]]), mQ = { cla
|
|
24252
24252
|
_: 1
|
24253
24253
|
})
|
24254
24254
|
]),
|
24255
|
-
e.error && e.errorMessage ? (d(), h("p", MQ,
|
24255
|
+
e.error && e.errorMessage ? (d(), h("p", MQ, N(e.errorMessage), 1)) : I("", !0)
|
24256
24256
|
]);
|
24257
24257
|
};
|
24258
24258
|
}
|
@@ -24291,7 +24291,7 @@ const LQ = /* @__PURE__ */ J(bQ, [["__scopeId", "data-v-e2058f66"]]), AQ = /* @_
|
|
24291
24291
|
return (i, n) => (d(), h("a", {
|
24292
24292
|
class: "AVDropdownItem",
|
24293
24293
|
onClick: t
|
24294
|
-
},
|
24294
|
+
}, N(e.optionLabel), 1));
|
24295
24295
|
}
|
24296
24296
|
});
|
24297
24297
|
const _Q = /* @__PURE__ */ J(AQ, [["__scopeId", "data-v-2ca0bff3"]]), xQ = {
|
@@ -24374,7 +24374,7 @@ const _Q = /* @__PURE__ */ J(AQ, [["__scopeId", "data-v-2ca0bff3"]]), xQ = {
|
|
24374
24374
|
"data-test": "alert-icon"
|
24375
24375
|
}, null, 8, ["icon"])
|
24376
24376
|
])),
|
24377
|
-
f("span", kQ,
|
24377
|
+
f("span", kQ, N(e.title !== "" ? e.title : n[e.type]), 1)
|
24378
24378
|
]),
|
24379
24379
|
e.disableDismiss ? I("", !0) : (d(), h("button", {
|
24380
24380
|
key: 0,
|
@@ -24478,24 +24478,29 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24478
24478
|
setup(e, { emit: c }) {
|
24479
24479
|
const a = D1("i18n"), { t } = a.global, i = e, n = i1(!1), s = i1(null), l = i1([]);
|
24480
24480
|
A1(() => {
|
24481
|
-
i.locale && p1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null
|
24482
|
-
|
24483
|
-
|
24484
|
-
|
24485
|
-
|
24486
|
-
|
24487
|
-
|
24488
|
-
|
24489
|
-
|
24490
|
-
|
24491
|
-
|
24492
|
-
|
24493
|
-
|
24494
|
-
|
24495
|
-
console.log(
|
24496
|
-
|
24497
|
-
|
24498
|
-
|
24481
|
+
if (i.locale && p1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null) {
|
24482
|
+
const [A, y, k, w] = i.customOpenMethod;
|
24483
|
+
s.value.onclick = async (x) => {
|
24484
|
+
console.log(i.customOpenMethod), x.preventDefault();
|
24485
|
+
const F = await A({
|
24486
|
+
multiple: !1,
|
24487
|
+
directory: !1,
|
24488
|
+
filters: [
|
24489
|
+
{
|
24490
|
+
name: "Trustee key",
|
24491
|
+
extensions: ["trustee-key"]
|
24492
|
+
}
|
24493
|
+
]
|
24494
|
+
});
|
24495
|
+
if (console.log(F), F !== null) {
|
24496
|
+
const Q = await y(), O = await k(Q, F), e1 = w(O);
|
24497
|
+
console.log(e1);
|
24498
|
+
const l1 = new File(e1, "trustee.trustee-key");
|
24499
|
+
console.log(l1);
|
24500
|
+
}
|
24501
|
+
};
|
24502
|
+
}
|
24503
|
+
}), r1(
|
24499
24504
|
() => i.locale,
|
24500
24505
|
() => {
|
24501
24506
|
i.locale && p1(i.locale);
|
@@ -24511,9 +24516,9 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24511
24516
|
}, v = (A) => {
|
24512
24517
|
const y = Array.from(A), k = new DataTransfer();
|
24513
24518
|
for (let w of y) {
|
24514
|
-
const
|
24519
|
+
const x = w.name.split(".").pop();
|
24515
24520
|
if (C.value.includes(
|
24516
|
-
`.${
|
24521
|
+
`.${x.toLowerCase()}`
|
24517
24522
|
)) {
|
24518
24523
|
const Q = new File([w], w.name, {
|
24519
24524
|
type: w.type,
|
@@ -24554,7 +24559,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24554
24559
|
"data-test": "input-label"
|
24555
24560
|
}, [
|
24556
24561
|
f("span", null, [
|
24557
|
-
z1(
|
24562
|
+
z1(N(e.inputLabel) + " ", 1),
|
24558
24563
|
e.tooltipText ? G1((d(), K(k, {
|
24559
24564
|
key: 0,
|
24560
24565
|
icon: "circle-question",
|
@@ -24595,25 +24600,25 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24595
24600
|
]),
|
24596
24601
|
f("div", OQ, [
|
24597
24602
|
n.value ? (d(), h("div", BQ, [
|
24598
|
-
f("div", FQ,
|
24603
|
+
f("div", FQ, N(B(t)("js.components.AVFileInput.release")), 1)
|
24599
24604
|
])) : (d(), h("div", RQ, [
|
24600
|
-
f("div", jQ,
|
24605
|
+
f("div", jQ, N(B(t)("js.components.AVFileInput.primary")), 1),
|
24601
24606
|
f("div", qQ, [
|
24602
|
-
z1(
|
24603
|
-
f("strong", null,
|
24604
|
-
z1(" " +
|
24607
|
+
z1(N(B(t)("js.components.AVFileInput.secondary.start")) + " ", 1),
|
24608
|
+
f("strong", null, N(B(t)("js.components.AVFileInput.secondary.strong")), 1),
|
24609
|
+
z1(" " + N(B(t)("js.components.AVFileInput.secondary.end")), 1)
|
24605
24610
|
])
|
24606
24611
|
]))
|
24607
24612
|
])
|
24608
24613
|
], 42, EQ),
|
24609
24614
|
e.disableAcceptedFormats ? I("", !0) : (d(), h("p", $Q, [
|
24610
|
-
z1(
|
24611
|
-
f("em", UQ,
|
24615
|
+
z1(N(B(t)("js.components.AVFileInput.acceptedFormats")) + " ", 1),
|
24616
|
+
f("em", UQ, N(H.value), 1)
|
24612
24617
|
])),
|
24613
24618
|
l.value.length ? (d(), h("div", WQ, [
|
24614
|
-
f("p", GQ,
|
24615
|
-
(d(!0), h(a1, null, g1(l.value, (
|
24616
|
-
key:
|
24619
|
+
f("p", GQ, N(B(t)("js.components.AVFileInput.uploading")), 1),
|
24620
|
+
(d(!0), h(a1, null, g1(l.value, (x) => (d(), h("div", {
|
24621
|
+
key: x.name,
|
24617
24622
|
class: $(["AVFileInput--preview-card", { error: e.error }])
|
24618
24623
|
}, [
|
24619
24624
|
f("div", JQ, [
|
@@ -24621,7 +24626,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24621
24626
|
e.showPreview ? (d(), h("img", {
|
24622
24627
|
key: 0,
|
24623
24628
|
class: "AVFileInput--preview-img",
|
24624
|
-
src: z(
|
24629
|
+
src: z(x)
|
24625
24630
|
}, null, 8, YQ)) : (d(), K(k, {
|
24626
24631
|
key: 1,
|
24627
24632
|
icon: "fa-solid fa-file",
|
@@ -24630,15 +24635,15 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24630
24635
|
}))
|
24631
24636
|
]),
|
24632
24637
|
f("p", QQ, [
|
24633
|
-
z1(x
|
24634
|
-
f("em", null,
|
24638
|
+
z1(N(x.name) + " ", 1),
|
24639
|
+
f("em", null, N(Math.round(x.size / 1e3) + "kb"), 1)
|
24635
24640
|
])
|
24636
24641
|
]),
|
24637
24642
|
e.disabled ? I("", !0) : (d(), h("button", {
|
24638
24643
|
key: 0,
|
24639
24644
|
class: "AVTextInput--delete-btn",
|
24640
24645
|
type: "button",
|
24641
|
-
onClick: (
|
24646
|
+
onClick: (F) => g(l.value.indexOf(x)),
|
24642
24647
|
title: "Remove file"
|
24643
24648
|
}, [
|
24644
24649
|
T(k, {
|
@@ -24650,14 +24655,14 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24650
24655
|
], 2))), 128))
|
24651
24656
|
])) : I("", !0),
|
24652
24657
|
e.currentValue.length ? (d(), h("div", XQ, [
|
24653
|
-
f("p", eK,
|
24654
|
-
(d(!0), h(a1, null, g1(e.currentValue, (
|
24655
|
-
key: `image-${
|
24658
|
+
f("p", eK, N(B(t)("js.components.AVFileInput.current")), 1),
|
24659
|
+
(d(!0), h(a1, null, g1(e.currentValue, (x) => (d(), h("div", {
|
24660
|
+
key: `image-${x}`
|
24656
24661
|
}, [
|
24657
24662
|
e.showPreview ? (d(), h("img", {
|
24658
24663
|
key: 0,
|
24659
24664
|
class: "AVFileInput--current-img",
|
24660
|
-
src:
|
24665
|
+
src: x,
|
24661
24666
|
alt: B(t)("js.components.AVFileInput.alt_preview")
|
24662
24667
|
}, null, 8, cK)) : (d(), h("div", aK, [
|
24663
24668
|
f("div", tK, [
|
@@ -24668,13 +24673,13 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24668
24673
|
"data-test": "file-preview-icon"
|
24669
24674
|
})
|
24670
24675
|
]),
|
24671
|
-
f("p", nK,
|
24676
|
+
f("p", nK, N(b(x)), 1)
|
24672
24677
|
]),
|
24673
24678
|
f("button", {
|
24674
24679
|
class: "AVTextInput--delete-btn",
|
24675
24680
|
type: "button",
|
24676
24681
|
title: "Download file",
|
24677
|
-
onClick: (
|
24682
|
+
onClick: (F) => L(x)
|
24678
24683
|
}, [
|
24679
24684
|
T(k, {
|
24680
24685
|
icon: "fa-solid fa-download",
|
@@ -24685,12 +24690,12 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24685
24690
|
]))
|
24686
24691
|
]))), 128))
|
24687
24692
|
])) : I("", !0),
|
24688
|
-
e.error && e.errorMessage ? (d(), h("p", lK,
|
24693
|
+
e.error && e.errorMessage ? (d(), h("p", lK, N(e.errorMessage), 1)) : I("", !0)
|
24689
24694
|
]);
|
24690
24695
|
};
|
24691
24696
|
}
|
24692
24697
|
});
|
24693
|
-
const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-
|
24698
|
+
const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-98b89496"]]), fK = (e) => (e2("data-v-065c2914"), e = e(), c2(), e), uK = ["for"], mK = ["id", "checked", "disabled"], dK = /* @__PURE__ */ fK(() => /* @__PURE__ */ f("span", { class: "AVRadio--mark" }, null, -1)), vK = /* @__PURE__ */ G({
|
24694
24699
|
__name: "AVRadio",
|
24695
24700
|
props: {
|
24696
24701
|
id: {
|
@@ -24721,7 +24726,7 @@ const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-b7c049fa"]]), fK = (e) =
|
|
24721
24726
|
}, s = () => {
|
24722
24727
|
t("update", a.value, i.value);
|
24723
24728
|
};
|
24724
|
-
return
|
24729
|
+
return r1(
|
24725
24730
|
() => a.checked,
|
24726
24731
|
() => {
|
24727
24732
|
i.value = a.checked;
|
@@ -24738,7 +24743,7 @@ const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-b7c049fa"]]), fK = (e) =
|
|
24738
24743
|
disabled: e.disabled
|
24739
24744
|
}, null, 40, mK),
|
24740
24745
|
dK,
|
24741
|
-
z1(" " +
|
24746
|
+
z1(" " + N(e.value), 1)
|
24742
24747
|
], 10, uK));
|
24743
24748
|
}
|
24744
24749
|
});
|
@@ -24810,7 +24815,7 @@ const pK = /* @__PURE__ */ J(vK, [["__scopeId", "data-v-065c2914"]]), hK = ["hre
|
|
24810
24815
|
target: e.target,
|
24811
24816
|
class: $(`AVLink AVLink--${e.variant}`)
|
24812
24817
|
}, [
|
24813
|
-
f("span", null,
|
24818
|
+
f("span", null, N(e.label), 1),
|
24814
24819
|
e.disableIcon ? I("", !0) : (d(), K(t, {
|
24815
24820
|
key: 0,
|
24816
24821
|
icon: "fa-solid fa-arrow-up-right-from-square",
|
@@ -24884,7 +24889,7 @@ const VK = /* @__PURE__ */ J(zK, [["__scopeId", "data-v-999075bc"]]), MK = ["hre
|
|
24884
24889
|
icon: `fa-solid fa-${e.icon}`,
|
24885
24890
|
class: "AVNavbarItem--icon"
|
24886
24891
|
}, null, 8, ["icon"])),
|
24887
|
-
f("span", HK,
|
24892
|
+
f("span", HK, N(e.label), 1)
|
24888
24893
|
], 14, MK)) : (d(), h("button", {
|
24889
24894
|
key: 1,
|
24890
24895
|
class: $(["AVNavbarItem", {
|
@@ -24900,7 +24905,7 @@ const VK = /* @__PURE__ */ J(zK, [["__scopeId", "data-v-999075bc"]]), MK = ["hre
|
|
24900
24905
|
icon: `fa-solid fa-${e.icon}`,
|
24901
24906
|
class: "AVNavbarItem--icon"
|
24902
24907
|
}, null, 8, ["icon"])),
|
24903
|
-
f("span", CK,
|
24908
|
+
f("span", CK, N(e.label), 1)
|
24904
24909
|
], 14, gK));
|
24905
24910
|
};
|
24906
24911
|
}
|
@@ -24983,7 +24988,7 @@ const LK = /* @__PURE__ */ J(bK, [["__scopeId", "data-v-00ff3c9d"]]), AK = ["hre
|
|
24983
24988
|
hover: i.value,
|
24984
24989
|
"aria-hidden": "true"
|
24985
24990
|
}, null, 8, ["type", "active", "value", "hover"]),
|
24986
|
-
f("span", _K,
|
24991
|
+
f("span", _K, N(e.label), 1)
|
24987
24992
|
], 42, AK)) : (d(), h("button", {
|
24988
24993
|
key: 1,
|
24989
24994
|
class: $(["AVSidebarItem", {
|
@@ -25003,7 +25008,7 @@ const LK = /* @__PURE__ */ J(bK, [["__scopeId", "data-v-00ff3c9d"]]), AK = ["hre
|
|
25003
25008
|
hover: i.value,
|
25004
25009
|
"aria-hidden": "true"
|
25005
25010
|
}, null, 8, ["type", "active", "value", "hover"]),
|
25006
|
-
f("span", NK,
|
25011
|
+
f("span", NK, N(e.label), 1)
|
25007
25012
|
], 42, xK));
|
25008
25013
|
}
|
25009
25014
|
});
|
@@ -25060,7 +25065,7 @@ const kK = /* @__PURE__ */ J(yK, [["__scopeId", "data-v-3e891e66"]]), SK = { cla
|
|
25060
25065
|
return (c, a) => {
|
25061
25066
|
const t = D("AVIcon"), i = B2("tooltip");
|
25062
25067
|
return G1((d(), h("span", SK, [
|
25063
|
-
e.text ? (d(), h("span", wK,
|
25068
|
+
e.text ? (d(), h("span", wK, N(e.text), 1)) : H1(c.$slots, "text", { key: 1 }, void 0, !0),
|
25064
25069
|
e.icon ? (d(), K(t, {
|
25065
25070
|
key: 2,
|
25066
25071
|
icon: e.icon,
|
@@ -25202,7 +25207,7 @@ const RK = /* @__PURE__ */ J(FK, [["__scopeId", "data-v-e8fb623b"]]), jK = ["hre
|
|
25202
25207
|
icon: `fa-solid fa-${e.icon}`,
|
25203
25208
|
"data-test": "option-icon"
|
25204
25209
|
}, null, 8, ["icon"])) : I("", !0),
|
25205
|
-
z1(" " +
|
25210
|
+
z1(" " + N(e.optionLabel), 1)
|
25206
25211
|
], 10, jK);
|
25207
25212
|
};
|
25208
25213
|
}
|
@@ -25248,7 +25253,7 @@ const $K = /* @__PURE__ */ J(qK, [["__scopeId", "data-v-8513fa9b"]]), UK = ["dis
|
|
25248
25253
|
emits: ["update:waiting"],
|
25249
25254
|
setup(e, { emit: c }) {
|
25250
25255
|
const a = c, t = e, i = i1(!1);
|
25251
|
-
|
25256
|
+
r1(i, (r) => a("update:waiting", r));
|
25252
25257
|
const n = E(() => {
|
25253
25258
|
if (!i.value)
|
25254
25259
|
switch (t.variant) {
|
@@ -25300,7 +25305,7 @@ const $K = /* @__PURE__ */ J(qK, [["__scopeId", "data-v-8513fa9b"]]), UK = ["dis
|
|
25300
25305
|
class: "AVAsyncButton--icon",
|
25301
25306
|
"data-test": "btn-icon"
|
25302
25307
|
}, null, 8, ["icon"])) : I("", !0),
|
25303
|
-
f("span", WK,
|
25308
|
+
f("span", WK, N(e.label), 1)
|
25304
25309
|
], !0)
|
25305
25310
|
], 10, UK);
|
25306
25311
|
};
|
@@ -25350,15 +25355,15 @@ const JK = /* @__PURE__ */ J(GK, [["__scopeId", "data-v-7439a7ec"]]), ZK = { cla
|
|
25350
25355
|
}, u = () => {
|
25351
25356
|
o("update", i.value, t.value);
|
25352
25357
|
};
|
25353
|
-
return
|
25358
|
+
return r1(
|
25354
25359
|
() => a.options,
|
25355
25360
|
() => s()
|
25356
|
-
),
|
25361
|
+
), r1(
|
25357
25362
|
() => a.selected,
|
25358
25363
|
() => {
|
25359
25364
|
i.value = a.selected, l(a.selected);
|
25360
25365
|
}
|
25361
|
-
),
|
25366
|
+
), r1(
|
25362
25367
|
() => a.disabled,
|
25363
25368
|
() => r()
|
25364
25369
|
), (v, p) => (d(), h("div", ZK, [
|
@@ -25367,7 +25372,7 @@ const JK = /* @__PURE__ */ J(GK, [["__scopeId", "data-v-7439a7ec"]]), ZK = { cla
|
|
25367
25372
|
class: $(`AVTabSwitcher--button ${n.value} ${H.selected ? "AVTabSwitcher--button-active" : ""} ${H.disabled ? "disabled" : ""}`),
|
25368
25373
|
disabled: H.disabled,
|
25369
25374
|
onClick: (C) => m(H.value)
|
25370
|
-
},
|
25375
|
+
}, N(H.value), 11, YK))), 128))
|
25371
25376
|
]));
|
25372
25377
|
}
|
25373
25378
|
});
|
@@ -25408,7 +25413,7 @@ const KK = /* @__PURE__ */ J(QK, [["__scopeId", "data-v-3c4a2127"]]), XK = { cla
|
|
25408
25413
|
}, null, 8, ["icon", "class"]),
|
25409
25414
|
f("span", {
|
25410
25415
|
class: $(["AVBallotSummary--ballot-name", { "AVBallotSummary--name-ready": a.value }])
|
25411
|
-
},
|
25416
|
+
}, N(e.ballotStyleName), 3)
|
25412
25417
|
]),
|
25413
25418
|
f("div", cX, [
|
25414
25419
|
a.value ? (d(), K(s, {
|
@@ -25423,7 +25428,7 @@ const KK = /* @__PURE__ */ J(QK, [["__scopeId", "data-v-3c4a2127"]]), XK = { cla
|
|
25423
25428
|
})),
|
25424
25429
|
f("span", {
|
25425
25430
|
class: $(["AVBallotSummary--ballot-status", { "AVBallotSummary--status-ready": a.value }])
|
25426
|
-
},
|
25431
|
+
}, N(a.value ? `${e.currentBallots} ${e.readyLabel}` : `${t.value} ${e.waitingLabel}`), 3)
|
25427
25432
|
])
|
25428
25433
|
]);
|
25429
25434
|
};
|
@@ -25492,8 +25497,8 @@ const tX = /* @__PURE__ */ J(aX, [["__scopeId", "data-v-2d7c011c"]]), iX = {
|
|
25492
25497
|
}]),
|
25493
25498
|
"data-test": "help-text"
|
25494
25499
|
}, [
|
25495
|
-
z1(
|
25496
|
-
f("strong", null,
|
25500
|
+
z1(N(e.expirationMessage), 1),
|
25501
|
+
f("strong", null, N(m.value), 1)
|
25497
25502
|
], 2)
|
25498
25503
|
], 64));
|
25499
25504
|
}
|
@@ -25526,14 +25531,14 @@ const lX = /* @__PURE__ */ J(sX, [["__scopeId", "data-v-7d0d595b"]]), rX = (e) =
|
|
25526
25531
|
"AVBasicSteps--step-active": a(e.steps[0])
|
25527
25532
|
}]),
|
25528
25533
|
"data-test": "step"
|
25529
|
-
},
|
25534
|
+
}, N(e.steps[0]), 3),
|
25530
25535
|
fX,
|
25531
25536
|
f("span", {
|
25532
25537
|
class: $(["AVBasicSteps--step", {
|
25533
25538
|
"AVBasicSteps--step-active": a(e.steps[1])
|
25534
25539
|
}]),
|
25535
25540
|
"data-test": "step"
|
25536
|
-
},
|
25541
|
+
}, N(e.steps[1]), 3),
|
25537
25542
|
e.steps.length === 3 ? (d(), h("span", uX)) : I("", !0),
|
25538
25543
|
e.steps.length === 3 ? (d(), h("span", {
|
25539
25544
|
key: 1,
|
@@ -25541,7 +25546,7 @@ const lX = /* @__PURE__ */ J(sX, [["__scopeId", "data-v-7d0d595b"]]), rX = (e) =
|
|
25541
25546
|
"AVBasicSteps--step-active": a(e.steps[2])
|
25542
25547
|
}]),
|
25543
25548
|
"data-test": "step"
|
25544
|
-
},
|
25549
|
+
}, N(e.steps[2]), 3)) : I("", !0)
|
25545
25550
|
]));
|
25546
25551
|
}
|
25547
25552
|
});
|
@@ -25579,13 +25584,13 @@ const dX = /* @__PURE__ */ J(mX, [["__scopeId", "data-v-dbd25d5c"]]), vX = { cla
|
|
25579
25584
|
}, i = (s) => c.done ? c.done.includes(s) : !1;
|
25580
25585
|
A1(() => {
|
25581
25586
|
t();
|
25582
|
-
}),
|
25587
|
+
}), r1(
|
25583
25588
|
() => c.steps,
|
25584
25589
|
() => t()
|
25585
|
-
),
|
25590
|
+
), r1(
|
25586
25591
|
() => c.active,
|
25587
25592
|
() => t()
|
25588
|
-
),
|
25593
|
+
), r1(
|
25589
25594
|
() => c.done,
|
25590
25595
|
() => t()
|
25591
25596
|
);
|
@@ -25609,10 +25614,10 @@ const dX = /* @__PURE__ */ J(mX, [["__scopeId", "data-v-dbd25d5c"]]), vX = { cla
|
|
25609
25614
|
"AVSteps--step-circle": a.value.length !== m + 1,
|
25610
25615
|
"AVSteps--step--number-container-active": o.active
|
25611
25616
|
}])
|
25612
|
-
},
|
25617
|
+
}, N(m + 1), 3)),
|
25613
25618
|
f("span", {
|
25614
25619
|
class: $(["AVSteps--step-label", { "AVSteps--step-label-active": o.active }])
|
25615
|
-
},
|
25620
|
+
}, N(o.value), 3)
|
25616
25621
|
], 2))), 128))
|
25617
25622
|
]);
|
25618
25623
|
};
|
@@ -25662,7 +25667,7 @@ const zX = /* @__PURE__ */ J(hX, [["__scopeId", "data-v-89e22cbe"]]), V$ = (e) =
|
|
25662
25667
|
), t = e;
|
25663
25668
|
A1(() => {
|
25664
25669
|
t.locale && p1(t.locale);
|
25665
|
-
}),
|
25670
|
+
}), r1(
|
25666
25671
|
() => t.locale,
|
25667
25672
|
() => {
|
25668
25673
|
t.locale && p1(t.locale);
|
@@ -25674,7 +25679,7 @@ const zX = /* @__PURE__ */ J(hX, [["__scopeId", "data-v-89e22cbe"]]), V$ = (e) =
|
|
25674
25679
|
class: "AVOptionSelect",
|
25675
25680
|
"aria-label": i.value
|
25676
25681
|
}, [
|
25677
|
-
e.rank ? (d(), h("span", MX,
|
25682
|
+
e.rank ? (d(), h("span", MX, N(e.rank), 1)) : (d(), h("svg", HX, bX))
|
25678
25683
|
], 8, VX)), [
|
25679
25684
|
[E4, e.checked]
|
25680
25685
|
]);
|
@@ -25724,7 +25729,7 @@ const AX = /* @__PURE__ */ J(LX, [["__scopeId", "data-v-59ee2583"]]), _X = { cla
|
|
25724
25729
|
const a = D1("i18n"), { t } = a.global, i = e, n = c;
|
25725
25730
|
A1(() => {
|
25726
25731
|
i.locale && p1(i.locale);
|
25727
|
-
}),
|
25732
|
+
}), r1(
|
25728
25733
|
() => i.locale,
|
25729
25734
|
() => {
|
25730
25735
|
i.locale && p1(i.locale);
|
@@ -25742,7 +25747,7 @@ const AX = /* @__PURE__ */ J(LX, [["__scopeId", "data-v-59ee2583"]]), _X = { cla
|
|
25742
25747
|
const m = D("AVOptionSelect");
|
25743
25748
|
return d(), h("div", _X, [
|
25744
25749
|
e.exclusiveError && e.checked ? (d(), h("div", xX, [
|
25745
|
-
f("div", NX,
|
25750
|
+
f("div", NX, N(B(t)("js.components.AVOptionCheckbox.exclusive_option")), 1)
|
25746
25751
|
])) : I("", !0),
|
25747
25752
|
f("button", U8({
|
25748
25753
|
class: {
|
@@ -25931,7 +25936,7 @@ const DX = /* @__PURE__ */ J(EX, [["__scopeId", "data-v-0dc18787"]]), PX = /* @_
|
|
25931
25936
|
icon: t.value,
|
25932
25937
|
class: "AVLinkVisualizer--icon"
|
25933
25938
|
}, null, 8, ["icon"]),
|
25934
|
-
f("span", null,
|
25939
|
+
f("span", null, N(e.link.attributes.name), 1)
|
25935
25940
|
], 2);
|
25936
25941
|
};
|
25937
25942
|
}
|
@@ -25990,12 +25995,12 @@ const OX = /* @__PURE__ */ J(PX, [["__scopeId", "data-v-eb8f518d"]]), BX = { cla
|
|
25990
25995
|
f("span", {
|
25991
25996
|
class: $(`AVVerticalStep--title AVVerticalStep--text-${e.status}`),
|
25992
25997
|
"data-test": "step-title"
|
25993
|
-
},
|
25998
|
+
}, N(e.title), 3),
|
25994
25999
|
e.subtitle ? (d(), h("span", {
|
25995
26000
|
key: 0,
|
25996
26001
|
class: $(`AVVerticalStep--subtitle AVVerticalStep--text-${e.status}`),
|
25997
26002
|
"data-test": "step-subtitle"
|
25998
|
-
},
|
26003
|
+
}, N(e.subtitle), 3)) : I("", !0)
|
25999
26004
|
]))
|
26000
26005
|
]),
|
26001
26006
|
_: 1
|
@@ -26110,12 +26115,12 @@ const ZX = /* @__PURE__ */ J(JX, [["__scopeId", "data-v-90e59491"]]), YX = { cla
|
|
26110
26115
|
}, o = () => {
|
26111
26116
|
t("update", i.value, n.value);
|
26112
26117
|
};
|
26113
|
-
return
|
26118
|
+
return r1(
|
26114
26119
|
() => a.initialValue,
|
26115
26120
|
() => {
|
26116
26121
|
i.value = a.initialValue, s(a.initialValue);
|
26117
26122
|
}
|
26118
|
-
),
|
26123
|
+
), r1(
|
26119
26124
|
() => a.disabled,
|
26120
26125
|
() => {
|
26121
26126
|
l();
|
@@ -26128,7 +26133,7 @@ const ZX = /* @__PURE__ */ J(JX, [["__scopeId", "data-v-90e59491"]]), YX = { cla
|
|
26128
26133
|
for: e.id,
|
26129
26134
|
class: "AVRadioGroup--label",
|
26130
26135
|
"data-test": "input-label"
|
26131
|
-
},
|
26136
|
+
}, N(e.inputLabel), 9, QX)),
|
26132
26137
|
f("div", {
|
26133
26138
|
class: $(`AVRadioGroup--${e.orientation}`),
|
26134
26139
|
"data-test": "input-group"
|
@@ -26143,7 +26148,7 @@ const ZX = /* @__PURE__ */ J(JX, [["__scopeId", "data-v-90e59491"]]), YX = { cla
|
|
26143
26148
|
onUpdate: (C) => r(p.value)
|
26144
26149
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
26145
26150
|
], 2),
|
26146
|
-
e.error && e.errorMessage ? (d(), h("p", KX,
|
26151
|
+
e.error && e.errorMessage ? (d(), h("p", KX, N(e.errorMessage), 1)) : I("", !0)
|
26147
26152
|
]);
|
26148
26153
|
};
|
26149
26154
|
}
|
@@ -26200,7 +26205,7 @@ const a11 = /* @__PURE__ */ J(c11, [["__scopeId", "data-v-9fd5c53d"]]), t11 = {
|
|
26200
26205
|
f("a", {
|
26201
26206
|
href: i.active ? null : i.href,
|
26202
26207
|
class: $(["AVBreadcrumb--link", { "AVBreadcrumb--link-active": i.active }])
|
26203
|
-
},
|
26208
|
+
}, N(i.text), 11, n11),
|
26204
26209
|
T(t, {
|
26205
26210
|
icon: "fa-solid fa-angle-right",
|
26206
26211
|
class: "AVBreadcrumb--separator"
|
@@ -26289,9 +26294,9 @@ const l11 = /* @__PURE__ */ J(s11, [["__scopeId", "data-v-479a161a"]]), r11 = ["
|
|
26289
26294
|
}, {
|
26290
26295
|
default: s1(() => [
|
26291
26296
|
f("div", o11, [
|
26292
|
-
f("span", f11,
|
26297
|
+
f("span", f11, N(e.id), 1),
|
26293
26298
|
f("div", u11, [
|
26294
|
-
f("span", m11,
|
26299
|
+
f("span", m11, N(e.name), 1),
|
26295
26300
|
T(s, {
|
26296
26301
|
type: t.value,
|
26297
26302
|
value: e.status
|
@@ -26303,8 +26308,8 @@ const l11 = /* @__PURE__ */ J(s11, [["__scopeId", "data-v-479a161a"]]), r11 = ["
|
|
26303
26308
|
T(l, { icon: "fa-solid fa-location-pin" })
|
26304
26309
|
]),
|
26305
26310
|
f("span", h11, [
|
26306
|
-
z1(
|
26307
|
-
f("strong", null,
|
26311
|
+
z1(N(e.countyNameLabel), 1),
|
26312
|
+
f("strong", null, N(e.countyName), 1)
|
26308
26313
|
])
|
26309
26314
|
]),
|
26310
26315
|
f("div", z11, [
|
@@ -26312,8 +26317,8 @@ const l11 = /* @__PURE__ */ J(s11, [["__scopeId", "data-v-479a161a"]]), r11 = ["
|
|
26312
26317
|
T(l, { icon: "fa-solid fa-file-circle-plus" })
|
26313
26318
|
]),
|
26314
26319
|
f("span", M11, [
|
26315
|
-
z1(
|
26316
|
-
f("strong", null,
|
26320
|
+
z1(N(e.createdAtLabel), 1),
|
26321
|
+
f("strong", null, N(e.createdAt), 1)
|
26317
26322
|
])
|
26318
26323
|
]),
|
26319
26324
|
f("div", H11, [
|
@@ -26321,8 +26326,8 @@ const l11 = /* @__PURE__ */ J(s11, [["__scopeId", "data-v-479a161a"]]), r11 = ["
|
|
26321
26326
|
T(l, { icon: "fa-solid fa-pen-to-square" })
|
26322
26327
|
]),
|
26323
26328
|
f("span", C11, [
|
26324
|
-
z1(
|
26325
|
-
f("strong", null,
|
26329
|
+
z1(N(e.lastUpdatedLabel), 1),
|
26330
|
+
f("strong", null, N(e.lastUpdated), 1)
|
26326
26331
|
])
|
26327
26332
|
])
|
26328
26333
|
])
|
@@ -26390,8 +26395,8 @@ const A11 = /* @__PURE__ */ J(L11, [["__scopeId", "data-v-dd72671e"]]), _11 = ["
|
|
26390
26395
|
T(t, { icon: "fa-solid fa-check" })
|
26391
26396
|
])) : I("", !0),
|
26392
26397
|
f("div", y11, [
|
26393
|
-
f("div", k11,
|
26394
|
-
f("div", S11,
|
26398
|
+
f("div", k11, N(e.name), 1),
|
26399
|
+
f("div", S11, N(`${e.contestQty} ${e.contestLabel}`), 1)
|
26395
26400
|
])
|
26396
26401
|
]),
|
26397
26402
|
f("div", w11, [
|
@@ -26451,7 +26456,7 @@ const I11 = /* @__PURE__ */ J(T11, [["__scopeId", "data-v-c682a2cf"]]), E11 = ["
|
|
26451
26456
|
), i = i1([]), n = e;
|
26452
26457
|
A1(() => {
|
26453
26458
|
n.parents && n.parents.map((u) => i.value.push(u)), n.locale && p1(n.locale);
|
26454
|
-
}),
|
26459
|
+
}), r1(
|
26455
26460
|
() => n.locale,
|
26456
26461
|
() => {
|
26457
26462
|
n.locale && p1(n.locale);
|
@@ -26487,7 +26492,7 @@ const I11 = /* @__PURE__ */ J(T11, [["__scopeId", "data-v-c682a2cf"]]), E11 = ["
|
|
26487
26492
|
(d(!0), h(a1, null, g1(l.value, (b, _) => (d(), h("li", {
|
26488
26493
|
key: b + _,
|
26489
26494
|
class: "AVSummaryOption--breadcrumb-item"
|
26490
|
-
},
|
26495
|
+
}, N(b), 1))), 128))
|
26491
26496
|
])
|
26492
26497
|
])) : I("", !0),
|
26493
26498
|
f("div", {
|
@@ -26503,7 +26508,7 @@ const I11 = /* @__PURE__ */ J(T11, [["__scopeId", "data-v-c682a2cf"]]), E11 = ["
|
|
26503
26508
|
alt: B(a)("js.components.AVSummaryOption.aria_label.option_image")
|
26504
26509
|
}, null, 8, O11)) : I("", !0),
|
26505
26510
|
f("div", B11, [
|
26506
|
-
f("div", F11,
|
26511
|
+
f("div", F11, N(r.value), 1)
|
26507
26512
|
]),
|
26508
26513
|
s.value ? I("", !0) : (d(), h("div", R11, [
|
26509
26514
|
T(p, {
|
@@ -26612,7 +26617,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26612
26617
|
), { eventBus: n } = M$(), s = i1(!1), l = i1(null), r = e, o = c;
|
26613
26618
|
A1(() => {
|
26614
26619
|
r.locale && p1(r.locale);
|
26615
|
-
}),
|
26620
|
+
}), r1(
|
26616
26621
|
() => r.locale,
|
26617
26622
|
() => {
|
26618
26623
|
r.locale && p1(r.locale);
|
@@ -26653,36 +26658,36 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26653
26658
|
}), O;
|
26654
26659
|
}), z = E(
|
26655
26660
|
() => r.option.children && r.option.children.length > 0
|
26656
|
-
), L = E(() => r.option.selectable !== void 0 && !r.option.selectable ? 0 : y.value ? 1 : r.option.voteLimit || r.contest.markingType.votesAllowedPerOption || 1), A = E(() => r.selections.length > 0 ?
|
26661
|
+
), L = E(() => r.option.selectable !== void 0 && !r.option.selectable ? 0 : y.value ? 1 : r.option.voteLimit || r.contest.markingType.votesAllowedPerOption || 1), A = E(() => r.selections.length > 0 ? F(r.option.children) : 0), y = E(() => r.option.exclusive), k = E(() => {
|
26657
26662
|
const O = Array.from(Array(L.value).keys());
|
26658
26663
|
O.forEach((Z) => O[Z] = Z + 1);
|
26659
|
-
const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1,
|
26660
|
-
return U.length ? [
|
26661
|
-
}), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null),
|
26664
|
+
const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, l1 = O.slice(0, e1), U = O.slice(e1);
|
26665
|
+
return U.length ? [l1, U] : [l1];
|
26666
|
+
}), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), x = (O, e1 = 1) => {
|
26662
26667
|
o("checked", {
|
26663
26668
|
reference: O,
|
26664
26669
|
amount: e1
|
26665
26670
|
});
|
26666
|
-
},
|
26671
|
+
}, F = (O) => {
|
26667
26672
|
if (!O)
|
26668
26673
|
return 0;
|
26669
26674
|
let e1 = O.filter(
|
26670
|
-
(
|
26675
|
+
(l1) => r.selections.map((U) => U.reference).includes(l1.reference)
|
26671
26676
|
).length;
|
26672
|
-
return O.reduce((
|
26677
|
+
return O.reduce((l1, U) => l1 + F(U.children), e1);
|
26673
26678
|
}, Q = (O) => {
|
26674
26679
|
s.value = !1, O === r.option.reference && (o("accordion-open"), is(() => {
|
26675
26680
|
s.value = !0, l.value.scrollIntoView({ behavior: "smooth", block: "center" });
|
26676
26681
|
}));
|
26677
26682
|
};
|
26678
|
-
return
|
26683
|
+
return r1(
|
26679
26684
|
() => n.value.get("highlight-option"),
|
26680
26685
|
(O) => {
|
26681
26686
|
const [e1] = O ?? [];
|
26682
26687
|
Q(e1);
|
26683
26688
|
}
|
26684
26689
|
), (O, e1) => {
|
26685
|
-
const
|
26690
|
+
const l1 = D("AVIcon"), U = D("AVOptionCheckbox"), Z = D("AVOption", !0), m1 = D("AVCollapser");
|
26686
26691
|
return d(), h("div", {
|
26687
26692
|
class: $({
|
26688
26693
|
"AVOption--background": !0,
|
@@ -26730,7 +26735,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26730
26735
|
}, null, 8, J11)) : I("", !0),
|
26731
26736
|
f("h5", {
|
26732
26737
|
class: "AVOption--title",
|
26733
|
-
textContent:
|
26738
|
+
textContent: N(p.value)
|
26734
26739
|
}, null, 8, Z11)
|
26735
26740
|
]),
|
26736
26741
|
H.value || g.value.length || z.value || e.option.candidateId ? (d(), h("div", Y11, [
|
@@ -26742,13 +26747,13 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26742
26747
|
key: 0,
|
26743
26748
|
class: "AVOption--link",
|
26744
26749
|
onClick: e1[0] || (e1[0] = (O1) => o("view-candidate", e.option.candidateId))
|
26745
|
-
},
|
26750
|
+
}, N(B(t)("js.components.AVOption.view_candidate")), 1)) : I("", !0),
|
26746
26751
|
(d(!0), h(a1, null, g1(g.value, (O1) => (d(), h("a", {
|
26747
26752
|
key: O1.toString(),
|
26748
26753
|
href: O1.url,
|
26749
26754
|
class: "AVOption--link",
|
26750
26755
|
target: "_blank"
|
26751
|
-
},
|
26756
|
+
}, N(O1.text), 9, e21))), 128))
|
26752
26757
|
])) : I("", !0),
|
26753
26758
|
q1 && z.value ? (d(), h("div", c21, [
|
26754
26759
|
f("div", {
|
@@ -26756,7 +26761,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26756
26761
|
class: "AVOption--expander-container",
|
26757
26762
|
"aria-hidden": "true"
|
26758
26763
|
}, [
|
26759
|
-
T(
|
26764
|
+
T(l1, {
|
26760
26765
|
icon: P1 ? "chevron-down" : m.value ? "chevron-left" : "chevron-right",
|
26761
26766
|
class: "AVOption--expander-icon"
|
26762
26767
|
}, null, 8, ["icon"]),
|
@@ -26771,7 +26776,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26771
26776
|
"AVOption--suboption-badge-danger": e.invalid,
|
26772
26777
|
"AVOption--suboption-badge-normal": !e.invalid
|
26773
26778
|
}])
|
26774
|
-
},
|
26779
|
+
}, N(m.value ? `${B(t)(
|
26775
26780
|
"js.components.AVOption.sub_options_select"
|
26776
26781
|
)} ${A.value}` : `${A.value} ${B(t)(
|
26777
26782
|
"js.components.AVOption.sub_options_select"
|
@@ -26801,19 +26806,19 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26801
26806
|
"option-reference": e.option.reference,
|
26802
26807
|
"check-box-index": J1,
|
26803
26808
|
disabled: e.disabled || e.observerMode,
|
26804
|
-
onToggled: (I1) =>
|
26809
|
+
onToggled: (I1) => x(e.option.reference, J1)
|
26805
26810
|
}, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
|
26806
26811
|
]))), 128))
|
26807
26812
|
], 6)) : I("", !0),
|
26808
26813
|
w.value && (e.observerMode || e.disabled) ? (d(), h("div", i21, [
|
26809
|
-
T(
|
26814
|
+
T(l1, {
|
26810
26815
|
icon: "user",
|
26811
26816
|
class: "AVOption--realtime-results-icon"
|
26812
26817
|
}),
|
26813
|
-
f("span", null,
|
26818
|
+
f("span", null, N(m.value ? `${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
|
26814
26819
|
w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26815
26820
|
n21,
|
26816
|
-
f("span", null,
|
26821
|
+
f("span", null, N(`${w.value.results.percentage}%`), 1)
|
26817
26822
|
], 64)) : I("", !0)
|
26818
26823
|
])) : I("", !0)
|
26819
26824
|
], 2)
|
@@ -26843,14 +26848,14 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26843
26848
|
name: "results",
|
26844
26849
|
fn: s1(() => [
|
26845
26850
|
f("div", s21, [
|
26846
|
-
T(
|
26851
|
+
T(l1, {
|
26847
26852
|
icon: "user",
|
26848
26853
|
class: "AVOption--realtime-results-icon"
|
26849
26854
|
}),
|
26850
|
-
f("span", null,
|
26855
|
+
f("span", null, N(m.value ? `${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(t)("js.components.AVOption.vote_count_singular") : B(t)("js.components.AVOption.vote_count_plural")}`), 1),
|
26851
26856
|
w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26852
26857
|
l21,
|
26853
|
-
f("span", null,
|
26858
|
+
f("span", null, N(`${w.value.results.percentage}%`), 1)
|
26854
26859
|
], 64)) : I("", !0)
|
26855
26860
|
])
|
26856
26861
|
]),
|
@@ -26911,7 +26916,7 @@ const f21 = /* @__PURE__ */ J(o21, [["__scopeId", "data-v-785ef04b"]]), g$ = (e)
|
|
26911
26916
|
const c = D1("i18n"), { t: a } = c.global, t = e;
|
26912
26917
|
A1(() => {
|
26913
26918
|
t.locale && p1(t.locale);
|
26914
|
-
}),
|
26919
|
+
}), r1(
|
26915
26920
|
() => t.locale,
|
26916
26921
|
() => {
|
26917
26922
|
t.locale && p1(t.locale);
|
@@ -26937,7 +26942,7 @@ const f21 = /* @__PURE__ */ J(o21, [["__scopeId", "data-v-785ef04b"]]), g$ = (e)
|
|
26937
26942
|
"aria-label": B(a)("js.components.AVBlankOption.aria_labels.option")
|
26938
26943
|
}, [
|
26939
26944
|
f("div", m21, [
|
26940
|
-
f("h5", d21,
|
26945
|
+
f("h5", d21, N(B(a)("js.components.AVBlankOption.title")), 1),
|
26941
26946
|
f("div", v21, [
|
26942
26947
|
T(l, {
|
26943
26948
|
"option-reference": "blank",
|
@@ -26954,10 +26959,10 @@ const f21 = /* @__PURE__ */ J(o21, [["__scopeId", "data-v-785ef04b"]]), g$ = (e)
|
|
26954
26959
|
icon: "user",
|
26955
26960
|
class: "AVBlankOption--realtime-results-icon"
|
26956
26961
|
}),
|
26957
|
-
f("span", null,
|
26962
|
+
f("span", null, N(i.value ? `${e.partialResults.results.count === 1 ? B(a)("js.components.AVBlankOption.vote_count_singular") : B(a)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? B(a)("js.components.AVBlankOption.vote_count_singular") : B(a)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
26958
26963
|
e.partialResults.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26959
26964
|
h21,
|
26960
|
-
f("span", null,
|
26965
|
+
f("span", null, N(`${e.partialResults.results.percentage}%`), 1)
|
26961
26966
|
], 64)) : I("", !0)
|
26962
26967
|
])) : I("", !0)
|
26963
26968
|
])
|
@@ -26967,10 +26972,10 @@ const f21 = /* @__PURE__ */ J(o21, [["__scopeId", "data-v-785ef04b"]]), g$ = (e)
|
|
26967
26972
|
icon: "user",
|
26968
26973
|
class: "AVBlankOption--realtime-results-icon"
|
26969
26974
|
}),
|
26970
|
-
f("span", null,
|
26975
|
+
f("span", null, N(i.value ? `${e.partialResults.results.count === 1 ? B(a)("js.components.AVBlankOption.vote_count_singular") : B(a)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? B(a)("js.components.AVBlankOption.vote_count_singular") : B(a)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
26971
26976
|
e.partialResults.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26972
26977
|
V21,
|
26973
|
-
f("span", null,
|
26978
|
+
f("span", null, N(`${e.partialResults.results.percentage}%`), 1)
|
26974
26979
|
], 64)) : I("", !0)
|
26975
26980
|
])) : I("", !0)
|
26976
26981
|
], 2);
|
@@ -27021,7 +27026,7 @@ const H21 = /* @__PURE__ */ J(M21, [["__scopeId", "data-v-ee117d09"]]), g21 = ["
|
|
27021
27026
|
const a = D1("i18n"), { t } = a.global, i = e, n = c;
|
27022
27027
|
A1(() => {
|
27023
27028
|
i.locale && p1(i.locale);
|
27024
|
-
}),
|
27029
|
+
}), r1(
|
27025
27030
|
() => i.locale,
|
27026
27031
|
() => {
|
27027
27032
|
i.locale && p1(i.locale);
|
@@ -27047,7 +27052,7 @@ const H21 = /* @__PURE__ */ J(M21, [["__scopeId", "data-v-ee117d09"]]), g21 = ["
|
|
27047
27052
|
}, [
|
27048
27053
|
f("div", C21, [
|
27049
27054
|
f("div", b21, [
|
27050
|
-
f("div", L21,
|
27055
|
+
f("div", L21, N(B(t)("js.components.AVWriteInOption.title")), 1),
|
27051
27056
|
f("div", A21, [
|
27052
27057
|
f("select", {
|
27053
27058
|
class: "AVWriteInOption--form-control",
|
@@ -27055,12 +27060,12 @@ const H21 = /* @__PURE__ */ J(M21, [["__scopeId", "data-v-ee117d09"]]), g21 = ["
|
|
27055
27060
|
disabled: e.disabled,
|
27056
27061
|
onInput: m[0] || (m[0] = (v) => l(v.target.value))
|
27057
27062
|
}, [
|
27058
|
-
f("option", x21,
|
27063
|
+
f("option", x21, N(B(t)("js.components.AVWriteInOption.choose_party")), 1),
|
27059
27064
|
(d(!0), h(a1, null, g1(e.parties, (v) => (d(), h("option", {
|
27060
27065
|
key: v.letter,
|
27061
27066
|
value: v.letter,
|
27062
27067
|
selected: v.letter === e.partyValue
|
27063
|
-
},
|
27068
|
+
}, N(v.letter) + " - " + N(v.name), 9, N21))), 128))
|
27064
27069
|
], 40, _21),
|
27065
27070
|
f("input", {
|
27066
27071
|
value: e.candidateValue,
|
@@ -27121,7 +27126,7 @@ const S21 = /* @__PURE__ */ J(k21, [["__scopeId", "data-v-f2bba574"]]), w21 = (e
|
|
27121
27126
|
), i = e;
|
27122
27127
|
A1(() => {
|
27123
27128
|
i.locale && p1(i.locale);
|
27124
|
-
}),
|
27129
|
+
}), r1(
|
27125
27130
|
() => i.locale,
|
27126
27131
|
() => {
|
27127
27132
|
i.locale && p1(i.locale);
|
@@ -27141,20 +27146,20 @@ const S21 = /* @__PURE__ */ J(k21, [["__scopeId", "data-v-f2bba574"]]), w21 = (e
|
|
27141
27146
|
"AVSubmissionHelper--weight": !0,
|
27142
27147
|
"AVSubmissionHelper--weight-danger": e.errors.length > 0
|
27143
27148
|
})
|
27144
|
-
},
|
27149
|
+
}, N(B(a)("js.components.AVSubmissionHelper.your_vote_weight", { weight: e.weight })), 3)) : I("", !0),
|
27145
27150
|
e.errors.length > 0 ? (d(), h("div", I21, [
|
27146
27151
|
(d(!0), h(a1, null, g1(n.value, (r) => (d(), h("div", {
|
27147
27152
|
key: r,
|
27148
27153
|
role: "alert",
|
27149
|
-
textContent:
|
27154
|
+
textContent: N(r)
|
27150
27155
|
}, null, 8, E21))), 128)),
|
27151
27156
|
D21
|
27152
27157
|
])) : I("", !0),
|
27153
27158
|
e.maxMarks > 1 ? (d(), h("div", P21, [
|
27154
27159
|
f("div", O21, [
|
27155
|
-
e.minMarks === e.maxMarks ? (d(), h("div", B21,
|
27160
|
+
e.minMarks === e.maxMarks ? (d(), h("div", B21, N(`${B(a)("js.components.AVSubmissionHelper.select_exactly", {
|
27156
27161
|
min_marks: e.minMarks
|
27157
|
-
})}`), 1)) : (d(), h("div", F21,
|
27162
|
+
})}`), 1)) : (d(), h("div", F21, N(`${e.hasExclusiveOptions ? B(a)(
|
27158
27163
|
"js.components.AVSubmissionHelper.select_multiple_with_exclusives",
|
27159
27164
|
{ min_marks: e.minMarks, max_marks: e.maxMarks }
|
27160
27165
|
) : B(a)("js.components.AVSubmissionHelper.select_multiple", {
|
@@ -27170,7 +27175,7 @@ const S21 = /* @__PURE__ */ J(k21, [["__scopeId", "data-v-f2bba574"]]), w21 = (e
|
|
27170
27175
|
}, null, 8, R21)) : I("", !0)
|
27171
27176
|
])
|
27172
27177
|
])) : (d(), h("div", j21, [
|
27173
|
-
f("div", null,
|
27178
|
+
f("div", null, N(B(a)("js.components.AVSubmissionHelper.select_single")), 1)
|
27174
27179
|
]))
|
27175
27180
|
], 2)
|
27176
27181
|
]));
|
@@ -27214,7 +27219,7 @@ const W21 = ["aria-label"], G21 = { class: "AVSearchBallot--form-group" }, J21 =
|
|
27214
27219
|
), { eventBusEmit: i } = M$(), n = e;
|
27215
27220
|
A1(() => {
|
27216
27221
|
n.locale && p1(n.locale);
|
27217
|
-
}),
|
27222
|
+
}), r1(
|
27218
27223
|
() => n.locale,
|
27219
27224
|
() => {
|
27220
27225
|
n.locale && p1(n.locale);
|
@@ -27241,7 +27246,7 @@ const W21 = ["aria-label"], G21 = { class: "AVSearchBallot--form-group" }, J21 =
|
|
27241
27246
|
f("label", {
|
27242
27247
|
for: "ballot_search",
|
27243
27248
|
class: "AVSearchBallot--label",
|
27244
|
-
textContent:
|
27249
|
+
textContent: N(B(a)("js.components.AVSearchBallot.search_the_ballot"))
|
27245
27250
|
}, null, 8, J21),
|
27246
27251
|
f("div", Z21, [
|
27247
27252
|
G1(f("input", {
|
@@ -27265,7 +27270,7 @@ const W21 = ["aria-label"], G21 = { class: "AVSearchBallot--form-group" }, J21 =
|
|
27265
27270
|
(d(!0), h(a1, null, g1(r(H), (C) => (d(), h("li", {
|
27266
27271
|
key: C.reference,
|
27267
27272
|
class: "AVSeachOptionBallot--breadcrumb-item"
|
27268
|
-
},
|
27273
|
+
}, N(C.title[t.value]), 1))), 128))
|
27269
27274
|
])
|
27270
27275
|
])) : I("", !0),
|
27271
27276
|
f("div", {
|
@@ -27277,14 +27282,14 @@ const W21 = ["aria-label"], G21 = { class: "AVSearchBallot--form-group" }, J21 =
|
|
27277
27282
|
}, [
|
27278
27283
|
f("span", {
|
27279
27284
|
class: "AVSearchBallot--link",
|
27280
|
-
textContent:
|
27285
|
+
textContent: N(H.title[t.value])
|
27281
27286
|
}, null, 8, a31)
|
27282
27287
|
], 8, c31)
|
27283
27288
|
], 8, K21))), 128)),
|
27284
27289
|
s.value && l.value.length === 0 ? (d(), h("div", {
|
27285
27290
|
key: 0,
|
27286
27291
|
class: "AVSearchBallot--alert",
|
27287
|
-
textContent:
|
27292
|
+
textContent: N(B(a)("js.components.AVSearchBallot.no_results"))
|
27288
27293
|
}, null, 8, t31)) : I("", !0)
|
27289
27294
|
])
|
27290
27295
|
], 40, W21));
|
@@ -27314,7 +27319,7 @@ const n31 = /* @__PURE__ */ J(i31, [["__scopeId", "data-v-727c3aa7"]]), s31 = {
|
|
27314
27319
|
const c = D1("i18n"), { t: a } = c.global, t = e;
|
27315
27320
|
return A1(() => {
|
27316
27321
|
t.locale && p1(t.locale);
|
27317
|
-
}),
|
27322
|
+
}), r1(
|
27318
27323
|
() => t.locale,
|
27319
27324
|
() => {
|
27320
27325
|
t.locale && p1(t.locale);
|
@@ -27323,20 +27328,20 @@ const n31 = /* @__PURE__ */ J(i31, [["__scopeId", "data-v-727c3aa7"]]), s31 = {
|
|
27323
27328
|
), (i, n) => (d(), h("div", s31, [
|
27324
27329
|
f("div", l31, [
|
27325
27330
|
f("span", null, [
|
27326
|
-
z1(
|
27327
|
-
f("strong", null,
|
27331
|
+
z1(N(B(a)("js.components.AVSplitWeightHelper.total")) + " ", 1),
|
27332
|
+
f("strong", null, N(e.assignedWeight + e.unusedWeight), 1)
|
27328
27333
|
])
|
27329
27334
|
]),
|
27330
27335
|
f("div", r31, [
|
27331
27336
|
f("span", null, [
|
27332
|
-
z1(
|
27333
|
-
f("strong", null,
|
27337
|
+
z1(N(B(a)("js.components.AVSplitWeightHelper.assigned")) + " ", 1),
|
27338
|
+
f("strong", null, N(e.assignedWeight), 1)
|
27334
27339
|
])
|
27335
27340
|
]),
|
27336
27341
|
f("div", o31, [
|
27337
27342
|
f("span", null, [
|
27338
|
-
z1(
|
27339
|
-
f("strong", null,
|
27343
|
+
z1(N(B(a)("js.components.AVSplitWeightHelper.unused")) + " ", 1),
|
27344
|
+
f("strong", null, N(e.unusedWeight), 1)
|
27340
27345
|
])
|
27341
27346
|
])
|
27342
27347
|
]));
|
@@ -27386,7 +27391,7 @@ const u31 = /* @__PURE__ */ J(f31, [["__scopeId", "data-v-f145cdd2"]]), m31 = {
|
|
27386
27391
|
const c = D1("i18n"), { t: a } = c.global, t = e;
|
27387
27392
|
return A1(() => {
|
27388
27393
|
t.locale && p1(t.locale);
|
27389
|
-
}),
|
27394
|
+
}), r1(
|
27390
27395
|
() => t.locale,
|
27391
27396
|
() => {
|
27392
27397
|
t.locale && p1(t.locale);
|
@@ -27395,9 +27400,9 @@ const u31 = /* @__PURE__ */ J(f31, [["__scopeId", "data-v-f145cdd2"]]), m31 = {
|
|
27395
27400
|
), (i, n) => {
|
27396
27401
|
const s = D("AVTooltip");
|
27397
27402
|
return d(), h("header", m31, [
|
27398
|
-
e.activeState === "ballot" ? (d(), h("p", d31,
|
27403
|
+
e.activeState === "ballot" ? (d(), h("p", d31, N(e.isEditing ? `${B(a)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex + 1}` : `${B(a)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length + 1}`), 1)) : e.activeState === "assign" ? (d(), h("p", v31, N(e.isEditing ? `${B(a)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}` : `${B(a)(
|
27399
27404
|
"js.components.AVSplitWizardHeader.assign.header_edit_mode"
|
27400
|
-
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (d(), h("p", p31,
|
27405
|
+
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (d(), h("p", p31, N(B(a)("js.components.AVSplitWizardHeader.overview.header")), 1)),
|
27401
27406
|
(e.activeState, I("", !0))
|
27402
27407
|
]);
|
27403
27408
|
};
|
@@ -27506,7 +27511,7 @@ const P31 = /* @__PURE__ */ J(w31, [["render", D31], ["__scopeId", "data-v-1923e
|
|
27506
27511
|
emits: ["clickOutside"],
|
27507
27512
|
setup(e, { emit: c }) {
|
27508
27513
|
const a = c, t = e;
|
27509
|
-
return
|
27514
|
+
return r1(
|
27510
27515
|
() => t.modalActive,
|
27511
27516
|
() => {
|
27512
27517
|
t.modalActive && (document.body.style.overflowY = "hidden"), t.modalActive || (document.body.style.overflowY = "scroll");
|
@@ -27731,7 +27736,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27731
27736
|
), n = e, s = c;
|
27732
27737
|
A1(() => {
|
27733
27738
|
n.locale && p1(n.locale);
|
27734
|
-
}),
|
27739
|
+
}), r1(
|
27735
27740
|
() => n.locale,
|
27736
27741
|
() => {
|
27737
27742
|
n.locale && p1(n.locale);
|
@@ -27741,64 +27746,64 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27741
27746
|
const l = i1(!1), r = i1(""), o = i1(""), m = i1(null), u = E(() => n.selectionPile.optionSelections), v = E(() => new C$(n.contest)), p = E(
|
27742
27747
|
() => n.contest.disregardVoterWeight ? null : n.weight
|
27743
27748
|
), H = E(() => {
|
27744
|
-
var
|
27745
|
-
let
|
27746
|
-
return (
|
27749
|
+
var F;
|
27750
|
+
let x = [];
|
27751
|
+
return (F = n.contest.customRulesets) != null && F.includes("belgian_ballot_rules") && x.push(new $31(n.contest)), x;
|
27747
27752
|
}), C = E(() => {
|
27748
|
-
let
|
27753
|
+
let x = [];
|
27749
27754
|
H.value.forEach((Q) => {
|
27750
|
-
|
27755
|
+
x.push(...Q.validate(n.selectionPile));
|
27751
27756
|
});
|
27752
|
-
const
|
27757
|
+
const F = [
|
27753
27758
|
...v.value.validate(n.selectionPile, n.includeLazyErrors),
|
27754
|
-
...
|
27759
|
+
...x
|
27755
27760
|
];
|
27756
|
-
if (g.value &&
|
27761
|
+
if (g.value && F.some((Q) => Q.message === "cross_party_voting")) {
|
27757
27762
|
let Q;
|
27758
|
-
|
27763
|
+
F.some((O) => O.message === "exclusive") && (Q = F.findIndex(
|
27759
27764
|
(O) => O.message === "exclusive"
|
27760
|
-
),
|
27765
|
+
), F.splice(Q, 1)), F.some((O) => O.message === "blank") && (Q = F.findIndex(
|
27761
27766
|
(O) => O.message === "cross_party_voting"
|
27762
|
-
),
|
27767
|
+
), F.splice(Q, 1));
|
27763
27768
|
}
|
27764
|
-
return s("update:errors",
|
27769
|
+
return s("update:errors", F), F;
|
27765
27770
|
}), b = E(() => C.value.length === 0), _ = E(() => {
|
27766
|
-
var
|
27767
|
-
return (
|
27771
|
+
var x;
|
27772
|
+
return (x = n.contest.question) == null ? void 0 : x[i.value];
|
27768
27773
|
}), g = E(
|
27769
27774
|
() => {
|
27770
|
-
var
|
27771
|
-
return (
|
27775
|
+
var x;
|
27776
|
+
return (x = n.contest.customRulesets) == null ? void 0 : x.includes("belgian_ballot_rules");
|
27772
27777
|
}
|
27773
27778
|
), z = E(() => w(n.contest.options).some(
|
27774
|
-
(
|
27779
|
+
(x) => x.exclusive
|
27775
27780
|
)), L = E(() => n.contest);
|
27776
|
-
|
27781
|
+
r1(L, (x, F) => {
|
27777
27782
|
var Q;
|
27778
|
-
|
27783
|
+
F && x && x.reference !== F.reference && ((Q = document.getElementById("content")) == null || Q.focus(), F.searchForm && (m.value.value = ""));
|
27779
27784
|
});
|
27780
27785
|
const A = () => {
|
27781
27786
|
s("update:selectionPile", {
|
27782
27787
|
...n.selectionPile,
|
27783
27788
|
explicitBlank: !n.selectionPile.explicitBlank
|
27784
27789
|
});
|
27785
|
-
}, y = ({ reference:
|
27790
|
+
}, y = ({ reference: x, amount: F }) => {
|
27786
27791
|
const Q = u.value.filter(
|
27787
|
-
(e1) => e1.reference ===
|
27792
|
+
(e1) => e1.reference === x
|
27788
27793
|
).length;
|
27789
|
-
|
27794
|
+
F === Q && (F = F - 1);
|
27790
27795
|
const O = u.value.filter(
|
27791
|
-
(e1) => e1.reference !==
|
27796
|
+
(e1) => e1.reference !== x
|
27792
27797
|
);
|
27793
|
-
for (let e1 = 0; e1 <
|
27794
|
-
O.push({ reference:
|
27798
|
+
for (let e1 = 0; e1 < F; e1++)
|
27799
|
+
O.push({ reference: x });
|
27795
27800
|
s("update:selectionPile", {
|
27796
27801
|
...n.selectionPile,
|
27797
27802
|
optionSelections: O
|
27798
27803
|
});
|
27799
|
-
}, k = (
|
27800
|
-
return (
|
27801
|
-
const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"),
|
27804
|
+
}, k = (x) => s("view-candidate", x), w = (x, F) => x.flatMap((Q) => (F && (Q.parentContent = F), Q.children ? [Q, ...w(Q.children, Q)] : [Q]));
|
27805
|
+
return (x, F) => {
|
27806
|
+
const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), l1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
|
27802
27807
|
return d(), h("div", {
|
27803
27808
|
class: $({
|
27804
27809
|
AVBallot: !0,
|
@@ -27812,7 +27817,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27812
27817
|
id: `ballot_${e.contest.reference}_question`,
|
27813
27818
|
class: "AVBallot--question",
|
27814
27819
|
"aria-live": "polite"
|
27815
|
-
},
|
27820
|
+
}, N(_.value), 9, G31)) : I("", !0),
|
27816
27821
|
e.contest.searchForm && !e.disabled && !e.observerMode ? (d(), K(Q, {
|
27817
27822
|
key: 1,
|
27818
27823
|
ref_key: "search",
|
@@ -27837,11 +27842,11 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27837
27842
|
Z.writeIn ? (d(), K(O, {
|
27838
27843
|
key: 0,
|
27839
27844
|
"candidate-value": o.value,
|
27840
|
-
"onUpdate:candidateValue":
|
27845
|
+
"onUpdate:candidateValue": F[0] || (F[0] = (m1) => o.value = m1),
|
27841
27846
|
"party-value": r.value,
|
27842
|
-
"onUpdate:partyValue":
|
27847
|
+
"onUpdate:partyValue": F[1] || (F[1] = (m1) => r.value = m1),
|
27843
27848
|
"checked-value": l.value,
|
27844
|
-
"onUpdate:checkedValue":
|
27849
|
+
"onUpdate:checkedValue": F[2] || (F[2] = (m1) => l.value = m1),
|
27845
27850
|
parties: [],
|
27846
27851
|
disabled: e.disabled,
|
27847
27852
|
observerMode: e.observerMode
|
@@ -27860,7 +27865,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27860
27865
|
onViewCandidate: k
|
27861
27866
|
}, null, 8, ["selections", "option", "invalid", "exclusive-error", "contest", "disabled", "observerMode", "partial-results", "image-option"]))
|
27862
27867
|
], 64))), 128)),
|
27863
|
-
e.contest.markingType.blankSubmission === "active_choice" ? (d(), K(
|
27868
|
+
e.contest.markingType.blankSubmission === "active_choice" ? (d(), K(l1, {
|
27864
27869
|
key: 0,
|
27865
27870
|
checked: e.selectionPile.explicitBlank,
|
27866
27871
|
error: !g.value && C.value.some((Z) => Z.message.includes("blank")),
|
@@ -27949,7 +27954,7 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
|
|
27949
27954
|
), n = c, s = e;
|
27950
27955
|
A1(() => {
|
27951
27956
|
s.locale && p1(s.locale);
|
27952
|
-
}),
|
27957
|
+
}), r1(
|
27953
27958
|
() => s.locale,
|
27954
27959
|
() => {
|
27955
27960
|
s.locale && p1(s.locale);
|
@@ -28000,10 +28005,10 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
|
|
28000
28005
|
const _ = D("AVSummaryOption"), g = D("AVIcon");
|
28001
28006
|
return e.activeState === "summary" ? (d(), h("div", X31, [
|
28002
28007
|
e.contest.markingType.maxPiles !== 1 ? (d(), h("header", e41, [
|
28003
|
-
f("span", null,
|
28004
|
-
f("span", c41,
|
28008
|
+
f("span", null, N(B(t)("js.components.AVPileSummary.selection")) + " " + N(e.pileIndex + 1) + " / " + N(e.totalPiles), 1),
|
28009
|
+
f("span", c41, N(e.selectionPile.multiplier) + " " + N(B(t)("js.components.AVPileSummary.ballots")), 1)
|
28005
28010
|
])) : (d(), h("header", a41, [
|
28006
|
-
f("span", null,
|
28011
|
+
f("span", null, N(B(t)("js.components.AVPileSummary.selection")), 1)
|
28007
28012
|
])),
|
28008
28013
|
f("div", t41, [
|
28009
28014
|
(d(!0), h(a1, null, g1(H.value.options, (z, L) => (d(), K(_, {
|
@@ -28028,23 +28033,23 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
|
|
28028
28033
|
}, [
|
28029
28034
|
f("div", l41, [
|
28030
28035
|
T(g, { icon: "pen-to-square" }),
|
28031
|
-
f("span", null,
|
28036
|
+
f("span", null, N(B(t)("js.components.AVPileSummary.ballot_selection")) + " " + N(e.pileIndex + 1), 1)
|
28032
28037
|
]),
|
28033
|
-
e.activeState === "overview" || e.isEditing ? (d(), h("span", r41,
|
28038
|
+
e.activeState === "overview" || e.isEditing ? (d(), h("span", r41, N(B(t)("js.components.AVPileSummary.assigned")) + " " + N(e.selectionPile.multiplier), 1)) : I("", !0)
|
28034
28039
|
], 8, s41),
|
28035
28040
|
f("div", o41, [
|
28036
|
-
o.value ? (d(), h("p", f41,
|
28041
|
+
o.value ? (d(), h("p", f41, N(B(t)("js.components.AVPileSummary.blank")), 1)) : I("", !0),
|
28037
28042
|
(d(!0), h(a1, null, g1(H.value.options, (z, L) => (d(), h("p", {
|
28038
28043
|
key: L,
|
28039
28044
|
class: "AVPileSummary--assign-text"
|
28040
|
-
},
|
28045
|
+
}, N(z.rank ? `${z.rank}: ` : "") + N(z.title), 1))), 128)),
|
28041
28046
|
(d(!0), h(a1, null, g1(H.value.writeIns, (z, L) => (d(), h("p", {
|
28042
28047
|
key: L,
|
28043
28048
|
class: "AVPileSummary--assign-text"
|
28044
28049
|
}, [
|
28045
|
-
f("b", null,
|
28050
|
+
f("b", null, N(z.partyLetter) + " - " + N(z.partyName), 1),
|
28046
28051
|
u41,
|
28047
|
-
f("span", null,
|
28052
|
+
f("span", null, N(z.candidateName), 1)
|
28048
28053
|
]))), 128)),
|
28049
28054
|
u.value > 0 ? (d(), h("p", {
|
28050
28055
|
key: 1,
|
@@ -28053,7 +28058,7 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
|
|
28053
28058
|
onClick: b[1] || (b[1] = m2((z) => l.value = !0, ["stop", "prevent"]))
|
28054
28059
|
}, [
|
28055
28060
|
f("u", null, [
|
28056
|
-
f("em", null,
|
28061
|
+
f("em", null, N(`${B(t)(
|
28057
28062
|
"js.components.AVPileSummary.and_n_more_pre"
|
28058
28063
|
)} ${u.value} ${B(t)(
|
28059
28064
|
"js.components.AVPileSummary.and_n_more_pos"
|
@@ -28067,7 +28072,7 @@ const Q31 = /* @__PURE__ */ J(Y31, [["__scopeId", "data-v-21030ff1"]]), K31 = (e
|
|
28067
28072
|
onClick: b[2] || (b[2] = m2((z) => l.value = !1, ["stop", "prevent"]))
|
28068
28073
|
}, [
|
28069
28074
|
f("u", null, [
|
28070
|
-
f("em", null,
|
28075
|
+
f("em", null, N(B(t)("js.components.AVPileSummary.show_less")), 1)
|
28071
28076
|
])
|
28072
28077
|
])) : I("", !0)
|
28073
28078
|
])
|
@@ -28169,11 +28174,11 @@ const V41 = {
|
|
28169
28174
|
"view-candidate"
|
28170
28175
|
],
|
28171
28176
|
setup(e, { emit: c }) {
|
28172
|
-
var
|
28177
|
+
var l1;
|
28173
28178
|
const a = D1("i18n"), { t } = a.global, i = E(
|
28174
28179
|
() => a.global.locale.value || a.global.locale
|
28175
28180
|
), n = e, s = c;
|
28176
|
-
|
28181
|
+
r1(
|
28177
28182
|
() => n.locale,
|
28178
28183
|
() => {
|
28179
28184
|
n.locale && p1(n.locale);
|
@@ -28187,7 +28192,7 @@ const V41 = {
|
|
28187
28192
|
explicitBlank: !1
|
28188
28193
|
}
|
28189
28194
|
), o = i1(
|
28190
|
-
((
|
28195
|
+
((l1 = n.contestSelection.piles) == null ? void 0 : l1.length) === 0 || n.contest.markingType.maxPiles === 1 ? "ballot" : "overview"
|
28191
28196
|
), m = i1([]), u = E(() => n.contestSelection.piles), v = E(
|
28192
28197
|
() => {
|
28193
28198
|
var U;
|
@@ -28230,33 +28235,33 @@ const V41 = {
|
|
28230
28235
|
});
|
28231
28236
|
}, w = (U) => {
|
28232
28237
|
r.value = U, z.value || k();
|
28233
|
-
},
|
28238
|
+
}, x = () => {
|
28234
28239
|
r.value = {
|
28235
28240
|
optionSelections: [],
|
28236
28241
|
multiplier: g.value,
|
28237
28242
|
explicitBlank: !1
|
28238
28243
|
}, l.value = null, o.value = "ballot";
|
28239
|
-
},
|
28244
|
+
}, F = (U) => {
|
28240
28245
|
u.value.splice(U, 1);
|
28241
28246
|
}, Q = (U) => {
|
28242
28247
|
r.value = { ...u.value[U] }, l.value = U, o.value = "ballot";
|
28243
28248
|
}, O = (U) => {
|
28244
28249
|
m.value = U;
|
28245
28250
|
}, e1 = (U) => s("view-candidate", U);
|
28246
|
-
return
|
28251
|
+
return r1(C, (U) => s("update:complete", U)), r1(_, () => {
|
28247
28252
|
r.value && (r.value.multiplier = Math.max(
|
28248
28253
|
0,
|
28249
28254
|
Math.min(_.value, g.value)
|
28250
28255
|
));
|
28251
|
-
}),
|
28256
|
+
}), r1(r, (U) => {
|
28252
28257
|
s("update:activePile", U);
|
28253
|
-
}),
|
28258
|
+
}), r1(o, (U) => s("update:activeState", U)), A1(() => {
|
28254
28259
|
n.locale && p1(n.locale), s("update:activePile", r.value), s("update:activeState", o.value), s("update:complete", C.value), z.value || k();
|
28255
28260
|
}), (U, Z) => {
|
28256
28261
|
var I1;
|
28257
28262
|
const m1 = D("AVSplitWizardHeader"), P1 = D("AVBallot"), q1 = D("AVPileSummary"), O1 = D("AVSplitWeightHelper"), J1 = D("AVIcon");
|
28258
28263
|
return d(), h(a1, null, [
|
28259
|
-
f("h3", V41,
|
28264
|
+
f("h3", V41, N(e.contest.title[i.value]), 1),
|
28260
28265
|
f("div", {
|
28261
28266
|
class: "AVSplitHelper--description",
|
28262
28267
|
innerHTML: (I1 = e.contest.description) == null ? void 0 : I1[i.value]
|
@@ -28296,7 +28301,7 @@ const V41 = {
|
|
28296
28301
|
key: "back",
|
28297
28302
|
class: "AVSplitHelper--btn-secondary",
|
28298
28303
|
onClick: Z[1] || (Z[1] = (F1) => o.value = "overview")
|
28299
|
-
},
|
28304
|
+
}, N(B(t)("js.components.AVSplitHelper.ballot.back_button")), 1)) : I("", !0)
|
28300
28305
|
]),
|
28301
28306
|
f("div", C41, [
|
28302
28307
|
f("button", {
|
@@ -28304,12 +28309,12 @@ const V41 = {
|
|
28304
28309
|
class: "AVSplitHelper--btn-primary",
|
28305
28310
|
disabled: !A(r.value) || y(r.value),
|
28306
28311
|
onClick: Z[2] || (Z[2] = (F1) => o.value = "assign")
|
28307
|
-
},
|
28312
|
+
}, N(B(t)("js.components.AVSplitHelper.ballot.confirm_button")), 9, b41)
|
28308
28313
|
])
|
28309
28314
|
])
|
28310
28315
|
])) : o.value === "assign" ? (d(), h("div", L41, [
|
28311
28316
|
f("div", A41, [
|
28312
|
-
f("h4", _41,
|
28317
|
+
f("h4", _41, N(B(t)("js.components.AVSplitHelper.assign.split_question")), 1),
|
28313
28318
|
T(q1, {
|
28314
28319
|
"selection-pile": r.value,
|
28315
28320
|
contest: e.contest,
|
@@ -28324,7 +28329,7 @@ const V41 = {
|
|
28324
28329
|
f("label", {
|
28325
28330
|
for: `${e.contest.reference}-ballot-selector`,
|
28326
28331
|
class: "AVSplitHelper--assign-label"
|
28327
|
-
},
|
28332
|
+
}, N(L.value ? B(t)(
|
28328
28333
|
"js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"
|
28329
28334
|
) : B(t)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, x41),
|
28330
28335
|
G1(f("input", {
|
@@ -28348,7 +28353,7 @@ const V41 = {
|
|
28348
28353
|
key: "ballot",
|
28349
28354
|
class: "AVSplitHelper--btn-secondary",
|
28350
28355
|
onClick: Z[5] || (Z[5] = (F1) => o.value = "ballot")
|
28351
|
-
},
|
28356
|
+
}, N(B(t)("js.components.AVSplitHelper.assign.back_button")), 1)
|
28352
28357
|
]),
|
28353
28358
|
f("div", S41, [
|
28354
28359
|
f("button", {
|
@@ -28356,7 +28361,7 @@ const V41 = {
|
|
28356
28361
|
class: "AVSplitHelper--btn-primary",
|
28357
28362
|
disabled: ((z2 = r.value) == null ? void 0 : z2.multiplier) < 1 || ((A2 = r.value) == null ? void 0 : A2.multiplier) > g.value,
|
28358
28363
|
onClick: Z[6] || (Z[6] = (F1) => k())
|
28359
|
-
},
|
28364
|
+
}, N(B(t)("js.components.AVSplitHelper.assign.confirm_button")), 9, w41)
|
28360
28365
|
])
|
28361
28366
|
])
|
28362
28367
|
])) : o.value === "overview" ? (d(), h("div", T41, [
|
@@ -28365,20 +28370,20 @@ const V41 = {
|
|
28365
28370
|
icon: "circle-check",
|
28366
28371
|
class: "AVSplitHelper--overview-success-icon"
|
28367
28372
|
}),
|
28368
|
-
z1(" " +
|
28373
|
+
z1(" " + N(B(t)("js.components.AVSplitHelper.overview.all_ballots_assigned")), 1)
|
28369
28374
|
])) : (d(), h("div", E41, [
|
28370
28375
|
f("p", D41, [
|
28371
|
-
f("strong", null,
|
28372
|
-
z1(" " +
|
28376
|
+
f("strong", null, N(v.value), 1),
|
28377
|
+
z1(" " + N(B(t)("js.components.AVSplitHelper.overview.ballots_left")), 1)
|
28373
28378
|
]),
|
28374
28379
|
f("button", {
|
28375
28380
|
key: "newSelection",
|
28376
28381
|
class: "AVSplitHelper--overview-new-ballot-btn",
|
28377
28382
|
disabled: v.value === 0,
|
28378
|
-
onClick:
|
28383
|
+
onClick: x
|
28379
28384
|
}, [
|
28380
28385
|
T(J1, { icon: "file-circle-plus" }),
|
28381
|
-
z1(" " +
|
28386
|
+
z1(" " + N(B(t)("js.components.AVSplitHelper.overview.new_ballot_selection")), 1)
|
28382
28387
|
], 8, P41)
|
28383
28388
|
])),
|
28384
28389
|
(d(!0), h(a1, null, g1(u.value, (F1, o2) => (d(), h("article", {
|
@@ -28393,7 +28398,7 @@ const V41 = {
|
|
28393
28398
|
"pile-index": o2,
|
28394
28399
|
"total-piles": e.contestSelection.piles.length,
|
28395
28400
|
"image-option": e.imageOption,
|
28396
|
-
onDeleteSelection: (t3) =>
|
28401
|
+
onDeleteSelection: (t3) => F(o2)
|
28397
28402
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "image-option", "onDeleteSelection"])
|
28398
28403
|
], 8, O41))), 128))
|
28399
28404
|
])) : I("", !0)
|
@@ -28505,7 +28510,7 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28505
28510
|
);
|
28506
28511
|
return A1(() => {
|
28507
28512
|
u.locale && p1(u.locale);
|
28508
|
-
}),
|
28513
|
+
}), r1(
|
28509
28514
|
() => u.locale,
|
28510
28515
|
() => {
|
28511
28516
|
u.locale && p1(u.locale);
|
@@ -28533,10 +28538,10 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28533
28538
|
)
|
28534
28539
|
}, [
|
28535
28540
|
f("div", $41, [
|
28536
|
-
e.summary && n.value ? (d(), h("h4", U41,
|
28537
|
-
e.summary && s.value ? (d(), h("h5", W41,
|
28541
|
+
e.summary && n.value ? (d(), h("h4", U41, N(n.value), 1)) : I("", !0),
|
28542
|
+
e.summary && s.value ? (d(), h("h5", W41, N(s.value), 1)) : I("", !0),
|
28538
28543
|
e.summary && e.candidate.groups && !e.card ? (d(), h("div", G41, [
|
28539
|
-
f("h4", J41,
|
28544
|
+
f("h4", J41, N(l.value.title), 1),
|
28540
28545
|
l.value.surplus ? (d(), K(C, {
|
28541
28546
|
key: 0,
|
28542
28547
|
text: B(a)("js.components.AVResourceSection.and_more", {
|
@@ -28562,7 +28567,7 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28562
28567
|
"AVResourceFields--divisor": g.item_type === "check_box"
|
28563
28568
|
})
|
28564
28569
|
}, [
|
28565
|
-
z1(
|
28570
|
+
z1(N(g.label[i.value]) + " ", 1),
|
28566
28571
|
g.item_type === "check_box" ? (d(), K(b, {
|
28567
28572
|
key: 0,
|
28568
28573
|
icon: g.form_content ? "square-check" : "square-xmark",
|
@@ -28574,14 +28579,14 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28574
28579
|
], 2)),
|
28575
28580
|
!e.summary && g.item_type !== "check_box" ? (d(), h("hr", Z41)) : I("", !0),
|
28576
28581
|
g.item_type === "link_list" && m(g) ? (d(), h("div", Y41, [
|
28577
|
-
e.summary ? (d(), h("span", Q41,
|
28582
|
+
e.summary ? (d(), h("span", Q41, N(`${g.label[i.value]}:`), 1)) : I("", !0),
|
28578
28583
|
(d(!0), h(a1, null, g1(g.form_content, (z) => (d(), K(_, {
|
28579
28584
|
key: z.attributes.name,
|
28580
28585
|
link: z,
|
28581
28586
|
large: !e.summary
|
28582
28587
|
}, null, 8, ["link", "large"]))), 128))
|
28583
28588
|
])) : g.item_type === "check_box" && e.summary ? (d(), h("div", K41, [
|
28584
|
-
f("span", null,
|
28589
|
+
f("span", null, N(`${g.label[i.value]}`), 1),
|
28585
28590
|
T(b, {
|
28586
28591
|
icon: g.form_content ? "square-check" : "square-xmark",
|
28587
28592
|
class: $(
|
@@ -28590,8 +28595,8 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28590
28595
|
"aria-label": g.form_content ? B(a)("js.components.AVResourceSection.true") : B(a)("js.components.AVResourceSection.false")
|
28591
28596
|
}, null, 8, ["icon", "class", "aria-label"])
|
28592
28597
|
])) : g.item_type === "select" && m(g) ? (d(), h("div", X41, [
|
28593
|
-
e.summary ? (d(), h("span", e61,
|
28594
|
-
z1(" " +
|
28598
|
+
e.summary ? (d(), h("span", e61, N(`${g.label[i.value]}:`), 1)) : I("", !0),
|
28599
|
+
z1(" " + N(g.form_content[i.value]), 1)
|
28595
28600
|
])) : g.item_type === "video" && m(g) ? (d(), h("div", c61, [
|
28596
28601
|
f("iframe", {
|
28597
28602
|
style: { width: "100%", height: "100%", "min-height": "400px" },
|
@@ -28602,14 +28607,14 @@ const F41 = /* @__PURE__ */ J(B41, [["__scopeId", "data-v-1c359a5f"]]), R41 = "d
|
|
28602
28607
|
class: "AVResourceFields--rich-text",
|
28603
28608
|
innerHTML: g.localised ? g.form_content[i.value] : g.form_content
|
28604
28609
|
}, null, 8, t61)) : g.item_type !== "rich_text_area" && g.item_type !== "check_box" ? (d(), h("p", i61, [
|
28605
|
-
e.summary ? (d(), h("span", n61,
|
28610
|
+
e.summary ? (d(), h("span", n61, N(`${g.label[i.value]}: `), 1)) : I("", !0),
|
28606
28611
|
g.item_type === "date" || g.item_type === "date_time" ? (d(), h(a1, { key: 1 }, [
|
28607
|
-
z1(
|
28612
|
+
z1(N(B(t)(
|
28608
28613
|
g.form_content,
|
28609
28614
|
g.item_type === "date" ? null : "long"
|
28610
28615
|
)), 1)
|
28611
28616
|
], 64)) : (d(), h(a1, { key: 2 }, [
|
28612
|
-
z1(
|
28617
|
+
z1(N(g.localised ? g.form_content[i.value] : g.form_content), 1)
|
28613
28618
|
], 64))
|
28614
28619
|
])) : I("", !0)
|
28615
28620
|
], 2)) : I("", !0)
|