Please enable JavaScript.
Coggle requires JavaScript to display documents.
<import-contract-component>, <file-import-component>, <…
<import-contract-component>
components
<a3dn-stepper-component>
<file-import-component>
<fields-mapping-component>
<format-validation-component>
<referencial-mapping-component>
props
contractImportSteps: Step[]
selectedIndex: number = 0
mappingFormArray: FormArray
fileContentCtrl: FormControl<ContractImportFileData>
referencialGroup: FormGroup
followUpStatusCtrl: FormControl<FollowUpEnum>
anomalyList: Anomaly
referencialList?: UnkownReferencial
methods()
onStepClick(step: number)
onMappingSubmitClick()
verifyFollowUpFields()
verifyNonFollowUpFields()
onDisplayAnomalyPage(anomalies: ErreurImportContrat[])
onDisplayReferencialPage(companies: string[], risks: string[],formules: FormuleInconnuDto[])
onImportFollowUpContracts()
onImportNonFollowUpContracts()
onPrecedentButtonClick()
onClosePanel(msg?: string)
onNavigateToPanelByIndex(index: number)
<file-import-component>
props
reader: FileReader = new FileReader()
inputs()
followUpStatusCtrl: FormControl<FollowUpEnum>
fileContentCtrl: FormControl<ContractImportFileData>
outputs()
fileDataChangeEvent : EventEmitter<void> = new EventEmitter<void>
methods()
onFileUpload(event: FileData)
onFileRemoved()
onResetClick()
<fields-mapping-component>
inputs()
fileContentCtrl: FormControl<ContractImportFileData>
followUpStatusCtrl: FormControl<FollowUpEnum>
const()
REQUIRED_FIELDS: string[] = []
methods()
onResetClick()
<field-row-mapping-component>
inputs()
field: {[key : string]: string}
followUpStatus: FollowUpEnum
methods()
onSelectOption(event: { id: string; description: string })
onResetClick()
UnkownReferencial
risks: string[]
companies: string[]
formules: FormuleInconnuDto[]
<referencial-mapping-component>
inputs
companies: string[] = []
risks: string[] = []
formules: FormuleInconnuDto[] = []
props
companiesFormArray: FormArray<UnknownReferencialFormGroup>
risksFormArray: FormArray<UnknownReferencialFormGroup>
productsFormArray: FormArray<UnknownReferencialFormGroup>
methods()
addValuesToFormArray(values : Object[], form: UnknowReferencialFormGroup, controlName: string)
onResetClick()
ContractImportFileData
props()
values: { [key: string]: string | number }[] = []
isValidData: boolean = true
errorMessage?: string
methods()
createValueFromArrayBuffer(fileTargetResult: string | ArrayBuffer)
createHeaders()
deleteEmptyColums()
deleteEmptyRows(): string
UnknownReferencialFormGroup
descriptionCtrl : FormControl<string>
mappingCtrl : FormControl<string>
<format-validation-component>
Input()
anomalies: Anomaly[] = [
Anomaly
props
rows: string
column: string
errorMessage: string