@dcrackel/hematournamentui 1.0.155 → 1.0.161
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/dist/HemaTournamentUI-lib.es.js +5776 -5821
- package/dist/HemaTournamentUI-lib.umd.js +28 -28
- package/package.json +1 -1
- package/src/index.js +1 -1
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +0 -2
- package/src/stories/Templates/Menus/EditEventsTopMenu/EditEventsTopMenu.vue +1 -0
- package/src/stories/Templates/TournamentManagement/EditTournament/EditBasic/EditTournamentBasicInfo.vue +4 -4
- package/src/stories/Templates/TournamentManagement/EditTournament/EditDetails/EditTournamentDetails.vue +5 -6
- package/src/stories/Templates/{EventManagement → TournamentManagement}/ListEvents/ListEvents.stories.js +1 -1
- package/src/stories/Templates/{EventManagement → TournamentManagement}/ListEvents/ListEvents.vue +4 -8
- package/src/stories/Templates/Menus/EditTournamentMenu/EditTournamentMenu.stories.js +0 -23
- package/src/stories/Templates/Menus/EditTournamentMenu/EditTournamentMenu.vue +0 -43
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -24,9 +24,9 @@ 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 EditTournamentBasicInfo } from './stories/Templates/TournamentManagement/EditTournament/EditBasic/EditTournamentBasicInfo.vue';
|
|
26
26
|
export { default as EditTournamentDetails } from './stories/Templates/TournamentManagement/EditTournament/EditDetails/EditTournamentDetails.vue';
|
|
27
|
+
export { default as ListEvents } from './stories/Templates/TournamentManagement/ListEvents/ListEvents.vue';
|
|
27
28
|
|
|
28
29
|
export { default as AdminLeftMenu } from './stories/Templates/Menus/Admin/AdminLeftMenu.vue';
|
|
29
|
-
export { default as ListEvents } from './stories/Templates/EventManagement/ListEvents/ListEvents.vue';
|
|
30
30
|
export { default as EventAttendance } from './stories/Templates/EventManagement/EventAttendance/EventAttendance.vue';
|
|
31
31
|
export { default as PoolManagement } from './stories/Templates/EventManagement/PoolManagement/PoolManagement.vue';
|
|
32
32
|
export { default as StaffList } from './stories/Templates/EventManagement/StaffList/StaffList.vue';
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script>
|
|
46
|
-
import EditTournamentMenu from "../../Menus/EditTournamentMenu/EditTournamentMenu.vue";
|
|
47
46
|
import BaseText from "../../../Atoms/Text/BaseText.vue";
|
|
48
47
|
import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
|
|
49
48
|
import EventCard from "../../../Organisms/Cards/EventCard/EventCard.vue";
|
|
@@ -62,7 +61,6 @@ export default {
|
|
|
62
61
|
EditEventsTopMenu,
|
|
63
62
|
FencerCard,
|
|
64
63
|
EventCard,
|
|
65
|
-
EditTournamentMenu,
|
|
66
64
|
BaseText,
|
|
67
65
|
BaseButton,
|
|
68
66
|
},
|
|
@@ -20,6 +20,7 @@ import TabBar from "../../../Molecules/Menus/TabBar/TabBar.vue";
|
|
|
20
20
|
import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
|
|
21
21
|
import BaseText from "../../../Atoms/Text/BaseText.vue";
|
|
22
22
|
|
|
23
|
+
|
|
23
24
|
export default {
|
|
24
25
|
components: {
|
|
25
26
|
BaseText,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<EditEventsTopMenu :currentTab="'Basic'" :tabs="tabs" @tabMenuClick="handleTabMenuClick"/>
|
|
3
3
|
<div class="w-full flex flex-row justify-center">
|
|
4
4
|
<section class="w-full">
|
|
5
5
|
<BaseText :color="'quaternary'" :size="'xs'" :text="'IMAGE'" class="border-b mb-5"/>
|
|
@@ -63,11 +63,11 @@ import TitledInput from "../../../../Molecules/CombinationInputs/TitledInput/Tit
|
|
|
63
63
|
import TextBoxEditor from "../../../../Organisms/ComplexInputs/TextBoxEditor/TextBoxEditor.vue";
|
|
64
64
|
import FindLocation from "../../../../Organisms/ComplexInputs/FindLocation/FindLocation.vue";
|
|
65
65
|
import DatePicker from "../../../../Organisms/ComplexInputs/DatePicker/DatePicker.vue";
|
|
66
|
-
import
|
|
66
|
+
import EditEventsTopMenu from "../../../Menus/EditEventsTopMenu/EditEventsTopMenu.vue";
|
|
67
67
|
|
|
68
68
|
export default {
|
|
69
69
|
components: {
|
|
70
|
-
|
|
70
|
+
EditEventsTopMenu,
|
|
71
71
|
DatePicker,
|
|
72
72
|
FindLocation,
|
|
73
73
|
TextBoxEditor,
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
handleTabMenuClick(value) {
|
|
137
|
-
this.$emit('
|
|
137
|
+
this.$emit('tab:menu-click', value);
|
|
138
138
|
},
|
|
139
139
|
handleAddressUpdate(updatedAddress) {
|
|
140
140
|
this.localTournament.AddressId = updatedAddress.AddressId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<EditEventsTopMenu :currentTab="'Details'" :tabs="tabs" @tabMenuClick="handleTabMenuClick"/>
|
|
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"/>
|
|
@@ -76,11 +76,11 @@ import FindLocation from "../../../../Organisms/ComplexInputs/FindLocation/FindL
|
|
|
76
76
|
import DatePicker from "../../../../Organisms/ComplexInputs/DatePicker/DatePicker.vue";
|
|
77
77
|
import BaseRadioGroup from "../../../../Atoms/RadioGroup/BaseRadioGroup.vue";
|
|
78
78
|
import FindPerson from "../../../../Organisms/ComplexInputs/FindPerson/FindPerson.vue";
|
|
79
|
-
import
|
|
79
|
+
import EditEventsTopMenu from "../../../Menus/EditEventsTopMenu/EditEventsTopMenu.vue";
|
|
80
80
|
|
|
81
81
|
export default {
|
|
82
82
|
components: {
|
|
83
|
-
|
|
83
|
+
EditEventsTopMenu,
|
|
84
84
|
FindPerson,
|
|
85
85
|
BaseRadioGroup,
|
|
86
86
|
DatePicker,
|
|
@@ -103,7 +103,6 @@ export default {
|
|
|
103
103
|
required: true
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
emits: ['button-click', 'update:submit', 'update:cancel'],
|
|
107
106
|
data() {
|
|
108
107
|
return {
|
|
109
108
|
localTournament: JSON.parse(JSON.stringify(this.tournament)),
|
|
@@ -143,8 +142,8 @@ export default {
|
|
|
143
142
|
handlePersonChange(person) {
|
|
144
143
|
this.localTournament.PrimaryContactId = person.PersonId;
|
|
145
144
|
},
|
|
146
|
-
|
|
147
|
-
this.$emit('
|
|
145
|
+
handleTabMenuClick(value) {
|
|
146
|
+
this.$emit('tab:menu-click', value);
|
|
148
147
|
},
|
|
149
148
|
handleSubmit() {
|
|
150
149
|
this.$emit('update:submit', this.localTournament)
|
|
@@ -2,7 +2,7 @@ import EditEvents from './ListEvents.vue';
|
|
|
2
2
|
import eventMockData from '../../../../mocks/eventMock.js';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'Templates/
|
|
5
|
+
title: 'Templates/TournamentManagement/ListEvents/ListEvents',
|
|
6
6
|
component: EditEvents,
|
|
7
7
|
tags: ['autodocs'],
|
|
8
8
|
args: {
|
package/src/stories/Templates/{EventManagement → TournamentManagement}/ListEvents/ListEvents.vue
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="mx-4">
|
|
3
|
-
|
|
3
|
+
<EditEventsTopMenu :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">
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
|
|
30
30
|
<script>
|
|
31
|
-
import EditTournamentMenu from "../../Menus/EditTournamentMenu/EditTournamentMenu.vue";
|
|
32
31
|
import BaseText from "../../../Atoms/Text/BaseText.vue";
|
|
33
32
|
import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
|
|
34
33
|
import EventCard from "../../../Organisms/Cards/EventCard/EventCard.vue";
|
|
@@ -39,7 +38,6 @@ export default {
|
|
|
39
38
|
components: {
|
|
40
39
|
EditEventsTopMenu,
|
|
41
40
|
EventCard,
|
|
42
|
-
EditTournamentMenu,
|
|
43
41
|
BaseText,
|
|
44
42
|
BaseButton,
|
|
45
43
|
},
|
|
@@ -52,11 +50,9 @@ export default {
|
|
|
52
50
|
emptyDesertIcon,
|
|
53
51
|
currentTab: 'Events',
|
|
54
52
|
tabs: [
|
|
55
|
-
{
|
|
56
|
-
{
|
|
57
|
-
{
|
|
58
|
-
{ id: 'Payments', label: 'Payments', color: 'primaryHighlight' },
|
|
59
|
-
{ id: 'Staff', label: 'Staff', color: 'primaryHighlight' }
|
|
53
|
+
{id: 'Basic', label: 'Basic', color: 'primaryHighlight'},
|
|
54
|
+
{id: 'Details', label: 'Details', color: 'primaryHighlight'},
|
|
55
|
+
{id: 'Events', label: 'Events', color: 'primaryHighlight'},
|
|
60
56
|
]
|
|
61
57
|
};
|
|
62
58
|
},
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import EditTournamentMenu from "./EditTournamentMenu.vue";
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Templates/Menus/EditTournamentMenu/EditTournamentMenu',
|
|
5
|
-
component: EditTournamentMenu,
|
|
6
|
-
tags: ['autodocs'],
|
|
7
|
-
args: {},
|
|
8
|
-
argTypes: {}
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const Default = {
|
|
12
|
-
args: {
|
|
13
|
-
currentTab: 'Events',
|
|
14
|
-
tabs: [
|
|
15
|
-
{ id: 'Basic', label: 'Basic', color: 'primaryHighlight' },
|
|
16
|
-
{ id: 'Details', label: 'Details', color: 'primaryHighlight' },
|
|
17
|
-
{ id: 'Events', label: 'Events', color: 'primaryHighlight' },
|
|
18
|
-
{ id: 'Payments', label: 'Payments', color: 'primaryHighlight' },
|
|
19
|
-
{ id: 'Staff', label: 'Staff', color: 'primaryHighlight' }
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<TabBar class="border-b border-dropdownSelect mb-5">
|
|
3
|
-
<BaseButton
|
|
4
|
-
v-for="tab in tabs"
|
|
5
|
-
:key="tab.id"
|
|
6
|
-
:selected="currentTab === tab.id"
|
|
7
|
-
class="flex flex-row mx-3"
|
|
8
|
-
:color="tab.color"
|
|
9
|
-
:label="tab.label"
|
|
10
|
-
type="tabBar"
|
|
11
|
-
@click="handleButtonClick(tab.id)"
|
|
12
|
-
></BaseButton>
|
|
13
|
-
</TabBar>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script>
|
|
17
|
-
import TabBar from "../../../Molecules/Menus/TabBar/TabBar.vue";
|
|
18
|
-
import BaseButton from "../../../Molecules/Buttons/BaseButton/BaseButton.vue";
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
components: {
|
|
22
|
-
TabBar,
|
|
23
|
-
BaseButton
|
|
24
|
-
},
|
|
25
|
-
props: {
|
|
26
|
-
currentTab: {
|
|
27
|
-
type: String,
|
|
28
|
-
required: true,
|
|
29
|
-
default: ''
|
|
30
|
-
},
|
|
31
|
-
tabs: {
|
|
32
|
-
type: Array,
|
|
33
|
-
required: true,
|
|
34
|
-
default: () => []
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
methods: {
|
|
38
|
-
handleButtonClick(buttonId) {
|
|
39
|
-
this.$emit('button-click', buttonId);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
</script>
|