@dcrackel/hematournamentui 1.0.88 → 1.0.90
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/.storybook/preview.js +1 -1
- package/dist/HemaTouranmentUI-lib.es.js +1422 -1405
- package/dist/HemaTouranmentUI-lib.umd.js +1 -1
- package/package.json +13 -13
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.vue +8 -4
- package/src/stories/Templates/EventManagement/StaffList/StaffList.vue +1 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcrackel/hematournamentui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.90",
|
|
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.
|
|
44
|
-
"@storybook/addon-docs": "^8.1.
|
|
45
|
-
"@storybook/addon-essentials": "^8.1.
|
|
46
|
-
"@storybook/addon-interactions": "^8.1.
|
|
47
|
-
"@storybook/addon-links": "^8.1.
|
|
48
|
-
"@storybook/addon-mdx-gfm": "^8.1.
|
|
49
|
-
"@storybook/blocks": "^8.1.
|
|
50
|
-
"@storybook/react": "^8.1.
|
|
51
|
-
"@storybook/test": "^8.1.
|
|
52
|
-
"@storybook/vue3": "^8.1.
|
|
53
|
-
"@storybook/vue3-vite": "^8.1.
|
|
43
|
+
"@storybook/addon-actions": "^8.1.7",
|
|
44
|
+
"@storybook/addon-docs": "^8.1.7",
|
|
45
|
+
"@storybook/addon-essentials": "^8.1.7",
|
|
46
|
+
"@storybook/addon-interactions": "^8.1.7",
|
|
47
|
+
"@storybook/addon-links": "^8.1.7",
|
|
48
|
+
"@storybook/addon-mdx-gfm": "^8.1.7",
|
|
49
|
+
"@storybook/blocks": "^8.1.7",
|
|
50
|
+
"@storybook/react": "^8.1.7",
|
|
51
|
+
"@storybook/test": "^8.1.7",
|
|
52
|
+
"@storybook/vue3": "^8.1.7",
|
|
53
|
+
"@storybook/vue3-vite": "^8.1.7",
|
|
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.
|
|
62
|
+
"storybook": "^8.1.7",
|
|
63
63
|
"storybook-vue3-router": "^5.0.0",
|
|
64
64
|
"tailwindcss": "^3.4.3",
|
|
65
65
|
"vite": "^5.0.10",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<EditEventsTopMenu v-if="this.event.Flights > 1" :currentTab="selectedFlight" :tabs="flights" @tabMenuClick="handleFlightChange" class="mt-3"/>
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
<div class="w-full flex flex-row flex-wrap justify-
|
|
8
|
+
<div class="w-full flex flex-row flex-wrap justify-center" :class="this.event.Flights > 1 ? 'mt-0' : 'mt-4'">
|
|
9
9
|
<div v-for="pool in filteredPools" :key="pool.Name">
|
|
10
10
|
<Pool
|
|
11
11
|
:poolName="pool.Name"
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
|
-
<div v-if="filteredPools.length > 1" class="grid grid-cols-2 gap-4 mx-8 mt-8">
|
|
32
|
-
<BaseButton label="Reset Pools" size="md" icon-name="fa-rotate-right" icon-style="fa-solid" type="graySecondary" :icon-left="true" class="max-w-96 justify-self-end" @click="handleReset" />
|
|
33
|
-
<BaseButton label="Start
|
|
31
|
+
<div v-if="filteredPools.length > 1 && mode !== 'Complete'" class="grid grid-cols-2 gap-4 mx-8 mt-8">
|
|
32
|
+
<BaseButton v-if="mode === 'Planning' || mode === 'Preparation'" label="Reset Pools" size="md" icon-name="fa-rotate-right" icon-style="fa-solid" type="graySecondary" :icon-left="true" class="max-w-96 justify-self-end" @click="handleReset" />
|
|
33
|
+
<BaseButton v-if="mode === 'Planning'" label="Start Event" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleStart" />
|
|
34
|
+
<BaseButton v-if="mode === 'Preparation'" label="Make Pools Live" size="md" icon-name="fa-caret-right" icon-style="fa-solid" type="secondary" :icon-left="false" class="max-w-96 justify-self-start" @click="handleGoLive" />
|
|
34
35
|
</div>
|
|
35
36
|
</section>
|
|
36
37
|
</template>
|
|
@@ -119,6 +120,9 @@ export default {
|
|
|
119
120
|
handleStart() {
|
|
120
121
|
this.$emit('start:pool');
|
|
121
122
|
},
|
|
123
|
+
handleGoLive() {
|
|
124
|
+
this.$emit('goLive:pool');
|
|
125
|
+
},
|
|
122
126
|
getDirectorName(staffArray) {
|
|
123
127
|
const director = staffArray.find(staff => staff.Role === 'Director');
|
|
124
128
|
return director ? director.Person.DisplayName : 'Unassigned';
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
<div v-if="viewName === 'Staff List'" class="mt-4 w-full">
|
|
33
33
|
<div v-for="staff in staffMembers" :key="staff.Id">
|
|
34
|
-
<StaffCard :staff="staff" class="mb-4" />
|
|
34
|
+
<StaffCard :staff="staff" class="mb-4" @update:assignment="handleAssignment" />
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -128,7 +128,6 @@ export default {
|
|
|
128
128
|
this.$emit('add:existing-person', value);
|
|
129
129
|
},
|
|
130
130
|
handleStaffView(value){
|
|
131
|
-
console.log('Staff View:', value);
|
|
132
131
|
this.viewName = value;
|
|
133
132
|
}
|
|
134
133
|
}
|