@dcrackel/hematournamentui 1.0.76 → 1.0.79

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.76",
4
+ "version": "1.0.79",
5
5
  "type": "module",
6
6
  "main": "dist/HemaTouranmentUI-lib.umd.js",
7
7
  "module": "dist/HemaTouranmentUI-lib.es.js",
@@ -40,17 +40,17 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@chromatic-com/storybook": "^1.4.0",
43
- "@storybook/addon-actions": "^8.1.5",
44
- "@storybook/addon-docs": "^8.1.5",
45
- "@storybook/addon-essentials": "^8.1.5",
46
- "@storybook/addon-interactions": "^8.1.5",
47
- "@storybook/addon-links": "^8.1.5",
48
- "@storybook/addon-mdx-gfm": "^8.1.5",
49
- "@storybook/blocks": "^8.1.5",
50
- "@storybook/react": "^8.1.5",
51
- "@storybook/test": "^8.1.5",
52
- "@storybook/vue3": "^8.1.5",
53
- "@storybook/vue3-vite": "^8.1.5",
43
+ "@storybook/addon-actions": "^8.1.6",
44
+ "@storybook/addon-docs": "^8.1.6",
45
+ "@storybook/addon-essentials": "^8.1.6",
46
+ "@storybook/addon-interactions": "^8.1.6",
47
+ "@storybook/addon-links": "^8.1.6",
48
+ "@storybook/addon-mdx-gfm": "^8.1.6",
49
+ "@storybook/blocks": "^8.1.6",
50
+ "@storybook/react": "^8.1.6",
51
+ "@storybook/test": "^8.1.6",
52
+ "@storybook/vue3": "^8.1.6",
53
+ "@storybook/vue3-vite": "^8.1.6",
54
54
  "@vitejs/plugin-vue": "^5.0.0",
55
55
  "@vitest/coverage-v8": "^1.1.0",
56
56
  "@vue/cli-plugin-babel": "^5.0.8",
@@ -59,7 +59,7 @@
59
59
  "eslint": "^8.56.0",
60
60
  "eslint-plugin-storybook": "^0.8.0",
61
61
  "eslint-plugin-vue": "^9.20.1",
62
- "storybook": "^8.1.5",
62
+ "storybook": "^8.1.6",
63
63
  "storybook-vue3-router": "^5.0.0",
64
64
  "tailwindcss": "^3.4.3",
65
65
  "vite": "^5.0.10",
package/src/index.js CHANGED
@@ -24,4 +24,5 @@ export { default as AddTournamentPageOne } from './stories/Templates/TournamentM
24
24
  export { default as AddTournamentPageTwo } from './stories/Templates/TournamentManagement/AddTournament/PageTwo/AddTournamentPageTwo.vue';
25
25
  export { default as AdminLeftMenu } from './stories/Templates/Menus/Admin/AdminLeftMenu.vue';
26
26
  export { default as ListEvents } from './stories/Templates/EventManagement/ListEvents/ListEvents.vue';
27
- export { default as EventAttendance } from './stories/Templates/EventManagement/EventAttendance/EventAttendance.vue';
27
+ export { default as EventAttendance } from './stories/Templates/EventManagement/EventAttendance/EventAttendance.vue';
28
+ export { default as PoolManagement } from './stories/Templates/EventManagement/PoolManagement/PoolManagement.vue';
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <section :class="['w-20 h-14 rounded-xl m-1 shadow border border-1-dropdownSelect', boxColor]">
2
+ <section :class="['w-20 h-14 rounded-xl m-1 shadow border border-dropdownSelect', boxColor]">
3
3
  <div class="flex flex-col justify-between h-14 py-2 pl-1">
4
4
  <p class="flex flex-row justify-center w-full pb-1">
5
5
  <BaseText :text="statusCount" size="sm" color="quinary" weight="bold" />
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section>
3
- <EditEventsTopMenu :currentTab="'Checkin'" :tabs="tabs"/>
3
+ <EditEventsTopMenu :currentTab="'Checkin'" :tabs="tabs" @tabMenuClick="handleTabMenuClick"/>
4
4
  <AttendanceSummary :event="event"/>
