@dcrackel/hematournamentui 1.0.396 → 1.0.397
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 +13 -8
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/mocks/singleEventMock.js +116 -18
- package/src/stories/Organisms/Cards/EventCard/EventCard.vue +3 -3
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectEliminationPromotion/DirectEliminationPromotion.vue +11 -4
- package/src/stories/Organisms/Wizards/EditEventWizard/EditEventWizard.vue +1 -0
|
@@ -10086,7 +10086,12 @@ const iv = /* @__PURE__ */ ie(PQ, [["render", rv]]), ov = {
|
|
|
10086
10086
|
return this.selectedFormat.Name;
|
|
10087
10087
|
},
|
|
10088
10088
|
DEPromotionTypes() {
|
|
10089
|
-
|
|
10089
|
+
var e;
|
|
10090
|
+
const n = (e = this.eventConfig) == null ? void 0 : e.DEPromoteBy;
|
|
10091
|
+
return Array.isArray(n) ? n.map((t) => ({
|
|
10092
|
+
text: t,
|
|
10093
|
+
link: t
|
|
10094
|
+
})) : [];
|
|
10090
10095
|
},
|
|
10091
10096
|
DEPromotionDescription() {
|
|
10092
10097
|
if (this.selectedItem.text === "Top Percent")
|
|
@@ -10364,7 +10369,7 @@ const mv = /* @__PURE__ */ ie(ov, [["render", fv]]), Bv = {
|
|
|
10364
10369
|
},
|
|
10365
10370
|
handleBasicValueChange(n) {
|
|
10366
10371
|
const [e, t] = Object.entries(n)[0];
|
|
10367
|
-
e === "EventName" && (this.localEvent.EventName = t), e === "Date " && (this.localEvent.Date = this.formatDateToYYYYMMDD(t)), e === "StartTime " && (this.localEvent.Date = this.formatTimeToHHMMSS(t)), e === "NumberOfRings " && (this.NumberOfRings = t), e === "WeaponId" && (this.localEvent.WeaponId = t.link);
|
|
10372
|
+
e === "EventName" && (this.localEvent.EventName = t), e === "Date " && (this.localEvent.Date = this.formatDateToYYYYMMDD(t)), e === "StartTime " && (this.localEvent.Date = this.formatTimeToHHMMSS(t)), e === "NumberOfRings " && (this.NumberOfRings = t), e === "WeaponId" && (this.localEvent.WeaponId = t.link), e === "CutOffNumber" && (this.localEvent.CutOffNumber = t);
|
|
10368
10373
|
},
|
|
10369
10374
|
handleValueChange(n) {
|
|
10370
10375
|
const [e, t] = Object.entries(n)[0];
|
|
@@ -31045,8 +31050,8 @@ function XT(n, e, t, r, i, o) {
|
|
|
31045
31050
|
h(A, {
|
|
31046
31051
|
"icon-name": "fa-calendar",
|
|
31047
31052
|
size: "xs",
|
|
31048
|
-
color: "
|
|
31049
|
-
class: "mr-2
|
|
31053
|
+
color: "quaternary",
|
|
31054
|
+
class: "mr-2"
|
|
31050
31055
|
}),
|
|
31051
31056
|
h(s, {
|
|
31052
31057
|
text: t.event.Date,
|
|
@@ -31059,8 +31064,8 @@ function XT(n, e, t, r, i, o) {
|
|
|
31059
31064
|
h(A, {
|
|
31060
31065
|
"icon-name": "fa-clock",
|
|
31061
31066
|
size: "xs",
|
|
31062
|
-
color: "
|
|
31063
|
-
class: "mx-2
|
|
31067
|
+
color: "quaternary",
|
|
31068
|
+
class: "mx-2"
|
|
31064
31069
|
}),
|
|
31065
31070
|
h(s, {
|
|
31066
31071
|
text: o.formatStartTime(t.event.StartTime),
|
|
@@ -31073,8 +31078,8 @@ function XT(n, e, t, r, i, o) {
|
|
|
31073
31078
|
h(A, {
|
|
31074
31079
|
"icon-name": "fa-users",
|
|
31075
31080
|
size: "xs",
|
|
31076
|
-
color: "
|
|
31077
|
-
class: "mx-2
|
|
31081
|
+
color: "quaternary",
|
|
31082
|
+
class: "mx-2"
|
|
31078
31083
|
}),
|
|
31079
31084
|
h(s, {
|
|
31080
31085
|
text: o.getMaxFencers,
|