@dcrackel/hematournamentui 1.0.154 → 1.0.155

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcrackel/hematournamentui",
3
3
  "private": false,
4
- "version": "1.0.154",
4
+ "version": "1.0.155",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTournamentUI-lib.umd.js",
7
7
  "module": "dist/HemaTournamentUI-lib.es.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <EditTournamentMenu currentTab="Details" :tabs="tabs" @button-click="handleTabMenuClick" />
2
+ <EditTournamentMenu currentTab="Details" :tabs="tabs" @button-click="handleButtonClick" />
3
3
  <div class="w-full flex flex-row justify-center my-10">
4
4
  <section class="w-3/4">
5
5
  <BaseText :color="'quaternary'" :size="'xs'" :text="'DETAIL INFORMATION'" class="border-b mb-5"/>
@@ -103,7 +103,7 @@ export default {
103
103
  required: true
104
104
  }
105
105
  },
106
- emits: ['button-click', 'update:submit'],
106
+ emits: ['button-click', 'update:submit', 'update:cancel'],
107
107
  data() {
108
108
  return {
109
109
  localTournament: JSON.parse(JSON.stringify(this.tournament)),
@@ -143,8 +143,8 @@ export default {
143
143
  handlePersonChange(person) {
144
144
  this.localTournament.PrimaryContactId = person.PersonId;
145
145
  },
146
- handleTabMenuClick(value) {
147
- this.$emit('button-click', value);
146
+ handleButtonClick(tab) {
147
+ this.$emit('button-click', tab);
148
148
  },
149
149
  handleSubmit() {
150
150
  this.$emit('update:submit', this.localTournament)