@dcrackel/hematournamentui 1.0.239 → 1.0.241

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: {
@@ -29240,16 +29240,7 @@ const np = /* @__PURE__ */ Ae(RT, [["render", UT]]), VT = {
29240
29240
  tournament: {
29241
29241
  name: "",
29242
29242
  imageLink: "",
29243
- address: [
29244
- {
29245
- Name: "",
29246
- Address1: "",
29247
- City: "",
29248
- State: "",
29249
- Zip: "",
29250
- Coordinates: ""
29251
- }
29252
- ],
29243
+ addressId: 0,
29253
29244
  startDate: "",
29254
29245
  totalDays: 1,
29255
29246
  description: "",
@@ -29283,14 +29274,7 @@ const np = /* @__PURE__ */ Ae(RT, [["render", UT]]), VT = {
29283
29274
  });
29284
29275
  },
29285
29276
  handleAddressUpdate(n) {
29286
- this.tournament.address = [{
29287
- Name: n.Name,
29288
- Address1: n.Address1,
29289
- City: n.City,
29290
- State: n.State,
29291
- Zip: n.Zip,
29292
- Coordinates: n.coordinates
29293
- }];
29277
+ this.tournament.addressId = n.AddressId;
29294
29278
  },
29295
29279
  handleDateUpdate(n) {
29296
29280
  this.tournament.startDate = n;
@@ -29307,7 +29291,7 @@ const np = /* @__PURE__ */ Ae(RT, [["render", UT]]), VT = {
29307
29291
  return Object.values(this.validation).every((n) => n);
29308
29292
  }
29309
29293
  }
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" };
29294
+ }, 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
29295
  function nM(n, e, t, r, i, o) {
29312
29296
  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
29297
  return C(), B("div", jT, [
@@ -29490,7 +29474,7 @@ const bH = /* @__PURE__ */ Ae(VT, [["render", nM]]), rM = {
29490
29474
  this.localTournament.externalLinks = this.localTournament.externalLinks.filter((e) => e.url !== n);
29491
29475
  },
29492
29476
  handleSubmit() {
29493
- this.areAllLinksValid() && this.$emit("submit", this.localTournament);
29477
+ this.$emit("submit:tournament", this.localTournament);
29494
29478
  },
29495
29479
  isValidUrl(n) {
29496
29480
  return /^(https?:\/\/)?([\da-z.-]+)\.([\da-z.]+)\.([\/\w\W]+)\/?$/.test(n);
@@ -33622,7 +33606,7 @@ const dp = /* @__PURE__ */ Ae(DN, [["render", TN]]), MN = {
33622
33606
  };
33623
33607
  }
33624
33608
  }
33625
- }, cs = (n) => (kp("data-v-a891bbb2"), n = n(), Dp(), n), ON = { class: "pool-grid" }, PN = { class: "table-auto border-separate border-spacing-1" }, RN = { class: "bg-eventBoxBlue rounded-lg px-4 py-2" }, NN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), LN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "bg-gridBoxHeader rounded-lg px-4 py-2" }, null, -1)), HN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), zN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, FN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, UN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, VN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, jN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, YN = { class: "bg-eventBoxBlue rounded-lg able-cell text-center align-middle h-10 w-10" }, qN = { class: "bg-eventBoxBlue rounded-lg text-right align-middle pr-4" }, XN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), WN = { class: "bg-gridBoxHeader rounded-lg text-center align-middle h-10 w-10" }, JN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("td", { class: "w-1" }, null, -1)), KN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, GN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, ZN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, _N = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, $N = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, eL = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" };
33609
+ }, cs = (n) => (kp("data-v-262bb7eb"), n = n(), Dp(), n), ON = { class: "flex w-full justify-center mb-4" }, PN = { class: "border-separate border-spacing-1 w-[900px]" }, RN = { class: "bg-eventBoxBlue rounded-lg px-4 py-2" }, NN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), LN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "bg-gridBoxHeader rounded-lg px-4 py-2" }, null, -1)), HN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), zN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, FN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, UN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, VN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, jN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, YN = { class: "bg-eventBoxBlue rounded-lg able-cell text-center align-middle h-10 w-10" }, qN = { class: "bg-eventBoxBlue rounded-lg text-right align-middle pr-4" }, XN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("th", { class: "w-1" }, null, -1)), WN = { class: "bg-gridBoxHeader rounded-lg text-center align-middle h-10 w-10" }, JN = /* @__PURE__ */ cs(() => /* @__PURE__ */ f("td", { class: "w-1" }, null, -1)), KN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, GN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, ZN = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, _N = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, $N = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" }, eL = { class: "bg-eventBoxBlue rounded-lg table-cell text-center align-middle h-10 w-10" };
33626
33610
  function tL(n, e, t, r, i, o) {
33627
33611
  const s = T("BaseText");
33628
33612
  return C(), B("div", ON, [
@@ -33784,7 +33768,7 @@ function tL(n, e, t, r, i, o) {
33784
33768
  ])
33785
33769
  ]);
33786
33770
  }
33787
- const gp = /* @__PURE__ */ Ae(MN, [["render", tL], ["__scopeId", "data-v-a891bbb2"]]), nL = {
33771
+ const gp = /* @__PURE__ */ Ae(MN, [["render", tL], ["__scopeId", "data-v-262bb7eb"]]), nL = {
33788
33772
  components: {
33789
33773
  PoolGrid: gp,
33790
33774
  ServerConnected: mc,