@dcrackel/hematournamentui 1.0.22 → 1.0.23
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/.eslintrc.js +18 -18
- package/.gitattributes +2 -2
- package/.prettierignore +1 -1
- package/.storybook/main.js +18 -18
- package/.storybook/mockRoutes.js +9 -9
- package/.storybook/preview-head.html +3 -3
- package/.storybook/preview.js +17 -17
- package/LICENSE +21 -21
- package/README.md +83 -83
- package/dist/HemaTouranmentUI-lib.es.js +7060 -6920
- package/dist/HemaTouranmentUI-lib.umd.js +27 -27
- package/dist/style.css +1 -1
- package/index.html +12 -12
- package/package.json +58 -58
- package/postcss.config.js +6 -6
- package/prettier.config.js +10 -10
- package/src/index.js +25 -25
- package/src/main.js +2 -2
- package/src/mocks/fileMock.js +1 -1
- package/src/mocks/tournamentMock.js +34 -34
- package/src/stories/Atoms/Icon/BaseIcon.stories.js +54 -54
- package/src/stories/Atoms/Icon/BaseIcon.test.js +91 -91
- package/src/stories/Atoms/Icon/BaseIcon.vue +48 -48
- package/src/stories/Atoms/Input/BaseInput.stories.js +29 -28
- package/src/stories/Atoms/Input/BaseInput.test.js +87 -87
- package/src/stories/Atoms/Input/BaseInput.vue +85 -73
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.stories.js +31 -31
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.test.js +49 -49
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.vue +49 -49
- package/src/stories/Atoms/Tag/BaseTag.stories.js +29 -29
- package/src/stories/Atoms/Tag/BaseTag.test.js +42 -42
- package/src/stories/Atoms/Tag/BaseTag.vue +57 -57
- package/src/stories/Atoms/Text/BaseText.stories.js +77 -77
- package/src/stories/Atoms/Text/BaseText.test.js +172 -172
- package/src/stories/Atoms/Text/BaseText.vue +170 -170
- package/src/stories/Configure.mdx +320 -320
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.stories.js +41 -41
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.test.js +80 -80
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.vue +31 -31
- package/src/stories/Molecules/Button/BaseButton.stories.js +93 -76
- package/src/stories/Molecules/Button/BaseButton.test.js +147 -147
- package/src/stories/Molecules/Button/BaseButton.vue +116 -125
- package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.stories.js +33 -33
- package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.vue +38 -38
- package/src/stories/Molecules/Cards/Header/TournamentCardHeader.stories.js +48 -48
- package/src/stories/Molecules/Cards/Header/TournamentCardHeader.vue +40 -40
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.stories.js +36 -36
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +49 -49
- package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.stories.js +32 -32
- package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.vue +46 -46
- package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.stories.js +25 -25
- package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.vue +51 -51
- package/src/stories/Organisms/DatePicker/DatePicker.stories.js +25 -25
- package/src/stories/Organisms/DatePicker/DatePicker.vue +62 -62
- package/src/stories/Organisms/DropDown/DropDownMenu.stories.js +34 -34
- package/src/stories/Organisms/DropDown/DropDownMenu.vue +51 -51
- package/src/stories/Organisms/Grid/GridContainer.stories.js +47 -47
- package/src/stories/Organisms/Grid/GridContainer.vue +108 -108
- package/src/stories/Organisms/ImageCropper/ImageCropper.stories.js +28 -28
- package/src/stories/Organisms/ImageCropper/ImageCropper.vue +86 -86
- package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.stories.js +28 -28
- package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.vue +97 -97
- package/src/stories/Organisms/TournamentCard/TournamentCard.stories.js +37 -37
- package/src/stories/Organisms/TournamentCard/TournamentCard.vue +35 -35
- package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.stories.js +25 -25
- package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.vue +138 -137
- package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.stories.js +35 -0
- package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.vue +121 -0
- package/src/stories/Templates/Menu/Admin/AdminLeftMenu.stories.js +28 -28
- package/src/stories/Templates/Menu/Admin/AdminLeftMenu.vue +57 -57
- package/tailwind/output.css +1247 -1212
- package/tailwind/tailwind.css +4 -4
- package/tailwind.config.js +50 -50
- package/vite.config.js +23 -23
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="border rounded-lg text-secondary text-sm p-4 w-full" :class="invalid ? 'border-alarm' : 'border-dropdownSelect'">
|
|
3
|
-
<div data-testid="editor-buttons" class="w-full flex flex-row pl-2">
|
|
4
|
-
<div class="w-1/3 border-r border-dropdownSelect flex flex-row justify-between pr-2">
|
|
5
|
-
<BaseButton iconName="fa-h1" label="" type="editor"
|
|
6
|
-
:selected="editor && editor.isActive('heading', { level: 1 })"
|
|
7
|
-
@click="editor.chain().toggleHeading({ level: 1 }).run()" />
|
|
8
|
-
<BaseButton iconName="fa-h2" label="" type="editor"
|
|
9
|
-
:selected="editor && editor.isActive('heading', { level: 2 })"
|
|
10
|
-
@click="editor.chain().toggleHeading({ level: 2 }).run()"/>
|
|
11
|
-
<BaseButton iconName="fa-h3" label="" type="editor"
|
|
12
|
-
:selected="editor && editor.isActive('heading', { level: 3 })"
|
|
13
|
-
@click="editor.chain().toggleHeading({ level: 3 }).run()"/>
|
|
14
|
-
<BaseButton iconName="fa-paragraph" label="" type="editor"
|
|
15
|
-
:selected="editor && editor.isActive('paragraph')"
|
|
16
|
-
@click="editor.chain().setParagraph().run()"/>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="w-1/3 border-r border-dropdownSelect flex flex-row justify-around">
|
|
19
|
-
<BaseButton :selected="editor && editor.isActive('bold')" iconName="fa-bold" label="" type="editor"
|
|
20
|
-
@click="editor && editor.chain().toggleBold().run()"/>
|
|
21
|
-
<BaseButton :selected="editor && editor.isActive('italic')" iconName="fa-italic" label="" type="editor"
|
|
22
|
-
@click="editor && editor.chain().toggleItalic().run()"/>
|
|
23
|
-
<BaseButton :selected="editor && editor.isActive('strike')" iconName="fa-strikethrough" label="" type="editor"
|
|
24
|
-
@click="editor && editor.chain().toggleStrike().run()"/>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="w-1/3 flex flex-row justify-between pl-2">
|
|
27
|
-
<BaseButton :selected="editor && editor.isActive({ textAlign: 'left' })" iconName="fa-align-left" label="" type="editor"
|
|
28
|
-
@click="editor.chain().setTextAlign('left').run()"/>
|
|
29
|
-
<BaseButton :selected="editor && editor.isActive({ textAlign: 'center' })" iconName="fa-align-center" label="" type="editor"
|
|
30
|
-
@click="editor && editor.chain().setTextAlign('center').run()"/>
|
|
31
|
-
<BaseButton :selected="editor && editor.isActive({ textAlign: 'right' })" iconName="fa-align-right" label="" type="editor"
|
|
32
|
-
@click="editor && editor.chain().setTextAlign('right').run()"/>
|
|
33
|
-
<BaseButton :selected="editor && editor.isActive({ textAlign: 'justify' })" iconName="fa-align-justify" label="" type="editor"
|
|
34
|
-
@click="editor && editor.chain().setTextAlign('justify').run()"/>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<p class="my-4 my-2 p-4 rounded-xl h-40 bg-tertiary overflow-auto">
|
|
39
|
-
<editor-content :editor="editor" class="focus:shadow-none focus:outline-none"/>
|
|
40
|
-
</p>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script>
|
|
45
|
-
import { ref } from 'vue';
|
|
46
|
-
import {EditorContent, useEditor} from '@tiptap/vue-3'
|
|
47
|
-
import StarterKit from '@tiptap/starter-kit'
|
|
48
|
-
import Highlight from '@tiptap/extension-highlight'
|
|
49
|
-
import TextAlign from '@tiptap/extension-text-align'
|
|
50
|
-
import BaseButton from "../../Molecules/Button/BaseButton.vue";
|
|
51
|
-
|
|
52
|
-
export default {
|
|
53
|
-
components: {
|
|
54
|
-
EditorContent,
|
|
55
|
-
BaseButton
|
|
56
|
-
},
|
|
57
|
-
props: {
|
|
58
|
-
invalid: {
|
|
59
|
-
type: Boolean,
|
|
60
|
-
default: false
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
data() {
|
|
64
|
-
return {
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
setup(props, {emit}) {
|
|
68
|
-
const editorContent = ref("");
|
|
69
|
-
|
|
70
|
-
const editor = useEditor({
|
|
71
|
-
content: "",
|
|
72
|
-
extensions: [
|
|
73
|
-
StarterKit,
|
|
74
|
-
Highlight,
|
|
75
|
-
TextAlign.configure({
|
|
76
|
-
types: ['heading', 'paragraph'],
|
|
77
|
-
}),
|
|
78
|
-
],
|
|
79
|
-
editorProps: {
|
|
80
|
-
attributes: {
|
|
81
|
-
class: 'focus:outline-none',
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
onUpdate({ editor }) {
|
|
85
|
-
editorContent.value = editor.getHTML();
|
|
86
|
-
emit('update:editorContent', editorContent.value);
|
|
87
|
-
}
|
|
88
|
-
})
|
|
89
|
-
|
|
90
|
-
return {editor, editorContent}
|
|
91
|
-
},
|
|
92
|
-
methods: {
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
|
|
97
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="border rounded-lg text-secondary text-sm p-4 w-full" :class="invalid ? 'border-alarm' : 'border-dropdownSelect'">
|
|
3
|
+
<div data-testid="editor-buttons" class="w-full flex flex-row pl-2">
|
|
4
|
+
<div class="w-1/3 border-r border-dropdownSelect flex flex-row justify-between pr-2">
|
|
5
|
+
<BaseButton iconName="fa-h1" label="" type="editor"
|
|
6
|
+
:selected="editor && editor.isActive('heading', { level: 1 })"
|
|
7
|
+
@click="editor.chain().toggleHeading({ level: 1 }).run()" />
|
|
8
|
+
<BaseButton iconName="fa-h2" label="" type="editor"
|
|
9
|
+
:selected="editor && editor.isActive('heading', { level: 2 })"
|
|
10
|
+
@click="editor.chain().toggleHeading({ level: 2 }).run()"/>
|
|
11
|
+
<BaseButton iconName="fa-h3" label="" type="editor"
|
|
12
|
+
:selected="editor && editor.isActive('heading', { level: 3 })"
|
|
13
|
+
@click="editor.chain().toggleHeading({ level: 3 }).run()"/>
|
|
14
|
+
<BaseButton iconName="fa-paragraph" label="" type="editor"
|
|
15
|
+
:selected="editor && editor.isActive('paragraph')"
|
|
16
|
+
@click="editor.chain().setParagraph().run()"/>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="w-1/3 border-r border-dropdownSelect flex flex-row justify-around">
|
|
19
|
+
<BaseButton :selected="editor && editor.isActive('bold')" iconName="fa-bold" label="" type="editor"
|
|
20
|
+
@click="editor && editor.chain().toggleBold().run()"/>
|
|
21
|
+
<BaseButton :selected="editor && editor.isActive('italic')" iconName="fa-italic" label="" type="editor"
|
|
22
|
+
@click="editor && editor.chain().toggleItalic().run()"/>
|
|
23
|
+
<BaseButton :selected="editor && editor.isActive('strike')" iconName="fa-strikethrough" label="" type="editor"
|
|
24
|
+
@click="editor && editor.chain().toggleStrike().run()"/>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="w-1/3 flex flex-row justify-between pl-2">
|
|
27
|
+
<BaseButton :selected="editor && editor.isActive({ textAlign: 'left' })" iconName="fa-align-left" label="" type="editor"
|
|
28
|
+
@click="editor.chain().setTextAlign('left').run()"/>
|
|
29
|
+
<BaseButton :selected="editor && editor.isActive({ textAlign: 'center' })" iconName="fa-align-center" label="" type="editor"
|
|
30
|
+
@click="editor && editor.chain().setTextAlign('center').run()"/>
|
|
31
|
+
<BaseButton :selected="editor && editor.isActive({ textAlign: 'right' })" iconName="fa-align-right" label="" type="editor"
|
|
32
|
+
@click="editor && editor.chain().setTextAlign('right').run()"/>
|
|
33
|
+
<BaseButton :selected="editor && editor.isActive({ textAlign: 'justify' })" iconName="fa-align-justify" label="" type="editor"
|
|
34
|
+
@click="editor && editor.chain().setTextAlign('justify').run()"/>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<p class="my-4 my-2 p-4 rounded-xl h-40 bg-tertiary overflow-auto">
|
|
39
|
+
<editor-content :editor="editor" class="focus:shadow-none focus:outline-none"/>
|
|
40
|
+
</p>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<script>
|
|
45
|
+
import { ref } from 'vue';
|
|
46
|
+
import {EditorContent, useEditor} from '@tiptap/vue-3'
|
|
47
|
+
import StarterKit from '@tiptap/starter-kit'
|
|
48
|
+
import Highlight from '@tiptap/extension-highlight'
|
|
49
|
+
import TextAlign from '@tiptap/extension-text-align'
|
|
50
|
+
import BaseButton from "../../Molecules/Button/BaseButton.vue";
|
|
51
|
+
|
|
52
|
+
export default {
|
|
53
|
+
components: {
|
|
54
|
+
EditorContent,
|
|
55
|
+
BaseButton
|
|
56
|
+
},
|
|
57
|
+
props: {
|
|
58
|
+
invalid: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: false
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
data() {
|
|
64
|
+
return {
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
setup(props, {emit}) {
|
|
68
|
+
const editorContent = ref("");
|
|
69
|
+
|
|
70
|
+
const editor = useEditor({
|
|
71
|
+
content: "",
|
|
72
|
+
extensions: [
|
|
73
|
+
StarterKit,
|
|
74
|
+
Highlight,
|
|
75
|
+
TextAlign.configure({
|
|
76
|
+
types: ['heading', 'paragraph'],
|
|
77
|
+
}),
|
|
78
|
+
],
|
|
79
|
+
editorProps: {
|
|
80
|
+
attributes: {
|
|
81
|
+
class: 'focus:outline-none',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
onUpdate({ editor }) {
|
|
85
|
+
editorContent.value = editor.getHTML();
|
|
86
|
+
emit('update:editorContent', editorContent.value);
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
|
|
90
|
+
return {editor, editorContent}
|
|
91
|
+
},
|
|
92
|
+
methods: {
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
</script>
|
|
96
|
+
|
|
97
|
+
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import TournamentCard from './TournamentCard.vue';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Organisms/TournamentCard',
|
|
5
|
-
component: TournamentCard,
|
|
6
|
-
tags: ['autodocs'],
|
|
7
|
-
argTypes: {
|
|
8
|
-
detail: {
|
|
9
|
-
control: {
|
|
10
|
-
type: 'object',
|
|
11
|
-
defaultValue: {
|
|
12
|
-
artwork: '',
|
|
13
|
-
tags: ['tag1', 'tag2'],
|
|
14
|
-
name: 'Tournament Name',
|
|
15
|
-
description: 'Tournament Description',
|
|
16
|
-
date: '2023-09-20',
|
|
17
|
-
closes: '2023-09-21',
|
|
18
|
-
location: 'Tournament Location - City, State'
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const Default = {
|
|
26
|
-
args: {
|
|
27
|
-
detail: {
|
|
28
|
-
artwork: '',
|
|
29
|
-
tags: ['tag1', 'tag2'],
|
|
30
|
-
name: 'Tournament Name',
|
|
31
|
-
description: 'Tournament Description',
|
|
32
|
-
date: '2023-09-20',
|
|
33
|
-
closes: '2023-09-21',
|
|
34
|
-
location: 'Tournament Location - City, State'
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
};
|
|
1
|
+
import TournamentCard from './TournamentCard.vue';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/TournamentCard',
|
|
5
|
+
component: TournamentCard,
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
argTypes: {
|
|
8
|
+
detail: {
|
|
9
|
+
control: {
|
|
10
|
+
type: 'object',
|
|
11
|
+
defaultValue: {
|
|
12
|
+
artwork: '',
|
|
13
|
+
tags: ['tag1', 'tag2'],
|
|
14
|
+
name: 'Tournament Name',
|
|
15
|
+
description: 'Tournament Description',
|
|
16
|
+
date: '2023-09-20',
|
|
17
|
+
closes: '2023-09-21',
|
|
18
|
+
location: 'Tournament Location - City, State'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const Default = {
|
|
26
|
+
args: {
|
|
27
|
+
detail: {
|
|
28
|
+
artwork: '',
|
|
29
|
+
tags: ['tag1', 'tag2'],
|
|
30
|
+
name: 'Tournament Name',
|
|
31
|
+
description: 'Tournament Description',
|
|
32
|
+
date: '2023-09-20',
|
|
33
|
+
closes: '2023-09-21',
|
|
34
|
+
location: 'Tournament Location - City, State'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="rounded-xl w-72 shadow">
|
|
3
|
-
<TournamentHeader :artwork="detail.artwork" :tags="detail.tags" />
|
|
4
|
-
<TournamentDetail :detail="detail" />
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
import TournamentHeader from '../../Molecules/Cards/Header/TournamentCardHeader.vue';
|
|
10
|
-
import TournamentDetail from '../../Molecules/Cards/Detail/TournamentCardDetail.vue';
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
name: 'TournamentCard',
|
|
14
|
-
components: {
|
|
15
|
-
TournamentHeader,
|
|
16
|
-
TournamentDetail
|
|
17
|
-
},
|
|
18
|
-
props: {
|
|
19
|
-
detail: {
|
|
20
|
-
type: Object,
|
|
21
|
-
required: true,
|
|
22
|
-
default: () => ({
|
|
23
|
-
artwork: '',
|
|
24
|
-
tags: [],
|
|
25
|
-
name: '',
|
|
26
|
-
description: '',
|
|
27
|
-
date: '',
|
|
28
|
-
closes: '',
|
|
29
|
-
location: ''
|
|
30
|
-
})
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="rounded-xl w-72 shadow">
|
|
3
|
+
<TournamentHeader :artwork="detail.artwork" :tags="detail.tags" />
|
|
4
|
+
<TournamentDetail :detail="detail" />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import TournamentHeader from '../../Molecules/Cards/Header/TournamentCardHeader.vue';
|
|
10
|
+
import TournamentDetail from '../../Molecules/Cards/Detail/TournamentCardDetail.vue';
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
name: 'TournamentCard',
|
|
14
|
+
components: {
|
|
15
|
+
TournamentHeader,
|
|
16
|
+
TournamentDetail
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
detail: {
|
|
20
|
+
type: Object,
|
|
21
|
+
required: true,
|
|
22
|
+
default: () => ({
|
|
23
|
+
artwork: '',
|
|
24
|
+
tags: [],
|
|
25
|
+
name: '',
|
|
26
|
+
description: '',
|
|
27
|
+
date: '',
|
|
28
|
+
closes: '',
|
|
29
|
+
location: ''
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
</script>
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import AddTournamentPageOne from './AddTournamentPageOne.vue';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Templates/Forms/AddTournamentForm/PageOne',
|
|
5
|
-
component: AddTournamentPageOne,
|
|
6
|
-
tags: ['autodocs'],
|
|
7
|
-
argTypes: {}
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const Template = args => ({
|
|
11
|
-
components: { AddTournamentPageOne },
|
|
12
|
-
setup() {
|
|
13
|
-
return {
|
|
14
|
-
args: {
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
methods: {
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
export const Default = {
|
|
23
|
-
args: {
|
|
24
|
-
}
|
|
25
|
-
};
|
|
1
|
+
import AddTournamentPageOne from './AddTournamentPageOne.vue';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Templates/Forms/AddTournamentForm/PageOne',
|
|
5
|
+
component: AddTournamentPageOne,
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
argTypes: {}
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const Template = args => ({
|
|
11
|
+
components: { AddTournamentPageOne },
|
|
12
|
+
setup() {
|
|
13
|
+
return {
|
|
14
|
+
args: {
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
methods: {
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export const Default = {
|
|
23
|
+
args: {
|
|
24
|
+
}
|
|
25
|
+
};
|