@dcrackel/hematournamentui 1.0.251 → 1.0.253
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 +232 -180
- package/dist/HemaTournamentUI-lib.umd.js +23 -23
- package/package.json +1 -1
- package/src/mocks/singleEventMock.js +15 -11
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.vue +5 -0
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectElimination/DirectElimination.vue +4 -4
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectEliminationPromotion/DirectEliminationPromotion.vue +0 -3
- package/src/stories/Organisms/Wizards/EditEventWizard/EditEventWizard.vue +73 -16
- package/src/stories/Organisms/Wizards/EditEventWizard/PoolConfiguration/PoolConfiguration.vue +64 -39
- package/src/stories/Templates/EventManagement/EditEventInfo/EditEventInfo.vue +4 -4
|
@@ -9787,19 +9787,19 @@ const rA = /* @__PURE__ */ re(zQ, [["render", GQ], ["__scopeId", "data-v-b4f903b
|
|
|
9787
9787
|
},
|
|
9788
9788
|
methods: {
|
|
9789
9789
|
handleEventNameChange(n) {
|
|
9790
|
-
this.localEvent.EventName = n;
|
|
9790
|
+
this.localEvent.EventName = n, this.$emit("update", { EventName: n });
|
|
9791
9791
|
},
|
|
9792
9792
|
handleDateUpdate(n) {
|
|
9793
|
-
this.localEvent.Date = n;
|
|
9793
|
+
this.localEvent.Date = n, this.$emit("update", { Date: n });
|
|
9794
9794
|
},
|
|
9795
9795
|
handleTimeUpdate(n) {
|
|
9796
|
-
this.localEvent.StartTime = n;
|
|
9796
|
+
this.localEvent.StartTime = n, this.$emit("update", { StartTime: n });
|
|
9797
9797
|
},
|
|
9798
9798
|
handleNumberOfRingsChange(n) {
|
|
9799
|
-
this.localEvent.NumberOfRings = n;
|
|
9799
|
+
this.localEvent.NumberOfRings = n, this.$emit("update", { NumberOfRings: n });
|
|
9800
9800
|
},
|
|
9801
9801
|
handleWeaponChange(n) {
|
|
9802
|
-
this.localEvent.WeaponId = n.link;
|
|
9802
|
+
this.localEvent.WeaponId = n.link, this.$emit("update", { WeaponId: n });
|
|
9803
9803
|
},
|
|
9804
9804
|
handleNext() {
|
|
9805
9805
|
this.$emit("update:next", this.localEvent);
|
|
@@ -10013,44 +10013,59 @@ const Hl = /* @__PURE__ */ re(av, [["render", dv]]), gv = {
|
|
|
10013
10013
|
name: "PoolConfiguration",
|
|
10014
10014
|
components: { BaseButton: je, StepIndicator: rA, BaseText: Qe, DropDownMenu: nr, TitledInput: Hr, Toggle: Hl },
|
|
10015
10015
|
props: {
|
|
10016
|
-
eventConfig:
|
|
10017
|
-
|
|
10016
|
+
eventConfig: {
|
|
10017
|
+
type: Object,
|
|
10018
|
+
required: !0
|
|
10019
|
+
},
|
|
10020
|
+
seedWithOptions: {
|
|
10021
|
+
type: Array,
|
|
10022
|
+
required: !0
|
|
10023
|
+
},
|
|
10018
10024
|
validation: Object,
|
|
10019
10025
|
currentStep: Number,
|
|
10020
10026
|
steps: Array
|
|
10021
10027
|
},
|
|
10022
10028
|
data() {
|
|
10023
10029
|
return {
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
poolMax: !1,
|
|
10027
|
-
boutCounter: !1
|
|
10030
|
+
localEventConfig: { ...this.eventConfig },
|
|
10031
|
+
selectedItem: "M2 - MeyerSquared"
|
|
10028
10032
|
};
|
|
10029
10033
|
},
|
|
10034
|
+
mounted() {
|
|
10035
|
+
console.log("PoolConfiguration.vue: computed: eventConfig: ", this.eventConfig), this.localEventConfig = { ...this.eventConfig };
|
|
10036
|
+
},
|
|
10037
|
+
watch: {
|
|
10038
|
+
eventConfig: {
|
|
10039
|
+
deep: !0,
|
|
10040
|
+
handler(n) {
|
|
10041
|
+
this.localEventConfig = { ...n };
|
|
10042
|
+
}
|
|
10043
|
+
}
|
|
10044
|
+
},
|
|
10030
10045
|
methods: {
|
|
10031
10046
|
handleSeedWithChange(n) {
|
|
10032
10047
|
this.$emit("update", { seedWith: n.text });
|
|
10033
10048
|
},
|
|
10034
10049
|
handlePoolTimerToggle(n) {
|
|
10035
|
-
this.poolTimer = n, this.$emit("update", { poolTimer: n });
|
|
10050
|
+
this.localEventConfig.poolTimer = n, this.$emit("update", { poolTimer: n });
|
|
10036
10051
|
},
|
|
10037
10052
|
handlePoolTimeChange(n) {
|
|
10038
|
-
this.$emit("update", { poolTime: n });
|
|
10053
|
+
this.localEventConfig.poolTime = n, this.$emit("update", { poolTime: n });
|
|
10039
10054
|
},
|
|
10040
10055
|
handleBoutCounterToggle(n) {
|
|
10041
|
-
this.boutCounter = n, this.$emit("update", { boutCounter: n });
|
|
10056
|
+
this.localEventConfig.boutCounter = n, this.$emit("update", { boutCounter: n });
|
|
10042
10057
|
},
|
|
10043
10058
|
handleBoutCountChange(n) {
|
|
10044
|
-
this.$emit("update", { boutCount: n });
|
|
10059
|
+
this.localEventConfig.boutCount = n, this.$emit("update", { boutCount: n });
|
|
10045
10060
|
},
|
|
10046
10061
|
handlePoolMaxToggle(n) {
|
|
10047
|
-
this.poolMax = n, this.$emit("update", { poolMax: n });
|
|
10062
|
+
this.localEventConfig.poolMax = n, this.$emit("update", { poolMax: n });
|
|
10048
10063
|
},
|
|
10049
10064
|
handlePoolMaxPointsChange(n) {
|
|
10050
|
-
this.$emit("update", { poolMaxPoints: n });
|
|
10065
|
+
this.localEventConfig.poolMaxPoints = n, this.$emit("update", { poolMaxPoints: n });
|
|
10051
10066
|
},
|
|
10052
10067
|
handleNext() {
|
|
10053
|
-
this.$emit("update:next", this.
|
|
10068
|
+
this.$emit("update:next", this.localEventConfig);
|
|
10054
10069
|
},
|
|
10055
10070
|
handleBack() {
|
|
10056
10071
|
this.$emit("update:back");
|
|
@@ -10104,13 +10119,13 @@ function Sv(n, e, t, r, i, o) {
|
|
|
10104
10119
|
"data-testid": "text-start-date"
|
|
10105
10120
|
}, null, 8, ["invalid"]),
|
|
10106
10121
|
p(a, {
|
|
10107
|
-
label:
|
|
10122
|
+
label: i.localEventConfig.seedWith,
|
|
10108
10123
|
items: t.seedWithOptions,
|
|
10109
|
-
"selected-item": i.
|
|
10124
|
+
"selected-item": i.localEventConfig.seedWith,
|
|
10110
10125
|
alignEnd: !1,
|
|
10111
10126
|
width: "w-full",
|
|
10112
10127
|
"onUpdate:selectedItem": o.handleSeedWithChange
|
|
10113
|
-
}, null, 8, ["items", "selected-item", "onUpdate:selectedItem"])
|
|
10128
|
+
}, null, 8, ["label", "items", "selected-item", "onUpdate:selectedItem"])
|
|
10114
10129
|
])
|
|
10115
10130
|
]),
|
|
10116
10131
|
h("div", Bv, [
|
|
@@ -10125,15 +10140,15 @@ function Sv(n, e, t, r, i, o) {
|
|
|
10125
10140
|
h("div", vv, [
|
|
10126
10141
|
h("div", wv, [
|
|
10127
10142
|
p(l, {
|
|
10128
|
-
checked: i.poolTimer,
|
|
10143
|
+
checked: i.localEventConfig.poolTimer,
|
|
10129
10144
|
label: "Using a Timer",
|
|
10130
10145
|
labelLeft: !1,
|
|
10131
10146
|
"onUpdate:checked": o.handlePoolTimerToggle
|
|
10132
10147
|
}, null, 8, ["checked", "onUpdate:checked"])
|
|
10133
10148
|
]),
|
|
10134
|
-
i.poolTimer ? (I(), oe(c, {
|
|
10149
|
+
i.localEventConfig.poolTimer ? (I(), oe(c, {
|
|
10135
10150
|
key: 0,
|
|
10136
|
-
inputValue:
|
|
10151
|
+
inputValue: i.localEventConfig.poolTime,
|
|
10137
10152
|
invalid: t.validation.poolTime,
|
|
10138
10153
|
placeholder: "Enter Time in Seconds",
|
|
10139
10154
|
title: "",
|
|
@@ -10143,15 +10158,15 @@ function Sv(n, e, t, r, i, o) {
|
|
|
10143
10158
|
h("div", yv, [
|
|
10144
10159
|
h("div", bv, [
|
|
10145
10160
|
p(l, {
|
|
10146
|
-
checked: i.boutCounter,
|
|
10161
|
+
checked: i.localEventConfig.boutCounter,
|
|
10147
10162
|
label: "Using Pass Counter",
|
|
10148
10163
|
labelLeft: !1,
|
|
10149
10164
|
"onUpdate:checked": o.handleBoutCounterToggle
|
|
10150
10165
|
}, null, 8, ["checked", "onUpdate:checked"])
|
|
10151
10166
|
]),
|
|
10152
|
-
i.boutCounter ? (I(), oe(c, {
|
|
10167
|
+
i.localEventConfig.boutCounter ? (I(), oe(c, {
|
|
10153
10168
|
key: 0,
|
|
10154
|
-
inputValue:
|
|
10169
|
+
inputValue: i.localEventConfig.boutCount,
|
|
10155
10170
|
invalid: t.validation.boutCount,
|
|
10156
10171
|
placeholder: "Enter Number of Passes",
|
|
10157
10172
|
title: "",
|
|
@@ -10161,15 +10176,15 @@ function Sv(n, e, t, r, i, o) {
|
|
|
10161
10176
|
h("div", xv, [
|
|
10162
10177
|
h("div", Dv, [
|
|
10163
10178
|
p(l, {
|
|
10164
|
-
checked: i.poolMax,
|
|
10179
|
+
checked: i.localEventConfig.poolMax,
|
|
10165
10180
|
label: "Max Points",
|
|
10166
10181
|
labelLeft: !1,
|
|
10167
10182
|
"onUpdate:checked": o.handlePoolMaxToggle
|
|
10168
10183
|
}, null, 8, ["checked", "onUpdate:checked"])
|
|
10169
10184
|
]),
|
|
10170
|
-
i.poolMax ? (I(), oe(c, {
|
|
10185
|
+
i.localEventConfig.poolMax ? (I(), oe(c, {
|
|
10171
10186
|
key: 0,
|
|
10172
|
-
inputValue:
|
|
10187
|
+
inputValue: i.localEventConfig.poolMaxPoints,
|
|
10173
10188
|
invalid: t.validation.poolMaxPoints,
|
|
10174
10189
|
placeholder: "Enter Pool Max Points",
|
|
10175
10190
|
title: "",
|
|
@@ -10277,7 +10292,7 @@ const Yg = /* @__PURE__ */ re(Tv, [["render", Nv]]), Fv = {
|
|
|
10277
10292
|
},
|
|
10278
10293
|
computed: {
|
|
10279
10294
|
thirdPlaceLabel() {
|
|
10280
|
-
return this.eventConfig.
|
|
10295
|
+
return this.eventConfig.thirdPlaceBout ? "3rd Place Fence Off" : "Tie for 3rd Place";
|
|
10281
10296
|
}
|
|
10282
10297
|
},
|
|
10283
10298
|
methods: {
|
|
@@ -10297,13 +10312,13 @@ const Yg = /* @__PURE__ */ re(Tv, [["render", Nv]]), Fv = {
|
|
|
10297
10312
|
this.$emit("update", { DEMaxPoints: n });
|
|
10298
10313
|
},
|
|
10299
10314
|
handleThirdPlaceToggle(n) {
|
|
10300
|
-
this.$emit("update", {
|
|
10315
|
+
this.$emit("update", { thirdPlaceBout: n });
|
|
10301
10316
|
},
|
|
10302
10317
|
handleBack() {
|
|
10303
10318
|
this.$emit("update:back");
|
|
10304
10319
|
},
|
|
10305
10320
|
handleNext() {
|
|
10306
|
-
this.$emit("update:
|
|
10321
|
+
this.$emit("update:submit");
|
|
10307
10322
|
}
|
|
10308
10323
|
}
|
|
10309
10324
|
}, Lv = { class: "flex flex-col h-full" }, Hv = { class: "w-full flex justify-center" }, Yv = { class: "grow" }, qv = { class: "w-full flex flex-row justify-center my-4" }, zv = { class: "w-full flex flex-col mb-3 ml-1" }, Uv = { class: "mb-4 mt-8" }, jv = { class: "mb-2 flex" }, Kv = { class: "mt-1 h-10 w-52" }, Jv = { class: "mb-2 flex" }, Gv = { class: "mt-1 h-10 w-52" }, Vv = { class: "mb-2 flex" }, Wv = { class: "mt-1 h-10 w-52" }, Xv = { class: "grow" }, Zv = { class: "mb-4 mt-8" }, _v = { class: "mt-8 h-10 w-52" }, $v = { class: "flex flex-row justify-center h-12" };
|
|
@@ -10408,7 +10423,7 @@ function ew(n, e, t, r, i, o) {
|
|
|
10408
10423
|
]),
|
|
10409
10424
|
h("div", _v, [
|
|
10410
10425
|
p(a, {
|
|
10411
|
-
checked: t.eventConfig.
|
|
10426
|
+
checked: t.eventConfig.thirdPlaceBout,
|
|
10412
10427
|
label: o.thirdPlaceLabel,
|
|
10413
10428
|
labelLeft: !1,
|
|
10414
10429
|
"onUpdate:checked": o.handleThirdPlaceToggle
|
|
@@ -10445,9 +10460,6 @@ const tw = /* @__PURE__ */ re(Fv, [["render", ew]]), nw = {
|
|
|
10445
10460
|
currentStep: Number,
|
|
10446
10461
|
steps: Array
|
|
10447
10462
|
},
|
|
10448
|
-
created() {
|
|
10449
|
-
console.log("DirectEliminationPromotion created", this.eventConfig, this.validation, this.currentStep, this.steps);
|
|
10450
|
-
},
|
|
10451
10463
|
methods: {
|
|
10452
10464
|
handleDEPromotionAmountChange(n) {
|
|
10453
10465
|
this.$emit("update", { DEPromotionAmount: n });
|
|
@@ -10606,7 +10618,7 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10606
10618
|
poolTimer: !1,
|
|
10607
10619
|
poolMax: !0,
|
|
10608
10620
|
DEMax: !0,
|
|
10609
|
-
|
|
10621
|
+
thirdPlaceBout: !0,
|
|
10610
10622
|
poolTime: 120,
|
|
10611
10623
|
poolMaxPoints: 7,
|
|
10612
10624
|
DETimer: !1,
|
|
@@ -10618,9 +10630,9 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10618
10630
|
DEPromationOrder: ["Win Percent", "Indicator", "Points Scored"]
|
|
10619
10631
|
},
|
|
10620
10632
|
seedWithOptions: [
|
|
10621
|
-
{ text: "M2 - MeyerSquared", link: "" },
|
|
10622
|
-
{ text: "HR - Hema Rating", link: "" },
|
|
10623
|
-
{ text: "Manual", link: "" }
|
|
10633
|
+
{ text: "M2 - MeyerSquared", link: "M2" },
|
|
10634
|
+
{ text: "HR - Hema Rating", link: "HR" },
|
|
10635
|
+
{ text: "Manual", link: "MN" }
|
|
10624
10636
|
],
|
|
10625
10637
|
steps: [
|
|
10626
10638
|
{ name: "Basic Info", icon: "fa-circle-info" },
|
|
@@ -10631,6 +10643,14 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10631
10643
|
};
|
|
10632
10644
|
},
|
|
10633
10645
|
methods: {
|
|
10646
|
+
handleBasicValueChange(n) {
|
|
10647
|
+
const [e, t] = Object.entries(n)[0];
|
|
10648
|
+
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
|
+
},
|
|
10650
|
+
handleValueChange(n) {
|
|
10651
|
+
const [e, t] = Object.entries(n)[0];
|
|
10652
|
+
this.eventConfig[e] = t;
|
|
10653
|
+
},
|
|
10634
10654
|
handleBasicDetailsUpdate(n) {
|
|
10635
10655
|
this.localEvent = { ...this.localEvent, ...n }, this.currentStep += 1;
|
|
10636
10656
|
},
|
|
@@ -10640,12 +10660,39 @@ const pw = /* @__PURE__ */ re(nw, [["render", hw]]), fw = {
|
|
|
10640
10660
|
handleBack() {
|
|
10641
10661
|
this.currentStep -= 1;
|
|
10642
10662
|
},
|
|
10663
|
+
convertEventConfigToRules(n) {
|
|
10664
|
+
const e = {
|
|
10665
|
+
poolTime: { RuleId: 1, RuleName: "PoolTime", Context: "pool" },
|
|
10666
|
+
poolMaxPoints: { RuleId: 2, RuleName: "PoolMaxPoints", Context: "pool" },
|
|
10667
|
+
DETime: { RuleId: 3, RuleName: "DETime", Context: "de" },
|
|
10668
|
+
DEMaxPoints: { RuleId: 4, RuleName: "DEMaxPoints", Context: "de" },
|
|
10669
|
+
thirdPlaceBout: { RuleId: 5, RuleName: "DE3rdFenceOff", Context: "de" },
|
|
10670
|
+
DEPromotionAmount: { RuleId: 10, RuleName: "DENumOfPromotion", Context: "de" },
|
|
10671
|
+
DEPromationOrder: { RuleId: 9, RuleName: "DEPromotionOrder", Context: "de" },
|
|
10672
|
+
seedWith: { RuleId: 11, RuleName: "PoolSeeding", Context: "pool" },
|
|
10673
|
+
maxFencerCount: { RuleId: 14, RuleName: "CutOffNumber", Context: "event" }
|
|
10674
|
+
};
|
|
10675
|
+
return Object.entries(n).filter(([t]) => e[t]).map(([t, r]) => ({
|
|
10676
|
+
RuleId: e[t].RuleId,
|
|
10677
|
+
RuleName: e[t].RuleName,
|
|
10678
|
+
RuleValue: Array.isArray(r) ? r.join(",") : String(r),
|
|
10679
|
+
Context: e[t].Context
|
|
10680
|
+
}));
|
|
10681
|
+
},
|
|
10643
10682
|
handleSubmit() {
|
|
10644
|
-
|
|
10645
|
-
this.$emit("update:submit", n);
|
|
10683
|
+
this.localEvent.rules = this.convertEventConfigToRules(this.eventConfig), this.$emit("update:submit", this.localEvent);
|
|
10646
10684
|
},
|
|
10647
10685
|
handleCancel() {
|
|
10648
10686
|
this.$emit("update:cancel");
|
|
10687
|
+
},
|
|
10688
|
+
formatDateToYYYYMMDD(n) {
|
|
10689
|
+
n instanceof Date || (n = new Date(n));
|
|
10690
|
+
const e = n.getFullYear(), t = String(n.getMonth() + 1).padStart(2, "0"), r = String(n.getDate()).padStart(2, "0");
|
|
10691
|
+
return `${e}-${t}-${r}`;
|
|
10692
|
+
},
|
|
10693
|
+
formatTimeToHHMMSS({ hours: n, minutes: e, seconds: t }) {
|
|
10694
|
+
const r = String(n).padStart(2, "0"), i = String(e).padStart(2, "0"), o = String(t).padStart(2, "0");
|
|
10695
|
+
return `${r}:${i}:${o}`;
|
|
10649
10696
|
}
|
|
10650
10697
|
}
|
|
10651
10698
|
}, Cw = { class: "h-[780px] p-4" };
|
|
@@ -10659,9 +10706,10 @@ function Iw(n, e, t, r, i, o) {
|
|
|
10659
10706
|
validation: i.validation,
|
|
10660
10707
|
steps: i.steps,
|
|
10661
10708
|
currentStep: i.currentStep - 1,
|
|
10662
|
-
|
|
10709
|
+
onUpdate: o.handleBasicValueChange,
|
|
10710
|
+
"onUpdate:back": o.handleCancel,
|
|
10663
10711
|
"onUpdate:next": o.handleBasicDetailsUpdate
|
|
10664
|
-
}, null, 8, ["event", "weapons", "validation", "steps", "currentStep", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10712
|
+
}, null, 8, ["event", "weapons", "validation", "steps", "currentStep", "onUpdate", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10665
10713
|
i.currentStep === 2 ? (I(), oe(s, {
|
|
10666
10714
|
key: 1,
|
|
10667
10715
|
eventConfig: i.eventConfig,
|
|
@@ -10669,27 +10717,30 @@ function Iw(n, e, t, r, i, o) {
|
|
|
10669
10717
|
validation: i.validation,
|
|
10670
10718
|
steps: i.steps,
|
|
10671
10719
|
currentStep: i.currentStep - 1,
|
|
10720
|
+
onUpdate: o.handleValueChange,
|
|
10672
10721
|
"onUpdate:back": o.handleBack,
|
|
10673
10722
|
"onUpdate:next": o.handleUpdate
|
|
10674
|
-
}, null, 8, ["eventConfig", "seedWithOptions", "validation", "steps", "currentStep", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10723
|
+
}, null, 8, ["eventConfig", "seedWithOptions", "validation", "steps", "currentStep", "onUpdate", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10675
10724
|
i.currentStep === 3 ? (I(), oe(a, {
|
|
10676
10725
|
key: 2,
|
|
10677
10726
|
eventConfig: i.eventConfig,
|
|
10678
10727
|
validation: i.validation,
|
|
10679
10728
|
steps: i.steps,
|
|
10680
10729
|
currentStep: i.currentStep - 1,
|
|
10730
|
+
onUpdate: o.handleValueChange,
|
|
10681
10731
|
"onUpdate:back": o.handleBack,
|
|
10682
10732
|
"onUpdate:next": o.handleUpdate
|
|
10683
|
-
}, null, 8, ["eventConfig", "validation", "steps", "currentStep", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10733
|
+
}, null, 8, ["eventConfig", "validation", "steps", "currentStep", "onUpdate", "onUpdate:back", "onUpdate:next"])) : T("", !0),
|
|
10684
10734
|
i.currentStep === 4 ? (I(), oe(l, {
|
|
10685
10735
|
key: 3,
|
|
10686
10736
|
eventConfig: i.eventConfig,
|
|
10687
10737
|
validation: i.validation,
|
|
10688
10738
|
steps: i.steps,
|
|
10689
10739
|
currentStep: i.currentStep - 1,
|
|
10740
|
+
onUpdate: o.handleValueChange,
|
|
10690
10741
|
"onUpdate:back": o.handleBack,
|
|
10691
|
-
"
|
|
10692
|
-
}, null, 8, ["eventConfig", "validation", "steps", "currentStep", "onUpdate:back", "
|
|
10742
|
+
"onUpdate:submit": o.handleSubmit
|
|
10743
|
+
}, null, 8, ["eventConfig", "validation", "steps", "currentStep", "onUpdate", "onUpdate:back", "onUpdate:submit"])) : T("", !0)
|
|
10693
10744
|
]);
|
|
10694
10745
|
}
|
|
10695
10746
|
const qg = /* @__PURE__ */ re(fw, [["render", Iw]]), mw = {
|
|
@@ -32864,26 +32915,26 @@ const SY = /* @__PURE__ */ re(N4, [["render", G4]]), uf = "data:image/png;base64
|
|
|
32864
32915
|
}, W4 = {
|
|
32865
32916
|
key: 0,
|
|
32866
32917
|
class: "flex items-center justify-between rounded-lg w-full"
|
|
32867
|
-
}, X4 = { class: "flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox w-5/12" }, Z4 = { class: "flex space-x-4 items-center" }, _4 = ["src"], $4 = /* @__PURE__ */ h("div", { class: "text-center mx-8" }, null, -1),
|
|
32918
|
+
}, X4 = { class: "flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox w-5/12" }, Z4 = { class: "flex space-x-4 items-center" }, _4 = ["src"], $4 = /* @__PURE__ */ h("div", { class: "text-center mx-8" }, null, -1), eN = { class: "flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox w-5/12" }, tN = { class: "flex justify-end space-x-4 ml-4 w-full" }, nN = ["src"], rN = {
|
|
32868
32919
|
key: 1,
|
|
32869
32920
|
class: "text-left"
|
|
32870
|
-
},
|
|
32921
|
+
}, iN = {
|
|
32871
32922
|
key: 2,
|
|
32872
32923
|
class: "flex items-center justify-between rounded-lg"
|
|
32873
|
-
},
|
|
32924
|
+
}, oN = { class: "flex space-x-4 items-center" }, AN = ["src"], sN = {
|
|
32874
32925
|
key: 0,
|
|
32875
32926
|
class: "text-center mx-8"
|
|
32876
|
-
},
|
|
32927
|
+
}, aN = { class: "flex space-x-4 justify-between w-full" }, lN = { class: "w-full" }, cN = { class: "w-20" }, uN = ["src"], dN = {
|
|
32877
32928
|
key: 1,
|
|
32878
32929
|
class: "text-right pl-4"
|
|
32879
|
-
},
|
|
32930
|
+
}, gN = {
|
|
32880
32931
|
key: 2,
|
|
32881
32932
|
class: "text-right pl-4"
|
|
32882
|
-
},
|
|
32933
|
+
}, hN = {
|
|
32883
32934
|
key: 3,
|
|
32884
32935
|
class: "text-right pl-4"
|
|
32885
32936
|
};
|
|
32886
|
-
function
|
|
32937
|
+
function pN(n, e, t, r, i, o) {
|
|
32887
32938
|
const A = x("BaseText"), s = x("BaseButton");
|
|
32888
32939
|
return I(), B("section", null, [
|
|
32889
32940
|
t.isWaiting ? (I(), B("div", W4, [
|
|
@@ -32921,8 +32972,8 @@ function p2(n, e, t, r, i, o) {
|
|
|
32921
32972
|
})
|
|
32922
32973
|
]),
|
|
32923
32974
|
$4,
|
|
32924
|
-
h("div",
|
|
32925
|
-
h("div",
|
|
32975
|
+
h("div", eN, [
|
|
32976
|
+
h("div", tN, [
|
|
32926
32977
|
h("div", null, [
|
|
32927
32978
|
p(A, {
|
|
32928
32979
|
text: "Waiting to be selected",
|
|
@@ -32946,23 +32997,23 @@ function p2(n, e, t, r, i, o) {
|
|
|
32946
32997
|
src: i.missingPortrait,
|
|
32947
32998
|
alt: "Portrait",
|
|
32948
32999
|
class: "w-12 h-12 rounded-full"
|
|
32949
|
-
}, null, 8,
|
|
33000
|
+
}, null, 8, nN)
|
|
32950
33001
|
])
|
|
32951
33002
|
])
|
|
32952
33003
|
])
|
|
32953
33004
|
])) : T("", !0),
|
|
32954
|
-
t.bout.customStatus && t.bout.Status !== "Active" ? (I(), B("div",
|
|
33005
|
+
t.bout.customStatus && t.bout.Status !== "Active" ? (I(), B("div", rN, [
|
|
32955
33006
|
p(A, {
|
|
32956
33007
|
text: t.bout.customStatus,
|
|
32957
33008
|
size: "sm",
|
|
32958
33009
|
color: "primary"
|
|
32959
33010
|
}, null, 8, ["text"])
|
|
32960
33011
|
])) : T("", !0),
|
|
32961
|
-
t.isWaiting ? T("", !0) : (I(), B("div",
|
|
33012
|
+
t.isWaiting ? T("", !0) : (I(), B("div", iN, [
|
|
32962
33013
|
h("div", {
|
|
32963
33014
|
class: ee(["flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox", o.fencer1Class])
|
|
32964
33015
|
}, [
|
|
32965
|
-
h("div",
|
|
33016
|
+
h("div", oN, [
|
|
32966
33017
|
h("div", null, [
|
|
32967
33018
|
h("div", {
|
|
32968
33019
|
class: ee(`w-4 h-4 rounded-full bg-${t.hostingClubColors.Color1} absolute top-10 left-11 `)
|
|
@@ -32971,7 +33022,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
32971
33022
|
src: o.fencer1.portrait,
|
|
32972
33023
|
alt: "Portrait",
|
|
32973
33024
|
class: "w-12 h-12 rounded-full"
|
|
32974
|
-
}, null, 8,
|
|
33025
|
+
}, null, 8, AN)
|
|
32975
33026
|
]),
|
|
32976
33027
|
h("div", null, [
|
|
32977
33028
|
p(A, {
|
|
@@ -32994,7 +33045,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
32994
33045
|
class: ee("align-middle pr-3 pt-0.5")
|
|
32995
33046
|
}, null, 8, ["text"])
|
|
32996
33047
|
], 2),
|
|
32997
|
-
t.bout.Status === "Active" ? (I(), B("div",
|
|
33048
|
+
t.bout.Status === "Active" ? (I(), B("div", sN, [
|
|
32998
33049
|
p(A, {
|
|
32999
33050
|
text: o.displayTime,
|
|
33000
33051
|
size: "lg",
|
|
@@ -33005,14 +33056,14 @@ function p2(n, e, t, r, i, o) {
|
|
|
33005
33056
|
h("div", {
|
|
33006
33057
|
class: ee(["flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox", o.fencer2Class])
|
|
33007
33058
|
}, [
|
|
33008
|
-
h("div",
|
|
33059
|
+
h("div", aN, [
|
|
33009
33060
|
p(A, {
|
|
33010
33061
|
text: o.fencer2Score,
|
|
33011
33062
|
size: "3xl",
|
|
33012
33063
|
weight: "bold",
|
|
33013
33064
|
class: ee("align-middle pl-3 pt-0.5")
|
|
33014
33065
|
}, null, 8, ["text"]),
|
|
33015
|
-
h("div",
|
|
33066
|
+
h("div", lN, [
|
|
33016
33067
|
p(A, {
|
|
33017
33068
|
text: o.fencer2.name,
|
|
33018
33069
|
size: "md",
|
|
@@ -33027,7 +33078,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
33027
33078
|
class: "text-right"
|
|
33028
33079
|
}, null, 8, ["text"])
|
|
33029
33080
|
]),
|
|
33030
|
-
h("div",
|
|
33081
|
+
h("div", cN, [
|
|
33031
33082
|
h("div", {
|
|
33032
33083
|
class: ee(`w-4 h-4 rounded-full bg-${t.hostingClubColors.Color2} absolute top-10 right-12`)
|
|
33033
33084
|
}, null, 2),
|
|
@@ -33035,11 +33086,11 @@ function p2(n, e, t, r, i, o) {
|
|
|
33035
33086
|
src: o.fencer2.portrait,
|
|
33036
33087
|
alt: "Portrait",
|
|
33037
33088
|
class: "w-12 h-12 rounded-full"
|
|
33038
|
-
}, null, 8,
|
|
33089
|
+
}, null, 8, uN)
|
|
33039
33090
|
])
|
|
33040
33091
|
])
|
|
33041
33092
|
], 2),
|
|
33042
|
-
t.bout.Status === "Active" ? (I(), B("div",
|
|
33093
|
+
t.bout.Status === "Active" ? (I(), B("div", dN, [
|
|
33043
33094
|
p(s, {
|
|
33044
33095
|
label: "Resume",
|
|
33045
33096
|
size: "xs",
|
|
@@ -33048,7 +33099,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
33048
33099
|
class: "w-12"
|
|
33049
33100
|
}, null, 8, ["onClick"])
|
|
33050
33101
|
])) : T("", !0),
|
|
33051
|
-
t.bout.Status === "Completed" ? (I(), B("div",
|
|
33102
|
+
t.bout.Status === "Completed" ? (I(), B("div", gN, [
|
|
33052
33103
|
p(s, {
|
|
33053
33104
|
label: "Edit",
|
|
33054
33105
|
size: "sm",
|
|
@@ -33057,7 +33108,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
33057
33108
|
class: "w-12"
|
|
33058
33109
|
}, null, 8, ["onClick"])
|
|
33059
33110
|
])) : T("", !0),
|
|
33060
|
-
t.bout.Status === "Scheduled" ? (I(), B("div",
|
|
33111
|
+
t.bout.Status === "Scheduled" ? (I(), B("div", hN, [
|
|
33061
33112
|
p(s, {
|
|
33062
33113
|
label: "Start",
|
|
33063
33114
|
size: "sm",
|
|
@@ -33069,7 +33120,7 @@ function p2(n, e, t, r, i, o) {
|
|
|
33069
33120
|
]))
|
|
33070
33121
|
]);
|
|
33071
33122
|
}
|
|
33072
|
-
const df = /* @__PURE__ */ re(V4, [["render",
|
|
33123
|
+
const df = /* @__PURE__ */ re(V4, [["render", pN]]), fN = {
|
|
33073
33124
|
name: "ScoreBox",
|
|
33074
33125
|
components: { BaseIcon: _e, BaseText: Qe },
|
|
33075
33126
|
props: {
|
|
@@ -33120,25 +33171,25 @@ const df = /* @__PURE__ */ re(V4, [["render", p2]]), f2 = {
|
|
|
33120
33171
|
this.$emit("update:Score", n);
|
|
33121
33172
|
}
|
|
33122
33173
|
}
|
|
33123
|
-
},
|
|
33124
|
-
|
|
33125
|
-
],
|
|
33174
|
+
}, CN = { class: "w-full" }, IN = { class: "w-full rounded-t-xl flex flex-row justify-between pt-2" }, mN = { class: "w-full text-center" }, EN = /* @__PURE__ */ h("i", { class: "fa-solid fa-chevron-right" }, null, -1), BN = [
|
|
33175
|
+
EN
|
|
33176
|
+
], QN = /* @__PURE__ */ h("div", { class: "flex flex-row w-full justify-between" }, [
|
|
33126
33177
|
/* @__PURE__ */ h("div", { class: "w-full text-center" })
|
|
33127
|
-
], -1),
|
|
33178
|
+
], -1), vN = { class: "w-full flex flex-row justify-around text-center px-4 pt-2" }, wN = { class: "flex flex-row w-1/2 justify-center" }, yN = { class: "text-5xl text-bluegray font-bold" }, bN = { class: "w-full flex flex-col justify-around text-center px-4 pb-6" }, xN = {
|
|
33128
33179
|
key: 0,
|
|
33129
33180
|
class: "mt-2"
|
|
33130
33181
|
};
|
|
33131
|
-
function
|
|
33182
|
+
function DN(n, e, t, r, i, o) {
|
|
33132
33183
|
const A = x("BaseText"), s = x("BaseIcon");
|
|
33133
|
-
return I(), B("section",
|
|
33184
|
+
return I(), B("section", CN, [
|
|
33134
33185
|
h("div", {
|
|
33135
33186
|
class: ee(["w-11/12 flex flex-col bg-neutral mx-auto rounded-xl shadow-lg drop-shadow border-2", [
|
|
33136
33187
|
t.fencer1 ? `border-${t.hostingClubColors.Color1.toLowerCase()}` : `border-${t.hostingClubColors.Color2.toLowerCase()}`,
|
|
33137
33188
|
t.screenHeight > 740 ? "mt-4" : "mt-1"
|
|
33138
33189
|
]])
|
|
33139
33190
|
}, [
|
|
33140
|
-
h("div",
|
|
33141
|
-
h("div",
|
|
33191
|
+
h("div", IN, [
|
|
33192
|
+
h("div", mN, [
|
|
33142
33193
|
p(A, {
|
|
33143
33194
|
text: t.fencer1 ? t.bout.Person1.DisplayName : t.bout.Person2.DisplayName,
|
|
33144
33195
|
size: "xl",
|
|
@@ -33149,10 +33200,10 @@ function D2(n, e, t, r, i, o) {
|
|
|
33149
33200
|
h("div", {
|
|
33150
33201
|
class: "text-quaternary text-sm pr-3 pt-0.5",
|
|
33151
33202
|
onClick: e[0] || (e[0] = (a) => n.$emit("open-report"))
|
|
33152
|
-
},
|
|
33203
|
+
}, BN)
|
|
33153
33204
|
]),
|
|
33154
|
-
|
|
33155
|
-
h("div",
|
|
33205
|
+
QN,
|
|
33206
|
+
h("div", vN, [
|
|
33156
33207
|
h("div", {
|
|
33157
33208
|
class: "pt-1 w-1/4",
|
|
33158
33209
|
onClick: e[1] || (e[1] = (...a) => o.minus && o.minus(...a))
|
|
@@ -33165,8 +33216,8 @@ function D2(n, e, t, r, i, o) {
|
|
|
33165
33216
|
disabled: i.currentScore <= 0
|
|
33166
33217
|
}, null, 8, ["color", "disabled"])
|
|
33167
33218
|
]),
|
|
33168
|
-
h("div",
|
|
33169
|
-
h("div",
|
|
33219
|
+
h("div", wN, [
|
|
33220
|
+
h("div", yN, [
|
|
33170
33221
|
p(A, {
|
|
33171
33222
|
text: i.currentScore,
|
|
33172
33223
|
size: "5xl",
|
|
@@ -33188,8 +33239,8 @@ function D2(n, e, t, r, i, o) {
|
|
|
33188
33239
|
}, null, 8, ["color", "disabled"])
|
|
33189
33240
|
])
|
|
33190
33241
|
]),
|
|
33191
|
-
h("div",
|
|
33192
|
-
t.screenHeight > 740 ? (I(), B("div",
|
|
33242
|
+
h("div", bN, [
|
|
33243
|
+
t.screenHeight > 740 ? (I(), B("div", xN, [
|
|
33193
33244
|
p(A, {
|
|
33194
33245
|
text: t.fencer1 ? t.bout.Person1.Club.Name : t.bout.Person2.Club.Name,
|
|
33195
33246
|
size: "md",
|
|
@@ -33200,7 +33251,7 @@ function D2(n, e, t, r, i, o) {
|
|
|
33200
33251
|
], 2)
|
|
33201
33252
|
]);
|
|
33202
33253
|
}
|
|
33203
|
-
const
|
|
33254
|
+
const kN = /* @__PURE__ */ re(fN, [["render", DN]]), SN = {
|
|
33204
33255
|
name: "TimerBox",
|
|
33205
33256
|
components: { BaseButton: je, BaseIcon: _e, BaseText: Qe },
|
|
33206
33257
|
props: {
|
|
@@ -33255,12 +33306,12 @@ const k2 = /* @__PURE__ */ re(f2, [["render", D2]]), S2 = {
|
|
|
33255
33306
|
beforeDestroy() {
|
|
33256
33307
|
clearInterval(this.timerInterval);
|
|
33257
33308
|
}
|
|
33258
|
-
},
|
|
33259
|
-
function
|
|
33309
|
+
}, MN = { class: "mt-4 py-4 md:mt-4 md:py-6 w-11/12 flex flex-col bg-white mx-auto rounded-2xl shadow-md border" }, TN = { class: "w-full flex flex-row justify-around text-center px-4" }, ON = { class: "pt-1 flex flex-col" }, RN = { class: "bg-gridBoxHeader rounded-lg h-12 flex items-center justify-center" }, PN = { class: "flex flex-col w-44 justify-between" }, NN = { class: "flex flex-col h-6" }, FN = { class: "pt-1 flex flex-col" }, LN = { class: "bg-gridBoxHeader rounded-lg h-12 flex items-center justify-center" };
|
|
33310
|
+
function HN(n, e, t, r, i, o) {
|
|
33260
33311
|
const A = x("BaseIcon"), s = x("BaseText"), a = x("BaseButton");
|
|
33261
|
-
return I(), B("section",
|
|
33262
|
-
h("div",
|
|
33263
|
-
h("div",
|
|
33312
|
+
return I(), B("section", MN, [
|
|
33313
|
+
h("div", TN, [
|
|
33314
|
+
h("div", ON, [
|
|
33264
33315
|
p(A, {
|
|
33265
33316
|
"icon-name": "fa-square-chevron-up",
|
|
33266
33317
|
size: "5xl",
|
|
@@ -33268,7 +33319,7 @@ function H2(n, e, t, r, i, o) {
|
|
|
33268
33319
|
onClick: e[0] || (e[0] = (l) => o.alterTime(10)),
|
|
33269
33320
|
class: "hover:text-quaternaryHighlight"
|
|
33270
33321
|
}),
|
|
33271
|
-
h("div",
|
|
33322
|
+
h("div", RN, [
|
|
33272
33323
|
p(s, {
|
|
33273
33324
|
text: "10",
|
|
33274
33325
|
size: "xl",
|
|
@@ -33283,8 +33334,8 @@ function H2(n, e, t, r, i, o) {
|
|
|
33283
33334
|
class: "hover:text-quaternaryHighlight"
|
|
33284
33335
|
})
|
|
33285
33336
|
]),
|
|
33286
|
-
h("section",
|
|
33287
|
-
h("div",
|
|
33337
|
+
h("section", PN, [
|
|
33338
|
+
h("div", NN, [
|
|
33288
33339
|
t.showSubmit ? T("", !0) : (I(), oe(s, {
|
|
33289
33340
|
key: 0,
|
|
33290
33341
|
text: t.ringName,
|
|
@@ -33315,7 +33366,7 @@ function H2(n, e, t, r, i, o) {
|
|
|
33315
33366
|
onClick: o.startOrPause
|
|
33316
33367
|
}, null, 8, ["label", "selected", "onClick"])
|
|
33317
33368
|
]),
|
|
33318
|
-
h("div",
|
|
33369
|
+
h("div", FN, [
|
|
33319
33370
|
p(A, {
|
|
33320
33371
|
"icon-name": "fa-square-chevron-up",
|
|
33321
33372
|
size: "5xl",
|
|
@@ -33323,7 +33374,7 @@ function H2(n, e, t, r, i, o) {
|
|
|
33323
33374
|
onClick: e[2] || (e[2] = (l) => o.alterTime(1)),
|
|
33324
33375
|
class: "hover:text-quaternaryHighlight"
|
|
33325
33376
|
}),
|
|
33326
|
-
h("div",
|
|
33377
|
+
h("div", LN, [
|
|
33327
33378
|
p(s, {
|
|
33328
33379
|
text: "1",
|
|
33329
33380
|
size: "xl",
|
|
@@ -33341,7 +33392,7 @@ function H2(n, e, t, r, i, o) {
|
|
|
33341
33392
|
])
|
|
33342
33393
|
]);
|
|
33343
33394
|
}
|
|
33344
|
-
const
|
|
33395
|
+
const YN = /* @__PURE__ */ re(SN, [["render", HN]]), qN = {
|
|
33345
33396
|
name: "PassesBox",
|
|
33346
33397
|
components: { BaseText: Qe, BaseIcon: _e },
|
|
33347
33398
|
props: {
|
|
@@ -33379,19 +33430,19 @@ const Y2 = /* @__PURE__ */ re(S2, [["render", H2]]), q2 = {
|
|
|
33379
33430
|
this.$emit("update:passes", this.currentPass);
|
|
33380
33431
|
}
|
|
33381
33432
|
}
|
|
33382
|
-
},
|
|
33433
|
+
}, zN = { class: "w-full" }, UN = { class: "mt-4 py-4 md:w-11/12 w-full flex flex-col bg-white mx-auto rounded-2xl shadow-md" }, jN = { class: "w-full rounded-t-xl flex flex-row justify-between pt-2" }, KN = { class: "w-full text-center mt-0" }, JN = { class: "w-full flex flex-row justify-around text-center px-4 pt-4" }, GN = { class: "flex flex-row w-1/2 justify-center" }, VN = { class: "flex flex-row justify-center" }, WN = { class: "flex flex-row justify-between m-4 md:m-9 w-9/12" }, XN = {
|
|
33383
33434
|
key: 0,
|
|
33384
33435
|
class: "w-4 h-4 border border-quaternary rounded-full"
|
|
33385
|
-
},
|
|
33436
|
+
}, ZN = {
|
|
33386
33437
|
key: 1,
|
|
33387
33438
|
class: "w-4 h-4 bg-blue rounded-full"
|
|
33388
33439
|
};
|
|
33389
|
-
function
|
|
33440
|
+
function _N(n, e, t, r, i, o) {
|
|
33390
33441
|
const A = x("BaseText"), s = x("BaseIcon");
|
|
33391
|
-
return I(), B("section",
|
|
33392
|
-
h("div",
|
|
33393
|
-
h("div",
|
|
33394
|
-
h("div",
|
|
33442
|
+
return I(), B("section", zN, [
|
|
33443
|
+
h("div", UN, [
|
|
33444
|
+
h("div", jN, [
|
|
33445
|
+
h("div", KN, [
|
|
33395
33446
|
p(A, {
|
|
33396
33447
|
text: "Current Pass",
|
|
33397
33448
|
size: "xl",
|
|
@@ -33400,7 +33451,7 @@ function _2(n, e, t, r, i, o) {
|
|
|
33400
33451
|
})
|
|
33401
33452
|
])
|
|
33402
33453
|
]),
|
|
33403
|
-
h("div",
|
|
33454
|
+
h("div", JN, [
|
|
33404
33455
|
h("div", {
|
|
33405
33456
|
class: "pt-1 w-1/4",
|
|
33406
33457
|
onClick: e[0] || (e[0] = (...a) => o.minusPass && o.minusPass(...a))
|
|
@@ -33414,7 +33465,7 @@ function _2(n, e, t, r, i, o) {
|
|
|
33414
33465
|
disabled: t.maxPasses <= 0
|
|
33415
33466
|
}, null, 8, ["disabled"])
|
|
33416
33467
|
]),
|
|
33417
|
-
h("div",
|
|
33468
|
+
h("div", GN, [
|
|
33418
33469
|
p(A, {
|
|
33419
33470
|
text: i.currentPass + 1,
|
|
33420
33471
|
size: "5xl",
|
|
@@ -33436,24 +33487,24 @@ function _2(n, e, t, r, i, o) {
|
|
|
33436
33487
|
}, null, 8, ["disabled"])
|
|
33437
33488
|
])
|
|
33438
33489
|
]),
|
|
33439
|
-
h("div",
|
|
33440
|
-
h("div",
|
|
33490
|
+
h("div", VN, [
|
|
33491
|
+
h("div", WN, [
|
|
33441
33492
|
(I(!0), B(he, null, we(i.passes, (a, l) => (I(), B("div", { key: l }, [
|
|
33442
|
-
i.currentPass < l ? (I(), B("div",
|
|
33443
|
-
i.currentPass >= l ? (I(), B("div",
|
|
33493
|
+
i.currentPass < l ? (I(), B("div", XN)) : T("", !0),
|
|
33494
|
+
i.currentPass >= l ? (I(), B("div", ZN)) : T("", !0)
|
|
33444
33495
|
]))), 128))
|
|
33445
33496
|
])
|
|
33446
33497
|
])
|
|
33447
33498
|
])
|
|
33448
33499
|
]);
|
|
33449
33500
|
}
|
|
33450
|
-
const $
|
|
33501
|
+
const $N = /* @__PURE__ */ re(qN, [["render", _N]]), e2 = {
|
|
33451
33502
|
name: "DirectorCard",
|
|
33452
33503
|
components: {
|
|
33453
33504
|
BaseButton: je,
|
|
33454
|
-
TimerBox:
|
|
33455
|
-
PassesBox: $
|
|
33456
|
-
ScoreBox:
|
|
33505
|
+
TimerBox: YN,
|
|
33506
|
+
PassesBox: $N,
|
|
33507
|
+
ScoreBox: kN
|
|
33457
33508
|
},
|
|
33458
33509
|
props: {
|
|
33459
33510
|
eventRules: {
|
|
@@ -33537,8 +33588,8 @@ const $2 = /* @__PURE__ */ re(q2, [["render", _2]]), eN = {
|
|
|
33537
33588
|
this.localBout.Started === null && (this.localBout.Started = (/* @__PURE__ */ new Date()).toISOString()), this.showSubmit = this.localBout.Score1 === this.maxPoints || this.localBout.Score2 === this.maxPoints || this.localBout.TimeLeft === 0 || this.localBout.CurrentPass === this.maxPasses - 1, this.$emit("update:bout", this.localBout);
|
|
33538
33589
|
}
|
|
33539
33590
|
}
|
|
33540
|
-
},
|
|
33541
|
-
function
|
|
33591
|
+
}, t2 = { class: "w-11/12 mt-5 mx-6" };
|
|
33592
|
+
function n2(n, e, t, r, i, o) {
|
|
33542
33593
|
const A = x("ScoreBox"), s = x("TimerBox"), a = x("PassesBox"), l = x("BaseButton");
|
|
33543
33594
|
return I(), B("section", null, [
|
|
33544
33595
|
p(A, {
|
|
@@ -33568,7 +33619,7 @@ function nN(n, e, t, r, i, o) {
|
|
|
33568
33619
|
maxScore: parseInt(o.maxPoints),
|
|
33569
33620
|
"onUpdate:Score": o.updateScore2
|
|
33570
33621
|
}, null, 8, ["bout", "hostingClubColors", "maxScore", "onUpdate:Score"]),
|
|
33571
|
-
h("div",
|
|
33622
|
+
h("div", t2, [
|
|
33572
33623
|
p(l, {
|
|
33573
33624
|
label: "Submit",
|
|
33574
33625
|
type: "grayAndBlue",
|
|
@@ -33578,7 +33629,7 @@ function nN(n, e, t, r, i, o) {
|
|
|
33578
33629
|
])
|
|
33579
33630
|
]);
|
|
33580
33631
|
}
|
|
33581
|
-
const gf = /* @__PURE__ */ re(
|
|
33632
|
+
const gf = /* @__PURE__ */ re(e2, [["render", n2]]), r2 = {
|
|
33582
33633
|
name: "DirectorModal",
|
|
33583
33634
|
components: { BaseIcon: _e, DirectorCard: gf },
|
|
33584
33635
|
props: {
|
|
@@ -33614,8 +33665,8 @@ const gf = /* @__PURE__ */ re(eN, [["render", nN]]), rN = {
|
|
|
33614
33665
|
this.$emit("submit:bout", this.bout);
|
|
33615
33666
|
}
|
|
33616
33667
|
}
|
|
33617
|
-
},
|
|
33618
|
-
function
|
|
33668
|
+
}, i2 = { class: "flex w-full justify-end mt-1" };
|
|
33669
|
+
function o2(n, e, t, r, i, o) {
|
|
33619
33670
|
const A = x("BaseIcon"), s = x("DirectorCard");
|
|
33620
33671
|
return I(), oe(Bn, {
|
|
33621
33672
|
"enter-active-class": "transition-opacity duration-500",
|
|
@@ -33636,7 +33687,7 @@ function oN(n, e, t, r, i, o) {
|
|
|
33636
33687
|
onClick: e[0] || (e[0] = Ne(() => {
|
|
33637
33688
|
}, ["stop"]))
|
|
33638
33689
|
}, [
|
|
33639
|
-
h("div",
|
|
33690
|
+
h("div", i2, [
|
|
33640
33691
|
p(A, {
|
|
33641
33692
|
"icon-name": "fa-circle-xmark",
|
|
33642
33693
|
size: "lg",
|
|
@@ -33659,7 +33710,7 @@ function oN(n, e, t, r, i, o) {
|
|
|
33659
33710
|
_: 1
|
|
33660
33711
|
});
|
|
33661
33712
|
}
|
|
33662
|
-
const hf = /* @__PURE__ */ re(
|
|
33713
|
+
const hf = /* @__PURE__ */ re(r2, [["render", o2]]), A2 = {
|
|
33663
33714
|
components: {
|
|
33664
33715
|
BaseIcon: _e,
|
|
33665
33716
|
BaseButton: je,
|
|
@@ -33735,13 +33786,13 @@ const hf = /* @__PURE__ */ re(rN, [["render", oN]]), AN = {
|
|
|
33735
33786
|
this.$emit("submit:bout", this.localBout);
|
|
33736
33787
|
}
|
|
33737
33788
|
}
|
|
33738
|
-
},
|
|
33739
|
-
function
|
|
33789
|
+
}, s2 = { class: "flex items-center justify-between rounded-lg" }, a2 = { class: "flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox w-1/2 mr-4" }, l2 = { class: "flex space-x-4 items-center" }, c2 = ["src"], u2 = { class: "flex w-1/4 justify-between" }, d2 = { class: "flex justify-between shadow-lg drop-shadow p-2 rounded-xl bg-poolBox w-1/2 ml-4" }, g2 = { class: "flex space-x-4 justify-between w-full" }, h2 = { class: "flex w-1/4 justify-between" }, p2 = { class: "flex space-x-4 items-center" }, f2 = ["src"], C2 = { class: "w-full flex justify-center mt-5" }, I2 = { class: "w-1/2" };
|
|
33790
|
+
function m2(n, e, t, r, i, o) {
|
|
33740
33791
|
const A = x("BaseText"), s = x("BaseIcon"), a = x("BaseButton");
|
|
33741
33792
|
return I(), B(he, null, [
|
|
33742
|
-
h("div",
|
|
33743
|
-
h("div",
|
|
33744
|
-
h("div",
|
|
33793
|
+
h("div", s2, [
|
|
33794
|
+
h("div", a2, [
|
|
33795
|
+
h("div", l2, [
|
|
33745
33796
|
h("div", null, [
|
|
33746
33797
|
h("div", {
|
|
33747
33798
|
class: ee(`w-4 h-4 rounded-full bg-${o.computedColor(!0)} absolute top-10 left-11`)
|
|
@@ -33750,7 +33801,7 @@ function mN(n, e, t, r, i, o) {
|
|
|
33750
33801
|
src: o.fencer1.portrait,
|
|
33751
33802
|
alt: "Portrait",
|
|
33752
33803
|
class: "w-12 h-12 rounded-full"
|
|
33753
|
-
}, null, 8,
|
|
33804
|
+
}, null, 8, c2)
|
|
33754
33805
|
]),
|
|
33755
33806
|
h("div", null, [
|
|
33756
33807
|
p(A, {
|
|
@@ -33766,7 +33817,7 @@ function mN(n, e, t, r, i, o) {
|
|
|
33766
33817
|
}, null, 8, ["text"])
|
|
33767
33818
|
])
|
|
33768
33819
|
]),
|
|
33769
|
-
h("div",
|
|
33820
|
+
h("div", u2, [
|
|
33770
33821
|
p(s, {
|
|
33771
33822
|
"icon-name": "fa-square-minus",
|
|
33772
33823
|
size: "4xl",
|
|
@@ -33791,9 +33842,9 @@ function mN(n, e, t, r, i, o) {
|
|
|
33791
33842
|
}, null, 8, ["color", "disabled"])
|
|
33792
33843
|
])
|
|
33793
33844
|
]),
|
|
33794
|
-
h("div",
|
|
33795
|
-
h("div",
|
|
33796
|
-
h("div",
|
|
33845
|
+
h("div", d2, [
|
|
33846
|
+
h("div", g2, [
|
|
33847
|
+
h("div", h2, [
|
|
33797
33848
|
p(s, {
|
|
33798
33849
|
"icon-name": "fa-square-minus",
|
|
33799
33850
|
size: "4xl",
|
|
@@ -33817,7 +33868,7 @@ function mN(n, e, t, r, i, o) {
|
|
|
33817
33868
|
onClick: e[3] || (e[3] = (l) => o.plus(!1))
|
|
33818
33869
|
}, null, 8, ["color", "disabled"])
|
|
33819
33870
|
]),
|
|
33820
|
-
h("div",
|
|
33871
|
+
h("div", p2, [
|
|
33821
33872
|
h("div", null, [
|
|
33822
33873
|
p(A, {
|
|
33823
33874
|
text: o.fencer2.name,
|
|
@@ -33841,14 +33892,14 @@ function mN(n, e, t, r, i, o) {
|
|
|
33841
33892
|
src: o.fencer2.portrait,
|
|
33842
33893
|
alt: "Portrait",
|
|
33843
33894
|
class: "w-12 h-12 rounded-full"
|
|
33844
|
-
}, null, 8,
|
|
33895
|
+
}, null, 8, f2)
|
|
33845
33896
|
])
|
|
33846
33897
|
])
|
|
33847
33898
|
])
|
|
33848
33899
|
])
|
|
33849
33900
|
]),
|
|
33850
|
-
h("div",
|
|
33851
|
-
h("div",
|
|
33901
|
+
h("div", C2, [
|
|
33902
|
+
h("div", I2, [
|
|
33852
33903
|
p(a, {
|
|
33853
33904
|
label: "Submit",
|
|
33854
33905
|
type: "grayAndBlue",
|
|
@@ -33859,9 +33910,9 @@ function mN(n, e, t, r, i, o) {
|
|
|
33859
33910
|
])
|
|
33860
33911
|
], 64);
|
|
33861
33912
|
}
|
|
33862
|
-
const
|
|
33913
|
+
const E2 = /* @__PURE__ */ re(A2, [["render", m2]]), B2 = {
|
|
33863
33914
|
name: "EditBoutModal",
|
|
33864
|
-
components: { BaseIcon: _e, EditBout:
|
|
33915
|
+
components: { BaseIcon: _e, EditBout: E2 },
|
|
33865
33916
|
props: {
|
|
33866
33917
|
show: {
|
|
33867
33918
|
type: Boolean,
|
|
@@ -33888,8 +33939,8 @@ const EN = /* @__PURE__ */ re(AN, [["render", mN]]), BN = {
|
|
|
33888
33939
|
this.$emit("submit:bout", n);
|
|
33889
33940
|
}
|
|
33890
33941
|
}
|
|
33891
|
-
},
|
|
33892
|
-
function
|
|
33942
|
+
}, Q2 = { class: "flex w-full justify-end mt-1" };
|
|
33943
|
+
function v2(n, e, t, r, i, o) {
|
|
33893
33944
|
const A = x("BaseIcon"), s = x("EditBout");
|
|
33894
33945
|
return I(), oe(Bn, {
|
|
33895
33946
|
"enter-active-class": "transition-opacity duration-500",
|
|
@@ -33910,7 +33961,7 @@ function vN(n, e, t, r, i, o) {
|
|
|
33910
33961
|
onClick: e[0] || (e[0] = Ne(() => {
|
|
33911
33962
|
}, ["stop"]))
|
|
33912
33963
|
}, [
|
|
33913
|
-
h("div",
|
|
33964
|
+
h("div", Q2, [
|
|
33914
33965
|
p(A, {
|
|
33915
33966
|
"icon-name": "fa-circle-xmark",
|
|
33916
33967
|
size: "lg",
|
|
@@ -33931,7 +33982,7 @@ function vN(n, e, t, r, i, o) {
|
|
|
33931
33982
|
_: 1
|
|
33932
33983
|
});
|
|
33933
33984
|
}
|
|
33934
|
-
const pf = /* @__PURE__ */ re(
|
|
33985
|
+
const pf = /* @__PURE__ */ re(B2, [["render", v2]]), w2 = {
|
|
33935
33986
|
name: "PoolGrid",
|
|
33936
33987
|
components: { BaseText: Qe },
|
|
33937
33988
|
props: {
|
|
@@ -33990,14 +34041,14 @@ const pf = /* @__PURE__ */ re(BN, [["render", vN]]), wN = {
|
|
|
33990
34041
|
};
|
|
33991
34042
|
}
|
|
33992
34043
|
}
|
|
33993
|
-
}, cA = (n) => (Mf("data-v-262bb7eb"), n = n(), Tf(), n),
|
|
33994
|
-
function
|
|
34044
|
+
}, cA = (n) => (Mf("data-v-262bb7eb"), n = n(), Tf(), n), y2 = { class: "flex w-full justify-center mb-4" }, b2 = { class: "border-separate border-spacing-1 w-[900px]" }, x2 = { class: "bg-eventBoxBlue rounded-lg px-4 py-2" }, D2 = /* @__PURE__ */ cA(() => /* @__PURE__ */ h("th", { class: "w-1" }, null, -1)), k2 = /* @__PURE__ */ cA(() => /* @__PURE__ */ h("th", { class: "bg-gridBoxHeader rounded-lg px-4 py-2" }, null, -1)), S2 = /* @__PURE__ */ cA(() => /* @__PURE__ */ h("th", { class: "w-1" }, null, -1)), M2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, T2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, O2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, R2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, P2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, N2 = { class: "bg-eventBoxBlue rounded-lg able-cell text-center align-middle h-10 w-10" }, F2 = { class: "bg-eventBoxBlue rounded-lg text-right align-middle pr-4" }, L2 = /* @__PURE__ */ cA(() => /* @__PURE__ */ h("th", { class: "w-1" }, null, -1)), H2 = { class: "bg-gridBoxHeader rounded-lg text-center align-middle h-10 w-10" }, Y2 = /* @__PURE__ */ cA(() => /* @__PURE__ */ h("td", { class: "w-1" }, null, -1)), q2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, z2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, U2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, j2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, K2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, J2 = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" };
|
|
34045
|
+
function G2(n, e, t, r, i, o) {
|
|
33995
34046
|
const A = x("BaseText");
|
|
33996
|
-
return I(), B("div",
|
|
33997
|
-
h("table",
|
|
34047
|
+
return I(), B("div", y2, [
|
|
34048
|
+
h("table", b2, [
|
|
33998
34049
|
h("thead", null, [
|
|
33999
34050
|
h("tr", null, [
|
|
34000
|
-
h("th",
|
|
34051
|
+
h("th", x2, [
|
|
34001
34052
|
p(A, {
|
|
34002
34053
|
text: "Name",
|
|
34003
34054
|
size: "sm",
|
|
@@ -34005,8 +34056,8 @@ function GN(n, e, t, r, i, o) {
|
|
|
34005
34056
|
color: "quinary"
|
|
34006
34057
|
})
|
|
34007
34058
|
]),
|
|
34008
|
-
|
|
34009
|
-
|
|
34059
|
+
D2,
|
|
34060
|
+
k2,
|
|
34010
34061
|
(I(!0), B(he, null, we(o.participants, (s, a) => (I(), B("th", {
|
|
34011
34062
|
key: s.PersonId,
|
|
34012
34063
|
class: "bg-gridBoxHeader rounded-lg text-center align-middle"
|
|
@@ -34018,8 +34069,8 @@ function GN(n, e, t, r, i, o) {
|
|
|
34018
34069
|
color: "quinary"
|
|
34019
34070
|
}, null, 8, ["text"])
|
|
34020
34071
|
]))), 128)),
|
|
34021
|
-
|
|
34022
|
-
h("th",
|
|
34072
|
+
S2,
|
|
34073
|
+
h("th", M2, [
|
|
34023
34074
|
p(A, {
|
|
34024
34075
|
text: "W%",
|
|
34025
34076
|
size: "sm",
|
|
@@ -34027,7 +34078,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34027
34078
|
color: "quinary"
|
|
34028
34079
|
})
|
|
34029
34080
|
]),
|
|
34030
|
-
h("th",
|
|
34081
|
+
h("th", T2, [
|
|
34031
34082
|
p(A, {
|
|
34032
34083
|
text: "W",
|
|
34033
34084
|
size: "sm",
|
|
@@ -34035,7 +34086,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34035
34086
|
color: "quinary"
|
|
34036
34087
|
})
|
|
34037
34088
|
]),
|
|
34038
|
-
h("th",
|
|
34089
|
+
h("th", O2, [
|
|
34039
34090
|
p(A, {
|
|
34040
34091
|
text: "L",
|
|
34041
34092
|
size: "sm",
|
|
@@ -34043,7 +34094,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34043
34094
|
color: "quinary"
|
|
34044
34095
|
})
|
|
34045
34096
|
]),
|
|
34046
|
-
h("th",
|
|
34097
|
+
h("th", R2, [
|
|
34047
34098
|
p(A, {
|
|
34048
34099
|
text: "HS",
|
|
34049
34100
|
size: "sm",
|
|
@@ -34051,7 +34102,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34051
34102
|
color: "quinary"
|
|
34052
34103
|
})
|
|
34053
34104
|
]),
|
|
34054
|
-
h("th",
|
|
34105
|
+
h("th", P2, [
|
|
34055
34106
|
p(A, {
|
|
34056
34107
|
text: "HR",
|
|
34057
34108
|
size: "sm",
|
|
@@ -34059,7 +34110,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34059
34110
|
color: "quinary"
|
|
34060
34111
|
})
|
|
34061
34112
|
]),
|
|
34062
|
-
h("th",
|
|
34113
|
+
h("th", N2, [
|
|
34063
34114
|
p(A, {
|
|
34064
34115
|
text: "IND",
|
|
34065
34116
|
size: "sm",
|
|
@@ -34073,15 +34124,15 @@ function GN(n, e, t, r, i, o) {
|
|
|
34073
34124
|
(I(!0), B(he, null, we(o.participants, (s, a) => (I(), B("tr", {
|
|
34074
34125
|
key: s.PersonId
|
|
34075
34126
|
}, [
|
|
34076
|
-
h("td",
|
|
34127
|
+
h("td", F2, [
|
|
34077
34128
|
p(A, {
|
|
34078
34129
|
text: s.DisplayName,
|
|
34079
34130
|
size: "sm",
|
|
34080
34131
|
color: "quinary"
|
|
34081
34132
|
}, null, 8, ["text"])
|
|
34082
34133
|
]),
|
|
34083
|
-
|
|
34084
|
-
h("td",
|
|
34134
|
+
L2,
|
|
34135
|
+
h("td", H2, [
|
|
34085
34136
|
p(A, {
|
|
34086
34137
|
text: a + 1,
|
|
34087
34138
|
size: "sm",
|
|
@@ -34104,43 +34155,43 @@ function GN(n, e, t, r, i, o) {
|
|
|
34104
34155
|
}, null, 8, ["text"])
|
|
34105
34156
|
], 2)) : T("", !0)
|
|
34106
34157
|
], 2))), 128)),
|
|
34107
|
-
|
|
34108
|
-
h("td",
|
|
34158
|
+
Y2,
|
|
34159
|
+
h("td", q2, [
|
|
34109
34160
|
p(A, {
|
|
34110
34161
|
text: o.getStats(s).WP,
|
|
34111
34162
|
size: "sm",
|
|
34112
34163
|
color: "quinary"
|
|
34113
34164
|
}, null, 8, ["text"])
|
|
34114
34165
|
]),
|
|
34115
|
-
h("td",
|
|
34166
|
+
h("td", z2, [
|
|
34116
34167
|
p(A, {
|
|
34117
34168
|
text: o.getStats(s).W,
|
|
34118
34169
|
size: "sm",
|
|
34119
34170
|
color: "quinary"
|
|
34120
34171
|
}, null, 8, ["text"])
|
|
34121
34172
|
]),
|
|
34122
|
-
h("td",
|
|
34173
|
+
h("td", U2, [
|
|
34123
34174
|
p(A, {
|
|
34124
34175
|
text: o.getStats(s).L,
|
|
34125
34176
|
size: "sm",
|
|
34126
34177
|
color: "quinary"
|
|
34127
34178
|
}, null, 8, ["text"])
|
|
34128
34179
|
]),
|
|
34129
|
-
h("td",
|
|
34180
|
+
h("td", j2, [
|
|
34130
34181
|
p(A, {
|
|
34131
34182
|
text: o.getStats(s).HS,
|
|
34132
34183
|
size: "sm",
|
|
34133
34184
|
color: "quinary"
|
|
34134
34185
|
}, null, 8, ["text"])
|
|
34135
34186
|
]),
|
|
34136
|
-
h("td",
|
|
34187
|
+
h("td", K2, [
|
|
34137
34188
|
p(A, {
|
|
34138
34189
|
text: o.getStats(s).HR,
|
|
34139
34190
|
size: "sm",
|
|
34140
34191
|
color: "quinary"
|
|
34141
34192
|
}, null, 8, ["text"])
|
|
34142
34193
|
]),
|
|
34143
|
-
h("td",
|
|
34194
|
+
h("td", J2, [
|
|
34144
34195
|
p(A, {
|
|
34145
34196
|
text: o.getStats(s).IND,
|
|
34146
34197
|
size: "sm",
|
|
@@ -34152,7 +34203,7 @@ function GN(n, e, t, r, i, o) {
|
|
|
34152
34203
|
])
|
|
34153
34204
|
]);
|
|
34154
34205
|
}
|
|
34155
|
-
const ff = /* @__PURE__ */ re(
|
|
34206
|
+
const ff = /* @__PURE__ */ re(w2, [["render", G2], ["__scopeId", "data-v-262bb7eb"]]), V2 = {
|
|
34156
34207
|
components: {
|
|
34157
34208
|
PoolGrid: ff,
|
|
34158
34209
|
ServerConnected: vc,
|
|
@@ -34266,7 +34317,7 @@ const ff = /* @__PURE__ */ re(wN, [["render", GN], ["__scopeId", "data-v-262bb7e
|
|
|
34266
34317
|
this.bouts.find((t) => t.BoutId === n.BoutId) && (this.showEditBoutModal = !0, this.selectedBout = n);
|
|
34267
34318
|
}
|
|
34268
34319
|
}
|
|
34269
|
-
},
|
|
34320
|
+
}, W2 = { key: 0 }, X2 = { key: 0 }, Z2 = /* @__PURE__ */ h("div", { class: "border-b border-dropdownSelect mb-8" }, null, -1), _2 = { class: "w-full flex flex-col items-center" }, $2 = {
|
|
34270
34321
|
key: 0,
|
|
34271
34322
|
class: "w-3/4 my-4"
|
|
34272
34323
|
}, eF = { key: 1 }, tF = { class: "flex flex-row justify-between" }, nF = { class: "flex mr-1" }, rF = /* @__PURE__ */ h("div", { class: "border-b border-dropdownSelect mb-5" }, null, -1), iF = { class: "w-full flex flex-col items-center" }, oF = { key: 2 }, AF = { class: "flex flex-row" }, sF = /* @__PURE__ */ h("div", { class: "border-b border-dropdownSelect mb-5" }, null, -1), aF = { class: "w-full flex flex-col items-center" };
|
|
@@ -34286,14 +34337,14 @@ function lF(n, e, t, r, i, o) {
|
|
|
34286
34337
|
"onUpdate:selection": o.handleViewChange,
|
|
34287
34338
|
connectedToServer: t.connectedToServer
|
|
34288
34339
|
}, null, 8, ["currentSelection", "onUpdate:selection", "connectedToServer"]),
|
|
34289
|
-
i.viewName === "Pool Grid" ? (I(), B("section",
|
|
34340
|
+
i.viewName === "Pool Grid" ? (I(), B("section", W2, [
|
|
34290
34341
|
p(a, { bouts: t.bouts }, null, 8, ["bouts"])
|
|
34291
34342
|
])) : T("", !0),
|
|
34292
34343
|
h("section", null, [
|
|
34293
|
-
o.remainingBoutsCount > 0 ? (I(), B("section",
|
|
34294
|
-
|
|
34295
|
-
h("div",
|
|
34296
|
-
o.hasActiveBout ? T("", !0) : (I(), B("div", $
|
|
34344
|
+
o.remainingBoutsCount > 0 ? (I(), B("section", X2, [
|
|
34345
|
+
Z2,
|
|
34346
|
+
h("div", _2, [
|
|
34347
|
+
o.hasActiveBout ? T("", !0) : (I(), B("div", $2, [
|
|
34297
34348
|
p(l, {
|
|
34298
34349
|
bout: {},
|
|
34299
34350
|
hostingClubColors: t.hostingClubColors,
|
|
@@ -34405,7 +34456,7 @@ function lF(n, e, t, r, i, o) {
|
|
|
34405
34456
|
}, null, 8, ["bout", "eventRules", "hostingClubColors", "show", "onUpdate:closeModal", "onSubmit:bout"])
|
|
34406
34457
|
]);
|
|
34407
34458
|
}
|
|
34408
|
-
const MY = /* @__PURE__ */ re(
|
|
34459
|
+
const MY = /* @__PURE__ */ re(V2, [["render", lF]]), cF = {
|
|
34409
34460
|
name: "PoolResultsHeader",
|
|
34410
34461
|
components: { BaseIcon: _e, BaseButton: je, BaseText: Qe, CounterBox: Ms, EventStatusBox: lA },
|
|
34411
34462
|
props: {
|
|
@@ -35969,8 +36020,8 @@ const OY = /* @__PURE__ */ re(YL, [["render", qL]]), zL = {
|
|
|
35969
36020
|
handleTabMenuClick(n) {
|
|
35970
36021
|
this.$emit("tab:menu-click", n);
|
|
35971
36022
|
},
|
|
35972
|
-
|
|
35973
|
-
this
|
|
36023
|
+
handleSubmit(n) {
|
|
36024
|
+
this.$emit("update:submit", n);
|
|
35974
36025
|
}
|
|
35975
36026
|
}
|
|
35976
36027
|
}, UL = { class: "w-full flex flex-row justify-center mt-3" };
|
|
@@ -35986,8 +36037,9 @@ function jL(n, e, t, r, i, o) {
|
|
|
35986
36037
|
p(s, {
|
|
35987
36038
|
event: t.event,
|
|
35988
36039
|
rules: t.rules,
|
|
35989
|
-
weapons: t.weapons
|
|
35990
|
-
|
|
36040
|
+
weapons: t.weapons,
|
|
36041
|
+
"onUpdate:submit": o.handleSubmit
|
|
36042
|
+
}, null, 8, ["event", "rules", "weapons", "onUpdate:submit"])
|
|
35991
36043
|
])
|
|
35992
36044
|
]);
|
|
35993
36045
|
}
|