File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 88 <div id =" form-content" >
99 <h2 class =" question" >
1010 Please provide a description of the work
11- <SchemaGuideLink anchor =" #abstract" />
11+ <q-icon
12+ name =" ion-information-circle-outline"
13+ size =" 24px"
14+ color =" primary"
15+ v-on:click =" showAbstractHelp = true"
16+ style =" cursor :pointer ;"
17+ />
1218 </h2 >
1319 <q-input
1420 autogrow
2127 v-bind:model-value =" abstract"
2228 v-on:update:modelValue =" setAbstract"
2329 />
30+ <InfoDialog
31+ v-model =" showAbstractHelp"
32+ v-bind:data =" helpData.abstract"
33+ />
2434 </div >
2535</template >
2636
2737<script lang="ts">
28- import SchemaGuideLink from ' components/SchemaGuideLink. vue'
29- import { defineComponent } from ' vue'
38+ import { defineComponent , ref } from ' vue'
39+ import InfoDialog from ' components/InfoDialog. vue'
3040import { useCff } from ' src/store/cff'
3141
3242export default defineComponent ({
3343 name: ' ScreenAbstract' ,
3444 components: {
35- SchemaGuideLink
45+ InfoDialog
3646 },
3747 setup () {
3848 const { abstract, setAbstract } = useCff ()
49+ const helpData = {
50+ abstract: {
51+ title: ' abstract' ,
52+ url: ' https://github.com/citation-file-format/citation-file-format/blob/1.2.0/schema-guide.md#abstract' ,
53+ description: ' A description or summary of the work.'
54+ }
55+ }
3956 return {
4057 abstract ,
41- setAbstract
58+ helpData ,
59+ setAbstract ,
60+ showAbstractHelp: ref (false )
4261 }
4362 }
4463})
You can’t perform that action at this time.
0 commit comments