@dcrackel/hematournamentui 1.0.290 → 1.0.291
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.
|
@@ -37487,7 +37487,7 @@ const LY = /* @__PURE__ */ te(OY, [["render", FY]]), HY = {
|
|
|
37487
37487
|
return this.person.FirstName + " " + this.person.LastName;
|
|
37488
37488
|
},
|
|
37489
37489
|
getImageURL() {
|
|
37490
|
-
return this.person.ProfileImage.URL;
|
|
37490
|
+
return this.person.ProfileImage ? this.person.ProfileImage.URL : "";
|
|
37491
37491
|
},
|
|
37492
37492
|
getClubName() {
|
|
37493
37493
|
return { text: this.person.Club.Name, link: this.person.Club.ClubId };
|
|
@@ -37497,6 +37497,9 @@ const LY = /* @__PURE__ */ te(OY, [["render", FY]]), HY = {
|
|
|
37497
37497
|
},
|
|
37498
37498
|
getEmail() {
|
|
37499
37499
|
return this.person.PersonEmails.find((n) => n.IsPrimary === !0).EmailAddress || "";
|
|
37500
|
+
},
|
|
37501
|
+
getClass() {
|
|
37502
|
+
return this.person.ProfileImage ? "border-2 border-dashed rounded-full w-32" : "border-2 border-dashed rounded-lg w-full";
|
|
37500
37503
|
}
|
|
37501
37504
|
},
|
|
37502
37505
|
methods: {
|
|
@@ -37558,7 +37561,7 @@ function eq(n, e, t, r, i, o) {
|
|
|
37558
37561
|
uploadImageName: t.uploadImageName,
|
|
37559
37562
|
uploadServer: t.uploadServer,
|
|
37560
37563
|
imageServer: t.imageServer,
|
|
37561
|
-
customClass:
|
|
37564
|
+
customClass: o.getClass,
|
|
37562
37565
|
cropperOptions: {
|
|
37563
37566
|
aspectRatio: 4 / 4,
|
|
37564
37567
|
autoCropArea: 1,
|
|
@@ -37567,7 +37570,7 @@ function eq(n, e, t, r, i, o) {
|
|
|
37567
37570
|
zoomable: !0
|
|
37568
37571
|
},
|
|
37569
37572
|
"onUpdate:url": o.handleProfilePicUpdate
|
|
37570
|
-
}, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "onUpdate:url"])
|
|
37573
|
+
}, null, 8, ["urlToImage", "uploadImageName", "uploadServer", "imageServer", "customClass", "onUpdate:url"])
|
|
37571
37574
|
]),
|
|
37572
37575
|
h("div", KY, [
|
|
37573
37576
|
p(l, {
|