@assemblyvoting/ui-library 1.4.17 → 2.0.0
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
@@ -17202,7 +17202,7 @@ const rj = /* @__PURE__ */ D(nj, [["__scopeId", "data-v-37a87144"]]), lj = {
|
|
17202
17202
|
};
|
17203
17203
|
}
|
17204
17204
|
});
|
17205
|
-
const Hj = /* @__PURE__ */ D(zj, [["__scopeId", "data-v-
|
17205
|
+
const Hj = /* @__PURE__ */ D(zj, [["__scopeId", "data-v-89219a9f"]]), Mj = {
|
17206
17206
|
ar: {
|
17207
17207
|
select_exactly: {
|
17208
17208
|
before: "حدد خيارات",
|
@@ -18582,7 +18582,7 @@ const qE = /* @__PURE__ */ D(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18582
18582
|
edit_selection: "Redigera detta val"
|
18583
18583
|
}
|
18584
18584
|
}
|
18585
|
-
}, $E = (c) => (T2("data-v-
|
18585
|
+
}, $E = (c) => (T2("data-v-9e2c1e0e"), c = c(), D2(), c), RE = {
|
18586
18586
|
key: 0,
|
18587
18587
|
class: "AVPileSummary--summary"
|
18588
18588
|
}, UE = {
|
@@ -18594,13 +18594,10 @@ const qE = /* @__PURE__ */ D(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18594
18594
|
}, YE = { class: "AVPileSummary--summary-body" }, QE = {
|
18595
18595
|
key: 1,
|
18596
18596
|
class: "AVPileSummary--assign"
|
18597
|
-
}, ZE = { class: "AVPileSummary--assign-card" }, XE = ["aria-label"], JE = {
|
18598
|
-
key: 0,
|
18599
|
-
class: "AVPileSummary--assign-counter"
|
18600
|
-
}, KE = { class: "AVPileSummary--assign-body" }, cq = {
|
18597
|
+
}, ZE = { class: "AVPileSummary--assign-card" }, XE = ["aria-label"], JE = { class: "AVPileSummary--edit" }, KE = { key: 0 }, cq = { class: "AVPileSummary--assign-body" }, eq = {
|
18601
18598
|
key: 0,
|
18602
18599
|
class: "AVPileSummary--assign-text"
|
18603
|
-
},
|
18600
|
+
}, aq = /* @__PURE__ */ $E(() => /* @__PURE__ */ r("br", null, null, -1)), iq = ["aria-label"], tq = /* @__PURE__ */ B({
|
18604
18601
|
__name: "AVPileSummary",
|
18605
18602
|
props: {
|
18606
18603
|
selectionPile: {
|
@@ -18710,17 +18707,14 @@ const qE = /* @__PURE__ */ D(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18710
18707
|
role: "button",
|
18711
18708
|
onClick: p[0] || (p[0] = (M) => a("editCurrentSelection"))
|
18712
18709
|
}, [
|
18713
|
-
r("div",
|
18714
|
-
z(C, {
|
18715
|
-
icon: "pen-to-square",
|
18716
|
-
class: "AVPileSummary--edit-icon"
|
18717
|
-
}),
|
18710
|
+
r("div", JE, [
|
18711
|
+
z(C, { icon: "pen-to-square" }),
|
18718
18712
|
r("span", null, V(s.value.ballot_selection) + " " + V(c.pileIndex + 1), 1)
|
18719
18713
|
]),
|
18720
|
-
c.activeState === "overview" || c.isEditing ? (u(), d("span",
|
18714
|
+
c.activeState === "overview" || c.isEditing ? (u(), d("span", KE, V(s.value.assigned) + " " + V(c.selectionPile.multiplier), 1)) : b("", !0)
|
18721
18715
|
], 8, XE),
|
18722
|
-
r("div",
|
18723
|
-
n.value ? (u(), d("p",
|
18716
|
+
r("div", cq, [
|
18717
|
+
n.value ? (u(), d("p", eq, V(s.value.blank), 1)) : b("", !0),
|
18724
18718
|
(u(!0), d(R, null, Y(f.value.options, (M, y) => (u(), d("p", {
|
18725
18719
|
key: y,
|
18726
18720
|
class: "AVPileSummary--assign-text"
|
@@ -18730,7 +18724,7 @@ const qE = /* @__PURE__ */ D(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18730
18724
|
class: "AVPileSummary--assign-text"
|
18731
18725
|
}, [
|
18732
18726
|
r("b", null, V(M.partyLetter) + " - " + V(M.partyName), 1),
|
18733
|
-
|
18727
|
+
aq,
|
18734
18728
|
r("span", null, V(M.candidateName), 1)
|
18735
18729
|
]))), 128)),
|
18736
18730
|
o.value > 0 ? (u(), d("p", {
|
@@ -18763,12 +18757,12 @@ const qE = /* @__PURE__ */ D(EE, [["__scopeId", "data-v-568a77bb"]]), FE = {
|
|
18763
18757
|
onClick: p[3] || (p[3] = A2((M) => a("deleteSelection"), ["stop", "prevent"]))
|
18764
18758
|
}, [
|
18765
18759
|
z(C, { icon: "trash-can" })
|
18766
|
-
], 8,
|
18760
|
+
], 8, iq)) : b("", !0)
|
18767
18761
|
]));
|
18768
18762
|
};
|
18769
18763
|
}
|
18770
18764
|
});
|
18771
|
-
const
|
18765
|
+
const sq = /* @__PURE__ */ D(tq, [["__scopeId", "data-v-9e2c1e0e"]]);
|
18772
18766
|
var Kw = {}, _9 = v3 && v3.__spreadArray || function(c, a, e) {
|
18773
18767
|
if (e || arguments.length === 2)
|
18774
18768
|
for (var i = 0, t = a.length, s; i < t; i++)
|
@@ -18776,7 +18770,7 @@ var Kw = {}, _9 = v3 && v3.__spreadArray || function(c, a, e) {
|
|
18776
18770
|
return c.concat(s || Array.prototype.slice.call(a));
|
18777
18771
|
};
|
18778
18772
|
Object.defineProperty(Kw, "__esModule", { value: !0 });
|
18779
|
-
var
|
18773
|
+
var nq = Sa, rq = (
|
18780
18774
|
/** @class */
|
18781
18775
|
function() {
|
18782
18776
|
function c(a) {
|
@@ -18786,7 +18780,7 @@ var sq = Sa, nq = (
|
|
18786
18780
|
return c.prototype.isComplete = function(a) {
|
18787
18781
|
return this.allWeightUsed(a) && this.validate(a).length == 0;
|
18788
18782
|
}, c.prototype.validate = function(a) {
|
18789
|
-
var e = [], i = new
|
18783
|
+
var e = [], i = new nq.default(this.contest);
|
18790
18784
|
return a.piles.forEach(function(t) {
|
18791
18785
|
e = _9(_9([], e, !0), i.validate(t), !0);
|
18792
18786
|
}), a.piles.forEach(function(t) {
|
@@ -18798,8 +18792,8 @@ var sq = Sa, nq = (
|
|
18798
18792
|
}, 0);
|
18799
18793
|
}, c;
|
18800
18794
|
}()
|
18801
|
-
),
|
18802
|
-
const
|
18795
|
+
), lq = Kw.default = rq;
|
18796
|
+
const oq = {
|
18803
18797
|
ar: {
|
18804
18798
|
ballot: {
|
18805
18799
|
back_button: "خلف",
|
@@ -18998,7 +18992,7 @@ const lq = {
|
|
18998
18992
|
new_ballot_selection: "Lägg till ett nytt val av röstsedel"
|
18999
18993
|
}
|
19000
18994
|
}
|
19001
|
-
},
|
18995
|
+
}, fq = B({
|
19002
18996
|
props: {
|
19003
18997
|
contest: {
|
19004
18998
|
type: Object,
|
@@ -19039,7 +19033,7 @@ const lq = {
|
|
19039
19033
|
},
|
19040
19034
|
computed: {
|
19041
19035
|
componentTranslations() {
|
19042
|
-
return
|
19036
|
+
return oq[this.locale];
|
19043
19037
|
},
|
19044
19038
|
activeState() {
|
19045
19039
|
return this.ballotActiveState;
|
@@ -19062,7 +19056,7 @@ const lq = {
|
|
19062
19056
|
return new Jw(this.contest);
|
19063
19057
|
},
|
19064
19058
|
contestSelectionValidator() {
|
19065
|
-
return new
|
19059
|
+
return new lq({
|
19066
19060
|
contest: this.contest,
|
19067
19061
|
voterWeight: this.weight
|
19068
19062
|
});
|
@@ -19143,25 +19137,25 @@ const lq = {
|
|
19143
19137
|
}
|
19144
19138
|
}
|
19145
19139
|
});
|
19146
|
-
var
|
19140
|
+
var uq = {
|
19147
19141
|
class: "AVSplitHelper--title",
|
19148
19142
|
"aria-live": "polite"
|
19149
|
-
},
|
19143
|
+
}, mq = ["innerHTML"], dq = { key: 0 }, vq = { class: "AVSplitHelper--footer" }, pq = { class: "AVSplitHelper--btn-secondary-container" }, hq = { class: "AVSplitHelper--btn-primary-container" }, Vq = ["disabled"], zq = { key: 1 }, Hq = { class: "AVSplitHelper--assign-card" }, Mq = { class: "AVSplitHelper--assign-question" }, gq = ["for"], Cq = ["id", "max"], Lq = { class: "AVSplitHelper--footer" }, bq = { class: "AVSplitHelper--btn-secondary-container" }, xq = { class: "AVSplitHelper--btn-primary-container" }, yq = ["disabled"], Aq = { key: 2 }, Sq = {
|
19150
19144
|
key: 0,
|
19151
19145
|
class: "AVSplitHelper--overview-success"
|
19152
|
-
},
|
19146
|
+
}, Nq = {
|
19153
19147
|
key: 1,
|
19154
19148
|
class: "AVSplitHelper--overview-default"
|
19155
|
-
},
|
19156
|
-
function
|
19149
|
+
}, wq = { class: "AVSplitHelper--overview--text" }, kq = ["disabled"], _q = ["onClick"], Tq = { key: 1 };
|
19150
|
+
function Dq(c, a, e, i, t, s) {
|
19157
19151
|
var n, l = H("AVSplitWizardHeader"), o = H("AVBallot"), m = H("AVPileSummary"), f = H("AVSplitWeightHelper"), v = H("AVIcon");
|
19158
19152
|
return u(), d(R, null, [
|
19159
|
-
r("h3",
|
19153
|
+
r("h3", uq, V(c.contest.title[c.locale]), 1),
|
19160
19154
|
r("div", {
|
19161
19155
|
class: "AVSplitHelper--description",
|
19162
19156
|
innerHTML: (n = c.contest.description) === null || n === void 0 ? void 0 : n[c.locale]
|
19163
|
-
}, null, 8,
|
19164
|
-
c.userCanSplit ? (u(), d("div",
|
19157
|
+
}, null, 8, mq),
|
19158
|
+
c.userCanSplit ? (u(), d("div", dq, [
|
19165
19159
|
["ballot", "assign", "overview"].includes(c.activeState) ? (u(), E(l, {
|
19166
19160
|
key: 0,
|
19167
19161
|
"active-ballot-index": c.activeBallotIndex,
|
@@ -19186,8 +19180,8 @@ function Tq(c, a, e, i, t, s) {
|
|
19186
19180
|
locale: c.locale,
|
19187
19181
|
"onUpdate:selectionPile": c.updateActivePile
|
19188
19182
|
}, null, 8, ["selection-pile", "contest", "locale", "onUpdate:selectionPile"]),
|
19189
|
-
r("div",
|
19190
|
-
r("div",
|
19183
|
+
r("div", vq, [
|
19184
|
+
r("div", pq, [
|
19191
19185
|
c.selectionPiles.length > 0 ? (u(), d("button", {
|
19192
19186
|
key: "back",
|
19193
19187
|
class: "AVSplitHelper--btn-secondary",
|
@@ -19196,7 +19190,7 @@ function Tq(c, a, e, i, t, s) {
|
|
19196
19190
|
})
|
19197
19191
|
}, V(c.componentTranslations.ballot.back_button), 1)) : b("", !0)
|
19198
19192
|
]),
|
19199
|
-
r("div",
|
19193
|
+
r("div", hq, [
|
19200
19194
|
r("button", {
|
19201
19195
|
key: "assign",
|
19202
19196
|
class: "AVSplitHelper--btn-primary",
|
@@ -19204,12 +19198,12 @@ function Tq(c, a, e, i, t, s) {
|
|
19204
19198
|
onClick: a[1] || (a[1] = function(M) {
|
19205
19199
|
return c.$emit("setBallotActiveState", "assign");
|
19206
19200
|
})
|
19207
|
-
}, V(c.componentTranslations.ballot.confirm_button), 9,
|
19201
|
+
}, V(c.componentTranslations.ballot.confirm_button), 9, Vq)
|
19208
19202
|
])
|
19209
19203
|
])
|
19210
|
-
])) : c.activeState === "assign" ? (u(), d("div",
|
19211
|
-
r("div",
|
19212
|
-
r("h4",
|
19204
|
+
])) : c.activeState === "assign" ? (u(), d("div", zq, [
|
19205
|
+
r("div", Hq, [
|
19206
|
+
r("h4", Mq, V(c.componentTranslations.assign.split_question), 1),
|
19213
19207
|
z(m, {
|
19214
19208
|
"selection-pile": c.activePile,
|
19215
19209
|
contest: c.contest,
|
@@ -19227,7 +19221,7 @@ function Tq(c, a, e, i, t, s) {
|
|
19227
19221
|
r("label", {
|
19228
19222
|
for: "".concat(c.contest.reference, "-ballot-selector"),
|
19229
19223
|
class: "AVSplitHelper--assign-label"
|
19230
|
-
}, V(c.isEditing ? c.componentTranslations.assign.ballots_to_assign_edit_mode : c.componentTranslations.assign.ballots_to_assign), 9,
|
19224
|
+
}, V(c.isEditing ? c.componentTranslations.assign.ballots_to_assign_edit_mode : c.componentTranslations.assign.ballots_to_assign), 9, gq),
|
19231
19225
|
N2(r("input", {
|
19232
19226
|
id: "".concat(c.contest.reference, "-ballot-selector"),
|
19233
19227
|
"onUpdate:modelValue": a[3] || (a[3] = function(M) {
|
@@ -19236,7 +19230,7 @@ function Tq(c, a, e, i, t, s) {
|
|
19236
19230
|
class: "AVSplitHelper--assign-input",
|
19237
19231
|
type: "number",
|
19238
19232
|
max: c.maxAssignable
|
19239
|
-
}, null, 8,
|
19233
|
+
}, null, 8, Cq), [
|
19240
19234
|
[B9, c.activePile.multiplier]
|
19241
19235
|
])
|
19242
19236
|
]),
|
@@ -19246,8 +19240,8 @@ function Tq(c, a, e, i, t, s) {
|
|
19246
19240
|
"active-assigned": (p = c.selectionPiles[c.activeBallotIndex]) === null || p === void 0 ? void 0 : p.multiplier,
|
19247
19241
|
locale: c.locale
|
19248
19242
|
}, null, 8, ["assigned-weight", "unused-weight", "active-assigned", "locale"]),
|
19249
|
-
r("div",
|
19250
|
-
r("div",
|
19243
|
+
r("div", Lq, [
|
19244
|
+
r("div", bq, [
|
19251
19245
|
r("button", {
|
19252
19246
|
key: "ballot",
|
19253
19247
|
class: "AVSplitHelper--btn-secondary",
|
@@ -19256,7 +19250,7 @@ function Tq(c, a, e, i, t, s) {
|
|
19256
19250
|
})
|
19257
19251
|
}, V(c.componentTranslations.assign.back_button), 1)
|
19258
19252
|
]),
|
19259
|
-
r("div",
|
19253
|
+
r("div", xq, [
|
19260
19254
|
r("button", {
|
19261
19255
|
key: "confirm",
|
19262
19256
|
class: "AVSplitHelper--btn-primary",
|
@@ -19264,18 +19258,18 @@ function Tq(c, a, e, i, t, s) {
|
|
19264
19258
|
onClick: a[5] || (a[5] = function(M) {
|
19265
19259
|
return c.persistActivePile();
|
19266
19260
|
})
|
19267
|
-
}, V(c.componentTranslations.assign.confirm_button), 9,
|
19261
|
+
}, V(c.componentTranslations.assign.confirm_button), 9, yq)
|
19268
19262
|
])
|
19269
19263
|
])
|
19270
|
-
])) : c.activeState === "overview" ? (u(), d("div",
|
19271
|
-
c.unusedWeight === 0 && c.contestSelectionValidator.isComplete(c.contestSelection) ? (u(), d("div",
|
19264
|
+
])) : c.activeState === "overview" ? (u(), d("div", Aq, [
|
19265
|
+
c.unusedWeight === 0 && c.contestSelectionValidator.isComplete(c.contestSelection) ? (u(), d("div", Sq, [
|
19272
19266
|
z(v, {
|
19273
19267
|
icon: "circle-check",
|
19274
19268
|
class: "AVSplitHelper--overview-success-icon"
|
19275
19269
|
}),
|
19276
19270
|
K(" " + V(c.componentTranslations.overview.all_ballots_assigned), 1)
|
19277
|
-
])) : (u(), d("div",
|
19278
|
-
r("p",
|
19271
|
+
])) : (u(), d("div", Nq, [
|
19272
|
+
r("p", wq, [
|
19279
19273
|
r("strong", null, V(c.unusedWeight), 1),
|
19280
19274
|
K(" " + V(c.componentTranslations.overview.ballots_left), 1)
|
19281
19275
|
]),
|
@@ -19291,7 +19285,7 @@ function Tq(c, a, e, i, t, s) {
|
|
19291
19285
|
}, [
|
19292
19286
|
z(v, { icon: "file-circle-plus" }),
|
19293
19287
|
K(" " + V(c.componentTranslations.overview.new_ballot_selection), 1)
|
19294
|
-
], 8,
|
19288
|
+
], 8, kq)
|
19295
19289
|
])),
|
19296
19290
|
(u(!0), d(R, null, Y(c.selectionPiles, function(M, y) {
|
19297
19291
|
return u(), d("article", {
|
@@ -19313,14 +19307,14 @@ function Tq(c, a, e, i, t, s) {
|
|
19313
19307
|
return c.removeSplit(y);
|
19314
19308
|
}
|
19315
19309
|
}, null, 8, ["selection-pile", "contest", "active-state", "pile-index", "total-piles", "splitable-contests", "locale", "onDeleteSelection"])
|
19316
|
-
], 8,
|
19310
|
+
], 8, _q);
|
19317
19311
|
}), 128))
|
19318
19312
|
])) : b("", !0)
|
19319
19313
|
];
|
19320
19314
|
}),
|
19321
19315
|
_: 1
|
19322
19316
|
})
|
19323
|
-
])) : (u(), d("div",
|
19317
|
+
])) : (u(), d("div", Tq, [
|
19324
19318
|
z(o, {
|
19325
19319
|
class: "AVSplitHelper--no-split",
|
19326
19320
|
"selection-pile": c.activePile,
|
@@ -19331,8 +19325,8 @@ function Tq(c, a, e, i, t, s) {
|
|
19331
19325
|
]))
|
19332
19326
|
], 64);
|
19333
19327
|
}
|
19334
|
-
const
|
19335
|
-
var
|
19328
|
+
const Iq = /* @__PURE__ */ D(fq, [["render", Dq], ["__scopeId", "data-v-8029404e"]]);
|
19329
|
+
var Pq = {}, Bq = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), Oq = { class: "flex items-center" }, jq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Eq = /* @__PURE__ */ r("h2", { class: "mb-4" }, "Election Name", -1), qq = /* @__PURE__ */ r("div", null, [
|
19336
19330
|
/* @__PURE__ */ r("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
|
19337
19331
|
/* @__PURE__ */ r("br"),
|
19338
19332
|
/* @__PURE__ */ r("p", null, " In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),
|
@@ -19365,14 +19359,14 @@ var Iq = {}, Pq = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), Bq = { clas
|
|
19365
19359
|
/* @__PURE__ */ r("br"),
|
19366
19360
|
/* @__PURE__ */ r("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
19367
19361
|
], -1);
|
19368
|
-
function
|
19362
|
+
function Fq(c, a) {
|
19369
19363
|
var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), t = H("AVMenuDropdown"), s = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), o = H("AVSidebarItem"), m = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
|
19370
19364
|
return u(), d(R, null, [
|
19371
19365
|
z(s, null, {
|
19372
19366
|
default: F(function() {
|
19373
19367
|
return [
|
19374
|
-
|
19375
|
-
r("div",
|
19368
|
+
Bq,
|
19369
|
+
r("div", Oq, [
|
19376
19370
|
z(i, { type: "navbar" }, {
|
19377
19371
|
default: F(function() {
|
19378
19372
|
return [
|
@@ -19415,8 +19409,8 @@ function qq(c, a) {
|
|
19415
19409
|
z(f, null, {
|
19416
19410
|
default: F(function() {
|
19417
19411
|
return [
|
19418
|
-
r("div",
|
19419
|
-
|
19412
|
+
r("div", jq, [
|
19413
|
+
Eq,
|
19420
19414
|
z(n, {
|
19421
19415
|
value: "draft",
|
19422
19416
|
type: "info"
|
@@ -19487,7 +19481,7 @@ function qq(c, a) {
|
|
19487
19481
|
}),
|
19488
19482
|
content: F(function() {
|
19489
19483
|
return [
|
19490
|
-
|
19484
|
+
qq
|
19491
19485
|
];
|
19492
19486
|
}),
|
19493
19487
|
_: 1
|
@@ -19495,8 +19489,8 @@ function qq(c, a) {
|
|
19495
19489
|
z(p)
|
19496
19490
|
], 64);
|
19497
19491
|
}
|
19498
|
-
const
|
19499
|
-
var
|
19492
|
+
const $q = /* @__PURE__ */ D(Pq, [["render", Fq]]);
|
19493
|
+
var Rq = {}, Uq = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), Wq = { class: "flex items-center" }, Gq = { class: "flex flex-col items-center justify-center p-3 w-full" }, Yq = /* @__PURE__ */ r("h2", { class: "mb-4" }, "Election Name", -1), Qq = /* @__PURE__ */ r("div", null, [
|
19500
19494
|
/* @__PURE__ */ r("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
|
19501
19495
|
/* @__PURE__ */ r("br"),
|
19502
19496
|
/* @__PURE__ */ r("p", null, " In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),
|
@@ -19528,7 +19522,7 @@ var $q = {}, Rq = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), Uq = { clas
|
|
19528
19522
|
/* @__PURE__ */ r("p", null, " Vivamus et semper odio, eget dignissim leo. Suspendisse quis ex ut ipsum luctus tincidunt. Curabitur rhoncus nibh quis libero aliquet, sit amet pellentesque ipsum pretium. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur est orci, tempor non hendrerit luctus, feugiat eu eros. Vivamus sed ipsum ornare, euismod purus quis, bibendum ex. Praesent euismod lobortis arcu et efficitur. Curabitur quis sapien dui. Vestibulum in ante et est molestie laoreet ut ac orci. Etiam erat neque, finibus nec mi vitae, mattis euismod ex. "),
|
19529
19523
|
/* @__PURE__ */ r("br"),
|
19530
19524
|
/* @__PURE__ */ r("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
19531
|
-
], -1),
|
19525
|
+
], -1), Zq = /* @__PURE__ */ r("div", null, [
|
19532
19526
|
/* @__PURE__ */ r("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. "),
|
19533
19527
|
/* @__PURE__ */ r("br"),
|
19534
19528
|
/* @__PURE__ */ r("p", null, " In tellus nibh, elementum in massa vel, aliquet feugiat ex. Vestibulum auctor pharetra tellus id ultrices. Fusce dignissim interdum laoreet. Suspendisse sagittis risus lorem, in iaculis lacus sollicitudin in. Etiam porta dapibus venenatis. Praesent convallis rhoncus laoreet. In sed placerat metus, eget pellentesque velit. Mauris scelerisque magna id porttitor feugiat. Praesent aliquam sagittis diam, nec vestibulum diam pretium et. Cras vel velit accumsan elit luctus porttitor. "),
|
@@ -19561,14 +19555,14 @@ var $q = {}, Rq = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), Uq = { clas
|
|
19561
19555
|
/* @__PURE__ */ r("br"),
|
19562
19556
|
/* @__PURE__ */ r("p", null, " Pellentesque accumsan viverra odio at dignissim. Sed tortor turpis, porta sit amet venenatis ut, mollis sed sapien. Donec sapien dolor, consectetur a arcu vitae, gravida dapibus justo. Nulla mattis urna vel urna posuere blandit id auctor neque. Suspendisse tincidunt elit eu lacinia mattis. Nullam semper pellentesque augue sit amet accumsan. Ut feugiat nulla ut sapien pellentesque, at finibus velit dapibus. Morbi tristique pharetra rhoncus. Sed bibendum efficitur justo sed pellentesque. Etiam porta vitae magna semper elementum. Fusce eu tincidunt diam, at varius purus. Proin gravida velit arcu, eget volutpat magna pretium a. ")
|
19563
19557
|
], -1);
|
19564
|
-
function
|
19558
|
+
function Xq(c, a) {
|
19565
19559
|
var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), t = H("AVMenuDropdown"), s = H("AVNavbar"), n = H("AVLabel"), l = H("AVTabSwitcher"), o = H("AVSidebarItem"), m = H("AVButton"), f = H("AVSidebar"), v = H("AVContent"), p = H("AVFooter");
|
19566
19560
|
return u(), d(R, null, [
|
19567
19561
|
z(s, null, {
|
19568
19562
|
default: F(function() {
|
19569
19563
|
return [
|
19570
|
-
|
19571
|
-
r("div",
|
19564
|
+
Uq,
|
19565
|
+
r("div", Wq, [
|
19572
19566
|
z(i, { type: "navbar" }, {
|
19573
19567
|
default: F(function() {
|
19574
19568
|
return [
|
@@ -19611,8 +19605,8 @@ function Zq(c, a) {
|
|
19611
19605
|
z(f, null, {
|
19612
19606
|
default: F(function() {
|
19613
19607
|
return [
|
19614
|
-
r("div",
|
19615
|
-
|
19608
|
+
r("div", Gq, [
|
19609
|
+
Yq,
|
19616
19610
|
z(n, {
|
19617
19611
|
value: "draft",
|
19618
19612
|
type: "info"
|
@@ -19683,8 +19677,8 @@ function Zq(c, a) {
|
|
19683
19677
|
}),
|
19684
19678
|
content: F(function() {
|
19685
19679
|
return [
|
19686
|
-
|
19687
|
-
|
19680
|
+
Qq,
|
19681
|
+
Zq
|
19688
19682
|
];
|
19689
19683
|
}),
|
19690
19684
|
_: 1
|
@@ -19692,20 +19686,20 @@ function Zq(c, a) {
|
|
19692
19686
|
z(p)
|
19693
19687
|
], 64);
|
19694
19688
|
}
|
19695
|
-
const
|
19696
|
-
var
|
19689
|
+
const Jq = /* @__PURE__ */ D(Rq, [["render", Xq]]);
|
19690
|
+
var Kq = {}, cF = /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1), eF = { class: "flex items-center" }, aF = /* @__PURE__ */ r("div", null, [
|
19697
19691
|
/* @__PURE__ */ r("h1", null, "Content goes here"),
|
19698
19692
|
/* @__PURE__ */ r("br"),
|
19699
19693
|
/* @__PURE__ */ r("p", null, " Curabitur et augue in nibh mollis faucibus. Mauris semper cursus felis, vitae porta dui faucibus eu. Suspendisse potenti. Ut sit amet arcu non quam eleifend interdum. Sed vitae sagittis nunc. Nullam faucibus mattis mauris sed tincidunt. Nulla convallis lobortis semper. Curabitur varius neque vel sapien mattis mattis. Integer mollis fringilla nibh, facilisis rutrum risus. In volutpat sem in lacus vestibulum, sollicitudin efficitur dui luctus. Donec fringilla diam tortor, posuere lacinia erat consequat ut. Mauris nec nibh tortor. ")
|
19700
19694
|
], -1);
|
19701
|
-
function
|
19695
|
+
function iF(c, a) {
|
19702
19696
|
var e = H("AVNavbarItem"), i = H("AVNavigationItemList"), t = H("AVMenuDropdown"), s = H("AVNavbar"), n = H("AVContent"), l = H("AVFooter");
|
19703
19697
|
return u(), d(R, null, [
|
19704
19698
|
z(s, null, {
|
19705
19699
|
default: F(function() {
|
19706
19700
|
return [
|
19707
|
-
|
19708
|
-
r("div",
|
19701
|
+
cF,
|
19702
|
+
r("div", eF, [
|
19709
19703
|
z(i, { type: "navbar" }, {
|
19710
19704
|
default: F(function() {
|
19711
19705
|
return [
|
@@ -19745,7 +19739,7 @@ function aF(c, a) {
|
|
19745
19739
|
z(n, null, {
|
19746
19740
|
content: F(function() {
|
19747
19741
|
return [
|
19748
|
-
|
19742
|
+
aF
|
19749
19743
|
];
|
19750
19744
|
}),
|
19751
19745
|
_: 1
|
@@ -19764,21 +19758,21 @@ function aF(c, a) {
|
|
19764
19758
|
})
|
19765
19759
|
], 64);
|
19766
19760
|
}
|
19767
|
-
const
|
19761
|
+
const tF = /* @__PURE__ */ D(Kq, [["render", iF]]), m4 = (c) => (T2("data-v-20fc858f"), c = c(), D2(), c), sF = /* @__PURE__ */ m4(() => /* @__PURE__ */ r("a", { href: "#" }, "LOGO", -1)), nF = { class: "flex items-center" }, rF = { href: "/new" }, lF = /* @__PURE__ */ m4(() => /* @__PURE__ */ r("div", { class: "new-election-title-container" }, [
|
19768
19762
|
/* @__PURE__ */ r("span", {
|
19769
19763
|
class: "new-election-title",
|
19770
19764
|
"data-test": "title"
|
19771
19765
|
}, "Create new election")
|
19772
|
-
], -1)),
|
19766
|
+
], -1)), oF = { class: "new-election-button" }, fF = {
|
19773
19767
|
key: 0,
|
19774
19768
|
class: "no-elections-container"
|
19775
|
-
},
|
19769
|
+
}, uF = /* @__PURE__ */ m4(() => /* @__PURE__ */ r("span", {
|
19776
19770
|
class: "no-elections-title",
|
19777
19771
|
"data-test": "title"
|
19778
|
-
}, "Your dashboard is empty", -1)),
|
19772
|
+
}, "Your dashboard is empty", -1)), mF = /* @__PURE__ */ m4(() => /* @__PURE__ */ r("span", {
|
19779
19773
|
class: "no-elections-text",
|
19780
19774
|
"data-test": "title"
|
19781
|
-
}, "Once you create new elections you will see them displayed in this dashboard.", -1)),
|
19775
|
+
}, "Once you create new elections you will see them displayed in this dashboard.", -1)), dF = /* @__PURE__ */ B({
|
19782
19776
|
__name: "ElectionDashboardLayout",
|
19783
19777
|
setup(c) {
|
19784
19778
|
const a = [
|
@@ -19836,8 +19830,8 @@ const iF = /* @__PURE__ */ D(Jq, [["render", aF]]), m4 = (c) => (T2("data-v-20fc
|
|
19836
19830
|
return u(), d(R, null, [
|
19837
19831
|
z(l, null, {
|
19838
19832
|
default: F(() => [
|
19839
|
-
|
19840
|
-
r("div",
|
19833
|
+
sF,
|
19834
|
+
r("div", nF, [
|
19841
19835
|
z(s, { type: "navbar" }, {
|
19842
19836
|
default: F(() => [
|
19843
19837
|
z(t, {
|
@@ -19878,14 +19872,14 @@ const iF = /* @__PURE__ */ D(Jq, [["render", aF]]), m4 = (c) => (T2("data-v-20fc
|
|
19878
19872
|
class: "dashboard-container"
|
19879
19873
|
}, {
|
19880
19874
|
default: F(() => [
|
19881
|
-
r("a",
|
19875
|
+
r("a", rF, [
|
19882
19876
|
z(m, {
|
19883
19877
|
variant: "rounded",
|
19884
19878
|
role: "button"
|
19885
19879
|
}, {
|
19886
19880
|
default: F(() => [
|
19887
|
-
|
19888
|
-
r("div",
|
19881
|
+
lF,
|
19882
|
+
r("div", oF, [
|
19889
19883
|
z(o, {
|
19890
19884
|
icon: "fa-solid fa-circle-plus",
|
19891
19885
|
class: "new-election-icon"
|
@@ -19895,13 +19889,13 @@ const iF = /* @__PURE__ */ D(Jq, [["render", aF]]), m4 = (c) => (T2("data-v-20fc
|
|
19895
19889
|
_: 1
|
19896
19890
|
})
|
19897
19891
|
]),
|
19898
|
-
a.length === 0 ? (u(), d("div",
|
19892
|
+
a.length === 0 ? (u(), d("div", fF, [
|
19899
19893
|
z(o, {
|
19900
19894
|
icon: "fa-solid fa-folder-open",
|
19901
19895
|
class: "no-elections-icon"
|
19902
19896
|
}),
|
19903
|
-
|
19904
|
-
|
19897
|
+
uF,
|
19898
|
+
mF
|
19905
19899
|
])) : b("", !0),
|
19906
19900
|
(u(), d(R, null, Y(a, (h) => z(f, {
|
19907
19901
|
key: h.id,
|
@@ -19927,9 +19921,9 @@ const iF = /* @__PURE__ */ D(Jq, [["render", aF]]), m4 = (c) => (T2("data-v-20fc
|
|
19927
19921
|
};
|
19928
19922
|
}
|
19929
19923
|
});
|
19930
|
-
const
|
19924
|
+
const vF = /* @__PURE__ */ D(dF, [["__scopeId", "data-v-20fc858f"]]), hF = {
|
19931
19925
|
install: function(c) {
|
19932
|
-
c.component("AVIcon", VD), c.component("AVButton", MD), c.component("AVSpinner", CD), c.component("AVBullet", I4), c.component("AVTextInput", _D), c.component("AVNumberInput", ED), c.component("AVPasswordInput", YD), c.component("AVDatetimeInput", aI), c.component("AVTextArea", fI), c.component("AVCard", vI), c.component("AVRoundButton", hI), c.component("AVLabel", mI), c.component("AVDropdown", yI), c.component("AVDropdownContent", NI), c.component("AVDropdownItem", kI), c.component("AVAlert", BI), c.component("AVFileInput", vP), c.component("AVRadio", MP), c.component("AVLink", LP), c.component("AVNavbarItem", NP), c.component("AVSidebarItem", IP), c.component("AVTooltip", EP), c.component("AVMenuDropdown", RP), c.component("AVMenuDropdownContent", GP), c.component("AVMenuDropdownItem", ZP), c.component("AVAsyncButton", KP), c.component("AVTabSwitcher", iB), c.component("AVBallotSummary", lB), c.component("AVTimedCard", mB), c.component("AVBasicSteps", zB), c.component("AVSteps", CB), c.component("AVOptionSelect", kB), c.component("AVOptionCheckbox", OB), c.component("AVTransitionSlide", jB), c.component("AVCollapser", $B), c.component("AVRadioGroup", YB), c.component("AVNavigationItemList", ZB), c.component("AVBreadcrumb", eO), c.component("AVElectionCard", HO), c.component("AVBallotStyleCard", SO), c.component("AVSummaryOption", PO), c.component("AVOption", cj), c.component("AVBlankOption", rj), c.component("AVWriteInOption", Hj), c.component("AVSubmissionHelper", Tj), c.component("AVSearchBallot", Gj), c.component("AVSplitWeightHelper", cE), c.component("AVSplitWizardHeader", rE), c.component("AVFooter", dE), c.component("AVSidebar", VE), c.component("AVNavbar", gE), c.component("AVContent", AE), c.component("AVModal", kE), c.component("AVBallot", qE), c.component("AVPileSummary",
|
19926
|
+
c.component("AVIcon", VD), c.component("AVButton", MD), c.component("AVSpinner", CD), c.component("AVBullet", I4), c.component("AVTextInput", _D), c.component("AVNumberInput", ED), c.component("AVPasswordInput", YD), c.component("AVDatetimeInput", aI), c.component("AVTextArea", fI), c.component("AVCard", vI), c.component("AVRoundButton", hI), c.component("AVLabel", mI), c.component("AVDropdown", yI), c.component("AVDropdownContent", NI), c.component("AVDropdownItem", kI), c.component("AVAlert", BI), c.component("AVFileInput", vP), c.component("AVRadio", MP), c.component("AVLink", LP), c.component("AVNavbarItem", NP), c.component("AVSidebarItem", IP), c.component("AVTooltip", EP), c.component("AVMenuDropdown", RP), c.component("AVMenuDropdownContent", GP), c.component("AVMenuDropdownItem", ZP), c.component("AVAsyncButton", KP), c.component("AVTabSwitcher", iB), c.component("AVBallotSummary", lB), c.component("AVTimedCard", mB), c.component("AVBasicSteps", zB), c.component("AVSteps", CB), c.component("AVOptionSelect", kB), c.component("AVOptionCheckbox", OB), c.component("AVTransitionSlide", jB), c.component("AVCollapser", $B), c.component("AVRadioGroup", YB), c.component("AVNavigationItemList", ZB), c.component("AVBreadcrumb", eO), c.component("AVElectionCard", HO), c.component("AVBallotStyleCard", SO), c.component("AVSummaryOption", PO), c.component("AVOption", cj), c.component("AVBlankOption", rj), c.component("AVWriteInOption", Hj), c.component("AVSubmissionHelper", Tj), c.component("AVSearchBallot", Gj), c.component("AVSplitWeightHelper", cE), c.component("AVSplitWizardHeader", rE), c.component("AVFooter", dE), c.component("AVSidebar", VE), c.component("AVNavbar", gE), c.component("AVContent", AE), c.component("AVModal", kE), c.component("AVBallot", qE), c.component("AVPileSummary", sq), c.component("AVSplitHelper", Iq), c.component("OneColumnLayout", $q), c.component("TwoColumnsLayout", Jq), c.component("NoSidebarLayout", tF), c.component("ElectionDashboardLayout", vF), c.component("popper-tooltip", D_);
|
19933
19927
|
}
|
19934
19928
|
};
|
19935
19929
|
export {
|
@@ -19968,7 +19962,7 @@ export {
|
|
19968
19962
|
OB as AVOptionCheckbox,
|
19969
19963
|
kB as AVOptionSelect,
|
19970
19964
|
YD as AVPasswordInput,
|
19971
|
-
|
19965
|
+
sq as AVPileSummary,
|
19972
19966
|
MP as AVRadio,
|
19973
19967
|
YB as AVRadioGroup,
|
19974
19968
|
hI as AVRoundButton,
|
@@ -19976,7 +19970,7 @@ export {
|
|
19976
19970
|
VE as AVSidebar,
|
19977
19971
|
IP as AVSidebarItem,
|
19978
19972
|
CD as AVSpinner,
|
19979
|
-
|
19973
|
+
Iq as AVSplitHelper,
|
19980
19974
|
cE as AVSplitWeightHelper,
|
19981
19975
|
rE as AVSplitWizardHeader,
|
19982
19976
|
CB as AVSteps,
|
@@ -19989,9 +19983,9 @@ export {
|
|
19989
19983
|
EP as AVTooltip,
|
19990
19984
|
jB as AVTransitionSlide,
|
19991
19985
|
Hj as AVWriteInOption,
|
19992
|
-
|
19993
|
-
|
19994
|
-
|
19995
|
-
|
19996
|
-
|
19986
|
+
vF as ElectionDashboardLayout,
|
19987
|
+
tF as NoSidebarLayout,
|
19988
|
+
$q as OneColumnLayout,
|
19989
|
+
Jq as TwoColumnsLayout,
|
19990
|
+
hF as default
|
19997
19991
|
};
|