@dcrackel/hematournamentui 1.0.93 → 1.0.95
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 +14 -14
- package/dist/HemaTouranmentUI-lib.umd.js +1 -1
- package/package.json +13 -13
- package/src/stories/Organisms/Headers/PoolSummary/PoolSummary.vue +3 -3
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +0 -6
- package/src/stories/Templates/EventManagement/PoolManagement/PoolManagement.vue +4 -4
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.95",
|
|
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.9",
|
|
44
|
+
"@storybook/addon-docs": "^8.1.9",
|
|
45
|
+
"@storybook/addon-essentials": "^8.1.9",
|
|
46
|
+
"@storybook/addon-interactions": "^8.1.9",
|
|
47
|
+
"@storybook/addon-links": "^8.1.9",
|
|
48
|
+
"@storybook/addon-mdx-gfm": "^8.1.9",
|
|
49
|
+
"@storybook/blocks": "^8.1.9",
|
|
50
|
+
"@storybook/react": "^8.1.9",
|
|
51
|
+
"@storybook/test": "^8.1.9",
|
|
52
|
+
"@storybook/vue3": "^8.1.9",
|
|
53
|
+
"@storybook/vue3-vite": "^8.1.9",
|
|
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.9",
|
|
63
63
|
"storybook-vue3-router": "^5.0.0",
|
|
64
64
|
"tailwindcss": "^3.4.3",
|
|
65
65
|
"vite": "^5.0.10",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<span class="h-8"></span>
|
|
7
7
|
</section>
|
|
8
8
|
|
|
9
|
-
<section v-if="mode === '
|
|
9
|
+
<section v-if="mode === 'planning'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
|
|
10
10
|
<div class="mt-1 w-10 pr-4">
|
|
11
11
|
<BaseIcon icon-name="fa-clipboard-list" size="3xl" color="primaryHighlight" class="" />
|
|
12
12
|
</div>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</span>
|
|
17
17
|
|
|
18
18
|
</section>
|
|
19
|
-
<section v-if="mode === '
|
|
19
|
+
<section v-if="mode === 'preparation'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
|
|
20
20
|
<div class="mt-1 w-10 pr-4">
|
|
21
21
|
<BaseIcon icon-name="fa-wrench" size="3xl" color="primaryHighlight" class="" />
|
|
22
22
|
</div>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<BaseText text="only fencers that are present will show" size="xs" color="primaryHighlight" />
|
|
26
26
|
</span>
|
|
27
27
|
</section>
|
|
28
|
-
<section v-if="mode === '
|
|
28
|
+
<section v-if="mode === 'live'" class="flex rounded-xl border border-dropdownSelect mt-2 px-4 pt-2 pb-4 bg-neutral w-1/3 shadow">
|
|
29
29
|
<div class="mt-1 w-10 pr-4">
|
|
30
30
|
<BaseIcon icon-name="fa-play" size="3xl" color="primaryHighlight" class="" />
|
|
31
31
|
</div>
|
|
@@ -127,28 +127,22 @@ export default {
|
|
|
127
127
|
},
|
|
128
128
|
methods: {
|
|
129
129
|
handleSelectedItem(selectedItem) {
|
|
130
|
-
console.log(`----- selectedItem: ${selectedItem}`);
|
|
131
130
|
this.localSelectedItem = selectedItem;
|
|
132
131
|
},
|
|
133
132
|
handleStatus(person) {
|
|
134
|
-
console.log(`----- handleStatus: ${person}`);
|
|
135
133
|
person.Status = person.Status === 'Absent' ? 'Present' : 'Absent';
|
|
136
134
|
this.$emit('update:person', person);
|
|
137
135
|
},
|
|
138
136
|
handleNewPerson(value) {
|
|
139
|
-
console.log(`----- handleNewPerson: ${value}`);
|
|
140
137
|
this.$emit('add:person', value);
|
|
141
138
|
},
|
|
142
139
|
handleAddExistingPerson(value) {
|
|
143
|
-
console.log(`----- handleAddExistingPerson: ${value}`);
|
|
144
140
|
this.$emit('add:existing-person', value);
|
|
145
141
|
},
|
|
146
142
|
handleTabMenuClick(value) {
|
|
147
|
-
console.log(`----- handleTabMenuClick: ${value}`);
|
|
148
143
|
this.$emit('tab:menu-click', value);
|
|
149
144
|
},
|
|
150
145
|
handleRemoveFencer(value) {
|
|
151
|
-
console.log(`----- handleRemoveFencer: ${value}`);
|
|
152
146
|
this.$emit('remove:fencer', value);
|
|
153
147
|
}
|
|
154
148
|
}
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
|
|
32
|
-
<div v-if="filteredPools.length > 1 && mode !== '
|
|
33
|
-
<BaseButton v-if="mode === '
|
|
34
|
-
<BaseButton v-if="mode === '
|
|
35
|
-
<BaseButton v-if="mode === '
|
|
32
|
+
<div v-if="filteredPools.length > 1 && mode !== 'complete'" class="grid grid-cols-2 gap-4 mx-8 mt-8">
|
|
33
|
+
<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" />
|
|
34
|
+
<BaseButton v-if="mode === 'planning'" label="Start Checkin" 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" />
|
|
35
|
+
<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" />
|
|
36
36
|
</div>
|
|
37
37
|
</section>
|
|
38
38
|
</template>
|