@dcrackel/hematournamentui 1.0.474 → 1.0.476
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 +11 -12
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/stories/Molecules/Boxes/BoutBoxes/HandshotCounterBox/HandshotCounterBox.vue +0 -1
- package/src/stories/Molecules/Boxes/BoutBoxes/ScoreBox/ScoreBox.vue +0 -1
- package/src/stories/Molecules/Modals/DirectorModal/DirectorModal.vue +2 -2
- package/src/stories/Organisms/Cards/Director/DirectorCard.vue +1 -1
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.vue +0 -3
- package/src/stories/Organisms/Wizards/EditEventWizard/EditEventWizard.vue +0 -1
- package/src/stories/Templates/EventManagement/PoolLive/PoolLive.vue +3 -1
- package/src/stories/Templates/EventManagement/PoolResults/PoolResults.vue +0 -1
- package/src/stories/Templates/Menus/EditEventsTopMenu/EditEventsTopMenu.vue +0 -2
|
@@ -9597,7 +9597,7 @@ const Eo = /* @__PURE__ */ Ae(VE, [["render", _E]]), $E = {
|
|
|
9597
9597
|
},
|
|
9598
9598
|
handleCountHandShots(n) {
|
|
9599
9599
|
let e = this.localEvent.rules.find((t) => t.RuleName === "CountHandshots");
|
|
9600
|
-
e || (
|
|
9600
|
+
e || (e = { RuleId: 19, RuleName: "CountHandshots", RuleValue: n, Context: "event" }, this.localEvent.rules.push(e)), e.RuleValue = n ? "true" : "false", this.$emit("update", { CountHandshots: n });
|
|
9601
9601
|
},
|
|
9602
9602
|
handleCutOffNumber(n) {
|
|
9603
9603
|
this.$emit("update", { CutOffNumber: n });
|
|
@@ -10604,7 +10604,7 @@ const vv = /* @__PURE__ */ Ae(lv, [["render", Qv]]), wv = {
|
|
|
10604
10604
|
}));
|
|
10605
10605
|
},
|
|
10606
10606
|
handleSubmit() {
|
|
10607
|
-
this.localEvent.rules = this.convertEventConfigToRules(this.eventConfig),
|
|
10607
|
+
this.localEvent.rules = this.convertEventConfigToRules(this.eventConfig), this.$emit("update:submit", this.localEvent);
|
|
10608
10608
|
},
|
|
10609
10609
|
handleCancel() {
|
|
10610
10610
|
this.$emit("update:cancel");
|
|
@@ -30630,7 +30630,6 @@ const XO = /* @__PURE__ */ Ae(JO, [["render", WO]]), ZO = {
|
|
|
30630
30630
|
},
|
|
30631
30631
|
methods: {
|
|
30632
30632
|
handleButtonClick(n) {
|
|
30633
|
-
console.log(n);
|
|
30634
30633
|
const e = this.tabs.find((t) => t.id === n);
|
|
30635
30634
|
if (e && e.children && this.isMobile) {
|
|
30636
30635
|
this.activeDropdown = this.activeDropdown === n ? null : n, this.selectedDropdownItem = this.activeDropdown ? e.children : [];
|
|
@@ -34198,7 +34197,7 @@ const cc = /* @__PURE__ */ Ae(Qz, [["render", nP]]), rP = {
|
|
|
34198
34197
|
},
|
|
34199
34198
|
methods: {
|
|
34200
34199
|
increment() {
|
|
34201
|
-
this.localHandShotValue++,
|
|
34200
|
+
this.localHandShotValue++, this.$emit("update:HandShotValue", this.localHandShotValue);
|
|
34202
34201
|
},
|
|
34203
34202
|
decrement() {
|
|
34204
34203
|
this.localHandShotValue > 0 && (this.localHandShotValue--, this.$emit("update:HandShotValue", this.localHandShotValue));
|
|
@@ -34324,7 +34323,7 @@ const aP = /* @__PURE__ */ Ae(rP, [["render", sP]]), lP = {
|
|
|
34324
34323
|
this.$emit("update:Score", n);
|
|
34325
34324
|
},
|
|
34326
34325
|
emitHandShotValue(n) {
|
|
34327
|
-
|
|
34326
|
+
this.$emit("update:HandShotValue", n);
|
|
34328
34327
|
}
|
|
34329
34328
|
}
|
|
34330
34329
|
}, cP = { class: "w-full" }, uP = { class: "w-full rounded-t-xl flex flex-row justify-between pt-2" }, dP = { class: "w-full text-center" }, gP = /* @__PURE__ */ h("i", { class: "fa-solid fa-chevron-right" }, null, -1), hP = [
|
|
@@ -34737,7 +34736,7 @@ const GP = /* @__PURE__ */ Ae(RP, [["render", UP]]), JP = {
|
|
|
34737
34736
|
this.localBout.CurrentPass = n, this.emitBout();
|
|
34738
34737
|
},
|
|
34739
34738
|
submitBout() {
|
|
34740
|
-
console.log("
|
|
34739
|
+
console.log("DirectorsCard:submitBout", this.localBout), this.showSubmit && this.$emit("submit:bout", this.localBout);
|
|
34741
34740
|
},
|
|
34742
34741
|
emitBout() {
|
|
34743
34742
|
this.localBout.Started === null && (this.localBout.Started = (/* @__PURE__ */ new Date()).toISOString());
|
|
@@ -34827,8 +34826,8 @@ const Vp = /* @__PURE__ */ Ae(JP, [["render", WP]]), XP = {
|
|
|
34827
34826
|
handleBoutChange(n) {
|
|
34828
34827
|
this.$emit("update:bout", n);
|
|
34829
34828
|
},
|
|
34830
|
-
handleSubmitBout() {
|
|
34831
|
-
this.$emit("submit:bout",
|
|
34829
|
+
handleSubmitBout(n) {
|
|
34830
|
+
this.$emit("submit:bout", n);
|
|
34832
34831
|
}
|
|
34833
34832
|
}
|
|
34834
34833
|
}, ZP = { class: "flex w-full justify-end mt-1" };
|
|
@@ -35479,16 +35478,16 @@ const Zp = /* @__PURE__ */ Ae(fF, [["render", qF]]), YF = {
|
|
|
35479
35478
|
if (!this.activeBouts || this.activeBouts.length === 0)
|
|
35480
35479
|
return;
|
|
35481
35480
|
const e = this.activeBouts.find((t) => t.BoutId === n.BoutId);
|
|
35482
|
-
e && (Object.assign(e, n), e.Status = "Active", this.$emit("update:bout", e));
|
|
35481
|
+
e && (Object.assign(e, n), e.Status = "Active", console.log("PoolLive:handleUpdateBout: ", e), this.$emit("update:bout", e));
|
|
35483
35482
|
},
|
|
35484
35483
|
handleEditBout(n) {
|
|
35485
35484
|
const e = n.Status === "Active";
|
|
35486
35485
|
this.handleSubmitBout(n, e);
|
|
35487
35486
|
},
|
|
35488
35487
|
handleSubmitBout(n, e = !1) {
|
|
35489
|
-
this.showEditBoutModal = !1, this.showDirectorModal = !1;
|
|
35488
|
+
console.log("PoolLive:handleSubmitBout1: ", n), this.showEditBoutModal = !1, this.showDirectorModal = !1;
|
|
35490
35489
|
const t = this.bouts.find((r) => r.BoutId === n.BoutId);
|
|
35491
|
-
Object.assign(t, n), e || (t.Status = "Completed"), t.Ended = (/* @__PURE__ */ new Date()).toISOString(), console.log(t), this.$emit("submit:bout", t);
|
|
35490
|
+
Object.assign(t, n), e || (t.Status = "Completed"), t.Ended = (/* @__PURE__ */ new Date()).toISOString(), console.log("PoolLive:handleSubmitBout2: ", t), this.$emit("submit:bout", t);
|
|
35492
35491
|
},
|
|
35493
35492
|
directBout(n) {
|
|
35494
35493
|
this.bouts.filter((r) => r.Status === "Active").forEach((r) => r.Status = "Scheduled");
|
|
@@ -36394,7 +36393,7 @@ const iN = /* @__PURE__ */ Ae(WL, [["render", oN]]), AN = {
|
|
|
36394
36393
|
};
|
|
36395
36394
|
},
|
|
36396
36395
|
mounted() {
|
|
36397
|
-
this.localPromoted = this.getInitialPromoted(), this.calculateInitialCutoffIndex(this.getNumericValue(this.localPromoted))
|
|
36396
|
+
this.localPromoted = this.getInitialPromoted(), this.calculateInitialCutoffIndex(this.getNumericValue(this.localPromoted));
|
|
36398
36397
|
},
|
|
36399
36398
|
watch: {
|
|
36400
36399
|
poolResults: {
|