@dcrackel/hematournamentui 1.0.253 → 1.0.255
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.
|
@@ -10616,9 +10616,9 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10616
10616
|
boutCounter: !1,
|
|
10617
10617
|
boutCount: 5,
|
|
10618
10618
|
poolTimer: !1,
|
|
10619
|
-
poolMax: !
|
|
10620
|
-
DEMax: !
|
|
10621
|
-
thirdPlaceBout: !
|
|
10619
|
+
poolMax: !1,
|
|
10620
|
+
DEMax: !1,
|
|
10621
|
+
thirdPlaceBout: !1,
|
|
10622
10622
|
poolTime: 120,
|
|
10623
10623
|
poolMaxPoints: 7,
|
|
10624
10624
|
DETimer: !1,
|
|
@@ -10642,12 +10642,55 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10642
10642
|
]
|
|
10643
10643
|
};
|
|
10644
10644
|
},
|
|
10645
|
+
mounted() {
|
|
10646
|
+
this.setInitialValues();
|
|
10647
|
+
},
|
|
10645
10648
|
methods: {
|
|
10649
|
+
setInitialValues() {
|
|
10650
|
+
this.localEvent.rules && this.localEvent.rules.forEach((n) => {
|
|
10651
|
+
switch (n.RuleId) {
|
|
10652
|
+
case 1:
|
|
10653
|
+
this.eventConfig.poolTime = n.RuleValue, this.eventConfig.poolTimer = !0;
|
|
10654
|
+
break;
|
|
10655
|
+
case 2:
|
|
10656
|
+
this.eventConfig.poolMaxPoints = n.RuleValue, this.eventConfig.poolMax = !0;
|
|
10657
|
+
break;
|
|
10658
|
+
case 3:
|
|
10659
|
+
this.eventConfig.DETime = n.RuleValue, this.eventConfig.DETimer = !0;
|
|
10660
|
+
break;
|
|
10661
|
+
case 4:
|
|
10662
|
+
this.eventConfig.DEMaxPoints = n.RuleValue, this.eventConfig.DEMax = !0;
|
|
10663
|
+
break;
|
|
10664
|
+
case 5:
|
|
10665
|
+
this.eventConfig.thirdPlaceBout = n.RuleValue === "true";
|
|
10666
|
+
break;
|
|
10667
|
+
case 6:
|
|
10668
|
+
this.eventConfig.boutCount = n.RuleValue, this.eventConfig.boutCounter = !0;
|
|
10669
|
+
break;
|
|
10670
|
+
case 7:
|
|
10671
|
+
this.eventConfig.DEBoutCount = n.RuleValue, this.eventConfig.DEBoutCounter = !0;
|
|
10672
|
+
break;
|
|
10673
|
+
case 9:
|
|
10674
|
+
this.eventConfig.DEPromationOrder = n.RuleValue.split(",");
|
|
10675
|
+
break;
|
|
10676
|
+
case 10:
|
|
10677
|
+
this.eventConfig.DEPromotionAmount = n.RuleValue;
|
|
10678
|
+
break;
|
|
10679
|
+
case 11:
|
|
10680
|
+
this.eventConfig.seedWith = n.RuleValue;
|
|
10681
|
+
break;
|
|
10682
|
+
case 14:
|
|
10683
|
+
this.eventConfig.maxFencerCount = n.RuleValue;
|
|
10684
|
+
break;
|
|
10685
|
+
}
|
|
10686
|
+
});
|
|
10687
|
+
},
|
|
10646
10688
|
handleBasicValueChange(n) {
|
|
10647
10689
|
const [e, t] = Object.entries(n)[0];
|
|
10648
10690
|
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);
|
|
10649
10691
|
},
|
|
10650
10692
|
handleValueChange(n) {
|
|
10693
|
+
console.log(n);
|
|
10651
10694
|
const [e, t] = Object.entries(n)[0];
|
|
10652
10695
|
this.eventConfig[e] = t;
|
|
10653
10696
|
},
|