@dcrackel/hematournamentui 1.0.528 → 1.0.530
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.
|
@@ -40855,16 +40855,16 @@ const Y2 = /* @__PURE__ */ se(L2, [["render", q2]]), j2 = {
|
|
|
40855
40855
|
},
|
|
40856
40856
|
computed: {
|
|
40857
40857
|
totalYellowCards() {
|
|
40858
|
-
return (this.penalties
|
|
40858
|
+
return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Yellow").length : 0), 0) : 0;
|
|
40859
40859
|
},
|
|
40860
40860
|
totalRedCards() {
|
|
40861
|
-
return (this.penalties
|
|
40861
|
+
return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Red").length : 0), 0) : 0;
|
|
40862
40862
|
},
|
|
40863
40863
|
totalBlackCards() {
|
|
40864
|
-
return (this.penalties
|
|
40864
|
+
return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Black").length : 0), 0) : 0;
|
|
40865
40865
|
},
|
|
40866
40866
|
totalMedicalCalls() {
|
|
40867
|
-
return (this.penalties
|
|
40867
|
+
return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Medical").length : 0), 0) : 0;
|
|
40868
40868
|
}
|
|
40869
40869
|
},
|
|
40870
40870
|
methods: {
|
|
@@ -40903,7 +40903,7 @@ function W2(t, e, n, r, o, i) {
|
|
|
40903
40903
|
}, null, 8, ["personPenalties"])
|
|
40904
40904
|
]))), 128))
|
|
40905
40905
|
])) : b("", !0),
|
|
40906
|
-
n.penalties.length === 0 ? (C(), I("div", G2, [
|
|
40906
|
+
!Array.isArray(n.penalties) || n.penalties.length === 0 ? (C(), I("div", G2, [
|
|
40907
40907
|
h("img", {
|
|
40908
40908
|
alt: "Small desert scene with wind blowing.",
|
|
40909
40909
|
class: "w-60 mt-8 mx-auto",
|