@dcrackel/hematournamentui 1.0.470 → 1.0.472
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 +10 -12
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/mocks/getPoolResults.js +115 -804
- package/src/stories/Atoms/Icon/BaseIcon.vue +2 -2
- package/src/stories/Organisms/Cards/FencerPoolResultsCard/FencerPoolResultsCard.vue +1 -1
- package/src/stories/Templates/EventManagement/PoolResults/PoolResults.vue +4 -7
- package/src/stories/Templates/Menus/EditEventsTopMenu/EditEventsTopMenu.vue +0 -1
|
@@ -21,10 +21,10 @@ const Ae = (n, e) => {
|
|
|
21
21
|
},
|
|
22
22
|
size: {
|
|
23
23
|
type: String,
|
|
24
|
+
default: "sm",
|
|
24
25
|
validator: function(n) {
|
|
25
|
-
return ["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"].indexOf(n) !== -1;
|
|
26
|
-
}
|
|
27
|
-
default: "sm"
|
|
26
|
+
return ["", " ", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl"].indexOf(n) !== -1;
|
|
27
|
+
}
|
|
28
28
|
},
|
|
29
29
|
color: {
|
|
30
30
|
type: String,
|
|
@@ -30585,7 +30585,7 @@ const WO = /* @__PURE__ */ Ae(GO, [["render", VO]]), XO = {
|
|
|
30585
30585
|
console.log(n);
|
|
30586
30586
|
const e = this.tabs.find((t) => t.id === n);
|
|
30587
30587
|
if (e && e.children && this.isMobile) {
|
|
30588
|
-
this.activeDropdown = this.activeDropdown === n ? null : n, this.selectedDropdownItem = this.activeDropdown ? e.children : []
|
|
30588
|
+
this.activeDropdown = this.activeDropdown === n ? null : n, this.selectedDropdownItem = this.activeDropdown ? e.children : [];
|
|
30589
30589
|
return;
|
|
30590
30590
|
}
|
|
30591
30591
|
this.activeDropdown = null, this.selectedDropdownItem = [], this.$emit("tabMenuClick", n);
|
|
@@ -35707,7 +35707,7 @@ const gL = /* @__PURE__ */ Ae(ZF, [["render", dL]]), hL = {
|
|
|
35707
35707
|
return this.status === "results";
|
|
35708
35708
|
},
|
|
35709
35709
|
promotionByTop() {
|
|
35710
|
-
return this.promotedBy === "
|
|
35710
|
+
return this.promotedBy === "Top";
|
|
35711
35711
|
}
|
|
35712
35712
|
},
|
|
35713
35713
|
methods: {
|
|
@@ -36224,13 +36224,13 @@ const _L = /* @__PURE__ */ Ae(YL, [["render", ZL]]), $L = {
|
|
|
36224
36224
|
};
|
|
36225
36225
|
},
|
|
36226
36226
|
mounted() {
|
|
36227
|
-
this.localPromoted = this.getInitialPromoted(), this.calculateInitialCutoffIndex(this.getNumericValue(this.localPromoted)), console.log("
|
|
36227
|
+
this.localPromoted = this.getInitialPromoted(), this.calculateInitialCutoffIndex(this.getNumericValue(this.localPromoted)), console.log("Mounted - this.event: ", this.event);
|
|
36228
36228
|
},
|
|
36229
36229
|
watch: {
|
|
36230
36230
|
poolResults: {
|
|
36231
36231
|
deep: !0,
|
|
36232
36232
|
handler(n) {
|
|
36233
|
-
this.localPoolResults = n
|
|
36233
|
+
this.localPoolResults = n;
|
|
36234
36234
|
}
|
|
36235
36235
|
}
|
|
36236
36236
|
},
|
|
@@ -36248,15 +36248,13 @@ const _L = /* @__PURE__ */ Ae(YL, [["render", ZL]]), $L = {
|
|
|
36248
36248
|
return ((n = this.event) == null ? void 0 : n.Status) || ((e = this.event) == null ? void 0 : e.status) || "";
|
|
36249
36249
|
},
|
|
36250
36250
|
rules() {
|
|
36251
|
-
|
|
36252
|
-
return ((n = this.event) == null ? void 0 : n.EventRules) || ((e = this.event) == null ? void 0 : e.eventRules) || [];
|
|
36251
|
+
return this.event.event.EventRules || this.event.event.eventRules || [];
|
|
36253
36252
|
}
|
|
36254
36253
|
},
|
|
36255
36254
|
methods: {
|
|
36256
36255
|
getPromotedByRule() {
|
|
36257
|
-
|
|
36258
|
-
|
|
36259
|
-
return n ? n.RuleValue : "Percent";
|
|
36256
|
+
const e = this.event.event.EventRules.find((t) => t.Rules.RuleName === "DEPromoteBy");
|
|
36257
|
+
return e ? e.RuleValue : "Percent";
|
|
36260
36258
|
},
|
|
36261
36259
|
getInitialPromoted() {
|
|
36262
36260
|
var n;
|