@dcrackel/hematournamentui 1.0.169 → 1.0.170

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.
@@ -28755,6 +28755,9 @@ const zL = /* @__PURE__ */ he(YS, [["render", nM]]), rM = {
28755
28755
  computed: {
28756
28756
  tournamentTags() {
28757
28757
  return this.tournament.Tag.map((n) => n.TagName).join(", ");
28758
+ },
28759
+ registrationLink() {
28760
+ return this.tournament.SocialMedia[0] ? this.tournament.SocialMedia[0].Link : "https://fillin.this.link";
28758
28761
  }
28759
28762
  },
28760
28763
  methods: {
@@ -28778,6 +28781,9 @@ const zL = /* @__PURE__ */ he(YS, [["render", nM]]), rM = {
28778
28781
  },
28779
28782
  handleTags(n) {
28780
28783
  this.localTournament.Tag = n.split(",").map((e) => ({ TagName: e.trim() }));
28784
+ },
28785
+ handleUpdateRegLink(n) {
28786
+ this.tournament.SocialMedia[0].Link = n, this.tournament.SocialMedia[0].Label = "Registration Link";
28781
28787
  }
28782
28788
  }
28783
28789
  }, iM = { class: "w-full flex flex-row justify-center my-10" }, oM = { class: "w-3/4" }, AM = { class: "flex flex-col pb-4 mb-10" }, aM = { class: "w-full flex flex-col mb-3 ml-1" }, sM = { class: "flex w-full justify-center mb-6" }, lM = { class: "flex flex-row justify-center w-3/4" }, uM = { key: 0 }, cM = { class: "w-full flex flex-col mb-3 ml-1" }, dM = { class: "mb-10" }, gM = { class: "w-full flex flex-col mb-3 ml-1" }, hM = { class: "mb-10" }, fM = { class: "mb-10" }, pM = { class: "w-full flex flex-col mb-3 ml-1" }, IM = { class: "flex flex-row justify-center" };
@@ -28871,11 +28877,11 @@ function CM(n, e, t, r, i, o) {
28871
28877
  ]),
28872
28878
  p("div", dM, [
28873
28879
  I(u, {
28874
- inputValue: i.localTournament.registrationLink,
28880
+ inputValue: o.registrationLink,
28875
28881
  invalid: i.validation.registrationLink,
28876
- placeholder: i.localTournament.registrationLink,
28882
+ placeholder: o.registrationLink,
28877
28883
  title: "Registration Link",
28878
- "onUpdate:value": n.handleUpdateRegLink
28884
+ "onUpdate:value": o.handleUpdateRegLink
28879
28885
  }, null, 8, ["inputValue", "invalid", "placeholder", "onUpdate:value"])
28880
28886
  ])
28881
28887
  ])),