@dcrackel/hematournamentui 1.0.154 → 1.0.160
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 +5706 -5749
- package/dist/HemaTournamentUI-lib.umd.js +28 -28
- package/package.json +1 -1
- package/src/stories/Templates/EventManagement/EventAttendance/EventAttendance.vue +0 -2
- package/src/stories/Templates/EventManagement/ListEvents/ListEvents.vue +1 -3
- package/src/stories/Templates/Menus/EditEventsTopMenu/EditEventsTopMenu.vue +1 -0
- package/src/stories/Templates/TournamentManagement/EditTournament/EditBasic/EditTournamentBasicInfo.vue +3 -3
- package/src/stories/Templates/TournamentManagement/EditTournament/EditDetails/EditTournamentDetails.vue +4 -5
- 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
|
@@ -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
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="mx-4">
|
|
3
|
-
|
|
3
|
+
<EditEventsTopMenu :currentTab="'Bracket'" :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
|
},
|
|
@@ -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,
|
|
@@ -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'],
|
|
107
106
|
data() {
|
|
108
107
|
return {
|
|
109
108
|
localTournament: JSON.parse(JSON.stringify(this.tournament)),
|
|
@@ -144,7 +143,7 @@ export default {
|
|
|
144
143
|
this.localTournament.PrimaryContactId = person.PersonId;
|
|
145
144
|
},
|
|
146
145
|
handleTabMenuClick(value) {
|
|
147
|
-
this.$emit('
|
|
146
|
+
this.$emit('tab:menu-click', value);
|
|
148
147
|
},
|
|
149
148
|
handleSubmit() {
|
|
150
149
|
this.$emit('update:submit', this.localTournament)
|
|
@@ -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>
|