diff --git a/frontend/app/commonComponents/zh-multiselect/zh-multiselect.component.ts b/frontend/app/commonComponents/zh-multiselect/zh-multiselect.component.ts index 40f788fb..360edd8c 100644 --- a/frontend/app/commonComponents/zh-multiselect/zh-multiselect.component.ts +++ b/frontend/app/commonComponents/zh-multiselect/zh-multiselect.component.ts @@ -7,27 +7,27 @@ import { MultiSelectComponent } from '@geonature_common/form/multiselect/multise styleUrls: ['./zh-multiselect.component.scss'], }) export class ZHMultiSelectComponent extends MultiSelectComponent implements OnInit { - /** - */ + /** + */ @Input() multiple: boolean; @Input() hightlightValue: boolean; @Input() groupBy: string | null; @Input() placeholder: string; @Output() onOpen = new EventEmitter(); constructor() { - super() + super(); this.multiple = true; this.hightlightValue = true; this.groupBy = null; - this.placeholder = "Sélectionner"; + this.placeholder = 'Sélectionner'; } ngOnInit() { - super.ngOnInit() + super.ngOnInit(); } public selectAllFiltered(select: any) { for (const item of select.itemsList.filteredItems) { - select.select(item) + select.select(item); } // close popup select.close(); diff --git a/frontend/app/zh-advanced-search/components/fonctions/zh-advanced-search-fonctions.component.ts b/frontend/app/zh-advanced-search/components/fonctions/zh-advanced-search-fonctions.component.ts index 567444c7..b40d7905 100644 --- a/frontend/app/zh-advanced-search/components/fonctions/zh-advanced-search-fonctions.component.ts +++ b/frontend/app/zh-advanced-search/components/fonctions/zh-advanced-search-fonctions.component.ts @@ -17,6 +17,5 @@ export class ZhAdvancedSearchFonctionsComponent implements OnInit { // public dropdownSettingsNoCategory: {}; constructor() {} - ngOnInit() { - } + ngOnInit() {} } diff --git a/frontend/app/zh-advanced-search/components/statuts/zh-advanced-search-statuts.component.ts b/frontend/app/zh-advanced-search/components/statuts/zh-advanced-search-statuts.component.ts index 5986b6f0..7d2a1ea2 100644 --- a/frontend/app/zh-advanced-search/components/statuts/zh-advanced-search-statuts.component.ts +++ b/frontend/app/zh-advanced-search/components/statuts/zh-advanced-search-statuts.component.ts @@ -11,7 +11,7 @@ export class ZhAdvancedSearchStatutsComponent implements OnInit { @Input() plans: []; @Input() strategies: []; @Input() form: FormGroup; - + constructor() {} ngOnInit() {} } diff --git a/frontend/app/zh-advanced-search/zh-advanced-search.module.ts b/frontend/app/zh-advanced-search/zh-advanced-search.module.ts index 0a33bd37..82682924 100644 --- a/frontend/app/zh-advanced-search/zh-advanced-search.module.ts +++ b/frontend/app/zh-advanced-search/zh-advanced-search.module.ts @@ -18,12 +18,7 @@ const routes: Routes = [{ path: 'advanced_search', component: ZhAdvancedSearchCo ZhAdvancedSearchEvaluationsComponent, ], entryComponents: [], - imports: [ - GN2CommonModule, - CommonModule, - RouterModule.forChild(routes), - ZhDetailsModule, - ], + imports: [GN2CommonModule, CommonModule, RouterModule.forChild(routes), ZhDetailsModule], exports: [ZhAdvancedSearchComponent], }) export class ZhAdvancedSearchModule {} diff --git a/frontend/app/zh-details/zh-details.module.ts b/frontend/app/zh-details/zh-details.module.ts index cae41aec..71c542d9 100644 --- a/frontend/app/zh-details/zh-details.module.ts +++ b/frontend/app/zh-details/zh-details.module.ts @@ -54,7 +54,7 @@ const routes: Routes = [{ path: 'zhDetails/:id', component: ZhDetailsComponent } ImageTableComponent, DeleteModalComponent, LabelComponent, - ZHMultiSelectComponent + ZHMultiSelectComponent, ], }) export class ZhDetailsModule {} diff --git a/frontend/app/zh-hierarchy-search/zh-hierarchy-search.module.ts b/frontend/app/zh-hierarchy-search/zh-hierarchy-search.module.ts index c86c7266..fac61f39 100644 --- a/frontend/app/zh-hierarchy-search/zh-hierarchy-search.module.ts +++ b/frontend/app/zh-hierarchy-search/zh-hierarchy-search.module.ts @@ -12,12 +12,7 @@ const routes: Routes = [{ path: 'hierarchy_search', component: ZhHierarchySearch @NgModule({ declarations: [ZhHierarchySearchComponent, ZhHierarchySearchTableComponent, CapitalizePipe], entryComponents: [], - imports: [ - GN2CommonModule, - CommonModule, - RouterModule.forChild(routes), - ZhDetailsModule, - ], + imports: [GN2CommonModule, CommonModule, RouterModule.forChild(routes), ZhDetailsModule], exports: [ZhHierarchySearchComponent], }) export class ZhHierarchySearchModule {} diff --git a/frontend/app/zh-search/zh-search-items/components/zh-search-dependant/zh-search-dependant.component.ts b/frontend/app/zh-search/zh-search-items/components/zh-search-dependant/zh-search-dependant.component.ts index 5e9b9d8b..61993e43 100644 --- a/frontend/app/zh-search/zh-search-items/components/zh-search-dependant/zh-search-dependant.component.ts +++ b/frontend/app/zh-search/zh-search-items/components/zh-search-dependant/zh-search-dependant.component.ts @@ -21,12 +21,11 @@ export class ZhSearchDependantComponent implements OnInit { @Output() onSelected = new EventEmitter(); public _inputData: inputDataType[] = null; - constructor() {} ngOnInit() { if (!this._inputData || this._inputData.length < 1) { - this.disable() + this.disable(); } } @@ -42,9 +41,9 @@ export class ZhSearchDependantComponent implements OnInit { } } disable() { - this.form.disable() + this.form.disable(); } enable() { - this.form.enable() + this.form.enable(); } } diff --git a/frontend/app/zh-search/zh-search-items/zh-search-ensemble/zh-search-ensemble.component.ts b/frontend/app/zh-search/zh-search-items/zh-search-ensemble/zh-search-ensemble.component.ts index 754d38b6..24b7905a 100644 --- a/frontend/app/zh-search/zh-search-items/zh-search-ensemble/zh-search-ensemble.component.ts +++ b/frontend/app/zh-search/zh-search-items/zh-search-ensemble/zh-search-ensemble.component.ts @@ -11,6 +11,5 @@ export class ZhSearchEnsembleComponent implements OnInit { @Input() form: FormGroup; constructor() {} - ngOnInit() { - } + ngOnInit() {} } diff --git a/frontend/app/zh-search/zh-search-items/zh-search-sdage/zh-search-sdage.component.ts b/frontend/app/zh-search/zh-search-items/zh-search-sdage/zh-search-sdage.component.ts index 4fdc90c1..64520392 100644 --- a/frontend/app/zh-search/zh-search-items/zh-search-sdage/zh-search-sdage.component.ts +++ b/frontend/app/zh-search/zh-search-items/zh-search-sdage/zh-search-sdage.component.ts @@ -12,6 +12,5 @@ export class ZhSearchSDAGEComponent implements OnInit { constructor() {} - ngOnInit() { - } + ngOnInit() {} } diff --git a/frontend/app/zh-search/zh-search.module.ts b/frontend/app/zh-search/zh-search.module.ts index 7a7dfe62..15d315ac 100644 --- a/frontend/app/zh-search/zh-search.module.ts +++ b/frontend/app/zh-search/zh-search.module.ts @@ -37,10 +37,6 @@ const routes: Routes = [{ path: 'search', component: ZhSearchComponent }]; ZhAdvancedSearchModule, ZhHierarchySearchModule, ], - exports: [ - LabelComponent, - TableComponent, - ZHMultiSelectComponent, - ZhSearchComponent], + exports: [LabelComponent, TableComponent, ZHMultiSelectComponent, ZhSearchComponent], }) export class ZhSearchModule {}