@dcrackel/hematournamentui 1.0.68 → 1.0.70
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 +12 -8
- package/dist/HemaTouranmentUI-lib.umd.js +2 -2
- package/package.json +1 -1
- package/src/stories/Organisms/ComplexInputs/DropDown/DropDownMenu.vue +1 -1
- package/src/stories/Organisms/ComplexInputs/FindOrAddPerson/FindOrAddPerson.vue +2 -2
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +8 -1
|
@@ -758,7 +758,7 @@ function Fh(n, e, t, r, i, o) {
|
|
|
758
758
|
default: Me(() => [
|
|
759
759
|
n.isDropDownOpen ? (S(), O("div", {
|
|
760
760
|
key: 0,
|
|
761
|
-
class: we(["flex flex-col shadow-lg mt-9 z-
|
|
761
|
+
class: we(["flex flex-col shadow-lg mt-9 z-20 rounded-b-xl absolute bg-neutral border border-dropdownSelect", t.dropDownWidth])
|
|
762
762
|
}, [
|
|
763
763
|
(S(!0), O(ve, null, Ne(t.items, (s) => (S(), O("a", {
|
|
764
764
|
key: s.id,
|
|
@@ -29228,11 +29228,11 @@ function GT(n, e, t, r, i, o) {
|
|
|
29228
29228
|
"modal-content": Me(() => [
|
|
29229
29229
|
i.isSearchMode ? (S(), O("div", YT, [
|
|
29230
29230
|
z(s, {
|
|
29231
|
-
addBorder:
|
|
29231
|
+
addBorder: !0,
|
|
29232
29232
|
value: i.inputValue,
|
|
29233
29233
|
onInput: o.updateInput,
|
|
29234
29234
|
placeholder: "Type to search person..."
|
|
29235
|
-
}, null, 8, ["
|
|
29235
|
+
}, null, 8, ["value", "onInput"]),
|
|
29236
29236
|
i.showDropdown ? (S(), O("div", {
|
|
29237
29237
|
key: 0,
|
|
29238
29238
|
class: we(["absolute z-10 w-11/12 bg-eventBoxBlue rounded-md", [i.filteredPersons.length > 0 ? "border border-dropdownSelect mt-2 p-2" : "mt-4"]])
|
|
@@ -29241,7 +29241,7 @@ function GT(n, e, t, r, i, o) {
|
|
|
29241
29241
|
(S(!0), O(ve, null, Ne(i.filteredPersons, (d, g) => (S(), O("li", {
|
|
29242
29242
|
key: g,
|
|
29243
29243
|
onClick: (f) => o.selectPerson(d),
|
|
29244
|
-
class: "p-2 my
|
|
29244
|
+
class: "p-2 my-2 hover:bg-dropdownSelect rounded-lg cursor-pointer"
|
|
29245
29245
|
}, [
|
|
29246
29246
|
N("p", qT, [
|
|
29247
29247
|
z(l, {
|
|
@@ -29390,10 +29390,13 @@ const XT = /* @__PURE__ */ Ue(jT, [["render", GT]]), _T = {
|
|
|
29390
29390
|
},
|
|
29391
29391
|
methods: {
|
|
29392
29392
|
handleSelectedItem(n) {
|
|
29393
|
-
this.localSelectedItem = n;
|
|
29393
|
+
console.log(`selectedItem: ${n}`), this.localSelectedItem = n;
|
|
29394
29394
|
},
|
|
29395
29395
|
handleStatus(n) {
|
|
29396
|
-
n.Status = n.Status === "Absent" ? "Present" : "Absent", this.$emit("update:person", n);
|
|
29396
|
+
console.log(`handleStatus: ${n}`), n.Status = n.Status === "Absent" ? "Present" : "Absent", this.$emit("update:person", n);
|
|
29397
|
+
},
|
|
29398
|
+
handleNewPerson(n) {
|
|
29399
|
+
console.log(`handleNewPerson: ${n}`), this.$emit("add:person", n);
|
|
29397
29400
|
}
|
|
29398
29401
|
}
|
|
29399
29402
|
}, $T = { class: "w-full flex flex-row justify-center mt-3" }, eR = { class: "w-full" }, tR = {
|
|
@@ -29418,8 +29421,9 @@ function lR(n, e, t, r, i, o) {
|
|
|
29418
29421
|
N("div", rR, [
|
|
29419
29422
|
z(l, {
|
|
29420
29423
|
clubs: t.clubs,
|
|
29421
|
-
persons: t.personsAll
|
|
29422
|
-
|
|
29424
|
+
persons: t.personsAll,
|
|
29425
|
+
onNewPersonSubmitted: o.handleNewPerson
|
|
29426
|
+
}, null, 8, ["clubs", "persons", "onNewPersonSubmitted"])
|
|
29423
29427
|
]),
|
|
29424
29428
|
N("div", iR, [
|
|
29425
29429
|
z(A, {
|