@assemblyvoting/ui-library 3.0.10 → 3.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as Q, h as M1, getCurrentInstance as w3, effectScope as rI, inject as B2, onMounted as M2, onUnmounted as ns, shallowRef as lI, ref as Z, computed as E, onBeforeMount as oI, watch as i2, Fragment as t2, isRef as fI, createVNode as I, Text as uI, unref as B, getCurrentScope as mI, onScopeDispose as dI, Transition as w1, withDirectives as T1, vShow as l3, openBlock as p, createElementBlock as H, createBlock as K, resolveDynamicComponent as _9, withCtx as s2, renderSlot as y2, resolveComponent as D, normalizeClass as Y, createCommentVNode as O, createTextVNode as D2, toDisplayString as
|
1
|
+
import { defineComponent as Q, h as M1, getCurrentInstance as w3, effectScope as rI, inject as B2, onMounted as M2, onUnmounted as ns, shallowRef as lI, ref as Z, computed as E, onBeforeMount as oI, watch as i2, Fragment as t2, isRef as fI, createVNode as I, Text as uI, unref as B, getCurrentScope as mI, onScopeDispose as dI, Transition as w1, withDirectives as T1, vShow as l3, openBlock as p, createElementBlock as H, createBlock as K, resolveDynamicComponent as _9, withCtx as s2, renderSlot as y2, resolveComponent as D, normalizeClass as Y, createCommentVNode as O, createTextVNode as D2, toDisplayString as k, createElementVNode as u, normalizeStyle as l1, reactive as ss, provide as is, renderList as g2, pushScopeId as V1, popScopeId as z1, useCssVars as vI, mergeProps as pI, withModifiers as S1, withKeys as rs, createSlots as hI, nextTick as VI, vModelText as ls } from "vue";
|
2
2
|
/*!
|
3
3
|
* shared v9.7.0
|
4
4
|
* (c) 2023 kazuya kawaguchi
|
@@ -230,9 +230,9 @@ function jI(e, c = {}) {
|
|
230
230
|
inLinked: !1,
|
231
231
|
text: ""
|
232
232
|
}, f = () => l, { onError: o } = c;
|
233
|
-
function m(z, v,
|
233
|
+
function m(z, v, x, ...U) {
|
234
234
|
const J = f();
|
235
|
-
if (v.column +=
|
235
|
+
if (v.column += x, v.offset += x, o) {
|
236
236
|
const u2 = a ? Q6(J.startLoc, v) : null, J2 = h3(z, u2, {
|
237
237
|
domain: FI,
|
238
238
|
args: U
|
@@ -240,10 +240,10 @@ function jI(e, c = {}) {
|
|
240
240
|
o(J2);
|
241
241
|
}
|
242
242
|
}
|
243
|
-
function d(z, v,
|
243
|
+
function d(z, v, x) {
|
244
244
|
z.endLoc = s(), z.currentType = v;
|
245
245
|
const U = { type: v };
|
246
|
-
return a && (U.loc = Q6(z.startLoc, z.endLoc)),
|
246
|
+
return a && (U.loc = Q6(z.startLoc, z.endLoc)), x != null && (U.value = x), U;
|
247
247
|
}
|
248
248
|
const h = (z) => d(
|
249
249
|
z,
|
@@ -278,56 +278,56 @@ function jI(e, c = {}) {
|
|
278
278
|
return v >= 48 && v <= 57;
|
279
279
|
}
|
280
280
|
function _(z, v) {
|
281
|
-
const { currentType:
|
282
|
-
if (
|
281
|
+
const { currentType: x } = v;
|
282
|
+
if (x !== 2)
|
283
283
|
return !1;
|
284
284
|
L(z);
|
285
285
|
const U = V(z.currentPeek());
|
286
286
|
return z.resetPeek(), U;
|
287
287
|
}
|
288
288
|
function M(z, v) {
|
289
|
-
const { currentType:
|
290
|
-
if (
|
289
|
+
const { currentType: x } = v;
|
290
|
+
if (x !== 2)
|
291
291
|
return !1;
|
292
292
|
L(z);
|
293
293
|
const U = z.currentPeek() === "-" ? z.peek() : z.currentPeek(), J = g(U);
|
294
294
|
return z.resetPeek(), J;
|
295
295
|
}
|
296
296
|
function N(z, v) {
|
297
|
-
const { currentType:
|
298
|
-
if (
|
297
|
+
const { currentType: x } = v;
|
298
|
+
if (x !== 2)
|
299
299
|
return !1;
|
300
300
|
L(z);
|
301
301
|
const U = z.currentPeek() === S9;
|
302
302
|
return z.resetPeek(), U;
|
303
303
|
}
|
304
304
|
function S(z, v) {
|
305
|
-
const { currentType:
|
306
|
-
if (
|
305
|
+
const { currentType: x } = v;
|
306
|
+
if (x !== 8)
|
307
307
|
return !1;
|
308
308
|
L(z);
|
309
309
|
const U = z.currentPeek() === ".";
|
310
310
|
return z.resetPeek(), U;
|
311
311
|
}
|
312
312
|
function C(z, v) {
|
313
|
-
const { currentType:
|
314
|
-
if (
|
313
|
+
const { currentType: x } = v;
|
314
|
+
if (x !== 9)
|
315
315
|
return !1;
|
316
316
|
L(z);
|
317
317
|
const U = V(z.currentPeek());
|
318
318
|
return z.resetPeek(), U;
|
319
319
|
}
|
320
320
|
function y(z, v) {
|
321
|
-
const { currentType:
|
322
|
-
if (!(
|
321
|
+
const { currentType: x } = v;
|
322
|
+
if (!(x === 8 || x === 12))
|
323
323
|
return !1;
|
324
324
|
L(z);
|
325
325
|
const U = z.currentPeek() === ":";
|
326
326
|
return z.resetPeek(), U;
|
327
327
|
}
|
328
328
|
function w(z, v) {
|
329
|
-
const { currentType:
|
330
|
-
if (
|
329
|
+
const { currentType: x } = v;
|
330
|
+
if (x !== 10)
|
331
331
|
return !1;
|
332
332
|
const U = () => {
|
333
333
|
const u2 = z.currentPeek();
|
@@ -341,26 +341,26 @@ function jI(e, c = {}) {
|
|
341
341
|
return z.resetPeek(), v;
|
342
342
|
}
|
343
343
|
function W(z) {
|
344
|
-
const v = L(z),
|
344
|
+
const v = L(z), x = z.currentPeek() === "%" && z.peek() === "{";
|
345
345
|
return z.resetPeek(), {
|
346
|
-
isModulo:
|
346
|
+
isModulo: x,
|
347
347
|
hasSpace: v.length > 0
|
348
348
|
};
|
349
349
|
}
|
350
350
|
function j(z, v = !0) {
|
351
|
-
const
|
351
|
+
const x = (J = !1, u2 = "", J2 = !1) => {
|
352
352
|
const O2 = z.currentPeek();
|
353
|
-
return O2 === "{" ? u2 === "%" ? !1 : J : O2 === "@" || !O2 ? u2 === "%" ? !0 : J : O2 === "%" ? (z.peek(),
|
354
|
-
}, U =
|
353
|
+
return O2 === "{" ? u2 === "%" ? !1 : J : O2 === "@" || !O2 ? u2 === "%" ? !0 : J : O2 === "%" ? (z.peek(), x(J, "%", !0)) : O2 === "|" ? u2 === "%" || J2 ? !0 : !(u2 === H1 || u2 === $2) : O2 === H1 ? (z.peek(), x(!0, H1, J2)) : O2 === $2 ? (z.peek(), x(!0, $2, J2)) : !0;
|
354
|
+
}, U = x();
|
355
355
|
return v && z.resetPeek(), U;
|
356
356
|
}
|
357
357
|
function F(z, v) {
|
358
|
-
const
|
359
|
-
return
|
358
|
+
const x = z.currentChar();
|
359
|
+
return x === N1 ? N1 : v(x) ? (z.next(), x) : null;
|
360
360
|
}
|
361
361
|
function r2(z) {
|
362
|
-
return F(z, (
|
363
|
-
const U =
|
362
|
+
return F(z, (x) => {
|
363
|
+
const U = x.charCodeAt(0);
|
364
364
|
return U >= 97 && U <= 122 || // a-z
|
365
365
|
U >= 65 && U <= 90 || // A-Z
|
366
366
|
U >= 48 && U <= 57 || // 0-9
|
@@ -369,24 +369,24 @@ function jI(e, c = {}) {
|
|
369
369
|
});
|
370
370
|
}
|
371
371
|
function l2(z) {
|
372
|
-
return F(z, (
|
373
|
-
const U =
|
372
|
+
return F(z, (x) => {
|
373
|
+
const U = x.charCodeAt(0);
|
374
374
|
return U >= 48 && U <= 57;
|
375
375
|
});
|
376
376
|
}
|
377
377
|
function a2(z) {
|
378
|
-
return F(z, (
|
379
|
-
const U =
|
378
|
+
return F(z, (x) => {
|
379
|
+
const U = x.charCodeAt(0);
|
380
380
|
return U >= 48 && U <= 57 || // 0-9
|
381
381
|
U >= 65 && U <= 70 || // A-F
|
382
382
|
U >= 97 && U <= 102;
|
383
383
|
});
|
384
384
|
}
|
385
385
|
function h2(z) {
|
386
|
-
let v = "",
|
386
|
+
let v = "", x = "";
|
387
387
|
for (; v = l2(z); )
|
388
|
-
|
389
|
-
return
|
388
|
+
x += v;
|
389
|
+
return x;
|
390
390
|
}
|
391
391
|
function j2(z) {
|
392
392
|
A(z);
|
@@ -396,33 +396,33 @@ function jI(e, c = {}) {
|
|
396
396
|
function b2(z) {
|
397
397
|
let v = "";
|
398
398
|
for (; ; ) {
|
399
|
-
const
|
400
|
-
if (
|
399
|
+
const x = z.currentChar();
|
400
|
+
if (x === "{" || x === "}" || x === "@" || x === "|" || !x)
|
401
401
|
break;
|
402
|
-
if (
|
402
|
+
if (x === "%")
|
403
403
|
if (j(z))
|
404
|
-
v +=
|
404
|
+
v += x, z.next();
|
405
405
|
else
|
406
406
|
break;
|
407
|
-
else if (
|
407
|
+
else if (x === H1 || x === $2)
|
408
408
|
if (j(z))
|
409
|
-
v +=
|
409
|
+
v += x, z.next();
|
410
410
|
else {
|
411
411
|
if ($(z))
|
412
412
|
break;
|
413
|
-
v +=
|
413
|
+
v += x, z.next();
|
414
414
|
}
|
415
415
|
else
|
416
|
-
v +=
|
416
|
+
v += x, z.next();
|
417
417
|
}
|
418
418
|
return v;
|
419
419
|
}
|
420
420
|
function v2(z) {
|
421
421
|
A(z);
|
422
|
-
let v = "",
|
422
|
+
let v = "", x = "";
|
423
423
|
for (; v = r2(z); )
|
424
|
-
|
425
|
-
return z.currentChar() === N1 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0),
|
424
|
+
x += v;
|
425
|
+
return z.currentChar() === N1 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0), x;
|
426
426
|
}
|
427
427
|
function A2(z) {
|
428
428
|
A(z);
|
@@ -431,12 +431,12 @@ function jI(e, c = {}) {
|
|
431
431
|
}
|
432
432
|
function k2(z) {
|
433
433
|
A(z), b(z, "'");
|
434
|
-
let v = "",
|
434
|
+
let v = "", x = "";
|
435
435
|
const U = (u2) => u2 !== S9 && u2 !== $2;
|
436
436
|
for (; v = F(z, U); )
|
437
|
-
v === "\\" ?
|
437
|
+
v === "\\" ? x += C2(z) : x += v;
|
438
438
|
const J = z.currentChar();
|
439
|
-
return J === $2 || J === N1 ? (m(e2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), J === $2 && (z.next(), b(z, "'")),
|
439
|
+
return J === $2 || J === N1 ? (m(e2.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), J === $2 && (z.next(), b(z, "'")), x) : (b(z, "'"), x);
|
440
440
|
}
|
441
441
|
function C2(z) {
|
442
442
|
const v = z.currentChar();
|
@@ -452,10 +452,10 @@ function jI(e, c = {}) {
|
|
452
452
|
return m(e2.UNKNOWN_ESCAPE_SEQUENCE, s(), 0, v), "";
|
453
453
|
}
|
454
454
|
}
|
455
|
-
function I2(z, v,
|
455
|
+
function I2(z, v, x) {
|
456
456
|
b(z, v);
|
457
457
|
let U = "";
|
458
|
-
for (let J = 0; J <
|
458
|
+
for (let J = 0; J < x; J++) {
|
459
459
|
const u2 = a2(z);
|
460
460
|
if (!u2) {
|
461
461
|
m(e2.INVALID_UNICODE_ESCAPE_SEQUENCE, s(), 0, `\\${v}${U}${z.currentChar()}`);
|
@@ -467,22 +467,22 @@ function jI(e, c = {}) {
|
|
467
467
|
}
|
468
468
|
function F2(z) {
|
469
469
|
A(z);
|
470
|
-
let v = "",
|
470
|
+
let v = "", x = "";
|
471
471
|
const U = (J) => J !== "{" && J !== "}" && J !== H1 && J !== $2;
|
472
472
|
for (; v = F(z, U); )
|
473
|
-
|
474
|
-
return
|
473
|
+
x += v;
|
474
|
+
return x;
|
475
475
|
}
|
476
476
|
function o1(z) {
|
477
|
-
let v = "",
|
477
|
+
let v = "", x = "";
|
478
478
|
for (; v = r2(z); )
|
479
|
-
|
480
|
-
return
|
479
|
+
x += v;
|
480
|
+
return x;
|
481
481
|
}
|
482
482
|
function f1(z) {
|
483
|
-
const v = (
|
483
|
+
const v = (x = !1, U) => {
|
484
484
|
const J = z.currentChar();
|
485
|
-
return J === "{" || J === "%" || J === "@" || J === "|" || J === "(" || J === ")" || !J || J === H1 ? U : J === $2 || J === BI ? (U += J, z.next(), v(
|
485
|
+
return J === "{" || J === "%" || J === "@" || J === "|" || J === "(" || J === ")" || !J || J === H1 ? U : J === $2 || J === BI ? (U += J, z.next(), v(x, U)) : (U += J, z.next(), v(!0, U));
|
486
486
|
};
|
487
487
|
return v(!1, "");
|
488
488
|
}
|
@@ -496,47 +496,47 @@ function jI(e, c = {}) {
|
|
496
496
|
return A(z), v;
|
497
497
|
}
|
498
498
|
function s1(z, v) {
|
499
|
-
let
|
499
|
+
let x = null;
|
500
500
|
switch (z.currentChar()) {
|
501
501
|
case "{":
|
502
|
-
return v.braceNest >= 1 && m(e2.NOT_ALLOW_NEST_PLACEHOLDER, s(), 0), z.next(),
|
502
|
+
return v.braceNest >= 1 && m(e2.NOT_ALLOW_NEST_PLACEHOLDER, s(), 0), z.next(), x = d(
|
503
503
|
v,
|
504
504
|
2,
|
505
505
|
"{"
|
506
506
|
/* TokenChars.BraceLeft */
|
507
|
-
), A(z), v.braceNest++,
|
507
|
+
), A(z), v.braceNest++, x;
|
508
508
|
case "}":
|
509
|
-
return v.braceNest > 0 && v.currentType === 2 && m(e2.EMPTY_PLACEHOLDER, s(), 0), z.next(),
|
509
|
+
return v.braceNest > 0 && v.currentType === 2 && m(e2.EMPTY_PLACEHOLDER, s(), 0), z.next(), x = d(
|
510
510
|
v,
|
511
511
|
3,
|
512
512
|
"}"
|
513
513
|
/* TokenChars.BraceRight */
|
514
|
-
), v.braceNest--, v.braceNest > 0 && A(z), v.inLinked && v.braceNest === 0 && (v.inLinked = !1),
|
514
|
+
), v.braceNest--, v.braceNest > 0 && A(z), v.inLinked && v.braceNest === 0 && (v.inLinked = !1), x;
|
515
515
|
case "@":
|
516
|
-
return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0),
|
516
|
+
return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0), x = u1(z, v) || h(v), v.braceNest = 0, x;
|
517
517
|
default:
|
518
518
|
let J = !0, u2 = !0, J2 = !0;
|
519
519
|
if ($(z))
|
520
|
-
return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0),
|
520
|
+
return v.braceNest > 0 && m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0), x = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, x;
|
521
521
|
if (v.braceNest > 0 && (v.currentType === 5 || v.currentType === 6 || v.currentType === 7))
|
522
522
|
return m(e2.UNTERMINATED_CLOSING_BRACE, s(), 0), v.braceNest = 0, i1(z, v);
|
523
523
|
if (J = _(z, v))
|
524
|
-
return
|
524
|
+
return x = d(v, 5, v2(z)), A(z), x;
|
525
525
|
if (u2 = M(z, v))
|
526
|
-
return
|
526
|
+
return x = d(v, 6, A2(z)), A(z), x;
|
527
527
|
if (J2 = N(z, v))
|
528
|
-
return
|
528
|
+
return x = d(v, 7, k2(z)), A(z), x;
|
529
529
|
if (!J && !u2 && !J2)
|
530
|
-
return
|
530
|
+
return x = d(v, 13, F2(z)), m(e2.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, x.value), A(z), x;
|
531
531
|
break;
|
532
532
|
}
|
533
|
-
return
|
533
|
+
return x;
|
534
534
|
}
|
535
535
|
function u1(z, v) {
|
536
|
-
const { currentType:
|
536
|
+
const { currentType: x } = v;
|
537
537
|
let U = null;
|
538
538
|
const J = z.currentChar();
|
539
|
-
switch ((
|
539
|
+
switch ((x === 8 || x === 9 || x === 12 || x === 10) && (J === $2 || J === H1) && m(e2.INVALID_LINKED_FORMAT, s(), 0), J) {
|
540
540
|
case "@":
|
541
541
|
return z.next(), U = d(
|
542
542
|
v,
|
@@ -559,11 +559,11 @@ function jI(e, c = {}) {
|
|
559
559
|
/* TokenChars.LinkedDelimiter */
|
560
560
|
);
|
561
561
|
default:
|
562
|
-
return $(z) ? (U = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, U) : S(z, v) || y(z, v) ? (A(z), u1(z, v)) : C(z, v) ? (A(z), d(v, 12, o1(z))) : w(z, v) ? (A(z), J === "{" ? s1(z, v) || U : d(v, 11, f1(z))) : (
|
562
|
+
return $(z) ? (U = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, U) : S(z, v) || y(z, v) ? (A(z), u1(z, v)) : C(z, v) ? (A(z), d(v, 12, o1(z))) : w(z, v) ? (A(z), J === "{" ? s1(z, v) || U : d(v, 11, f1(z))) : (x === 8 && m(e2.INVALID_LINKED_FORMAT, s(), 0), v.braceNest = 0, v.inLinked = !1, i1(z, v));
|
563
563
|
}
|
564
564
|
}
|
565
565
|
function i1(z, v) {
|
566
|
-
let
|
566
|
+
let x = {
|
567
567
|
type: 14
|
568
568
|
/* TokenTypes.EOF */
|
569
569
|
};
|
@@ -585,7 +585,7 @@ function jI(e, c = {}) {
|
|
585
585
|
return u1(z, v) || h(v);
|
586
586
|
default:
|
587
587
|
if ($(z))
|
588
|
-
return
|
588
|
+
return x = d(v, 1, R2(z)), v.braceNest = 0, v.inLinked = !1, x;
|
589
589
|
const { isModulo: J, hasSpace: u2 } = W(z);
|
590
590
|
if (J)
|
591
591
|
return u2 ? d(v, 0, b2(z)) : d(v, 4, j2(z));
|
@@ -593,11 +593,11 @@ function jI(e, c = {}) {
|
|
593
593
|
return d(v, 0, b2(z));
|
594
594
|
break;
|
595
595
|
}
|
596
|
-
return
|
596
|
+
return x;
|
597
597
|
}
|
598
598
|
function j1() {
|
599
|
-
const { currentType: z, offset: v, startLoc:
|
600
|
-
return l.lastType = z, l.lastOffset = v, l.lastStartLoc =
|
599
|
+
const { currentType: z, offset: v, startLoc: x, endLoc: U } = l;
|
600
|
+
return l.lastType = z, l.lastOffset = v, l.lastStartLoc = x, l.lastEndLoc = U, l.offset = n(), l.startLoc = s(), t.currentChar() === N1 ? d(
|
601
601
|
l,
|
602
602
|
14
|
603
603
|
/* TokenTypes.EOF */
|
@@ -2440,7 +2440,7 @@ function A0(e = {}, c) {
|
|
2440
2440
|
return v2(() => {
|
2441
2441
|
if (!T)
|
2442
2442
|
return !1;
|
2443
|
-
const o2 = R(P) ? P : r.value, _2 =
|
2443
|
+
const o2 = R(P) ? P : r.value, _2 = x(o2), R1 = C.messageResolver(_2, T);
|
2444
2444
|
return E1(R1) || e1(R1) || R(R1);
|
2445
2445
|
}, () => [T], "translate exists", (o2) => Reflect.apply(o2.te, o2, [T, P]), sD, (o2) => n2(o2));
|
2446
2446
|
}
|
@@ -2460,7 +2460,7 @@ function A0(e = {}, c) {
|
|
2460
2460
|
const P = z(T);
|
2461
2461
|
return P ?? (a ? a.tm(T) || {} : {});
|
2462
2462
|
}
|
2463
|
-
function
|
2463
|
+
function x(T) {
|
2464
2464
|
return f.value[T] || {};
|
2465
2465
|
}
|
2466
2466
|
function U(T, P) {
|
@@ -2562,7 +2562,7 @@ function A0(e = {}, c) {
|
|
2562
2562
|
M = T, C.escapeParameter = T;
|
2563
2563
|
},
|
2564
2564
|
t: A2,
|
2565
|
-
getLocaleMessage:
|
2565
|
+
getLocaleMessage: x,
|
2566
2566
|
setLocaleMessage: U,
|
2567
2567
|
mergeLocaleMessage: J,
|
2568
2568
|
getPostTranslationHandler: l2,
|
@@ -3568,35 +3568,35 @@ function BD(e, c, a, t = {}) {
|
|
3568
3568
|
function A2(v) {
|
3569
3569
|
return s.value ? s.value.tm(v) : {};
|
3570
3570
|
}
|
3571
|
-
function k2(v,
|
3572
|
-
return s.value ? s.value.te(v,
|
3571
|
+
function k2(v, x) {
|
3572
|
+
return s.value ? s.value.te(v, x) : !1;
|
3573
3573
|
}
|
3574
3574
|
function C2(v) {
|
3575
3575
|
return s.value ? s.value.getLocaleMessage(v) : {};
|
3576
3576
|
}
|
3577
|
-
function I2(v,
|
3578
|
-
s.value && (s.value.setLocaleMessage(v,
|
3577
|
+
function I2(v, x) {
|
3578
|
+
s.value && (s.value.setLocaleMessage(v, x), f.value[v] = x);
|
3579
3579
|
}
|
3580
|
-
function F2(v,
|
3581
|
-
s.value && s.value.mergeLocaleMessage(v,
|
3580
|
+
function F2(v, x) {
|
3581
|
+
s.value && s.value.mergeLocaleMessage(v, x);
|
3582
3582
|
}
|
3583
3583
|
function o1(v) {
|
3584
3584
|
return s.value ? s.value.getDateTimeFormat(v) : {};
|
3585
3585
|
}
|
3586
|
-
function f1(v,
|
3587
|
-
s.value && (s.value.setDateTimeFormat(v,
|
3586
|
+
function f1(v, x) {
|
3587
|
+
s.value && (s.value.setDateTimeFormat(v, x), o.value[v] = x);
|
3588
3588
|
}
|
3589
|
-
function R2(v,
|
3590
|
-
s.value && s.value.mergeDateTimeFormat(v,
|
3589
|
+
function R2(v, x) {
|
3590
|
+
s.value && s.value.mergeDateTimeFormat(v, x);
|
3591
3591
|
}
|
3592
3592
|
function s1(v) {
|
3593
3593
|
return s.value ? s.value.getNumberFormat(v) : {};
|
3594
3594
|
}
|
3595
|
-
function u1(v,
|
3596
|
-
s.value && (s.value.setNumberFormat(v,
|
3595
|
+
function u1(v, x) {
|
3596
|
+
s.value && (s.value.setNumberFormat(v, x), m.value[v] = x);
|
3597
3597
|
}
|
3598
|
-
function i1(v,
|
3599
|
-
s.value && s.value.mergeNumberFormat(v,
|
3598
|
+
function i1(v, x) {
|
3599
|
+
s.value && s.value.mergeNumberFormat(v, x);
|
3600
3600
|
}
|
3601
3601
|
const j1 = {
|
3602
3602
|
get id() {
|
@@ -3682,12 +3682,12 @@ function BD(e, c, a, t = {}) {
|
|
3682
3682
|
mergeNumberFormat: i1
|
3683
3683
|
};
|
3684
3684
|
function z(v) {
|
3685
|
-
v.locale.value = r.value, v.fallbackLocale.value = l.value, Object.keys(f.value).forEach((
|
3686
|
-
v.mergeLocaleMessage(
|
3687
|
-
}), Object.keys(o.value).forEach((
|
3688
|
-
v.mergeDateTimeFormat(
|
3689
|
-
}), Object.keys(m.value).forEach((
|
3690
|
-
v.mergeNumberFormat(
|
3685
|
+
v.locale.value = r.value, v.fallbackLocale.value = l.value, Object.keys(f.value).forEach((x) => {
|
3686
|
+
v.mergeLocaleMessage(x, f.value[x]);
|
3687
|
+
}), Object.keys(o.value).forEach((x) => {
|
3688
|
+
v.mergeDateTimeFormat(x, o.value[x]);
|
3689
|
+
}), Object.keys(m.value).forEach((x) => {
|
3690
|
+
v.mergeNumberFormat(x, m.value[x]);
|
3691
3691
|
}), v.escapeParameter = _, v.fallbackFormat = L, v.fallbackRoot = b, v.fallbackWarn = h, v.missingWarn = d, v.warnHtmlMessage = g;
|
3692
3692
|
}
|
3693
3693
|
return oI(() => {
|
@@ -6326,7 +6326,7 @@ function XO(e) {
|
|
6326
6326
|
var F, r2 = M === "y" ? W2 : G2, l2 = M === "y" ? t1 : n1, a2 = M === "y" ? "height" : "width", h2 = S[M], j2 = h2 + A[r2], b2 = h2 - A[l2], v2 = h ? -y[a2] / 2 : 0, A2 = g === u3 ? C[a2] : y[a2], k2 = g === u3 ? -y[a2] : -C[a2], C2 = c.elements.arrow, I2 = h && C2 ? T0(C2) : {
|
6327
6327
|
width: 0,
|
6328
6328
|
height: 0
|
6329
|
-
}, F2 = c.modifiersData["arrow#persistent"] ? c.modifiersData["arrow#persistent"].padding : Ws(), o1 = F2[r2], f1 = F2[l2], R2 = N3(0, C[a2], I2[a2]), s1 = _ ? C[a2] / 2 - v2 - R2 - o1 - $.mainAxis : A2 - R2 - o1 - $.mainAxis, u1 = _ ? -C[a2] / 2 + v2 + R2 + f1 + $.mainAxis : k2 + R2 + f1 + $.mainAxis, i1 = c.elements.arrow && W3(c.elements.arrow), j1 = i1 ? M === "y" ? i1.clientTop || 0 : i1.clientLeft || 0 : 0, z = (F = W == null ? void 0 : W[M]) != null ? F : 0, v = h2 + s1 - z - j1,
|
6329
|
+
}, F2 = c.modifiersData["arrow#persistent"] ? c.modifiersData["arrow#persistent"].padding : Ws(), o1 = F2[r2], f1 = F2[l2], R2 = N3(0, C[a2], I2[a2]), s1 = _ ? C[a2] / 2 - v2 - R2 - o1 - $.mainAxis : A2 - R2 - o1 - $.mainAxis, u1 = _ ? -C[a2] / 2 + v2 + R2 + f1 + $.mainAxis : k2 + R2 + f1 + $.mainAxis, i1 = c.elements.arrow && W3(c.elements.arrow), j1 = i1 ? M === "y" ? i1.clientTop || 0 : i1.clientLeft || 0 : 0, z = (F = W == null ? void 0 : W[M]) != null ? F : 0, v = h2 + s1 - z - j1, x = h2 + u1 - z, U = N3(h ? S4(j2, v) : j2, h2, h ? G1(b2, x) : b2);
|
6330
6330
|
S[M] = U, j[M] = U - h2;
|
6331
6331
|
}
|
6332
6332
|
if (r) {
|
@@ -19172,7 +19172,7 @@ const rF = Q({
|
|
19172
19172
|
"data-test": "btn-icon"
|
19173
19173
|
}, null, 8, ["icon"])) : O("", !0),
|
19174
19174
|
y2(t.$slots, "default", {}, () => [
|
19175
|
-
D2(
|
19175
|
+
D2(k(e.label), 1)
|
19176
19176
|
], !0),
|
19177
19177
|
e.iconRight ? (p(), K(s, {
|
19178
19178
|
key: 1,
|
@@ -19250,7 +19250,7 @@ const mF = /* @__PURE__ */ X(uF, [["__scopeId", "data-v-70d9cfd4"]]), dF = /* @_
|
|
19250
19250
|
}, [
|
19251
19251
|
u("div", {
|
19252
19252
|
class: Y(`AVBullet--number ${e.active && "AVBullet--active"} ${e.hover && "AVBullet--hover"}`)
|
19253
|
-
},
|
19253
|
+
}, k(e.value || "0"), 3)
|
19254
19254
|
], 2)) : (p(), K(t, {
|
19255
19255
|
key: 2,
|
19256
19256
|
icon: "fa-solid fa-circle",
|
@@ -19324,7 +19324,7 @@ const H0 = /* @__PURE__ */ X(dF, [["__scopeId", "data-v-83458350"]]), vF = { cla
|
|
19324
19324
|
class: "AVTextInput--label",
|
19325
19325
|
"data-test": "input-label"
|
19326
19326
|
}, [
|
19327
|
-
u("span", null,
|
19327
|
+
u("span", null, k(e.inputLabel), 1),
|
19328
19328
|
e.tooltipText ? (p(), K(r, {
|
19329
19329
|
key: 0,
|
19330
19330
|
id: `${e.id}-info-tooltip`,
|
@@ -19358,7 +19358,7 @@ const H0 = /* @__PURE__ */ X(dF, [["__scopeId", "data-v-83458350"]]), vF = { cla
|
|
19358
19358
|
})
|
19359
19359
|
])) : O("", !0)
|
19360
19360
|
]),
|
19361
|
-
e.error && e.errorMessage ? (p(), H("p", HF,
|
19361
|
+
e.error && e.errorMessage ? (p(), H("p", HF, k(e.errorMessage), 1)) : O("", !0)
|
19362
19362
|
]);
|
19363
19363
|
};
|
19364
19364
|
}
|
@@ -19448,7 +19448,7 @@ const bF = /* @__PURE__ */ X(MF, [["__scopeId", "data-v-9ab10a3b"]]), CF = { cla
|
|
19448
19448
|
class: "AVNumberInput--label",
|
19449
19449
|
"data-test": "input-label"
|
19450
19450
|
}, [
|
19451
|
-
u("span", null,
|
19451
|
+
u("span", null, k(e.inputLabel), 1),
|
19452
19452
|
e.tooltipText ? (p(), K(d, {
|
19453
19453
|
key: 0,
|
19454
19454
|
id: `${e.id}-info-tooltip`,
|
@@ -19519,7 +19519,7 @@ const bF = /* @__PURE__ */ X(MF, [["__scopeId", "data-v-9ab10a3b"]]), CF = { cla
|
|
19519
19519
|
})
|
19520
19520
|
])) : O("", !0)
|
19521
19521
|
], 32),
|
19522
|
-
e.error && e.errorMessage ? (p(), H("p", NF,
|
19522
|
+
e.error && e.errorMessage ? (p(), H("p", NF, k(e.errorMessage), 1)) : O("", !0)
|
19523
19523
|
]);
|
19524
19524
|
};
|
19525
19525
|
}
|
@@ -19584,7 +19584,7 @@ const kF = /* @__PURE__ */ X(xF, [["__scopeId", "data-v-cd10cd1f"]]), SF = { cla
|
|
19584
19584
|
class: "AVPaswordInput--label",
|
19585
19585
|
"data-test": "input-label"
|
19586
19586
|
}, [
|
19587
|
-
u("span", null,
|
19587
|
+
u("span", null, k(e.inputLabel), 1),
|
19588
19588
|
e.tooltipText ? (p(), K(r, {
|
19589
19589
|
key: 0,
|
19590
19590
|
id: `${e.id}-info-tooltip`,
|
@@ -19624,7 +19624,7 @@ const kF = /* @__PURE__ */ X(xF, [["__scopeId", "data-v-cd10cd1f"]]), SF = { cla
|
|
19624
19624
|
])
|
19625
19625
|
], 2)
|
19626
19626
|
]),
|
19627
|
-
e.error && e.errorMessage ? (p(), H("p", DF,
|
19627
|
+
e.error && e.errorMessage ? (p(), H("p", DF, k(e.errorMessage), 1)) : O("", !0)
|
19628
19628
|
]);
|
19629
19629
|
};
|
19630
19630
|
}
|
@@ -19691,7 +19691,7 @@ const PF = /* @__PURE__ */ X(OF, [["__scopeId", "data-v-d3a76ffa"]]), BF = { cla
|
|
19691
19691
|
class: "AVDatetimeInput--label",
|
19692
19692
|
"data-test": "input-label"
|
19693
19693
|
}, [
|
19694
|
-
u("span", null,
|
19694
|
+
u("span", null, k(e.inputLabel), 1),
|
19695
19695
|
e.tooltipText ? (p(), K(s, {
|
19696
19696
|
key: 0,
|
19697
19697
|
id: `${e.id}-info-tooltip`,
|
@@ -19722,7 +19722,7 @@ const PF = /* @__PURE__ */ X(OF, [["__scopeId", "data-v-d3a76ffa"]]), BF = { cla
|
|
19722
19722
|
max: e.max
|
19723
19723
|
}, null, 46, $F)
|
19724
19724
|
]),
|
19725
|
-
e.error && e.errorMessage ? (p(), H("p", UF,
|
19725
|
+
e.error && e.errorMessage ? (p(), H("p", UF, k(e.errorMessage), 1)) : O("", !0)
|
19726
19726
|
]);
|
19727
19727
|
};
|
19728
19728
|
}
|
@@ -19792,7 +19792,7 @@ const WF = /* @__PURE__ */ X(qF, [["__scopeId", "data-v-2fe9b4c5"]]), GF = { cla
|
|
19792
19792
|
class: "AVTextArea--label",
|
19793
19793
|
"data-test": "input-label"
|
19794
19794
|
}, [
|
19795
|
-
u("span", null,
|
19795
|
+
u("span", null, k(e.inputLabel), 1),
|
19796
19796
|
e.tooltipText ? (p(), K(s, {
|
19797
19797
|
key: 0,
|
19798
19798
|
id: `${e.id}-info-tooltip`,
|
@@ -19831,7 +19831,7 @@ const WF = /* @__PURE__ */ X(qF, [["__scopeId", "data-v-2fe9b4c5"]]), GF = { cla
|
|
19831
19831
|
})
|
19832
19832
|
])) : O("", !0)
|
19833
19833
|
]),
|
19834
|
-
e.error && e.errorMessage ? (p(), H("p", ZF,
|
19834
|
+
e.error && e.errorMessage ? (p(), H("p", ZF, k(e.errorMessage), 1)) : O("", !0)
|
19835
19835
|
]);
|
19836
19836
|
};
|
19837
19837
|
}
|
@@ -19856,7 +19856,7 @@ const ej = /* @__PURE__ */ X(JF, [["__scopeId", "data-v-235509f9"]]), cj = /* @_
|
|
19856
19856
|
`;
|
19857
19857
|
return (t, n) => (p(), H("span", {
|
19858
19858
|
class: Y(a)
|
19859
|
-
},
|
19859
|
+
}, k(e.value), 1));
|
19860
19860
|
}
|
19861
19861
|
});
|
19862
19862
|
const aj = /* @__PURE__ */ X(cj, [["__scopeId", "data-v-ee7ab830"]]), tj = /* @__PURE__ */ Q({
|
@@ -19992,7 +19992,7 @@ const ij = /* @__PURE__ */ X(sj, [["__scopeId", "data-v-ff11beb8"]]), rj = { cla
|
|
19992
19992
|
class: "AVDropdown--label",
|
19993
19993
|
"data-test": "input-label"
|
19994
19994
|
}, [
|
19995
|
-
u("span", null,
|
19995
|
+
u("span", null, k(e.inputLabel), 1),
|
19996
19996
|
e.tooltipText ? (p(), K(o, {
|
19997
19997
|
key: 0,
|
19998
19998
|
id: `${e.id}-info-tooltip`,
|
@@ -20021,10 +20021,10 @@ const ij = /* @__PURE__ */ X(sj, [["__scopeId", "data-v-ff11beb8"]]), rj = { cla
|
|
20021
20021
|
"data-test": "input-icon"
|
20022
20022
|
}, null, 8, ["icon"])
|
20023
20023
|
])) : O("", !0),
|
20024
|
-
s.value === void 0 ? (p(), H("span", uj,
|
20024
|
+
s.value === void 0 ? (p(), H("span", uj, k(e.placeholder), 1)) : (p(), H("span", {
|
20025
20025
|
key: 2,
|
20026
20026
|
class: "AVDropdown--selected-option",
|
20027
|
-
textContent:
|
20027
|
+
textContent: k(s.value.label)
|
20028
20028
|
}, null, 8, mj)),
|
20029
20029
|
u("span", dj, [
|
20030
20030
|
I(m, {
|
@@ -20046,7 +20046,7 @@ const ij = /* @__PURE__ */ X(sj, [["__scopeId", "data-v-ff11beb8"]]), rj = { cla
|
|
20046
20046
|
_: 1
|
20047
20047
|
})
|
20048
20048
|
]),
|
20049
|
-
e.error && e.errorMessage ? (p(), H("p", vj,
|
20049
|
+
e.error && e.errorMessage ? (p(), H("p", vj, k(e.errorMessage), 1)) : O("", !0)
|
20050
20050
|
]);
|
20051
20051
|
};
|
20052
20052
|
}
|
@@ -20085,7 +20085,7 @@ const gj = /* @__PURE__ */ X(zj, [["__scopeId", "data-v-e2058f66"]]), Hj = /* @_
|
|
20085
20085
|
return (t, n) => (p(), H("a", {
|
20086
20086
|
class: "AVDropdownItem",
|
20087
20087
|
onClick: a
|
20088
|
-
},
|
20088
|
+
}, k(e.optionLabel), 1));
|
20089
20089
|
}
|
20090
20090
|
});
|
20091
20091
|
const Mj = /* @__PURE__ */ X(Hj, [["__scopeId", "data-v-2ca0bff3"]]), bj = {
|
@@ -20168,7 +20168,7 @@ const Mj = /* @__PURE__ */ X(Hj, [["__scopeId", "data-v-2ca0bff3"]]), bj = {
|
|
20168
20168
|
"data-test": "alert-icon"
|
20169
20169
|
}, null, 8, ["icon"])
|
20170
20170
|
])),
|
20171
|
-
u("span", _j,
|
20171
|
+
u("span", _j, k(e.title !== "" ? e.title : n[e.type]), 1)
|
20172
20172
|
]),
|
20173
20173
|
e.disableDismiss ? O("", !0) : (p(), H("button", {
|
20174
20174
|
key: 0,
|
@@ -20319,7 +20319,7 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20319
20319
|
class: "AVFileInput--label",
|
20320
20320
|
"data-test": "input-label"
|
20321
20321
|
}, [
|
20322
|
-
u("span", null,
|
20322
|
+
u("span", null, k(e.inputLabel), 1),
|
20323
20323
|
e.tooltipText ? (p(), K(S, {
|
20324
20324
|
key: 0,
|
20325
20325
|
id: `${e.id}-info-tooltip`,
|
@@ -20357,23 +20357,23 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20357
20357
|
class: "AVFileInput--dragdroptext"
|
20358
20358
|
}, [
|
20359
20359
|
s.value ? (p(), H("div", Tj, [
|
20360
|
-
u("div", Ij,
|
20360
|
+
u("div", Ij, k(B(n)("js.components.AVFileInput.release")), 1)
|
20361
20361
|
])) : (p(), H("div", Ej, [
|
20362
|
-
u("div", Dj,
|
20362
|
+
u("div", Dj, k(B(n)("js.components.AVFileInput.primary")), 1),
|
20363
20363
|
u("div", Oj, [
|
20364
|
-
D2(
|
20365
|
-
u("strong", null,
|
20366
|
-
D2(" " +
|
20364
|
+
D2(k(B(n)("js.components.AVFileInput.secondary.start")) + " ", 1),
|
20365
|
+
u("strong", null, k(B(n)("js.components.AVFileInput.secondary.strong")), 1),
|
20366
|
+
D2(" " + k(B(n)("js.components.AVFileInput.secondary.end")), 1)
|
20367
20367
|
])
|
20368
20368
|
]))
|
20369
20369
|
], 8, wj)
|
20370
20370
|
], 34),
|
20371
20371
|
e.disableAcceptedFormats ? O("", !0) : (p(), H("p", Pj, [
|
20372
|
-
D2(
|
20373
|
-
u("em", Bj,
|
20372
|
+
D2(k(B(n)("js.components.AVFileInput.acceptedFormats")) + " ", 1),
|
20373
|
+
u("em", Bj, k(h.value), 1)
|
20374
20374
|
])),
|
20375
20375
|
r.value.length ? (p(), H("div", Fj, [
|
20376
|
-
u("p", jj,
|
20376
|
+
u("p", jj, k(B(n)("js.components.AVFileInput.uploading")), 1),
|
20377
20377
|
(p(!0), H(t2, null, g2(r.value, (y) => (p(), H("div", {
|
20378
20378
|
key: y.name,
|
20379
20379
|
class: Y(`AVFileInput--preview-card ${e.error && "error"}`)
|
@@ -20392,8 +20392,8 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20392
20392
|
}))
|
20393
20393
|
]),
|
20394
20394
|
u("p", qj, [
|
20395
|
-
D2(
|
20396
|
-
u("em", null,
|
20395
|
+
D2(k(y.name) + " ", 1),
|
20396
|
+
u("em", null, k(Math.round(y.size / 1e3) + "kb"), 1)
|
20397
20397
|
])
|
20398
20398
|
]),
|
20399
20399
|
e.disabled ? O("", !0) : (p(), H("button", {
|
@@ -20412,7 +20412,7 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20412
20412
|
], 2))), 128))
|
20413
20413
|
])) : O("", !0),
|
20414
20414
|
e.currentValue ? (p(), H("div", Gj, [
|
20415
|
-
u("p", Yj,
|
20415
|
+
u("p", Yj, k(B(n)("js.components.AVFileInput.current")), 1),
|
20416
20416
|
(p(!0), H(t2, null, g2(e.currentValue, (y) => (p(), H("div", {
|
20417
20417
|
key: `image-${y}`
|
20418
20418
|
}, [
|
@@ -20430,7 +20430,7 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20430
20430
|
"data-test": "file-preview-icon"
|
20431
20431
|
})
|
20432
20432
|
]),
|
20433
|
-
u("p", Jj,
|
20433
|
+
u("p", Jj, k(L(y)), 1)
|
20434
20434
|
]),
|
20435
20435
|
u("button", {
|
20436
20436
|
class: "AVTextInput--delete-btn",
|
@@ -20447,7 +20447,7 @@ const Aj = /* @__PURE__ */ X(yj, [["__scopeId", "data-v-0cc3f6d1"]]), Nj = { cla
|
|
20447
20447
|
]))
|
20448
20448
|
]))), 128))
|
20449
20449
|
])) : O("", !0),
|
20450
|
-
e.error && e.errorMessage ? (p(), H("p", cR,
|
20450
|
+
e.error && e.errorMessage ? (p(), H("p", cR, k(e.errorMessage), 1)) : O("", !0)
|
20451
20451
|
]);
|
20452
20452
|
};
|
20453
20453
|
}
|
@@ -20500,7 +20500,7 @@ const tR = /* @__PURE__ */ X(aR, [["__scopeId", "data-v-21894bad"]]), nR = (e) =
|
|
20500
20500
|
disabled: e.disabled
|
20501
20501
|
}, null, 40, iR),
|
20502
20502
|
rR,
|
20503
|
-
D2(" " +
|
20503
|
+
D2(" " + k(e.value), 1)
|
20504
20504
|
], 10, sR));
|
20505
20505
|
}
|
20506
20506
|
});
|
@@ -20572,7 +20572,7 @@ const oR = /* @__PURE__ */ X(lR, [["__scopeId", "data-v-d8e45fa7"]]), fR = ["hre
|
|
20572
20572
|
target: e.target,
|
20573
20573
|
class: Y(`AVLink AVLink--${e.variant}`)
|
20574
20574
|
}, [
|
20575
|
-
u("span", null,
|
20575
|
+
u("span", null, k(e.label), 1),
|
20576
20576
|
e.disableIcon ? O("", !0) : (p(), K(t, {
|
20577
20577
|
key: 0,
|
20578
20578
|
icon: "fa-solid fa-arrow-up-right-from-square",
|
@@ -20643,7 +20643,7 @@ const mR = /* @__PURE__ */ X(uR, [["__scopeId", "data-v-999075bc"]]), dR = ["hre
|
|
20643
20643
|
icon: `fa-solid fa-${e.icon}`,
|
20644
20644
|
class: "AVNavbarItem--icon"
|
20645
20645
|
}, null, 8, ["icon"])),
|
20646
|
-
u("span", vR,
|
20646
|
+
u("span", vR, k(e.label), 1)
|
20647
20647
|
], 14, dR)) : (p(), H("button", {
|
20648
20648
|
key: 1,
|
20649
20649
|
class: Y(`AVNavbarItem ${e.active ? "AVNavbarItem--active" : ""} ${e.disabled && "disabled"}`),
|
@@ -20656,7 +20656,7 @@ const mR = /* @__PURE__ */ X(uR, [["__scopeId", "data-v-999075bc"]]), dR = ["hre
|
|
20656
20656
|
icon: `fa-solid fa-${e.icon}`,
|
20657
20657
|
class: "AVNavbarItem--icon"
|
20658
20658
|
}, null, 8, ["icon"])),
|
20659
|
-
u("span", hR,
|
20659
|
+
u("span", hR, k(e.label), 1)
|
20660
20660
|
], 14, pR));
|
20661
20661
|
};
|
20662
20662
|
}
|
@@ -20736,7 +20736,7 @@ const zR = /* @__PURE__ */ X(VR, [["__scopeId", "data-v-d205c709"]]), gR = ["hre
|
|
20736
20736
|
hover: t.value,
|
20737
20737
|
"aria-hidden": "true"
|
20738
20738
|
}, null, 8, ["type", "active", "value", "hover"]),
|
20739
|
-
u("span", HR,
|
20739
|
+
u("span", HR, k(e.label), 1)
|
20740
20740
|
], 42, gR)) : (p(), H("button", {
|
20741
20741
|
key: 1,
|
20742
20742
|
class: Y(`AVSidebarItem ${e.active ? "AVSidebarItem--active" : ""} ${e.disabled && "disabled"}`),
|
@@ -20753,7 +20753,7 @@ const zR = /* @__PURE__ */ X(VR, [["__scopeId", "data-v-d205c709"]]), gR = ["hre
|
|
20753
20753
|
hover: t.value,
|
20754
20754
|
"aria-hidden": "true"
|
20755
20755
|
}, null, 8, ["type", "active", "value", "hover"]),
|
20756
|
-
u("span", bR,
|
20756
|
+
u("span", bR, k(e.label), 1)
|
20757
20757
|
], 42, MR));
|
20758
20758
|
}
|
20759
20759
|
});
|
@@ -20796,7 +20796,7 @@ const LR = /* @__PURE__ */ X(CR, [["__scopeId", "data-v-835677d9"]]), _R = { cla
|
|
20796
20796
|
}, {
|
20797
20797
|
default: s2(() => [
|
20798
20798
|
u("div", _R, [
|
20799
|
-
e.text ? (p(), H("span", yR,
|
20799
|
+
e.text ? (p(), H("span", yR, k(e.text), 1)) : O("", !0),
|
20800
20800
|
e.icon ? (p(), K(t, {
|
20801
20801
|
key: 1,
|
20802
20802
|
icon: e.icon,
|
@@ -20806,7 +20806,7 @@ const LR = /* @__PURE__ */ X(CR, [["__scopeId", "data-v-835677d9"]]), _R = { cla
|
|
20806
20806
|
])
|
20807
20807
|
]),
|
20808
20808
|
content: s2(() => [
|
20809
|
-
u("span", { id: e.id },
|
20809
|
+
u("span", { id: e.id }, k(e.content), 9, AR)
|
20810
20810
|
]),
|
20811
20811
|
_: 1
|
20812
20812
|
}, 8, ["placement"]);
|
@@ -20937,7 +20937,7 @@ const DR = /* @__PURE__ */ X(ER, [["__scopeId", "data-v-e8fb623b"]]), OR = ["hre
|
|
20937
20937
|
icon: `fa-solid fa-${e.icon}`,
|
20938
20938
|
"data-test": "option-icon"
|
20939
20939
|
}, null, 8, ["icon"])) : O("", !0),
|
20940
|
-
D2(" " +
|
20940
|
+
D2(" " + k(e.optionLabel), 1)
|
20941
20941
|
], 10, OR);
|
20942
20942
|
};
|
20943
20943
|
}
|
@@ -21034,7 +21034,7 @@ const BR = /* @__PURE__ */ X(PR, [["__scopeId", "data-v-f770cea1"]]), FR = ["dis
|
|
21034
21034
|
class: "AVAsyncButton--icon",
|
21035
21035
|
"data-test": "btn-icon"
|
21036
21036
|
}, null, 8, ["icon"]),
|
21037
|
-
u("span", null,
|
21037
|
+
u("span", null, k(e.label), 1)
|
21038
21038
|
], !0)
|
21039
21039
|
], 10, FR);
|
21040
21040
|
};
|
@@ -21101,7 +21101,7 @@ const RR = /* @__PURE__ */ X(jR, [["__scopeId", "data-v-11042fa9"]]), $R = { cla
|
|
21101
21101
|
class: Y(`AVTabSwitcher--button ${s.value} ${h.selected && "AVTabSwitcher--button-active"} ${h.disabled && "disabled"}`),
|
21102
21102
|
disabled: h.disabled,
|
21103
21103
|
onClick: (b) => f(h.value)
|
21104
|
-
},
|
21104
|
+
}, k(h.value), 11, UR))), 128))
|
21105
21105
|
]));
|
21106
21106
|
}
|
21107
21107
|
});
|
@@ -21142,7 +21142,7 @@ const WR = /* @__PURE__ */ X(qR, [["__scopeId", "data-v-413f60c7"]]), GR = { cla
|
|
21142
21142
|
}, null, 8, ["icon", "class"]),
|
21143
21143
|
u("span", {
|
21144
21144
|
class: Y(`AVBallotSummary--ballot-name ${a.value && "AVBallotSummary--name-ready"}`)
|
21145
|
-
},
|
21145
|
+
}, k(e.ballotStyleName), 3)
|
21146
21146
|
]),
|
21147
21147
|
u("div", QR, [
|
21148
21148
|
a.value ? (p(), K(i, {
|
@@ -21157,7 +21157,7 @@ const WR = /* @__PURE__ */ X(qR, [["__scopeId", "data-v-413f60c7"]]), GR = { cla
|
|
21157
21157
|
})),
|
21158
21158
|
u("span", {
|
21159
21159
|
class: Y(`AVBallotSummary--ballot-status ${a.value && "AVBallotSummary--status-ready"}`)
|
21160
|
-
},
|
21160
|
+
}, k(a.value ? `${e.currentBallots} ${e.readyLabel}` : `${t.value} ${e.waitingLabel}`), 3)
|
21161
21161
|
])
|
21162
21162
|
]);
|
21163
21163
|
};
|
@@ -21222,8 +21222,8 @@ const KR = /* @__PURE__ */ X(XR, [["__scopeId", "data-v-607d90fc"]]), ZR = {
|
|
21222
21222
|
class: Y(`AVTimedCard--help-text ${e.timeout - t.value <= e.customWarningTime && "AVTimedCard--help-text-warning"}`),
|
21223
21223
|
"data-test": "help-text"
|
21224
21224
|
}, [
|
21225
|
-
D2(
|
21226
|
-
u("strong", null,
|
21225
|
+
D2(k(e.expirationMessage), 1),
|
21226
|
+
u("strong", null, k(f.value), 1)
|
21227
21227
|
], 2)
|
21228
21228
|
], 64));
|
21229
21229
|
}
|
@@ -21254,18 +21254,18 @@ const c$ = /* @__PURE__ */ X(e$, [["__scopeId", "data-v-583fff65"]]), a$ = (e) =
|
|
21254
21254
|
u("span", {
|
21255
21255
|
class: Y(`AVBasicSteps--step ${a(e.steps[0]) && "AVBasicSteps--step-active"}`),
|
21256
21256
|
"data-test": "step"
|
21257
|
-
},
|
21257
|
+
}, k(e.steps[0]), 3),
|
21258
21258
|
n$,
|
21259
21259
|
u("span", {
|
21260
21260
|
class: Y(`AVBasicSteps--step ${a(e.steps[1]) && "AVBasicSteps--step-active"}`),
|
21261
21261
|
"data-test": "step"
|
21262
|
-
},
|
21262
|
+
}, k(e.steps[1]), 3),
|
21263
21263
|
e.steps.length === 3 ? (p(), H("span", s$)) : O("", !0),
|
21264
21264
|
e.steps.length === 3 ? (p(), H("span", {
|
21265
21265
|
key: 1,
|
21266
21266
|
class: Y(`AVBasicSteps--step ${a(e.steps[2]) && "AVBasicSteps--step-active"}`),
|
21267
21267
|
"data-test": "step"
|
21268
|
-
},
|
21268
|
+
}, k(e.steps[2]), 3)) : O("", !0)
|
21269
21269
|
]));
|
21270
21270
|
}
|
21271
21271
|
});
|
@@ -21331,10 +21331,10 @@ const r$ = /* @__PURE__ */ X(i$, [["__scopeId", "data-v-9a6218e9"]]), l$ = { cla
|
|
21331
21331
|
])) : (p(), H("div", {
|
21332
21332
|
key: 1,
|
21333
21333
|
class: Y(`AVSteps--step--number-container ${a.value.length !== o + 1 && "AVSteps--step-circle"} ${f.active && "AVSteps--step--number-container-active"}`)
|
21334
|
-
},
|
21334
|
+
}, k(o + 1), 3)),
|
21335
21335
|
u("span", {
|
21336
21336
|
class: Y(`AVSteps--step-label ${f.active && "AVSteps--step-label-active"}`)
|
21337
|
-
},
|
21337
|
+
}, k(f.value), 3)
|
21338
21338
|
], 2))), 128))
|
21339
21339
|
]);
|
21340
21340
|
};
|
@@ -21396,7 +21396,7 @@ const u$ = /* @__PURE__ */ X(f$, [["__scopeId", "data-v-a4539298"]]), JT = (e) =
|
|
21396
21396
|
class: "AVOptionSelect",
|
21397
21397
|
"aria-label": n.value
|
21398
21398
|
}, [
|
21399
|
-
e.rank ? (p(), H("span", d$,
|
21399
|
+
e.rank ? (p(), H("span", d$, k(e.rank), 1)) : (p(), H("svg", v$, V$))
|
21400
21400
|
], 8, m$)), [
|
21401
21401
|
[l3, e.checked]
|
21402
21402
|
]);
|
@@ -21464,7 +21464,7 @@ const g$ = /* @__PURE__ */ X(z$, [["__scopeId", "data-v-59d1db6b"]]), H$ = { cla
|
|
21464
21464
|
const f = D("AVOptionSelect");
|
21465
21465
|
return p(), H("div", H$, [
|
21466
21466
|
e.exclusiveError && e.checked ? (p(), H("div", M$, [
|
21467
|
-
u("div", b$,
|
21467
|
+
u("div", b$, k(B(n)("js.components.AVOptionCheckbox.exclusive_option")), 1)
|
21468
21468
|
])) : O("", !0),
|
21469
21469
|
u("button", pI({
|
21470
21470
|
class: {
|
@@ -21699,7 +21699,7 @@ const k$ = /* @__PURE__ */ X(x$, [["__scopeId", "data-v-4e9b2c30"]]), S$ = { cla
|
|
21699
21699
|
for: e.id,
|
21700
21700
|
class: "AVRadioGroup--label",
|
21701
21701
|
"data-test": "input-label"
|
21702
|
-
},
|
21702
|
+
}, k(e.inputLabel), 9, w$)),
|
21703
21703
|
u("div", {
|
21704
21704
|
class: Y(`AVRadioGroup--${e.orientation}`),
|
21705
21705
|
"data-test": "input-group"
|
@@ -21714,7 +21714,7 @@ const k$ = /* @__PURE__ */ X(x$, [["__scopeId", "data-v-4e9b2c30"]]), S$ = { cla
|
|
21714
21714
|
onUpdate: (b) => r(d.value)
|
21715
21715
|
}, null, 8, ["id", "value", "checked", "disabled", "onUpdate"]))), 128))
|
21716
21716
|
], 2),
|
21717
|
-
e.error && e.errorMessage ? (p(), H("p", T$,
|
21717
|
+
e.error && e.errorMessage ? (p(), H("p", T$, k(e.errorMessage), 1)) : O("", !0)
|
21718
21718
|
]);
|
21719
21719
|
};
|
21720
21720
|
}
|
@@ -21771,7 +21771,7 @@ const O$ = /* @__PURE__ */ X(D$, [["__scopeId", "data-v-9fd5c53d"]]), P$ = { cla
|
|
21771
21771
|
u("a", {
|
21772
21772
|
href: n.active ? null : n.href,
|
21773
21773
|
class: Y(`AVBreadcrumb--link ${n.active && "AVBreadcrumb--link-active"} `)
|
21774
|
-
},
|
21774
|
+
}, k(n.text), 11, F$),
|
21775
21775
|
I(t, {
|
21776
21776
|
icon: "fa-solid fa-angle-right",
|
21777
21777
|
class: "AVBreadcrumb--separator"
|
@@ -21860,9 +21860,9 @@ const R$ = /* @__PURE__ */ X(j$, [["__scopeId", "data-v-71e09fe3"]]), $$ = ["hre
|
|
21860
21860
|
}, {
|
21861
21861
|
default: s2(() => [
|
21862
21862
|
u("div", U$, [
|
21863
|
-
u("span", q$,
|
21863
|
+
u("span", q$, k(e.id), 1),
|
21864
21864
|
u("div", W$, [
|
21865
|
-
u("span", G$,
|
21865
|
+
u("span", G$, k(e.name), 1),
|
21866
21866
|
I(i, {
|
21867
21867
|
type: t.value,
|
21868
21868
|
value: e.status
|
@@ -21874,8 +21874,8 @@ const R$ = /* @__PURE__ */ X(j$, [["__scopeId", "data-v-71e09fe3"]]), $$ = ["hre
|
|
21874
21874
|
I(r, { icon: "fa-solid fa-location-pin" })
|
21875
21875
|
]),
|
21876
21876
|
u("span", K$, [
|
21877
|
-
D2(
|
21878
|
-
u("strong", null,
|
21877
|
+
D2(k(e.countyNameLabel), 1),
|
21878
|
+
u("strong", null, k(e.countyName), 1)
|
21879
21879
|
])
|
21880
21880
|
]),
|
21881
21881
|
u("div", Z$, [
|
@@ -21883,8 +21883,8 @@ const R$ = /* @__PURE__ */ X(j$, [["__scopeId", "data-v-71e09fe3"]]), $$ = ["hre
|
|
21883
21883
|
I(r, { icon: "fa-solid fa-file-circle-plus" })
|
21884
21884
|
]),
|
21885
21885
|
u("span", eU, [
|
21886
|
-
D2(
|
21887
|
-
u("strong", null,
|
21886
|
+
D2(k(e.createdAtLabel), 1),
|
21887
|
+
u("strong", null, k(e.createdAt), 1)
|
21888
21888
|
])
|
21889
21889
|
]),
|
21890
21890
|
u("div", cU, [
|
@@ -21892,8 +21892,8 @@ const R$ = /* @__PURE__ */ X(j$, [["__scopeId", "data-v-71e09fe3"]]), $$ = ["hre
|
|
21892
21892
|
I(r, { icon: "fa-solid fa-pen-to-square" })
|
21893
21893
|
]),
|
21894
21894
|
u("span", tU, [
|
21895
|
-
D2(
|
21896
|
-
u("strong", null,
|
21895
|
+
D2(k(e.lastUpdatedLabel), 1),
|
21896
|
+
u("strong", null, k(e.lastUpdated), 1)
|
21897
21897
|
])
|
21898
21898
|
])
|
21899
21899
|
])
|
@@ -21961,8 +21961,8 @@ const iU = /* @__PURE__ */ X(sU, [["__scopeId", "data-v-dd72671e"]]), rU = ["hre
|
|
21961
21961
|
I(t, { icon: "fa-solid fa-check" })
|
21962
21962
|
])) : O("", !0),
|
21963
21963
|
u("div", fU, [
|
21964
|
-
u("div", uU,
|
21965
|
-
u("div", mU,
|
21964
|
+
u("div", uU, k(e.name), 1),
|
21965
|
+
u("div", mU, k(`${e.contestQty} ${e.contestLabel}`), 1)
|
21966
21966
|
])
|
21967
21967
|
]),
|
21968
21968
|
u("div", dU, [
|
@@ -22052,7 +22052,7 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
|
|
22052
22052
|
(p(!0), H(t2, null, g2(r.value, (A, V) => (p(), H("li", {
|
22053
22053
|
key: A + V,
|
22054
22054
|
class: "breadcrumb-item"
|
22055
|
-
},
|
22055
|
+
}, k(A), 1))), 128))
|
22056
22056
|
])
|
22057
22057
|
])) : O("", !0),
|
22058
22058
|
u("div", {
|
@@ -22068,7 +22068,7 @@ const pU = /* @__PURE__ */ X(vU, [["__scopeId", "data-v-c682a2cf"]]), hU = ["ari
|
|
22068
22068
|
alt: B(t)("js.components.AVSummaryOption.aria_label.option_image")
|
22069
22069
|
}, null, 8, gU)) : O("", !0),
|
22070
22070
|
u("div", HU, [
|
22071
|
-
u("div", MU,
|
22071
|
+
u("div", MU, k(l.value), 1)
|
22072
22072
|
]),
|
22073
22073
|
i.value ? O("", !0) : (p(), H("div", bU, [
|
22074
22074
|
I(d, {
|
@@ -22291,7 +22291,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
|
|
22291
22291
|
}, null, 8, xU)) : O("", !0),
|
22292
22292
|
u("h5", {
|
22293
22293
|
class: "AVOption--title",
|
22294
|
-
textContent:
|
22294
|
+
textContent: k(d.value)
|
22295
22295
|
}, null, 8, kU)
|
22296
22296
|
]),
|
22297
22297
|
h.value || _.value.length || M.value ? (p(), H("div", SU, [
|
@@ -22304,7 +22304,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
|
|
22304
22304
|
href: A2.url,
|
22305
22305
|
class: "AVOption--links",
|
22306
22306
|
target: "_blank"
|
22307
|
-
},
|
22307
|
+
}, k(A2.text), 9, EU))), 128))
|
22308
22308
|
])) : O("", !0),
|
22309
22309
|
v2 && M.value ? (p(), H("div", DU, [
|
22310
22310
|
u("div", {
|
@@ -22327,7 +22327,7 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
|
|
22327
22327
|
"AVOption--suboption-badge-danger": e.invalid,
|
22328
22328
|
"AVOption--suboption-badge-normal": !e.invalid
|
22329
22329
|
}])
|
22330
|
-
},
|
22330
|
+
}, k(f.value ? `${B(n)(
|
22331
22331
|
"js.components.AVOption.sub_options_select"
|
22332
22332
|
)} ${S.value}` : `${S.value} ${B(n)(
|
22333
22333
|
"js.components.AVOption.sub_options_select"
|
@@ -22366,10 +22366,10 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
|
|
22366
22366
|
icon: "user",
|
22367
22367
|
class: "AVOption--realtime-results-icon"
|
22368
22368
|
}),
|
22369
|
-
u("span", null,
|
22369
|
+
u("span", null, k(f.value ? `${w.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
|
22370
22370
|
w.value.showPercentage ? (p(), H(t2, { key: 0 }, [
|
22371
22371
|
FU,
|
22372
|
-
u("span", null,
|
22372
|
+
u("span", null, k(`${w.value.results.percentage}%`), 1)
|
22373
22373
|
], 64)) : O("", !0)
|
22374
22374
|
])) : O("", !0)
|
22375
22375
|
], 2)
|
@@ -22402,10 +22402,10 @@ const cI = (e) => (V1("data-v-58afc370"), e = e(), z1(), e), _U = ["id", "href",
|
|
22402
22402
|
icon: "user",
|
22403
22403
|
class: "AVOption--realtime-results-icon"
|
22404
22404
|
}),
|
22405
|
-
u("span", null,
|
22405
|
+
u("span", null, k(f.value ? `${w.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")} ${w.value.results.count}` : `${w.value.results.count} ${w.value.results.count === 1 ? B(n)("js.components.AVOption.vote_count_singular") : B(n)("js.components.AVOption.vote_count_plural")}`), 1),
|
22406
22406
|
w.value.showPercentage ? (p(), H(t2, { key: 0 }, [
|
22407
22407
|
RU,
|
22408
|
-
u("span", null,
|
22408
|
+
u("span", null, k(`${w.value.results.percentage}%`), 1)
|
22409
22409
|
], 64)) : O("", !0)
|
22410
22410
|
])
|
22411
22411
|
]),
|
@@ -22492,7 +22492,7 @@ const qU = /* @__PURE__ */ X(UU, [["__scopeId", "data-v-58afc370"]]), aI = (e) =
|
|
22492
22492
|
"aria-label": B(t)("js.components.AVBlankOption.aria_labels.option")
|
22493
22493
|
}, [
|
22494
22494
|
u("div", GU, [
|
22495
|
-
u("h5", YU,
|
22495
|
+
u("h5", YU, k(B(t)("js.components.AVBlankOption.title")), 1),
|
22496
22496
|
u("div", QU, [
|
22497
22497
|
I(r, {
|
22498
22498
|
"option-reference": "blank",
|
@@ -22509,10 +22509,10 @@ const qU = /* @__PURE__ */ X(UU, [["__scopeId", "data-v-58afc370"]]), aI = (e) =
|
|
22509
22509
|
icon: "user",
|
22510
22510
|
class: "AVBlankOption--realtime-results-icon"
|
22511
22511
|
}),
|
22512
|
-
u("span", null,
|
22512
|
+
u("span", null, k(n.value ? `${e.partialResults.results.count === 1 ? B(t)("js.components.AVBlankOption.vote_count_singular") : B(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? B(t)("js.components.AVBlankOption.vote_count_singular") : B(t)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
22513
22513
|
e.partialResults.showPercentage ? (p(), H(t2, { key: 0 }, [
|
22514
22514
|
KU,
|
22515
|
-
u("span", null,
|
22515
|
+
u("span", null, k(`${e.partialResults.results.percentage}%`), 1)
|
22516
22516
|
], 64)) : O("", !0)
|
22517
22517
|
])) : O("", !0)
|
22518
22518
|
])
|
@@ -22522,10 +22522,10 @@ const qU = /* @__PURE__ */ X(UU, [["__scopeId", "data-v-58afc370"]]), aI = (e) =
|
|
22522
22522
|
icon: "user",
|
22523
22523
|
class: "AVBlankOption--realtime-results-icon"
|
22524
22524
|
}),
|
22525
|
-
u("span", null,
|
22525
|
+
u("span", null, k(n.value ? `${e.partialResults.results.count === 1 ? B(t)("js.components.AVBlankOption.vote_count_singular") : B(t)("js.components.AVBlankOption.vote_count_plural")} ${e.partialResults.results.count}` : `${e.partialResults.results.count} ${e.partialResults.results.count === 1 ? B(t)("js.components.AVBlankOption.vote_count_singular") : B(t)("js.components.AVBlankOption.vote_count_plural")}`), 1),
|
22526
22526
|
e.partialResults.showPercentage ? (p(), H(t2, { key: 0 }, [
|
22527
22527
|
JU,
|
22528
|
-
u("span", null,
|
22528
|
+
u("span", null, k(`${e.partialResults.results.percentage}%`), 1)
|
22529
22529
|
], 64)) : O("", !0)
|
22530
22530
|
])) : O("", !0)
|
22531
22531
|
], 2);
|
@@ -22602,7 +22602,7 @@ const cq = /* @__PURE__ */ X(eq, [["__scopeId", "data-v-9e7849c2"]]), aq = ["ari
|
|
22602
22602
|
}, [
|
22603
22603
|
u("div", tq, [
|
22604
22604
|
u("div", nq, [
|
22605
|
-
u("div", sq,
|
22605
|
+
u("div", sq, k(B(n)("js.components.AVWriteInOption.title")), 1),
|
22606
22606
|
u("div", iq, [
|
22607
22607
|
u("select", {
|
22608
22608
|
class: "AVWriteInOption--form-control",
|
@@ -22610,12 +22610,12 @@ const cq = /* @__PURE__ */ X(eq, [["__scopeId", "data-v-9e7849c2"]]), aq = ["ari
|
|
22610
22610
|
disabled: e.disabled,
|
22611
22611
|
onInput: f[0] || (f[0] = (m) => i(m.target.value))
|
22612
22612
|
}, [
|
22613
|
-
u("option", lq,
|
22613
|
+
u("option", lq, k(B(n)("js.components.AVWriteInOption.choose_party")), 1),
|
22614
22614
|
(p(!0), H(t2, null, g2(e.parties, (m) => (p(), H("option", {
|
22615
22615
|
key: m.letter,
|
22616
22616
|
value: m.letter,
|
22617
22617
|
selected: m.letter === e.partyValue
|
22618
|
-
},
|
22618
|
+
}, k(m.letter) + " - " + k(m.name), 9, oq))), 128))
|
22619
22619
|
], 40, rq),
|
22620
22620
|
u("input", {
|
22621
22621
|
value: e.candidateValue,
|
@@ -22638,7 +22638,7 @@ const cq = /* @__PURE__ */ X(eq, [["__scopeId", "data-v-9e7849c2"]]), aq = ["ari
|
|
22638
22638
|
};
|
22639
22639
|
}
|
22640
22640
|
});
|
22641
|
-
const mq = /* @__PURE__ */ X(uq, [["__scopeId", "data-v-9b2049f2"]]), dq = (e) => (V1("data-v-
|
22641
|
+
const mq = /* @__PURE__ */ X(uq, [["__scopeId", "data-v-9b2049f2"]]), dq = (e) => (V1("data-v-08a072c5"), e = e(), z1(), e), vq = { class: "AVSubmissionHelper" }, pq = { key: 0 }, hq = ["textContent"], Vq = /* @__PURE__ */ dq(() => /* @__PURE__ */ u("hr", { class: "AVSubmissionHelper--separator" }, null, -1)), zq = { key: 1 }, gq = { class: "AVSubmissionHelper--help" }, Hq = { key: 0 }, Mq = { key: 1 }, bq = ["innerHTML"], Cq = { key: 2 }, Lq = /* @__PURE__ */ Q({
|
22642
22642
|
__name: "AVSubmissionHelper",
|
22643
22643
|
props: {
|
22644
22644
|
minMarks: {
|
@@ -22690,20 +22690,21 @@ const mq = /* @__PURE__ */ X(uq, [["__scopeId", "data-v-9b2049f2"]]), dq = (e) =
|
|
22690
22690
|
(p(!0), H(t2, null, g2(s.value, (l) => (p(), H("div", {
|
22691
22691
|
key: l,
|
22692
22692
|
role: "alert",
|
22693
|
-
textContent:
|
22693
|
+
textContent: k(l)
|
22694
22694
|
}, null, 8, hq))), 128)),
|
22695
22695
|
Vq
|
22696
22696
|
])) : O("", !0),
|
22697
22697
|
e.maxMarks > 1 ? (p(), H("div", zq, [
|
22698
22698
|
u("div", gq, [
|
22699
|
-
e.minMarks === e.maxMarks ? (p(), H("div", Hq,
|
22699
|
+
e.minMarks === e.maxMarks ? (p(), H("div", Hq, k(`${B(t)("js.components.AVSubmissionHelper.select_exactly", {
|
22700
22700
|
min_marks: e.minMarks
|
22701
|
-
})}`), 1)) : (p(), H("div", Mq,
|
22701
|
+
})}`), 1)) : (p(), H("div", Mq, k(`${e.hasExclusiveOptions ? B(t)(
|
22702
|
+
"js.components.AVSubmissionHelper.select_multiple_with_exclusives",
|
22703
|
+
{ min_marks: e.minMarks, max_marks: e.maxMarks }
|
22704
|
+
) : B(t)("js.components.AVSubmissionHelper.select_multiple", {
|
22702
22705
|
min_marks: e.minMarks,
|
22703
22706
|
max_marks: e.maxMarks
|
22704
|
-
}))
|
22705
|
-
"js.components.AVSubmissionHelper.select_multiple.with_exclusives"
|
22706
|
-
) : ""}`), 1)),
|
22707
|
+
})}`), 1)),
|
22707
22708
|
e.chosenCount > 0 ? (p(), H("div", {
|
22708
22709
|
key: 2,
|
22709
22710
|
innerHTML: B(t)("js.components.AVSubmissionHelper.selected", {
|
@@ -22713,13 +22714,13 @@ const mq = /* @__PURE__ */ X(uq, [["__scopeId", "data-v-9b2049f2"]]), dq = (e) =
|
|
22713
22714
|
}, null, 8, bq)) : O("", !0)
|
22714
22715
|
])
|
22715
22716
|
])) : (p(), H("div", Cq, [
|
22716
|
-
u("div", null,
|
22717
|
+
u("div", null, k(B(t)("js.components.AVSubmissionHelper.select_single")), 1)
|
22717
22718
|
]))
|
22718
22719
|
], 2)
|
22719
22720
|
]));
|
22720
22721
|
}
|
22721
22722
|
});
|
22722
|
-
const _q = /* @__PURE__ */ X(Lq, [["__scopeId", "data-v-
|
22723
|
+
const _q = /* @__PURE__ */ X(Lq, [["__scopeId", "data-v-08a072c5"]]);
|
22723
22724
|
function yq(e, c, a) {
|
22724
22725
|
if (typeof a != "function")
|
22725
22726
|
throw new Error("search_by must be a function that returns a string");
|
@@ -22784,7 +22785,7 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
|
|
22784
22785
|
u("label", {
|
22785
22786
|
for: "ballot_search",
|
22786
22787
|
class: "AVSearchBallot--label",
|
22787
|
-
textContent:
|
22788
|
+
textContent: k(B(t)("js.components.AVSearchBallot.search_the_ballot"))
|
22788
22789
|
}, null, 8, xq),
|
22789
22790
|
u("div", kq, [
|
22790
22791
|
T1(u("input", {
|
@@ -22808,7 +22809,7 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
|
|
22808
22809
|
(p(!0), H(t2, null, g2(l(b), (L) => (p(), H("li", {
|
22809
22810
|
key: L.reference,
|
22810
22811
|
class: "breadcrumb-item"
|
22811
|
-
},
|
22812
|
+
}, k(L.title[n.value]), 1))), 128))
|
22812
22813
|
])
|
22813
22814
|
])) : O("", !0),
|
22814
22815
|
u("div", {
|
@@ -22820,14 +22821,14 @@ const Aq = ["aria-label"], Nq = { class: "AVSearchBallot--form-group" }, xq = ["
|
|
22820
22821
|
}, [
|
22821
22822
|
u("span", {
|
22822
22823
|
class: "AVSearchBallot--link",
|
22823
|
-
textContent:
|
22824
|
+
textContent: k(b.title[n.value])
|
22824
22825
|
}, null, 8, Oq)
|
22825
22826
|
], 8, Dq)
|
22826
22827
|
], 8, Tq))), 128)),
|
22827
22828
|
i.value && r.value.length === 0 ? (p(), H("div", {
|
22828
22829
|
key: 0,
|
22829
22830
|
class: "AVSearchBallot--alert",
|
22830
|
-
textContent:
|
22831
|
+
textContent: k(B(t)("js.components.AVSearchBallot.no_results"))
|
22831
22832
|
}, null, 8, Pq)) : O("", !0)
|
22832
22833
|
])
|
22833
22834
|
], 40, Aq));
|
@@ -22866,20 +22867,20 @@ const Fq = /* @__PURE__ */ X(Bq, [["__scopeId", "data-v-51e0a57b"]]), jq = { cla
|
|
22866
22867
|
), (n, s) => (p(), H("div", jq, [
|
22867
22868
|
u("div", Rq, [
|
22868
22869
|
u("span", null, [
|
22869
|
-
D2(
|
22870
|
-
u("strong", null,
|
22870
|
+
D2(k(B(t)("js.components.AVSplitWeightHelper.total")) + " ", 1),
|
22871
|
+
u("strong", null, k(e.assignedWeight + e.unusedWeight), 1)
|
22871
22872
|
])
|
22872
22873
|
]),
|
22873
22874
|
u("div", $q, [
|
22874
22875
|
u("span", null, [
|
22875
|
-
D2(
|
22876
|
-
u("strong", null,
|
22876
|
+
D2(k(B(t)("js.components.AVSplitWeightHelper.assigned")) + " ", 1),
|
22877
|
+
u("strong", null, k(e.assignedWeight), 1)
|
22877
22878
|
])
|
22878
22879
|
]),
|
22879
22880
|
u("div", Uq, [
|
22880
22881
|
u("span", null, [
|
22881
|
-
D2(
|
22882
|
-
u("strong", null,
|
22882
|
+
D2(k(B(t)("js.components.AVSplitWeightHelper.unused")) + " ", 1),
|
22883
|
+
u("strong", null, k(e.unusedWeight), 1)
|
22883
22884
|
])
|
22884
22885
|
])
|
22885
22886
|
]));
|
@@ -22938,9 +22939,9 @@ const Wq = /* @__PURE__ */ X(qq, [["__scopeId", "data-v-6363f4f8"]]), Gq = { cla
|
|
22938
22939
|
), (n, s) => {
|
22939
22940
|
const i = D("AVTooltip");
|
22940
22941
|
return p(), H("header", Gq, [
|
22941
|
-
e.activeState === "ballot" ? (p(), H("p", Yq,
|
22942
|
+
e.activeState === "ballot" ? (p(), H("p", Yq, k(e.isEditing ? `${B(t)("js.components.AVSplitWizardHeader.ballot.editing")} ${e.activeSelectionPileIndex + 1}` : `${B(t)("js.components.AVSplitWizardHeader.ballot.adding")} ${e.selectionPiles.length + 1}`), 1)) : e.activeState === "assign" ? (p(), H("p", Qq, k(e.isEditing ? `${B(t)("js.components.AVSplitWizardHeader.assign.header")} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}` : `${B(t)(
|
22942
22943
|
"js.components.AVSplitWizardHeader.assign.header_edit_mode"
|
22943
|
-
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (p(), H("p", Xq,
|
22944
|
+
)} ${(e.isEditing ? e.activeSelectionPileIndex : e.selectionPiles.length) + 1}`), 1)) : (p(), H("p", Xq, k(B(t)("js.components.AVSplitWizardHeader.overview.header")), 1)),
|
22944
22945
|
(e.activeState, O("", !0))
|
22945
22946
|
]);
|
22946
22947
|
};
|
@@ -23298,7 +23299,7 @@ const AW = (e) => (V1("data-v-7994d870"), e = e(), z1(), e), NW = ["aria-label",
|
|
23298
23299
|
id: `ballot_${e.contest.reference}_question`,
|
23299
23300
|
class: "AVBallot--question",
|
23300
23301
|
"aria-live": "polite"
|
23301
|
-
},
|
23302
|
+
}, k(L.value), 9, xW)) : O("", !0),
|
23302
23303
|
e.contest.searchForm && !e.disabled && !e.observerMode ? (p(), K($, {
|
23303
23304
|
key: 1,
|
23304
23305
|
ref_key: "search",
|
@@ -23480,10 +23481,10 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-7994d870"]]), IW = (e) =
|
|
23480
23481
|
const A = D("AVSummaryOption"), V = D("AVIcon");
|
23481
23482
|
return e.activeState === "summary" ? (p(), H("div", EW, [
|
23482
23483
|
e.contest.markingType.maxPiles !== 1 ? (p(), H("header", DW, [
|
23483
|
-
u("span", null,
|
23484
|
-
u("span", OW,
|
23484
|
+
u("span", null, k(B(n)("js.components.AVPileSummary.selection")) + " " + k(e.pileIndex + 1) + " / " + k(e.totalPiles), 1),
|
23485
|
+
u("span", OW, k(e.selectionPile.multiplier) + " " + k(B(n)("js.components.AVPileSummary.ballots")), 1)
|
23485
23486
|
])) : (p(), H("header", PW, [
|
23486
|
-
u("span", null,
|
23487
|
+
u("span", null, k(B(n)("js.components.AVPileSummary.selection")), 1)
|
23487
23488
|
])),
|
23488
23489
|
u("div", BW, [
|
23489
23490
|
(p(!0), H(t2, null, g2(h.value.options, (g, _) => (p(), K(A, {
|
@@ -23507,23 +23508,23 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-7994d870"]]), IW = (e) =
|
|
23507
23508
|
}, [
|
23508
23509
|
u("div", $W, [
|
23509
23510
|
I(V, { icon: "pen-to-square" }),
|
23510
|
-
u("span", null,
|
23511
|
+
u("span", null, k(B(n)("js.components.AVPileSummary.ballot_selection")) + " " + k(e.pileIndex + 1), 1)
|
23511
23512
|
]),
|
23512
|
-
e.activeState === "overview" || e.isEditing ? (p(), H("span", UW,
|
23513
|
+
e.activeState === "overview" || e.isEditing ? (p(), H("span", UW, k(B(n)("js.components.AVPileSummary.assigned")) + " " + k(e.selectionPile.multiplier), 1)) : O("", !0)
|
23513
23514
|
], 8, RW),
|
23514
23515
|
u("div", qW, [
|
23515
|
-
l.value ? (p(), H("p", WW,
|
23516
|
+
l.value ? (p(), H("p", WW, k(B(n)("js.components.AVPileSummary.blank")), 1)) : O("", !0),
|
23516
23517
|
(p(!0), H(t2, null, g2(h.value.options, (g, _) => (p(), H("p", {
|
23517
23518
|
key: _,
|
23518
23519
|
class: "AVPileSummary--assign-text"
|
23519
|
-
},
|
23520
|
+
}, k(g.rank ? `${g.rank}: ` : "") + k(g.title), 1))), 128)),
|
23520
23521
|
(p(!0), H(t2, null, g2(h.value.writeIns, (g, _) => (p(), H("p", {
|
23521
23522
|
key: _,
|
23522
23523
|
class: "AVPileSummary--assign-text"
|
23523
23524
|
}, [
|
23524
|
-
u("b", null,
|
23525
|
+
u("b", null, k(g.partyLetter) + " - " + k(g.partyName), 1),
|
23525
23526
|
GW,
|
23526
|
-
u("span", null,
|
23527
|
+
u("span", null, k(g.candidateName), 1)
|
23527
23528
|
]))), 128)),
|
23528
23529
|
o.value > 0 ? (p(), H("p", {
|
23529
23530
|
key: 1,
|
@@ -23532,7 +23533,7 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-7994d870"]]), IW = (e) =
|
|
23532
23533
|
onClick: L[1] || (L[1] = S1((g) => i.value = !0, ["stop", "prevent"]))
|
23533
23534
|
}, [
|
23534
23535
|
u("u", null, [
|
23535
|
-
u("em", null,
|
23536
|
+
u("em", null, k(`${B(n)(
|
23536
23537
|
"js.components.AVPileSummary.and_n_more_pre"
|
23537
23538
|
)} ${o.value} ${B(n)(
|
23538
23539
|
"js.components.AVPileSummary.and_n_more_pos"
|
@@ -23546,7 +23547,7 @@ const TW = /* @__PURE__ */ X(wW, [["__scopeId", "data-v-7994d870"]]), IW = (e) =
|
|
23546
23547
|
onClick: L[2] || (L[2] = S1((g) => i.value = !1, ["stop", "prevent"]))
|
23547
23548
|
}, [
|
23548
23549
|
u("u", null, [
|
23549
|
-
u("em", null,
|
23550
|
+
u("em", null, k(B(n)("js.components.AVPileSummary.show_less")), 1)
|
23550
23551
|
])
|
23551
23552
|
])) : O("", !0)
|
23552
23553
|
])
|
@@ -23728,7 +23729,7 @@ const eG = {
|
|
23728
23729
|
var b2;
|
23729
23730
|
const r2 = D("AVSplitWizardHeader"), l2 = D("AVBallot"), a2 = D("AVPileSummary"), h2 = D("AVSplitWeightHelper"), j2 = D("AVIcon");
|
23730
23731
|
return p(), H(t2, null, [
|
23731
|
-
u("h3", eG,
|
23732
|
+
u("h3", eG, k(e.contest.title[n.value]), 1),
|
23732
23733
|
u("div", {
|
23733
23734
|
class: "AVSplitHelper--description",
|
23734
23735
|
innerHTML: (b2 = e.contest.description) == null ? void 0 : b2[n.value]
|
@@ -23766,7 +23767,7 @@ const eG = {
|
|
23766
23767
|
key: "back",
|
23767
23768
|
class: "AVSplitHelper--btn-secondary",
|
23768
23769
|
onClick: F[1] || (F[1] = (C2) => r.value = "overview")
|
23769
|
-
},
|
23770
|
+
}, k(B(t)("js.components.AVSplitHelper.ballot.back_button")), 1)) : O("", !0)
|
23770
23771
|
]),
|
23771
23772
|
u("div", nG, [
|
23772
23773
|
u("button", {
|
@@ -23774,12 +23775,12 @@ const eG = {
|
|
23774
23775
|
class: "AVSplitHelper--btn-primary",
|
23775
23776
|
disabled: !_(i.value) || M(i.value),
|
23776
23777
|
onClick: F[2] || (F[2] = (C2) => r.value = "assign")
|
23777
|
-
},
|
23778
|
+
}, k(B(t)("js.components.AVSplitHelper.ballot.confirm_button")), 9, sG)
|
23778
23779
|
])
|
23779
23780
|
])
|
23780
23781
|
])) : r.value === "assign" ? (p(), H("div", iG, [
|
23781
23782
|
u("div", rG, [
|
23782
|
-
u("h4", lG,
|
23783
|
+
u("h4", lG, k(B(t)("js.components.AVSplitHelper.assign.split_question")), 1),
|
23783
23784
|
I(a2, {
|
23784
23785
|
"selection-pile": i.value,
|
23785
23786
|
contest: e.contest,
|
@@ -23793,7 +23794,7 @@ const eG = {
|
|
23793
23794
|
u("label", {
|
23794
23795
|
for: `${e.contest.reference}-ballot-selector`,
|
23795
23796
|
class: "AVSplitHelper--assign-label"
|
23796
|
-
},
|
23797
|
+
}, k(g.value ? B(t)(
|
23797
23798
|
"js.components.AVSplitHelper.assign.ballots_to_assign_edit_mode"
|
23798
23799
|
) : B(t)("js.components.AVSplitHelper.assign.ballots_to_assign")), 9, oG),
|
23799
23800
|
T1(u("input", {
|
@@ -23817,7 +23818,7 @@ const eG = {
|
|
23817
23818
|
key: "ballot",
|
23818
23819
|
class: "AVSplitHelper--btn-secondary",
|
23819
23820
|
onClick: F[5] || (F[5] = (C2) => r.value = "ballot")
|
23820
|
-
},
|
23821
|
+
}, k(B(t)("js.components.AVSplitHelper.assign.back_button")), 1)
|
23821
23822
|
]),
|
23822
23823
|
u("div", dG, [
|
23823
23824
|
u("button", {
|
@@ -23825,7 +23826,7 @@ const eG = {
|
|
23825
23826
|
class: "AVSplitHelper--btn-primary",
|
23826
23827
|
disabled: ((A2 = i.value) == null ? void 0 : A2.multiplier) < 1 || ((k2 = i.value) == null ? void 0 : k2.multiplier) > A.value,
|
23827
23828
|
onClick: F[6] || (F[6] = (C2) => N())
|
23828
|
-
},
|
23829
|
+
}, k(B(t)("js.components.AVSplitHelper.assign.confirm_button")), 9, vG)
|
23829
23830
|
])
|
23830
23831
|
])
|
23831
23832
|
])) : r.value === "overview" ? (p(), H("div", pG, [
|
@@ -23834,11 +23835,11 @@ const eG = {
|
|
23834
23835
|
icon: "circle-check",
|
23835
23836
|
class: "AVSplitHelper--overview-success-icon"
|
23836
23837
|
}),
|
23837
|
-
D2(" " +
|
23838
|
+
D2(" " + k(B(t)("js.components.AVSplitHelper.overview.all_ballots_assigned")), 1)
|
23838
23839
|
])) : (p(), H("div", VG, [
|
23839
23840
|
u("p", zG, [
|
23840
|
-
u("strong", null,
|
23841
|
-
D2(" " +
|
23841
|
+
u("strong", null, k(o.value), 1),
|
23842
|
+
D2(" " + k(B(t)("js.components.AVSplitHelper.overview.ballots_left")), 1)
|
23842
23843
|
]),
|
23843
23844
|
u("button", {
|
23844
23845
|
key: "newSelection",
|
@@ -23847,7 +23848,7 @@ const eG = {
|
|
23847
23848
|
onClick: C
|
23848
23849
|
}, [
|
23849
23850
|
I(j2, { icon: "file-circle-plus" }),
|
23850
|
-
D2(" " +
|
23851
|
+
D2(" " + k(B(t)("js.components.AVSplitHelper.overview.new_ballot_selection")), 1)
|
23851
23852
|
], 8, gG)
|
23852
23853
|
])),
|
23853
23854
|
(p(!0), H(t2, null, g2(f.value, (C2, I2) => (p(), H("article", {
|