Please enable JavaScript.
Coggle requires JavaScript to display documents.
inline-survey-form, SurveyQuestion, <composite-question-component>,…
inline-survey-form
<inline-survey-form-component>
<question-container-component>
Input()
question!: SurveyQuestion
ViewChild
('questionContainer', { read: ViewContainerRef }) entry?: ViewContainerRef
Input()
surveyService!: SurveyService
Input()
visible= false
questions: SurveyQuestion[] = []
formId: string
trajectory: string[] = []
currentQuestionId: string
displayDocumentCollector: boolean = false
stepper: SurveyStepper = new SurveyStepper()
testMode: boolean = false
Methods()
getQuestions()
goToQuestion(id: number)
onTerminateSurvey()
goToLastAnsweredQuestion()
setTrajectory(path: string[])
updateCanBeTerminated()
goToNextQuestion()
goToPreviousQuestion()
findQuestionIdByIndex(i: number)
canBeTerminated: boolean
Standard-Questions
question-base-component
pending: boolean = false
Method()
sendAnswers()
Output()
response : EventEmitter<number>
Input()
question!: SurveyQuestion
<binary-question-component>
Method()
onAnswerClick()
<answer-container-component>
<date-only-year-question-component>
Method()
onYearSelected(normalizedMonthAndYear: Moment, datepicker: MatDatepicker<Moment>)
yearCtrl: FormControl
Method()
onSubmit()
<date-question-component>
dateCtrl: FormControl
Method()
onDateChanged()
<date-without-day-question-component>
Method()
setMonthAndYear(normalizedMonthAndYear: Moment,datepicker: MatDatepicker<Moment>)
yearCtrl: FormControl
dateForm: FormGroup
monthCtrl: FormControl
Method()
onSubmit()
<input-question-component>
inputCtrl: FormControl
Method()
onInputChange()
<multi-choice-question-component>
onAnswerClick(option: QuestionOption)
displayColumn: boolean = false
multiChoiceCtrl: FormControl
onNextClick()
<positive-number-question-component>
inputCtrl: FormControl
Method()
onInputChange()
<composite-question-component>
<select-question-component>
<answer-container-component> :
filteredOptions!: Observable<QuestionOption[]>
displayColumn: boolean: false
selectCtrl: FormControl
Methods()
onAnswerClick(option: QuestionOption)
onOptionSelected(event: MatAutocompleteSelectedEvent)
getOptionByDescription(description: string): QuestionOption
getOptionById(id: string | undefined): QuestionOption | undefined
_filter(value: string): QuestionOption[]
<questions-stepper-component>
Output()
selectedStepEvent: EventEmitter<number>
Input()
trajectory: string[]
progression?: number
Method()
updateProgression()
Input()
questionIndex = 0
Exceptional-Question
<car-model-question-component>
<currency-question-component>
<bonus-malus-question-component>
<commune-question-component>
<car-brand-question-component>
<welcome-page-component>
Input()
riskId?: string
Input()
logoLink?: string | null
welcomePageService
method()
getSurveyInformation()
<section-stepper-component>
Input()
sectionList: string[]
Input()
sectionIndex= 0
Method()
updateQuestion()
<terminated-page-component>
Output()
completeClickEvent
Input()
completed: boolean
<landing-page-component>
method()
openSurveySession(id : string)
getSurveyState(id : string)
Shared
<answer-container-component>
Input()
dimension: 'large' | 'adapted' = 'adapted'
Input()
content!: string
Input()
active = false
isPending = false
<document-collector-component>
SurveyQuestion
id: string
optional?: QuestionOption
childrenQuestions?: null | NestedQuestion[]
content: string
required: boolean
answer: string|null
answered = false
questionType: TypeQuestion
section!: string
ordre : number= 0
options?: CustomerQuestionOption[]
compositeQuestionElements?: null | NestedElement[]
<composite-question-component>
questionIndication: string
inlineElementsFormArray: FormArray<NestedElement>
<inline-element-component>
Input()
elementFormControl: FormControl<NestedElement>
Method()
onDeleteElement()
Output()
deleteElementEvent: EventEmitter<string>
Input()
nestedQuestionList : NestedQuestion[]
Methods()
handleDeleteElementEvent(id : string)
onAddNewElement()
onNextQuestionClick()
nestedQuestionList : NestedQuestion[]
QuestionOption
icon: strig
id : string
description: string