@dcrackel/hematournamentui 1.0.62 → 1.0.64
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/HemaTouranmentUI-lib.es.js +13 -13
- package/dist/HemaTouranmentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/stories/Molecules/Buttons/BaseButton/BaseButton.vue +10 -13
- package/src/stories/Organisms/Cards/EventCard/EventCard.vue +21 -20
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.stories.js +1 -1
- package/src/stories/Templates/EventManagement/ListEvents/ListEvents.vue +5 -2
|
@@ -448,7 +448,7 @@ function fh(n, e, t, r, i, o) {
|
|
|
448
448
|
]);
|
|
449
449
|
}
|
|
450
450
|
const sT = /* @__PURE__ */ Ye(dh, [["render", fh]]), ph = {
|
|
451
|
-
name: "
|
|
451
|
+
name: "BaseButton",
|
|
452
452
|
components: { BaseText: jt, BaseIcon: ro },
|
|
453
453
|
props: {
|
|
454
454
|
label: {
|
|
@@ -519,8 +519,8 @@ const sT = /* @__PURE__ */ Ye(dh, [["render", fh]]), ph = {
|
|
|
519
519
|
let i = "inline-flex", o = t[n.type], a = r[n.size];
|
|
520
520
|
return `${i} ${o} ${a}`;
|
|
521
521
|
}),
|
|
522
|
-
|
|
523
|
-
e("click");
|
|
522
|
+
handleClick(i) {
|
|
523
|
+
e("click", i);
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
}
|
|
@@ -531,7 +531,7 @@ function hh(n, e, t, r, i, o) {
|
|
|
531
531
|
class: Se(r.classes),
|
|
532
532
|
"data-testid": "base-button",
|
|
533
533
|
type: "button",
|
|
534
|
-
onClick: e[0] || (e[0] = (...l) => r.
|
|
534
|
+
onClick: e[0] || (e[0] = (...l) => r.handleClick && r.handleClick(...l))
|
|
535
535
|
}, [
|
|
536
536
|
t.iconName ? (S(), xe(a, {
|
|
537
537
|
key: 0,
|
|
@@ -28476,11 +28476,11 @@ const UM = /* @__PURE__ */ Ye(DM, [["render", NM]]), LM = {
|
|
|
28476
28476
|
}
|
|
28477
28477
|
},
|
|
28478
28478
|
methods: {
|
|
28479
|
-
onEdit() {
|
|
28480
|
-
this.$emit("edit", this.event);
|
|
28479
|
+
onEdit(n) {
|
|
28480
|
+
n.stopPropagation(), this.$emit("edit", this.event);
|
|
28481
28481
|
},
|
|
28482
|
-
onManage() {
|
|
28483
|
-
this.$emit("manage", this.event);
|
|
28482
|
+
onManage(n) {
|
|
28483
|
+
n.stopPropagation(), this.$emit("manage", this.event);
|
|
28484
28484
|
}
|
|
28485
28485
|
}
|
|
28486
28486
|
}, JM = { class: "w-full flex flex-row justify-between" }, FM = { class: "flex flex-row justify-start" }, zM = { class: "flex flex-col pl-4" }, KM = { class: "mt-4" }, HM = { class: "flex flex-col pl-4" }, VM = { class: "flex flex-row pb-2" }, jM = { class: "flex flex-row" };
|
|
@@ -28586,13 +28586,13 @@ const WM = /* @__PURE__ */ Ye(LM, [["render", YM]]), qM = "data:image/png;base64
|
|
|
28586
28586
|
},
|
|
28587
28587
|
methods: {
|
|
28588
28588
|
handleAddEvent() {
|
|
28589
|
-
this.$emit("addEvent", this.tournamentId);
|
|
28589
|
+
console.log("handleAddEvent"), this.$emit("addEvent", this.tournamentId);
|
|
28590
28590
|
},
|
|
28591
28591
|
handleEdit(n) {
|
|
28592
|
-
this.$emit("editEvent", n);
|
|
28592
|
+
console.log("handleEdit"), this.$emit("editEvent", n);
|
|
28593
28593
|
},
|
|
28594
|
-
|
|
28595
|
-
this.$emit("manageEvent", n);
|
|
28594
|
+
handleManageEvent(n) {
|
|
28595
|
+
console.log(`handleManageEvent: ${n}`), this.$emit("manageEvent", n);
|
|
28596
28596
|
}
|
|
28597
28597
|
}
|
|
28598
28598
|
}, GM = { class: "mx-4" }, XM = { class: "w-full flex flex-row justify-center" }, _M = { class: "w-full" }, $M = {
|
|
@@ -28634,7 +28634,7 @@ function oT(n, e, t, r, i, o) {
|
|
|
28634
28634
|
X(l, {
|
|
28635
28635
|
event: u,
|
|
28636
28636
|
onEdit: (c) => o.handleEdit(u.EventId),
|
|
28637
|
-
onManage: (c) => o.
|
|
28637
|
+
onManage: (c) => o.handleManageEvent(u.EventId)
|
|
28638
28638
|
}, null, 8, ["event", "onEdit", "onManage"])
|
|
28639
28639
|
]))), 256))
|
|
28640
28640
|
]),
|