Please enable JavaScript.
Coggle requires JavaScript to display documents.
Questionnaire, CustomerQuestion, <customer-survey-component>,…
Questionnaire
CustomerQuestion
options?: CustomerQuestionOption[]
answer: string|null
answered = false
ordre : number= 0
section!: string
id: string
content: string
questionType: TypeQuestion
required: boolean
optional?: QuestionOptions
childrenQuestions?: null | NestedQuestion[]
compositeQuestionElements?: null | NestedElement[]
<customer-survey-component>
<welcome-page-component>
Input()
logoLink?: string | null
Input()
terminated = false
Input()
risk?: string
Output()
completeClickedEvent
<document-collector-component>
<question-stepper-component>
Input()
questions: CustomerQuestion[]
Input()
questionIndex = 0
Output()
stepSelected = EventEmitter
progression?: number
Method()
updateProgression()
<question-model-component>
Input()
question!: CustomerQuestion
Input()
selected = false
Input()
customerSurveyService!: CustomerSurveyService
Output()
nextQuestion: EventEmitter<string | null>
genericComponent?: GenericQuestionDirective
Input()
nestedQuestions?: null | NestedQuestion[]
Input()
nestedElements?: null | NestedElement[]
Input()
question!: CustomerQuestion
Input()
data?: string
Input()
selected = false
Output()
nextQuestion : EventEmitter<string>
Output()
error: EventEmitter<number>
customerSurveyService!: CustomerSurveyService
pending = false
Method()
sendAnswers()
<section-stepper-component>
Input()
questions: CustomerQuestion[]
Input()
questionIndex = 0
Output()
stepSelected = new EventEmitter()
progression?: number
Method()
updateProgression()
Property()
questions: CustomerQuestion[]
Methods()
getQuestions()
onErrorHandler()
onNextQuestionClick(nextQuestionId: string | undefined | null)
navigateToQuestionByIndex(questionIndex = 0)
onTerminateClick()
setQuestionById(id: string | undefined | null)
setQuestionById(id: string | undefined | null)
navigateToLastAnsweredQuestion(): number
setFilteredQuestion(path: string[])
checkIfIsItPossibleToTerminate()
onMoveToQuestion(move: number)
Exceptional-Question
<bonus-malus-question-component>
<commune-question-component>
<currency-question-component>
<mark-question-component>
<model-question-component>
Shared
<answer-block-component>
Input()
content!: string
Input()
active = false
Input()
dimension: 'large' | 'adapted' = 'adapted'
isPending = false
Standard-Questions
<binary-question-component>
Method()
onAnswerClick()
<answer-block-component>
<date-only-year-question-component>
yearCtrl: FormControl
Method()
onYearSelected(normalizedMonthAndYear: Moment, datepicker: MatDatepicker<Moment>)
Method()
onSubmit()
<date-question-component>
dateCtrl: FormControl
Method()
onDateChanged()
<date-without-day-question-component>
dateForm: FormGroup
monthCtrl: FormControl
yearCtrl: FormControl
Method()
setMonthAndYear(normalizedMonthAndYear: Moment,datepicker: MatDatepicker<Moment>)
Method()
onSubmit()
<input-question-component>
inputCtrl: FormControl
Method()
onInputChange()
<multi-choice-question-component>
displayColumn: boolean = false
multiChoiceCtrl: FormControl
onAnswerClick(option: QuestionOption)
onNextClick()
<positive-number-question-component>
inputCtrl: FormControl
Method()
onInputChange()
<composite-question-component>
displayColumn : boolean = false
Method()
onAnswerClick(option: QuestionOption)
onNextClick()
<select-question-component>
displayColumn: boolean: false
selectCtrl: FormControl
filteredOptions!: Observable<QuestionOption[]>
Methods()
onAnswerClick(option: QuestionOption)
onOptionSelected(event: MatAutocompleteSelectedEvent)
getOptionByDescription(description: string): QuestionOption
getOptionById(id: string | undefined): QuestionOption | undefined
_filter(value: string): QuestionOption[]
<answer-block-component>
StandardQuestion
icon:string
hidden:boolean = false
id: string
type : QuestionType
label: string
canBeDeleted: boolean
risks: RisqueQuestionStandardDto[]
system: boolean
Question
id : string
label: string
required: boolean
type: QuestionType
options: QuestionOption
childrenQuestions?: null | NestedQuestion[]
compositeQuestionElements?: null | NestedElement[]
PanelState
headerIcon: string
headerTitle: string
showActionButtons: boolean
typeSelected?: PanelQuestionType | null
position: PanelPosition = 'type-selection' | 'form-filling'
setType(type: PanelQuestionType)
setFirstStep()
QuestionSection
id : SectionEnum
Assure = 'Assure',
BienAssure = 'BienAssure',
UsageBienAssure = 'UsageBienAssure',
Autre = 'Autre'
description: string
questions: Question[]
mode : SectionMode
icon: string
<survey-management-module>
<survey-grouped-by-risk-component>
<a3dn-subheader>
<a3dn-drawer-container>
<a3dn-expansion-panel>
Methods()
onAddNewStandardSurvey()
onAddNewPersonalizedSurvey()
onCloneClickHandler()
<add-survey-modal-component>
<a3dn-modal>
licenceCtrl : FormControl<string>
licences : LicenceDto[]
code : string
nom : string
possedeQuestionnairePersonnalise: boolean
Output()
closeModalEvent : EventEmitter
Methods()
getLicencesBeginsWith()
onLicenceSelected()
createNewSurvey()
cloneSurvey()
<survey-item-component>
Input()
survey : Survey
Methods()
onVersionClick()
onDraftClick()
onCloneClick()
<a3dn-pill> (licences number)
Input()
surveysByRisk: SurveyByRisk
<survey-editor-component>
<a3dn-subheader>
Methods()
onDeleteSurveyDraft()
validateSurveyDraft()
breadCrumb : BreadCrumb[]
<survey-section-component>
Output()
addQuestionEvent: EventEmitter<void>
Output()
refresh: EventEmitter<void>
<a3dn-list-scroll> (section.questions)
<question-wrapper>
Input()
question!: Question
Input()
mode: 'edit' | 'view' = 'view'
Output()
refresh = new EventEmitter<void>()
<question-item-component> (if type != composite)
Input()
question!: Question
Input()
mode: 'edit' | 'view' = 'view'
Output()
refresh = new EventEmitter<void>
Methods()
onGoUp()
onGoDown()
onDelete()
onEditQuestion()
<a3dn-card-component>
icon
label
choiceNumber
isFilterQuestion
isRequired
<composite-question-item-component> (if type == composite)
<question-item-component>
Questions
Elements
Input()
section : QuestionSection
<edit-question-panel-component>
question!: QuestionForEditing
labelCtrl:FormControl<string>
indiceCtrl: FormControl<string>
requiredCtrlFormControl<boolean>
questionForm : FormGroup({})
<edit-single-choice-question-component>
Input()
question!: QuestionForEditing
Output()
associated = new EventEmitter<void>
Method()
getPossibilyLinkedQuestion()
linkedQuestions: PossiblyLinkedQuestion[]
questionFormArray : FormArray
onValidateAssociation()
onLabelChanges()
onAddNewOption()
<edit-composite-question-component> // TODO
<add-question-panel-component>
elements : QuestionForAdding[]
id: string
label: string
type: TypeQuestion
Methods()
startPending()
stopPending()
hide()
QUESTION_TYPE_ICON_MAP
Input()
type : TypeQuestion
Output()
icon: QuestionTypeIcon
pending:boolean
hidden: boolean
icon: string
Methods()
onAddQuestionToSection()
getListQuestions()
onRefresh()
closePanel()
<survey-viewer-component>
<a3dn-subheader>
Method()
refreshSurvey()
onNewVersionClick()
onDeployHandler(deployment: Deployment)
onDeleteSurveyHandler(deployment: Deployment)
validSurvey: ValidSurvey
canCreateNewVersion: boolean
type : SurveyType
licenceName?: null | string
sections: QuestionSection[]
deployments : Deployment[]
<survey-section-component>
<survey-deployment-component>
Input()
deployments: Deployment[]
Input()
surveyId!: string
Output()
deploy = new EventEmitter<Deployment>()
Output()
delete = new EventEmitter<Deployment>()
<deployment-item-component>
Input()
deployment!: Deployment
Input()
selected = false
Output()
deploy = new EventEmitter<void>()
Output()
delete = new EventEmitter<void>()
Method()
onDeploymentClick()
<standard-questions-component>
elements : StandardQuestion[]
Method()
onAddNewStandardQuestion()
getList()
onDeleteHandler(question: StandardQuestion)
onEditStandardQuestion() // TODO
<a3dn-subheader>
<standard-question-item>
Input()
question!: StandardQuestion
Output()
editClick = new EventEmitter<void>()
Output()
deleteClick = new EventEmitter<void>()
<add-standard-question-panel-component>
questionTypes: PanelQuestionType[]
state: PanelState
labelCtrl: FormControl
indiceCtrl: FormControl
questionForm: FormGroup
Methods()
onPreviousClick()
closePanel()
onResetForm()
onRefreshForm()
onTypeClick(type: PanelQuestionType)
onSaveQuestion()
<a3dn-edit-panel>
components
<multichoice-question-component>
<date-question-editor-component>
<input-question-editor-component>
<composite-question-component>
<search-question-for-composite-component>
PanelQuestionType
typeId: QuestionTypeId
icon: QuestionTypeIcon
name: string
hovered?: boolean
const SURVEY_EDITOR_BREADCRUMB
Administration
link: '/a/super-admin'
Conseil/vente
link: '/a/super-admin'
Recueil de besoins
link: '/a/super-admin/sales/requirements-gathering-form/list'
QuestionForEditingAdapter
Input()
item: QuestionAModifierDto
Output()
: QuestionForEditing
adapt()
Deployment
id: string
date : string
status: DeploymentStatus
QuestionOption
id : string
description: string
icon: strig
SurveyByRisk
surveys : Survey[]
icon : SurveyIcon
name : string
color : PillColor
modificationDate : string
type : SurveyType
'standard' | 'personalized'
options : SurveyOptions
licencesNumber : number
description : string | null
validVersionId : string
draftId : string
risk : Risk
description: string
idCatalogue : string
idReferentiel : string
NestedQuestion
id: string
label: string
NestedElement
label: string | null
order?: number
<collect-of-needs-module>
<collect-of-needs-component>
<a3dn-object-finder> (client)
<a3dn-object-finder> (risk)
Methods()
onFeedbackOpen()
onSendByEmailClick()
onOpenSurveyClick()
onVisualizeSurveyClick()