5
5
 
6
6
  <div class="w-full flex flex-row justify-center mt-3">
@@ -142,6 +142,10 @@ export default {
142
142
  handleAddExistingPerson(value) {
143
143
  console.log(`----- handleAddExistingPerson: ${value}`);
144
144
  this.$emit('add:existing-person', value);
145
+ },
146
+ handleTabMenuClick(value) {
147
+ console.log(`----- handleTabMenuClick: ${value}`);
148
+ this.$emit('tab:menu-click', value);
145
149
  }
146
150
  }
147
151
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section class="mx-4">
3
- <EditTournamentMenu currentTab="Events" :tabs="tabs" />
3
+ <EditTournamentMenu currentTab="Events" :tabs="tabs" @tabMenuClick="handleTabMenuClick" />
4
4
  <div class="w-full flex flex-row justify-center">
5
5
  <section class="w-full">
6
6
  <div class="w-full flex flex-col justify-center items-center mb-6" style="text-align: center">
@@ -33,9 +33,11 @@ import BaseText from "../../../Atoms/Text/BaseText.vue";
33
33
  import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
34
34
  import EventCard from "../../../Organisms/Cards/EventCard/EventCard.vue";
35
35
  import emptyDesertIcon from '../../../../assets/empty_desert_icon.png';
36
+ import EditEventsTopMenu from "../../Menus/EditEventsTopMenu/EditEventsTopMenu.vue";
36
37
 
37
38
  export default {
38
39
  components: {
40
+ EditEventsTopMenu,
39
41
  EventCard,
40
42
  EditTournamentMenu,
41
43
  BaseText,
@@ -70,6 +72,10 @@ export default {
70
72
  handleManageEvent(eventId) {
71
73
  console.log(`handleManageEvent: ${eventId}`);
72
74
  this.$emit('manageEvent', eventId);
75
+ },
76
+ handleTabMenuClick(value) {
77
+ console.log(`----- handleTabMenuClick: ${value}`);
78
+ this.$emit('tab:menu-click', value);
73
79
  }
74
80
  }
75
81
  }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <section>
3
- <EditEventsTopMenu :currentTab="'Pools'" :tabs="tabs"/>
3
+ <EditEventsTopMenu :currentTab="'Pools'" :tabs="tabs" @tabMenuClick="handleTabMenuClick"/>
4
4
  <PoolSummary :event="event"/>
5
5
 
6
6
  <div class="w-full flex flex-row flex-wrap justify-start mt-3">
@@ -69,6 +69,10 @@ export default {
69
69
  swapFencers({ draggedPerson }) {
70
70
  console.log('swapFencers', draggedPerson);
71
71
  this.$emit('swap-fencers', {draggedPerson});
72
+ },
73
+ handleTabMenuClick(value) {
74
+ console.log(`----- handleTabMenuClick: ${value}`);
75
+ this.$emit('tab:menu-click', value);
72
76
  }
73
77
  }
74
78
  }
@@ -1,9 +1,5 @@
1
1
  <template>
2
2
  <section class="flex">
3
- <!-- <div class="mr-4">-->
4
- <!-- <BaseButton label="Return" size="xs" type="primary" @click="addTournament" />-->
5
- <!-- <BaseText text="Open Mixed Saber" size="lg" color="Primary" weight="bold" class="ml-4 pt-1" />-->
6
- <!-- </div>-->
7
3
  <TabBar class="border-b border-dropdownSelect mb-5">
8
4
  <BaseButton
9
5
  v-for="tab in tabs"
@@ -44,7 +40,7 @@ export default {
44
40
  },
45
41
  methods: {
46
42
  handleButtonClick(buttonId) {
47
- this.$emit('button-click', buttonId);
43
+ this.$emit('tabMenuClick', buttonId);
48
44
  }
49
45
  }
50
46
  }