@dcrackel/hematournamentui 1.0.239 → 1.0.240

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.
@@ -29065,7 +29065,7 @@ const pc = /* @__PURE__ */ Ae(DT, [["render", PT]]), RT = {
29065
29065
  },
29066
29066
  watch: {
29067
29067
  inputValue(n) {
29068
- n && (this.showDropdown = n.length > 0, this.showAddNew = n.length > 0 && this.filteredPersons.length === 0, this.debounceSearch());
29068
+ n && (this.showDropdown = n.length > 1, this.showAddNew = n.length > 1 && this.filteredPersons.length === 0, this.debounceSearch());
29069
29069
  }
29070
29070
  },
29071
29071
  methods: {
@@ -29307,7 +29307,7 @@ const np = /* @__PURE__ */ Ae(RT, [["render", UT]]), VT = {
29307
29307
  return Object.values(this.validation).every((n) => n);
29308
29308
  }
29309
29309
  }
29310
- }, jT = { class: "border border-dropdownSelect rounded-lg p-9 bg-neutral" }, YT = { class: "w-full flex flex-row justify-center" }, qT = { class: "w-full flex flex-row justify-center my-4" }, XT = { class: "w-full flex flex-row justify-center my-4" }, WT = /* @__PURE__ */ f("p", { class: "border-b border-dropdownSelect mt-10 mb-10" }, null, -1), JT = { class: "w-full flex flex-row justify-center" }, KT = { class: "w-full" }, GT = { class: "flex flex-col mb-3" }, ZT = { class: "flex flex-row mb-3" }, _T = { class: "w-3/4 mr-1" }, $T = { class: "flex flex-col mb-3" }, eM = { class: "flex flex-col pb-4" }, tM = { class: "flex flex-col pb-4" };
29310
+ }, jT = { class: "border border-dropdownSelect rounded-lg p-9 bg-neutral w-full" }, YT = { class: "w-full flex flex-row justify-center" }, qT = { class: "w-full flex flex-row justify-center my-4" }, XT = { class: "w-full flex flex-row justify-center my-4" }, WT = /* @__PURE__ */ f("p", { class: "border-b border-dropdownSelect mt-10 mb-10" }, null, -1), JT = { class: "w-full flex flex-row justify-center" }, KT = { class: "w-full" }, GT = { class: "flex flex-col mb-3" }, ZT = { class: "flex flex-row mb-3" }, _T = { class: "w-3/4 mr-1" }, $T = { class: "flex flex-col mb-3" }, eM = { class: "flex flex-col pb-4" }, tM = { class: "flex flex-col pb-4" };
29311
29311
  function nM(n, e, t, r, i, o) {
29312
29312
  const s = T("BaseText"), a = T("ImageCropper"), A = T("TitledInput"), l = T("FindLocation"), c = T("DatePicker"), u = T("TextBoxEditor"), d = T("FindPerson"), g = T("BaseRadioGroup"), h = T("BaseButton");
29313
29313
  return C(), B("div", jT, [
@@ -29490,7 +29490,7 @@ const bH = /* @__PURE__ */ Ae(VT, [["render", nM]]), rM = {
29490
29490
  this.localTournament.externalLinks = this.localTournament.externalLinks.filter((e) => e.url !== n);
29491
29491
  },
29492
29492
  handleSubmit() {
29493
- this.areAllLinksValid() && this.$emit("submit", this.localTournament);
29493
+ this.$emit("submit:tournament", this.localTournament);
29494
29494
  },
29495
29495
  isValidUrl(n) {
29496
29496
  return /^(https?:\/\/)?([\da-z.-]+)\.([\da-z.]+)\.([\/\w\W]+)\/?$/.test(n);