Please enable JavaScript.
Coggle requires JavaScript to display documents.
survey-editor-module, StandardQuestion, PanelState, Question, RiskListItem…
survey-editor-module
survey-editor-super-admin-view-module
<survey-editor-super-admin-view-component>
<survey-viewer-component>
<survey-editor-component>
<survey-grouped-by-risk-component>
survey-editor-admin-view-module
<survey-editor-admin-view-component>
<survey-viewer-component>
<survey-editor-component>
<survey-grouped-by-risk-component>
shared-components-module
Shared-components
<survey-grouped-by-risk-component>
<survey-list-component>
<survey-list-item-component>
<a3dn-pill> (licence)
Methods()
onCloneClickHandler()
onValidVersionClick()
onDraftClick()
<a3dn-inline-editor-component>
Method()
onChangeSurveyName()
Input()
survey : Survey
<empty-survey-list-component>
Method()
onAddNewStandardSurvey()
Method()
onAddNewPersonalizedSurvey()
surveyList: Survey
Methods()
onAddNewStandardSurvey()
onAddNewPersonalizedSurvey()
onRiskSelected()
<a3dn-subheader>
<add-survey-modal-component>
Methods()
createNewSurvey()
onDenyClick()
<a3dn-licence-finder>
onLicenceSelected()
licenceCtrl : FormControl<LicenceDto>
licences : LicenceDto[]
getLicencesBeginsWith()
Output()
closeModalEvent : EventEmitter
<a3dn-risk-finder>
<a3dn-risk-navigator-component>
Input()
mode = 'super-admin' | 'admin'
<survey-draft-component>
<survey-section-component>
Input()
section : QuestionSection
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)
<a3dn-card-component>
isRequired
choiceNumber
icon
label
Input()
question!: Question
Input()
mode: 'edit' | 'view' = 'view'
Output()
refresh = new EventEmitter<void>
Methods()
onGoUp()
onGoDown()
onDelete()
onEditQuestion()
<composite-question-item-component> (if type == composite)
<question-item-component>
Questions
Elements
<edit-question-panel-component>
questionForm : FormGroup({})
indiceCtrl: FormControl<string>
question!: QuestionForEditing
labelCtrl:FormControl<string>
requiredCtrlFormControl<boolean>
<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[]
pending:boolean
type: TypeQuestion
id: string
label: string
Methods()
hide()
startPending()
stopPending()
QUESTION_TYPE_ICON_MAP
Input()
type : TypeQuestion
Output()
icon: QuestionTypeIcon
hidden: boolean
icon: string
methodsl
onAddQuestionToSection()
getListQuestions()
onRefresh()
closePanel()
<valid-survey-component>
<survey-deployment-component>
Input()
deployments: Deployment[]
Input()
surveyId!: string
Output()
deploy = new EventEmitter<Deployment>()
Output()
delete = new EventEmitter<Deployment>()
<deployment-item-component>
Output()
deploy = new EventEmitter<void>()
Input()
deployment!: Deployment
Input()
selected = false
Output()
delete = new EventEmitter<void>()
Method()
onDeploymentClick()
<a3dn-subheader>
Method()
onDeployHandler(deployment: Deployment)
refreshSurvey()
onNewVersionClick()
onDeleteSurveyHandler(deployment: Deployment)
validSurvey: ValidSurvey
deployments : Deployment[]
canCreateNewVersion: boolean
type : SurveyType
licenceName?: null | string
sections: QuestionSection[]
<survey-section-component>
<standard-questions-component>
<a3dn-subheader>
elements : StandardQuestion[]
Method()
onEditStandardQuestion() // TODO
onAddNewStandardQuestion()
getList()
onDeleteHandler(question: StandardQuestion)
<standard-question-item>
Input()
question!: StandardQuestion
Output()
editClick = new EventEmitter<void>()
Output()
deleteClick = new EventEmitter<void>()
<add-standard-question-panel-component>
components
<input-question-editor-component>
<multichoice-question-component>
<date-question-editor-component>
<composite-question-component>
<search-question-for-composite-component>
<a3dn-edit-panel>
labelCtrl: FormControl
questionTypes: PanelQuestionType[]
state: PanelState
indiceCtrl: FormControl
questionForm: FormGroup
Methods()
onPreviousClick()
onRefreshForm()
onResetForm()
closePanel()
onTypeClick(type: PanelQuestionType)
onSaveQuestion()
StandardQuestion
type : QuestionType
label: string
canBeDeleted: boolean
icon:string
risks: RisqueQuestionStandardDto[]
id: string
hidden:boolean = false
system: boolean
PanelState
typeSelected?: PanelQuestionType | null
position: PanelPosition = 'type-selection' | 'form-filling'
setType(type: PanelQuestionType)
headerIcon: string
setFirstStep()
showActionButtons: boolean
headerTitle: string
Question
id : string
label: string
options: QuestionOption
type: QuestionType
required: boolean
childrenQuestions?: null | NestedQuestion[]
compositeQuestionElements?: null | NestedElement[]
RiskListItem
idReferentiel : string
description: string
idCatalogue : string
nombreQuestionnairesPersonnalises: number
questionnaireStandardExiste: boolean
QuestionSection
id : SectionEnum
BienAssure = 'BienAssure',
UsageBienAssure = 'UsageBienAssure',
Assure = 'Assure',
Autre = 'Autre'
description: string
questions: Question[]
mode : SectionMode
icon: string
PanelQuestionType
hovered?: boolean
typeId: QuestionTypeId
name: string
icon: QuestionTypeIcon
SurveyListItem
options : SurveyOptions
licencesNumber : number
description : string | null
validVersionId : string
draftId : string
icon : SurveyIcon
name : string
color : PillColor
type : SurveyType
'standard' | 'personalized'
modificationDate : string
DeploymentStatus
Brouillon
NonDeploye
AEteDeploye
ActuellementDeploye
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
Method()
adapt()
Deployment
id: string
date : string
status: DeploymentStatus
NestedElement
label: string | null
order?: number
NestedQuestion
label: string
id: string
ElementListQuestionnaire
risk : ElementListRisque
<a3dn-risk-navigator-component>