@dcrackel/hematournamentui 1.0.73 → 1.0.74

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.
@@ -29154,7 +29154,7 @@ const VT = /* @__PURE__ */ Ue(PT, [["render", HT]]), jT = {
29154
29154
  debouncedTimeout: null,
29155
29155
  modalIcon: "fa-search",
29156
29156
  modalButtonText: "Find Person",
29157
- selectedPronouns: "",
29157
+ selectedPronouns: { text: "", link: "" },
29158
29158
  pronouns: [
29159
29159
  { text: "He/Him", link: "he-him" },
29160
29160
  { text: "She/Her", link: "she-her" },
@@ -29162,26 +29162,25 @@ const VT = /* @__PURE__ */ Ue(PT, [["render", HT]]), jT = {
29162
29162
  { text: "Ze/Hir", link: "ze-hir" },
29163
29163
  { text: "Xe/Xem", link: "xe-xem" }
29164
29164
  ],
29165
- selectedClub: "",
29166
- formattedClubs: []
29165
+ selectedClub: { text: "", link: "" }
29167
29166
  };
29168
29167
  },
29169
- computed: {},
29168
+ computed: {
29169
+ formattedClubs() {
29170
+ console.log("Mapping clubs:", this.fencingClubs);
29171
+ const n = this.fencingClubs.map((e) => ({
29172
+ text: e.Name,
29173
+ link: e.ClubId.toString()
29174
+ }));
29175
+ return console.log("Mapped clubs:", n), n;
29176
+ }
29177
+ },
29170
29178
  watch: {
29171
29179
  inputValue(n) {
29172
29180
  n.length < 2 && (this.showDropdown = !1, this.filteredPersons = []), n.length >= 2 && this.debounceSearch();
29173
29181
  }
29174
29182
  },
29175
- created() {
29176
- this.formatClubs();
29177
- },
29178
29183
  methods: {
29179
- formatClubs() {
29180
- this.fencingClubs[0].Name && (console.log("----------------------- Mapping clubs:", this.fencingClubs), this.formattedClubs = this.fencingClubs.map((n) => ({
29181
- text: n.Name,
29182
- link: n.ClubId.toString()
29183
- })), console.log("----------------------- Mapping clubs:", this.formattedClubs));
29184
- },
29185
29184
  updateInput(n) {
29186
29185
  this.inputValue = n.target.value;
29187
29186
  },
@@ -29306,7 +29305,7 @@ function GT(n, e, t, r, i, o) {
29306
29305
  "onUpdate:value": e[2] || (e[2] = (d) => i.personLegalName = d)
29307
29306
  }, null, 8, ["value"]),
29308
29307
  z(u, {
29309
- label: i.selectedPronouns.length < 2 ? "Preferred Pronouns" : "",
29308
+ label: i.selectedPronouns.text.length < 2 ? "Preferred Pronouns" : "",
29310
29309
  items: i.pronouns,
29311
29310
  class: "pb-2",
29312
29311
  selectedItem: i.selectedPronouns,
@@ -29324,8 +29323,8 @@ function GT(n, e, t, r, i, o) {
29324
29323
  "onUpdate:value": e[3] || (e[3] = (d) => i.personEmail = d)
29325
29324
  }, null, 8, ["value"]),
29326
29325
  z(u, {
29327
- label: i.selectedClub.length < 2 ? "Select Club" : "",
29328
- items: i.formattedClubs,
29326
+ label: i.selectedClub.text.length < 2 ? "Select Club" : "",
29327
+ items: o.formattedClubs,
29329
29328
  selectedItem: i.selectedClub,
29330
29329
  class: "pb-2",
29331
29330
  "onUpdate:selectedItem": o.handleSelectedClub,