|
1 | 1 | <template> |
2 | | - <q-stepper |
3 | | - animated |
4 | | - color="primary" |
5 | | - class="bg-secondary col-12 col-sm-2 gt-xs text-primary" |
6 | | - error-color="negative" |
7 | | - error-icon="warning" |
8 | | - flat |
9 | | - header-nav |
10 | | - inactive-color="primary" |
11 | | - inactive-icon="" |
12 | | - v-bind:model-value="stepName" |
13 | | - vertical |
14 | | - > |
15 | | - <q-step |
16 | | - data-cy="step-start" |
17 | | - name="start" |
18 | | - aria-label="Start" |
19 | | - title="Start" |
20 | | - v-bind:active-icon="errorStateScreenStart ? 'warning' : 'edit'" |
21 | | - v-bind:error="errorStateScreenStart" |
22 | | - v-bind:order="0" |
23 | | - v-on:click="setStepName('start')" |
24 | | - /> |
| 2 | + <nav> |
| 3 | + <q-stepper |
| 4 | + animated |
| 5 | + class="transparent" |
| 6 | + error-color="negative" |
| 7 | + error-icon="warning" |
| 8 | + flat |
| 9 | + header-nav |
| 10 | + inactive-color="primary" |
| 11 | + inactive-icon="" |
| 12 | + v-bind:model-value="stepName" |
| 13 | + vertical |
| 14 | + > |
| 15 | + <q-step |
| 16 | + data-cy="step-start" |
| 17 | + name="start" |
| 18 | + aria-label="Start" |
| 19 | + title="Start" |
| 20 | + v-bind:active-icon="errorStateScreenStart ? 'warning' : 'edit'" |
| 21 | + v-bind:error="errorStateScreenStart" |
| 22 | + v-bind:order="0" |
| 23 | + v-on:click="setStepName('start')" |
| 24 | + /> |
25 | 25 |
|
26 | | - <q-step |
27 | | - data-cy="step-authors" |
28 | | - name="authors" |
29 | | - aria-label="Authors" |
30 | | - title="Authors" |
31 | | - v-bind:active-icon="errorStateScreenAuthors ? 'warning' : 'edit'" |
32 | | - v-bind:error="errorStateScreenAuthors" |
33 | | - v-bind:order="1" |
34 | | - v-on:click="setStepName('authors')" |
35 | | - /> |
| 26 | + <q-step |
| 27 | + data-cy="step-authors" |
| 28 | + name="authors" |
| 29 | + aria-label="Authors" |
| 30 | + title="Authors" |
| 31 | + v-bind:active-icon="errorStateScreenAuthors ? 'warning' : 'edit'" |
| 32 | + v-bind:error="errorStateScreenAuthors" |
| 33 | + v-bind:order="1" |
| 34 | + v-on:click="setStepName('authors')" |
| 35 | + /> |
36 | 36 |
|
37 | | - <q-step |
38 | | - data-cy="step-identifiers" |
39 | | - name="identifiers" |
40 | | - aria-label="Identifiers" |
41 | | - title="Identifiers" |
42 | | - v-bind:active-icon="errorStateScreenIdentifiers ? 'warning' : 'edit'" |
43 | | - v-bind:error="errorStateScreenIdentifiers" |
44 | | - v-bind:order="2" |
45 | | - v-if="showAdvanced" |
46 | | - v-on:click="setStepName('identifiers')" |
47 | | - /> |
| 37 | + <q-step |
| 38 | + data-cy="step-identifiers" |
| 39 | + name="identifiers" |
| 40 | + aria-label="Identifiers" |
| 41 | + title="Identifiers" |
| 42 | + v-bind:active-icon="errorStateScreenIdentifiers ? 'warning' : 'edit'" |
| 43 | + v-bind:error="errorStateScreenIdentifiers" |
| 44 | + v-bind:order="2" |
| 45 | + v-if="showAdvanced" |
| 46 | + v-on:click="setStepName('identifiers')" |
| 47 | + /> |
48 | 48 |
|
49 | | - <q-step |
50 | | - data-cy="step-related-resources" |
51 | | - name="related-resources" |
52 | | - aria-label="Related resources" |
53 | | - title="Related resources" |
54 | | - v-bind:active-icon="errorStateScreenRelatedResources ? 'warning' : 'edit'" |
55 | | - v-bind:error="errorStateScreenRelatedResources" |
56 | | - v-bind:order="3" |
57 | | - v-if="showAdvanced" |
58 | | - v-on:click="setStepName('related-resources')" |
59 | | - /> |
| 49 | + <q-step |
| 50 | + data-cy="step-related-resources" |
| 51 | + name="related-resources" |
| 52 | + aria-label="Related resources" |
| 53 | + title="Related resources" |
| 54 | + v-bind:active-icon="errorStateScreenRelatedResources ? 'warning' : 'edit'" |
| 55 | + v-bind:error="errorStateScreenRelatedResources" |
| 56 | + v-bind:order="3" |
| 57 | + v-if="showAdvanced" |
| 58 | + v-on:click="setStepName('related-resources')" |
| 59 | + /> |
60 | 60 |
|
61 | | - <q-step |
62 | | - data-cy="step-abstract" |
63 | | - name="abstract" |
64 | | - aria-label="Abstract" |
65 | | - title="Abstract" |
66 | | - v-bind:order="4" |
67 | | - v-if="showAdvanced" |
68 | | - v-on:click="setStepName('abstract')" |
69 | | - /> |
| 61 | + <q-step |
| 62 | + data-cy="step-abstract" |
| 63 | + name="abstract" |
| 64 | + aria-label="Abstract" |
| 65 | + title="Abstract" |
| 66 | + v-bind:order="4" |
| 67 | + v-if="showAdvanced" |
| 68 | + v-on:click="setStepName('abstract')" |
| 69 | + /> |
70 | 70 |
|
71 | | - <q-step |
72 | | - data-cy="step-keywords" |
73 | | - name="keywords" |
74 | | - aria-label="Keywords" |
75 | | - title="Keywords" |
76 | | - v-bind:active-icon="errorStateScreenKeywords ? 'warning' : 'edit'" |
77 | | - v-bind:error="errorStateScreenKeywords" |
78 | | - v-bind:order="5" |
79 | | - v-if="showAdvanced" |
80 | | - v-on:click="setStepName('keywords')" |
81 | | - /> |
| 71 | + <q-step |
| 72 | + data-cy="step-keywords" |
| 73 | + name="keywords" |
| 74 | + aria-label="Keywords" |
| 75 | + title="Keywords" |
| 76 | + v-bind:active-icon="errorStateScreenKeywords ? 'warning' : 'edit'" |
| 77 | + v-bind:error="errorStateScreenKeywords" |
| 78 | + v-bind:order="5" |
| 79 | + v-if="showAdvanced" |
| 80 | + v-on:click="setStepName('keywords')" |
| 81 | + /> |
82 | 82 |
|
83 | | - <q-step |
84 | | - data-cy="step-license" |
85 | | - name="license" |
86 | | - aria-label="License" |
87 | | - title="License" |
88 | | - v-bind:order="6" |
89 | | - v-if="showAdvanced" |
90 | | - v-on:click="setStepName('license')" |
91 | | - /> |
| 83 | + <q-step |
| 84 | + data-cy="step-license" |
| 85 | + name="license" |
| 86 | + aria-label="License" |
| 87 | + title="License" |
| 88 | + v-bind:order="6" |
| 89 | + v-if="showAdvanced" |
| 90 | + v-on:click="setStepName('license')" |
| 91 | + /> |
92 | 92 |
|
93 | | - <q-step |
94 | | - data-cy="step-version-specific" |
95 | | - name="version-specific" |
96 | | - aria-label="Version specific" |
97 | | - title="Version specific" |
98 | | - v-bind:active-icon="errorStateScreenVersionSpecific ? 'warning' : 'edit'" |
99 | | - v-bind:error="errorStateScreenVersionSpecific" |
100 | | - v-bind:order="7" |
101 | | - v-if="showAdvanced" |
102 | | - v-on:click="setStepName('version-specific')" |
103 | | - /> |
| 93 | + <q-step |
| 94 | + data-cy="step-version-specific" |
| 95 | + name="version-specific" |
| 96 | + aria-label="Version specific" |
| 97 | + title="Version specific" |
| 98 | + v-bind:active-icon="errorStateScreenVersionSpecific ? 'warning' : 'edit'" |
| 99 | + v-bind:error="errorStateScreenVersionSpecific" |
| 100 | + v-bind:order="7" |
| 101 | + v-if="showAdvanced" |
| 102 | + v-on:click="setStepName('version-specific')" |
| 103 | + /> |
104 | 104 |
|
105 | | - <q-step |
106 | | - active-icon="navigate_next" |
107 | | - data-cy="step-finish" |
108 | | - name="finish" |
109 | | - aria-label="Finish" |
110 | | - title="Finish" |
111 | | - v-bind:order="showAdvanced ? 8 : 2" |
112 | | - v-on:click="setStepName('finish')" |
113 | | - /> |
114 | | - </q-stepper> |
| 105 | + <q-step |
| 106 | + active-icon="navigate_next" |
| 107 | + data-cy="step-finish" |
| 108 | + name="finish" |
| 109 | + aria-label="Finish" |
| 110 | + title="Finish" |
| 111 | + v-bind:order="showAdvanced ? 8 : 2" |
| 112 | + v-on:click="setStepName('finish')" |
| 113 | + /> |
| 114 | + </q-stepper> |
| 115 | + </nav> |
115 | 116 | </template> |
116 | 117 |
|
117 | 118 | <script lang="ts"> |
|
0 commit comments