@dcrackel/hematournamentui 1.0.280 → 1.0.282
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 +20 -12
- package/dist/HemaTournamentUI-lib.umd.js +18 -18
- package/package.json +1 -1
- package/src/stories/Molecules/Buttons/BaseButton/BaseButton.vue +1 -1
- package/src/stories/Organisms/Headers/PoolResultsHeader/PoolResultsHeader.vue +1 -1
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.stories.js +4 -4
- package/src/stories/Templates/Menus/Admin/AdminLeftMenu.vue +22 -12
|
@@ -571,7 +571,7 @@ const RY = /* @__PURE__ */ re(Jf, [["render", Vf]]), Wf = {
|
|
|
571
571
|
tertiary: `px-2.5 py-0.5 items-center gap-2.5 rounded-md text-center justify-center border border-dropdownSelect hover:bg-dropdownSelect ${n.selected ? "bg-primary" : "bg-tertiary"}`,
|
|
572
572
|
bright: `px-3 py-1 items-center gap-2.5 rounded-md text-center justify-center hover:bg-primary text-neutral ${n.selected ? "bg-primary" : "bg-bright"}`,
|
|
573
573
|
admin: `px-2.5 py-2 items-center rounded-md gap-2.5 text-center my-1 text-neutral hover:bg-primaryHighlight ${n.selected, "bg-primary"}`,
|
|
574
|
-
adminSecondary: `px-2.5 py-
|
|
574
|
+
adminSecondary: `px-2.5 py-1.5 my-1 rounded-md items-center gap-2.5 text-center hover:bg-bright w-full text-neutral ${n.selected, "bg-primary"}`,
|
|
575
575
|
iconOnly: "px-0.5 items-center rounded-full text-center text-tertiary shadow border border-dropdownSelect justify-center bg-primaryHighlight",
|
|
576
576
|
editor: "px-1 items-center rounded-md text-center justify-center hover:bg-tertiary",
|
|
577
577
|
square: `p-8 my-3 items-center gap-2.5 rounded-md text-center shadow border border-dropdownSelect justify-center hover:bg-tertiary ${n.selected ? "bg-dropdownSelect" : "bg-neutral"}`,
|
|
@@ -31146,10 +31146,16 @@ const UY = /* @__PURE__ */ re(uR, [["render", BR]]), sf = "data:image/png;base64
|
|
|
31146
31146
|
},
|
|
31147
31147
|
methods: {
|
|
31148
31148
|
handleButtonClick(n) {
|
|
31149
|
-
this.$emit("button
|
|
31149
|
+
this.$emit("button:Click", n);
|
|
31150
|
+
},
|
|
31151
|
+
handleAccount() {
|
|
31152
|
+
this.$emit("button:Account");
|
|
31153
|
+
},
|
|
31154
|
+
handleLogOut() {
|
|
31155
|
+
this.$emit("button:Logout");
|
|
31150
31156
|
}
|
|
31151
31157
|
}
|
|
31152
|
-
}, vR = { class: "bg-secondary min-h-screen flex flex-col justify-between w-
|
|
31158
|
+
}, vR = { class: "bg-secondary min-h-screen flex flex-col justify-between w-40" }, wR = { class: "h-28 border-b border-neutral" }, yR = { class: "flex flex-col justify-center h-28" }, bR = { class: "flex justify-center" }, xR = ["src"], DR = { class: "flex flex-col p-2 h-full w-full px-4" }, kR = { class: "flex flex-col justify-end flex-grow" }, SR = { class: "border-t border-neutral p-4" };
|
|
31153
31159
|
function MR(n, e, t, r, i, o) {
|
|
31154
31160
|
const A = x("BaseButton");
|
|
31155
31161
|
return C(), B("div", vR, [
|
|
@@ -31167,25 +31173,27 @@ function MR(n, e, t, r, i, o) {
|
|
|
31167
31173
|
h("section", DR, [
|
|
31168
31174
|
(C(!0), B(de, null, we(t.buttons, (s) => (C(), ne(A, {
|
|
31169
31175
|
label: s.label,
|
|
31170
|
-
|
|
31171
|
-
type: "
|
|
31172
|
-
|
|
31176
|
+
iconName: s.iconName,
|
|
31177
|
+
type: "adminSecondary",
|
|
31178
|
+
size: "sm",
|
|
31173
31179
|
onClick: (a) => o.handleButtonClick(s)
|
|
31174
|
-
}, null, 8, ["label", "onClick"]))), 256))
|
|
31180
|
+
}, null, 8, ["label", "iconName", "onClick"]))), 256))
|
|
31175
31181
|
]),
|
|
31176
31182
|
h("section", kR, [
|
|
31177
31183
|
h("div", SR, [
|
|
31178
31184
|
p(A, {
|
|
31179
|
-
|
|
31185
|
+
iconName: "fa-user",
|
|
31180
31186
|
label: "Account",
|
|
31181
31187
|
type: "adminSecondary",
|
|
31182
|
-
|
|
31188
|
+
size: "sm",
|
|
31189
|
+
onClick: e[0] || (e[0] = (s) => o.handleAccount())
|
|
31183
31190
|
}),
|
|
31184
31191
|
p(A, {
|
|
31185
|
-
|
|
31192
|
+
iconName: "fa-right-to-bracket",
|
|
31186
31193
|
label: "Log Out",
|
|
31187
31194
|
type: "adminSecondary",
|
|
31188
|
-
|
|
31195
|
+
size: "sm",
|
|
31196
|
+
onClick: e[1] || (e[1] = (s) => o.handleLogOut())
|
|
31189
31197
|
})
|
|
31190
31198
|
])
|
|
31191
31199
|
])
|
|
@@ -34664,7 +34672,7 @@ function RF(n, e, t, r, i, o) {
|
|
|
34664
34672
|
class: ""
|
|
34665
34673
|
})
|
|
34666
34674
|
]),
|
|
34667
|
-
t.event.Status === "results" || t.event.Status === "de" || t.event.Status === "completed" ? (C(), B("div", yF, [
|
|
34675
|
+
t.event.Status === "live" || t.event.Status === "results" || t.event.Status === "de" || t.event.Status === "completed" ? (C(), B("div", yF, [
|
|
34668
34676
|
p(A, {
|
|
34669
34677
|
text: "Pool Standings and Results",
|
|
34670
34678
|
size: "lg",
|