@dcrackel/hematournamentui 1.0.68 → 1.0.69
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.
|
@@ -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, {
|
|
@@ -29394,6 +29394,9 @@ const XT = /* @__PURE__ */ Ue(jT, [["render", GT]]), _T = {
|
|
|
29394
29394
|
},
|
|
29395
29395
|
handleStatus(n) {
|
|
29396
29396
|
n.Status = n.Status === "Absent" ? "Present" : "Absent", this.$emit("update:person", n);
|
|
29397
|
+
},
|
|
29398
|
+
handleNewPerson(n) {
|
|
29399
|
+
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, {
|