@dcrackel/hematournamentui 1.0.484 → 1.0.486
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/HemaTournamentUI-lib.es.js +16 -5
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/package.json +1 -1
- package/src/stories/Organisms/Cards/FencerPoolResultsCard/FencerPoolResultsCard.vue +5 -1
- package/src/stories/Organisms/Containers/PoolResults/PoolResultsTable.vue +5 -0
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.vue +3 -2
- package/src/stories/Templates/EventManagement/PoolResults/PoolResults.vue +1 -0
|
@@ -33194,9 +33194,10 @@ const R7 = /* @__PURE__ */ Ae(w7, [["render", T7]]), z7 = {
|
|
|
33194
33194
|
const n = this.event.Flights || 0, e = Array.from({ length: n }, (t, r) => ({
|
|
33195
33195
|
id: `Flight${r + 1}`,
|
|
33196
33196
|
label: `Flight ${r + 1}`,
|
|
33197
|
-
color: "primaryHighlight"
|
|
33197
|
+
color: "primaryHighlight",
|
|
33198
|
+
icon: `fa-${r + 1}`
|
|
33198
33199
|
}));
|
|
33199
|
-
return [{ id: "All", label: "All", color: "primaryHighlight" }, ...e];
|
|
33200
|
+
return [{ id: "All", label: "All", color: "primaryHighlight", icon: "fa-plane-up" }, ...e];
|
|
33200
33201
|
},
|
|
33201
33202
|
filteredPools() {
|
|
33202
33203
|
return this.loading ? Array.from({ length: 2 }).map((e, t) => ({
|
|
@@ -35893,6 +35894,10 @@ const BL = /* @__PURE__ */ Ae(oL, [["render", mL]]), EL = {
|
|
|
35893
35894
|
doubles: {
|
|
35894
35895
|
required: !1,
|
|
35895
35896
|
default: !1
|
|
35897
|
+
},
|
|
35898
|
+
role: {
|
|
35899
|
+
type: String,
|
|
35900
|
+
default: "admin"
|
|
35896
35901
|
}
|
|
35897
35902
|
},
|
|
35898
35903
|
computed: {
|
|
@@ -35903,7 +35908,7 @@ const BL = /* @__PURE__ */ Ae(oL, [["render", mL]]), EL = {
|
|
|
35903
35908
|
return this.person.Image ? this.person.Image : "";
|
|
35904
35909
|
},
|
|
35905
35910
|
fencingMovable() {
|
|
35906
|
-
return this.status === "results";
|
|
35911
|
+
return this.status === "results" && this.role.toLowerCase() !== "director";
|
|
35907
35912
|
},
|
|
35908
35913
|
promotionByTop() {
|
|
35909
35914
|
return this.promotedBy === "Top";
|
|
@@ -36307,6 +36312,10 @@ const $p = /* @__PURE__ */ Ae(zL, [["render", WL]]), XL = {
|
|
|
36307
36312
|
event: {
|
|
36308
36313
|
type: Object,
|
|
36309
36314
|
required: !0
|
|
36315
|
+
},
|
|
36316
|
+
role: {
|
|
36317
|
+
type: String,
|
|
36318
|
+
default: "admin"
|
|
36310
36319
|
}
|
|
36311
36320
|
},
|
|
36312
36321
|
data() {
|
|
@@ -36414,10 +36423,11 @@ function iN(n, e, t, r, o, i) {
|
|
|
36414
36423
|
promotedBy: t.promotedBy,
|
|
36415
36424
|
handShots: i.hasHandShotCount,
|
|
36416
36425
|
doubles: i.hasDoubleCount,
|
|
36426
|
+
role: t.role,
|
|
36417
36427
|
"onRemove:person": i.handleWithdraw,
|
|
36418
36428
|
"onUpdate:moveUp": i.moveFencerDESeedUp,
|
|
36419
36429
|
"onUpdate:moveDown": i.moveFencerDESeedDown
|
|
36420
|
-
}, null, 8, ["isLast", "person", "status", "promotedBy", "handShots", "doubles", "onRemove:person", "onUpdate:moveUp", "onUpdate:moveDown"]),
|
|
36430
|
+
}, null, 8, ["isLast", "person", "status", "promotedBy", "handShots", "doubles", "role", "onRemove:person", "onUpdate:moveUp", "onUpdate:moveDown"]),
|
|
36421
36431
|
i.shouldShowBar(u) ? (f(), m("div", rN, [
|
|
36422
36432
|
h("div", oN, [
|
|
36423
36433
|
p(l, {
|
|
@@ -36626,12 +36636,13 @@ function aN(n, e, t, r, o, i) {
|
|
|
36626
36636
|
numPromoted: o.localPromoted,
|
|
36627
36637
|
event: t.event,
|
|
36628
36638
|
promotedBy: i.getPromotedByRule(),
|
|
36639
|
+
role: t.role,
|
|
36629
36640
|
"onUpdate:withdraw": i.handleWithdraw,
|
|
36630
36641
|
"onUpdate:handleIncreaseCount": i.handleIncreaseCount,
|
|
36631
36642
|
"onUpdate:handleDecreaseCount": i.handleDecreaseCount,
|
|
36632
36643
|
"onUpdate:moveFencerDESeedUp": i.moveFencerDESeedUp,
|
|
36633
36644
|
"onUpdate:moveFencerDESeedDown": i.moveFencerDESeedDown
|
|
36634
|
-
}, null, 8, ["poolResults", "initialCutoffIndex", "numPromoted", "event", "promotedBy", "onUpdate:withdraw", "onUpdate:handleIncreaseCount", "onUpdate:handleDecreaseCount", "onUpdate:moveFencerDESeedUp", "onUpdate:moveFencerDESeedDown"]),
|
|
36645
|
+
}, null, 8, ["poolResults", "initialCutoffIndex", "numPromoted", "event", "promotedBy", "role", "onUpdate:withdraw", "onUpdate:handleIncreaseCount", "onUpdate:handleDecreaseCount", "onUpdate:moveFencerDESeedUp", "onUpdate:moveFencerDESeedDown"]),
|
|
36635
36646
|
p(c, {
|
|
36636
36647
|
show: o.showRemoveModal,
|
|
36637
36648
|
"icon-name": "fa-user-slash",
|