@assemblyvoting/ui-library 3.1.27-beta.7 → 3.1.27-beta.8
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 +8 -8
- package/dist/index.js +187 -204
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -332,7 +332,7 @@ function lU(e, c = {}) {
|
|
332
332
|
const X = _(V.currentPeek());
|
333
333
|
return V.resetPeek(), X;
|
334
334
|
}
|
335
|
-
function
|
335
|
+
function w(V, M) {
|
336
336
|
const { currentType: P } = M;
|
337
337
|
if (!(P === 8 || P === 12))
|
338
338
|
return !1;
|
@@ -364,8 +364,8 @@ function lU(e, c = {}) {
|
|
364
364
|
}
|
365
365
|
function O(V, M = !0) {
|
366
366
|
const P = (_1 = !1, M1 = "", h1 = !1) => {
|
367
|
-
const
|
368
|
-
return
|
367
|
+
const S = V.currentPeek();
|
368
|
+
return S === "{" ? M1 === "%" ? !1 : _1 : S === "@" || !S ? M1 === "%" ? !0 : _1 : S === "%" ? (V.peek(), P(_1, "%", !0)) : S === "|" ? M1 === "%" || h1 ? !0 : !(M1 === V2 || M1 === R1) : S === V2 ? (V.peek(), P(!0, V2, h1)) : S === R1 ? (V.peek(), P(!0, R1, h1)) : !0;
|
369
369
|
}, X = P();
|
370
370
|
return M && V.resetPeek(), X;
|
371
371
|
}
|
@@ -594,7 +594,7 @@ function lU(e, c = {}) {
|
|
594
594
|
/* TokenChars.LinkedDelimiter */
|
595
595
|
);
|
596
596
|
default:
|
597
|
-
return R(V) ? (X = v(M, 1, d1(V)), M.braceNest = 0, M.inLinked = !1, X) : y(V, M) ||
|
597
|
+
return R(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))) : N(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) {
|
@@ -662,9 +662,9 @@ function fU(e, c, a) {
|
|
662
662
|
function uU(e = {}) {
|
663
663
|
const c = e.location !== !1, { onError: a, onWarn: t } = e;
|
664
664
|
function i(z, L, A, y, ...k) {
|
665
|
-
const
|
666
|
-
if (
|
667
|
-
const N = c ? P4(A,
|
665
|
+
const w = z.currentPosition();
|
666
|
+
if (w.offset += y, w.column += y, a) {
|
667
|
+
const N = c ? P4(A, w) : null, R = z3(L, N, {
|
668
668
|
domain: rU,
|
669
669
|
args: k
|
670
670
|
});
|
@@ -672,9 +672,9 @@ function uU(e = {}) {
|
|
672
672
|
}
|
673
673
|
}
|
674
674
|
function n(z, L, A, y, ...k) {
|
675
|
-
const
|
676
|
-
if (
|
677
|
-
const N = c ? P4(A,
|
675
|
+
const w = z.currentPosition();
|
676
|
+
if (w.offset += y, w.column += y, t) {
|
677
|
+
const N = c ? P4(A, w) : null;
|
678
678
|
t(Y$(L, N, k));
|
679
679
|
}
|
680
680
|
}
|
@@ -690,24 +690,24 @@ function uU(e = {}) {
|
|
690
690
|
return y.value = L, l(y, z.currentOffset(), z.currentPosition()), y;
|
691
691
|
}
|
692
692
|
function o(z, L) {
|
693
|
-
const A = z.context(), { lastOffset: y, lastStartLoc: k } = A,
|
694
|
-
return
|
693
|
+
const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(5, y, k);
|
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:
|
697
|
+
const y = z.context(), { lastOffset: k, lastStartLoc: w } = y, N = s(4, k, w);
|
698
698
|
return N.key = L, A === !0 && (N.modulo = !0), z.nextToken(), l(N, z.currentOffset(), z.currentPosition()), N;
|
699
699
|
}
|
700
700
|
function u(z, L) {
|
701
|
-
const A = z.context(), { lastOffset: y, lastStartLoc: k } = A,
|
702
|
-
return
|
701
|
+
const A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(9, y, k);
|
702
|
+
return w.value = L.replace(oU, fU), z.nextToken(), l(w, z.currentOffset(), z.currentPosition()), w;
|
703
703
|
}
|
704
704
|
function v(z) {
|
705
|
-
const L = z.nextToken(), A = z.context(), { lastOffset: y, lastStartLoc: k } = A,
|
706
|
-
return L.type !== 12 ? (i(z, c1.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0),
|
705
|
+
const L = z.nextToken(), A = z.context(), { lastOffset: y, lastStartLoc: k } = A, w = s(8, y, k);
|
706
|
+
return L.type !== 12 ? (i(z, c1.UNEXPECTED_EMPTY_LINKED_MODIFIER, A.lastStartLoc, 0), w.value = "", l(w, y, k), {
|
707
707
|
nextConsumeToken: L,
|
708
|
-
node:
|
709
|
-
}) : (L.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, t2(L)),
|
710
|
-
node:
|
708
|
+
node: w
|
709
|
+
}) : (L.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, A.lastStartLoc, 0, t2(L)), w.value = L.value || "", l(w, z.currentOffset(), z.currentPosition()), {
|
710
|
+
node: w
|
711
711
|
});
|
712
712
|
}
|
713
713
|
function p(z, L) {
|
@@ -736,8 +736,8 @@ function uU(e = {}) {
|
|
736
736
|
break;
|
737
737
|
default: {
|
738
738
|
i(z, c1.UNEXPECTED_EMPTY_LINKED_KEY, L.lastStartLoc, 0);
|
739
|
-
const k = z.context(),
|
740
|
-
return
|
739
|
+
const k = z.context(), w = s(7, k.offset, k.startLoc);
|
740
|
+
return w.value = "", l(w, k.offset, k.startLoc), A.key = w, l(A, k.offset, k.startLoc), {
|
741
741
|
nextConsumeToken: y,
|
742
742
|
node: A
|
743
743
|
};
|
@@ -750,10 +750,10 @@ 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
|
753
|
+
let w = null, N = null;
|
754
754
|
do {
|
755
|
-
const O =
|
756
|
-
switch (
|
755
|
+
const O = w || z.nextToken();
|
756
|
+
switch (w = null, O.type) {
|
757
757
|
case 0:
|
758
758
|
O.value == null && i(z, c1.UNEXPECTED_LEXICAL_ANALYSIS, L.lastStartLoc, 0, t2(O)), k.items.push(r(z, O.value || ""));
|
759
759
|
break;
|
@@ -771,7 +771,7 @@ function uU(e = {}) {
|
|
771
771
|
break;
|
772
772
|
case 8: {
|
773
773
|
const e1 = H(z);
|
774
|
-
k.items.push(e1.node),
|
774
|
+
k.items.push(e1.node), w = e1.nextConsumeToken || null;
|
775
775
|
break;
|
776
776
|
}
|
777
777
|
}
|
@@ -781,14 +781,14 @@ function uU(e = {}) {
|
|
781
781
|
}
|
782
782
|
function b(z, L, A, y) {
|
783
783
|
const k = z.context();
|
784
|
-
let
|
784
|
+
let w = y.items.length === 0;
|
785
785
|
const N = s(1, L, A);
|
786
786
|
N.cases = [], N.cases.push(y);
|
787
787
|
do {
|
788
788
|
const R = C(z);
|
789
|
-
|
789
|
+
w || (w = R.items.length === 0), N.cases.push(R);
|
790
790
|
} while (k.currentType !== 14);
|
791
|
-
return
|
791
|
+
return w && i(z, c1.MUST_HAVE_MESSAGES_IN_PLURAL, A, 0), l(N, z.currentOffset(), z.currentPosition()), N;
|
792
792
|
}
|
793
793
|
function _(z) {
|
794
794
|
const L = z.context(), { offset: A, startLoc: y } = L, k = C(z);
|
@@ -1405,11 +1405,11 @@ function FU(e = {}) {
|
|
1405
1405
|
const [z, L] = g;
|
1406
1406
|
let A = "text", y = "";
|
1407
1407
|
g.length === 1 ? u1(z) ? (y = z.modifier || y, A = z.type || A) : q(z) && (y = z || y) : g.length === 2 && (q(z) && (y = z || y), q(L) && (A = L || A));
|
1408
|
-
const k = m(_)(b),
|
1408
|
+
const k = m(_)(b), w = (
|
1409
1409
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
1410
1410
|
A === "vnode" && C1(k) && y ? k[0] : k
|
1411
1411
|
);
|
1412
|
-
return y ? u(y)(
|
1412
|
+
return y ? u(y)(w, A) : w;
|
1413
1413
|
},
|
1414
1414
|
message: m,
|
1415
1415
|
type: H,
|
@@ -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,
|
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, N = u1(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), R = 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 = N, O.__numberFormatters = R, process.env.NODE_ENV !== "production" && (O.__v_emitter =
|
1624
|
+
return O.datetimeFormats = l, O.numberFormats = r, O.__datetimeFormatters = N, O.__numberFormatters = R, 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;
|
@@ -1793,10 +1793,10 @@ function qi(e, ...c) {
|
|
1793
1793
|
let y = !1;
|
1794
1794
|
const k = () => {
|
1795
1795
|
y = !0;
|
1796
|
-
},
|
1796
|
+
}, w = K1(L) ? L : ys(e, r, g, L, A, k);
|
1797
1797
|
if (y)
|
1798
1798
|
return L;
|
1799
|
-
const N = dW(e, g, z, o), R = FU(N), Q = fW(e,
|
1799
|
+
const N = dW(e, g, z, o), R = FU(N), Q = fW(e, w, R), 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(),
|
@@ -1998,8 +1998,8 @@ function Ui(e, ...c) {
|
|
1998
1998
|
return t ? K4 : r;
|
1999
1999
|
let k = `${g}__${r}`;
|
2000
2000
|
Z4(u) || (k = `${k}__${JSON.stringify(u)}`);
|
2001
|
-
let
|
2002
|
-
return
|
2001
|
+
let w = l.get(k);
|
2002
|
+
return w || (w = new Intl.DateTimeFormat(g, B1({}, z, u)), l.set(k, w)), H ? w.formatToParts(o) : w.format(o);
|
2003
2003
|
}
|
2004
2004
|
const Ss = [
|
2005
2005
|
"localeMatcher",
|
@@ -2092,8 +2092,8 @@ function Gi(e, ...c) {
|
|
2092
2092
|
return t ? K4 : r;
|
2093
2093
|
let k = `${g}__${r}`;
|
2094
2094
|
Z4(u) || (k = `${k}__${JSON.stringify(u)}`);
|
2095
|
-
let
|
2096
|
-
return
|
2095
|
+
let w = l.get(k);
|
2096
|
+
return w || (w = new Intl.NumberFormat(g, B1({}, z, u)), l.set(k, w)), H ? w.formatToParts(o) : w.format(o);
|
2097
2097
|
}
|
2098
2098
|
const ws = [
|
2099
2099
|
"localeMatcher",
|
@@ -2422,16 +2422,16 @@ 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
|
2425
|
+
let w = e.pluralRules || a && a.pluralRules, N;
|
2426
2426
|
N = (() => {
|
2427
2427
|
i && Bi(null);
|
2428
|
-
const
|
2428
|
+
const S = {
|
2429
2429
|
version: CW,
|
2430
2430
|
locale: o.value,
|
2431
2431
|
fallbackLocale: m.value,
|
2432
2432
|
messages: u.value,
|
2433
2433
|
modifiers: k,
|
2434
|
-
pluralRules:
|
2434
|
+
pluralRules: w,
|
2435
2435
|
missing: z === null ? void 0 : z,
|
2436
2436
|
missingWarn: H,
|
2437
2437
|
fallbackWarn: C,
|
@@ -2444,8 +2444,8 @@ function Q8(e = {}, c) {
|
|
2444
2444
|
messageCompiler: e.messageCompiler,
|
2445
2445
|
__meta: { framework: "vue" }
|
2446
2446
|
};
|
2447
|
-
|
2448
|
-
const F = tW(
|
2447
|
+
S.datetimeFormats = v.value, S.numberFormats = p.value, S.__datetimeFormatters = t1(N) ? N.__datetimeFormatters : void 0, S.__numberFormatters = t1(N) ? N.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (S.__v_emitter = t1(N) ? N.__v_emitter : void 0);
|
2448
|
+
const F = tW(S);
|
2449
2449
|
return i && Bi(F), F;
|
2450
2450
|
})(), k3(N, o.value, m.value);
|
2451
2451
|
function Q() {
|
@@ -2459,35 +2459,35 @@ function Q8(e = {}, c) {
|
|
2459
2459
|
}
|
2460
2460
|
const O = E({
|
2461
2461
|
get: () => o.value,
|
2462
|
-
set: (
|
2463
|
-
o.value =
|
2462
|
+
set: (S) => {
|
2463
|
+
o.value = S, N.locale = o.value;
|
2464
2464
|
}
|
2465
2465
|
}), e1 = E({
|
2466
2466
|
get: () => m.value,
|
2467
|
-
set: (
|
2468
|
-
m.value =
|
2467
|
+
set: (S) => {
|
2468
|
+
m.value = S, N.fallbackLocale = m.value, k3(N, o.value, S);
|
2469
2469
|
}
|
2470
2470
|
}), r1 = 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
|
-
function P1(
|
2475
|
-
L =
|
2474
|
+
function P1(S) {
|
2475
|
+
L = S, N.postTranslation = S;
|
2476
2476
|
}
|
2477
2477
|
function q1() {
|
2478
2478
|
return g;
|
2479
2479
|
}
|
2480
|
-
function O1(
|
2481
|
-
|
2480
|
+
function O1(S) {
|
2481
|
+
S !== null && (z = Xi(S)), g = S, N.missing = z;
|
2482
2482
|
}
|
2483
|
-
function J1(
|
2484
|
-
return
|
2483
|
+
function J1(S, F) {
|
2484
|
+
return S !== "translate" || !F.resolvedMessage;
|
2485
2485
|
}
|
2486
|
-
const I1 = (
|
2486
|
+
const I1 = (S, F, v1, y1, _2, V4) => {
|
2487
2487
|
Q();
|
2488
2488
|
let n3;
|
2489
2489
|
try {
|
2490
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = a ? aW() : void 0), n3 =
|
2490
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = a ? aW() : void 0), n3 = S(N);
|
2491
2491
|
} finally {
|
2492
2492
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (N.fallbackContext = void 0);
|
2493
2493
|
}
|
@@ -2513,87 +2513,87 @@ function Q8(e = {}, c) {
|
|
2513
2513
|
throw w1(f1.UNEXPECTED_RETURN_TYPE);
|
2514
2514
|
}
|
2515
2515
|
};
|
2516
|
-
function a2(...
|
2517
|
-
return I1((F) => Reflect.apply(qi, null, [F, ...
|
2516
|
+
function a2(...S) {
|
2517
|
+
return I1((F) => Reflect.apply(qi, null, [F, ...S]), () => z8(...S), "translate", (F) => Reflect.apply(F.t, F, [...S]), (F) => F, (F) => q(F));
|
2518
2518
|
}
|
2519
|
-
function z2(...
|
2520
|
-
const [F, v1, y1] =
|
2519
|
+
function z2(...S) {
|
2520
|
+
const [F, v1, y1] = S;
|
2521
2521
|
if (y1 && !u1(y1))
|
2522
2522
|
throw w1(f1.INVALID_ARGUMENT);
|
2523
2523
|
return a2(F, v1, B1({ resolvedMessage: !0 }, y1 || {}));
|
2524
2524
|
}
|
2525
|
-
function A2(...
|
2526
|
-
return I1((F) => Reflect.apply(Ui, null, [F, ...
|
2525
|
+
function A2(...S) {
|
2526
|
+
return I1((F) => Reflect.apply(Ui, null, [F, ...S]), () => V8(...S), "datetime format", (F) => Reflect.apply(F.d, F, [...S]), () => O4, (F) => q(F));
|
2527
2527
|
}
|
2528
|
-
function F1(...
|
2529
|
-
return I1((F) => Reflect.apply(Gi, null, [F, ...
|
2528
|
+
function F1(...S) {
|
2529
|
+
return I1((F) => Reflect.apply(Gi, null, [F, ...S]), () => M8(...S), "number format", (F) => Reflect.apply(F.n, F, [...S]), () => O4, (F) => q(F));
|
2530
2530
|
}
|
2531
|
-
function o2(
|
2532
|
-
return
|
2531
|
+
function o2(S) {
|
2532
|
+
return S.map((F) => q(F) || k1(F) || n1(F) ? Zi(String(F)) : F);
|
2533
2533
|
}
|
2534
2534
|
const L3 = {
|
2535
2535
|
normalize: o2,
|
2536
|
-
interpolate: (
|
2536
|
+
interpolate: (S) => S,
|
2537
2537
|
type: "vnode"
|
2538
2538
|
};
|
2539
|
-
function i3(...
|
2539
|
+
function i3(...S) {
|
2540
2540
|
return I1(
|
2541
2541
|
(F) => {
|
2542
2542
|
let v1;
|
2543
2543
|
const y1 = F;
|
2544
2544
|
try {
|
2545
|
-
y1.processor = L3, v1 = Reflect.apply(qi, null, [y1, ...
|
2545
|
+
y1.processor = L3, v1 = Reflect.apply(qi, null, [y1, ...S]);
|
2546
2546
|
} finally {
|
2547
2547
|
y1.processor = null;
|
2548
2548
|
}
|
2549
2549
|
return v1;
|
2550
2550
|
},
|
2551
|
-
() => z8(...
|
2551
|
+
() => z8(...S),
|
2552
2552
|
"translate",
|
2553
2553
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2554
|
-
(F) => F[g8](...
|
2554
|
+
(F) => F[g8](...S),
|
2555
2555
|
(F) => [Zi(F)],
|
2556
2556
|
(F) => C1(F)
|
2557
2557
|
);
|
2558
2558
|
}
|
2559
|
-
function A3(...
|
2559
|
+
function A3(...S) {
|
2560
2560
|
return I1(
|
2561
|
-
(F) => Reflect.apply(Gi, null, [F, ...
|
2562
|
-
() => M8(...
|
2561
|
+
(F) => Reflect.apply(Gi, null, [F, ...S]),
|
2562
|
+
() => M8(...S),
|
2563
2563
|
"number format",
|
2564
2564
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2565
|
-
(F) => F[b8](...
|
2565
|
+
(F) => F[b8](...S),
|
2566
2566
|
Qi,
|
2567
2567
|
(F) => q(F) || C1(F)
|
2568
2568
|
);
|
2569
2569
|
}
|
2570
|
-
function _3(...
|
2570
|
+
function _3(...S) {
|
2571
2571
|
return I1(
|
2572
|
-
(F) => Reflect.apply(Ui, null, [F, ...
|
2573
|
-
() => V8(...
|
2572
|
+
(F) => Reflect.apply(Ui, null, [F, ...S]),
|
2573
|
+
() => V8(...S),
|
2574
2574
|
"datetime format",
|
2575
2575
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2576
|
-
(F) => F[C8](...
|
2576
|
+
(F) => F[C8](...S),
|
2577
2577
|
Qi,
|
2578
2578
|
(F) => q(F) || C1(F)
|
2579
2579
|
);
|
2580
2580
|
}
|
2581
|
-
function x3(
|
2582
|
-
|
2581
|
+
function x3(S) {
|
2582
|
+
w = S, N.pluralRules = w;
|
2583
2583
|
}
|
2584
|
-
function j(
|
2584
|
+
function j(S, F) {
|
2585
2585
|
return I1(() => {
|
2586
|
-
if (!
|
2586
|
+
if (!S)
|
2587
2587
|
return !1;
|
2588
|
-
const v1 = q(F) ? F : o.value, y1 = R2(v1), _2 = N.messageResolver(y1,
|
2588
|
+
const v1 = q(F) ? F : o.value, y1 = R2(v1), _2 = N.messageResolver(y1, S);
|
2589
2589
|
return l ? _2 != null : I2(_2) || K1(_2) || q(_2);
|
2590
|
-
}, () => [
|
2590
|
+
}, () => [S], "translate exists", (v1) => Reflect.apply(v1.te, v1, [S, F]), _W, (v1) => n1(v1));
|
2591
2591
|
}
|
2592
|
-
function d1(
|
2592
|
+
function d1(S) {
|
2593
2593
|
let F = null;
|
2594
2594
|
const v1 = hs(N, m.value, o.value);
|
2595
2595
|
for (let y1 = 0; y1 < v1.length; y1++) {
|
2596
|
-
const _2 = u.value[v1[y1]] || {}, V4 = N.messageResolver(_2,
|
2596
|
+
const _2 = u.value[v1[y1]] || {}, V4 = N.messageResolver(_2, S);
|
2597
2597
|
if (V4 != null) {
|
2598
2598
|
F = V4;
|
2599
2599
|
break;
|
@@ -2601,52 +2601,52 @@ function Q8(e = {}, c) {
|
|
2601
2601
|
}
|
2602
2602
|
return F;
|
2603
2603
|
}
|
2604
|
-
function N3(
|
2605
|
-
const F = d1(
|
2606
|
-
return F ?? (a ? a.tm(
|
2604
|
+
function N3(S) {
|
2605
|
+
const F = d1(S);
|
2606
|
+
return F ?? (a ? a.tm(S) || {} : {});
|
2607
2607
|
}
|
2608
|
-
function R2(
|
2609
|
-
return u.value[
|
2608
|
+
function R2(S) {
|
2609
|
+
return u.value[S] || {};
|
2610
2610
|
}
|
2611
|
-
function y3(
|
2611
|
+
function y3(S, F) {
|
2612
2612
|
if (n) {
|
2613
|
-
const v1 = { [
|
2613
|
+
const v1 = { [S]: F };
|
2614
2614
|
for (const y1 in v1)
|
2615
2615
|
D4(v1, y1) && R3(v1[y1]);
|
2616
|
-
F = v1[
|
2616
|
+
F = v1[S];
|
2617
2617
|
}
|
2618
|
-
u.value[
|
2618
|
+
u.value[S] = F, N.messages = u.value;
|
2619
2619
|
}
|
2620
|
-
function i8(
|
2621
|
-
u.value[
|
2622
|
-
const v1 = { [
|
2620
|
+
function i8(S, F) {
|
2621
|
+
u.value[S] = u.value[S] || {};
|
2622
|
+
const v1 = { [S]: F };
|
2623
2623
|
if (n)
|
2624
2624
|
for (const y1 in v1)
|
2625
2625
|
D4(v1, y1) && R3(v1[y1]);
|
2626
|
-
F = v1[
|
2626
|
+
F = v1[S], S4(F, u.value[S]), N.messages = u.value;
|
2627
2627
|
}
|
2628
|
-
function V(
|
2629
|
-
return v.value[
|
2628
|
+
function V(S) {
|
2629
|
+
return v.value[S] || {};
|
2630
2630
|
}
|
2631
|
-
function M(
|
2632
|
-
v.value[
|
2631
|
+
function M(S, F) {
|
2632
|
+
v.value[S] = F, N.datetimeFormats = v.value, Wi(N, S, F);
|
2633
2633
|
}
|
2634
|
-
function P(
|
2635
|
-
v.value[
|
2634
|
+
function P(S, F) {
|
2635
|
+
v.value[S] = B1(v.value[S] || {}, F), N.datetimeFormats = v.value, Wi(N, S, F);
|
2636
2636
|
}
|
2637
|
-
function X(
|
2638
|
-
return p.value[
|
2637
|
+
function X(S) {
|
2638
|
+
return p.value[S] || {};
|
2639
2639
|
}
|
2640
|
-
function _1(
|
2641
|
-
p.value[
|
2640
|
+
function _1(S, F) {
|
2641
|
+
p.value[S] = F, N.numberFormats = p.value, Ji(N, S, F);
|
2642
2642
|
}
|
2643
|
-
function M1(
|
2644
|
-
p.value[
|
2643
|
+
function M1(S, F) {
|
2644
|
+
p.value[S] = B1(p.value[S] || {}, F), N.numberFormats = p.value, Ji(N, S, F);
|
2645
2645
|
}
|
2646
|
-
Ki++, a && r2 && (l1(a.locale, (
|
2647
|
-
r && (o.value =
|
2648
|
-
}), l1(a.fallbackLocale, (
|
2649
|
-
r && (m.value =
|
2646
|
+
Ki++, a && r2 && (l1(a.locale, (S) => {
|
2647
|
+
r && (o.value = S, N.locale = S, k3(N, o.value, m.value));
|
2648
|
+
}), l1(a.fallbackLocale, (S) => {
|
2649
|
+
r && (m.value = S, N.fallbackLocale = S, k3(N, o.value, m.value));
|
2650
2650
|
}));
|
2651
2651
|
const h1 = {
|
2652
2652
|
id: Ki,
|
@@ -2655,8 +2655,8 @@ function Q8(e = {}, c) {
|
|
2655
2655
|
get inheritLocale() {
|
2656
2656
|
return r;
|
2657
2657
|
},
|
2658
|
-
set inheritLocale(
|
2659
|
-
r =
|
2658
|
+
set inheritLocale(S) {
|
2659
|
+
r = S, S && a && (o.value = a.locale.value, m.value = a.fallbackLocale.value, k3(N, o.value, m.value));
|
2660
2660
|
},
|
2661
2661
|
get availableLocales() {
|
2662
2662
|
return Object.keys(u.value).sort();
|
@@ -2666,7 +2666,7 @@ function Q8(e = {}, c) {
|
|
2666
2666
|
return k;
|
2667
2667
|
},
|
2668
2668
|
get pluralRules() {
|
2669
|
-
return
|
2669
|
+
return w || {};
|
2670
2670
|
},
|
2671
2671
|
get isGlobal() {
|
2672
2672
|
return i;
|
@@ -2674,38 +2674,38 @@ function Q8(e = {}, c) {
|
|
2674
2674
|
get missingWarn() {
|
2675
2675
|
return H;
|
2676
2676
|
},
|
2677
|
-
set missingWarn(
|
2678
|
-
H =
|
2677
|
+
set missingWarn(S) {
|
2678
|
+
H = S, N.missingWarn = H;
|
2679
2679
|
},
|
2680
2680
|
get fallbackWarn() {
|
2681
2681
|
return C;
|
2682
2682
|
},
|
2683
|
-
set fallbackWarn(
|
2684
|
-
C =
|
2683
|
+
set fallbackWarn(S) {
|
2684
|
+
C = S, N.fallbackWarn = C;
|
2685
2685
|
},
|
2686
2686
|
get fallbackRoot() {
|
2687
2687
|
return b;
|
2688
2688
|
},
|
2689
|
-
set fallbackRoot(
|
2690
|
-
b =
|
2689
|
+
set fallbackRoot(S) {
|
2690
|
+
b = S;
|
2691
2691
|
},
|
2692
2692
|
get fallbackFormat() {
|
2693
2693
|
return _;
|
2694
2694
|
},
|
2695
|
-
set fallbackFormat(
|
2696
|
-
_ =
|
2695
|
+
set fallbackFormat(S) {
|
2696
|
+
_ = S, N.fallbackFormat = _;
|
2697
2697
|
},
|
2698
2698
|
get warnHtmlMessage() {
|
2699
2699
|
return A;
|
2700
2700
|
},
|
2701
|
-
set warnHtmlMessage(
|
2702
|
-
A =
|
2701
|
+
set warnHtmlMessage(S) {
|
2702
|
+
A = S, N.warnHtmlMessage = S;
|
2703
2703
|
},
|
2704
2704
|
get escapeParameter() {
|
2705
2705
|
return y;
|
2706
2706
|
},
|
2707
|
-
set escapeParameter(
|
2708
|
-
y =
|
2707
|
+
set escapeParameter(S) {
|
2708
|
+
y = S, N.escapeParameter = S;
|
2709
2709
|
},
|
2710
2710
|
t: a2,
|
2711
2711
|
getLocaleMessage: R2,
|
@@ -2717,8 +2717,8 @@ function Q8(e = {}, c) {
|
|
2717
2717
|
setMissingHandler: O1,
|
2718
2718
|
[Ds]: x3
|
2719
2719
|
};
|
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] = (
|
2721
|
-
N.__v_emitter =
|
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
|
+
N.__v_emitter = S;
|
2722
2722
|
}, h1[F3] = () => {
|
2723
2723
|
N.__v_emitter = void 0;
|
2724
2724
|
}), h1;
|
@@ -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((
|
2733
|
-
const R =
|
2734
|
-
return B1(R, y[N]),
|
2732
|
+
H = Object.keys(y).reduce((w, N) => {
|
2733
|
+
const R = w[N] || (w[N] = {});
|
2734
|
+
return B1(R, y[N]), 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;
|
@@ -3679,7 +3679,7 @@ function sG(e, c, a, t = {}) {
|
|
3679
3679
|
set: (j) => {
|
3680
3680
|
n.value && (n.value.locale.value = j), l.value = j;
|
3681
3681
|
}
|
3682
|
-
}),
|
3682
|
+
}), w = E({
|
3683
3683
|
get: () => n.value ? n.value.fallbackLocale.value : r.value,
|
3684
3684
|
set: (j) => {
|
3685
3685
|
n.value && (n.value.fallbackLocale.value = j), r.value = j;
|
@@ -3750,7 +3750,7 @@ function sG(e, c, a, t = {}) {
|
|
3750
3750
|
return n.value ? n.value.id : -1;
|
3751
3751
|
},
|
3752
3752
|
locale: k,
|
3753
|
-
fallbackLocale:
|
3753
|
+
fallbackLocale: w,
|
3754
3754
|
messages: N,
|
3755
3755
|
datetimeFormats: R,
|
3756
3756
|
numberFormats: Q,
|
@@ -18637,7 +18637,7 @@ 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
|
18640
|
+
const w = L / 2 - A / 2, N = k / 2 - C[H] / 2 - 1, R = G2(u[_], N), Q = G2(u[g], N), O = R, e1 = k - C[H] - Q, r1 = k / 2 - C[H] / 2 + w, U = x8(O, r1, e1), Z = !r.arrow && s2(i) != null && r1 !== U && n.reference[H] / 2 - (r1 < O ? R : Q) - C[H] / 2 < 0, m1 = Z ? r1 < O ? r1 - O : r1 - e1 : 0;
|
18641
18641
|
return {
|
18642
18642
|
[p]: v[p] + m1,
|
18643
18643
|
data: {
|
@@ -18749,12 +18749,12 @@ const RG = function(e) {
|
|
18749
18749
|
const _ = p2(i), g = p2(l) === l, z = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), L = v || (g || !C ? [F4(l)] : IG(l));
|
18750
18750
|
!v && H !== "none" && L.push(...DG(l, C, H, z));
|
18751
18751
|
const A = [l, ...L], y = await J6(c, b), k = [];
|
18752
|
-
let
|
18752
|
+
let w = ((t = n.flip) == null ? void 0 : t.overflows) || [];
|
18753
18753
|
if (m && k.push(y[_]), u) {
|
18754
18754
|
const O = gq(i, s, z);
|
18755
18755
|
k.push(y[O[0]], y[O[1]]);
|
18756
18756
|
}
|
18757
|
-
if (
|
18757
|
+
if (w = [...w, {
|
18758
18758
|
placement: i,
|
18759
18759
|
overflows: k
|
18760
18760
|
}], !k.every((O) => O <= 0)) {
|
@@ -18764,18 +18764,18 @@ const RG = function(e) {
|
|
18764
18764
|
return {
|
18765
18765
|
data: {
|
18766
18766
|
index: O,
|
18767
|
-
overflows:
|
18767
|
+
overflows: w
|
18768
18768
|
},
|
18769
18769
|
reset: {
|
18770
18770
|
placement: e1
|
18771
18771
|
}
|
18772
18772
|
};
|
18773
|
-
let r1 = (R =
|
18773
|
+
let r1 = (R = w.filter((U) => U.overflows[0] <= 0).sort((U, Z) => U.overflows[1] - Z.overflows[1])[0]) == null ? void 0 : R.placement;
|
18774
18774
|
if (!r1)
|
18775
18775
|
switch (p) {
|
18776
18776
|
case "bestFit": {
|
18777
18777
|
var Q;
|
18778
|
-
const U = (Q =
|
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
18779
|
U && (r1 = U);
|
18780
18780
|
break;
|
18781
18781
|
}
|
@@ -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
|
18923
|
-
u ? y = v - 2 * (
|
18922
|
+
const w = W2(r.left, 0), N = W2(r.right, 0), R = W2(r.top, 0), Q = W2(r.bottom, 0);
|
18923
|
+
u ? y = v - 2 * (w !== 0 || N !== 0 ? w + N : W2(r.left, r.right)) : A = p - 2 * (R !== 0 || Q !== 0 ? R + Q : W2(r.top, r.bottom));
|
18924
18924
|
}
|
18925
18925
|
await s({
|
18926
18926
|
...c,
|
@@ -22255,8 +22255,8 @@ function Mi(e) {
|
|
22255
22255
|
} : b2("generateAbstractIcon", A) || {
|
22256
22256
|
children: [],
|
22257
22257
|
attributes: {}
|
22258
|
-
}, k = y.children,
|
22259
|
-
return A.children = k, A.attributes =
|
22258
|
+
}, k = y.children, w = y.attributes;
|
22259
|
+
return A.children = k, A.attributes = w, l ? NZ(A) : xZ(A);
|
22260
22260
|
}
|
22261
22261
|
function Rn(e) {
|
22262
22262
|
var c = e.content, a = e.width, t = e.height, i = e.transform, n = e.title, s = e.extra, l = e.watchable, r = l === void 0 ? !1 : l, o = W(W(W({}, s.attributes), n ? {
|
@@ -22861,7 +22861,7 @@ function Zn(e, c) {
|
|
22861
22861
|
e.setAttribute(a, z), s && e.removeChild(s);
|
22862
22862
|
var A = qZ(), y = A.extra;
|
22863
22863
|
y.attributes[I8] = c, F8(g, p).then(function(k) {
|
22864
|
-
var
|
22864
|
+
var w = Mi(W(W({}, A), {}, {
|
22865
22865
|
icons: {
|
22866
22866
|
main: k,
|
22867
22867
|
mask: Vi()
|
@@ -22871,7 +22871,7 @@ function Zn(e, c) {
|
|
22871
22871
|
extra: y,
|
22872
22872
|
watchable: !0
|
22873
22873
|
})), N = L1.createElementNS("http://www.w3.org/2000/svg", "svg");
|
22874
|
-
c === "::before" ? e.insertBefore(N, e.firstChild) : e.appendChild(N), N.outerHTML =
|
22874
|
+
c === "::before" ? e.insertBefore(N, e.firstChild) : e.appendChild(N), N.outerHTML = w.map(function(R) {
|
22875
22875
|
return z4(R);
|
22876
22876
|
}).join(`
|
22877
22877
|
`), e.removeAttribute(a), t();
|
@@ -24478,36 +24478,19 @@ 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
|
-
|
24482
|
-
|
24483
|
-
|
24484
|
-
|
24485
|
-
|
24486
|
-
|
24487
|
-
|
24488
|
-
|
24489
|
-
|
24490
|
-
|
24491
|
-
|
24492
|
-
|
24493
|
-
|
24494
|
-
]
|
24495
|
-
});
|
24496
|
-
l.value.push(...S), console.log(S), console.log(l.value);
|
24497
|
-
}, y.onclick = async (k) => {
|
24498
|
-
k.preventDefault(), console.log("click", k), console.log(i.customOpenMethod);
|
24499
|
-
const S = await i.customOpenMethod({
|
24500
|
-
multiple: !1,
|
24501
|
-
filters: [
|
24502
|
-
{
|
24503
|
-
name: "Trustee key",
|
24504
|
-
extensions: ["trustee-key"]
|
24505
|
-
}
|
24506
|
-
]
|
24507
|
-
});
|
24508
|
-
l.value.push(...S), console.log(S), console.log(l.value);
|
24509
|
-
};
|
24510
|
-
}
|
24481
|
+
i.locale && p1(i.locale), i.value && (l.value = i.value), i.customOpenMethod !== null && (console.log("here"), s.value.onclick = async (A) => {
|
24482
|
+
console.log("click", A), console.log(i.customOpenMethod), A.preventDefault();
|
24483
|
+
const y = await i.customOpenMethod({
|
24484
|
+
multiple: !1,
|
24485
|
+
filters: [
|
24486
|
+
{
|
24487
|
+
name: "Trustee key",
|
24488
|
+
extensions: ["trustee-key"]
|
24489
|
+
}
|
24490
|
+
]
|
24491
|
+
});
|
24492
|
+
l.value.push(...y), console.log(y), console.log(l.value);
|
24493
|
+
});
|
24511
24494
|
}), l1(
|
24512
24495
|
() => i.locale,
|
24513
24496
|
() => {
|
@@ -24523,18 +24506,18 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24523
24506
|
n.value = !1;
|
24524
24507
|
}, v = (A) => {
|
24525
24508
|
const y = Array.from(A), k = new DataTransfer();
|
24526
|
-
for (let
|
24527
|
-
const N =
|
24509
|
+
for (let w of y) {
|
24510
|
+
const N = w.name.split(".").pop();
|
24528
24511
|
if (C.value.includes(
|
24529
24512
|
`.${N.toLowerCase()}`
|
24530
24513
|
)) {
|
24531
|
-
const Q = new File([
|
24532
|
-
type:
|
24533
|
-
lastModified:
|
24514
|
+
const Q = new File([w], w.name, {
|
24515
|
+
type: w.type,
|
24516
|
+
lastModified: w.lastModified
|
24534
24517
|
});
|
24535
24518
|
k.items.add(Q);
|
24536
24519
|
} else
|
24537
|
-
r("fileFormatNotAccepted",
|
24520
|
+
r("fileFormatNotAccepted", w.name);
|
24538
24521
|
}
|
24539
24522
|
return k.files;
|
24540
24523
|
}, p = E(() => i.accept.split(",")), H = E(() => i.accept.split(",").join(", ")), C = E(
|
@@ -24558,7 +24541,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24558
24541
|
r("download", A);
|
24559
24542
|
};
|
24560
24543
|
return (A, y) => {
|
24561
|
-
const k = D("AVIcon"),
|
24544
|
+
const k = D("AVIcon"), w = B2("tooltip");
|
24562
24545
|
return d(), h("div", TQ, [
|
24563
24546
|
e.disableLabel ? I("", !0) : (d(), h("label", {
|
24564
24547
|
key: 0,
|
@@ -24573,7 +24556,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24573
24556
|
icon: "circle-question",
|
24574
24557
|
class: "AVFileInput--tooltip-icon"
|
24575
24558
|
}, null, 512)), [
|
24576
|
-
[
|
24559
|
+
[w, e.tooltipText]
|
24577
24560
|
]) : I("", !0)
|
24578
24561
|
])
|
24579
24562
|
], 8, IQ)),
|
@@ -24703,7 +24686,7 @@ const wQ = /* @__PURE__ */ J(SQ, [["__scopeId", "data-v-0cc3f6d1"]]), TQ = { cla
|
|
24703
24686
|
};
|
24704
24687
|
}
|
24705
24688
|
});
|
24706
|
-
const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-
|
24689
|
+
const oK = /* @__PURE__ */ J(rK, [["__scopeId", "data-v-4c18ee69"]]), 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({
|
24707
24690
|
__name: "AVRadio",
|
24708
24691
|
props: {
|
24709
24692
|
id: {
|
@@ -26671,7 +26654,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26671
26654
|
O.forEach((Z) => O[Z] = Z + 1);
|
26672
26655
|
const e1 = O.indexOf(Math.ceil(L.value / 2)) + 1, r1 = O.slice(0, e1), U = O.slice(e1);
|
26673
26656
|
return U.length ? [r1, U] : [r1];
|
26674
|
-
}),
|
26657
|
+
}), w = E(() => r.partialResults ? r.partialResults[r.option.reference] : null), N = (O, e1 = 1) => {
|
26675
26658
|
o("checked", {
|
26676
26659
|
reference: O,
|
26677
26660
|
amount: e1
|
@@ -26818,15 +26801,15 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26818
26801
|
}, null, 8, ["checked", "rank", "exclusive-error", "invalid", "option-reference", "check-box-index", "disabled", "onToggled"]))), 128))
|
26819
26802
|
]))), 128))
|
26820
26803
|
], 6)) : I("", !0),
|
26821
|
-
|
26804
|
+
w.value && (e.observerMode || e.disabled) ? (d(), h("div", i21, [
|
26822
26805
|
T(r1, {
|
26823
26806
|
icon: "user",
|
26824
26807
|
class: "AVOption--realtime-results-icon"
|
26825
26808
|
}),
|
26826
|
-
f("span", null, x(m.value ? `${
|
26827
|
-
|
26809
|
+
f("span", null, x(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),
|
26810
|
+
w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26828
26811
|
n21,
|
26829
|
-
f("span", null, x(`${
|
26812
|
+
f("span", null, x(`${w.value.results.percentage}%`), 1)
|
26830
26813
|
], 64)) : I("", !0)
|
26831
26814
|
])) : I("", !0)
|
26832
26815
|
], 2)
|
@@ -26852,7 +26835,7 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26852
26835
|
]),
|
26853
26836
|
_: 2
|
26854
26837
|
}, [
|
26855
|
-
!e.disabled &&
|
26838
|
+
!e.disabled && w.value && !e.observerMode ? {
|
26856
26839
|
name: "results",
|
26857
26840
|
fn: s1(() => [
|
26858
26841
|
f("div", s21, [
|
@@ -26860,10 +26843,10 @@ const H$ = (e) => (e2("data-v-785ef04b"), e = e(), c2(), e), $11 = ["id", "href"
|
|
26860
26843
|
icon: "user",
|
26861
26844
|
class: "AVOption--realtime-results-icon"
|
26862
26845
|
}),
|
26863
|
-
f("span", null, x(m.value ? `${
|
26864
|
-
|
26846
|
+
f("span", null, x(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),
|
26847
|
+
w.value.showPercentage ? (d(), h(a1, { key: 0 }, [
|
26865
26848
|
l21,
|
26866
|
-
f("span", null, x(`${
|
26849
|
+
f("span", null, x(`${w.value.results.percentage}%`), 1)
|
26867
26850
|
], 64)) : I("", !0)
|
26868
26851
|
])
|
26869
26852
|
]),
|
@@ -27783,7 +27766,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27783
27766
|
var N;
|
27784
27767
|
return (N = n.contest.customRulesets) == null ? void 0 : N.includes("belgian_ballot_rules");
|
27785
27768
|
}
|
27786
|
-
), z = E(() =>
|
27769
|
+
), z = E(() => w(n.contest.options).some(
|
27787
27770
|
(N) => N.exclusive
|
27788
27771
|
)), L = E(() => n.contest);
|
27789
27772
|
l1(L, (N, R) => {
|
@@ -27809,7 +27792,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27809
27792
|
...n.selectionPile,
|
27810
27793
|
optionSelections: O
|
27811
27794
|
});
|
27812
|
-
}, k = (N) => s("view-candidate", N),
|
27795
|
+
}, k = (N) => s("view-candidate", N), w = (N, R) => N.flatMap((Q) => (R && (Q.parentContent = R), Q.children ? [Q, ...w(Q.children, Q)] : [Q]));
|
27813
27796
|
return (N, R) => {
|
27814
27797
|
const Q = D("AVSearchBallot"), O = D("AVWriteInOption"), e1 = D("AVOption"), r1 = D("AVBlankOption"), U = D("AVSubmissionHelper");
|
27815
27798
|
return d(), h("div", {
|
@@ -27830,7 +27813,7 @@ const U31 = (e) => (e2("data-v-21030ff1"), e = e(), c2(), e), W31 = ["aria-label
|
|
27830
27813
|
key: 1,
|
27831
27814
|
ref_key: "search",
|
27832
27815
|
ref: m,
|
27833
|
-
options:
|
27816
|
+
options: w(e.contest.options),
|
27834
27817
|
"options-container-id": "ballot_options"
|
27835
27818
|
}, null, 8, ["options"])) : I("", !0),
|
27836
27819
|
J31,
|
@@ -28241,7 +28224,7 @@ const V41 = {
|
|
28241
28224
|
...n.contestSelection,
|
28242
28225
|
piles: [r.value]
|
28243
28226
|
});
|
28244
|
-
},
|
28227
|
+
}, w = (U) => {
|
28245
28228
|
r.value = U, z.value || k();
|
28246
28229
|
}, N = () => {
|
28247
28230
|
r.value = {
|
@@ -28300,7 +28283,7 @@ const V41 = {
|
|
28300
28283
|
includeLazyErrors: e.includeLazyErrors,
|
28301
28284
|
"show-submission-helper": e.showSubmissionHelper,
|
28302
28285
|
"image-option": e.imageOption,
|
28303
|
-
"onUpdate:selectionPile":
|
28286
|
+
"onUpdate:selectionPile": w,
|
28304
28287
|
"onUpdate:errors": Z[0] || (Z[0] = (F1) => O(F1))
|
28305
28288
|
}, null, 8, ["selection-pile", "partial-results", "contest", "weight", "includeLazyErrors", "show-submission-helper", "image-option"]),
|
28306
28289
|
f("div", H41, [
|
@@ -28424,7 +28407,7 @@ const V41 = {
|
|
28424
28407
|
weight: e.weight,
|
28425
28408
|
"image-option": e.imageOption,
|
28426
28409
|
"show-submission-helper": e.showSubmissionHelper,
|
28427
|
-
"onUpdate:selectionPile":
|
28410
|
+
"onUpdate:selectionPile": w,
|
28428
28411
|
"onUpdate:errors": Z[7] || (Z[7] = (a2) => O(a2)),
|
28429
28412
|
onViewCandidate: e1
|
28430
28413
|
}, null, 8, ["selection-pile", "partial-results", "includeLazyErrors", "contest", "weight", "image-option", "show-submission-helper"]))
|