8282 mode =" audioRecordNoStop" />
8383 </div >
8484
85+ <!-- If type is audioVideoRecord -->
86+ <div v-else-if =" inputType === 'audioVideoRecord'" >
87+ <AudioVideoRecord
88+ :constraints =" valueConstraints"
89+ :selected_language =" selected_language"
90+ :init =" init" v-on:valueChanged =" sendData" />
91+ </div >
92+
93+ <div v-else-if =" inputType === 'audioVideoPassageRecord'" >
94+ <AudioVideoRecord
95+ :constraints =" valueConstraints"
96+ :selected_language =" selected_language"
97+ :init =" init" v-on:valueChanged =" sendData" />
98+ </div >
99+
100+ <!-- If type is AudioVideoImageRecord -->
101+ <div v-else-if =" inputType === 'audioVideoImageRecord'" >
102+ <AudioVideoRecord
103+ :constraints =" valueConstraints"
104+ :fieldData =" fieldData"
105+ :selected_language =" selected_language"
106+ :init =" init" v-on:valueChanged =" sendData"
107+ mode =" audioVideoImageRecord" />
108+ </div >
109+
110+ <!-- If type is videoRecordNumberTask -->
111+ <div v-else-if =" inputType === 'audioVideoRecordNumberTask'" >
112+ <AudioVideoRecord
113+ :constraints =" valueConstraints"
114+ :selected_language =" selected_language"
115+ :init =" init" v-on:valueChanged =" sendData"
116+ mode =" audioVideoRecordNumberTask" />
117+ </div >
118+
119+ <!-- If type is videoRecordAudioTask -->
120+ <div v-else-if =" inputType === 'videoRecordAudioTask'" >
121+ <AudioVideoRecord
122+ :constraints =" valueConstraints"
123+ :selected_language =" selected_language"
124+ :init =" init" v-on:valueChanged =" sendData"
125+ :fieldData =" fieldData"
126+ mode =" audioVideoRecordAudioTask" />
127+ </div >
128+
129+ <!-- If type is videoRecordNoStop -->
130+ <div v-else-if =" inputType === 'audioVideoRecordNoStop'" >
131+ <AudioVideoRecord
132+ :constraints =" valueConstraints"
133+ :selected_language =" selected_language"
134+ :init =" init" v-on:valueChanged =" sendData"
135+ mode =" audioVideoRecordNoStop" />
136+ </div >
85137
86138 <!-- If type is text -->
87139 <div v-else-if =" inputType === 'text'" >
95147 <!-- If type is textarea-->
96148 <div v-else-if =" inputType === 'textarea'" >
97149 <TextArea
98- :constraints =" valueConstraints"
99- :inputType =" inputType"
100- :selected_language =" selected_language"
101- :init =" init" v-on:valueChanged =" sendData" / >
150+ :constraints =" valueConstraints"
151+ :inputType =" inputType"
152+ :selected_language =" selected_language"
153+ :init =" init" v-on:valueChanged =" sendData" ></ TextArea >
102154 </div >
103155
104156 <!-- If type is pid -->
249301<script >
250302import Radio from ' ../Inputs/WebRadio/' ;
251303import AudioRecord from ' ../Inputs/WebAudioRecord/' ;
304+ import AudioVideoRecord from ' ../Inputs/WebAudioVideoRecord' ;
305+ import VideoRecord from ' ../Inputs/WebAudioVideoRecord' ;
252306import TextInput from ' ../Inputs/WebTextInput/' ;
253307import TextArea from ' ../Inputs/TextArea/' ;
254308import IntegerInput from ' ../Inputs/WebIntegerInput/' ;
@@ -268,7 +322,6 @@ import StudySign from '../StudySign/StudySign';
268322import EmailInput from ' ../Inputs/EmailInput' ;
269323import ParticipantId from ' ../Inputs/ParticipantId/ParticipantId' ;
270324
271-
272325export default {
273326 name: ' InputSelector' ,
274327 props: {
@@ -316,6 +369,7 @@ export default {
316369 SaveData,
317370 Radio,
318371 AudioRecord,
372+ AudioVideoRecord,
319373 TextInput,
320374 TextArea,
321375 EmailInput,
@@ -329,7 +383,6 @@ export default {
329383 TimeRange,
330384 SelectInput,
331385 StaticReadOnly,
332- // InputSelector-AudioRecord: AudioRecord
333386 // Static,
334387 },
335388 data () {
0 commit comments