Commit 5a8b9e9f authored by LAVENIER's avatar LAVENIER
Browse files

Initial import

parent cd62c293
import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Injector, Input, OnInit} from '@angular/core';
import {TableElement, ValidatorService} from '@e-is/ngx-material-table';
import {isNotNil, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS, AppInMemoryTable, LocalSettingsService, AccountService, Referential, InMemoryEntitiesService} from '@sumaris/ngx-components';
import {AccountService, AppInMemoryTable, InMemoryEntitiesService, isNotNil, LocalSettingsService, Referential, RESERVED_END_COLUMNS, RESERVED_START_COLUMNS} from '@sumaris/ngx-components';
import {ActivatedRoute, Router} from '@angular/router';
import {ModalController, Platform} from '@ionic/angular';
import {Location} from '@angular/common';
import {environment} from '@environments/environment';
import {ReferentialValidatorService} from '@app/referential/services/validator/referential.validator';
import {ReferentialFilter} from '@app/referential/services/filter/referential.filter';
......@@ -54,7 +53,6 @@ export class SimpleReferentialTable
protected route: ActivatedRoute,
protected router: Router,
protected platform: Platform,
protected location: Location,
protected modalCtrl: ModalController,
protected accountService: AccountService,
protected settings: LocalSettingsService,
......@@ -101,7 +99,8 @@ export class SimpleReferentialTable
ngOnInit() {
if (isNotNil(this.hasRankOrder)) {
this.memoryDataService.hasRankOrder = this.hasRankOrder;
// TODO use the replace map ?
//this.memoryDataService.hasRankOrder = this.hasRankOrder;
}
super.ngOnInit();
......
......@@ -1081,10 +1081,16 @@
},
"STATUS_ENUM": {
"ENABLE": "Actif",
"DISABLE": "Obsolète",
"DISABLE": "Inactif",
"TEMPORARY": "Temporaire",
"DELETED": "En cours de suppression"
},
"VALIDITY_STATUS_ENUM": {
"INVALID": "Gelé",
"VALID": "Valide",
"PENDING": "Soumis",
"TEMPORARY": "Provisoire"
},
"ENTITY": {
"DEPARTMENT": "Organismes",
"USER_PROFILE": "Profils utilisateur",
......
......@@ -39,9 +39,6 @@
],
"rxjs/*": [
"node_modules/rxjs/*"
],
"@sumaris/ngx-components": [
"../../sumaris/ngx-components/dist"
]
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment