@dcrackel/hematournamentui 1.0.490 → 1.0.491
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.
|
@@ -31758,7 +31758,7 @@ const l2 = /* @__PURE__ */ Ae(p4, [["render", y4]]), b4 = "data:image/png;base64
|
|
|
31758
31758
|
},
|
|
31759
31759
|
methods: {
|
|
31760
31760
|
handleButtonClick(n) {
|
|
31761
|
-
if (n.label === "Log Out") {
|
|
31761
|
+
if (this.dropdownOpen = !1, n.label === "Log Out") {
|
|
31762
31762
|
this.handleLogOut();
|
|
31763
31763
|
return;
|
|
31764
31764
|
}
|
|
@@ -31775,7 +31775,7 @@ const l2 = /* @__PURE__ */ Ae(p4, [["render", y4]]), b4 = "data:image/png;base64
|
|
|
31775
31775
|
this.$emit("button:Logout"), s;
|
|
31776
31776
|
},
|
|
31777
31777
|
openDropDownMenu() {
|
|
31778
|
-
this.dropdownOpen = !
|
|
31778
|
+
this.dropdownOpen = !this.dropdownOpen, event.stopPropagation();
|
|
31779
31779
|
},
|
|
31780
31780
|
closeDropDownMenu() {
|
|
31781
31781
|
this.dropdownOpen = !1;
|
|
@@ -31840,14 +31840,15 @@ function N4(n, e, t, r, o, i) {
|
|
|
31840
31840
|
h("img", {
|
|
31841
31841
|
alt: "Logo",
|
|
31842
31842
|
class: "w-8",
|
|
31843
|
-
src: o.logoImage
|
|
31843
|
+
src: o.logoImage,
|
|
31844
|
+
onClick: e[2] || (e[2] = (c) => i.handleButtonClick("/"))
|
|
31844
31845
|
}, null, 8, L4),
|
|
31845
31846
|
h("div", null, [
|
|
31846
31847
|
p(l, {
|
|
31847
31848
|
"icon-name": "fa-bars",
|
|
31848
31849
|
size: "md",
|
|
31849
31850
|
color: "neutral",
|
|
31850
|
-
onClick: e[
|
|
31851
|
+
onClick: e[3] || (e[3] = (c) => i.openDropDownMenu(c))
|
|
31851
31852
|
})
|
|
31852
31853
|
])
|
|
31853
31854
|
]),
|
|
@@ -31855,7 +31856,7 @@ function N4(n, e, t, r, o, i) {
|
|
|
31855
31856
|
key: 0,
|
|
31856
31857
|
id: "mobiledropdown",
|
|
31857
31858
|
class: "fixed right-2 mt-10 bg-secondary border rounded border-lineGrey shadow-xl z-50 p-1",
|
|
31858
|
-
onClick: e[
|
|
31859
|
+
onClick: e[4] || (e[4] = gt(() => {
|
|
31859
31860
|
}, ["stop"]))
|
|
31860
31861
|
}, [
|
|
31861
31862
|
h("ul", null, [
|
|
@@ -39722,7 +39723,9 @@ const v2 = /* @__PURE__ */ Ae(BY, [["render", OY]]), TY = {
|
|
|
39722
39723
|
return ((e = n.Images) == null ? void 0 : e.URL) || Ea;
|
|
39723
39724
|
},
|
|
39724
39725
|
formatEventDate(n, e) {
|
|
39725
|
-
const t = /* @__PURE__ */ new Date(`${n}T${e}`)
|
|
39726
|
+
const t = /* @__PURE__ */ new Date(`${n}T${e}`);
|
|
39727
|
+
console.log(t);
|
|
39728
|
+
const r = { weekday: "long", hour: "numeric", minute: "2-digit", hour12: !0 };
|
|
39726
39729
|
return t.toLocaleDateString("en-US", r);
|
|
39727
39730
|
},
|
|
39728
39731
|
getRoleIcon(n) {
|