@dcrackel/hematournamentui 1.0.539 → 1.0.541
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 +137 -132
- package/dist/HemaTournamentUI-lib.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/mocks/getPenaltiesByEvent.js +5 -3
- package/src/stories/Organisms/Cards/PenaltyFencerCard/PenaltyFencerCard.vue +1 -1
- package/src/stories/Templates/EventManagement/Penalties/PenaltyReport.vue +6 -1
|
@@ -39690,18 +39690,18 @@ function _q(t, e, n, r, o, i) {
|
|
|
39690
39690
|
])
|
|
39691
39691
|
]);
|
|
39692
39692
|
}
|
|
39693
|
-
const $q = /* @__PURE__ */ oe(Vq, [["render", _q]]),
|
|
39693
|
+
const $q = /* @__PURE__ */ oe(Vq, [["render", _q]]), e2 = {
|
|
39694
39694
|
name: "PersonManagementSkeleton"
|
|
39695
|
-
},
|
|
39696
|
-
|
|
39695
|
+
}, t2 = { class: "flex" }, n2 = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-20"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-32 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-20 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="border-b border-dropdownSelect mt-6"><div class="h-6 bg-dropdownSelect rounded w-36 mb-2"></div></div><div class="my-4 w-full"><div class="h-16 bg-dropdownSelect rounded w-full mb-4"></div><div class="h-8 bg-dropdownSelect rounded w-1/2 mb-2"></div><div class="h-8 bg-dropdownSelect rounded w-1/2"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), r2 = [
|
|
39696
|
+
n2
|
|
39697
39697
|
];
|
|
39698
|
-
function
|
|
39699
|
-
return C(), I("section",
|
|
39698
|
+
function o2(t, e, n, r, o, i) {
|
|
39699
|
+
return C(), I("section", t2, r2);
|
|
39700
39700
|
}
|
|
39701
|
-
const
|
|
39701
|
+
const i2 = /* @__PURE__ */ oe(e2, [["render", o2]]), s2 = {
|
|
39702
39702
|
name: "PersonManagement",
|
|
39703
39703
|
components: {
|
|
39704
|
-
PersonManagementSkeleton:
|
|
39704
|
+
PersonManagementSkeleton: i2,
|
|
39705
39705
|
PeopleColumn: $q,
|
|
39706
39706
|
FindOrAddPerson: PA,
|
|
39707
39707
|
BaseInput: _t,
|
|
@@ -39851,28 +39851,28 @@ const iY = /* @__PURE__ */ oe(eY, [["render", oY]]), sY = {
|
|
|
39851
39851
|
this.$emit("delete:person", this.person);
|
|
39852
39852
|
}
|
|
39853
39853
|
}
|
|
39854
|
-
},
|
|
39854
|
+
}, A2 = { key: 0 }, a2 = {
|
|
39855
39855
|
key: 1,
|
|
39856
39856
|
class: "flex"
|
|
39857
|
-
},
|
|
39857
|
+
}, l2 = { key: 0 }, c2 = { class: "rounded-lg p-9 bg-neutral w-full" }, u2 = { class: "w-full flex flex-row justify-center mb-4" }, d2 = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, g2 = { class: "flex flex-col mb-4" }, h2 = { class: "flex flex-col mb-4" }, p2 = { class: "flex flex-col mb-4" }, f2 = { class: "flex flex-col mb-4" }, C2 = { class: "flex flex-col mb-4" }, m2 = { class: "border-b border-dropdownSelect mt-6" }, I2 = { class: "my-4 w-full" }, B2 = {
|
|
39858
39858
|
key: 0,
|
|
39859
39859
|
class: "mt-8"
|
|
39860
|
-
},
|
|
39861
|
-
function
|
|
39860
|
+
}, E2 = { class: "flex flex-col mb-4 mt-4" }, Q2 = { class: "flex flex-row justify-end mt-8" };
|
|
39861
|
+
function v2(t, e, n, r, o, i) {
|
|
39862
39862
|
const A = w("PersonManagementSkeleton"), a = w("PeopleColumn"), l = w("BaseText"), c = w("ImageCropper"), u = w("TitledInput"), d = w("DropDownMenu"), g = w("Toggle"), f = w("BaseButton");
|
|
39863
39863
|
return C(), I(ae, null, [
|
|
39864
|
-
n.loading ? (C(), I("section",
|
|
39864
|
+
n.loading ? (C(), I("section", A2, [
|
|
39865
39865
|
h(A)
|
|
39866
39866
|
])) : b("", !0),
|
|
39867
|
-
n.loading ? b("", !0) : (C(), I("section",
|
|
39868
|
-
n.userLevel === "Admin" ? (C(), I("div",
|
|
39867
|
+
n.loading ? b("", !0) : (C(), I("section", a2, [
|
|
39868
|
+
n.userLevel === "Admin" ? (C(), I("div", l2, [
|
|
39869
39869
|
h(a, {
|
|
39870
39870
|
persons: n.people,
|
|
39871
39871
|
"onUpdate:selectedFencer": i.handlePersonClick
|
|
39872
39872
|
}, null, 8, ["persons", "onUpdate:selectedFencer"])
|
|
39873
39873
|
])) : b("", !0),
|
|
39874
|
-
p("div",
|
|
39875
|
-
p("div",
|
|
39874
|
+
p("div", c2, [
|
|
39875
|
+
p("div", u2, [
|
|
39876
39876
|
h(l, {
|
|
39877
39877
|
color: "primaryHighlight",
|
|
39878
39878
|
size: "2xl",
|
|
@@ -39880,7 +39880,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39880
39880
|
weight: "normal"
|
|
39881
39881
|
})
|
|
39882
39882
|
]),
|
|
39883
|
-
p("div",
|
|
39883
|
+
p("div", d2, [
|
|
39884
39884
|
h(c, {
|
|
39885
39885
|
urlToImage: i.getImageURL,
|
|
39886
39886
|
uploadImageName: n.uploadImageName,
|
|
@@ -39898,7 +39898,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39898
39898
|
"onUpdate:url": i.handleProfilePicUpdate
|
|
39899
39899
|
}, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "customClass", "onUpdate:url"])
|
|
39900
39900
|
]),
|
|
39901
|
-
p("div",
|
|
39901
|
+
p("div", g2, [
|
|
39902
39902
|
h(u, {
|
|
39903
39903
|
inputValue: o.person.DisplayName,
|
|
39904
39904
|
placeholder: "Enter Display Name",
|
|
@@ -39906,7 +39906,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39906
39906
|
"onUpdate:value": i.updateDisplayName
|
|
39907
39907
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
39908
39908
|
]),
|
|
39909
|
-
p("div",
|
|
39909
|
+
p("div", h2, [
|
|
39910
39910
|
h(u, {
|
|
39911
39911
|
inputValue: i.getLegalName,
|
|
39912
39912
|
placeholder: "Enter Your Legal Name",
|
|
@@ -39914,7 +39914,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39914
39914
|
"onUpdate:value": i.updateLegalName
|
|
39915
39915
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
39916
39916
|
]),
|
|
39917
|
-
p("div",
|
|
39917
|
+
p("div", p2, [
|
|
39918
39918
|
h(l, {
|
|
39919
39919
|
text: "Club Name",
|
|
39920
39920
|
size: "sm",
|
|
@@ -39930,7 +39930,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39930
39930
|
dropDownWidth: "w-full"
|
|
39931
39931
|
}, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
|
|
39932
39932
|
]),
|
|
39933
|
-
p("div",
|
|
39933
|
+
p("div", f2, [
|
|
39934
39934
|
h(l, {
|
|
39935
39935
|
text: "Preferred Pronouns",
|
|
39936
39936
|
size: "sm",
|
|
@@ -39946,7 +39946,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39946
39946
|
dropDownWidth: "w-full"
|
|
39947
39947
|
}, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
|
|
39948
39948
|
]),
|
|
39949
|
-
p("div",
|
|
39949
|
+
p("div", C2, [
|
|
39950
39950
|
h(u, {
|
|
39951
39951
|
inputValue: i.getEmail ? i.getEmail : "",
|
|
39952
39952
|
placeholder: "Enter Your Email",
|
|
@@ -39954,7 +39954,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39954
39954
|
"onUpdate:value": i.handleEmailUpdate
|
|
39955
39955
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
39956
39956
|
]),
|
|
39957
|
-
p("div",
|
|
39957
|
+
p("div", m2, [
|
|
39958
39958
|
h(l, {
|
|
39959
39959
|
color: "quinary",
|
|
39960
39960
|
size: "sm",
|
|
@@ -39963,7 +39963,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
39963
39963
|
"data-testid": "text-registration"
|
|
39964
39964
|
})
|
|
39965
39965
|
]),
|
|
39966
|
-
p("div",
|
|
39966
|
+
p("div", I2, [
|
|
39967
39967
|
h(l, {
|
|
39968
39968
|
color: "quinary",
|
|
39969
39969
|
size: "sm",
|
|
@@ -39985,14 +39985,14 @@ function vY(t, e, n, r, o, i) {
|
|
|
39985
39985
|
"onUpdate:checked": i.changeShareData
|
|
39986
39986
|
}, null, 8, ["onUpdate:checked"])
|
|
39987
39987
|
]),
|
|
39988
|
-
n.userLevel === "Admin" ? (C(), I("div",
|
|
39988
|
+
n.userLevel === "Admin" ? (C(), I("div", B2, [
|
|
39989
39989
|
h(u, {
|
|
39990
39990
|
inputValue: i.getHemaRatingsId ? i.getHemaRatingsId : "",
|
|
39991
39991
|
placeholder: "HEMA Rating ID",
|
|
39992
39992
|
title: "HEMA Rating ID",
|
|
39993
39993
|
"onUpdate:value": i.handleHemaRatingId
|
|
39994
39994
|
}, null, 8, ["inputValue", "onUpdate:value"]),
|
|
39995
|
-
p("div",
|
|
39995
|
+
p("div", E2, [
|
|
39996
39996
|
h(l, {
|
|
39997
39997
|
text: "Preferred Pronouns",
|
|
39998
39998
|
size: "sm",
|
|
@@ -40009,7 +40009,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
40009
40009
|
}, null, 8, ["label", "items", "selectedItem", "onUpdate:selectedItem"])
|
|
40010
40010
|
])
|
|
40011
40011
|
])) : b("", !0),
|
|
40012
|
-
p("div",
|
|
40012
|
+
p("div", Q2, [
|
|
40013
40013
|
n.userLevel === "Admin" ? (C(), ne(f, {
|
|
40014
40014
|
key: 0,
|
|
40015
40015
|
class: "mr-8",
|
|
@@ -40032,7 +40032,7 @@ function vY(t, e, n, r, o, i) {
|
|
|
40032
40032
|
]))
|
|
40033
40033
|
], 64);
|
|
40034
40034
|
}
|
|
40035
|
-
const b8 = /* @__PURE__ */ oe(
|
|
40035
|
+
const b8 = /* @__PURE__ */ oe(s2, [["render", v2]]), w2 = {
|
|
40036
40036
|
name: "ClubCard",
|
|
40037
40037
|
components: { BaseIcon: qe, BaseText: Be },
|
|
40038
40038
|
props: {
|
|
@@ -40053,18 +40053,18 @@ const b8 = /* @__PURE__ */ oe(sY, [["render", vY]]), wY = {
|
|
|
40053
40053
|
this.$emit("update:click");
|
|
40054
40054
|
}
|
|
40055
40055
|
}
|
|
40056
|
-
},
|
|
40056
|
+
}, y2 = { class: "w-9 h-9 rounded-md overflow-hidden" }, b2 = {
|
|
40057
40057
|
key: 0,
|
|
40058
40058
|
class: "w-14 h-14 bg-dropdownSelect flex items-center justify-center"
|
|
40059
|
-
},
|
|
40060
|
-
function
|
|
40059
|
+
}, x2 = ["src"], D2 = { class: "flex-1 ml-4" }, S2 = { class: "flex" };
|
|
40060
|
+
function k2(t, e, n, r, o, i) {
|
|
40061
40061
|
const A = w("BaseText");
|
|
40062
40062
|
return C(), I("section", {
|
|
40063
40063
|
class: "bg-poolSetup flex items-center p-2 shadow rounded-lg",
|
|
40064
40064
|
onClick: e[0] || (e[0] = (...a) => i.handleClick && i.handleClick(...a))
|
|
40065
40065
|
}, [
|
|
40066
|
-
p("div",
|
|
40067
|
-
n.clubImage ? b("", !0) : (C(), I("div",
|
|
40066
|
+
p("div", y2, [
|
|
40067
|
+
n.clubImage ? b("", !0) : (C(), I("div", b2, [
|
|
40068
40068
|
h(A, {
|
|
40069
40069
|
text: "",
|
|
40070
40070
|
size: "sm",
|
|
@@ -40076,10 +40076,10 @@ function kY(t, e, n, r, o, i) {
|
|
|
40076
40076
|
src: n.clubImage,
|
|
40077
40077
|
alt: "Fencer Portrait",
|
|
40078
40078
|
class: "w-full h-full object-cover"
|
|
40079
|
-
}, null, 8,
|
|
40079
|
+
}, null, 8, x2)
|
|
40080
40080
|
]),
|
|
40081
|
-
p("div",
|
|
40082
|
-
p("p",
|
|
40081
|
+
p("div", D2, [
|
|
40082
|
+
p("p", S2, [
|
|
40083
40083
|
h(A, {
|
|
40084
40084
|
text: n.clubName,
|
|
40085
40085
|
size: "sm",
|
|
@@ -40090,10 +40090,10 @@ function kY(t, e, n, r, o, i) {
|
|
|
40090
40090
|
])
|
|
40091
40091
|
]);
|
|
40092
40092
|
}
|
|
40093
|
-
const
|
|
40093
|
+
const M2 = /* @__PURE__ */ oe(w2, [["render", k2]]), O2 = {
|
|
40094
40094
|
name: "PeopleColumn",
|
|
40095
40095
|
components: {
|
|
40096
|
-
ClubCard:
|
|
40096
|
+
ClubCard: M2,
|
|
40097
40097
|
PoolFencerCard: cc,
|
|
40098
40098
|
BaseText: Be,
|
|
40099
40099
|
BaseInput: _t,
|
|
@@ -40126,11 +40126,11 @@ const MY = /* @__PURE__ */ oe(wY, [["render", kY]]), OY = {
|
|
|
40126
40126
|
this.$emit("update:selectedClub", t);
|
|
40127
40127
|
}
|
|
40128
40128
|
}
|
|
40129
|
-
},
|
|
40130
|
-
function
|
|
40129
|
+
}, T2 = { class: "w-96 p-4" }, R2 = { class: "mb-4 px-4" }, P2 = { class: "overflow-y-auto h-[800px]" };
|
|
40130
|
+
function z2(t, e, n, r, o, i) {
|
|
40131
40131
|
const A = w("TitledInput"), a = w("ClubCard");
|
|
40132
|
-
return C(), I("div",
|
|
40133
|
-
p("div",
|
|
40132
|
+
return C(), I("div", T2, [
|
|
40133
|
+
p("div", R2, [
|
|
40134
40134
|
h(A, {
|
|
40135
40135
|
inputValue: o.searchTerm,
|
|
40136
40136
|
placeholder: "Enter Name to Search",
|
|
@@ -40138,7 +40138,7 @@ function zY(t, e, n, r, o, i) {
|
|
|
40138
40138
|
"onUpdate:value": i.updateDisplayName
|
|
40139
40139
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
40140
40140
|
]),
|
|
40141
|
-
p("div",
|
|
40141
|
+
p("div", P2, [
|
|
40142
40142
|
p("ul", null, [
|
|
40143
40143
|
(C(!0), I(ae, null, Qe(i.filteredClubs, (l) => (C(), I("li", {
|
|
40144
40144
|
key: l.ClubId,
|
|
@@ -40155,20 +40155,20 @@ function zY(t, e, n, r, o, i) {
|
|
|
40155
40155
|
])
|
|
40156
40156
|
]);
|
|
40157
40157
|
}
|
|
40158
|
-
const
|
|
40158
|
+
const L2 = /* @__PURE__ */ oe(O2, [["render", z2]]), F2 = {
|
|
40159
40159
|
name: "ClubManagementSkeleton"
|
|
40160
|
-
},
|
|
40161
|
-
|
|
40160
|
+
}, N2 = { class: "flex" }, H2 = /* @__PURE__ */ As('<div class="rounded-lg p-9 bg-neutral w-full animate-pulse"><div class="w-full flex flex-row justify-center mb-4"><div class="h-8 bg-dropdownSelect rounded w-1/4"></div></div><div class="w-full flex-row justify-center mb-4 flex drop-shadow"><div class="w-32 h-32 border-2 border-dashed rounded-full bg-dropdownSelect"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-28 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-64 bg-dropdownSelect rounded"></div></div><div class="flex flex-col mb-4"><div class="h-6 bg-dropdownSelect rounded w-24 mb-2"></div><div class="h-10 bg-dropdownSelect rounded"></div></div><div class="flex flex-row justify-end mt-8"><div class="h-10 bg-dropdownSelect rounded w-full"></div></div></div>', 1), q2 = [
|
|
40161
|
+
H2
|
|
40162
40162
|
];
|
|
40163
|
-
function
|
|
40164
|
-
return C(), I("section",
|
|
40163
|
+
function Y2(t, e, n, r, o, i) {
|
|
40164
|
+
return C(), I("section", N2, q2);
|
|
40165
40165
|
}
|
|
40166
|
-
const
|
|
40166
|
+
const j2 = /* @__PURE__ */ oe(F2, [["render", Y2]]), K2 = {
|
|
40167
40167
|
name: "ClubManagement",
|
|
40168
40168
|
emits: ["submit:club", "addNewAddress", "delete:club", "update:selectedClub"],
|
|
40169
40169
|
components: {
|
|
40170
|
-
ClubManagementSkeleton:
|
|
40171
|
-
ClubColumn:
|
|
40170
|
+
ClubManagementSkeleton: j2,
|
|
40171
|
+
ClubColumn: L2,
|
|
40172
40172
|
BaseText: Be,
|
|
40173
40173
|
ImageCropper: gs,
|
|
40174
40174
|
TitledInput: xn,
|
|
@@ -40274,25 +40274,25 @@ const jY = /* @__PURE__ */ oe(FY, [["render", YY]]), KY = {
|
|
|
40274
40274
|
this.$emit("delete:club", this.club);
|
|
40275
40275
|
}
|
|
40276
40276
|
}
|
|
40277
|
-
},
|
|
40277
|
+
}, U2 = { key: 0 }, G2 = {
|
|
40278
40278
|
key: 1,
|
|
40279
40279
|
class: "flex"
|
|
40280
|
-
},
|
|
40281
|
-
function
|
|
40280
|
+
}, J2 = { key: 0 }, V2 = { class: "rounded-lg p-9 bg-neutral w-full" }, W2 = { class: "w-full flex flex-row justify-center mb-4" }, X2 = { class: "w-full flex-row justify-center mb-4 flex drop-shadow" }, Z2 = { class: "flex flex-col mb-4" }, _2 = { class: "flex flex-col mb-4" }, $2 = { class: "flex flex-col mb-4" }, eY = { class: "flex flex-col mb-4" }, tY = { class: "flex flex-row justify-end mt-8" };
|
|
40281
|
+
function nY(t, e, n, r, o, i) {
|
|
40282
40282
|
const A = w("ClubManagementSkeleton"), a = w("ClubColumn"), l = w("BaseText"), c = w("ImageCropper"), u = w("TitledInput"), d = w("TextBoxEditor"), g = w("FindLocation"), f = w("BaseButton");
|
|
40283
40283
|
return C(), I(ae, null, [
|
|
40284
|
-
n.loading ? (C(), I("section",
|
|
40284
|
+
n.loading ? (C(), I("section", U2, [
|
|
40285
40285
|
h(A)
|
|
40286
40286
|
])) : b("", !0),
|
|
40287
|
-
n.loading ? b("", !0) : (C(), I("section",
|
|
40288
|
-
n.userLevel === "Admin" ? (C(), I("div",
|
|
40287
|
+
n.loading ? b("", !0) : (C(), I("section", G2, [
|
|
40288
|
+
n.userLevel === "Admin" ? (C(), I("div", J2, [
|
|
40289
40289
|
h(a, {
|
|
40290
40290
|
clubs: n.clubs,
|
|
40291
40291
|
"onUpdate:selectedClub": i.handleClubClick
|
|
40292
40292
|
}, null, 8, ["clubs", "onUpdate:selectedClub"])
|
|
40293
40293
|
])) : b("", !0),
|
|
40294
|
-
p("div",
|
|
40295
|
-
p("div",
|
|
40294
|
+
p("div", V2, [
|
|
40295
|
+
p("div", W2, [
|
|
40296
40296
|
h(l, {
|
|
40297
40297
|
color: "primaryHighlight",
|
|
40298
40298
|
size: "2xl",
|
|
@@ -40300,7 +40300,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40300
40300
|
weight: "normal"
|
|
40301
40301
|
})
|
|
40302
40302
|
]),
|
|
40303
|
-
p("div",
|
|
40303
|
+
p("div", X2, [
|
|
40304
40304
|
h(c, {
|
|
40305
40305
|
urlToImage: i.getImageURL,
|
|
40306
40306
|
uploadImageName: n.uploadImageName,
|
|
@@ -40318,7 +40318,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40318
40318
|
"onUpdate:url": i.handleProfilePicUpdate
|
|
40319
40319
|
}, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "customClass", "onUpdate:url"])
|
|
40320
40320
|
]),
|
|
40321
|
-
p("div",
|
|
40321
|
+
p("div", Z2, [
|
|
40322
40322
|
h(u, {
|
|
40323
40323
|
inputValue: o.club.Name,
|
|
40324
40324
|
placeholder: "Enter Club Name",
|
|
@@ -40326,7 +40326,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40326
40326
|
"onUpdate:value": i.updateName
|
|
40327
40327
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
40328
40328
|
]),
|
|
40329
|
-
p("div",
|
|
40329
|
+
p("div", _2, [
|
|
40330
40330
|
h(u, {
|
|
40331
40331
|
inputValue: o.club.ShortName,
|
|
40332
40332
|
placeholder: "Enter Short Name",
|
|
@@ -40334,7 +40334,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40334
40334
|
"onUpdate:value": i.updateShortName
|
|
40335
40335
|
}, null, 8, ["inputValue", "onUpdate:value"])
|
|
40336
40336
|
]),
|
|
40337
|
-
p("div", $
|
|
40337
|
+
p("div", $2, [
|
|
40338
40338
|
h(l, {
|
|
40339
40339
|
color: "primaryHighlight",
|
|
40340
40340
|
size: "sm",
|
|
@@ -40348,7 +40348,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40348
40348
|
"onUpdate:editorContent": i.handleEditorUpdate
|
|
40349
40349
|
}, null, 8, ["initialContent", "onUpdate:editorContent"])
|
|
40350
40350
|
]),
|
|
40351
|
-
p("div",
|
|
40351
|
+
p("div", eY, [
|
|
40352
40352
|
h(l, {
|
|
40353
40353
|
text: "Address",
|
|
40354
40354
|
size: "sm",
|
|
@@ -40363,7 +40363,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40363
40363
|
onUpdateLocation: i.handleAddressUpdate
|
|
40364
40364
|
}, null, 8, ["locations", "placeholder", "onUpdate:addNewAddress", "onUpdateLocation"])
|
|
40365
40365
|
]),
|
|
40366
|
-
p("div",
|
|
40366
|
+
p("div", tY, [
|
|
40367
40367
|
n.userLevel === "Admin" ? (C(), ne(f, {
|
|
40368
40368
|
key: 0,
|
|
40369
40369
|
class: "mr-8",
|
|
@@ -40386,7 +40386,7 @@ function n2(t, e, n, r, o, i) {
|
|
|
40386
40386
|
]))
|
|
40387
40387
|
], 64);
|
|
40388
40388
|
}
|
|
40389
|
-
const x8 = /* @__PURE__ */ oe(
|
|
40389
|
+
const x8 = /* @__PURE__ */ oe(K2, [["render", nY]]), rY = {
|
|
40390
40390
|
name: "TournamentAssignments",
|
|
40391
40391
|
components: { BaseIcon: qe, BaseText: Be, BaseButton: He },
|
|
40392
40392
|
props: {
|
|
@@ -40505,20 +40505,20 @@ const x8 = /* @__PURE__ */ oe(KY, [["render", n2]]), r2 = {
|
|
|
40505
40505
|
this.$emit("refreshAssignments");
|
|
40506
40506
|
}
|
|
40507
40507
|
}
|
|
40508
|
-
},
|
|
40508
|
+
}, oY = { class: "w-full md:p-4" }, iY = { class: "w-full flex justify-between" }, sY = { class: "flex" }, AY = {
|
|
40509
40509
|
key: 0,
|
|
40510
40510
|
class: "text-center mt-10"
|
|
40511
|
-
},
|
|
40511
|
+
}, aY = { key: 1 }, lY = { class: "flex mr-4 md:mr-0" }, cY = { class: "hidden md:flex w-14 h-20 flex-col pt-5" }, uY = ["src"], dY = { class: "w-full flex flex-col h-14 justify-end md:ml-2" }, gY = { class: "w-full flex ml-2 justify-between border-b" }, hY = { class: "md:ml-14 md:-mt-2 w-full mt-2" }, pY = { class: "flex-grow flex justify-between items-center bg-poolSetup px-4 py-2 rounded-lg" }, fY = { class: "flex items-center space-x-4" }, CY = { class: "hidden md:flex" }, mY = { class: "w-12 md:flex bg-poolSetup ml-2 px-4 py-2 rounded-lg" }, IY = {
|
|
40512
40512
|
key: 0,
|
|
40513
40513
|
class: "w-12 ml-1"
|
|
40514
|
-
},
|
|
40514
|
+
}, BY = {
|
|
40515
40515
|
key: 1,
|
|
40516
40516
|
class: "w-12 ml-1"
|
|
40517
40517
|
};
|
|
40518
|
-
function
|
|
40518
|
+
function EY(t, e, n, r, o, i) {
|
|
40519
40519
|
const A = w("BaseText"), a = w("BaseButton"), l = w("BaseIcon");
|
|
40520
|
-
return C(), I("div",
|
|
40521
|
-
p("div",
|
|
40520
|
+
return C(), I("div", oY, [
|
|
40521
|
+
p("div", iY, [
|
|
40522
40522
|
h(A, {
|
|
40523
40523
|
text: "Assignments",
|
|
40524
40524
|
color: "primary",
|
|
@@ -40527,7 +40527,7 @@ function E2(t, e, n, r, o, i) {
|
|
|
40527
40527
|
weight: "bold",
|
|
40528
40528
|
class: "pt-2"
|
|
40529
40529
|
}),
|
|
40530
|
-
p("div",
|
|
40530
|
+
p("div", sY, [
|
|
40531
40531
|
h(a, {
|
|
40532
40532
|
iconName: "fa-arrow-rotate-right",
|
|
40533
40533
|
iconLeft: !0,
|
|
@@ -40554,7 +40554,7 @@ function E2(t, e, n, r, o, i) {
|
|
|
40554
40554
|
}, null, 8, ["selected"])
|
|
40555
40555
|
])
|
|
40556
40556
|
]),
|
|
40557
|
-
i.filteredAssignments.length === 0 ? (C(), I("div",
|
|
40557
|
+
i.filteredAssignments.length === 0 ? (C(), I("div", AY, [
|
|
40558
40558
|
h(A, {
|
|
40559
40559
|
text: "No Current Assignments",
|
|
40560
40560
|
color: "secondary",
|
|
@@ -40562,21 +40562,21 @@ function E2(t, e, n, r, o, i) {
|
|
|
40562
40562
|
weight: "normal"
|
|
40563
40563
|
})
|
|
40564
40564
|
])) : b("", !0),
|
|
40565
|
-
i.filteredAssignments.length > 0 ? (C(), I("section",
|
|
40565
|
+
i.filteredAssignments.length > 0 ? (C(), I("section", aY, [
|
|
40566
40566
|
(C(!0), I(ae, null, Qe(i.filteredAssignments, (c) => (C(), I("div", {
|
|
40567
40567
|
key: c.TournamentId,
|
|
40568
40568
|
class: "mb-6"
|
|
40569
40569
|
}, [
|
|
40570
|
-
p("div",
|
|
40571
|
-
p("div",
|
|
40570
|
+
p("div", lY, [
|
|
40571
|
+
p("div", cY, [
|
|
40572
40572
|
p("img", {
|
|
40573
40573
|
src: i.getTournamentArtworkURL(c),
|
|
40574
40574
|
alt: "Tournament Artwork",
|
|
40575
40575
|
class: "w-14 h-14 rounded-lg object-cover"
|
|
40576
|
-
}, null, 8,
|
|
40576
|
+
}, null, 8, uY)
|
|
40577
40577
|
]),
|
|
40578
|
-
p("div",
|
|
40579
|
-
p("div",
|
|
40578
|
+
p("div", dY, [
|
|
40579
|
+
p("div", gY, [
|
|
40580
40580
|
h(A, {
|
|
40581
40581
|
text: c.Name,
|
|
40582
40582
|
color: "primary",
|
|
@@ -40593,13 +40593,13 @@ function E2(t, e, n, r, o, i) {
|
|
|
40593
40593
|
])
|
|
40594
40594
|
])
|
|
40595
40595
|
]),
|
|
40596
|
-
p("div",
|
|
40596
|
+
p("div", hY, [
|
|
40597
40597
|
(C(!0), I(ae, null, Qe(c.Events, (u) => (C(), I("section", {
|
|
40598
40598
|
key: u.EventId,
|
|
40599
40599
|
class: "md:pl-4 mb-2 flex md:w-11/12"
|
|
40600
40600
|
}, [
|
|
40601
|
-
p("div",
|
|
40602
|
-
p("div",
|
|
40601
|
+
p("div", pY, [
|
|
40602
|
+
p("div", fY, [
|
|
40603
40603
|
h(l, {
|
|
40604
40604
|
iconName: i.getRoleIcon(u),
|
|
40605
40605
|
iconStyle: i.getIconStyle(u),
|
|
@@ -40614,7 +40614,7 @@ function E2(t, e, n, r, o, i) {
|
|
|
40614
40614
|
class: "text-xs md:text-sm"
|
|
40615
40615
|
}, null, 8, ["text"])
|
|
40616
40616
|
]),
|
|
40617
|
-
p("span",
|
|
40617
|
+
p("span", CY, [
|
|
40618
40618
|
h(A, {
|
|
40619
40619
|
text: i.formatEventDate(u.Date, u.StartTime),
|
|
40620
40620
|
color: "primary",
|
|
@@ -40624,7 +40624,7 @@ function E2(t, e, n, r, o, i) {
|
|
|
40624
40624
|
}, null, 8, ["text"])
|
|
40625
40625
|
])
|
|
40626
40626
|
]),
|
|
40627
|
-
p("div",
|
|
40627
|
+
p("div", mY, [
|
|
40628
40628
|
h(l, {
|
|
40629
40629
|
iconName: i.getStatusIcon(u),
|
|
40630
40630
|
size: "md",
|
|
@@ -40632,7 +40632,7 @@ function E2(t, e, n, r, o, i) {
|
|
|
40632
40632
|
class: ee(i.getIconClass(u))
|
|
40633
40633
|
}, null, 8, ["iconName", "class"])
|
|
40634
40634
|
]),
|
|
40635
|
-
i.shouldShowButton(u) && o.showCurrent ? (C(), I("div",
|
|
40635
|
+
i.shouldShowButton(u) && o.showCurrent ? (C(), I("div", IY, [
|
|
40636
40636
|
i.shouldShowButton(u) ? (C(), ne(a, {
|
|
40637
40637
|
key: 0,
|
|
40638
40638
|
iconName: "fa-right-from-line",
|
|
@@ -40644,14 +40644,14 @@ function E2(t, e, n, r, o, i) {
|
|
|
40644
40644
|
class: "h-10 w-10 pr-4"
|
|
40645
40645
|
}, null, 8, ["onButtonClick"])) : b("", !0)
|
|
40646
40646
|
])) : b("", !0),
|
|
40647
|
-
!i.shouldShowButton(u) && o.showCurrent ? (C(), I("span",
|
|
40647
|
+
!i.shouldShowButton(u) && o.showCurrent ? (C(), I("span", BY)) : b("", !0)
|
|
40648
40648
|
]))), 128))
|
|
40649
40649
|
])
|
|
40650
40650
|
]))), 128))
|
|
40651
40651
|
])) : b("", !0)
|
|
40652
40652
|
]);
|
|
40653
40653
|
}
|
|
40654
|
-
const D8 = /* @__PURE__ */ oe(
|
|
40654
|
+
const D8 = /* @__PURE__ */ oe(rY, [["render", EY]]), QY = {
|
|
40655
40655
|
name: "PenaltyFencerCard",
|
|
40656
40656
|
components: { BaseButton: He, BaseIcon: qe, BaseText: Be },
|
|
40657
40657
|
emits: ["handleConfirmRemoval", "penalty:removal"],
|
|
@@ -40712,29 +40712,29 @@ const D8 = /* @__PURE__ */ oe(r2, [["render", E2]]), Q2 = {
|
|
|
40712
40712
|
t.PersonId = this.personPenalties.PersonId, this.$emit("penalty:removal", t);
|
|
40713
40713
|
}
|
|
40714
40714
|
}
|
|
40715
|
-
},
|
|
40715
|
+
}, vY = { class: "hidden md:block mr-4" }, wY = {
|
|
40716
40716
|
key: 0,
|
|
40717
40717
|
class: "w-9 h-9 rounded-xl bg-dropdownSelect flex items-center justify-center"
|
|
40718
|
-
},
|
|
40718
|
+
}, yY = ["src"], bY = { class: "flex flex-col w-1/2 md:w-4/12 justify-start" }, xY = { class: "flex flex-row ml-auto space-x-4" }, DY = {
|
|
40719
40719
|
key: 0,
|
|
40720
40720
|
class: "flex items-center"
|
|
40721
|
-
},
|
|
40721
|
+
}, SY = {
|
|
40722
40722
|
key: 1,
|
|
40723
40723
|
class: "flex items-center"
|
|
40724
|
-
},
|
|
40724
|
+
}, kY = {
|
|
40725
40725
|
key: 2,
|
|
40726
40726
|
class: "flex items-center ml-2"
|
|
40727
|
-
},
|
|
40727
|
+
}, MY = {
|
|
40728
40728
|
key: 3,
|
|
40729
40729
|
class: "flex items-center ml-2"
|
|
40730
|
-
},
|
|
40730
|
+
}, OY = { class: "ml-4" }, TY = {
|
|
40731
40731
|
key: 0,
|
|
40732
40732
|
class: "border-t border-dropdownSelect md:p-3"
|
|
40733
|
-
},
|
|
40733
|
+
}, RY = { class: "flex flex-row justify-between" }, PY = { class: "flex flex-row" }, zY = { class: "flex flex-row" }, LY = { class: "flex flex-col md:flex-row justify-between my-1" }, FY = { class: "flex flex-row" }, NY = { class: "flex flex-row" }, HY = {
|
|
40734
40734
|
key: 0,
|
|
40735
40735
|
class: "md:-mt-5 mx-auto"
|
|
40736
40736
|
};
|
|
40737
|
-
function
|
|
40737
|
+
function qY(t, e, n, r, o, i) {
|
|
40738
40738
|
const A = w("BaseText"), a = w("BaseIcon"), l = w("BaseButton");
|
|
40739
40739
|
return C(), I(ae, null, [
|
|
40740
40740
|
n.personPenalties ? (C(), I("div", {
|
|
@@ -40742,8 +40742,8 @@ function q2(t, e, n, r, o, i) {
|
|
|
40742
40742
|
class: "flex items-center border-b border-dropdownSelect bg-white hover:border-bright px-4 py-4",
|
|
40743
40743
|
onClick: e[0] || (e[0] = (...c) => i.toggleDetails && i.toggleDetails(...c))
|
|
40744
40744
|
}, [
|
|
40745
|
-
p("div",
|
|
40746
|
-
i.portraitURL ? b("", !0) : (C(), I("div",
|
|
40745
|
+
p("div", vY, [
|
|
40746
|
+
i.portraitURL ? b("", !0) : (C(), I("div", wY, [
|
|
40747
40747
|
h(A, {
|
|
40748
40748
|
text: "",
|
|
40749
40749
|
size: "sm",
|
|
@@ -40756,9 +40756,9 @@ function q2(t, e, n, r, o, i) {
|
|
|
40756
40756
|
src: i.portraitURL,
|
|
40757
40757
|
alt: "Portrait",
|
|
40758
40758
|
class: "w-9 h-9 rounded-xl"
|
|
40759
|
-
}, null, 8,
|
|
40759
|
+
}, null, 8, yY)) : b("", !0)
|
|
40760
40760
|
]),
|
|
40761
|
-
p("div",
|
|
40761
|
+
p("div", bY, [
|
|
40762
40762
|
h(A, {
|
|
40763
40763
|
text: n.personPenalties.DisplayName,
|
|
40764
40764
|
size: "md",
|
|
@@ -40767,8 +40767,8 @@ function q2(t, e, n, r, o, i) {
|
|
|
40767
40767
|
class: "text-sm md:text-lg"
|
|
40768
40768
|
}, null, 8, ["text"])
|
|
40769
40769
|
]),
|
|
40770
|
-
p("div",
|
|
40771
|
-
i.yellowCardCount > 0 ? (C(), I("div",
|
|
40770
|
+
p("div", xY, [
|
|
40771
|
+
i.yellowCardCount > 0 ? (C(), I("div", DY, [
|
|
40772
40772
|
h(a, {
|
|
40773
40773
|
"icon-name": "fa-square",
|
|
40774
40774
|
size: "lg",
|
|
@@ -40782,7 +40782,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40782
40782
|
class: "ml-2"
|
|
40783
40783
|
}, null, 8, ["text"])
|
|
40784
40784
|
])) : b("", !0),
|
|
40785
|
-
i.redCardCount > 0 ? (C(), I("div",
|
|
40785
|
+
i.redCardCount > 0 ? (C(), I("div", SY, [
|
|
40786
40786
|
h(a, {
|
|
40787
40787
|
"icon-name": "fa-square",
|
|
40788
40788
|
size: "lg",
|
|
@@ -40796,14 +40796,14 @@ function q2(t, e, n, r, o, i) {
|
|
|
40796
40796
|
class: "ml-2"
|
|
40797
40797
|
}, null, 8, ["text"])
|
|
40798
40798
|
])) : b("", !0),
|
|
40799
|
-
i.blackCardCount > 0 ? (C(), I("div",
|
|
40799
|
+
i.blackCardCount > 0 ? (C(), I("div", kY, [
|
|
40800
40800
|
h(a, {
|
|
40801
40801
|
"icon-name": "fa-square",
|
|
40802
40802
|
size: "lg",
|
|
40803
40803
|
color: "black"
|
|
40804
40804
|
})
|
|
40805
40805
|
])) : b("", !0),
|
|
40806
|
-
i.medicalCount > 0 ? (C(), I("div",
|
|
40806
|
+
i.medicalCount > 0 ? (C(), I("div", MY, [
|
|
40807
40807
|
h(a, {
|
|
40808
40808
|
"icon-name": "fa-plus-circle",
|
|
40809
40809
|
size: "lg",
|
|
@@ -40811,7 +40811,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40811
40811
|
})
|
|
40812
40812
|
])) : b("", !0)
|
|
40813
40813
|
]),
|
|
40814
|
-
p("button",
|
|
40814
|
+
p("button", OY, [
|
|
40815
40815
|
h(a, {
|
|
40816
40816
|
"icon-name": "fa-chevron-down",
|
|
40817
40817
|
size: "lg",
|
|
@@ -40822,13 +40822,13 @@ function q2(t, e, n, r, o, i) {
|
|
|
40822
40822
|
])) : b("", !0),
|
|
40823
40823
|
h(cn, { name: "fade-in-down" }, {
|
|
40824
40824
|
default: Oe(() => [
|
|
40825
|
-
o.localShowDetails ? (C(), I("div",
|
|
40825
|
+
o.localShowDetails ? (C(), I("div", TY, [
|
|
40826
40826
|
(C(!0), I(ae, null, Qe(n.personPenalties.Penalties, (c) => (C(), I("div", {
|
|
40827
40827
|
key: c.BoutId,
|
|
40828
40828
|
class: "flex flex-col p-2 border-b my-2"
|
|
40829
40829
|
}, [
|
|
40830
|
-
p("div",
|
|
40831
|
-
p("div",
|
|
40830
|
+
p("div", RY, [
|
|
40831
|
+
p("div", PY, [
|
|
40832
40832
|
h(a, {
|
|
40833
40833
|
"icon-name": o.penaltyIcons[c.PenaltyType],
|
|
40834
40834
|
size: "md",
|
|
@@ -40842,7 +40842,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40842
40842
|
class: "-mt-0.5 ml-2 text-sm md:text-md"
|
|
40843
40843
|
}, null, 8, ["text"])
|
|
40844
40844
|
]),
|
|
40845
|
-
p("div",
|
|
40845
|
+
p("div", zY, [
|
|
40846
40846
|
h(A, {
|
|
40847
40847
|
text: n.eventName,
|
|
40848
40848
|
size: "sm",
|
|
@@ -40866,8 +40866,8 @@ function q2(t, e, n, r, o, i) {
|
|
|
40866
40866
|
}, null, 8, ["text"])
|
|
40867
40867
|
])
|
|
40868
40868
|
]),
|
|
40869
|
-
p("div",
|
|
40870
|
-
p("div",
|
|
40869
|
+
p("div", LY, [
|
|
40870
|
+
p("div", FY, [
|
|
40871
40871
|
h(A, {
|
|
40872
40872
|
text: "Notes:",
|
|
40873
40873
|
size: "sm",
|
|
@@ -40884,7 +40884,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40884
40884
|
class: "ml-2"
|
|
40885
40885
|
}, null, 8, ["text"])) : b("", !0)
|
|
40886
40886
|
]),
|
|
40887
|
-
p("div",
|
|
40887
|
+
p("div", NY, [
|
|
40888
40888
|
h(A, {
|
|
40889
40889
|
text: "Issued By:",
|
|
40890
40890
|
size: "sm",
|
|
@@ -40901,7 +40901,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40901
40901
|
}, null, 8, ["text"])
|
|
40902
40902
|
])
|
|
40903
40903
|
]),
|
|
40904
|
-
c.PenaltyType === "Black" ? (C(), I("div",
|
|
40904
|
+
c.PenaltyType === "Black" && !c.Confirmed ? (C(), I("div", HY, [
|
|
40905
40905
|
h(l, {
|
|
40906
40906
|
label: "Confirm Removal of Fencer",
|
|
40907
40907
|
size: "sm",
|
|
@@ -40917,7 +40917,7 @@ function q2(t, e, n, r, o, i) {
|
|
|
40917
40917
|
})
|
|
40918
40918
|
], 64);
|
|
40919
40919
|
}
|
|
40920
|
-
const
|
|
40920
|
+
const YY = /* @__PURE__ */ oe(QY, [["render", qY], ["__scopeId", "data-v-ce4912da"]]), jY = {
|
|
40921
40921
|
name: "PenaltySummary",
|
|
40922
40922
|
components: { BaseText: Be, EventStatusBox: gi },
|
|
40923
40923
|
props: {
|
|
@@ -40968,12 +40968,12 @@ const Y2 = /* @__PURE__ */ oe(Q2, [["render", q2], ["__scopeId", "data-v-ff6d7c6
|
|
|
40968
40968
|
return !isNaN(t) && t !== null && t !== void 0;
|
|
40969
40969
|
}
|
|
40970
40970
|
}
|
|
40971
|
-
},
|
|
40972
|
-
function
|
|
40971
|
+
}, KY = { class: "flex flex-col md:flex-row md:bg-poolSetup py-1 px-2 md:px-4 md:rounded-xl justify-between md:shadow md:border border-dropdownSelect" }, UY = { class: "hidden md:flex flex-col pt-2" }, GY = { class: "flex flex-row space-x-4 items-center" };
|
|
40972
|
+
function JY(t, e, n, r, o, i) {
|
|
40973
40973
|
var l;
|
|
40974
40974
|
const A = w("BaseText"), a = w("EventStatusBox");
|
|
40975
|
-
return C(), I("div",
|
|
40976
|
-
p("section",
|
|
40975
|
+
return C(), I("div", KY, [
|
|
40976
|
+
p("section", UY, [
|
|
40977
40977
|
h(A, {
|
|
40978
40978
|
text: ((l = n.event) == null ? void 0 : l.EventName) || "Unknown Event",
|
|
40979
40979
|
size: "",
|
|
@@ -40982,7 +40982,7 @@ function J2(t, e, n, r, o, i) {
|
|
|
40982
40982
|
class: "text-sm md:text-lg"
|
|
40983
40983
|
}, null, 8, ["text"])
|
|
40984
40984
|
]),
|
|
40985
|
-
p("section",
|
|
40985
|
+
p("section", GY, [
|
|
40986
40986
|
h(a, {
|
|
40987
40987
|
"status-count": i.safeYellowCards,
|
|
40988
40988
|
"status-label": "Yellow",
|
|
@@ -41006,13 +41006,14 @@ function J2(t, e, n, r, o, i) {
|
|
|
41006
41006
|
])
|
|
41007
41007
|
]);
|
|
41008
41008
|
}
|
|
41009
|
-
const
|
|
41010
|
-
components: { PenaltySummary:
|
|
41009
|
+
const VY = /* @__PURE__ */ oe(jY, [["render", JY]]), WY = {
|
|
41010
|
+
components: { PenaltySummary: VY, BaseText: Be, EditEventsTopMenu: Cn, PenaltyFencerCard: YY },
|
|
41011
41011
|
emits: ["tab:menu-click", "penalty:removal"],
|
|
41012
41012
|
props: {
|
|
41013
41013
|
event: {
|
|
41014
41014
|
type: Object,
|
|
41015
|
-
required: !0
|
|
41015
|
+
required: !0,
|
|
41016
|
+
default: () => ({})
|
|
41016
41017
|
},
|
|
41017
41018
|
penalties: {
|
|
41018
41019
|
type: Array,
|
|
@@ -41026,11 +41027,15 @@ const V2 = /* @__PURE__ */ oe(j2, [["render", J2]]), W2 = {
|
|
|
41026
41027
|
data() {
|
|
41027
41028
|
return {
|
|
41028
41029
|
emptyDesertIcon: Vt,
|
|
41030
|
+
windowWidth: window.innerWidth,
|
|
41029
41031
|
detailsVisible: {},
|
|
41030
41032
|
tabs: ir
|
|
41031
41033
|
};
|
|
41032
41034
|
},
|
|
41033
41035
|
computed: {
|
|
41036
|
+
isMobile() {
|
|
41037
|
+
return this.windowWidth <= 748;
|
|
41038
|
+
},
|
|
41034
41039
|
totalYellowCards() {
|
|
41035
41040
|
return Array.isArray(this.penalties) ? this.penalties.reduce((t, e) => t + (Array.isArray(e == null ? void 0 : e.Penalties) ? e.Penalties.filter((n) => (n == null ? void 0 : n.PenaltyType) === "Yellow").length : 0), 0) : 0;
|
|
41036
41041
|
},
|
|
@@ -41052,19 +41057,19 @@ const V2 = /* @__PURE__ */ oe(j2, [["render", J2]]), W2 = {
|
|
|
41052
41057
|
console.log(t), this.$emit("penalty:removal", t);
|
|
41053
41058
|
}
|
|
41054
41059
|
}
|
|
41055
|
-
},
|
|
41060
|
+
}, XY = /* @__PURE__ */ p("div", { class: "md:p-4" }, null, -1), ZY = {
|
|
41056
41061
|
key: 0,
|
|
41057
41062
|
class: "mb-10"
|
|
41058
|
-
},
|
|
41063
|
+
}, _Y = {
|
|
41059
41064
|
key: 1,
|
|
41060
41065
|
class: "mb-10"
|
|
41061
|
-
}, $
|
|
41066
|
+
}, $Y = ["src"], e8 = { class: "flex justify-center" };
|
|
41062
41067
|
function t8(t, e, n, r, o, i) {
|
|
41063
41068
|
const A = w("EditEventsTopMenu"), a = w("PenaltySummary"), l = w("PenaltyFencerCard"), c = w("BaseText");
|
|
41064
41069
|
return C(), I("section", null, [
|
|
41065
41070
|
h(A, {
|
|
41066
41071
|
currentTab: "Penalties",
|
|
41067
|
-
tabs: o.tabs(n.role,
|
|
41072
|
+
tabs: o.tabs(n.role, i.isMobile),
|
|
41068
41073
|
onTabMenuClick: i.handleTabMenuClick
|
|
41069
41074
|
}, null, 8, ["tabs", "onTabMenuClick"]),
|
|
41070
41075
|
h(a, {
|
|
@@ -41074,8 +41079,8 @@ function t8(t, e, n, r, o, i) {
|
|
|
41074
41079
|
blackCards: i.totalBlackCards,
|
|
41075
41080
|
medicalCalls: i.totalMedicalCalls
|
|
41076
41081
|
}, null, 8, ["event", "yellowCards", "redCards", "blackCards", "medicalCalls"]),
|
|
41077
|
-
|
|
41078
|
-
n.penalties.length > 0 ? (C(), I("div",
|
|
41082
|
+
XY,
|
|
41083
|
+
n.penalties.length > 0 ? (C(), I("div", ZY, [
|
|
41079
41084
|
(C(!0), I(ae, null, Qe(n.penalties, (u, d) => (C(), I("div", { key: d }, [
|
|
41080
41085
|
h(l, {
|
|
41081
41086
|
eventName: "This is a event",
|
|
@@ -41084,12 +41089,12 @@ function t8(t, e, n, r, o, i) {
|
|
|
41084
41089
|
}, null, 8, ["personPenalties", "onPenalty:removal"])
|
|
41085
41090
|
]))), 128))
|
|
41086
41091
|
])) : b("", !0),
|
|
41087
|
-
!Array.isArray(n.penalties) || n.penalties.length === 0 ? (C(), I("div",
|
|
41092
|
+
!Array.isArray(n.penalties) || n.penalties.length === 0 ? (C(), I("div", _Y, [
|
|
41088
41093
|
p("img", {
|
|
41089
41094
|
alt: "Small desert scene with wind blowing.",
|
|
41090
41095
|
class: "w-60 mt-8 mx-auto",
|
|
41091
41096
|
src: o.emptyDesertIcon
|
|
41092
|
-
}, null, 8, $
|
|
41097
|
+
}, null, 8, $Y),
|
|
41093
41098
|
p("div", e8, [
|
|
41094
41099
|
h(c, {
|
|
41095
41100
|
color: "primaryHighlight",
|
|
@@ -41102,7 +41107,7 @@ function t8(t, e, n, r, o, i) {
|
|
|
41102
41107
|
])) : b("", !0)
|
|
41103
41108
|
]);
|
|
41104
41109
|
}
|
|
41105
|
-
const S8 = /* @__PURE__ */ oe(
|
|
41110
|
+
const S8 = /* @__PURE__ */ oe(WY, [["render", t8]]);
|
|
41106
41111
|
export {
|
|
41107
41112
|
l8 as AddTournamentPageOne,
|
|
41108
41113
|
c8 as AddTournamentPageTwo,
|