@dcrackel/hematournamentui 1.0.249 → 1.0.251
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 +8 -13
- package/dist/HemaTournamentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/mocks/getAllWeapons.js +0 -2
- package/src/stories/Organisms/Form/EditEvent/EditEvent.vue +0 -4
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.stories.js +4 -11
- package/src/stories/Organisms/Wizards/EditEventWizard/BasicEventInfo/BasicEventInfo.vue +8 -3
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectElimination/DirectElimination.stories.js +1 -1
- package/src/stories/Organisms/Wizards/EditEventWizard/DirectEliminationPromotion/DirectEliminationPromotion.stories.js +1 -1
- package/src/stories/Organisms/Wizards/EditEventWizard/PoolConfiguration/PoolConfiguration.stories.js +1 -1
- package/src/stories/Templates/EventManagement/EditEventInfo/EditEventInfo.stories.js +5 -8
- package/src/stories/Templates/EventManagement/EditEventInfo/EditEventInfo.vue +0 -1
|
@@ -9778,8 +9778,11 @@ const rA = /* @__PURE__ */ re(zQ, [["render", GQ], ["__scopeId", "data-v-b4f903b
|
|
|
9778
9778
|
},
|
|
9779
9779
|
computed: {
|
|
9780
9780
|
selectedWeapon() {
|
|
9781
|
-
const n = this.weapons.find((e) => e.
|
|
9782
|
-
return n ? n.
|
|
9781
|
+
const n = this.weapons.find((e) => e.Id === this.localEvent.WeaponId);
|
|
9782
|
+
return n ? n.Name : "Select Weapon";
|
|
9783
|
+
},
|
|
9784
|
+
getWeapons() {
|
|
9785
|
+
return this.weapons.map((n) => ({ text: n.Name, link: n.Id }));
|
|
9783
9786
|
}
|
|
9784
9787
|
},
|
|
9785
9788
|
methods: {
|
|
@@ -9904,7 +9907,7 @@ function Av(n, e, t, r, i, o) {
|
|
|
9904
9907
|
}, null, 8, ["invalid"]),
|
|
9905
9908
|
p(c, {
|
|
9906
9909
|
label: o.selectedWeapon,
|
|
9907
|
-
items:
|
|
9910
|
+
items: o.getWeapons,
|
|
9908
9911
|
"selected-item": o.selectedWeapon,
|
|
9909
9912
|
alignEnd: !1,
|
|
9910
9913
|
width: "w-full",
|
|
@@ -35972,23 +35975,15 @@ const OY = /* @__PURE__ */ re(YL, [["render", qL]]), zL = {
|
|
|
35972
35975
|
}
|
|
35973
35976
|
}, UL = { class: "w-full flex flex-row justify-center mt-3" };
|
|
35974
35977
|
function jL(n, e, t, r, i, o) {
|
|
35975
|
-
const A = x("EditEventsTopMenu"), s = x("
|
|
35978
|
+
const A = x("EditEventsTopMenu"), s = x("EditEventWizard");
|
|
35976
35979
|
return I(), B("section", null, [
|
|
35977
35980
|
p(A, {
|
|
35978
35981
|
currentTab: "Edit",
|
|
35979
35982
|
tabs: i.tabs,
|
|
35980
35983
|
onTabMenuClick: o.handleTabMenuClick
|
|
35981
35984
|
}, null, 8, ["tabs", "onTabMenuClick"]),
|
|
35982
|
-
p(s, {
|
|
35983
|
-
currentSelection: i.viewName,
|
|
35984
|
-
"onUpdate:selection": o.handleStaffView,
|
|
35985
|
-
firstButtonLabel: "Staff List",
|
|
35986
|
-
secondButtonLabel: "Staff Assignments",
|
|
35987
|
-
connectedToServer: !1,
|
|
35988
|
-
showConnected: !1
|
|
35989
|
-
}, null, 8, ["currentSelection", "onUpdate:selection"]),
|
|
35990
35985
|
h("div", UL, [
|
|
35991
|
-
p(
|
|
35986
|
+
p(s, {
|
|
35992
35987
|
event: t.event,
|
|
35993
35988
|
rules: t.rules,
|
|
35994
35989
|
weapons: t.weapons
|